source: vendor/automake/1.9.6/configure

Last change on this file was 3086, checked in by bird, 18 years ago

automake 1.9.6

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