2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 # Support unset when possible.
25 if (FOO
=FOO
; unset FOO
) >/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 -n "`(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
224 as_executable_p
="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix
=/usr
/local
254 ac_config_libobj_dir
=.
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
273 ac_unique_file
="src/main.cpp"
274 ac_default_prefix
=/usr
/local
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT regex_cmd 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CPP LN_S RANLIB ac_ct_RANLIB PERL X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS EGREP LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CXX_set
=${CXX+set}
770 ac_env_CXX_value
=$CXX
771 ac_cv_env_CXX_set
=${CXX+set}
772 ac_cv_env_CXX_value
=$CXX
773 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
774 ac_env_CXXFLAGS_value
=$CXXFLAGS
775 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
776 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
777 ac_env_CPP_set
=${CPP+set}
778 ac_env_CPP_value
=$CPP
779 ac_cv_env_CPP_set
=${CPP+set}
780 ac_cv_env_CPP_value
=$CPP
783 # Report the --help message.
785 if test "$ac_init_help" = "long"; then
786 # Omit some internal or obsolete options to make the list less imposing.
787 # This message is too long to be a string in the A/UX 3.1 sh.
789 \`configure' configures this package to adapt to many kinds of systems.
791 Usage: $0 [OPTION]... [VAR=VALUE]...
793 To assign environment variables (e.g., CC, CFLAGS...), specify them as
794 VAR=VALUE. See below for descriptions of some of the useful variables.
796 Defaults for the options are specified in brackets.
799 -h, --help display this help and exit
800 --help=short display options specific to this package
801 --help=recursive display the short help of all the included packages
802 -V, --version display version information and exit
803 -q, --quiet, --silent do not print \`checking...' messages
804 --cache-file=FILE cache test results in FILE [disabled]
805 -C, --config-cache alias for \`--cache-file=config.cache'
806 -n, --no-create do not create output files
807 --srcdir=DIR find the sources in DIR [configure dir or \`..']
812 Installation directories:
813 --prefix=PREFIX install architecture-independent files in PREFIX
815 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
818 By default, \`make install' will install all the files in
819 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
820 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
821 for instance \`--prefix=\$HOME'.
823 For better control, use the options below.
825 Fine tuning of the installation directories:
826 --bindir=DIR user executables [EPREFIX/bin]
827 --sbindir=DIR system admin executables [EPREFIX/sbin]
828 --libexecdir=DIR program executables [EPREFIX/libexec]
829 --datadir=DIR read-only architecture-independent data [PREFIX/share]
830 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
831 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
832 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
833 --libdir=DIR object code libraries [EPREFIX/lib]
834 --includedir=DIR C header files [PREFIX/include]
835 --oldincludedir=DIR C header files for non-gcc [/usr/include]
836 --infodir=DIR info documentation [PREFIX/info]
837 --mandir=DIR man documentation [PREFIX/man]
843 --program-prefix=PREFIX prepend PREFIX to installed program names
844 --program-suffix=SUFFIX append SUFFIX to installed program names
845 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
848 --x-includes=DIR X include files are
in DIR
849 --x-libraries=DIR X library files are
in DIR
853 if test -n "$ac_init_help"; then
858 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
859 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
860 --enable-maintainer-mode enable make rules and dependencies not useful
861 (and sometimes confusing
) to the casual installer
862 --enable-debug create debugging code default
=no
863 --disable-dependency-tracking Speeds up one-time builds
864 --enable-dependency-tracking Do not reject slow dependency extractors
867 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
868 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
869 --with-x use the X Window System
870 --with-bt-includes blackbox library headers
871 --with-bt-lib blackbox library
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
>
880 CXX C
++ compiler
command
881 CXXFLAGS C
++ compiler flags
884 Use these variables to override the choices made by
`configure' or to help
885 it to find libraries and programs with nonstandard names/locations.
890 if test "$ac_init_help" = "recursive"; then
891 # If there are subdirs, report their specific --help.
893 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
894 test -d $ac_dir || continue
897 if test "$ac_dir" != .; then
898 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
899 # A "../" for each directory in $ac_dir_suffix.
900 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
902 ac_dir_suffix= ac_top_builddir=
906 .) # No --srcdir option. We are building in place.
908 if test -z "$ac_top_builddir"; then
911 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
913 [\\/]* | ?:[\\/]* ) # Absolute path.
914 ac_srcdir=$srcdir$ac_dir_suffix;
915 ac_top_srcdir=$srcdir ;;
917 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
918 ac_top_srcdir=$ac_top_builddir$srcdir ;;
920 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
922 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
923 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
924 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
925 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
928 # Check for guested configure; otherwise get Cygnus style configure.
929 if test -f $ac_srcdir/configure.gnu; then
931 $SHELL $ac_srcdir/configure.gnu --help=recursive
932 elif test -f $ac_srcdir/configure; then
934 $SHELL $ac_srcdir/configure --help=recursive
935 elif test -f $ac_srcdir/configure.ac ||
936 test -f $ac_srcdir/configure.in; then
940 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
946 test -n "$ac_init_help" && exit 0
947 if $ac_init_version; then
950 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
951 Free Software Foundation, Inc.
952 This configure script is free software; the Free Software Foundation
953 gives unlimited permission to copy, distribute and modify it.
959 This file contains any messages produced by compilers while
960 running configure, to aid debugging if configure makes a mistake.
962 It was created by $as_me, which was
963 generated by GNU Autoconf 2.57. Invocation command line was
974 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
975 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
976 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
977 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
978 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
980 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
981 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
983 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
984 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
985 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
986 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
987 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
988 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
989 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
997 test -z "$as_dir" && as_dir=.
1013 # Keep a trace of the command line.
1014 # Strip out --no-create and --no-recursion so they do not pile up.
1015 # Strip out --silent because we don't want to record it for future runs.
1016 # Also quote any args containing shell meta-characters.
1017 # Make two passes to allow for proper duplicate-argument suppression.
1022 ac_must_keep_next=false
1028 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1029 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1030 | -silent | --silent | --silen | --sile | --sil)
1032 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1033 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1036 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1038 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1039 if test $ac_must_keep_next = true; then
1040 ac_must_keep_next=false # Got value, back to normal.
1043 *=* | --config-cache | -C | -disable-* | --disable-* \
1044 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1045 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1046 | -with-* | --with-* | -without-* | --without-* | --x)
1047 case "$ac_configure_args0 " in
1048 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1051 -* ) ac_must_keep_next=true ;;
1054 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1055 # Get rid of the leading space.
1061 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1062 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1064 # When interrupted or exit'd, cleanup temporary files, and complete
1065 # config.log. We remove comments because anyway the quotes in there
1066 # would cause problems or look ugly.
1067 # WARNING: Be sure not to use single quotes in there, as some shells,
1068 # such as our DU 5.0 friend, will then `close
' the trap.
1069 trap 'exit_status
=$?
1070 # Save into config.log some information that might help in debugging.
1075 ## ---------------- ##
1076 ## Cache variables. ##
1077 ## ---------------- ##
1080 # The following way of writing the cache mishandles newlines in values,
1083 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1086 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1087 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1091 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1098 ## ----------------- ##
1099 ## Output variables. ##
1100 ## ----------------- ##
1103 for ac_var
in $ac_subst_vars
1105 eval ac_val
=$
`echo $ac_var`
1106 echo "$ac_var='"'"'$ac_val'"'"'"
1110 if test -n "$ac_subst_files"; then
1117 for ac_var
in $ac_subst_files
1119 eval ac_val
=$
`echo $ac_var`
1120 echo "$ac_var='"'"'$ac_val'"'"'"
1125 if test -s confdefs.h
; then
1132 sed "/^$/d" confdefs.h |
sort
1135 test "$ac_signal" != 0 &&
1136 echo "$as_me: caught signal $ac_signal"
1137 echo "$as_me: exit $exit_status"
1139 rm -f core core.
* *.core
&&
1140 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1143 for ac_signal in 1 2 13 15; do
1144 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1148 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1149 rm -rf conftest* confdefs.h
1150 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1153 # Predefined preprocessor variables.
1155 cat >>confdefs.h <<_ACEOF
1156 #define PACKAGE_NAME "$PACKAGE_NAME"
1160 cat >>confdefs.h <<_ACEOF
1161 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1165 cat >>confdefs.h <<_ACEOF
1166 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1170 cat >>confdefs.h <<_ACEOF
1171 #define PACKAGE_STRING "$PACKAGE_STRING"
1175 cat >>confdefs.h <<_ACEOF
1176 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1180 # Let the site file select an alternate cache file if it wants to.
1181 # Prefer explicitly selected file to automatically selected ones.
1182 if test -z "$CONFIG_SITE"; then
1183 if test "x$prefix" != xNONE; then
1184 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1186 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1189 for ac_site_file in $CONFIG_SITE; do
1190 if test -r "$ac_site_file"; then
1191 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1192 echo "$as_me: loading site script $ac_site_file" >&6;}
1193 sed 's
/^
/|
/' "$ac_site_file" >&5
1198 if test -r "$cache_file"; then
1199 # Some versions of bash will fail to source /dev/null (special
1200 # files actually), so we avoid doing that.
1201 if test -f "$cache_file"; then
1202 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1203 echo "$as_me: loading cache $cache_file" >&6;}
1205 [\\/]* | ?:[\\/]* ) . $cache_file;;
1206 *) . ./$cache_file;;
1210 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1211 echo "$as_me: creating cache $cache_file" >&6;}
1215 # Check that the precious variables saved in the cache have kept the same
1217 ac_cache_corrupted=false
1218 for ac_var in `(set) 2>&1 |
1219 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1220 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1221 eval ac_new_set=\$ac_env_${ac_var}_set
1222 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1223 eval ac_new_val="\$ac_env_${ac_var}_value"
1224 case $ac_old_set,$ac_new_set in
1226 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1227 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1228 ac_cache_corrupted=: ;;
1230 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1231 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1232 ac_cache_corrupted=: ;;
1235 if test "x$ac_old_val" != "x$ac_new_val"; then
1236 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1237 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1238 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1239 echo "$as_me: former value: $ac_old_val" >&2;}
1240 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1241 echo "$as_me: current value: $ac_new_val" >&2;}
1242 ac_cache_corrupted=:
1245 # Pass precious variables to config.status.
1246 if test "$ac_new_set" = set; then
1248 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1249 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1250 *) ac_arg=$ac_var=$ac_new_val ;;
1252 case " $ac_configure_args " in
1253 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1254 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1258 if $ac_cache_corrupted; then
1259 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1260 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1261 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1262 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1263 { (exit 1); exit 1; }; }
1267 ac_cpp='$CPP $CPPFLAGS'
1268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1269 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1290 am__api_version="1.7"
1292 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1293 if test -f $ac_dir/install-sh; then
1295 ac_install_sh="$ac_aux_dir/install-sh -c"
1297 elif test -f $ac_dir/install.sh; then
1299 ac_install_sh="$ac_aux_dir/install.sh -c"
1301 elif test -f $ac_dir/shtool; then
1303 ac_install_sh="$ac_aux_dir/shtool install -c"
1307 if test -z "$ac_aux_dir"; then
1308 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1309 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1310 { (exit 1); exit 1; }; }
1312 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1313 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1314 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1316 # Find a good install program. We prefer a C program (faster),
1317 # so one script is as good as another. But avoid the broken or
1318 # incompatible versions:
1319 # SysV /etc/install, /usr/sbin/install
1320 # SunOS /usr/etc/install
1321 # IRIX /sbin/install
1323 # AmigaOS /C/install, which installs bootblocks on floppy discs
1324 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1325 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1326 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1327 # ./install, which can be erroneously created by make from ./install.sh.
1328 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1329 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1330 if test -z "$INSTALL"; then
1331 if test "${ac_cv_path_install+set}" = set; then
1332 echo $ECHO_N "(cached) $ECHO_C" >&6
1334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1338 test -z "$as_dir" && as_dir
=.
1339 # Account for people who put trailing slashes in PATH elements.
1341 .
/ | .
// |
/cC
/* | \
1342 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1345 # OSF1 and SCO ODT 3.0 have their own names for install.
1346 # Don't use installbsd from OSF since it installs stuff as root
1348 for ac_prog
in ginstall scoinst
install; do
1349 for ac_exec_ext
in '' $ac_executable_extensions; do
1350 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1351 if test $ac_prog = install &&
1352 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1353 # AIX install. It has an incompatible calling convention.
1355 elif test $ac_prog = install &&
1356 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1357 # program-specific install script used by HP pwplus--don't use.
1360 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1372 if test "${ac_cv_path_install+set}" = set; then
1373 INSTALL
=$ac_cv_path_install
1375 # As a last resort, use the slow shell script. We don't cache a
1376 # path for INSTALL within a source directory, because that will
1377 # break other packages using the cache if that directory is
1378 # removed, or if the path is relative.
1379 INSTALL
=$ac_install_sh
1382 echo "$as_me:$LINENO: result: $INSTALL" >&5
1383 echo "${ECHO_T}$INSTALL" >&6
1385 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1386 # It thinks the first close brace ends the variable substitution.
1387 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1389 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1391 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1393 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1394 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1397 echo timestamp
> conftest.
file
1398 # Do `set' in a subshell so we don't clobber the current shell's
1399 # arguments. Must try -L first in case configure is actually a
1400 # symlink; some systems play weird games with the mod time of symlinks
1401 # (eg FreeBSD returns the mod time of the symlink's containing
1404 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1405 if test "$*" = "X"; then
1407 set X
`ls -t $srcdir/configure conftest.file`
1410 if test "$*" != "X $srcdir/configure conftest.file" \
1411 && test "$*" != "X conftest.file $srcdir/configure"; then
1413 # If neither matched, then we have a broken ls. This can happen
1414 # if, for instance, CONFIG_SHELL is bash and it inherits a
1415 # broken ls alias from the environment. This has actually
1416 # happened. Such a system could not be considered "sane".
1417 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1418 alias in your environment" >&5
1419 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1420 alias in your environment" >&2;}
1421 { (exit 1); exit 1; }; }
1424 test "$2" = conftest.
file
1430 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1431 Check your system clock" >&5
1432 echo "$as_me: error: newly created file is older than distributed files!
1433 Check your system clock" >&2;}
1434 { (exit 1); exit 1; }; }
1436 echo "$as_me:$LINENO: result: yes" >&5
1437 echo "${ECHO_T}yes" >&6
1438 test "$program_prefix" != NONE
&&
1439 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1440 # Use a double $ so make ignores it.
1441 test "$program_suffix" != NONE
&&
1442 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1443 # Double any \ or $. echo might interpret backslashes.
1444 # By default was `s,x,x', remove it if useless.
1445 cat <<\_ACEOF
>conftest.
sed
1446 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1448 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1452 # expand $ac_aux_dir to an absolute path
1453 am_aux_dir
=`cd $ac_aux_dir && pwd`
1455 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1456 # Use eval to expand $SHELL
1457 if eval "$MISSING --run true"; then
1458 am_missing_run
="$MISSING --run "
1461 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1462 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1465 for ac_prog
in gawk mawk nawk
awk
1467 # Extract the first word of "$ac_prog", so it can be a program name with args.
1468 set dummy
$ac_prog; ac_word
=$2
1469 echo "$as_me:$LINENO: checking for $ac_word" >&5
1470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1471 if test "${ac_cv_prog_AWK+set}" = set; then
1472 echo $ECHO_N "(cached) $ECHO_C" >&6
1474 if test -n "$AWK"; then
1475 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1481 test -z "$as_dir" && as_dir
=.
1482 for ac_exec_ext
in '' $ac_executable_extensions; do
1483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1484 ac_cv_prog_AWK
="$ac_prog"
1485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1494 if test -n "$AWK"; then
1495 echo "$as_me:$LINENO: result: $AWK" >&5
1496 echo "${ECHO_T}$AWK" >&6
1498 echo "$as_me:$LINENO: result: no" >&5
1499 echo "${ECHO_T}no" >&6
1502 test -n "$AWK" && break
1505 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1506 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1507 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1508 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1511 cat >conftest.
make <<\_ACEOF
1513 @
echo 'ac_maketemp="$(MAKE)"'
1515 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1516 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1517 if test -n "$ac_maketemp"; then
1518 eval ac_cv_prog_make_
${ac_make}_set
=yes
1520 eval ac_cv_prog_make_
${ac_make}_set
=no
1524 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1525 echo "$as_me:$LINENO: result: yes" >&5
1526 echo "${ECHO_T}yes" >&6
1529 echo "$as_me:$LINENO: result: no" >&5
1530 echo "${ECHO_T}no" >&6
1531 SET_MAKE
="MAKE=${MAKE-make}"
1534 # test to see if srcdir already configured
1535 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1536 test -f $srcdir/config.status
; then
1537 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1538 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1539 { (exit 1); exit 1; }; }
1542 # test whether we have cygpath
1543 if test -z "$CYGPATH_W"; then
1544 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1545 CYGPATH_W
='cygpath -w'
1552 # Define the identity of the package.
1557 cat >>confdefs.h
<<_ACEOF
1558 #define PACKAGE "$PACKAGE"
1562 cat >>confdefs.h
<<_ACEOF
1563 #define VERSION "$VERSION"
1566 # Some tools Automake needs.
1568 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1571 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1574 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1577 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1580 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1583 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1585 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1587 # Installed binaries are usually stripped using `strip' when the user
1588 # run `make install-strip'. However `strip' might not be the right
1589 # tool to use in cross-compilation environments, therefore Automake
1590 # will honor the `STRIP' environment variable to overrule this program.
1591 if test "$cross_compiling" != no
; then
1592 if test -n "$ac_tool_prefix"; then
1593 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1594 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1595 echo "$as_me:$LINENO: checking for $ac_word" >&5
1596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1597 if test "${ac_cv_prog_STRIP+set}" = set; then
1598 echo $ECHO_N "(cached) $ECHO_C" >&6
1600 if test -n "$STRIP"; then
1601 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1607 test -z "$as_dir" && as_dir
=.
1608 for ac_exec_ext
in '' $ac_executable_extensions; do
1609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1610 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1619 STRIP
=$ac_cv_prog_STRIP
1620 if test -n "$STRIP"; then
1621 echo "$as_me:$LINENO: result: $STRIP" >&5
1622 echo "${ECHO_T}$STRIP" >&6
1624 echo "$as_me:$LINENO: result: no" >&5
1625 echo "${ECHO_T}no" >&6
1629 if test -z "$ac_cv_prog_STRIP"; then
1631 # Extract the first word of "strip", so it can be a program name with args.
1632 set dummy strip
; ac_word
=$2
1633 echo "$as_me:$LINENO: checking for $ac_word" >&5
1634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1635 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1636 echo $ECHO_N "(cached) $ECHO_C" >&6
1638 if test -n "$ac_ct_STRIP"; then
1639 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1645 test -z "$as_dir" && as_dir
=.
1646 for ac_exec_ext
in '' $ac_executable_extensions; do
1647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1648 ac_cv_prog_ac_ct_STRIP
="strip"
1649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1655 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1658 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1659 if test -n "$ac_ct_STRIP"; then
1660 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1661 echo "${ECHO_T}$ac_ct_STRIP" >&6
1663 echo "$as_me:$LINENO: result: no" >&5
1664 echo "${ECHO_T}no" >&6
1669 STRIP
="$ac_cv_prog_STRIP"
1673 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1675 # We need awk for the "check" target. The system "awk" is bad on
1680 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1681 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1682 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1683 if test "${enable_maintainer_mode+set}" = set; then
1684 enableval
="$enable_maintainer_mode"
1685 USE_MAINTAINER_MODE
=$enableval
1687 USE_MAINTAINER_MODE
=no
1689 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1690 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1693 if test $USE_MAINTAINER_MODE = yes; then
1694 MAINTAINER_MODE_TRUE
=
1695 MAINTAINER_MODE_FALSE
='#'
1697 MAINTAINER_MODE_TRUE
='#'
1698 MAINTAINER_MODE_FALSE
=
1701 MAINT
=$MAINTAINER_MODE_TRUE
1708 # Extract the first word of "$ac_prog", so it can be a program name with args.
1709 set dummy
$ac_prog; ac_word
=$2
1710 echo "$as_me:$LINENO: checking for $ac_word" >&5
1711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1712 if test "${ac_cv_prog_regex_cmd+set}" = set; then
1713 echo $ECHO_N "(cached) $ECHO_C" >&6
1715 if test -n "$regex_cmd"; then
1716 ac_cv_prog_regex_cmd
="$regex_cmd" # Let the user override the test.
1718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1722 test -z "$as_dir" && as_dir
=.
1723 for ac_exec_ext
in '' $ac_executable_extensions; do
1724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1725 ac_cv_prog_regex_cmd
="$ac_prog"
1726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1734 regex_cmd
=$ac_cv_prog_regex_cmd
1735 if test -n "$regex_cmd"; then
1736 echo "$as_me:$LINENO: result: $regex_cmd" >&5
1737 echo "${ECHO_T}$regex_cmd" >&6
1739 echo "$as_me:$LINENO: result: no" >&5
1740 echo "${ECHO_T}no" >&6
1743 test -n "$regex_cmd" && break
1746 if test x
$regex_cmd = "x"; then
1747 { { echo "$as_me:$LINENO: error: error. sed is required to build the default bbtoolsrc file." >&5
1748 echo "$as_me: error: error. sed is required to build the default bbtoolsrc file." >&2;}
1749 { (exit 1); exit 1; }; }
1756 # Check whether --enable-debug or --disable-debug was given.
1757 if test "${enable_debug+set}" = set; then
1758 enableval
="$enable_debug"
1760 if test $enableval = "no";
1763 _CXXFLAGS
="-DNDEBUG"
1767 _CFLAGS
="$_CFLAGS -O"
1768 _CXXFLAGS
="$_CXXFLAGS -O"
1769 _LDFLAGS
="$_LDFLAGS -z muldefs"
1772 _CFLAGS
="$_CFLAGS -O2"
1773 _CXXFLAGS
="$_CXXFLAGS -O2"
1776 test "$CFLAGS" = "" && CFLAGS
=$_CFLAGS
1777 test "$CXXFLAGS" = "" && CXXFLAGS
=$_CXXFLAGS
1778 test "$LDFLAGS" = "" && LDFLAGS
=$_LDFLAGS
1781 _CFLAGS
="-g -Wall -DDEBUG"
1782 _CXXFLAGS
="-g -Wall -DDEBUG"
1786 _LDFLAGS
="$_LDFLAGS -z muldefs"
1789 test "$CFLAGS" = "" && CFLAGS
=$_CFLAGS
1790 test "$CXXFLAGS" = "" && CXXFLAGS
=$_CXXFLAGS
1791 test "$LDFLAGS" = "" && LDFLAGS
=$_LDFLAGS
1798 _CXXFLAGS
="-DNDEBUG"
1802 _CFLAGS
="$_CFLAGS -O"
1803 _CXXFLAGS
="$_CXXFLAGS -O"
1804 _LDFLAGS
="$_LDFLAGS -z muldefs"
1807 _CFLAGS
="$_CFLAGS -O2"
1808 _CXXFLAGS
="$_CXXFLAGS -O2"
1811 test "$CFLAGS" = "" && CFLAGS
=$_CFLAGS
1812 test "$CXXFLAGS" = "" && CXXFLAGS
=$_CXXFLAGS
1813 test "$LDFLAGS" = "" && LDFLAGS
=$_LDFLAGS
1818 ac_cpp
='$CPP $CPPFLAGS'
1819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1822 if test -n "$ac_tool_prefix"; then
1823 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1824 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1825 echo "$as_me:$LINENO: checking for $ac_word" >&5
1826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1827 if test "${ac_cv_prog_CC+set}" = set; then
1828 echo $ECHO_N "(cached) $ECHO_C" >&6
1830 if test -n "$CC"; then
1831 ac_cv_prog_CC
="$CC" # Let the user override the test.
1833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1837 test -z "$as_dir" && as_dir
=.
1838 for ac_exec_ext
in '' $ac_executable_extensions; do
1839 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1840 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1850 if test -n "$CC"; then
1851 echo "$as_me:$LINENO: result: $CC" >&5
1852 echo "${ECHO_T}$CC" >&6
1854 echo "$as_me:$LINENO: result: no" >&5
1855 echo "${ECHO_T}no" >&6
1859 if test -z "$ac_cv_prog_CC"; then
1861 # Extract the first word of "gcc", so it can be a program name with args.
1862 set dummy gcc
; ac_word
=$2
1863 echo "$as_me:$LINENO: checking for $ac_word" >&5
1864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1865 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1866 echo $ECHO_N "(cached) $ECHO_C" >&6
1868 if test -n "$ac_ct_CC"; then
1869 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1875 test -z "$as_dir" && as_dir
=.
1876 for ac_exec_ext
in '' $ac_executable_extensions; do
1877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1878 ac_cv_prog_ac_ct_CC
="gcc"
1879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1887 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1888 if test -n "$ac_ct_CC"; then
1889 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1890 echo "${ECHO_T}$ac_ct_CC" >&6
1892 echo "$as_me:$LINENO: result: no" >&5
1893 echo "${ECHO_T}no" >&6
1901 if test -z "$CC"; then
1902 if test -n "$ac_tool_prefix"; then
1903 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1904 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1905 echo "$as_me:$LINENO: checking for $ac_word" >&5
1906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1907 if test "${ac_cv_prog_CC+set}" = set; then
1908 echo $ECHO_N "(cached) $ECHO_C" >&6
1910 if test -n "$CC"; then
1911 ac_cv_prog_CC
="$CC" # Let the user override the test.
1913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1917 test -z "$as_dir" && as_dir
=.
1918 for ac_exec_ext
in '' $ac_executable_extensions; do
1919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1920 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1930 if test -n "$CC"; then
1931 echo "$as_me:$LINENO: result: $CC" >&5
1932 echo "${ECHO_T}$CC" >&6
1934 echo "$as_me:$LINENO: result: no" >&5
1935 echo "${ECHO_T}no" >&6
1939 if test -z "$ac_cv_prog_CC"; then
1941 # Extract the first word of "cc", so it can be a program name with args.
1942 set dummy cc
; ac_word
=$2
1943 echo "$as_me:$LINENO: checking for $ac_word" >&5
1944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1945 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1946 echo $ECHO_N "(cached) $ECHO_C" >&6
1948 if test -n "$ac_ct_CC"; then
1949 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1955 test -z "$as_dir" && as_dir
=.
1956 for ac_exec_ext
in '' $ac_executable_extensions; do
1957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1958 ac_cv_prog_ac_ct_CC
="cc"
1959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1967 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1968 if test -n "$ac_ct_CC"; then
1969 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1970 echo "${ECHO_T}$ac_ct_CC" >&6
1972 echo "$as_me:$LINENO: result: no" >&5
1973 echo "${ECHO_T}no" >&6
1982 if test -z "$CC"; then
1983 # Extract the first word of "cc", so it can be a program name with args.
1984 set dummy cc
; ac_word
=$2
1985 echo "$as_me:$LINENO: checking for $ac_word" >&5
1986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1987 if test "${ac_cv_prog_CC+set}" = set; then
1988 echo $ECHO_N "(cached) $ECHO_C" >&6
1990 if test -n "$CC"; then
1991 ac_cv_prog_CC
="$CC" # Let the user override the test.
1994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1998 test -z "$as_dir" && as_dir
=.
1999 for ac_exec_ext
in '' $ac_executable_extensions; do
2000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2001 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2002 ac_prog_rejected
=yes
2006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2012 if test $ac_prog_rejected = yes; then
2013 # We found a bogon in the path, so make sure we never use it.
2014 set dummy
$ac_cv_prog_CC
2016 if test $# != 0; then
2017 # We chose a different compiler from the bogus one.
2018 # However, it has the same basename, so the bogon will be chosen
2019 # first if we set CC to just the basename; use the full file name.
2021 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2027 if test -n "$CC"; then
2028 echo "$as_me:$LINENO: result: $CC" >&5
2029 echo "${ECHO_T}$CC" >&6
2031 echo "$as_me:$LINENO: result: no" >&5
2032 echo "${ECHO_T}no" >&6
2036 if test -z "$CC"; then
2037 if test -n "$ac_tool_prefix"; then
2040 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2041 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2042 echo "$as_me:$LINENO: checking for $ac_word" >&5
2043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2044 if test "${ac_cv_prog_CC+set}" = set; then
2045 echo $ECHO_N "(cached) $ECHO_C" >&6
2047 if test -n "$CC"; then
2048 ac_cv_prog_CC
="$CC" # Let the user override the test.
2050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2054 test -z "$as_dir" && as_dir
=.
2055 for ac_exec_ext
in '' $ac_executable_extensions; do
2056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2057 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2067 if test -n "$CC"; then
2068 echo "$as_me:$LINENO: result: $CC" >&5
2069 echo "${ECHO_T}$CC" >&6
2071 echo "$as_me:$LINENO: result: no" >&5
2072 echo "${ECHO_T}no" >&6
2075 test -n "$CC" && break
2078 if test -z "$CC"; then
2082 # Extract the first word of "$ac_prog", so it can be a program name with args.
2083 set dummy
$ac_prog; ac_word
=$2
2084 echo "$as_me:$LINENO: checking for $ac_word" >&5
2085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2086 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2087 echo $ECHO_N "(cached) $ECHO_C" >&6
2089 if test -n "$ac_ct_CC"; then
2090 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2096 test -z "$as_dir" && as_dir
=.
2097 for ac_exec_ext
in '' $ac_executable_extensions; do
2098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2099 ac_cv_prog_ac_ct_CC
="$ac_prog"
2100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2108 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2109 if test -n "$ac_ct_CC"; then
2110 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2111 echo "${ECHO_T}$ac_ct_CC" >&6
2113 echo "$as_me:$LINENO: result: no" >&5
2114 echo "${ECHO_T}no" >&6
2117 test -n "$ac_ct_CC" && break
2126 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2127 See \`config.log' for more details." >&5
2128 echo "$as_me: error: no acceptable C compiler found in \$PATH
2129 See \`config.log' for more details." >&2;}
2130 { (exit 1); exit 1; }; }
2132 # Provide some information about the compiler.
2133 echo "$as_me:$LINENO:" \
2134 "checking for C compiler version" >&5
2135 ac_compiler
=`set X $ac_compile; echo $2`
2136 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2137 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2140 (exit $ac_status); }
2141 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2142 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2145 (exit $ac_status); }
2146 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2147 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2150 (exit $ac_status); }
2152 cat >conftest.
$ac_ext <<_ACEOF
2153 #line $LINENO "configure"
2156 cat confdefs.h
>>conftest.
$ac_ext
2157 cat >>conftest.
$ac_ext <<_ACEOF
2158 /* end confdefs.h. */
2168 ac_clean_files_save
=$ac_clean_files
2169 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2170 # Try to create an executable without -o first, disregard a.out.
2171 # It will help us diagnose broken compilers, and finding out an intuition
2173 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2174 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2175 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2176 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2177 (eval $ac_link_default) 2>&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); }; then
2181 # Find the output, starting from the most likely. This scheme is
2182 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2185 # Be careful to initialize this variable, since it used to be cached.
2186 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2188 # b.out is created by i960 compilers.
2189 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2191 test -f "$ac_file" ||
continue
2193 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2196 # This is the source file.
2199 # We found the default executable, but exeext='' is most
2203 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2204 # FIXME: I believe we export ac_cv_exeext for Libtool,
2205 # but it would be cool to find out if it's true. Does anybody
2206 # maintain Libtool? --akim.
2214 echo "$as_me: failed program was:" >&5
2215 sed 's/^/| /' conftest.
$ac_ext >&5
2217 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2218 See \`config.log' for more details." >&5
2219 echo "$as_me: error: C compiler cannot create executables
2220 See \`config.log' for more details." >&2;}
2221 { (exit 77); exit 77; }; }
2224 ac_exeext
=$ac_cv_exeext
2225 echo "$as_me:$LINENO: result: $ac_file" >&5
2226 echo "${ECHO_T}$ac_file" >&6
2228 # Check the compiler produces executables we can run. If not, either
2229 # the compiler is broken, or we cross compile.
2230 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2231 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2232 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2233 # If not cross compiling, check that we can run a simple program.
2234 if test "$cross_compiling" != yes; then
2235 if { ac_try
='./$ac_file'
2236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2240 (exit $ac_status); }; }; then
2243 if test "$cross_compiling" = maybe
; then
2246 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2247 If you meant to cross compile, use \`--host'.
2248 See \`config.log' for more details." >&5
2249 echo "$as_me: error: cannot run C compiled programs.
2250 If you meant to cross compile, use \`--host'.
2251 See \`config.log' for more details." >&2;}
2252 { (exit 1); exit 1; }; }
2256 echo "$as_me:$LINENO: result: yes" >&5
2257 echo "${ECHO_T}yes" >&6
2259 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2260 ac_clean_files
=$ac_clean_files_save
2261 # Check the compiler produces executables we can run. If not, either
2262 # the compiler is broken, or we cross compile.
2263 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2264 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2265 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2266 echo "${ECHO_T}$cross_compiling" >&6
2268 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2269 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2271 (eval $ac_link) 2>&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); }; then
2275 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2276 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2277 # work properly (i.e., refer to `conftest.exe'), while it won't with
2279 for ac_file
in conftest.exe conftest conftest.
*; do
2280 test -f "$ac_file" ||
continue
2282 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2283 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2290 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2291 See \`config.log' for more details." >&5
2292 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2293 See \`config.log' for more details." >&2;}
2294 { (exit 1); exit 1; }; }
2297 rm -f conftest
$ac_cv_exeext
2298 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2299 echo "${ECHO_T}$ac_cv_exeext" >&6
2301 rm -f conftest.
$ac_ext
2302 EXEEXT
=$ac_cv_exeext
2304 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2305 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2306 if test "${ac_cv_objext+set}" = set; then
2307 echo $ECHO_N "(cached) $ECHO_C" >&6
2309 cat >conftest.
$ac_ext <<_ACEOF
2310 #line $LINENO "configure"
2313 cat confdefs.h
>>conftest.
$ac_ext
2314 cat >>conftest.
$ac_ext <<_ACEOF
2315 /* end confdefs.h. */
2325 rm -f conftest.o conftest.obj
2326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2327 (eval $ac_compile) 2>&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }; then
2331 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2333 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2334 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2339 echo "$as_me: failed program was:" >&5
2340 sed 's/^/| /' conftest.
$ac_ext >&5
2342 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2343 See \`config.log' for more details." >&5
2344 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2345 See \`config.log' for more details." >&2;}
2346 { (exit 1); exit 1; }; }
2349 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2351 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2352 echo "${ECHO_T}$ac_cv_objext" >&6
2353 OBJEXT
=$ac_cv_objext
2355 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2356 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2357 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2358 echo $ECHO_N "(cached) $ECHO_C" >&6
2360 cat >conftest.
$ac_ext <<_ACEOF
2361 #line $LINENO "configure"
2364 cat confdefs.h
>>conftest.
$ac_ext
2365 cat >>conftest.
$ac_ext <<_ACEOF
2366 /* end confdefs.h. */
2379 rm -f conftest.
$ac_objext
2380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2381 (eval $ac_compile) 2>&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); } &&
2385 { ac_try
='test -s conftest.$ac_objext'
2386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); }; }; then
2393 echo "$as_me: failed program was:" >&5
2394 sed 's/^/| /' conftest.
$ac_ext >&5
2398 rm -f conftest.
$ac_objext conftest.
$ac_ext
2399 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2402 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2403 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2404 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2405 ac_test_CFLAGS
=${CFLAGS+set}
2406 ac_save_CFLAGS
=$CFLAGS
2408 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2409 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2410 if test "${ac_cv_prog_cc_g+set}" = set; then
2411 echo $ECHO_N "(cached) $ECHO_C" >&6
2413 cat >conftest.
$ac_ext <<_ACEOF
2414 #line $LINENO "configure"
2417 cat confdefs.h
>>conftest.
$ac_ext
2418 cat >>conftest.
$ac_ext <<_ACEOF
2419 /* end confdefs.h. */
2429 rm -f conftest.
$ac_objext
2430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2431 (eval $ac_compile) 2>&5
2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434 (exit $ac_status); } &&
2435 { ac_try
='test -s conftest.$ac_objext'
2436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440 (exit $ac_status); }; }; then
2443 echo "$as_me: failed program was:" >&5
2444 sed 's/^/| /' conftest.
$ac_ext >&5
2448 rm -f conftest.
$ac_objext conftest.
$ac_ext
2450 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2451 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2452 if test "$ac_test_CFLAGS" = set; then
2453 CFLAGS
=$ac_save_CFLAGS
2454 elif test $ac_cv_prog_cc_g = yes; then
2455 if test "$GCC" = yes; then
2461 if test "$GCC" = yes; then
2467 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2468 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2469 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2470 echo $ECHO_N "(cached) $ECHO_C" >&6
2472 ac_cv_prog_cc_stdc
=no
2474 cat >conftest.
$ac_ext <<_ACEOF
2475 #line $LINENO "configure"
2478 cat confdefs.h
>>conftest.
$ac_ext
2479 cat >>conftest.
$ac_ext <<_ACEOF
2480 /* end confdefs.h. */
2483 #include <sys/types.h>
2484 #include <sys/stat.h>
2485 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2486 struct buf { int x; };
2487 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2488 static char *e (p, i)
2494 static char *f (char * (*g) (char **, int), char **p, ...)
2499 s = g (p, va_arg (v,int));
2503 int test (int i, double x);
2504 struct s1 {int (*f) (int a);};
2505 struct s2 {int (*f) (double a);};
2506 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2512 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2517 # Don't try gcc -ansi; that turns off useful extensions and
2518 # breaks some systems' header files.
2519 # AIX -qlanglvl=ansi
2520 # Ultrix and OSF/1 -std1
2521 # HP-UX 10.20 and later -Ae
2522 # HP-UX older versions -Aa -D_HPUX_SOURCE
2523 # SVR4 -Xc -D__EXTENSIONS__
2524 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2526 CC
="$ac_save_CC $ac_arg"
2527 rm -f conftest.
$ac_objext
2528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2529 (eval $ac_compile) 2>&5
2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532 (exit $ac_status); } &&
2533 { ac_try
='test -s conftest.$ac_objext'
2534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538 (exit $ac_status); }; }; then
2539 ac_cv_prog_cc_stdc
=$ac_arg
2542 echo "$as_me: failed program was:" >&5
2543 sed 's/^/| /' conftest.
$ac_ext >&5
2546 rm -f conftest.
$ac_objext
2548 rm -f conftest.
$ac_ext conftest.
$ac_objext
2553 case "x$ac_cv_prog_cc_stdc" in
2555 echo "$as_me:$LINENO: result: none needed" >&5
2556 echo "${ECHO_T}none needed" >&6 ;;
2558 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2559 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2560 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2563 # Some people use a C++ compiler to compile C. Since we use `exit',
2564 # in C++ we need to declare it. In case someone uses the same compiler
2565 # for both compiling C and C++ we need to have the C++ compiler decide
2566 # the declaration of exit, since it's the most demanding environment.
2567 cat >conftest.
$ac_ext <<_ACEOF
2572 rm -f conftest.
$ac_objext
2573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2574 (eval $ac_compile) 2>&5
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); } &&
2578 { ac_try
='test -s conftest.$ac_objext'
2579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); }; }; then
2584 for ac_declaration
in \
2586 '#include <stdlib.h>' \
2587 'extern "C" void std::exit (int) throw (); using std::exit;' \
2588 'extern "C" void std::exit (int); using std::exit;' \
2589 'extern "C" void exit (int) throw ();' \
2590 'extern "C" void exit (int);' \
2593 cat >conftest.
$ac_ext <<_ACEOF
2594 #line $LINENO "configure"
2597 cat confdefs.h
>>conftest.
$ac_ext
2598 cat >>conftest.
$ac_ext <<_ACEOF
2599 /* end confdefs.h. */
2610 rm -f conftest.
$ac_objext
2611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2612 (eval $ac_compile) 2>&5
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); } &&
2616 { ac_try
='test -s conftest.$ac_objext'
2617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); }; }; then
2624 echo "$as_me: failed program was:" >&5
2625 sed 's/^/| /' conftest.
$ac_ext >&5
2629 rm -f conftest.
$ac_objext conftest.
$ac_ext
2630 cat >conftest.
$ac_ext <<_ACEOF
2631 #line $LINENO "configure"
2634 cat confdefs.h
>>conftest.
$ac_ext
2635 cat >>conftest.
$ac_ext <<_ACEOF
2636 /* end confdefs.h. */
2646 rm -f conftest.
$ac_objext
2647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2648 (eval $ac_compile) 2>&5
2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651 (exit $ac_status); } &&
2652 { ac_try
='test -s conftest.$ac_objext'
2653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); }; }; then
2660 echo "$as_me: failed program was:" >&5
2661 sed 's/^/| /' conftest.
$ac_ext >&5
2664 rm -f conftest.
$ac_objext conftest.
$ac_ext
2667 if test -n "$ac_declaration"; then
2668 echo '#ifdef __cplusplus' >>confdefs.h
2669 echo $ac_declaration >>confdefs.h
2670 echo '#endif' >>confdefs.h
2674 echo "$as_me: failed program was:" >&5
2675 sed 's/^/| /' conftest.
$ac_ext >&5
2678 rm -f conftest.
$ac_objext conftest.
$ac_ext
2680 ac_cpp
='$CPP $CPPFLAGS'
2681 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2682 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2683 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2684 rm -f .deps
2>/dev
/null
2685 mkdir .deps
2>/dev
/null
2686 if test -d .deps
; then
2689 # MS-DOS does not allow filenames that begin with a dot.
2692 rmdir .deps
2>/dev
/null
2695 ac_config_commands
="$ac_config_commands depfiles"
2698 am_make
=${MAKE-make}
2699 cat > confinc
<< 'END'
2703 # If we don't find an include directive, just comment out the code.
2704 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2705 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2709 # First try GNU make style include.
2710 echo "include confinc" > confmf
2711 # We grep out `Entering directory' and `Leaving directory'
2712 # messages which can occur if `w' ends up in MAKEFLAGS.
2713 # In particular we don't look at `^make:' because GNU make might
2714 # be invoked under some other name (usually "gmake"), in which
2715 # case it prints its new name instead of `make'.
2716 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2721 # Now try BSD make style include.
2722 if test "$am__include" = "#"; then
2723 echo '.include "confinc"' > confmf
2724 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2725 am__include
=.include
2732 echo "$as_me:$LINENO: result: $_am_result" >&5
2733 echo "${ECHO_T}$_am_result" >&6
2734 rm -f confinc confmf
2736 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2737 if test "${enable_dependency_tracking+set}" = set; then
2738 enableval
="$enable_dependency_tracking"
2741 if test "x$enable_dependency_tracking" != xno
; then
2742 am_depcomp
="$ac_aux_dir/depcomp"
2747 if test "x$enable_dependency_tracking" != xno; then
2758 depcc
="$CC" am_compiler_list
=
2760 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2761 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2762 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2763 echo $ECHO_N "(cached) $ECHO_C" >&6
2765 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2766 # We make a subdir and do the tests there. Otherwise we can end up
2767 # making bogus files that we don't know about and never remove. For
2768 # instance it was reported that on HP-UX the gcc test will end up
2769 # making a dummy file named `D' -- because `-MD' means `put the output
2772 # Copy depcomp to subdir because otherwise we won't find it if we're
2773 # using a relative directory.
2774 cp "$am_depcomp" conftest.dir
2777 am_cv_CC_dependencies_compiler_type
=none
2778 if test "$am_compiler_list" = ""; then
2779 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2781 for depmode
in $am_compiler_list; do
2782 # We need to recreate these files for each test, as the compiler may
2783 # overwrite some of them when testing with obscure command lines.
2784 # This happens at least with the AIX C compiler.
2785 echo '#include "conftest.h"' > conftest.c
2786 echo 'int i;' > conftest.h
2787 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2791 # after this tag, mechanisms are not by side-effect, so they'll
2792 # only be used when explicitly requested
2793 if test "x$enable_dependency_tracking" = xyes
; then
2801 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2802 # mode. It turns out that the SunPro C++ compiler does not properly
2803 # handle `-M -o', and we need to detect this.
2804 if depmode
=$depmode \
2805 source=conftest.c object
=conftest.o \
2806 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
2807 $SHELL .
/depcomp
$depcc -c -o conftest.o conftest.c
>/dev
/null
2>&1 &&
2808 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
2809 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2810 am_cv_CC_dependencies_compiler_type
=$depmode
2818 am_cv_CC_dependencies_compiler_type
=none
2822 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2823 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2824 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2829 test "x$enable_dependency_tracking" != xno \
2830 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2832 am__fastdepCC_FALSE
='#'
2834 am__fastdepCC_TRUE
='#'
2835 am__fastdepCC_FALSE
=
2840 ac_cpp
='$CXXCPP $CPPFLAGS'
2841 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2842 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2843 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2844 if test -n "$ac_tool_prefix"; then
2845 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2847 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2848 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2849 echo "$as_me:$LINENO: checking for $ac_word" >&5
2850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2851 if test "${ac_cv_prog_CXX+set}" = set; then
2852 echo $ECHO_N "(cached) $ECHO_C" >&6
2854 if test -n "$CXX"; then
2855 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2861 test -z "$as_dir" && as_dir
=.
2862 for ac_exec_ext
in '' $ac_executable_extensions; do
2863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2864 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2874 if test -n "$CXX"; then
2875 echo "$as_me:$LINENO: result: $CXX" >&5
2876 echo "${ECHO_T}$CXX" >&6
2878 echo "$as_me:$LINENO: result: no" >&5
2879 echo "${ECHO_T}no" >&6
2882 test -n "$CXX" && break
2885 if test -z "$CXX"; then
2887 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2889 # Extract the first word of "$ac_prog", so it can be a program name with args.
2890 set dummy
$ac_prog; ac_word
=$2
2891 echo "$as_me:$LINENO: checking for $ac_word" >&5
2892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2893 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2894 echo $ECHO_N "(cached) $ECHO_C" >&6
2896 if test -n "$ac_ct_CXX"; then
2897 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2903 test -z "$as_dir" && as_dir
=.
2904 for ac_exec_ext
in '' $ac_executable_extensions; do
2905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2906 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2915 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2916 if test -n "$ac_ct_CXX"; then
2917 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2918 echo "${ECHO_T}$ac_ct_CXX" >&6
2920 echo "$as_me:$LINENO: result: no" >&5
2921 echo "${ECHO_T}no" >&6
2924 test -n "$ac_ct_CXX" && break
2926 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2932 # Provide some information about the compiler.
2933 echo "$as_me:$LINENO:" \
2934 "checking for C++ compiler version" >&5
2935 ac_compiler
=`set X $ac_compile; echo $2`
2936 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2937 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }
2941 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2942 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); }
2946 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2947 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950 (exit $ac_status); }
2952 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2953 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2954 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2955 echo $ECHO_N "(cached) $ECHO_C" >&6
2957 cat >conftest.
$ac_ext <<_ACEOF
2958 #line $LINENO "configure"
2961 cat confdefs.h
>>conftest.
$ac_ext
2962 cat >>conftest.
$ac_ext <<_ACEOF
2963 /* end confdefs.h. */
2976 rm -f conftest.
$ac_objext
2977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2978 (eval $ac_compile) 2>&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); } &&
2982 { ac_try
='test -s conftest.$ac_objext'
2983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987 (exit $ac_status); }; }; then
2990 echo "$as_me: failed program was:" >&5
2991 sed 's/^/| /' conftest.
$ac_ext >&5
2995 rm -f conftest.
$ac_objext conftest.
$ac_ext
2996 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2999 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3000 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3001 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3002 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3003 ac_save_CXXFLAGS
=$CXXFLAGS
3005 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3006 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3007 if test "${ac_cv_prog_cxx_g+set}" = set; then
3008 echo $ECHO_N "(cached) $ECHO_C" >&6
3010 cat >conftest.
$ac_ext <<_ACEOF
3011 #line $LINENO "configure"
3014 cat confdefs.h
>>conftest.
$ac_ext
3015 cat >>conftest.
$ac_ext <<_ACEOF
3016 /* end confdefs.h. */
3026 rm -f conftest.
$ac_objext
3027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3028 (eval $ac_compile) 2>&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); } &&
3032 { ac_try
='test -s conftest.$ac_objext'
3033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037 (exit $ac_status); }; }; then
3038 ac_cv_prog_cxx_g
=yes
3040 echo "$as_me: failed program was:" >&5
3041 sed 's/^/| /' conftest.
$ac_ext >&5
3045 rm -f conftest.
$ac_objext conftest.
$ac_ext
3047 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3048 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3049 if test "$ac_test_CXXFLAGS" = set; then
3050 CXXFLAGS
=$ac_save_CXXFLAGS
3051 elif test $ac_cv_prog_cxx_g = yes; then
3052 if test "$GXX" = yes; then
3058 if test "$GXX" = yes; then
3064 for ac_declaration
in \
3066 '#include <stdlib.h>' \
3067 'extern "C" void std::exit (int) throw (); using std::exit;' \
3068 'extern "C" void std::exit (int); using std::exit;' \
3069 'extern "C" void exit (int) throw ();' \
3070 'extern "C" void exit (int);' \
3073 cat >conftest.
$ac_ext <<_ACEOF
3074 #line $LINENO "configure"
3077 cat confdefs.h
>>conftest.
$ac_ext
3078 cat >>conftest.
$ac_ext <<_ACEOF
3079 /* end confdefs.h. */
3090 rm -f conftest.
$ac_objext
3091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3092 (eval $ac_compile) 2>&5
3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); } &&
3096 { ac_try
='test -s conftest.$ac_objext'
3097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); }; }; then
3104 echo "$as_me: failed program was:" >&5
3105 sed 's/^/| /' conftest.
$ac_ext >&5
3109 rm -f conftest.
$ac_objext conftest.
$ac_ext
3110 cat >conftest.
$ac_ext <<_ACEOF
3111 #line $LINENO "configure"
3114 cat confdefs.h
>>conftest.
$ac_ext
3115 cat >>conftest.
$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3126 rm -f conftest.
$ac_objext
3127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3128 (eval $ac_compile) 2>&5
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); } &&
3132 { ac_try
='test -s conftest.$ac_objext'
3133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137 (exit $ac_status); }; }; then
3140 echo "$as_me: failed program was:" >&5
3141 sed 's/^/| /' conftest.
$ac_ext >&5
3144 rm -f conftest.
$ac_objext conftest.
$ac_ext
3147 if test -n "$ac_declaration"; then
3148 echo '#ifdef __cplusplus' >>confdefs.h
3149 echo $ac_declaration >>confdefs.h
3150 echo '#endif' >>confdefs.h
3154 ac_cpp
='$CPP $CPPFLAGS'
3155 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3156 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3157 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3159 depcc
="$CXX" am_compiler_list
=
3161 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3162 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3163 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3164 echo $ECHO_N "(cached) $ECHO_C" >&6
3166 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3167 # We make a subdir and do the tests there. Otherwise we can end up
3168 # making bogus files that we don't know about and never remove. For
3169 # instance it was reported that on HP-UX the gcc test will end up
3170 # making a dummy file named `D' -- because `-MD' means `put the output
3173 # Copy depcomp to subdir because otherwise we won't find it if we're
3174 # using a relative directory.
3175 cp "$am_depcomp" conftest.dir
3178 am_cv_CXX_dependencies_compiler_type
=none
3179 if test "$am_compiler_list" = ""; then
3180 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3182 for depmode
in $am_compiler_list; do
3183 # We need to recreate these files for each test, as the compiler may
3184 # overwrite some of them when testing with obscure command lines.
3185 # This happens at least with the AIX C compiler.
3186 echo '#include "conftest.h"' > conftest.c
3187 echo 'int i;' > conftest.h
3188 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3192 # after this tag, mechanisms are not by side-effect, so they'll
3193 # only be used when explicitly requested
3194 if test "x$enable_dependency_tracking" = xyes
; then
3202 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3203 # mode. It turns out that the SunPro C++ compiler does not properly
3204 # handle `-M -o', and we need to detect this.
3205 if depmode
=$depmode \
3206 source=conftest.c object
=conftest.o \
3207 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
3208 $SHELL .
/depcomp
$depcc -c -o conftest.o conftest.c
>/dev
/null
2>&1 &&
3209 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
3210 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3211 am_cv_CXX_dependencies_compiler_type
=$depmode
3219 am_cv_CXX_dependencies_compiler_type
=none
3223 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3224 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3225 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3230 test "x$enable_dependency_tracking" != xno \
3231 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3232 am__fastdepCXX_TRUE
=
3233 am__fastdepCXX_FALSE
='#'
3235 am__fastdepCXX_TRUE
='#'
3236 am__fastdepCXX_FALSE
=
3241 ac_cpp
='$CPP $CPPFLAGS'
3242 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3243 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3244 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3245 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3246 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3247 # On Suns, sometimes $CPP names a directory.
3248 if test -n "$CPP" && test -d "$CPP"; then
3251 if test -z "$CPP"; then
3252 if test "${ac_cv_prog_CPP+set}" = set; then
3253 echo $ECHO_N "(cached) $ECHO_C" >&6
3255 # Double quotes because CPP needs to be expanded
3256 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3259 for ac_c_preproc_warn_flag
in '' yes
3261 # Use a header file that comes with gcc, so configuring glibc
3262 # with a fresh cross-compiler works.
3263 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3264 # <limits.h> exists even on freestanding compilers.
3265 # On the NeXT, cc -E runs the code through the compiler's parser,
3266 # not just through cpp. "Syntax error" is here to catch this case.
3267 cat >conftest.
$ac_ext <<_ACEOF
3268 #line $LINENO "configure"
3271 cat confdefs.h
>>conftest.
$ac_ext
3272 cat >>conftest.
$ac_ext <<_ACEOF
3273 /* end confdefs.h. */
3275 # include <limits.h>
3277 # include <assert.h>
3281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3282 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3284 grep -v '^ *+' conftest.er1
>conftest.err
3286 cat conftest.err
>&5
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); } >/dev
/null
; then
3289 if test -s conftest.err
; then
3290 ac_cpp_err
=$ac_c_preproc_warn_flag
3297 if test -z "$ac_cpp_err"; then
3300 echo "$as_me: failed program was:" >&5
3301 sed 's/^/| /' conftest.
$ac_ext >&5
3303 # Broken: fails on valid input.
3306 rm -f conftest.err conftest.
$ac_ext
3308 # OK, works on sane cases. Now check whether non-existent headers
3309 # can be detected and how.
3310 cat >conftest.
$ac_ext <<_ACEOF
3311 #line $LINENO "configure"
3314 cat confdefs.h
>>conftest.
$ac_ext
3315 cat >>conftest.
$ac_ext <<_ACEOF
3316 /* end confdefs.h. */
3317 #include <ac_nonexistent.h>
3319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3320 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3322 grep -v '^ *+' conftest.er1
>conftest.err
3324 cat conftest.err
>&5
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326 (exit $ac_status); } >/dev
/null
; then
3327 if test -s conftest.err
; then
3328 ac_cpp_err
=$ac_c_preproc_warn_flag
3335 if test -z "$ac_cpp_err"; then
3336 # Broken: success on invalid input.
3339 echo "$as_me: failed program was:" >&5
3340 sed 's/^/| /' conftest.
$ac_ext >&5
3342 # Passes both tests.
3346 rm -f conftest.err conftest.
$ac_ext
3349 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3350 rm -f conftest.err conftest.
$ac_ext
3351 if $ac_preproc_ok; then
3363 echo "$as_me:$LINENO: result: $CPP" >&5
3364 echo "${ECHO_T}$CPP" >&6
3366 for ac_c_preproc_warn_flag
in '' yes
3368 # Use a header file that comes with gcc, so configuring glibc
3369 # with a fresh cross-compiler works.
3370 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3371 # <limits.h> exists even on freestanding compilers.
3372 # On the NeXT, cc -E runs the code through the compiler's parser,
3373 # not just through cpp. "Syntax error" is here to catch this case.
3374 cat >conftest.
$ac_ext <<_ACEOF
3375 #line $LINENO "configure"
3378 cat confdefs.h
>>conftest.
$ac_ext
3379 cat >>conftest.
$ac_ext <<_ACEOF
3380 /* end confdefs.h. */
3382 # include <limits.h>
3384 # include <assert.h>
3388 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3389 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3391 grep -v '^ *+' conftest.er1
>conftest.err
3393 cat conftest.err
>&5
3394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3395 (exit $ac_status); } >/dev
/null
; then
3396 if test -s conftest.err
; then
3397 ac_cpp_err
=$ac_c_preproc_warn_flag
3404 if test -z "$ac_cpp_err"; then
3407 echo "$as_me: failed program was:" >&5
3408 sed 's/^/| /' conftest.
$ac_ext >&5
3410 # Broken: fails on valid input.
3413 rm -f conftest.err conftest.
$ac_ext
3415 # OK, works on sane cases. Now check whether non-existent headers
3416 # can be detected and how.
3417 cat >conftest.
$ac_ext <<_ACEOF
3418 #line $LINENO "configure"
3421 cat confdefs.h
>>conftest.
$ac_ext
3422 cat >>conftest.
$ac_ext <<_ACEOF
3423 /* end confdefs.h. */
3424 #include <ac_nonexistent.h>
3426 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3427 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3429 grep -v '^ *+' conftest.er1
>conftest.err
3431 cat conftest.err
>&5
3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3433 (exit $ac_status); } >/dev
/null
; then
3434 if test -s conftest.err
; then
3435 ac_cpp_err
=$ac_c_preproc_warn_flag
3442 if test -z "$ac_cpp_err"; then
3443 # Broken: success on invalid input.
3446 echo "$as_me: failed program was:" >&5
3447 sed 's/^/| /' conftest.
$ac_ext >&5
3449 # Passes both tests.
3453 rm -f conftest.err conftest.
$ac_ext
3456 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3457 rm -f conftest.err conftest.
$ac_ext
3458 if $ac_preproc_ok; then
3461 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3462 See \`config.log' for more details." >&5
3463 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3464 See \`config.log' for more details." >&2;}
3465 { (exit 1); exit 1; }; }
3469 ac_cpp
='$CPP $CPPFLAGS'
3470 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3471 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3472 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3474 for ac_prog
in gawk mawk nawk
awk
3476 # Extract the first word of "$ac_prog", so it can be a program name with args.
3477 set dummy
$ac_prog; ac_word
=$2
3478 echo "$as_me:$LINENO: checking for $ac_word" >&5
3479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3480 if test "${ac_cv_prog_AWK+set}" = set; then
3481 echo $ECHO_N "(cached) $ECHO_C" >&6
3483 if test -n "$AWK"; then
3484 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3490 test -z "$as_dir" && as_dir
=.
3491 for ac_exec_ext
in '' $ac_executable_extensions; do
3492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3493 ac_cv_prog_AWK
="$ac_prog"
3494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3503 if test -n "$AWK"; then
3504 echo "$as_me:$LINENO: result: $AWK" >&5
3505 echo "${ECHO_T}$AWK" >&6
3507 echo "$as_me:$LINENO: result: no" >&5
3508 echo "${ECHO_T}no" >&6
3511 test -n "$AWK" && break
3514 # Find a good install program. We prefer a C program (faster),
3515 # so one script is as good as another. But avoid the broken or
3516 # incompatible versions:
3517 # SysV /etc/install, /usr/sbin/install
3518 # SunOS /usr/etc/install
3519 # IRIX /sbin/install
3521 # AmigaOS /C/install, which installs bootblocks on floppy discs
3522 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3523 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3524 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3525 # ./install, which can be erroneously created by make from ./install.sh.
3526 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3527 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3528 if test -z "$INSTALL"; then
3529 if test "${ac_cv_path_install+set}" = set; then
3530 echo $ECHO_N "(cached) $ECHO_C" >&6
3532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3536 test -z "$as_dir" && as_dir
=.
3537 # Account for people who put trailing slashes in PATH elements.
3539 .
/ | .
// |
/cC
/* | \
3540 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3543 # OSF1 and SCO ODT 3.0 have their own names for install.
3544 # Don't use installbsd from OSF since it installs stuff as root
3546 for ac_prog
in ginstall scoinst
install; do
3547 for ac_exec_ext
in '' $ac_executable_extensions; do
3548 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3549 if test $ac_prog = install &&
3550 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3551 # AIX install. It has an incompatible calling convention.
3553 elif test $ac_prog = install &&
3554 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3555 # program-specific install script used by HP pwplus--don't use.
3558 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3570 if test "${ac_cv_path_install+set}" = set; then
3571 INSTALL
=$ac_cv_path_install
3573 # As a last resort, use the slow shell script. We don't cache a
3574 # path for INSTALL within a source directory, because that will
3575 # break other packages using the cache if that directory is
3576 # removed, or if the path is relative.
3577 INSTALL
=$ac_install_sh
3580 echo "$as_me:$LINENO: result: $INSTALL" >&5
3581 echo "${ECHO_T}$INSTALL" >&6
3583 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3584 # It thinks the first close brace ends the variable substitution.
3585 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3587 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3589 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3591 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3592 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3594 if test "$LN_S" = "ln -s"; then
3595 echo "$as_me:$LINENO: result: yes" >&5
3596 echo "${ECHO_T}yes" >&6
3598 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3599 echo "${ECHO_T}no, using $LN_S" >&6
3602 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3603 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3604 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
3605 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3606 echo $ECHO_N "(cached) $ECHO_C" >&6
3608 cat >conftest.
make <<\_ACEOF
3610 @
echo 'ac_maketemp="$(MAKE)"'
3612 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3613 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3614 if test -n "$ac_maketemp"; then
3615 eval ac_cv_prog_make_
${ac_make}_set
=yes
3617 eval ac_cv_prog_make_
${ac_make}_set
=no
3621 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3622 echo "$as_me:$LINENO: result: yes" >&5
3623 echo "${ECHO_T}yes" >&6
3626 echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6
3628 SET_MAKE
="MAKE=${MAKE-make}"
3631 if test -n "$ac_tool_prefix"; then
3632 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3633 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3634 echo "$as_me:$LINENO: checking for $ac_word" >&5
3635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3636 if test "${ac_cv_prog_RANLIB+set}" = set; then
3637 echo $ECHO_N "(cached) $ECHO_C" >&6
3639 if test -n "$RANLIB"; then
3640 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3646 test -z "$as_dir" && as_dir
=.
3647 for ac_exec_ext
in '' $ac_executable_extensions; do
3648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3649 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3658 RANLIB
=$ac_cv_prog_RANLIB
3659 if test -n "$RANLIB"; then
3660 echo "$as_me:$LINENO: result: $RANLIB" >&5
3661 echo "${ECHO_T}$RANLIB" >&6
3663 echo "$as_me:$LINENO: result: no" >&5
3664 echo "${ECHO_T}no" >&6
3668 if test -z "$ac_cv_prog_RANLIB"; then
3669 ac_ct_RANLIB
=$RANLIB
3670 # Extract the first word of "ranlib", so it can be a program name with args.
3671 set dummy ranlib
; ac_word
=$2
3672 echo "$as_me:$LINENO: checking for $ac_word" >&5
3673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3674 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3675 echo $ECHO_N "(cached) $ECHO_C" >&6
3677 if test -n "$ac_ct_RANLIB"; then
3678 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3684 test -z "$as_dir" && as_dir
=.
3685 for ac_exec_ext
in '' $ac_executable_extensions; do
3686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3687 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3694 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3697 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3698 if test -n "$ac_ct_RANLIB"; then
3699 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3700 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3702 echo "$as_me:$LINENO: result: no" >&5
3703 echo "${ECHO_T}no" >&6
3706 RANLIB
=$ac_ct_RANLIB
3708 RANLIB
="$ac_cv_prog_RANLIB"
3713 for ac_prog
in $PERL perl5 perl
3715 # Extract the first word of "$ac_prog", so it can be a program name with args.
3716 set dummy
$ac_prog; ac_word
=$2
3717 echo "$as_me:$LINENO: checking for $ac_word" >&5
3718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3719 if test "${ac_cv_path_PERL+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3724 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
3727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3731 test -z "$as_dir" && as_dir
=.
3732 for ac_exec_ext
in '' $ac_executable_extensions; do
3733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3734 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
3735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 PERL
=$ac_cv_path_PERL
3746 if test -n "$PERL"; then
3747 echo "$as_me:$LINENO: result: $PERL" >&5
3748 echo "${ECHO_T}$PERL" >&6
3750 echo "$as_me:$LINENO: result: no" >&5
3751 echo "${ECHO_T}no" >&6
3754 test -n "$PERL" && break
3757 if test -z "$PERL" ||
test "$PERL" = ":"; then
3758 { { echo "$as_me:$LINENO: error: perl not found in \$PATH" >&5
3759 echo "$as_me: error: perl not found in \$PATH" >&2;}
3760 { (exit 1); exit 1; }; }
3763 echo "$as_me:$LINENO: checking for minimum required perl version >= $PERL_VERSION" >&5
3764 echo $ECHO_N "checking for minimum required perl version >= $PERL_VERSION... $ECHO_C" >&6
3765 _perl_version
=`PERL_VERSION=$PERL_VERSION $PERL -e 'print "$]"; if ($] >= $ENV{PERL_VERSION}) { exit(0); } else { exit(1); }' 2>&5`
3767 echo "$as_me:$LINENO: result: $_perl_version" >&5
3768 echo "${ECHO_T}$_perl_version" >&6
3770 if test "$_perl_res" != 0; then
3771 { { echo "$as_me:$LINENO: error: Perl $PERL_VERSION or higher is required." >&5
3772 echo "$as_me: error: Perl $PERL_VERSION or higher is required." >&2;}
3773 { (exit 1); exit 1; }; }
3776 echo "$as_me:$LINENO: checking for full perl installation" >&5
3777 echo $ECHO_N "checking for full perl installation... $ECHO_C" >&6
3778 _perl_archlib
=`$PERL -e 'use Config; if ( -d $Config{archlib} ) { exit(0); } else { exit(1); }' 2>&5`
3780 if test "$_perl_res" != 0; then
3781 echo "$as_me:$LINENO: result: no" >&5
3782 echo "${ECHO_T}no" >&6
3783 { { echo "$as_me:$LINENO: error: Cannot find Config.pm or \$Config{archlib}. A full perl installation is required." >&5
3784 echo "$as_me: error: Cannot find Config.pm or \$Config{archlib}. A full perl installation is required." >&2;}
3785 { (exit 1); exit 1; }; }
3787 echo "$as_me:$LINENO: result: yes" >&5
3788 echo "${ECHO_T}yes" >&6
3792 # Checks for header files.
3795 echo "$as_me:$LINENO: checking for X" >&5
3796 echo $ECHO_N "checking for X... $ECHO_C" >&6
3799 # Check whether --with-x or --without-x was given.
3800 if test "${with_x+set}" = set; then
3804 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3805 if test "x$with_x" = xno
; then
3806 # The user explicitly disabled X.
3809 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
3810 # Both variables are already set.
3813 if test "${ac_cv_have_x+set}" = set; then
3814 echo $ECHO_N "(cached) $ECHO_C" >&6
3816 # One or both of the vars are not set, and there is no cached value.
3817 ac_x_includes
=no ac_x_libraries
=no
3819 if mkdir conftest.dir
; then
3821 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3822 cat >Imakefile
<<'_ACEOF'
3824 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3826 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
3827 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3828 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3829 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3830 for ac_extension
in a so sl
; do
3831 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
3832 test -f $ac_im_libdir/libX11.
$ac_extension; then
3833 ac_im_usrlibdir
=$ac_im_libdir; break
3836 # Screen out bogus values from the imake configuration. They are
3837 # bogus both because they are the default anyway, and because
3838 # using them would break gcc on systems where it needs fixed includes.
3839 case $ac_im_incroot in
3841 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
3843 case $ac_im_usrlibdir in
3845 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
3852 # Standard set of common directories for X headers.
3853 # Check X11 before X11Rn because it is often a symlink to the current release.
3865 /usr/local/X11/include
3866 /usr/local/X11R6/include
3867 /usr/local/X11R5/include
3868 /usr/local/X11R4/include
3870 /usr/local/include/X11
3871 /usr/local/include/X11R6
3872 /usr/local/include/X11R5
3873 /usr/local/include/X11R4
3877 /usr/XFree86/include/X11
3881 /usr/unsupported/include
3883 /usr/local/x11r5/include
3884 /usr/lpp/Xamples/include
3886 /usr/openwin/include
3887 /usr/openwin/share/include'
3889 if test "$ac_x_includes" = no
; then
3890 # Guess where to find include files, by looking for Intrinsic.h.
3891 # First, try using that file with no special directory specified.
3892 cat >conftest.
$ac_ext <<_ACEOF
3893 #line $LINENO "configure"
3896 cat confdefs.h
>>conftest.
$ac_ext
3897 cat >>conftest.
$ac_ext <<_ACEOF
3898 /* end confdefs.h. */
3899 #include <X11/Intrinsic.h>
3901 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3902 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3904 grep -v '^ *+' conftest.er1
>conftest.err
3906 cat conftest.err
>&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); } >/dev
/null
; then
3909 if test -s conftest.err
; then
3910 ac_cpp_err
=$ac_c_preproc_warn_flag
3917 if test -z "$ac_cpp_err"; then
3918 # We can compile using X headers with no special include directory.
3921 echo "$as_me: failed program was:" >&5
3922 sed 's/^/| /' conftest.
$ac_ext >&5
3924 for ac_dir
in $ac_x_header_dirs; do
3925 if test -r "$ac_dir/X11/Intrinsic.h"; then
3926 ac_x_includes
=$ac_dir
3931 rm -f conftest.err conftest.
$ac_ext
3932 fi # $ac_x_includes = no
3934 if test "$ac_x_libraries" = no
; then
3935 # Check for the libraries.
3936 # See if we find them without any special options.
3937 # Don't add to $LIBS permanently.
3940 cat >conftest.
$ac_ext <<_ACEOF
3941 #line $LINENO "configure"
3944 cat confdefs.h
>>conftest.
$ac_ext
3945 cat >>conftest.
$ac_ext <<_ACEOF
3946 /* end confdefs.h. */
3947 #include <X11/Intrinsic.h>
3956 rm -f conftest.
$ac_objext conftest
$ac_exeext
3957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3958 (eval $ac_link) 2>&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); } &&
3962 { ac_try
='test -s conftest$ac_exeext'
3963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); }; }; then
3969 # We can link X programs with no special library path.
3972 echo "$as_me: failed program was:" >&5
3973 sed 's/^/| /' conftest.
$ac_ext >&5
3976 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3978 # Don't even attempt the hair of trying to link an X program!
3979 for ac_extension
in a so sl
; do
3980 if test -r $ac_dir/libXt.
$ac_extension; then
3981 ac_x_libraries
=$ac_dir
3987 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3988 fi # $ac_x_libraries = no
3990 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
3991 # Didn't find X anywhere. Cache the known absence of X.
3992 ac_cv_have_x
="have_x=no"
3994 # Record where we found X for the cache.
3995 ac_cv_have_x
="have_x=yes \
3996 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
4001 eval "$ac_cv_have_x"
4004 if test "$have_x" != yes; then
4005 echo "$as_me:$LINENO: result: $have_x" >&5
4006 echo "${ECHO_T}$have_x" >&6
4009 # If each of the values was on the command line, it overrides each guess.
4010 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
4011 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
4012 # Update the cache value to reflect the command line values.
4013 ac_cv_have_x
="have_x=yes \
4014 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
4015 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4016 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
4019 if test "$no_x" = yes; then
4020 # Not all programs may use this symbol, but it does not hurt to define it.
4022 cat >>confdefs.h
<<\_ACEOF
4023 #define X_DISPLAY_MISSING 1
4026 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
4028 if test -n "$x_includes"; then
4029 X_CFLAGS
="$X_CFLAGS -I$x_includes"
4032 # It would also be nice to do this for all -L options, not just this one.
4033 if test -n "$x_libraries"; then
4034 X_LIBS
="$X_LIBS -L$x_libraries"
4035 # For Solaris; some versions of Sun CC require a space after -R and
4036 # others require no space. Words are not sufficient . . . .
4037 case `(uname -sr) 2>/dev/null` in
4039 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4040 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
4041 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
4042 cat >conftest.
$ac_ext <<_ACEOF
4043 #line $LINENO "configure"
4046 cat confdefs.h
>>conftest.
$ac_ext
4047 cat >>conftest.
$ac_ext <<_ACEOF
4048 /* end confdefs.h. */
4058 rm -f conftest.
$ac_objext conftest
$ac_exeext
4059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4060 (eval $ac_link) 2>&5
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); } &&
4064 { ac_try
='test -s conftest$ac_exeext'
4065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4069 (exit $ac_status); }; }; then
4072 echo "$as_me: failed program was:" >&5
4073 sed 's/^/| /' conftest.
$ac_ext >&5
4077 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4078 if test $ac_R_nospace = yes; then
4079 echo "$as_me:$LINENO: result: no" >&5
4080 echo "${ECHO_T}no" >&6
4081 X_LIBS
="$X_LIBS -R$x_libraries"
4083 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4084 cat >conftest.
$ac_ext <<_ACEOF
4085 #line $LINENO "configure"
4088 cat confdefs.h
>>conftest.
$ac_ext
4089 cat >>conftest.
$ac_ext <<_ACEOF
4090 /* end confdefs.h. */
4100 rm -f conftest.
$ac_objext conftest
$ac_exeext
4101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4102 (eval $ac_link) 2>&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); } &&
4106 { ac_try
='test -s conftest$ac_exeext'
4107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4111 (exit $ac_status); }; }; then
4114 echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.
$ac_ext >&5
4119 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4120 if test $ac_R_space = yes; then
4121 echo "$as_me:$LINENO: result: yes" >&5
4122 echo "${ECHO_T}yes" >&6
4123 X_LIBS
="$X_LIBS -R $x_libraries"
4125 echo "$as_me:$LINENO: result: neither works" >&5
4126 echo "${ECHO_T}neither works" >&6
4133 # Check for system-dependent libraries X programs must link with.
4134 # Do this before checking for the system-independent R6 libraries
4135 # (-lICE), since we may need -lsocket or whatever for X linking.
4137 if test "$ISC" = yes; then
4138 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
4140 # Martyn Johnson says this is needed for Ultrix, if the X
4141 # libraries were built with DECnet support. And Karl Berry says
4142 # the Alpha needs dnet_stub (dnet does not exist).
4143 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
4144 cat >conftest.
$ac_ext <<_ACEOF
4145 #line $LINENO "configure"
4148 cat confdefs.h
>>conftest.
$ac_ext
4149 cat >>conftest.
$ac_ext <<_ACEOF
4150 /* end confdefs.h. */
4152 /* Override any gcc2 internal prototype to avoid an error. */
4156 /* We use char because int might match the return type of a gcc2
4157 builtin and then its argument prototype would still apply. */
4158 char XOpenDisplay ();
4167 rm -f conftest.
$ac_objext conftest
$ac_exeext
4168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4169 (eval $ac_link) 2>&5
4171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172 (exit $ac_status); } &&
4173 { ac_try
='test -s conftest$ac_exeext'
4174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178 (exit $ac_status); }; }; then
4181 echo "$as_me: failed program was:" >&5
4182 sed 's/^/| /' conftest.
$ac_ext >&5
4184 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4185 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
4186 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4187 echo $ECHO_N "(cached) $ECHO_C" >&6
4189 ac_check_lib_save_LIBS
=$LIBS
4191 cat >conftest.
$ac_ext <<_ACEOF
4192 #line $LINENO "configure"
4195 cat confdefs.h
>>conftest.
$ac_ext
4196 cat >>conftest.
$ac_ext <<_ACEOF
4197 /* end confdefs.h. */
4199 /* Override any gcc2 internal prototype to avoid an error. */
4203 /* We use char because int might match the return type of a gcc2
4204 builtin and then its argument prototype would still apply. */
4214 rm -f conftest.
$ac_objext conftest
$ac_exeext
4215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4216 (eval $ac_link) 2>&5
4218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4219 (exit $ac_status); } &&
4220 { ac_try
='test -s conftest$ac_exeext'
4221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225 (exit $ac_status); }; }; then
4226 ac_cv_lib_dnet_dnet_ntoa
=yes
4228 echo "$as_me: failed program was:" >&5
4229 sed 's/^/| /' conftest.
$ac_ext >&5
4231 ac_cv_lib_dnet_dnet_ntoa
=no
4233 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4234 LIBS
=$ac_check_lib_save_LIBS
4236 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4237 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
4238 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4239 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
4242 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
4243 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4244 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
4245 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4246 echo $ECHO_N "(cached) $ECHO_C" >&6
4248 ac_check_lib_save_LIBS
=$LIBS
4249 LIBS
="-ldnet_stub $LIBS"
4250 cat >conftest.
$ac_ext <<_ACEOF
4251 #line $LINENO "configure"
4254 cat confdefs.h
>>conftest.
$ac_ext
4255 cat >>conftest.
$ac_ext <<_ACEOF
4256 /* end confdefs.h. */
4258 /* Override any gcc2 internal prototype to avoid an error. */
4262 /* We use char because int might match the return type of a gcc2
4263 builtin and then its argument prototype would still apply. */
4273 rm -f conftest.
$ac_objext conftest
$ac_exeext
4274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4275 (eval $ac_link) 2>&5
4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278 (exit $ac_status); } &&
4279 { ac_try
='test -s conftest$ac_exeext'
4280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4284 (exit $ac_status); }; }; then
4285 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4287 echo "$as_me: failed program was:" >&5
4288 sed 's/^/| /' conftest.
$ac_ext >&5
4290 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4292 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4293 LIBS
=$ac_check_lib_save_LIBS
4295 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4296 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
4297 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4298 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4303 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4304 LIBS
="$ac_xsave_LIBS"
4306 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4307 # to get the SysV transport functions.
4308 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4310 # The nsl library prevents programs from opening the X display
4311 # on Irix 5.2, according to T.E. Dickey.
4312 # The functions gethostbyname, getservbyname, and inet_addr are
4313 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4314 echo "$as_me:$LINENO: checking for gethostbyname" >&5
4315 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
4316 if test "${ac_cv_func_gethostbyname+set}" = set; then
4317 echo $ECHO_N "(cached) $ECHO_C" >&6
4319 cat >conftest.
$ac_ext <<_ACEOF
4320 #line $LINENO "configure"
4323 cat confdefs.h
>>conftest.
$ac_ext
4324 cat >>conftest.
$ac_ext <<_ACEOF
4325 /* end confdefs.h. */
4326 /* System header to define __stub macros and hopefully few prototypes,
4327 which can conflict with char gethostbyname (); below.
4328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4329 <limits.h> exists even on freestanding compilers. */
4331 # include <limits.h>
4333 # include <assert.h>
4335 /* Override any gcc2 internal prototype to avoid an error. */
4340 /* We use char because int might match the return type of a gcc2
4341 builtin and then its argument prototype would still apply. */
4342 char gethostbyname ();
4343 /* The GNU C library defines this for functions which it implements
4344 to always fail with ENOSYS. Some functions are actually named
4345 something starting with __ and the normal name is an alias. */
4346 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
4349 char (*f) () = gethostbyname;
4358 return f != gethostbyname;
4363 rm -f conftest.
$ac_objext conftest
$ac_exeext
4364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4365 (eval $ac_link) 2>&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); } &&
4369 { ac_try
='test -s conftest$ac_exeext'
4370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4374 (exit $ac_status); }; }; then
4375 ac_cv_func_gethostbyname
=yes
4377 echo "$as_me: failed program was:" >&5
4378 sed 's/^/| /' conftest.
$ac_ext >&5
4380 ac_cv_func_gethostbyname
=no
4382 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4384 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4385 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
4387 if test $ac_cv_func_gethostbyname = no
; then
4388 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4389 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4390 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4391 echo $ECHO_N "(cached) $ECHO_C" >&6
4393 ac_check_lib_save_LIBS
=$LIBS
4395 cat >conftest.
$ac_ext <<_ACEOF
4396 #line $LINENO "configure"
4399 cat confdefs.h
>>conftest.
$ac_ext
4400 cat >>conftest.
$ac_ext <<_ACEOF
4401 /* end confdefs.h. */
4403 /* Override any gcc2 internal prototype to avoid an error. */
4407 /* We use char because int might match the return type of a gcc2
4408 builtin and then its argument prototype would still apply. */
4409 char gethostbyname ();
4418 rm -f conftest.
$ac_objext conftest
$ac_exeext
4419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4420 (eval $ac_link) 2>&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); } &&
4424 { ac_try
='test -s conftest$ac_exeext'
4425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429 (exit $ac_status); }; }; then
4430 ac_cv_lib_nsl_gethostbyname
=yes
4432 echo "$as_me: failed program was:" >&5
4433 sed 's/^/| /' conftest.
$ac_ext >&5
4435 ac_cv_lib_nsl_gethostbyname
=no
4437 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4438 LIBS
=$ac_check_lib_save_LIBS
4440 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4441 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4442 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4443 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4446 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4447 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4448 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
4449 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4450 echo $ECHO_N "(cached) $ECHO_C" >&6
4452 ac_check_lib_save_LIBS
=$LIBS
4454 cat >conftest.
$ac_ext <<_ACEOF
4455 #line $LINENO "configure"
4458 cat confdefs.h
>>conftest.
$ac_ext
4459 cat >>conftest.
$ac_ext <<_ACEOF
4460 /* end confdefs.h. */
4462 /* Override any gcc2 internal prototype to avoid an error. */
4466 /* We use char because int might match the return type of a gcc2
4467 builtin and then its argument prototype would still apply. */
4468 char gethostbyname ();
4477 rm -f conftest.
$ac_objext conftest
$ac_exeext
4478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4479 (eval $ac_link) 2>&5
4481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4482 (exit $ac_status); } &&
4483 { ac_try
='test -s conftest$ac_exeext'
4484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4488 (exit $ac_status); }; }; then
4489 ac_cv_lib_bsd_gethostbyname
=yes
4491 echo "$as_me: failed program was:" >&5
4492 sed 's/^/| /' conftest.
$ac_ext >&5
4494 ac_cv_lib_bsd_gethostbyname
=no
4496 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4497 LIBS
=$ac_check_lib_save_LIBS
4499 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4500 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
4501 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4502 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
4508 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4509 # socket/setsockopt and other routines are undefined under SCO ODT
4510 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4511 # on later versions), says Simon Leinen: it contains gethostby*
4512 # variants that don't use the name server (or something). -lsocket
4513 # must be given before -lnsl if both are needed. We assume that
4514 # if connect needs -lnsl, so does gethostbyname.
4515 echo "$as_me:$LINENO: checking for connect" >&5
4516 echo $ECHO_N "checking for connect... $ECHO_C" >&6
4517 if test "${ac_cv_func_connect+set}" = set; then
4518 echo $ECHO_N "(cached) $ECHO_C" >&6
4520 cat >conftest.
$ac_ext <<_ACEOF
4521 #line $LINENO "configure"
4524 cat confdefs.h
>>conftest.
$ac_ext
4525 cat >>conftest.
$ac_ext <<_ACEOF
4526 /* end confdefs.h. */
4527 /* System header to define __stub macros and hopefully few prototypes,
4528 which can conflict with char connect (); below.
4529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4530 <limits.h> exists even on freestanding compilers. */
4532 # include <limits.h>
4534 # include <assert.h>
4536 /* Override any gcc2 internal prototype to avoid an error. */
4541 /* We use char because int might match the return type of a gcc2
4542 builtin and then its argument prototype would still apply. */
4544 /* The GNU C library defines this for functions which it implements
4545 to always fail with ENOSYS. Some functions are actually named
4546 something starting with __ and the normal name is an alias. */
4547 #if defined (__stub_connect) || defined (__stub___connect)
4550 char (*f) () = connect;
4559 return f != connect;
4564 rm -f conftest.
$ac_objext conftest
$ac_exeext
4565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4566 (eval $ac_link) 2>&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); } &&
4570 { ac_try
='test -s conftest$ac_exeext'
4571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); }; }; then
4576 ac_cv_func_connect
=yes
4578 echo "$as_me: failed program was:" >&5
4579 sed 's/^/| /' conftest.
$ac_ext >&5
4581 ac_cv_func_connect
=no
4583 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4585 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4586 echo "${ECHO_T}$ac_cv_func_connect" >&6
4588 if test $ac_cv_func_connect = no
; then
4589 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4590 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4591 if test "${ac_cv_lib_socket_connect+set}" = set; then
4592 echo $ECHO_N "(cached) $ECHO_C" >&6
4594 ac_check_lib_save_LIBS
=$LIBS
4595 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4596 cat >conftest.
$ac_ext <<_ACEOF
4597 #line $LINENO "configure"
4600 cat confdefs.h
>>conftest.
$ac_ext
4601 cat >>conftest.
$ac_ext <<_ACEOF
4602 /* end confdefs.h. */
4604 /* Override any gcc2 internal prototype to avoid an error. */
4608 /* We use char because int might match the return type of a gcc2
4609 builtin and then its argument prototype would still apply. */
4619 rm -f conftest.
$ac_objext conftest
$ac_exeext
4620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4621 (eval $ac_link) 2>&5
4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624 (exit $ac_status); } &&
4625 { ac_try
='test -s conftest$ac_exeext'
4626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); }; }; then
4631 ac_cv_lib_socket_connect
=yes
4633 echo "$as_me: failed program was:" >&5
4634 sed 's/^/| /' conftest.
$ac_ext >&5
4636 ac_cv_lib_socket_connect
=no
4638 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4639 LIBS
=$ac_check_lib_save_LIBS
4641 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4642 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4643 if test $ac_cv_lib_socket_connect = yes; then
4644 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
4649 # Guillermo Gomez says -lposix is necessary on A/UX.
4650 echo "$as_me:$LINENO: checking for remove" >&5
4651 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4652 if test "${ac_cv_func_remove+set}" = set; then
4653 echo $ECHO_N "(cached) $ECHO_C" >&6
4655 cat >conftest.
$ac_ext <<_ACEOF
4656 #line $LINENO "configure"
4659 cat confdefs.h
>>conftest.
$ac_ext
4660 cat >>conftest.
$ac_ext <<_ACEOF
4661 /* end confdefs.h. */
4662 /* System header to define __stub macros and hopefully few prototypes,
4663 which can conflict with char remove (); below.
4664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4665 <limits.h> exists even on freestanding compilers. */
4667 # include <limits.h>
4669 # include <assert.h>
4671 /* Override any gcc2 internal prototype to avoid an error. */
4676 /* We use char because int might match the return type of a gcc2
4677 builtin and then its argument prototype would still apply. */
4679 /* The GNU C library defines this for functions which it implements
4680 to always fail with ENOSYS. Some functions are actually named
4681 something starting with __ and the normal name is an alias. */
4682 #if defined (__stub_remove) || defined (__stub___remove)
4685 char (*f) () = remove;
4699 rm -f conftest.
$ac_objext conftest
$ac_exeext
4700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4701 (eval $ac_link) 2>&5
4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4704 (exit $ac_status); } &&
4705 { ac_try
='test -s conftest$ac_exeext'
4706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710 (exit $ac_status); }; }; then
4711 ac_cv_func_remove
=yes
4713 echo "$as_me: failed program was:" >&5
4714 sed 's/^/| /' conftest.
$ac_ext >&5
4716 ac_cv_func_remove
=no
4718 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4720 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4721 echo "${ECHO_T}$ac_cv_func_remove" >&6
4723 if test $ac_cv_func_remove = no
; then
4724 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4725 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4726 if test "${ac_cv_lib_posix_remove+set}" = set; then
4727 echo $ECHO_N "(cached) $ECHO_C" >&6
4729 ac_check_lib_save_LIBS
=$LIBS
4730 LIBS
="-lposix $LIBS"
4731 cat >conftest.
$ac_ext <<_ACEOF
4732 #line $LINENO "configure"
4735 cat confdefs.h
>>conftest.
$ac_ext
4736 cat >>conftest.
$ac_ext <<_ACEOF
4737 /* end confdefs.h. */
4739 /* Override any gcc2 internal prototype to avoid an error. */
4743 /* We use char because int might match the return type of a gcc2
4744 builtin and then its argument prototype would still apply. */
4754 rm -f conftest.
$ac_objext conftest
$ac_exeext
4755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4756 (eval $ac_link) 2>&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } &&
4760 { ac_try
='test -s conftest$ac_exeext'
4761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765 (exit $ac_status); }; }; then
4766 ac_cv_lib_posix_remove
=yes
4768 echo "$as_me: failed program was:" >&5
4769 sed 's/^/| /' conftest.
$ac_ext >&5
4771 ac_cv_lib_posix_remove
=no
4773 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4774 LIBS
=$ac_check_lib_save_LIBS
4776 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4777 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4778 if test $ac_cv_lib_posix_remove = yes; then
4779 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
4784 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4785 echo "$as_me:$LINENO: checking for shmat" >&5
4786 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4787 if test "${ac_cv_func_shmat+set}" = set; then
4788 echo $ECHO_N "(cached) $ECHO_C" >&6
4790 cat >conftest.
$ac_ext <<_ACEOF
4791 #line $LINENO "configure"
4794 cat confdefs.h
>>conftest.
$ac_ext
4795 cat >>conftest.
$ac_ext <<_ACEOF
4796 /* end confdefs.h. */
4797 /* System header to define __stub macros and hopefully few prototypes,
4798 which can conflict with char shmat (); below.
4799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4800 <limits.h> exists even on freestanding compilers. */
4802 # include <limits.h>
4804 # include <assert.h>
4806 /* Override any gcc2 internal prototype to avoid an error. */
4811 /* We use char because int might match the return type of a gcc2
4812 builtin and then its argument prototype would still apply. */
4814 /* The GNU C library defines this for functions which it implements
4815 to always fail with ENOSYS. Some functions are actually named
4816 something starting with __ and the normal name is an alias. */
4817 #if defined (__stub_shmat) || defined (__stub___shmat)
4820 char (*f) () = shmat;
4834 rm -f conftest.
$ac_objext conftest
$ac_exeext
4835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4836 (eval $ac_link) 2>&5
4838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839 (exit $ac_status); } &&
4840 { ac_try
='test -s conftest$ac_exeext'
4841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); }; }; then
4846 ac_cv_func_shmat
=yes
4848 echo "$as_me: failed program was:" >&5
4849 sed 's/^/| /' conftest.
$ac_ext >&5
4853 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4855 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4856 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4858 if test $ac_cv_func_shmat = no
; then
4859 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4860 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4861 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6
4864 ac_check_lib_save_LIBS
=$LIBS
4866 cat >conftest.
$ac_ext <<_ACEOF
4867 #line $LINENO "configure"
4870 cat confdefs.h
>>conftest.
$ac_ext
4871 cat >>conftest.
$ac_ext <<_ACEOF
4872 /* end confdefs.h. */
4874 /* Override any gcc2 internal prototype to avoid an error. */
4878 /* We use char because int might match the return type of a gcc2
4879 builtin and then its argument prototype would still apply. */
4889 rm -f conftest.
$ac_objext conftest
$ac_exeext
4890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4891 (eval $ac_link) 2>&5
4893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4894 (exit $ac_status); } &&
4895 { ac_try
='test -s conftest$ac_exeext'
4896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4900 (exit $ac_status); }; }; then
4901 ac_cv_lib_ipc_shmat
=yes
4903 echo "$as_me: failed program was:" >&5
4904 sed 's/^/| /' conftest.
$ac_ext >&5
4906 ac_cv_lib_ipc_shmat
=no
4908 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4909 LIBS
=$ac_check_lib_save_LIBS
4911 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4912 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4913 if test $ac_cv_lib_ipc_shmat = yes; then
4914 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
4920 # Check for libraries that X11R6 Xt/Xaw programs need.
4921 ac_save_LDFLAGS
=$LDFLAGS
4922 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
4923 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4924 # check for ICE first), but we must link in the order -lSM -lICE or
4925 # we get undefined symbols. So assume we have SM if we have ICE.
4926 # These have to be linked with before -lX11, unlike the other
4927 # libraries we check for below, so use a different variable.
4928 # John Interrante, Karl Berry
4929 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4930 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4931 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4932 echo $ECHO_N "(cached) $ECHO_C" >&6
4934 ac_check_lib_save_LIBS
=$LIBS
4935 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
4936 cat >conftest.
$ac_ext <<_ACEOF
4937 #line $LINENO "configure"
4940 cat confdefs.h
>>conftest.
$ac_ext
4941 cat >>conftest.
$ac_ext <<_ACEOF
4942 /* end confdefs.h. */
4944 /* Override any gcc2 internal prototype to avoid an error. */
4948 /* We use char because int might match the return type of a gcc2
4949 builtin and then its argument prototype would still apply. */
4950 char IceConnectionNumber ();
4954 IceConnectionNumber ();
4959 rm -f conftest.
$ac_objext conftest
$ac_exeext
4960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4961 (eval $ac_link) 2>&5
4963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4964 (exit $ac_status); } &&
4965 { ac_try
='test -s conftest$ac_exeext'
4966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970 (exit $ac_status); }; }; then
4971 ac_cv_lib_ICE_IceConnectionNumber
=yes
4973 echo "$as_me: failed program was:" >&5
4974 sed 's/^/| /' conftest.
$ac_ext >&5
4976 ac_cv_lib_ICE_IceConnectionNumber
=no
4978 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4979 LIBS
=$ac_check_lib_save_LIBS
4981 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4982 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4983 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4984 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4987 LDFLAGS
=$ac_save_LDFLAGS
4991 echo "$as_me:$LINENO: checking for egrep" >&5
4992 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4993 if test "${ac_cv_prog_egrep+set}" = set; then
4994 echo $ECHO_N "(cached) $ECHO_C" >&6
4996 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4997 then ac_cv_prog_egrep
='grep -E'
4998 else ac_cv_prog_egrep
='egrep'
5001 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5002 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5003 EGREP
=$ac_cv_prog_egrep
5006 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5007 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5008 if test "${ac_cv_header_stdc+set}" = set; then
5009 echo $ECHO_N "(cached) $ECHO_C" >&6
5011 cat >conftest.
$ac_ext <<_ACEOF
5012 #line $LINENO "configure"
5015 cat confdefs.h
>>conftest.
$ac_ext
5016 cat >>conftest.
$ac_ext <<_ACEOF
5017 /* end confdefs.h. */
5031 rm -f conftest.
$ac_objext
5032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5033 (eval $ac_compile) 2>&5
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); } &&
5037 { ac_try
='test -s conftest.$ac_objext'
5038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5042 (exit $ac_status); }; }; then
5043 ac_cv_header_stdc
=yes
5045 echo "$as_me: failed program was:" >&5
5046 sed 's/^/| /' conftest.
$ac_ext >&5
5048 ac_cv_header_stdc
=no
5050 rm -f conftest.
$ac_objext conftest.
$ac_ext
5052 if test $ac_cv_header_stdc = yes; then
5053 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5054 cat >conftest.
$ac_ext <<_ACEOF
5055 #line $LINENO "configure"
5058 cat confdefs.h
>>conftest.
$ac_ext
5059 cat >>conftest.
$ac_ext <<_ACEOF
5060 /* end confdefs.h. */
5064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5065 $EGREP "memchr" >/dev
/null
2>&1; then
5068 ac_cv_header_stdc
=no
5074 if test $ac_cv_header_stdc = yes; then
5075 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5076 cat >conftest.
$ac_ext <<_ACEOF
5077 #line $LINENO "configure"
5080 cat confdefs.h
>>conftest.
$ac_ext
5081 cat >>conftest.
$ac_ext <<_ACEOF
5082 /* end confdefs.h. */
5086 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5087 $EGREP "free" >/dev
/null
2>&1; then
5090 ac_cv_header_stdc
=no
5096 if test $ac_cv_header_stdc = yes; then
5097 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5098 if test "$cross_compiling" = yes; then
5101 cat >conftest.
$ac_ext <<_ACEOF
5102 #line $LINENO "configure"
5105 cat confdefs.h
>>conftest.
$ac_ext
5106 cat >>conftest.
$ac_ext <<_ACEOF
5107 /* end confdefs.h. */
5109 #if ((' ' & 0x0FF) == 0x020)
5110 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5111 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5113 # define ISLOWER(c) \
5114 (('a' <= (c) && (c) <= 'i') \
5115 || ('j' <= (c) && (c) <= 'r') \
5116 || ('s' <= (c) && (c) <= 'z'))
5117 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5120 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5125 for (i = 0; i < 256; i++)
5126 if (XOR (islower (i), ISLOWER (i))
5127 || toupper (i) != TOUPPER (i))
5132 rm -f conftest
$ac_exeext
5133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5134 (eval $ac_link) 2>&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5142 (exit $ac_status); }; }; then
5145 echo "$as_me: program exited with status $ac_status" >&5
5146 echo "$as_me: failed program was:" >&5
5147 sed 's/^/| /' conftest.
$ac_ext >&5
5150 ac_cv_header_stdc
=no
5152 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5156 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5157 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5158 if test $ac_cv_header_stdc = yes; then
5160 cat >>confdefs.h
<<\_ACEOF
5161 #define STDC_HEADERS 1
5166 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5167 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
5168 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5169 echo $ECHO_N "(cached) $ECHO_C" >&6
5171 cat >conftest.
$ac_ext <<_ACEOF
5172 #line $LINENO "configure"
5175 cat confdefs.h
>>conftest.
$ac_ext
5176 cat >>conftest.
$ac_ext <<_ACEOF
5177 /* end confdefs.h. */
5178 #include <sys/types.h>
5179 #include <sys/wait.h>
5181 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
5184 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5192 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5197 rm -f conftest.
$ac_objext
5198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5199 (eval $ac_compile) 2>&5
5201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5202 (exit $ac_status); } &&
5203 { ac_try
='test -s conftest.$ac_objext'
5204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); }; }; then
5209 ac_cv_header_sys_wait_h
=yes
5211 echo "$as_me: failed program was:" >&5
5212 sed 's/^/| /' conftest.
$ac_ext >&5
5214 ac_cv_header_sys_wait_h
=no
5216 rm -f conftest.
$ac_objext conftest.
$ac_ext
5218 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5219 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
5220 if test $ac_cv_header_sys_wait_h = yes; then
5222 cat >>confdefs.h
<<\_ACEOF
5223 #define HAVE_SYS_WAIT_H 1
5228 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5238 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5239 inttypes.h stdint.h unistd.h
5241 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5242 echo "$as_me:$LINENO: checking for $ac_header" >&5
5243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5247 cat >conftest.
$ac_ext <<_ACEOF
5248 #line $LINENO "configure"
5251 cat confdefs.h
>>conftest.
$ac_ext
5252 cat >>conftest.
$ac_ext <<_ACEOF
5253 /* end confdefs.h. */
5254 $ac_includes_default
5256 #include <$ac_header>
5258 rm -f conftest.
$ac_objext
5259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5260 (eval $ac_compile) 2>&5
5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263 (exit $ac_status); } &&
5264 { ac_try
='test -s conftest.$ac_objext'
5265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5269 (exit $ac_status); }; }; then
5270 eval "$as_ac_Header=yes"
5272 echo "$as_me: failed program was:" >&5
5273 sed 's/^/| /' conftest.
$ac_ext >&5
5275 eval "$as_ac_Header=no"
5277 rm -f conftest.
$ac_objext conftest.
$ac_ext
5279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5281 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5282 cat >>confdefs.h
<<_ACEOF
5283 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5312 for ac_header
in ctype.h
strings.h fcntl.h libgen.h locale.h process.h signal.h stdio.h
time.h errno.h unistd.h sys
/signal.h sys
/param.h sys
/select.h sys
/stat.h sys
/time.h sys
/types.h sys
/wait.h stdlib.h string.h malloc.h
5314 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5316 echo "$as_me:$LINENO: checking for $ac_header" >&5
5317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5319 echo $ECHO_N "(cached) $ECHO_C" >&6
5321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5322 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5324 # Is the header compilable?
5325 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5326 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5327 cat >conftest.
$ac_ext <<_ACEOF
5328 #line $LINENO "configure"
5331 cat confdefs.h
>>conftest.
$ac_ext
5332 cat >>conftest.
$ac_ext <<_ACEOF
5333 /* end confdefs.h. */
5334 $ac_includes_default
5335 #include <$ac_header>
5337 rm -f conftest.
$ac_objext
5338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5339 (eval $ac_compile) 2>&5
5341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5342 (exit $ac_status); } &&
5343 { ac_try
='test -s conftest.$ac_objext'
5344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348 (exit $ac_status); }; }; then
5349 ac_header_compiler
=yes
5351 echo "$as_me: failed program was:" >&5
5352 sed 's/^/| /' conftest.
$ac_ext >&5
5354 ac_header_compiler
=no
5356 rm -f conftest.
$ac_objext conftest.
$ac_ext
5357 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5358 echo "${ECHO_T}$ac_header_compiler" >&6
5360 # Is the header present?
5361 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5362 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5363 cat >conftest.
$ac_ext <<_ACEOF
5364 #line $LINENO "configure"
5367 cat confdefs.h
>>conftest.
$ac_ext
5368 cat >>conftest.
$ac_ext <<_ACEOF
5369 /* end confdefs.h. */
5370 #include <$ac_header>
5372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5373 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5375 grep -v '^ *+' conftest.er1
>conftest.err
5377 cat conftest.err
>&5
5378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5379 (exit $ac_status); } >/dev
/null
; then
5380 if test -s conftest.err
; then
5381 ac_cpp_err
=$ac_c_preproc_warn_flag
5388 if test -z "$ac_cpp_err"; then
5389 ac_header_preproc
=yes
5391 echo "$as_me: failed program was:" >&5
5392 sed 's/^/| /' conftest.
$ac_ext >&5
5394 ac_header_preproc
=no
5396 rm -f conftest.err conftest.
$ac_ext
5397 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5398 echo "${ECHO_T}$ac_header_preproc" >&6
5400 # So? What about this header?
5401 case $ac_header_compiler:$ac_header_preproc in
5403 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5404 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5409 ## ------------------------------------ ##
5410 ## Report this to bug-autoconf@gnu.org. ##
5411 ## ------------------------------------ ##
5414 sed "s/^/$as_me: WARNING: /" >&2
5417 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5418 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5419 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5420 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5421 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5422 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5425 ## ------------------------------------ ##
5426 ## Report this to bug-autoconf@gnu.org. ##
5427 ## ------------------------------------ ##
5430 sed "s/^/$as_me: WARNING: /" >&2
5433 echo "$as_me:$LINENO: checking for $ac_header" >&5
5434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6
5438 eval "$as_ac_Header=$ac_header_preproc"
5440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5445 cat >>confdefs.h
<<_ACEOF
5446 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5454 # Checks for typedefs, structures, and compiler characteristics.
5455 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5456 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5457 if test "${ac_cv_c_const+set}" = set; then
5458 echo $ECHO_N "(cached) $ECHO_C" >&6
5460 cat >conftest.
$ac_ext <<_ACEOF
5461 #line $LINENO "configure"
5464 cat confdefs.h
>>conftest.
$ac_ext
5465 cat >>conftest.
$ac_ext <<_ACEOF
5466 /* end confdefs.h. */
5471 /* FIXME: Include the comments suggested by Paul. */
5473 /* Ultrix mips cc rejects this. */
5474 typedef int charset[2];
5476 /* SunOS 4.1.1 cc rejects this. */
5477 char const *const *ccp;
5479 /* NEC SVR4.0.2 mips cc rejects this. */
5480 struct point {int x, y;};
5481 static struct point const zero = {0,0};
5482 /* AIX XL C 1.02.0.0 rejects this.
5483 It does not let you subtract one const X* pointer from another in
5484 an arm of an if-expression whose if-part is not a constant
5486 const char *g = "string";
5487 ccp = &g + (g ? g-g : 0);
5488 /* HPUX 7.0 cc rejects these. */
5491 ccp = (char const *const *) p;
5492 { /* SCO 3.2v4 cc rejects this. */
5494 char const *s = 0 ? (char *) 0 : (char const *) 0;
5498 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5500 const int *foo = &x[0];
5503 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5504 typedef const int *iptr;
5508 { /* AIX XL C 1.02.0.0 rejects this saying
5509 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5510 struct s { int j; const int *ap[3]; };
5511 struct s *b; b->j = 5;
5513 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5522 rm -f conftest.
$ac_objext
5523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5524 (eval $ac_compile) 2>&5
5526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527 (exit $ac_status); } &&
5528 { ac_try
='test -s conftest.$ac_objext'
5529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5533 (exit $ac_status); }; }; then
5536 echo "$as_me: failed program was:" >&5
5537 sed 's/^/| /' conftest.
$ac_ext >&5
5541 rm -f conftest.
$ac_objext conftest.
$ac_ext
5543 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5544 echo "${ECHO_T}$ac_cv_c_const" >&6
5545 if test $ac_cv_c_const = no
; then
5547 cat >>confdefs.h
<<\_ACEOF
5553 echo "$as_me:$LINENO: checking for inline" >&5
5554 echo $ECHO_N "checking for inline... $ECHO_C" >&6
5555 if test "${ac_cv_c_inline+set}" = set; then
5556 echo $ECHO_N "(cached) $ECHO_C" >&6
5559 for ac_kw
in inline __inline__ __inline
; do
5560 cat >conftest.
$ac_ext <<_ACEOF
5561 #line $LINENO "configure"
5564 cat confdefs.h
>>conftest.
$ac_ext
5565 cat >>conftest.
$ac_ext <<_ACEOF
5566 /* end confdefs.h. */
5569 static $ac_kw foo_t static_foo () {return 0; }
5570 $ac_kw foo_t foo () {return 0; }
5574 rm -f conftest.
$ac_objext
5575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5576 (eval $ac_compile) 2>&5
5578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5579 (exit $ac_status); } &&
5580 { ac_try
='test -s conftest.$ac_objext'
5581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5585 (exit $ac_status); }; }; then
5586 ac_cv_c_inline
=$ac_kw; break
5588 echo "$as_me: failed program was:" >&5
5589 sed 's/^/| /' conftest.
$ac_ext >&5
5592 rm -f conftest.
$ac_objext conftest.
$ac_ext
5596 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5597 echo "${ECHO_T}$ac_cv_c_inline" >&6
5598 case $ac_cv_c_inline in
5601 cat >>confdefs.h
<<\_ACEOF
5605 *) cat >>confdefs.h
<<_ACEOF
5606 #define inline $ac_cv_c_inline
5611 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5612 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5613 if test "${ac_cv_header_time+set}" = set; then
5614 echo $ECHO_N "(cached) $ECHO_C" >&6
5616 cat >conftest.
$ac_ext <<_ACEOF
5617 #line $LINENO "configure"
5620 cat confdefs.h
>>conftest.
$ac_ext
5621 cat >>conftest.
$ac_ext <<_ACEOF
5622 /* end confdefs.h. */
5623 #include <sys/types.h>
5624 #include <sys/time.h>
5630 if ((struct tm *) 0)
5636 rm -f conftest.
$ac_objext
5637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5638 (eval $ac_compile) 2>&5
5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641 (exit $ac_status); } &&
5642 { ac_try
='test -s conftest.$ac_objext'
5643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5647 (exit $ac_status); }; }; then
5648 ac_cv_header_time
=yes
5650 echo "$as_me: failed program was:" >&5
5651 sed 's/^/| /' conftest.
$ac_ext >&5
5653 ac_cv_header_time
=no
5655 rm -f conftest.
$ac_objext conftest.
$ac_ext
5657 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5658 echo "${ECHO_T}$ac_cv_header_time" >&6
5659 if test $ac_cv_header_time = yes; then
5661 cat >>confdefs.h
<<\_ACEOF
5662 #define TIME_WITH_SYS_TIME 1
5667 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5668 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
5669 if test "${ac_cv_struct_tm+set}" = set; then
5670 echo $ECHO_N "(cached) $ECHO_C" >&6
5672 cat >conftest.
$ac_ext <<_ACEOF
5673 #line $LINENO "configure"
5676 cat confdefs.h
>>conftest.
$ac_ext
5677 cat >>conftest.
$ac_ext <<_ACEOF
5678 /* end confdefs.h. */
5679 #include <sys/types.h>
5685 struct tm *tp; tp->tm_sec;
5690 rm -f conftest.
$ac_objext
5691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5692 (eval $ac_compile) 2>&5
5694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695 (exit $ac_status); } &&
5696 { ac_try
='test -s conftest.$ac_objext'
5697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 (exit $ac_status); }; }; then
5702 ac_cv_struct_tm
=time.h
5704 echo "$as_me: failed program was:" >&5
5705 sed 's/^/| /' conftest.
$ac_ext >&5
5707 ac_cv_struct_tm
=sys
/time.h
5709 rm -f conftest.
$ac_objext conftest.
$ac_ext
5711 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5712 echo "${ECHO_T}$ac_cv_struct_tm" >&6
5713 if test $ac_cv_struct_tm = sys
/time.h
; then
5715 cat >>confdefs.h
<<\_ACEOF
5716 #define TM_IN_SYS_TIME 1
5722 # Checks for library functions.
5723 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5724 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
5725 if test "${ac_cv_type_signal+set}" = set; then
5726 echo $ECHO_N "(cached) $ECHO_C" >&6
5728 cat >conftest.
$ac_ext <<_ACEOF
5729 #line $LINENO "configure"
5732 cat confdefs.h
>>conftest.
$ac_ext
5733 cat >>conftest.
$ac_ext <<_ACEOF
5734 /* end confdefs.h. */
5735 #include <sys/types.h>
5741 extern "C" void (*signal (int, void (*)(int)))(int);
5743 void (*signal ()) ();
5754 rm -f conftest.
$ac_objext
5755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5756 (eval $ac_compile) 2>&5
5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); } &&
5760 { ac_try
='test -s conftest.$ac_objext'
5761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); }; }; then
5766 ac_cv_type_signal
=void
5768 echo "$as_me: failed program was:" >&5
5769 sed 's/^/| /' conftest.
$ac_ext >&5
5771 ac_cv_type_signal
=int
5773 rm -f conftest.
$ac_objext conftest.
$ac_ext
5775 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5776 echo "${ECHO_T}$ac_cv_type_signal" >&6
5778 cat >>confdefs.h
<<_ACEOF
5779 #define RETSIGTYPE $ac_cv_type_signal
5795 for ac_func
in setlocale sigaction strftime gettimeofday memset strcasecmp strchr strcspn strdup strncasecmp
select strstr
5797 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5798 echo "$as_me:$LINENO: checking for $ac_func" >&5
5799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5800 if eval "test \"\${$as_ac_var+set}\" = set"; then
5801 echo $ECHO_N "(cached) $ECHO_C" >&6
5803 cat >conftest.
$ac_ext <<_ACEOF
5804 #line $LINENO "configure"
5807 cat confdefs.h
>>conftest.
$ac_ext
5808 cat >>conftest.
$ac_ext <<_ACEOF
5809 /* end confdefs.h. */
5810 /* System header to define __stub macros and hopefully few prototypes,
5811 which can conflict with char $ac_func (); below.
5812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5813 <limits.h> exists even on freestanding compilers. */
5815 # include <limits.h>
5817 # include <assert.h>
5819 /* Override any gcc2 internal prototype to avoid an error. */
5824 /* We use char because int might match the return type of a gcc2
5825 builtin and then its argument prototype would still apply. */
5827 /* The GNU C library defines this for functions which it implements
5828 to always fail with ENOSYS. Some functions are actually named
5829 something starting with __ and the normal name is an alias. */
5830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5833 char (*f) () = $ac_func;
5842 return f != $ac_func;
5847 rm -f conftest.
$ac_objext conftest
$ac_exeext
5848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5849 (eval $ac_link) 2>&5
5851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 (exit $ac_status); } &&
5853 { ac_try
='test -s conftest$ac_exeext'
5854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5858 (exit $ac_status); }; }; then
5859 eval "$as_ac_var=yes"
5861 echo "$as_me: failed program was:" >&5
5862 sed 's/^/| /' conftest.
$ac_ext >&5
5864 eval "$as_ac_var=no"
5866 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5870 if test `eval echo '${'$as_ac_var'}'` = yes; then
5871 cat >>confdefs.h
<<_ACEOF
5872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5879 CFLAGS
="$CFLAGS $X_CFLAGS"
5880 CXXFLAGS
="$CXXFLAGS $X_CFLAGS"
5881 LDFLAGS
="$LDFLAGS $X_LIBS $X_PRE_LIBS"
5884 echo "$as_me:$LINENO: checking for XOpenDisplay in -lX11" >&5
5885 echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6
5886 if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then
5887 echo $ECHO_N "(cached) $ECHO_C" >&6
5889 ac_check_lib_save_LIBS
=$LIBS
5891 cat >conftest.
$ac_ext <<_ACEOF
5892 #line $LINENO "configure"
5895 cat confdefs.h
>>conftest.
$ac_ext
5896 cat >>conftest.
$ac_ext <<_ACEOF
5897 /* end confdefs.h. */
5899 /* Override any gcc2 internal prototype to avoid an error. */
5903 /* We use char because int might match the return type of a gcc2
5904 builtin and then its argument prototype would still apply. */
5905 char XOpenDisplay ();
5914 rm -f conftest.
$ac_objext conftest
$ac_exeext
5915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5916 (eval $ac_link) 2>&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); } &&
5920 { ac_try
='test -s conftest$ac_exeext'
5921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5925 (exit $ac_status); }; }; then
5926 ac_cv_lib_X11_XOpenDisplay
=yes
5928 echo "$as_me: failed program was:" >&5
5929 sed 's/^/| /' conftest.
$ac_ext >&5
5931 ac_cv_lib_X11_XOpenDisplay
=no
5933 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5934 LIBS
=$ac_check_lib_save_LIBS
5936 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XOpenDisplay" >&5
5937 echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6
5938 if test $ac_cv_lib_X11_XOpenDisplay = yes; then
5941 { { echo "$as_me:$LINENO: error: XOpenDisplay not found in -lX11" >&5
5942 echo "$as_me: error: XOpenDisplay not found in -lX11" >&2;}
5943 { (exit 1); exit 1; }; }
5947 echo "$as_me:$LINENO: checking for XMissingExtension in -lXext" >&5
5948 echo $ECHO_N "checking for XMissingExtension in -lXext... $ECHO_C" >&6
5949 if test "${ac_cv_lib_Xext_XMissingExtension+set}" = set; then
5950 echo $ECHO_N "(cached) $ECHO_C" >&6
5952 ac_check_lib_save_LIBS
=$LIBS
5954 cat >conftest.
$ac_ext <<_ACEOF
5955 #line $LINENO "configure"
5958 cat confdefs.h
>>conftest.
$ac_ext
5959 cat >>conftest.
$ac_ext <<_ACEOF
5960 /* end confdefs.h. */
5962 /* Override any gcc2 internal prototype to avoid an error. */
5966 /* We use char because int might match the return type of a gcc2
5967 builtin and then its argument prototype would still apply. */
5968 char XMissingExtension ();
5972 XMissingExtension ();
5977 rm -f conftest.
$ac_objext conftest
$ac_exeext
5978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5979 (eval $ac_link) 2>&5
5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 (exit $ac_status); } &&
5983 { ac_try
='test -s conftest$ac_exeext'
5984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5988 (exit $ac_status); }; }; then
5989 ac_cv_lib_Xext_XMissingExtension
=yes
5991 echo "$as_me: failed program was:" >&5
5992 sed 's/^/| /' conftest.
$ac_ext >&5
5994 ac_cv_lib_Xext_XMissingExtension
=no
5996 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5997 LIBS
=$ac_check_lib_save_LIBS
5999 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XMissingExtension" >&5
6000 echo "${ECHO_T}$ac_cv_lib_Xext_XMissingExtension" >&6
6001 if test $ac_cv_lib_Xext_XMissingExtension = yes; then
6004 { { echo "$as_me:$LINENO: error: XMissingExtension not found in -lXext" >&5
6005 echo "$as_me: error: XMissingExtension not found in -lXext" >&2;}
6006 { (exit 1); exit 1; }; }
6011 echo "$as_me:$LINENO: checking for blackbox headers" >&5
6012 echo $ECHO_N "checking for blackbox headers... $ECHO_C" >&6
6014 # Check whether --with-bt-includes or --without-bt-includes was given.
6015 if test "${with_bt_includes+set}" = set; then
6016 withval
="$with_bt_includes"
6017 ac_blackbox_inc
=$withval
6022 # if the blackbox headers directory was specified, make sure we have it
6023 for btdir
in $ac_blackbox_inc /usr
/local /usr
/lib
/usr
; do
6024 if test -f "$btdir/Application.hh"; then
6030 if test -z "$blackbox_inc"; then
6031 echo "$as_me:$LINENO: result: Not found" >&5
6032 echo "${ECHO_T}Not found" >&6
6034 echo "Couldn't find your blackbox library headers."
6035 echo "Use --with-bt-includes=dir option to fix this."
6040 echo "$as_me:$LINENO: result: $blackbox_inc" >&5
6041 echo "${ECHO_T}$blackbox_inc" >&6
6042 CXXFLAGS
="$CXXFLAGS -I$blackbox_inc"
6046 echo "$as_me:$LINENO: checking for blackbox lib" >&5
6047 echo $ECHO_N "checking for blackbox lib... $ECHO_C" >&6
6049 # Check whether --with-bt-lib or --without-bt-lib was given.
6050 if test "${with_bt_lib+set}" = set; then
6051 withval
="$with_bt_lib"
6052 ac_blackbox_lib
=$withval
6057 # if the blackbox headers directory was specified, make sure we have it
6058 for btdir
in $ac_blackbox_lib /usr
/local /usr
/lib
/usr
; do
6059 if test -f "$btdir/libbt.a"; then
6065 if test -z "$blackbox_lib"; then
6066 echo "$as_me:$LINENO: result: Not found" >&5
6067 echo "${ECHO_T}Not found" >&6
6069 echo "Couldn't find your blackbox library."
6070 echo "Use --with-bt-lib=dir option to fix this."
6075 echo "$as_me:$LINENO: result: $blackbox_lib" >&5
6076 echo "${ECHO_T}$blackbox_lib" >&6
6077 LIBS
="$LIBS -L$blackbox_lib -lbt"
6079 ac_config_headers
="$ac_config_headers config.h"
6082 echo "$as_me:$LINENO: result: " >&5
6083 echo "${ECHO_T}" >&6
6084 echo "$as_me:$LINENO: result: $PACKAGE version $VERSION configured successfully." >&5
6085 echo "${ECHO_T} $PACKAGE version $VERSION configured successfully." >&6
6086 echo "$as_me:$LINENO: result: " >&5
6087 echo "${ECHO_T}" >&6
6088 echo "$as_me:$LINENO: result: Using '$prefix' for installation." >&5
6089 echo "${ECHO_T}Using '$prefix' for installation." >&6
6090 echo "$as_me:$LINENO: result: Using '$CXX' for C++ compiler." >&5
6091 echo "${ECHO_T}Using '$CXX' for C++ compiler." >&6
6092 echo "$as_me:$LINENO: result: Building with '$CXXFLAGS' for C++ compiler flags." >&5
6093 echo "${ECHO_T}Building with '$CXXFLAGS' for C++ compiler flags." >&6
6094 echo "$as_me:$LINENO: result: Building with '$LIBS' for linker flags." >&5
6095 echo "${ECHO_T}Building with '$LIBS' for linker flags." >&6
6096 echo "$as_me:$LINENO: result: " >&5
6097 echo "${ECHO_T}" >&6
6100 ac_config_files
="$ac_config_files version.h Makefile src/Makefile doc/Makefile data/Makefile doc/bbkeys.1"
6101 cat >confcache
<<\_ACEOF
6102 # This file is a shell script that caches the results of configure
6103 # tests run on this system so they can be shared between configure
6104 # scripts and configure runs, see configure's option --config-cache.
6105 # It is not useful on other systems. If it contains results you don't
6106 # want to keep, you may remove or edit it.
6108 # config.status only pays attention to the cache file if you give it
6109 # the --recheck option to rerun configure.
6111 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6112 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6117 # The following way of writing the cache mishandles newlines in values,
6118 # but we know of no workaround that is simple, portable, and efficient.
6119 # So, don't put newlines in cache variables' values.
6120 # Ultrix sh set writes to stderr and can't be redirected directly,
6121 # and sets the high bit in the cache file unless we assign to the vars.
6124 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6126 # `set' does not quote correctly, so add quotes (double-quote
6127 # substitution turns \\\\ into \\, and sed turns \\ into \).
6130 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6133 # `set' quotes correctly as required by POSIX, so do not add quotes.
6135 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6142 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6144 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6146 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6147 if test -w $cache_file; then
6148 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6149 cat confcache
>$cache_file
6151 echo "not updating unwritable cache $cache_file"
6156 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6157 # Let make expand exec_prefix.
6158 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6160 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6161 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6162 # trailing colons and then remove the whole line if VPATH becomes empty
6163 # (actually we leave an empty line to preserve line numbers).
6164 if test "x$srcdir" = x.
; then
6165 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6166 s/:*\$(srcdir):*/:/;
6167 s/:*\${srcdir}:*/:/;
6169 s/^\([^=]*=[ ]*\):*/\1/;
6175 DEFS
=-DHAVE_CONFIG_H
6179 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6180 # 1. Remove the extension, and $U if already installed.
6181 ac_i
=`echo "$ac_i" |
6182 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6184 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6185 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6189 LTLIBOBJS
=$ac_ltlibobjs
6192 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6193 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6194 Usually this means the macro was only invoked conditionally." >&5
6195 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6196 Usually this means the macro was only invoked conditionally." >&2;}
6197 { (exit 1); exit 1; }; }
6199 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6200 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6201 Usually this means the macro was only invoked conditionally." >&5
6202 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6203 Usually this means the macro was only invoked conditionally." >&2;}
6204 { (exit 1); exit 1; }; }
6206 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6207 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6208 Usually this means the macro was only invoked conditionally." >&5
6209 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6210 Usually this means the macro was only invoked conditionally." >&2;}
6211 { (exit 1); exit 1; }; }
6213 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6214 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
6215 Usually this means the macro was only invoked conditionally." >&5
6216 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
6217 Usually this means the macro was only invoked conditionally." >&2;}
6218 { (exit 1); exit 1; }; }
6221 : ${CONFIG_STATUS=./config.status}
6222 ac_clean_files_save
=$ac_clean_files
6223 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6224 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6225 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6226 cat >$CONFIG_STATUS <<_ACEOF
6228 # Generated by $as_me.
6229 # Run this file to recreate the current configuration.
6230 # Compiler output produced by configure, useful for debugging
6231 # configure, is in config.log if it exists.
6236 SHELL=\${CONFIG_SHELL-$SHELL}
6239 cat >>$CONFIG_STATUS <<\_ACEOF
6240 ## --------------------- ##
6241 ## M4sh Initialization. ##
6242 ## --------------------- ##
6244 # Be Bourne compatible
6245 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6248 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6249 # is contrary to our usage. Disable this feature.
6250 alias -g '${1+"$@"}'='"$@"'
6251 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6255 # Support unset when possible.
6256 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
6263 # Work around bugs in pre-3.0 UWIN ksh.
6264 $as_unset ENV MAIL MAILPATH
6271 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6272 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6273 LC_TELEPHONE LC_TIME
6275 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
6276 eval $as_var=C
; export $as_var
6282 # Required to use basename.
6283 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6289 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6290 as_basename
=basename
6296 # Name of the executable.
6297 as_me
=`$as_basename "$0" ||
6298 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6299 X"$0" : 'X\(//\)$' \| \
6300 X"$0" : 'X\(/\)$' \| \
6301 . : '\(.\)' 2>/dev/null ||
6303 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6304 /^X\/\(\/\/\)$/{ s//\1/; q; }
6305 /^X\/\(\/\).*/{ s//\1/; q; }
6309 # PATH needs CR, and LINENO needs CR and PATH.
6310 # Avoid depending upon Character Ranges.
6311 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6312 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6313 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6314 as_cr_digits
='0123456789'
6315 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6317 # The user is always right.
6318 if test "${PATH_SEPARATOR+set}" != set; then
6319 echo "#! /bin/sh" >conf$$.sh
6320 echo "exit 0" >>conf$$.sh
6322 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6333 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6334 test "x$as_lineno_1" != "x$as_lineno_2" &&
6335 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6336 # Find who we are. Look in the path if we contain no path at all
6339 *[\\/]* ) as_myself
=$0 ;;
6340 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6344 test -z "$as_dir" && as_dir
=.
6345 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6350 # We did not find ourselves, most probably we were run as `sh COMMAND'
6351 # in which case we are not to be found in the path.
6352 if test "x$as_myself" = x
; then
6355 if test ! -f "$as_myself"; then
6356 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6357 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6358 { (exit 1); exit 1; }; }
6360 case $CONFIG_SHELL in
6362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6363 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6366 test -z "$as_dir" && as_dir
=.
6367 for as_base
in sh bash ksh sh5
; do
6370 if ("$as_dir/$as_base" -c '
6373 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6374 test "x$as_lineno_1" != "x$as_lineno_2" &&
6375 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6376 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6377 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6378 CONFIG_SHELL
=$as_dir/$as_base
6380 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6388 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6389 # uniformly replaced by the line number. The first 'sed' inserts a
6390 # line-number line before each line; the second 'sed' does the real
6391 # work. The second script uses 'N' to pair each line-number line
6392 # with the numbered line, and appends trailing '-' during
6393 # substitution so that $LINENO is not a special case at line end.
6394 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6395 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6396 sed '=' <$as_myself |
6401 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6404 s,^['$as_cr_digits']*\n,,
6406 chmod +x
$as_me.lineno ||
6407 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6408 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6409 { (exit 1); exit 1; }; }
6411 # Don't try to exec as it changes $[0], causing all sort of problems
6412 # (the dirname of $[0] is not the place where we might find the
6413 # original and so on. Autoconf is especially sensible to this).
6415 # Exit status is that of the last command.
6420 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6421 *c
*,-n*) ECHO_N
= ECHO_C
='
6423 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6424 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6427 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6433 rm -f conf$$ conf$$.exe conf$$.
file
6435 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6436 # We could just check for DJGPP; but this test a) works b) is more generic
6437 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6438 if test -f conf$$.exe
; then
6439 # Don't use ln at all; we don't have any links
6444 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6449 rm -f conf$$ conf$$.exe conf$$.
file
6451 if mkdir
-p .
2>/dev
/null
; then
6457 as_executable_p
="test -f"
6459 # Sed expression to map a string onto a valid CPP name.
6460 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
6462 # Sed expression to map a string onto a valid variable name.
6463 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
6467 # We need space, tab and new line, in precisely that order.
6477 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6478 # report actual input values of CONFIG_FILES etc. instead of their
6479 # values after options handling. Logging --version etc. is OK.
6483 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6484 ## Running $as_me. ##
6489 This file was extended by $as_me, which was
6490 generated by GNU Autoconf 2.57. Invocation command line was
6492 CONFIG_FILES = $CONFIG_FILES
6493 CONFIG_HEADERS = $CONFIG_HEADERS
6494 CONFIG_LINKS = $CONFIG_LINKS
6495 CONFIG_COMMANDS = $CONFIG_COMMANDS
6499 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6503 # Files that config.status was made for.
6504 if test -n "$ac_config_files"; then
6505 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6508 if test -n "$ac_config_headers"; then
6509 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6512 if test -n "$ac_config_links"; then
6513 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6516 if test -n "$ac_config_commands"; then
6517 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6520 cat >>$CONFIG_STATUS <<\_ACEOF
6523 \`$as_me' instantiates files from templates according to the
6524 current configuration.
6526 Usage: $0 [OPTIONS] [FILE]...
6528 -h, --help print this help, then exit
6529 -V, --version print version number, then exit
6530 -q, --quiet do not print progress messages
6531 -d, --debug don't remove temporary files
6532 --recheck update $as_me by reconfiguring in the same conditions
6533 --file=FILE[:TEMPLATE]
6534 instantiate the configuration file FILE
6535 --header=FILE[:TEMPLATE]
6536 instantiate the configuration header FILE
6538 Configuration files:
6541 Configuration headers:
6544 Configuration commands:
6547 Report bugs to <bug-autoconf@gnu.org>."
6550 cat >>$CONFIG_STATUS <<_ACEOF
6553 configured by $0, generated by GNU Autoconf 2.57,
6554 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6556 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6557 Free Software Foundation, Inc.
6558 This config.status script is free software; the Free Software Foundation
6559 gives unlimited permission to copy, distribute and modify it."
6564 cat >>$CONFIG_STATUS <<\_ACEOF
6565 # If no file are specified by the user, then we need to provide default
6566 # value. By we need to know if files were specified by the user.
6572 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6573 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6581 *) # This is not an option, so the user has probably given explicit
6584 ac_need_defaults
=false
;;
6588 # Handling of the options.
6590 cat >>$CONFIG_STATUS <<\_ACEOF
6591 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6593 --version |
--vers* |
-V )
6594 echo "$ac_cs_version"; exit 0 ;;
6596 # Conflict between --help and --header
6597 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6598 Try \`$0 --help' for more information." >&5
6599 echo "$as_me: error: ambiguous option: $1
6600 Try \`$0 --help' for more information." >&2;}
6601 { (exit 1); exit 1; }; };;
6602 --help |
--hel |
-h )
6603 echo "$ac_cs_usage"; exit 0 ;;
6604 --debug |
--d* |
-d )
6606 --file |
--fil |
--fi |
--f )
6608 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6609 ac_need_defaults
=false
;;
6610 --header |
--heade |
--head |
--hea )
6612 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6613 ac_need_defaults
=false
;;
6614 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6615 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6619 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6620 Try \`$0 --help' for more information." >&5
6621 echo "$as_me: error: unrecognized option: $1
6622 Try \`$0 --help' for more information." >&2;}
6623 { (exit 1); exit 1; }; } ;;
6625 *) ac_config_targets
="$ac_config_targets $1" ;;
6631 ac_configure_extra_args
=
6633 if $ac_cs_silent; then
6635 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6639 cat >>$CONFIG_STATUS <<_ACEOF
6640 if \$ac_cs_recheck; then
6641 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6642 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6647 cat >>$CONFIG_STATUS <<_ACEOF
6649 # INIT-COMMANDS section.
6652 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6658 cat >>$CONFIG_STATUS <<\_ACEOF
6659 for ac_config_target
in $ac_config_targets
6661 case "$ac_config_target" in
6662 # Handling of arguments.
6663 "version.h" ) CONFIG_FILES
="$CONFIG_FILES version.h" ;;
6664 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6665 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
6666 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
6667 "data/Makefile" ) CONFIG_FILES
="$CONFIG_FILES data/Makefile" ;;
6668 "doc/bbkeys.1" ) CONFIG_FILES
="$CONFIG_FILES doc/bbkeys.1" ;;
6669 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6670 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6671 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6672 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6673 { (exit 1); exit 1; }; };;
6677 # If the user did not use the arguments to specify the items to instantiate,
6678 # then the envvar interface is used. Set only those that are not.
6679 # We use the long form for the default assignment because of an extremely
6680 # bizarre bug on SunOS 4.1.3.
6681 if $ac_need_defaults; then
6682 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6683 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6684 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6687 # Have a temporary directory for convenience. Make it in the build tree
6688 # simply because there is no reason to put it here, and in addition,
6689 # creating and moving files from /tmp can sometimes cause problems.
6690 # Create a temporary directory, and hook for its removal unless debugging.
6693 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6694 trap '{ (exit 1); exit 1; }' 1 2 13 15
6697 # Create a (secure) tmp directory for tmp files.
6700 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6701 test -n "$tmp" && test -d "$tmp"
6704 tmp
=.
/confstat$$
-$RANDOM
6705 (umask 077 && mkdir
$tmp)
6708 echo "$me: cannot create a temporary directory in ." >&2
6709 { (exit 1); exit 1; }
6714 cat >>$CONFIG_STATUS <<_ACEOF
6717 # CONFIG_FILES section.
6720 # No need to generate the scripts if there are no CONFIG_FILES.
6721 # This happens for instance when ./config.status config.h
6722 if test -n "\$CONFIG_FILES"; then
6723 # Protect against being on the right side of a sed subst in config.status.
6724 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6725 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6726 s,@SHELL@,$SHELL,;t t
6727 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6728 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6729 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6730 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6731 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6732 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6733 s,@exec_prefix@,$exec_prefix,;t t
6734 s,@prefix@,$prefix,;t t
6735 s,@program_transform_name@,$program_transform_name,;t t
6736 s,@bindir@,$bindir,;t t
6737 s,@sbindir@,$sbindir,;t t
6738 s,@libexecdir@,$libexecdir,;t t
6739 s,@datadir@,$datadir,;t t
6740 s,@sysconfdir@,$sysconfdir,;t t
6741 s,@sharedstatedir@,$sharedstatedir,;t t
6742 s,@localstatedir@,$localstatedir,;t t
6743 s,@libdir@,$libdir,;t t
6744 s,@includedir@,$includedir,;t t
6745 s,@oldincludedir@,$oldincludedir,;t t
6746 s,@infodir@,$infodir,;t t
6747 s,@mandir@,$mandir,;t t
6748 s,@build_alias@,$build_alias,;t t
6749 s,@host_alias@,$host_alias,;t t
6750 s,@target_alias@,$target_alias,;t t
6752 s,@ECHO_C@,$ECHO_C,;t t
6753 s,@ECHO_N@,$ECHO_N,;t t
6754 s,@ECHO_T@,$ECHO_T,;t t
6756 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6757 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6758 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6759 s,@CYGPATH_W@,$CYGPATH_W,;t t
6760 s,@PACKAGE@,$PACKAGE,;t t
6761 s,@VERSION@,$VERSION,;t t
6762 s,@ACLOCAL@,$ACLOCAL,;t t
6763 s,@AUTOCONF@,$AUTOCONF,;t t
6764 s,@AUTOMAKE@,$AUTOMAKE,;t t
6765 s,@AUTOHEADER@,$AUTOHEADER,;t t
6766 s,@MAKEINFO@,$MAKEINFO,;t t
6767 s,@AMTAR@,$AMTAR,;t t
6768 s,@install_sh@,$install_sh,;t t
6769 s,@STRIP@,$STRIP,;t t
6770 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6771 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6773 s,@SET_MAKE@,$SET_MAKE,;t t
6774 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6775 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6776 s,@MAINT@,$MAINT,;t t
6777 s,@regex_cmd@,$regex_cmd,;t t
6779 s,@CFLAGS@,$CFLAGS,;t t
6780 s,@LDFLAGS@,$LDFLAGS,;t t
6781 s,@CPPFLAGS@,$CPPFLAGS,;t t
6782 s,@ac_ct_CC@,$ac_ct_CC,;t t
6783 s,@EXEEXT@,$EXEEXT,;t t
6784 s,@OBJEXT@,$OBJEXT,;t t
6785 s,@DEPDIR@,$DEPDIR,;t t
6786 s,@am__include@,$am__include,;t t
6787 s,@am__quote@,$am__quote,;t t
6788 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6789 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6790 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6791 s,@CCDEPMODE@,$CCDEPMODE,;t t
6792 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6793 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6795 s,@CXXFLAGS@,$CXXFLAGS,;t t
6796 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6797 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
6798 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
6799 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
6802 s,@RANLIB@,$RANLIB,;t t
6803 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6805 s,@X_CFLAGS@,$X_CFLAGS,;t t
6806 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
6807 s,@X_LIBS@,$X_LIBS,;t t
6808 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
6809 s,@EGREP@,$EGREP,;t t
6810 s,@LIBOBJS@,$LIBOBJS,;t t
6811 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6816 cat >>$CONFIG_STATUS <<\_ACEOF
6817 # Split the substitutions into bite-sized pieces for seds with
6818 # small command number limits, like on Digital OSF/1 and HP-UX.
6820 ac_sed_frag
=1 # Number of current file.
6821 ac_beg
=1 # First line for current file.
6822 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6825 while $ac_more_lines; do
6826 if test $ac_beg -gt 1; then
6827 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6829 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6831 if test ! -s $tmp/subs.frag
; then
6834 # The purpose of the label and of the branching condition is to
6835 # speed up the sed processing (if there are no `@' at all, there
6836 # is no need to browse any of the substitutions).
6837 # These are the two extra sed commands mentioned above.
6839 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6840 if test -z "$ac_sed_cmds"; then
6841 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6843 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6845 ac_sed_frag
=`expr $ac_sed_frag + 1`
6847 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6850 if test -z "$ac_sed_cmds"; then
6853 fi # test -n "$CONFIG_FILES"
6856 cat >>$CONFIG_STATUS <<\_ACEOF
6857 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6858 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6860 - |
*:- |
*:-:* ) # input from stdin
6862 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6863 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6864 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6865 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6866 * ) ac_file_in
=$ac_file.
in ;;
6869 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6870 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6871 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6872 X"$ac_file" : 'X\(//\)[^/]' \| \
6873 X"$ac_file" : 'X\(//\)$' \| \
6874 X"$ac_file" : 'X\(/\)' \| \
6875 . : '\(.\)' 2>/dev/null ||
6877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6878 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6879 /^X\(\/\/\)$/{ s//\1/; q; }
6880 /^X\(\/\).*/{ s//\1/; q; }
6882 { if $as_mkdir_p; then
6887 while test ! -d "$as_dir"; do
6888 as_dirs
="$as_dir $as_dirs"
6889 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6890 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6891 X"$as_dir" : 'X\(//\)[^/]' \| \
6892 X"$as_dir" : 'X\(//\)$' \| \
6893 X"$as_dir" : 'X\(/\)' \| \
6894 . : '\(.\)' 2>/dev/null ||
6896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6897 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6898 /^X\(\/\/\)$/{ s//\1/; q; }
6899 /^X\(\/\).*/{ s//\1/; q; }
6902 test ! -n "$as_dirs" || mkdir
$as_dirs
6903 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6904 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6905 { (exit 1); exit 1; }; }; }
6909 if test "$ac_dir" != .
; then
6910 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6911 # A "../" for each directory in $ac_dir_suffix.
6912 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6914 ac_dir_suffix
= ac_top_builddir
=
6918 .
) # No --srcdir option. We are building in place.
6920 if test -z "$ac_top_builddir"; then
6923 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6925 [\\/]* | ?
:[\\/]* ) # Absolute path.
6926 ac_srcdir
=$srcdir$ac_dir_suffix;
6927 ac_top_srcdir
=$srcdir ;;
6929 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6930 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6932 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6934 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
6935 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6936 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6937 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6941 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6942 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6945 if test x
"$ac_file" != x-
; then
6946 { echo "$as_me:$LINENO: creating $ac_file" >&5
6947 echo "$as_me: creating $ac_file" >&6;}
6950 # Let's still pretend it is `configure' which instantiates (i.e., don't
6951 # use $as_me), people would be surprised to read:
6952 # /* config.h. Generated by config.status. */
6953 if test x
"$ac_file" = x-
; then
6956 configure_input
="$ac_file. "
6958 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6959 sed 's,.*/,,'` by configure."
6961 # First look for the input files in the build tree, otherwise in the
6963 ac_file_inputs
=`IFS=:
6964 for f in $ac_file_in; do
6966 -) echo $tmp/stdin ;;
6968 # Absolute (can't be DOS-style, as IFS=:)
6969 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6970 echo "$as_me: error: cannot find input file: $f" >&2;}
6971 { (exit 1); exit 1; }; }
6974 if test -f "$f"; then
6977 elif test -f "$srcdir/$f"; then
6982 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6983 echo "$as_me: error: cannot find input file: $f" >&2;}
6984 { (exit 1); exit 1; }; }
6987 done` ||
{ (exit 1); exit 1; }
6989 cat >>$CONFIG_STATUS <<_ACEOF
6993 cat >>$CONFIG_STATUS <<\_ACEOF
6995 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6996 s
,@configure_input@
,$configure_input,;t t
6997 s
,@srcdir@
,$ac_srcdir,;t t
6998 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6999 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7000 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7001 s
,@builddir@
,$ac_builddir,;t t
7002 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7003 s
,@top_builddir@
,$ac_top_builddir,;t t
7004 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7005 s
,@INSTALL@
,$ac_INSTALL,;t t
7006 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7008 if test x"$ac_file" != x-; then
7009 mv $tmp/out $ac_file
7017 cat >>$CONFIG_STATUS <<\_ACEOF
7020 # CONFIG_HEADER section.
7023 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7024 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7026 # ac_d sets the value in "#define NAME VALUE" lines.
7027 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7028 ac_dB
='[ ].*$,\1#\2'
7031 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7032 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7033 ac_uB
='$,\1#\2define\3'
7037 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7038 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7040 - |
*:- |
*:-:* ) # input from stdin
7042 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7043 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7044 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7045 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7046 * ) ac_file_in
=$ac_file.
in ;;
7049 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7050 echo "$as_me: creating $ac_file" >&6;}
7052 # First look for the input files in the build tree, otherwise in the
7054 ac_file_inputs
=`IFS=:
7055 for f in $ac_file_in; do
7057 -) echo $tmp/stdin ;;
7059 # Absolute (can't be DOS-style, as IFS=:)
7060 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7061 echo "$as_me: error: cannot find input file: $f" >&2;}
7062 { (exit 1); exit 1; }; }
7065 if test -f "$f"; then
7068 elif test -f "$srcdir/$f"; then
7073 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7074 echo "$as_me: error: cannot find input file: $f" >&2;}
7075 { (exit 1); exit 1; }; }
7078 done` ||
{ (exit 1); exit 1; }
7079 # Remove the trailing spaces.
7080 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7084 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7085 # `conftest.undefs', that substitutes the proper values into
7086 # config.h.in to produce config.h. The first handles `#define'
7087 # templates, and the second `#undef' templates.
7088 # And first: Protect against being on the right side of a sed subst in
7089 # config.status. Protect against being in an unquoted here document
7091 rm -f conftest.defines conftest.undefs
7092 # Using a here document instead of a string reduces the quoting nightmare.
7093 # Putting comments in sed scripts is not portable.
7095 # `end' is used to avoid that the second main sed command (meant for
7096 # 0-ary CPP macros) applies to n-ary macro definitions.
7097 # See the Autoconf documentation for `clear'.
7098 cat >confdef2sed.
sed <<\_ACEOF
7103 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7105 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7108 # If some macros were called several times there might be several times
7109 # the same #defines, which is useless. Nevertheless, we may not want to
7110 # sort them, since we want the *last* AC-DEFINE to be honored.
7111 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7112 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7113 rm -f confdef2sed.sed
7115 # This sed command replaces #undef with comments. This is necessary, for
7116 # example, in the case of _POSIX_SOURCE, which is predefined and required
7117 # on some systems where configure will not decide to define it.
7118 cat >>conftest.undefs <<\_ACEOF
7119 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7122 # Break up conftest.defines because some shells have a limit on the size
7123 # of here documents, and old seds have small limits too (100 cmds).
7124 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7125 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7126 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7127 echo ' :' >>$CONFIG_STATUS
7129 while grep . conftest.defines >/dev/null
7131 # Write a limited-size here document to $tmp/defines.sed.
7132 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7133 # Speed up: don't consider the non `#define' lines.
7134 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7135 # Work around the forget-to-reset-the-flag bug.
7136 echo 't clr' >>$CONFIG_STATUS
7137 echo ': clr' >>$CONFIG_STATUS
7138 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7140 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7144 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7145 rm -f conftest.defines
7146 mv conftest.
tail conftest.defines
7148 rm -f conftest.defines
7149 echo ' fi # grep' >>$CONFIG_STATUS
7150 echo >>$CONFIG_STATUS
7152 # Break up conftest.undefs because some shells have a limit on the size
7153 # of here documents, and old seds have small limits too (100 cmds).
7154 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7156 while grep . conftest.undefs
>/dev
/null
7158 # Write a limited-size here document to $tmp/undefs.sed.
7159 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7160 # Speed up: don't consider the non
`#undef'
7161 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7162 # Work around the forget-to-reset-the-flag bug.
7163 echo 't clr' >>$CONFIG_STATUS
7164 echo ': clr' >>$CONFIG_STATUS
7165 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7167 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7171 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7172 rm -f conftest.undefs
7173 mv conftest.tail conftest.undefs
7175 rm -f conftest.undefs
7177 cat >>$CONFIG_STATUS <<\_ACEOF
7178 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7179 # use $as_me), people would be surprised to read:
7180 # /* config.h. Generated by config.status. */
7181 if test x
"$ac_file" = x-
; then
7182 echo "/* Generated by configure. */" >$tmp/config.h
7184 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7186 cat $tmp/in >>$tmp/config.h
7188 if test x
"$ac_file" != x-
; then
7189 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7190 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7191 echo "$as_me: $ac_file is unchanged" >&6;}
7193 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7194 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7195 X"$ac_file" : 'X\(//\)[^/]' \| \
7196 X"$ac_file" : 'X\(//\)$' \| \
7197 X"$ac_file" : 'X\(/\)' \| \
7198 . : '\(.\)' 2>/dev/null ||
7200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7201 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7202 /^X\(\/\/\)$/{ s//\1/; q; }
7203 /^X\(\/\).*/{ s//\1/; q; }
7205 { if $as_mkdir_p; then
7210 while test ! -d "$as_dir"; do
7211 as_dirs
="$as_dir $as_dirs"
7212 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7213 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7214 X"$as_dir" : 'X\(//\)[^/]' \| \
7215 X"$as_dir" : 'X\(//\)$' \| \
7216 X"$as_dir" : 'X\(/\)' \| \
7217 . : '\(.\)' 2>/dev/null ||
7219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7220 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7221 /^X\(\/\/\)$/{ s//\1/; q; }
7222 /^X\(\/\).*/{ s//\1/; q; }
7225 test ! -n "$as_dirs" || mkdir
$as_dirs
7226 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7227 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7228 { (exit 1); exit 1; }; }; }
7231 mv $tmp/config.h
$ac_file
7237 _am_stamp_count
=`expr ${_am_stamp_count-0} + 1`
7238 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7239 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7240 X$ac_file : 'X\(//\)[^/]' \| \
7241 X$ac_file : 'X\(//\)$' \| \
7242 X$ac_file : 'X\(/\)' \| \
7243 . : '\(.\)' 2>/dev/null ||
7245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7246 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7247 /^X\(\/\/\)$/{ s//\1/; q; }
7248 /^X\(\/\).*/{ s//\1/; q; }
7249 s/.*/./; q'`/stamp-h
$_am_stamp_count
7252 cat >>$CONFIG_STATUS <<\_ACEOF
7255 # CONFIG_COMMANDS section.
7257 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
7258 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7259 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7260 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7261 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7262 X"$ac_dest" : 'X\(//\)[^/]' \| \
7263 X"$ac_dest" : 'X\(//\)$' \| \
7264 X"$ac_dest" : 'X\(/\)' \| \
7265 . : '\(.\)' 2>/dev/null ||
7267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7268 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7269 /^X\(\/\/\)$/{ s//\1/; q; }
7270 /^X\(\/\).*/{ s//\1/; q; }
7274 if test "$ac_dir" != .
; then
7275 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7276 # A "../" for each directory in $ac_dir_suffix.
7277 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7279 ac_dir_suffix
= ac_top_builddir
=
7283 .
) # No --srcdir option. We are building in place.
7285 if test -z "$ac_top_builddir"; then
7288 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7290 [\\/]* | ?
:[\\/]* ) # Absolute path.
7291 ac_srcdir
=$srcdir$ac_dir_suffix;
7292 ac_top_srcdir
=$srcdir ;;
7294 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7295 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7297 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7299 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
7300 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7301 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7302 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7305 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7306 echo "$as_me: executing $ac_dest commands" >&6;}
7308 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
7309 # Strip MF so we end up with the name of the file.
7310 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7311 # Check whether this is an Automake generated Makefile or not.
7312 # We used to match only the files named `Makefile.in', but
7313 # some people rename them; so instead we look at the file content.
7314 # Grep'ing the first line is not enough: some people post-process
7315 # each Makefile.in and add a new line on top of each file to say so.
7316 # So let's grep whole file.
7317 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
7318 dirpart
=`(dirname "$mf") 2>/dev/null ||
7319 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7320 X"$mf" : 'X\(//\)[^/]' \| \
7321 X"$mf" : 'X\(//\)$' \| \
7322 X"$mf" : 'X\(/\)' \| \
7323 . : '\(.\)' 2>/dev/null ||
7325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7326 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7327 /^X\(\/\/\)$/{ s//\1/; q; }
7328 /^X\(\/\).*/{ s//\1/; q; }
7333 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
7334 # Extract the definition of DEP_FILES from the Makefile without
7336 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
7337 test -z "$DEPDIR" && continue
7338 # When using ansi2knr, U may be empty or an underscore; expand it
7339 U
=`sed -n -e '/^U = / s///p' < "$mf"`
7340 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
7341 # We invoke sed twice because it is the simplest approach to
7342 # changing $(DEPDIR) to its actual value in the expansion.
7343 for file in `sed -n -e '
7344 /^DEP_FILES = .*\\\\$/ {
7353 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7354 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7355 # Make sure the directory exists.
7356 test -f "$dirpart/$file" && continue
7357 fdir
=`(dirname "$file") 2>/dev/null ||
7358 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7359 X"$file" : 'X\(//\)[^/]' \| \
7360 X"$file" : 'X\(//\)$' \| \
7361 X"$file" : 'X\(/\)' \| \
7362 . : '\(.\)' 2>/dev/null ||
7364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7365 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7366 /^X\(\/\/\)$/{ s//\1/; q; }
7367 /^X\(\/\).*/{ s//\1/; q; }
7369 { if $as_mkdir_p; then
7370 mkdir
-p $dirpart/$fdir
7372 as_dir
=$dirpart/$fdir
7374 while test ! -d "$as_dir"; do
7375 as_dirs
="$as_dir $as_dirs"
7376 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7377 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7378 X"$as_dir" : 'X\(//\)[^/]' \| \
7379 X"$as_dir" : 'X\(//\)$' \| \
7380 X"$as_dir" : 'X\(/\)' \| \
7381 . : '\(.\)' 2>/dev/null ||
7383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7384 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7385 /^X\(\/\/\)$/{ s//\1/; q; }
7386 /^X\(\/\).*/{ s//\1/; q; }
7389 test ! -n "$as_dirs" || mkdir
$as_dirs
7390 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7391 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7392 { (exit 1); exit 1; }; }; }
7394 # echo "creating $dirpart/$file"
7395 echo '# dummy' > "$dirpart/$file"
7403 cat >>$CONFIG_STATUS <<\_ACEOF
7405 { (exit 0); exit 0; }
7407 chmod +x
$CONFIG_STATUS
7408 ac_clean_files
=$ac_clean_files_save
7411 # configure is writing to config.log, and then calls config.status.
7412 # config.status does its own redirection, appending to config.log.
7413 # Unfortunately, on DOS this fails, as config.log is still kept open
7414 # by configure, so config.status won't be able to write to it; its
7415 # output is simply discarded. So we exec the FD to /dev/null,
7416 # effectively closing config.log, so it can be properly (re)opened and
7417 # appended to by config.status. When coming back to configure, we
7418 # need to make the FD available again.
7419 if test "$no_create" != yes; then
7421 ac_config_status_args
=
7422 test "$silent" = yes &&
7423 ac_config_status_args
="$ac_config_status_args --quiet"
7425 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7427 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7428 # would make configure fail if this is the last instruction.
7429 $ac_cs_success ||
{ (exit 1); exit 1; }