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="README"
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_subdirs_all="$ac_subdirs_all unix"
313 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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 LN_S RANLIB ac_ct_RANLIB LIBTOOL CPP EGREP WARN_CFLAGS WERROR_CFLAGS subdirs targ_subdirs USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB LIBOBJS LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name=s,x,x,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir='${exec_prefix}/bin'
342 sbindir='${exec_prefix}/sbin'
343 libexecdir='${exec_prefix}/libexec'
344 datadir='${prefix}/share'
345 sysconfdir='${prefix}/etc'
346 sharedstatedir='${prefix}/com'
347 localstatedir='${prefix}/var'
348 libdir='${exec_prefix}/lib'
349 includedir='${prefix}/include'
350 oldincludedir='/usr/include'
351 infodir='${prefix}/info'
352 mandir='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir | --bindir | --bindi | --bind | --bin | --bi)
372 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 -build | --build | --buil | --bui | --bu)
376 ac_prev=build_alias ;;
377 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
378 build_alias=$ac_optarg ;;
380 -cache-file | --cache-file | --cache-fil | --cache-fi \
381 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
382 ac_prev=cache_file ;;
383 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
384 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
385 cache_file=$ac_optarg ;;
388 cache_file=config.cache ;;
390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394 datadir=$ac_optarg ;;
396 -disable-* | --disable-*)
397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* | --enable-*)
406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
420 | --exec | --exe | --ex)
421 ac_prev=exec_prefix ;;
422 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
423 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
424 | --exec=* | --exe=* | --ex=*)
425 exec_prefix=$ac_optarg ;;
427 -gas | --gas | --ga | --g)
428 # Obsolete; use --with-gas.
431 -help | --help | --hel | --he | -h)
433 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
434 ac_init_help=recursive ;;
435 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
436 ac_init_help=short ;;
438 -host | --host | --hos | --ho)
439 ac_prev=host_alias ;;
440 -host=* | --host=* | --hos=* | --ho=*)
441 host_alias=$ac_optarg ;;
443 -includedir | --includedir | --includedi | --included | --include \
444 | --includ | --inclu | --incl | --inc)
445 ac_prev=includedir ;;
446 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
447 | --includ=* | --inclu=* | --incl=* | --inc=*)
448 includedir=$ac_optarg ;;
450 -infodir | --infodir | --infodi | --infod | --info | --inf)
452 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
453 infodir=$ac_optarg ;;
455 -libdir | --libdir | --libdi | --libd)
457 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
461 | --libexe | --libex | --libe)
462 ac_prev=libexecdir ;;
463 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
464 | --libexe=* | --libex=* | --libe=*)
465 libexecdir=$ac_optarg ;;
467 -localstatedir | --localstatedir | --localstatedi | --localstated \
468 | --localstate | --localstat | --localsta | --localst \
469 | --locals | --local | --loca | --loc | --lo)
470 ac_prev=localstatedir ;;
471 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
474 localstatedir=$ac_optarg ;;
476 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 # Obsolete; use --without-fp.
485 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
486 | --no-cr | --no-c | -n)
489 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
490 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
494 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
495 | --oldin | --oldi | --old | --ol | --o)
496 ac_prev=oldincludedir ;;
497 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
498 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
499 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
500 oldincludedir=$ac_optarg ;;
502 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 -program-prefix | --program-prefix | --program-prefi | --program-pref \
508 | --program-pre | --program-pr | --program-p)
509 ac_prev=program_prefix ;;
510 -program-prefix=* | --program-prefix=* | --program-prefi=* \
511 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
512 program_prefix=$ac_optarg ;;
514 -program-suffix | --program-suffix | --program-suffi | --program-suff \
515 | --program-suf | --program-su | --program-s)
516 ac_prev=program_suffix ;;
517 -program-suffix=* | --program-suffix=* | --program-suffi=* \
518 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
519 program_suffix=$ac_optarg ;;
521 -program-transform-name | --program-transform-name \
522 | --program-transform-nam | --program-transform-na \
523 | --program-transform-n | --program-transform- \
524 | --program-transform | --program-transfor \
525 | --program-transfo | --program-transf \
526 | --program-trans | --program-tran \
527 | --progr-tra | --program-tr | --program-t)
528 ac_prev=program_transform_name ;;
529 -program-transform-name=* | --program-transform-name=* \
530 | --program-transform-nam=* | --program-transform-na=* \
531 | --program-transform-n=* | --program-transform-=* \
532 | --program-transform=* | --program-transfor=* \
533 | --program-transfo=* | --program-transf=* \
534 | --program-trans=* | --program-tran=* \
535 | --progr-tra=* | --program-tr=* | --program-t=*)
536 program_transform_name=$ac_optarg ;;
538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
539 | -silent | --silent | --silen | --sile | --sil)
542 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546 sbindir=$ac_optarg ;;
548 -sharedstatedir | --sharedstatedir | --sharedstatedi \
549 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
550 | --sharedst | --shareds | --shared | --share | --shar \
552 ac_prev=sharedstatedir ;;
553 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
554 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
555 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557 sharedstatedir=$ac_optarg ;;
559 -site | --site | --sit)
561 -site=* | --site=* | --sit=*)
564 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
570 | --syscon | --sysco | --sysc | --sys | --sy)
571 ac_prev=sysconfdir ;;
572 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
573 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
574 sysconfdir=$ac_optarg ;;
576 -target | --target | --targe | --targ | --tar | --ta | --t)
577 ac_prev=target_alias ;;
578 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
579 target_alias=$ac_optarg ;;
581 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 -version | --version | --versio | --versi | --vers | -V)
588 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* | --without-*)
601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
614 | --x-incl | --x-inc | --x-in | --x-i)
615 ac_prev=x_includes ;;
616 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
617 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
618 x_includes=$ac_optarg ;;
620 -x-libraries | --x-libraries | --x-librarie | --x-librari \
621 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
622 ac_prev=x_libraries ;;
623 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
624 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
625 x_libraries=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var in exec_prefix prefix
662 eval ac_val=$`echo $ac_var`
664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val=$`echo $ac_var`
676 [\\/$]* | ?:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x; then
691 if test "x$build_alias" = x; then
692 cross_compiling=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix=$host_alias-
703 test "$silent" = yes && exec 6>/dev/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set=${build_alias+set}
743 ac_env_build_alias_value=$build_alias
744 ac_cv_env_build_alias_set=${build_alias+set}
745 ac_cv_env_build_alias_value=$build_alias
746 ac_env_host_alias_set=${host_alias+set}
747 ac_env_host_alias_value=$host_alias
748 ac_cv_env_host_alias_set=${host_alias+set}
749 ac_cv_env_host_alias_value=$host_alias
750 ac_env_target_alias_set=${target_alias+set}
751 ac_env_target_alias_value=$target_alias
752 ac_cv_env_target_alias_set=${target_alias+set}
753 ac_cv_env_target_alias_value=$target_alias
754 ac_env_CC_set=${CC+set}
756 ac_cv_env_CC_set=${CC+set}
757 ac_cv_env_CC_value=$CC
758 ac_env_CFLAGS_set=${CFLAGS+set}
759 ac_env_CFLAGS_value=$CFLAGS
760 ac_cv_env_CFLAGS_set=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value=$CFLAGS
762 ac_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_env_LDFLAGS_value=$LDFLAGS
764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value=$LDFLAGS
766 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770 ac_env_CPP_set=${CPP+set}
771 ac_env_CPP_value=$CPP
772 ac_cv_env_CPP_set=${CPP+set}
773 ac_cv_env_CPP_value=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures this package to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
836 --program-prefix=PREFIX prepend PREFIX to installed program names
837 --program-suffix=SUFFIX append SUFFIX to installed program names
838 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
841 --build=BUILD configure for building on BUILD [guessed]
842 --host=HOST cross-compile to build programs to run on HOST [BUILD]
843 --target=TARGET configure for building compilers for TARGET [HOST]
847 if test -n "$ac_init_help"; then
852 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
853 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
854 --enable-maintainer-mode enable make rules and dependencies not useful
855 (and sometimes confusing) to the casual installer
856 --enable-shared=PKGS build shared libraries default=yes
857 --enable-static=PKGS build static libraries default=yes
858 --enable-fast-install=PKGS optimize for fast installation default=yes
859 --disable-dependency-tracking speeds up one-time build
860 --enable-dependency-tracking do not reject slow dependency extractors
861 --disable-libtool-lock avoid locking (might break parallel builds)
862 --enable-build-warnings Enable build-time compiler warnings if gcc is used
863 --enable-rda-build-warnings Enable RDA specific build-time compiler warnings if gcc is used
864 --disable-nls do not use Native Language Support
867 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
868 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
869 --with-gnu-ld assume the C compiler uses GNU ld default=no
870 --with-pic try to use only PIC/non-PIC objects default=use both
871 --with-included-gettext use the GNU gettext library included here
873 Some influential environment variables:
874 CC C compiler command
875 CFLAGS C compiler flags
876 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
877 nonstandard directory <lib dir>
878 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
879 headers in a nonstandard directory <include dir>
882 Use these variables to override the choices made by `configure' or to help
883 it to find libraries and programs with nonstandard names/locations.
888 if test "$ac_init_help" = "recursive"; then
889 # If there are subdirs, report their specific --help.
891 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892 test -d $ac_dir || continue
895 if test "$ac_dir" != .; then
896 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
897 # A "../" for each directory in $ac_dir_suffix.
898 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
900 ac_dir_suffix= ac_top_builddir=
904 .) # No --srcdir option. We are building in place.
906 if test -z "$ac_top_builddir"; then
909 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
911 [\\/]* | ?:[\\/]* ) # Absolute path.
912 ac_srcdir=$srcdir$ac_dir_suffix;
913 ac_top_srcdir=$srcdir ;;
915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916 ac_top_srcdir=$ac_top_builddir$srcdir ;;
919 # Do not use `cd foo && pwd` to compute absolute paths, because
920 # the directories may not exist.
922 .) ac_abs_builddir="$ac_dir";;
925 .) ac_abs_builddir=`pwd`;;
926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927 *) ac_abs_builddir=`pwd`/"$ac_dir";;
930 case $ac_abs_builddir in
931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
933 case ${ac_top_builddir}. in
934 .) ac_abs_top_builddir=$ac_abs_builddir;;
935 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
936 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
939 case $ac_abs_builddir in
940 .) ac_abs_srcdir=$ac_srcdir;;
943 .) ac_abs_srcdir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
948 case $ac_abs_builddir in
949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
951 case $ac_top_srcdir in
952 .) ac_abs_top_srcdir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
954 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
959 # Check for guested configure; otherwise get Cygnus style configure.
960 if test -f $ac_srcdir/configure.gnu; then
962 $SHELL $ac_srcdir/configure.gnu --help=recursive
963 elif test -f $ac_srcdir/configure; then
965 $SHELL $ac_srcdir/configure --help=recursive
966 elif test -f $ac_srcdir/configure.ac ||
967 test -f $ac_srcdir/configure.in; then
971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
981 Copyright (C) 2003 Free Software Foundation, Inc.
982 This configure script is free software; the Free Software Foundation
983 gives unlimited permission to copy, distribute and modify it.
989 This file contains any messages produced by compilers while
990 running configure, to aid debugging if configure makes a mistake.
992 It was created by $as_me, which was
993 generated by GNU Autoconf 2.59. Invocation command line was
1004 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1005 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1006 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1007 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1008 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1010 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1011 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1013 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1014 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1015 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1016 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1017 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1018 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1019 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1027 test -z "$as_dir" && as_dir=.
1028 echo "PATH: $as_dir"
1043 # Keep a trace of the command line.
1044 # Strip out --no-create and --no-recursion so they do not pile up.
1045 # Strip out --silent because we don't want to record it for future runs.
1046 # Also quote any args containing shell meta-characters.
1047 # Make two passes to allow for proper duplicate-argument suppression.
1052 ac_must_keep_next=false
1058 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1060 | -silent | --silent | --silen | --sile | --sil)
1062 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1063 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1066 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1068 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1069 if test $ac_must_keep_next = true; then
1070 ac_must_keep_next=false # Got value, back to normal.
1073 *=* | --config-cache | -C | -disable-* | --disable-* \
1074 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1075 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1076 | -with-* | --with-* | -without-* | --without-* | --x)
1077 case "$ac_configure_args0 " in
1078 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1081 -* ) ac_must_keep_next=true ;;
1084 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1085 # Get rid of the leading space.
1091 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1092 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1094 # When interrupted or exit'd, cleanup temporary files, and complete
1095 # config.log. We remove comments because anyway the quotes in there
1096 # would cause problems or look ugly.
1097 # WARNING: Be sure not to use single quotes in there, as some shells,
1098 # such as our DU 5.0 friend, will then `close' the trap.
1099 trap 'exit_status=$?
1100 # Save into config.log some information that might help in debugging.
1105 ## ---------------- ##
1106 ## Cache variables. ##
1107 ## ---------------- ##
1110 # The following way of writing the cache mishandles newlines in values,
1113 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1116 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1117 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1121 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1128 ## ----------------- ##
1129 ## Output variables. ##
1130 ## ----------------- ##
1133 for ac_var in $ac_subst_vars
1135 eval ac_val=$`echo $ac_var`
1136 echo "$ac_var='"'"'$ac_val'"'"'"
1140 if test -n "$ac_subst_files"; then
1147 for ac_var in $ac_subst_files
1149 eval ac_val=$`echo $ac_var`
1150 echo "$ac_var='"'"'$ac_val'"'"'"
1155 if test -s confdefs.h; then
1162 sed "/^$/d" confdefs.h | sort
1165 test "$ac_signal" != 0 &&
1166 echo "$as_me: caught signal $ac_signal"
1167 echo "$as_me: exit $exit_status"
1169 rm -f core *.core &&
1170 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1173 for ac_signal in 1 2 13 15; do
1174 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1178 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1179 rm -rf conftest* confdefs.h
1180 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1183 # Predefined preprocessor variables.
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_NAME "$PACKAGE_NAME"
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_STRING "$PACKAGE_STRING"
1205 cat >>confdefs.h <<_ACEOF
1206 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1210 # Let the site file select an alternate cache file if it wants to.
1211 # Prefer explicitly selected file to automatically selected ones.
1212 if test -z "$CONFIG_SITE"; then
1213 if test "x$prefix" != xNONE; then
1214 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1216 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1219 for ac_site_file in $CONFIG_SITE; do
1220 if test -r "$ac_site_file"; then
1221 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1222 echo "$as_me: loading site script $ac_site_file" >&6;}
1223 sed 's/^/| /' "$ac_site_file" >&5
1228 if test -r "$cache_file"; then
1229 # Some versions of bash will fail to source /dev/null (special
1230 # files actually), so we avoid doing that.
1231 if test -f "$cache_file"; then
1232 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1233 echo "$as_me: loading cache $cache_file" >&6;}
1235 [\\/]* | ?:[\\/]* ) . $cache_file;;
1236 *) . ./$cache_file;;
1240 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1241 echo "$as_me: creating cache $cache_file" >&6;}
1245 # Check that the precious variables saved in the cache have kept the same
1247 ac_cache_corrupted=false
1248 for ac_var in `(set) 2>&1 |
1249 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1250 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1251 eval ac_new_set=\$ac_env_${ac_var}_set
1252 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1253 eval ac_new_val="\$ac_env_${ac_var}_value"
1254 case $ac_old_set,$ac_new_set in
1256 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1257 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1258 ac_cache_corrupted=: ;;
1260 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1261 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1262 ac_cache_corrupted=: ;;
1265 if test "x$ac_old_val" != "x$ac_new_val"; then
1266 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1267 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1268 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1269 echo "$as_me: former value: $ac_old_val" >&2;}
1270 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1271 echo "$as_me: current value: $ac_new_val" >&2;}
1272 ac_cache_corrupted=:
1275 # Pass precious variables to config.status.
1276 if test "$ac_new_set" = set; then
1278 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1279 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1280 *) ac_arg=$ac_var=$ac_new_val ;;
1282 case " $ac_configure_args " in
1283 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1284 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1288 if $ac_cache_corrupted; then
1289 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1290 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1291 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1292 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1293 { (exit 1); exit 1; }; }
1297 ac_cpp='$CPP $CPPFLAGS'
1298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1321 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1322 if test -f $ac_dir/install-sh; then
1324 ac_install_sh="$ac_aux_dir/install-sh -c"
1326 elif test -f $ac_dir/install.sh; then
1328 ac_install_sh="$ac_aux_dir/install.sh -c"
1330 elif test -f $ac_dir/shtool; then
1332 ac_install_sh="$ac_aux_dir/shtool install -c"
1336 if test -z "$ac_aux_dir"; then
1337 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1338 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1339 { (exit 1); exit 1; }; }
1341 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1342 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1343 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1345 # Make sure we can run config.sub.
1346 $ac_config_sub sun4 >/dev/null 2>&1 ||
1347 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1348 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1349 { (exit 1); exit 1; }; }
1351 echo "$as_me:$LINENO: checking build system type" >&5
1352 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1353 if test "${ac_cv_build+set}" = set; then
1354 echo $ECHO_N "(cached) $ECHO_C" >&6
1356 ac_cv_build_alias=$build_alias
1357 test -z "$ac_cv_build_alias" &&
1358 ac_cv_build_alias=`$ac_config_guess`
1359 test -z "$ac_cv_build_alias" &&
1360 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1361 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1362 { (exit 1); exit 1; }; }
1363 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1364 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1365 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1366 { (exit 1); exit 1; }; }
1369 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1370 echo "${ECHO_T}$ac_cv_build" >&6
1372 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1373 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1374 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1377 echo "$as_me:$LINENO: checking host system type" >&5
1378 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1379 if test "${ac_cv_host+set}" = set; then
1380 echo $ECHO_N "(cached) $ECHO_C" >&6
1382 ac_cv_host_alias=$host_alias
1383 test -z "$ac_cv_host_alias" &&
1384 ac_cv_host_alias=$ac_cv_build_alias
1385 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1386 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1387 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1388 { (exit 1); exit 1; }; }
1391 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1392 echo "${ECHO_T}$ac_cv_host" >&6
1394 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1395 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1396 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1399 echo "$as_me:$LINENO: checking target system type" >&5
1400 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1401 if test "${ac_cv_target+set}" = set; then
1402 echo $ECHO_N "(cached) $ECHO_C" >&6
1404 ac_cv_target_alias=$target_alias
1405 test "x$ac_cv_target_alias" = "x" &&
1406 ac_cv_target_alias=$ac_cv_host_alias
1407 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1408 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1409 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1410 { (exit 1); exit 1; }; }
1413 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1414 echo "${ECHO_T}$ac_cv_target" >&6
1415 target=$ac_cv_target
1416 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1417 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1418 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1421 # The aliases save the names the user supplied, while $host etc.
1422 # will get canonicalized.
1423 test -n "$target_alias" &&
1424 test "$program_prefix$program_suffix$program_transform_name" = \
1426 program_prefix=${target_alias}-
1427 am__api_version="1.9"
1428 # Find a good install program. We prefer a C program (faster),
1429 # so one script is as good as another. But avoid the broken or
1430 # incompatible versions:
1431 # SysV /etc/install, /usr/sbin/install
1432 # SunOS /usr/etc/install
1433 # IRIX /sbin/install
1435 # AmigaOS /C/install, which installs bootblocks on floppy discs
1436 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1437 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1438 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1439 # OS/2's system install, which has a completely different semantic
1440 # ./install, which can be erroneously created by make from ./install.sh.
1441 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1442 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1443 if test -z "$INSTALL"; then
1444 if test "${ac_cv_path_install+set}" = set; then
1445 echo $ECHO_N "(cached) $ECHO_C" >&6
1447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1451 test -z "$as_dir" && as_dir=.
1452 # Account for people who put trailing slashes in PATH elements.
1454 ./ | .// | /cC/* | \
1455 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1456 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1459 # OSF1 and SCO ODT 3.0 have their own names for install.
1460 # Don't use installbsd from OSF since it installs stuff as root
1462 for ac_prog in ginstall scoinst install; do
1463 for ac_exec_ext in '' $ac_executable_extensions; do
1464 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1465 if test $ac_prog = install &&
1466 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1467 # AIX install. It has an incompatible calling convention.
1469 elif test $ac_prog = install &&
1470 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1471 # program-specific install script used by HP pwplus--don't use.
1474 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1486 if test "${ac_cv_path_install+set}" = set; then
1487 INSTALL=$ac_cv_path_install
1489 # As a last resort, use the slow shell script. We don't cache a
1490 # path for INSTALL within a source directory, because that will
1491 # break other packages using the cache if that directory is
1492 # removed, or if the path is relative.
1493 INSTALL=$ac_install_sh
1496 echo "$as_me:$LINENO: result: $INSTALL" >&5
1497 echo "${ECHO_T}$INSTALL" >&6
1499 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1500 # It thinks the first close brace ends the variable substitution.
1501 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1503 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1505 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1507 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1508 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1511 echo timestamp > conftest.file
1512 # Do `set' in a subshell so we don't clobber the current shell's
1513 # arguments. Must try -L first in case configure is actually a
1514 # symlink; some systems play weird games with the mod time of symlinks
1515 # (eg FreeBSD returns the mod time of the symlink's containing
1518 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1519 if test "$*" = "X"; then
1521 set X `ls -t $srcdir/configure conftest.file`
1524 if test "$*" != "X $srcdir/configure conftest.file" \
1525 && test "$*" != "X conftest.file $srcdir/configure"; then
1527 # If neither matched, then we have a broken ls. This can happen
1528 # if, for instance, CONFIG_SHELL is bash and it inherits a
1529 # broken ls alias from the environment. This has actually
1530 # happened. Such a system could not be considered "sane".
1531 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1532 alias in your environment" >&5
1533 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1534 alias in your environment" >&2;}
1535 { (exit 1); exit 1; }; }
1538 test "$2" = conftest.file
1544 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1545 Check your system clock" >&5
1546 echo "$as_me: error: newly created file is older than distributed files!
1547 Check your system clock" >&2;}
1548 { (exit 1); exit 1; }; }
1550 echo "$as_me:$LINENO: result: yes" >&5
1551 echo "${ECHO_T}yes" >&6
1552 test "$program_prefix" != NONE &&
1553 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1554 # Use a double $ so make ignores it.
1555 test "$program_suffix" != NONE &&
1556 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1557 # Double any \ or $. echo might interpret backslashes.
1558 # By default was `s,x,x', remove it if useless.
1559 cat <<\_ACEOF >conftest.sed
1560 s/[\\$]/&&/g;s/;s,x,x,$//
1562 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1565 # expand $ac_aux_dir to an absolute path
1566 am_aux_dir=`cd $ac_aux_dir && pwd`
1568 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1569 # Use eval to expand $SHELL
1570 if eval "$MISSING --run true"; then
1571 am_missing_run="$MISSING --run "
1574 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1575 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1578 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1579 # We used to keeping the `.' as first argument, in order to
1580 # allow $(mkdir_p) to be used without argument. As in
1581 # $(mkdir_p) $(somedir)
1582 # where $(somedir) is conditionally defined. However this is wrong
1584 # 1. if the package is installed by a user who cannot write `.'
1585 # make install will fail,
1586 # 2. the above comment should most certainly read
1587 # $(mkdir_p) $(DESTDIR)$(somedir)
1588 # so it does not work when $(somedir) is undefined and
1589 # $(DESTDIR) is not.
1590 # To support the latter case, we have to write
1591 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1592 # so the `.' trick is pointless.
1593 mkdir_p='mkdir -p --'
1595 # On NextStep and OpenStep, the `mkdir' command does not
1596 # recognize any option. It will interpret all options as
1597 # directories to create, and then abort because `.' already
1599 for d in ./-p ./--version;
1601 test -d $d && rmdir $d
1603 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1604 if test -f "$ac_aux_dir/mkinstalldirs"; then
1605 mkdir_p='$(mkinstalldirs)'
1607 mkdir_p='$(install_sh) -d'
1611 for ac_prog in gawk mawk nawk awk
1613 # Extract the first word of "$ac_prog", so it can be a program name with args.
1614 set dummy $ac_prog; ac_word=$2
1615 echo "$as_me:$LINENO: checking for $ac_word" >&5
1616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1617 if test "${ac_cv_prog_AWK+set}" = set; then
1618 echo $ECHO_N "(cached) $ECHO_C" >&6
1620 if test -n "$AWK"; then
1621 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1627 test -z "$as_dir" && as_dir=.
1628 for ac_exec_ext in '' $ac_executable_extensions; do
1629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1630 ac_cv_prog_AWK="$ac_prog"
1631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1640 if test -n "$AWK"; then
1641 echo "$as_me:$LINENO: result: $AWK" >&5
1642 echo "${ECHO_T}$AWK" >&6
1644 echo "$as_me:$LINENO: result: no" >&5
1645 echo "${ECHO_T}no" >&6
1648 test -n "$AWK" && break
1651 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1652 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1653 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1654 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1655 echo $ECHO_N "(cached) $ECHO_C" >&6
1657 cat >conftest.make <<\_ACEOF
1659 @echo 'ac_maketemp="$(MAKE)"'
1661 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1662 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1663 if test -n "$ac_maketemp"; then
1664 eval ac_cv_prog_make_${ac_make}_set=yes
1666 eval ac_cv_prog_make_${ac_make}_set=no
1670 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1671 echo "$as_me:$LINENO: result: yes" >&5
1672 echo "${ECHO_T}yes" >&6
1675 echo "$as_me:$LINENO: result: no" >&5
1676 echo "${ECHO_T}no" >&6
1677 SET_MAKE="MAKE=${MAKE-make}"
1680 rm -rf .tst 2>/dev/null
1681 mkdir .tst 2>/dev/null
1682 if test -d .tst; then
1687 rmdir .tst 2>/dev/null
1689 # test to see if srcdir already configured
1690 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1691 test -f $srcdir/config.status; then
1692 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1693 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1694 { (exit 1); exit 1; }; }
1697 # test whether we have cygpath
1698 if test -z "$CYGPATH_W"; then
1699 if (cygpath --version) >/dev/null 2>/dev/null; then
1700 CYGPATH_W='cygpath -w'
1707 # Define the identity of the package.
1712 cat >>confdefs.h <<_ACEOF
1713 #define PACKAGE "$PACKAGE"
1717 cat >>confdefs.h <<_ACEOF
1718 #define VERSION "$VERSION"
1721 # Some tools Automake needs.
1723 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1726 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1729 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1732 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1735 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1737 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1739 # Installed binaries are usually stripped using `strip' when the user
1740 # run `make install-strip'. However `strip' might not be the right
1741 # tool to use in cross-compilation environments, therefore Automake
1742 # will honor the `STRIP' environment variable to overrule this program.
1743 if test "$cross_compiling" != no; then
1744 if test -n "$ac_tool_prefix"; then
1745 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1746 set dummy ${ac_tool_prefix}strip; ac_word=$2
1747 echo "$as_me:$LINENO: checking for $ac_word" >&5
1748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1749 if test "${ac_cv_prog_STRIP+set}" = set; then
1750 echo $ECHO_N "(cached) $ECHO_C" >&6
1752 if test -n "$STRIP"; then
1753 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1759 test -z "$as_dir" && as_dir=.
1760 for ac_exec_ext in '' $ac_executable_extensions; do
1761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1762 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1771 STRIP=$ac_cv_prog_STRIP
1772 if test -n "$STRIP"; then
1773 echo "$as_me:$LINENO: result: $STRIP" >&5
1774 echo "${ECHO_T}$STRIP" >&6
1776 echo "$as_me:$LINENO: result: no" >&5
1777 echo "${ECHO_T}no" >&6
1781 if test -z "$ac_cv_prog_STRIP"; then
1783 # Extract the first word of "strip", so it can be a program name with args.
1784 set dummy strip; ac_word=$2
1785 echo "$as_me:$LINENO: checking for $ac_word" >&5
1786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1787 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1788 echo $ECHO_N "(cached) $ECHO_C" >&6
1790 if test -n "$ac_ct_STRIP"; then
1791 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1797 test -z "$as_dir" && as_dir=.
1798 for ac_exec_ext in '' $ac_executable_extensions; do
1799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1800 ac_cv_prog_ac_ct_STRIP="strip"
1801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1807 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1810 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1811 if test -n "$ac_ct_STRIP"; then
1812 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1813 echo "${ECHO_T}$ac_ct_STRIP" >&6
1815 echo "$as_me:$LINENO: result: no" >&5
1816 echo "${ECHO_T}no" >&6
1821 STRIP="$ac_cv_prog_STRIP"
1825 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1827 # We need awk for the "check" target. The system "awk" is bad on
1829 # Always define AMTAR for backward compatibility.
1831 AMTAR=${AMTAR-"${am_missing_run}tar"}
1833 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1839 ac_config_headers="$ac_config_headers config.h:config.in"
1842 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1843 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1844 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1845 if test "${enable_maintainer_mode+set}" = set; then
1846 enableval="$enable_maintainer_mode"
1847 USE_MAINTAINER_MODE=$enableval
1849 USE_MAINTAINER_MODE=no
1851 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1852 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1855 if test $USE_MAINTAINER_MODE = yes; then
1856 MAINTAINER_MODE_TRUE=
1857 MAINTAINER_MODE_FALSE='#'
1859 MAINTAINER_MODE_TRUE='#'
1860 MAINTAINER_MODE_FALSE=
1863 MAINT=$MAINTAINER_MODE_TRUE
1866 # Check whether --enable-shared or --disable-shared was given.
1867 if test "${enable_shared+set}" = set; then
1868 enableval="$enable_shared"
1869 p=${PACKAGE-default}
1871 yes) enable_shared=yes ;;
1872 no) enable_shared=no ;;
1875 # Look at the argument we got. We use all the common list separators.
1876 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1877 for pkg in $enableval; do
1878 if test "X$pkg" = "X$p"; then
1888 # Check whether --enable-static or --disable-static was given.
1889 if test "${enable_static+set}" = set; then
1890 enableval="$enable_static"
1891 p=${PACKAGE-default}
1893 yes) enable_static=yes ;;
1894 no) enable_static=no ;;
1897 # Look at the argument we got. We use all the common list separators.
1898 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1899 for pkg in $enableval; do
1900 if test "X$pkg" = "X$p"; then
1910 # Check whether --enable-fast-install or --disable-fast-install was given.
1911 if test "${enable_fast_install+set}" = set; then
1912 enableval="$enable_fast_install"
1913 p=${PACKAGE-default}
1915 yes) enable_fast_install=yes ;;
1916 no) enable_fast_install=no ;;
1918 enable_fast_install=no
1919 # Look at the argument we got. We use all the common list separators.
1920 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1921 for pkg in $enableval; do
1922 if test "X$pkg" = "X$p"; then
1923 enable_fast_install=yes
1930 enable_fast_install=yes
1932 DEPDIR="${am__leading_dot}deps"
1934 ac_config_commands="$ac_config_commands depfiles"
1937 am_make=${MAKE-make}
1938 cat > confinc << 'END'
1943 # If we don't find an include directive, just comment out the code.
1944 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1945 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1949 # First try GNU make style include.
1950 echo "include confinc" > confmf
1951 # We grep out `Entering directory' and `Leaving directory'
1952 # messages which can occur if `w' ends up in MAKEFLAGS.
1953 # In particular we don't look at `^make:' because GNU make might
1954 # be invoked under some other name (usually "gmake"), in which
1955 # case it prints its new name instead of `make'.
1956 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1961 # Now try BSD make style include.
1962 if test "$am__include" = "#"; then
1963 echo '.include "confinc"' > confmf
1964 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1965 am__include=.include
1972 echo "$as_me:$LINENO: result: $_am_result" >&5
1973 echo "${ECHO_T}$_am_result" >&6
1974 rm -f confinc confmf
1976 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1977 if test "${enable_dependency_tracking+set}" = set; then
1978 enableval="$enable_dependency_tracking"
1981 if test "x$enable_dependency_tracking" != xno; then
1982 am_depcomp="$ac_aux_dir/depcomp"
1987 if test "x$enable_dependency_tracking" != xno; then
1998 ac_cpp='$CPP $CPPFLAGS'
1999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2002 if test -n "$ac_tool_prefix"; then
2003 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2004 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2005 echo "$as_me:$LINENO: checking for $ac_word" >&5
2006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2007 if test "${ac_cv_prog_CC+set}" = set; then
2008 echo $ECHO_N "(cached) $ECHO_C" >&6
2010 if test -n "$CC"; then
2011 ac_cv_prog_CC="$CC" # Let the user override the test.
2013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2017 test -z "$as_dir" && as_dir=.
2018 for ac_exec_ext in '' $ac_executable_extensions; do
2019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2020 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2030 if test -n "$CC"; then
2031 echo "$as_me:$LINENO: result: $CC" >&5
2032 echo "${ECHO_T}$CC" >&6
2034 echo "$as_me:$LINENO: result: no" >&5
2035 echo "${ECHO_T}no" >&6
2039 if test -z "$ac_cv_prog_CC"; then
2041 # Extract the first word of "gcc", so it can be a program name with args.
2042 set dummy gcc; ac_word=$2
2043 echo "$as_me:$LINENO: checking for $ac_word" >&5
2044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2045 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2046 echo $ECHO_N "(cached) $ECHO_C" >&6
2048 if test -n "$ac_ct_CC"; then
2049 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2055 test -z "$as_dir" && as_dir=.
2056 for ac_exec_ext in '' $ac_executable_extensions; do
2057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2058 ac_cv_prog_ac_ct_CC="gcc"
2059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2067 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2068 if test -n "$ac_ct_CC"; then
2069 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2070 echo "${ECHO_T}$ac_ct_CC" >&6
2072 echo "$as_me:$LINENO: result: no" >&5
2073 echo "${ECHO_T}no" >&6
2081 if test -z "$CC"; then
2082 if test -n "$ac_tool_prefix"; then
2083 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2084 set dummy ${ac_tool_prefix}cc; ac_word=$2
2085 echo "$as_me:$LINENO: checking for $ac_word" >&5
2086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2087 if test "${ac_cv_prog_CC+set}" = set; then
2088 echo $ECHO_N "(cached) $ECHO_C" >&6
2090 if test -n "$CC"; then
2091 ac_cv_prog_CC="$CC" # Let the user override the test.
2093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097 test -z "$as_dir" && as_dir=.
2098 for ac_exec_ext in '' $ac_executable_extensions; do
2099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2100 ac_cv_prog_CC="${ac_tool_prefix}cc"
2101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2110 if test -n "$CC"; then
2111 echo "$as_me:$LINENO: result: $CC" >&5
2112 echo "${ECHO_T}$CC" >&6
2114 echo "$as_me:$LINENO: result: no" >&5
2115 echo "${ECHO_T}no" >&6
2119 if test -z "$ac_cv_prog_CC"; then
2121 # Extract the first word of "cc", so it can be a program name with args.
2122 set dummy cc; ac_word=$2
2123 echo "$as_me:$LINENO: checking for $ac_word" >&5
2124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2125 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2126 echo $ECHO_N "(cached) $ECHO_C" >&6
2128 if test -n "$ac_ct_CC"; then
2129 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2135 test -z "$as_dir" && as_dir=.
2136 for ac_exec_ext in '' $ac_executable_extensions; do
2137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2138 ac_cv_prog_ac_ct_CC="cc"
2139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2147 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2148 if test -n "$ac_ct_CC"; then
2149 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2150 echo "${ECHO_T}$ac_ct_CC" >&6
2152 echo "$as_me:$LINENO: result: no" >&5
2153 echo "${ECHO_T}no" >&6
2162 if test -z "$CC"; then
2163 # Extract the first word of "cc", so it can be a program name with args.
2164 set dummy cc; ac_word=$2
2165 echo "$as_me:$LINENO: checking for $ac_word" >&5
2166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2167 if test "${ac_cv_prog_CC+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 if test -n "$CC"; then
2171 ac_cv_prog_CC="$CC" # Let the user override the test.
2174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2178 test -z "$as_dir" && as_dir=.
2179 for ac_exec_ext in '' $ac_executable_extensions; do
2180 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2181 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2182 ac_prog_rejected=yes
2186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 if test $ac_prog_rejected = yes; then
2193 # We found a bogon in the path, so make sure we never use it.
2194 set dummy $ac_cv_prog_CC
2196 if test $# != 0; then
2197 # We chose a different compiler from the bogus one.
2198 # However, it has the same basename, so the bogon will be chosen
2199 # first if we set CC to just the basename; use the full file name.
2201 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2207 if test -n "$CC"; then
2208 echo "$as_me:$LINENO: result: $CC" >&5
2209 echo "${ECHO_T}$CC" >&6
2211 echo "$as_me:$LINENO: result: no" >&5
2212 echo "${ECHO_T}no" >&6
2216 if test -z "$CC"; then
2217 if test -n "$ac_tool_prefix"; then
2220 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2221 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2222 echo "$as_me:$LINENO: checking for $ac_word" >&5
2223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2224 if test "${ac_cv_prog_CC+set}" = set; then
2225 echo $ECHO_N "(cached) $ECHO_C" >&6
2227 if test -n "$CC"; then
2228 ac_cv_prog_CC="$CC" # Let the user override the test.
2230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2234 test -z "$as_dir" && as_dir=.
2235 for ac_exec_ext in '' $ac_executable_extensions; do
2236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2237 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2247 if test -n "$CC"; then
2248 echo "$as_me:$LINENO: result: $CC" >&5
2249 echo "${ECHO_T}$CC" >&6
2251 echo "$as_me:$LINENO: result: no" >&5
2252 echo "${ECHO_T}no" >&6
2255 test -n "$CC" && break
2258 if test -z "$CC"; then
2262 # Extract the first word of "$ac_prog", so it can be a program name with args.
2263 set dummy $ac_prog; ac_word=$2
2264 echo "$as_me:$LINENO: checking for $ac_word" >&5
2265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2266 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2267 echo $ECHO_N "(cached) $ECHO_C" >&6
2269 if test -n "$ac_ct_CC"; then
2270 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2276 test -z "$as_dir" && as_dir=.
2277 for ac_exec_ext in '' $ac_executable_extensions; do
2278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2279 ac_cv_prog_ac_ct_CC="$ac_prog"
2280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2289 if test -n "$ac_ct_CC"; then
2290 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2291 echo "${ECHO_T}$ac_ct_CC" >&6
2293 echo "$as_me:$LINENO: result: no" >&5
2294 echo "${ECHO_T}no" >&6
2297 test -n "$ac_ct_CC" && break
2306 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2307 See \`config.log' for more details." >&5
2308 echo "$as_me: error: no acceptable C compiler found in \$PATH
2309 See \`config.log' for more details." >&2;}
2310 { (exit 1); exit 1; }; }
2312 # Provide some information about the compiler.
2313 echo "$as_me:$LINENO:" \
2314 "checking for C compiler version" >&5
2315 ac_compiler=`set X $ac_compile; echo $2`
2316 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2317 (eval $ac_compiler --version </dev/null >&5) 2>&5
2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320 (exit $ac_status); }
2321 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2322 (eval $ac_compiler -v </dev/null >&5) 2>&5
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); }
2326 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2327 (eval $ac_compiler -V </dev/null >&5) 2>&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }
2332 cat >conftest.$ac_ext <<_ACEOF
2335 cat confdefs.h >>conftest.$ac_ext
2336 cat >>conftest.$ac_ext <<_ACEOF
2337 /* end confdefs.h. */
2347 ac_clean_files_save=$ac_clean_files
2348 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2349 # Try to create an executable without -o first, disregard a.out.
2350 # It will help us diagnose broken compilers, and finding out an intuition
2352 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2353 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2354 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2355 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2356 (eval $ac_link_default) 2>&5
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); }; then
2360 # Find the output, starting from the most likely. This scheme is
2361 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2364 # Be careful to initialize this variable, since it used to be cached.
2365 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2367 # b.out is created by i960 compilers.
2368 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2370 test -f "$ac_file" || continue
2372 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2375 # This is the source file.
2378 # We found the default executable, but exeext='' is most
2382 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2383 # FIXME: I believe we export ac_cv_exeext for Libtool,
2384 # but it would be cool to find out if it's true. Does anybody
2385 # maintain Libtool? --akim.
2393 echo "$as_me: failed program was:" >&5
2394 sed 's/^/| /' conftest.$ac_ext >&5
2396 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2397 See \`config.log' for more details." >&5
2398 echo "$as_me: error: C compiler cannot create executables
2399 See \`config.log' for more details." >&2;}
2400 { (exit 77); exit 77; }; }
2403 ac_exeext=$ac_cv_exeext
2404 echo "$as_me:$LINENO: result: $ac_file" >&5
2405 echo "${ECHO_T}$ac_file" >&6
2407 # Check the compiler produces executables we can run. If not, either
2408 # the compiler is broken, or we cross compile.
2409 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2410 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2411 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2412 # If not cross compiling, check that we can run a simple program.
2413 if test "$cross_compiling" != yes; then
2414 if { ac_try='./$ac_file'
2415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); }; }; then
2422 if test "$cross_compiling" = maybe; then
2425 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2426 If you meant to cross compile, use \`--host'.
2427 See \`config.log' for more details." >&5
2428 echo "$as_me: error: cannot run C compiled programs.
2429 If you meant to cross compile, use \`--host'.
2430 See \`config.log' for more details." >&2;}
2431 { (exit 1); exit 1; }; }
2435 echo "$as_me:$LINENO: result: yes" >&5
2436 echo "${ECHO_T}yes" >&6
2438 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2439 ac_clean_files=$ac_clean_files_save
2440 # Check the compiler produces executables we can run. If not, either
2441 # the compiler is broken, or we cross compile.
2442 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2443 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2444 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2445 echo "${ECHO_T}$cross_compiling" >&6
2447 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2448 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2450 (eval $ac_link) 2>&5
2452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453 (exit $ac_status); }; then
2454 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2455 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2456 # work properly (i.e., refer to `conftest.exe'), while it won't with
2458 for ac_file in conftest.exe conftest conftest.*; do
2459 test -f "$ac_file" || continue
2461 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2462 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2469 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2470 See \`config.log' for more details." >&5
2471 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2472 See \`config.log' for more details." >&2;}
2473 { (exit 1); exit 1; }; }
2476 rm -f conftest$ac_cv_exeext
2477 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2478 echo "${ECHO_T}$ac_cv_exeext" >&6
2480 rm -f conftest.$ac_ext
2481 EXEEXT=$ac_cv_exeext
2483 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2484 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2485 if test "${ac_cv_objext+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 cat >conftest.$ac_ext <<_ACEOF
2491 cat confdefs.h >>conftest.$ac_ext
2492 cat >>conftest.$ac_ext <<_ACEOF
2493 /* end confdefs.h. */
2503 rm -f conftest.o conftest.obj
2504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2505 (eval $ac_compile) 2>&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); }; then
2509 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2511 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2512 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2517 echo "$as_me: failed program was:" >&5
2518 sed 's/^/| /' conftest.$ac_ext >&5
2520 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2521 See \`config.log' for more details." >&5
2522 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2523 See \`config.log' for more details." >&2;}
2524 { (exit 1); exit 1; }; }
2527 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2529 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2530 echo "${ECHO_T}$ac_cv_objext" >&6
2531 OBJEXT=$ac_cv_objext
2533 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2534 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2535 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2536 echo $ECHO_N "(cached) $ECHO_C" >&6
2538 cat >conftest.$ac_ext <<_ACEOF
2541 cat confdefs.h >>conftest.$ac_ext
2542 cat >>conftest.$ac_ext <<_ACEOF
2543 /* end confdefs.h. */
2556 rm -f conftest.$ac_objext
2557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2558 (eval $ac_compile) 2>conftest.er1
2560 grep -v '^ *+' conftest.er1 >conftest.err
2562 cat conftest.err >&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); } &&
2565 { ac_try='test -z "$ac_c_werror_flag"
2566 || test ! -s conftest.err'
2567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571 (exit $ac_status); }; } &&
2572 { ac_try='test -s conftest.$ac_objext'
2573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); }; }; then
2580 echo "$as_me: failed program was:" >&5
2581 sed 's/^/| /' conftest.$ac_ext >&5
2585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2586 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2589 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2590 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2591 GCC=`test $ac_compiler_gnu = yes && echo yes`
2592 ac_test_CFLAGS=${CFLAGS+set}
2593 ac_save_CFLAGS=$CFLAGS
2595 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2596 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2597 if test "${ac_cv_prog_cc_g+set}" = set; then
2598 echo $ECHO_N "(cached) $ECHO_C" >&6
2600 cat >conftest.$ac_ext <<_ACEOF
2603 cat confdefs.h >>conftest.$ac_ext
2604 cat >>conftest.$ac_ext <<_ACEOF
2605 /* end confdefs.h. */
2615 rm -f conftest.$ac_objext
2616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2617 (eval $ac_compile) 2>conftest.er1
2619 grep -v '^ *+' conftest.er1 >conftest.err
2621 cat conftest.err >&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); } &&
2624 { ac_try='test -z "$ac_c_werror_flag"
2625 || test ! -s conftest.err'
2626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }; } &&
2631 { ac_try='test -s conftest.$ac_objext'
2632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }; }; then
2639 echo "$as_me: failed program was:" >&5
2640 sed 's/^/| /' conftest.$ac_ext >&5
2644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2646 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2647 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2648 if test "$ac_test_CFLAGS" = set; then
2649 CFLAGS=$ac_save_CFLAGS
2650 elif test $ac_cv_prog_cc_g = yes; then
2651 if test "$GCC" = yes; then
2657 if test "$GCC" = yes; then
2663 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2664 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2665 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2666 echo $ECHO_N "(cached) $ECHO_C" >&6
2668 ac_cv_prog_cc_stdc=no
2670 cat >conftest.$ac_ext <<_ACEOF
2673 cat confdefs.h >>conftest.$ac_ext
2674 cat >>conftest.$ac_ext <<_ACEOF
2675 /* end confdefs.h. */
2678 #include <sys/types.h>
2679 #include <sys/stat.h>
2680 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2681 struct buf { int x; };
2682 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2683 static char *e (p, i)
2689 static char *f (char * (*g) (char **, int), char **p, ...)
2694 s = g (p, va_arg (v,int));
2699 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2700 function prototypes and stuff, but not '\xHH' hex character constants.
2701 These don't provoke an error unfortunately, instead are silently treated
2702 as 'x'. The following induces an error, until -std1 is added to get
2703 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2704 array size at least. It's necessary to write '\x00'==0 to get something
2705 that's true only with -std1. */
2706 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2708 int test (int i, double x);
2709 struct s1 {int (*f) (int a);};
2710 struct s2 {int (*f) (double a);};
2711 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2717 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2722 # Don't try gcc -ansi; that turns off useful extensions and
2723 # breaks some systems' header files.
2724 # AIX -qlanglvl=ansi
2725 # Ultrix and OSF/1 -std1
2726 # HP-UX 10.20 and later -Ae
2727 # HP-UX older versions -Aa -D_HPUX_SOURCE
2728 # SVR4 -Xc -D__EXTENSIONS__
2729 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2731 CC="$ac_save_CC $ac_arg"
2732 rm -f conftest.$ac_objext
2733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2734 (eval $ac_compile) 2>conftest.er1
2736 grep -v '^ *+' conftest.er1 >conftest.err
2738 cat conftest.err >&5
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); } &&
2741 { ac_try='test -z "$ac_c_werror_flag"
2742 || test ! -s conftest.err'
2743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 (exit $ac_status); }; } &&
2748 { ac_try='test -s conftest.$ac_objext'
2749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }; }; then
2754 ac_cv_prog_cc_stdc=$ac_arg
2757 echo "$as_me: failed program was:" >&5
2758 sed 's/^/| /' conftest.$ac_ext >&5
2761 rm -f conftest.err conftest.$ac_objext
2763 rm -f conftest.$ac_ext conftest.$ac_objext
2768 case "x$ac_cv_prog_cc_stdc" in
2770 echo "$as_me:$LINENO: result: none needed" >&5
2771 echo "${ECHO_T}none needed" >&6 ;;
2773 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2774 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2775 CC="$CC $ac_cv_prog_cc_stdc" ;;
2778 # Some people use a C++ compiler to compile C. Since we use `exit',
2779 # in C++ we need to declare it. In case someone uses the same compiler
2780 # for both compiling C and C++ we need to have the C++ compiler decide
2781 # the declaration of exit, since it's the most demanding environment.
2782 cat >conftest.$ac_ext <<_ACEOF
2787 rm -f conftest.$ac_objext
2788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2789 (eval $ac_compile) 2>conftest.er1
2791 grep -v '^ *+' conftest.er1 >conftest.err
2793 cat conftest.err >&5
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); } &&
2796 { ac_try='test -z "$ac_c_werror_flag"
2797 || test ! -s conftest.err'
2798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802 (exit $ac_status); }; } &&
2803 { ac_try='test -s conftest.$ac_objext'
2804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 (exit $ac_status); }; }; then
2809 for ac_declaration in \
2811 'extern "C" void std::exit (int) throw (); using std::exit;' \
2812 'extern "C" void std::exit (int); using std::exit;' \
2813 'extern "C" void exit (int) throw ();' \
2814 'extern "C" void exit (int);' \
2817 cat >conftest.$ac_ext <<_ACEOF
2820 cat confdefs.h >>conftest.$ac_ext
2821 cat >>conftest.$ac_ext <<_ACEOF
2822 /* end confdefs.h. */
2833 rm -f conftest.$ac_objext
2834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2835 (eval $ac_compile) 2>conftest.er1
2837 grep -v '^ *+' conftest.er1 >conftest.err
2839 cat conftest.err >&5
2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841 (exit $ac_status); } &&
2842 { ac_try='test -z "$ac_c_werror_flag"
2843 || test ! -s conftest.err'
2844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848 (exit $ac_status); }; } &&
2849 { ac_try='test -s conftest.$ac_objext'
2850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854 (exit $ac_status); }; }; then
2857 echo "$as_me: failed program was:" >&5
2858 sed 's/^/| /' conftest.$ac_ext >&5
2862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2863 cat >conftest.$ac_ext <<_ACEOF
2866 cat confdefs.h >>conftest.$ac_ext
2867 cat >>conftest.$ac_ext <<_ACEOF
2868 /* end confdefs.h. */
2878 rm -f conftest.$ac_objext
2879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2880 (eval $ac_compile) 2>conftest.er1
2882 grep -v '^ *+' conftest.er1 >conftest.err
2884 cat conftest.err >&5
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); } &&
2887 { ac_try='test -z "$ac_c_werror_flag"
2888 || test ! -s conftest.err'
2889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); }; } &&
2894 { ac_try='test -s conftest.$ac_objext'
2895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); }; }; then
2902 echo "$as_me: failed program was:" >&5
2903 sed 's/^/| /' conftest.$ac_ext >&5
2906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2909 if test -n "$ac_declaration"; then
2910 echo '#ifdef __cplusplus' >>confdefs.h
2911 echo $ac_declaration >>confdefs.h
2912 echo '#endif' >>confdefs.h
2916 echo "$as_me: failed program was:" >&5
2917 sed 's/^/| /' conftest.$ac_ext >&5
2920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2922 ac_cpp='$CPP $CPPFLAGS'
2923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2927 depcc="$CC" am_compiler_list=
2929 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2930 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2931 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2932 echo $ECHO_N "(cached) $ECHO_C" >&6
2934 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2935 # We make a subdir and do the tests there. Otherwise we can end up
2936 # making bogus files that we don't know about and never remove. For
2937 # instance it was reported that on HP-UX the gcc test will end up
2938 # making a dummy file named `D' -- because `-MD' means `put the output
2941 # Copy depcomp to subdir because otherwise we won't find it if we're
2942 # using a relative directory.
2943 cp "$am_depcomp" conftest.dir
2945 # We will build objects and dependencies in a subdirectory because
2946 # it helps to detect inapplicable dependency modes. For instance
2947 # both Tru64's cc and ICC support -MD to output dependencies as a
2948 # side effect of compilation, but ICC will put the dependencies in
2949 # the current directory while Tru64 will put them in the object
2953 am_cv_CC_dependencies_compiler_type=none
2954 if test "$am_compiler_list" = ""; then
2955 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2957 for depmode in $am_compiler_list; do
2958 # Setup a source with many dependencies, because some compilers
2959 # like to wrap large dependency lists on column 80 (with \), and
2960 # we should not choose a depcomp mode which is confused by this.
2962 # We need to recreate these files for each test, as the compiler may
2963 # overwrite some of them when testing with obscure command lines.
2964 # This happens at least with the AIX C compiler.
2966 for i in 1 2 3 4 5 6; do
2967 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2968 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2969 # Solaris 8's {/usr,}/bin/sh.
2970 touch sub/conftst$i.h
2972 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2976 # after this tag, mechanisms are not by side-effect, so they'll
2977 # only be used when explicitly requested
2978 if test "x$enable_dependency_tracking" = xyes; then
2986 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2987 # mode. It turns out that the SunPro C++ compiler does not properly
2988 # handle `-M -o', and we need to detect this.
2989 if depmode=$depmode \
2990 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2991 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2992 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2993 >/dev/null 2>conftest.err &&
2994 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2995 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2996 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2997 # icc doesn't choke on unknown options, it will just issue warnings
2998 # or remarks (even with -Werror). So we grep stderr for any message
2999 # that says an option was ignored or not supported.
3000 # When given -MP, icc 7.0 and 7.1 complain thusly:
3001 # icc: Command line warning: ignoring option '-M'; no argument required
3002 # The diagnosis changed in icc 8.0:
3003 # icc: Command line remark: option '-MP' not supported
3004 if (grep 'ignoring option' conftest.err ||
3005 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3006 am_cv_CC_dependencies_compiler_type=$depmode
3015 am_cv_CC_dependencies_compiler_type=none
3019 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3020 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3021 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3026 test "x$enable_dependency_tracking" != xno \
3027 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3029 am__fastdepCC_FALSE='#'
3031 am__fastdepCC_TRUE='#'
3032 am__fastdepCC_FALSE=
3037 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3038 if test "${with_gnu_ld+set}" = set; then
3039 withval="$with_gnu_ld"
3040 test "$withval" = no || with_gnu_ld=yes
3045 if test "$GCC" = yes; then
3046 # Check if gcc -print-prog-name=ld gives a path.
3047 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3048 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3051 # gcc leaves a trailing carriage return which upsets mingw
3052 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3054 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3057 # Accept absolute paths.
3058 [\\/]* | [A-Za-z]:[\\/]*)
3059 re_direlt='/[^/][^/]*/\.\./'
3060 # Canonicalize the path of ld
3061 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3062 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3063 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3065 test -z "$LD" && LD="$ac_prog"
3068 # If it fails, then pretend we aren't using GCC.
3072 # If it is relative, then search for the first ld in PATH.
3076 elif test "$with_gnu_ld" = yes; then
3077 echo "$as_me:$LINENO: checking for GNU ld" >&5
3078 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3080 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3081 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3083 if test "${lt_cv_path_LD+set}" = set; then
3084 echo $ECHO_N "(cached) $ECHO_C" >&6
3086 if test -z "$LD"; then
3087 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3088 for ac_dir in $PATH; do
3089 test -z "$ac_dir" && ac_dir=.
3090 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3091 lt_cv_path_LD="$ac_dir/$ac_prog"
3092 # Check to see if the program is GNU ld. I'd rather use --version,
3093 # but apparently some GNU ld's only accept -v.
3094 # Break only if it was the GNU/non-GNU ld that we prefer.
3095 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3096 test "$with_gnu_ld" != no && break
3098 test "$with_gnu_ld" != yes && break
3104 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3109 if test -n "$LD"; then
3110 echo "$as_me:$LINENO: result: $LD" >&5
3111 echo "${ECHO_T}$LD" >&6
3113 echo "$as_me:$LINENO: result: no" >&5
3114 echo "${ECHO_T}no" >&6
3116 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3117 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3118 { (exit 1); exit 1; }; }
3119 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3120 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3121 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3122 echo $ECHO_N "(cached) $ECHO_C" >&6
3124 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3125 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3126 lt_cv_prog_gnu_ld=yes
3128 lt_cv_prog_gnu_ld=no
3131 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3132 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3133 with_gnu_ld=$lt_cv_prog_gnu_ld
3136 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3137 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3138 if test "${lt_cv_ld_reload_flag+set}" = set; then
3139 echo $ECHO_N "(cached) $ECHO_C" >&6
3141 lt_cv_ld_reload_flag='-r'
3143 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3144 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3145 reload_flag=$lt_cv_ld_reload_flag
3146 test -n "$reload_flag" && reload_flag=" $reload_flag"
3148 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3149 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3150 if test "${lt_cv_path_NM+set}" = set; then
3151 echo $ECHO_N "(cached) $ECHO_C" >&6
3153 if test -n "$NM"; then
3154 # Let the user override the test.
3157 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3158 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3159 test -z "$ac_dir" && ac_dir=.
3160 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3161 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3162 # Check to see if the nm accepts a BSD-compat flag.
3163 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3164 # nm: unknown option "B" ignored
3165 # Tru64's nm complains that /dev/null is an invalid object file
3166 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3167 lt_cv_path_NM="$tmp_nm -B"
3169 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3170 lt_cv_path_NM="$tmp_nm -p"
3173 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3174 continue # so that we can try to find one that supports BSD flags
3179 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3184 echo "$as_me:$LINENO: result: $NM" >&5
3185 echo "${ECHO_T}$NM" >&6
3187 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3188 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3190 if test "$LN_S" = "ln -s"; then
3191 echo "$as_me:$LINENO: result: yes" >&5
3192 echo "${ECHO_T}yes" >&6
3194 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3195 echo "${ECHO_T}no, using $LN_S" >&6
3198 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3199 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3200 if test "${lt_cv_deplibs_check_method+set}" = set; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3203 lt_cv_file_magic_cmd='$MAGIC_CMD'
3204 lt_cv_file_magic_test_file=
3205 lt_cv_deplibs_check_method='unknown'
3206 # Need to set the preceding variable on all platforms that support
3207 # interlibrary dependencies.
3208 # 'none' -- dependencies not supported.
3209 # `unknown' -- same as none, but documents that we really don't know.
3210 # 'pass_all' -- all dependencies passed with no checks.
3211 # 'test_compile' -- check by making test program.
3212 # 'file_magic [regex]' -- check by looking for files in library path
3213 # which responds to the $file_magic_cmd with a given egrep regex.
3214 # If you have `file' or equivalent on your system and you're not sure
3215 # whether `pass_all' will *always* work, you probably want this one.
3219 lt_cv_deplibs_check_method=pass_all
3223 lt_cv_deplibs_check_method=pass_all
3227 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3228 lt_cv_file_magic_cmd='/usr/bin/file -L'
3229 lt_cv_file_magic_test_file=/shlib/libc.so
3232 cygwin* | mingw* |pw32*)
3233 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3234 lt_cv_file_magic_cmd='$OBJDUMP -f'
3237 darwin* | rhapsody*)
3238 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3239 lt_cv_file_magic_cmd='/usr/bin/file -L'
3241 rhapsody* | darwin1.012)
3242 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3245 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3250 freebsd* | kfreebsd*-gnu)
3251 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3254 # Not sure whether the presence of OpenBSD here was a mistake.
3255 # Let's accept both of them until this is cleared up.
3256 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3257 lt_cv_file_magic_cmd=/usr/bin/file
3258 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3262 lt_cv_deplibs_check_method=pass_all
3267 lt_cv_deplibs_check_method=pass_all
3273 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3274 lt_cv_file_magic_cmd=/usr/bin/file
3275 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3278 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3279 lt_cv_file_magic_cmd=/usr/bin/file
3280 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3288 # this will be overridden with pass_all, but let us keep it just in case
3289 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3293 *-32|*"-32 ") libmagic=32-bit;;
3294 *-n32|*"-n32 ") libmagic=N32;;
3295 *-64|*"-64 ") libmagic=64-bit;;
3296 *) libmagic=never-match;;
3298 # this will be overridden with pass_all, but let us keep it just in case
3299 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3302 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3303 lt_cv_deplibs_check_method=pass_all
3306 # This must be Linux ELF.
3309 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
3310 lt_cv_deplibs_check_method=pass_all ;;
3312 # glibc up to 2.1.1 does not perform some relocations on ARM
3313 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3315 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3318 netbsd* | knetbsd*-gnu)
3319 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3320 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3322 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3327 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3328 lt_cv_file_magic_cmd=/usr/bin/file
3329 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3332 osf3* | osf4* | osf5*)
3333 # this will be overridden with pass_all, but let us keep it just in case
3334 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3335 lt_cv_file_magic_test_file=/shlib/libc.so
3336 lt_cv_deplibs_check_method=pass_all
3340 lt_cv_deplibs_check_method=pass_all
3344 lt_cv_deplibs_check_method=pass_all
3345 lt_cv_file_magic_test_file=/lib/libc.so
3348 sysv5uw[78]* | sysv4*uw2*)
3349 lt_cv_deplibs_check_method=pass_all
3352 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3353 case $host_vendor in
3355 lt_cv_deplibs_check_method=pass_all
3358 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3359 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3366 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3367 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3368 file_magic_cmd=$lt_cv_file_magic_cmd
3369 deplibs_check_method=$lt_cv_deplibs_check_method
3375 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3377 # Only perform the check for file, if the check method requires it
3378 case $deplibs_check_method in
3380 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3381 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3382 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3383 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3384 echo $ECHO_N "(cached) $ECHO_C" >&6
3388 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3391 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3394 ac_save_MAGIC_CMD="$MAGIC_CMD"
3395 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3396 ac_dummy="/usr/bin:$PATH"
3397 for ac_dir in $ac_dummy; do
3398 test -z "$ac_dir" && ac_dir=.
3399 if test -f $ac_dir/${ac_tool_prefix}file; then
3400 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3401 if test -n "$file_magic_test_file"; then
3402 case $deplibs_check_method in
3404 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3405 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3406 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3407 egrep "$file_magic_regex" > /dev/null; then
3412 *** Warning: the command libtool uses to detect shared libraries,
3413 *** $file_magic_cmd, produces output that libtool cannot recognize.
3414 *** The result is that libtool may fail to recognize shared libraries
3415 *** as such. This will affect the creation of libtool libraries that
3416 *** depend on shared libraries, but programs linked with such libtool
3417 *** libraries will work regardless of this problem. Nevertheless, you
3418 *** may want to report the problem to your system manager and/or to
3419 *** bug-libtool@gnu.org
3429 MAGIC_CMD="$ac_save_MAGIC_CMD"
3434 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3435 if test -n "$MAGIC_CMD"; then
3436 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3437 echo "${ECHO_T}$MAGIC_CMD" >&6
3439 echo "$as_me:$LINENO: result: no" >&5
3440 echo "${ECHO_T}no" >&6
3443 if test -z "$lt_cv_path_MAGIC_CMD"; then
3444 if test -n "$ac_tool_prefix"; then
3445 echo "$as_me:$LINENO: checking for file" >&5
3446 echo $ECHO_N "checking for file... $ECHO_C" >&6
3447 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3448 echo $ECHO_N "(cached) $ECHO_C" >&6
3452 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3455 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3458 ac_save_MAGIC_CMD="$MAGIC_CMD"
3459 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3460 ac_dummy="/usr/bin:$PATH"
3461 for ac_dir in $ac_dummy; do
3462 test -z "$ac_dir" && ac_dir=.
3463 if test -f $ac_dir/file; then
3464 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3465 if test -n "$file_magic_test_file"; then
3466 case $deplibs_check_method in
3468 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3469 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3470 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3471 egrep "$file_magic_regex" > /dev/null; then
3476 *** Warning: the command libtool uses to detect shared libraries,
3477 *** $file_magic_cmd, produces output that libtool cannot recognize.
3478 *** The result is that libtool may fail to recognize shared libraries
3479 *** as such. This will affect the creation of libtool libraries that
3480 *** depend on shared libraries, but programs linked with such libtool
3481 *** libraries will work regardless of this problem. Nevertheless, you
3482 *** may want to report the problem to your system manager and/or to
3483 *** bug-libtool@gnu.org
3493 MAGIC_CMD="$ac_save_MAGIC_CMD"
3498 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3499 if test -n "$MAGIC_CMD"; then
3500 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3501 echo "${ECHO_T}$MAGIC_CMD" >&6
3503 echo "$as_me:$LINENO: result: no" >&5
3504 echo "${ECHO_T}no" >&6
3516 if test -n "$ac_tool_prefix"; then
3517 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3518 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3519 echo "$as_me:$LINENO: checking for $ac_word" >&5
3520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3521 if test "${ac_cv_prog_RANLIB+set}" = set; then
3522 echo $ECHO_N "(cached) $ECHO_C" >&6
3524 if test -n "$RANLIB"; then
3525 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3531 test -z "$as_dir" && as_dir=.
3532 for ac_exec_ext in '' $ac_executable_extensions; do
3533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3534 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3543 RANLIB=$ac_cv_prog_RANLIB
3544 if test -n "$RANLIB"; then
3545 echo "$as_me:$LINENO: result: $RANLIB" >&5
3546 echo "${ECHO_T}$RANLIB" >&6
3548 echo "$as_me:$LINENO: result: no" >&5
3549 echo "${ECHO_T}no" >&6
3553 if test -z "$ac_cv_prog_RANLIB"; then
3554 ac_ct_RANLIB=$RANLIB
3555 # Extract the first word of "ranlib", so it can be a program name with args.
3556 set dummy ranlib; ac_word=$2
3557 echo "$as_me:$LINENO: checking for $ac_word" >&5
3558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3559 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3560 echo $ECHO_N "(cached) $ECHO_C" >&6
3562 if test -n "$ac_ct_RANLIB"; then
3563 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3569 test -z "$as_dir" && as_dir=.
3570 for ac_exec_ext in '' $ac_executable_extensions; do
3571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3572 ac_cv_prog_ac_ct_RANLIB="ranlib"
3573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3579 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3582 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3583 if test -n "$ac_ct_RANLIB"; then
3584 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3585 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3587 echo "$as_me:$LINENO: result: no" >&5
3588 echo "${ECHO_T}no" >&6
3591 RANLIB=$ac_ct_RANLIB
3593 RANLIB="$ac_cv_prog_RANLIB"
3596 if test -n "$ac_tool_prefix"; then
3597 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3598 set dummy ${ac_tool_prefix}strip; ac_word=$2
3599 echo "$as_me:$LINENO: checking for $ac_word" >&5
3600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3601 if test "${ac_cv_prog_STRIP+set}" = set; then
3602 echo $ECHO_N "(cached) $ECHO_C" >&6
3604 if test -n "$STRIP"; then
3605 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3614 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 STRIP=$ac_cv_prog_STRIP
3624 if test -n "$STRIP"; then
3625 echo "$as_me:$LINENO: result: $STRIP" >&5
3626 echo "${ECHO_T}$STRIP" >&6
3628 echo "$as_me:$LINENO: result: no" >&5
3629 echo "${ECHO_T}no" >&6
3633 if test -z "$ac_cv_prog_STRIP"; then
3635 # Extract the first word of "strip", so it can be a program name with args.
3636 set dummy strip; ac_word=$2
3637 echo "$as_me:$LINENO: checking for $ac_word" >&5
3638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3639 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3640 echo $ECHO_N "(cached) $ECHO_C" >&6
3642 if test -n "$ac_ct_STRIP"; then
3643 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3649 test -z "$as_dir" && as_dir=.
3650 for ac_exec_ext in '' $ac_executable_extensions; do
3651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3652 ac_cv_prog_ac_ct_STRIP="strip"
3653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3659 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3662 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3663 if test -n "$ac_ct_STRIP"; then
3664 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3665 echo "${ECHO_T}$ac_ct_STRIP" >&6
3667 echo "$as_me:$LINENO: result: no" >&5
3668 echo "${ECHO_T}no" >&6
3673 STRIP="$ac_cv_prog_STRIP"
3677 # Check for any special flags to pass to ltconfig.
3678 libtool_flags="--cache-file=$cache_file"
3679 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
3680 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
3681 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
3682 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
3683 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
3686 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3687 if test "${enable_libtool_lock+set}" = set; then
3688 enableval="$enable_libtool_lock"
3691 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
3692 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
3695 # Check whether --with-pic or --without-pic was given.
3696 if test "${with_pic+set}" = set; then
3702 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
3703 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
3705 # Some flags need to be propagated to the compiler or linker for good
3709 # Find out which ABI we are using.
3710 echo '#line 3710 "configure"' > conftest.$ac_ext
3711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3712 (eval $ac_compile) 2>&5
3714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3715 (exit $ac_status); }; then
3716 if test "$lt_cv_prog_gnu_ld" = yes; then
3717 case `/usr/bin/file conftest.$ac_objext` in
3719 LD="${LD-ld} -melf32bsmip"
3722 LD="${LD-ld} -melf32bmipn32"
3725 LD="${LD-ld} -melf64bmip"
3729 case `/usr/bin/file conftest.$ac_objext` in
3746 # Find out which ABI we are using.
3747 echo 'int i;' > conftest.$ac_ext
3748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3749 (eval $ac_compile) 2>&5
3751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752 (exit $ac_status); }; then
3753 case "`/usr/bin/file conftest.o`" in
3766 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3767 SAVE_CFLAGS="$CFLAGS"
3768 CFLAGS="$CFLAGS -belf"
3769 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3770 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3771 if test "${lt_cv_cc_needs_belf+set}" = set; then
3772 echo $ECHO_N "(cached) $ECHO_C" >&6
3777 ac_cpp='$CPP $CPPFLAGS'
3778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3782 cat >conftest.$ac_ext <<_ACEOF
3785 cat confdefs.h >>conftest.$ac_ext
3786 cat >>conftest.$ac_ext <<_ACEOF
3787 /* end confdefs.h. */
3797 rm -f conftest.$ac_objext conftest$ac_exeext
3798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3799 (eval $ac_link) 2>conftest.er1
3801 grep -v '^ *+' conftest.er1 >conftest.err
3803 cat conftest.err >&5
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); } &&
3806 { ac_try='test -z "$ac_c_werror_flag"
3807 || test ! -s conftest.err'
3808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3812 (exit $ac_status); }; } &&
3813 { ac_try='test -s conftest$ac_exeext'
3814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); }; }; then
3819 lt_cv_cc_needs_belf=yes
3821 echo "$as_me: failed program was:" >&5
3822 sed 's/^/| /' conftest.$ac_ext >&5
3824 lt_cv_cc_needs_belf=no
3826 rm -f conftest.err conftest.$ac_objext \
3827 conftest$ac_exeext conftest.$ac_ext
3829 ac_cpp='$CPP $CPPFLAGS'
3830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3835 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3836 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3837 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3838 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3839 CFLAGS="$SAVE_CFLAGS"
3847 # Save cache, so that ltconfig can load it
3848 cat >confcache <<\_ACEOF
3849 # This file is a shell script that caches the results of configure
3850 # tests run on this system so they can be shared between configure
3851 # scripts and configure runs, see configure's option --config-cache.
3852 # It is not useful on other systems. If it contains results you don't
3853 # want to keep, you may remove or edit it.
3855 # config.status only pays attention to the cache file if you give it
3856 # the --recheck option to rerun configure.
3858 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3859 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3864 # The following way of writing the cache mishandles newlines in values,
3865 # but we know of no workaround that is simple, portable, and efficient.
3866 # So, don't put newlines in cache variables' values.
3867 # Ultrix sh set writes to stderr and can't be redirected directly,
3868 # and sets the high bit in the cache file unless we assign to the vars.
3871 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3873 # `set' does not quote correctly, so add quotes (double-quote
3874 # substitution turns \\\\ into \\, and sed turns \\ into \).
3877 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3880 # `set' quotes correctly as required by POSIX, so do not add quotes.
3882 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3889 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3891 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3893 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3894 if test -w $cache_file; then
3895 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3896 cat confcache >$cache_file
3898 echo "not updating unwritable cache $cache_file"
3903 # Actually configure libtool. ac_aux_dir is where install-sh is found.
3904 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
3905 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
3906 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
3907 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
3908 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
3909 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
3910 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
3911 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
3912 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
3913 echo "$as_me: error: libtool configure failed" >&2;}
3914 { (exit 1); exit 1; }; }
3916 # Reload cache, that may have been modified by ltconfig
3917 if test -r "$cache_file"; then
3918 # Some versions of bash will fail to source /dev/null (special
3919 # files actually), so we avoid doing that.
3920 if test -f "$cache_file"; then
3921 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
3922 echo "$as_me: loading cache $cache_file" >&6;}
3924 [\\/]* | ?:[\\/]* ) . $cache_file;;
3925 *) . ./$cache_file;;
3929 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
3930 echo "$as_me: creating cache $cache_file" >&6;}
3935 # This can be used to rebuild libtool when needed
3936 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
3938 # Always use our own libtool.
3939 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
3941 # Redirect the config.log output again, so that the ltconfig log is not
3942 # clobbered by the next message.
3943 exec 5>>./config.log
3952 ac_cpp='$CPP $CPPFLAGS'
3953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3959 ac_cpp='$CPP $CPPFLAGS'
3960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3963 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3964 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3965 # On Suns, sometimes $CPP names a directory.
3966 if test -n "$CPP" && test -d "$CPP"; then
3969 if test -z "$CPP"; then
3970 if test "${ac_cv_prog_CPP+set}" = set; then
3971 echo $ECHO_N "(cached) $ECHO_C" >&6
3973 # Double quotes because CPP needs to be expanded
3974 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3977 for ac_c_preproc_warn_flag in '' yes
3979 # Use a header file that comes with gcc, so configuring glibc
3980 # with a fresh cross-compiler works.
3981 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3982 # <limits.h> exists even on freestanding compilers.
3983 # On the NeXT, cc -E runs the code through the compiler's parser,
3984 # not just through cpp. "Syntax error" is here to catch this case.
3985 cat >conftest.$ac_ext <<_ACEOF
3988 cat confdefs.h >>conftest.$ac_ext
3989 cat >>conftest.$ac_ext <<_ACEOF
3990 /* end confdefs.h. */
3992 # include <limits.h>
3994 # include <assert.h>
3998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3999 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4001 grep -v '^ *+' conftest.er1 >conftest.err
4003 cat conftest.err >&5
4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005 (exit $ac_status); } >/dev/null; then
4006 if test -s conftest.err; then
4007 ac_cpp_err=$ac_c_preproc_warn_flag
4008 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4015 if test -z "$ac_cpp_err"; then
4018 echo "$as_me: failed program was:" >&5
4019 sed 's/^/| /' conftest.$ac_ext >&5
4021 # Broken: fails on valid input.
4024 rm -f conftest.err conftest.$ac_ext
4026 # OK, works on sane cases. Now check whether non-existent headers
4027 # can be detected and how.
4028 cat >conftest.$ac_ext <<_ACEOF
4031 cat confdefs.h >>conftest.$ac_ext
4032 cat >>conftest.$ac_ext <<_ACEOF
4033 /* end confdefs.h. */
4034 #include <ac_nonexistent.h>
4036 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4037 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4039 grep -v '^ *+' conftest.er1 >conftest.err
4041 cat conftest.err >&5
4042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043 (exit $ac_status); } >/dev/null; then
4044 if test -s conftest.err; then
4045 ac_cpp_err=$ac_c_preproc_warn_flag
4046 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4053 if test -z "$ac_cpp_err"; then
4054 # Broken: success on invalid input.
4057 echo "$as_me: failed program was:" >&5
4058 sed 's/^/| /' conftest.$ac_ext >&5
4060 # Passes both tests.
4064 rm -f conftest.err conftest.$ac_ext
4067 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4068 rm -f conftest.err conftest.$ac_ext
4069 if $ac_preproc_ok; then
4081 echo "$as_me:$LINENO: result: $CPP" >&5
4082 echo "${ECHO_T}$CPP" >&6
4084 for ac_c_preproc_warn_flag in '' yes
4086 # Use a header file that comes with gcc, so configuring glibc
4087 # with a fresh cross-compiler works.
4088 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4089 # <limits.h> exists even on freestanding compilers.
4090 # On the NeXT, cc -E runs the code through the compiler's parser,
4091 # not just through cpp. "Syntax error" is here to catch this case.
4092 cat >conftest.$ac_ext <<_ACEOF
4095 cat confdefs.h >>conftest.$ac_ext
4096 cat >>conftest.$ac_ext <<_ACEOF
4097 /* end confdefs.h. */
4099 # include <limits.h>
4101 # include <assert.h>
4105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4108 grep -v '^ *+' conftest.er1 >conftest.err
4110 cat conftest.err >&5
4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112 (exit $ac_status); } >/dev/null; then
4113 if test -s conftest.err; then
4114 ac_cpp_err=$ac_c_preproc_warn_flag
4115 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4122 if test -z "$ac_cpp_err"; then
4125 echo "$as_me: failed program was:" >&5
4126 sed 's/^/| /' conftest.$ac_ext >&5
4128 # Broken: fails on valid input.
4131 rm -f conftest.err conftest.$ac_ext
4133 # OK, works on sane cases. Now check whether non-existent headers
4134 # can be detected and how.
4135 cat >conftest.$ac_ext <<_ACEOF
4138 cat confdefs.h >>conftest.$ac_ext
4139 cat >>conftest.$ac_ext <<_ACEOF
4140 /* end confdefs.h. */
4141 #include <ac_nonexistent.h>
4143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4144 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4146 grep -v '^ *+' conftest.er1 >conftest.err
4148 cat conftest.err >&5
4149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4150 (exit $ac_status); } >/dev/null; then
4151 if test -s conftest.err; then
4152 ac_cpp_err=$ac_c_preproc_warn_flag
4153 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4160 if test -z "$ac_cpp_err"; then
4161 # Broken: success on invalid input.
4164 echo "$as_me: failed program was:" >&5
4165 sed 's/^/| /' conftest.$ac_ext >&5
4167 # Passes both tests.
4171 rm -f conftest.err conftest.$ac_ext
4174 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4175 rm -f conftest.err conftest.$ac_ext
4176 if $ac_preproc_ok; then
4179 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4180 See \`config.log' for more details." >&5
4181 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4182 See \`config.log' for more details." >&2;}
4183 { (exit 1); exit 1; }; }
4187 ac_cpp='$CPP $CPPFLAGS'
4188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4193 echo "$as_me:$LINENO: checking for egrep" >&5
4194 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4195 if test "${ac_cv_prog_egrep+set}" = set; then
4196 echo $ECHO_N "(cached) $ECHO_C" >&6
4198 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4199 then ac_cv_prog_egrep='grep -E'
4200 else ac_cv_prog_egrep='egrep'
4203 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4204 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4205 EGREP=$ac_cv_prog_egrep
4208 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4209 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4210 if test "${ac_cv_header_stdc+set}" = set; then
4211 echo $ECHO_N "(cached) $ECHO_C" >&6
4213 cat >conftest.$ac_ext <<_ACEOF
4216 cat confdefs.h >>conftest.$ac_ext
4217 cat >>conftest.$ac_ext <<_ACEOF
4218 /* end confdefs.h. */
4232 rm -f conftest.$ac_objext
4233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4234 (eval $ac_compile) 2>conftest.er1
4236 grep -v '^ *+' conftest.er1 >conftest.err
4238 cat conftest.err >&5
4239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4240 (exit $ac_status); } &&
4241 { ac_try='test -z "$ac_c_werror_flag"
4242 || test ! -s conftest.err'
4243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4247 (exit $ac_status); }; } &&
4248 { ac_try='test -s conftest.$ac_objext'
4249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253 (exit $ac_status); }; }; then
4254 ac_cv_header_stdc=yes
4256 echo "$as_me: failed program was:" >&5
4257 sed 's/^/| /' conftest.$ac_ext >&5
4259 ac_cv_header_stdc=no
4261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4263 if test $ac_cv_header_stdc = yes; then
4264 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4265 cat >conftest.$ac_ext <<_ACEOF
4268 cat confdefs.h >>conftest.$ac_ext
4269 cat >>conftest.$ac_ext <<_ACEOF
4270 /* end confdefs.h. */
4274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4275 $EGREP "memchr" >/dev/null 2>&1; then
4278 ac_cv_header_stdc=no
4284 if test $ac_cv_header_stdc = yes; then
4285 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4286 cat >conftest.$ac_ext <<_ACEOF
4289 cat confdefs.h >>conftest.$ac_ext
4290 cat >>conftest.$ac_ext <<_ACEOF
4291 /* end confdefs.h. */
4295 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4296 $EGREP "free" >/dev/null 2>&1; then
4299 ac_cv_header_stdc=no
4305 if test $ac_cv_header_stdc = yes; then
4306 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4307 if test "$cross_compiling" = yes; then
4310 cat >conftest.$ac_ext <<_ACEOF
4313 cat confdefs.h >>conftest.$ac_ext
4314 cat >>conftest.$ac_ext <<_ACEOF
4315 /* end confdefs.h. */
4317 #if ((' ' & 0x0FF) == 0x020)
4318 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4319 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4321 # define ISLOWER(c) \
4322 (('a' <= (c) && (c) <= 'i') \
4323 || ('j' <= (c) && (c) <= 'r') \
4324 || ('s' <= (c) && (c) <= 'z'))
4325 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4328 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4333 for (i = 0; i < 256; i++)
4334 if (XOR (islower (i), ISLOWER (i))
4335 || toupper (i) != TOUPPER (i))
4340 rm -f conftest$ac_exeext
4341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4342 (eval $ac_link) 2>&5
4344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4350 (exit $ac_status); }; }; then
4353 echo "$as_me: program exited with status $ac_status" >&5
4354 echo "$as_me: failed program was:" >&5
4355 sed 's/^/| /' conftest.$ac_ext >&5
4358 ac_cv_header_stdc=no
4360 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4364 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4365 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4366 if test $ac_cv_header_stdc = yes; then
4368 cat >>confdefs.h <<\_ACEOF
4369 #define STDC_HEADERS 1
4374 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4384 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4385 inttypes.h stdint.h unistd.h
4387 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4388 echo "$as_me:$LINENO: checking for $ac_header" >&5
4389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4391 echo $ECHO_N "(cached) $ECHO_C" >&6
4393 cat >conftest.$ac_ext <<_ACEOF
4396 cat confdefs.h >>conftest.$ac_ext
4397 cat >>conftest.$ac_ext <<_ACEOF
4398 /* end confdefs.h. */
4399 $ac_includes_default
4401 #include <$ac_header>
4403 rm -f conftest.$ac_objext
4404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4405 (eval $ac_compile) 2>conftest.er1
4407 grep -v '^ *+' conftest.er1 >conftest.err
4409 cat conftest.err >&5
4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); } &&
4412 { ac_try='test -z "$ac_c_werror_flag"
4413 || test ! -s conftest.err'
4414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4418 (exit $ac_status); }; } &&
4419 { ac_try='test -s conftest.$ac_objext'
4420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); }; }; then
4425 eval "$as_ac_Header=yes"
4427 echo "$as_me: failed program was:" >&5
4428 sed 's/^/| /' conftest.$ac_ext >&5
4430 eval "$as_ac_Header=no"
4432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4437 cat >>confdefs.h <<_ACEOF
4438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4447 for ac_header in sys/time.h
4449 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4451 echo "$as_me:$LINENO: checking for $ac_header" >&5
4452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4454 echo $ECHO_N "(cached) $ECHO_C" >&6
4456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4459 # Is the header compilable?
4460 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4461 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4462 cat >conftest.$ac_ext <<_ACEOF
4465 cat confdefs.h >>conftest.$ac_ext
4466 cat >>conftest.$ac_ext <<_ACEOF
4467 /* end confdefs.h. */
4468 $ac_includes_default
4469 #include <$ac_header>
4471 rm -f conftest.$ac_objext
4472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4473 (eval $ac_compile) 2>conftest.er1
4475 grep -v '^ *+' conftest.er1 >conftest.err
4477 cat conftest.err >&5
4478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4479 (exit $ac_status); } &&
4480 { ac_try='test -z "$ac_c_werror_flag"
4481 || test ! -s conftest.err'
4482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4486 (exit $ac_status); }; } &&
4487 { ac_try='test -s conftest.$ac_objext'
4488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4492 (exit $ac_status); }; }; then
4493 ac_header_compiler=yes
4495 echo "$as_me: failed program was:" >&5
4496 sed 's/^/| /' conftest.$ac_ext >&5
4498 ac_header_compiler=no
4500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4502 echo "${ECHO_T}$ac_header_compiler" >&6
4504 # Is the header present?
4505 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4506 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4507 cat >conftest.$ac_ext <<_ACEOF
4510 cat confdefs.h >>conftest.$ac_ext
4511 cat >>conftest.$ac_ext <<_ACEOF
4512 /* end confdefs.h. */
4513 #include <$ac_header>
4515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4516 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4518 grep -v '^ *+' conftest.er1 >conftest.err
4520 cat conftest.err >&5
4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522 (exit $ac_status); } >/dev/null; then
4523 if test -s conftest.err; then
4524 ac_cpp_err=$ac_c_preproc_warn_flag
4525 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4532 if test -z "$ac_cpp_err"; then
4533 ac_header_preproc=yes
4535 echo "$as_me: failed program was:" >&5
4536 sed 's/^/| /' conftest.$ac_ext >&5
4538 ac_header_preproc=no
4540 rm -f conftest.err conftest.$ac_ext
4541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4542 echo "${ECHO_T}$ac_header_preproc" >&6
4544 # So? What about this header?
4545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4547 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4548 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4550 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4551 ac_header_preproc=yes
4554 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4555 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4556 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4557 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4558 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4559 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4560 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4561 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4563 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4564 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4565 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4568 ## ------------------------------------------ ##
4569 ## Report this to the AC_PACKAGE_NAME lists. ##
4570 ## ------------------------------------------ ##
4573 sed "s/^/$as_me: WARNING: /" >&2
4576 echo "$as_me:$LINENO: checking for $ac_header" >&5
4577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4579 echo $ECHO_N "(cached) $ECHO_C" >&6
4581 eval "$as_ac_Header=\$ac_header_preproc"
4583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4588 cat >>confdefs.h <<_ACEOF
4589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4596 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4597 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4598 if test "${ac_cv_header_time+set}" = set; then
4599 echo $ECHO_N "(cached) $ECHO_C" >&6
4601 cat >conftest.$ac_ext <<_ACEOF
4604 cat confdefs.h >>conftest.$ac_ext
4605 cat >>conftest.$ac_ext <<_ACEOF
4606 /* end confdefs.h. */
4607 #include <sys/types.h>
4608 #include <sys/time.h>
4614 if ((struct tm *) 0)
4620 rm -f conftest.$ac_objext
4621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4622 (eval $ac_compile) 2>conftest.er1
4624 grep -v '^ *+' conftest.er1 >conftest.err
4626 cat conftest.err >&5
4627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628 (exit $ac_status); } &&
4629 { ac_try='test -z "$ac_c_werror_flag"
4630 || test ! -s conftest.err'
4631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); }; } &&
4636 { ac_try='test -s conftest.$ac_objext'
4637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); }; }; then
4642 ac_cv_header_time=yes
4644 echo "$as_me: failed program was:" >&5
4645 sed 's/^/| /' conftest.$ac_ext >&5
4647 ac_cv_header_time=no
4649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4651 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4652 echo "${ECHO_T}$ac_cv_header_time" >&6
4653 if test $ac_cv_header_time = yes; then
4655 cat >>confdefs.h <<\_ACEOF
4656 #define TIME_WITH_SYS_TIME 1
4662 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4663 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4664 if test "${ac_cv_c_bigendian+set}" = set; then
4665 echo $ECHO_N "(cached) $ECHO_C" >&6
4667 # See if sys/param.h defines the BYTE_ORDER macro.
4668 cat >conftest.$ac_ext <<_ACEOF
4671 cat confdefs.h >>conftest.$ac_ext
4672 cat >>conftest.$ac_ext <<_ACEOF
4673 /* end confdefs.h. */
4674 #include <sys/types.h>
4675 #include <sys/param.h>
4680 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4688 rm -f conftest.$ac_objext
4689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4690 (eval $ac_compile) 2>conftest.er1
4692 grep -v '^ *+' conftest.er1 >conftest.err
4694 cat conftest.err >&5
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); } &&
4697 { ac_try='test -z "$ac_c_werror_flag"
4698 || test ! -s conftest.err'
4699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); }; } &&
4704 { ac_try='test -s conftest.$ac_objext'
4705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4709 (exit $ac_status); }; }; then
4710 # It does; now see whether it defined to BIG_ENDIAN or not.
4711 cat >conftest.$ac_ext <<_ACEOF
4714 cat confdefs.h >>conftest.$ac_ext
4715 cat >>conftest.$ac_ext <<_ACEOF
4716 /* end confdefs.h. */
4717 #include <sys/types.h>
4718 #include <sys/param.h>
4723 #if BYTE_ORDER != BIG_ENDIAN
4731 rm -f conftest.$ac_objext
4732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4733 (eval $ac_compile) 2>conftest.er1
4735 grep -v '^ *+' conftest.er1 >conftest.err
4737 cat conftest.err >&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); } &&
4740 { ac_try='test -z "$ac_c_werror_flag"
4741 || test ! -s conftest.err'
4742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); }; } &&
4747 { ac_try='test -s conftest.$ac_objext'
4748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); }; }; then
4753 ac_cv_c_bigendian=yes
4755 echo "$as_me: failed program was:" >&5
4756 sed 's/^/| /' conftest.$ac_ext >&5
4758 ac_cv_c_bigendian=no
4760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4762 echo "$as_me: failed program was:" >&5
4763 sed 's/^/| /' conftest.$ac_ext >&5
4765 # It does not; compile a test program.
4766 if test "$cross_compiling" = yes; then
4767 # try to guess the endianness by grepping values into an object file
4768 ac_cv_c_bigendian=unknown
4769 cat >conftest.$ac_ext <<_ACEOF
4772 cat confdefs.h >>conftest.$ac_ext
4773 cat >>conftest.$ac_ext <<_ACEOF
4774 /* end confdefs.h. */
4775 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4776 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4777 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4778 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4779 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4780 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4784 _ascii (); _ebcdic ();
4789 rm -f conftest.$ac_objext
4790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4791 (eval $ac_compile) 2>conftest.er1
4793 grep -v '^ *+' conftest.er1 >conftest.err
4795 cat conftest.err >&5
4796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797 (exit $ac_status); } &&
4798 { ac_try='test -z "$ac_c_werror_flag"
4799 || test ! -s conftest.err'
4800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804 (exit $ac_status); }; } &&
4805 { ac_try='test -s conftest.$ac_objext'
4806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); }; }; then
4811 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4812 ac_cv_c_bigendian=yes
4814 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4815 if test "$ac_cv_c_bigendian" = unknown; then
4816 ac_cv_c_bigendian=no
4818 # finding both strings is unlikely to happen, but who knows?
4819 ac_cv_c_bigendian=unknown
4823 echo "$as_me: failed program was:" >&5
4824 sed 's/^/| /' conftest.$ac_ext >&5
4827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4829 cat >conftest.$ac_ext <<_ACEOF
4832 cat confdefs.h >>conftest.$ac_ext
4833 cat >>conftest.$ac_ext <<_ACEOF
4834 /* end confdefs.h. */
4838 /* Are we little or big endian? From Harbison&Steele. */
4842 char c[sizeof (long)];
4845 exit (u.c[sizeof (long) - 1] == 1);
4848 rm -f conftest$ac_exeext
4849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4850 (eval $ac_link) 2>&5
4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858 (exit $ac_status); }; }; then
4859 ac_cv_c_bigendian=no
4861 echo "$as_me: program exited with status $ac_status" >&5
4862 echo "$as_me: failed program was:" >&5
4863 sed 's/^/| /' conftest.$ac_ext >&5
4866 ac_cv_c_bigendian=yes
4868 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4873 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4874 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4875 case $ac_cv_c_bigendian in
4878 cat >>confdefs.h <<\_ACEOF
4879 #define WORDS_BIGENDIAN 1
4885 { { echo "$as_me:$LINENO: error: unknown endianness
4886 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4887 echo "$as_me: error: unknown endianness
4888 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4889 { (exit 1); exit 1; }; } ;;
4894 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4895 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4896 if test "${ac_cv_lib_socket_connect+set}" = set; then
4897 echo $ECHO_N "(cached) $ECHO_C" >&6
4899 ac_check_lib_save_LIBS=$LIBS
4900 LIBS="-lsocket $LIBS"
4901 cat >conftest.$ac_ext <<_ACEOF
4904 cat confdefs.h >>conftest.$ac_ext
4905 cat >>conftest.$ac_ext <<_ACEOF
4906 /* end confdefs.h. */
4908 /* Override any gcc2 internal prototype to avoid an error. */
4912 /* We use char because int might match the return type of a gcc2
4913 builtin and then its argument prototype would still apply. */
4923 rm -f conftest.$ac_objext conftest$ac_exeext
4924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4925 (eval $ac_link) 2>conftest.er1
4927 grep -v '^ *+' conftest.er1 >conftest.err
4929 cat conftest.err >&5
4930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931 (exit $ac_status); } &&
4932 { ac_try='test -z "$ac_c_werror_flag"
4933 || test ! -s conftest.err'
4934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938 (exit $ac_status); }; } &&
4939 { ac_try='test -s conftest$ac_exeext'
4940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944 (exit $ac_status); }; }; then
4945 ac_cv_lib_socket_connect=yes
4947 echo "$as_me: failed program was:" >&5
4948 sed 's/^/| /' conftest.$ac_ext >&5
4950 ac_cv_lib_socket_connect=no
4952 rm -f conftest.err conftest.$ac_objext \
4953 conftest$ac_exeext conftest.$ac_ext
4954 LIBS=$ac_check_lib_save_LIBS
4956 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4957 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4958 if test $ac_cv_lib_socket_connect = yes; then
4959 cat >>confdefs.h <<_ACEOF
4960 #define HAVE_LIBSOCKET 1
4963 LIBS="-lsocket $LIBS"
4968 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4969 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4970 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4971 echo $ECHO_N "(cached) $ECHO_C" >&6
4973 ac_check_lib_save_LIBS=$LIBS
4975 cat >conftest.$ac_ext <<_ACEOF
4978 cat confdefs.h >>conftest.$ac_ext
4979 cat >>conftest.$ac_ext <<_ACEOF
4980 /* end confdefs.h. */
4982 /* Override any gcc2 internal prototype to avoid an error. */
4986 /* We use char because int might match the return type of a gcc2
4987 builtin and then its argument prototype would still apply. */
4988 char gethostbyname ();
4997 rm -f conftest.$ac_objext conftest$ac_exeext
4998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4999 (eval $ac_link) 2>conftest.er1
5001 grep -v '^ *+' conftest.er1 >conftest.err
5003 cat conftest.err >&5
5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005 (exit $ac_status); } &&
5006 { ac_try='test -z "$ac_c_werror_flag"
5007 || test ! -s conftest.err'
5008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 (exit $ac_status); }; } &&
5013 { ac_try='test -s conftest$ac_exeext'
5014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018 (exit $ac_status); }; }; then
5019 ac_cv_lib_nsl_gethostbyname=yes
5021 echo "$as_me: failed program was:" >&5
5022 sed 's/^/| /' conftest.$ac_ext >&5
5024 ac_cv_lib_nsl_gethostbyname=no
5026 rm -f conftest.err conftest.$ac_objext \
5027 conftest$ac_exeext conftest.$ac_ext
5028 LIBS=$ac_check_lib_save_LIBS
5030 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5031 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5032 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5033 cat >>confdefs.h <<_ACEOF
5034 #define HAVE_LIBNSL 1
5042 echo "$as_me:$LINENO: checking for gethostbyname in -lresolv" >&5
5043 echo $ECHO_N "checking for gethostbyname in -lresolv... $ECHO_C" >&6
5044 if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then
5045 echo $ECHO_N "(cached) $ECHO_C" >&6
5047 ac_check_lib_save_LIBS=$LIBS
5048 LIBS="-lresolv $LIBS"
5049 cat >conftest.$ac_ext <<_ACEOF
5052 cat confdefs.h >>conftest.$ac_ext
5053 cat >>conftest.$ac_ext <<_ACEOF
5054 /* end confdefs.h. */
5056 /* Override any gcc2 internal prototype to avoid an error. */
5060 /* We use char because int might match the return type of a gcc2
5061 builtin and then its argument prototype would still apply. */
5062 char gethostbyname ();
5071 rm -f conftest.$ac_objext conftest$ac_exeext
5072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5073 (eval $ac_link) 2>conftest.er1
5075 grep -v '^ *+' conftest.er1 >conftest.err
5077 cat conftest.err >&5
5078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079 (exit $ac_status); } &&
5080 { ac_try='test -z "$ac_c_werror_flag"
5081 || test ! -s conftest.err'
5082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086 (exit $ac_status); }; } &&
5087 { ac_try='test -s conftest$ac_exeext'
5088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092 (exit $ac_status); }; }; then
5093 ac_cv_lib_resolv_gethostbyname=yes
5095 echo "$as_me: failed program was:" >&5
5096 sed 's/^/| /' conftest.$ac_ext >&5
5098 ac_cv_lib_resolv_gethostbyname=no
5100 rm -f conftest.err conftest.$ac_objext \
5101 conftest$ac_exeext conftest.$ac_ext
5102 LIBS=$ac_check_lib_save_LIBS
5104 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname" >&5
5105 echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname" >&6
5106 if test $ac_cv_lib_resolv_gethostbyname = yes; then
5107 cat >>confdefs.h <<_ACEOF
5108 #define HAVE_LIBRESOLV 1
5111 LIBS="-lresolv $LIBS"
5119 for ac_header in sys/socket.h netinet/in.h netinet/tcp.h arpa/inet.h
5121 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5123 echo "$as_me:$LINENO: checking for $ac_header" >&5
5124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5126 echo $ECHO_N "(cached) $ECHO_C" >&6
5128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5131 # Is the header compilable?
5132 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5133 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5134 cat >conftest.$ac_ext <<_ACEOF
5137 cat confdefs.h >>conftest.$ac_ext
5138 cat >>conftest.$ac_ext <<_ACEOF
5139 /* end confdefs.h. */
5140 $ac_includes_default
5141 #include <$ac_header>
5143 rm -f conftest.$ac_objext
5144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5145 (eval $ac_compile) 2>conftest.er1
5147 grep -v '^ *+' conftest.er1 >conftest.err
5149 cat conftest.err >&5
5150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5151 (exit $ac_status); } &&
5152 { ac_try='test -z "$ac_c_werror_flag"
5153 || test ! -s conftest.err'
5154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5158 (exit $ac_status); }; } &&
5159 { ac_try='test -s conftest.$ac_objext'
5160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5164 (exit $ac_status); }; }; then
5165 ac_header_compiler=yes
5167 echo "$as_me: failed program was:" >&5
5168 sed 's/^/| /' conftest.$ac_ext >&5
5170 ac_header_compiler=no
5172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5173 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5174 echo "${ECHO_T}$ac_header_compiler" >&6
5176 # Is the header present?
5177 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5178 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5179 cat >conftest.$ac_ext <<_ACEOF
5182 cat confdefs.h >>conftest.$ac_ext
5183 cat >>conftest.$ac_ext <<_ACEOF
5184 /* end confdefs.h. */
5185 #include <$ac_header>
5187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5188 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5190 grep -v '^ *+' conftest.er1 >conftest.err
5192 cat conftest.err >&5
5193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194 (exit $ac_status); } >/dev/null; then
5195 if test -s conftest.err; then
5196 ac_cpp_err=$ac_c_preproc_warn_flag
5197 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5204 if test -z "$ac_cpp_err"; then
5205 ac_header_preproc=yes
5207 echo "$as_me: failed program was:" >&5
5208 sed 's/^/| /' conftest.$ac_ext >&5
5210 ac_header_preproc=no
5212 rm -f conftest.err conftest.$ac_ext
5213 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5214 echo "${ECHO_T}$ac_header_preproc" >&6
5216 # So? What about this header?
5217 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5219 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5220 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5222 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5223 ac_header_preproc=yes
5226 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5227 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5228 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5229 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5230 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5231 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5232 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5233 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5235 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5236 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5237 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5240 ## ------------------------------------------ ##
5241 ## Report this to the AC_PACKAGE_NAME lists. ##
5242 ## ------------------------------------------ ##
5245 sed "s/^/$as_me: WARNING: /" >&2
5248 echo "$as_me:$LINENO: checking for $ac_header" >&5
5249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5251 echo $ECHO_N "(cached) $ECHO_C" >&6
5253 eval "$as_ac_Header=\$ac_header_preproc"
5255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5259 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5260 cat >>confdefs.h <<_ACEOF
5261 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5269 # NOTE: Don't add -Wall or -Wunused, they both include
5270 # -Wunused-parameter which reports bogus warnings.
5271 build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
5272 -Wformat -Wparentheses -Wpointer-arith"
5273 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
5274 # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value
5275 # -Wchar-subscripts -Wuninitialized -Wtraditional -Wshadow -Wcast-qual
5276 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
5277 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
5278 # -Woverloaded-virtual -Winline -Werror"
5279 # Check whether --enable-build-warnings or --disable-build-warnings was given.
5280 if test "${enable_build_warnings+set}" = set; then
5281 enableval="$enable_build_warnings"
5282 case "${enableval}" in
5284 no) build_warnings="-w";;
5285 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
5286 build_warnings="${build_warnings} ${t}";;
5287 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
5288 build_warnings="${t} ${build_warnings}";;
5289 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;;
5291 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then
5292 echo "Setting compiler warning flags = $build_warnings" 6>&1
5294 fi; # Check whether --enable-rda-build-warnings or --disable-rda-build-warnings was given.
5295 if test "${enable_rda_build_warnings+set}" = set; then
5296 enableval="$enable_rda_build_warnings"
5297 case "${enableval}" in
5299 no) build_warnings="-w";;
5300 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
5301 build_warnings="${build_warnings} ${t}";;
5302 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
5303 build_warnings="${t} ${build_warnings}";;
5304 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;;
5306 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then
5307 echo "Setting LIBREMOTE specific compiler warning flags = $build_warnings" 6>&1
5311 if test "x${build_warnings}" != x -a "x$GCC" = xyes
5313 echo "$as_me:$LINENO: checking compiler warning flags" >&5
5314 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
5315 # Separate out the -Werror flag as some files just cannot be
5316 # compiled with it enabled.
5317 for w in ${build_warnings}; do
5319 -Werr*) WERROR_CFLAGS=-Werror ;;
5320 *) # Check that GCC accepts it
5321 if $CC $w 2>&1 | grep 'unrecognized option' > /dev/null; then
5324 WARN_CFLAGS="${WARN_CFLAGS} $w"
5328 echo "$as_me:$LINENO: result: ${WARN_CFLAGS}${WERROR_CFLAGS}" >&5
5329 echo "${ECHO_T}${WARN_CFLAGS}${WERROR_CFLAGS}" >&6
5334 # Add target dependent subdirectories here
5338 targ_subdirs="$targ_subdirs unix"
5341 subdirs="$subdirs unix"
5348 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
5349 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
5350 # Check whether --enable-nls or --disable-nls was given.
5351 if test "${enable_nls+set}" = set; then
5352 enableval="$enable_nls"
5357 echo "$as_me:$LINENO: result: $USE_NLS" >&5
5358 echo "${ECHO_T}$USE_NLS" >&6
5361 USE_INCLUDED_LIBINTL=no
5363 if test "$USE_NLS" = "yes"; then
5365 cat >>confdefs.h <<\_ACEOF
5366 #define ENABLE_NLS 1
5369 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
5370 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
5372 # Check whether --with-included-gettext or --without-included-gettext was given.
5373 if test "${with_included_gettext+set}" = set; then
5374 withval="$with_included_gettext"
5375 nls_cv_force_use_gnu_gettext=$withval
5377 nls_cv_force_use_gnu_gettext=no
5379 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
5380 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
5382 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
5383 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
5385 nls_cv_header_libgt=
5388 if test "${ac_cv_header_libintl_h+set}" = set; then
5389 echo "$as_me:$LINENO: checking for libintl.h" >&5
5390 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
5391 if test "${ac_cv_header_libintl_h+set}" = set; then
5392 echo $ECHO_N "(cached) $ECHO_C" >&6
5394 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5395 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
5397 # Is the header compilable?
5398 echo "$as_me:$LINENO: checking libintl.h usability" >&5
5399 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
5400 cat >conftest.$ac_ext <<_ACEOF
5403 cat confdefs.h >>conftest.$ac_ext
5404 cat >>conftest.$ac_ext <<_ACEOF
5405 /* end confdefs.h. */
5406 $ac_includes_default
5407 #include <libintl.h>
5409 rm -f conftest.$ac_objext
5410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5411 (eval $ac_compile) 2>conftest.er1
5413 grep -v '^ *+' conftest.er1 >conftest.err
5415 cat conftest.err >&5
5416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417 (exit $ac_status); } &&
5418 { ac_try='test -z "$ac_c_werror_flag"
5419 || test ! -s conftest.err'
5420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5424 (exit $ac_status); }; } &&
5425 { ac_try='test -s conftest.$ac_objext'
5426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5430 (exit $ac_status); }; }; then
5431 ac_header_compiler=yes
5433 echo "$as_me: failed program was:" >&5
5434 sed 's/^/| /' conftest.$ac_ext >&5
5436 ac_header_compiler=no
5438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5439 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5440 echo "${ECHO_T}$ac_header_compiler" >&6
5442 # Is the header present?
5443 echo "$as_me:$LINENO: checking libintl.h presence" >&5
5444 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
5445 cat >conftest.$ac_ext <<_ACEOF
5448 cat confdefs.h >>conftest.$ac_ext
5449 cat >>conftest.$ac_ext <<_ACEOF
5450 /* end confdefs.h. */
5451 #include <libintl.h>
5453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5454 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5456 grep -v '^ *+' conftest.er1 >conftest.err
5458 cat conftest.err >&5
5459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5460 (exit $ac_status); } >/dev/null; then
5461 if test -s conftest.err; then
5462 ac_cpp_err=$ac_c_preproc_warn_flag
5463 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5470 if test -z "$ac_cpp_err"; then
5471 ac_header_preproc=yes
5473 echo "$as_me: failed program was:" >&5
5474 sed 's/^/| /' conftest.$ac_ext >&5
5476 ac_header_preproc=no
5478 rm -f conftest.err conftest.$ac_ext
5479 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5480 echo "${ECHO_T}$ac_header_preproc" >&6
5482 # So? What about this header?
5483 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5485 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
5486 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5487 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
5488 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
5489 ac_header_preproc=yes
5492 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
5493 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
5494 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
5495 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
5496 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
5497 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
5498 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
5499 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
5500 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
5501 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
5502 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
5503 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
5506 ## ------------------------------------------ ##
5507 ## Report this to the AC_PACKAGE_NAME lists. ##
5508 ## ------------------------------------------ ##
5511 sed "s/^/$as_me: WARNING: /" >&2
5514 echo "$as_me:$LINENO: checking for libintl.h" >&5
5515 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
5516 if test "${ac_cv_header_libintl_h+set}" = set; then
5517 echo $ECHO_N "(cached) $ECHO_C" >&6
5519 ac_cv_header_libintl_h=$ac_header_preproc
5521 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5522 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
5525 if test $ac_cv_header_libintl_h = yes; then
5526 echo "$as_me:$LINENO: checking for gettext in libc" >&5
5527 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
5528 if test "${gt_cv_func_gettext_libc+set}" = set; then
5529 echo $ECHO_N "(cached) $ECHO_C" >&6
5531 cat >conftest.$ac_ext <<_ACEOF
5534 cat confdefs.h >>conftest.$ac_ext
5535 cat >>conftest.$ac_ext <<_ACEOF
5536 /* end confdefs.h. */
5537 #include <libintl.h>
5541 return (int) gettext ("")
5546 rm -f conftest.$ac_objext conftest$ac_exeext
5547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5548 (eval $ac_link) 2>conftest.er1
5550 grep -v '^ *+' conftest.er1 >conftest.err
5552 cat conftest.err >&5
5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); } &&
5555 { ac_try='test -z "$ac_c_werror_flag"
5556 || test ! -s conftest.err'
5557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5561 (exit $ac_status); }; } &&
5562 { ac_try='test -s conftest$ac_exeext'
5563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567 (exit $ac_status); }; }; then
5568 gt_cv_func_gettext_libc=yes
5570 echo "$as_me: failed program was:" >&5
5571 sed 's/^/| /' conftest.$ac_ext >&5
5573 gt_cv_func_gettext_libc=no
5575 rm -f conftest.err conftest.$ac_objext \
5576 conftest$ac_exeext conftest.$ac_ext
5578 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
5579 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
5581 if test "$gt_cv_func_gettext_libc" != "yes"; then
5582 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
5583 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
5584 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
5585 echo $ECHO_N "(cached) $ECHO_C" >&6
5587 ac_check_lib_save_LIBS=$LIBS
5589 cat >conftest.$ac_ext <<_ACEOF
5592 cat confdefs.h >>conftest.$ac_ext
5593 cat >>conftest.$ac_ext <<_ACEOF
5594 /* end confdefs.h. */
5596 /* Override any gcc2 internal prototype to avoid an error. */
5600 /* We use char because int might match the return type of a gcc2
5601 builtin and then its argument prototype would still apply. */
5602 char bindtextdomain ();
5611 rm -f conftest.$ac_objext conftest$ac_exeext
5612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5613 (eval $ac_link) 2>conftest.er1
5615 grep -v '^ *+' conftest.er1 >conftest.err
5617 cat conftest.err >&5
5618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619 (exit $ac_status); } &&
5620 { ac_try='test -z "$ac_c_werror_flag"
5621 || test ! -s conftest.err'
5622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5626 (exit $ac_status); }; } &&
5627 { ac_try='test -s conftest$ac_exeext'
5628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632 (exit $ac_status); }; }; then
5633 ac_cv_lib_intl_bindtextdomain=yes
5635 echo "$as_me: failed program was:" >&5
5636 sed 's/^/| /' conftest.$ac_ext >&5
5638 ac_cv_lib_intl_bindtextdomain=no
5640 rm -f conftest.err conftest.$ac_objext \
5641 conftest$ac_exeext conftest.$ac_ext
5642 LIBS=$ac_check_lib_save_LIBS
5644 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5645 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
5646 if test $ac_cv_lib_intl_bindtextdomain = yes; then
5647 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
5648 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
5649 if test "${gt_cv_func_gettext_libintl+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5652 cat >conftest.$ac_ext <<_ACEOF
5655 cat confdefs.h >>conftest.$ac_ext
5656 cat >>conftest.$ac_ext <<_ACEOF
5657 /* end confdefs.h. */
5662 return (int) gettext ("")
5667 rm -f conftest.$ac_objext conftest$ac_exeext
5668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5669 (eval $ac_link) 2>conftest.er1
5671 grep -v '^ *+' conftest.er1 >conftest.err
5673 cat conftest.err >&5
5674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5675 (exit $ac_status); } &&
5676 { ac_try='test -z "$ac_c_werror_flag"
5677 || test ! -s conftest.err'
5678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 (exit $ac_status); }; } &&
5683 { ac_try='test -s conftest$ac_exeext'
5684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); }; }; then
5689 gt_cv_func_gettext_libintl=yes
5691 echo "$as_me: failed program was:" >&5
5692 sed 's/^/| /' conftest.$ac_ext >&5
5694 gt_cv_func_gettext_libintl=no
5696 rm -f conftest.err conftest.$ac_objext \
5697 conftest$ac_exeext conftest.$ac_ext
5699 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
5700 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
5705 if test "$gt_cv_func_gettext_libc" = "yes" \
5706 || test "$gt_cv_func_gettext_libintl" = "yes"; then
5708 cat >>confdefs.h <<\_ACEOF
5709 #define HAVE_GETTEXT 1
5712 # Extract the first word of "msgfmt", so it can be a program name with args.
5713 set dummy msgfmt; ac_word=$2
5714 echo "$as_me:$LINENO: checking for $ac_word" >&5
5715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5716 if test "${ac_cv_path_MSGFMT+set}" = set; then
5717 echo $ECHO_N "(cached) $ECHO_C" >&6
5721 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5724 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5725 for ac_dir in $PATH; do
5726 test -z "$ac_dir" && ac_dir=.
5727 if test -f $ac_dir/$ac_word; then
5728 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5729 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5735 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
5739 MSGFMT="$ac_cv_path_MSGFMT"
5740 if test -n "$MSGFMT"; then
5741 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5742 echo "${ECHO_T}$MSGFMT" >&6
5744 echo "$as_me:$LINENO: result: no" >&5
5745 echo "${ECHO_T}no" >&6
5747 if test "$MSGFMT" != "no"; then
5749 for ac_func in dcgettext
5751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5752 echo "$as_me:$LINENO: checking for $ac_func" >&5
5753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5754 if eval "test \"\${$as_ac_var+set}\" = set"; then
5755 echo $ECHO_N "(cached) $ECHO_C" >&6
5757 cat >conftest.$ac_ext <<_ACEOF
5760 cat confdefs.h >>conftest.$ac_ext
5761 cat >>conftest.$ac_ext <<_ACEOF
5762 /* end confdefs.h. */
5763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5765 #define $ac_func innocuous_$ac_func
5767 /* System header to define __stub macros and hopefully few prototypes,
5768 which can conflict with char $ac_func (); below.
5769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5770 <limits.h> exists even on freestanding compilers. */
5773 # include <limits.h>
5775 # include <assert.h>
5780 /* Override any gcc2 internal prototype to avoid an error. */
5785 /* We use char because int might match the return type of a gcc2
5786 builtin and then its argument prototype would still apply. */
5788 /* The GNU C library defines this for functions which it implements
5789 to always fail with ENOSYS. Some functions are actually named
5790 something starting with __ and the normal name is an alias. */
5791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5794 char (*f) () = $ac_func;
5803 return f != $ac_func;
5808 rm -f conftest.$ac_objext conftest$ac_exeext
5809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5810 (eval $ac_link) 2>conftest.er1
5812 grep -v '^ *+' conftest.er1 >conftest.err
5814 cat conftest.err >&5
5815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5816 (exit $ac_status); } &&
5817 { ac_try='test -z "$ac_c_werror_flag"
5818 || test ! -s conftest.err'
5819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5823 (exit $ac_status); }; } &&
5824 { ac_try='test -s conftest$ac_exeext'
5825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5829 (exit $ac_status); }; }; then
5830 eval "$as_ac_var=yes"
5832 echo "$as_me: failed program was:" >&5
5833 sed 's/^/| /' conftest.$ac_ext >&5
5835 eval "$as_ac_var=no"
5837 rm -f conftest.err conftest.$ac_objext \
5838 conftest$ac_exeext conftest.$ac_ext
5840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5842 if test `eval echo '${'$as_ac_var'}'` = yes; then
5843 cat >>confdefs.h <<_ACEOF
5844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5850 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5851 set dummy gmsgfmt; ac_word=$2
5852 echo "$as_me:$LINENO: checking for $ac_word" >&5
5853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5854 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5855 echo $ECHO_N "(cached) $ECHO_C" >&6
5859 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 test -z "$as_dir" && as_dir=.
5867 for ac_exec_ext in '' $ac_executable_extensions; do
5868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5869 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5876 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5880 GMSGFMT=$ac_cv_path_GMSGFMT
5882 if test -n "$GMSGFMT"; then
5883 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5884 echo "${ECHO_T}$GMSGFMT" >&6
5886 echo "$as_me:$LINENO: result: no" >&5
5887 echo "${ECHO_T}no" >&6
5890 # Extract the first word of "xgettext", so it can be a program name with args.
5891 set dummy xgettext; ac_word=$2
5892 echo "$as_me:$LINENO: checking for $ac_word" >&5
5893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5894 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5895 echo $ECHO_N "(cached) $ECHO_C" >&6
5899 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5902 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5903 for ac_dir in $PATH; do
5904 test -z "$ac_dir" && ac_dir=.
5905 if test -f $ac_dir/$ac_word; then
5906 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5907 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
5913 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5917 XGETTEXT="$ac_cv_path_XGETTEXT"
5918 if test -n "$XGETTEXT"; then
5919 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5920 echo "${ECHO_T}$XGETTEXT" >&6
5922 echo "$as_me:$LINENO: result: no" >&5
5923 echo "${ECHO_T}no" >&6
5926 cat >conftest.$ac_ext <<_ACEOF
5929 cat confdefs.h >>conftest.$ac_ext
5930 cat >>conftest.$ac_ext <<_ACEOF
5931 /* end confdefs.h. */
5936 extern int _nl_msg_cat_cntr;
5937 return _nl_msg_cat_cntr
5942 rm -f conftest.$ac_objext conftest$ac_exeext
5943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5944 (eval $ac_link) 2>conftest.er1
5946 grep -v '^ *+' conftest.er1 >conftest.err
5948 cat conftest.err >&5
5949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5950 (exit $ac_status); } &&
5951 { ac_try='test -z "$ac_c_werror_flag"
5952 || test ! -s conftest.err'
5953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); }; } &&
5958 { ac_try='test -s conftest$ac_exeext'
5959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5963 (exit $ac_status); }; }; then
5967 echo "$as_me: failed program was:" >&5
5968 sed 's/^/| /' conftest.$ac_ext >&5
5973 rm -f conftest.err conftest.$ac_objext \
5974 conftest$ac_exeext conftest.$ac_ext
5984 if test "$CATOBJEXT" = "NONE"; then
5985 nls_cv_use_gnu_gettext=yes
5989 if test "$nls_cv_use_gnu_gettext" = "yes"; then
5990 INTLOBJS="\$(GETTOBJS)"
5991 # Extract the first word of "msgfmt", so it can be a program name with args.
5992 set dummy msgfmt; ac_word=$2
5993 echo "$as_me:$LINENO: checking for $ac_word" >&5
5994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5995 if test "${ac_cv_path_MSGFMT+set}" = set; then
5996 echo $ECHO_N "(cached) $ECHO_C" >&6
6000 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6003 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6004 for ac_dir in $PATH; do
6005 test -z "$ac_dir" && ac_dir=.
6006 if test -f $ac_dir/$ac_word; then
6007 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
6008 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
6014 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
6018 MSGFMT="$ac_cv_path_MSGFMT"
6019 if test -n "$MSGFMT"; then
6020 echo "$as_me:$LINENO: result: $MSGFMT" >&5
6021 echo "${ECHO_T}$MSGFMT" >&6
6023 echo "$as_me:$LINENO: result: no" >&5
6024 echo "${ECHO_T}no" >&6
6027 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6028 set dummy gmsgfmt; ac_word=$2
6029 echo "$as_me:$LINENO: checking for $ac_word" >&5
6030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6031 if test "${ac_cv_path_GMSGFMT+set}" = set; then
6032 echo $ECHO_N "(cached) $ECHO_C" >&6
6036 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6043 test -z "$as_dir" && as_dir=.
6044 for ac_exec_ext in '' $ac_executable_extensions; do
6045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6046 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6053 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6057 GMSGFMT=$ac_cv_path_GMSGFMT
6059 if test -n "$GMSGFMT"; then
6060 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
6061 echo "${ECHO_T}$GMSGFMT" >&6
6063 echo "$as_me:$LINENO: result: no" >&5
6064 echo "${ECHO_T}no" >&6
6067 # Extract the first word of "xgettext", so it can be a program name with args.
6068 set dummy xgettext; ac_word=$2
6069 echo "$as_me:$LINENO: checking for $ac_word" >&5
6070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6071 if test "${ac_cv_path_XGETTEXT+set}" = set; then
6072 echo $ECHO_N "(cached) $ECHO_C" >&6
6076 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6079 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6080 for ac_dir in $PATH; do
6081 test -z "$ac_dir" && ac_dir=.
6082 if test -f $ac_dir/$ac_word; then
6083 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6084 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
6090 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6094 XGETTEXT="$ac_cv_path_XGETTEXT"
6095 if test -n "$XGETTEXT"; then
6096 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
6097 echo "${ECHO_T}$XGETTEXT" >&6
6099 echo "$as_me:$LINENO: result: no" >&5
6100 echo "${ECHO_T}no" >&6
6104 USE_INCLUDED_LIBINTL=yes
6108 INTLDEPS='$(top_builddir)/../intl/libintl.a'
6110 LIBS=`echo $LIBS | sed -e 's/-lintl//'`
6111 nls_cv_header_intl=libintl.h
6112 nls_cv_header_libgt=libgettext.h
6115 if test "$XGETTEXT" != ":"; then
6116 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
6119 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
6120 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
6125 # We need to process the po/ directory.
6129 nls_cv_header_intl=libintl.h
6130 nls_cv_header_libgt=libgettext.h
6133 # If this is used in GNU gettext we have to set USE_NLS to `yes'
6134 # because some of the sources are only built for this goal.
6135 if test "$PACKAGE" = gettext; then
6137 USE_INCLUDED_LIBINTL=yes
6140 for lang in $ALL_LINGUAS; do
6141 GMOFILES="$GMOFILES $lang.gmo"
6142 POFILES="$POFILES $lang.po"
6158 ac_config_files="$ac_config_files Makefile lib/Makefile samples/Makefile qe/Makefile"
6159 cat >confcache <<\_ACEOF
6160 # This file is a shell script that caches the results of configure
6161 # tests run on this system so they can be shared between configure
6162 # scripts and configure runs, see configure's option --config-cache.
6163 # It is not useful on other systems. If it contains results you don't
6164 # want to keep, you may remove or edit it.
6166 # config.status only pays attention to the cache file if you give it
6167 # the --recheck option to rerun configure.
6169 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6170 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6175 # The following way of writing the cache mishandles newlines in values,
6176 # but we know of no workaround that is simple, portable, and efficient.
6177 # So, don't put newlines in cache variables' values.
6178 # Ultrix sh set writes to stderr and can't be redirected directly,
6179 # and sets the high bit in the cache file unless we assign to the vars.
6182 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6184 # `set' does not quote correctly, so add quotes (double-quote
6185 # substitution turns \\\\ into \\, and sed turns \\ into \).
6188 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6191 # `set' quotes correctly as required by POSIX, so do not add quotes.
6193 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6200 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6202 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6204 if diff $cache_file confcache >/dev/null 2>&1; then :; else
6205 if test -w $cache_file; then
6206 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6207 cat confcache >$cache_file
6209 echo "not updating unwritable cache $cache_file"
6214 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6215 # Let make expand exec_prefix.
6216 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6218 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6219 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6220 # trailing colons and then remove the whole line if VPATH becomes empty
6221 # (actually we leave an empty line to preserve line numbers).
6222 if test "x$srcdir" = x.; then
6223 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6224 s/:*\$(srcdir):*/:/;
6225 s/:*\${srcdir}:*/:/;
6227 s/^\([^=]*=[ ]*\):*/\1/;
6233 DEFS=-DHAVE_CONFIG_H
6237 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6238 # 1. Remove the extension, and $U if already installed.
6239 ac_i=`echo "$ac_i" |
6240 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6242 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6243 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6247 LTLIBOBJS=$ac_ltlibobjs
6250 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6251 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6252 Usually this means the macro was only invoked conditionally." >&5
6253 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6254 Usually this means the macro was only invoked conditionally." >&2;}
6255 { (exit 1); exit 1; }; }
6257 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6258 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6259 Usually this means the macro was only invoked conditionally." >&5
6260 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6261 Usually this means the macro was only invoked conditionally." >&2;}
6262 { (exit 1); exit 1; }; }
6264 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6265 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6266 Usually this means the macro was only invoked conditionally." >&5
6267 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6268 Usually this means the macro was only invoked conditionally." >&2;}
6269 { (exit 1); exit 1; }; }
6272 : ${CONFIG_STATUS=./config.status}
6273 ac_clean_files_save=$ac_clean_files
6274 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6275 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6276 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6277 cat >$CONFIG_STATUS <<_ACEOF
6279 # Generated by $as_me.
6280 # Run this file to recreate the current configuration.
6281 # Compiler output produced by configure, useful for debugging
6282 # configure, is in config.log if it exists.
6287 SHELL=\${CONFIG_SHELL-$SHELL}
6290 cat >>$CONFIG_STATUS <<\_ACEOF
6291 ## --------------------- ##
6292 ## M4sh Initialization. ##
6293 ## --------------------- ##
6295 # Be Bourne compatible
6296 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6299 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6300 # is contrary to our usage. Disable this feature.
6301 alias -g '${1+"$@"}'='"$@"'
6302 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6305 DUALCASE=1; export DUALCASE # for MKS sh
6307 # Support unset when possible.
6308 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6315 # Work around bugs in pre-3.0 UWIN ksh.
6316 $as_unset ENV MAIL MAILPATH
6323 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6324 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6325 LC_TELEPHONE LC_TIME
6327 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6328 eval $as_var=C; export $as_var
6334 # Required to use basename.
6335 if expr a : '\(a\)' >/dev/null 2>&1; then
6341 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6342 as_basename=basename
6348 # Name of the executable.
6349 as_me=`$as_basename "$0" ||
6350 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6351 X"$0" : 'X\(//\)$' \| \
6352 X"$0" : 'X\(/\)$' \| \
6353 . : '\(.\)' 2>/dev/null ||
6355 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6356 /^X\/\(\/\/\)$/{ s//\1/; q; }
6357 /^X\/\(\/\).*/{ s//\1/; q; }
6361 # PATH needs CR, and LINENO needs CR and PATH.
6362 # Avoid depending upon Character Ranges.
6363 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6364 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6365 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6366 as_cr_digits='0123456789'
6367 as_cr_alnum=$as_cr_Letters$as_cr_digits
6369 # The user is always right.
6370 if test "${PATH_SEPARATOR+set}" != set; then
6371 echo "#! /bin/sh" >conf$$.sh
6372 echo "exit 0" >>conf$$.sh
6374 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6385 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6386 test "x$as_lineno_1" != "x$as_lineno_2" &&
6387 test "x$as_lineno_3" = "x$as_lineno_2" || {
6388 # Find who we are. Look in the path if we contain no path at all
6391 *[\\/]* ) as_myself=$0 ;;
6392 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6396 test -z "$as_dir" && as_dir=.
6397 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6402 # We did not find ourselves, most probably we were run as `sh COMMAND'
6403 # in which case we are not to be found in the path.
6404 if test "x$as_myself" = x; then
6407 if test ! -f "$as_myself"; then
6408 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6409 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6410 { (exit 1); exit 1; }; }
6412 case $CONFIG_SHELL in
6414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6415 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6418 test -z "$as_dir" && as_dir=.
6419 for as_base in sh bash ksh sh5; do
6422 if ("$as_dir/$as_base" -c '
6425 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6426 test "x$as_lineno_1" != "x$as_lineno_2" &&
6427 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6428 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6429 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6430 CONFIG_SHELL=$as_dir/$as_base
6432 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6440 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6441 # uniformly replaced by the line number. The first 'sed' inserts a
6442 # line-number line before each line; the second 'sed' does the real
6443 # work. The second script uses 'N' to pair each line-number line
6444 # with the numbered line, and appends trailing '-' during
6445 # substitution so that $LINENO is not a special case at line end.
6446 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6447 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6448 sed '=' <$as_myself |
6453 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6456 s,^['$as_cr_digits']*\n,,
6458 chmod +x $as_me.lineno ||
6459 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6460 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6461 { (exit 1); exit 1; }; }
6463 # Don't try to exec as it changes $[0], causing all sort of problems
6464 # (the dirname of $[0] is not the place where we might find the
6465 # original and so on. Autoconf is especially sensible to this).
6467 # Exit status is that of the last command.
6472 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6473 *c*,-n*) ECHO_N= ECHO_C='
6475 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6476 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6479 if expr a : '\(a\)' >/dev/null 2>&1; then
6485 rm -f conf$$ conf$$.exe conf$$.file
6487 if ln -s conf$$.file conf$$ 2>/dev/null; then
6488 # We could just check for DJGPP; but this test a) works b) is more generic
6489 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6490 if test -f conf$$.exe; then
6491 # Don't use ln at all; we don't have any links
6496 elif ln conf$$.file conf$$ 2>/dev/null; then
6501 rm -f conf$$ conf$$.exe conf$$.file
6503 if mkdir -p . 2>/dev/null; then
6506 test -d ./-p && rmdir ./-p
6510 as_executable_p="test -f"
6512 # Sed expression to map a string onto a valid CPP name.
6513 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6515 # Sed expression to map a string onto a valid variable name.
6516 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6520 # We need space, tab and new line, in precisely that order.
6530 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6531 # report actual input values of CONFIG_FILES etc. instead of their
6532 # values after options handling. Logging --version etc. is OK.
6536 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6537 ## Running $as_me. ##
6542 This file was extended by $as_me, which was
6543 generated by GNU Autoconf 2.59. Invocation command line was
6545 CONFIG_FILES = $CONFIG_FILES
6546 CONFIG_HEADERS = $CONFIG_HEADERS
6547 CONFIG_LINKS = $CONFIG_LINKS
6548 CONFIG_COMMANDS = $CONFIG_COMMANDS
6552 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6556 # Files that config.status was made for.
6557 if test -n "$ac_config_files"; then
6558 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6561 if test -n "$ac_config_headers"; then
6562 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6565 if test -n "$ac_config_links"; then
6566 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6569 if test -n "$ac_config_commands"; then
6570 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6573 cat >>$CONFIG_STATUS <<\_ACEOF
6576 \`$as_me' instantiates files from templates according to the
6577 current configuration.
6579 Usage: $0 [OPTIONS] [FILE]...
6581 -h, --help print this help, then exit
6582 -V, --version print version number, then exit
6583 -q, --quiet do not print progress messages
6584 -d, --debug don't remove temporary files
6585 --recheck update $as_me by reconfiguring in the same conditions
6586 --file=FILE[:TEMPLATE]
6587 instantiate the configuration file FILE
6588 --header=FILE[:TEMPLATE]
6589 instantiate the configuration header FILE
6591 Configuration files:
6594 Configuration headers:
6597 Configuration commands:
6600 Report bugs to <bug-autoconf@gnu.org>."
6603 cat >>$CONFIG_STATUS <<_ACEOF
6606 configured by $0, generated by GNU Autoconf 2.59,
6607 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6609 Copyright (C) 2003 Free Software Foundation, Inc.
6610 This config.status script is free software; the Free Software Foundation
6611 gives unlimited permission to copy, distribute and modify it."
6616 cat >>$CONFIG_STATUS <<\_ACEOF
6617 # If no file are specified by the user, then we need to provide default
6618 # value. By we need to know if files were specified by the user.
6624 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6625 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6633 *) # This is not an option, so the user has probably given explicit
6636 ac_need_defaults=false;;
6640 # Handling of the options.
6642 cat >>$CONFIG_STATUS <<\_ACEOF
6643 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6645 --version | --vers* | -V )
6646 echo "$ac_cs_version"; exit 0 ;;
6648 # Conflict between --help and --header
6649 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6650 Try \`$0 --help' for more information." >&5
6651 echo "$as_me: error: ambiguous option: $1
6652 Try \`$0 --help' for more information." >&2;}
6653 { (exit 1); exit 1; }; };;
6654 --help | --hel | -h )
6655 echo "$ac_cs_usage"; exit 0 ;;
6656 --debug | --d* | -d )
6658 --file | --fil | --fi | --f )
6660 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6661 ac_need_defaults=false;;
6662 --header | --heade | --head | --hea )
6664 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6665 ac_need_defaults=false;;
6666 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6667 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6671 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6672 Try \`$0 --help' for more information." >&5
6673 echo "$as_me: error: unrecognized option: $1
6674 Try \`$0 --help' for more information." >&2;}
6675 { (exit 1); exit 1; }; } ;;
6677 *) ac_config_targets="$ac_config_targets $1" ;;
6683 ac_configure_extra_args=
6685 if $ac_cs_silent; then
6687 ac_configure_extra_args="$ac_configure_extra_args --silent"
6691 cat >>$CONFIG_STATUS <<_ACEOF
6692 if \$ac_cs_recheck; then
6693 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6694 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6699 cat >>$CONFIG_STATUS <<_ACEOF
6701 # INIT-COMMANDS section.
6704 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6710 cat >>$CONFIG_STATUS <<\_ACEOF
6711 for ac_config_target in $ac_config_targets
6713 case "$ac_config_target" in
6714 # Handling of arguments.
6715 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6716 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
6717 "samples/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;;
6718 "qe/Makefile" ) CONFIG_FILES="$CONFIG_FILES qe/Makefile" ;;
6719 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6720 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
6721 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6722 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6723 { (exit 1); exit 1; }; };;
6727 # If the user did not use the arguments to specify the items to instantiate,
6728 # then the envvar interface is used. Set only those that are not.
6729 # We use the long form for the default assignment because of an extremely
6730 # bizarre bug on SunOS 4.1.3.
6731 if $ac_need_defaults; then
6732 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6733 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6734 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6737 # Have a temporary directory for convenience. Make it in the build tree
6738 # simply because there is no reason to put it here, and in addition,
6739 # creating and moving files from /tmp can sometimes cause problems.
6740 # Create a temporary directory, and hook for its removal unless debugging.
6743 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6744 trap '{ (exit 1); exit 1; }' 1 2 13 15
6747 # Create a (secure) tmp directory for tmp files.
6750 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6751 test -n "$tmp" && test -d "$tmp"
6754 tmp=./confstat$$-$RANDOM
6755 (umask 077 && mkdir $tmp)
6758 echo "$me: cannot create a temporary directory in ." >&2
6759 { (exit 1); exit 1; }
6764 cat >>$CONFIG_STATUS <<_ACEOF
6767 # CONFIG_FILES section.
6770 # No need to generate the scripts if there are no CONFIG_FILES.
6771 # This happens for instance when ./config.status config.h
6772 if test -n "\$CONFIG_FILES"; then
6773 # Protect against being on the right side of a sed subst in config.status.
6774 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6775 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6776 s,@SHELL@,$SHELL,;t t
6777 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6778 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6779 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6780 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6781 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6782 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6783 s,@exec_prefix@,$exec_prefix,;t t
6784 s,@prefix@,$prefix,;t t
6785 s,@program_transform_name@,$program_transform_name,;t t
6786 s,@bindir@,$bindir,;t t
6787 s,@sbindir@,$sbindir,;t t
6788 s,@libexecdir@,$libexecdir,;t t
6789 s,@datadir@,$datadir,;t t
6790 s,@sysconfdir@,$sysconfdir,;t t
6791 s,@sharedstatedir@,$sharedstatedir,;t t
6792 s,@localstatedir@,$localstatedir,;t t
6793 s,@libdir@,$libdir,;t t
6794 s,@includedir@,$includedir,;t t
6795 s,@oldincludedir@,$oldincludedir,;t t
6796 s,@infodir@,$infodir,;t t
6797 s,@mandir@,$mandir,;t t
6798 s,@build_alias@,$build_alias,;t t
6799 s,@host_alias@,$host_alias,;t t
6800 s,@target_alias@,$target_alias,;t t
6802 s,@ECHO_C@,$ECHO_C,;t t
6803 s,@ECHO_N@,$ECHO_N,;t t
6804 s,@ECHO_T@,$ECHO_T,;t t
6806 s,@build@,$build,;t t
6807 s,@build_cpu@,$build_cpu,;t t
6808 s,@build_vendor@,$build_vendor,;t t
6809 s,@build_os@,$build_os,;t t
6811 s,@host_cpu@,$host_cpu,;t t
6812 s,@host_vendor@,$host_vendor,;t t
6813 s,@host_os@,$host_os,;t t
6814 s,@target@,$target,;t t
6815 s,@target_cpu@,$target_cpu,;t t
6816 s,@target_vendor@,$target_vendor,;t t
6817 s,@target_os@,$target_os,;t t
6818 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6819 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6820 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6821 s,@CYGPATH_W@,$CYGPATH_W,;t t
6822 s,@PACKAGE@,$PACKAGE,;t t
6823 s,@VERSION@,$VERSION,;t t
6824 s,@ACLOCAL@,$ACLOCAL,;t t
6825 s,@AUTOCONF@,$AUTOCONF,;t t
6826 s,@AUTOMAKE@,$AUTOMAKE,;t t
6827 s,@AUTOHEADER@,$AUTOHEADER,;t t
6828 s,@MAKEINFO@,$MAKEINFO,;t t
6829 s,@install_sh@,$install_sh,;t t
6830 s,@STRIP@,$STRIP,;t t
6831 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6832 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6833 s,@mkdir_p@,$mkdir_p,;t t
6835 s,@SET_MAKE@,$SET_MAKE,;t t
6836 s,@am__leading_dot@,$am__leading_dot,;t t
6837 s,@AMTAR@,$AMTAR,;t t
6838 s,@am__tar@,$am__tar,;t t
6839 s,@am__untar@,$am__untar,;t t
6840 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6841 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6842 s,@MAINT@,$MAINT,;t t
6844 s,@CFLAGS@,$CFLAGS,;t t
6845 s,@LDFLAGS@,$LDFLAGS,;t t
6846 s,@CPPFLAGS@,$CPPFLAGS,;t t
6847 s,@ac_ct_CC@,$ac_ct_CC,;t t
6848 s,@EXEEXT@,$EXEEXT,;t t
6849 s,@OBJEXT@,$OBJEXT,;t t
6850 s,@DEPDIR@,$DEPDIR,;t t
6851 s,@am__include@,$am__include,;t t
6852 s,@am__quote@,$am__quote,;t t
6853 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6854 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6855 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6856 s,@CCDEPMODE@,$CCDEPMODE,;t t
6857 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6858 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6860 s,@RANLIB@,$RANLIB,;t t
6861 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6862 s,@LIBTOOL@,$LIBTOOL,;t t
6864 s,@EGREP@,$EGREP,;t t
6865 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
6866 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
6867 s,@subdirs@,$subdirs,;t t
6868 s,@targ_subdirs@,$targ_subdirs,;t t
6869 s,@USE_NLS@,$USE_NLS,;t t
6870 s,@MSGFMT@,$MSGFMT,;t t
6871 s,@GMSGFMT@,$GMSGFMT,;t t
6872 s,@XGETTEXT@,$XGETTEXT,;t t
6873 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
6874 s,@CATALOGS@,$CATALOGS,;t t
6875 s,@CATOBJEXT@,$CATOBJEXT,;t t
6876 s,@DATADIRNAME@,$DATADIRNAME,;t t
6877 s,@GMOFILES@,$GMOFILES,;t t
6878 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
6879 s,@INTLDEPS@,$INTLDEPS,;t t
6880 s,@INTLLIBS@,$INTLLIBS,;t t
6881 s,@INTLOBJS@,$INTLOBJS,;t t
6882 s,@POFILES@,$POFILES,;t t
6883 s,@POSUB@,$POSUB,;t t
6884 s,@LIBOBJS@,$LIBOBJS,;t t
6885 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6890 cat >>$CONFIG_STATUS <<\_ACEOF
6891 # Split the substitutions into bite-sized pieces for seds with
6892 # small command number limits, like on Digital OSF/1 and HP-UX.
6894 ac_sed_frag=1 # Number of current file.
6895 ac_beg=1 # First line for current file.
6896 ac_end=$ac_max_sed_lines # Line after last line for current file.
6899 while $ac_more_lines; do
6900 if test $ac_beg -gt 1; then
6901 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6903 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6905 if test ! -s $tmp/subs.frag; then
6908 # The purpose of the label and of the branching condition is to
6909 # speed up the sed processing (if there are no `@' at all, there
6910 # is no need to browse any of the substitutions).
6911 # These are the two extra sed commands mentioned above.
6913 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6914 if test -z "$ac_sed_cmds"; then
6915 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6917 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6919 ac_sed_frag=`expr $ac_sed_frag + 1`
6921 ac_end=`expr $ac_end + $ac_max_sed_lines`
6924 if test -z "$ac_sed_cmds"; then
6927 fi # test -n "$CONFIG_FILES"
6930 cat >>$CONFIG_STATUS <<\_ACEOF
6931 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6932 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6934 - | *:- | *:-:* ) # input from stdin
6936 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6937 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6938 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6939 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6940 * ) ac_file_in=$ac_file.in ;;
6943 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6944 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6945 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6946 X"$ac_file" : 'X\(//\)[^/]' \| \
6947 X"$ac_file" : 'X\(//\)$' \| \
6948 X"$ac_file" : 'X\(/\)' \| \
6949 . : '\(.\)' 2>/dev/null ||
6951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6952 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6953 /^X\(\/\/\)$/{ s//\1/; q; }
6954 /^X\(\/\).*/{ s//\1/; q; }
6956 { if $as_mkdir_p; then
6961 while test ! -d "$as_dir"; do
6962 as_dirs="$as_dir $as_dirs"
6963 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6964 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6965 X"$as_dir" : 'X\(//\)[^/]' \| \
6966 X"$as_dir" : 'X\(//\)$' \| \
6967 X"$as_dir" : 'X\(/\)' \| \
6968 . : '\(.\)' 2>/dev/null ||
6970 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6971 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6972 /^X\(\/\/\)$/{ s//\1/; q; }
6973 /^X\(\/\).*/{ s//\1/; q; }
6976 test ! -n "$as_dirs" || mkdir $as_dirs
6977 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6978 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6979 { (exit 1); exit 1; }; }; }
6983 if test "$ac_dir" != .; then
6984 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6985 # A "../" for each directory in $ac_dir_suffix.
6986 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6988 ac_dir_suffix= ac_top_builddir=
6992 .) # No --srcdir option. We are building in place.
6994 if test -z "$ac_top_builddir"; then
6997 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6999 [\\/]* | ?:[\\/]* ) # Absolute path.
7000 ac_srcdir=$srcdir$ac_dir_suffix;
7001 ac_top_srcdir=$srcdir ;;
7003 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7004 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7007 # Do not use `cd foo && pwd` to compute absolute paths, because
7008 # the directories may not exist.
7010 .) ac_abs_builddir="$ac_dir";;
7013 .) ac_abs_builddir=`pwd`;;
7014 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7015 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7018 case $ac_abs_builddir in
7019 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7021 case ${ac_top_builddir}. in
7022 .) ac_abs_top_builddir=$ac_abs_builddir;;
7023 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7024 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7027 case $ac_abs_builddir in
7028 .) ac_abs_srcdir=$ac_srcdir;;
7031 .) ac_abs_srcdir=$ac_abs_builddir;;
7032 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7033 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7036 case $ac_abs_builddir in
7037 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7039 case $ac_top_srcdir in
7040 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7041 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7042 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7048 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7049 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7052 if test x"$ac_file" != x-; then
7053 { echo "$as_me:$LINENO: creating $ac_file" >&5
7054 echo "$as_me: creating $ac_file" >&6;}
7057 # Let's still pretend it is `configure' which instantiates (i.e., don't
7058 # use $as_me), people would be surprised to read:
7059 # /* config.h. Generated by config.status. */
7060 if test x"$ac_file" = x-; then
7063 configure_input="$ac_file. "
7065 configure_input=$configure_input"Generated from `echo $ac_file_in |
7066 sed 's,.*/,,'` by configure."
7068 # First look for the input files in the build tree, otherwise in the
7070 ac_file_inputs=`IFS=:
7071 for f in $ac_file_in; do
7073 -) echo $tmp/stdin ;;
7075 # Absolute (can't be DOS-style, as IFS=:)
7076 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7077 echo "$as_me: error: cannot find input file: $f" >&2;}
7078 { (exit 1); exit 1; }; }
7081 if test -f "$f"; then
7084 elif test -f "$srcdir/$f"; then
7089 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7090 echo "$as_me: error: cannot find input file: $f" >&2;}
7091 { (exit 1); exit 1; }; }
7094 done` || { (exit 1); exit 1; }
7096 cat >>$CONFIG_STATUS <<_ACEOF
7100 cat >>$CONFIG_STATUS <<\_ACEOF
7102 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7103 s,@configure_input@,$configure_input,;t t
7104 s,@srcdir@,$ac_srcdir,;t t
7105 s,@abs_srcdir@,$ac_abs_srcdir,;t t
7106 s,@top_srcdir@,$ac_top_srcdir,;t t
7107 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7108 s,@builddir@,$ac_builddir,;t t
7109 s,@abs_builddir@,$ac_abs_builddir,;t t
7110 s,@top_builddir@,$ac_top_builddir,;t t
7111 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7112 s,@INSTALL@,$ac_INSTALL,;t t
7113 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7115 if test x"$ac_file" != x-; then
7116 mv $tmp/out $ac_file
7124 cat >>$CONFIG_STATUS <<\_ACEOF
7127 # CONFIG_HEADER section.
7130 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7131 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7133 # ac_d sets the value in "#define NAME VALUE" lines.
7134 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7135 ac_dB='[ ].*$,\1#\2'
7138 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7139 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7140 ac_uB='$,\1#\2define\3'
7144 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
7145 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7147 - | *:- | *:-:* ) # input from stdin
7149 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7150 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7151 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7152 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7153 * ) ac_file_in=$ac_file.in ;;
7156 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
7157 echo "$as_me: creating $ac_file" >&6;}
7159 # First look for the input files in the build tree, otherwise in the
7161 ac_file_inputs=`IFS=:
7162 for f in $ac_file_in; do
7164 -) echo $tmp/stdin ;;
7166 # Absolute (can't be DOS-style, as IFS=:)
7167 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7168 echo "$as_me: error: cannot find input file: $f" >&2;}
7169 { (exit 1); exit 1; }; }
7170 # Do quote $f, to prevent DOS paths from being IFS'd.
7173 if test -f "$f"; then
7176 elif test -f "$srcdir/$f"; then
7181 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7182 echo "$as_me: error: cannot find input file: $f" >&2;}
7183 { (exit 1); exit 1; }; }
7186 done` || { (exit 1); exit 1; }
7187 # Remove the trailing spaces.
7188 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7192 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7193 # `conftest.undefs', that substitutes the proper values into
7194 # config.h.in to produce config.h. The first handles `#define'
7195 # templates, and the second `#undef' templates.
7196 # And first: Protect against being on the right side of a sed subst in
7197 # config.status. Protect against being in an unquoted here document
7199 rm -f conftest.defines conftest.undefs
7200 # Using a here document instead of a string reduces the quoting nightmare.
7201 # Putting comments in sed scripts is not portable.
7203 # `end' is used to avoid that the second main sed command (meant for
7204 # 0-ary CPP macros) applies to n-ary macro definitions.
7205 # See the Autoconf documentation for `clear'.
7206 cat >confdef2sed.sed <<\_ACEOF
7211 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7213 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7216 # If some macros were called several times there might be several times
7217 # the same #defines, which is useless. Nevertheless, we may not want to
7218 # sort them, since we want the *last* AC-DEFINE to be honored.
7219 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7220 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7221 rm -f confdef2sed.sed
7223 # This sed command replaces #undef with comments. This is necessary, for
7224 # example, in the case of _POSIX_SOURCE, which is predefined and required
7225 # on some systems where configure will not decide to define it.
7226 cat >>conftest.undefs <<\_ACEOF
7227 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7230 # Break up conftest.defines because some shells have a limit on the size
7231 # of here documents, and old seds have small limits too (100 cmds).
7232 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7233 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7234 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7235 echo ' :' >>$CONFIG_STATUS
7237 while grep . conftest.defines >/dev/null
7239 # Write a limited-size here document to $tmp/defines.sed.
7240 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7241 # Speed up: don't consider the non `#define' lines.
7242 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7243 # Work around the forget-to-reset-the-flag bug.
7244 echo 't clr' >>$CONFIG_STATUS
7245 echo ': clr' >>$CONFIG_STATUS
7246 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
7248 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7252 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7253 rm -f conftest.defines
7254 mv conftest.tail conftest.defines
7256 rm -f conftest.defines
7257 echo ' fi # grep' >>$CONFIG_STATUS
7258 echo >>$CONFIG_STATUS
7260 # Break up conftest.undefs because some shells have a limit on the size
7261 # of here documents, and old seds have small limits too (100 cmds).
7262 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7264 while grep . conftest.undefs >/dev/null
7266 # Write a limited-size here document to $tmp/undefs.sed.
7267 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7268 # Speed up: don't consider the non `#undef'
7269 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7270 # Work around the forget-to-reset-the-flag bug.
7271 echo 't clr' >>$CONFIG_STATUS
7272 echo ': clr' >>$CONFIG_STATUS
7273 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7275 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7279 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7280 rm -f conftest.undefs
7281 mv conftest.tail conftest.undefs
7283 rm -f conftest.undefs
7285 cat >>$CONFIG_STATUS <<\_ACEOF
7286 # Let's still pretend it is `configure' which instantiates (i.e., don't
7287 # use $as_me), people would be surprised to read:
7288 # /* config.h. Generated by config.status. */
7289 if test x"$ac_file" = x-; then
7290 echo "/* Generated by configure. */" >$tmp/config.h
7292 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7294 cat $tmp/in >>$tmp/config.h
7296 if test x"$ac_file" != x-; then
7297 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7298 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7299 echo "$as_me: $ac_file is unchanged" >&6;}
7301 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7302 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7303 X"$ac_file" : 'X\(//\)[^/]' \| \
7304 X"$ac_file" : 'X\(//\)$' \| \
7305 X"$ac_file" : 'X\(/\)' \| \
7306 . : '\(.\)' 2>/dev/null ||
7308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7309 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7310 /^X\(\/\/\)$/{ s//\1/; q; }
7311 /^X\(\/\).*/{ s//\1/; q; }
7313 { if $as_mkdir_p; then
7318 while test ! -d "$as_dir"; do
7319 as_dirs="$as_dir $as_dirs"
7320 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7321 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7322 X"$as_dir" : 'X\(//\)[^/]' \| \
7323 X"$as_dir" : 'X\(//\)$' \| \
7324 X"$as_dir" : 'X\(/\)' \| \
7325 . : '\(.\)' 2>/dev/null ||
7327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7328 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7329 /^X\(\/\/\)$/{ s//\1/; q; }
7330 /^X\(\/\).*/{ s//\1/; q; }
7333 test ! -n "$as_dirs" || mkdir $as_dirs
7334 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7335 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7336 { (exit 1); exit 1; }; }; }
7339 mv $tmp/config.h $ac_file
7345 # Compute $ac_file's index in $config_headers.
7347 for _am_header in $config_headers :; do
7349 $ac_file | $ac_file:* )
7352 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7355 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7356 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7357 X$ac_file : 'X\(//\)[^/]' \| \
7358 X$ac_file : 'X\(//\)$' \| \
7359 X$ac_file : 'X\(/\)' \| \
7360 . : '\(.\)' 2>/dev/null ||
7362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7363 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7364 /^X\(\/\/\)$/{ s//\1/; q; }
7365 /^X\(\/\).*/{ s//\1/; q; }
7366 s/.*/./; q'`/stamp-h$_am_stamp_count
7369 cat >>$CONFIG_STATUS <<\_ACEOF
7372 # CONFIG_COMMANDS section.
7374 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7375 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7376 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7377 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7378 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7379 X"$ac_dest" : 'X\(//\)[^/]' \| \
7380 X"$ac_dest" : 'X\(//\)$' \| \
7381 X"$ac_dest" : 'X\(/\)' \| \
7382 . : '\(.\)' 2>/dev/null ||
7384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7385 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7386 /^X\(\/\/\)$/{ s//\1/; q; }
7387 /^X\(\/\).*/{ s//\1/; q; }
7389 { if $as_mkdir_p; then
7394 while test ! -d "$as_dir"; do
7395 as_dirs="$as_dir $as_dirs"
7396 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7397 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7398 X"$as_dir" : 'X\(//\)[^/]' \| \
7399 X"$as_dir" : 'X\(//\)$' \| \
7400 X"$as_dir" : 'X\(/\)' \| \
7401 . : '\(.\)' 2>/dev/null ||
7403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7404 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7405 /^X\(\/\/\)$/{ s//\1/; q; }
7406 /^X\(\/\).*/{ s//\1/; q; }
7409 test ! -n "$as_dirs" || mkdir $as_dirs
7410 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7411 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7412 { (exit 1); exit 1; }; }; }
7416 if test "$ac_dir" != .; then
7417 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7418 # A "../" for each directory in $ac_dir_suffix.
7419 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7421 ac_dir_suffix= ac_top_builddir=
7425 .) # No --srcdir option. We are building in place.
7427 if test -z "$ac_top_builddir"; then
7430 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7432 [\\/]* | ?:[\\/]* ) # Absolute path.
7433 ac_srcdir=$srcdir$ac_dir_suffix;
7434 ac_top_srcdir=$srcdir ;;
7436 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7437 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7440 # Do not use `cd foo && pwd` to compute absolute paths, because
7441 # the directories may not exist.
7443 .) ac_abs_builddir="$ac_dir";;
7446 .) ac_abs_builddir=`pwd`;;
7447 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7448 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7451 case $ac_abs_builddir in
7452 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7454 case ${ac_top_builddir}. in
7455 .) ac_abs_top_builddir=$ac_abs_builddir;;
7456 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7457 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7460 case $ac_abs_builddir in
7461 .) ac_abs_srcdir=$ac_srcdir;;
7464 .) ac_abs_srcdir=$ac_abs_builddir;;
7465 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7466 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7469 case $ac_abs_builddir in
7470 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7472 case $ac_top_srcdir in
7473 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7474 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7475 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7480 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7481 echo "$as_me: executing $ac_dest commands" >&6;}
7483 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7484 # Strip MF so we end up with the name of the file.
7485 mf=`echo "$mf" | sed -e 's/:.*$//'`
7486 # Check whether this is an Automake generated Makefile or not.
7487 # We used to match only the files named `Makefile.in', but
7488 # some people rename them; so instead we look at the file content.
7489 # Grep'ing the first line is not enough: some people post-process
7490 # each Makefile.in and add a new line on top of each file to say so.
7491 # So let's grep whole file.
7492 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7493 dirpart=`(dirname "$mf") 2>/dev/null ||
7494 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7495 X"$mf" : 'X\(//\)[^/]' \| \
7496 X"$mf" : 'X\(//\)$' \| \
7497 X"$mf" : 'X\(/\)' \| \
7498 . : '\(.\)' 2>/dev/null ||
7500 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7501 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7502 /^X\(\/\/\)$/{ s//\1/; q; }
7503 /^X\(\/\).*/{ s//\1/; q; }
7508 # Extract the definition of DEPDIR, am__include, and am__quote
7509 # from the Makefile without running `make'.
7510 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7511 test -z "$DEPDIR" && continue
7512 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7513 test -z "am__include" && continue
7514 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7515 # When using ansi2knr, U may be empty or an underscore; expand it
7516 U=`sed -n 's/^U = //p' < "$mf"`
7517 # Find all dependency output files, they are included files with
7518 # $(DEPDIR) in their names. We invoke sed twice because it is the
7519 # simplest approach to changing $(DEPDIR) to its actual value in the
7521 for file in `sed -n "
7522 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7523 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7524 # Make sure the directory exists.
7525 test -f "$dirpart/$file" && continue
7526 fdir=`(dirname "$file") 2>/dev/null ||
7527 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7528 X"$file" : 'X\(//\)[^/]' \| \
7529 X"$file" : 'X\(//\)$' \| \
7530 X"$file" : 'X\(/\)' \| \
7531 . : '\(.\)' 2>/dev/null ||
7533 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7534 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7535 /^X\(\/\/\)$/{ s//\1/; q; }
7536 /^X\(\/\).*/{ s//\1/; q; }
7538 { if $as_mkdir_p; then
7539 mkdir -p $dirpart/$fdir
7541 as_dir=$dirpart/$fdir
7543 while test ! -d "$as_dir"; do
7544 as_dirs="$as_dir $as_dirs"
7545 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7546 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7547 X"$as_dir" : 'X\(//\)[^/]' \| \
7548 X"$as_dir" : 'X\(//\)$' \| \
7549 X"$as_dir" : 'X\(/\)' \| \
7550 . : '\(.\)' 2>/dev/null ||
7552 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7553 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7554 /^X\(\/\/\)$/{ s//\1/; q; }
7555 /^X\(\/\).*/{ s//\1/; q; }
7558 test ! -n "$as_dirs" || mkdir $as_dirs
7559 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7560 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7561 { (exit 1); exit 1; }; }; }
7563 # echo "creating $dirpart/$file"
7564 echo '# dummy' > "$dirpart/$file"
7572 cat >>$CONFIG_STATUS <<\_ACEOF
7574 { (exit 0); exit 0; }
7576 chmod +x $CONFIG_STATUS
7577 ac_clean_files=$ac_clean_files_save
7580 # configure is writing to config.log, and then calls config.status.
7581 # config.status does its own redirection, appending to config.log.
7582 # Unfortunately, on DOS this fails, as config.log is still kept open
7583 # by configure, so config.status won't be able to write to it; its
7584 # output is simply discarded. So we exec the FD to /dev/null,
7585 # effectively closing config.log, so it can be properly (re)opened and
7586 # appended to by config.status. When coming back to configure, we
7587 # need to make the FD available again.
7588 if test "$no_create" != yes; then
7590 ac_config_status_args=
7591 test "$silent" = yes &&
7592 ac_config_status_args="$ac_config_status_args --quiet"
7594 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7596 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7597 # would make configure fail if this is the last instruction.
7598 $ac_cs_success || { (exit 1); exit 1; }
7602 # CONFIG_SUBDIRS section.
7604 if test "$no_recursion" != yes; then
7606 # Remove --cache-file and --srcdir arguments so they do not pile up.
7607 ac_sub_configure_args=
7609 for ac_arg in $ac_configure_args; do
7610 if test -n "$ac_prev"; then
7615 -cache-file | --cache-file | --cache-fil | --cache-fi \
7616 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
7617 ac_prev=cache_file ;;
7618 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
7619 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
7622 --config-cache | -C)
7624 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
7626 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
7628 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
7630 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
7632 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
7636 # Always prepend --prefix to ensure using the same prefix
7637 # in subdir configurations.
7638 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
7641 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
7643 # Do not complain, so a configure script can configure whichever
7644 # parts of a large source tree are present.
7645 test -d $srcdir/$ac_dir || continue
7647 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
7648 echo "$as_me: configuring in $ac_dir" >&6;}
7649 { if $as_mkdir_p; then
7654 while test ! -d "$as_dir"; do
7655 as_dirs="$as_dir $as_dirs"
7656 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7657 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7658 X"$as_dir" : 'X\(//\)[^/]' \| \
7659 X"$as_dir" : 'X\(//\)$' \| \
7660 X"$as_dir" : 'X\(/\)' \| \
7661 . : '\(.\)' 2>/dev/null ||
7663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7664 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7665 /^X\(\/\/\)$/{ s//\1/; q; }
7666 /^X\(\/\).*/{ s//\1/; q; }
7669 test ! -n "$as_dirs" || mkdir $as_dirs
7670 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7671 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7672 { (exit 1); exit 1; }; }; }
7676 if test "$ac_dir" != .; then
7677 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7678 # A "../" for each directory in $ac_dir_suffix.
7679 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7681 ac_dir_suffix= ac_top_builddir=
7685 .) # No --srcdir option. We are building in place.
7687 if test -z "$ac_top_builddir"; then
7690 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7692 [\\/]* | ?:[\\/]* ) # Absolute path.
7693 ac_srcdir=$srcdir$ac_dir_suffix;
7694 ac_top_srcdir=$srcdir ;;
7696 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7697 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7700 # Do not use `cd foo && pwd` to compute absolute paths, because
7701 # the directories may not exist.
7703 .) ac_abs_builddir="$ac_dir";;
7706 .) ac_abs_builddir=`pwd`;;
7707 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7708 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7711 case $ac_abs_builddir in
7712 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7714 case ${ac_top_builddir}. in
7715 .) ac_abs_top_builddir=$ac_abs_builddir;;
7716 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7717 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7720 case $ac_abs_builddir in
7721 .) ac_abs_srcdir=$ac_srcdir;;
7724 .) ac_abs_srcdir=$ac_abs_builddir;;
7725 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7726 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7729 case $ac_abs_builddir in
7730 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7732 case $ac_top_srcdir in
7733 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7734 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7735 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7742 # Check for guested configure; otherwise get Cygnus style configure.
7743 if test -f $ac_srcdir/configure.gnu; then
7744 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
7745 elif test -f $ac_srcdir/configure; then
7746 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
7747 elif test -f $ac_srcdir/configure.in; then
7748 ac_sub_configure=$ac_configure
7750 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
7751 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
7755 # The recursion is here.
7756 if test -n "$ac_sub_configure"; then
7757 # Make the cache file name correct relative to the subdirectory.
7759 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
7761 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
7764 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
7765 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
7766 # The eval makes quoting arguments work.
7767 eval $ac_sub_configure $ac_sub_configure_args \
7768 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
7769 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
7770 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
7771 { (exit 1); exit 1; }; }