2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file="perl/main.pl"
275 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 install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar INITRD_TEMPLATE PERL CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE XMLTO LIBOBJS LTLIBOBJS'
278 # Initialize some variables set by options.
280 ac_init_version=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
290 program_transform_name=s,x,x,
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir='${exec_prefix}/bin'
304 sbindir='${exec_prefix}/sbin'
305 libexecdir='${exec_prefix}/libexec'
306 datadir='${prefix}/share'
307 sysconfdir='${prefix}/etc'
308 sharedstatedir='${prefix}/com'
309 localstatedir='${prefix}/var'
310 libdir='${exec_prefix}/lib'
311 includedir='${prefix}/include'
312 oldincludedir='/usr/include'
313 infodir='${prefix}/info'
314 mandir='${prefix}/man'
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
326 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328 # Accept the important Cygnus configure options, so we can diagnose typos.
332 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337 -build | --build | --buil | --bui | --bu)
338 ac_prev=build_alias ;;
339 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340 build_alias=$ac_optarg ;;
342 -cache-file | --cache-file | --cache-fil | --cache-fi \
343 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344 ac_prev=cache_file ;;
345 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347 cache_file=$ac_optarg ;;
350 cache_file=config.cache ;;
352 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356 datadir=$ac_optarg ;;
358 -disable-* | --disable-*)
359 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360 # Reject names that are not valid shell variable names.
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365 eval "enable_$ac_feature=no" ;;
367 -enable-* | --enable-*)
368 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 eval "enable_$ac_feature='$ac_optarg'" ;;
380 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382 | --exec | --exe | --ex)
383 ac_prev=exec_prefix ;;
384 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386 | --exec=* | --exe=* | --ex=*)
387 exec_prefix=$ac_optarg ;;
389 -gas | --gas | --ga | --g)
390 # Obsolete; use --with-gas.
393 -help | --help | --hel | --he | -h)
395 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396 ac_init_help=recursive ;;
397 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398 ac_init_help=short ;;
400 -host | --host | --hos | --ho)
401 ac_prev=host_alias ;;
402 -host=* | --host=* | --hos=* | --ho=*)
403 host_alias=$ac_optarg ;;
405 -includedir | --includedir | --includedi | --included | --include \
406 | --includ | --inclu | --incl | --inc)
407 ac_prev=includedir ;;
408 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409 | --includ=* | --inclu=* | --incl=* | --inc=*)
410 includedir=$ac_optarg ;;
412 -infodir | --infodir | --infodi | --infod | --info | --inf)
414 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415 infodir=$ac_optarg ;;
417 -libdir | --libdir | --libdi | --libd)
419 -libdir=* | --libdir=* | --libdi=* | --libd=*)
422 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423 | --libexe | --libex | --libe)
424 ac_prev=libexecdir ;;
425 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426 | --libexe=* | --libex=* | --libe=*)
427 libexecdir=$ac_optarg ;;
429 -localstatedir | --localstatedir | --localstatedi | --localstated \
430 | --localstate | --localstat | --localsta | --localst \
431 | --locals | --local | --loca | --loc | --lo)
432 ac_prev=localstatedir ;;
433 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436 localstatedir=$ac_optarg ;;
438 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
444 # Obsolete; use --without-fp.
447 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448 | --no-cr | --no-c | -n)
451 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
455 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457 | --oldin | --oldi | --old | --ol | --o)
458 ac_prev=oldincludedir ;;
459 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462 oldincludedir=$ac_optarg ;;
464 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469 -program-prefix | --program-prefix | --program-prefi | --program-pref \
470 | --program-pre | --program-pr | --program-p)
471 ac_prev=program_prefix ;;
472 -program-prefix=* | --program-prefix=* | --program-prefi=* \
473 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474 program_prefix=$ac_optarg ;;
476 -program-suffix | --program-suffix | --program-suffi | --program-suff \
477 | --program-suf | --program-su | --program-s)
478 ac_prev=program_suffix ;;
479 -program-suffix=* | --program-suffix=* | --program-suffi=* \
480 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481 program_suffix=$ac_optarg ;;
483 -program-transform-name | --program-transform-name \
484 | --program-transform-nam | --program-transform-na \
485 | --program-transform-n | --program-transform- \
486 | --program-transform | --program-transfor \
487 | --program-transfo | --program-transf \
488 | --program-trans | --program-tran \
489 | --progr-tra | --program-tr | --program-t)
490 ac_prev=program_transform_name ;;
491 -program-transform-name=* | --program-transform-name=* \
492 | --program-transform-nam=* | --program-transform-na=* \
493 | --program-transform-n=* | --program-transform-=* \
494 | --program-transform=* | --program-transfor=* \
495 | --program-transfo=* | --program-transf=* \
496 | --program-trans=* | --program-tran=* \
497 | --progr-tra=* | --program-tr=* | --program-t=*)
498 program_transform_name=$ac_optarg ;;
500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501 | -silent | --silent | --silen | --sile | --sil)
504 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508 sbindir=$ac_optarg ;;
510 -sharedstatedir | --sharedstatedir | --sharedstatedi \
511 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512 | --sharedst | --shareds | --shared | --share | --shar \
514 ac_prev=sharedstatedir ;;
515 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519 sharedstatedir=$ac_optarg ;;
521 -site | --site | --sit)
523 -site=* | --site=* | --sit=*)
526 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532 | --syscon | --sysco | --sysc | --sys | --sy)
533 ac_prev=sysconfdir ;;
534 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536 sysconfdir=$ac_optarg ;;
538 -target | --target | --targe | --targ | --tar | --ta | --t)
539 ac_prev=target_alias ;;
540 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541 target_alias=$ac_optarg ;;
543 -v | -verbose | --verbose | --verbos | --verbo | --verb)
546 -version | --version | --versio | --versi | --vers | -V)
550 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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'`
557 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 eval "with_$ac_package='$ac_optarg'" ;;
562 -without-* | --without-*)
563 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
572 # Obsolete; use --with-x.
575 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576 | --x-incl | --x-inc | --x-in | --x-i)
577 ac_prev=x_includes ;;
578 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580 x_includes=$ac_optarg ;;
582 -x-libraries | --x-libraries | --x-librarie | --x-librari \
583 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584 ac_prev=x_libraries ;;
585 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587 x_libraries=$ac_optarg ;;
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
595 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
615 if test -n "$ac_prev"; then
616 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
621 # Be sure to have absolute paths.
622 for ac_var in exec_prefix prefix
624 eval ac_val=$`echo $ac_var`
626 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
632 # Be sure to have absolute paths.
633 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
636 eval ac_val=$`echo $ac_var`
638 [\\/$]* | ?:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x; then
653 if test "x$build_alias" = x; then
654 cross_compiling=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
663 test -n "$host_alias" && ac_tool_prefix=$host_alias-
665 test "$silent" = yes && exec 6>/dev/null
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670 ac_srcdir_defaulted=yes
671 # Try the directory containing this script, then its parent.
672 ac_confdir=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
685 if test ! -r $srcdir/$ac_unique_file; then
689 ac_srcdir_defaulted=no
691 if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
700 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set=${build_alias+set}
705 ac_env_build_alias_value=$build_alias
706 ac_cv_env_build_alias_set=${build_alias+set}
707 ac_cv_env_build_alias_value=$build_alias
708 ac_env_host_alias_set=${host_alias+set}
709 ac_env_host_alias_value=$host_alias
710 ac_cv_env_host_alias_set=${host_alias+set}
711 ac_cv_env_host_alias_value=$host_alias
712 ac_env_target_alias_set=${target_alias+set}
713 ac_env_target_alias_value=$target_alias
714 ac_cv_env_target_alias_set=${target_alias+set}
715 ac_cv_env_target_alias_value=$target_alias
716 ac_env_CC_set=${CC+set}
718 ac_cv_env_CC_set=${CC+set}
719 ac_cv_env_CC_value=$CC
720 ac_env_CFLAGS_set=${CFLAGS+set}
721 ac_env_CFLAGS_value=$CFLAGS
722 ac_cv_env_CFLAGS_set=${CFLAGS+set}
723 ac_cv_env_CFLAGS_value=$CFLAGS
724 ac_env_LDFLAGS_set=${LDFLAGS+set}
725 ac_env_LDFLAGS_value=$LDFLAGS
726 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
727 ac_cv_env_LDFLAGS_value=$LDFLAGS
728 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
729 ac_env_CPPFLAGS_value=$CPPFLAGS
730 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
731 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
734 # Report the --help message.
736 if test "$ac_init_help" = "long"; then
737 # Omit some internal or obsolete options to make the list less imposing.
738 # This message is too long to be a string in the A/UX 3.1 sh.
740 \`configure' configures this package to adapt to many kinds of systems.
742 Usage: $0 [OPTION]... [VAR=VALUE]...
744 To assign environment variables (e.g., CC, CFLAGS...), specify them as
745 VAR=VALUE. See below for descriptions of some of the useful variables.
747 Defaults for the options are specified in brackets.
750 -h, --help display this help and exit
751 --help=short display options specific to this package
752 --help=recursive display the short help of all the included packages
753 -V, --version display version information and exit
754 -q, --quiet, --silent do not print \`checking...' messages
755 --cache-file=FILE cache test results in FILE [disabled]
756 -C, --config-cache alias for \`--cache-file=config.cache'
757 -n, --no-create do not create output files
758 --srcdir=DIR find the sources in DIR [configure dir or \`..']
763 Installation directories:
764 --prefix=PREFIX install architecture-independent files in PREFIX
766 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
769 By default, \`make install' will install all the files in
770 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
771 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
772 for instance \`--prefix=\$HOME'.
774 For better control, use the options below.
776 Fine tuning of the installation directories:
777 --bindir=DIR user executables [EPREFIX/bin]
778 --sbindir=DIR system admin executables [EPREFIX/sbin]
779 --libexecdir=DIR program executables [EPREFIX/libexec]
780 --datadir=DIR read-only architecture-independent data [PREFIX/share]
781 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
782 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
783 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
784 --libdir=DIR object code libraries [EPREFIX/lib]
785 --includedir=DIR C header files [PREFIX/include]
786 --oldincludedir=DIR C header files for non-gcc [/usr/include]
787 --infodir=DIR info documentation [PREFIX/info]
788 --mandir=DIR man documentation [PREFIX/man]
794 --program-prefix=PREFIX prepend PREFIX to installed program names
795 --program-suffix=SUFFIX append SUFFIX to installed program names
796 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
800 if test -n "$ac_init_help"; then
805 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
806 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
807 --enable-template=name install templates/name.pm as initrd template (no
809 --enable-nuke Nuke initramfs before moving to real root
810 --disable-dependency-tracking speeds up one-time build
811 --enable-dependency-tracking do not reject slow dependency extractors
813 Some influential environment variables:
814 CC C compiler command
815 CFLAGS C compiler flags
816 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
817 nonstandard directory <lib dir>
818 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
819 headers in a nonstandard directory <include dir>
821 Use these variables to override the choices made by `configure' or to help
822 it to find libraries and programs with nonstandard names/locations.
827 if test "$ac_init_help" = "recursive"; then
828 # If there are subdirs, report their specific --help.
830 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
831 test -d $ac_dir || continue
834 if test "$ac_dir" != .; then
835 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
836 # A "../" for each directory in $ac_dir_suffix.
837 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
839 ac_dir_suffix= ac_top_builddir=
843 .) # No --srcdir option. We are building in place.
845 if test -z "$ac_top_builddir"; then
848 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
850 [\\/]* | ?:[\\/]* ) # Absolute path.
851 ac_srcdir=$srcdir$ac_dir_suffix;
852 ac_top_srcdir=$srcdir ;;
854 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
855 ac_top_srcdir=$ac_top_builddir$srcdir ;;
858 # Do not use `cd foo && pwd` to compute absolute paths, because
859 # the directories may not exist.
861 .) ac_abs_builddir="$ac_dir";;
864 .) ac_abs_builddir=`pwd`;;
865 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
866 *) ac_abs_builddir=`pwd`/"$ac_dir";;
869 case $ac_abs_builddir in
870 .) ac_abs_top_builddir=${ac_top_builddir}.;;
872 case ${ac_top_builddir}. in
873 .) ac_abs_top_builddir=$ac_abs_builddir;;
874 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
875 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
878 case $ac_abs_builddir in
879 .) ac_abs_srcdir=$ac_srcdir;;
882 .) ac_abs_srcdir=$ac_abs_builddir;;
883 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
884 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
887 case $ac_abs_builddir in
888 .) ac_abs_top_srcdir=$ac_top_srcdir;;
890 case $ac_top_srcdir in
891 .) ac_abs_top_srcdir=$ac_abs_builddir;;
892 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
893 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
898 # Check for guested configure; otherwise get Cygnus style configure.
899 if test -f $ac_srcdir/configure.gnu; then
901 $SHELL $ac_srcdir/configure.gnu --help=recursive
902 elif test -f $ac_srcdir/configure; then
904 $SHELL $ac_srcdir/configure --help=recursive
905 elif test -f $ac_srcdir/configure.ac ||
906 test -f $ac_srcdir/configure.in; then
910 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
916 test -n "$ac_init_help" && exit 0
917 if $ac_init_version; then
920 Copyright (C) 2003 Free Software Foundation, Inc.
921 This configure script is free software; the Free Software Foundation
922 gives unlimited permission to copy, distribute and modify it.
928 This file contains any messages produced by compilers while
929 running configure, to aid debugging if configure makes a mistake.
931 It was created by $as_me, which was
932 generated by GNU Autoconf 2.59. Invocation command line was
943 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
944 uname -m = `(uname -m) 2>/dev/null || echo unknown`
945 uname -r = `(uname -r) 2>/dev/null || echo unknown`
946 uname -s = `(uname -s) 2>/dev/null || echo unknown`
947 uname -v = `(uname -v) 2>/dev/null || echo unknown`
949 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
950 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
952 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
953 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
954 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
955 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
956 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
957 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
958 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
966 test -z "$as_dir" && as_dir=.
982 # Keep a trace of the command line.
983 # Strip out --no-create and --no-recursion so they do not pile up.
984 # Strip out --silent because we don't want to record it for future runs.
985 # Also quote any args containing shell meta-characters.
986 # Make two passes to allow for proper duplicate-argument suppression.
991 ac_must_keep_next=false
997 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
998 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
999 | -silent | --silent | --silen | --sile | --sil)
1001 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1002 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1005 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1007 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1008 if test $ac_must_keep_next = true; then
1009 ac_must_keep_next=false # Got value, back to normal.
1012 *=* | --config-cache | -C | -disable-* | --disable-* \
1013 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1014 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1015 | -with-* | --with-* | -without-* | --without-* | --x)
1016 case "$ac_configure_args0 " in
1017 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1020 -* ) ac_must_keep_next=true ;;
1023 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1024 # Get rid of the leading space.
1030 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1031 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1033 # When interrupted or exit'd, cleanup temporary files, and complete
1034 # config.log. We remove comments because anyway the quotes in there
1035 # would cause problems or look ugly.
1036 # WARNING: Be sure not to use single quotes in there, as some shells,
1037 # such as our DU 5.0 friend, will then `close' the trap.
1038 trap 'exit_status=$?
1039 # Save into config.log some information that might help in debugging.
1044 ## ---------------- ##
1045 ## Cache variables. ##
1046 ## ---------------- ##
1049 # The following way of writing the cache mishandles newlines in values,
1052 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1055 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1056 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1060 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1067 ## ----------------- ##
1068 ## Output variables. ##
1069 ## ----------------- ##
1072 for ac_var in $ac_subst_vars
1074 eval ac_val=$`echo $ac_var`
1075 echo "$ac_var='"'"'$ac_val'"'"'"
1079 if test -n "$ac_subst_files"; then
1086 for ac_var in $ac_subst_files
1088 eval ac_val=$`echo $ac_var`
1089 echo "$ac_var='"'"'$ac_val'"'"'"
1094 if test -s confdefs.h; then
1101 sed "/^$/d" confdefs.h | sort
1104 test "$ac_signal" != 0 &&
1105 echo "$as_me: caught signal $ac_signal"
1106 echo "$as_me: exit $exit_status"
1108 rm -f core *.core &&
1109 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1112 for ac_signal in 1 2 13 15; do
1113 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1117 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1118 rm -rf conftest* confdefs.h
1119 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1122 # Predefined preprocessor variables.
1124 cat >>confdefs.h <<_ACEOF
1125 #define PACKAGE_NAME "$PACKAGE_NAME"
1129 cat >>confdefs.h <<_ACEOF
1130 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1134 cat >>confdefs.h <<_ACEOF
1135 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1139 cat >>confdefs.h <<_ACEOF
1140 #define PACKAGE_STRING "$PACKAGE_STRING"
1144 cat >>confdefs.h <<_ACEOF
1145 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1149 # Let the site file select an alternate cache file if it wants to.
1150 # Prefer explicitly selected file to automatically selected ones.
1151 if test -z "$CONFIG_SITE"; then
1152 if test "x$prefix" != xNONE; then
1153 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1155 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1158 for ac_site_file in $CONFIG_SITE; do
1159 if test -r "$ac_site_file"; then
1160 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1161 echo "$as_me: loading site script $ac_site_file" >&6;}
1162 sed 's/^/| /' "$ac_site_file" >&5
1167 if test -r "$cache_file"; then
1168 # Some versions of bash will fail to source /dev/null (special
1169 # files actually), so we avoid doing that.
1170 if test -f "$cache_file"; then
1171 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1172 echo "$as_me: loading cache $cache_file" >&6;}
1174 [\\/]* | ?:[\\/]* ) . $cache_file;;
1175 *) . ./$cache_file;;
1179 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1180 echo "$as_me: creating cache $cache_file" >&6;}
1184 # Check that the precious variables saved in the cache have kept the same
1186 ac_cache_corrupted=false
1187 for ac_var in `(set) 2>&1 |
1188 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1189 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1190 eval ac_new_set=\$ac_env_${ac_var}_set
1191 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1192 eval ac_new_val="\$ac_env_${ac_var}_value"
1193 case $ac_old_set,$ac_new_set in
1195 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1196 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1197 ac_cache_corrupted=: ;;
1199 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1200 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1201 ac_cache_corrupted=: ;;
1204 if test "x$ac_old_val" != "x$ac_new_val"; then
1205 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1206 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1207 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1208 echo "$as_me: former value: $ac_old_val" >&2;}
1209 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1210 echo "$as_me: current value: $ac_new_val" >&2;}
1211 ac_cache_corrupted=:
1214 # Pass precious variables to config.status.
1215 if test "$ac_new_set" = set; then
1217 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1218 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1219 *) ac_arg=$ac_var=$ac_new_val ;;
1221 case " $ac_configure_args " in
1222 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1223 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1227 if $ac_cache_corrupted; then
1228 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1229 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1230 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1231 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1232 { (exit 1); exit 1; }; }
1236 ac_cpp='$CPP $CPPFLAGS'
1237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1261 am__api_version="1.9"
1263 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1264 if test -f $ac_dir/install-sh; then
1266 ac_install_sh="$ac_aux_dir/install-sh -c"
1268 elif test -f $ac_dir/install.sh; then
1270 ac_install_sh="$ac_aux_dir/install.sh -c"
1272 elif test -f $ac_dir/shtool; then
1274 ac_install_sh="$ac_aux_dir/shtool install -c"
1278 if test -z "$ac_aux_dir"; then
1279 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1280 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1281 { (exit 1); exit 1; }; }
1283 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1284 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1285 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1287 # Find a good install program. We prefer a C program (faster),
1288 # so one script is as good as another. But avoid the broken or
1289 # incompatible versions:
1290 # SysV /etc/install, /usr/sbin/install
1291 # SunOS /usr/etc/install
1292 # IRIX /sbin/install
1294 # AmigaOS /C/install, which installs bootblocks on floppy discs
1295 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1296 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1297 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1298 # OS/2's system install, which has a completely different semantic
1299 # ./install, which can be erroneously created by make from ./install.sh.
1300 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1301 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1302 if test -z "$INSTALL"; then
1303 if test "${ac_cv_path_install+set}" = set; then
1304 echo $ECHO_N "(cached) $ECHO_C" >&6
1306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1310 test -z "$as_dir" && as_dir=.
1311 # Account for people who put trailing slashes in PATH elements.
1313 ./ | .// | /cC/* | \
1314 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1315 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1318 # OSF1 and SCO ODT 3.0 have their own names for install.
1319 # Don't use installbsd from OSF since it installs stuff as root
1321 for ac_prog in ginstall scoinst install; do
1322 for ac_exec_ext in '' $ac_executable_extensions; do
1323 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1324 if test $ac_prog = install &&
1325 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1326 # AIX install. It has an incompatible calling convention.
1328 elif test $ac_prog = install &&
1329 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1330 # program-specific install script used by HP pwplus--don't use.
1333 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1345 if test "${ac_cv_path_install+set}" = set; then
1346 INSTALL=$ac_cv_path_install
1348 # As a last resort, use the slow shell script. We don't cache a
1349 # path for INSTALL within a source directory, because that will
1350 # break other packages using the cache if that directory is
1351 # removed, or if the path is relative.
1352 INSTALL=$ac_install_sh
1355 echo "$as_me:$LINENO: result: $INSTALL" >&5
1356 echo "${ECHO_T}$INSTALL" >&6
1358 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1359 # It thinks the first close brace ends the variable substitution.
1360 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1362 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1364 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1366 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1367 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1370 echo timestamp > conftest.file
1371 # Do `set' in a subshell so we don't clobber the current shell's
1372 # arguments. Must try -L first in case configure is actually a
1373 # symlink; some systems play weird games with the mod time of symlinks
1374 # (eg FreeBSD returns the mod time of the symlink's containing
1377 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1378 if test "$*" = "X"; then
1380 set X `ls -t $srcdir/configure conftest.file`
1383 if test "$*" != "X $srcdir/configure conftest.file" \
1384 && test "$*" != "X conftest.file $srcdir/configure"; then
1386 # If neither matched, then we have a broken ls. This can happen
1387 # if, for instance, CONFIG_SHELL is bash and it inherits a
1388 # broken ls alias from the environment. This has actually
1389 # happened. Such a system could not be considered "sane".
1390 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1391 alias in your environment" >&5
1392 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1393 alias in your environment" >&2;}
1394 { (exit 1); exit 1; }; }
1397 test "$2" = conftest.file
1403 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1404 Check your system clock" >&5
1405 echo "$as_me: error: newly created file is older than distributed files!
1406 Check your system clock" >&2;}
1407 { (exit 1); exit 1; }; }
1409 echo "$as_me:$LINENO: result: yes" >&5
1410 echo "${ECHO_T}yes" >&6
1411 test "$program_prefix" != NONE &&
1412 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1413 # Use a double $ so make ignores it.
1414 test "$program_suffix" != NONE &&
1415 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1416 # Double any \ or $. echo might interpret backslashes.
1417 # By default was `s,x,x', remove it if useless.
1418 cat <<\_ACEOF >conftest.sed
1419 s/[\\$]/&&/g;s/;s,x,x,$//
1421 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1424 # expand $ac_aux_dir to an absolute path
1425 am_aux_dir=`cd $ac_aux_dir && pwd`
1427 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1428 # Use eval to expand $SHELL
1429 if eval "$MISSING --run true"; then
1430 am_missing_run="$MISSING --run "
1433 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1434 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1437 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1438 # We used to keeping the `.' as first argument, in order to
1439 # allow $(mkdir_p) to be used without argument. As in
1440 # $(mkdir_p) $(somedir)
1441 # where $(somedir) is conditionally defined. However this is wrong
1443 # 1. if the package is installed by a user who cannot write `.'
1444 # make install will fail,
1445 # 2. the above comment should most certainly read
1446 # $(mkdir_p) $(DESTDIR)$(somedir)
1447 # so it does not work when $(somedir) is undefined and
1448 # $(DESTDIR) is not.
1449 # To support the latter case, we have to write
1450 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1451 # so the `.' trick is pointless.
1452 mkdir_p='mkdir -p --'
1454 # On NextStep and OpenStep, the `mkdir' command does not
1455 # recognize any option. It will interpret all options as
1456 # directories to create, and then abort because `.' already
1458 for d in ./-p ./--version;
1460 test -d $d && rmdir $d
1462 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1463 if test -f "$ac_aux_dir/mkinstalldirs"; then
1464 mkdir_p='$(mkinstalldirs)'
1466 mkdir_p='$(install_sh) -d'
1470 for ac_prog in gawk mawk nawk awk
1472 # Extract the first word of "$ac_prog", so it can be a program name with args.
1473 set dummy $ac_prog; ac_word=$2
1474 echo "$as_me:$LINENO: checking for $ac_word" >&5
1475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1476 if test "${ac_cv_prog_AWK+set}" = set; then
1477 echo $ECHO_N "(cached) $ECHO_C" >&6
1479 if test -n "$AWK"; then
1480 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1486 test -z "$as_dir" && as_dir=.
1487 for ac_exec_ext in '' $ac_executable_extensions; do
1488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1489 ac_cv_prog_AWK="$ac_prog"
1490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1499 if test -n "$AWK"; then
1500 echo "$as_me:$LINENO: result: $AWK" >&5
1501 echo "${ECHO_T}$AWK" >&6
1503 echo "$as_me:$LINENO: result: no" >&5
1504 echo "${ECHO_T}no" >&6
1507 test -n "$AWK" && break
1510 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1511 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1512 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1513 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1514 echo $ECHO_N "(cached) $ECHO_C" >&6
1516 cat >conftest.make <<\_ACEOF
1518 @echo 'ac_maketemp="$(MAKE)"'
1520 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1521 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1522 if test -n "$ac_maketemp"; then
1523 eval ac_cv_prog_make_${ac_make}_set=yes
1525 eval ac_cv_prog_make_${ac_make}_set=no
1529 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1530 echo "$as_me:$LINENO: result: yes" >&5
1531 echo "${ECHO_T}yes" >&6
1534 echo "$as_me:$LINENO: result: no" >&5
1535 echo "${ECHO_T}no" >&6
1536 SET_MAKE="MAKE=${MAKE-make}"
1539 rm -rf .tst 2>/dev/null
1540 mkdir .tst 2>/dev/null
1541 if test -d .tst; then
1546 rmdir .tst 2>/dev/null
1548 # test to see if srcdir already configured
1549 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1550 test -f $srcdir/config.status; then
1551 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1552 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1553 { (exit 1); exit 1; }; }
1556 # test whether we have cygpath
1557 if test -z "$CYGPATH_W"; then
1558 if (cygpath --version) >/dev/null 2>/dev/null; then
1559 CYGPATH_W='cygpath -w'
1566 # Define the identity of the package.
1568 VERSION=${YAIRD_VERSION}
1571 cat >>confdefs.h <<_ACEOF
1572 #define PACKAGE "$PACKAGE"
1576 cat >>confdefs.h <<_ACEOF
1577 #define VERSION "$VERSION"
1580 # Some tools Automake needs.
1582 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1585 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1588 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1591 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1594 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1596 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1598 # Installed binaries are usually stripped using `strip' when the user
1599 # run `make install-strip'. However `strip' might not be the right
1600 # tool to use in cross-compilation environments, therefore Automake
1601 # will honor the `STRIP' environment variable to overrule this program.
1602 if test "$cross_compiling" != no; then
1603 if test -n "$ac_tool_prefix"; then
1604 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1605 set dummy ${ac_tool_prefix}strip; ac_word=$2
1606 echo "$as_me:$LINENO: checking for $ac_word" >&5
1607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1608 if test "${ac_cv_prog_STRIP+set}" = set; then
1609 echo $ECHO_N "(cached) $ECHO_C" >&6
1611 if test -n "$STRIP"; then
1612 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1618 test -z "$as_dir" && as_dir=.
1619 for ac_exec_ext in '' $ac_executable_extensions; do
1620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1621 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1630 STRIP=$ac_cv_prog_STRIP
1631 if test -n "$STRIP"; then
1632 echo "$as_me:$LINENO: result: $STRIP" >&5
1633 echo "${ECHO_T}$STRIP" >&6
1635 echo "$as_me:$LINENO: result: no" >&5
1636 echo "${ECHO_T}no" >&6
1640 if test -z "$ac_cv_prog_STRIP"; then
1642 # Extract the first word of "strip", so it can be a program name with args.
1643 set dummy strip; ac_word=$2
1644 echo "$as_me:$LINENO: checking for $ac_word" >&5
1645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1646 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1647 echo $ECHO_N "(cached) $ECHO_C" >&6
1649 if test -n "$ac_ct_STRIP"; then
1650 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1656 test -z "$as_dir" && as_dir=.
1657 for ac_exec_ext in '' $ac_executable_extensions; do
1658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1659 ac_cv_prog_ac_ct_STRIP="strip"
1660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1666 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1669 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1670 if test -n "$ac_ct_STRIP"; then
1671 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1672 echo "${ECHO_T}$ac_ct_STRIP" >&6
1674 echo "$as_me:$LINENO: result: no" >&5
1675 echo "${ECHO_T}no" >&6
1680 STRIP="$ac_cv_prog_STRIP"
1684 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1686 # We need awk for the "check" target. The system "awk" is bad on
1688 # Always define AMTAR for backward compatibility.
1690 AMTAR=${AMTAR-"${am_missing_run}tar"}
1692 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1700 # Required optional feature to determine which template to install.
1701 # Packagers are expected to put their own template in ./templates
1702 # before configuring, so this should not get in their way.
1703 # This should go away once we have option file parsing.
1705 # Check whether --enable-template or --disable-template was given.
1706 if test "${enable_template+set}" = set; then
1707 enableval="$enable_template"
1709 if test -f "templates/$enableval.pm"
1711 INITRD_TEMPLATE="$enableval"
1714 { { echo "$as_me:$LINENO: error: Template '$enableval' not found in ./templates" >&5
1715 echo "$as_me: error: Template '$enableval' not found in ./templates" >&2;}
1716 { (exit 1); exit 1; }; }
1720 { { echo "$as_me:$LINENO: error: required option --enable-template=xxx is missing" >&5
1721 echo "$as_me: error: required option --enable-template=xxx is missing" >&2;}
1722 { (exit 1); exit 1; }; }
1725 # Check whether --enable-nuke or --disable-nuke was given.
1726 if test "${enable_nuke+set}" = set; then
1727 enableval="$enable_nuke"
1729 case "${enableval}" in
1730 yes) enable_nuke=true ;;
1731 no) enable_nuke=false ;;
1732 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-nuke" >&5
1733 echo "$as_me: error: bad value ${enableval} for --enable-nuke" >&2;}
1734 { (exit 1); exit 1; }; } ;;
1742 if test "$enable_nuke" = true; then
1744 cat >>confdefs.h <<\_ACEOF
1745 #define ENABLE_NUKE 1
1750 # Checks for programs.
1751 # Extract the first word of "perl", so it can be a program name with args.
1752 set dummy perl; ac_word=$2
1753 echo "$as_me:$LINENO: checking for $ac_word" >&5
1754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1755 if test "${ac_cv_path_PERL+set}" = set; then
1756 echo $ECHO_N "(cached) $ECHO_C" >&6
1760 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1767 test -z "$as_dir" && as_dir=.
1768 for ac_exec_ext in '' $ac_executable_extensions; do
1769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1770 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
1771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1780 PERL=$ac_cv_path_PERL
1782 if test -n "$PERL"; then
1783 echo "$as_me:$LINENO: result: $PERL" >&5
1784 echo "${ECHO_T}$PERL" >&6
1786 echo "$as_me:$LINENO: result: no" >&5
1787 echo "${ECHO_T}no" >&6
1791 ac_cpp='$CPP $CPPFLAGS'
1792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1795 if test -n "$ac_tool_prefix"; then
1796 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1797 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1798 echo "$as_me:$LINENO: checking for $ac_word" >&5
1799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1800 if test "${ac_cv_prog_CC+set}" = set; then
1801 echo $ECHO_N "(cached) $ECHO_C" >&6
1803 if test -n "$CC"; then
1804 ac_cv_prog_CC="$CC" # Let the user override the test.
1806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1810 test -z "$as_dir" && as_dir=.
1811 for ac_exec_ext in '' $ac_executable_extensions; do
1812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1813 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1823 if test -n "$CC"; then
1824 echo "$as_me:$LINENO: result: $CC" >&5
1825 echo "${ECHO_T}$CC" >&6
1827 echo "$as_me:$LINENO: result: no" >&5
1828 echo "${ECHO_T}no" >&6
1832 if test -z "$ac_cv_prog_CC"; then
1834 # Extract the first word of "gcc", so it can be a program name with args.
1835 set dummy gcc; ac_word=$2
1836 echo "$as_me:$LINENO: checking for $ac_word" >&5
1837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1838 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1839 echo $ECHO_N "(cached) $ECHO_C" >&6
1841 if test -n "$ac_ct_CC"; then
1842 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1848 test -z "$as_dir" && as_dir=.
1849 for ac_exec_ext in '' $ac_executable_extensions; do
1850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1851 ac_cv_prog_ac_ct_CC="gcc"
1852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1860 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1861 if test -n "$ac_ct_CC"; then
1862 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1863 echo "${ECHO_T}$ac_ct_CC" >&6
1865 echo "$as_me:$LINENO: result: no" >&5
1866 echo "${ECHO_T}no" >&6
1874 if test -z "$CC"; then
1875 if test -n "$ac_tool_prefix"; then
1876 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1877 set dummy ${ac_tool_prefix}cc; ac_word=$2
1878 echo "$as_me:$LINENO: checking for $ac_word" >&5
1879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1880 if test "${ac_cv_prog_CC+set}" = set; then
1881 echo $ECHO_N "(cached) $ECHO_C" >&6
1883 if test -n "$CC"; then
1884 ac_cv_prog_CC="$CC" # Let the user override the test.
1886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1890 test -z "$as_dir" && as_dir=.
1891 for ac_exec_ext in '' $ac_executable_extensions; do
1892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1893 ac_cv_prog_CC="${ac_tool_prefix}cc"
1894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1903 if test -n "$CC"; then
1904 echo "$as_me:$LINENO: result: $CC" >&5
1905 echo "${ECHO_T}$CC" >&6
1907 echo "$as_me:$LINENO: result: no" >&5
1908 echo "${ECHO_T}no" >&6
1912 if test -z "$ac_cv_prog_CC"; then
1914 # Extract the first word of "cc", so it can be a program name with args.
1915 set dummy cc; ac_word=$2
1916 echo "$as_me:$LINENO: checking for $ac_word" >&5
1917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1918 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1919 echo $ECHO_N "(cached) $ECHO_C" >&6
1921 if test -n "$ac_ct_CC"; then
1922 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1928 test -z "$as_dir" && as_dir=.
1929 for ac_exec_ext in '' $ac_executable_extensions; do
1930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1931 ac_cv_prog_ac_ct_CC="cc"
1932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1940 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1941 if test -n "$ac_ct_CC"; then
1942 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1943 echo "${ECHO_T}$ac_ct_CC" >&6
1945 echo "$as_me:$LINENO: result: no" >&5
1946 echo "${ECHO_T}no" >&6
1955 if test -z "$CC"; then
1956 # Extract the first word of "cc", so it can be a program name with args.
1957 set dummy cc; ac_word=$2
1958 echo "$as_me:$LINENO: checking for $ac_word" >&5
1959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1960 if test "${ac_cv_prog_CC+set}" = set; then
1961 echo $ECHO_N "(cached) $ECHO_C" >&6
1963 if test -n "$CC"; then
1964 ac_cv_prog_CC="$CC" # Let the user override the test.
1967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1971 test -z "$as_dir" && as_dir=.
1972 for ac_exec_ext in '' $ac_executable_extensions; do
1973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1974 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1975 ac_prog_rejected=yes
1979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1985 if test $ac_prog_rejected = yes; then
1986 # We found a bogon in the path, so make sure we never use it.
1987 set dummy $ac_cv_prog_CC
1989 if test $# != 0; then
1990 # We chose a different compiler from the bogus one.
1991 # However, it has the same basename, so the bogon will be chosen
1992 # first if we set CC to just the basename; use the full file name.
1994 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2000 if test -n "$CC"; then
2001 echo "$as_me:$LINENO: result: $CC" >&5
2002 echo "${ECHO_T}$CC" >&6
2004 echo "$as_me:$LINENO: result: no" >&5
2005 echo "${ECHO_T}no" >&6
2009 if test -z "$CC"; then
2010 if test -n "$ac_tool_prefix"; then
2013 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2014 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2015 echo "$as_me:$LINENO: checking for $ac_word" >&5
2016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2017 if test "${ac_cv_prog_CC+set}" = set; then
2018 echo $ECHO_N "(cached) $ECHO_C" >&6
2020 if test -n "$CC"; then
2021 ac_cv_prog_CC="$CC" # Let the user override the test.
2023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2027 test -z "$as_dir" && as_dir=.
2028 for ac_exec_ext in '' $ac_executable_extensions; do
2029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2030 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 if test -n "$CC"; then
2041 echo "$as_me:$LINENO: result: $CC" >&5
2042 echo "${ECHO_T}$CC" >&6
2044 echo "$as_me:$LINENO: result: no" >&5
2045 echo "${ECHO_T}no" >&6
2048 test -n "$CC" && break
2051 if test -z "$CC"; then
2055 # Extract the first word of "$ac_prog", so it can be a program name with args.
2056 set dummy $ac_prog; ac_word=$2
2057 echo "$as_me:$LINENO: checking for $ac_word" >&5
2058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2059 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2060 echo $ECHO_N "(cached) $ECHO_C" >&6
2062 if test -n "$ac_ct_CC"; then
2063 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2069 test -z "$as_dir" && as_dir=.
2070 for ac_exec_ext in '' $ac_executable_extensions; do
2071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2072 ac_cv_prog_ac_ct_CC="$ac_prog"
2073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2081 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2082 if test -n "$ac_ct_CC"; then
2083 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2084 echo "${ECHO_T}$ac_ct_CC" >&6
2086 echo "$as_me:$LINENO: result: no" >&5
2087 echo "${ECHO_T}no" >&6
2090 test -n "$ac_ct_CC" && break
2099 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2100 See \`config.log' for more details." >&5
2101 echo "$as_me: error: no acceptable C compiler found in \$PATH
2102 See \`config.log' for more details." >&2;}
2103 { (exit 1); exit 1; }; }
2105 # Provide some information about the compiler.
2106 echo "$as_me:$LINENO:" \
2107 "checking for C compiler version" >&5
2108 ac_compiler=`set X $ac_compile; echo $2`
2109 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2110 (eval $ac_compiler --version </dev/null >&5) 2>&5
2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113 (exit $ac_status); }
2114 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2115 (eval $ac_compiler -v </dev/null >&5) 2>&5
2117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118 (exit $ac_status); }
2119 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2120 (eval $ac_compiler -V </dev/null >&5) 2>&5
2122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123 (exit $ac_status); }
2125 cat >conftest.$ac_ext <<_ACEOF
2128 cat confdefs.h >>conftest.$ac_ext
2129 cat >>conftest.$ac_ext <<_ACEOF
2130 /* end confdefs.h. */
2140 ac_clean_files_save=$ac_clean_files
2141 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2142 # Try to create an executable without -o first, disregard a.out.
2143 # It will help us diagnose broken compilers, and finding out an intuition
2145 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2146 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2147 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2148 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2149 (eval $ac_link_default) 2>&5
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152 (exit $ac_status); }; then
2153 # Find the output, starting from the most likely. This scheme is
2154 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2157 # Be careful to initialize this variable, since it used to be cached.
2158 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2160 # b.out is created by i960 compilers.
2161 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2163 test -f "$ac_file" || continue
2165 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2168 # This is the source file.
2171 # We found the default executable, but exeext='' is most
2175 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2176 # FIXME: I believe we export ac_cv_exeext for Libtool,
2177 # but it would be cool to find out if it's true. Does anybody
2178 # maintain Libtool? --akim.
2186 echo "$as_me: failed program was:" >&5
2187 sed 's/^/| /' conftest.$ac_ext >&5
2189 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2190 See \`config.log' for more details." >&5
2191 echo "$as_me: error: C compiler cannot create executables
2192 See \`config.log' for more details." >&2;}
2193 { (exit 77); exit 77; }; }
2196 ac_exeext=$ac_cv_exeext
2197 echo "$as_me:$LINENO: result: $ac_file" >&5
2198 echo "${ECHO_T}$ac_file" >&6
2200 # Check the compiler produces executables we can run. If not, either
2201 # the compiler is broken, or we cross compile.
2202 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2203 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2204 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2205 # If not cross compiling, check that we can run a simple program.
2206 if test "$cross_compiling" != yes; then
2207 if { ac_try='./$ac_file'
2208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); }; }; then
2215 if test "$cross_compiling" = maybe; then
2218 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2219 If you meant to cross compile, use \`--host'.
2220 See \`config.log' for more details." >&5
2221 echo "$as_me: error: cannot run C compiled programs.
2222 If you meant to cross compile, use \`--host'.
2223 See \`config.log' for more details." >&2;}
2224 { (exit 1); exit 1; }; }
2228 echo "$as_me:$LINENO: result: yes" >&5
2229 echo "${ECHO_T}yes" >&6
2231 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2232 ac_clean_files=$ac_clean_files_save
2233 # Check the compiler produces executables we can run. If not, either
2234 # the compiler is broken, or we cross compile.
2235 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2236 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2237 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2238 echo "${ECHO_T}$cross_compiling" >&6
2240 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2241 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2243 (eval $ac_link) 2>&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); }; then
2247 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2248 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2249 # work properly (i.e., refer to `conftest.exe'), while it won't with
2251 for ac_file in conftest.exe conftest conftest.*; do
2252 test -f "$ac_file" || continue
2254 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2255 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2262 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2263 See \`config.log' for more details." >&5
2264 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2265 See \`config.log' for more details." >&2;}
2266 { (exit 1); exit 1; }; }
2269 rm -f conftest$ac_cv_exeext
2270 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2271 echo "${ECHO_T}$ac_cv_exeext" >&6
2273 rm -f conftest.$ac_ext
2274 EXEEXT=$ac_cv_exeext
2276 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2277 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2278 if test "${ac_cv_objext+set}" = set; then
2279 echo $ECHO_N "(cached) $ECHO_C" >&6
2281 cat >conftest.$ac_ext <<_ACEOF
2284 cat confdefs.h >>conftest.$ac_ext
2285 cat >>conftest.$ac_ext <<_ACEOF
2286 /* end confdefs.h. */
2296 rm -f conftest.o conftest.obj
2297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2298 (eval $ac_compile) 2>&5
2300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301 (exit $ac_status); }; then
2302 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2304 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2305 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2310 echo "$as_me: failed program was:" >&5
2311 sed 's/^/| /' conftest.$ac_ext >&5
2313 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2314 See \`config.log' for more details." >&5
2315 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2316 See \`config.log' for more details." >&2;}
2317 { (exit 1); exit 1; }; }
2320 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2322 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2323 echo "${ECHO_T}$ac_cv_objext" >&6
2324 OBJEXT=$ac_cv_objext
2326 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2327 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2328 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2329 echo $ECHO_N "(cached) $ECHO_C" >&6
2331 cat >conftest.$ac_ext <<_ACEOF
2334 cat confdefs.h >>conftest.$ac_ext
2335 cat >>conftest.$ac_ext <<_ACEOF
2336 /* end confdefs.h. */
2349 rm -f conftest.$ac_objext
2350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2351 (eval $ac_compile) 2>conftest.er1
2353 grep -v '^ *+' conftest.er1 >conftest.err
2355 cat conftest.err >&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); } &&
2358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); }; } &&
2364 { ac_try='test -s conftest.$ac_objext'
2365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }; }; then
2372 echo "$as_me: failed program was:" >&5
2373 sed 's/^/| /' conftest.$ac_ext >&5
2377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2378 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2381 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2382 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2383 GCC=`test $ac_compiler_gnu = yes && echo yes`
2384 ac_test_CFLAGS=${CFLAGS+set}
2385 ac_save_CFLAGS=$CFLAGS
2387 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2388 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2389 if test "${ac_cv_prog_cc_g+set}" = set; then
2390 echo $ECHO_N "(cached) $ECHO_C" >&6
2392 cat >conftest.$ac_ext <<_ACEOF
2395 cat confdefs.h >>conftest.$ac_ext
2396 cat >>conftest.$ac_ext <<_ACEOF
2397 /* end confdefs.h. */
2407 rm -f conftest.$ac_objext
2408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2409 (eval $ac_compile) 2>conftest.er1
2411 grep -v '^ *+' conftest.er1 >conftest.err
2413 cat conftest.err >&5
2414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415 (exit $ac_status); } &&
2416 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421 (exit $ac_status); }; } &&
2422 { ac_try='test -s conftest.$ac_objext'
2423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); }; }; then
2430 echo "$as_me: failed program was:" >&5
2431 sed 's/^/| /' conftest.$ac_ext >&5
2435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2437 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2438 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2439 if test "$ac_test_CFLAGS" = set; then
2440 CFLAGS=$ac_save_CFLAGS
2441 elif test $ac_cv_prog_cc_g = yes; then
2442 if test "$GCC" = yes; then
2448 if test "$GCC" = yes; then
2454 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2455 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2456 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2457 echo $ECHO_N "(cached) $ECHO_C" >&6
2459 ac_cv_prog_cc_stdc=no
2461 cat >conftest.$ac_ext <<_ACEOF
2464 cat confdefs.h >>conftest.$ac_ext
2465 cat >>conftest.$ac_ext <<_ACEOF
2466 /* end confdefs.h. */
2469 #include <sys/types.h>
2470 #include <sys/stat.h>
2471 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2472 struct buf { int x; };
2473 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2474 static char *e (p, i)
2480 static char *f (char * (*g) (char **, int), char **p, ...)
2485 s = g (p, va_arg (v,int));
2490 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2491 function prototypes and stuff, but not '\xHH' hex character constants.
2492 These don't provoke an error unfortunately, instead are silently treated
2493 as 'x'. The following induces an error, until -std1 is added to get
2494 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2495 array size at least. It's necessary to write '\x00'==0 to get something
2496 that's true only with -std1. */
2497 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2499 int test (int i, double x);
2500 struct s1 {int (*f) (int a);};
2501 struct s2 {int (*f) (double a);};
2502 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2508 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2513 # Don't try gcc -ansi; that turns off useful extensions and
2514 # breaks some systems' header files.
2515 # AIX -qlanglvl=ansi
2516 # Ultrix and OSF/1 -std1
2517 # HP-UX 10.20 and later -Ae
2518 # HP-UX older versions -Aa -D_HPUX_SOURCE
2519 # SVR4 -Xc -D__EXTENSIONS__
2520 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2522 CC="$ac_save_CC $ac_arg"
2523 rm -f conftest.$ac_objext
2524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2525 (eval $ac_compile) 2>conftest.er1
2527 grep -v '^ *+' conftest.er1 >conftest.err
2529 cat conftest.err >&5
2530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531 (exit $ac_status); } &&
2532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); }; } &&
2538 { ac_try='test -s conftest.$ac_objext'
2539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543 (exit $ac_status); }; }; then
2544 ac_cv_prog_cc_stdc=$ac_arg
2547 echo "$as_me: failed program was:" >&5
2548 sed 's/^/| /' conftest.$ac_ext >&5
2551 rm -f conftest.err conftest.$ac_objext
2553 rm -f conftest.$ac_ext conftest.$ac_objext
2558 case "x$ac_cv_prog_cc_stdc" in
2560 echo "$as_me:$LINENO: result: none needed" >&5
2561 echo "${ECHO_T}none needed" >&6 ;;
2563 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2564 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2565 CC="$CC $ac_cv_prog_cc_stdc" ;;
2568 # Some people use a C++ compiler to compile C. Since we use `exit',
2569 # in C++ we need to declare it. In case someone uses the same compiler
2570 # for both compiling C and C++ we need to have the C++ compiler decide
2571 # the declaration of exit, since it's the most demanding environment.
2572 cat >conftest.$ac_ext <<_ACEOF
2577 rm -f conftest.$ac_objext
2578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2579 (eval $ac_compile) 2>conftest.er1
2581 grep -v '^ *+' conftest.er1 >conftest.err
2583 cat conftest.err >&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); } &&
2586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591 (exit $ac_status); }; } &&
2592 { ac_try='test -s conftest.$ac_objext'
2593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); }; }; then
2598 for ac_declaration in \
2600 'extern "C" void std::exit (int) throw (); using std::exit;' \
2601 'extern "C" void std::exit (int); using std::exit;' \
2602 'extern "C" void exit (int) throw ();' \
2603 'extern "C" void exit (int);' \
2606 cat >conftest.$ac_ext <<_ACEOF
2609 cat confdefs.h >>conftest.$ac_ext
2610 cat >>conftest.$ac_ext <<_ACEOF
2611 /* end confdefs.h. */
2622 rm -f conftest.$ac_objext
2623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2624 (eval $ac_compile) 2>conftest.er1
2626 grep -v '^ *+' conftest.er1 >conftest.err
2628 cat conftest.err >&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); } &&
2631 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }; } &&
2637 { ac_try='test -s conftest.$ac_objext'
2638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; }; then
2645 echo "$as_me: failed program was:" >&5
2646 sed 's/^/| /' conftest.$ac_ext >&5
2650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2651 cat >conftest.$ac_ext <<_ACEOF
2654 cat confdefs.h >>conftest.$ac_ext
2655 cat >>conftest.$ac_ext <<_ACEOF
2656 /* end confdefs.h. */
2666 rm -f conftest.$ac_objext
2667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2668 (eval $ac_compile) 2>conftest.er1
2670 grep -v '^ *+' conftest.er1 >conftest.err
2672 cat conftest.err >&5
2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674 (exit $ac_status); } &&
2675 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); }; } &&
2681 { ac_try='test -s conftest.$ac_objext'
2682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686 (exit $ac_status); }; }; then
2689 echo "$as_me: failed program was:" >&5
2690 sed 's/^/| /' conftest.$ac_ext >&5
2693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2696 if test -n "$ac_declaration"; then
2697 echo '#ifdef __cplusplus' >>confdefs.h
2698 echo $ac_declaration >>confdefs.h
2699 echo '#endif' >>confdefs.h
2703 echo "$as_me: failed program was:" >&5
2704 sed 's/^/| /' conftest.$ac_ext >&5
2707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2709 ac_cpp='$CPP $CPPFLAGS'
2710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2713 DEPDIR="${am__leading_dot}deps"
2715 ac_config_commands="$ac_config_commands depfiles"
2718 am_make=${MAKE-make}
2719 cat > confinc << 'END'
2724 # If we don't find an include directive, just comment out the code.
2725 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2726 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2730 # First try GNU make style include.
2731 echo "include confinc" > confmf
2732 # We grep out `Entering directory' and `Leaving directory'
2733 # messages which can occur if `w' ends up in MAKEFLAGS.
2734 # In particular we don't look at `^make:' because GNU make might
2735 # be invoked under some other name (usually "gmake"), in which
2736 # case it prints its new name instead of `make'.
2737 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2742 # Now try BSD make style include.
2743 if test "$am__include" = "#"; then
2744 echo '.include "confinc"' > confmf
2745 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2746 am__include=.include
2753 echo "$as_me:$LINENO: result: $_am_result" >&5
2754 echo "${ECHO_T}$_am_result" >&6
2755 rm -f confinc confmf
2757 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2758 if test "${enable_dependency_tracking+set}" = set; then
2759 enableval="$enable_dependency_tracking"
2762 if test "x$enable_dependency_tracking" != xno; then
2763 am_depcomp="$ac_aux_dir/depcomp"
2768 if test "x$enable_dependency_tracking" != xno; then
2779 depcc="$CC" am_compiler_list=
2781 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2782 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2783 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2784 echo $ECHO_N "(cached) $ECHO_C" >&6
2786 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2787 # We make a subdir and do the tests there. Otherwise we can end up
2788 # making bogus files that we don't know about and never remove. For
2789 # instance it was reported that on HP-UX the gcc test will end up
2790 # making a dummy file named `D' -- because `-MD' means `put the output
2793 # Copy depcomp to subdir because otherwise we won't find it if we're
2794 # using a relative directory.
2795 cp "$am_depcomp" conftest.dir
2797 # We will build objects and dependencies in a subdirectory because
2798 # it helps to detect inapplicable dependency modes. For instance
2799 # both Tru64's cc and ICC support -MD to output dependencies as a
2800 # side effect of compilation, but ICC will put the dependencies in
2801 # the current directory while Tru64 will put them in the object
2805 am_cv_CC_dependencies_compiler_type=none
2806 if test "$am_compiler_list" = ""; then
2807 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2809 for depmode in $am_compiler_list; do
2810 # Setup a source with many dependencies, because some compilers
2811 # like to wrap large dependency lists on column 80 (with \), and
2812 # we should not choose a depcomp mode which is confused by this.
2814 # We need to recreate these files for each test, as the compiler may
2815 # overwrite some of them when testing with obscure command lines.
2816 # This happens at least with the AIX C compiler.
2818 for i in 1 2 3 4 5 6; do
2819 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2820 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2821 # Solaris 8's {/usr,}/bin/sh.
2822 touch sub/conftst$i.h
2824 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2828 # after this tag, mechanisms are not by side-effect, so they'll
2829 # only be used when explicitly requested
2830 if test "x$enable_dependency_tracking" = xyes; then
2838 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2839 # mode. It turns out that the SunPro C++ compiler does not properly
2840 # handle `-M -o', and we need to detect this.
2841 if depmode=$depmode \
2842 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2843 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2844 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2845 >/dev/null 2>conftest.err &&
2846 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2847 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2848 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2849 # icc doesn't choke on unknown options, it will just issue warnings
2850 # or remarks (even with -Werror). So we grep stderr for any message
2851 # that says an option was ignored or not supported.
2852 # When given -MP, icc 7.0 and 7.1 complain thusly:
2853 # icc: Command line warning: ignoring option '-M'; no argument required
2854 # The diagnosis changed in icc 8.0:
2855 # icc: Command line remark: option '-MP' not supported
2856 if (grep 'ignoring option' conftest.err ||
2857 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2858 am_cv_CC_dependencies_compiler_type=$depmode
2867 am_cv_CC_dependencies_compiler_type=none
2871 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2872 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2873 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2878 test "x$enable_dependency_tracking" != xno \
2879 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2881 am__fastdepCC_FALSE='#'
2883 am__fastdepCC_TRUE='#'
2884 am__fastdepCC_FALSE=
2890 # XML formatting; unclear what processor is most widely available.
2892 # Extract the first word of "xmlto", so it can be a program name with args.
2893 set dummy xmlto; ac_word=$2
2894 echo "$as_me:$LINENO: checking for $ac_word" >&5
2895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2896 if test "${ac_cv_path_XMLTO+set}" = set; then
2897 echo $ECHO_N "(cached) $ECHO_C" >&6
2901 ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
2904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2908 test -z "$as_dir" && as_dir=.
2909 for ac_exec_ext in '' $ac_executable_extensions; do
2910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2911 ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
2912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2918 test -z "$ac_cv_path_XMLTO" && ac_cv_path_XMLTO=":"
2922 XMLTO=$ac_cv_path_XMLTO
2924 if test -n "$XMLTO"; then
2925 echo "$as_me:$LINENO: result: $XMLTO" >&5
2926 echo "${ECHO_T}$XMLTO" >&6
2928 echo "$as_me:$LINENO: result: no" >&5
2929 echo "${ECHO_T}no" >&6
2933 # Checks for libraries.
2934 # Checks for header files.
2935 # Checks for typedefs, structures, and compiler characteristics.
2936 # Checks for library functions.
2938 # Use this when we need to compile C programs.
2939 ac_config_headers="$ac_config_headers include/config.h"
2942 ac_config_files="$ac_config_files Makefile templates/Makefile perl/Makefile doc/Makefile exec/Makefile doc/yaird.xml"
2944 cat >confcache <<\_ACEOF
2945 # This file is a shell script that caches the results of configure
2946 # tests run on this system so they can be shared between configure
2947 # scripts and configure runs, see configure's option --config-cache.
2948 # It is not useful on other systems. If it contains results you don't
2949 # want to keep, you may remove or edit it.
2951 # config.status only pays attention to the cache file if you give it
2952 # the --recheck option to rerun configure.
2954 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2955 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2960 # The following way of writing the cache mishandles newlines in values,
2961 # but we know of no workaround that is simple, portable, and efficient.
2962 # So, don't put newlines in cache variables' values.
2963 # Ultrix sh set writes to stderr and can't be redirected directly,
2964 # and sets the high bit in the cache file unless we assign to the vars.
2967 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2969 # `set' does not quote correctly, so add quotes (double-quote
2970 # substitution turns \\\\ into \\, and sed turns \\ into \).
2973 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2976 # `set' quotes correctly as required by POSIX, so do not add quotes.
2978 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2985 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2987 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2989 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2990 if test -w $cache_file; then
2991 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2992 cat confcache >$cache_file
2994 echo "not updating unwritable cache $cache_file"
2999 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3000 # Let make expand exec_prefix.
3001 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3003 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3004 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3005 # trailing colons and then remove the whole line if VPATH becomes empty
3006 # (actually we leave an empty line to preserve line numbers).
3007 if test "x$srcdir" = x.; then
3008 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3009 s/:*\$(srcdir):*/:/;
3010 s/:*\${srcdir}:*/:/;
3012 s/^\([^=]*=[ ]*\):*/\1/;
3018 DEFS=-DHAVE_CONFIG_H
3022 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3023 # 1. Remove the extension, and $U if already installed.
3024 ac_i=`echo "$ac_i" |
3025 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3027 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3028 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3032 LTLIBOBJS=$ac_ltlibobjs
3035 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3036 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3037 Usually this means the macro was only invoked conditionally." >&5
3038 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3039 Usually this means the macro was only invoked conditionally." >&2;}
3040 { (exit 1); exit 1; }; }
3042 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3043 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3044 Usually this means the macro was only invoked conditionally." >&5
3045 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3046 Usually this means the macro was only invoked conditionally." >&2;}
3047 { (exit 1); exit 1; }; }
3050 : ${CONFIG_STATUS=./config.status}
3051 ac_clean_files_save=$ac_clean_files
3052 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3053 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3054 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3055 cat >$CONFIG_STATUS <<_ACEOF
3057 # Generated by $as_me.
3058 # Run this file to recreate the current configuration.
3059 # Compiler output produced by configure, useful for debugging
3060 # configure, is in config.log if it exists.
3065 SHELL=\${CONFIG_SHELL-$SHELL}
3068 cat >>$CONFIG_STATUS <<\_ACEOF
3069 ## --------------------- ##
3070 ## M4sh Initialization. ##
3071 ## --------------------- ##
3073 # Be Bourne compatible
3074 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3077 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3078 # is contrary to our usage. Disable this feature.
3079 alias -g '${1+"$@"}'='"$@"'
3080 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3083 DUALCASE=1; export DUALCASE # for MKS sh
3085 # Support unset when possible.
3086 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3093 # Work around bugs in pre-3.0 UWIN ksh.
3094 $as_unset ENV MAIL MAILPATH
3101 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3102 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3103 LC_TELEPHONE LC_TIME
3105 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3106 eval $as_var=C; export $as_var
3112 # Required to use basename.
3113 if expr a : '\(a\)' >/dev/null 2>&1; then
3119 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3120 as_basename=basename
3126 # Name of the executable.
3127 as_me=`$as_basename "$0" ||
3128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3129 X"$0" : 'X\(//\)$' \| \
3130 X"$0" : 'X\(/\)$' \| \
3131 . : '\(.\)' 2>/dev/null ||
3133 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3134 /^X\/\(\/\/\)$/{ s//\1/; q; }
3135 /^X\/\(\/\).*/{ s//\1/; q; }
3139 # PATH needs CR, and LINENO needs CR and PATH.
3140 # Avoid depending upon Character Ranges.
3141 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3142 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3143 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3144 as_cr_digits='0123456789'
3145 as_cr_alnum=$as_cr_Letters$as_cr_digits
3147 # The user is always right.
3148 if test "${PATH_SEPARATOR+set}" != set; then
3149 echo "#! /bin/sh" >conf$$.sh
3150 echo "exit 0" >>conf$$.sh
3152 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3163 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3164 test "x$as_lineno_1" != "x$as_lineno_2" &&
3165 test "x$as_lineno_3" = "x$as_lineno_2" || {
3166 # Find who we are. Look in the path if we contain no path at all
3169 *[\\/]* ) as_myself=$0 ;;
3170 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174 test -z "$as_dir" && as_dir=.
3175 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3180 # We did not find ourselves, most probably we were run as `sh COMMAND'
3181 # in which case we are not to be found in the path.
3182 if test "x$as_myself" = x; then
3185 if test ! -f "$as_myself"; then
3186 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3187 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3188 { (exit 1); exit 1; }; }
3190 case $CONFIG_SHELL in
3192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3193 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3196 test -z "$as_dir" && as_dir=.
3197 for as_base in sh bash ksh sh5; do
3200 if ("$as_dir/$as_base" -c '
3203 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3204 test "x$as_lineno_1" != "x$as_lineno_2" &&
3205 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3206 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3207 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3208 CONFIG_SHELL=$as_dir/$as_base
3210 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3218 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3219 # uniformly replaced by the line number. The first 'sed' inserts a
3220 # line-number line before each line; the second 'sed' does the real
3221 # work. The second script uses 'N' to pair each line-number line
3222 # with the numbered line, and appends trailing '-' during
3223 # substitution so that $LINENO is not a special case at line end.
3224 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3225 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3226 sed '=' <$as_myself |
3231 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3234 s,^['$as_cr_digits']*\n,,
3236 chmod +x $as_me.lineno ||
3237 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3238 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3239 { (exit 1); exit 1; }; }
3241 # Don't try to exec as it changes $[0], causing all sort of problems
3242 # (the dirname of $[0] is not the place where we might find the
3243 # original and so on. Autoconf is especially sensible to this).
3245 # Exit status is that of the last command.
3250 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3251 *c*,-n*) ECHO_N= ECHO_C='
3253 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3254 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3257 if expr a : '\(a\)' >/dev/null 2>&1; then
3263 rm -f conf$$ conf$$.exe conf$$.file
3265 if ln -s conf$$.file conf$$ 2>/dev/null; then
3266 # We could just check for DJGPP; but this test a) works b) is more generic
3267 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3268 if test -f conf$$.exe; then
3269 # Don't use ln at all; we don't have any links
3274 elif ln conf$$.file conf$$ 2>/dev/null; then
3279 rm -f conf$$ conf$$.exe conf$$.file
3281 if mkdir -p . 2>/dev/null; then
3284 test -d ./-p && rmdir ./-p
3288 as_executable_p="test -f"
3290 # Sed expression to map a string onto a valid CPP name.
3291 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3293 # Sed expression to map a string onto a valid variable name.
3294 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3298 # We need space, tab and new line, in precisely that order.
3308 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3309 # report actual input values of CONFIG_FILES etc. instead of their
3310 # values after options handling. Logging --version etc. is OK.
3314 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3315 ## Running $as_me. ##
3320 This file was extended by $as_me, which was
3321 generated by GNU Autoconf 2.59. Invocation command line was
3323 CONFIG_FILES = $CONFIG_FILES
3324 CONFIG_HEADERS = $CONFIG_HEADERS
3325 CONFIG_LINKS = $CONFIG_LINKS
3326 CONFIG_COMMANDS = $CONFIG_COMMANDS
3330 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3334 # Files that config.status was made for.
3335 if test -n "$ac_config_files"; then
3336 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3339 if test -n "$ac_config_headers"; then
3340 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3343 if test -n "$ac_config_links"; then
3344 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3347 if test -n "$ac_config_commands"; then
3348 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3351 cat >>$CONFIG_STATUS <<\_ACEOF
3354 \`$as_me' instantiates files from templates according to the
3355 current configuration.
3357 Usage: $0 [OPTIONS] [FILE]...
3359 -h, --help print this help, then exit
3360 -V, --version print version number, then exit
3361 -q, --quiet do not print progress messages
3362 -d, --debug don't remove temporary files
3363 --recheck update $as_me by reconfiguring in the same conditions
3364 --file=FILE[:TEMPLATE]
3365 instantiate the configuration file FILE
3366 --header=FILE[:TEMPLATE]
3367 instantiate the configuration header FILE
3369 Configuration files:
3372 Configuration headers:
3375 Configuration commands:
3378 Report bugs to <bug-autoconf@gnu.org>."
3381 cat >>$CONFIG_STATUS <<_ACEOF
3384 configured by $0, generated by GNU Autoconf 2.59,
3385 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3387 Copyright (C) 2003 Free Software Foundation, Inc.
3388 This config.status script is free software; the Free Software Foundation
3389 gives unlimited permission to copy, distribute and modify it."
3394 cat >>$CONFIG_STATUS <<\_ACEOF
3395 # If no file are specified by the user, then we need to provide default
3396 # value. By we need to know if files were specified by the user.
3402 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3403 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3411 *) # This is not an option, so the user has probably given explicit
3414 ac_need_defaults=false;;
3418 # Handling of the options.
3420 cat >>$CONFIG_STATUS <<\_ACEOF
3421 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3423 --version | --vers* | -V )
3424 echo "$ac_cs_version"; exit 0 ;;
3426 # Conflict between --help and --header
3427 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3428 Try \`$0 --help' for more information." >&5
3429 echo "$as_me: error: ambiguous option: $1
3430 Try \`$0 --help' for more information." >&2;}
3431 { (exit 1); exit 1; }; };;
3432 --help | --hel | -h )
3433 echo "$ac_cs_usage"; exit 0 ;;
3434 --debug | --d* | -d )
3436 --file | --fil | --fi | --f )
3438 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3439 ac_need_defaults=false;;
3440 --header | --heade | --head | --hea )
3442 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3443 ac_need_defaults=false;;
3444 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3445 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3449 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3450 Try \`$0 --help' for more information." >&5
3451 echo "$as_me: error: unrecognized option: $1
3452 Try \`$0 --help' for more information." >&2;}
3453 { (exit 1); exit 1; }; } ;;
3455 *) ac_config_targets="$ac_config_targets $1" ;;
3461 ac_configure_extra_args=
3463 if $ac_cs_silent; then
3465 ac_configure_extra_args="$ac_configure_extra_args --silent"
3469 cat >>$CONFIG_STATUS <<_ACEOF
3470 if \$ac_cs_recheck; then
3471 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3472 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3477 cat >>$CONFIG_STATUS <<_ACEOF
3479 # INIT-COMMANDS section.
3482 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3488 cat >>$CONFIG_STATUS <<\_ACEOF
3489 for ac_config_target in $ac_config_targets
3491 case "$ac_config_target" in
3492 # Handling of arguments.
3493 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3494 "templates/Makefile" ) CONFIG_FILES="$CONFIG_FILES templates/Makefile" ;;
3495 "perl/Makefile" ) CONFIG_FILES="$CONFIG_FILES perl/Makefile" ;;
3496 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3497 "exec/Makefile" ) CONFIG_FILES="$CONFIG_FILES exec/Makefile" ;;
3498 "doc/yaird.xml" ) CONFIG_FILES="$CONFIG_FILES doc/yaird.xml" ;;
3499 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3500 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
3501 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3502 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3503 { (exit 1); exit 1; }; };;
3507 # If the user did not use the arguments to specify the items to instantiate,
3508 # then the envvar interface is used. Set only those that are not.
3509 # We use the long form for the default assignment because of an extremely
3510 # bizarre bug on SunOS 4.1.3.
3511 if $ac_need_defaults; then
3512 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3513 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3514 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3517 # Have a temporary directory for convenience. Make it in the build tree
3518 # simply because there is no reason to put it here, and in addition,
3519 # creating and moving files from /tmp can sometimes cause problems.
3520 # Create a temporary directory, and hook for its removal unless debugging.
3523 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3524 trap '{ (exit 1); exit 1; }' 1 2 13 15
3527 # Create a (secure) tmp directory for tmp files.
3530 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3531 test -n "$tmp" && test -d "$tmp"
3534 tmp=./confstat$$-$RANDOM
3535 (umask 077 && mkdir $tmp)
3538 echo "$me: cannot create a temporary directory in ." >&2
3539 { (exit 1); exit 1; }
3544 cat >>$CONFIG_STATUS <<_ACEOF
3547 # CONFIG_FILES section.
3550 # No need to generate the scripts if there are no CONFIG_FILES.
3551 # This happens for instance when ./config.status config.h
3552 if test -n "\$CONFIG_FILES"; then
3553 # Protect against being on the right side of a sed subst in config.status.
3554 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3555 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3556 s,@SHELL@,$SHELL,;t t
3557 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3558 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3559 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3560 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3561 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3562 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3563 s,@exec_prefix@,$exec_prefix,;t t
3564 s,@prefix@,$prefix,;t t
3565 s,@program_transform_name@,$program_transform_name,;t t
3566 s,@bindir@,$bindir,;t t
3567 s,@sbindir@,$sbindir,;t t
3568 s,@libexecdir@,$libexecdir,;t t
3569 s,@datadir@,$datadir,;t t
3570 s,@sysconfdir@,$sysconfdir,;t t
3571 s,@sharedstatedir@,$sharedstatedir,;t t
3572 s,@localstatedir@,$localstatedir,;t t
3573 s,@libdir@,$libdir,;t t
3574 s,@includedir@,$includedir,;t t
3575 s,@oldincludedir@,$oldincludedir,;t t
3576 s,@infodir@,$infodir,;t t
3577 s,@mandir@,$mandir,;t t
3578 s,@build_alias@,$build_alias,;t t
3579 s,@host_alias@,$host_alias,;t t
3580 s,@target_alias@,$target_alias,;t t
3582 s,@ECHO_C@,$ECHO_C,;t t
3583 s,@ECHO_N@,$ECHO_N,;t t
3584 s,@ECHO_T@,$ECHO_T,;t t
3586 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3587 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3588 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3589 s,@CYGPATH_W@,$CYGPATH_W,;t t
3590 s,@PACKAGE@,$PACKAGE,;t t
3591 s,@VERSION@,$VERSION,;t t
3592 s,@ACLOCAL@,$ACLOCAL,;t t
3593 s,@AUTOCONF@,$AUTOCONF,;t t
3594 s,@AUTOMAKE@,$AUTOMAKE,;t t
3595 s,@AUTOHEADER@,$AUTOHEADER,;t t
3596 s,@MAKEINFO@,$MAKEINFO,;t t
3597 s,@install_sh@,$install_sh,;t t
3598 s,@STRIP@,$STRIP,;t t
3599 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3600 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3601 s,@mkdir_p@,$mkdir_p,;t t
3603 s,@SET_MAKE@,$SET_MAKE,;t t
3604 s,@am__leading_dot@,$am__leading_dot,;t t
3605 s,@AMTAR@,$AMTAR,;t t
3606 s,@am__tar@,$am__tar,;t t
3607 s,@am__untar@,$am__untar,;t t
3608 s,@INITRD_TEMPLATE@,$INITRD_TEMPLATE,;t t
3611 s,@CFLAGS@,$CFLAGS,;t t
3612 s,@LDFLAGS@,$LDFLAGS,;t t
3613 s,@CPPFLAGS@,$CPPFLAGS,;t t
3614 s,@ac_ct_CC@,$ac_ct_CC,;t t
3615 s,@EXEEXT@,$EXEEXT,;t t
3616 s,@OBJEXT@,$OBJEXT,;t t
3617 s,@DEPDIR@,$DEPDIR,;t t
3618 s,@am__include@,$am__include,;t t
3619 s,@am__quote@,$am__quote,;t t
3620 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3621 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3622 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3623 s,@CCDEPMODE@,$CCDEPMODE,;t t
3624 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
3625 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
3626 s,@XMLTO@,$XMLTO,;t t
3627 s,@LIBOBJS@,$LIBOBJS,;t t
3628 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3633 cat >>$CONFIG_STATUS <<\_ACEOF
3634 # Split the substitutions into bite-sized pieces for seds with
3635 # small command number limits, like on Digital OSF/1 and HP-UX.
3637 ac_sed_frag=1 # Number of current file.
3638 ac_beg=1 # First line for current file.
3639 ac_end=$ac_max_sed_lines # Line after last line for current file.
3642 while $ac_more_lines; do
3643 if test $ac_beg -gt 1; then
3644 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3646 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3648 if test ! -s $tmp/subs.frag; then
3651 # The purpose of the label and of the branching condition is to
3652 # speed up the sed processing (if there are no `@' at all, there
3653 # is no need to browse any of the substitutions).
3654 # These are the two extra sed commands mentioned above.
3656 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3657 if test -z "$ac_sed_cmds"; then
3658 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3660 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3662 ac_sed_frag=`expr $ac_sed_frag + 1`
3664 ac_end=`expr $ac_end + $ac_max_sed_lines`
3667 if test -z "$ac_sed_cmds"; then
3670 fi # test -n "$CONFIG_FILES"
3673 cat >>$CONFIG_STATUS <<\_ACEOF
3674 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3675 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3677 - | *:- | *:-:* ) # input from stdin
3679 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3680 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3681 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3682 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3683 * ) ac_file_in=$ac_file.in ;;
3686 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3687 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3688 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3689 X"$ac_file" : 'X\(//\)[^/]' \| \
3690 X"$ac_file" : 'X\(//\)$' \| \
3691 X"$ac_file" : 'X\(/\)' \| \
3692 . : '\(.\)' 2>/dev/null ||
3694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3695 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3696 /^X\(\/\/\)$/{ s//\1/; q; }
3697 /^X\(\/\).*/{ s//\1/; q; }
3699 { if $as_mkdir_p; then
3704 while test ! -d "$as_dir"; do
3705 as_dirs="$as_dir $as_dirs"
3706 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3707 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3708 X"$as_dir" : 'X\(//\)[^/]' \| \
3709 X"$as_dir" : 'X\(//\)$' \| \
3710 X"$as_dir" : 'X\(/\)' \| \
3711 . : '\(.\)' 2>/dev/null ||
3713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3714 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3715 /^X\(\/\/\)$/{ s//\1/; q; }
3716 /^X\(\/\).*/{ s//\1/; q; }
3719 test ! -n "$as_dirs" || mkdir $as_dirs
3720 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3721 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3722 { (exit 1); exit 1; }; }; }
3726 if test "$ac_dir" != .; then
3727 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3728 # A "../" for each directory in $ac_dir_suffix.
3729 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3731 ac_dir_suffix= ac_top_builddir=
3735 .) # No --srcdir option. We are building in place.
3737 if test -z "$ac_top_builddir"; then
3740 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3742 [\\/]* | ?:[\\/]* ) # Absolute path.
3743 ac_srcdir=$srcdir$ac_dir_suffix;
3744 ac_top_srcdir=$srcdir ;;
3746 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3747 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3750 # Do not use `cd foo && pwd` to compute absolute paths, because
3751 # the directories may not exist.
3753 .) ac_abs_builddir="$ac_dir";;
3756 .) ac_abs_builddir=`pwd`;;
3757 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3758 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3761 case $ac_abs_builddir in
3762 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3764 case ${ac_top_builddir}. in
3765 .) ac_abs_top_builddir=$ac_abs_builddir;;
3766 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3767 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3770 case $ac_abs_builddir in
3771 .) ac_abs_srcdir=$ac_srcdir;;
3774 .) ac_abs_srcdir=$ac_abs_builddir;;
3775 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3776 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3779 case $ac_abs_builddir in
3780 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3782 case $ac_top_srcdir in
3783 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3784 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3785 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3791 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3792 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3795 # Let's still pretend it is `configure' which instantiates (i.e., don't
3796 # use $as_me), people would be surprised to read:
3797 # /* config.h. Generated by config.status. */
3798 if test x"$ac_file" = x-; then
3801 configure_input="$ac_file. "
3803 configure_input=$configure_input"Generated from `echo $ac_file_in |
3804 sed 's,.*/,,'` by configure."
3806 # First look for the input files in the build tree, otherwise in the
3808 ac_file_inputs=`IFS=:
3809 for f in $ac_file_in; do
3811 -) echo $tmp/stdin ;;
3813 # Absolute (can't be DOS-style, as IFS=:)
3814 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3815 echo "$as_me: error: cannot find input file: $f" >&2;}
3816 { (exit 1); exit 1; }; }
3819 if test -f "$f"; then
3822 elif test -f "$srcdir/$f"; then
3827 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3828 echo "$as_me: error: cannot find input file: $f" >&2;}
3829 { (exit 1); exit 1; }; }
3832 done` || { (exit 1); exit 1; }
3834 if test x"$ac_file" != x-; then
3835 { echo "$as_me:$LINENO: creating $ac_file" >&5
3836 echo "$as_me: creating $ac_file" >&6;}
3840 cat >>$CONFIG_STATUS <<_ACEOF
3844 cat >>$CONFIG_STATUS <<\_ACEOF
3846 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3847 s,@configure_input@,$configure_input,;t t
3848 s,@srcdir@,$ac_srcdir,;t t
3849 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3850 s,@top_srcdir@,$ac_top_srcdir,;t t
3851 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3852 s,@builddir@,$ac_builddir,;t t
3853 s,@abs_builddir@,$ac_abs_builddir,;t t
3854 s,@top_builddir@,$ac_top_builddir,;t t
3855 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3856 s,@INSTALL@,$ac_INSTALL,;t t
3857 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3859 if test x"$ac_file" != x-; then
3860 mv $tmp/out $ac_file
3868 cat >>$CONFIG_STATUS <<\_ACEOF
3871 # CONFIG_HEADER section.
3874 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3875 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3877 # ac_d sets the value in "#define NAME VALUE" lines.
3878 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3879 ac_dB='[ ].*$,\1#\2'
3882 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3883 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3884 ac_uB='$,\1#\2define\3'
3888 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3889 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3891 - | *:- | *:-:* ) # input from stdin
3893 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3894 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3895 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3896 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3897 * ) ac_file_in=$ac_file.in ;;
3900 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3901 echo "$as_me: creating $ac_file" >&6;}
3903 # First look for the input files in the build tree, otherwise in the
3905 ac_file_inputs=`IFS=:
3906 for f in $ac_file_in; do
3908 -) echo $tmp/stdin ;;
3910 # Absolute (can't be DOS-style, as IFS=:)
3911 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3912 echo "$as_me: error: cannot find input file: $f" >&2;}
3913 { (exit 1); exit 1; }; }
3914 # Do quote $f, to prevent DOS paths from being IFS'd.
3917 if test -f "$f"; then
3920 elif test -f "$srcdir/$f"; then
3925 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3926 echo "$as_me: error: cannot find input file: $f" >&2;}
3927 { (exit 1); exit 1; }; }
3930 done` || { (exit 1); exit 1; }
3931 # Remove the trailing spaces.
3932 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
3936 # Transform confdefs.h into two sed scripts, `conftest.defines' and
3937 # `conftest.undefs', that substitutes the proper values into
3938 # config.h.in to produce config.h. The first handles `#define'
3939 # templates, and the second `#undef' templates.
3940 # And first: Protect against being on the right side of a sed subst in
3941 # config.status. Protect against being in an unquoted here document
3943 rm -f conftest.defines conftest.undefs
3944 # Using a here document instead of a string reduces the quoting nightmare.
3945 # Putting comments in sed scripts is not portable.
3947 # `end' is used to avoid that the second main sed command (meant for
3948 # 0-ary CPP macros) applies to n-ary macro definitions.
3949 # See the Autoconf documentation for `clear'.
3950 cat >confdef2sed.sed <<\_ACEOF
3955 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
3957 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3960 # If some macros were called several times there might be several times
3961 # the same #defines, which is useless. Nevertheless, we may not want to
3962 # sort them, since we want the *last* AC-DEFINE to be honored.
3963 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3964 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3965 rm -f confdef2sed.sed
3967 # This sed command replaces #undef with comments. This is necessary, for
3968 # example, in the case of _POSIX_SOURCE, which is predefined and required
3969 # on some systems where configure will not decide to define it.
3970 cat >>conftest.undefs <<\_ACEOF
3971 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
3974 # Break up conftest.defines because some shells have a limit on the size
3975 # of here documents, and old seds have small limits too (100 cmds).
3976 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3977 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3978 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3979 echo ' :' >>$CONFIG_STATUS
3981 while grep . conftest.defines >/dev/null
3983 # Write a limited-size here document to $tmp/defines.sed.
3984 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
3985 # Speed up: don't consider the non `#define' lines.
3986 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
3987 # Work around the forget-to-reset-the-flag bug.
3988 echo 't clr' >>$CONFIG_STATUS
3989 echo ': clr' >>$CONFIG_STATUS
3990 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
3992 sed -f $tmp/defines.sed $tmp/in >$tmp/out
3996 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
3997 rm -f conftest.defines
3998 mv conftest.tail conftest.defines
4000 rm -f conftest.defines
4001 echo ' fi # grep' >>$CONFIG_STATUS
4002 echo >>$CONFIG_STATUS
4004 # Break up conftest.undefs because some shells have a limit on the size
4005 # of here documents, and old seds have small limits too (100 cmds).
4006 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4008 while grep . conftest.undefs >/dev/null
4010 # Write a limited-size here document to $tmp/undefs.sed.
4011 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4012 # Speed up: don't consider the non `#undef'
4013 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4014 # Work around the forget-to-reset-the-flag bug.
4015 echo 't clr' >>$CONFIG_STATUS
4016 echo ': clr' >>$CONFIG_STATUS
4017 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4019 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4023 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4024 rm -f conftest.undefs
4025 mv conftest.tail conftest.undefs
4027 rm -f conftest.undefs
4029 cat >>$CONFIG_STATUS <<\_ACEOF
4030 # Let's still pretend it is `configure' which instantiates (i.e., don't
4031 # use $as_me), people would be surprised to read:
4032 # /* config.h. Generated by config.status. */
4033 if test x"$ac_file" = x-; then
4034 echo "/* Generated by configure. */" >$tmp/config.h
4036 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4038 cat $tmp/in >>$tmp/config.h
4040 if test x"$ac_file" != x-; then
4041 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
4042 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4043 echo "$as_me: $ac_file is unchanged" >&6;}
4045 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4046 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4047 X"$ac_file" : 'X\(//\)[^/]' \| \
4048 X"$ac_file" : 'X\(//\)$' \| \
4049 X"$ac_file" : 'X\(/\)' \| \
4050 . : '\(.\)' 2>/dev/null ||
4052 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4053 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4054 /^X\(\/\/\)$/{ s//\1/; q; }
4055 /^X\(\/\).*/{ s//\1/; q; }
4057 { if $as_mkdir_p; then
4062 while test ! -d "$as_dir"; do
4063 as_dirs="$as_dir $as_dirs"
4064 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4065 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4066 X"$as_dir" : 'X\(//\)[^/]' \| \
4067 X"$as_dir" : 'X\(//\)$' \| \
4068 X"$as_dir" : 'X\(/\)' \| \
4069 . : '\(.\)' 2>/dev/null ||
4071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4072 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4073 /^X\(\/\/\)$/{ s//\1/; q; }
4074 /^X\(\/\).*/{ s//\1/; q; }
4077 test ! -n "$as_dirs" || mkdir $as_dirs
4078 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4079 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4080 { (exit 1); exit 1; }; }; }
4083 mv $tmp/config.h $ac_file
4089 # Compute $ac_file's index in $config_headers.
4091 for _am_header in $config_headers :; do
4093 $ac_file | $ac_file:* )
4096 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4099 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4100 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4101 X$ac_file : 'X\(//\)[^/]' \| \
4102 X$ac_file : 'X\(//\)$' \| \
4103 X$ac_file : 'X\(/\)' \| \
4104 . : '\(.\)' 2>/dev/null ||
4106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4107 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4108 /^X\(\/\/\)$/{ s//\1/; q; }
4109 /^X\(\/\).*/{ s//\1/; q; }
4110 s/.*/./; q'`/stamp-h$_am_stamp_count
4113 cat >>$CONFIG_STATUS <<\_ACEOF
4116 # CONFIG_COMMANDS section.
4118 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4119 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4120 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4121 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4122 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4123 X"$ac_dest" : 'X\(//\)[^/]' \| \
4124 X"$ac_dest" : 'X\(//\)$' \| \
4125 X"$ac_dest" : 'X\(/\)' \| \
4126 . : '\(.\)' 2>/dev/null ||
4128 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4129 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4130 /^X\(\/\/\)$/{ s//\1/; q; }
4131 /^X\(\/\).*/{ s//\1/; q; }
4133 { if $as_mkdir_p; then
4138 while test ! -d "$as_dir"; do
4139 as_dirs="$as_dir $as_dirs"
4140 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4141 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4142 X"$as_dir" : 'X\(//\)[^/]' \| \
4143 X"$as_dir" : 'X\(//\)$' \| \
4144 X"$as_dir" : 'X\(/\)' \| \
4145 . : '\(.\)' 2>/dev/null ||
4147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4148 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4149 /^X\(\/\/\)$/{ s//\1/; q; }
4150 /^X\(\/\).*/{ s//\1/; q; }
4153 test ! -n "$as_dirs" || mkdir $as_dirs
4154 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4155 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4156 { (exit 1); exit 1; }; }; }
4160 if test "$ac_dir" != .; then
4161 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4162 # A "../" for each directory in $ac_dir_suffix.
4163 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4165 ac_dir_suffix= ac_top_builddir=
4169 .) # No --srcdir option. We are building in place.
4171 if test -z "$ac_top_builddir"; then
4174 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4176 [\\/]* | ?:[\\/]* ) # Absolute path.
4177 ac_srcdir=$srcdir$ac_dir_suffix;
4178 ac_top_srcdir=$srcdir ;;
4180 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4181 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4184 # Do not use `cd foo && pwd` to compute absolute paths, because
4185 # the directories may not exist.
4187 .) ac_abs_builddir="$ac_dir";;
4190 .) ac_abs_builddir=`pwd`;;
4191 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4192 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4195 case $ac_abs_builddir in
4196 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4198 case ${ac_top_builddir}. in
4199 .) ac_abs_top_builddir=$ac_abs_builddir;;
4200 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4201 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4204 case $ac_abs_builddir in
4205 .) ac_abs_srcdir=$ac_srcdir;;
4208 .) ac_abs_srcdir=$ac_abs_builddir;;
4209 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4210 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4213 case $ac_abs_builddir in
4214 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4216 case $ac_top_srcdir in
4217 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4218 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4219 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4224 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4225 echo "$as_me: executing $ac_dest commands" >&6;}
4227 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4228 # Strip MF so we end up with the name of the file.
4229 mf=`echo "$mf" | sed -e 's/:.*$//'`
4230 # Check whether this is an Automake generated Makefile or not.
4231 # We used to match only the files named `Makefile.in', but
4232 # some people rename them; so instead we look at the file content.
4233 # Grep'ing the first line is not enough: some people post-process
4234 # each Makefile.in and add a new line on top of each file to say so.
4235 # So let's grep whole file.
4236 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4237 dirpart=`(dirname "$mf") 2>/dev/null ||
4238 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4239 X"$mf" : 'X\(//\)[^/]' \| \
4240 X"$mf" : 'X\(//\)$' \| \
4241 X"$mf" : 'X\(/\)' \| \
4242 . : '\(.\)' 2>/dev/null ||
4244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4245 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4246 /^X\(\/\/\)$/{ s//\1/; q; }
4247 /^X\(\/\).*/{ s//\1/; q; }
4252 # Extract the definition of DEPDIR, am__include, and am__quote
4253 # from the Makefile without running `make'.
4254 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4255 test -z "$DEPDIR" && continue
4256 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4257 test -z "am__include" && continue
4258 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4259 # When using ansi2knr, U may be empty or an underscore; expand it
4260 U=`sed -n 's/^U = //p' < "$mf"`
4261 # Find all dependency output files, they are included files with
4262 # $(DEPDIR) in their names. We invoke sed twice because it is the
4263 # simplest approach to changing $(DEPDIR) to its actual value in the
4265 for file in `sed -n "
4266 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4267 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4268 # Make sure the directory exists.
4269 test -f "$dirpart/$file" && continue
4270 fdir=`(dirname "$file") 2>/dev/null ||
4271 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4272 X"$file" : 'X\(//\)[^/]' \| \
4273 X"$file" : 'X\(//\)$' \| \
4274 X"$file" : 'X\(/\)' \| \
4275 . : '\(.\)' 2>/dev/null ||
4277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4278 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4279 /^X\(\/\/\)$/{ s//\1/; q; }
4280 /^X\(\/\).*/{ s//\1/; q; }
4282 { if $as_mkdir_p; then
4283 mkdir -p $dirpart/$fdir
4285 as_dir=$dirpart/$fdir
4287 while test ! -d "$as_dir"; do
4288 as_dirs="$as_dir $as_dirs"
4289 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4290 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4291 X"$as_dir" : 'X\(//\)[^/]' \| \
4292 X"$as_dir" : 'X\(//\)$' \| \
4293 X"$as_dir" : 'X\(/\)' \| \
4294 . : '\(.\)' 2>/dev/null ||
4296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4297 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4298 /^X\(\/\/\)$/{ s//\1/; q; }
4299 /^X\(\/\).*/{ s//\1/; q; }
4302 test ! -n "$as_dirs" || mkdir $as_dirs
4303 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4304 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4305 { (exit 1); exit 1; }; }; }
4307 # echo "creating $dirpart/$file"
4308 echo '# dummy' > "$dirpart/$file"
4316 cat >>$CONFIG_STATUS <<\_ACEOF
4318 { (exit 0); exit 0; }
4320 chmod +x $CONFIG_STATUS
4321 ac_clean_files=$ac_clean_files_save
4324 # configure is writing to config.log, and then calls config.status.
4325 # config.status does its own redirection, appending to config.log.
4326 # Unfortunately, on DOS this fails, as config.log is still kept open
4327 # by configure, so config.status won't be able to write to it; its
4328 # output is simply discarded. So we exec the FD to /dev/null,
4329 # effectively closing config.log, so it can be properly (re)opened and
4330 # appended to by config.status. When coming back to configure, we
4331 # need to make the FD available again.
4332 if test "$no_create" != yes; then
4334 ac_config_status_args=
4335 test "$silent" = yes &&
4336 ac_config_status_args="$ac_config_status_args --quiet"
4338 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4340 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4341 # would make configure fail if this is the last instruction.
4342 $ac_cs_success || { (exit 1); exit 1; }