2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="cccp.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT YACC CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE EGREP ALLOCA CXREF_CPP GCC LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
836 if test -n "$ac_init_help"; then
841 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
842 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
843 --with-cxref-cpp use the supplied cpp instead of trying to use gcc
845 Some influential environment variables
:
846 CC C compiler
command
847 CFLAGS C compiler flags
848 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
849 nonstandard directory
<lib dir
>
850 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
851 headers
in a nonstandard directory
<include dir
>
854 Use these variables to override the choices made by
`configure' or to help
855 it to find libraries and programs with nonstandard names/locations.
860 if test "$ac_init_help" = "recursive"; then
861 # If there are subdirs, report their specific --help.
863 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
864 test -d $ac_dir || continue
867 if test "$ac_dir" != .; then
868 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
869 # A "../" for each directory in $ac_dir_suffix.
870 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
872 ac_dir_suffix= ac_top_builddir=
876 .) # No --srcdir option. We are building in place.
878 if test -z "$ac_top_builddir"; then
881 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
883 [\\/]* | ?:[\\/]* ) # Absolute path.
884 ac_srcdir=$srcdir$ac_dir_suffix;
885 ac_top_srcdir=$srcdir ;;
887 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
888 ac_top_srcdir=$ac_top_builddir$srcdir ;;
891 # Do not use `cd foo
&& pwd` to compute absolute paths, because
892 # the directories may not exist.
894 .) ac_abs_builddir="$ac_dir";;
897 .) ac_abs_builddir=`pwd`;;
898 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
899 *) ac_abs_builddir=`pwd`/"$ac_dir";;
902 case $ac_abs_builddir in
903 .) ac_abs_top_builddir=${ac_top_builddir}.;;
905 case ${ac_top_builddir}. in
906 .) ac_abs_top_builddir=$ac_abs_builddir;;
907 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
908 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
911 case $ac_abs_builddir in
912 .) ac_abs_srcdir=$ac_srcdir;;
915 .) ac_abs_srcdir=$ac_abs_builddir;;
916 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
917 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
920 case $ac_abs_builddir in
921 .) ac_abs_top_srcdir=$ac_top_srcdir;;
923 case $ac_top_srcdir in
924 .) ac_abs_top_srcdir=$ac_abs_builddir;;
925 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
926 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
931 # Check for guested configure; otherwise get Cygnus style configure.
932 if test -f $ac_srcdir/configure.gnu; then
934 $SHELL $ac_srcdir/configure.gnu --help=recursive
935 elif test -f $ac_srcdir/configure; then
937 $SHELL $ac_srcdir/configure --help=recursive
938 elif test -f $ac_srcdir/configure.ac ||
939 test -f $ac_srcdir/configure.in; then
943 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
949 test -n "$ac_init_help" && exit 0
950 if $ac_init_version; then
953 Copyright (C) 2003 Free Software Foundation, Inc.
954 This configure script is free software; the Free Software Foundation
955 gives unlimited permission to copy, distribute and modify it.
961 This file contains any messages produced by compilers while
962 running configure, to aid debugging if configure makes a mistake.
964 It was created by $as_me, which was
965 generated by GNU Autoconf 2.59. Invocation command line was
976 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
977 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
978 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
979 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
980 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
982 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
983 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
985 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
986 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
987 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
988 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
989 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
990 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
991 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
999 test -z "$as_dir" && as_dir=.
1000 echo "PATH: $as_dir"
1015 # Keep a trace of the command line.
1016 # Strip out --no-create and --no-recursion so they do not pile up.
1017 # Strip out --silent because we don't want to record it for future runs.
1018 # Also quote any args containing shell meta-characters.
1019 # Make two passes to allow for proper duplicate-argument suppression.
1024 ac_must_keep_next=false
1030 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1031 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1032 | -silent | --silent | --silen | --sile | --sil)
1034 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1035 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1038 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1040 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1041 if test $ac_must_keep_next = true; then
1042 ac_must_keep_next=false # Got value, back to normal.
1045 *=* | --config-cache | -C | -disable-* | --disable-* \
1046 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1047 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1048 | -with-* | --with-* | -without-* | --without-* | --x)
1049 case "$ac_configure_args0 " in
1050 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1053 -* ) ac_must_keep_next=true ;;
1056 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1057 # Get rid of the leading space.
1063 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1064 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1066 # When interrupted or exit'd, cleanup temporary files, and complete
1067 # config.log. We remove comments because anyway the quotes in there
1068 # would cause problems or look ugly.
1069 # WARNING: Be sure not to use single quotes in there, as some shells,
1070 # such as our DU 5.0 friend, will then `close
' the trap.
1071 trap 'exit_status
=$?
1072 # Save into config.log some information that might help in debugging.
1077 ## ---------------- ##
1078 ## Cache variables. ##
1079 ## ---------------- ##
1082 # The following way of writing the cache mishandles newlines in values,
1085 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1088 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1089 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1093 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1100 ## ----------------- ##
1101 ## Output variables. ##
1102 ## ----------------- ##
1105 for ac_var
in $ac_subst_vars
1107 eval ac_val
=$
`echo $ac_var`
1108 echo "$ac_var='"'"'$ac_val'"'"'"
1112 if test -n "$ac_subst_files"; then
1119 for ac_var
in $ac_subst_files
1121 eval ac_val
=$
`echo $ac_var`
1122 echo "$ac_var='"'"'$ac_val'"'"'"
1127 if test -s confdefs.h
; then
1134 sed "/^$/d" confdefs.h |
sort
1137 test "$ac_signal" != 0 &&
1138 echo "$as_me: caught signal $ac_signal"
1139 echo "$as_me: exit $exit_status"
1141 rm -f core
*.core
&&
1142 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1145 for ac_signal in 1 2 13 15; do
1146 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1150 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1151 rm -rf conftest* confdefs.h
1152 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1155 # Predefined preprocessor variables.
1157 cat >>confdefs.h <<_ACEOF
1158 #define PACKAGE_NAME "$PACKAGE_NAME"
1162 cat >>confdefs.h <<_ACEOF
1163 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1167 cat >>confdefs.h <<_ACEOF
1168 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1172 cat >>confdefs.h <<_ACEOF
1173 #define PACKAGE_STRING "$PACKAGE_STRING"
1177 cat >>confdefs.h <<_ACEOF
1178 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1182 # Let the site file select an alternate cache file if it wants to.
1183 # Prefer explicitly selected file to automatically selected ones.
1184 if test -z "$CONFIG_SITE"; then
1185 if test "x$prefix" != xNONE; then
1186 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1188 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1191 for ac_site_file in $CONFIG_SITE; do
1192 if test -r "$ac_site_file"; then
1193 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1194 echo "$as_me: loading site script $ac_site_file" >&6;}
1195 sed 's
/^
/|
/' "$ac_site_file" >&5
1200 if test -r "$cache_file"; then
1201 # Some versions of bash will fail to source /dev/null (special
1202 # files actually), so we avoid doing that.
1203 if test -f "$cache_file"; then
1204 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1205 echo "$as_me: loading cache $cache_file" >&6;}
1207 [\\/]* | ?:[\\/]* ) . $cache_file;;
1208 *) . ./$cache_file;;
1212 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1213 echo "$as_me: creating cache $cache_file" >&6;}
1217 # Check that the precious variables saved in the cache have kept the same
1219 ac_cache_corrupted=false
1220 for ac_var in `(set) 2>&1 |
1221 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1222 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1223 eval ac_new_set=\$ac_env_${ac_var}_set
1224 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1225 eval ac_new_val="\$ac_env_${ac_var}_value"
1226 case $ac_old_set,$ac_new_set in
1228 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1229 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1230 ac_cache_corrupted=: ;;
1232 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1233 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1234 ac_cache_corrupted=: ;;
1237 if test "x$ac_old_val" != "x$ac_new_val"; then
1238 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1239 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1240 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1241 echo "$as_me: former value: $ac_old_val" >&2;}
1242 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1243 echo "$as_me: current value: $ac_new_val" >&2;}
1244 ac_cache_corrupted=:
1247 # Pass precious variables to config.status.
1248 if test "$ac_new_set" = set; then
1250 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1251 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1252 *) ac_arg=$ac_var=$ac_new_val ;;
1254 case " $ac_configure_args " in
1255 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1256 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1260 if $ac_cache_corrupted; then
1261 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1262 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1263 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1264 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1265 { (exit 1); exit 1; }; }
1269 ac_cpp='$CPP $CPPFLAGS'
1270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1271 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1293 ac_config_headers="$ac_config_headers autoconfig.h"
1298 # Check whether --with-cxref-cpp or --without-cxref-cpp was given.
1299 if test "${with_cxref_cpp+set}" = set; then
1300 withval="$with_cxref_cpp"
1301 if test "$withval" = "yes"; then WITH_CXREF_CPP=yes; fi
1302 if test "$withval" = "no"; then WITH_CXREF_CPP=no; fi
1306 ac_cpp='$CPP $CPPFLAGS'
1307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1308 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1310 if test -n "$ac_tool_prefix"; then
1311 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1312 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1313 echo "$as_me:$LINENO: checking for $ac_word" >&5
1314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1315 if test "${ac_cv_prog_CC+set}" = set; then
1316 echo $ECHO_N "(cached) $ECHO_C" >&6
1318 if test -n "$CC"; then
1319 ac_cv_prog_CC="$CC" # Let the user override the test.
1321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1325 test -z "$as_dir" && as_dir=.
1326 for ac_exec_ext in '' $ac_executable_extensions; do
1327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1328 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1338 if test -n "$CC"; then
1339 echo "$as_me:$LINENO: result: $CC" >&5
1340 echo "${ECHO_T}$CC" >&6
1342 echo "$as_me:$LINENO: result: no" >&5
1343 echo "${ECHO_T}no" >&6
1347 if test -z "$ac_cv_prog_CC"; then
1349 # Extract the first word of "gcc", so it can be a program name with args.
1350 set dummy gcc; ac_word=$2
1351 echo "$as_me:$LINENO: checking for $ac_word" >&5
1352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1353 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1354 echo $ECHO_N "(cached) $ECHO_C" >&6
1356 if test -n "$ac_ct_CC"; then
1357 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1363 test -z "$as_dir" && as_dir=.
1364 for ac_exec_ext in '' $ac_executable_extensions; do
1365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1366 ac_cv_prog_ac_ct_CC="gcc"
1367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1375 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1376 if test -n "$ac_ct_CC"; then
1377 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1378 echo "${ECHO_T}$ac_ct_CC" >&6
1380 echo "$as_me:$LINENO: result: no" >&5
1381 echo "${ECHO_T}no" >&6
1389 if test -z "$CC"; then
1390 if test -n "$ac_tool_prefix"; then
1391 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1392 set dummy ${ac_tool_prefix}cc; ac_word=$2
1393 echo "$as_me:$LINENO: checking for $ac_word" >&5
1394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1395 if test "${ac_cv_prog_CC+set}" = set; then
1396 echo $ECHO_N "(cached) $ECHO_C" >&6
1398 if test -n "$CC"; then
1399 ac_cv_prog_CC="$CC" # Let the user override the test.
1401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1405 test -z "$as_dir" && as_dir=.
1406 for ac_exec_ext in '' $ac_executable_extensions; do
1407 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1408 ac_cv_prog_CC="${ac_tool_prefix}cc"
1409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1418 if test -n "$CC"; then
1419 echo "$as_me:$LINENO: result: $CC" >&5
1420 echo "${ECHO_T}$CC" >&6
1422 echo "$as_me:$LINENO: result: no" >&5
1423 echo "${ECHO_T}no" >&6
1427 if test -z "$ac_cv_prog_CC"; then
1429 # Extract the first word of "cc", so it can be a program name with args.
1430 set dummy cc; ac_word=$2
1431 echo "$as_me:$LINENO: checking for $ac_word" >&5
1432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1433 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1434 echo $ECHO_N "(cached) $ECHO_C" >&6
1436 if test -n "$ac_ct_CC"; then
1437 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1443 test -z "$as_dir" && as_dir=.
1444 for ac_exec_ext in '' $ac_executable_extensions; do
1445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1446 ac_cv_prog_ac_ct_CC="cc"
1447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1455 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1456 if test -n "$ac_ct_CC"; then
1457 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1458 echo "${ECHO_T}$ac_ct_CC" >&6
1460 echo "$as_me:$LINENO: result: no" >&5
1461 echo "${ECHO_T}no" >&6
1470 if test -z "$CC"; then
1471 # Extract the first word of "cc", so it can be a program name with args.
1472 set dummy cc; ac_word=$2
1473 echo "$as_me:$LINENO: checking for $ac_word" >&5
1474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1475 if test "${ac_cv_prog_CC+set}" = set; then
1476 echo $ECHO_N "(cached) $ECHO_C" >&6
1478 if test -n "$CC"; then
1479 ac_cv_prog_CC="$CC" # Let the user override the test.
1482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1486 test -z "$as_dir" && as_dir=.
1487 for ac_exec_ext in '' $ac_executable_extensions; do
1488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1489 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1490 ac_prog_rejected=yes
1494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1500 if test $ac_prog_rejected = yes; then
1501 # We found a bogon in the path, so make sure we never use it.
1502 set dummy $ac_cv_prog_CC
1504 if test $# != 0; then
1505 # We chose a different compiler from the bogus one.
1506 # However, it has the same basename, so the bogon will be chosen
1507 # first if we set CC to just the basename; use the full file name.
1509 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1515 if test -n "$CC"; then
1516 echo "$as_me:$LINENO: result: $CC" >&5
1517 echo "${ECHO_T}$CC" >&6
1519 echo "$as_me:$LINENO: result: no" >&5
1520 echo "${ECHO_T}no" >&6
1524 if test -z "$CC"; then
1525 if test -n "$ac_tool_prefix"; then
1528 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1529 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1530 echo "$as_me:$LINENO: checking for $ac_word" >&5
1531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1532 if test "${ac_cv_prog_CC+set}" = set; then
1533 echo $ECHO_N "(cached) $ECHO_C" >&6
1535 if test -n "$CC"; then
1536 ac_cv_prog_CC="$CC" # Let the user override the test.
1538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1542 test -z "$as_dir" && as_dir=.
1543 for ac_exec_ext in '' $ac_executable_extensions; do
1544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1545 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1555 if test -n "$CC"; then
1556 echo "$as_me:$LINENO: result: $CC" >&5
1557 echo "${ECHO_T}$CC" >&6
1559 echo "$as_me:$LINENO: result: no" >&5
1560 echo "${ECHO_T}no" >&6
1563 test -n "$CC" && break
1566 if test -z "$CC"; then
1570 # Extract the first word of "$ac_prog", so it can be a program name with args.
1571 set dummy $ac_prog; ac_word=$2
1572 echo "$as_me:$LINENO: checking for $ac_word" >&5
1573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1574 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1575 echo $ECHO_N "(cached) $ECHO_C" >&6
1577 if test -n "$ac_ct_CC"; then
1578 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1584 test -z "$as_dir" && as_dir=.
1585 for ac_exec_ext in '' $ac_executable_extensions; do
1586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1587 ac_cv_prog_ac_ct_CC="$ac_prog"
1588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1596 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1597 if test -n "$ac_ct_CC"; then
1598 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1599 echo "${ECHO_T}$ac_ct_CC" >&6
1601 echo "$as_me:$LINENO: result: no" >&5
1602 echo "${ECHO_T}no" >&6
1605 test -n "$ac_ct_CC" && break
1614 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1615 See \`config.log' for more details.
" >&5
1616 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1617 See \
`config.log' for more details." >&2;}
1618 { (exit 1); exit 1; }; }
1620 # Provide some information about the compiler.
1621 echo "$as_me:$LINENO:" \
1622 "checking for C compiler version" >&5
1623 ac_compiler=`set X
$ac_compile; echo $2`
1624 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1625 (eval $ac_compiler --version </dev/null >&5) 2>&5
1627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1628 (exit $ac_status); }
1629 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1630 (eval $ac_compiler -v </dev/null >&5) 2>&5
1632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1633 (exit $ac_status); }
1634 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1635 (eval $ac_compiler -V </dev/null >&5) 2>&5
1637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1638 (exit $ac_status); }
1640 cat >conftest.$ac_ext <<_ACEOF
1643 cat confdefs.h >>conftest.$ac_ext
1644 cat >>conftest.$ac_ext <<_ACEOF
1645 /* end confdefs.h. */
1655 ac_clean_files_save=$ac_clean_files
1656 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1657 # Try to create an executable without -o first, disregard a.out.
1658 # It will help us diagnose broken compilers, and finding out an intuition
1660 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1661 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1662 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1663 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1664 (eval $ac_link_default) 2>&5
1666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1667 (exit $ac_status); }; then
1668 # Find the output, starting from the most likely. This scheme is
1669 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1672 # Be careful to initialize this variable, since it used to be cached.
1673 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1675 # b.out is created by i960 compilers.
1676 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1678 test -f "$ac_file" || continue
1680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1683 # This is the source file.
1686 # We found the default executable, but exeext='' is most
1690 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1691 # FIXME: I believe we export ac_cv_exeext for Libtool,
1692 # but it would be cool to find out if it's true. Does anybody
1693 # maintain Libtool? --akim.
1701 echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1704 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1705 See \`config.log
' for more details." >&5
1706 echo "$as_me: error: C compiler cannot create executables
1707 See \`config.log' for more details.
" >&2;}
1708 { (exit 77); exit 77; }; }
1711 ac_exeext=$ac_cv_exeext
1712 echo "$as_me:$LINENO: result
: $ac_file" >&5
1713 echo "${ECHO_T}$ac_file" >&6
1715 # Check the compiler produces executables we can run. If not, either
1716 # the compiler is broken, or we cross compile.
1717 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1718 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1719 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1720 # If not cross compiling, check that we can run a simple program.
1721 if test "$cross_compiling" != yes; then
1722 if { ac_try='./$ac_file'
1723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1726 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1727 (exit $ac_status); }; }; then
1730 if test "$cross_compiling" = maybe; then
1733 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1734 If you meant to cross compile
, use \
`--host'.
1735 See \`config.log
' for more details." >&5
1736 echo "$as_me: error: cannot run C compiled programs.
1737 If you meant to cross compile, use \`--host'.
1738 See \
`config.log' for more details." >&2;}
1739 { (exit 1); exit 1; }; }
1743 echo "$as_me:$LINENO: result: yes" >&5
1744 echo "${ECHO_T}yes" >&6
1746 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1747 ac_clean_files=$ac_clean_files_save
1748 # Check the compiler produces executables we can run. If not, either
1749 # the compiler is broken, or we cross compile.
1750 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1751 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1752 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1753 echo "${ECHO_T}$cross_compiling" >&6
1755 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1756 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1758 (eval $ac_link) 2>&5
1760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1761 (exit $ac_status); }; then
1762 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1763 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1764 # work properly (i.e., refer to `conftest.exe'), while it won't with
1766 for ac_file
in conftest.exe conftest conftest.
*; do
1767 test -f "$ac_file" ||
continue
1769 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1770 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1777 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1778 See \`config.log' for more details." >&5
1779 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1780 See \`config.log' for more details." >&2;}
1781 { (exit 1); exit 1; }; }
1784 rm -f conftest
$ac_cv_exeext
1785 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1786 echo "${ECHO_T}$ac_cv_exeext" >&6
1788 rm -f conftest.
$ac_ext
1789 EXEEXT
=$ac_cv_exeext
1791 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1792 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1793 if test "${ac_cv_objext+set}" = set; then
1794 echo $ECHO_N "(cached) $ECHO_C" >&6
1796 cat >conftest.
$ac_ext <<_ACEOF
1799 cat confdefs.h
>>conftest.
$ac_ext
1800 cat >>conftest.
$ac_ext <<_ACEOF
1801 /* end confdefs.h. */
1811 rm -f conftest.o conftest.obj
1812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1813 (eval $ac_compile) 2>&5
1815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1816 (exit $ac_status); }; then
1817 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1819 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1820 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1825 echo "$as_me: failed program was:" >&5
1826 sed 's/^/| /' conftest.
$ac_ext >&5
1828 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1829 See \`config.log' for more details." >&5
1830 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1831 See \`config.log' for more details." >&2;}
1832 { (exit 1); exit 1; }; }
1835 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1837 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1838 echo "${ECHO_T}$ac_cv_objext" >&6
1839 OBJEXT
=$ac_cv_objext
1841 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1842 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1843 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1844 echo $ECHO_N "(cached) $ECHO_C" >&6
1846 cat >conftest.
$ac_ext <<_ACEOF
1849 cat confdefs.h
>>conftest.
$ac_ext
1850 cat >>conftest.
$ac_ext <<_ACEOF
1851 /* end confdefs.h. */
1864 rm -f conftest.
$ac_objext
1865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1866 (eval $ac_compile) 2>conftest.er1
1868 grep -v '^ *+' conftest.er1
>conftest.err
1870 cat conftest.err
>&5
1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1872 (exit $ac_status); } &&
1873 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1878 (exit $ac_status); }; } &&
1879 { ac_try
='test -s conftest.$ac_objext'
1880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1884 (exit $ac_status); }; }; then
1887 echo "$as_me: failed program was:" >&5
1888 sed 's/^/| /' conftest.
$ac_ext >&5
1892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1893 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1896 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1897 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1898 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1899 ac_test_CFLAGS
=${CFLAGS+set}
1900 ac_save_CFLAGS
=$CFLAGS
1902 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1903 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1904 if test "${ac_cv_prog_cc_g+set}" = set; then
1905 echo $ECHO_N "(cached) $ECHO_C" >&6
1907 cat >conftest.
$ac_ext <<_ACEOF
1910 cat confdefs.h
>>conftest.
$ac_ext
1911 cat >>conftest.
$ac_ext <<_ACEOF
1912 /* end confdefs.h. */
1922 rm -f conftest.
$ac_objext
1923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1924 (eval $ac_compile) 2>conftest.er1
1926 grep -v '^ *+' conftest.er1
>conftest.err
1928 cat conftest.err
>&5
1929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1930 (exit $ac_status); } &&
1931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1936 (exit $ac_status); }; } &&
1937 { ac_try
='test -s conftest.$ac_objext'
1938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1942 (exit $ac_status); }; }; then
1945 echo "$as_me: failed program was:" >&5
1946 sed 's/^/| /' conftest.
$ac_ext >&5
1950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1952 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1953 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1954 if test "$ac_test_CFLAGS" = set; then
1955 CFLAGS
=$ac_save_CFLAGS
1956 elif test $ac_cv_prog_cc_g = yes; then
1957 if test "$GCC" = yes; then
1963 if test "$GCC" = yes; then
1969 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1970 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1971 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1972 echo $ECHO_N "(cached) $ECHO_C" >&6
1974 ac_cv_prog_cc_stdc
=no
1976 cat >conftest.
$ac_ext <<_ACEOF
1979 cat confdefs.h
>>conftest.
$ac_ext
1980 cat >>conftest.
$ac_ext <<_ACEOF
1981 /* end confdefs.h. */
1984 #include <sys/types.h>
1985 #include <sys/stat.h>
1986 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1987 struct buf { int x; };
1988 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1989 static char *e (p, i)
1995 static char *f (char * (*g) (char **, int), char **p, ...)
2000 s = g (p, va_arg (v,int));
2005 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2006 function prototypes and stuff, but not '\xHH' hex character constants.
2007 These don't provoke an error unfortunately, instead are silently treated
2008 as 'x'. The following induces an error, until -std1 is added to get
2009 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2010 array size at least. It's necessary to write '\x00'==0 to get something
2011 that's true only with -std1. */
2012 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2014 int test (int i, double x);
2015 struct s1 {int (*f) (int a);};
2016 struct s2 {int (*f) (double a);};
2017 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2023 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2028 # Don't try gcc -ansi; that turns off useful extensions and
2029 # breaks some systems' header files.
2030 # AIX -qlanglvl=ansi
2031 # Ultrix and OSF/1 -std1
2032 # HP-UX 10.20 and later -Ae
2033 # HP-UX older versions -Aa -D_HPUX_SOURCE
2034 # SVR4 -Xc -D__EXTENSIONS__
2035 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2037 CC
="$ac_save_CC $ac_arg"
2038 rm -f conftest.
$ac_objext
2039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2040 (eval $ac_compile) 2>conftest.er1
2042 grep -v '^ *+' conftest.er1
>conftest.err
2044 cat conftest.err
>&5
2045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2046 (exit $ac_status); } &&
2047 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2052 (exit $ac_status); }; } &&
2053 { ac_try
='test -s conftest.$ac_objext'
2054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2058 (exit $ac_status); }; }; then
2059 ac_cv_prog_cc_stdc
=$ac_arg
2062 echo "$as_me: failed program was:" >&5
2063 sed 's/^/| /' conftest.
$ac_ext >&5
2066 rm -f conftest.err conftest.
$ac_objext
2068 rm -f conftest.
$ac_ext conftest.
$ac_objext
2073 case "x$ac_cv_prog_cc_stdc" in
2075 echo "$as_me:$LINENO: result: none needed" >&5
2076 echo "${ECHO_T}none needed" >&6 ;;
2078 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2079 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2080 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2083 # Some people use a C++ compiler to compile C. Since we use `exit',
2084 # in C++ we need to declare it. In case someone uses the same compiler
2085 # for both compiling C and C++ we need to have the C++ compiler decide
2086 # the declaration of exit, since it's the most demanding environment.
2087 cat >conftest.
$ac_ext <<_ACEOF
2092 rm -f conftest.
$ac_objext
2093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2094 (eval $ac_compile) 2>conftest.er1
2096 grep -v '^ *+' conftest.er1
>conftest.err
2098 cat conftest.err
>&5
2099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2100 (exit $ac_status); } &&
2101 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2106 (exit $ac_status); }; } &&
2107 { ac_try
='test -s conftest.$ac_objext'
2108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2112 (exit $ac_status); }; }; then
2113 for ac_declaration
in \
2115 'extern "C" void std::exit (int) throw (); using std::exit;' \
2116 'extern "C" void std::exit (int); using std::exit;' \
2117 'extern "C" void exit (int) throw ();' \
2118 'extern "C" void exit (int);' \
2121 cat >conftest.
$ac_ext <<_ACEOF
2124 cat confdefs.h
>>conftest.
$ac_ext
2125 cat >>conftest.
$ac_ext <<_ACEOF
2126 /* end confdefs.h. */
2137 rm -f conftest.
$ac_objext
2138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2139 (eval $ac_compile) 2>conftest.er1
2141 grep -v '^ *+' conftest.er1
>conftest.err
2143 cat conftest.err
>&5
2144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2145 (exit $ac_status); } &&
2146 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2151 (exit $ac_status); }; } &&
2152 { ac_try
='test -s conftest.$ac_objext'
2153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2157 (exit $ac_status); }; }; then
2160 echo "$as_me: failed program was:" >&5
2161 sed 's/^/| /' conftest.
$ac_ext >&5
2165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2166 cat >conftest.
$ac_ext <<_ACEOF
2169 cat confdefs.h
>>conftest.
$ac_ext
2170 cat >>conftest.
$ac_ext <<_ACEOF
2171 /* end confdefs.h. */
2181 rm -f conftest.
$ac_objext
2182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2183 (eval $ac_compile) 2>conftest.er1
2185 grep -v '^ *+' conftest.er1
>conftest.err
2187 cat conftest.err
>&5
2188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2189 (exit $ac_status); } &&
2190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2195 (exit $ac_status); }; } &&
2196 { ac_try
='test -s conftest.$ac_objext'
2197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2201 (exit $ac_status); }; }; then
2204 echo "$as_me: failed program was:" >&5
2205 sed 's/^/| /' conftest.
$ac_ext >&5
2208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2211 if test -n "$ac_declaration"; then
2212 echo '#ifdef __cplusplus' >>confdefs.h
2213 echo $ac_declaration >>confdefs.h
2214 echo '#endif' >>confdefs.h
2218 echo "$as_me: failed program was:" >&5
2219 sed 's/^/| /' conftest.
$ac_ext >&5
2222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2224 ac_cpp
='$CPP $CPPFLAGS'
2225 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2226 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2227 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2229 for ac_prog
in 'bison -y' byacc
2231 # Extract the first word of "$ac_prog", so it can be a program name with args.
2232 set dummy
$ac_prog; ac_word
=$2
2233 echo "$as_me:$LINENO: checking for $ac_word" >&5
2234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2235 if test "${ac_cv_prog_YACC+set}" = set; then
2236 echo $ECHO_N "(cached) $ECHO_C" >&6
2238 if test -n "$YACC"; then
2239 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
2241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2245 test -z "$as_dir" && as_dir
=.
2246 for ac_exec_ext
in '' $ac_executable_extensions; do
2247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2248 ac_cv_prog_YACC
="$ac_prog"
2249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2257 YACC
=$ac_cv_prog_YACC
2258 if test -n "$YACC"; then
2259 echo "$as_me:$LINENO: result: $YACC" >&5
2260 echo "${ECHO_T}$YACC" >&6
2262 echo "$as_me:$LINENO: result: no" >&5
2263 echo "${ECHO_T}no" >&6
2266 test -n "$YACC" && break
2268 test -n "$YACC" || YACC
="yacc"
2271 ac_cpp
='$CPP $CPPFLAGS'
2272 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2273 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2274 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2275 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2276 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2277 # On Suns, sometimes $CPP names a directory.
2278 if test -n "$CPP" && test -d "$CPP"; then
2281 if test -z "$CPP"; then
2282 if test "${ac_cv_prog_CPP+set}" = set; then
2283 echo $ECHO_N "(cached) $ECHO_C" >&6
2285 # Double quotes because CPP needs to be expanded
2286 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2289 for ac_c_preproc_warn_flag
in '' yes
2291 # Use a header file that comes with gcc, so configuring glibc
2292 # with a fresh cross-compiler works.
2293 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2294 # <limits.h> exists even on freestanding compilers.
2295 # On the NeXT, cc -E runs the code through the compiler's parser,
2296 # not just through cpp. "Syntax error" is here to catch this case.
2297 cat >conftest.
$ac_ext <<_ACEOF
2300 cat confdefs.h
>>conftest.
$ac_ext
2301 cat >>conftest.
$ac_ext <<_ACEOF
2302 /* end confdefs.h. */
2304 # include <limits.h>
2306 # include <assert.h>
2310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2311 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2313 grep -v '^ *+' conftest.er1
>conftest.err
2315 cat conftest.err
>&5
2316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317 (exit $ac_status); } >/dev
/null
; then
2318 if test -s conftest.err
; then
2319 ac_cpp_err
=$ac_c_preproc_warn_flag
2320 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2327 if test -z "$ac_cpp_err"; then
2330 echo "$as_me: failed program was:" >&5
2331 sed 's/^/| /' conftest.
$ac_ext >&5
2333 # Broken: fails on valid input.
2336 rm -f conftest.err conftest.
$ac_ext
2338 # OK, works on sane cases. Now check whether non-existent headers
2339 # can be detected and how.
2340 cat >conftest.
$ac_ext <<_ACEOF
2343 cat confdefs.h
>>conftest.
$ac_ext
2344 cat >>conftest.
$ac_ext <<_ACEOF
2345 /* end confdefs.h. */
2346 #include <ac_nonexistent.h>
2348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2349 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2351 grep -v '^ *+' conftest.er1
>conftest.err
2353 cat conftest.err
>&5
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); } >/dev
/null
; then
2356 if test -s conftest.err
; then
2357 ac_cpp_err
=$ac_c_preproc_warn_flag
2358 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2365 if test -z "$ac_cpp_err"; then
2366 # Broken: success on invalid input.
2369 echo "$as_me: failed program was:" >&5
2370 sed 's/^/| /' conftest.
$ac_ext >&5
2372 # Passes both tests.
2376 rm -f conftest.err conftest.
$ac_ext
2379 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2380 rm -f conftest.err conftest.
$ac_ext
2381 if $ac_preproc_ok; then
2393 echo "$as_me:$LINENO: result: $CPP" >&5
2394 echo "${ECHO_T}$CPP" >&6
2396 for ac_c_preproc_warn_flag
in '' yes
2398 # Use a header file that comes with gcc, so configuring glibc
2399 # with a fresh cross-compiler works.
2400 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2401 # <limits.h> exists even on freestanding compilers.
2402 # On the NeXT, cc -E runs the code through the compiler's parser,
2403 # not just through cpp. "Syntax error" is here to catch this case.
2404 cat >conftest.
$ac_ext <<_ACEOF
2407 cat confdefs.h
>>conftest.
$ac_ext
2408 cat >>conftest.
$ac_ext <<_ACEOF
2409 /* end confdefs.h. */
2411 # include <limits.h>
2413 # include <assert.h>
2417 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2418 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2420 grep -v '^ *+' conftest.er1
>conftest.err
2422 cat conftest.err
>&5
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); } >/dev
/null
; then
2425 if test -s conftest.err
; then
2426 ac_cpp_err
=$ac_c_preproc_warn_flag
2427 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2434 if test -z "$ac_cpp_err"; then
2437 echo "$as_me: failed program was:" >&5
2438 sed 's/^/| /' conftest.
$ac_ext >&5
2440 # Broken: fails on valid input.
2443 rm -f conftest.err conftest.
$ac_ext
2445 # OK, works on sane cases. Now check whether non-existent headers
2446 # can be detected and how.
2447 cat >conftest.
$ac_ext <<_ACEOF
2450 cat confdefs.h
>>conftest.
$ac_ext
2451 cat >>conftest.
$ac_ext <<_ACEOF
2452 /* end confdefs.h. */
2453 #include <ac_nonexistent.h>
2455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2456 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2458 grep -v '^ *+' conftest.er1
>conftest.err
2460 cat conftest.err
>&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); } >/dev
/null
; then
2463 if test -s conftest.err
; then
2464 ac_cpp_err
=$ac_c_preproc_warn_flag
2465 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2472 if test -z "$ac_cpp_err"; then
2473 # Broken: success on invalid input.
2476 echo "$as_me: failed program was:" >&5
2477 sed 's/^/| /' conftest.
$ac_ext >&5
2479 # Passes both tests.
2483 rm -f conftest.err conftest.
$ac_ext
2486 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2487 rm -f conftest.err conftest.
$ac_ext
2488 if $ac_preproc_ok; then
2491 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2492 See \`config.log' for more details." >&5
2493 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2494 See \`config.log' for more details." >&2;}
2495 { (exit 1); exit 1; }; }
2499 ac_cpp
='$CPP $CPPFLAGS'
2500 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2501 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2502 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2505 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
2506 if test -f $ac_dir/install-sh
; then
2508 ac_install_sh
="$ac_aux_dir/install-sh -c"
2510 elif test -f $ac_dir/install.sh
; then
2512 ac_install_sh
="$ac_aux_dir/install.sh -c"
2514 elif test -f $ac_dir/shtool
; then
2516 ac_install_sh
="$ac_aux_dir/shtool install -c"
2520 if test -z "$ac_aux_dir"; then
2521 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2522 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2523 { (exit 1); exit 1; }; }
2525 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2526 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2527 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2529 # Find a good install program. We prefer a C program (faster),
2530 # so one script is as good as another. But avoid the broken or
2531 # incompatible versions:
2532 # SysV /etc/install, /usr/sbin/install
2533 # SunOS /usr/etc/install
2534 # IRIX /sbin/install
2536 # AmigaOS /C/install, which installs bootblocks on floppy discs
2537 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2538 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2539 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2540 # OS/2's system install, which has a completely different semantic
2541 # ./install, which can be erroneously created by make from ./install.sh.
2542 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2543 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2544 if test -z "$INSTALL"; then
2545 if test "${ac_cv_path_install+set}" = set; then
2546 echo $ECHO_N "(cached) $ECHO_C" >&6
2548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2552 test -z "$as_dir" && as_dir
=.
2553 # Account for people who put trailing slashes in PATH elements.
2555 .
/ | .
// |
/cC
/* | \
2556 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2557 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2560 # OSF1 and SCO ODT 3.0 have their own names for install.
2561 # Don't use installbsd from OSF since it installs stuff as root
2563 for ac_prog
in ginstall scoinst
install; do
2564 for ac_exec_ext
in '' $ac_executable_extensions; do
2565 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2566 if test $ac_prog = install &&
2567 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2568 # AIX install. It has an incompatible calling convention.
2570 elif test $ac_prog = install &&
2571 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2572 # program-specific install script used by HP pwplus--don't use.
2575 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2587 if test "${ac_cv_path_install+set}" = set; then
2588 INSTALL
=$ac_cv_path_install
2590 # As a last resort, use the slow shell script. We don't cache a
2591 # path for INSTALL within a source directory, because that will
2592 # break other packages using the cache if that directory is
2593 # removed, or if the path is relative.
2594 INSTALL
=$ac_install_sh
2597 echo "$as_me:$LINENO: result: $INSTALL" >&5
2598 echo "${ECHO_T}$INSTALL" >&6
2600 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2601 # It thinks the first close brace ends the variable substitution.
2602 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2604 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2606 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2608 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2609 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2611 if test "$LN_S" = "ln -s"; then
2612 echo "$as_me:$LINENO: result: yes" >&5
2613 echo "${ECHO_T}yes" >&6
2615 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2616 echo "${ECHO_T}no, using $LN_S" >&6
2619 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2620 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2621 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2622 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2623 echo $ECHO_N "(cached) $ECHO_C" >&6
2625 cat >conftest.
make <<\_ACEOF
2627 @
echo 'ac_maketemp="$(MAKE)"'
2629 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2630 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2631 if test -n "$ac_maketemp"; then
2632 eval ac_cv_prog_make_
${ac_make}_set
=yes
2634 eval ac_cv_prog_make_
${ac_make}_set
=no
2638 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2639 echo "$as_me:$LINENO: result: yes" >&5
2640 echo "${ECHO_T}yes" >&6
2643 echo "$as_me:$LINENO: result: no" >&5
2644 echo "${ECHO_T}no" >&6
2645 SET_MAKE
="MAKE=${MAKE-make}"
2648 echo "$as_me:$LINENO: checking for egrep" >&5
2649 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2650 if test "${ac_cv_prog_egrep+set}" = set; then
2651 echo $ECHO_N "(cached) $ECHO_C" >&6
2653 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2654 then ac_cv_prog_egrep
='grep -E'
2655 else ac_cv_prog_egrep
='egrep'
2658 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2659 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2660 EGREP
=$ac_cv_prog_egrep
2667 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2668 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2669 if test "${ac_cv_header_stdc+set}" = set; then
2670 echo $ECHO_N "(cached) $ECHO_C" >&6
2672 cat >conftest.
$ac_ext <<_ACEOF
2675 cat confdefs.h
>>conftest.
$ac_ext
2676 cat >>conftest.
$ac_ext <<_ACEOF
2677 /* end confdefs.h. */
2691 rm -f conftest.
$ac_objext
2692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2693 (eval $ac_compile) 2>conftest.er1
2695 grep -v '^ *+' conftest.er1
>conftest.err
2697 cat conftest.err
>&5
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); } &&
2700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }; } &&
2706 { ac_try
='test -s conftest.$ac_objext'
2707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711 (exit $ac_status); }; }; then
2712 ac_cv_header_stdc
=yes
2714 echo "$as_me: failed program was:" >&5
2715 sed 's/^/| /' conftest.
$ac_ext >&5
2717 ac_cv_header_stdc
=no
2719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2721 if test $ac_cv_header_stdc = yes; then
2722 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2723 cat >conftest.
$ac_ext <<_ACEOF
2726 cat confdefs.h
>>conftest.
$ac_ext
2727 cat >>conftest.
$ac_ext <<_ACEOF
2728 /* end confdefs.h. */
2732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2733 $EGREP "memchr" >/dev
/null
2>&1; then
2736 ac_cv_header_stdc
=no
2742 if test $ac_cv_header_stdc = yes; then
2743 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2744 cat >conftest.
$ac_ext <<_ACEOF
2747 cat confdefs.h
>>conftest.
$ac_ext
2748 cat >>conftest.
$ac_ext <<_ACEOF
2749 /* end confdefs.h. */
2753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2754 $EGREP "free" >/dev
/null
2>&1; then
2757 ac_cv_header_stdc
=no
2763 if test $ac_cv_header_stdc = yes; then
2764 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2765 if test "$cross_compiling" = yes; then
2768 cat >conftest.
$ac_ext <<_ACEOF
2771 cat confdefs.h
>>conftest.
$ac_ext
2772 cat >>conftest.
$ac_ext <<_ACEOF
2773 /* end confdefs.h. */
2775 #if ((' ' & 0x0FF) == 0x020)
2776 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2777 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2779 # define ISLOWER(c) \
2780 (('a' <= (c) && (c) <= 'i') \
2781 || ('j' <= (c) && (c) <= 'r') \
2782 || ('s' <= (c) && (c) <= 'z'))
2783 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2786 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2791 for (i = 0; i < 256; i++)
2792 if (XOR (islower (i), ISLOWER (i))
2793 || toupper (i) != TOUPPER (i))
2798 rm -f conftest
$ac_exeext
2799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2800 (eval $ac_link) 2>&5
2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 (exit $ac_status); }; }; then
2811 echo "$as_me: program exited with status $ac_status" >&5
2812 echo "$as_me: failed program was:" >&5
2813 sed 's/^/| /' conftest.
$ac_ext >&5
2816 ac_cv_header_stdc
=no
2818 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2822 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2823 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2824 if test $ac_cv_header_stdc = yes; then
2826 cat >>confdefs.h
<<\_ACEOF
2827 #define STDC_HEADERS 1
2832 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
2833 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
2834 if test "${ac_cv_header_time+set}" = set; then
2835 echo $ECHO_N "(cached) $ECHO_C" >&6
2837 cat >conftest.
$ac_ext <<_ACEOF
2840 cat confdefs.h
>>conftest.
$ac_ext
2841 cat >>conftest.
$ac_ext <<_ACEOF
2842 /* end confdefs.h. */
2843 #include <sys/types.h>
2844 #include <sys/time.h>
2850 if ((struct tm *) 0)
2856 rm -f conftest.
$ac_objext
2857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2858 (eval $ac_compile) 2>conftest.er1
2860 grep -v '^ *+' conftest.er1
>conftest.err
2862 cat conftest.err
>&5
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); } &&
2865 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870 (exit $ac_status); }; } &&
2871 { ac_try
='test -s conftest.$ac_objext'
2872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); }; }; then
2877 ac_cv_header_time
=yes
2879 echo "$as_me: failed program was:" >&5
2880 sed 's/^/| /' conftest.
$ac_ext >&5
2882 ac_cv_header_time
=no
2884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2886 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
2887 echo "${ECHO_T}$ac_cv_header_time" >&6
2888 if test $ac_cv_header_time = yes; then
2890 cat >>confdefs.h
<<\_ACEOF
2891 #define TIME_WITH_SYS_TIME 1
2896 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2906 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2907 inttypes.h stdint.h unistd.h
2909 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2910 echo "$as_me:$LINENO: checking for $ac_header" >&5
2911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2913 echo $ECHO_N "(cached) $ECHO_C" >&6
2915 cat >conftest.
$ac_ext <<_ACEOF
2918 cat confdefs.h
>>conftest.
$ac_ext
2919 cat >>conftest.
$ac_ext <<_ACEOF
2920 /* end confdefs.h. */
2921 $ac_includes_default
2923 #include <$ac_header>
2925 rm -f conftest.
$ac_objext
2926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2927 (eval $ac_compile) 2>conftest.er1
2929 grep -v '^ *+' conftest.er1
>conftest.err
2931 cat conftest.err
>&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); } &&
2934 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }; } &&
2940 { ac_try
='test -s conftest.$ac_objext'
2941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); }; }; then
2946 eval "$as_ac_Header=yes"
2948 echo "$as_me: failed program was:" >&5
2949 sed 's/^/| /' conftest.
$ac_ext >&5
2951 eval "$as_ac_Header=no"
2953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2957 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2958 cat >>confdefs.h
<<_ACEOF
2959 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2972 for ac_header
in fcntl.h malloc.h sys
/time.h unistd.h stdlib.h
2974 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2976 echo "$as_me:$LINENO: checking for $ac_header" >&5
2977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2979 echo $ECHO_N "(cached) $ECHO_C" >&6
2981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2984 # Is the header compilable?
2985 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2986 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2987 cat >conftest.
$ac_ext <<_ACEOF
2990 cat confdefs.h
>>conftest.
$ac_ext
2991 cat >>conftest.
$ac_ext <<_ACEOF
2992 /* end confdefs.h. */
2993 $ac_includes_default
2994 #include <$ac_header>
2996 rm -f conftest.
$ac_objext
2997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2998 (eval $ac_compile) 2>conftest.er1
3000 grep -v '^ *+' conftest.er1
>conftest.err
3002 cat conftest.err
>&5
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004 (exit $ac_status); } &&
3005 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010 (exit $ac_status); }; } &&
3011 { ac_try
='test -s conftest.$ac_objext'
3012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); }; }; then
3017 ac_header_compiler
=yes
3019 echo "$as_me: failed program was:" >&5
3020 sed 's/^/| /' conftest.
$ac_ext >&5
3022 ac_header_compiler
=no
3024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3025 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3026 echo "${ECHO_T}$ac_header_compiler" >&6
3028 # Is the header present?
3029 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3030 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3031 cat >conftest.
$ac_ext <<_ACEOF
3034 cat confdefs.h
>>conftest.
$ac_ext
3035 cat >>conftest.
$ac_ext <<_ACEOF
3036 /* end confdefs.h. */
3037 #include <$ac_header>
3039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3040 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3042 grep -v '^ *+' conftest.er1
>conftest.err
3044 cat conftest.err
>&5
3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); } >/dev
/null
; then
3047 if test -s conftest.err
; then
3048 ac_cpp_err
=$ac_c_preproc_warn_flag
3049 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3056 if test -z "$ac_cpp_err"; then
3057 ac_header_preproc
=yes
3059 echo "$as_me: failed program was:" >&5
3060 sed 's/^/| /' conftest.
$ac_ext >&5
3062 ac_header_preproc
=no
3064 rm -f conftest.err conftest.
$ac_ext
3065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3066 echo "${ECHO_T}$ac_header_preproc" >&6
3068 # So? What about this header?
3069 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3071 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3072 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3074 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3075 ac_header_preproc
=yes
3078 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3079 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3080 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3081 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3082 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3083 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3084 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3085 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3086 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3087 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3088 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3089 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3092 ## ------------------------------------------ ##
3093 ## Report this to the AC_PACKAGE_NAME lists. ##
3094 ## ------------------------------------------ ##
3097 sed "s/^/$as_me: WARNING: /" >&2
3100 echo "$as_me:$LINENO: checking for $ac_header" >&5
3101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3103 echo $ECHO_N "(cached) $ECHO_C" >&6
3105 eval "$as_ac_Header=\$ac_header_preproc"
3107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3111 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3112 cat >>confdefs.h
<<_ACEOF
3113 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3121 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3122 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3123 if test "${ac_cv_c_const+set}" = set; then
3124 echo $ECHO_N "(cached) $ECHO_C" >&6
3126 cat >conftest.
$ac_ext <<_ACEOF
3129 cat confdefs.h
>>conftest.
$ac_ext
3130 cat >>conftest.
$ac_ext <<_ACEOF
3131 /* end confdefs.h. */
3136 /* FIXME: Include the comments suggested by Paul. */
3138 /* Ultrix mips cc rejects this. */
3139 typedef int charset[2];
3141 /* SunOS 4.1.1 cc rejects this. */
3142 char const *const *ccp;
3144 /* NEC SVR4.0.2 mips cc rejects this. */
3145 struct point {int x, y;};
3146 static struct point const zero = {0,0};
3147 /* AIX XL C 1.02.0.0 rejects this.
3148 It does not let you subtract one const X* pointer from another in
3149 an arm of an if-expression whose if-part is not a constant
3151 const char *g = "string";
3152 ccp = &g + (g ? g-g : 0);
3153 /* HPUX 7.0 cc rejects these. */
3156 ccp = (char const *const *) p;
3157 { /* SCO 3.2v4 cc rejects this. */
3159 char const *s = 0 ? (char *) 0 : (char const *) 0;
3163 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3165 const int *foo = &x[0];
3168 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3169 typedef const int *iptr;
3173 { /* AIX XL C 1.02.0.0 rejects this saying
3174 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3175 struct s { int j; const int *ap[3]; };
3176 struct s *b; b->j = 5;
3178 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3187 rm -f conftest.
$ac_objext
3188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3189 (eval $ac_compile) 2>conftest.er1
3191 grep -v '^ *+' conftest.er1
>conftest.err
3193 cat conftest.err
>&5
3194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195 (exit $ac_status); } &&
3196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); }; } &&
3202 { ac_try
='test -s conftest.$ac_objext'
3203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); }; }; then
3210 echo "$as_me: failed program was:" >&5
3211 sed 's/^/| /' conftest.
$ac_ext >&5
3215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3217 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3218 echo "${ECHO_T}$ac_cv_c_const" >&6
3219 if test $ac_cv_c_const = no
; then
3221 cat >>confdefs.h
<<\_ACEOF
3227 echo "$as_me:$LINENO: checking for pid_t" >&5
3228 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
3229 if test "${ac_cv_type_pid_t+set}" = set; then
3230 echo $ECHO_N "(cached) $ECHO_C" >&6
3232 cat >conftest.
$ac_ext <<_ACEOF
3235 cat confdefs.h
>>conftest.
$ac_ext
3236 cat >>conftest.
$ac_ext <<_ACEOF
3237 /* end confdefs.h. */
3238 $ac_includes_default
3250 rm -f conftest.
$ac_objext
3251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3252 (eval $ac_compile) 2>conftest.er1
3254 grep -v '^ *+' conftest.er1
>conftest.err
3256 cat conftest.err
>&5
3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258 (exit $ac_status); } &&
3259 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264 (exit $ac_status); }; } &&
3265 { ac_try
='test -s conftest.$ac_objext'
3266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270 (exit $ac_status); }; }; then
3271 ac_cv_type_pid_t
=yes
3273 echo "$as_me: failed program was:" >&5
3274 sed 's/^/| /' conftest.
$ac_ext >&5
3278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3280 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
3281 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
3282 if test $ac_cv_type_pid_t = yes; then
3286 cat >>confdefs.h
<<_ACEOF
3292 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
3293 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
3294 if test "${ac_cv_struct_tm+set}" = set; then
3295 echo $ECHO_N "(cached) $ECHO_C" >&6
3297 cat >conftest.
$ac_ext <<_ACEOF
3300 cat confdefs.h
>>conftest.
$ac_ext
3301 cat >>conftest.
$ac_ext <<_ACEOF
3302 /* end confdefs.h. */
3303 #include <sys/types.h>
3309 struct tm *tp; tp->tm_sec;
3314 rm -f conftest.
$ac_objext
3315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3316 (eval $ac_compile) 2>conftest.er1
3318 grep -v '^ *+' conftest.er1
>conftest.err
3320 cat conftest.err
>&5
3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 (exit $ac_status); } &&
3323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); }; } &&
3329 { ac_try
='test -s conftest.$ac_objext'
3330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334 (exit $ac_status); }; }; then
3335 ac_cv_struct_tm
=time.h
3337 echo "$as_me: failed program was:" >&5
3338 sed 's/^/| /' conftest.
$ac_ext >&5
3340 ac_cv_struct_tm
=sys
/time.h
3342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3344 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
3345 echo "${ECHO_T}$ac_cv_struct_tm" >&6
3346 if test $ac_cv_struct_tm = sys
/time.h
; then
3348 cat >>confdefs.h
<<\_ACEOF
3349 #define TM_IN_SYS_TIME 1
3354 echo "$as_me:$LINENO: checking for int" >&5
3355 echo $ECHO_N "checking for int... $ECHO_C" >&6
3356 if test "${ac_cv_type_int+set}" = set; then
3357 echo $ECHO_N "(cached) $ECHO_C" >&6
3359 cat >conftest.
$ac_ext <<_ACEOF
3362 cat confdefs.h
>>conftest.
$ac_ext
3363 cat >>conftest.
$ac_ext <<_ACEOF
3364 /* end confdefs.h. */
3365 $ac_includes_default
3377 rm -f conftest.
$ac_objext
3378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3379 (eval $ac_compile) 2>conftest.er1
3381 grep -v '^ *+' conftest.er1
>conftest.err
3383 cat conftest.err
>&5
3384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385 (exit $ac_status); } &&
3386 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); }; } &&
3392 { ac_try
='test -s conftest.$ac_objext'
3393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 (exit $ac_status); }; }; then
3400 echo "$as_me: failed program was:" >&5
3401 sed 's/^/| /' conftest.
$ac_ext >&5
3405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3407 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
3408 echo "${ECHO_T}$ac_cv_type_int" >&6
3410 echo "$as_me:$LINENO: checking size of int" >&5
3411 echo $ECHO_N "checking size of int... $ECHO_C" >&6
3412 if test "${ac_cv_sizeof_int+set}" = set; then
3413 echo $ECHO_N "(cached) $ECHO_C" >&6
3415 if test "$ac_cv_type_int" = yes; then
3416 # The cast to unsigned long works around a bug in the HP C Compiler
3417 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3418 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3419 # This bug is HP SR number 8606223364.
3420 if test "$cross_compiling" = yes; then
3421 # Depending upon the size, compute the lo and hi bounds.
3422 cat >conftest.
$ac_ext <<_ACEOF
3425 cat confdefs.h
>>conftest.
$ac_ext
3426 cat >>conftest.
$ac_ext <<_ACEOF
3427 /* end confdefs.h. */
3428 $ac_includes_default
3432 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
3439 rm -f conftest.
$ac_objext
3440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3441 (eval $ac_compile) 2>conftest.er1
3443 grep -v '^ *+' conftest.er1
>conftest.err
3445 cat conftest.err
>&5
3446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447 (exit $ac_status); } &&
3448 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453 (exit $ac_status); }; } &&
3454 { ac_try
='test -s conftest.$ac_objext'
3455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); }; }; then
3462 cat >conftest.
$ac_ext <<_ACEOF
3465 cat confdefs.h
>>conftest.
$ac_ext
3466 cat >>conftest.
$ac_ext <<_ACEOF
3467 /* end confdefs.h. */
3468 $ac_includes_default
3472 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
3479 rm -f conftest.
$ac_objext
3480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3481 (eval $ac_compile) 2>conftest.er1
3483 grep -v '^ *+' conftest.er1
>conftest.err
3485 cat conftest.err
>&5
3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487 (exit $ac_status); } &&
3488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); }; } &&
3494 { ac_try
='test -s conftest.$ac_objext'
3495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499 (exit $ac_status); }; }; then
3500 ac_hi
=$ac_mid; break
3502 echo "$as_me: failed program was:" >&5
3503 sed 's/^/| /' conftest.
$ac_ext >&5
3505 ac_lo
=`expr $ac_mid + 1`
3506 if test $ac_lo -le $ac_mid; then
3510 ac_mid
=`expr 2 '*' $ac_mid + 1`
3512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3515 echo "$as_me: failed program was:" >&5
3516 sed 's/^/| /' conftest.
$ac_ext >&5
3518 cat >conftest.
$ac_ext <<_ACEOF
3521 cat confdefs.h
>>conftest.
$ac_ext
3522 cat >>conftest.
$ac_ext <<_ACEOF
3523 /* end confdefs.h. */
3524 $ac_includes_default
3528 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
3535 rm -f conftest.
$ac_objext
3536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3537 (eval $ac_compile) 2>conftest.er1
3539 grep -v '^ *+' conftest.er1
>conftest.err
3541 cat conftest.err
>&5
3542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543 (exit $ac_status); } &&
3544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549 (exit $ac_status); }; } &&
3550 { ac_try
='test -s conftest.$ac_objext'
3551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555 (exit $ac_status); }; }; then
3558 cat >conftest.
$ac_ext <<_ACEOF
3561 cat confdefs.h
>>conftest.
$ac_ext
3562 cat >>conftest.
$ac_ext <<_ACEOF
3563 /* end confdefs.h. */
3564 $ac_includes_default
3568 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
3575 rm -f conftest.
$ac_objext
3576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3577 (eval $ac_compile) 2>conftest.er1
3579 grep -v '^ *+' conftest.er1
>conftest.err
3581 cat conftest.err
>&5
3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 (exit $ac_status); } &&
3584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589 (exit $ac_status); }; } &&
3590 { ac_try
='test -s conftest.$ac_objext'
3591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595 (exit $ac_status); }; }; then
3596 ac_lo
=$ac_mid; break
3598 echo "$as_me: failed program was:" >&5
3599 sed 's/^/| /' conftest.
$ac_ext >&5
3601 ac_hi
=`expr '(' $ac_mid ')' - 1`
3602 if test $ac_mid -le $ac_hi; then
3606 ac_mid
=`expr 2 '*' $ac_mid`
3608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3611 echo "$as_me: failed program was:" >&5
3612 sed 's/^/| /' conftest.
$ac_ext >&5
3616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3619 # Binary search between lo and hi bounds.
3620 while test "x$ac_lo" != "x$ac_hi"; do
3621 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3622 cat >conftest.
$ac_ext <<_ACEOF
3625 cat confdefs.h
>>conftest.
$ac_ext
3626 cat >>conftest.
$ac_ext <<_ACEOF
3627 /* end confdefs.h. */
3628 $ac_includes_default
3632 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
3639 rm -f conftest.
$ac_objext
3640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3641 (eval $ac_compile) 2>conftest.er1
3643 grep -v '^ *+' conftest.er1
>conftest.err
3645 cat conftest.err
>&5
3646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647 (exit $ac_status); } &&
3648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653 (exit $ac_status); }; } &&
3654 { ac_try
='test -s conftest.$ac_objext'
3655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659 (exit $ac_status); }; }; then
3662 echo "$as_me: failed program was:" >&5
3663 sed 's/^/| /' conftest.
$ac_ext >&5
3665 ac_lo
=`expr '(' $ac_mid ')' + 1`
3667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3670 ?
*) ac_cv_sizeof_int
=$ac_lo;;
3671 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
3672 See \`config.log' for more details." >&5
3673 echo "$as_me: error: cannot compute sizeof (int), 77
3674 See \`config.log' for more details." >&2;}
3675 { (exit 1); exit 1; }; } ;;
3678 if test "$cross_compiling" = yes; then
3679 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3680 See \`config.log' for more details." >&5
3681 echo "$as_me: error: cannot run test program while cross compiling
3682 See \`config.log' for more details." >&2;}
3683 { (exit 1); exit 1; }; }
3685 cat >conftest.
$ac_ext <<_ACEOF
3688 cat confdefs.h
>>conftest.
$ac_ext
3689 cat >>conftest.
$ac_ext <<_ACEOF
3690 /* end confdefs.h. */
3691 $ac_includes_default
3692 long longval () { return (long) (sizeof (int)); }
3693 unsigned long ulongval () { return (long) (sizeof (int)); }
3700 FILE *f = fopen ("conftest.val", "w");
3703 if (((long) (sizeof (int))) < 0)
3705 long i = longval ();
3706 if (i != ((long) (sizeof (int))))
3708 fprintf (f, "%ld\n", i);
3712 unsigned long i = ulongval ();
3713 if (i != ((long) (sizeof (int))))
3715 fprintf (f, "%lu\n", i);
3717 exit (ferror (f) || fclose (f) != 0);
3723 rm -f conftest
$ac_exeext
3724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3725 (eval $ac_link) 2>&5
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733 (exit $ac_status); }; }; then
3734 ac_cv_sizeof_int
=`cat conftest.val`
3736 echo "$as_me: program exited with status $ac_status" >&5
3737 echo "$as_me: failed program was:" >&5
3738 sed 's/^/| /' conftest.
$ac_ext >&5
3741 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
3742 See \`config.log' for more details." >&5
3743 echo "$as_me: error: cannot compute sizeof (int), 77
3744 See \`config.log' for more details." >&2;}
3745 { (exit 1); exit 1; }; }
3747 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3755 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
3756 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
3757 cat >>confdefs.h
<<_ACEOF
3758 #define SIZEOF_INT $ac_cv_sizeof_int
3762 echo "$as_me:$LINENO: checking for long" >&5
3763 echo $ECHO_N "checking for long... $ECHO_C" >&6
3764 if test "${ac_cv_type_long+set}" = set; then
3765 echo $ECHO_N "(cached) $ECHO_C" >&6
3767 cat >conftest.
$ac_ext <<_ACEOF
3770 cat confdefs.h
>>conftest.
$ac_ext
3771 cat >>conftest.
$ac_ext <<_ACEOF
3772 /* end confdefs.h. */
3773 $ac_includes_default
3785 rm -f conftest.
$ac_objext
3786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3787 (eval $ac_compile) 2>conftest.er1
3789 grep -v '^ *+' conftest.er1
>conftest.err
3791 cat conftest.err
>&5
3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 (exit $ac_status); } &&
3794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); }; } &&
3800 { ac_try
='test -s conftest.$ac_objext'
3801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); }; }; then
3808 echo "$as_me: failed program was:" >&5
3809 sed 's/^/| /' conftest.
$ac_ext >&5
3813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3815 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
3816 echo "${ECHO_T}$ac_cv_type_long" >&6
3818 echo "$as_me:$LINENO: checking size of long" >&5
3819 echo $ECHO_N "checking size of long... $ECHO_C" >&6
3820 if test "${ac_cv_sizeof_long+set}" = set; then
3821 echo $ECHO_N "(cached) $ECHO_C" >&6
3823 if test "$ac_cv_type_long" = yes; then
3824 # The cast to unsigned long works around a bug in the HP C Compiler
3825 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3826 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3827 # This bug is HP SR number 8606223364.
3828 if test "$cross_compiling" = yes; then
3829 # Depending upon the size, compute the lo and hi bounds.
3830 cat >conftest.
$ac_ext <<_ACEOF
3833 cat confdefs.h
>>conftest.
$ac_ext
3834 cat >>conftest.
$ac_ext <<_ACEOF
3835 /* end confdefs.h. */
3836 $ac_includes_default
3840 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
3847 rm -f conftest.
$ac_objext
3848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3849 (eval $ac_compile) 2>conftest.er1
3851 grep -v '^ *+' conftest.er1
>conftest.err
3853 cat conftest.err
>&5
3854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855 (exit $ac_status); } &&
3856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861 (exit $ac_status); }; } &&
3862 { ac_try
='test -s conftest.$ac_objext'
3863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); }; }; then
3870 cat >conftest.
$ac_ext <<_ACEOF
3873 cat confdefs.h
>>conftest.
$ac_ext
3874 cat >>conftest.
$ac_ext <<_ACEOF
3875 /* end confdefs.h. */
3876 $ac_includes_default
3880 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
3887 rm -f conftest.
$ac_objext
3888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3889 (eval $ac_compile) 2>conftest.er1
3891 grep -v '^ *+' conftest.er1
>conftest.err
3893 cat conftest.err
>&5
3894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895 (exit $ac_status); } &&
3896 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901 (exit $ac_status); }; } &&
3902 { ac_try
='test -s conftest.$ac_objext'
3903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907 (exit $ac_status); }; }; then
3908 ac_hi
=$ac_mid; break
3910 echo "$as_me: failed program was:" >&5
3911 sed 's/^/| /' conftest.
$ac_ext >&5
3913 ac_lo
=`expr $ac_mid + 1`
3914 if test $ac_lo -le $ac_mid; then
3918 ac_mid
=`expr 2 '*' $ac_mid + 1`
3920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3923 echo "$as_me: failed program was:" >&5
3924 sed 's/^/| /' conftest.
$ac_ext >&5
3926 cat >conftest.
$ac_ext <<_ACEOF
3929 cat confdefs.h
>>conftest.
$ac_ext
3930 cat >>conftest.
$ac_ext <<_ACEOF
3931 /* end confdefs.h. */
3932 $ac_includes_default
3936 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
3943 rm -f conftest.
$ac_objext
3944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3945 (eval $ac_compile) 2>conftest.er1
3947 grep -v '^ *+' conftest.er1
>conftest.err
3949 cat conftest.err
>&5
3950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3951 (exit $ac_status); } &&
3952 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957 (exit $ac_status); }; } &&
3958 { ac_try
='test -s conftest.$ac_objext'
3959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963 (exit $ac_status); }; }; then
3966 cat >conftest.
$ac_ext <<_ACEOF
3969 cat confdefs.h
>>conftest.
$ac_ext
3970 cat >>conftest.
$ac_ext <<_ACEOF
3971 /* end confdefs.h. */
3972 $ac_includes_default
3976 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
3983 rm -f conftest.
$ac_objext
3984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3985 (eval $ac_compile) 2>conftest.er1
3987 grep -v '^ *+' conftest.er1
>conftest.err
3989 cat conftest.err
>&5
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); } &&
3992 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3997 (exit $ac_status); }; } &&
3998 { ac_try
='test -s conftest.$ac_objext'
3999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4003 (exit $ac_status); }; }; then
4004 ac_lo
=$ac_mid; break
4006 echo "$as_me: failed program was:" >&5
4007 sed 's/^/| /' conftest.
$ac_ext >&5
4009 ac_hi
=`expr '(' $ac_mid ')' - 1`
4010 if test $ac_mid -le $ac_hi; then
4014 ac_mid
=`expr 2 '*' $ac_mid`
4016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4019 echo "$as_me: failed program was:" >&5
4020 sed 's/^/| /' conftest.
$ac_ext >&5
4024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4027 # Binary search between lo and hi bounds.
4028 while test "x$ac_lo" != "x$ac_hi"; do
4029 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4030 cat >conftest.
$ac_ext <<_ACEOF
4033 cat confdefs.h
>>conftest.
$ac_ext
4034 cat >>conftest.
$ac_ext <<_ACEOF
4035 /* end confdefs.h. */
4036 $ac_includes_default
4040 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4047 rm -f conftest.
$ac_objext
4048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4049 (eval $ac_compile) 2>conftest.er1
4051 grep -v '^ *+' conftest.er1
>conftest.err
4053 cat conftest.err
>&5
4054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055 (exit $ac_status); } &&
4056 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4061 (exit $ac_status); }; } &&
4062 { ac_try
='test -s conftest.$ac_objext'
4063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067 (exit $ac_status); }; }; then
4070 echo "$as_me: failed program was:" >&5
4071 sed 's/^/| /' conftest.
$ac_ext >&5
4073 ac_lo
=`expr '(' $ac_mid ')' + 1`
4075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4078 ?
*) ac_cv_sizeof_long
=$ac_lo;;
4079 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4080 See \`config.log' for more details." >&5
4081 echo "$as_me: error: cannot compute sizeof (long), 77
4082 See \`config.log' for more details." >&2;}
4083 { (exit 1); exit 1; }; } ;;
4086 if test "$cross_compiling" = yes; then
4087 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4088 See \`config.log' for more details." >&5
4089 echo "$as_me: error: cannot run test program while cross compiling
4090 See \`config.log' for more details." >&2;}
4091 { (exit 1); exit 1; }; }
4093 cat >conftest.
$ac_ext <<_ACEOF
4096 cat confdefs.h
>>conftest.
$ac_ext
4097 cat >>conftest.
$ac_ext <<_ACEOF
4098 /* end confdefs.h. */
4099 $ac_includes_default
4100 long longval () { return (long) (sizeof (long)); }
4101 unsigned long ulongval () { return (long) (sizeof (long)); }
4108 FILE *f = fopen ("conftest.val", "w");
4111 if (((long) (sizeof (long))) < 0)
4113 long i = longval ();
4114 if (i != ((long) (sizeof (long))))
4116 fprintf (f, "%ld\n", i);
4120 unsigned long i = ulongval ();
4121 if (i != ((long) (sizeof (long))))
4123 fprintf (f, "%lu\n", i);
4125 exit (ferror (f) || fclose (f) != 0);
4131 rm -f conftest
$ac_exeext
4132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4133 (eval $ac_link) 2>&5
4135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4141 (exit $ac_status); }; }; then
4142 ac_cv_sizeof_long
=`cat conftest.val`
4144 echo "$as_me: program exited with status $ac_status" >&5
4145 echo "$as_me: failed program was:" >&5
4146 sed 's/^/| /' conftest.
$ac_ext >&5
4149 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4150 See \`config.log' for more details." >&5
4151 echo "$as_me: error: cannot compute sizeof (long), 77
4152 See \`config.log' for more details." >&2;}
4153 { (exit 1); exit 1; }; }
4155 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4163 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4164 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4165 cat >>confdefs.h
<<_ACEOF
4166 #define SIZEOF_LONG $ac_cv_sizeof_long
4171 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4172 # for constant arguments. Useless!
4173 echo "$as_me:$LINENO: checking for working alloca.h" >&5
4174 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
4175 if test "${ac_cv_working_alloca_h+set}" = set; then
4176 echo $ECHO_N "(cached) $ECHO_C" >&6
4178 cat >conftest.
$ac_ext <<_ACEOF
4181 cat confdefs.h
>>conftest.
$ac_ext
4182 cat >>conftest.
$ac_ext <<_ACEOF
4183 /* end confdefs.h. */
4188 char *p = (char *) alloca (2 * sizeof (int));
4193 rm -f conftest.
$ac_objext conftest
$ac_exeext
4194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4195 (eval $ac_link) 2>conftest.er1
4197 grep -v '^ *+' conftest.er1
>conftest.err
4199 cat conftest.err
>&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); } &&
4202 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); }; } &&
4208 { ac_try
='test -s conftest$ac_exeext'
4209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4213 (exit $ac_status); }; }; then
4214 ac_cv_working_alloca_h
=yes
4216 echo "$as_me: failed program was:" >&5
4217 sed 's/^/| /' conftest.
$ac_ext >&5
4219 ac_cv_working_alloca_h
=no
4221 rm -f conftest.err conftest.
$ac_objext \
4222 conftest
$ac_exeext conftest.
$ac_ext
4224 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
4225 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
4226 if test $ac_cv_working_alloca_h = yes; then
4228 cat >>confdefs.h
<<\_ACEOF
4229 #define HAVE_ALLOCA_H 1
4234 echo "$as_me:$LINENO: checking for alloca" >&5
4235 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
4236 if test "${ac_cv_func_alloca_works+set}" = set; then
4237 echo $ECHO_N "(cached) $ECHO_C" >&6
4239 cat >conftest.
$ac_ext <<_ACEOF
4242 cat confdefs.h
>>conftest.
$ac_ext
4243 cat >>conftest.
$ac_ext <<_ACEOF
4244 /* end confdefs.h. */
4246 # define alloca __builtin_alloca
4249 # include <malloc.h>
4250 # define alloca _alloca
4253 # include <alloca.h>
4258 # ifndef alloca /* predefined by HP cc +Olibcalls */
4269 char *p = (char *) alloca (1);
4274 rm -f conftest.
$ac_objext conftest
$ac_exeext
4275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4276 (eval $ac_link) 2>conftest.er1
4278 grep -v '^ *+' conftest.er1
>conftest.err
4280 cat conftest.err
>&5
4281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4282 (exit $ac_status); } &&
4283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4288 (exit $ac_status); }; } &&
4289 { ac_try
='test -s conftest$ac_exeext'
4290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4294 (exit $ac_status); }; }; then
4295 ac_cv_func_alloca_works
=yes
4297 echo "$as_me: failed program was:" >&5
4298 sed 's/^/| /' conftest.
$ac_ext >&5
4300 ac_cv_func_alloca_works
=no
4302 rm -f conftest.err conftest.
$ac_objext \
4303 conftest
$ac_exeext conftest.
$ac_ext
4305 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
4306 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
4308 if test $ac_cv_func_alloca_works = yes; then
4310 cat >>confdefs.h
<<\_ACEOF
4311 #define HAVE_ALLOCA 1
4315 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4316 # that cause trouble. Some versions do not even contain alloca or
4317 # contain a buggy version. If you still want to use their alloca,
4318 # use ar to extract alloca.o from them instead of compiling alloca.c.
4320 ALLOCA
=alloca.
$ac_objext
4322 cat >>confdefs.h
<<\_ACEOF
4327 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
4328 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
4329 if test "${ac_cv_os_cray+set}" = set; then
4330 echo $ECHO_N "(cached) $ECHO_C" >&6
4332 cat >conftest.
$ac_ext <<_ACEOF
4335 cat confdefs.h
>>conftest.
$ac_ext
4336 cat >>conftest.
$ac_ext <<_ACEOF
4337 /* end confdefs.h. */
4338 #if defined(CRAY) && ! defined(CRAY2)
4345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4346 $EGREP "webecray" >/dev
/null
2>&1; then
4354 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
4355 echo "${ECHO_T}$ac_cv_os_cray" >&6
4356 if test $ac_cv_os_cray = yes; then
4357 for ac_func
in _getb67 GETB67 getb67
; do
4358 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4359 echo "$as_me:$LINENO: checking for $ac_func" >&5
4360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4361 if eval "test \"\${$as_ac_var+set}\" = set"; then
4362 echo $ECHO_N "(cached) $ECHO_C" >&6
4364 cat >conftest.
$ac_ext <<_ACEOF
4367 cat confdefs.h
>>conftest.
$ac_ext
4368 cat >>conftest.
$ac_ext <<_ACEOF
4369 /* end confdefs.h. */
4370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4372 #define $ac_func innocuous_$ac_func
4374 /* System header to define __stub macros and hopefully few prototypes,
4375 which can conflict with char $ac_func (); below.
4376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4377 <limits.h> exists even on freestanding compilers. */
4380 # include <limits.h>
4382 # include <assert.h>
4387 /* Override any gcc2 internal prototype to avoid an error. */
4392 /* We use char because int might match the return type of a gcc2
4393 builtin and then its argument prototype would still apply. */
4395 /* The GNU C library defines this for functions which it implements
4396 to always fail with ENOSYS. Some functions are actually named
4397 something starting with __ and the normal name is an alias. */
4398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4401 char (*f) () = $ac_func;
4410 return f != $ac_func;
4415 rm -f conftest.
$ac_objext conftest
$ac_exeext
4416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4417 (eval $ac_link) 2>conftest.er1
4419 grep -v '^ *+' conftest.er1
>conftest.err
4421 cat conftest.err
>&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); } &&
4424 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429 (exit $ac_status); }; } &&
4430 { ac_try
='test -s conftest$ac_exeext'
4431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435 (exit $ac_status); }; }; then
4436 eval "$as_ac_var=yes"
4438 echo "$as_me: failed program was:" >&5
4439 sed 's/^/| /' conftest.
$ac_ext >&5
4441 eval "$as_ac_var=no"
4443 rm -f conftest.err conftest.
$ac_objext \
4444 conftest
$ac_exeext conftest.
$ac_ext
4446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4448 if test `eval echo '${'$as_ac_var'}'` = yes; then
4450 cat >>confdefs.h
<<_ACEOF
4451 #define CRAY_STACKSEG_END $ac_func
4460 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
4461 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
4462 if test "${ac_cv_c_stack_direction+set}" = set; then
4463 echo $ECHO_N "(cached) $ECHO_C" >&6
4465 if test "$cross_compiling" = yes; then
4466 ac_cv_c_stack_direction
=0
4468 cat >conftest.
$ac_ext <<_ACEOF
4471 cat confdefs.h
>>conftest.
$ac_ext
4472 cat >>conftest.
$ac_ext <<_ACEOF
4473 /* end confdefs.h. */
4475 find_stack_direction ()
4477 static char *addr = 0;
4482 return find_stack_direction ();
4485 return (&dummy > addr) ? 1 : -1;
4491 exit (find_stack_direction () < 0);
4494 rm -f conftest
$ac_exeext
4495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4496 (eval $ac_link) 2>&5
4498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504 (exit $ac_status); }; }; then
4505 ac_cv_c_stack_direction
=1
4507 echo "$as_me: program exited with status $ac_status" >&5
4508 echo "$as_me: failed program was:" >&5
4509 sed 's/^/| /' conftest.
$ac_ext >&5
4512 ac_cv_c_stack_direction
=-1
4514 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4517 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
4518 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
4520 cat >>confdefs.h
<<_ACEOF
4521 #define STACK_DIRECTION $ac_cv_c_stack_direction
4527 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4528 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4529 if test "${ac_cv_type_signal+set}" = set; then
4530 echo $ECHO_N "(cached) $ECHO_C" >&6
4532 cat >conftest.
$ac_ext <<_ACEOF
4535 cat confdefs.h
>>conftest.
$ac_ext
4536 cat >>conftest.
$ac_ext <<_ACEOF
4537 /* end confdefs.h. */
4538 #include <sys/types.h>
4544 extern "C" void (*signal (int, void (*)(int)))(int);
4546 void (*signal ()) ();
4557 rm -f conftest.
$ac_objext
4558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4559 (eval $ac_compile) 2>conftest.er1
4561 grep -v '^ *+' conftest.er1
>conftest.err
4563 cat conftest.err
>&5
4564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565 (exit $ac_status); } &&
4566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571 (exit $ac_status); }; } &&
4572 { ac_try
='test -s conftest.$ac_objext'
4573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577 (exit $ac_status); }; }; then
4578 ac_cv_type_signal
=void
4580 echo "$as_me: failed program was:" >&5
4581 sed 's/^/| /' conftest.
$ac_ext >&5
4583 ac_cv_type_signal
=int
4585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4587 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4588 echo "${ECHO_T}$ac_cv_type_signal" >&6
4590 cat >>confdefs.h
<<_ACEOF
4591 #define RETSIGTYPE $ac_cv_type_signal
4596 for ac_func
in vprintf
4598 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4599 echo "$as_me:$LINENO: checking for $ac_func" >&5
4600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4601 if eval "test \"\${$as_ac_var+set}\" = set"; then
4602 echo $ECHO_N "(cached) $ECHO_C" >&6
4604 cat >conftest.
$ac_ext <<_ACEOF
4607 cat confdefs.h
>>conftest.
$ac_ext
4608 cat >>conftest.
$ac_ext <<_ACEOF
4609 /* end confdefs.h. */
4610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4612 #define $ac_func innocuous_$ac_func
4614 /* System header to define __stub macros and hopefully few prototypes,
4615 which can conflict with char $ac_func (); below.
4616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4617 <limits.h> exists even on freestanding compilers. */
4620 # include <limits.h>
4622 # include <assert.h>
4627 /* Override any gcc2 internal prototype to avoid an error. */
4632 /* We use char because int might match the return type of a gcc2
4633 builtin and then its argument prototype would still apply. */
4635 /* The GNU C library defines this for functions which it implements
4636 to always fail with ENOSYS. Some functions are actually named
4637 something starting with __ and the normal name is an alias. */
4638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4641 char (*f) () = $ac_func;
4650 return f != $ac_func;
4655 rm -f conftest.
$ac_objext conftest
$ac_exeext
4656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4657 (eval $ac_link) 2>conftest.er1
4659 grep -v '^ *+' conftest.er1
>conftest.err
4661 cat conftest.err
>&5
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); } &&
4664 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); }; } &&
4670 { ac_try
='test -s conftest$ac_exeext'
4671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); }; }; then
4676 eval "$as_ac_var=yes"
4678 echo "$as_me: failed program was:" >&5
4679 sed 's/^/| /' conftest.
$ac_ext >&5
4681 eval "$as_ac_var=no"
4683 rm -f conftest.err conftest.
$ac_objext \
4684 conftest
$ac_exeext conftest.
$ac_ext
4686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4688 if test `eval echo '${'$as_ac_var'}'` = yes; then
4689 cat >>confdefs.h
<<_ACEOF
4690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4693 echo "$as_me:$LINENO: checking for _doprnt" >&5
4694 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
4695 if test "${ac_cv_func__doprnt+set}" = set; then
4696 echo $ECHO_N "(cached) $ECHO_C" >&6
4698 cat >conftest.
$ac_ext <<_ACEOF
4701 cat confdefs.h
>>conftest.
$ac_ext
4702 cat >>conftest.
$ac_ext <<_ACEOF
4703 /* end confdefs.h. */
4704 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
4705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4706 #define _doprnt innocuous__doprnt
4708 /* System header to define __stub macros and hopefully few prototypes,
4709 which can conflict with char _doprnt (); below.
4710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4711 <limits.h> exists even on freestanding compilers. */
4714 # include <limits.h>
4716 # include <assert.h>
4721 /* Override any gcc2 internal prototype to avoid an error. */
4726 /* We use char because int might match the return type of a gcc2
4727 builtin and then its argument prototype would still apply. */
4729 /* The GNU C library defines this for functions which it implements
4730 to always fail with ENOSYS. Some functions are actually named
4731 something starting with __ and the normal name is an alias. */
4732 #if defined (__stub__doprnt) || defined (__stub____doprnt)
4735 char (*f) () = _doprnt;
4744 return f != _doprnt;
4749 rm -f conftest.
$ac_objext conftest
$ac_exeext
4750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4751 (eval $ac_link) 2>conftest.er1
4753 grep -v '^ *+' conftest.er1
>conftest.err
4755 cat conftest.err
>&5
4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757 (exit $ac_status); } &&
4758 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4763 (exit $ac_status); }; } &&
4764 { ac_try
='test -s conftest$ac_exeext'
4765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4769 (exit $ac_status); }; }; then
4770 ac_cv_func__doprnt
=yes
4772 echo "$as_me: failed program was:" >&5
4773 sed 's/^/| /' conftest.
$ac_ext >&5
4775 ac_cv_func__doprnt
=no
4777 rm -f conftest.err conftest.
$ac_objext \
4778 conftest
$ac_exeext conftest.
$ac_ext
4780 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
4781 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
4782 if test $ac_cv_func__doprnt = yes; then
4784 cat >>confdefs.h
<<\_ACEOF
4785 #define HAVE_DOPRNT 1
4797 for ac_func
in strerror strstr bcmp
4799 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4800 echo "$as_me:$LINENO: checking for $ac_func" >&5
4801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4802 if eval "test \"\${$as_ac_var+set}\" = set"; then
4803 echo $ECHO_N "(cached) $ECHO_C" >&6
4805 cat >conftest.
$ac_ext <<_ACEOF
4808 cat confdefs.h
>>conftest.
$ac_ext
4809 cat >>conftest.
$ac_ext <<_ACEOF
4810 /* end confdefs.h. */
4811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4813 #define $ac_func innocuous_$ac_func
4815 /* System header to define __stub macros and hopefully few prototypes,
4816 which can conflict with char $ac_func (); below.
4817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4818 <limits.h> exists even on freestanding compilers. */
4821 # include <limits.h>
4823 # include <assert.h>
4828 /* Override any gcc2 internal prototype to avoid an error. */
4833 /* We use char because int might match the return type of a gcc2
4834 builtin and then its argument prototype would still apply. */
4836 /* The GNU C library defines this for functions which it implements
4837 to always fail with ENOSYS. Some functions are actually named
4838 something starting with __ and the normal name is an alias. */
4839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4842 char (*f) () = $ac_func;
4851 return f != $ac_func;
4856 rm -f conftest.
$ac_objext conftest
$ac_exeext
4857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4858 (eval $ac_link) 2>conftest.er1
4860 grep -v '^ *+' conftest.er1
>conftest.err
4862 cat conftest.err
>&5
4863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4864 (exit $ac_status); } &&
4865 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870 (exit $ac_status); }; } &&
4871 { ac_try
='test -s conftest$ac_exeext'
4872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4876 (exit $ac_status); }; }; then
4877 eval "$as_ac_var=yes"
4879 echo "$as_me: failed program was:" >&5
4880 sed 's/^/| /' conftest.
$ac_ext >&5
4882 eval "$as_ac_var=no"
4884 rm -f conftest.err conftest.
$ac_objext \
4885 conftest
$ac_exeext conftest.
$ac_ext
4887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4889 if test `eval echo '${'$as_ac_var'}'` = yes; then
4890 cat >>confdefs.h
<<_ACEOF
4891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4899 if test ! "x$GCC" = "x" ; then
4901 echo "$as_me:$LINENO: checking if installed gcc is new enough to use instead of cxref-cpp" >&5
4902 echo $ECHO_N "checking if installed gcc is new enough to use instead of cxref-cpp... $ECHO_C" >&6
4904 if test "$cross_compiling" = yes; then
4905 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4906 See \`config.log' for more details." >&5
4907 echo "$as_me: error: cannot run test program while cross compiling
4908 See \`config.log' for more details." >&2;}
4909 { (exit 1); exit 1; }; }
4911 cat >conftest.
$ac_ext <<_ACEOF
4914 cat confdefs.h
>>conftest.
$ac_ext
4915 cat >>conftest.
$ac_ext <<_ACEOF
4916 /* end confdefs.h. */
4920 #if defined(__GNUC__) && ( ( __GNUC__==2 && __GNUC_MINOR__>=8 ) || __GNUC__>=3 )
4928 rm -f conftest
$ac_exeext
4929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4930 (eval $ac_link) 2>&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938 (exit $ac_status); }; }; then
4941 echo "$as_me: program exited with status $ac_status" >&5
4942 echo "$as_me: failed program was:" >&5
4943 sed 's/^/| /' conftest.
$ac_ext >&5
4946 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4949 if test "$WITH_CXREF_CPP" = "no" ; then
4951 if test "x$newGCC" = "x" ; then
4952 echo "$as_me:$LINENO: result: no" >&5
4953 echo "${ECHO_T}no" >&6
4954 { { echo "$as_me:$LINENO: error: the '--without-cxref-cpp' option was used but gcc is not suitable" >&5
4955 echo "$as_me: error: the '--without-cxref-cpp' option was used but gcc is not suitable" >&2;}
4956 { (exit 1); exit 1; }; }
4958 echo "$as_me:$LINENO: result: yes, ignoring further checks due to '--without-cxref-cpp' option" >&5
4959 echo "${ECHO_T}yes, ignoring further checks due to '--without-cxref-cpp' option" >&6
4962 elif test "x$newGCC" = "x" ||
test "$WITH_CXREF_CPP" = "yes" ; then
4964 if test "x$newGCC" = "x" ; then
4965 echo "$as_me:$LINENO: result: no, using cxref-cpp" >&5
4966 echo "${ECHO_T}no, using cxref-cpp" >&6
4968 echo "$as_me:$LINENO: result: yes, but '--with-cxref-cpp' option overrides this" >&5
4969 echo "${ECHO_T}yes, but '--with-cxref-cpp' option overrides this" >&6
4976 echo "$as_me:$LINENO: result: yes" >&5
4977 echo "${ECHO_T}yes" >&6
4979 echo "$as_me:$LINENO: checking if installed gcc preserves comments after define statements" >&5
4980 echo $ECHO_N "checking if installed gcc preserves comments after define statements... $ECHO_C" >&6
4982 echo "#define foo bar /* FIND-ME */" |
$CC -E -C - > .
/conftest.gcc
4984 if $EGREP -e FIND-ME .
/conftest.gcc
> /dev
/null
2>&1 ; then
4985 echo "$as_me:$LINENO: result: yes" >&5
4986 echo "${ECHO_T}yes" >&6
4988 echo "$as_me:$LINENO: result: no, using cxref-cpp" >&5
4989 echo "${ECHO_T}no, using cxref-cpp" >&6
4996 echo "$as_me:$LINENO: checking if installed gcc preserves comments after include statements" >&5
4997 echo $ECHO_N "checking if installed gcc preserves comments after include statements... $ECHO_C" >&6
5001 echo "#include \"conftest.h\" /* FIND-ME */" |
$CC -E -C - > .
/conftest.gcc
5003 if $EGREP -e FIND-ME .
/conftest.gcc
> /dev
/null
2>&1 ; then
5004 echo "$as_me:$LINENO: result: yes" >&5
5005 echo "${ECHO_T}yes" >&6
5007 echo "$as_me:$LINENO: result: no, using cxref-cpp" >&5
5008 echo "${ECHO_T}no, using cxref-cpp" >&6
5013 rm .
/conftest.h .
/conftest.gcc
5019 { echo "$as_me:$LINENO: WARNING: -----------------------------------------------------" >&5
5020 echo "$as_me: WARNING: -----------------------------------------------------" >&2;}
5021 { echo "$as_me:$LINENO: WARNING: The C compiler is not gcc" >&5
5022 echo "$as_me: WARNING: The C compiler is not gcc" >&2;}
5023 { echo "$as_me:$LINENO: WARNING: read the file cpp/README and cpp/cxref-cpp-configure." >&5
5024 echo "$as_me: WARNING: read the file cpp/README and cpp/cxref-cpp-configure." >&2;}
5025 { echo "$as_me:$LINENO: WARNING: -----------------------------------------------------" >&5
5026 echo "$as_me: WARNING: -----------------------------------------------------" >&2;}
5035 ac_config_files
="$ac_config_files Makefile"
5036 cat >confcache
<<\_ACEOF
5037 # This file is a shell script that caches the results of configure
5038 # tests run on this system so they can be shared between configure
5039 # scripts and configure runs, see configure's option --config-cache.
5040 # It is not useful on other systems. If it contains results you don't
5041 # want to keep, you may remove or edit it.
5043 # config.status only pays attention to the cache file if you give it
5044 # the --recheck option to rerun configure.
5046 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5047 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5052 # The following way of writing the cache mishandles newlines in values,
5053 # but we know of no workaround that is simple, portable, and efficient.
5054 # So, don't put newlines in cache variables' values.
5055 # Ultrix sh set writes to stderr and can't be redirected directly,
5056 # and sets the high bit in the cache file unless we assign to the vars.
5059 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5061 # `set' does not quote correctly, so add quotes (double-quote
5062 # substitution turns \\\\ into \\, and sed turns \\ into \).
5065 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5068 # `set' quotes correctly as required by POSIX, so do not add quotes.
5070 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5077 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5079 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5081 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5082 if test -w $cache_file; then
5083 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5084 cat confcache
>$cache_file
5086 echo "not updating unwritable cache $cache_file"
5091 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5092 # Let make expand exec_prefix.
5093 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5095 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5096 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5097 # trailing colons and then remove the whole line if VPATH becomes empty
5098 # (actually we leave an empty line to preserve line numbers).
5099 if test "x$srcdir" = x.
; then
5100 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5101 s/:*\$(srcdir):*/:/;
5102 s/:*\${srcdir}:*/:/;
5104 s/^\([^=]*=[ ]*\):*/\1/;
5110 DEFS
=-DHAVE_CONFIG_H
5114 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5115 # 1. Remove the extension, and $U if already installed.
5116 ac_i
=`echo "$ac_i" |
5117 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5119 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
5120 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
5124 LTLIBOBJS
=$ac_ltlibobjs
5128 : ${CONFIG_STATUS=./config.status}
5129 ac_clean_files_save
=$ac_clean_files
5130 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5131 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5132 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5133 cat >$CONFIG_STATUS <<_ACEOF
5135 # Generated by $as_me.
5136 # Run this file to recreate the current configuration.
5137 # Compiler output produced by configure, useful for debugging
5138 # configure, is in config.log if it exists.
5143 SHELL=\${CONFIG_SHELL-$SHELL}
5146 cat >>$CONFIG_STATUS <<\_ACEOF
5147 ## --------------------- ##
5148 ## M4sh Initialization. ##
5149 ## --------------------- ##
5151 # Be Bourne compatible
5152 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5155 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5156 # is contrary to our usage. Disable this feature.
5157 alias -g '${1+"$@"}'='"$@"'
5158 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5161 DUALCASE
=1; export DUALCASE
# for MKS sh
5163 # Support unset when possible.
5164 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5171 # Work around bugs in pre-3.0 UWIN ksh.
5172 $as_unset ENV MAIL MAILPATH
5179 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5180 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5181 LC_TELEPHONE LC_TIME
5183 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5184 eval $as_var=C
; export $as_var
5190 # Required to use basename.
5191 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5197 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
5198 as_basename
=basename
5204 # Name of the executable.
5205 as_me
=`$as_basename "$0" ||
5206 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5207 X"$0" : 'X\(//\)$' \| \
5208 X"$0" : 'X\(/\)$' \| \
5209 . : '\(.\)' 2>/dev/null ||
5211 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5212 /^X\/\(\/\/\)$/{ s//\1/; q; }
5213 /^X\/\(\/\).*/{ s//\1/; q; }
5217 # PATH needs CR, and LINENO needs CR and PATH.
5218 # Avoid depending upon Character Ranges.
5219 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5220 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5221 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5222 as_cr_digits
='0123456789'
5223 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5225 # The user is always right.
5226 if test "${PATH_SEPARATOR+set}" != set; then
5227 echo "#! /bin/sh" >conf$$.sh
5228 echo "exit 0" >>conf$$.sh
5230 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5241 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5242 test "x$as_lineno_1" != "x$as_lineno_2" &&
5243 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5244 # Find who we are. Look in the path if we contain no path at all
5247 *[\\/]* ) as_myself
=$0 ;;
5248 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5252 test -z "$as_dir" && as_dir
=.
5253 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5258 # We did not find ourselves, most probably we were run as `sh COMMAND'
5259 # in which case we are not to be found in the path.
5260 if test "x$as_myself" = x
; then
5263 if test ! -f "$as_myself"; then
5264 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5265 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5266 { (exit 1); exit 1; }; }
5268 case $CONFIG_SHELL in
5270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5271 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5274 test -z "$as_dir" && as_dir
=.
5275 for as_base
in sh bash ksh sh5
; do
5278 if ("$as_dir/$as_base" -c '
5281 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5282 test "x$as_lineno_1" != "x$as_lineno_2" &&
5283 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5284 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
5285 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
5286 CONFIG_SHELL
=$as_dir/$as_base
5288 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5296 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5297 # uniformly replaced by the line number. The first 'sed' inserts a
5298 # line-number line before each line; the second 'sed' does the real
5299 # work. The second script uses 'N' to pair each line-number line
5300 # with the numbered line, and appends trailing '-' during
5301 # substitution so that $LINENO is not a special case at line end.
5302 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5303 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5304 sed '=' <$as_myself |
5309 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5312 s,^['$as_cr_digits']*\n,,
5314 chmod +x
$as_me.lineno ||
5315 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5316 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5317 { (exit 1); exit 1; }; }
5319 # Don't try to exec as it changes $[0], causing all sort of problems
5320 # (the dirname of $[0] is not the place where we might find the
5321 # original and so on. Autoconf is especially sensible to this).
5323 # Exit status is that of the last command.
5328 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5329 *c
*,-n*) ECHO_N
= ECHO_C
='
5331 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5332 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5335 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5341 rm -f conf$$ conf$$.exe conf$$.
file
5343 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5344 # We could just check for DJGPP; but this test a) works b) is more generic
5345 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5346 if test -f conf$$.exe
; then
5347 # Don't use ln at all; we don't have any links
5352 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5357 rm -f conf$$ conf$$.exe conf$$.
file
5359 if mkdir
-p .
2>/dev
/null
; then
5362 test -d .
/-p && rmdir .
/-p
5366 as_executable_p
="test -f"
5368 # Sed expression to map a string onto a valid CPP name.
5369 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5371 # Sed expression to map a string onto a valid variable name.
5372 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5376 # We need space, tab and new line, in precisely that order.
5386 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5387 # report actual input values of CONFIG_FILES etc. instead of their
5388 # values after options handling. Logging --version etc. is OK.
5392 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5393 ## Running $as_me. ##
5398 This file was extended by $as_me, which was
5399 generated by GNU Autoconf 2.59. Invocation command line was
5401 CONFIG_FILES = $CONFIG_FILES
5402 CONFIG_HEADERS = $CONFIG_HEADERS
5403 CONFIG_LINKS = $CONFIG_LINKS
5404 CONFIG_COMMANDS = $CONFIG_COMMANDS
5408 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5412 # Files that config.status was made for.
5413 if test -n "$ac_config_files"; then
5414 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5417 if test -n "$ac_config_headers"; then
5418 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5421 if test -n "$ac_config_links"; then
5422 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5425 if test -n "$ac_config_commands"; then
5426 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5429 cat >>$CONFIG_STATUS <<\_ACEOF
5432 \`$as_me' instantiates files from templates according to the
5433 current configuration.
5435 Usage: $0 [OPTIONS] [FILE]...
5437 -h, --help print this help, then exit
5438 -V, --version print version number, then exit
5439 -q, --quiet do not print progress messages
5440 -d, --debug don't remove temporary files
5441 --recheck update $as_me by reconfiguring in the same conditions
5442 --file=FILE[:TEMPLATE]
5443 instantiate the configuration file FILE
5444 --header=FILE[:TEMPLATE]
5445 instantiate the configuration header FILE
5447 Configuration files:
5450 Configuration headers:
5453 Report bugs to <bug-autoconf@gnu.org>."
5456 cat >>$CONFIG_STATUS <<_ACEOF
5459 configured by $0, generated by GNU Autoconf 2.59,
5460 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5462 Copyright (C) 2003 Free Software Foundation, Inc.
5463 This config.status script is free software; the Free Software Foundation
5464 gives unlimited permission to copy, distribute and modify it."
5469 cat >>$CONFIG_STATUS <<\_ACEOF
5470 # If no file are specified by the user, then we need to provide default
5471 # value. By we need to know if files were specified by the user.
5477 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5478 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5486 *) # This is not an option, so the user has probably given explicit
5489 ac_need_defaults
=false
;;
5493 # Handling of the options.
5495 cat >>$CONFIG_STATUS <<\_ACEOF
5496 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5498 --version |
--vers* |
-V )
5499 echo "$ac_cs_version"; exit 0 ;;
5501 # Conflict between --help and --header
5502 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5503 Try \`$0 --help' for more information." >&5
5504 echo "$as_me: error: ambiguous option: $1
5505 Try \`$0 --help' for more information." >&2;}
5506 { (exit 1); exit 1; }; };;
5507 --help |
--hel |
-h )
5508 echo "$ac_cs_usage"; exit 0 ;;
5509 --debug |
--d* |
-d )
5511 --file |
--fil |
--fi |
--f )
5513 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5514 ac_need_defaults
=false
;;
5515 --header |
--heade |
--head |
--hea )
5517 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5518 ac_need_defaults
=false
;;
5519 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5520 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5524 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5525 Try \`$0 --help' for more information." >&5
5526 echo "$as_me: error: unrecognized option: $1
5527 Try \`$0 --help' for more information." >&2;}
5528 { (exit 1); exit 1; }; } ;;
5530 *) ac_config_targets
="$ac_config_targets $1" ;;
5536 ac_configure_extra_args
=
5538 if $ac_cs_silent; then
5540 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5544 cat >>$CONFIG_STATUS <<_ACEOF
5545 if \$ac_cs_recheck; then
5546 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5547 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5556 cat >>$CONFIG_STATUS <<\_ACEOF
5557 for ac_config_target
in $ac_config_targets
5559 case "$ac_config_target" in
5560 # Handling of arguments.
5561 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5562 "autoconfig.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS autoconfig.h" ;;
5563 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5564 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5565 { (exit 1); exit 1; }; };;
5569 # If the user did not use the arguments to specify the items to instantiate,
5570 # then the envvar interface is used. Set only those that are not.
5571 # We use the long form for the default assignment because of an extremely
5572 # bizarre bug on SunOS 4.1.3.
5573 if $ac_need_defaults; then
5574 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5575 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5578 # Have a temporary directory for convenience. Make it in the build tree
5579 # simply because there is no reason to put it here, and in addition,
5580 # creating and moving files from /tmp can sometimes cause problems.
5581 # Create a temporary directory, and hook for its removal unless debugging.
5584 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5585 trap '{ (exit 1); exit 1; }' 1 2 13 15
5588 # Create a (secure) tmp directory for tmp files.
5591 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5592 test -n "$tmp" && test -d "$tmp"
5595 tmp
=.
/confstat$$
-$RANDOM
5596 (umask 077 && mkdir
$tmp)
5599 echo "$me: cannot create a temporary directory in ." >&2
5600 { (exit 1); exit 1; }
5605 cat >>$CONFIG_STATUS <<_ACEOF
5608 # CONFIG_FILES section.
5611 # No need to generate the scripts if there are no CONFIG_FILES.
5612 # This happens for instance when ./config.status config.h
5613 if test -n "\$CONFIG_FILES"; then
5614 # Protect against being on the right side of a sed subst in config.status.
5615 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5616 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5617 s,@SHELL@,$SHELL,;t t
5618 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5619 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5620 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5621 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5622 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5623 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5624 s,@exec_prefix@,$exec_prefix,;t t
5625 s,@prefix@,$prefix,;t t
5626 s,@program_transform_name@,$program_transform_name,;t t
5627 s,@bindir@,$bindir,;t t
5628 s,@sbindir@,$sbindir,;t t
5629 s,@libexecdir@,$libexecdir,;t t
5630 s,@datadir@,$datadir,;t t
5631 s,@sysconfdir@,$sysconfdir,;t t
5632 s,@sharedstatedir@,$sharedstatedir,;t t
5633 s,@localstatedir@,$localstatedir,;t t
5634 s,@libdir@,$libdir,;t t
5635 s,@includedir@,$includedir,;t t
5636 s,@oldincludedir@,$oldincludedir,;t t
5637 s,@infodir@,$infodir,;t t
5638 s,@mandir@,$mandir,;t t
5639 s,@build_alias@,$build_alias,;t t
5640 s,@host_alias@,$host_alias,;t t
5641 s,@target_alias@,$target_alias,;t t
5643 s,@ECHO_C@,$ECHO_C,;t t
5644 s,@ECHO_N@,$ECHO_N,;t t
5645 s,@ECHO_T@,$ECHO_T,;t t
5648 s,@CFLAGS@,$CFLAGS,;t t
5649 s,@LDFLAGS@,$LDFLAGS,;t t
5650 s,@CPPFLAGS@,$CPPFLAGS,;t t
5651 s,@ac_ct_CC@,$ac_ct_CC,;t t
5652 s,@EXEEXT@,$EXEEXT,;t t
5653 s,@OBJEXT@,$OBJEXT,;t t
5656 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5657 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5658 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5660 s,@SET_MAKE@,$SET_MAKE,;t t
5661 s,@EGREP@,$EGREP,;t t
5662 s,@ALLOCA@,$ALLOCA,;t t
5663 s,@CXREF_CPP@,$CXREF_CPP,;t t
5665 s,@LIBOBJS@,$LIBOBJS,;t t
5666 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5671 cat >>$CONFIG_STATUS <<\_ACEOF
5672 # Split the substitutions into bite-sized pieces for seds with
5673 # small command number limits, like on Digital OSF/1 and HP-UX.
5675 ac_sed_frag
=1 # Number of current file.
5676 ac_beg
=1 # First line for current file.
5677 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5680 while $ac_more_lines; do
5681 if test $ac_beg -gt 1; then
5682 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5684 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5686 if test ! -s $tmp/subs.frag
; then
5689 # The purpose of the label and of the branching condition is to
5690 # speed up the sed processing (if there are no `@' at all, there
5691 # is no need to browse any of the substitutions).
5692 # These are the two extra sed commands mentioned above.
5694 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5695 if test -z "$ac_sed_cmds"; then
5696 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5698 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5700 ac_sed_frag
=`expr $ac_sed_frag + 1`
5702 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5705 if test -z "$ac_sed_cmds"; then
5708 fi # test -n "$CONFIG_FILES"
5711 cat >>$CONFIG_STATUS <<\_ACEOF
5712 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5713 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5715 - |
*:- |
*:-:* ) # input from stdin
5717 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5718 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5719 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5720 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5721 * ) ac_file_in
=$ac_file.
in ;;
5724 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5725 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5726 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5727 X"$ac_file" : 'X\(//\)[^/]' \| \
5728 X"$ac_file" : 'X\(//\)$' \| \
5729 X"$ac_file" : 'X\(/\)' \| \
5730 . : '\(.\)' 2>/dev/null ||
5732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5733 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5734 /^X\(\/\/\)$/{ s//\1/; q; }
5735 /^X\(\/\).*/{ s//\1/; q; }
5737 { if $as_mkdir_p; then
5742 while test ! -d "$as_dir"; do
5743 as_dirs
="$as_dir $as_dirs"
5744 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5745 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5746 X"$as_dir" : 'X\(//\)[^/]' \| \
5747 X"$as_dir" : 'X\(//\)$' \| \
5748 X"$as_dir" : 'X\(/\)' \| \
5749 . : '\(.\)' 2>/dev/null ||
5751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5752 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5753 /^X\(\/\/\)$/{ s//\1/; q; }
5754 /^X\(\/\).*/{ s//\1/; q; }
5757 test ! -n "$as_dirs" || mkdir
$as_dirs
5758 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5759 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5760 { (exit 1); exit 1; }; }; }
5764 if test "$ac_dir" != .
; then
5765 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5766 # A "../" for each directory in $ac_dir_suffix.
5767 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5769 ac_dir_suffix
= ac_top_builddir
=
5773 .
) # No --srcdir option. We are building in place.
5775 if test -z "$ac_top_builddir"; then
5778 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5780 [\\/]* | ?
:[\\/]* ) # Absolute path.
5781 ac_srcdir
=$srcdir$ac_dir_suffix;
5782 ac_top_srcdir
=$srcdir ;;
5784 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5785 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5788 # Do not use `cd foo && pwd` to compute absolute paths, because
5789 # the directories may not exist.
5791 .
) ac_abs_builddir
="$ac_dir";;
5794 .
) ac_abs_builddir
=`pwd`;;
5795 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5796 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5799 case $ac_abs_builddir in
5800 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5802 case ${ac_top_builddir}.
in
5803 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5804 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5805 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5808 case $ac_abs_builddir in
5809 .
) ac_abs_srcdir
=$ac_srcdir;;
5812 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5813 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5814 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5817 case $ac_abs_builddir in
5818 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5820 case $ac_top_srcdir in
5821 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5822 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5823 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5829 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5830 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
5833 # Let's still pretend it is `configure' which instantiates (i.e., don't
5834 # use $as_me), people would be surprised to read:
5835 # /* config.h. Generated by config.status. */
5836 if test x
"$ac_file" = x-
; then
5839 configure_input
="$ac_file. "
5841 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5842 sed 's,.*/,,'` by configure."
5844 # First look for the input files in the build tree, otherwise in the
5846 ac_file_inputs
=`IFS=:
5847 for f in $ac_file_in; do
5849 -) echo $tmp/stdin ;;
5851 # Absolute (can't be DOS-style, as IFS=:)
5852 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5853 echo "$as_me: error: cannot find input file: $f" >&2;}
5854 { (exit 1); exit 1; }; }
5857 if test -f "$f"; then
5860 elif test -f "$srcdir/$f"; then
5865 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5866 echo "$as_me: error: cannot find input file: $f" >&2;}
5867 { (exit 1); exit 1; }; }
5870 done` ||
{ (exit 1); exit 1; }
5872 if test x
"$ac_file" != x-
; then
5873 { echo "$as_me:$LINENO: creating $ac_file" >&5
5874 echo "$as_me: creating $ac_file" >&6;}
5878 cat >>$CONFIG_STATUS <<_ACEOF
5882 cat >>$CONFIG_STATUS <<\_ACEOF
5884 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5885 s
,@configure_input@
,$configure_input,;t t
5886 s
,@srcdir@
,$ac_srcdir,;t t
5887 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5888 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5889 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5890 s
,@builddir@
,$ac_builddir,;t t
5891 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5892 s
,@top_builddir@
,$ac_top_builddir,;t t
5893 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5894 s
,@INSTALL@
,$ac_INSTALL,;t t
5895 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5897 if test x"$ac_file" != x-; then
5898 mv $tmp/out $ac_file
5906 cat >>$CONFIG_STATUS <<\_ACEOF
5909 # CONFIG_HEADER section.
5912 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
5913 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5915 # ac_d sets the value in "#define NAME VALUE" lines.
5916 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5917 ac_dB
='[ ].*$,\1#\2'
5920 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5921 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5922 ac_uB
='$,\1#\2define\3'
5926 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
5927 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5929 - |
*:- |
*:-:* ) # input from stdin
5931 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5932 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5933 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5934 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5935 * ) ac_file_in
=$ac_file.
in ;;
5938 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
5939 echo "$as_me: creating $ac_file" >&6;}
5941 # First look for the input files in the build tree, otherwise in the
5943 ac_file_inputs
=`IFS=:
5944 for f in $ac_file_in; do
5946 -) echo $tmp/stdin ;;
5948 # Absolute (can't be DOS-style, as IFS=:)
5949 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5950 echo "$as_me: error: cannot find input file: $f" >&2;}
5951 { (exit 1); exit 1; }; }
5952 # Do quote $f, to prevent DOS paths from being IFS'd.
5955 if test -f "$f"; then
5958 elif test -f "$srcdir/$f"; then
5963 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5964 echo "$as_me: error: cannot find input file: $f" >&2;}
5965 { (exit 1); exit 1; }; }
5968 done` ||
{ (exit 1); exit 1; }
5969 # Remove the trailing spaces.
5970 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5974 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5975 # `conftest.undefs', that substitutes the proper values into
5976 # config.h.in to produce config.h. The first handles `#define'
5977 # templates, and the second `#undef' templates.
5978 # And first: Protect against being on the right side of a sed subst in
5979 # config.status. Protect against being in an unquoted here document
5981 rm -f conftest.defines conftest.undefs
5982 # Using a here document instead of a string reduces the quoting nightmare.
5983 # Putting comments in sed scripts is not portable.
5985 # `end' is used to avoid that the second main sed command (meant for
5986 # 0-ary CPP macros) applies to n-ary macro definitions.
5987 # See the Autoconf documentation for `clear'.
5988 cat >confdef2sed.
sed <<\_ACEOF
5993 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5995 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5998 # If some macros were called several times there might be several times
5999 # the same #defines, which is useless. Nevertheless, we may not want to
6000 # sort them, since we want the *last* AC-DEFINE to be honored.
6001 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6002 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6003 rm -f confdef2sed.sed
6005 # This sed command replaces #undef with comments. This is necessary, for
6006 # example, in the case of _POSIX_SOURCE, which is predefined and required
6007 # on some systems where configure will not decide to define it.
6008 cat >>conftest.undefs <<\_ACEOF
6009 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6012 # Break up conftest.defines because some shells have a limit on the size
6013 # of here documents, and old seds have small limits too (100 cmds).
6014 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6015 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6016 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6017 echo ' :' >>$CONFIG_STATUS
6019 while grep . conftest.defines >/dev/null
6021 # Write a limited-size here document to $tmp/defines.sed.
6022 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6023 # Speed up: don't consider the non `#define' lines.
6024 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6025 # Work around the forget-to-reset-the-flag bug.
6026 echo 't clr' >>$CONFIG_STATUS
6027 echo ': clr' >>$CONFIG_STATUS
6028 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6030 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6034 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6035 rm -f conftest.defines
6036 mv conftest.
tail conftest.defines
6038 rm -f conftest.defines
6039 echo ' fi # grep' >>$CONFIG_STATUS
6040 echo >>$CONFIG_STATUS
6042 # Break up conftest.undefs because some shells have a limit on the size
6043 # of here documents, and old seds have small limits too (100 cmds).
6044 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6046 while grep . conftest.undefs
>/dev
/null
6048 # Write a limited-size here document to $tmp/undefs.sed.
6049 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6050 # Speed up: don't consider the non
`#undef'
6051 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6052 # Work around the forget-to-reset-the-flag bug.
6053 echo 't clr' >>$CONFIG_STATUS
6054 echo ': clr' >>$CONFIG_STATUS
6055 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6057 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6061 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6062 rm -f conftest.undefs
6063 mv conftest.tail conftest.undefs
6065 rm -f conftest.undefs
6067 cat >>$CONFIG_STATUS <<\_ACEOF
6068 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6069 # use $as_me), people would be surprised to read:
6070 # /* config.h. Generated by config.status. */
6071 if test x
"$ac_file" = x-
; then
6072 echo "/* Generated by configure. */" >$tmp/config.h
6074 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6076 cat $tmp/in >>$tmp/config.h
6078 if test x
"$ac_file" != x-
; then
6079 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
6080 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6081 echo "$as_me: $ac_file is unchanged" >&6;}
6083 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6084 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6085 X"$ac_file" : 'X\(//\)[^/]' \| \
6086 X"$ac_file" : 'X\(//\)$' \| \
6087 X"$ac_file" : 'X\(/\)' \| \
6088 . : '\(.\)' 2>/dev/null ||
6090 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6091 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6092 /^X\(\/\/\)$/{ s//\1/; q; }
6093 /^X\(\/\).*/{ s//\1/; q; }
6095 { if $as_mkdir_p; then
6100 while test ! -d "$as_dir"; do
6101 as_dirs
="$as_dir $as_dirs"
6102 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6103 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6104 X"$as_dir" : 'X\(//\)[^/]' \| \
6105 X"$as_dir" : 'X\(//\)$' \| \
6106 X"$as_dir" : 'X\(/\)' \| \
6107 . : '\(.\)' 2>/dev/null ||
6109 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6110 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6111 /^X\(\/\/\)$/{ s//\1/; q; }
6112 /^X\(\/\).*/{ s//\1/; q; }
6115 test ! -n "$as_dirs" || mkdir
$as_dirs
6116 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6117 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6118 { (exit 1); exit 1; }; }; }
6121 mv $tmp/config.h
$ac_file
6130 cat >>$CONFIG_STATUS <<\_ACEOF
6132 { (exit 0); exit 0; }
6134 chmod +x
$CONFIG_STATUS
6135 ac_clean_files
=$ac_clean_files_save
6138 # configure is writing to config.log, and then calls config.status.
6139 # config.status does its own redirection, appending to config.log.
6140 # Unfortunately, on DOS this fails, as config.log is still kept open
6141 # by configure, so config.status won't be able to write to it; its
6142 # output is simply discarded. So we exec the FD to /dev/null,
6143 # effectively closing config.log, so it can be properly (re)opened and
6144 # appended to by config.status. When coming back to configure, we
6145 # need to make the FD available again.
6146 if test "$no_create" != yes; then
6148 ac_config_status_args
=
6149 test "$silent" = yes &&
6150 ac_config_status_args
="$ac_config_status_args --quiet"
6152 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6154 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6155 # would make configure fail if this is the last instruction.
6156 $ac_cs_success ||
{ (exit 1); exit 1; }
6159 ac_config_files
="$ac_config_files cxref-cpp-configure"
6160 cat >confcache
<<\_ACEOF
6161 # This file is a shell script that caches the results of configure
6162 # tests run on this system so they can be shared between configure
6163 # scripts and configure runs, see configure's option --config-cache.
6164 # It is not useful on other systems. If it contains results you don't
6165 # want to keep, you may remove or edit it.
6167 # config.status only pays attention to the cache file if you give it
6168 # the --recheck option to rerun configure.
6170 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6171 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6176 # The following way of writing the cache mishandles newlines in values,
6177 # but we know of no workaround that is simple, portable, and efficient.
6178 # So, don't put newlines in cache variables' values.
6179 # Ultrix sh set writes to stderr and can't be redirected directly,
6180 # and sets the high bit in the cache file unless we assign to the vars.
6183 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6185 # `set' does not quote correctly, so add quotes (double-quote
6186 # substitution turns \\\\ into \\, and sed turns \\ into \).
6189 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6192 # `set' quotes correctly as required by POSIX, so do not add quotes.
6194 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6201 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6203 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6205 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6206 if test -w $cache_file; then
6207 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6208 cat confcache
>$cache_file
6210 echo "not updating unwritable cache $cache_file"
6215 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6216 # Let make expand exec_prefix.
6217 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6219 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6220 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6221 # trailing colons and then remove the whole line if VPATH becomes empty
6222 # (actually we leave an empty line to preserve line numbers).
6223 if test "x$srcdir" = x.
; then
6224 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6225 s/:*\$(srcdir):*/:/;
6226 s/:*\${srcdir}:*/:/;
6228 s/^\([^=]*=[ ]*\):*/\1/;
6234 DEFS
=-DHAVE_CONFIG_H
6238 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6239 # 1. Remove the extension, and $U if already installed.
6240 ac_i
=`echo "$ac_i" |
6241 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6243 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6244 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6248 LTLIBOBJS
=$ac_ltlibobjs
6252 : ${CONFIG_STATUS=./config.status}
6253 ac_clean_files_save
=$ac_clean_files
6254 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6255 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6256 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6257 cat >$CONFIG_STATUS <<_ACEOF
6259 # Generated by $as_me.
6260 # Run this file to recreate the current configuration.
6261 # Compiler output produced by configure, useful for debugging
6262 # configure, is in config.log if it exists.
6267 SHELL=\${CONFIG_SHELL-$SHELL}
6270 cat >>$CONFIG_STATUS <<\_ACEOF
6271 ## --------------------- ##
6272 ## M4sh Initialization. ##
6273 ## --------------------- ##
6275 # Be Bourne compatible
6276 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6279 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6280 # is contrary to our usage. Disable this feature.
6281 alias -g '${1+"$@"}'='"$@"'
6282 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6285 DUALCASE
=1; export DUALCASE
# for MKS sh
6287 # Support unset when possible.
6288 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6295 # Work around bugs in pre-3.0 UWIN ksh.
6296 $as_unset ENV MAIL MAILPATH
6303 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6304 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6305 LC_TELEPHONE LC_TIME
6307 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6308 eval $as_var=C
; export $as_var
6314 # Required to use basename.
6315 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6321 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6322 as_basename
=basename
6328 # Name of the executable.
6329 as_me
=`$as_basename "$0" ||
6330 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6331 X"$0" : 'X\(//\)$' \| \
6332 X"$0" : 'X\(/\)$' \| \
6333 . : '\(.\)' 2>/dev/null ||
6335 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6336 /^X\/\(\/\/\)$/{ s//\1/; q; }
6337 /^X\/\(\/\).*/{ s//\1/; q; }
6341 # PATH needs CR, and LINENO needs CR and PATH.
6342 # Avoid depending upon Character Ranges.
6343 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6344 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6345 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6346 as_cr_digits
='0123456789'
6347 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6349 # The user is always right.
6350 if test "${PATH_SEPARATOR+set}" != set; then
6351 echo "#! /bin/sh" >conf$$.sh
6352 echo "exit 0" >>conf$$.sh
6354 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6365 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6366 test "x$as_lineno_1" != "x$as_lineno_2" &&
6367 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6368 # Find who we are. Look in the path if we contain no path at all
6371 *[\\/]* ) as_myself
=$0 ;;
6372 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6376 test -z "$as_dir" && as_dir
=.
6377 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6382 # We did not find ourselves, most probably we were run as `sh COMMAND'
6383 # in which case we are not to be found in the path.
6384 if test "x$as_myself" = x
; then
6387 if test ! -f "$as_myself"; then
6388 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6389 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6390 { (exit 1); exit 1; }; }
6392 case $CONFIG_SHELL in
6394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6395 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6398 test -z "$as_dir" && as_dir
=.
6399 for as_base
in sh bash ksh sh5
; do
6402 if ("$as_dir/$as_base" -c '
6405 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6406 test "x$as_lineno_1" != "x$as_lineno_2" &&
6407 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6408 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6409 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6410 CONFIG_SHELL
=$as_dir/$as_base
6412 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6420 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6421 # uniformly replaced by the line number. The first 'sed' inserts a
6422 # line-number line before each line; the second 'sed' does the real
6423 # work. The second script uses 'N' to pair each line-number line
6424 # with the numbered line, and appends trailing '-' during
6425 # substitution so that $LINENO is not a special case at line end.
6426 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6427 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6428 sed '=' <$as_myself |
6433 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6436 s,^['$as_cr_digits']*\n,,
6438 chmod +x
$as_me.lineno ||
6439 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6440 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6441 { (exit 1); exit 1; }; }
6443 # Don't try to exec as it changes $[0], causing all sort of problems
6444 # (the dirname of $[0] is not the place where we might find the
6445 # original and so on. Autoconf is especially sensible to this).
6447 # Exit status is that of the last command.
6452 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6453 *c
*,-n*) ECHO_N
= ECHO_C
='
6455 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6456 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6459 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6465 rm -f conf$$ conf$$.exe conf$$.
file
6467 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6468 # We could just check for DJGPP; but this test a) works b) is more generic
6469 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6470 if test -f conf$$.exe
; then
6471 # Don't use ln at all; we don't have any links
6476 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6481 rm -f conf$$ conf$$.exe conf$$.
file
6483 if mkdir
-p .
2>/dev
/null
; then
6486 test -d .
/-p && rmdir .
/-p
6490 as_executable_p
="test -f"
6492 # Sed expression to map a string onto a valid CPP name.
6493 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6495 # Sed expression to map a string onto a valid variable name.
6496 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6500 # We need space, tab and new line, in precisely that order.
6510 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6511 # report actual input values of CONFIG_FILES etc. instead of their
6512 # values after options handling. Logging --version etc. is OK.
6516 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6517 ## Running $as_me. ##
6522 This file was extended by $as_me, which was
6523 generated by GNU Autoconf 2.59. Invocation command line was
6525 CONFIG_FILES = $CONFIG_FILES
6526 CONFIG_HEADERS = $CONFIG_HEADERS
6527 CONFIG_LINKS = $CONFIG_LINKS
6528 CONFIG_COMMANDS = $CONFIG_COMMANDS
6532 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6536 # Files that config.status was made for.
6537 if test -n "$ac_config_files"; then
6538 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6541 if test -n "$ac_config_headers"; then
6542 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6545 if test -n "$ac_config_links"; then
6546 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6549 if test -n "$ac_config_commands"; then
6550 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6553 cat >>$CONFIG_STATUS <<\_ACEOF
6556 \`$as_me' instantiates files from templates according to the
6557 current configuration.
6559 Usage: $0 [OPTIONS] [FILE]...
6561 -h, --help print this help, then exit
6562 -V, --version print version number, then exit
6563 -q, --quiet do not print progress messages
6564 -d, --debug don't remove temporary files
6565 --recheck update $as_me by reconfiguring in the same conditions
6566 --file=FILE[:TEMPLATE]
6567 instantiate the configuration file FILE
6568 --header=FILE[:TEMPLATE]
6569 instantiate the configuration header FILE
6571 Configuration files:
6574 Configuration headers:
6577 Report bugs to <bug-autoconf@gnu.org>."
6580 cat >>$CONFIG_STATUS <<_ACEOF
6583 configured by $0, generated by GNU Autoconf 2.59,
6584 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6586 Copyright (C) 2003 Free Software Foundation, Inc.
6587 This config.status script is free software; the Free Software Foundation
6588 gives unlimited permission to copy, distribute and modify it."
6593 cat >>$CONFIG_STATUS <<\_ACEOF
6594 # If no file are specified by the user, then we need to provide default
6595 # value. By we need to know if files were specified by the user.
6601 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6602 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6610 *) # This is not an option, so the user has probably given explicit
6613 ac_need_defaults
=false
;;
6617 # Handling of the options.
6619 cat >>$CONFIG_STATUS <<\_ACEOF
6620 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6622 --version |
--vers* |
-V )
6623 echo "$ac_cs_version"; exit 0 ;;
6625 # Conflict between --help and --header
6626 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6627 Try \`$0 --help' for more information." >&5
6628 echo "$as_me: error: ambiguous option: $1
6629 Try \`$0 --help' for more information." >&2;}
6630 { (exit 1); exit 1; }; };;
6631 --help |
--hel |
-h )
6632 echo "$ac_cs_usage"; exit 0 ;;
6633 --debug |
--d* |
-d )
6635 --file |
--fil |
--fi |
--f )
6637 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6638 ac_need_defaults
=false
;;
6639 --header |
--heade |
--head |
--hea )
6641 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6642 ac_need_defaults
=false
;;
6643 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6644 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6648 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6649 Try \`$0 --help' for more information." >&5
6650 echo "$as_me: error: unrecognized option: $1
6651 Try \`$0 --help' for more information." >&2;}
6652 { (exit 1); exit 1; }; } ;;
6654 *) ac_config_targets
="$ac_config_targets $1" ;;
6660 ac_configure_extra_args
=
6662 if $ac_cs_silent; then
6664 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6668 cat >>$CONFIG_STATUS <<_ACEOF
6669 if \$ac_cs_recheck; then
6670 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6671 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6680 cat >>$CONFIG_STATUS <<\_ACEOF
6681 for ac_config_target
in $ac_config_targets
6683 case "$ac_config_target" in
6684 # Handling of arguments.
6685 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6686 "cxref-cpp-configure" ) CONFIG_FILES
="$CONFIG_FILES cxref-cpp-configure" ;;
6687 "autoconfig.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS autoconfig.h" ;;
6688 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6689 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6690 { (exit 1); exit 1; }; };;
6694 # If the user did not use the arguments to specify the items to instantiate,
6695 # then the envvar interface is used. Set only those that are not.
6696 # We use the long form for the default assignment because of an extremely
6697 # bizarre bug on SunOS 4.1.3.
6698 if $ac_need_defaults; then
6699 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6700 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6703 # Have a temporary directory for convenience. Make it in the build tree
6704 # simply because there is no reason to put it here, and in addition,
6705 # creating and moving files from /tmp can sometimes cause problems.
6706 # Create a temporary directory, and hook for its removal unless debugging.
6709 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6710 trap '{ (exit 1); exit 1; }' 1 2 13 15
6713 # Create a (secure) tmp directory for tmp files.
6716 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6717 test -n "$tmp" && test -d "$tmp"
6720 tmp
=.
/confstat$$
-$RANDOM
6721 (umask 077 && mkdir
$tmp)
6724 echo "$me: cannot create a temporary directory in ." >&2
6725 { (exit 1); exit 1; }
6730 cat >>$CONFIG_STATUS <<_ACEOF
6733 # CONFIG_FILES section.
6736 # No need to generate the scripts if there are no CONFIG_FILES.
6737 # This happens for instance when ./config.status config.h
6738 if test -n "\$CONFIG_FILES"; then
6739 # Protect against being on the right side of a sed subst in config.status.
6740 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6741 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6742 s,@SHELL@,$SHELL,;t t
6743 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6744 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6745 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6746 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6747 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6748 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6749 s,@exec_prefix@,$exec_prefix,;t t
6750 s,@prefix@,$prefix,;t t
6751 s,@program_transform_name@,$program_transform_name,;t t
6752 s,@bindir@,$bindir,;t t
6753 s,@sbindir@,$sbindir,;t t
6754 s,@libexecdir@,$libexecdir,;t t
6755 s,@datadir@,$datadir,;t t
6756 s,@sysconfdir@,$sysconfdir,;t t
6757 s,@sharedstatedir@,$sharedstatedir,;t t
6758 s,@localstatedir@,$localstatedir,;t t
6759 s,@libdir@,$libdir,;t t
6760 s,@includedir@,$includedir,;t t
6761 s,@oldincludedir@,$oldincludedir,;t t
6762 s,@infodir@,$infodir,;t t
6763 s,@mandir@,$mandir,;t t
6764 s,@build_alias@,$build_alias,;t t
6765 s,@host_alias@,$host_alias,;t t
6766 s,@target_alias@,$target_alias,;t t
6768 s,@ECHO_C@,$ECHO_C,;t t
6769 s,@ECHO_N@,$ECHO_N,;t t
6770 s,@ECHO_T@,$ECHO_T,;t t
6773 s,@CFLAGS@,$CFLAGS,;t t
6774 s,@LDFLAGS@,$LDFLAGS,;t t
6775 s,@CPPFLAGS@,$CPPFLAGS,;t t
6776 s,@ac_ct_CC@,$ac_ct_CC,;t t
6777 s,@EXEEXT@,$EXEEXT,;t t
6778 s,@OBJEXT@,$OBJEXT,;t t
6781 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6782 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6783 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6785 s,@SET_MAKE@,$SET_MAKE,;t t
6786 s,@EGREP@,$EGREP,;t t
6787 s,@ALLOCA@,$ALLOCA,;t t
6788 s,@CXREF_CPP@,$CXREF_CPP,;t t
6790 s,@LIBOBJS@,$LIBOBJS,;t t
6791 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6796 cat >>$CONFIG_STATUS <<\_ACEOF
6797 # Split the substitutions into bite-sized pieces for seds with
6798 # small command number limits, like on Digital OSF/1 and HP-UX.
6800 ac_sed_frag
=1 # Number of current file.
6801 ac_beg
=1 # First line for current file.
6802 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6805 while $ac_more_lines; do
6806 if test $ac_beg -gt 1; then
6807 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6809 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6811 if test ! -s $tmp/subs.frag
; then
6814 # The purpose of the label and of the branching condition is to
6815 # speed up the sed processing (if there are no `@' at all, there
6816 # is no need to browse any of the substitutions).
6817 # These are the two extra sed commands mentioned above.
6819 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6820 if test -z "$ac_sed_cmds"; then
6821 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6823 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6825 ac_sed_frag
=`expr $ac_sed_frag + 1`
6827 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6830 if test -z "$ac_sed_cmds"; then
6833 fi # test -n "$CONFIG_FILES"
6836 cat >>$CONFIG_STATUS <<\_ACEOF
6837 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6838 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6840 - |
*:- |
*:-:* ) # input from stdin
6842 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6843 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6844 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6845 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6846 * ) ac_file_in
=$ac_file.
in ;;
6849 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6850 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6851 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6852 X"$ac_file" : 'X\(//\)[^/]' \| \
6853 X"$ac_file" : 'X\(//\)$' \| \
6854 X"$ac_file" : 'X\(/\)' \| \
6855 . : '\(.\)' 2>/dev/null ||
6857 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6858 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6859 /^X\(\/\/\)$/{ s//\1/; q; }
6860 /^X\(\/\).*/{ s//\1/; q; }
6862 { if $as_mkdir_p; then
6867 while test ! -d "$as_dir"; do
6868 as_dirs
="$as_dir $as_dirs"
6869 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6870 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6871 X"$as_dir" : 'X\(//\)[^/]' \| \
6872 X"$as_dir" : 'X\(//\)$' \| \
6873 X"$as_dir" : 'X\(/\)' \| \
6874 . : '\(.\)' 2>/dev/null ||
6876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6877 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6878 /^X\(\/\/\)$/{ s//\1/; q; }
6879 /^X\(\/\).*/{ s//\1/; q; }
6882 test ! -n "$as_dirs" || mkdir
$as_dirs
6883 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6884 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6885 { (exit 1); exit 1; }; }; }
6889 if test "$ac_dir" != .
; then
6890 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6891 # A "../" for each directory in $ac_dir_suffix.
6892 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6894 ac_dir_suffix
= ac_top_builddir
=
6898 .
) # No --srcdir option. We are building in place.
6900 if test -z "$ac_top_builddir"; then
6903 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6905 [\\/]* | ?
:[\\/]* ) # Absolute path.
6906 ac_srcdir
=$srcdir$ac_dir_suffix;
6907 ac_top_srcdir
=$srcdir ;;
6909 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6910 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6913 # Do not use `cd foo && pwd` to compute absolute paths, because
6914 # the directories may not exist.
6916 .
) ac_abs_builddir
="$ac_dir";;
6919 .
) ac_abs_builddir
=`pwd`;;
6920 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6921 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6924 case $ac_abs_builddir in
6925 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6927 case ${ac_top_builddir}.
in
6928 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6929 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6930 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6933 case $ac_abs_builddir in
6934 .
) ac_abs_srcdir
=$ac_srcdir;;
6937 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6938 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6939 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6942 case $ac_abs_builddir in
6943 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6945 case $ac_top_srcdir in
6946 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6947 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6948 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6954 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6955 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6958 # Let's still pretend it is `configure' which instantiates (i.e., don't
6959 # use $as_me), people would be surprised to read:
6960 # /* config.h. Generated by config.status. */
6961 if test x
"$ac_file" = x-
; then
6964 configure_input
="$ac_file. "
6966 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6967 sed 's,.*/,,'` by configure."
6969 # First look for the input files in the build tree, otherwise in the
6971 ac_file_inputs
=`IFS=:
6972 for f in $ac_file_in; do
6974 -) echo $tmp/stdin ;;
6976 # Absolute (can't be DOS-style, as IFS=:)
6977 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6978 echo "$as_me: error: cannot find input file: $f" >&2;}
6979 { (exit 1); exit 1; }; }
6982 if test -f "$f"; then
6985 elif test -f "$srcdir/$f"; then
6990 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6991 echo "$as_me: error: cannot find input file: $f" >&2;}
6992 { (exit 1); exit 1; }; }
6995 done` ||
{ (exit 1); exit 1; }
6997 if test x
"$ac_file" != x-
; then
6998 { echo "$as_me:$LINENO: creating $ac_file" >&5
6999 echo "$as_me: creating $ac_file" >&6;}
7003 cat >>$CONFIG_STATUS <<_ACEOF
7007 cat >>$CONFIG_STATUS <<\_ACEOF
7009 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7010 s
,@configure_input@
,$configure_input,;t t
7011 s
,@srcdir@
,$ac_srcdir,;t t
7012 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7013 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7014 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7015 s
,@builddir@
,$ac_builddir,;t t
7016 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7017 s
,@top_builddir@
,$ac_top_builddir,;t t
7018 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7019 s
,@INSTALL@
,$ac_INSTALL,;t t
7020 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7022 if test x"$ac_file" != x-; then
7023 mv $tmp/out $ac_file
7031 cat >>$CONFIG_STATUS <<\_ACEOF
7034 # CONFIG_HEADER section.
7037 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7038 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7040 # ac_d sets the value in "#define NAME VALUE" lines.
7041 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7042 ac_dB
='[ ].*$,\1#\2'
7045 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7046 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7047 ac_uB
='$,\1#\2define\3'
7051 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7052 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7054 - |
*:- |
*:-:* ) # input from stdin
7056 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7057 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7058 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7059 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7060 * ) ac_file_in
=$ac_file.
in ;;
7063 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7064 echo "$as_me: creating $ac_file" >&6;}
7066 # First look for the input files in the build tree, otherwise in the
7068 ac_file_inputs
=`IFS=:
7069 for f in $ac_file_in; do
7071 -) echo $tmp/stdin ;;
7073 # Absolute (can't be DOS-style, as IFS=:)
7074 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7075 echo "$as_me: error: cannot find input file: $f" >&2;}
7076 { (exit 1); exit 1; }; }
7077 # Do quote $f, to prevent DOS paths from being IFS'd.
7080 if test -f "$f"; then
7083 elif test -f "$srcdir/$f"; then
7088 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7089 echo "$as_me: error: cannot find input file: $f" >&2;}
7090 { (exit 1); exit 1; }; }
7093 done` ||
{ (exit 1); exit 1; }
7094 # Remove the trailing spaces.
7095 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7099 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7100 # `conftest.undefs', that substitutes the proper values into
7101 # config.h.in to produce config.h. The first handles `#define'
7102 # templates, and the second `#undef' templates.
7103 # And first: Protect against being on the right side of a sed subst in
7104 # config.status. Protect against being in an unquoted here document
7106 rm -f conftest.defines conftest.undefs
7107 # Using a here document instead of a string reduces the quoting nightmare.
7108 # Putting comments in sed scripts is not portable.
7110 # `end' is used to avoid that the second main sed command (meant for
7111 # 0-ary CPP macros) applies to n-ary macro definitions.
7112 # See the Autoconf documentation for `clear'.
7113 cat >confdef2sed.
sed <<\_ACEOF
7118 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7120 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7123 # If some macros were called several times there might be several times
7124 # the same #defines, which is useless. Nevertheless, we may not want to
7125 # sort them, since we want the *last* AC-DEFINE to be honored.
7126 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7127 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7128 rm -f confdef2sed.sed
7130 # This sed command replaces #undef with comments. This is necessary, for
7131 # example, in the case of _POSIX_SOURCE, which is predefined and required
7132 # on some systems where configure will not decide to define it.
7133 cat >>conftest.undefs <<\_ACEOF
7134 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7137 # Break up conftest.defines because some shells have a limit on the size
7138 # of here documents, and old seds have small limits too (100 cmds).
7139 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7140 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7141 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7142 echo ' :' >>$CONFIG_STATUS
7144 while grep . conftest.defines >/dev/null
7146 # Write a limited-size here document to $tmp/defines.sed.
7147 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7148 # Speed up: don't consider the non `#define' lines.
7149 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7150 # Work around the forget-to-reset-the-flag bug.
7151 echo 't clr' >>$CONFIG_STATUS
7152 echo ': clr' >>$CONFIG_STATUS
7153 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7155 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7159 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7160 rm -f conftest.defines
7161 mv conftest.
tail conftest.defines
7163 rm -f conftest.defines
7164 echo ' fi # grep' >>$CONFIG_STATUS
7165 echo >>$CONFIG_STATUS
7167 # Break up conftest.undefs because some shells have a limit on the size
7168 # of here documents, and old seds have small limits too (100 cmds).
7169 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7171 while grep . conftest.undefs
>/dev
/null
7173 # Write a limited-size here document to $tmp/undefs.sed.
7174 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7175 # Speed up: don't consider the non
`#undef'
7176 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7177 # Work around the forget-to-reset-the-flag bug.
7178 echo 't clr' >>$CONFIG_STATUS
7179 echo ': clr' >>$CONFIG_STATUS
7180 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7182 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7186 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7187 rm -f conftest.undefs
7188 mv conftest.tail conftest.undefs
7190 rm -f conftest.undefs
7192 cat >>$CONFIG_STATUS <<\_ACEOF
7193 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7194 # use $as_me), people would be surprised to read:
7195 # /* config.h. Generated by config.status. */
7196 if test x
"$ac_file" = x-
; then
7197 echo "/* Generated by configure. */" >$tmp/config.h
7199 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7201 cat $tmp/in >>$tmp/config.h
7203 if test x
"$ac_file" != x-
; then
7204 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7205 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7206 echo "$as_me: $ac_file is unchanged" >&6;}
7208 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7209 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7210 X"$ac_file" : 'X\(//\)[^/]' \| \
7211 X"$ac_file" : 'X\(//\)$' \| \
7212 X"$ac_file" : 'X\(/\)' \| \
7213 . : '\(.\)' 2>/dev/null ||
7215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7216 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7217 /^X\(\/\/\)$/{ s//\1/; q; }
7218 /^X\(\/\).*/{ s//\1/; q; }
7220 { if $as_mkdir_p; then
7225 while test ! -d "$as_dir"; do
7226 as_dirs
="$as_dir $as_dirs"
7227 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7228 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7229 X"$as_dir" : 'X\(//\)[^/]' \| \
7230 X"$as_dir" : 'X\(//\)$' \| \
7231 X"$as_dir" : 'X\(/\)' \| \
7232 . : '\(.\)' 2>/dev/null ||
7234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7235 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7236 /^X\(\/\/\)$/{ s//\1/; q; }
7237 /^X\(\/\).*/{ s//\1/; q; }
7240 test ! -n "$as_dirs" || mkdir
$as_dirs
7241 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7242 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7243 { (exit 1); exit 1; }; }; }
7246 mv $tmp/config.h
$ac_file
7255 cat >>$CONFIG_STATUS <<\_ACEOF
7257 { (exit 0); exit 0; }
7259 chmod +x
$CONFIG_STATUS
7260 ac_clean_files
=$ac_clean_files_save
7263 # configure is writing to config.log, and then calls config.status.
7264 # config.status does its own redirection, appending to config.log.
7265 # Unfortunately, on DOS this fails, as config.log is still kept open
7266 # by configure, so config.status won't be able to write to it; its
7267 # output is simply discarded. So we exec the FD to /dev/null,
7268 # effectively closing config.log, so it can be properly (re)opened and
7269 # appended to by config.status. When coming back to configure, we
7270 # need to make the FD available again.
7271 if test "$no_create" != yes; then
7273 ac_config_status_args
=
7274 test "$silent" = yes &&
7275 ac_config_status_args
="$ac_config_status_args --quiet"
7277 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7279 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7280 # would make configure fail if this is the last instruction.
7281 $ac_cs_success ||
{ (exit 1); exit 1; }
7285 chmod 755 cxref-cpp-configure