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