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="xp.c"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot 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 XSLT_CONFIG CPP EGREP LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name=s,x,x,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
430 -help | --help | --hel | --he | -h)
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers | -V)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
841 if test -n "$ac_init_help"; then
846 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
847 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
848 --disable-dependency-tracking speeds up one-time build
849 --enable-dependency-tracking do not reject slow dependency extractors
851 Some influential environment variables:
852 CC C compiler command
853 CFLAGS C compiler flags
854 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
855 nonstandard directory <lib dir>
856 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
857 headers in a nonstandard directory <include dir>
860 Use these variables to override the choices made by `configure' or to help
861 it to find libraries and programs with nonstandard names/locations.
866 if test "$ac_init_help" = "recursive"; then
867 # If there are subdirs, report their specific --help.
869 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
870 test -d $ac_dir || continue
873 if test "$ac_dir" != .; then
874 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
875 # A "../" for each directory in $ac_dir_suffix.
876 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
878 ac_dir_suffix= ac_top_builddir=
882 .) # No --srcdir option. We are building in place.
884 if test -z "$ac_top_builddir"; then
887 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
889 [\\/]* | ?:[\\/]* ) # Absolute path.
890 ac_srcdir=$srcdir$ac_dir_suffix;
891 ac_top_srcdir=$srcdir ;;
893 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
894 ac_top_srcdir=$ac_top_builddir$srcdir ;;
897 # Do not use `cd foo && pwd` to compute absolute paths, because
898 # the directories may not exist.
900 .) ac_abs_builddir="$ac_dir";;
903 .) ac_abs_builddir=`pwd`;;
904 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
905 *) ac_abs_builddir=`pwd`/"$ac_dir";;
908 case $ac_abs_builddir in
909 .) ac_abs_top_builddir=${ac_top_builddir}.;;
911 case ${ac_top_builddir}. in
912 .) ac_abs_top_builddir=$ac_abs_builddir;;
913 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
914 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
917 case $ac_abs_builddir in
918 .) ac_abs_srcdir=$ac_srcdir;;
921 .) ac_abs_srcdir=$ac_abs_builddir;;
922 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
923 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
926 case $ac_abs_builddir in
927 .) ac_abs_top_srcdir=$ac_top_srcdir;;
929 case $ac_top_srcdir in
930 .) ac_abs_top_srcdir=$ac_abs_builddir;;
931 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
932 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
937 # Check for guested configure; otherwise get Cygnus style configure.
938 if test -f $ac_srcdir/configure.gnu; then
940 $SHELL $ac_srcdir/configure.gnu --help=recursive
941 elif test -f $ac_srcdir/configure; then
943 $SHELL $ac_srcdir/configure --help=recursive
944 elif test -f $ac_srcdir/configure.ac ||
945 test -f $ac_srcdir/configure.in; then
949 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
955 test -n "$ac_init_help" && exit 0
956 if $ac_init_version; then
959 Copyright (C) 2003 Free Software Foundation, Inc.
960 This configure script is free software; the Free Software Foundation
961 gives unlimited permission to copy, distribute and modify it.
967 This file contains any messages produced by compilers while
968 running configure, to aid debugging if configure makes a mistake.
970 It was created by $as_me, which was
971 generated by GNU Autoconf 2.59. Invocation command line was
982 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
983 uname -m = `(uname -m) 2>/dev/null || echo unknown`
984 uname -r = `(uname -r) 2>/dev/null || echo unknown`
985 uname -s = `(uname -s) 2>/dev/null || echo unknown`
986 uname -v = `(uname -v) 2>/dev/null || echo unknown`
988 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
989 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
991 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
992 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
993 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
994 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
995 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
996 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
997 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1005 test -z "$as_dir" && as_dir=.
1006 echo "PATH: $as_dir"
1021 # Keep a trace of the command line.
1022 # Strip out --no-create and --no-recursion so they do not pile up.
1023 # Strip out --silent because we don't want to record it for future runs.
1024 # Also quote any args containing shell meta-characters.
1025 # Make two passes to allow for proper duplicate-argument suppression.
1030 ac_must_keep_next=false
1036 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1037 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1038 | -silent | --silent | --silen | --sile | --sil)
1040 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1041 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1044 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1046 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1047 if test $ac_must_keep_next = true; then
1048 ac_must_keep_next=false # Got value, back to normal.
1051 *=* | --config-cache | -C | -disable-* | --disable-* \
1052 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1053 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1054 | -with-* | --with-* | -without-* | --without-* | --x)
1055 case "$ac_configure_args0 " in
1056 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1059 -* ) ac_must_keep_next=true ;;
1062 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1063 # Get rid of the leading space.
1069 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1070 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1072 # When interrupted or exit'd, cleanup temporary files, and complete
1073 # config.log. We remove comments because anyway the quotes in there
1074 # would cause problems or look ugly.
1075 # WARNING: Be sure not to use single quotes in there, as some shells,
1076 # such as our DU 5.0 friend, will then `close' the trap.
1077 trap 'exit_status=$?
1078 # Save into config.log some information that might help in debugging.
1083 ## ---------------- ##
1084 ## Cache variables. ##
1085 ## ---------------- ##
1088 # The following way of writing the cache mishandles newlines in values,
1091 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1094 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1095 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1099 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1106 ## ----------------- ##
1107 ## Output variables. ##
1108 ## ----------------- ##
1111 for ac_var in $ac_subst_vars
1113 eval ac_val=$`echo $ac_var`
1114 echo "$ac_var='"'"'$ac_val'"'"'"
1118 if test -n "$ac_subst_files"; then
1125 for ac_var in $ac_subst_files
1127 eval ac_val=$`echo $ac_var`
1128 echo "$ac_var='"'"'$ac_val'"'"'"
1133 if test -s confdefs.h; then
1140 sed "/^$/d" confdefs.h | sort
1143 test "$ac_signal" != 0 &&
1144 echo "$as_me: caught signal $ac_signal"
1145 echo "$as_me: exit $exit_status"
1147 rm -f core *.core &&
1148 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1151 for ac_signal in 1 2 13 15; do
1152 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1156 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1157 rm -rf conftest* confdefs.h
1158 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1161 # Predefined preprocessor variables.
1163 cat >>confdefs.h <<_ACEOF
1164 #define PACKAGE_NAME "$PACKAGE_NAME"
1168 cat >>confdefs.h <<_ACEOF
1169 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1173 cat >>confdefs.h <<_ACEOF
1174 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1178 cat >>confdefs.h <<_ACEOF
1179 #define PACKAGE_STRING "$PACKAGE_STRING"
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1188 # Let the site file select an alternate cache file if it wants to.
1189 # Prefer explicitly selected file to automatically selected ones.
1190 if test -z "$CONFIG_SITE"; then
1191 if test "x$prefix" != xNONE; then
1192 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1194 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1197 for ac_site_file in $CONFIG_SITE; do
1198 if test -r "$ac_site_file"; then
1199 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1200 echo "$as_me: loading site script $ac_site_file" >&6;}
1201 sed 's/^/| /' "$ac_site_file" >&5
1206 if test -r "$cache_file"; then
1207 # Some versions of bash will fail to source /dev/null (special
1208 # files actually), so we avoid doing that.
1209 if test -f "$cache_file"; then
1210 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1211 echo "$as_me: loading cache $cache_file" >&6;}
1213 [\\/]* | ?:[\\/]* ) . $cache_file;;
1214 *) . ./$cache_file;;
1218 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1219 echo "$as_me: creating cache $cache_file" >&6;}
1223 # Check that the precious variables saved in the cache have kept the same
1225 ac_cache_corrupted=false
1226 for ac_var in `(set) 2>&1 |
1227 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1228 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1229 eval ac_new_set=\$ac_env_${ac_var}_set
1230 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1231 eval ac_new_val="\$ac_env_${ac_var}_value"
1232 case $ac_old_set,$ac_new_set in
1234 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1235 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1236 ac_cache_corrupted=: ;;
1238 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1239 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1240 ac_cache_corrupted=: ;;
1243 if test "x$ac_old_val" != "x$ac_new_val"; then
1244 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1245 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1246 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1247 echo "$as_me: former value: $ac_old_val" >&2;}
1248 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1249 echo "$as_me: current value: $ac_new_val" >&2;}
1250 ac_cache_corrupted=:
1253 # Pass precious variables to config.status.
1254 if test "$ac_new_set" = set; then
1256 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1257 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1258 *) ac_arg=$ac_var=$ac_new_val ;;
1260 case " $ac_configure_args " in
1261 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1262 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1266 if $ac_cache_corrupted; then
1267 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1268 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1269 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1270 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1271 { (exit 1); exit 1; }; }
1275 ac_cpp='$CPP $CPPFLAGS'
1276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1298 am__api_version="1.8"
1300 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1301 if test -f $ac_dir/install-sh; then
1303 ac_install_sh="$ac_aux_dir/install-sh -c"
1305 elif test -f $ac_dir/install.sh; then
1307 ac_install_sh="$ac_aux_dir/install.sh -c"
1309 elif test -f $ac_dir/shtool; then
1311 ac_install_sh="$ac_aux_dir/shtool install -c"
1315 if test -z "$ac_aux_dir"; then
1316 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1317 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1318 { (exit 1); exit 1; }; }
1320 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1321 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1322 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1324 # Find a good install program. We prefer a C program (faster),
1325 # so one script is as good as another. But avoid the broken or
1326 # incompatible versions:
1327 # SysV /etc/install, /usr/sbin/install
1328 # SunOS /usr/etc/install
1329 # IRIX /sbin/install
1331 # AmigaOS /C/install, which installs bootblocks on floppy discs
1332 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1333 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1334 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1335 # OS/2's system install, which has a completely different semantic
1336 # ./install, which can be erroneously created by make from ./install.sh.
1337 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1338 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1339 if test -z "$INSTALL"; then
1340 if test "${ac_cv_path_install+set}" = set; then
1341 echo $ECHO_N "(cached) $ECHO_C" >&6
1343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1347 test -z "$as_dir" && as_dir=.
1348 # Account for people who put trailing slashes in PATH elements.
1350 ./ | .// | /cC/* | \
1351 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1352 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1355 # OSF1 and SCO ODT 3.0 have their own names for install.
1356 # Don't use installbsd from OSF since it installs stuff as root
1358 for ac_prog in ginstall scoinst install; do
1359 for ac_exec_ext in '' $ac_executable_extensions; do
1360 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1361 if test $ac_prog = install &&
1362 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1363 # AIX install. It has an incompatible calling convention.
1365 elif test $ac_prog = install &&
1366 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1367 # program-specific install script used by HP pwplus--don't use.
1370 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1382 if test "${ac_cv_path_install+set}" = set; then
1383 INSTALL=$ac_cv_path_install
1385 # As a last resort, use the slow shell script. We don't cache a
1386 # path for INSTALL within a source directory, because that will
1387 # break other packages using the cache if that directory is
1388 # removed, or if the path is relative.
1389 INSTALL=$ac_install_sh
1392 echo "$as_me:$LINENO: result: $INSTALL" >&5
1393 echo "${ECHO_T}$INSTALL" >&6
1395 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1396 # It thinks the first close brace ends the variable substitution.
1397 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1399 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1401 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1403 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1404 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1407 echo timestamp > conftest.file
1408 # Do `set' in a subshell so we don't clobber the current shell's
1409 # arguments. Must try -L first in case configure is actually a
1410 # symlink; some systems play weird games with the mod time of symlinks
1411 # (eg FreeBSD returns the mod time of the symlink's containing
1414 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1415 if test "$*" = "X"; then
1417 set X `ls -t $srcdir/configure conftest.file`
1420 if test "$*" != "X $srcdir/configure conftest.file" \
1421 && test "$*" != "X conftest.file $srcdir/configure"; then
1423 # If neither matched, then we have a broken ls. This can happen
1424 # if, for instance, CONFIG_SHELL is bash and it inherits a
1425 # broken ls alias from the environment. This has actually
1426 # happened. Such a system could not be considered "sane".
1427 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1428 alias in your environment" >&5
1429 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1430 alias in your environment" >&2;}
1431 { (exit 1); exit 1; }; }
1434 test "$2" = conftest.file
1440 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1441 Check your system clock" >&5
1442 echo "$as_me: error: newly created file is older than distributed files!
1443 Check your system clock" >&2;}
1444 { (exit 1); exit 1; }; }
1446 echo "$as_me:$LINENO: result: yes" >&5
1447 echo "${ECHO_T}yes" >&6
1448 test "$program_prefix" != NONE &&
1449 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1450 # Use a double $ so make ignores it.
1451 test "$program_suffix" != NONE &&
1452 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1453 # Double any \ or $. echo might interpret backslashes.
1454 # By default was `s,x,x', remove it if useless.
1455 cat <<\_ACEOF >conftest.sed
1456 s/[\\$]/&&/g;s/;s,x,x,$//
1458 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1461 # expand $ac_aux_dir to an absolute path
1462 am_aux_dir=`cd $ac_aux_dir && pwd`
1464 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1465 # Use eval to expand $SHELL
1466 if eval "$MISSING --run true"; then
1467 am_missing_run="$MISSING --run "
1470 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1471 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1474 if mkdir -p -- . 2>/dev/null; then
1475 # Keeping the `.' argument allows $(mkdir_p) to be used without
1476 # argument. Indeed, we sometimes output rules like
1477 # $(mkdir_p) $(somedir)
1478 # where $(somedir) is conditionally defined.
1479 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1480 # expensive solution, as it forces Make to start a sub-shell.)
1481 mkdir_p='mkdir -p -- .'
1483 # On NextStep and OpenStep, the `mkdir' command does not
1484 # recognize any option. It will interpret all options as
1485 # directories to create, and then abort because `.' already
1489 test -d $d && rmdir $d
1491 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1492 if test -f "$ac_aux_dir/mkinstalldirs"; then
1493 mkdir_p='$(mkinstalldirs)'
1495 mkdir_p='$(install_sh) -d'
1499 for ac_prog in gawk mawk nawk awk
1501 # Extract the first word of "$ac_prog", so it can be a program name with args.
1502 set dummy $ac_prog; ac_word=$2
1503 echo "$as_me:$LINENO: checking for $ac_word" >&5
1504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1505 if test "${ac_cv_prog_AWK+set}" = set; then
1506 echo $ECHO_N "(cached) $ECHO_C" >&6
1508 if test -n "$AWK"; then
1509 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1515 test -z "$as_dir" && as_dir=.
1516 for ac_exec_ext in '' $ac_executable_extensions; do
1517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1518 ac_cv_prog_AWK="$ac_prog"
1519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1528 if test -n "$AWK"; then
1529 echo "$as_me:$LINENO: result: $AWK" >&5
1530 echo "${ECHO_T}$AWK" >&6
1532 echo "$as_me:$LINENO: result: no" >&5
1533 echo "${ECHO_T}no" >&6
1536 test -n "$AWK" && break
1539 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1540 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1541 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1542 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1543 echo $ECHO_N "(cached) $ECHO_C" >&6
1545 cat >conftest.make <<\_ACEOF
1547 @echo 'ac_maketemp="$(MAKE)"'
1549 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1550 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1551 if test -n "$ac_maketemp"; then
1552 eval ac_cv_prog_make_${ac_make}_set=yes
1554 eval ac_cv_prog_make_${ac_make}_set=no
1558 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1559 echo "$as_me:$LINENO: result: yes" >&5
1560 echo "${ECHO_T}yes" >&6
1563 echo "$as_me:$LINENO: result: no" >&5
1564 echo "${ECHO_T}no" >&6
1565 SET_MAKE="MAKE=${MAKE-make}"
1568 rm -rf .tst 2>/dev/null
1569 mkdir .tst 2>/dev/null
1570 if test -d .tst; then
1575 rmdir .tst 2>/dev/null
1577 # test to see if srcdir already configured
1578 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1579 test -f $srcdir/config.status; then
1580 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1581 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1582 { (exit 1); exit 1; }; }
1585 # test whether we have cygpath
1586 if test -z "$CYGPATH_W"; then
1587 if (cygpath --version) >/dev/null 2>/dev/null; then
1588 CYGPATH_W='cygpath -w'
1595 # Define the identity of the package.
1600 cat >>confdefs.h <<_ACEOF
1601 #define PACKAGE "$PACKAGE"
1605 cat >>confdefs.h <<_ACEOF
1606 #define VERSION "$VERSION"
1609 # Some tools Automake needs.
1611 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1614 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1617 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1620 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1623 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1626 AMTAR=${AMTAR-"${am_missing_run}tar"}
1628 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1630 # Installed binaries are usually stripped using `strip' when the user
1631 # run `make install-strip'. However `strip' might not be the right
1632 # tool to use in cross-compilation environments, therefore Automake
1633 # will honor the `STRIP' environment variable to overrule this program.
1634 if test "$cross_compiling" != no; then
1635 if test -n "$ac_tool_prefix"; then
1636 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1637 set dummy ${ac_tool_prefix}strip; ac_word=$2
1638 echo "$as_me:$LINENO: checking for $ac_word" >&5
1639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1640 if test "${ac_cv_prog_STRIP+set}" = set; then
1641 echo $ECHO_N "(cached) $ECHO_C" >&6
1643 if test -n "$STRIP"; then
1644 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1650 test -z "$as_dir" && as_dir=.
1651 for ac_exec_ext in '' $ac_executable_extensions; do
1652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1653 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1662 STRIP=$ac_cv_prog_STRIP
1663 if test -n "$STRIP"; then
1664 echo "$as_me:$LINENO: result: $STRIP" >&5
1665 echo "${ECHO_T}$STRIP" >&6
1667 echo "$as_me:$LINENO: result: no" >&5
1668 echo "${ECHO_T}no" >&6
1672 if test -z "$ac_cv_prog_STRIP"; then
1674 # Extract the first word of "strip", so it can be a program name with args.
1675 set dummy strip; ac_word=$2
1676 echo "$as_me:$LINENO: checking for $ac_word" >&5
1677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1678 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1679 echo $ECHO_N "(cached) $ECHO_C" >&6
1681 if test -n "$ac_ct_STRIP"; then
1682 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1688 test -z "$as_dir" && as_dir=.
1689 for ac_exec_ext in '' $ac_executable_extensions; do
1690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1691 ac_cv_prog_ac_ct_STRIP="strip"
1692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1698 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1701 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1702 if test -n "$ac_ct_STRIP"; then
1703 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1704 echo "${ECHO_T}$ac_ct_STRIP" >&6
1706 echo "$as_me:$LINENO: result: no" >&5
1707 echo "${ECHO_T}no" >&6
1712 STRIP="$ac_cv_prog_STRIP"
1716 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1718 # We need awk for the "check" target. The system "awk" is bad on
1725 ac_cpp='$CPP $CPPFLAGS'
1726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1729 if test -n "$ac_tool_prefix"; then
1730 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1731 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1732 echo "$as_me:$LINENO: checking for $ac_word" >&5
1733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1734 if test "${ac_cv_prog_CC+set}" = set; then
1735 echo $ECHO_N "(cached) $ECHO_C" >&6
1737 if test -n "$CC"; then
1738 ac_cv_prog_CC="$CC" # Let the user override the test.
1740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1744 test -z "$as_dir" && as_dir=.
1745 for ac_exec_ext in '' $ac_executable_extensions; do
1746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1747 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1757 if test -n "$CC"; then
1758 echo "$as_me:$LINENO: result: $CC" >&5
1759 echo "${ECHO_T}$CC" >&6
1761 echo "$as_me:$LINENO: result: no" >&5
1762 echo "${ECHO_T}no" >&6
1766 if test -z "$ac_cv_prog_CC"; then
1768 # Extract the first word of "gcc", so it can be a program name with args.
1769 set dummy gcc; ac_word=$2
1770 echo "$as_me:$LINENO: checking for $ac_word" >&5
1771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1772 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1773 echo $ECHO_N "(cached) $ECHO_C" >&6
1775 if test -n "$ac_ct_CC"; then
1776 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1782 test -z "$as_dir" && as_dir=.
1783 for ac_exec_ext in '' $ac_executable_extensions; do
1784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1785 ac_cv_prog_ac_ct_CC="gcc"
1786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1794 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1795 if test -n "$ac_ct_CC"; then
1796 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1797 echo "${ECHO_T}$ac_ct_CC" >&6
1799 echo "$as_me:$LINENO: result: no" >&5
1800 echo "${ECHO_T}no" >&6
1808 if test -z "$CC"; then
1809 if test -n "$ac_tool_prefix"; then
1810 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1811 set dummy ${ac_tool_prefix}cc; ac_word=$2
1812 echo "$as_me:$LINENO: checking for $ac_word" >&5
1813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1814 if test "${ac_cv_prog_CC+set}" = set; then
1815 echo $ECHO_N "(cached) $ECHO_C" >&6
1817 if test -n "$CC"; then
1818 ac_cv_prog_CC="$CC" # Let the user override the test.
1820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1824 test -z "$as_dir" && as_dir=.
1825 for ac_exec_ext in '' $ac_executable_extensions; do
1826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1827 ac_cv_prog_CC="${ac_tool_prefix}cc"
1828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1837 if test -n "$CC"; then
1838 echo "$as_me:$LINENO: result: $CC" >&5
1839 echo "${ECHO_T}$CC" >&6
1841 echo "$as_me:$LINENO: result: no" >&5
1842 echo "${ECHO_T}no" >&6
1846 if test -z "$ac_cv_prog_CC"; then
1848 # Extract the first word of "cc", so it can be a program name with args.
1849 set dummy cc; ac_word=$2
1850 echo "$as_me:$LINENO: checking for $ac_word" >&5
1851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1852 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1853 echo $ECHO_N "(cached) $ECHO_C" >&6
1855 if test -n "$ac_ct_CC"; then
1856 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1862 test -z "$as_dir" && as_dir=.
1863 for ac_exec_ext in '' $ac_executable_extensions; do
1864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1865 ac_cv_prog_ac_ct_CC="cc"
1866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1874 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1875 if test -n "$ac_ct_CC"; then
1876 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1877 echo "${ECHO_T}$ac_ct_CC" >&6
1879 echo "$as_me:$LINENO: result: no" >&5
1880 echo "${ECHO_T}no" >&6
1889 if test -z "$CC"; then
1890 # Extract the first word of "cc", so it can be a program name with args.
1891 set dummy cc; ac_word=$2
1892 echo "$as_me:$LINENO: checking for $ac_word" >&5
1893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1894 if test "${ac_cv_prog_CC+set}" = set; then
1895 echo $ECHO_N "(cached) $ECHO_C" >&6
1897 if test -n "$CC"; then
1898 ac_cv_prog_CC="$CC" # Let the user override the test.
1901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1905 test -z "$as_dir" && as_dir=.
1906 for ac_exec_ext in '' $ac_executable_extensions; do
1907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1908 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1909 ac_prog_rejected=yes
1913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1919 if test $ac_prog_rejected = yes; then
1920 # We found a bogon in the path, so make sure we never use it.
1921 set dummy $ac_cv_prog_CC
1923 if test $# != 0; then
1924 # We chose a different compiler from the bogus one.
1925 # However, it has the same basename, so the bogon will be chosen
1926 # first if we set CC to just the basename; use the full file name.
1928 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1934 if test -n "$CC"; then
1935 echo "$as_me:$LINENO: result: $CC" >&5
1936 echo "${ECHO_T}$CC" >&6
1938 echo "$as_me:$LINENO: result: no" >&5
1939 echo "${ECHO_T}no" >&6
1943 if test -z "$CC"; then
1944 if test -n "$ac_tool_prefix"; then
1947 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1948 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1949 echo "$as_me:$LINENO: checking for $ac_word" >&5
1950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1951 if test "${ac_cv_prog_CC+set}" = set; then
1952 echo $ECHO_N "(cached) $ECHO_C" >&6
1954 if test -n "$CC"; then
1955 ac_cv_prog_CC="$CC" # Let the user override the test.
1957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1961 test -z "$as_dir" && as_dir=.
1962 for ac_exec_ext in '' $ac_executable_extensions; do
1963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1964 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1974 if test -n "$CC"; then
1975 echo "$as_me:$LINENO: result: $CC" >&5
1976 echo "${ECHO_T}$CC" >&6
1978 echo "$as_me:$LINENO: result: no" >&5
1979 echo "${ECHO_T}no" >&6
1982 test -n "$CC" && break
1985 if test -z "$CC"; then
1989 # Extract the first word of "$ac_prog", so it can be a program name with args.
1990 set dummy $ac_prog; ac_word=$2
1991 echo "$as_me:$LINENO: checking for $ac_word" >&5
1992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1993 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1994 echo $ECHO_N "(cached) $ECHO_C" >&6
1996 if test -n "$ac_ct_CC"; then
1997 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2003 test -z "$as_dir" && as_dir=.
2004 for ac_exec_ext in '' $ac_executable_extensions; do
2005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2006 ac_cv_prog_ac_ct_CC="$ac_prog"
2007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2015 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2016 if test -n "$ac_ct_CC"; then
2017 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2018 echo "${ECHO_T}$ac_ct_CC" >&6
2020 echo "$as_me:$LINENO: result: no" >&5
2021 echo "${ECHO_T}no" >&6
2024 test -n "$ac_ct_CC" && break
2033 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2034 See \`config.log' for more details." >&5
2035 echo "$as_me: error: no acceptable C compiler found in \$PATH
2036 See \`config.log' for more details." >&2;}
2037 { (exit 1); exit 1; }; }
2039 # Provide some information about the compiler.
2040 echo "$as_me:$LINENO:" \
2041 "checking for C compiler version" >&5
2042 ac_compiler=`set X $ac_compile; echo $2`
2043 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2044 (eval $ac_compiler --version </dev/null >&5) 2>&5
2046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2047 (exit $ac_status); }
2048 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2049 (eval $ac_compiler -v </dev/null >&5) 2>&5
2051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2052 (exit $ac_status); }
2053 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2054 (eval $ac_compiler -V </dev/null >&5) 2>&5
2056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2057 (exit $ac_status); }
2059 cat >conftest.$ac_ext <<_ACEOF
2062 cat confdefs.h >>conftest.$ac_ext
2063 cat >>conftest.$ac_ext <<_ACEOF
2064 /* end confdefs.h. */
2074 ac_clean_files_save=$ac_clean_files
2075 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2076 # Try to create an executable without -o first, disregard a.out.
2077 # It will help us diagnose broken compilers, and finding out an intuition
2079 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2080 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2081 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2082 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2083 (eval $ac_link_default) 2>&5
2085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2086 (exit $ac_status); }; then
2087 # Find the output, starting from the most likely. This scheme is
2088 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2091 # Be careful to initialize this variable, since it used to be cached.
2092 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2094 # b.out is created by i960 compilers.
2095 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2097 test -f "$ac_file" || continue
2099 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2102 # This is the source file.
2105 # We found the default executable, but exeext='' is most
2109 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2110 # FIXME: I believe we export ac_cv_exeext for Libtool,
2111 # but it would be cool to find out if it's true. Does anybody
2112 # maintain Libtool? --akim.
2120 echo "$as_me: failed program was:" >&5
2121 sed 's/^/| /' conftest.$ac_ext >&5
2123 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2124 See \`config.log' for more details." >&5
2125 echo "$as_me: error: C compiler cannot create executables
2126 See \`config.log' for more details." >&2;}
2127 { (exit 77); exit 77; }; }
2130 ac_exeext=$ac_cv_exeext
2131 echo "$as_me:$LINENO: result: $ac_file" >&5
2132 echo "${ECHO_T}$ac_file" >&6
2134 # Check the compiler produces executables we can run. If not, either
2135 # the compiler is broken, or we cross compile.
2136 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2137 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2138 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2139 # If not cross compiling, check that we can run a simple program.
2140 if test "$cross_compiling" != yes; then
2141 if { ac_try='./$ac_file'
2142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2146 (exit $ac_status); }; }; then
2149 if test "$cross_compiling" = maybe; then
2152 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2153 If you meant to cross compile, use \`--host'.
2154 See \`config.log' for more details." >&5
2155 echo "$as_me: error: cannot run C compiled programs.
2156 If you meant to cross compile, use \`--host'.
2157 See \`config.log' for more details." >&2;}
2158 { (exit 1); exit 1; }; }
2162 echo "$as_me:$LINENO: result: yes" >&5
2163 echo "${ECHO_T}yes" >&6
2165 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2166 ac_clean_files=$ac_clean_files_save
2167 # Check the compiler produces executables we can run. If not, either
2168 # the compiler is broken, or we cross compile.
2169 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2170 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2171 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2172 echo "${ECHO_T}$cross_compiling" >&6
2174 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2175 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2177 (eval $ac_link) 2>&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); }; then
2181 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2182 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2183 # work properly (i.e., refer to `conftest.exe'), while it won't with
2185 for ac_file in conftest.exe conftest conftest.*; do
2186 test -f "$ac_file" || continue
2188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2189 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2196 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2197 See \`config.log' for more details." >&5
2198 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2199 See \`config.log' for more details." >&2;}
2200 { (exit 1); exit 1; }; }
2203 rm -f conftest$ac_cv_exeext
2204 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2205 echo "${ECHO_T}$ac_cv_exeext" >&6
2207 rm -f conftest.$ac_ext
2208 EXEEXT=$ac_cv_exeext
2210 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2211 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2212 if test "${ac_cv_objext+set}" = set; then
2213 echo $ECHO_N "(cached) $ECHO_C" >&6
2215 cat >conftest.$ac_ext <<_ACEOF
2218 cat confdefs.h >>conftest.$ac_ext
2219 cat >>conftest.$ac_ext <<_ACEOF
2220 /* end confdefs.h. */
2230 rm -f conftest.o conftest.obj
2231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2232 (eval $ac_compile) 2>&5
2234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2235 (exit $ac_status); }; then
2236 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2238 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2239 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2244 echo "$as_me: failed program was:" >&5
2245 sed 's/^/| /' conftest.$ac_ext >&5
2247 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2248 See \`config.log' for more details." >&5
2249 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2250 See \`config.log' for more details." >&2;}
2251 { (exit 1); exit 1; }; }
2254 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2256 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2257 echo "${ECHO_T}$ac_cv_objext" >&6
2258 OBJEXT=$ac_cv_objext
2260 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2261 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2262 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2263 echo $ECHO_N "(cached) $ECHO_C" >&6
2265 cat >conftest.$ac_ext <<_ACEOF
2268 cat confdefs.h >>conftest.$ac_ext
2269 cat >>conftest.$ac_ext <<_ACEOF
2270 /* end confdefs.h. */
2283 rm -f conftest.$ac_objext
2284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2285 (eval $ac_compile) 2>conftest.er1
2287 grep -v '^ *+' conftest.er1 >conftest.err
2289 cat conftest.err >&5
2290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2291 (exit $ac_status); } &&
2292 { ac_try='test -z "$ac_c_werror_flag"
2293 || test ! -s conftest.err'
2294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2298 (exit $ac_status); }; } &&
2299 { ac_try='test -s conftest.$ac_objext'
2300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2304 (exit $ac_status); }; }; then
2307 echo "$as_me: failed program was:" >&5
2308 sed 's/^/| /' conftest.$ac_ext >&5
2312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2313 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2316 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2317 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2318 GCC=`test $ac_compiler_gnu = yes && echo yes`
2319 ac_test_CFLAGS=${CFLAGS+set}
2320 ac_save_CFLAGS=$CFLAGS
2322 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2323 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2324 if test "${ac_cv_prog_cc_g+set}" = set; then
2325 echo $ECHO_N "(cached) $ECHO_C" >&6
2327 cat >conftest.$ac_ext <<_ACEOF
2330 cat confdefs.h >>conftest.$ac_ext
2331 cat >>conftest.$ac_ext <<_ACEOF
2332 /* end confdefs.h. */
2342 rm -f conftest.$ac_objext
2343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2344 (eval $ac_compile) 2>conftest.er1
2346 grep -v '^ *+' conftest.er1 >conftest.err
2348 cat conftest.err >&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); } &&
2351 { ac_try='test -z "$ac_c_werror_flag"
2352 || test ! -s conftest.err'
2353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }; } &&
2358 { ac_try='test -s conftest.$ac_objext'
2359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); }; }; then
2366 echo "$as_me: failed program was:" >&5
2367 sed 's/^/| /' conftest.$ac_ext >&5
2371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2373 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2374 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2375 if test "$ac_test_CFLAGS" = set; then
2376 CFLAGS=$ac_save_CFLAGS
2377 elif test $ac_cv_prog_cc_g = yes; then
2378 if test "$GCC" = yes; then
2384 if test "$GCC" = yes; then
2390 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2391 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2392 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2393 echo $ECHO_N "(cached) $ECHO_C" >&6
2395 ac_cv_prog_cc_stdc=no
2397 cat >conftest.$ac_ext <<_ACEOF
2400 cat confdefs.h >>conftest.$ac_ext
2401 cat >>conftest.$ac_ext <<_ACEOF
2402 /* end confdefs.h. */
2405 #include <sys/types.h>
2406 #include <sys/stat.h>
2407 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2408 struct buf { int x; };
2409 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2410 static char *e (p, i)
2416 static char *f (char * (*g) (char **, int), char **p, ...)
2421 s = g (p, va_arg (v,int));
2426 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2427 function prototypes and stuff, but not '\xHH' hex character constants.
2428 These don't provoke an error unfortunately, instead are silently treated
2429 as 'x'. The following induces an error, until -std1 is added to get
2430 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2431 array size at least. It's necessary to write '\x00'==0 to get something
2432 that's true only with -std1. */
2433 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2435 int test (int i, double x);
2436 struct s1 {int (*f) (int a);};
2437 struct s2 {int (*f) (double a);};
2438 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2444 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2449 # Don't try gcc -ansi; that turns off useful extensions and
2450 # breaks some systems' header files.
2451 # AIX -qlanglvl=ansi
2452 # Ultrix and OSF/1 -std1
2453 # HP-UX 10.20 and later -Ae
2454 # HP-UX older versions -Aa -D_HPUX_SOURCE
2455 # SVR4 -Xc -D__EXTENSIONS__
2456 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2458 CC="$ac_save_CC $ac_arg"
2459 rm -f conftest.$ac_objext
2460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2461 (eval $ac_compile) 2>conftest.er1
2463 grep -v '^ *+' conftest.er1 >conftest.err
2465 cat conftest.err >&5
2466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2467 (exit $ac_status); } &&
2468 { ac_try='test -z "$ac_c_werror_flag"
2469 || test ! -s conftest.err'
2470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); }; } &&
2475 { ac_try='test -s conftest.$ac_objext'
2476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480 (exit $ac_status); }; }; then
2481 ac_cv_prog_cc_stdc=$ac_arg
2484 echo "$as_me: failed program was:" >&5
2485 sed 's/^/| /' conftest.$ac_ext >&5
2488 rm -f conftest.err conftest.$ac_objext
2490 rm -f conftest.$ac_ext conftest.$ac_objext
2495 case "x$ac_cv_prog_cc_stdc" in
2497 echo "$as_me:$LINENO: result: none needed" >&5
2498 echo "${ECHO_T}none needed" >&6 ;;
2500 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2501 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2502 CC="$CC $ac_cv_prog_cc_stdc" ;;
2505 # Some people use a C++ compiler to compile C. Since we use `exit',
2506 # in C++ we need to declare it. In case someone uses the same compiler
2507 # for both compiling C and C++ we need to have the C++ compiler decide
2508 # the declaration of exit, since it's the most demanding environment.
2509 cat >conftest.$ac_ext <<_ACEOF
2514 rm -f conftest.$ac_objext
2515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2516 (eval $ac_compile) 2>conftest.er1
2518 grep -v '^ *+' conftest.er1 >conftest.err
2520 cat conftest.err >&5
2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 (exit $ac_status); } &&
2523 { ac_try='test -z "$ac_c_werror_flag"
2524 || test ! -s conftest.err'
2525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); }; } &&
2530 { ac_try='test -s conftest.$ac_objext'
2531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }; }; then
2536 for ac_declaration in \
2538 'extern "C" void std::exit (int) throw (); using std::exit;' \
2539 'extern "C" void std::exit (int); using std::exit;' \
2540 'extern "C" void exit (int) throw ();' \
2541 'extern "C" void exit (int);' \
2544 cat >conftest.$ac_ext <<_ACEOF
2547 cat confdefs.h >>conftest.$ac_ext
2548 cat >>conftest.$ac_ext <<_ACEOF
2549 /* end confdefs.h. */
2560 rm -f conftest.$ac_objext
2561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2562 (eval $ac_compile) 2>conftest.er1
2564 grep -v '^ *+' conftest.er1 >conftest.err
2566 cat conftest.err >&5
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); } &&
2569 { ac_try='test -z "$ac_c_werror_flag"
2570 || test ! -s conftest.err'
2571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575 (exit $ac_status); }; } &&
2576 { ac_try='test -s conftest.$ac_objext'
2577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); }; }; then
2584 echo "$as_me: failed program was:" >&5
2585 sed 's/^/| /' conftest.$ac_ext >&5
2589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2590 cat >conftest.$ac_ext <<_ACEOF
2593 cat confdefs.h >>conftest.$ac_ext
2594 cat >>conftest.$ac_ext <<_ACEOF
2595 /* end confdefs.h. */
2605 rm -f conftest.$ac_objext
2606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2607 (eval $ac_compile) 2>conftest.er1
2609 grep -v '^ *+' conftest.er1 >conftest.err
2611 cat conftest.err >&5
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); } &&
2614 { ac_try='test -z "$ac_c_werror_flag"
2615 || test ! -s conftest.err'
2616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); }; } &&
2621 { ac_try='test -s conftest.$ac_objext'
2622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); }; }; then
2629 echo "$as_me: failed program was:" >&5
2630 sed 's/^/| /' conftest.$ac_ext >&5
2633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2636 if test -n "$ac_declaration"; then
2637 echo '#ifdef __cplusplus' >>confdefs.h
2638 echo $ac_declaration >>confdefs.h
2639 echo '#endif' >>confdefs.h
2643 echo "$as_me: failed program was:" >&5
2644 sed 's/^/| /' conftest.$ac_ext >&5
2647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2649 ac_cpp='$CPP $CPPFLAGS'
2650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2653 DEPDIR="${am__leading_dot}deps"
2655 ac_config_commands="$ac_config_commands depfiles"
2658 am_make=${MAKE-make}
2659 cat > confinc << 'END'
2664 # If we don't find an include directive, just comment out the code.
2665 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2666 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2670 # First try GNU make style include.
2671 echo "include confinc" > confmf
2672 # We grep out `Entering directory' and `Leaving directory'
2673 # messages which can occur if `w' ends up in MAKEFLAGS.
2674 # In particular we don't look at `^make:' because GNU make might
2675 # be invoked under some other name (usually "gmake"), in which
2676 # case it prints its new name instead of `make'.
2677 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2682 # Now try BSD make style include.
2683 if test "$am__include" = "#"; then
2684 echo '.include "confinc"' > confmf
2685 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2686 am__include=.include
2693 echo "$as_me:$LINENO: result: $_am_result" >&5
2694 echo "${ECHO_T}$_am_result" >&6
2695 rm -f confinc confmf
2697 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2698 if test "${enable_dependency_tracking+set}" = set; then
2699 enableval="$enable_dependency_tracking"
2702 if test "x$enable_dependency_tracking" != xno; then
2703 am_depcomp="$ac_aux_dir/depcomp"
2708 if test "x$enable_dependency_tracking" != xno; then
2719 depcc="$CC" am_compiler_list=
2721 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2722 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2723 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2724 echo $ECHO_N "(cached) $ECHO_C" >&6
2726 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2727 # We make a subdir and do the tests there. Otherwise we can end up
2728 # making bogus files that we don't know about and never remove. For
2729 # instance it was reported that on HP-UX the gcc test will end up
2730 # making a dummy file named `D' -- because `-MD' means `put the output
2733 # Copy depcomp to subdir because otherwise we won't find it if we're
2734 # using a relative directory.
2735 cp "$am_depcomp" conftest.dir
2737 # We will build objects and dependencies in a subdirectory because
2738 # it helps to detect inapplicable dependency modes. For instance
2739 # both Tru64's cc and ICC support -MD to output dependencies as a
2740 # side effect of compilation, but ICC will put the dependencies in
2741 # the current directory while Tru64 will put them in the object
2745 am_cv_CC_dependencies_compiler_type=none
2746 if test "$am_compiler_list" = ""; then
2747 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2749 for depmode in $am_compiler_list; do
2750 # Setup a source with many dependencies, because some compilers
2751 # like to wrap large dependency lists on column 80 (with \), and
2752 # we should not choose a depcomp mode which is confused by this.
2754 # We need to recreate these files for each test, as the compiler may
2755 # overwrite some of them when testing with obscure command lines.
2756 # This happens at least with the AIX C compiler.
2758 for i in 1 2 3 4 5 6; do
2759 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2762 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2766 # after this tag, mechanisms are not by side-effect, so they'll
2767 # only be used when explicitly requested
2768 if test "x$enable_dependency_tracking" = xyes; then
2776 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2777 # mode. It turns out that the SunPro C++ compiler does not properly
2778 # handle `-M -o', and we need to detect this.
2779 if depmode=$depmode \
2780 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2781 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2782 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2783 >/dev/null 2>conftest.err &&
2784 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2785 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2786 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2787 # icc doesn't choke on unknown options, it will just issue warnings
2788 # (even with -Werror). So we grep stderr for any message
2789 # that says an option was ignored.
2790 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2791 am_cv_CC_dependencies_compiler_type=$depmode
2800 am_cv_CC_dependencies_compiler_type=none
2804 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2805 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2806 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2811 test "x$enable_dependency_tracking" != xno \
2812 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2814 am__fastdepCC_FALSE='#'
2816 am__fastdepCC_TRUE='#'
2817 am__fastdepCC_FALSE=
2822 # Extract the first word of "xslt-config", so it can be a program name with args.
2823 set dummy xslt-config; ac_word=$2
2824 echo "$as_me:$LINENO: checking for $ac_word" >&5
2825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2826 if test "${ac_cv_path_XSLT_CONFIG+set}" = set; then
2827 echo $ECHO_N "(cached) $ECHO_C" >&6
2829 case $XSLT_CONFIG in
2831 ac_cv_path_XSLT_CONFIG="$XSLT_CONFIG" # Let the user override the test with a path.
2834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2838 test -z "$as_dir" && as_dir=.
2839 for ac_exec_ext in '' $ac_executable_extensions; do
2840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2841 ac_cv_path_XSLT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2848 test -z "$ac_cv_path_XSLT_CONFIG" && ac_cv_path_XSLT_CONFIG="no"
2852 XSLT_CONFIG=$ac_cv_path_XSLT_CONFIG
2854 if test -n "$XSLT_CONFIG"; then
2855 echo "$as_me:$LINENO: result: $XSLT_CONFIG" >&5
2856 echo "${ECHO_T}$XSLT_CONFIG" >&6
2858 echo "$as_me:$LINENO: result: no" >&5
2859 echo "${ECHO_T}no" >&6
2863 if test $XSLT_CONFIG = "no"
2865 echo "XSLT library not found (see http://xmlsoft.org/)."
2870 XSLT_CFLAGS=`$XSLT_CONFIG --cflags`
2871 XSLT_LFLAGS=`$XSLT_CONFIG --libs`
2872 CFLAGS="$CFLAGS $XSLT_CFLAGS"
2873 LDFLAGS="$LDFLAGS $XSLT_LFLAGS"
2877 echo "$as_me:$LINENO: checking for main in -lexslt" >&5
2878 echo $ECHO_N "checking for main in -lexslt... $ECHO_C" >&6
2879 if test "${ac_cv_lib_exslt_main+set}" = set; then
2880 echo $ECHO_N "(cached) $ECHO_C" >&6
2882 ac_check_lib_save_LIBS=$LIBS
2883 LIBS="-lexslt $LIBS"
2884 cat >conftest.$ac_ext <<_ACEOF
2887 cat confdefs.h >>conftest.$ac_ext
2888 cat >>conftest.$ac_ext <<_ACEOF
2889 /* end confdefs.h. */
2900 rm -f conftest.$ac_objext conftest$ac_exeext
2901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2902 (eval $ac_link) 2>conftest.er1
2904 grep -v '^ *+' conftest.er1 >conftest.err
2906 cat conftest.err >&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); } &&
2909 { ac_try='test -z "$ac_c_werror_flag"
2910 || test ! -s conftest.err'
2911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); }; } &&
2916 { ac_try='test -s conftest$ac_exeext'
2917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }; }; then
2922 ac_cv_lib_exslt_main=yes
2924 echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.$ac_ext >&5
2927 ac_cv_lib_exslt_main=no
2929 rm -f conftest.err conftest.$ac_objext \
2930 conftest$ac_exeext conftest.$ac_ext
2931 LIBS=$ac_check_lib_save_LIBS
2933 echo "$as_me:$LINENO: result: $ac_cv_lib_exslt_main" >&5
2934 echo "${ECHO_T}$ac_cv_lib_exslt_main" >&6
2935 if test $ac_cv_lib_exslt_main = yes; then
2936 cat >>confdefs.h <<_ACEOF
2937 #define HAVE_LIBEXSLT 1
2940 LIBS="-lexslt $LIBS"
2945 echo "$as_me:$LINENO: checking for xmlParseFile in -lxml2" >&5
2946 echo $ECHO_N "checking for xmlParseFile in -lxml2... $ECHO_C" >&6
2947 if test "${ac_cv_lib_xml2_xmlParseFile+set}" = set; then
2948 echo $ECHO_N "(cached) $ECHO_C" >&6
2950 ac_check_lib_save_LIBS=$LIBS
2952 cat >conftest.$ac_ext <<_ACEOF
2955 cat confdefs.h >>conftest.$ac_ext
2956 cat >>conftest.$ac_ext <<_ACEOF
2957 /* end confdefs.h. */
2959 /* Override any gcc2 internal prototype to avoid an error. */
2963 /* We use char because int might match the return type of a gcc2
2964 builtin and then its argument prototype would still apply. */
2965 char xmlParseFile ();
2974 rm -f conftest.$ac_objext conftest$ac_exeext
2975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2976 (eval $ac_link) 2>conftest.er1
2978 grep -v '^ *+' conftest.er1 >conftest.err
2980 cat conftest.err >&5
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982 (exit $ac_status); } &&
2983 { ac_try='test -z "$ac_c_werror_flag"
2984 || test ! -s conftest.err'
2985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); }; } &&
2990 { ac_try='test -s conftest$ac_exeext'
2991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); }; }; then
2996 ac_cv_lib_xml2_xmlParseFile=yes
2998 echo "$as_me: failed program was:" >&5
2999 sed 's/^/| /' conftest.$ac_ext >&5
3001 ac_cv_lib_xml2_xmlParseFile=no
3003 rm -f conftest.err conftest.$ac_objext \
3004 conftest$ac_exeext conftest.$ac_ext
3005 LIBS=$ac_check_lib_save_LIBS
3007 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseFile" >&5
3008 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseFile" >&6
3009 if test $ac_cv_lib_xml2_xmlParseFile = yes; then
3010 cat >>confdefs.h <<_ACEOF
3011 #define HAVE_LIBXML2 1
3019 echo "$as_me:$LINENO: checking for main in -lxslt" >&5
3020 echo $ECHO_N "checking for main in -lxslt... $ECHO_C" >&6
3021 if test "${ac_cv_lib_xslt_main+set}" = set; then
3022 echo $ECHO_N "(cached) $ECHO_C" >&6
3024 ac_check_lib_save_LIBS=$LIBS
3026 cat >conftest.$ac_ext <<_ACEOF
3029 cat confdefs.h >>conftest.$ac_ext
3030 cat >>conftest.$ac_ext <<_ACEOF
3031 /* end confdefs.h. */
3042 rm -f conftest.$ac_objext conftest$ac_exeext
3043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3044 (eval $ac_link) 2>conftest.er1
3046 grep -v '^ *+' conftest.er1 >conftest.err
3048 cat conftest.err >&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); } &&
3051 { ac_try='test -z "$ac_c_werror_flag"
3052 || test ! -s conftest.err'
3053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); }; } &&
3058 { ac_try='test -s conftest$ac_exeext'
3059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); }; }; then
3064 ac_cv_lib_xslt_main=yes
3066 echo "$as_me: failed program was:" >&5
3067 sed 's/^/| /' conftest.$ac_ext >&5
3069 ac_cv_lib_xslt_main=no
3071 rm -f conftest.err conftest.$ac_objext \
3072 conftest$ac_exeext conftest.$ac_ext
3073 LIBS=$ac_check_lib_save_LIBS
3075 echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_main" >&5
3076 echo "${ECHO_T}$ac_cv_lib_xslt_main" >&6
3077 if test $ac_cv_lib_xslt_main = yes; then
3078 cat >>confdefs.h <<_ACEOF
3079 #define HAVE_LIBXSLT 1
3088 ac_cpp='$CPP $CPPFLAGS'
3089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3092 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3093 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3094 # On Suns, sometimes $CPP names a directory.
3095 if test -n "$CPP" && test -d "$CPP"; then
3098 if test -z "$CPP"; then
3099 if test "${ac_cv_prog_CPP+set}" = set; then
3100 echo $ECHO_N "(cached) $ECHO_C" >&6
3102 # Double quotes because CPP needs to be expanded
3103 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3106 for ac_c_preproc_warn_flag in '' yes
3108 # Use a header file that comes with gcc, so configuring glibc
3109 # with a fresh cross-compiler works.
3110 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3111 # <limits.h> exists even on freestanding compilers.
3112 # On the NeXT, cc -E runs the code through the compiler's parser,
3113 # not just through cpp. "Syntax error" is here to catch this case.
3114 cat >conftest.$ac_ext <<_ACEOF
3117 cat confdefs.h >>conftest.$ac_ext
3118 cat >>conftest.$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3121 # include <limits.h>
3123 # include <assert.h>
3127 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3128 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3130 grep -v '^ *+' conftest.er1 >conftest.err
3132 cat conftest.err >&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); } >/dev/null; then
3135 if test -s conftest.err; then
3136 ac_cpp_err=$ac_c_preproc_warn_flag
3137 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3144 if test -z "$ac_cpp_err"; then
3147 echo "$as_me: failed program was:" >&5
3148 sed 's/^/| /' conftest.$ac_ext >&5
3150 # Broken: fails on valid input.
3153 rm -f conftest.err conftest.$ac_ext
3155 # OK, works on sane cases. Now check whether non-existent headers
3156 # can be detected and how.
3157 cat >conftest.$ac_ext <<_ACEOF
3160 cat confdefs.h >>conftest.$ac_ext
3161 cat >>conftest.$ac_ext <<_ACEOF
3162 /* end confdefs.h. */
3163 #include <ac_nonexistent.h>
3165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3168 grep -v '^ *+' conftest.er1 >conftest.err
3170 cat conftest.err >&5
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); } >/dev/null; then
3173 if test -s conftest.err; then
3174 ac_cpp_err=$ac_c_preproc_warn_flag
3175 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3182 if test -z "$ac_cpp_err"; then
3183 # Broken: success on invalid input.
3186 echo "$as_me: failed program was:" >&5
3187 sed 's/^/| /' conftest.$ac_ext >&5
3189 # Passes both tests.
3193 rm -f conftest.err conftest.$ac_ext
3196 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3197 rm -f conftest.err conftest.$ac_ext
3198 if $ac_preproc_ok; then
3210 echo "$as_me:$LINENO: result: $CPP" >&5
3211 echo "${ECHO_T}$CPP" >&6
3213 for ac_c_preproc_warn_flag in '' yes
3215 # Use a header file that comes with gcc, so configuring glibc
3216 # with a fresh cross-compiler works.
3217 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3218 # <limits.h> exists even on freestanding compilers.
3219 # On the NeXT, cc -E runs the code through the compiler's parser,
3220 # not just through cpp. "Syntax error" is here to catch this case.
3221 cat >conftest.$ac_ext <<_ACEOF
3224 cat confdefs.h >>conftest.$ac_ext
3225 cat >>conftest.$ac_ext <<_ACEOF
3226 /* end confdefs.h. */
3228 # include <limits.h>
3230 # include <assert.h>
3234 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3235 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3237 grep -v '^ *+' conftest.er1 >conftest.err
3239 cat conftest.err >&5
3240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3241 (exit $ac_status); } >/dev/null; then
3242 if test -s conftest.err; then
3243 ac_cpp_err=$ac_c_preproc_warn_flag
3244 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3251 if test -z "$ac_cpp_err"; then
3254 echo "$as_me: failed program was:" >&5
3255 sed 's/^/| /' conftest.$ac_ext >&5
3257 # Broken: fails on valid input.
3260 rm -f conftest.err conftest.$ac_ext
3262 # OK, works on sane cases. Now check whether non-existent headers
3263 # can be detected and how.
3264 cat >conftest.$ac_ext <<_ACEOF
3267 cat confdefs.h >>conftest.$ac_ext
3268 cat >>conftest.$ac_ext <<_ACEOF
3269 /* end confdefs.h. */
3270 #include <ac_nonexistent.h>
3272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3273 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3275 grep -v '^ *+' conftest.er1 >conftest.err
3277 cat conftest.err >&5
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); } >/dev/null; then
3280 if test -s conftest.err; then
3281 ac_cpp_err=$ac_c_preproc_warn_flag
3282 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3289 if test -z "$ac_cpp_err"; then
3290 # Broken: success on invalid input.
3293 echo "$as_me: failed program was:" >&5
3294 sed 's/^/| /' conftest.$ac_ext >&5
3296 # Passes both tests.
3300 rm -f conftest.err conftest.$ac_ext
3303 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3304 rm -f conftest.err conftest.$ac_ext
3305 if $ac_preproc_ok; then
3308 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3309 See \`config.log' for more details." >&5
3310 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3311 See \`config.log' for more details." >&2;}
3312 { (exit 1); exit 1; }; }
3316 ac_cpp='$CPP $CPPFLAGS'
3317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3322 echo "$as_me:$LINENO: checking for egrep" >&5
3323 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3324 if test "${ac_cv_prog_egrep+set}" = set; then
3325 echo $ECHO_N "(cached) $ECHO_C" >&6
3327 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3328 then ac_cv_prog_egrep='grep -E'
3329 else ac_cv_prog_egrep='egrep'
3332 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3333 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3334 EGREP=$ac_cv_prog_egrep
3337 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3338 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3339 if test "${ac_cv_header_stdc+set}" = set; then
3340 echo $ECHO_N "(cached) $ECHO_C" >&6
3342 cat >conftest.$ac_ext <<_ACEOF
3345 cat confdefs.h >>conftest.$ac_ext
3346 cat >>conftest.$ac_ext <<_ACEOF
3347 /* end confdefs.h. */
3361 rm -f conftest.$ac_objext
3362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3363 (eval $ac_compile) 2>conftest.er1
3365 grep -v '^ *+' conftest.er1 >conftest.err
3367 cat conftest.err >&5
3368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369 (exit $ac_status); } &&
3370 { ac_try='test -z "$ac_c_werror_flag"
3371 || test ! -s conftest.err'
3372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376 (exit $ac_status); }; } &&
3377 { ac_try='test -s conftest.$ac_objext'
3378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3382 (exit $ac_status); }; }; then
3383 ac_cv_header_stdc=yes
3385 echo "$as_me: failed program was:" >&5
3386 sed 's/^/| /' conftest.$ac_ext >&5
3388 ac_cv_header_stdc=no
3390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3392 if test $ac_cv_header_stdc = yes; then
3393 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3394 cat >conftest.$ac_ext <<_ACEOF
3397 cat confdefs.h >>conftest.$ac_ext
3398 cat >>conftest.$ac_ext <<_ACEOF
3399 /* end confdefs.h. */
3403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3404 $EGREP "memchr" >/dev/null 2>&1; then
3407 ac_cv_header_stdc=no
3413 if test $ac_cv_header_stdc = yes; then
3414 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3415 cat >conftest.$ac_ext <<_ACEOF
3418 cat confdefs.h >>conftest.$ac_ext
3419 cat >>conftest.$ac_ext <<_ACEOF
3420 /* end confdefs.h. */
3424 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3425 $EGREP "free" >/dev/null 2>&1; then
3428 ac_cv_header_stdc=no
3434 if test $ac_cv_header_stdc = yes; then
3435 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3436 if test "$cross_compiling" = yes; then
3439 cat >conftest.$ac_ext <<_ACEOF
3442 cat confdefs.h >>conftest.$ac_ext
3443 cat >>conftest.$ac_ext <<_ACEOF
3444 /* end confdefs.h. */
3446 #if ((' ' & 0x0FF) == 0x020)
3447 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3448 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3450 # define ISLOWER(c) \
3451 (('a' <= (c) && (c) <= 'i') \
3452 || ('j' <= (c) && (c) <= 'r') \
3453 || ('s' <= (c) && (c) <= 'z'))
3454 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3457 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3462 for (i = 0; i < 256; i++)
3463 if (XOR (islower (i), ISLOWER (i))
3464 || toupper (i) != TOUPPER (i))
3469 rm -f conftest$ac_exeext
3470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3471 (eval $ac_link) 2>&5
3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); }; }; then
3482 echo "$as_me: program exited with status $ac_status" >&5
3483 echo "$as_me: failed program was:" >&5
3484 sed 's/^/| /' conftest.$ac_ext >&5
3487 ac_cv_header_stdc=no
3489 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3493 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3494 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3495 if test $ac_cv_header_stdc = yes; then
3497 cat >>confdefs.h <<\_ACEOF
3498 #define STDC_HEADERS 1
3503 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3513 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3514 inttypes.h stdint.h unistd.h
3516 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3517 echo "$as_me:$LINENO: checking for $ac_header" >&5
3518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3520 echo $ECHO_N "(cached) $ECHO_C" >&6
3522 cat >conftest.$ac_ext <<_ACEOF
3525 cat confdefs.h >>conftest.$ac_ext
3526 cat >>conftest.$ac_ext <<_ACEOF
3527 /* end confdefs.h. */
3528 $ac_includes_default
3530 #include <$ac_header>
3532 rm -f conftest.$ac_objext
3533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3534 (eval $ac_compile) 2>conftest.er1
3536 grep -v '^ *+' conftest.er1 >conftest.err
3538 cat conftest.err >&5
3539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3540 (exit $ac_status); } &&
3541 { ac_try='test -z "$ac_c_werror_flag"
3542 || test ! -s conftest.err'
3543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547 (exit $ac_status); }; } &&
3548 { ac_try='test -s conftest.$ac_objext'
3549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); }; }; then
3554 eval "$as_ac_Header=yes"
3556 echo "$as_me: failed program was:" >&5
3557 sed 's/^/| /' conftest.$ac_ext >&5
3559 eval "$as_ac_Header=no"
3561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3566 cat >>confdefs.h <<_ACEOF
3567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3576 for ac_header in unistd.h
3578 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3580 echo "$as_me:$LINENO: checking for $ac_header" >&5
3581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3583 echo $ECHO_N "(cached) $ECHO_C" >&6
3585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3586 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3588 # Is the header compilable?
3589 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3590 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3591 cat >conftest.$ac_ext <<_ACEOF
3594 cat confdefs.h >>conftest.$ac_ext
3595 cat >>conftest.$ac_ext <<_ACEOF
3596 /* end confdefs.h. */
3597 $ac_includes_default
3598 #include <$ac_header>
3600 rm -f conftest.$ac_objext
3601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3602 (eval $ac_compile) 2>conftest.er1
3604 grep -v '^ *+' conftest.er1 >conftest.err
3606 cat conftest.err >&5
3607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608 (exit $ac_status); } &&
3609 { ac_try='test -z "$ac_c_werror_flag"
3610 || test ! -s conftest.err'
3611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615 (exit $ac_status); }; } &&
3616 { ac_try='test -s conftest.$ac_objext'
3617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621 (exit $ac_status); }; }; then
3622 ac_header_compiler=yes
3624 echo "$as_me: failed program was:" >&5
3625 sed 's/^/| /' conftest.$ac_ext >&5
3627 ac_header_compiler=no
3629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3630 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3631 echo "${ECHO_T}$ac_header_compiler" >&6
3633 # Is the header present?
3634 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3635 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3636 cat >conftest.$ac_ext <<_ACEOF
3639 cat confdefs.h >>conftest.$ac_ext
3640 cat >>conftest.$ac_ext <<_ACEOF
3641 /* end confdefs.h. */
3642 #include <$ac_header>
3644 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3645 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3647 grep -v '^ *+' conftest.er1 >conftest.err
3649 cat conftest.err >&5
3650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651 (exit $ac_status); } >/dev/null; then
3652 if test -s conftest.err; then
3653 ac_cpp_err=$ac_c_preproc_warn_flag
3654 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3661 if test -z "$ac_cpp_err"; then
3662 ac_header_preproc=yes
3664 echo "$as_me: failed program was:" >&5
3665 sed 's/^/| /' conftest.$ac_ext >&5
3667 ac_header_preproc=no
3669 rm -f conftest.err conftest.$ac_ext
3670 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3671 echo "${ECHO_T}$ac_header_preproc" >&6
3673 # So? What about this header?
3674 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3676 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3677 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3679 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3680 ac_header_preproc=yes
3683 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3684 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3685 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3686 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3687 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3688 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3689 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3690 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3692 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3693 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3694 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3697 ## ------------------------------------------ ##
3698 ## Report this to the AC_PACKAGE_NAME lists. ##
3699 ## ------------------------------------------ ##
3702 sed "s/^/$as_me: WARNING: /" >&2
3705 echo "$as_me:$LINENO: checking for $ac_header" >&5
3706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3708 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 eval "$as_ac_Header=\$ac_header_preproc"
3712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3717 cat >>confdefs.h <<_ACEOF
3718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3726 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3727 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3728 if test "${ac_cv_c_const+set}" = set; then
3729 echo $ECHO_N "(cached) $ECHO_C" >&6
3731 cat >conftest.$ac_ext <<_ACEOF
3734 cat confdefs.h >>conftest.$ac_ext
3735 cat >>conftest.$ac_ext <<_ACEOF
3736 /* end confdefs.h. */
3741 /* FIXME: Include the comments suggested by Paul. */
3743 /* Ultrix mips cc rejects this. */
3744 typedef int charset[2];
3746 /* SunOS 4.1.1 cc rejects this. */
3747 char const *const *ccp;
3749 /* NEC SVR4.0.2 mips cc rejects this. */
3750 struct point {int x, y;};
3751 static struct point const zero = {0,0};
3752 /* AIX XL C 1.02.0.0 rejects this.
3753 It does not let you subtract one const X* pointer from another in
3754 an arm of an if-expression whose if-part is not a constant
3756 const char *g = "string";
3757 ccp = &g + (g ? g-g : 0);
3758 /* HPUX 7.0 cc rejects these. */
3761 ccp = (char const *const *) p;
3762 { /* SCO 3.2v4 cc rejects this. */
3764 char const *s = 0 ? (char *) 0 : (char const *) 0;
3768 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3770 const int *foo = &x[0];
3773 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3774 typedef const int *iptr;
3778 { /* AIX XL C 1.02.0.0 rejects this saying
3779 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3780 struct s { int j; const int *ap[3]; };
3781 struct s *b; b->j = 5;
3783 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3792 rm -f conftest.$ac_objext
3793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3794 (eval $ac_compile) 2>conftest.er1
3796 grep -v '^ *+' conftest.er1 >conftest.err
3798 cat conftest.err >&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); } &&
3801 { ac_try='test -z "$ac_c_werror_flag"
3802 || test ! -s conftest.err'
3803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); }; } &&
3808 { ac_try='test -s conftest.$ac_objext'
3809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813 (exit $ac_status); }; }; then
3816 echo "$as_me: failed program was:" >&5
3817 sed 's/^/| /' conftest.$ac_ext >&5
3821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3823 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3824 echo "${ECHO_T}$ac_cv_c_const" >&6
3825 if test $ac_cv_c_const = no; then
3827 cat >>confdefs.h <<\_ACEOF
3835 ac_config_files="$ac_config_files Makefile"
3836 cat >confcache <<\_ACEOF
3837 # This file is a shell script that caches the results of configure
3838 # tests run on this system so they can be shared between configure
3839 # scripts and configure runs, see configure's option --config-cache.
3840 # It is not useful on other systems. If it contains results you don't
3841 # want to keep, you may remove or edit it.
3843 # config.status only pays attention to the cache file if you give it
3844 # the --recheck option to rerun configure.
3846 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3847 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3852 # The following way of writing the cache mishandles newlines in values,
3853 # but we know of no workaround that is simple, portable, and efficient.
3854 # So, don't put newlines in cache variables' values.
3855 # Ultrix sh set writes to stderr and can't be redirected directly,
3856 # and sets the high bit in the cache file unless we assign to the vars.
3859 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3861 # `set' does not quote correctly, so add quotes (double-quote
3862 # substitution turns \\\\ into \\, and sed turns \\ into \).
3865 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3868 # `set' quotes correctly as required by POSIX, so do not add quotes.
3870 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3877 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3879 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3881 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3882 if test -w $cache_file; then
3883 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3884 cat confcache >$cache_file
3886 echo "not updating unwritable cache $cache_file"
3891 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3892 # Let make expand exec_prefix.
3893 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3895 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3896 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3897 # trailing colons and then remove the whole line if VPATH becomes empty
3898 # (actually we leave an empty line to preserve line numbers).
3899 if test "x$srcdir" = x.; then
3900 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3901 s/:*\$(srcdir):*/:/;
3902 s/:*\${srcdir}:*/:/;
3904 s/^\([^=]*=[ ]*\):*/\1/;
3910 # Transform confdefs.h into DEFS.
3911 # Protect against shell expansion while executing Makefile rules.
3912 # Protect against Makefile macro expansion.
3914 # If the first sed substitution is executed (which looks for macros that
3915 # take arguments), then we branch to the quote section. Otherwise,
3916 # look for a macro that doesn't take arguments.
3917 cat >confdef2opt.sed <<\_ACEOF
3920 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3922 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3926 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3932 # We use echo to avoid assuming a particular line-breaking character.
3933 # The extra dot is to prevent the shell from consuming trailing
3934 # line-breaks from the sub-command output. A line-break within
3935 # single-quotes doesn't work because, if this script is created in a
3936 # platform that uses two characters for line-breaks (e.g., DOS), tr
3938 ac_LF_and_DOT=`echo; echo .`
3939 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3940 rm -f confdef2opt.sed
3945 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3946 # 1. Remove the extension, and $U if already installed.
3947 ac_i=`echo "$ac_i" |
3948 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3950 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3951 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3955 LTLIBOBJS=$ac_ltlibobjs
3958 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3959 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3960 Usually this means the macro was only invoked conditionally." >&5
3961 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3962 Usually this means the macro was only invoked conditionally." >&2;}
3963 { (exit 1); exit 1; }; }
3965 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3966 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3967 Usually this means the macro was only invoked conditionally." >&5
3968 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3969 Usually this means the macro was only invoked conditionally." >&2;}
3970 { (exit 1); exit 1; }; }
3973 : ${CONFIG_STATUS=./config.status}
3974 ac_clean_files_save=$ac_clean_files
3975 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3976 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3977 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3978 cat >$CONFIG_STATUS <<_ACEOF
3980 # Generated by $as_me.
3981 # Run this file to recreate the current configuration.
3982 # Compiler output produced by configure, useful for debugging
3983 # configure, is in config.log if it exists.
3988 SHELL=\${CONFIG_SHELL-$SHELL}
3991 cat >>$CONFIG_STATUS <<\_ACEOF
3992 ## --------------------- ##
3993 ## M4sh Initialization. ##
3994 ## --------------------- ##
3996 # Be Bourne compatible
3997 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4000 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4001 # is contrary to our usage. Disable this feature.
4002 alias -g '${1+"$@"}'='"$@"'
4003 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4006 DUALCASE=1; export DUALCASE # for MKS sh
4008 # Support unset when possible.
4009 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4016 # Work around bugs in pre-3.0 UWIN ksh.
4017 $as_unset ENV MAIL MAILPATH
4024 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4025 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4026 LC_TELEPHONE LC_TIME
4028 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4029 eval $as_var=C; export $as_var
4035 # Required to use basename.
4036 if expr a : '\(a\)' >/dev/null 2>&1; then
4042 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4043 as_basename=basename
4049 # Name of the executable.
4050 as_me=`$as_basename "$0" ||
4051 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4052 X"$0" : 'X\(//\)$' \| \
4053 X"$0" : 'X\(/\)$' \| \
4054 . : '\(.\)' 2>/dev/null ||
4056 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4057 /^X\/\(\/\/\)$/{ s//\1/; q; }
4058 /^X\/\(\/\).*/{ s//\1/; q; }
4062 # PATH needs CR, and LINENO needs CR and PATH.
4063 # Avoid depending upon Character Ranges.
4064 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4065 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4066 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4067 as_cr_digits='0123456789'
4068 as_cr_alnum=$as_cr_Letters$as_cr_digits
4070 # The user is always right.
4071 if test "${PATH_SEPARATOR+set}" != set; then
4072 echo "#! /bin/sh" >conf$$.sh
4073 echo "exit 0" >>conf$$.sh
4075 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4086 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4087 test "x$as_lineno_1" != "x$as_lineno_2" &&
4088 test "x$as_lineno_3" = "x$as_lineno_2" || {
4089 # Find who we are. Look in the path if we contain no path at all
4092 *[\\/]* ) as_myself=$0 ;;
4093 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4097 test -z "$as_dir" && as_dir=.
4098 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4103 # We did not find ourselves, most probably we were run as `sh COMMAND'
4104 # in which case we are not to be found in the path.
4105 if test "x$as_myself" = x; then
4108 if test ! -f "$as_myself"; then
4109 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4110 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4111 { (exit 1); exit 1; }; }
4113 case $CONFIG_SHELL in
4115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4116 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4119 test -z "$as_dir" && as_dir=.
4120 for as_base in sh bash ksh sh5; do
4123 if ("$as_dir/$as_base" -c '
4126 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4127 test "x$as_lineno_1" != "x$as_lineno_2" &&
4128 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4129 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4130 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4131 CONFIG_SHELL=$as_dir/$as_base
4133 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4141 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4142 # uniformly replaced by the line number. The first 'sed' inserts a
4143 # line-number line before each line; the second 'sed' does the real
4144 # work. The second script uses 'N' to pair each line-number line
4145 # with the numbered line, and appends trailing '-' during
4146 # substitution so that $LINENO is not a special case at line end.
4147 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4148 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4149 sed '=' <$as_myself |
4154 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4157 s,^['$as_cr_digits']*\n,,
4159 chmod +x $as_me.lineno ||
4160 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4161 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4162 { (exit 1); exit 1; }; }
4164 # Don't try to exec as it changes $[0], causing all sort of problems
4165 # (the dirname of $[0] is not the place where we might find the
4166 # original and so on. Autoconf is especially sensible to this).
4168 # Exit status is that of the last command.
4173 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4174 *c*,-n*) ECHO_N= ECHO_C='
4176 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4177 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4180 if expr a : '\(a\)' >/dev/null 2>&1; then
4186 rm -f conf$$ conf$$.exe conf$$.file
4188 if ln -s conf$$.file conf$$ 2>/dev/null; then
4189 # We could just check for DJGPP; but this test a) works b) is more generic
4190 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4191 if test -f conf$$.exe; then
4192 # Don't use ln at all; we don't have any links
4197 elif ln conf$$.file conf$$ 2>/dev/null; then
4202 rm -f conf$$ conf$$.exe conf$$.file
4204 if mkdir -p . 2>/dev/null; then
4207 test -d ./-p && rmdir ./-p
4211 as_executable_p="test -f"
4213 # Sed expression to map a string onto a valid CPP name.
4214 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4216 # Sed expression to map a string onto a valid variable name.
4217 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4221 # We need space, tab and new line, in precisely that order.
4231 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4232 # report actual input values of CONFIG_FILES etc. instead of their
4233 # values after options handling. Logging --version etc. is OK.
4237 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4238 ## Running $as_me. ##
4243 This file was extended by $as_me, which was
4244 generated by GNU Autoconf 2.59. Invocation command line was
4246 CONFIG_FILES = $CONFIG_FILES
4247 CONFIG_HEADERS = $CONFIG_HEADERS
4248 CONFIG_LINKS = $CONFIG_LINKS
4249 CONFIG_COMMANDS = $CONFIG_COMMANDS
4253 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4257 # Files that config.status was made for.
4258 if test -n "$ac_config_files"; then
4259 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4262 if test -n "$ac_config_headers"; then
4263 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4266 if test -n "$ac_config_links"; then
4267 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4270 if test -n "$ac_config_commands"; then
4271 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4274 cat >>$CONFIG_STATUS <<\_ACEOF
4277 \`$as_me' instantiates files from templates according to the
4278 current configuration.
4280 Usage: $0 [OPTIONS] [FILE]...
4282 -h, --help print this help, then exit
4283 -V, --version print version number, then exit
4284 -q, --quiet do not print progress messages
4285 -d, --debug don't remove temporary files
4286 --recheck update $as_me by reconfiguring in the same conditions
4287 --file=FILE[:TEMPLATE]
4288 instantiate the configuration file FILE
4290 Configuration files:
4293 Configuration commands:
4296 Report bugs to <bug-autoconf@gnu.org>."
4299 cat >>$CONFIG_STATUS <<_ACEOF
4302 configured by $0, generated by GNU Autoconf 2.59,
4303 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4305 Copyright (C) 2003 Free Software Foundation, Inc.
4306 This config.status script is free software; the Free Software Foundation
4307 gives unlimited permission to copy, distribute and modify it."
4312 cat >>$CONFIG_STATUS <<\_ACEOF
4313 # If no file are specified by the user, then we need to provide default
4314 # value. By we need to know if files were specified by the user.
4320 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4321 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4329 *) # This is not an option, so the user has probably given explicit
4332 ac_need_defaults=false;;
4336 # Handling of the options.
4338 cat >>$CONFIG_STATUS <<\_ACEOF
4339 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4341 --version | --vers* | -V )
4342 echo "$ac_cs_version"; exit 0 ;;
4344 # Conflict between --help and --header
4345 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4346 Try \`$0 --help' for more information." >&5
4347 echo "$as_me: error: ambiguous option: $1
4348 Try \`$0 --help' for more information." >&2;}
4349 { (exit 1); exit 1; }; };;
4350 --help | --hel | -h )
4351 echo "$ac_cs_usage"; exit 0 ;;
4352 --debug | --d* | -d )
4354 --file | --fil | --fi | --f )
4356 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4357 ac_need_defaults=false;;
4358 --header | --heade | --head | --hea )
4360 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4361 ac_need_defaults=false;;
4362 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4363 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4367 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4368 Try \`$0 --help' for more information." >&5
4369 echo "$as_me: error: unrecognized option: $1
4370 Try \`$0 --help' for more information." >&2;}
4371 { (exit 1); exit 1; }; } ;;
4373 *) ac_config_targets="$ac_config_targets $1" ;;
4379 ac_configure_extra_args=
4381 if $ac_cs_silent; then
4383 ac_configure_extra_args="$ac_configure_extra_args --silent"
4387 cat >>$CONFIG_STATUS <<_ACEOF
4388 if \$ac_cs_recheck; then
4389 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4390 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4395 cat >>$CONFIG_STATUS <<_ACEOF
4397 # INIT-COMMANDS section.
4400 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4406 cat >>$CONFIG_STATUS <<\_ACEOF
4407 for ac_config_target in $ac_config_targets
4409 case "$ac_config_target" in
4410 # Handling of arguments.
4411 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4412 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4413 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4414 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4415 { (exit 1); exit 1; }; };;
4419 # If the user did not use the arguments to specify the items to instantiate,
4420 # then the envvar interface is used. Set only those that are not.
4421 # We use the long form for the default assignment because of an extremely
4422 # bizarre bug on SunOS 4.1.3.
4423 if $ac_need_defaults; then
4424 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4425 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4428 # Have a temporary directory for convenience. Make it in the build tree
4429 # simply because there is no reason to put it here, and in addition,
4430 # creating and moving files from /tmp can sometimes cause problems.
4431 # Create a temporary directory, and hook for its removal unless debugging.
4434 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4435 trap '{ (exit 1); exit 1; }' 1 2 13 15
4438 # Create a (secure) tmp directory for tmp files.
4441 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4442 test -n "$tmp" && test -d "$tmp"
4445 tmp=./confstat$$-$RANDOM
4446 (umask 077 && mkdir $tmp)
4449 echo "$me: cannot create a temporary directory in ." >&2
4450 { (exit 1); exit 1; }
4455 cat >>$CONFIG_STATUS <<_ACEOF
4458 # CONFIG_FILES section.
4461 # No need to generate the scripts if there are no CONFIG_FILES.
4462 # This happens for instance when ./config.status config.h
4463 if test -n "\$CONFIG_FILES"; then
4464 # Protect against being on the right side of a sed subst in config.status.
4465 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4466 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4467 s,@SHELL@,$SHELL,;t t
4468 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4469 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4470 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4471 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4472 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4473 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4474 s,@exec_prefix@,$exec_prefix,;t t
4475 s,@prefix@,$prefix,;t t
4476 s,@program_transform_name@,$program_transform_name,;t t
4477 s,@bindir@,$bindir,;t t
4478 s,@sbindir@,$sbindir,;t t
4479 s,@libexecdir@,$libexecdir,;t t
4480 s,@datadir@,$datadir,;t t
4481 s,@sysconfdir@,$sysconfdir,;t t
4482 s,@sharedstatedir@,$sharedstatedir,;t t
4483 s,@localstatedir@,$localstatedir,;t t
4484 s,@libdir@,$libdir,;t t
4485 s,@includedir@,$includedir,;t t
4486 s,@oldincludedir@,$oldincludedir,;t t
4487 s,@infodir@,$infodir,;t t
4488 s,@mandir@,$mandir,;t t
4489 s,@build_alias@,$build_alias,;t t
4490 s,@host_alias@,$host_alias,;t t
4491 s,@target_alias@,$target_alias,;t t
4493 s,@ECHO_C@,$ECHO_C,;t t
4494 s,@ECHO_N@,$ECHO_N,;t t
4495 s,@ECHO_T@,$ECHO_T,;t t
4497 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4498 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4499 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4500 s,@CYGPATH_W@,$CYGPATH_W,;t t
4501 s,@PACKAGE@,$PACKAGE,;t t
4502 s,@VERSION@,$VERSION,;t t
4503 s,@ACLOCAL@,$ACLOCAL,;t t
4504 s,@AUTOCONF@,$AUTOCONF,;t t
4505 s,@AUTOMAKE@,$AUTOMAKE,;t t
4506 s,@AUTOHEADER@,$AUTOHEADER,;t t
4507 s,@MAKEINFO@,$MAKEINFO,;t t
4508 s,@AMTAR@,$AMTAR,;t t
4509 s,@install_sh@,$install_sh,;t t
4510 s,@STRIP@,$STRIP,;t t
4511 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4512 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4513 s,@mkdir_p@,$mkdir_p,;t t
4515 s,@SET_MAKE@,$SET_MAKE,;t t
4516 s,@am__leading_dot@,$am__leading_dot,;t t
4518 s,@CFLAGS@,$CFLAGS,;t t
4519 s,@LDFLAGS@,$LDFLAGS,;t t
4520 s,@CPPFLAGS@,$CPPFLAGS,;t t
4521 s,@ac_ct_CC@,$ac_ct_CC,;t t
4522 s,@EXEEXT@,$EXEEXT,;t t
4523 s,@OBJEXT@,$OBJEXT,;t t
4524 s,@DEPDIR@,$DEPDIR,;t t
4525 s,@am__include@,$am__include,;t t
4526 s,@am__quote@,$am__quote,;t t
4527 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4528 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4529 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4530 s,@CCDEPMODE@,$CCDEPMODE,;t t
4531 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4532 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4533 s,@XSLT_CONFIG@,$XSLT_CONFIG,;t t
4535 s,@EGREP@,$EGREP,;t t
4536 s,@LIBOBJS@,$LIBOBJS,;t t
4537 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4542 cat >>$CONFIG_STATUS <<\_ACEOF
4543 # Split the substitutions into bite-sized pieces for seds with
4544 # small command number limits, like on Digital OSF/1 and HP-UX.
4546 ac_sed_frag=1 # Number of current file.
4547 ac_beg=1 # First line for current file.
4548 ac_end=$ac_max_sed_lines # Line after last line for current file.
4551 while $ac_more_lines; do
4552 if test $ac_beg -gt 1; then
4553 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4555 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4557 if test ! -s $tmp/subs.frag; then
4560 # The purpose of the label and of the branching condition is to
4561 # speed up the sed processing (if there are no `@' at all, there
4562 # is no need to browse any of the substitutions).
4563 # These are the two extra sed commands mentioned above.
4565 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4566 if test -z "$ac_sed_cmds"; then
4567 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4569 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4571 ac_sed_frag=`expr $ac_sed_frag + 1`
4573 ac_end=`expr $ac_end + $ac_max_sed_lines`
4576 if test -z "$ac_sed_cmds"; then
4579 fi # test -n "$CONFIG_FILES"
4582 cat >>$CONFIG_STATUS <<\_ACEOF
4583 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4584 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4586 - | *:- | *:-:* ) # input from stdin
4588 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4589 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4590 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4591 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4592 * ) ac_file_in=$ac_file.in ;;
4595 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4596 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4597 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4598 X"$ac_file" : 'X\(//\)[^/]' \| \
4599 X"$ac_file" : 'X\(//\)$' \| \
4600 X"$ac_file" : 'X\(/\)' \| \
4601 . : '\(.\)' 2>/dev/null ||
4603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4604 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4605 /^X\(\/\/\)$/{ s//\1/; q; }
4606 /^X\(\/\).*/{ s//\1/; q; }
4608 { if $as_mkdir_p; then
4613 while test ! -d "$as_dir"; do
4614 as_dirs="$as_dir $as_dirs"
4615 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4616 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4617 X"$as_dir" : 'X\(//\)[^/]' \| \
4618 X"$as_dir" : 'X\(//\)$' \| \
4619 X"$as_dir" : 'X\(/\)' \| \
4620 . : '\(.\)' 2>/dev/null ||
4622 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4623 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4624 /^X\(\/\/\)$/{ s//\1/; q; }
4625 /^X\(\/\).*/{ s//\1/; q; }
4628 test ! -n "$as_dirs" || mkdir $as_dirs
4629 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4630 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4631 { (exit 1); exit 1; }; }; }
4635 if test "$ac_dir" != .; then
4636 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4637 # A "../" for each directory in $ac_dir_suffix.
4638 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4640 ac_dir_suffix= ac_top_builddir=
4644 .) # No --srcdir option. We are building in place.
4646 if test -z "$ac_top_builddir"; then
4649 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4651 [\\/]* | ?:[\\/]* ) # Absolute path.
4652 ac_srcdir=$srcdir$ac_dir_suffix;
4653 ac_top_srcdir=$srcdir ;;
4655 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4656 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4659 # Do not use `cd foo && pwd` to compute absolute paths, because
4660 # the directories may not exist.
4662 .) ac_abs_builddir="$ac_dir";;
4665 .) ac_abs_builddir=`pwd`;;
4666 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4667 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4670 case $ac_abs_builddir in
4671 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4673 case ${ac_top_builddir}. in
4674 .) ac_abs_top_builddir=$ac_abs_builddir;;
4675 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4676 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4679 case $ac_abs_builddir in
4680 .) ac_abs_srcdir=$ac_srcdir;;
4683 .) ac_abs_srcdir=$ac_abs_builddir;;
4684 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4685 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4688 case $ac_abs_builddir in
4689 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4691 case $ac_top_srcdir in
4692 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4693 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4694 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4700 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4701 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4704 if test x"$ac_file" != x-; then
4705 { echo "$as_me:$LINENO: creating $ac_file" >&5
4706 echo "$as_me: creating $ac_file" >&6;}
4709 # Let's still pretend it is `configure' which instantiates (i.e., don't
4710 # use $as_me), people would be surprised to read:
4711 # /* config.h. Generated by config.status. */
4712 if test x"$ac_file" = x-; then
4715 configure_input="$ac_file. "
4717 configure_input=$configure_input"Generated from `echo $ac_file_in |
4718 sed 's,.*/,,'` by configure."
4720 # First look for the input files in the build tree, otherwise in the
4722 ac_file_inputs=`IFS=:
4723 for f in $ac_file_in; do
4725 -) echo $tmp/stdin ;;
4727 # Absolute (can't be DOS-style, as IFS=:)
4728 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4729 echo "$as_me: error: cannot find input file: $f" >&2;}
4730 { (exit 1); exit 1; }; }
4733 if test -f "$f"; then
4736 elif test -f "$srcdir/$f"; then
4741 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4742 echo "$as_me: error: cannot find input file: $f" >&2;}
4743 { (exit 1); exit 1; }; }
4746 done` || { (exit 1); exit 1; }
4748 cat >>$CONFIG_STATUS <<_ACEOF
4752 cat >>$CONFIG_STATUS <<\_ACEOF
4754 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4755 s,@configure_input@,$configure_input,;t t
4756 s,@srcdir@,$ac_srcdir,;t t
4757 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4758 s,@top_srcdir@,$ac_top_srcdir,;t t
4759 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4760 s,@builddir@,$ac_builddir,;t t
4761 s,@abs_builddir@,$ac_abs_builddir,;t t
4762 s,@top_builddir@,$ac_top_builddir,;t t
4763 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4764 s,@INSTALL@,$ac_INSTALL,;t t
4765 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4767 if test x"$ac_file" != x-; then
4768 mv $tmp/out $ac_file
4776 cat >>$CONFIG_STATUS <<\_ACEOF
4779 # CONFIG_COMMANDS section.
4781 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4782 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4783 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4784 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4785 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4786 X"$ac_dest" : 'X\(//\)[^/]' \| \
4787 X"$ac_dest" : 'X\(//\)$' \| \
4788 X"$ac_dest" : 'X\(/\)' \| \
4789 . : '\(.\)' 2>/dev/null ||
4791 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4792 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4793 /^X\(\/\/\)$/{ s//\1/; q; }
4794 /^X\(\/\).*/{ s//\1/; q; }
4796 { if $as_mkdir_p; then
4801 while test ! -d "$as_dir"; do
4802 as_dirs="$as_dir $as_dirs"
4803 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4804 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4805 X"$as_dir" : 'X\(//\)[^/]' \| \
4806 X"$as_dir" : 'X\(//\)$' \| \
4807 X"$as_dir" : 'X\(/\)' \| \
4808 . : '\(.\)' 2>/dev/null ||
4810 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4811 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4812 /^X\(\/\/\)$/{ s//\1/; q; }
4813 /^X\(\/\).*/{ s//\1/; q; }
4816 test ! -n "$as_dirs" || mkdir $as_dirs
4817 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4818 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4819 { (exit 1); exit 1; }; }; }
4823 if test "$ac_dir" != .; then
4824 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4825 # A "../" for each directory in $ac_dir_suffix.
4826 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4828 ac_dir_suffix= ac_top_builddir=
4832 .) # No --srcdir option. We are building in place.
4834 if test -z "$ac_top_builddir"; then
4837 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4839 [\\/]* | ?:[\\/]* ) # Absolute path.
4840 ac_srcdir=$srcdir$ac_dir_suffix;
4841 ac_top_srcdir=$srcdir ;;
4843 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4844 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4847 # Do not use `cd foo && pwd` to compute absolute paths, because
4848 # the directories may not exist.
4850 .) ac_abs_builddir="$ac_dir";;
4853 .) ac_abs_builddir=`pwd`;;
4854 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4855 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4858 case $ac_abs_builddir in
4859 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4861 case ${ac_top_builddir}. in
4862 .) ac_abs_top_builddir=$ac_abs_builddir;;
4863 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4864 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4867 case $ac_abs_builddir in
4868 .) ac_abs_srcdir=$ac_srcdir;;
4871 .) ac_abs_srcdir=$ac_abs_builddir;;
4872 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4873 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4876 case $ac_abs_builddir in
4877 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4879 case $ac_top_srcdir in
4880 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4881 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4882 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4887 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4888 echo "$as_me: executing $ac_dest commands" >&6;}
4890 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4891 # Strip MF so we end up with the name of the file.
4892 mf=`echo "$mf" | sed -e 's/:.*$//'`
4893 # Check whether this is an Automake generated Makefile or not.
4894 # We used to match only the files named `Makefile.in', but
4895 # some people rename them; so instead we look at the file content.
4896 # Grep'ing the first line is not enough: some people post-process
4897 # each Makefile.in and add a new line on top of each file to say so.
4898 # So let's grep whole file.
4899 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4900 dirpart=`(dirname "$mf") 2>/dev/null ||
4901 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4902 X"$mf" : 'X\(//\)[^/]' \| \
4903 X"$mf" : 'X\(//\)$' \| \
4904 X"$mf" : 'X\(/\)' \| \
4905 . : '\(.\)' 2>/dev/null ||
4907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4908 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4909 /^X\(\/\/\)$/{ s//\1/; q; }
4910 /^X\(\/\).*/{ s//\1/; q; }
4915 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4916 # Extract the definition of DEP_FILES from the Makefile without
4918 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
4919 test -z "$DEPDIR" && continue
4920 # When using ansi2knr, U may be empty or an underscore; expand it
4921 U=`sed -n -e '/^U = / s///p' < "$mf"`
4922 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4923 # We invoke sed twice because it is the simplest approach to
4924 # changing $(DEPDIR) to its actual value in the expansion.
4925 for file in `sed -n -e '
4926 /^DEP_FILES = .*\\\\$/ {
4935 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
4936 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4937 # Make sure the directory exists.
4938 test -f "$dirpart/$file" && continue
4939 fdir=`(dirname "$file") 2>/dev/null ||
4940 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4941 X"$file" : 'X\(//\)[^/]' \| \
4942 X"$file" : 'X\(//\)$' \| \
4943 X"$file" : 'X\(/\)' \| \
4944 . : '\(.\)' 2>/dev/null ||
4946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4947 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4948 /^X\(\/\/\)$/{ s//\1/; q; }
4949 /^X\(\/\).*/{ s//\1/; q; }
4951 { if $as_mkdir_p; then
4952 mkdir -p $dirpart/$fdir
4954 as_dir=$dirpart/$fdir
4956 while test ! -d "$as_dir"; do
4957 as_dirs="$as_dir $as_dirs"
4958 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4959 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4960 X"$as_dir" : 'X\(//\)[^/]' \| \
4961 X"$as_dir" : 'X\(//\)$' \| \
4962 X"$as_dir" : 'X\(/\)' \| \
4963 . : '\(.\)' 2>/dev/null ||
4965 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4966 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4967 /^X\(\/\/\)$/{ s//\1/; q; }
4968 /^X\(\/\).*/{ s//\1/; q; }
4971 test ! -n "$as_dirs" || mkdir $as_dirs
4972 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4973 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4974 { (exit 1); exit 1; }; }; }
4976 # echo "creating $dirpart/$file"
4977 echo '# dummy' > "$dirpart/$file"
4985 cat >>$CONFIG_STATUS <<\_ACEOF
4987 { (exit 0); exit 0; }
4989 chmod +x $CONFIG_STATUS
4990 ac_clean_files=$ac_clean_files_save
4993 # configure is writing to config.log, and then calls config.status.
4994 # config.status does its own redirection, appending to config.log.
4995 # Unfortunately, on DOS this fails, as config.log is still kept open
4996 # by configure, so config.status won't be able to write to it; its
4997 # output is simply discarded. So we exec the FD to /dev/null,
4998 # effectively closing config.log, so it can be properly (re)opened and
4999 # appended to by config.status. When coming back to configure, we
5000 # need to make the FD available again.
5001 if test "$no_create" != yes; then
5003 ac_config_status_args=
5004 test "$silent" = yes &&
5005 ac_config_status_args="$ac_config_status_args --quiet"
5007 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5009 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5010 # would make configure fail if this is the last instruction.
5011 $ac_cs_success || { (exit 1); exit 1; }