* lib/am/texi-vers.am (%STAMPVTI%): Typo in comment.
[automake.git] / configure
blob667a6e137e2fe9a29b64b10d2ecd6d437f8dd676
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59a for GNU Automake 1.8e.
5 # Report bugs to <bug-automake@gnu.org>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
8 # 2003, 2004 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 set -o posix
26 DUALCASE=1; export DUALCASE # for MKS sh
29 # PATH needs CR
30 # Avoid depending upon Character Ranges.
31 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
32 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34 as_cr_digits='0123456789'
35 as_cr_alnum=$as_cr_Letters$as_cr_digits
37 # The user is always right.
38 if test "${PATH_SEPARATOR+set}" != set; then
39 echo "#! /bin/sh" >conf$$.sh
40 echo "exit 0" >>conf$$.sh
41 chmod +x conf$$.sh
42 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
43 PATH_SEPARATOR=';'
44 else
45 PATH_SEPARATOR=:
47 rm -f conf$$.sh
50 # Support unset when possible.
51 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52 as_unset=unset
53 else
54 as_unset=false
58 # Find who we are. Look in the path if we contain no path at all
59 # relative or not.
60 case $0 in
61 *[\\/]* ) as_myself=$0 ;;
62 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
63 for as_dir in $PATH
65 IFS=$as_save_IFS
66 test -z "$as_dir" && as_dir=.
67 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
68 done
71 esac
72 # We did not find ourselves, most probably we were run as `sh COMMAND'
73 # in which case we are not to be found in the path.
74 if test "x$as_myself" = x; then
75 as_myself=$0
77 if test ! -f "$as_myself"; then
78 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
79 { (exit 1); exit 1; }; }
82 # Work around bugs in pre-3.0 UWIN ksh.
83 for as_var in ENV MAIL MAILPATH
84 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
85 done
86 PS1='$ '
87 PS2='> '
88 PS4='+ '
90 # NLS nuisances.
91 for as_var in \
92 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
93 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
94 LC_TELEPHONE LC_TIME
96 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
97 eval $as_var=C; export $as_var
98 else
99 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
101 done
103 # Required to use basename.
104 if expr a : '\(a\)' >/dev/null 2>&1; then
105 as_expr=expr
106 else
107 as_expr=false
110 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
111 as_basename=basename
112 else
113 as_basename=false
117 # Name of the executable.
118 as_me=`$as_basename "$0" ||
119 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
120 X"$0" : 'X\(//\)$' \| \
121 X"$0" : 'X\(/\)$' \| \
122 . : '\(.\)' 2>/dev/null ||
123 echo X/"$0" |
124 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
125 /^X\/\(\/\/\)$/{ s//\1/; q; }
126 /^X\/\(\/\).*/{ s//\1/; q; }
127 s/.*/./; q'`
131 if test "x$CONFIG_SHELL" = x; then
132 if (eval ":") 2>/dev/null; then
133 as_have_required=yes
134 else
135 as_have_required=no
138 if test $as_have_required = yes && (eval ":
139 (func_return () {
140 (exit \$1)
142 func_success () {
143 func_return 0
145 func_failure () {
146 func_return 1
148 func_ret_success () {
149 return 0
151 func_ret_failure () {
152 return 1
155 exitcode=0
156 if func_success; then
158 else
159 exitcode=1
160 echo func_failure succeeded.
163 if func_failure; then
164 exitcode=1
165 echo func_success failed.
168 if func_ret_success; then
170 else
171 exitcode=1
172 echo func_ret_success failed.
175 if func_ret_failure; then
176 exitcode=1
177 echo func_ret_failure succeeded.
180 test \$exitcode = 0) || { (exit 1); exit 1; }
183 as_lineno_1=\$LINENO
184 as_lineno_2=\$LINENO
185 as_lineno_3=\`(expr \$as_lineno_1 + 1) 2>/dev/null\`
186 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
187 test \"x\$as_lineno_3\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
188 ") 2> /dev/null; then
190 else
191 as_candidate_shells=
192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
193 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
195 IFS=$as_save_IFS
196 test -z "$as_dir" && as_dir=.
197 case $as_dir in
199 for as_base in sh bash ksh sh5; do
200 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
201 done
202 esac
203 done
206 for as_shell in $as_candidate_shells $SHELL; do
207 if { $as_shell 2> /dev/null <<\_ASEOF
208 # Be Bourne compatible
209 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
210 emulate sh
211 NULLCMD=:
212 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
213 # is contrary to our usage. Disable this feature.
214 alias -g '${1+"$@"}'='"$@"'
215 setopt NO_GLOB_SUBST
216 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
217 set -o posix
219 DUALCASE=1; export DUALCASE # for MKS sh
222 _ASEOF
223 }; then
224 CONFIG_SHELL=$as_shell
225 as_have_required=yes
226 if { $as_shell 2> /dev/null <<\_ASEOF
227 # Be Bourne compatible
228 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
229 emulate sh
230 NULLCMD=:
231 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
232 # is contrary to our usage. Disable this feature.
233 alias -g '${1+"$@"}'='"$@"'
234 setopt NO_GLOB_SUBST
235 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
236 set -o posix
238 DUALCASE=1; export DUALCASE # for MKS sh
241 (func_return () {
242 (exit $1)
244 func_success () {
245 func_return 0
247 func_failure () {
248 func_return 1
250 func_ret_success () {
251 return 0
253 func_ret_failure () {
254 return 1
257 exitcode=0
258 if func_success; then
260 else
261 exitcode=1
262 echo func_failure succeeded.
265 if func_failure; then
266 exitcode=1
267 echo func_success failed.
270 if func_ret_success; then
272 else
273 exitcode=1
274 echo func_ret_success failed.
277 if func_ret_failure; then
278 exitcode=1
279 echo func_ret_failure succeeded.
282 test $exitcode = 0) || { (exit 1); exit 1; }
285 as_lineno_1=$LINENO
286 as_lineno_2=$LINENO
287 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
288 test "x$as_lineno_1" != "x$as_lineno_2" &&
289 test "x$as_lineno_3" = "x$as_lineno_2") || { (exit 1); exit 1; }
291 _ASEOF
292 }; then
293 break
298 done
300 if test "x$CONFIG_SHELL" != x; then
301 for as_var in BASH_ENV ENV
302 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
303 done
304 export CONFIG_SHELL
305 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
309 if test $as_have_required = no; then
310 echo This script requires a shell more modern than all the
311 echo shells that I found on your system. Please install a
312 echo modern shell, or manually run the script under such a
313 echo shell if you do have one.
314 { (exit 1); exit 1; }
324 (eval "func_return () {
325 (exit \$1)
327 func_success () {
328 func_return 0
330 func_failure () {
331 func_return 1
333 func_ret_success () {
334 return 0
336 func_ret_failure () {
337 return 1
340 exitcode=0
341 if func_success; then
343 else
344 exitcode=1
345 echo func_failure succeeded.
348 if func_failure; then
349 exitcode=1
350 echo func_success failed.
353 if func_ret_success; then
355 else
356 exitcode=1
357 echo func_ret_success failed.
360 if func_ret_failure; then
361 exitcode=1
362 echo func_ret_failure succeeded.
365 test \$exitcode = 0") || {
366 echo No shell found that supports shell functions.
367 echo Please tell autoconf@gnu.org about your system,
368 echo including any error possibly output before this
369 echo message
374 as_lineno_1=$LINENO
375 as_lineno_2=$LINENO
376 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
377 test "x$as_lineno_1" != "x$as_lineno_2" &&
378 test "x$as_lineno_3" = "x$as_lineno_2" || {
380 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
381 # uniformly replaced by the line number. The first 'sed' inserts a
382 # line-number line after each line using $LINENO; the second 'sed'
383 # does the real work. The second script uses 'N' to pair each
384 # line-number line with the line containing $LINENO, and appends
385 # trailing '-' during substitution so that $LINENO is not a special
386 # case at line end.
387 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
388 # scripts with optimization help from Paolo Bonzini. Blame Lee
389 # E. McMahon (1931-1989) for sed's syntax. :-)
390 sed -n '
392 /[$]LINENO/=
393 ' <$as_myself |
394 sed '
395 s,[$]LINENO.*,&-,
396 t lineno
398 : lineno
400 : loop
401 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
402 t loop
403 s,-\n.*,,
404 ' >$as_me.lineno &&
405 chmod +x $as_me.lineno ||
406 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
407 { (exit 1); exit 1; }; }
409 # Don't try to exec as it changes $[0], causing all sort of problems
410 # (the dirname of $[0] is not the place where we might find the
411 # original and so on. Autoconf is especially sensible to this).
412 . ./$as_me.lineno
413 # Exit status is that of the last command.
414 exit
418 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
419 *c*,-n*) ECHO_N= ECHO_C='
420 ' ECHO_T=' ' ;;
421 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
422 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
423 esac
425 if expr a : '\(a\)' >/dev/null 2>&1; then
426 as_expr=expr
427 else
428 as_expr=false
431 rm -f conf$$ conf$$.exe conf$$.file
432 echo >conf$$.file
433 if ln -s conf$$.file conf$$ 2>/dev/null; then
434 # We could just check for DJGPP; but this test a) works b) is more generic
435 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
436 if test -f conf$$.exe; then
437 # Don't use ln at all; we don't have any links
438 as_ln_s='cp -p'
439 else
440 as_ln_s='ln -s'
442 elif ln conf$$.file conf$$ 2>/dev/null; then
443 as_ln_s=ln
444 else
445 as_ln_s='cp -p'
447 rm -f conf$$ conf$$.exe conf$$.file
449 if mkdir -p . 2>/dev/null; then
450 as_mkdir_p=:
451 else
452 test -d ./-p && rmdir ./-p
453 as_mkdir_p=false
456 as_executable_p="test -f"
458 # Sed expression to map a string onto a valid CPP name.
459 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
461 # Sed expression to map a string onto a valid variable name.
462 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
465 # IFS
466 # We need space, tab and new line, in precisely that order.
467 as_nl='
469 IFS=" $as_nl"
471 # CDPATH.
472 $as_unset CDPATH
475 # Name of the host.
476 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
477 # so uname gets run too.
478 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
480 exec 6>&1
483 # Initializations.
485 ac_default_prefix=/usr/local
486 ac_config_libobj_dir=.
487 cross_compiling=no
488 subdirs=
489 MFLAGS=
490 MAKEFLAGS=
491 SHELL=${CONFIG_SHELL-/bin/sh}
493 # Maximum number of lines to put in a shell here document.
494 # This variable seems obsolete. It should probably be removed, and
495 # only ac_max_sed_lines should be used.
496 : ${ac_max_here_lines=38}
498 # Identity of this package.
499 PACKAGE_NAME='GNU Automake'
500 PACKAGE_TARNAME='automake'
501 PACKAGE_VERSION='1.8e'
502 PACKAGE_STRING='GNU Automake 1.8e'
503 PACKAGE_BUGREPORT='bug-automake@gnu.org'
505 ac_unique_file="automake.in"
506 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'
507 ac_subst_files=''
509 # Initialize some variables set by options.
510 ac_init_help=
511 ac_init_version=false
512 # The variables have the same names as the options, with
513 # dashes changed to underlines.
514 cache_file=/dev/null
515 exec_prefix=NONE
516 no_create=
517 no_recursion=
518 prefix=NONE
519 program_prefix=NONE
520 program_suffix=NONE
521 program_transform_name=s,x,x,
522 silent=
523 site=
524 srcdir=
525 verbose=
526 x_includes=NONE
527 x_libraries=NONE
529 # Installation directory options.
530 # These are left unexpanded so users can "make install exec_prefix=/foo"
531 # and all the variables that are supposed to be based on exec_prefix
532 # by default will actually change.
533 # Use braces instead of parens because sh, perl, etc. also accept them.
534 bindir='${exec_prefix}/bin'
535 sbindir='${exec_prefix}/sbin'
536 libexecdir='${exec_prefix}/libexec'
537 datadir='${prefix}/share'
538 sysconfdir='${prefix}/etc'
539 sharedstatedir='${prefix}/com'
540 localstatedir='${prefix}/var'
541 libdir='${exec_prefix}/lib'
542 includedir='${prefix}/include'
543 oldincludedir='/usr/include'
544 infodir='${prefix}/info'
545 mandir='${prefix}/man'
547 ac_prev=
548 for ac_option
550 # If the previous option needs an argument, assign it.
551 if test -n "$ac_prev"; then
552 eval "$ac_prev=\$ac_option"
553 ac_prev=
554 continue
557 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
559 # Accept the important Cygnus configure options, so we can diagnose typos.
561 case $ac_option in
563 -bindir | --bindir | --bindi | --bind | --bin | --bi)
564 ac_prev=bindir ;;
565 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
566 bindir=$ac_optarg ;;
568 -build | --build | --buil | --bui | --bu)
569 ac_prev=build_alias ;;
570 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
571 build_alias=$ac_optarg ;;
573 -cache-file | --cache-file | --cache-fil | --cache-fi \
574 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
575 ac_prev=cache_file ;;
576 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
577 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
578 cache_file=$ac_optarg ;;
580 --config-cache | -C)
581 cache_file=config.cache ;;
583 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
584 ac_prev=datadir ;;
585 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
586 | --da=*)
587 datadir=$ac_optarg ;;
589 -disable-* | --disable-*)
590 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
594 { (exit 1); exit 1; }; }
595 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
596 eval "enable_$ac_feature=no" ;;
598 -enable-* | --enable-*)
599 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
603 { (exit 1); exit 1; }; }
604 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
605 case $ac_option in
606 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
607 *) ac_optarg=yes ;;
608 esac
609 eval "enable_$ac_feature='$ac_optarg'" ;;
611 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
612 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
613 | --exec | --exe | --ex)
614 ac_prev=exec_prefix ;;
615 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
616 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
617 | --exec=* | --exe=* | --ex=*)
618 exec_prefix=$ac_optarg ;;
620 -gas | --gas | --ga | --g)
621 # Obsolete; use --with-gas.
622 with_gas=yes ;;
624 -help | --help | --hel | --he | -h)
625 ac_init_help=long ;;
626 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
627 ac_init_help=recursive ;;
628 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
629 ac_init_help=short ;;
631 -host | --host | --hos | --ho)
632 ac_prev=host_alias ;;
633 -host=* | --host=* | --hos=* | --ho=*)
634 host_alias=$ac_optarg ;;
636 -includedir | --includedir | --includedi | --included | --include \
637 | --includ | --inclu | --incl | --inc)
638 ac_prev=includedir ;;
639 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
640 | --includ=* | --inclu=* | --incl=* | --inc=*)
641 includedir=$ac_optarg ;;
643 -infodir | --infodir | --infodi | --infod | --info | --inf)
644 ac_prev=infodir ;;
645 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
646 infodir=$ac_optarg ;;
648 -libdir | --libdir | --libdi | --libd)
649 ac_prev=libdir ;;
650 -libdir=* | --libdir=* | --libdi=* | --libd=*)
651 libdir=$ac_optarg ;;
653 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
654 | --libexe | --libex | --libe)
655 ac_prev=libexecdir ;;
656 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
657 | --libexe=* | --libex=* | --libe=*)
658 libexecdir=$ac_optarg ;;
660 -localstatedir | --localstatedir | --localstatedi | --localstated \
661 | --localstate | --localstat | --localsta | --localst \
662 | --locals | --local | --loca | --loc | --lo)
663 ac_prev=localstatedir ;;
664 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
665 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
666 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
667 localstatedir=$ac_optarg ;;
669 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
670 ac_prev=mandir ;;
671 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
672 mandir=$ac_optarg ;;
674 -nfp | --nfp | --nf)
675 # Obsolete; use --without-fp.
676 with_fp=no ;;
678 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
679 | --no-cr | --no-c | -n)
680 no_create=yes ;;
682 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
683 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
684 no_recursion=yes ;;
686 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
687 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
688 | --oldin | --oldi | --old | --ol | --o)
689 ac_prev=oldincludedir ;;
690 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
691 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
692 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
693 oldincludedir=$ac_optarg ;;
695 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
696 ac_prev=prefix ;;
697 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
698 prefix=$ac_optarg ;;
700 -program-prefix | --program-prefix | --program-prefi | --program-pref \
701 | --program-pre | --program-pr | --program-p)
702 ac_prev=program_prefix ;;
703 -program-prefix=* | --program-prefix=* | --program-prefi=* \
704 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
705 program_prefix=$ac_optarg ;;
707 -program-suffix | --program-suffix | --program-suffi | --program-suff \
708 | --program-suf | --program-su | --program-s)
709 ac_prev=program_suffix ;;
710 -program-suffix=* | --program-suffix=* | --program-suffi=* \
711 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
712 program_suffix=$ac_optarg ;;
714 -program-transform-name | --program-transform-name \
715 | --program-transform-nam | --program-transform-na \
716 | --program-transform-n | --program-transform- \
717 | --program-transform | --program-transfor \
718 | --program-transfo | --program-transf \
719 | --program-trans | --program-tran \
720 | --progr-tra | --program-tr | --program-t)
721 ac_prev=program_transform_name ;;
722 -program-transform-name=* | --program-transform-name=* \
723 | --program-transform-nam=* | --program-transform-na=* \
724 | --program-transform-n=* | --program-transform-=* \
725 | --program-transform=* | --program-transfor=* \
726 | --program-transfo=* | --program-transf=* \
727 | --program-trans=* | --program-tran=* \
728 | --progr-tra=* | --program-tr=* | --program-t=*)
729 program_transform_name=$ac_optarg ;;
731 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
732 | -silent | --silent | --silen | --sile | --sil)
733 silent=yes ;;
735 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
736 ac_prev=sbindir ;;
737 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
738 | --sbi=* | --sb=*)
739 sbindir=$ac_optarg ;;
741 -sharedstatedir | --sharedstatedir | --sharedstatedi \
742 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
743 | --sharedst | --shareds | --shared | --share | --shar \
744 | --sha | --sh)
745 ac_prev=sharedstatedir ;;
746 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
747 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
748 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
749 | --sha=* | --sh=*)
750 sharedstatedir=$ac_optarg ;;
752 -site | --site | --sit)
753 ac_prev=site ;;
754 -site=* | --site=* | --sit=*)
755 site=$ac_optarg ;;
757 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
758 ac_prev=srcdir ;;
759 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
760 srcdir=$ac_optarg ;;
762 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
763 | --syscon | --sysco | --sysc | --sys | --sy)
764 ac_prev=sysconfdir ;;
765 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
766 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
767 sysconfdir=$ac_optarg ;;
769 -target | --target | --targe | --targ | --tar | --ta | --t)
770 ac_prev=target_alias ;;
771 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
772 target_alias=$ac_optarg ;;
774 -v | -verbose | --verbose | --verbos | --verbo | --verb)
775 verbose=yes ;;
777 -version | --version | --versio | --versi | --vers | -V)
778 ac_init_version=: ;;
780 -with-* | --with-*)
781 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
784 { echo "$as_me: error: invalid package name: $ac_package" >&2
785 { (exit 1); exit 1; }; }
786 ac_package=`echo $ac_package| sed 's/-/_/g'`
787 case $ac_option in
788 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
789 *) ac_optarg=yes ;;
790 esac
791 eval "with_$ac_package='$ac_optarg'" ;;
793 -without-* | --without-*)
794 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
795 # Reject names that are not valid shell variable names.
796 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
797 { echo "$as_me: error: invalid package name: $ac_package" >&2
798 { (exit 1); exit 1; }; }
799 ac_package=`echo $ac_package | sed 's/-/_/g'`
800 eval "with_$ac_package=no" ;;
802 --x)
803 # Obsolete; use --with-x.
804 with_x=yes ;;
806 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
807 | --x-incl | --x-inc | --x-in | --x-i)
808 ac_prev=x_includes ;;
809 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
810 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
811 x_includes=$ac_optarg ;;
813 -x-libraries | --x-libraries | --x-librarie | --x-librari \
814 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
815 ac_prev=x_libraries ;;
816 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
817 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
818 x_libraries=$ac_optarg ;;
820 -*) { echo "$as_me: error: unrecognized option: $ac_option
821 Try \`$0 --help' for more information." >&2
822 { (exit 1); exit 1; }; }
825 *=*)
826 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
827 # Reject names that are not valid shell variable names.
828 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
829 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
830 { (exit 1); exit 1; }; }
831 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
832 eval "$ac_envvar='$ac_optarg'"
833 export $ac_envvar ;;
836 # FIXME: should be removed in autoconf 3.0.
837 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
838 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
839 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
840 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
843 esac
844 done
846 if test -n "$ac_prev"; then
847 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
848 { echo "$as_me: error: missing argument to $ac_option" >&2
849 { (exit 1); exit 1; }; }
852 # Be sure to have absolute paths.
853 for ac_var in exec_prefix prefix
855 eval ac_val=$`echo $ac_var`
856 case $ac_val in
857 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
858 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
859 { (exit 1); exit 1; }; };;
860 esac
861 done
863 # Be sure to have absolute paths.
864 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
865 localstatedir libdir includedir oldincludedir infodir mandir
867 eval ac_val=$`echo $ac_var`
868 case $ac_val in
869 [\\/$]* | ?:[\\/]* ) ;;
870 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
871 { (exit 1); exit 1; }; };;
872 esac
873 done
875 # There might be people who depend on the old broken behavior: `$host'
876 # used to hold the argument of --host etc.
877 # FIXME: To remove some day.
878 build=$build_alias
879 host=$host_alias
880 target=$target_alias
882 # FIXME: To remove some day.
883 if test "x$host_alias" != x; then
884 if test "x$build_alias" = x; then
885 cross_compiling=maybe
886 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
887 If a cross compiler is detected then cross compile mode will be used." >&2
888 elif test "x$build_alias" != "x$host_alias"; then
889 cross_compiling=yes
893 ac_tool_prefix=
894 test -n "$host_alias" && ac_tool_prefix=$host_alias-
896 test "$silent" = yes && exec 6>/dev/null
899 # Find the source files, if location was not specified.
900 if test -z "$srcdir"; then
901 ac_srcdir_defaulted=yes
902 # Try the directory containing this script, then its parent.
903 ac_confdir=`(dirname "$0") 2>/dev/null ||
904 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
905 X"$0" : 'X\(//\)[^/]' \| \
906 X"$0" : 'X\(//\)$' \| \
907 X"$0" : 'X\(/\)' \| \
908 . : '\(.\)' 2>/dev/null ||
909 echo X"$0" |
910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
911 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
912 /^X\(\/\/\)$/{ s//\1/; q; }
913 /^X\(\/\).*/{ s//\1/; q; }
914 s/.*/./; q'`
915 srcdir=$ac_confdir
916 if test ! -r $srcdir/$ac_unique_file; then
917 srcdir=..
919 else
920 ac_srcdir_defaulted=no
922 if test ! -r $srcdir/$ac_unique_file; then
923 if test "$ac_srcdir_defaulted" = yes; then
924 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
925 { (exit 1); exit 1; }; }
926 else
927 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
928 { (exit 1); exit 1; }; }
931 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
932 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
933 { (exit 1); exit 1; }; }
934 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
935 ac_env_build_alias_set=${build_alias+set}
936 ac_env_build_alias_value=$build_alias
937 ac_cv_env_build_alias_set=${build_alias+set}
938 ac_cv_env_build_alias_value=$build_alias
939 ac_env_host_alias_set=${host_alias+set}
940 ac_env_host_alias_value=$host_alias
941 ac_cv_env_host_alias_set=${host_alias+set}
942 ac_cv_env_host_alias_value=$host_alias
943 ac_env_target_alias_set=${target_alias+set}
944 ac_env_target_alias_value=$target_alias
945 ac_cv_env_target_alias_set=${target_alias+set}
946 ac_cv_env_target_alias_value=$target_alias
949 # Report the --help message.
951 if test "$ac_init_help" = "long"; then
952 # Omit some internal or obsolete options to make the list less imposing.
953 # This message is too long to be a string in the A/UX 3.1 sh.
954 cat <<_ACEOF
955 \`configure' configures GNU Automake 1.8e to adapt to many kinds of systems.
957 Usage: $0 [OPTION]... [VAR=VALUE]...
959 To assign environment variables (e.g., CC, CFLAGS...), specify them as
960 VAR=VALUE. See below for descriptions of some of the useful variables.
962 Defaults for the options are specified in brackets.
964 Configuration:
965 -h, --help display this help and exit
966 --help=short display options specific to this package
967 --help=recursive display the short help of all the included packages
968 -V, --version display version information and exit
969 -q, --quiet, --silent do not print \`checking...' messages
970 --cache-file=FILE cache test results in FILE [disabled]
971 -C, --config-cache alias for \`--cache-file=config.cache'
972 -n, --no-create do not create output files
973 --srcdir=DIR find the sources in DIR [configure dir or \`..']
975 _ACEOF
977 cat <<_ACEOF
978 Installation directories:
979 --prefix=PREFIX install architecture-independent files in PREFIX
980 [$ac_default_prefix]
981 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
982 [PREFIX]
984 By default, \`make install' will install all the files in
985 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
986 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
987 for instance \`--prefix=\$HOME'.
989 For better control, use the options below.
991 Fine tuning of the installation directories:
992 --bindir=DIR user executables [EPREFIX/bin]
993 --sbindir=DIR system admin executables [EPREFIX/sbin]
994 --libexecdir=DIR program executables [EPREFIX/libexec]
995 --datadir=DIR read-only architecture-independent data [PREFIX/share]
996 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
997 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
998 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
999 --libdir=DIR object code libraries [EPREFIX/lib]
1000 --includedir=DIR C header files [PREFIX/include]
1001 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1002 --infodir=DIR info documentation [PREFIX/info]
1003 --mandir=DIR man documentation [PREFIX/man]
1004 _ACEOF
1006 cat <<\_ACEOF
1008 Program names:
1009 --program-prefix=PREFIX prepend PREFIX to installed program names
1010 --program-suffix=SUFFIX append SUFFIX to installed program names
1011 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1013 System types:
1014 --build=BUILD configure for building on BUILD [guessed]
1015 _ACEOF
1018 if test -n "$ac_init_help"; then
1019 case $ac_init_help in
1020 short | recursive ) echo "Configuration of GNU Automake 1.8e:";;
1021 esac
1022 cat <<\_ACEOF
1024 Report bugs to <bug-automake@gnu.org>.
1025 _ACEOF
1028 if test "$ac_init_help" = "recursive"; then
1029 # If there are subdirs, report their specific --help.
1030 ac_popdir=`pwd`
1031 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1032 test -d $ac_dir || continue
1033 ac_builddir=.
1035 if test "$ac_dir" != .; then
1036 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1037 # A "../" for each directory in $ac_dir_suffix.
1038 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1039 else
1040 ac_dir_suffix= ac_top_builddir=
1043 case $srcdir in
1044 .) # No --srcdir option. We are building in place.
1045 ac_srcdir=.
1046 if test -z "$ac_top_builddir"; then
1047 ac_top_srcdir=.
1048 else
1049 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1050 fi ;;
1051 [\\/]* | ?:[\\/]* ) # Absolute path.
1052 ac_srcdir=$srcdir$ac_dir_suffix;
1053 ac_top_srcdir=$srcdir ;;
1054 *) # Relative path.
1055 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1056 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1057 esac
1059 # Do not use `cd foo && pwd` to compute absolute paths, because
1060 # the directories may not exist.
1061 case `pwd` in
1062 .) ac_abs_builddir="$ac_dir";;
1064 case "$ac_dir" in
1065 .) ac_abs_builddir=`pwd`;;
1066 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1067 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1068 esac;;
1069 esac
1070 case $ac_abs_builddir in
1071 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1073 case ${ac_top_builddir}. in
1074 .) ac_abs_top_builddir=$ac_abs_builddir;;
1075 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1076 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1077 esac;;
1078 esac
1079 case $ac_abs_builddir in
1080 .) ac_abs_srcdir=$ac_srcdir;;
1082 case $ac_srcdir in
1083 .) ac_abs_srcdir=$ac_abs_builddir;;
1084 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1085 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1086 esac;;
1087 esac
1088 case $ac_abs_builddir in
1089 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1091 case $ac_top_srcdir in
1092 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1093 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1094 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1095 esac;;
1096 esac
1098 cd $ac_dir
1099 # Check for guested configure; otherwise get Cygnus style configure.
1100 if test -f $ac_srcdir/configure.gnu; then
1101 echo
1102 $SHELL $ac_srcdir/configure.gnu --help=recursive
1103 elif test -f $ac_srcdir/configure; then
1104 echo
1105 $SHELL $ac_srcdir/configure --help=recursive
1106 elif test -f $ac_srcdir/configure.ac ||
1107 test -f $ac_srcdir/configure.in; then
1108 echo
1109 $ac_configure --help
1110 else
1111 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1113 cd $ac_popdir
1114 done
1117 test -n "$ac_init_help" && exit 0
1118 if $ac_init_version; then
1119 cat <<\_ACEOF
1120 GNU Automake configure 1.8e
1121 generated by GNU Autoconf 2.59a
1123 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
1124 2003, 2004 Free Software Foundation, Inc.
1125 This configure script is free software; the Free Software Foundation
1126 gives unlimited permission to copy, distribute and modify it.
1127 _ACEOF
1128 exit 0
1130 exec 5>config.log
1131 cat >&5 <<_ACEOF
1132 This file contains any messages produced by compilers while
1133 running configure, to aid debugging if configure makes a mistake.
1135 It was created by GNU Automake $as_me 1.8e, which was
1136 generated by GNU Autoconf 2.59a. Invocation command line was
1138 $ $0 $@
1140 _ACEOF
1142 cat <<_ASUNAME
1143 ## --------- ##
1144 ## Platform. ##
1145 ## --------- ##
1147 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1148 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1149 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1150 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1151 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1153 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1154 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1156 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1157 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1158 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1159 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1160 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1161 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1162 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1164 _ASUNAME
1166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1167 for as_dir in $PATH
1169 IFS=$as_save_IFS
1170 test -z "$as_dir" && as_dir=.
1171 echo "PATH: $as_dir"
1172 done
1174 } >&5
1176 cat >&5 <<_ACEOF
1179 ## ----------- ##
1180 ## Core tests. ##
1181 ## ----------- ##
1183 _ACEOF
1186 # Keep a trace of the command line.
1187 # Strip out --no-create and --no-recursion so they do not pile up.
1188 # Strip out --silent because we don't want to record it for future runs.
1189 # Also quote any args containing shell meta-characters.
1190 # Make two passes to allow for proper duplicate-argument suppression.
1191 ac_configure_args=
1192 ac_configure_args0=
1193 ac_configure_args1=
1194 ac_sep=
1195 ac_must_keep_next=false
1196 for ac_pass in 1 2
1198 for ac_arg
1200 case $ac_arg in
1201 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1202 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1203 | -silent | --silent | --silen | --sile | --sil)
1204 continue ;;
1205 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1206 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1207 esac
1208 case $ac_pass in
1209 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1211 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1212 if test $ac_must_keep_next = true; then
1213 ac_must_keep_next=false # Got value, back to normal.
1214 else
1215 case $ac_arg in
1216 *=* | --config-cache | -C | -disable-* | --disable-* \
1217 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1218 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1219 | -with-* | --with-* | -without-* | --without-* | --x)
1220 case "$ac_configure_args0 " in
1221 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1222 esac
1224 -* ) ac_must_keep_next=true ;;
1225 esac
1227 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1228 # Get rid of the leading space.
1229 ac_sep=" "
1231 esac
1232 done
1233 done
1234 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1235 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1237 # When interrupted or exit'd, cleanup temporary files, and complete
1238 # config.log. We remove comments because anyway the quotes in there
1239 # would cause problems or look ugly.
1240 # WARNING: Be sure not to use single quotes in there, as some shells,
1241 # such as our DU 5.0 friend, will then `close' the trap.
1242 trap 'exit_status=$?
1243 # Save into config.log some information that might help in debugging.
1245 echo
1247 cat <<\_ASBOX
1248 ## ---------------- ##
1249 ## Cache variables. ##
1250 ## ---------------- ##
1251 _ASBOX
1252 echo
1253 # The following way of writing the cache mishandles newlines in values,
1255 (set) 2>&1 |
1256 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1257 *ac_space=\ *)
1258 sed -n \
1259 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1260 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1263 sed -n \
1264 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1266 esac;
1268 echo
1270 cat <<\_ASBOX
1271 ## ----------------- ##
1272 ## Output variables. ##
1273 ## ----------------- ##
1274 _ASBOX
1275 echo
1276 for ac_var in $ac_subst_vars
1278 eval ac_val=$`echo $ac_var`
1279 echo "$ac_var='"'"'$ac_val'"'"'"
1280 done | sort
1281 echo
1283 if test -n "$ac_subst_files"; then
1284 cat <<\_ASBOX
1285 ## ------------- ##
1286 ## Output files. ##
1287 ## ------------- ##
1288 _ASBOX
1289 echo
1290 for ac_var in $ac_subst_files
1292 eval ac_val=$`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1294 done | sort
1295 echo
1298 if test -s confdefs.h; then
1299 cat <<\_ASBOX
1300 ## ----------- ##
1301 ## confdefs.h. ##
1302 ## ----------- ##
1303 _ASBOX
1304 echo
1305 sed "/^$/d" confdefs.h | sort
1306 echo
1308 test "$ac_signal" != 0 &&
1309 echo "$as_me: caught signal $ac_signal"
1310 echo "$as_me: exit $exit_status"
1311 } >&5
1312 rm -f core *.core &&
1313 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1314 exit $exit_status
1316 for ac_signal in 1 2 13 15; do
1317 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1318 done
1319 ac_signal=0
1321 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1322 rm -f -r conftest* confdefs.h
1323 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1324 # NextStep 3.3 (patch 3) loses unless the first echo outputs at least 14 bytes.
1325 ac_space=' '
1326 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
1328 # Predefined preprocessor variables.
1330 cat >>confdefs.h <<_ACEOF
1331 #define PACKAGE_NAME "$PACKAGE_NAME"
1332 _ACEOF
1335 cat >>confdefs.h <<_ACEOF
1336 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1337 _ACEOF
1340 cat >>confdefs.h <<_ACEOF
1341 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1342 _ACEOF
1345 cat >>confdefs.h <<_ACEOF
1346 #define PACKAGE_STRING "$PACKAGE_STRING"
1347 _ACEOF
1350 cat >>confdefs.h <<_ACEOF
1351 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1352 _ACEOF
1355 # Let the site file select an alternate cache file if it wants to.
1356 # Prefer explicitly selected file to automatically selected ones.
1357 if test -z "$CONFIG_SITE"; then
1358 if test "x$prefix" != xNONE; then
1359 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1360 else
1361 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1364 for ac_site_file in $CONFIG_SITE; do
1365 if test -r "$ac_site_file"; then
1366 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1367 echo "$as_me: loading site script $ac_site_file" >&6;}
1368 sed 's/^/| /' "$ac_site_file" >&5
1369 . "$ac_site_file"
1371 done
1373 if test -r "$cache_file"; then
1374 # Some versions of bash will fail to source /dev/null (special
1375 # files actually), so we avoid doing that.
1376 if test -f "$cache_file"; then
1377 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1378 echo "$as_me: loading cache $cache_file" >&6;}
1379 case $cache_file in
1380 [\\/]* | ?:[\\/]* ) . $cache_file;;
1381 *) . ./$cache_file;;
1382 esac
1384 else
1385 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1386 echo "$as_me: creating cache $cache_file" >&6;}
1387 >$cache_file
1390 # Check that the precious variables saved in the cache have kept the same
1391 # value.
1392 ac_cache_corrupted=false
1393 for ac_var in `(set) 2>&1 |
1394 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1395 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1396 eval ac_new_set=\$ac_env_${ac_var}_set
1397 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1398 eval ac_new_val="\$ac_env_${ac_var}_value"
1399 case $ac_old_set,$ac_new_set in
1400 set,)
1401 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1402 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1403 ac_cache_corrupted=: ;;
1404 ,set)
1405 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1406 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1407 ac_cache_corrupted=: ;;
1408 ,);;
1410 if test "x$ac_old_val" != "x$ac_new_val"; then
1411 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1412 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1413 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1414 echo "$as_me: former value: $ac_old_val" >&2;}
1415 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1416 echo "$as_me: current value: $ac_new_val" >&2;}
1417 ac_cache_corrupted=:
1418 fi;;
1419 esac
1420 # Pass precious variables to config.status.
1421 if test "$ac_new_set" = set; then
1422 case $ac_new_val in
1423 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1424 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1425 *) ac_arg=$ac_var=$ac_new_val ;;
1426 esac
1427 case " $ac_configure_args " in
1428 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1429 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1430 esac
1432 done
1433 if $ac_cache_corrupted; then
1434 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1435 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1436 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1437 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1438 { (exit 1); exit 1; }; }
1441 ac_ext=c
1442 ac_cpp='$CPP $CPPFLAGS'
1443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1475 ac_aux_dir=
1476 for ac_dir in lib $srcdir/lib; do
1477 if test -f $ac_dir/install-sh; then
1478 ac_aux_dir=$ac_dir
1479 ac_install_sh="$ac_aux_dir/install-sh -c"
1480 break
1481 elif test -f $ac_dir/install.sh; then
1482 ac_aux_dir=$ac_dir
1483 ac_install_sh="$ac_aux_dir/install.sh -c"
1484 break
1485 elif test -f $ac_dir/shtool; then
1486 ac_aux_dir=$ac_dir
1487 ac_install_sh="$ac_aux_dir/shtool install -c"
1488 break
1490 done
1491 if test -z "$ac_aux_dir"; then
1492 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&5
1493 echo "$as_me: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&2;}
1494 { (exit 1); exit 1; }; }
1496 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1497 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1498 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1501 # Make sure we can run config.sub.
1502 $ac_config_sub sun4 >/dev/null 2>&1 ||
1503 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1504 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1505 { (exit 1); exit 1; }; }
1507 echo "$as_me:$LINENO: checking build system type" >&5
1508 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1509 if test "${ac_cv_build+set}" = set; then
1510 echo $ECHO_N "(cached) $ECHO_C" >&6
1511 else
1512 ac_cv_build_alias=$build_alias
1513 test -z "$ac_cv_build_alias" &&
1514 ac_cv_build_alias=`$ac_config_guess`
1515 test -z "$ac_cv_build_alias" &&
1516 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1517 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1518 { (exit 1); exit 1; }; }
1519 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1520 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1521 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1522 { (exit 1); exit 1; }; }
1525 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1526 echo "${ECHO_T}$ac_cv_build" >&6
1527 build=$ac_cv_build
1528 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1529 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1530 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1534 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it;
1535 # this way we can run Autoconf tests from configure without being
1536 # bothered by `missing'.
1537 am_AUTOCONF=${AUTOCONF-autoconf}
1539 am__api_version="1.8e"
1540 # Find a good install program. We prefer a C program (faster),
1541 # so one script is as good as another. But avoid the broken or
1542 # incompatible versions:
1543 # SysV /etc/install, /usr/sbin/install
1544 # SunOS /usr/etc/install
1545 # IRIX /sbin/install
1546 # AIX /bin/install
1547 # AmigaOS /C/install, which installs bootblocks on floppy discs
1548 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1549 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1550 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1551 # OS/2's system install, which has a completely different semantic
1552 # ./install, which can be erroneously created by make from ./install.sh.
1553 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1554 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1555 if test -z "$INSTALL"; then
1556 if test "${ac_cv_path_install+set}" = set; then
1557 echo $ECHO_N "(cached) $ECHO_C" >&6
1558 else
1559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1560 for as_dir in $PATH
1562 IFS=$as_save_IFS
1563 test -z "$as_dir" && as_dir=.
1564 # Account for people who put trailing slashes in PATH elements.
1565 case $as_dir/ in
1566 ./ | .// | /cC/* | \
1567 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1568 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1569 /usr/ucb/* ) ;;
1571 # OSF1 and SCO ODT 3.0 have their own names for install.
1572 # Don't use installbsd from OSF since it installs stuff as root
1573 # by default.
1574 for ac_prog in ginstall scoinst install; do
1575 for ac_exec_ext in '' $ac_executable_extensions; do
1576 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1577 if test $ac_prog = install &&
1578 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1579 # AIX install. It has an incompatible calling convention.
1581 elif test $ac_prog = install &&
1582 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1583 # program-specific install script used by HP pwplus--don't use.
1585 else
1586 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1587 break 3
1590 done
1591 done
1593 esac
1594 done
1598 if test "${ac_cv_path_install+set}" = set; then
1599 INSTALL=$ac_cv_path_install
1600 else
1601 # As a last resort, use the slow shell script. We don't cache a
1602 # path for INSTALL within a source directory, because that will
1603 # break other packages using the cache if that directory is
1604 # removed, or if the path is relative.
1605 INSTALL=$ac_install_sh
1608 echo "$as_me:$LINENO: result: $INSTALL" >&5
1609 echo "${ECHO_T}$INSTALL" >&6
1611 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1612 # It thinks the first close brace ends the variable substitution.
1613 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1615 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1617 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1619 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1620 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1621 # Just in case
1622 sleep 1
1623 echo timestamp > conftest.file
1624 # Do `set' in a subshell so we don't clobber the current shell's
1625 # arguments. Must try -L first in case configure is actually a
1626 # symlink; some systems play weird games with the mod time of symlinks
1627 # (eg FreeBSD returns the mod time of the symlink's containing
1628 # directory).
1629 if (
1630 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1631 if test "$*" = "X"; then
1632 # -L didn't work.
1633 set X `ls -t $srcdir/configure conftest.file`
1635 rm -f conftest.file
1636 if test "$*" != "X $srcdir/configure conftest.file" \
1637 && test "$*" != "X conftest.file $srcdir/configure"; then
1639 # If neither matched, then we have a broken ls. This can happen
1640 # if, for instance, CONFIG_SHELL is bash and it inherits a
1641 # broken ls alias from the environment. This has actually
1642 # happened. Such a system could not be considered "sane".
1643 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1644 alias in your environment" >&5
1645 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1646 alias in your environment" >&2;}
1647 { (exit 1); exit 1; }; }
1650 test "$2" = conftest.file
1652 then
1653 # Ok.
1655 else
1656 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1657 Check your system clock" >&5
1658 echo "$as_me: error: newly created file is older than distributed files!
1659 Check your system clock" >&2;}
1660 { (exit 1); exit 1; }; }
1662 echo "$as_me:$LINENO: result: yes" >&5
1663 echo "${ECHO_T}yes" >&6
1664 test "$program_prefix" != NONE &&
1665 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1666 # Use a double $ so make ignores it.
1667 test "$program_suffix" != NONE &&
1668 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1669 # Double any \ or $. echo might interpret backslashes.
1670 # By default was `s,x,x', remove it if useless.
1671 cat <<\_ACEOF >conftest.sed
1672 s/[\\$]/&&/g;s/;s,x,x,$//
1673 _ACEOF
1674 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1675 rm -f conftest.sed
1677 # expand $ac_aux_dir to an absolute path
1678 am_aux_dir=`cd $ac_aux_dir && pwd`
1680 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1681 # Use eval to expand $SHELL
1682 if eval "$MISSING --run true"; then
1683 am_missing_run="$MISSING --run "
1684 else
1685 am_missing_run=
1686 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1687 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1690 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1691 # Keeping the `.' argument allows $(mkdir_p) to be used without
1692 # argument. Indeed, we sometimes output rules like
1693 # $(mkdir_p) $(somedir)
1694 # where $(somedir) is conditionally defined.
1695 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1696 # expensive solution, as it forces Make to start a sub-shell.)
1697 mkdir_p='mkdir -p -- .'
1698 else
1699 # On NextStep and OpenStep, the `mkdir' command does not
1700 # recognize any option. It will interpret all options as
1701 # directories to create, and then abort because `.' already
1702 # exists.
1703 for d in ./-p ./--version;
1705 test -d $d && rmdir $d
1706 done
1707 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1708 if test -f "$ac_aux_dir/mkinstalldirs"; then
1709 mkdir_p='$(mkinstalldirs)'
1710 else
1711 mkdir_p='$(install_sh) -d'
1715 for ac_prog in gawk mawk nawk awk
1717 # Extract the first word of "$ac_prog", so it can be a program name with args.
1718 set dummy $ac_prog; ac_word=$2
1719 echo "$as_me:$LINENO: checking for $ac_word" >&5
1720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1721 if test "${ac_cv_prog_AWK+set}" = set; then
1722 echo $ECHO_N "(cached) $ECHO_C" >&6
1723 else
1724 if test -n "$AWK"; then
1725 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1726 else
1727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1728 for as_dir in $PATH
1730 IFS=$as_save_IFS
1731 test -z "$as_dir" && as_dir=.
1732 for ac_exec_ext in '' $ac_executable_extensions; do
1733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1734 ac_cv_prog_AWK="$ac_prog"
1735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1736 break 2
1738 done
1739 done
1743 AWK=$ac_cv_prog_AWK
1744 if test -n "$AWK"; then
1745 echo "$as_me:$LINENO: result: $AWK" >&5
1746 echo "${ECHO_T}$AWK" >&6
1747 else
1748 echo "$as_me:$LINENO: result: no" >&5
1749 echo "${ECHO_T}no" >&6
1752 test -n "$AWK" && break
1753 done
1755 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1756 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1757 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1758 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1759 echo $ECHO_N "(cached) $ECHO_C" >&6
1760 else
1761 cat >conftest.make <<\_ACEOF
1762 all:
1763 @echo 'ac_maketemp="$(MAKE)"'
1764 _ACEOF
1765 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1766 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1767 if test -n "$ac_maketemp"; then
1768 eval ac_cv_prog_make_${ac_make}_set=yes
1769 else
1770 eval ac_cv_prog_make_${ac_make}_set=no
1772 rm -f conftest.make
1774 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1775 echo "$as_me:$LINENO: result: yes" >&5
1776 echo "${ECHO_T}yes" >&6
1777 SET_MAKE=
1778 else
1779 echo "$as_me:$LINENO: result: no" >&5
1780 echo "${ECHO_T}no" >&6
1781 SET_MAKE="MAKE=${MAKE-make}"
1784 rm -rf .tst 2>/dev/null
1785 mkdir .tst 2>/dev/null
1786 if test -d .tst; then
1787 am__leading_dot=.
1788 else
1789 am__leading_dot=_
1791 rmdir .tst 2>/dev/null
1793 # test to see if srcdir already configured
1794 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1795 test -f $srcdir/config.status; then
1796 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1797 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1798 { (exit 1); exit 1; }; }
1801 # test whether we have cygpath
1802 if test -z "$CYGPATH_W"; then
1803 if (cygpath --version) >/dev/null 2>/dev/null; then
1804 CYGPATH_W='cygpath -w'
1805 else
1806 CYGPATH_W=echo
1811 # Define the identity of the package.
1812 PACKAGE='automake'
1813 VERSION='1.8e'
1816 cat >>confdefs.h <<_ACEOF
1817 #define PACKAGE "$PACKAGE"
1818 _ACEOF
1821 cat >>confdefs.h <<_ACEOF
1822 #define VERSION "$VERSION"
1823 _ACEOF
1825 # Some tools Automake needs.
1827 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1830 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1833 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1836 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1839 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1841 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1843 # Installed binaries are usually stripped using `strip' when the user
1844 # run `make install-strip'. However `strip' might not be the right
1845 # tool to use in cross-compilation environments, therefore Automake
1846 # will honor the `STRIP' environment variable to overrule this program.
1847 if test "$cross_compiling" != no; then
1848 if test -n "$ac_tool_prefix"; then
1849 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1850 set dummy ${ac_tool_prefix}strip; ac_word=$2
1851 echo "$as_me:$LINENO: checking for $ac_word" >&5
1852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1853 if test "${ac_cv_prog_STRIP+set}" = set; then
1854 echo $ECHO_N "(cached) $ECHO_C" >&6
1855 else
1856 if test -n "$STRIP"; then
1857 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1858 else
1859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1860 for as_dir in $PATH
1862 IFS=$as_save_IFS
1863 test -z "$as_dir" && as_dir=.
1864 for ac_exec_ext in '' $ac_executable_extensions; do
1865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1866 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1868 break 2
1870 done
1871 done
1875 STRIP=$ac_cv_prog_STRIP
1876 if test -n "$STRIP"; then
1877 echo "$as_me:$LINENO: result: $STRIP" >&5
1878 echo "${ECHO_T}$STRIP" >&6
1879 else
1880 echo "$as_me:$LINENO: result: no" >&5
1881 echo "${ECHO_T}no" >&6
1885 if test -z "$ac_cv_prog_STRIP"; then
1886 ac_ct_STRIP=$STRIP
1887 # Extract the first word of "strip", so it can be a program name with args.
1888 set dummy strip; ac_word=$2
1889 echo "$as_me:$LINENO: checking for $ac_word" >&5
1890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1891 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1893 else
1894 if test -n "$ac_ct_STRIP"; then
1895 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1896 else
1897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1898 for as_dir in $PATH
1900 IFS=$as_save_IFS
1901 test -z "$as_dir" && as_dir=.
1902 for ac_exec_ext in '' $ac_executable_extensions; do
1903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1904 ac_cv_prog_ac_ct_STRIP="strip"
1905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1906 break 2
1908 done
1909 done
1913 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1914 if test -n "$ac_ct_STRIP"; then
1915 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1916 echo "${ECHO_T}$ac_ct_STRIP" >&6
1917 else
1918 echo "$as_me:$LINENO: result: no" >&5
1919 echo "${ECHO_T}no" >&6
1922 if test "x$ac_ct_STRIP" = x; then
1923 STRIP=":"
1924 else
1925 if test "$build" != "$host"; then
1926 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1927 whose name does not start with the host triplet. If you think this
1928 configuration is useful to you, please write to autoconf@gnu.org." >&5
1929 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1930 whose name does not start with the host triplet. If you think this
1931 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1933 STRIP=$ac_ct_STRIP
1935 else
1936 STRIP="$ac_cv_prog_STRIP"
1940 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1942 # We need awk for the "check" target. The system "awk" is bad on
1943 # some platforms.
1944 # Always define AMTAR for backward compatibility.
1946 AMTAR=${AMTAR-"${am_missing_run}tar"}
1948 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1955 # The API version is the base version. We must guarantee
1956 # compatibility for all releases with the same API version.
1957 # Our current rule is that:
1958 # * All releases, including the prereleases, in an X.Y series
1959 # are compatible. So 1.5.1c is compatible with 1.5.
1960 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
1961 # aren't the same.
1962 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
1965 # A versioned directory, defined here for convenience.
1966 pkgvdatadir="\${datadir}/automake-${APIVERSION}"
1969 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
1970 # hence `.' is really what we want for perllibdir, libdir, and acdir.
1971 ACLOCAL="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/aclocal --acdir=m4"
1972 AUTOMAKE="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/automake --libdir=lib"
1974 # Extract the first word of "perl", so it can be a program name with args.
1975 set dummy perl; ac_word=$2
1976 echo "$as_me:$LINENO: checking for $ac_word" >&5
1977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1978 if test "${ac_cv_path_PERL+set}" = set; then
1979 echo $ECHO_N "(cached) $ECHO_C" >&6
1980 else
1981 case $PERL in
1982 [\\/]* | ?:[\\/]*)
1983 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1987 for as_dir in $PATH
1989 IFS=$as_save_IFS
1990 test -z "$as_dir" && as_dir=.
1991 for ac_exec_ext in '' $ac_executable_extensions; do
1992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1993 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
1994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1995 break 2
1997 done
1998 done
2001 esac
2003 PERL=$ac_cv_path_PERL
2005 if test -n "$PERL"; then
2006 echo "$as_me:$LINENO: result: $PERL" >&5
2007 echo "${ECHO_T}$PERL" >&6
2008 else
2009 echo "$as_me:$LINENO: result: no" >&5
2010 echo "${ECHO_T}no" >&6
2013 if test -z "$PERL"; then
2014 { { echo "$as_me:$LINENO: error: perl not found" >&5
2015 echo "$as_me: error: perl not found" >&2;}
2016 { (exit 1); exit 1; }; }
2018 $PERL -e 'require 5.005;' || {
2019 { { echo "$as_me:$LINENO: error: perl 5.005 or better is required" >&5
2020 echo "$as_me: error: perl 5.005 or better is required" >&2;}
2021 { (exit 1); exit 1; }; }
2024 # The test suite will skip some tests if tex is absent.
2025 # Extract the first word of "tex", so it can be a program name with args.
2026 set dummy tex; ac_word=$2
2027 echo "$as_me:$LINENO: checking for $ac_word" >&5
2028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2029 if test "${ac_cv_prog_TEX+set}" = set; then
2030 echo $ECHO_N "(cached) $ECHO_C" >&6
2031 else
2032 if test -n "$TEX"; then
2033 ac_cv_prog_TEX="$TEX" # Let the user override the test.
2034 else
2035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2036 for as_dir in $PATH
2038 IFS=$as_save_IFS
2039 test -z "$as_dir" && as_dir=.
2040 for ac_exec_ext in '' $ac_executable_extensions; do
2041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2042 ac_cv_prog_TEX="tex"
2043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2044 break 2
2046 done
2047 done
2051 TEX=$ac_cv_prog_TEX
2052 if test -n "$TEX"; then
2053 echo "$as_me:$LINENO: result: $TEX" >&5
2054 echo "${ECHO_T}$TEX" >&6
2055 else
2056 echo "$as_me:$LINENO: result: no" >&5
2057 echo "${ECHO_T}no" >&6
2061 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2062 # deletion of any files created (such as those added to
2063 # autom4te.cache). We used to perform only the last of the three
2064 # following tests, but some users were unable to figure out that their
2065 # installation was broken since --version appeared to work.
2067 echo "$as_me:$LINENO: checking whether autoconf is installed" >&5
2068 echo $ECHO_N "checking whether autoconf is installed... $ECHO_C" >&6
2069 if test "${am_cv_autoconf_installed+set}" = set; then
2070 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 else
2072 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2073 (eval $am_AUTOCONF --version) >&5 2>&5
2074 ac_status=$?
2075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2076 (exit $ac_status); };
2077 then
2078 am_cv_autoconf_installed=yes
2079 else
2080 am_cv_autoconf_installed=no
2083 echo "$as_me:$LINENO: result: $am_cv_autoconf_installed" >&5
2084 echo "${ECHO_T}$am_cv_autoconf_installed" >&6
2085 if test "$am_cv_autoconf_installed" = no; then
2086 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required.
2087 Please make sure it is installed and in your PATH." >&5
2088 echo "$as_me: error: Autoconf 2.58 or better is required.
2089 Please make sure it is installed and in your PATH." >&2;}
2090 { (exit 1); exit 1; }; }
2093 echo "$as_me:$LINENO: checking whether autoconf works" >&5
2094 echo $ECHO_N "checking whether autoconf works... $ECHO_C" >&6
2095 if test "${am_cv_autoconf_works+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2097 else
2098 mkdir conftest
2099 echo 'AC''_INIT' > conftest/conftest.ac
2100 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2101 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2102 ac_status=$?
2103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2104 (exit $ac_status); };
2105 then
2106 am_cv_autoconf_works=yes
2107 else
2108 am_cv_autoconf_works=no
2110 rm -rf conftest
2112 echo "$as_me:$LINENO: result: $am_cv_autoconf_works" >&5
2113 echo "${ECHO_T}$am_cv_autoconf_works" >&6
2114 if test "$am_cv_autoconf_works" = no; then
2115 { { echo "$as_me:$LINENO: error: The installed version of autoconf does not work.
2116 Please check config.log for error messages before this one." >&5
2117 echo "$as_me: error: The installed version of autoconf does not work.
2118 Please check config.log for error messages before this one." >&2;}
2119 { (exit 1); exit 1; }; }
2122 echo "$as_me:$LINENO: checking whether autoconf is recent enough" >&5
2123 echo $ECHO_N "checking whether autoconf is recent enough... $ECHO_C" >&6
2124 if test "${am_cv_autoconf_version+set}" = set; then
2125 echo $ECHO_N "(cached) $ECHO_C" >&6
2126 else
2127 mkdir conftest
2128 echo 'AC''_PREREQ(2.58)' > conftest/conftest.ac
2129 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2130 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2131 ac_status=$?
2132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2133 (exit $ac_status); };
2134 then
2135 am_cv_autoconf_version=yes
2136 else
2137 am_cv_autoconf_version=no
2139 rm -rf conftest
2141 echo "$as_me:$LINENO: result: $am_cv_autoconf_version" >&5
2142 echo "${ECHO_T}$am_cv_autoconf_version" >&6
2143 if test "$am_cv_autoconf_version" = no; then
2144 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required." >&5
2145 echo "$as_me: error: Autoconf 2.58 or better is required." >&2;}
2146 { (exit 1); exit 1; }; }
2149 # Test for ln. We need use it to install the versioned binaries.
2150 echo "$as_me:$LINENO: checking whether ln works" >&5
2151 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
2152 if test "${am_cv_prog_ln+set}" = set; then
2153 echo $ECHO_N "(cached) $ECHO_C" >&6
2154 else
2156 rm -f conftest conftest.file
2157 : >conftest.file
2158 if ln conftest.file conftest 2>/dev/null; then
2159 am_cv_prog_ln=ln
2160 else
2161 am_cv_prog_ln='cp -p'
2163 rm -f conftest conftest.file
2166 LN=$am_cv_prog_ln
2168 result=no
2169 test "x$am_cv_prog_ln" = xln && result=yes
2170 echo "$as_me:$LINENO: result: $result" >&5
2171 echo "${ECHO_T}$result" >&6
2173 # The amount we should wait after modifying files depends on the platform.
2174 # On Windows '95, '98 and ME, files modifications have 2-seconds
2175 # granularity and can be up to 3 seconds in the future w.r.t. the
2176 # system clock. When it is important to ensure one file is older
2177 # than another we wait at least 5 seconds between creations.
2178 case $build in
2179 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2180 *) MODIFICATION_DELAY=2;;
2181 esac
2184 # Test for things needed by the test suite.
2185 echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2186 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6
2187 if test "${ac_cv_path_GREP+set}" = set; then
2188 echo $ECHO_N "(cached) $ECHO_C" >&6
2189 else
2190 # Extract the first word of "grep ggrep" to use in msg output
2191 if test -z "$GREP"; then
2192 set dummy grep ggrep; ac_prog_name=$2
2193 if test "${ac_cv_path_GREP+set}" = set; then
2194 echo $ECHO_N "(cached) $ECHO_C" >&6
2195 else
2196 # Create a temporary directory, and hook for its removal unless debugging.
2197 $debug ||
2199 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
2200 trap '{ (exit 1); exit 1; }' 1 2 13 15
2203 # Create a (secure) tmp directory for tmp files.
2204 : ${TMPDIR=/tmp}
2206 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/GREPXXXXXX") 2>/dev/null` &&
2207 test -n "$tmp" && test -d "$tmp"
2208 } ||
2210 tmp=$TMPDIR/GREP$$-$RANDOM
2211 (umask 077 && mkdir $tmp)
2212 } ||
2214 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2215 { (exit 1); exit 1; }
2217 ac_path_GREP_found=false
2218 # Loop through the user's path and test for each of PROGNAME-LIST
2219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2220 as_dummy="$PATH:/usr/xpg4/bin"
2221 for as_dir in $as_dummy
2223 IFS=$as_save_IFS
2224 test -z "$as_dir" && as_dir=.
2225 for ac_prog in grep ggrep; do
2226 for ac_exec_ext in '' $ac_executable_extensions; do
2227 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2228 test -f "$ac_path_GREP" || continue
2229 $ac_path_GREP_found || if $as_executable_p "$ac_path_GREP"; then
2230 # Check for GNU ac_path_GREP and select it if it is found.
2231 # Check for GNU $ac_path_GREP
2232 if "$ac_path_GREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
2233 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:
2234 else
2235 ac_count=0
2236 echo $ECHO_N "0123456789$ECHO_C" >"$tmp/conftest.in"
2237 while :
2239 cat "$tmp/conftest.in" "$tmp/conftest.in" >"$tmp/conftest.tmp"
2240 mv "$tmp/conftest.tmp" "$tmp/conftest.in"
2241 cp "$tmp/conftest.in" "$tmp/conftest.nl"
2242 echo 'GREP' >> "$tmp/conftest.nl"
2243 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "$tmp/conftest.nl" >"$tmp/conftest.out" 2>/dev/null || break
2244 diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev/null 2>&1 || break
2245 ac_count=`expr $ac_count + 1`
2246 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2247 # Best one so far, save it but keep looking for a better one
2248 ac_cv_path_GREP="$ac_path_GREP"
2249 ac_path_GREP_max=$ac_count
2251 # 10*(2^10) chars as input seems more than enough
2252 test $ac_count -gt 10 && break
2253 done
2258 $ac_path_GREP_found && break 3
2259 done
2260 done
2262 done
2264 rm -rf "$tmp"
2268 GREP="$ac_cv_path_GREP"
2269 if test -z "$GREP"; then
2270 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2271 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2272 { (exit 1); exit 1; }; }
2279 echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2280 echo "${ECHO_T}$ac_cv_path_GREP" >&6
2281 GREP="$ac_cv_path_GREP"
2284 echo "$as_me:$LINENO: checking for egrep" >&5
2285 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2286 if test "${ac_cv_path_EGREP+set}" = set; then
2287 echo $ECHO_N "(cached) $ECHO_C" >&6
2288 else
2289 if echo a | ($GREP -E '(a|b)') >/dev/null 2>&1
2290 then ac_cv_path_EGREP="$GREP -E"
2291 else
2292 # Extract the first word of "egrep" to use in msg output
2293 if test -z "$EGREP"; then
2294 set dummy egrep; ac_prog_name=$2
2295 if test "${ac_cv_path_EGREP+set}" = set; then
2296 echo $ECHO_N "(cached) $ECHO_C" >&6
2297 else
2298 # Create a temporary directory, and hook for its removal unless debugging.
2299 $debug ||
2301 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
2302 trap '{ (exit 1); exit 1; }' 1 2 13 15
2305 # Create a (secure) tmp directory for tmp files.
2306 : ${TMPDIR=/tmp}
2308 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/EGREPXXXXXX") 2>/dev/null` &&
2309 test -n "$tmp" && test -d "$tmp"
2310 } ||
2312 tmp=$TMPDIR/EGREP$$-$RANDOM
2313 (umask 077 && mkdir $tmp)
2314 } ||
2316 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2317 { (exit 1); exit 1; }
2319 ac_path_EGREP_found=false
2320 # Loop through the user's path and test for each of PROGNAME-LIST
2321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2322 as_dummy="$PATH:/usr/xpg4/bin"
2323 for as_dir in $as_dummy
2325 IFS=$as_save_IFS
2326 test -z "$as_dir" && as_dir=.
2327 for ac_prog in egrep; do
2328 for ac_exec_ext in '' $ac_executable_extensions; do
2329 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2330 test -f "$ac_path_EGREP" || continue
2331 $ac_path_EGREP_found || if $as_executable_p "$ac_path_EGREP"; then
2332 # Check for GNU ac_path_EGREP and select it if it is found.
2333 # Check for GNU $ac_path_EGREP
2334 if "$ac_path_EGREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
2335 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:
2336 else
2337 ac_count=0
2338 echo $ECHO_N "0123456789$ECHO_C" >"$tmp/conftest.in"
2339 while :
2341 cat "$tmp/conftest.in" "$tmp/conftest.in" >"$tmp/conftest.tmp"
2342 mv "$tmp/conftest.tmp" "$tmp/conftest.in"
2343 cp "$tmp/conftest.in" "$tmp/conftest.nl"
2344 echo 'EGREP' >> "$tmp/conftest.nl"
2345 "$ac_path_EGREP" 'EGREP$' < "$tmp/conftest.nl" >"$tmp/conftest.out" 2>/dev/null || break
2346 diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev/null 2>&1 || break
2347 ac_count=`expr $ac_count + 1`
2348 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2349 # Best one so far, save it but keep looking for a better one
2350 ac_cv_path_EGREP="$ac_path_EGREP"
2351 ac_path_EGREP_max=$ac_count
2353 # 10*(2^10) chars as input seems more than enough
2354 test $ac_count -gt 10 && break
2355 done
2360 $ac_path_EGREP_found && break 3
2361 done
2362 done
2364 done
2366 rm -rf "$tmp"
2370 EGREP="$ac_cv_path_EGREP"
2371 if test -z "$EGREP"; then
2372 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2373 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2374 { (exit 1); exit 1; }; }
2382 echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2383 echo "${ECHO_T}$ac_cv_path_EGREP" >&6
2384 EGREP="$ac_cv_path_EGREP"
2387 echo "$as_me:$LINENO: checking for fgrep" >&5
2388 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
2389 if test "${ac_cv_path_FGREP+set}" = set; then
2390 echo $ECHO_N "(cached) $ECHO_C" >&6
2391 else
2392 if echo 'ab*c' | ($GREP -F 'ab*c') >/dev/null 2>&1
2393 then ac_cv_path_FGREP="$GREP -F"
2394 else
2395 # Extract the first word of "fgrep" to use in msg output
2396 if test -z "$FGREP"; then
2397 set dummy fgrep; ac_prog_name=$2
2398 if test "${ac_cv_path_FGREP+set}" = set; then
2399 echo $ECHO_N "(cached) $ECHO_C" >&6
2400 else
2401 # Create a temporary directory, and hook for its removal unless debugging.
2402 $debug ||
2404 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
2405 trap '{ (exit 1); exit 1; }' 1 2 13 15
2408 # Create a (secure) tmp directory for tmp files.
2409 : ${TMPDIR=/tmp}
2411 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/FGREPXXXXXX") 2>/dev/null` &&
2412 test -n "$tmp" && test -d "$tmp"
2413 } ||
2415 tmp=$TMPDIR/FGREP$$-$RANDOM
2416 (umask 077 && mkdir $tmp)
2417 } ||
2419 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2420 { (exit 1); exit 1; }
2422 ac_path_FGREP_found=false
2423 # Loop through the user's path and test for each of PROGNAME-LIST
2424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2425 as_dummy="$PATH:/usr/xpg4/bin"
2426 for as_dir in $as_dummy
2428 IFS=$as_save_IFS
2429 test -z "$as_dir" && as_dir=.
2430 for ac_prog in fgrep; do
2431 for ac_exec_ext in '' $ac_executable_extensions; do
2432 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2433 test -f "$ac_path_FGREP" || continue
2434 $ac_path_FGREP_found || if $as_executable_p "$ac_path_FGREP"; then
2435 # Check for GNU ac_path_FGREP and select it if it is found.
2436 # Check for GNU $ac_path_FGREP
2437 if "$ac_path_FGREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
2438 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:
2439 else
2440 ac_count=0
2441 echo $ECHO_N "0123456789$ECHO_C" >"$tmp/conftest.in"
2442 while :
2444 cat "$tmp/conftest.in" "$tmp/conftest.in" >"$tmp/conftest.tmp"
2445 mv "$tmp/conftest.tmp" "$tmp/conftest.in"
2446 cp "$tmp/conftest.in" "$tmp/conftest.nl"
2447 echo 'FGREP' >> "$tmp/conftest.nl"
2448 "$ac_path_FGREP" FGREP < "$tmp/conftest.nl" >"$tmp/conftest.out" 2>/dev/null || break
2449 diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev/null 2>&1 || break
2450 ac_count=`expr $ac_count + 1`
2451 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2452 # Best one so far, save it but keep looking for a better one
2453 ac_cv_path_FGREP="$ac_path_FGREP"
2454 ac_path_FGREP_max=$ac_count
2456 # 10*(2^10) chars as input seems more than enough
2457 test $ac_count -gt 10 && break
2458 done
2463 $ac_path_FGREP_found && break 3
2464 done
2465 done
2467 done
2469 rm -rf "$tmp"
2473 FGREP="$ac_cv_path_FGREP"
2474 if test -z "$FGREP"; then
2475 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2476 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2477 { (exit 1); exit 1; }; }
2485 echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
2486 echo "${ECHO_T}$ac_cv_path_FGREP" >&6
2487 FGREP="$ac_cv_path_FGREP"
2491 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"
2493 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2495 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2498 cat >confcache <<\_ACEOF
2499 # This file is a shell script that caches the results of configure
2500 # tests run on this system so they can be shared between configure
2501 # scripts and configure runs, see configure's option --config-cache.
2502 # It is not useful on other systems. If it contains results you don't
2503 # want to keep, you may remove or edit it.
2505 # config.status only pays attention to the cache file if you give it
2506 # the --recheck option to rerun configure.
2508 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2509 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2510 # following values.
2512 _ACEOF
2514 # The following way of writing the cache mishandles newlines in values,
2515 # but we know of no workaround that is simple, portable, and efficient.
2516 # So, don't put newlines in cache variables' values.
2517 # Ultrix sh set writes to stderr and can't be redirected directly,
2518 # and sets the high bit in the cache file unless we assign to the vars.
2520 (set) 2>&1 |
2521 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2522 *ac_space=\ *)
2523 # `set' does not quote correctly, so add quotes (double-quote
2524 # substitution turns \\\\ into \\, and sed turns \\ into \).
2525 sed -n \
2526 "s/'/'\\\\''/g;
2527 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2530 # `set' quotes correctly as required by POSIX, so do not add quotes.
2531 sed -n \
2532 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2534 esac;
2536 sed '
2537 t clear
2538 : clear
2539 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2540 t end
2541 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2542 : end' >>confcache
2543 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2544 if test -w $cache_file; then
2545 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2546 cat confcache >$cache_file
2547 else
2548 echo "not updating unwritable cache $cache_file"
2551 rm -f confcache
2553 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2554 # Let make expand exec_prefix.
2555 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2557 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2558 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2559 # trailing colons and then remove the whole line if VPATH becomes empty
2560 # (actually we leave an empty line to preserve line numbers).
2561 if test "x$srcdir" = x.; then
2562 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2563 s/:*\$(srcdir):*/:/;
2564 s/:*\${srcdir}:*/:/;
2565 s/:*@srcdir@:*/:/;
2566 s/^\([^=]*=[ ]*\):*/\1/;
2567 s/:*$//;
2568 s/^[^=]*=[ ]*$//;
2572 # Transform confdefs.h into DEFS.
2573 # Protect against shell expansion while executing Makefile rules.
2574 # Protect against Makefile macro expansion.
2576 # If the first sed substitution is executed (which looks for macros that
2577 # take arguments), then we branch to the quote section. Otherwise,
2578 # look for a macro that doesn't take arguments.
2579 cat >confdef2opt.sed <<\_ACEOF
2580 t clear
2581 : clear
2582 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2583 t quote
2584 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2585 t quote
2587 : quote
2588 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2589 s,\[,\\&,g
2590 s,\],\\&,g
2591 s,\$,$$,g
2593 _ACEOF
2594 # We use echo to avoid assuming a particular line-breaking character.
2595 # The extra dot is to prevent the shell from consuming trailing
2596 # line-breaks from the sub-command output. A line-break within
2597 # single-quotes doesn't work because, if this script is created in a
2598 # platform that uses two characters for line-breaks (e.g., DOS), tr
2599 # would break.
2600 ac_LF_and_DOT=`echo; echo .`
2601 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2602 rm -f confdef2opt.sed
2605 ac_libobjs=
2606 ac_ltlibobjs=
2607 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2608 # 1. Remove the extension, and $U if already installed.
2609 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2610 ac_i=`echo "$ac_i" | sed "$ac_script"`
2611 # 2. Add them.
2612 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2613 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2614 done
2615 LIBOBJS=$ac_libobjs
2617 LTLIBOBJS=$ac_ltlibobjs
2621 : ${CONFIG_STATUS=./config.status}
2622 ac_clean_files_save=$ac_clean_files
2623 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2624 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2625 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2626 cat >$CONFIG_STATUS <<_ACEOF
2627 #! $SHELL
2628 # Generated by $as_me.
2629 # Run this file to recreate the current configuration.
2630 # Compiler output produced by configure, useful for debugging
2631 # configure, is in config.log if it exists.
2633 debug=false
2634 ac_cs_recheck=false
2635 ac_cs_silent=false
2636 SHELL=\${CONFIG_SHELL-$SHELL}
2637 _ACEOF
2639 cat >>$CONFIG_STATUS <<\_ACEOF
2640 ## --------------------- ##
2641 ## M4sh Initialization. ##
2642 ## --------------------- ##
2644 # Be Bourne compatible
2645 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2646 emulate sh
2647 NULLCMD=:
2648 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2649 # is contrary to our usage. Disable this feature.
2650 alias -g '${1+"$@"}'='"$@"'
2651 setopt NO_GLOB_SUBST
2652 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2653 set -o posix
2655 DUALCASE=1; export DUALCASE # for MKS sh
2658 # PATH needs CR
2659 # Avoid depending upon Character Ranges.
2660 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2661 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2662 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2663 as_cr_digits='0123456789'
2664 as_cr_alnum=$as_cr_Letters$as_cr_digits
2666 # The user is always right.
2667 if test "${PATH_SEPARATOR+set}" != set; then
2668 echo "#! /bin/sh" >conf$$.sh
2669 echo "exit 0" >>conf$$.sh
2670 chmod +x conf$$.sh
2671 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2672 PATH_SEPARATOR=';'
2673 else
2674 PATH_SEPARATOR=:
2676 rm -f conf$$.sh
2679 # Support unset when possible.
2680 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2681 as_unset=unset
2682 else
2683 as_unset=false
2687 # Find who we are. Look in the path if we contain no path at all
2688 # relative or not.
2689 case $0 in
2690 *[\\/]* ) as_myself=$0 ;;
2691 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692 for as_dir in $PATH
2694 IFS=$as_save_IFS
2695 test -z "$as_dir" && as_dir=.
2696 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2697 done
2700 esac
2701 # We did not find ourselves, most probably we were run as `sh COMMAND'
2702 # in which case we are not to be found in the path.
2703 if test "x$as_myself" = x; then
2704 as_myself=$0
2706 if test ! -f "$as_myself"; then
2707 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2708 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2709 { (exit 1); exit 1; }; }
2712 # Work around bugs in pre-3.0 UWIN ksh.
2713 for as_var in ENV MAIL MAILPATH
2714 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2715 done
2716 PS1='$ '
2717 PS2='> '
2718 PS4='+ '
2720 # NLS nuisances.
2721 for as_var in \
2722 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2723 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2724 LC_TELEPHONE LC_TIME
2726 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2727 eval $as_var=C; export $as_var
2728 else
2729 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2731 done
2733 # Required to use basename.
2734 if expr a : '\(a\)' >/dev/null 2>&1; then
2735 as_expr=expr
2736 else
2737 as_expr=false
2740 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2741 as_basename=basename
2742 else
2743 as_basename=false
2747 # Name of the executable.
2748 as_me=`$as_basename "$0" ||
2749 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2750 X"$0" : 'X\(//\)$' \| \
2751 X"$0" : 'X\(/\)$' \| \
2752 . : '\(.\)' 2>/dev/null ||
2753 echo X/"$0" |
2754 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2755 /^X\/\(\/\/\)$/{ s//\1/; q; }
2756 /^X\/\(\/\).*/{ s//\1/; q; }
2757 s/.*/./; q'`
2762 as_lineno_1=$LINENO
2763 as_lineno_2=$LINENO
2764 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2765 test "x$as_lineno_1" != "x$as_lineno_2" &&
2766 test "x$as_lineno_3" = "x$as_lineno_2" || {
2768 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2769 # uniformly replaced by the line number. The first 'sed' inserts a
2770 # line-number line after each line using $LINENO; the second 'sed'
2771 # does the real work. The second script uses 'N' to pair each
2772 # line-number line with the line containing $LINENO, and appends
2773 # trailing '-' during substitution so that $LINENO is not a special
2774 # case at line end.
2775 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2776 # scripts with optimization help from Paolo Bonzini. Blame Lee
2777 # E. McMahon (1931-1989) for sed's syntax. :-)
2778 sed -n '
2780 /[$]LINENO/=
2781 ' <$as_myself |
2782 sed '
2783 s,[$]LINENO.*,&-,
2784 t lineno
2786 : lineno
2788 : loop
2789 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
2790 t loop
2791 s,-\n.*,,
2792 ' >$as_me.lineno &&
2793 chmod +x $as_me.lineno ||
2794 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2795 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2796 { (exit 1); exit 1; }; }
2798 # Don't try to exec as it changes $[0], causing all sort of problems
2799 # (the dirname of $[0] is not the place where we might find the
2800 # original and so on. Autoconf is especially sensible to this).
2801 . ./$as_me.lineno
2802 # Exit status is that of the last command.
2803 exit
2807 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2808 *c*,-n*) ECHO_N= ECHO_C='
2809 ' ECHO_T=' ' ;;
2810 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2811 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2812 esac
2814 if expr a : '\(a\)' >/dev/null 2>&1; then
2815 as_expr=expr
2816 else
2817 as_expr=false
2820 rm -f conf$$ conf$$.exe conf$$.file
2821 echo >conf$$.file
2822 if ln -s conf$$.file conf$$ 2>/dev/null; then
2823 # We could just check for DJGPP; but this test a) works b) is more generic
2824 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2825 if test -f conf$$.exe; then
2826 # Don't use ln at all; we don't have any links
2827 as_ln_s='cp -p'
2828 else
2829 as_ln_s='ln -s'
2831 elif ln conf$$.file conf$$ 2>/dev/null; then
2832 as_ln_s=ln
2833 else
2834 as_ln_s='cp -p'
2836 rm -f conf$$ conf$$.exe conf$$.file
2838 if mkdir -p . 2>/dev/null; then
2839 as_mkdir_p=:
2840 else
2841 test -d ./-p && rmdir ./-p
2842 as_mkdir_p=false
2845 as_executable_p="test -f"
2847 # Sed expression to map a string onto a valid CPP name.
2848 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2850 # Sed expression to map a string onto a valid variable name.
2851 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2854 # IFS
2855 # We need space, tab and new line, in precisely that order.
2856 as_nl='
2858 IFS=" $as_nl"
2860 # CDPATH.
2861 $as_unset CDPATH
2863 exec 6>&1
2865 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2866 # report actual input values of CONFIG_FILES etc. instead of their
2867 # values after options handling. Logging --version etc. is OK.
2868 exec 5>>config.log
2870 echo
2871 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2872 ## Running $as_me. ##
2873 _ASBOX
2874 } >&5
2875 cat >&5 <<_CSEOF
2877 This file was extended by GNU Automake $as_me 1.8e, which was
2878 generated by GNU Autoconf 2.59a. Invocation command line was
2880 CONFIG_FILES = $CONFIG_FILES
2881 CONFIG_HEADERS = $CONFIG_HEADERS
2882 CONFIG_LINKS = $CONFIG_LINKS
2883 CONFIG_COMMANDS = $CONFIG_COMMANDS
2884 $ $0 $@
2886 _CSEOF
2887 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2888 echo >&5
2889 _ACEOF
2891 # Files that config.status was made for.
2892 if test -n "$ac_config_files"; then
2893 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2896 if test -n "$ac_config_headers"; then
2897 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2900 if test -n "$ac_config_links"; then
2901 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2904 if test -n "$ac_config_commands"; then
2905 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2908 cat >>$CONFIG_STATUS <<\_ACEOF
2910 ac_cs_usage="\
2911 \`$as_me' instantiates files from templates according to the
2912 current configuration.
2914 Usage: $0 [OPTIONS] [FILE]...
2916 -h, --help print this help, then exit
2917 -V, --version print version number, then exit
2918 -q, --quiet do not print progress messages
2919 -d, --debug don't remove temporary files
2920 --recheck update $as_me by reconfiguring in the same conditions
2921 --file=FILE[:TEMPLATE]
2922 instantiate the configuration file FILE
2924 Configuration files:
2925 $config_files
2927 Report bugs to <bug-autoconf@gnu.org>."
2928 _ACEOF
2930 cat >>$CONFIG_STATUS <<_ACEOF
2931 ac_cs_version="\\
2932 GNU Automake config.status 1.8e
2933 configured by $0, generated by GNU Autoconf 2.59a,
2934 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2936 Copyright (C) 2004 Free Software Foundation, Inc.
2937 This config.status script is free software; the Free Software Foundation
2938 gives unlimited permission to copy, distribute and modify it."
2939 srcdir=$srcdir
2940 INSTALL="$INSTALL"
2941 _ACEOF
2943 cat >>$CONFIG_STATUS <<\_ACEOF
2944 # If no file are specified by the user, then we need to provide default
2945 # value. By we need to know if files were specified by the user.
2946 ac_need_defaults=:
2947 while test $# != 0
2949 case $1 in
2950 --*=*)
2951 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2952 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2953 ac_shift=:
2956 ac_option=$1
2957 ac_optarg=$2
2958 ac_shift=shift
2960 *) # This is not an option, so the user has probably given explicit
2961 # arguments.
2962 ac_option=$1
2963 ac_need_defaults=false;;
2964 esac
2966 case $ac_option in
2967 # Handling of the options.
2968 _ACEOF
2969 cat >>$CONFIG_STATUS <<\_ACEOF
2970 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2971 ac_cs_recheck=: ;;
2972 --version | --vers* | -V )
2973 echo "$ac_cs_version"; exit 0 ;;
2974 --he | --h)
2975 # Conflict between --help and --header
2976 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2977 Try \`$0 --help' for more information." >&5
2978 echo "$as_me: error: ambiguous option: $1
2979 Try \`$0 --help' for more information." >&2;}
2980 { (exit 1); exit 1; }; };;
2981 --help | --hel | -h )
2982 echo "$ac_cs_usage"; exit 0 ;;
2983 --debug | --d* | -d )
2984 debug=: ;;
2985 --file | --fil | --fi | --f )
2986 $ac_shift
2987 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2988 ac_need_defaults=false;;
2989 --header | --heade | --head | --hea )
2990 $ac_shift
2991 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2992 ac_need_defaults=false;;
2993 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2994 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2995 ac_cs_silent=: ;;
2997 # This is an error.
2998 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2999 Try \`$0 --help' for more information." >&5
3000 echo "$as_me: error: unrecognized option: $1
3001 Try \`$0 --help' for more information." >&2;}
3002 { (exit 1); exit 1; }; } ;;
3004 *) ac_config_targets="$ac_config_targets $1" ;;
3006 esac
3007 shift
3008 done
3010 ac_configure_extra_args=
3012 if $ac_cs_silent; then
3013 exec 6>/dev/null
3014 ac_configure_extra_args="$ac_configure_extra_args --silent"
3017 _ACEOF
3018 cat >>$CONFIG_STATUS <<_ACEOF
3019 if \$ac_cs_recheck; then
3020 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3021 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3024 _ACEOF
3026 cat >>$CONFIG_STATUS <<_ACEOF
3028 # INIT-COMMANDS section.
3031 APIVERSION=$APIVERSION
3033 _ACEOF
3037 cat >>$CONFIG_STATUS <<\_ACEOF
3038 for ac_config_target in $ac_config_targets
3040 case "$ac_config_target" in
3041 # Handling of arguments.
3042 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3043 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3044 "lib/Automake/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3045 "lib/Automake/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3046 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3047 "lib/am/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3048 "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3049 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3050 "tests/defs" ) CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
3051 "tests/aclocal-${APIVERSION}" ) CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3052 "tests/automake-${APIVERSION}" ) CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3053 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3054 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3055 { (exit 1); exit 1; }; };;
3056 esac
3057 done
3059 # If the user did not use the arguments to specify the items to instantiate,
3060 # then the envvar interface is used. Set only those that are not.
3061 # We use the long form for the default assignment because of an extremely
3062 # bizarre bug on SunOS 4.1.3.
3063 if $ac_need_defaults; then
3064 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3067 # Have a temporary directory for convenience. Make it in the build tree
3068 # simply because there is no reason to put it here, and in addition,
3069 # creating and moving files from /tmp can sometimes cause problems.
3070 # Create a temporary directory, and hook for its removal unless debugging.
3071 $debug ||
3073 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
3074 trap '{ (exit 1); exit 1; }' 1 2 13 15
3077 # Create a (secure) tmp directory for tmp files.
3080 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3081 test -n "$tmp" && test -d "$tmp"
3082 } ||
3084 tmp=./confstat$$-$RANDOM
3085 (umask 077 && mkdir $tmp)
3086 } ||
3088 echo "$me: cannot create a temporary directory in ." >&2
3089 { (exit 1); exit 1; }
3092 _ACEOF
3094 cat >>$CONFIG_STATUS <<_ACEOF
3097 # CONFIG_FILES section.
3100 # No need to generate the scripts if there are no CONFIG_FILES.
3101 # This happens for instance when ./config.status config.h
3102 if test -n "\$CONFIG_FILES"; then
3103 # Protect against being on the right side of a sed subst in config.status.
3104 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3105 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3106 s,@SHELL@,$SHELL,;t t
3107 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3108 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3109 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3110 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3111 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3112 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3113 s,@exec_prefix@,$exec_prefix,;t t
3114 s,@prefix@,$prefix,;t t
3115 s,@program_transform_name@,$program_transform_name,;t t
3116 s,@bindir@,$bindir,;t t
3117 s,@sbindir@,$sbindir,;t t
3118 s,@libexecdir@,$libexecdir,;t t
3119 s,@datadir@,$datadir,;t t
3120 s,@sysconfdir@,$sysconfdir,;t t
3121 s,@sharedstatedir@,$sharedstatedir,;t t
3122 s,@localstatedir@,$localstatedir,;t t
3123 s,@libdir@,$libdir,;t t
3124 s,@includedir@,$includedir,;t t
3125 s,@oldincludedir@,$oldincludedir,;t t
3126 s,@infodir@,$infodir,;t t
3127 s,@mandir@,$mandir,;t t
3128 s,@build_alias@,$build_alias,;t t
3129 s,@host_alias@,$host_alias,;t t
3130 s,@target_alias@,$target_alias,;t t
3131 s,@DEFS@,$DEFS,;t t
3132 s,@ECHO_C@,$ECHO_C,;t t
3133 s,@ECHO_N@,$ECHO_N,;t t
3134 s,@ECHO_T@,$ECHO_T,;t t
3135 s,@LIBS@,$LIBS,;t t
3136 s,@build@,$build,;t t
3137 s,@build_cpu@,$build_cpu,;t t
3138 s,@build_vendor@,$build_vendor,;t t
3139 s,@build_os@,$build_os,;t t
3140 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3141 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3142 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3143 s,@CYGPATH_W@,$CYGPATH_W,;t t
3144 s,@PACKAGE@,$PACKAGE,;t t
3145 s,@VERSION@,$VERSION,;t t
3146 s,@ACLOCAL@,$ACLOCAL,;t t
3147 s,@AUTOCONF@,$AUTOCONF,;t t
3148 s,@AUTOMAKE@,$AUTOMAKE,;t t
3149 s,@AUTOHEADER@,$AUTOHEADER,;t t
3150 s,@MAKEINFO@,$MAKEINFO,;t t
3151 s,@install_sh@,$install_sh,;t t
3152 s,@STRIP@,$STRIP,;t t
3153 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3154 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3155 s,@mkdir_p@,$mkdir_p,;t t
3156 s,@AWK@,$AWK,;t t
3157 s,@SET_MAKE@,$SET_MAKE,;t t
3158 s,@am__leading_dot@,$am__leading_dot,;t t
3159 s,@AMTAR@,$AMTAR,;t t
3160 s,@am__tar@,$am__tar,;t t
3161 s,@am__untar@,$am__untar,;t t
3162 s,@APIVERSION@,$APIVERSION,;t t
3163 s,@pkgvdatadir@,$pkgvdatadir,;t t
3164 s,@PERL@,$PERL,;t t
3165 s,@TEX@,$TEX,;t t
3166 s,@LN@,$LN,;t t
3167 s,@MODIFICATION_DELAY@,$MODIFICATION_DELAY,;t t
3168 s,@GREP@,$GREP,;t t
3169 s,@EGREP@,$EGREP,;t t
3170 s,@FGREP@,$FGREP,;t t
3171 s,@LIBOBJS@,$LIBOBJS,;t t
3172 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3173 CEOF
3175 _ACEOF
3177 cat >>$CONFIG_STATUS <<\_ACEOF
3178 # Split the substitutions into bite-sized pieces for seds with
3179 # small command number limits, like on Digital OSF/1 and HP-UX.
3180 ac_max_sed_lines=48
3181 ac_sed_frag=1 # Number of current file.
3182 ac_beg=1 # First line for current file.
3183 ac_end=$ac_max_sed_lines # Line after last line for current file.
3184 ac_more_lines=:
3185 ac_sed_cmds=
3186 while $ac_more_lines; do
3187 if test $ac_beg -gt 1; then
3188 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3189 else
3190 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3192 if test ! -s $tmp/subs.frag; then
3193 ac_more_lines=false
3194 else
3195 # The purpose of the label and of the branching condition is to
3196 # speed up the sed processing (if there are no `@' at all, there
3197 # is no need to browse any of the substitutions).
3198 # These are the two extra sed commands mentioned above.
3199 (echo ':t
3200 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3201 if test -z "$ac_sed_cmds"; then
3202 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3203 else
3204 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3206 ac_sed_frag=`expr $ac_sed_frag + 1`
3207 ac_beg=$ac_end
3208 ac_end=`expr $ac_end + $ac_max_sed_lines`
3210 done
3211 if test -z "$ac_sed_cmds"; then
3212 ac_sed_cmds=cat
3214 fi # test -n "$CONFIG_FILES"
3216 _ACEOF
3217 cat >>$CONFIG_STATUS <<\_ACEOF
3218 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3219 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3220 case $ac_file in
3221 - | *:- | *:-:* ) # input from stdin
3222 cat >$tmp/stdin
3223 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3224 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3225 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3226 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3227 * ) ac_file_in=$ac_file.in ;;
3228 esac
3230 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3231 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3232 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3233 X"$ac_file" : 'X\(//\)[^/]' \| \
3234 X"$ac_file" : 'X\(//\)$' \| \
3235 X"$ac_file" : 'X\(/\)' \| \
3236 . : '\(.\)' 2>/dev/null ||
3237 echo X"$ac_file" |
3238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3239 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3240 /^X\(\/\/\)$/{ s//\1/; q; }
3241 /^X\(\/\).*/{ s//\1/; q; }
3242 s/.*/./; q'`
3243 { if $as_mkdir_p; then
3244 test -d "$ac_dir" || mkdir -p "$ac_dir"
3245 else
3246 as_dir="$ac_dir"
3247 as_dirs=
3248 while test ! -d "$as_dir"; do
3249 as_dirs="$as_dir $as_dirs"
3250 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3251 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3252 X"$as_dir" : 'X\(//\)[^/]' \| \
3253 X"$as_dir" : 'X\(//\)$' \| \
3254 X"$as_dir" : 'X\(/\)' \| \
3255 . : '\(.\)' 2>/dev/null ||
3256 echo X"$as_dir" |
3257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3258 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3259 /^X\(\/\/\)$/{ s//\1/; q; }
3260 /^X\(\/\).*/{ s//\1/; q; }
3261 s/.*/./; q'`
3262 done
3263 test ! -n "$as_dirs" || mkdir $as_dirs
3264 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3265 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3266 { (exit 1); exit 1; }; }; }
3268 ac_builddir=.
3270 if test "$ac_dir" != .; then
3271 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3272 # A "../" for each directory in $ac_dir_suffix.
3273 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3274 else
3275 ac_dir_suffix= ac_top_builddir=
3278 case $srcdir in
3279 .) # No --srcdir option. We are building in place.
3280 ac_srcdir=.
3281 if test -z "$ac_top_builddir"; then
3282 ac_top_srcdir=.
3283 else
3284 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3285 fi ;;
3286 [\\/]* | ?:[\\/]* ) # Absolute path.
3287 ac_srcdir=$srcdir$ac_dir_suffix;
3288 ac_top_srcdir=$srcdir ;;
3289 *) # Relative path.
3290 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3291 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3292 esac
3294 # Do not use `cd foo && pwd` to compute absolute paths, because
3295 # the directories may not exist.
3296 case `pwd` in
3297 .) ac_abs_builddir="$ac_dir";;
3299 case "$ac_dir" in
3300 .) ac_abs_builddir=`pwd`;;
3301 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3302 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3303 esac;;
3304 esac
3305 case $ac_abs_builddir in
3306 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3308 case ${ac_top_builddir}. in
3309 .) ac_abs_top_builddir=$ac_abs_builddir;;
3310 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3311 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3312 esac;;
3313 esac
3314 case $ac_abs_builddir in
3315 .) ac_abs_srcdir=$ac_srcdir;;
3317 case $ac_srcdir in
3318 .) ac_abs_srcdir=$ac_abs_builddir;;
3319 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3320 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3321 esac;;
3322 esac
3323 case $ac_abs_builddir in
3324 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3326 case $ac_top_srcdir in
3327 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3328 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3329 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3330 esac;;
3331 esac
3334 case $INSTALL in
3335 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3336 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3337 esac
3339 if test x"$ac_file" != x-; then
3340 { echo "$as_me:$LINENO: creating $ac_file" >&5
3341 echo "$as_me: creating $ac_file" >&6;}
3342 rm -f "$ac_file"
3344 # Let's still pretend it is `configure' which instantiates (i.e., don't
3345 # use $as_me), people would be surprised to read:
3346 # /* config.h. Generated by config.status. */
3347 if test x"$ac_file" = x-; then
3348 configure_input=
3349 else
3350 configure_input="$ac_file. "
3352 configure_input=$configure_input"Generated from `echo $ac_file_in |
3353 sed 's,.*/,,'` by configure."
3355 # First look for the input files in the build tree, otherwise in the
3356 # src tree.
3357 ac_file_inputs=`IFS=:
3358 for f in $ac_file_in; do
3359 case $f in
3360 -) echo $tmp/stdin ;;
3361 [\\/$]*)
3362 # Absolute (can't be DOS-style, as IFS=:)
3363 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3364 echo "$as_me: error: cannot find input file: $f" >&2;}
3365 { (exit 1); exit 1; }; }
3366 echo "$f";;
3367 *) # Relative
3368 if test -f "$f"; then
3369 # Build tree
3370 echo "$f"
3371 elif test -f "$srcdir/$f"; then
3372 # Source tree
3373 echo "$srcdir/$f"
3374 else
3375 # /dev/null tree
3376 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3377 echo "$as_me: error: cannot find input file: $f" >&2;}
3378 { (exit 1); exit 1; }; }
3379 fi;;
3380 esac
3381 done` || { (exit 1); exit 1; }
3382 _ACEOF
3383 cat >>$CONFIG_STATUS <<_ACEOF
3384 sed "$ac_vpsub
3385 $extrasub
3386 _ACEOF
3387 cat >>$CONFIG_STATUS <<\_ACEOF
3389 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3390 s,@configure_input@,$configure_input,;t t
3391 s,@srcdir@,$ac_srcdir,;t t
3392 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3393 s,@top_srcdir@,$ac_top_srcdir,;t t
3394 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3395 s,@builddir@,$ac_builddir,;t t
3396 s,@abs_builddir@,$ac_abs_builddir,;t t
3397 s,@top_builddir@,$ac_top_builddir,;t t
3398 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3399 s,@INSTALL@,$ac_INSTALL,;t t
3400 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3401 rm -f $tmp/stdin
3402 if test x"$ac_file" != x-; then
3403 mv $tmp/out $ac_file
3404 else
3405 cat $tmp/out
3406 rm -f $tmp/out
3409 # Run the commands associated with the file.
3410 case $ac_file in
3411 tests/aclocal-${APIVERSION} ) chmod +x tests/aclocal-${APIVERSION} ;;
3412 tests/automake-${APIVERSION} ) chmod +x tests/automake-${APIVERSION} ;;
3413 esac
3414 done
3415 _ACEOF
3417 cat >>$CONFIG_STATUS <<\_ACEOF
3419 { (exit 0); exit 0; }
3420 _ACEOF
3421 chmod +x $CONFIG_STATUS
3422 ac_clean_files=$ac_clean_files_save
3425 # configure is writing to config.log, and then calls config.status.
3426 # config.status does its own redirection, appending to config.log.
3427 # Unfortunately, on DOS this fails, as config.log is still kept open
3428 # by configure, so config.status won't be able to write to it; its
3429 # output is simply discarded. So we exec the FD to /dev/null,
3430 # effectively closing config.log, so it can be properly (re)opened and
3431 # appended to by config.status. When coming back to configure, we
3432 # need to make the FD available again.
3433 if test "$no_create" != yes; then
3434 ac_cs_success=:
3435 ac_config_status_args=
3436 test "$silent" = yes &&
3437 ac_config_status_args="$ac_config_status_args --quiet"
3438 exec 5>/dev/null
3439 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3440 exec 5>>config.log
3441 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3442 # would make configure fail if this is the last instruction.
3443 $ac_cs_success || { (exit 1); exit 1; }