* configure.in: Release 1.6.3.
[automake.git] / configure
blob10c9f936077ff7a50e1fe46f68ae837a90f75127
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53 for GNU Automake 1.6.3.
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.
12 if expr a : '\(a\)' >/dev/null 2>&1; then
13 as_expr=expr
14 else
15 as_expr=false
19 ## --------------------- ##
20 ## M4sh Initialization. ##
21 ## --------------------- ##
23 # Be Bourne compatible
24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25 emulate sh
26 NULLCMD=:
27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
28 set -o posix
31 # NLS nuisances.
32 # Support unset when possible.
33 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34 as_unset=unset
35 else
36 as_unset=false
39 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
40 { $as_unset LANG || test "${LANG+set}" != set; } ||
41 { LANG=C; export LANG; }
42 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
43 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
44 { LC_ALL=C; export LC_ALL; }
45 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
46 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
47 { LC_TIME=C; export LC_TIME; }
48 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
49 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
50 { LC_CTYPE=C; export LC_CTYPE; }
51 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
52 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
53 { LANGUAGE=C; export LANGUAGE; }
54 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
55 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
56 { LC_COLLATE=C; export LC_COLLATE; }
57 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
58 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
59 { LC_NUMERIC=C; export LC_NUMERIC; }
60 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
61 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
62 { LC_MESSAGES=C; export LC_MESSAGES; }
65 # Name of the executable.
66 as_me=`(basename "$0") 2>/dev/null ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
77 # PATH needs CR, and LINENO needs CR and PATH.
78 # Avoid depending upon Character Ranges.
79 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82 as_cr_digits='0123456789'
83 as_cr_alnum=$as_cr_Letters$as_cr_digits
85 # The user is always right.
86 if test "${PATH_SEPARATOR+set}" != set; then
87 echo "#! /bin/sh" >conftest.sh
88 echo "exit 0" >>conftest.sh
89 chmod +x conftest.sh
90 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
91 PATH_SEPARATOR=';'
92 else
93 PATH_SEPARATOR=:
95 rm -f conftest.sh
99 as_lineno_1=$LINENO
100 as_lineno_2=$LINENO
101 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
102 test "x$as_lineno_1" != "x$as_lineno_2" &&
103 test "x$as_lineno_3" = "x$as_lineno_2" || {
104 # Find who we are. Look in the path if we contain no path at all
105 # relative or not.
106 case $0 in
107 *[\\/]* ) as_myself=$0 ;;
108 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109 for as_dir in $PATH
111 IFS=$as_save_IFS
112 test -z "$as_dir" && as_dir=.
113 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
114 done
117 esac
118 # We did not find ourselves, most probably we were run as `sh COMMAND'
119 # in which case we are not to be found in the path.
120 if test "x$as_myself" = x; then
121 as_myself=$0
123 if test ! -f "$as_myself"; then
124 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
125 { (exit 1); exit 1; }; }
127 case $CONFIG_SHELL in
129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
130 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 IFS=$as_save_IFS
133 test -z "$as_dir" && as_dir=.
134 for as_base in sh bash ksh sh5; do
135 case $as_dir in
137 if ("$as_dir/$as_base" -c '
138 as_lineno_1=$LINENO
139 as_lineno_2=$LINENO
140 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
141 test "x$as_lineno_1" != "x$as_lineno_2" &&
142 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
143 CONFIG_SHELL=$as_dir/$as_base
144 export CONFIG_SHELL
145 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
146 fi;;
147 esac
148 done
149 done
151 esac
153 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
154 # uniformly replaced by the line number. The first 'sed' inserts a
155 # line-number line before each line; the second 'sed' does the real
156 # work. The second script uses 'N' to pair each line-number line
157 # with the numbered line, and appends trailing '-' during
158 # substitution so that $LINENO is not a special case at line end.
159 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
160 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
161 sed '=' <$as_myself |
162 sed '
164 s,$,-,
165 : loop
166 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
167 t loop
168 s,-$,,
169 s,^['$as_cr_digits']*\n,,
170 ' >$as_me.lineno &&
171 chmod +x $as_me.lineno ||
172 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
173 { (exit 1); exit 1; }; }
175 # Don't try to exec as it changes $[0], causing all sort of problems
176 # (the dirname of $[0] is not the place where we might find the
177 # original and so on. Autoconf is especially sensible to this).
178 . ./$as_me.lineno
179 # Exit status is that of the last command.
180 exit
184 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
185 *c*,-n*) ECHO_N= ECHO_C='
186 ' ECHO_T=' ' ;;
187 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
188 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
189 esac
191 if expr a : '\(a\)' >/dev/null 2>&1; then
192 as_expr=expr
193 else
194 as_expr=false
197 rm -f conf$$ conf$$.exe conf$$.file
198 echo >conf$$.file
199 if ln -s conf$$.file conf$$ 2>/dev/null; then
200 # We could just check for DJGPP; but this test a) works b) is more generic
201 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
202 if test -f conf$$.exe; then
203 # Don't use ln at all; we don't have any links
204 as_ln_s='cp -p'
205 else
206 as_ln_s='ln -s'
208 elif ln conf$$.file conf$$ 2>/dev/null; then
209 as_ln_s=ln
210 else
211 as_ln_s='cp -p'
213 rm -f conf$$ conf$$.exe conf$$.file
215 as_executable_p="test -f"
217 # Sed expression to map a string onto a valid CPP name.
218 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
220 # Sed expression to map a string onto a valid variable name.
221 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
224 # IFS
225 # We need space, tab and new line, in precisely that order.
226 as_nl='
228 IFS=" $as_nl"
230 # CDPATH.
231 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
234 # Name of the host.
235 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
236 # so uname gets run too.
237 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
239 exec 6>&1
242 # Initializations.
244 ac_default_prefix=/usr/local
245 cross_compiling=no
246 subdirs=
247 MFLAGS=
248 MAKEFLAGS=
249 SHELL=${CONFIG_SHELL-/bin/sh}
251 # Maximum number of lines to put in a shell here document.
252 # This variable seems obsolete. It should probably be removed, and
253 # only ac_max_sed_lines should be used.
254 : ${ac_max_here_lines=38}
256 # Identity of this package.
257 PACKAGE_NAME='GNU Automake'
258 PACKAGE_TARNAME='automake'
259 PACKAGE_VERSION='1.6.3'
260 PACKAGE_STRING='GNU Automake 1.6.3'
261 PACKAGE_BUGREPORT='bug-automake@gnu.org'
263 ac_unique_file="automake.in"
265 # Initialize some variables set by options.
266 ac_init_help=
267 ac_init_version=false
268 # The variables have the same names as the options, with
269 # dashes changed to underlines.
270 cache_file=/dev/null
271 exec_prefix=NONE
272 no_create=
273 no_recursion=
274 prefix=NONE
275 program_prefix=NONE
276 program_suffix=NONE
277 program_transform_name=s,x,x,
278 silent=
279 site=
280 srcdir=
281 verbose=
282 x_includes=NONE
283 x_libraries=NONE
285 # Installation directory options.
286 # These are left unexpanded so users can "make install exec_prefix=/foo"
287 # and all the variables that are supposed to be based on exec_prefix
288 # by default will actually change.
289 # Use braces instead of parens because sh, perl, etc. also accept them.
290 bindir='${exec_prefix}/bin'
291 sbindir='${exec_prefix}/sbin'
292 libexecdir='${exec_prefix}/libexec'
293 datadir='${prefix}/share'
294 sysconfdir='${prefix}/etc'
295 sharedstatedir='${prefix}/com'
296 localstatedir='${prefix}/var'
297 libdir='${exec_prefix}/lib'
298 includedir='${prefix}/include'
299 oldincludedir='/usr/include'
300 infodir='${prefix}/info'
301 mandir='${prefix}/man'
303 ac_prev=
304 for ac_option
306 # If the previous option needs an argument, assign it.
307 if test -n "$ac_prev"; then
308 eval "$ac_prev=\$ac_option"
309 ac_prev=
310 continue
313 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
315 # Accept the important Cygnus configure options, so we can diagnose typos.
317 case $ac_option in
319 -bindir | --bindir | --bindi | --bind | --bin | --bi)
320 ac_prev=bindir ;;
321 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
322 bindir=$ac_optarg ;;
324 -build | --build | --buil | --bui | --bu)
325 ac_prev=build_alias ;;
326 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
327 build_alias=$ac_optarg ;;
329 -cache-file | --cache-file | --cache-fil | --cache-fi \
330 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
331 ac_prev=cache_file ;;
332 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
333 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
334 cache_file=$ac_optarg ;;
336 --config-cache | -C)
337 cache_file=config.cache ;;
339 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
340 ac_prev=datadir ;;
341 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
342 | --da=*)
343 datadir=$ac_optarg ;;
345 -disable-* | --disable-*)
346 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
347 # Reject names that are not valid shell variable names.
348 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
349 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
350 { (exit 1); exit 1; }; }
351 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
352 eval "enable_$ac_feature=no" ;;
354 -enable-* | --enable-*)
355 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
356 # Reject names that are not valid shell variable names.
357 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
358 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
359 { (exit 1); exit 1; }; }
360 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
361 case $ac_option in
362 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
363 *) ac_optarg=yes ;;
364 esac
365 eval "enable_$ac_feature='$ac_optarg'" ;;
367 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
368 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
369 | --exec | --exe | --ex)
370 ac_prev=exec_prefix ;;
371 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
372 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
373 | --exec=* | --exe=* | --ex=*)
374 exec_prefix=$ac_optarg ;;
376 -gas | --gas | --ga | --g)
377 # Obsolete; use --with-gas.
378 with_gas=yes ;;
380 -help | --help | --hel | --he | -h)
381 ac_init_help=long ;;
382 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
383 ac_init_help=recursive ;;
384 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
385 ac_init_help=short ;;
387 -host | --host | --hos | --ho)
388 ac_prev=host_alias ;;
389 -host=* | --host=* | --hos=* | --ho=*)
390 host_alias=$ac_optarg ;;
392 -includedir | --includedir | --includedi | --included | --include \
393 | --includ | --inclu | --incl | --inc)
394 ac_prev=includedir ;;
395 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
396 | --includ=* | --inclu=* | --incl=* | --inc=*)
397 includedir=$ac_optarg ;;
399 -infodir | --infodir | --infodi | --infod | --info | --inf)
400 ac_prev=infodir ;;
401 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
402 infodir=$ac_optarg ;;
404 -libdir | --libdir | --libdi | --libd)
405 ac_prev=libdir ;;
406 -libdir=* | --libdir=* | --libdi=* | --libd=*)
407 libdir=$ac_optarg ;;
409 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
410 | --libexe | --libex | --libe)
411 ac_prev=libexecdir ;;
412 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
413 | --libexe=* | --libex=* | --libe=*)
414 libexecdir=$ac_optarg ;;
416 -localstatedir | --localstatedir | --localstatedi | --localstated \
417 | --localstate | --localstat | --localsta | --localst \
418 | --locals | --local | --loca | --loc | --lo)
419 ac_prev=localstatedir ;;
420 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
421 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
422 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
423 localstatedir=$ac_optarg ;;
425 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
426 ac_prev=mandir ;;
427 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
428 mandir=$ac_optarg ;;
430 -nfp | --nfp | --nf)
431 # Obsolete; use --without-fp.
432 with_fp=no ;;
434 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
435 | --no-cr | --no-c | -n)
436 no_create=yes ;;
438 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
439 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
440 no_recursion=yes ;;
442 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
443 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
444 | --oldin | --oldi | --old | --ol | --o)
445 ac_prev=oldincludedir ;;
446 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
447 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
448 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
449 oldincludedir=$ac_optarg ;;
451 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
452 ac_prev=prefix ;;
453 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
454 prefix=$ac_optarg ;;
456 -program-prefix | --program-prefix | --program-prefi | --program-pref \
457 | --program-pre | --program-pr | --program-p)
458 ac_prev=program_prefix ;;
459 -program-prefix=* | --program-prefix=* | --program-prefi=* \
460 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
461 program_prefix=$ac_optarg ;;
463 -program-suffix | --program-suffix | --program-suffi | --program-suff \
464 | --program-suf | --program-su | --program-s)
465 ac_prev=program_suffix ;;
466 -program-suffix=* | --program-suffix=* | --program-suffi=* \
467 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
468 program_suffix=$ac_optarg ;;
470 -program-transform-name | --program-transform-name \
471 | --program-transform-nam | --program-transform-na \
472 | --program-transform-n | --program-transform- \
473 | --program-transform | --program-transfor \
474 | --program-transfo | --program-transf \
475 | --program-trans | --program-tran \
476 | --progr-tra | --program-tr | --program-t)
477 ac_prev=program_transform_name ;;
478 -program-transform-name=* | --program-transform-name=* \
479 | --program-transform-nam=* | --program-transform-na=* \
480 | --program-transform-n=* | --program-transform-=* \
481 | --program-transform=* | --program-transfor=* \
482 | --program-transfo=* | --program-transf=* \
483 | --program-trans=* | --program-tran=* \
484 | --progr-tra=* | --program-tr=* | --program-t=*)
485 program_transform_name=$ac_optarg ;;
487 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
488 | -silent | --silent | --silen | --sile | --sil)
489 silent=yes ;;
491 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
492 ac_prev=sbindir ;;
493 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
494 | --sbi=* | --sb=*)
495 sbindir=$ac_optarg ;;
497 -sharedstatedir | --sharedstatedir | --sharedstatedi \
498 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
499 | --sharedst | --shareds | --shared | --share | --shar \
500 | --sha | --sh)
501 ac_prev=sharedstatedir ;;
502 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
503 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
504 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
505 | --sha=* | --sh=*)
506 sharedstatedir=$ac_optarg ;;
508 -site | --site | --sit)
509 ac_prev=site ;;
510 -site=* | --site=* | --sit=*)
511 site=$ac_optarg ;;
513 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
514 ac_prev=srcdir ;;
515 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
516 srcdir=$ac_optarg ;;
518 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
519 | --syscon | --sysco | --sysc | --sys | --sy)
520 ac_prev=sysconfdir ;;
521 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
522 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
523 sysconfdir=$ac_optarg ;;
525 -target | --target | --targe | --targ | --tar | --ta | --t)
526 ac_prev=target_alias ;;
527 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
528 target_alias=$ac_optarg ;;
530 -v | -verbose | --verbose | --verbos | --verbo | --verb)
531 verbose=yes ;;
533 -version | --version | --versio | --versi | --vers | -V)
534 ac_init_version=: ;;
536 -with-* | --with-*)
537 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
538 # Reject names that are not valid shell variable names.
539 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
540 { echo "$as_me: error: invalid package name: $ac_package" >&2
541 { (exit 1); exit 1; }; }
542 ac_package=`echo $ac_package| sed 's/-/_/g'`
543 case $ac_option in
544 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
545 *) ac_optarg=yes ;;
546 esac
547 eval "with_$ac_package='$ac_optarg'" ;;
549 -without-* | --without-*)
550 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
555 ac_package=`echo $ac_package | sed 's/-/_/g'`
556 eval "with_$ac_package=no" ;;
558 --x)
559 # Obsolete; use --with-x.
560 with_x=yes ;;
562 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
563 | --x-incl | --x-inc | --x-in | --x-i)
564 ac_prev=x_includes ;;
565 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
566 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
567 x_includes=$ac_optarg ;;
569 -x-libraries | --x-libraries | --x-librarie | --x-librari \
570 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
571 ac_prev=x_libraries ;;
572 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
573 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
574 x_libraries=$ac_optarg ;;
576 -*) { echo "$as_me: error: unrecognized option: $ac_option
577 Try \`$0 --help' for more information." >&2
578 { (exit 1); exit 1; }; }
581 *=*)
582 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
583 # Reject names that are not valid shell variable names.
584 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
585 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
586 { (exit 1); exit 1; }; }
587 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
588 eval "$ac_envvar='$ac_optarg'"
589 export $ac_envvar ;;
592 # FIXME: should be removed in autoconf 3.0.
593 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
594 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
595 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
596 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
599 esac
600 done
602 if test -n "$ac_prev"; then
603 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
604 { echo "$as_me: error: missing argument to $ac_option" >&2
605 { (exit 1); exit 1; }; }
608 # Be sure to have absolute paths.
609 for ac_var in exec_prefix prefix
611 eval ac_val=$`echo $ac_var`
612 case $ac_val in
613 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
614 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
615 { (exit 1); exit 1; }; };;
616 esac
617 done
619 # Be sure to have absolute paths.
620 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
621 localstatedir libdir includedir oldincludedir infodir mandir
623 eval ac_val=$`echo $ac_var`
624 case $ac_val in
625 [\\/$]* | ?:[\\/]* ) ;;
626 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
627 { (exit 1); exit 1; }; };;
628 esac
629 done
631 # There might be people who depend on the old broken behavior: `$host'
632 # used to hold the argument of --host etc.
633 # FIXME: To remove some day.
634 build=$build_alias
635 host=$host_alias
636 target=$target_alias
638 # FIXME: To remove some day.
639 if test "x$host_alias" != x; then
640 if test "x$build_alias" = x; then
641 cross_compiling=maybe
642 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
643 If a cross compiler is detected then cross compile mode will be used." >&2
644 elif test "x$build_alias" != "x$host_alias"; then
645 cross_compiling=yes
649 ac_tool_prefix=
650 test -n "$host_alias" && ac_tool_prefix=$host_alias-
652 test "$silent" = yes && exec 6>/dev/null
655 # Find the source files, if location was not specified.
656 if test -z "$srcdir"; then
657 ac_srcdir_defaulted=yes
658 # Try the directory containing this script, then its parent.
659 ac_confdir=`(dirname "$0") 2>/dev/null ||
660 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
661 X"$0" : 'X\(//\)[^/]' \| \
662 X"$0" : 'X\(//\)$' \| \
663 X"$0" : 'X\(/\)' \| \
664 . : '\(.\)' 2>/dev/null ||
665 echo X"$0" |
666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
667 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
668 /^X\(\/\/\)$/{ s//\1/; q; }
669 /^X\(\/\).*/{ s//\1/; q; }
670 s/.*/./; q'`
671 srcdir=$ac_confdir
672 if test ! -r $srcdir/$ac_unique_file; then
673 srcdir=..
675 else
676 ac_srcdir_defaulted=no
678 if test ! -r $srcdir/$ac_unique_file; then
679 if test "$ac_srcdir_defaulted" = yes; then
680 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
681 { (exit 1); exit 1; }; }
682 else
683 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
684 { (exit 1); exit 1; }; }
687 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
688 ac_env_build_alias_set=${build_alias+set}
689 ac_env_build_alias_value=$build_alias
690 ac_cv_env_build_alias_set=${build_alias+set}
691 ac_cv_env_build_alias_value=$build_alias
692 ac_env_host_alias_set=${host_alias+set}
693 ac_env_host_alias_value=$host_alias
694 ac_cv_env_host_alias_set=${host_alias+set}
695 ac_cv_env_host_alias_value=$host_alias
696 ac_env_target_alias_set=${target_alias+set}
697 ac_env_target_alias_value=$target_alias
698 ac_cv_env_target_alias_set=${target_alias+set}
699 ac_cv_env_target_alias_value=$target_alias
702 # Report the --help message.
704 if test "$ac_init_help" = "long"; then
705 # Omit some internal or obsolete options to make the list less imposing.
706 # This message is too long to be a string in the A/UX 3.1 sh.
707 cat <<_ACEOF
708 \`configure' configures GNU Automake 1.6.3 to adapt to many kinds of systems.
710 Usage: $0 [OPTION]... [VAR=VALUE]...
712 To assign environment variables (e.g., CC, CFLAGS...), specify them as
713 VAR=VALUE. See below for descriptions of some of the useful variables.
715 Defaults for the options are specified in brackets.
717 Configuration:
718 -h, --help display this help and exit
719 --help=short display options specific to this package
720 --help=recursive display the short help of all the included packages
721 -V, --version display version information and exit
722 -q, --quiet, --silent do not print \`checking...' messages
723 --cache-file=FILE cache test results in FILE [disabled]
724 -C, --config-cache alias for \`--cache-file=config.cache'
725 -n, --no-create do not create output files
726 --srcdir=DIR find the sources in DIR [configure dir or \`..']
728 _ACEOF
730 cat <<_ACEOF
731 Installation directories:
732 --prefix=PREFIX install architecture-independent files in PREFIX
733 [$ac_default_prefix]
734 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
735 [PREFIX]
737 By default, \`make install' will install all the files in
738 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
739 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
740 for instance \`--prefix=\$HOME'.
742 For better control, use the options below.
744 Fine tuning of the installation directories:
745 --bindir=DIR user executables [EPREFIX/bin]
746 --sbindir=DIR system admin executables [EPREFIX/sbin]
747 --libexecdir=DIR program executables [EPREFIX/libexec]
748 --datadir=DIR read-only architecture-independent data [PREFIX/share]
749 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
750 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
751 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
752 --libdir=DIR object code libraries [EPREFIX/lib]
753 --includedir=DIR C header files [PREFIX/include]
754 --oldincludedir=DIR C header files for non-gcc [/usr/include]
755 --infodir=DIR info documentation [PREFIX/info]
756 --mandir=DIR man documentation [PREFIX/man]
757 _ACEOF
759 cat <<\_ACEOF
761 Program names:
762 --program-prefix=PREFIX prepend PREFIX to installed program names
763 --program-suffix=SUFFIX append SUFFIX to installed program names
764 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
765 _ACEOF
768 if test -n "$ac_init_help"; then
769 case $ac_init_help in
770 short | recursive ) echo "Configuration of GNU Automake 1.6.3:";;
771 esac
772 cat <<\_ACEOF
774 Report bugs to <bug-automake@gnu.org>.
775 _ACEOF
778 if test "$ac_init_help" = "recursive"; then
779 # If there are subdirs, report their specific --help.
780 ac_popdir=`pwd`
781 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
782 test -d $ac_dir || continue
783 ac_builddir=.
785 if test "$ac_dir" != .; then
786 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
787 # A "../" for each directory in $ac_dir_suffix.
788 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
789 else
790 ac_dir_suffix= ac_top_builddir=
793 case $srcdir in
794 .) # No --srcdir option. We are building in place.
795 ac_srcdir=.
796 if test -z "$ac_top_builddir"; then
797 ac_top_srcdir=.
798 else
799 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
800 fi ;;
801 [\\/]* | ?:[\\/]* ) # Absolute path.
802 ac_srcdir=$srcdir$ac_dir_suffix;
803 ac_top_srcdir=$srcdir ;;
804 *) # Relative path.
805 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
806 ac_top_srcdir=$ac_top_builddir$srcdir ;;
807 esac
808 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
809 # absolute.
810 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
811 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
812 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
813 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
815 cd $ac_dir
816 # Check for guested configure; otherwise get Cygnus style configure.
817 if test -f $ac_srcdir/configure.gnu; then
818 echo
819 $SHELL $ac_srcdir/configure.gnu --help=recursive
820 elif test -f $ac_srcdir/configure; then
821 echo
822 $SHELL $ac_srcdir/configure --help=recursive
823 elif test -f $ac_srcdir/configure.ac ||
824 test -f $ac_srcdir/configure.in; then
825 echo
826 $ac_configure --help
827 else
828 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
830 cd $ac_popdir
831 done
834 test -n "$ac_init_help" && exit 0
835 if $ac_init_version; then
836 cat <<\_ACEOF
837 GNU Automake configure 1.6.3
838 generated by GNU Autoconf 2.53
840 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
841 Free Software Foundation, Inc.
842 This configure script is free software; the Free Software Foundation
843 gives unlimited permission to copy, distribute and modify it.
844 _ACEOF
845 exit 0
847 exec 5>config.log
848 cat >&5 <<_ACEOF
849 This file contains any messages produced by compilers while
850 running configure, to aid debugging if configure makes a mistake.
852 It was created by GNU Automake $as_me 1.6.3, which was
853 generated by GNU Autoconf 2.53. Invocation command line was
855 $ $0 $@
857 _ACEOF
859 cat <<_ASUNAME
860 ## --------- ##
861 ## Platform. ##
862 ## --------- ##
864 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
865 uname -m = `(uname -m) 2>/dev/null || echo unknown`
866 uname -r = `(uname -r) 2>/dev/null || echo unknown`
867 uname -s = `(uname -s) 2>/dev/null || echo unknown`
868 uname -v = `(uname -v) 2>/dev/null || echo unknown`
870 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
871 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
873 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
874 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
875 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
876 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
877 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
878 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
879 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
881 _ASUNAME
883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
884 for as_dir in $PATH
886 IFS=$as_save_IFS
887 test -z "$as_dir" && as_dir=.
888 echo "PATH: $as_dir"
889 done
891 } >&5
893 cat >&5 <<_ACEOF
896 ## ----------- ##
897 ## Core tests. ##
898 ## ----------- ##
900 _ACEOF
903 # Keep a trace of the command line.
904 # Strip out --no-create and --no-recursion so they do not pile up.
905 # Also quote any args containing shell meta-characters.
906 ac_configure_args=
907 ac_sep=
908 for ac_arg
910 case $ac_arg in
911 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
912 | --no-cr | --no-c | -n ) continue ;;
913 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
914 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
915 continue ;;
916 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
917 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
918 esac
919 case " $ac_configure_args " in
920 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
921 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
922 ac_sep=" " ;;
923 esac
924 # Get rid of the leading space.
925 done
927 # When interrupted or exit'd, cleanup temporary files, and complete
928 # config.log. We remove comments because anyway the quotes in there
929 # would cause problems or look ugly.
930 # WARNING: Be sure not to use single quotes in there, as some shells,
931 # such as our DU 5.0 friend, will then `close' the trap.
932 trap 'exit_status=$?
933 # Save into config.log some information that might help in debugging.
935 echo
936 cat <<\_ASBOX
937 ## ---------------- ##
938 ## Cache variables. ##
939 ## ---------------- ##
940 _ASBOX
941 echo
942 # The following way of writing the cache mishandles newlines in values,
944 (set) 2>&1 |
945 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
946 *ac_space=\ *)
947 sed -n \
948 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
949 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
952 sed -n \
953 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
955 esac;
957 echo
958 if test -s confdefs.h; then
959 cat <<\_ASBOX
960 ## ----------- ##
961 ## confdefs.h. ##
962 ## ----------- ##
963 _ASBOX
964 echo
965 sed "/^$/d" confdefs.h
966 echo
968 test "$ac_signal" != 0 &&
969 echo "$as_me: caught signal $ac_signal"
970 echo "$as_me: exit $exit_status"
971 } >&5
972 rm -f core core.* *.core &&
973 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
974 exit $exit_status
976 for ac_signal in 1 2 13 15; do
977 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
978 done
979 ac_signal=0
981 # confdefs.h avoids OS command line length limits that DEFS can exceed.
982 rm -rf conftest* confdefs.h
983 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
984 echo >confdefs.h
986 # Predefined preprocessor variables.
988 cat >>confdefs.h <<_ACEOF
989 #define PACKAGE_NAME "$PACKAGE_NAME"
990 _ACEOF
993 cat >>confdefs.h <<_ACEOF
994 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
995 _ACEOF
998 cat >>confdefs.h <<_ACEOF
999 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1000 _ACEOF
1003 cat >>confdefs.h <<_ACEOF
1004 #define PACKAGE_STRING "$PACKAGE_STRING"
1005 _ACEOF
1008 cat >>confdefs.h <<_ACEOF
1009 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1010 _ACEOF
1013 # Let the site file select an alternate cache file if it wants to.
1014 # Prefer explicitly selected file to automatically selected ones.
1015 if test -z "$CONFIG_SITE"; then
1016 if test "x$prefix" != xNONE; then
1017 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1018 else
1019 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1022 for ac_site_file in $CONFIG_SITE; do
1023 if test -r "$ac_site_file"; then
1024 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1025 echo "$as_me: loading site script $ac_site_file" >&6;}
1026 sed 's/^/| /' "$ac_site_file" >&5
1027 . "$ac_site_file"
1029 done
1031 if test -r "$cache_file"; then
1032 # Some versions of bash will fail to source /dev/null (special
1033 # files actually), so we avoid doing that.
1034 if test -f "$cache_file"; then
1035 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1036 echo "$as_me: loading cache $cache_file" >&6;}
1037 case $cache_file in
1038 [\\/]* | ?:[\\/]* ) . $cache_file;;
1039 *) . ./$cache_file;;
1040 esac
1042 else
1043 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1044 echo "$as_me: creating cache $cache_file" >&6;}
1045 >$cache_file
1048 # Check that the precious variables saved in the cache have kept the same
1049 # value.
1050 ac_cache_corrupted=false
1051 for ac_var in `(set) 2>&1 |
1052 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1053 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1054 eval ac_new_set=\$ac_env_${ac_var}_set
1055 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1056 eval ac_new_val="\$ac_env_${ac_var}_value"
1057 case $ac_old_set,$ac_new_set in
1058 set,)
1059 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1060 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1061 ac_cache_corrupted=: ;;
1062 ,set)
1063 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1064 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1065 ac_cache_corrupted=: ;;
1066 ,);;
1068 if test "x$ac_old_val" != "x$ac_new_val"; then
1069 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1070 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1071 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1072 echo "$as_me: former value: $ac_old_val" >&2;}
1073 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1074 echo "$as_me: current value: $ac_new_val" >&2;}
1075 ac_cache_corrupted=:
1076 fi;;
1077 esac
1078 # Pass precious variables to config.status.
1079 if test "$ac_new_set" = set; then
1080 case $ac_new_val in
1081 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1082 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1083 *) ac_arg=$ac_var=$ac_new_val ;;
1084 esac
1085 case " $ac_configure_args " in
1086 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1087 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1088 esac
1090 done
1091 if $ac_cache_corrupted; then
1092 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1093 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1094 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1095 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1096 { (exit 1); exit 1; }; }
1099 ac_ext=c
1100 ac_cpp='$CPP $CPPFLAGS'
1101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1132 ac_aux_dir=
1133 for ac_dir in lib $srcdir/lib; do
1134 if test -f $ac_dir/install-sh; then
1135 ac_aux_dir=$ac_dir
1136 ac_install_sh="$ac_aux_dir/install-sh -c"
1137 break
1138 elif test -f $ac_dir/install.sh; then
1139 ac_aux_dir=$ac_dir
1140 ac_install_sh="$ac_aux_dir/install.sh -c"
1141 break
1142 elif test -f $ac_dir/shtool; then
1143 ac_aux_dir=$ac_dir
1144 ac_install_sh="$ac_aux_dir/shtool install -c"
1145 break
1147 done
1148 if test -z "$ac_aux_dir"; then
1149 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&5
1150 echo "$as_me: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&2;}
1151 { (exit 1); exit 1; }; }
1153 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1154 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1155 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1158 am__api_version="1.6"
1159 # Find a good install program. We prefer a C program (faster),
1160 # so one script is as good as another. But avoid the broken or
1161 # incompatible versions:
1162 # SysV /etc/install, /usr/sbin/install
1163 # SunOS /usr/etc/install
1164 # IRIX /sbin/install
1165 # AIX /bin/install
1166 # AmigaOS /C/install, which installs bootblocks on floppy discs
1167 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1168 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1169 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1170 # ./install, which can be erroneously created by make from ./install.sh.
1171 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1172 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1173 if test -z "$INSTALL"; then
1174 if test "${ac_cv_path_install+set}" = set; then
1175 echo $ECHO_N "(cached) $ECHO_C" >&6
1176 else
1177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1178 for as_dir in $PATH
1180 IFS=$as_save_IFS
1181 test -z "$as_dir" && as_dir=.
1182 # Account for people who put trailing slashes in PATH elements.
1183 case $as_dir/ in
1184 ./ | .// | /cC/* | \
1185 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1186 /usr/ucb/* ) ;;
1188 # OSF1 and SCO ODT 3.0 have their own names for install.
1189 # Don't use installbsd from OSF since it installs stuff as root
1190 # by default.
1191 for ac_prog in ginstall scoinst install; do
1192 for ac_exec_ext in '' $ac_executable_extensions; do
1193 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1194 if test $ac_prog = install &&
1195 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1196 # AIX install. It has an incompatible calling convention.
1198 elif test $ac_prog = install &&
1199 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1200 # program-specific install script used by HP pwplus--don't use.
1202 else
1203 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1204 break 3
1207 done
1208 done
1210 esac
1211 done
1215 if test "${ac_cv_path_install+set}" = set; then
1216 INSTALL=$ac_cv_path_install
1217 else
1218 # As a last resort, use the slow shell script. We don't cache a
1219 # path for INSTALL within a source directory, because that will
1220 # break other packages using the cache if that directory is
1221 # removed, or if the path is relative.
1222 INSTALL=$ac_install_sh
1225 echo "$as_me:$LINENO: result: $INSTALL" >&5
1226 echo "${ECHO_T}$INSTALL" >&6
1228 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1229 # It thinks the first close brace ends the variable substitution.
1230 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1232 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1234 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1236 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1237 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1238 # Just in case
1239 sleep 1
1240 echo timestamp > conftest.file
1241 # Do `set' in a subshell so we don't clobber the current shell's
1242 # arguments. Must try -L first in case configure is actually a
1243 # symlink; some systems play weird games with the mod time of symlinks
1244 # (eg FreeBSD returns the mod time of the symlink's containing
1245 # directory).
1246 if (
1247 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1248 if test "$*" = "X"; then
1249 # -L didn't work.
1250 set X `ls -t $srcdir/configure conftest.file`
1252 rm -f conftest.file
1253 if test "$*" != "X $srcdir/configure conftest.file" \
1254 && test "$*" != "X conftest.file $srcdir/configure"; then
1256 # If neither matched, then we have a broken ls. This can happen
1257 # if, for instance, CONFIG_SHELL is bash and it inherits a
1258 # broken ls alias from the environment. This has actually
1259 # happened. Such a system could not be considered "sane".
1260 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1261 alias in your environment" >&5
1262 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1263 alias in your environment" >&2;}
1264 { (exit 1); exit 1; }; }
1267 test "$2" = conftest.file
1269 then
1270 # Ok.
1272 else
1273 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1274 Check your system clock" >&5
1275 echo "$as_me: error: newly created file is older than distributed files!
1276 Check your system clock" >&2;}
1277 { (exit 1); exit 1; }; }
1279 echo "$as_me:$LINENO: result: yes" >&5
1280 echo "${ECHO_T}yes" >&6
1281 test "$program_prefix" != NONE &&
1282 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1283 # Use a double $ so make ignores it.
1284 test "$program_suffix" != NONE &&
1285 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1286 # Double any \ or $. echo might interpret backslashes.
1287 # By default was `s,x,x', remove it if useless.
1288 cat <<\_ACEOF >conftest.sed
1289 s/[\\$]/&&/g;s/;s,x,x,$//
1290 _ACEOF
1291 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1292 rm conftest.sed
1295 # expand $ac_aux_dir to an absolute path
1296 am_aux_dir=`cd $ac_aux_dir && pwd`
1298 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1299 # Use eval to expand $SHELL
1300 if eval "$MISSING --run true"; then
1301 am_missing_run="$MISSING --run "
1302 else
1303 am_missing_run=
1304 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1305 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1308 for ac_prog in gawk mawk nawk awk
1310 # Extract the first word of "$ac_prog", so it can be a program name with args.
1311 set dummy $ac_prog; ac_word=$2
1312 echo "$as_me:$LINENO: checking for $ac_word" >&5
1313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1314 if test "${ac_cv_prog_AWK+set}" = set; then
1315 echo $ECHO_N "(cached) $ECHO_C" >&6
1316 else
1317 if test -n "$AWK"; then
1318 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1319 else
1320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1321 for as_dir in $PATH
1323 IFS=$as_save_IFS
1324 test -z "$as_dir" && as_dir=.
1325 for ac_exec_ext in '' $ac_executable_extensions; do
1326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1327 ac_cv_prog_AWK="$ac_prog"
1328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1329 break 2
1331 done
1332 done
1336 AWK=$ac_cv_prog_AWK
1337 if test -n "$AWK"; then
1338 echo "$as_me:$LINENO: result: $AWK" >&5
1339 echo "${ECHO_T}$AWK" >&6
1340 else
1341 echo "$as_me:$LINENO: result: no" >&5
1342 echo "${ECHO_T}no" >&6
1345 test -n "$AWK" && break
1346 done
1348 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1349 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1350 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1351 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1352 echo $ECHO_N "(cached) $ECHO_C" >&6
1353 else
1354 cat >conftest.make <<\_ACEOF
1355 all:
1356 @echo 'ac_maketemp="${MAKE}"'
1357 _ACEOF
1358 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1359 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1360 if test -n "$ac_maketemp"; then
1361 eval ac_cv_prog_make_${ac_make}_set=yes
1362 else
1363 eval ac_cv_prog_make_${ac_make}_set=no
1365 rm -f conftest.make
1367 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1368 echo "$as_me:$LINENO: result: yes" >&5
1369 echo "${ECHO_T}yes" >&6
1370 SET_MAKE=
1371 else
1372 echo "$as_me:$LINENO: result: no" >&5
1373 echo "${ECHO_T}no" >&6
1374 SET_MAKE="MAKE=${MAKE-make}"
1377 # test to see if srcdir already configured
1378 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1379 test -f $srcdir/config.status; then
1380 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1381 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1382 { (exit 1); exit 1; }; }
1385 # Define the identity of the package.
1386 PACKAGE=automake
1387 VERSION=1.6.3
1390 cat >>confdefs.h <<_ACEOF
1391 #define PACKAGE "$PACKAGE"
1392 _ACEOF
1395 cat >>confdefs.h <<_ACEOF
1396 #define VERSION "$VERSION"
1397 _ACEOF
1399 # Some tools Automake needs.
1401 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1404 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1407 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1410 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1413 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1416 AMTAR=${AMTAR-"${am_missing_run}tar"}
1418 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1420 # Installed binaries are usually stripped using `strip' when the user
1421 # run `make install-strip'. However `strip' might not be the right
1422 # tool to use in cross-compilation environments, therefore Automake
1423 # will honor the `STRIP' environment variable to overrule this program.
1424 if test "$cross_compiling" != no; then
1425 if test -n "$ac_tool_prefix"; then
1426 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1427 set dummy ${ac_tool_prefix}strip; ac_word=$2
1428 echo "$as_me:$LINENO: checking for $ac_word" >&5
1429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1430 if test "${ac_cv_prog_STRIP+set}" = set; then
1431 echo $ECHO_N "(cached) $ECHO_C" >&6
1432 else
1433 if test -n "$STRIP"; then
1434 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1435 else
1436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1437 for as_dir in $PATH
1439 IFS=$as_save_IFS
1440 test -z "$as_dir" && as_dir=.
1441 for ac_exec_ext in '' $ac_executable_extensions; do
1442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1443 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1445 break 2
1447 done
1448 done
1452 STRIP=$ac_cv_prog_STRIP
1453 if test -n "$STRIP"; then
1454 echo "$as_me:$LINENO: result: $STRIP" >&5
1455 echo "${ECHO_T}$STRIP" >&6
1456 else
1457 echo "$as_me:$LINENO: result: no" >&5
1458 echo "${ECHO_T}no" >&6
1462 if test -z "$ac_cv_prog_STRIP"; then
1463 ac_ct_STRIP=$STRIP
1464 # Extract the first word of "strip", so it can be a program name with args.
1465 set dummy strip; ac_word=$2
1466 echo "$as_me:$LINENO: checking for $ac_word" >&5
1467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1468 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1469 echo $ECHO_N "(cached) $ECHO_C" >&6
1470 else
1471 if test -n "$ac_ct_STRIP"; then
1472 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1473 else
1474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1475 for as_dir in $PATH
1477 IFS=$as_save_IFS
1478 test -z "$as_dir" && as_dir=.
1479 for ac_exec_ext in '' $ac_executable_extensions; do
1480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1481 ac_cv_prog_ac_ct_STRIP="strip"
1482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1483 break 2
1485 done
1486 done
1488 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1491 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1492 if test -n "$ac_ct_STRIP"; then
1493 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1494 echo "${ECHO_T}$ac_ct_STRIP" >&6
1495 else
1496 echo "$as_me:$LINENO: result: no" >&5
1497 echo "${ECHO_T}no" >&6
1500 STRIP=$ac_ct_STRIP
1501 else
1502 STRIP="$ac_cv_prog_STRIP"
1506 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1508 # We need awk for the "check" target. The system "awk" is bad on
1509 # some platforms.
1514 # The API version is the base version. We must guarantee
1515 # compatibility for all releases with the same API version.
1516 # Our current rule is that:
1517 # * All releases, including the prereleases, in an X.Y series
1518 # are compatible. So 1.5.1c is compatible with 1.5.
1519 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
1520 # aren't the same.
1521 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
1524 # A versioned directory, defined here for convenience.
1525 pkgvdatadir="\${datadir}/automake-${APIVERSION}"
1528 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
1529 # hence `.' is really what we want for perllibdir and libdir.
1530 ACLOCAL="perllibdir=./lib `pwd`/aclocal --acdir=m4 -I `pwd`/m4"
1531 AUTOMAKE="perllibdir=./lib `pwd`/automake --libdir=lib"
1533 # Extract the first word of "perl", so it can be a program name with args.
1534 set dummy perl; ac_word=$2
1535 echo "$as_me:$LINENO: checking for $ac_word" >&5
1536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1537 if test "${ac_cv_path_PERL+set}" = set; then
1538 echo $ECHO_N "(cached) $ECHO_C" >&6
1539 else
1540 case $PERL in
1541 [\\/]* | ?:[\\/]*)
1542 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1546 for as_dir in $PATH
1548 IFS=$as_save_IFS
1549 test -z "$as_dir" && as_dir=.
1550 for ac_exec_ext in '' $ac_executable_extensions; do
1551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1552 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
1553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1554 break 2
1556 done
1557 done
1560 esac
1562 PERL=$ac_cv_path_PERL
1564 if test -n "$PERL"; then
1565 echo "$as_me:$LINENO: result: $PERL" >&5
1566 echo "${ECHO_T}$PERL" >&6
1567 else
1568 echo "$as_me:$LINENO: result: no" >&5
1569 echo "${ECHO_T}no" >&6
1572 if test -z "$PERL"; then
1573 { { echo "$as_me:$LINENO: error: perl not found" >&5
1574 echo "$as_me: error: perl not found" >&2;}
1575 { (exit 1); exit 1; }; }
1577 $PERL -e 'require 5.005;' || {
1578 { { echo "$as_me:$LINENO: error: perl 5.005 or better is required" >&5
1579 echo "$as_me: error: perl 5.005 or better is required" >&2;}
1580 { (exit 1); exit 1; }; }
1583 # Test for Autoconf. We run Autoconf in a subdirectory to ease
1584 # deletion of any files created (such as those added to
1585 # autom4te.cache).
1586 mkdir conftest
1587 echo 'AC''_PREREQ(2.52)' > conftest/conftest.ac
1588 { echo "$as_me:$LINENO: cd conftest && eval $AUTOCONF -o /dev/null conftest.ac" >&5
1589 (cd conftest && eval $AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
1590 ac_status=$?
1591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1592 (exit $ac_status); } || {
1593 { { echo "$as_me:$LINENO: error: Autoconf 2.52 or better is required" >&5
1594 echo "$as_me: error: Autoconf 2.52 or better is required" >&2;}
1595 { (exit 1); exit 1; }; }
1597 rm -rf conftest
1599 # Test for ln. We need use it to install the versioned binaries.
1600 echo "$as_me:$LINENO: checking whether ln works" >&5
1601 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1602 if test "${am_cv_prog_ln+set}" = set; then
1603 echo $ECHO_N "(cached) $ECHO_C" >&6
1604 else
1606 rm -f conftest conftest.file
1607 : >conftest.file
1608 if ln conftest.file conftest 2>/dev/null; then
1609 am_cv_prog_ln=ln
1610 else
1611 am_cv_prog_ln='cp -p'
1613 rm -f conftest conftest.file
1616 LN=$am_cv_prog_ln
1618 result=no
1619 test "x$am_cv_prog_ln" = xln && result=yes
1620 echo "$as_me:$LINENO: result: $result" >&5
1621 echo "${ECHO_T}$result" >&6
1623 ac_config_files="$ac_config_files automake"
1625 ac_config_files="$ac_config_files aclocal"
1628 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"
1631 cat >confcache <<\_ACEOF
1632 # This file is a shell script that caches the results of configure
1633 # tests run on this system so they can be shared between configure
1634 # scripts and configure runs, see configure's option --config-cache.
1635 # It is not useful on other systems. If it contains results you don't
1636 # want to keep, you may remove or edit it.
1638 # config.status only pays attention to the cache file if you give it
1639 # the --recheck option to rerun configure.
1641 # `ac_cv_env_foo' variables (set or unset) will be overriden when
1642 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1643 # following values.
1645 _ACEOF
1647 # The following way of writing the cache mishandles newlines in values,
1648 # but we know of no workaround that is simple, portable, and efficient.
1649 # So, don't put newlines in cache variables' values.
1650 # Ultrix sh set writes to stderr and can't be redirected directly,
1651 # and sets the high bit in the cache file unless we assign to the vars.
1653 (set) 2>&1 |
1654 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1655 *ac_space=\ *)
1656 # `set' does not quote correctly, so add quotes (double-quote
1657 # substitution turns \\\\ into \\, and sed turns \\ into \).
1658 sed -n \
1659 "s/'/'\\\\''/g;
1660 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1663 # `set' quotes correctly as required by POSIX, so do not add quotes.
1664 sed -n \
1665 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1667 esac;
1669 sed '
1670 t clear
1671 : clear
1672 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1673 t end
1674 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1675 : end' >>confcache
1676 if cmp -s $cache_file confcache; then :; else
1677 if test -w $cache_file; then
1678 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1679 cat confcache >$cache_file
1680 else
1681 echo "not updating unwritable cache $cache_file"
1684 rm -f confcache
1686 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1687 # Let make expand exec_prefix.
1688 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1690 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1691 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1692 # trailing colons and then remove the whole line if VPATH becomes empty
1693 # (actually we leave an empty line to preserve line numbers).
1694 if test "x$srcdir" = x.; then
1695 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1696 s/:*\$(srcdir):*/:/;
1697 s/:*\${srcdir}:*/:/;
1698 s/:*@srcdir@:*/:/;
1699 s/^\([^=]*=[ ]*\):*/\1/;
1700 s/:*$//;
1701 s/^[^=]*=[ ]*$//;
1705 # Transform confdefs.h into DEFS.
1706 # Protect against shell expansion while executing Makefile rules.
1707 # Protect against Makefile macro expansion.
1709 # If the first sed substitution is executed (which looks for macros that
1710 # take arguments), then we branch to the quote section. Otherwise,
1711 # look for a macro that doesn't take arguments.
1712 cat >confdef2opt.sed <<\_ACEOF
1713 t clear
1714 : clear
1715 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1716 t quote
1717 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1718 t quote
1720 : quote
1721 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1722 s,\[,\\&,g
1723 s,\],\\&,g
1724 s,\$,$$,g
1726 _ACEOF
1727 # We use echo to avoid assuming a particular line-breaking character.
1728 # The extra dot is to prevent the shell from consuming trailing
1729 # line-breaks from the sub-command output. A line-break within
1730 # single-quotes doesn't work because, if this script is created in a
1731 # platform that uses two characters for line-breaks (e.g., DOS), tr
1732 # would break.
1733 ac_LF_and_DOT=`echo; echo .`
1734 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1735 rm -f confdef2opt.sed
1739 : ${CONFIG_STATUS=./config.status}
1740 ac_clean_files_save=$ac_clean_files
1741 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1742 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1743 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1744 cat >$CONFIG_STATUS <<_ACEOF
1745 #! $SHELL
1746 # Generated by $as_me.
1747 # Run this file to recreate the current configuration.
1748 # Compiler output produced by configure, useful for debugging
1749 # configure, is in config.log if it exists.
1751 debug=false
1752 SHELL=\${CONFIG_SHELL-$SHELL}
1753 _ACEOF
1755 cat >>$CONFIG_STATUS <<\_ACEOF
1757 ## --------------------- ##
1758 ## M4sh Initialization. ##
1759 ## --------------------- ##
1761 # Be Bourne compatible
1762 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1763 emulate sh
1764 NULLCMD=:
1765 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1766 set -o posix
1769 # NLS nuisances.
1770 # Support unset when possible.
1771 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1772 as_unset=unset
1773 else
1774 as_unset=false
1777 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
1778 { $as_unset LANG || test "${LANG+set}" != set; } ||
1779 { LANG=C; export LANG; }
1780 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
1781 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
1782 { LC_ALL=C; export LC_ALL; }
1783 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
1784 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
1785 { LC_TIME=C; export LC_TIME; }
1786 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
1787 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
1788 { LC_CTYPE=C; export LC_CTYPE; }
1789 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
1790 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
1791 { LANGUAGE=C; export LANGUAGE; }
1792 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
1793 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
1794 { LC_COLLATE=C; export LC_COLLATE; }
1795 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
1796 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
1797 { LC_NUMERIC=C; export LC_NUMERIC; }
1798 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
1799 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
1800 { LC_MESSAGES=C; export LC_MESSAGES; }
1803 # Name of the executable.
1804 as_me=`(basename "$0") 2>/dev/null ||
1805 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1806 X"$0" : 'X\(//\)$' \| \
1807 X"$0" : 'X\(/\)$' \| \
1808 . : '\(.\)' 2>/dev/null ||
1809 echo X/"$0" |
1810 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1811 /^X\/\(\/\/\)$/{ s//\1/; q; }
1812 /^X\/\(\/\).*/{ s//\1/; q; }
1813 s/.*/./; q'`
1815 # PATH needs CR, and LINENO needs CR and PATH.
1816 # Avoid depending upon Character Ranges.
1817 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1818 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1819 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1820 as_cr_digits='0123456789'
1821 as_cr_alnum=$as_cr_Letters$as_cr_digits
1823 # The user is always right.
1824 if test "${PATH_SEPARATOR+set}" != set; then
1825 echo "#! /bin/sh" >conftest.sh
1826 echo "exit 0" >>conftest.sh
1827 chmod +x conftest.sh
1828 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
1829 PATH_SEPARATOR=';'
1830 else
1831 PATH_SEPARATOR=:
1833 rm -f conftest.sh
1837 as_lineno_1=$LINENO
1838 as_lineno_2=$LINENO
1839 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1840 test "x$as_lineno_1" != "x$as_lineno_2" &&
1841 test "x$as_lineno_3" = "x$as_lineno_2" || {
1842 # Find who we are. Look in the path if we contain no path at all
1843 # relative or not.
1844 case $0 in
1845 *[\\/]* ) as_myself=$0 ;;
1846 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1847 for as_dir in $PATH
1849 IFS=$as_save_IFS
1850 test -z "$as_dir" && as_dir=.
1851 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1852 done
1855 esac
1856 # We did not find ourselves, most probably we were run as `sh COMMAND'
1857 # in which case we are not to be found in the path.
1858 if test "x$as_myself" = x; then
1859 as_myself=$0
1861 if test ! -f "$as_myself"; then
1862 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1863 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1864 { (exit 1); exit 1; }; }
1866 case $CONFIG_SHELL in
1868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1869 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1871 IFS=$as_save_IFS
1872 test -z "$as_dir" && as_dir=.
1873 for as_base in sh bash ksh sh5; do
1874 case $as_dir in
1876 if ("$as_dir/$as_base" -c '
1877 as_lineno_1=$LINENO
1878 as_lineno_2=$LINENO
1879 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1880 test "x$as_lineno_1" != "x$as_lineno_2" &&
1881 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1882 CONFIG_SHELL=$as_dir/$as_base
1883 export CONFIG_SHELL
1884 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1885 fi;;
1886 esac
1887 done
1888 done
1890 esac
1892 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1893 # uniformly replaced by the line number. The first 'sed' inserts a
1894 # line-number line before each line; the second 'sed' does the real
1895 # work. The second script uses 'N' to pair each line-number line
1896 # with the numbered line, and appends trailing '-' during
1897 # substitution so that $LINENO is not a special case at line end.
1898 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1899 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1900 sed '=' <$as_myself |
1901 sed '
1903 s,$,-,
1904 : loop
1905 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1906 t loop
1907 s,-$,,
1908 s,^['$as_cr_digits']*\n,,
1909 ' >$as_me.lineno &&
1910 chmod +x $as_me.lineno ||
1911 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1912 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1913 { (exit 1); exit 1; }; }
1915 # Don't try to exec as it changes $[0], causing all sort of problems
1916 # (the dirname of $[0] is not the place where we might find the
1917 # original and so on. Autoconf is especially sensible to this).
1918 . ./$as_me.lineno
1919 # Exit status is that of the last command.
1920 exit
1924 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1925 *c*,-n*) ECHO_N= ECHO_C='
1926 ' ECHO_T=' ' ;;
1927 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1928 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1929 esac
1931 if expr a : '\(a\)' >/dev/null 2>&1; then
1932 as_expr=expr
1933 else
1934 as_expr=false
1937 rm -f conf$$ conf$$.exe conf$$.file
1938 echo >conf$$.file
1939 if ln -s conf$$.file conf$$ 2>/dev/null; then
1940 # We could just check for DJGPP; but this test a) works b) is more generic
1941 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1942 if test -f conf$$.exe; then
1943 # Don't use ln at all; we don't have any links
1944 as_ln_s='cp -p'
1945 else
1946 as_ln_s='ln -s'
1948 elif ln conf$$.file conf$$ 2>/dev/null; then
1949 as_ln_s=ln
1950 else
1951 as_ln_s='cp -p'
1953 rm -f conf$$ conf$$.exe conf$$.file
1955 as_executable_p="test -f"
1957 # Sed expression to map a string onto a valid CPP name.
1958 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
1960 # Sed expression to map a string onto a valid variable name.
1961 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
1964 # IFS
1965 # We need space, tab and new line, in precisely that order.
1966 as_nl='
1968 IFS=" $as_nl"
1970 # CDPATH.
1971 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
1973 exec 6>&1
1975 # Open the log real soon, to keep \$[0] and so on meaningful, and to
1976 # report actual input values of CONFIG_FILES etc. instead of their
1977 # values after options handling. Logging --version etc. is OK.
1978 exec 5>>config.log
1980 echo
1981 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1982 ## Running $as_me. ##
1983 _ASBOX
1984 } >&5
1985 cat >&5 <<_CSEOF
1987 This file was extended by GNU Automake $as_me 1.6.3, which was
1988 generated by GNU Autoconf 2.53. Invocation command line was
1990 CONFIG_FILES = $CONFIG_FILES
1991 CONFIG_HEADERS = $CONFIG_HEADERS
1992 CONFIG_LINKS = $CONFIG_LINKS
1993 CONFIG_COMMANDS = $CONFIG_COMMANDS
1994 $ $0 $@
1996 _CSEOF
1997 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1998 echo >&5
1999 _ACEOF
2001 # Files that config.status was made for.
2002 if test -n "$ac_config_files"; then
2003 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2006 if test -n "$ac_config_headers"; then
2007 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2010 if test -n "$ac_config_links"; then
2011 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2014 if test -n "$ac_config_commands"; then
2015 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2018 cat >>$CONFIG_STATUS <<\_ACEOF
2020 ac_cs_usage="\
2021 \`$as_me' instantiates files from templates according to the
2022 current configuration.
2024 Usage: $0 [OPTIONS] [FILE]...
2026 -h, --help print this help, then exit
2027 -V, --version print version number, then exit
2028 -d, --debug don't remove temporary files
2029 --recheck update $as_me by reconfiguring in the same conditions
2030 --file=FILE[:TEMPLATE]
2031 instantiate the configuration file FILE
2033 Configuration files:
2034 $config_files
2036 Report bugs to <bug-autoconf@gnu.org>."
2037 _ACEOF
2039 cat >>$CONFIG_STATUS <<_ACEOF
2040 ac_cs_version="\\
2041 GNU Automake config.status 1.6.3
2042 configured by $0, generated by GNU Autoconf 2.53,
2043 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2045 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2046 Free Software Foundation, Inc.
2047 This config.status script is free software; the Free Software Foundation
2048 gives unlimited permission to copy, distribute and modify it."
2049 srcdir=$srcdir
2050 INSTALL="$INSTALL"
2051 _ACEOF
2053 cat >>$CONFIG_STATUS <<\_ACEOF
2054 # If no file are specified by the user, then we need to provide default
2055 # value. By we need to know if files were specified by the user.
2056 ac_need_defaults=:
2057 while test $# != 0
2059 case $1 in
2060 --*=*)
2061 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2062 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2063 shift
2064 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
2065 shift
2067 -*);;
2068 *) # This is not an option, so the user has probably given explicit
2069 # arguments.
2070 ac_need_defaults=false;;
2071 esac
2073 case $1 in
2074 # Handling of the options.
2075 _ACEOF
2076 cat >>$CONFIG_STATUS <<_ACEOF
2077 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2078 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
2079 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
2080 _ACEOF
2081 cat >>$CONFIG_STATUS <<\_ACEOF
2082 --version | --vers* | -V )
2083 echo "$ac_cs_version"; exit 0 ;;
2084 --he | --h)
2085 # Conflict between --help and --header
2086 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2087 Try \`$0 --help' for more information." >&5
2088 echo "$as_me: error: ambiguous option: $1
2089 Try \`$0 --help' for more information." >&2;}
2090 { (exit 1); exit 1; }; };;
2091 --help | --hel | -h )
2092 echo "$ac_cs_usage"; exit 0 ;;
2093 --debug | --d* | -d )
2094 debug=: ;;
2095 --file | --fil | --fi | --f )
2096 shift
2097 CONFIG_FILES="$CONFIG_FILES $1"
2098 ac_need_defaults=false;;
2099 --header | --heade | --head | --hea )
2100 shift
2101 CONFIG_HEADERS="$CONFIG_HEADERS $1"
2102 ac_need_defaults=false;;
2104 # This is an error.
2105 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2106 Try \`$0 --help' for more information." >&5
2107 echo "$as_me: error: unrecognized option: $1
2108 Try \`$0 --help' for more information." >&2;}
2109 { (exit 1); exit 1; }; } ;;
2111 *) ac_config_targets="$ac_config_targets $1" ;;
2113 esac
2114 shift
2115 done
2117 _ACEOF
2123 cat >>$CONFIG_STATUS <<\_ACEOF
2124 for ac_config_target in $ac_config_targets
2126 case "$ac_config_target" in
2127 # Handling of arguments.
2128 "automake" ) CONFIG_FILES="$CONFIG_FILES automake" ;;
2129 "aclocal" ) CONFIG_FILES="$CONFIG_FILES aclocal" ;;
2130 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2131 "lib/Automake/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
2132 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
2133 "lib/am/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
2134 "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
2135 "m4/amversion.m4" ) CONFIG_FILES="$CONFIG_FILES m4/amversion.m4:m4/amversion.in" ;;
2136 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
2137 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2138 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2139 { (exit 1); exit 1; }; };;
2140 esac
2141 done
2143 # If the user did not use the arguments to specify the items to instantiate,
2144 # then the envvar interface is used. Set only those that are not.
2145 # We use the long form for the default assignment because of an extremely
2146 # bizarre bug on SunOS 4.1.3.
2147 if $ac_need_defaults; then
2148 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2151 # Create a temporary directory, and hook for its removal unless debugging.
2152 $debug ||
2154 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2155 trap '{ (exit 1); exit 1; }' 1 2 13 15
2158 # Create a (secure) tmp directory for tmp files.
2159 : ${TMPDIR=/tmp}
2161 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
2162 test -n "$tmp" && test -d "$tmp"
2163 } ||
2165 tmp=$TMPDIR/cs$$-$RANDOM
2166 (umask 077 && mkdir $tmp)
2167 } ||
2169 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2170 { (exit 1); exit 1; }
2173 _ACEOF
2175 cat >>$CONFIG_STATUS <<_ACEOF
2178 # CONFIG_FILES section.
2181 # No need to generate the scripts if there are no CONFIG_FILES.
2182 # This happens for instance when ./config.status config.h
2183 if test -n "\$CONFIG_FILES"; then
2184 # Protect against being on the right side of a sed subst in config.status.
2185 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2186 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2187 s,@SHELL@,$SHELL,;t t
2188 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2189 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2190 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2191 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2192 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2193 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2194 s,@exec_prefix@,$exec_prefix,;t t
2195 s,@prefix@,$prefix,;t t
2196 s,@program_transform_name@,$program_transform_name,;t t
2197 s,@bindir@,$bindir,;t t
2198 s,@sbindir@,$sbindir,;t t
2199 s,@libexecdir@,$libexecdir,;t t
2200 s,@datadir@,$datadir,;t t
2201 s,@sysconfdir@,$sysconfdir,;t t
2202 s,@sharedstatedir@,$sharedstatedir,;t t
2203 s,@localstatedir@,$localstatedir,;t t
2204 s,@libdir@,$libdir,;t t
2205 s,@includedir@,$includedir,;t t
2206 s,@oldincludedir@,$oldincludedir,;t t
2207 s,@infodir@,$infodir,;t t
2208 s,@mandir@,$mandir,;t t
2209 s,@build_alias@,$build_alias,;t t
2210 s,@host_alias@,$host_alias,;t t
2211 s,@target_alias@,$target_alias,;t t
2212 s,@DEFS@,$DEFS,;t t
2213 s,@ECHO_C@,$ECHO_C,;t t
2214 s,@ECHO_N@,$ECHO_N,;t t
2215 s,@ECHO_T@,$ECHO_T,;t t
2216 s,@LIBS@,$LIBS,;t t
2217 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2218 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2219 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2220 s,@PACKAGE@,$PACKAGE,;t t
2221 s,@VERSION@,$VERSION,;t t
2222 s,@ACLOCAL@,$ACLOCAL,;t t
2223 s,@AUTOCONF@,$AUTOCONF,;t t
2224 s,@AUTOMAKE@,$AUTOMAKE,;t t
2225 s,@AUTOHEADER@,$AUTOHEADER,;t t
2226 s,@MAKEINFO@,$MAKEINFO,;t t
2227 s,@AMTAR@,$AMTAR,;t t
2228 s,@install_sh@,$install_sh,;t t
2229 s,@STRIP@,$STRIP,;t t
2230 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2231 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2232 s,@AWK@,$AWK,;t t
2233 s,@SET_MAKE@,$SET_MAKE,;t t
2234 s,@APIVERSION@,$APIVERSION,;t t
2235 s,@pkgvdatadir@,$pkgvdatadir,;t t
2236 s,@PERL@,$PERL,;t t
2237 s,@LN@,$LN,;t t
2238 CEOF
2240 _ACEOF
2242 cat >>$CONFIG_STATUS <<\_ACEOF
2243 # Split the substitutions into bite-sized pieces for seds with
2244 # small command number limits, like on Digital OSF/1 and HP-UX.
2245 ac_max_sed_lines=48
2246 ac_sed_frag=1 # Number of current file.
2247 ac_beg=1 # First line for current file.
2248 ac_end=$ac_max_sed_lines # Line after last line for current file.
2249 ac_more_lines=:
2250 ac_sed_cmds=
2251 while $ac_more_lines; do
2252 if test $ac_beg -gt 1; then
2253 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2254 else
2255 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2257 if test ! -s $tmp/subs.frag; then
2258 ac_more_lines=false
2259 else
2260 # The purpose of the label and of the branching condition is to
2261 # speed up the sed processing (if there are no `@' at all, there
2262 # is no need to browse any of the substitutions).
2263 # These are the two extra sed commands mentioned above.
2264 (echo ':t
2265 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2266 if test -z "$ac_sed_cmds"; then
2267 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2268 else
2269 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2271 ac_sed_frag=`expr $ac_sed_frag + 1`
2272 ac_beg=$ac_end
2273 ac_end=`expr $ac_end + $ac_max_sed_lines`
2275 done
2276 if test -z "$ac_sed_cmds"; then
2277 ac_sed_cmds=cat
2279 fi # test -n "$CONFIG_FILES"
2281 _ACEOF
2282 cat >>$CONFIG_STATUS <<\_ACEOF
2283 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2284 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2285 case $ac_file in
2286 - | *:- | *:-:* ) # input from stdin
2287 cat >$tmp/stdin
2288 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2289 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2290 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2291 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2292 * ) ac_file_in=$ac_file.in ;;
2293 esac
2295 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2296 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2297 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2298 X"$ac_file" : 'X\(//\)[^/]' \| \
2299 X"$ac_file" : 'X\(//\)$' \| \
2300 X"$ac_file" : 'X\(/\)' \| \
2301 . : '\(.\)' 2>/dev/null ||
2302 echo X"$ac_file" |
2303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2304 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2305 /^X\(\/\/\)$/{ s//\1/; q; }
2306 /^X\(\/\).*/{ s//\1/; q; }
2307 s/.*/./; q'`
2308 { case "$ac_dir" in
2309 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
2310 *) as_incr_dir=.;;
2311 esac
2312 as_dummy="$ac_dir"
2313 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
2314 case $as_mkdir_dir in
2315 # Skip DOS drivespec
2316 ?:) as_incr_dir=$as_mkdir_dir ;;
2318 as_incr_dir=$as_incr_dir/$as_mkdir_dir
2319 test -d "$as_incr_dir" ||
2320 mkdir "$as_incr_dir" ||
2321 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
2322 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
2323 { (exit 1); exit 1; }; }
2325 esac
2326 done; }
2328 ac_builddir=.
2330 if test "$ac_dir" != .; then
2331 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2332 # A "../" for each directory in $ac_dir_suffix.
2333 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2334 else
2335 ac_dir_suffix= ac_top_builddir=
2338 case $srcdir in
2339 .) # No --srcdir option. We are building in place.
2340 ac_srcdir=.
2341 if test -z "$ac_top_builddir"; then
2342 ac_top_srcdir=.
2343 else
2344 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2345 fi ;;
2346 [\\/]* | ?:[\\/]* ) # Absolute path.
2347 ac_srcdir=$srcdir$ac_dir_suffix;
2348 ac_top_srcdir=$srcdir ;;
2349 *) # Relative path.
2350 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2351 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2352 esac
2353 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2354 # absolute.
2355 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2356 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
2357 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2358 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2361 case $INSTALL in
2362 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2363 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2364 esac
2366 if test x"$ac_file" != x-; then
2367 { echo "$as_me:$LINENO: creating $ac_file" >&5
2368 echo "$as_me: creating $ac_file" >&6;}
2369 rm -f "$ac_file"
2371 # Let's still pretend it is `configure' which instantiates (i.e., don't
2372 # use $as_me), people would be surprised to read:
2373 # /* config.h. Generated by config.status. */
2374 if test x"$ac_file" = x-; then
2375 configure_input=
2376 else
2377 configure_input="$ac_file. "
2379 configure_input=$configure_input"Generated from `echo $ac_file_in |
2380 sed 's,.*/,,'` by configure."
2382 # First look for the input files in the build tree, otherwise in the
2383 # src tree.
2384 ac_file_inputs=`IFS=:
2385 for f in $ac_file_in; do
2386 case $f in
2387 -) echo $tmp/stdin ;;
2388 [\\/$]*)
2389 # Absolute (can't be DOS-style, as IFS=:)
2390 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2391 echo "$as_me: error: cannot find input file: $f" >&2;}
2392 { (exit 1); exit 1; }; }
2393 echo $f;;
2394 *) # Relative
2395 if test -f "$f"; then
2396 # Build tree
2397 echo $f
2398 elif test -f "$srcdir/$f"; then
2399 # Source tree
2400 echo $srcdir/$f
2401 else
2402 # /dev/null tree
2403 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2404 echo "$as_me: error: cannot find input file: $f" >&2;}
2405 { (exit 1); exit 1; }; }
2406 fi;;
2407 esac
2408 done` || { (exit 1); exit 1; }
2409 _ACEOF
2410 cat >>$CONFIG_STATUS <<_ACEOF
2411 sed "$ac_vpsub
2412 $extrasub
2413 _ACEOF
2414 cat >>$CONFIG_STATUS <<\_ACEOF
2416 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2417 s,@configure_input@,$configure_input,;t t
2418 s,@srcdir@,$ac_srcdir,;t t
2419 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2420 s,@top_srcdir@,$ac_top_srcdir,;t t
2421 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2422 s,@builddir@,$ac_builddir,;t t
2423 s,@abs_builddir@,$ac_abs_builddir,;t t
2424 s,@top_builddir@,$ac_top_builddir,;t t
2425 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2426 s,@INSTALL@,$ac_INSTALL,;t t
2427 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2428 rm -f $tmp/stdin
2429 if test x"$ac_file" != x-; then
2430 mv $tmp/out $ac_file
2431 else
2432 cat $tmp/out
2433 rm -f $tmp/out
2436 # Run the commands associated with the file.
2437 case $ac_file in
2438 automake ) chmod +x automake ;;
2439 aclocal ) chmod +x aclocal ;;
2440 esac
2441 done
2442 _ACEOF
2444 cat >>$CONFIG_STATUS <<\_ACEOF
2446 { (exit 0); exit 0; }
2447 _ACEOF
2448 chmod +x $CONFIG_STATUS
2449 ac_clean_files=$ac_clean_files_save
2452 # configure is writing to config.log, and then calls config.status.
2453 # config.status does its own redirection, appending to config.log.
2454 # Unfortunately, on DOS this fails, as config.log is still kept open
2455 # by configure, so config.status won't be able to write to it; its
2456 # output is simply discarded. So we exec the FD to /dev/null,
2457 # effectively closing config.log, so it can be properly (re)opened and
2458 # appended to by config.status. When coming back to configure, we
2459 # need to make the FD available again.
2460 if test "$no_create" != yes; then
2461 ac_cs_success=:
2462 exec 5>/dev/null
2463 $SHELL $CONFIG_STATUS || ac_cs_success=false
2464 exec 5>>config.log
2465 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2466 # would make configure fail if this is the last instruction.
2467 $ac_cs_success || { (exit 1); exit 1; }