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