source: vendor/automake/1.7.9/configure@ 3883

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

automake 1.7.9

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