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