source: vendor/automake/1.10/configure@ 3147

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

automake 1.10

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