2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU OpenMP Runtime Library 1.0.
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.
268 PACKAGE_NAME
='GNU OpenMP Runtime Library'
269 PACKAGE_TARNAME
='libgomp'
270 PACKAGE_VERSION
='1.0'
271 PACKAGE_STRING
='GNU OpenMP Runtime Library 1.0'
274 # Factoring default headers for most tests.
275 ac_includes_default
="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CFLAGS AR ac_ct_AR RANLIB ac_ct_RANLIB PERL LN_S LIBTOOL enable_shared enable_static MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT FC FCFLAGS LDFLAGS ac_ct_FC libtool_VERSION CPP CPPFLAGS EGREP SECTION_LDFLAGS OPT_LDFLAGS LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE config_path XCFLAGS XLDFLAGS link_gomp USE_FORTRAN_TRUE USE_FORTRAN_FALSE OMP_LOCK_SIZE OMP_LOCK_ALIGN OMP_NEST_LOCK_SIZE OMP_NEST_LOCK_ALIGN OMP_LOCK_KIND OMP_NEST_LOCK_KIND LIBOBJS LTLIBOBJS'
314 # Initialize some variables set by options.
316 ac_init_version
=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name
=s
,x
,x
,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir
='${exec_prefix}/bin'
340 sbindir
='${exec_prefix}/sbin'
341 libexecdir
='${exec_prefix}/libexec'
342 datadir
='${prefix}/share'
343 sysconfdir
='${prefix}/etc'
344 sharedstatedir
='${prefix}/com'
345 localstatedir
='${prefix}/var'
346 libdir
='${exec_prefix}/lib'
347 includedir
='${prefix}/include'
348 oldincludedir
='/usr/include'
349 infodir
='${prefix}/info'
350 mandir
='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
370 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
373 -build |
--build |
--buil |
--bui |
--bu)
374 ac_prev
=build_alias
;;
375 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
376 build_alias
=$ac_optarg ;;
378 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
379 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
380 ac_prev
=cache_file
;;
381 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
382 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
383 cache_file
=$ac_optarg ;;
386 cache_file
=config.cache
;;
388 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
390 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
392 datadir
=$ac_optarg ;;
394 -disable-* |
--disable-*)
395 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* |
--enable-*)
404 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
417 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
418 |
--exec |
--exe |
--ex)
419 ac_prev
=exec_prefix
;;
420 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
421 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
422 |
--exec=* |
--exe=* |
--ex=*)
423 exec_prefix
=$ac_optarg ;;
425 -gas |
--gas |
--ga |
--g)
426 # Obsolete; use --with-gas.
429 -help |
--help |
--hel |
--he |
-h)
431 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
432 ac_init_help
=recursive
;;
433 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
434 ac_init_help
=short
;;
436 -host |
--host |
--hos |
--ho)
437 ac_prev
=host_alias
;;
438 -host=* |
--host=* |
--hos=* |
--ho=*)
439 host_alias
=$ac_optarg ;;
441 -includedir |
--includedir |
--includedi |
--included |
--include \
442 |
--includ |
--inclu |
--incl |
--inc)
443 ac_prev
=includedir
;;
444 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
445 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
446 includedir
=$ac_optarg ;;
448 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
450 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
451 infodir
=$ac_optarg ;;
453 -libdir |
--libdir |
--libdi |
--libd)
455 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
458 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
459 |
--libexe |
--libex |
--libe)
460 ac_prev
=libexecdir
;;
461 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
462 |
--libexe=* |
--libex=* |
--libe=*)
463 libexecdir
=$ac_optarg ;;
465 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
466 |
--localstate |
--localstat |
--localsta |
--localst \
467 |
--locals |
--local |
--loca |
--loc |
--lo)
468 ac_prev
=localstatedir
;;
469 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
470 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
471 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
472 localstatedir
=$ac_optarg ;;
474 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
476 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
480 # Obsolete; use --without-fp.
483 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
484 |
--no-cr |
--no-c |
-n)
487 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
488 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
491 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
492 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
493 |
--oldin |
--oldi |
--old |
--ol |
--o)
494 ac_prev
=oldincludedir
;;
495 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
496 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
497 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
498 oldincludedir
=$ac_optarg ;;
500 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
502 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
505 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
506 |
--program-pre |
--program-pr |
--program-p)
507 ac_prev
=program_prefix
;;
508 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
509 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
510 program_prefix
=$ac_optarg ;;
512 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
513 |
--program-suf |
--program-su |
--program-s)
514 ac_prev
=program_suffix
;;
515 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
516 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
517 program_suffix
=$ac_optarg ;;
519 -program-transform-name |
--program-transform-name \
520 |
--program-transform-nam |
--program-transform-na \
521 |
--program-transform-n |
--program-transform- \
522 |
--program-transform |
--program-transfor \
523 |
--program-transfo |
--program-transf \
524 |
--program-trans |
--program-tran \
525 |
--progr-tra |
--program-tr |
--program-t)
526 ac_prev
=program_transform_name
;;
527 -program-transform-name=* |
--program-transform-name=* \
528 |
--program-transform-nam=* |
--program-transform-na=* \
529 |
--program-transform-n=* |
--program-transform-=* \
530 |
--program-transform=* |
--program-transfor=* \
531 |
--program-transfo=* |
--program-transf=* \
532 |
--program-trans=* |
--program-tran=* \
533 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
534 program_transform_name
=$ac_optarg ;;
536 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
537 |
-silent |
--silent |
--silen |
--sile |
--sil)
540 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
542 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
544 sbindir
=$ac_optarg ;;
546 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
547 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
548 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
550 ac_prev
=sharedstatedir
;;
551 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
552 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
553 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
555 sharedstatedir
=$ac_optarg ;;
557 -site |
--site |
--sit)
559 -site=* |
--site=* |
--sit=*)
562 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
564 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
567 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
568 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
569 ac_prev
=sysconfdir
;;
570 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
571 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
572 sysconfdir
=$ac_optarg ;;
574 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
575 ac_prev
=target_alias
;;
576 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
577 target_alias
=$ac_optarg ;;
579 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
582 -version |
--version |
--versio |
--versi |
--vers |
-V)
586 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package
=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* |
--without-*)
599 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package
=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
612 |
--x-incl |
--x-inc |
--x-in |
--x-i)
613 ac_prev
=x_includes
;;
614 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
615 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
616 x_includes
=$ac_optarg ;;
618 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
619 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
620 ac_prev
=x_libraries
;;
621 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
622 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
623 x_libraries
=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var
in exec_prefix prefix
660 eval ac_val
=$
`echo $ac_var`
662 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val
=$
`echo $ac_var`
674 [\\/$
]* | ?
:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x
; then
689 if test "x$build_alias" = x
; then
690 cross_compiling
=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
701 test "$silent" = yes && exec 6>/dev
/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted
=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir
=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted
=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set
=${build_alias+set}
741 ac_env_build_alias_value
=$build_alias
742 ac_cv_env_build_alias_set
=${build_alias+set}
743 ac_cv_env_build_alias_value
=$build_alias
744 ac_env_host_alias_set
=${host_alias+set}
745 ac_env_host_alias_value
=$host_alias
746 ac_cv_env_host_alias_set
=${host_alias+set}
747 ac_cv_env_host_alias_value
=$host_alias
748 ac_env_target_alias_set
=${target_alias+set}
749 ac_env_target_alias_value
=$target_alias
750 ac_cv_env_target_alias_set
=${target_alias+set}
751 ac_cv_env_target_alias_value
=$target_alias
752 ac_env_FC_set
=${FC+set}
754 ac_cv_env_FC_set
=${FC+set}
755 ac_cv_env_FC_value
=$FC
756 ac_env_FCFLAGS_set
=${FCFLAGS+set}
757 ac_env_FCFLAGS_value
=$FCFLAGS
758 ac_cv_env_FCFLAGS_set
=${FCFLAGS+set}
759 ac_cv_env_FCFLAGS_value
=$FCFLAGS
760 ac_env_LDFLAGS_set
=${LDFLAGS+set}
761 ac_env_LDFLAGS_value
=$LDFLAGS
762 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value
=$LDFLAGS
764 ac_env_CPP_set
=${CPP+set}
765 ac_env_CPP_value
=$CPP
766 ac_cv_env_CPP_set
=${CPP+set}
767 ac_cv_env_CPP_value
=$CPP
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
780 \`configure' configures GNU OpenMP Runtime Library 1.0 to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
834 --program-prefix=PREFIX prepend PREFIX to installed program names
835 --program-suffix=SUFFIX append SUFFIX to installed program names
836 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
839 --build=BUILD configure
for building on BUILD
[guessed
]
840 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
841 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
845 if test -n "$ac_init_help"; then
846 case $ac_init_help in
847 short | recursive
) echo "Configuration of GNU OpenMP Runtime Library 1.0:";;
852 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
853 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
854 --enable-version-specific-runtime-libs
855 Specify that runtime libraries should be installed
856 in a compiler-specific directory
[default
=no
]
857 --enable-linux-futex Use the Linux futex system call
859 --enable-multilib build many library versions
(default
)
860 --disable-dependency-tracking speeds up one-time build
861 --enable-dependency-tracking do not reject slow dependency extractors
862 --enable-shared=PKGS build shared libraries default
=yes
863 --enable-static=PKGS build static libraries default
=yes
864 --enable-fast-install=PKGS optimize
for fast installation default
=yes
865 --disable-libtool-lock avoid locking
(might
break parallel builds
)
866 --enable-maintainer-mode enable make rules and dependencies not useful
867 (and sometimes confusing
) to the casual installer
868 --enable-tls Use thread-local storage
[default
=yes]
869 --enable-symvers=STYLE enables symbol versioning of the shared library
873 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
874 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
875 --with-gnu-ld assume the C compiler uses GNU ld default
=no
876 --with-pic try to use only PIC
/non-PIC objects default
=use both
878 Some influential environment variables
:
879 CC C compiler
command
880 CFLAGS C compiler flags
881 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
882 nonstandard directory
<lib dir
>
883 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
884 headers
in a nonstandard directory
<include dir
>
885 FC Fortran compiler
command
886 FCFLAGS Fortran compiler flags
889 Use these variables to override the choices made by
`configure' or to help
890 it to find libraries and programs with nonstandard names/locations.
895 if test "$ac_init_help" = "recursive"; then
896 # If there are subdirs, report their specific --help.
898 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
899 test -d $ac_dir || continue
902 if test "$ac_dir" != .; then
903 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
904 # A "../" for each directory in $ac_dir_suffix.
905 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
907 ac_dir_suffix= ac_top_builddir=
911 .) # No --srcdir option. We are building in place.
913 if test -z "$ac_top_builddir"; then
916 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
918 [\\/]* | ?:[\\/]* ) # Absolute path.
919 ac_srcdir=$srcdir$ac_dir_suffix;
920 ac_top_srcdir=$srcdir ;;
922 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
923 ac_top_srcdir=$ac_top_builddir$srcdir ;;
926 # Do not use `cd foo
&& pwd` to compute absolute paths, because
927 # the directories may not exist.
929 .) ac_abs_builddir="$ac_dir";;
932 .) ac_abs_builddir=`pwd`;;
933 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
934 *) ac_abs_builddir=`pwd`/"$ac_dir";;
937 case $ac_abs_builddir in
938 .) ac_abs_top_builddir=${ac_top_builddir}.;;
940 case ${ac_top_builddir}. in
941 .) ac_abs_top_builddir=$ac_abs_builddir;;
942 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
943 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
946 case $ac_abs_builddir in
947 .) ac_abs_srcdir=$ac_srcdir;;
950 .) ac_abs_srcdir=$ac_abs_builddir;;
951 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
952 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
955 case $ac_abs_builddir in
956 .) ac_abs_top_srcdir=$ac_top_srcdir;;
958 case $ac_top_srcdir in
959 .) ac_abs_top_srcdir=$ac_abs_builddir;;
960 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
961 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
966 # Check for guested configure; otherwise get Cygnus style configure.
967 if test -f $ac_srcdir/configure.gnu; then
969 $SHELL $ac_srcdir/configure.gnu --help=recursive
970 elif test -f $ac_srcdir/configure; then
972 $SHELL $ac_srcdir/configure --help=recursive
973 elif test -f $ac_srcdir/configure.ac ||
974 test -f $ac_srcdir/configure.in; then
978 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
984 test -n "$ac_init_help" && exit 0
985 if $ac_init_version; then
987 GNU OpenMP Runtime Library configure 1.0
988 generated by GNU Autoconf 2.59
990 Copyright (C) 2003 Free Software Foundation, Inc.
991 This configure script is free software; the Free Software Foundation
992 gives unlimited permission to copy, distribute and modify it.
998 This file contains any messages produced by compilers while
999 running configure, to aid debugging if configure makes a mistake.
1001 It was created by GNU OpenMP Runtime Library $as_me 1.0, which was
1002 generated by GNU Autoconf 2.59. Invocation command line was
1013 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1014 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1015 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1016 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1017 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1019 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1020 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1022 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1023 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1024 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1025 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1026 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1027 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1028 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1036 test -z "$as_dir" && as_dir=.
1037 echo "PATH: $as_dir"
1052 # Keep a trace of the command line.
1053 # Strip out --no-create and --no-recursion so they do not pile up.
1054 # Strip out --silent because we don't want to record it for future runs.
1055 # Also quote any args containing shell meta-characters.
1056 # Make two passes to allow for proper duplicate-argument suppression.
1061 ac_must_keep_next=false
1067 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069 | -silent | --silent | --silen | --sile | --sil)
1071 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1072 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1075 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1077 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1078 if test $ac_must_keep_next = true; then
1079 ac_must_keep_next=false # Got value, back to normal.
1082 *=* | --config-cache | -C | -disable-* | --disable-* \
1083 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1084 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1085 | -with-* | --with-* | -without-* | --without-* | --x)
1086 case "$ac_configure_args0 " in
1087 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1090 -* ) ac_must_keep_next=true ;;
1093 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1094 # Get rid of the leading space.
1100 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1101 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1103 # When interrupted or exit'd, cleanup temporary files, and complete
1104 # config.log. We remove comments because anyway the quotes in there
1105 # would cause problems or look ugly.
1106 # WARNING: Be sure not to use single quotes in there, as some shells,
1107 # such as our DU 5.0 friend, will then `close
' the trap.
1108 trap 'exit_status
=$?
1109 # Save into config.log some information that might help in debugging.
1114 ## ---------------- ##
1115 ## Cache variables. ##
1116 ## ---------------- ##
1119 # The following way of writing the cache mishandles newlines in values,
1122 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1125 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1130 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1137 ## ----------------- ##
1138 ## Output variables. ##
1139 ## ----------------- ##
1142 for ac_var
in $ac_subst_vars
1144 eval ac_val
=$
`echo $ac_var`
1145 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -n "$ac_subst_files"; then
1156 for ac_var
in $ac_subst_files
1158 eval ac_val
=$
`echo $ac_var`
1159 echo "$ac_var='"'"'$ac_val'"'"'"
1164 if test -s confdefs.h
; then
1171 sed "/^$/d" confdefs.h |
sort
1174 test "$ac_signal" != 0 &&
1175 echo "$as_me: caught signal $ac_signal"
1176 echo "$as_me: exit $exit_status"
1178 rm -f core
*.core
&&
1179 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1182 for ac_signal in 1 2 13 15; do
1183 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1187 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1188 rm -rf conftest* confdefs.h
1189 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1192 # Predefined preprocessor variables.
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_NAME "$PACKAGE_NAME"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_STRING "$PACKAGE_STRING"
1214 cat >>confdefs.h <<_ACEOF
1215 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1219 # Let the site file select an alternate cache file if it wants to.
1220 # Prefer explicitly selected file to automatically selected ones.
1221 if test -z "$CONFIG_SITE"; then
1222 if test "x$prefix" != xNONE; then
1223 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1225 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1228 for ac_site_file in $CONFIG_SITE; do
1229 if test -r "$ac_site_file"; then
1230 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1231 echo "$as_me: loading site script $ac_site_file" >&6;}
1232 sed 's
/^
/|
/' "$ac_site_file" >&5
1237 if test -r "$cache_file"; then
1238 # Some versions of bash will fail to source /dev/null (special
1239 # files actually), so we avoid doing that.
1240 if test -f "$cache_file"; then
1241 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1242 echo "$as_me: loading cache $cache_file" >&6;}
1244 [\\/]* | ?:[\\/]* ) . $cache_file;;
1245 *) . ./$cache_file;;
1249 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1250 echo "$as_me: creating cache $cache_file" >&6;}
1254 # Check that the precious variables saved in the cache have kept the same
1256 ac_cache_corrupted=false
1257 for ac_var in `(set) 2>&1 |
1258 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1259 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1260 eval ac_new_set=\$ac_env_${ac_var}_set
1261 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1262 eval ac_new_val="\$ac_env_${ac_var}_value"
1263 case $ac_old_set,$ac_new_set in
1265 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1266 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1267 ac_cache_corrupted=: ;;
1269 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1270 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1271 ac_cache_corrupted=: ;;
1274 if test "x$ac_old_val" != "x$ac_new_val"; then
1275 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1276 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1277 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1278 echo "$as_me: former value: $ac_old_val" >&2;}
1279 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1280 echo "$as_me: current value: $ac_new_val" >&2;}
1281 ac_cache_corrupted=:
1284 # Pass precious variables to config.status.
1285 if test "$ac_new_set" = set; then
1287 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1288 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1289 *) ac_arg=$ac_var=$ac_new_val ;;
1291 case " $ac_configure_args " in
1292 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1293 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1297 if $ac_cache_corrupted; then
1298 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1299 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1300 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1301 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1302 { (exit 1); exit 1; }; }
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
1337 ac_config_headers="$ac_config_headers config.h"
1344 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1345 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1346 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1347 if test "${enable_version_specific_runtime_libs+set}" = set; then
1348 enableval="$enable_version_specific_runtime_libs"
1350 case "$enableval" in
1352 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific-runtime-libs" >&5
1353 echo "$as_me: error: Unknown argument to enable/disable version-specific-runtime-libs" >&2;}
1354 { (exit 1); exit 1; }; } ;;
1358 enable_version_specific_runtime_libs=no
1361 echo "$as_me:$LINENO: result: $enable_version_specific_runtime_libs" >&5
1362 echo "${ECHO_T}$enable_version_specific_runtime_libs" >&6
1364 echo "$as_me:$LINENO: checking for --enable-linux-futex" >&5
1365 echo $ECHO_N "checking for --enable-linux-futex... $ECHO_C" >&6
1366 # Check whether --enable-linux-futex or --disable-linux-futex was given.
1367 if test "${enable_linux_futex+set}" = set; then
1368 enableval="$enable_linux_futex"
1370 case "$enableval" in
1372 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
1373 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
1374 { (exit 1); exit 1; }; } ;;
1378 enable_linux_futex=default
1381 echo "$as_me:$LINENO: result: $enable_linux_futex" >&5
1382 echo "${ECHO_T}$enable_linux_futex" >&6
1387 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1389 # You will slowly go insane if you do not grok the following fact: when
1390 # building this library, the top-level /target/ becomes the library's
/host
/.
1392 # configure then causes --target to default to --host, exactly like any
1393 # other package using autoconf. Therefore, 'target' and 'host' will
1394 # always be the same. This makes sense both for native and cross compilers
1395 # just think about it for a little while. :-)
1397 # Also, if this library is being configured as part of a cross compiler, the
1398 # top-level configure script will pass the "real" host as $with_cross_host.
1400 # Do not delete or change the following two lines. For why, see
1401 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1403 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1404 if test -f $ac_dir/install-sh
; then
1406 ac_install_sh
="$ac_aux_dir/install-sh -c"
1408 elif test -f $ac_dir/install.sh
; then
1410 ac_install_sh
="$ac_aux_dir/install.sh -c"
1412 elif test -f $ac_dir/shtool
; then
1414 ac_install_sh
="$ac_aux_dir/shtool install -c"
1418 if test -z "$ac_aux_dir"; then
1419 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1420 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1421 { (exit 1); exit 1; }; }
1423 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1424 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1425 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1427 # Make sure we can run config.sub.
1428 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1429 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1430 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1431 { (exit 1); exit 1; }; }
1433 echo "$as_me:$LINENO: checking build system type" >&5
1434 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1435 if test "${ac_cv_build+set}" = set; then
1436 echo $ECHO_N "(cached) $ECHO_C" >&6
1438 ac_cv_build_alias
=$build_alias
1439 test -z "$ac_cv_build_alias" &&
1440 ac_cv_build_alias
=`$ac_config_guess`
1441 test -z "$ac_cv_build_alias" &&
1442 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1443 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1444 { (exit 1); exit 1; }; }
1445 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1446 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1447 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1448 { (exit 1); exit 1; }; }
1451 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1452 echo "${ECHO_T}$ac_cv_build" >&6
1454 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1455 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1456 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1459 echo "$as_me:$LINENO: checking host system type" >&5
1460 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1461 if test "${ac_cv_host+set}" = set; then
1462 echo $ECHO_N "(cached) $ECHO_C" >&6
1464 ac_cv_host_alias
=$host_alias
1465 test -z "$ac_cv_host_alias" &&
1466 ac_cv_host_alias
=$ac_cv_build_alias
1467 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1468 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1469 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1470 { (exit 1); exit 1; }; }
1473 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1474 echo "${ECHO_T}$ac_cv_host" >&6
1476 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1477 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1478 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1481 echo "$as_me:$LINENO: checking target system type" >&5
1482 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1483 if test "${ac_cv_target+set}" = set; then
1484 echo $ECHO_N "(cached) $ECHO_C" >&6
1486 ac_cv_target_alias
=$target_alias
1487 test "x$ac_cv_target_alias" = "x" &&
1488 ac_cv_target_alias
=$ac_cv_host_alias
1489 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1490 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1491 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1492 { (exit 1); exit 1; }; }
1495 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1496 echo "${ECHO_T}$ac_cv_target" >&6
1497 target
=$ac_cv_target
1498 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1499 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1500 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1503 # The aliases save the names the user supplied, while $host etc.
1504 # will get canonicalized.
1505 test -n "$target_alias" &&
1506 test "$program_prefix$program_suffix$program_transform_name" = \
1508 program_prefix
=${target_alias}-
1509 target_alias
=${target_alias-$host_alias}
1511 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1512 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1513 # 1.9.0: minimum required version
1514 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1515 # of other PACKAGE_* variables will, however, and there's nothing
1516 # we can do about that; they come from AC_INIT).
1517 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1518 # file in the top srcdir, etc, etc), so stop complaining.
1519 # no-dependencies: turns off auto dependency generation (just for now)
1520 # -Wall: turns on all automake warnings...
1521 # -Wno-portability: ...except this one, since GNU make is required.
1522 # -Wno-override: ... and this one, since we do want this in testsuite.
1523 am__api_version
="1.9"
1524 # Find a good install program. We prefer a C program (faster),
1525 # so one script is as good as another. But avoid the broken or
1526 # incompatible versions:
1527 # SysV /etc/install, /usr/sbin/install
1528 # SunOS /usr/etc/install
1529 # IRIX /sbin/install
1531 # AmigaOS /C/install, which installs bootblocks on floppy discs
1532 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1533 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1534 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1535 # OS/2's system install, which has a completely different semantic
1536 # ./install, which can be erroneously created by make from ./install.sh.
1537 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1538 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1539 if test -z "$INSTALL"; then
1540 if test "${ac_cv_path_install+set}" = set; then
1541 echo $ECHO_N "(cached) $ECHO_C" >&6
1543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1547 test -z "$as_dir" && as_dir
=.
1548 # Account for people who put trailing slashes in PATH elements.
1550 .
/ | .
// |
/cC
/* | \
1551 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1552 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1555 # OSF1 and SCO ODT 3.0 have their own names for install.
1556 # Don't use installbsd from OSF since it installs stuff as root
1558 for ac_prog
in ginstall scoinst
install; do
1559 for ac_exec_ext
in '' $ac_executable_extensions; do
1560 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1561 if test $ac_prog = install &&
1562 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1563 # AIX install. It has an incompatible calling convention.
1565 elif test $ac_prog = install &&
1566 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1567 # program-specific install script used by HP pwplus--don't use.
1570 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1582 if test "${ac_cv_path_install+set}" = set; then
1583 INSTALL
=$ac_cv_path_install
1585 # As a last resort, use the slow shell script. We don't cache a
1586 # path for INSTALL within a source directory, because that will
1587 # break other packages using the cache if that directory is
1588 # removed, or if the path is relative.
1589 INSTALL
=$ac_install_sh
1592 echo "$as_me:$LINENO: result: $INSTALL" >&5
1593 echo "${ECHO_T}$INSTALL" >&6
1595 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1596 # It thinks the first close brace ends the variable substitution.
1597 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1599 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1601 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1603 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1604 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1607 echo timestamp
> conftest.
file
1608 # Do `set' in a subshell so we don't clobber the current shell's
1609 # arguments. Must try -L first in case configure is actually a
1610 # symlink; some systems play weird games with the mod time of symlinks
1611 # (eg FreeBSD returns the mod time of the symlink's containing
1614 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1615 if test "$*" = "X"; then
1617 set X
`ls -t $srcdir/configure conftest.file`
1620 if test "$*" != "X $srcdir/configure conftest.file" \
1621 && test "$*" != "X conftest.file $srcdir/configure"; then
1623 # If neither matched, then we have a broken ls. This can happen
1624 # if, for instance, CONFIG_SHELL is bash and it inherits a
1625 # broken ls alias from the environment. This has actually
1626 # happened. Such a system could not be considered "sane".
1627 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1628 alias in your environment" >&5
1629 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1630 alias in your environment" >&2;}
1631 { (exit 1); exit 1; }; }
1634 test "$2" = conftest.
file
1640 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1641 Check your system clock" >&5
1642 echo "$as_me: error: newly created file is older than distributed files!
1643 Check your system clock" >&2;}
1644 { (exit 1); exit 1; }; }
1646 echo "$as_me:$LINENO: result: yes" >&5
1647 echo "${ECHO_T}yes" >&6
1648 test "$program_prefix" != NONE
&&
1649 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1650 # Use a double $ so make ignores it.
1651 test "$program_suffix" != NONE
&&
1652 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1653 # Double any \ or $. echo might interpret backslashes.
1654 # By default was `s,x,x', remove it if useless.
1655 cat <<\_ACEOF
>conftest.
sed
1656 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1658 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1661 # expand $ac_aux_dir to an absolute path
1662 am_aux_dir
=`cd $ac_aux_dir && pwd`
1664 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1665 # Use eval to expand $SHELL
1666 if eval "$MISSING --run true"; then
1667 am_missing_run
="$MISSING --run "
1670 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1671 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1674 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1675 # We used to keeping the `.' as first argument, in order to
1676 # allow $(mkdir_p) to be used without argument. As in
1677 # $(mkdir_p) $(somedir)
1678 # where $(somedir) is conditionally defined. However this is wrong
1680 # 1. if the package is installed by a user who cannot write `.'
1681 # make install will fail,
1682 # 2. the above comment should most certainly read
1683 # $(mkdir_p) $(DESTDIR)$(somedir)
1684 # so it does not work when $(somedir) is undefined and
1685 # $(DESTDIR) is not.
1686 # To support the latter case, we have to write
1687 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1688 # so the `.' trick is pointless.
1689 mkdir_p
='mkdir -p --'
1691 # On NextStep and OpenStep, the `mkdir' command does not
1692 # recognize any option. It will interpret all options as
1693 # directories to create, and then abort because `.' already
1695 for d
in .
/-p .
/--version;
1697 test -d $d && rmdir $d
1699 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1700 if test -f "$ac_aux_dir/mkinstalldirs"; then
1701 mkdir_p
='$(mkinstalldirs)'
1703 mkdir_p
='$(install_sh) -d'
1707 for ac_prog
in gawk mawk nawk
awk
1709 # Extract the first word of "$ac_prog", so it can be a program name with args.
1710 set dummy
$ac_prog; ac_word
=$2
1711 echo "$as_me:$LINENO: checking for $ac_word" >&5
1712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1713 if test "${ac_cv_prog_AWK+set}" = set; then
1714 echo $ECHO_N "(cached) $ECHO_C" >&6
1716 if test -n "$AWK"; then
1717 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1723 test -z "$as_dir" && as_dir
=.
1724 for ac_exec_ext
in '' $ac_executable_extensions; do
1725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1726 ac_cv_prog_AWK
="$ac_prog"
1727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1736 if test -n "$AWK"; then
1737 echo "$as_me:$LINENO: result: $AWK" >&5
1738 echo "${ECHO_T}$AWK" >&6
1740 echo "$as_me:$LINENO: result: no" >&5
1741 echo "${ECHO_T}no" >&6
1744 test -n "$AWK" && break
1747 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1748 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1749 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1750 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 cat >conftest.
make <<\_ACEOF
1755 @
echo 'ac_maketemp="$(MAKE)"'
1757 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1758 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1759 if test -n "$ac_maketemp"; then
1760 eval ac_cv_prog_make_
${ac_make}_set
=yes
1762 eval ac_cv_prog_make_
${ac_make}_set
=no
1766 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1767 echo "$as_me:$LINENO: result: yes" >&5
1768 echo "${ECHO_T}yes" >&6
1771 echo "$as_me:$LINENO: result: no" >&5
1772 echo "${ECHO_T}no" >&6
1773 SET_MAKE
="MAKE=${MAKE-make}"
1776 rm -rf .tst
2>/dev
/null
1777 mkdir .tst
2>/dev
/null
1778 if test -d .tst
; then
1783 rmdir .tst
2>/dev
/null
1785 # test to see if srcdir already configured
1786 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1787 test -f $srcdir/config.status
; then
1788 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1789 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1790 { (exit 1); exit 1; }; }
1793 # test whether we have cygpath
1794 if test -z "$CYGPATH_W"; then
1795 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1796 CYGPATH_W
='cygpath -w'
1803 # Define the identity of the package.
1808 cat >>confdefs.h
<<_ACEOF
1809 #define PACKAGE "$PACKAGE"
1813 cat >>confdefs.h
<<_ACEOF
1814 #define VERSION "$VERSION"
1817 # Some tools Automake needs.
1819 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1822 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1825 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1828 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1831 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1833 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1835 # Installed binaries are usually stripped using `strip' when the user
1836 # run `make install-strip'. However `strip' might not be the right
1837 # tool to use in cross-compilation environments, therefore Automake
1838 # will honor the `STRIP' environment variable to overrule this program.
1839 if test "$cross_compiling" != no
; then
1840 if test -n "$ac_tool_prefix"; then
1841 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1842 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1843 echo "$as_me:$LINENO: checking for $ac_word" >&5
1844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1845 if test "${ac_cv_prog_STRIP+set}" = set; then
1846 echo $ECHO_N "(cached) $ECHO_C" >&6
1848 if test -n "$STRIP"; then
1849 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1855 test -z "$as_dir" && as_dir
=.
1856 for ac_exec_ext
in '' $ac_executable_extensions; do
1857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1858 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1867 STRIP
=$ac_cv_prog_STRIP
1868 if test -n "$STRIP"; then
1869 echo "$as_me:$LINENO: result: $STRIP" >&5
1870 echo "${ECHO_T}$STRIP" >&6
1872 echo "$as_me:$LINENO: result: no" >&5
1873 echo "${ECHO_T}no" >&6
1877 if test -z "$ac_cv_prog_STRIP"; then
1879 # Extract the first word of "strip", so it can be a program name with args.
1880 set dummy strip
; ac_word
=$2
1881 echo "$as_me:$LINENO: checking for $ac_word" >&5
1882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1883 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1884 echo $ECHO_N "(cached) $ECHO_C" >&6
1886 if test -n "$ac_ct_STRIP"; then
1887 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1893 test -z "$as_dir" && as_dir
=.
1894 for ac_exec_ext
in '' $ac_executable_extensions; do
1895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1896 ac_cv_prog_ac_ct_STRIP
="strip"
1897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1903 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1906 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1907 if test -n "$ac_ct_STRIP"; then
1908 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1909 echo "${ECHO_T}$ac_ct_STRIP" >&6
1911 echo "$as_me:$LINENO: result: no" >&5
1912 echo "${ECHO_T}no" >&6
1917 STRIP
="$ac_cv_prog_STRIP"
1921 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1923 # We need awk for the "check" target. The system "awk" is bad on
1925 # Always define AMTAR for backward compatibility.
1927 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1929 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1935 # Default to --enable-multilib
1936 # Check whether --enable-multilib or --disable-multilib was given.
1937 if test "${enable_multilib+set}" = set; then
1938 enableval
="$enable_multilib"
1939 case "$enableval" in
1940 yes) multilib
=yes ;;
1942 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1943 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1944 { (exit 1); exit 1; }; } ;;
1950 # We may get other options which we leave undocumented:
1951 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1952 # See config-ml.in if you want the gory details.
1954 if test "$srcdir" = "."; then
1955 if test "$with_target_subdir" != "."; then
1956 multi_basedir
="$srcdir/$with_multisrctop../.."
1958 multi_basedir
="$srcdir/$with_multisrctop.."
1961 multi_basedir
="$srcdir/.."
1965 ac_config_commands
="$ac_config_commands default-1"
1968 # Calculate toolexeclibdir
1969 # Also toolexecdir, though it's only used in toolexeclibdir
1970 case ${enable_version_specific_runtime_libs} in
1972 # Need the gcc compiler version to know where to install libraries
1973 # and header files if --enable-version-specific-runtime-libs option
1975 toolexecdir
='$(libdir)/gcc/$(target_alias)'
1976 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
1979 if test -n "$with_cross_host" &&
1980 test x
"$with_cross_host" != x
"no"; then
1981 # Install a library built with a cross compiler in tooldir, not libdir.
1982 toolexecdir
='$(exec_prefix)/$(target_alias)'
1983 toolexeclibdir
='$(toolexecdir)/lib'
1985 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
1986 toolexeclibdir
='$(libdir)'
1988 multi_os_directory
=`$CC -print-multi-os-directory`
1989 case $multi_os_directory in
1990 .
) ;; # Avoid trailing /.
1991 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
1998 # Check the compiler.
1999 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2000 # We must force CC to /not/ be precious variables; otherwise
2001 # the wrong, non-multilib-adjusted value will be used in multilibs.
2002 # As a side effect, we have to subst CFLAGS ourselves.
2007 ac_cpp
='$CPP $CPPFLAGS'
2008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2011 if test -n "$ac_tool_prefix"; then
2012 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2013 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2014 echo "$as_me:$LINENO: checking for $ac_word" >&5
2015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2016 if test "${ac_cv_prog_CC+set}" = set; then
2017 echo $ECHO_N "(cached) $ECHO_C" >&6
2019 if test -n "$CC"; then
2020 ac_cv_prog_CC
="$CC" # Let the user override the test.
2022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2026 test -z "$as_dir" && as_dir
=.
2027 for ac_exec_ext
in '' $ac_executable_extensions; do
2028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2029 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2039 if test -n "$CC"; then
2040 echo "$as_me:$LINENO: result: $CC" >&5
2041 echo "${ECHO_T}$CC" >&6
2043 echo "$as_me:$LINENO: result: no" >&5
2044 echo "${ECHO_T}no" >&6
2048 if test -z "$ac_cv_prog_CC"; then
2050 # Extract the first word of "gcc", so it can be a program name with args.
2051 set dummy gcc
; ac_word
=$2
2052 echo "$as_me:$LINENO: checking for $ac_word" >&5
2053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2054 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2055 echo $ECHO_N "(cached) $ECHO_C" >&6
2057 if test -n "$ac_ct_CC"; then
2058 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2064 test -z "$as_dir" && as_dir
=.
2065 for ac_exec_ext
in '' $ac_executable_extensions; do
2066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2067 ac_cv_prog_ac_ct_CC
="gcc"
2068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2076 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2077 if test -n "$ac_ct_CC"; then
2078 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2079 echo "${ECHO_T}$ac_ct_CC" >&6
2081 echo "$as_me:$LINENO: result: no" >&5
2082 echo "${ECHO_T}no" >&6
2090 if test -z "$CC"; then
2091 if test -n "$ac_tool_prefix"; then
2092 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2093 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2094 echo "$as_me:$LINENO: checking for $ac_word" >&5
2095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2096 if test "${ac_cv_prog_CC+set}" = set; then
2097 echo $ECHO_N "(cached) $ECHO_C" >&6
2099 if test -n "$CC"; then
2100 ac_cv_prog_CC
="$CC" # Let the user override the test.
2102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2106 test -z "$as_dir" && as_dir
=.
2107 for ac_exec_ext
in '' $ac_executable_extensions; do
2108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2109 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2119 if test -n "$CC"; then
2120 echo "$as_me:$LINENO: result: $CC" >&5
2121 echo "${ECHO_T}$CC" >&6
2123 echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6
2128 if test -z "$ac_cv_prog_CC"; then
2130 # Extract the first word of "cc", so it can be a program name with args.
2131 set dummy cc
; ac_word
=$2
2132 echo "$as_me:$LINENO: checking for $ac_word" >&5
2133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2134 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2135 echo $ECHO_N "(cached) $ECHO_C" >&6
2137 if test -n "$ac_ct_CC"; then
2138 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2144 test -z "$as_dir" && as_dir
=.
2145 for ac_exec_ext
in '' $ac_executable_extensions; do
2146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2147 ac_cv_prog_ac_ct_CC
="cc"
2148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2156 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2157 if test -n "$ac_ct_CC"; then
2158 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2159 echo "${ECHO_T}$ac_ct_CC" >&6
2161 echo "$as_me:$LINENO: result: no" >&5
2162 echo "${ECHO_T}no" >&6
2171 if test -z "$CC"; then
2172 # Extract the first word of "cc", so it can be a program name with args.
2173 set dummy cc
; ac_word
=$2
2174 echo "$as_me:$LINENO: checking for $ac_word" >&5
2175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2176 if test "${ac_cv_prog_CC+set}" = set; then
2177 echo $ECHO_N "(cached) $ECHO_C" >&6
2179 if test -n "$CC"; then
2180 ac_cv_prog_CC
="$CC" # Let the user override the test.
2183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2187 test -z "$as_dir" && as_dir
=.
2188 for ac_exec_ext
in '' $ac_executable_extensions; do
2189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2190 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2191 ac_prog_rejected
=yes
2195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2201 if test $ac_prog_rejected = yes; then
2202 # We found a bogon in the path, so make sure we never use it.
2203 set dummy
$ac_cv_prog_CC
2205 if test $# != 0; then
2206 # We chose a different compiler from the bogus one.
2207 # However, it has the same basename, so the bogon will be chosen
2208 # first if we set CC to just the basename; use the full file name.
2210 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2216 if test -n "$CC"; then
2217 echo "$as_me:$LINENO: result: $CC" >&5
2218 echo "${ECHO_T}$CC" >&6
2220 echo "$as_me:$LINENO: result: no" >&5
2221 echo "${ECHO_T}no" >&6
2225 if test -z "$CC"; then
2226 if test -n "$ac_tool_prefix"; then
2229 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2230 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2231 echo "$as_me:$LINENO: checking for $ac_word" >&5
2232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2233 if test "${ac_cv_prog_CC+set}" = set; then
2234 echo $ECHO_N "(cached) $ECHO_C" >&6
2236 if test -n "$CC"; then
2237 ac_cv_prog_CC
="$CC" # Let the user override the test.
2239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2243 test -z "$as_dir" && as_dir
=.
2244 for ac_exec_ext
in '' $ac_executable_extensions; do
2245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2246 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2256 if test -n "$CC"; then
2257 echo "$as_me:$LINENO: result: $CC" >&5
2258 echo "${ECHO_T}$CC" >&6
2260 echo "$as_me:$LINENO: result: no" >&5
2261 echo "${ECHO_T}no" >&6
2264 test -n "$CC" && break
2267 if test -z "$CC"; then
2271 # Extract the first word of "$ac_prog", so it can be a program name with args.
2272 set dummy
$ac_prog; ac_word
=$2
2273 echo "$as_me:$LINENO: checking for $ac_word" >&5
2274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2275 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2276 echo $ECHO_N "(cached) $ECHO_C" >&6
2278 if test -n "$ac_ct_CC"; then
2279 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2285 test -z "$as_dir" && as_dir
=.
2286 for ac_exec_ext
in '' $ac_executable_extensions; do
2287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2288 ac_cv_prog_ac_ct_CC
="$ac_prog"
2289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2298 if test -n "$ac_ct_CC"; then
2299 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2300 echo "${ECHO_T}$ac_ct_CC" >&6
2302 echo "$as_me:$LINENO: result: no" >&5
2303 echo "${ECHO_T}no" >&6
2306 test -n "$ac_ct_CC" && break
2315 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2316 See \`config.log' for more details." >&5
2317 echo "$as_me: error: no acceptable C compiler found in \$PATH
2318 See \`config.log' for more details." >&2;}
2319 { (exit 1); exit 1; }; }
2321 # Provide some information about the compiler.
2322 echo "$as_me:$LINENO:" \
2323 "checking for C compiler version" >&5
2324 ac_compiler
=`set X $ac_compile; echo $2`
2325 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2326 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329 (exit $ac_status); }
2330 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2331 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); }
2335 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2336 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339 (exit $ac_status); }
2341 cat >conftest.
$ac_ext <<_ACEOF
2344 cat confdefs.h
>>conftest.
$ac_ext
2345 cat >>conftest.
$ac_ext <<_ACEOF
2346 /* end confdefs.h. */
2356 ac_clean_files_save
=$ac_clean_files
2357 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2358 # Try to create an executable without -o first, disregard a.out.
2359 # It will help us diagnose broken compilers, and finding out an intuition
2361 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2362 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2363 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2364 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2365 (eval $ac_link_default) 2>&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); }; then
2369 # Find the output, starting from the most likely. This scheme is
2370 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2373 # Be careful to initialize this variable, since it used to be cached.
2374 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2376 # b.out is created by i960 compilers.
2377 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2379 test -f "$ac_file" ||
continue
2381 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2384 # This is the source file.
2387 # We found the default executable, but exeext='' is most
2391 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2392 # FIXME: I believe we export ac_cv_exeext for Libtool,
2393 # but it would be cool to find out if it's true. Does anybody
2394 # maintain Libtool? --akim.
2402 echo "$as_me: failed program was:" >&5
2403 sed 's/^/| /' conftest.
$ac_ext >&5
2405 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2406 See \`config.log' for more details." >&5
2407 echo "$as_me: error: C compiler cannot create executables
2408 See \`config.log' for more details." >&2;}
2409 { (exit 77); exit 77; }; }
2412 ac_exeext
=$ac_cv_exeext
2413 echo "$as_me:$LINENO: result: $ac_file" >&5
2414 echo "${ECHO_T}$ac_file" >&6
2416 # Check the compiler produces executables we can run. If not, either
2417 # the compiler is broken, or we cross compile.
2418 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2419 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2420 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2421 # If not cross compiling, check that we can run a simple program.
2422 if test "$cross_compiling" != yes; then
2423 if { ac_try
='./$ac_file'
2424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428 (exit $ac_status); }; }; then
2431 if test "$cross_compiling" = maybe
; then
2434 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2435 If you meant to cross compile, use \`--host'.
2436 See \`config.log' for more details." >&5
2437 echo "$as_me: error: cannot run C compiled programs.
2438 If you meant to cross compile, use \`--host'.
2439 See \`config.log' for more details." >&2;}
2440 { (exit 1); exit 1; }; }
2444 echo "$as_me:$LINENO: result: yes" >&5
2445 echo "${ECHO_T}yes" >&6
2447 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2448 ac_clean_files
=$ac_clean_files_save
2449 # Check the compiler produces executables we can run. If not, either
2450 # the compiler is broken, or we cross compile.
2451 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2452 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2453 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2454 echo "${ECHO_T}$cross_compiling" >&6
2456 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2457 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2459 (eval $ac_link) 2>&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }; then
2463 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2464 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2465 # work properly (i.e., refer to `conftest.exe'), while it won't with
2467 for ac_file
in conftest.exe conftest conftest.
*; do
2468 test -f "$ac_file" ||
continue
2470 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2471 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2478 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2479 See \`config.log' for more details." >&5
2480 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2481 See \`config.log' for more details." >&2;}
2482 { (exit 1); exit 1; }; }
2485 rm -f conftest
$ac_cv_exeext
2486 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2487 echo "${ECHO_T}$ac_cv_exeext" >&6
2489 rm -f conftest.
$ac_ext
2490 EXEEXT
=$ac_cv_exeext
2492 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2493 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2494 if test "${ac_cv_objext+set}" = set; then
2495 echo $ECHO_N "(cached) $ECHO_C" >&6
2497 cat >conftest.
$ac_ext <<_ACEOF
2500 cat confdefs.h
>>conftest.
$ac_ext
2501 cat >>conftest.
$ac_ext <<_ACEOF
2502 /* end confdefs.h. */
2512 rm -f conftest.o conftest.obj
2513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2514 (eval $ac_compile) 2>&5
2516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517 (exit $ac_status); }; then
2518 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2520 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2521 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2526 echo "$as_me: failed program was:" >&5
2527 sed 's/^/| /' conftest.
$ac_ext >&5
2529 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2530 See \`config.log' for more details." >&5
2531 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2532 See \`config.log' for more details." >&2;}
2533 { (exit 1); exit 1; }; }
2536 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2538 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2539 echo "${ECHO_T}$ac_cv_objext" >&6
2540 OBJEXT
=$ac_cv_objext
2542 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2543 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2544 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2545 echo $ECHO_N "(cached) $ECHO_C" >&6
2547 cat >conftest.
$ac_ext <<_ACEOF
2550 cat confdefs.h
>>conftest.
$ac_ext
2551 cat >>conftest.
$ac_ext <<_ACEOF
2552 /* end confdefs.h. */
2565 rm -f conftest.
$ac_objext
2566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2567 (eval $ac_compile) 2>conftest.er1
2569 grep -v '^ *+' conftest.er1
>conftest.err
2571 cat conftest.err
>&5
2572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573 (exit $ac_status); } &&
2574 { ac_try
='test -z "$ac_c_werror_flag"
2575 || test ! -s conftest.err'
2576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580 (exit $ac_status); }; } &&
2581 { ac_try
='test -s conftest.$ac_objext'
2582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); }; }; then
2589 echo "$as_me: failed program was:" >&5
2590 sed 's/^/| /' conftest.
$ac_ext >&5
2594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2595 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2598 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2599 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2600 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2601 ac_test_CFLAGS
=${CFLAGS+set}
2602 ac_save_CFLAGS
=$CFLAGS
2604 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2605 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2606 if test "${ac_cv_prog_cc_g+set}" = set; then
2607 echo $ECHO_N "(cached) $ECHO_C" >&6
2609 cat >conftest.
$ac_ext <<_ACEOF
2612 cat confdefs.h
>>conftest.
$ac_ext
2613 cat >>conftest.
$ac_ext <<_ACEOF
2614 /* end confdefs.h. */
2624 rm -f conftest.
$ac_objext
2625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2626 (eval $ac_compile) 2>conftest.er1
2628 grep -v '^ *+' conftest.er1
>conftest.err
2630 cat conftest.err
>&5
2631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2632 (exit $ac_status); } &&
2633 { ac_try
='test -z "$ac_c_werror_flag"
2634 || test ! -s conftest.err'
2635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }; } &&
2640 { ac_try
='test -s conftest.$ac_objext'
2641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645 (exit $ac_status); }; }; then
2648 echo "$as_me: failed program was:" >&5
2649 sed 's/^/| /' conftest.
$ac_ext >&5
2653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2655 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2656 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2657 if test "$ac_test_CFLAGS" = set; then
2658 CFLAGS
=$ac_save_CFLAGS
2659 elif test $ac_cv_prog_cc_g = yes; then
2660 if test "$GCC" = yes; then
2666 if test "$GCC" = yes; then
2672 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2673 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2674 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2675 echo $ECHO_N "(cached) $ECHO_C" >&6
2677 ac_cv_prog_cc_stdc
=no
2679 cat >conftest.
$ac_ext <<_ACEOF
2682 cat confdefs.h
>>conftest.
$ac_ext
2683 cat >>conftest.
$ac_ext <<_ACEOF
2684 /* end confdefs.h. */
2687 #include <sys/types.h>
2688 #include <sys/stat.h>
2689 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2690 struct buf { int x; };
2691 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2692 static char *e (p, i)
2698 static char *f (char * (*g) (char **, int), char **p, ...)
2703 s = g (p, va_arg (v,int));
2708 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2709 function prototypes and stuff, but not '\xHH' hex character constants.
2710 These don't provoke an error unfortunately, instead are silently treated
2711 as 'x'. The following induces an error, until -std1 is added to get
2712 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2713 array size at least. It's necessary to write '\x00'==0 to get something
2714 that's true only with -std1. */
2715 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2717 int test (int i, double x);
2718 struct s1 {int (*f) (int a);};
2719 struct s2 {int (*f) (double a);};
2720 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2726 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2731 # Don't try gcc -ansi; that turns off useful extensions and
2732 # breaks some systems' header files.
2733 # AIX -qlanglvl=ansi
2734 # Ultrix and OSF/1 -std1
2735 # HP-UX 10.20 and later -Ae
2736 # HP-UX older versions -Aa -D_HPUX_SOURCE
2737 # SVR4 -Xc -D__EXTENSIONS__
2738 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2740 CC
="$ac_save_CC $ac_arg"
2741 rm -f conftest.
$ac_objext
2742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2743 (eval $ac_compile) 2>conftest.er1
2745 grep -v '^ *+' conftest.er1
>conftest.err
2747 cat conftest.err
>&5
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); } &&
2750 { ac_try
='test -z "$ac_c_werror_flag"
2751 || test ! -s conftest.err'
2752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); }; } &&
2757 { ac_try
='test -s conftest.$ac_objext'
2758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); }; }; then
2763 ac_cv_prog_cc_stdc
=$ac_arg
2766 echo "$as_me: failed program was:" >&5
2767 sed 's/^/| /' conftest.
$ac_ext >&5
2770 rm -f conftest.err conftest.
$ac_objext
2772 rm -f conftest.
$ac_ext conftest.
$ac_objext
2777 case "x$ac_cv_prog_cc_stdc" in
2779 echo "$as_me:$LINENO: result: none needed" >&5
2780 echo "${ECHO_T}none needed" >&6 ;;
2782 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2783 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2784 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2787 # Some people use a C++ compiler to compile C. Since we use `exit',
2788 # in C++ we need to declare it. In case someone uses the same compiler
2789 # for both compiling C and C++ we need to have the C++ compiler decide
2790 # the declaration of exit, since it's the most demanding environment.
2791 cat >conftest.
$ac_ext <<_ACEOF
2796 rm -f conftest.
$ac_objext
2797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2798 (eval $ac_compile) 2>conftest.er1
2800 grep -v '^ *+' conftest.er1
>conftest.err
2802 cat conftest.err
>&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); } &&
2805 { ac_try
='test -z "$ac_c_werror_flag"
2806 || test ! -s conftest.err'
2807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811 (exit $ac_status); }; } &&
2812 { ac_try
='test -s conftest.$ac_objext'
2813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817 (exit $ac_status); }; }; then
2818 for ac_declaration
in \
2820 'extern "C" void std::exit (int) throw (); using std::exit;' \
2821 'extern "C" void std::exit (int); using std::exit;' \
2822 'extern "C" void exit (int) throw ();' \
2823 'extern "C" void exit (int);' \
2826 cat >conftest.
$ac_ext <<_ACEOF
2829 cat confdefs.h
>>conftest.
$ac_ext
2830 cat >>conftest.
$ac_ext <<_ACEOF
2831 /* end confdefs.h. */
2842 rm -f conftest.
$ac_objext
2843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2844 (eval $ac_compile) 2>conftest.er1
2846 grep -v '^ *+' conftest.er1
>conftest.err
2848 cat conftest.err
>&5
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); } &&
2851 { ac_try
='test -z "$ac_c_werror_flag"
2852 || test ! -s conftest.err'
2853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2857 (exit $ac_status); }; } &&
2858 { ac_try
='test -s conftest.$ac_objext'
2859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2863 (exit $ac_status); }; }; then
2866 echo "$as_me: failed program was:" >&5
2867 sed 's/^/| /' conftest.
$ac_ext >&5
2871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2872 cat >conftest.
$ac_ext <<_ACEOF
2875 cat confdefs.h
>>conftest.
$ac_ext
2876 cat >>conftest.
$ac_ext <<_ACEOF
2877 /* end confdefs.h. */
2887 rm -f conftest.
$ac_objext
2888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2889 (eval $ac_compile) 2>conftest.er1
2891 grep -v '^ *+' conftest.er1
>conftest.err
2893 cat conftest.err
>&5
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); } &&
2896 { ac_try
='test -z "$ac_c_werror_flag"
2897 || test ! -s conftest.err'
2898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); }; } &&
2903 { ac_try
='test -s conftest.$ac_objext'
2904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); }; }; then
2911 echo "$as_me: failed program was:" >&5
2912 sed 's/^/| /' conftest.
$ac_ext >&5
2915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2918 if test -n "$ac_declaration"; then
2919 echo '#ifdef __cplusplus' >>confdefs.h
2920 echo $ac_declaration >>confdefs.h
2921 echo '#endif' >>confdefs.h
2925 echo "$as_me: failed program was:" >&5
2926 sed 's/^/| /' conftest.
$ac_ext >&5
2929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2931 ac_cpp
='$CPP $CPPFLAGS'
2932 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2933 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2934 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2935 DEPDIR
="${am__leading_dot}deps"
2937 ac_config_commands
="$ac_config_commands depfiles"
2940 am_make
=${MAKE-make}
2941 cat > confinc
<< 'END'
2946 # If we don't find an include directive, just comment out the code.
2947 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2948 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2952 # First try GNU make style include.
2953 echo "include confinc" > confmf
2954 # We grep out `Entering directory' and `Leaving directory'
2955 # messages which can occur if `w' ends up in MAKEFLAGS.
2956 # In particular we don't look at `^make:' because GNU make might
2957 # be invoked under some other name (usually "gmake"), in which
2958 # case it prints its new name instead of `make'.
2959 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2964 # Now try BSD make style include.
2965 if test "$am__include" = "#"; then
2966 echo '.include "confinc"' > confmf
2967 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2968 am__include
=.include
2975 echo "$as_me:$LINENO: result: $_am_result" >&5
2976 echo "${ECHO_T}$_am_result" >&6
2977 rm -f confinc confmf
2979 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2980 if test "${enable_dependency_tracking+set}" = set; then
2981 enableval
="$enable_dependency_tracking"
2984 if test "x$enable_dependency_tracking" != xno
; then
2985 am_depcomp
="$ac_aux_dir/depcomp"
2990 if test "x$enable_dependency_tracking" != xno; then
3001 depcc
="$CC" am_compiler_list
=
3003 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3004 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3005 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3006 echo $ECHO_N "(cached) $ECHO_C" >&6
3008 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3009 # We make a subdir and do the tests there. Otherwise we can end up
3010 # making bogus files that we don't know about and never remove. For
3011 # instance it was reported that on HP-UX the gcc test will end up
3012 # making a dummy file named `D' -- because `-MD' means `put the output
3015 # Copy depcomp to subdir because otherwise we won't find it if we're
3016 # using a relative directory.
3017 cp "$am_depcomp" conftest.dir
3019 # We will build objects and dependencies in a subdirectory because
3020 # it helps to detect inapplicable dependency modes. For instance
3021 # both Tru64's cc and ICC support -MD to output dependencies as a
3022 # side effect of compilation, but ICC will put the dependencies in
3023 # the current directory while Tru64 will put them in the object
3027 am_cv_CC_dependencies_compiler_type
=none
3028 if test "$am_compiler_list" = ""; then
3029 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3031 for depmode
in $am_compiler_list; do
3032 # Setup a source with many dependencies, because some compilers
3033 # like to wrap large dependency lists on column 80 (with \), and
3034 # we should not choose a depcomp mode which is confused by this.
3036 # We need to recreate these files for each test, as the compiler may
3037 # overwrite some of them when testing with obscure command lines.
3038 # This happens at least with the AIX C compiler.
3040 for i
in 1 2 3 4 5 6; do
3041 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3042 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3043 # Solaris 8's {/usr,}/bin/sh.
3044 touch sub
/conftst
$i.h
3046 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3050 # after this tag, mechanisms are not by side-effect, so they'll
3051 # only be used when explicitly requested
3052 if test "x$enable_dependency_tracking" = xyes
; then
3060 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3061 # mode. It turns out that the SunPro C++ compiler does not properly
3062 # handle `-M -o', and we need to detect this.
3063 if depmode
=$depmode \
3064 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3065 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3066 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3067 >/dev
/null
2>conftest.err
&&
3068 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3069 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3070 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3071 # icc doesn't choke on unknown options, it will just issue warnings
3072 # or remarks (even with -Werror). So we grep stderr for any message
3073 # that says an option was ignored or not supported.
3074 # When given -MP, icc 7.0 and 7.1 complain thusly:
3075 # icc: Command line warning: ignoring option '-M'; no argument required
3076 # The diagnosis changed in icc 8.0:
3077 # icc: Command line remark: option '-MP' not supported
3078 if (grep 'ignoring option' conftest.err ||
3079 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3080 am_cv_CC_dependencies_compiler_type
=$depmode
3089 am_cv_CC_dependencies_compiler_type
=none
3093 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3094 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3095 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3100 test "x$enable_dependency_tracking" != xno \
3101 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3103 am__fastdepCC_FALSE
='#'
3105 am__fastdepCC_TRUE
='#'
3106 am__fastdepCC_FALSE
=
3114 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
3115 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
3116 # in both places for now and restore CFLAGS at the end of config.
3117 save_CFLAGS
="$CFLAGS"
3119 # Add -Wall -Werror if we are using GCC.
3120 if test "x$GCC" = "xyes"; then
3121 XCFLAGS
="$XCFLAGS -Wall -Werror"
3124 # Find other programs we need.
3125 if test -n "$ac_tool_prefix"; then
3126 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3127 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3128 echo "$as_me:$LINENO: checking for $ac_word" >&5
3129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3130 if test "${ac_cv_prog_AR+set}" = set; then
3131 echo $ECHO_N "(cached) $ECHO_C" >&6
3133 if test -n "$AR"; then
3134 ac_cv_prog_AR
="$AR" # Let the user override the test.
3136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3140 test -z "$as_dir" && as_dir
=.
3141 for ac_exec_ext
in '' $ac_executable_extensions; do
3142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3143 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3153 if test -n "$AR"; then
3154 echo "$as_me:$LINENO: result: $AR" >&5
3155 echo "${ECHO_T}$AR" >&6
3157 echo "$as_me:$LINENO: result: no" >&5
3158 echo "${ECHO_T}no" >&6
3162 if test -z "$ac_cv_prog_AR"; then
3164 # Extract the first word of "ar", so it can be a program name with args.
3165 set dummy
ar; ac_word
=$2
3166 echo "$as_me:$LINENO: checking for $ac_word" >&5
3167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3168 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3169 echo $ECHO_N "(cached) $ECHO_C" >&6
3171 if test -n "$ac_ct_AR"; then
3172 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3178 test -z "$as_dir" && as_dir
=.
3179 for ac_exec_ext
in '' $ac_executable_extensions; do
3180 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3181 ac_cv_prog_ac_ct_AR
="ar"
3182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3190 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3191 if test -n "$ac_ct_AR"; then
3192 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3193 echo "${ECHO_T}$ac_ct_AR" >&6
3195 echo "$as_me:$LINENO: result: no" >&5
3196 echo "${ECHO_T}no" >&6
3204 if test -n "$ac_tool_prefix"; then
3205 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3206 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3207 echo "$as_me:$LINENO: checking for $ac_word" >&5
3208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3209 if test "${ac_cv_prog_RANLIB+set}" = set; then
3210 echo $ECHO_N "(cached) $ECHO_C" >&6
3212 if test -n "$RANLIB"; then
3213 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3219 test -z "$as_dir" && as_dir
=.
3220 for ac_exec_ext
in '' $ac_executable_extensions; do
3221 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3222 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3231 RANLIB
=$ac_cv_prog_RANLIB
3232 if test -n "$RANLIB"; then
3233 echo "$as_me:$LINENO: result: $RANLIB" >&5
3234 echo "${ECHO_T}$RANLIB" >&6
3236 echo "$as_me:$LINENO: result: no" >&5
3237 echo "${ECHO_T}no" >&6
3241 if test -z "$ac_cv_prog_RANLIB"; then
3242 ac_ct_RANLIB
=$RANLIB
3243 # Extract the first word of "ranlib", so it can be a program name with args.
3244 set dummy ranlib
; ac_word
=$2
3245 echo "$as_me:$LINENO: checking for $ac_word" >&5
3246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3247 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3248 echo $ECHO_N "(cached) $ECHO_C" >&6
3250 if test -n "$ac_ct_RANLIB"; then
3251 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3257 test -z "$as_dir" && as_dir
=.
3258 for ac_exec_ext
in '' $ac_executable_extensions; do
3259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3260 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3267 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
="ranlib-not-found-in-path-error"
3270 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3271 if test -n "$ac_ct_RANLIB"; then
3272 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3273 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3275 echo "$as_me:$LINENO: result: no" >&5
3276 echo "${ECHO_T}no" >&6
3279 RANLIB
=$ac_ct_RANLIB
3281 RANLIB
="$ac_cv_prog_RANLIB"
3284 # Extract the first word of "perl", so it can be a program name with args.
3285 set dummy perl
; ac_word
=$2
3286 echo "$as_me:$LINENO: checking for $ac_word" >&5
3287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3288 if test "${ac_cv_path_PERL+set}" = set; then
3289 echo $ECHO_N "(cached) $ECHO_C" >&6
3293 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
3296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3300 test -z "$as_dir" && as_dir
=.
3301 for ac_exec_ext
in '' $ac_executable_extensions; do
3302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3303 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
3304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3310 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="perl-not-found-in-path-error"
3314 PERL
=$ac_cv_path_PERL
3316 if test -n "$PERL"; then
3317 echo "$as_me:$LINENO: result: $PERL" >&5
3318 echo "${ECHO_T}$PERL" >&6
3320 echo "$as_me:$LINENO: result: no" >&5
3321 echo "${ECHO_T}no" >&6
3324 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3325 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3326 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3327 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3328 echo $ECHO_N "(cached) $ECHO_C" >&6
3330 cat >conftest.
make <<\_ACEOF
3332 @
echo 'ac_maketemp="$(MAKE)"'
3334 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3335 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3336 if test -n "$ac_maketemp"; then
3337 eval ac_cv_prog_make_
${ac_make}_set
=yes
3339 eval ac_cv_prog_make_
${ac_make}_set
=no
3343 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3344 echo "$as_me:$LINENO: result: yes" >&5
3345 echo "${ECHO_T}yes" >&6
3348 echo "$as_me:$LINENO: result: no" >&5
3349 echo "${ECHO_T}no" >&6
3350 SET_MAKE
="MAKE=${MAKE-make}"
3353 # Find a good install program. We prefer a C program (faster),
3354 # so one script is as good as another. But avoid the broken or
3355 # incompatible versions:
3356 # SysV /etc/install, /usr/sbin/install
3357 # SunOS /usr/etc/install
3358 # IRIX /sbin/install
3360 # AmigaOS /C/install, which installs bootblocks on floppy discs
3361 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3362 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3363 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3364 # OS/2's system install, which has a completely different semantic
3365 # ./install, which can be erroneously created by make from ./install.sh.
3366 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3367 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3368 if test -z "$INSTALL"; then
3369 if test "${ac_cv_path_install+set}" = set; then
3370 echo $ECHO_N "(cached) $ECHO_C" >&6
3372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3376 test -z "$as_dir" && as_dir
=.
3377 # Account for people who put trailing slashes in PATH elements.
3379 .
/ | .
// |
/cC
/* | \
3380 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3381 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3384 # OSF1 and SCO ODT 3.0 have their own names for install.
3385 # Don't use installbsd from OSF since it installs stuff as root
3387 for ac_prog
in ginstall scoinst
install; do
3388 for ac_exec_ext
in '' $ac_executable_extensions; do
3389 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3390 if test $ac_prog = install &&
3391 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3392 # AIX install. It has an incompatible calling convention.
3394 elif test $ac_prog = install &&
3395 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3396 # program-specific install script used by HP pwplus--don't use.
3399 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3411 if test "${ac_cv_path_install+set}" = set; then
3412 INSTALL
=$ac_cv_path_install
3414 # As a last resort, use the slow shell script. We don't cache a
3415 # path for INSTALL within a source directory, because that will
3416 # break other packages using the cache if that directory is
3417 # removed, or if the path is relative.
3418 INSTALL
=$ac_install_sh
3421 echo "$as_me:$LINENO: result: $INSTALL" >&5
3422 echo "${ECHO_T}$INSTALL" >&6
3424 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3425 # It thinks the first close brace ends the variable substitution.
3426 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3428 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3430 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3434 # Check whether --enable-shared or --disable-shared was given.
3435 if test "${enable_shared+set}" = set; then
3436 enableval
="$enable_shared"
3437 p
=${PACKAGE-default}
3439 yes) enable_shared
=yes ;;
3440 no
) enable_shared
=no
;;
3443 # Look at the argument we got. We use all the common list separators.
3444 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3445 for pkg
in $enableval; do
3446 if test "X$pkg" = "X$p"; then
3456 # Check whether --enable-static or --disable-static was given.
3457 if test "${enable_static+set}" = set; then
3458 enableval
="$enable_static"
3459 p
=${PACKAGE-default}
3461 yes) enable_static
=yes ;;
3462 no
) enable_static
=no
;;
3465 # Look at the argument we got. We use all the common list separators.
3466 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3467 for pkg
in $enableval; do
3468 if test "X$pkg" = "X$p"; then
3478 # Check whether --enable-fast-install or --disable-fast-install was given.
3479 if test "${enable_fast_install+set}" = set; then
3480 enableval
="$enable_fast_install"
3481 p
=${PACKAGE-default}
3483 yes) enable_fast_install
=yes ;;
3484 no
) enable_fast_install
=no
;;
3486 enable_fast_install
=no
3487 # Look at the argument we got. We use all the common list separators.
3488 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3489 for pkg
in $enableval; do
3490 if test "X$pkg" = "X$p"; then
3491 enable_fast_install
=yes
3498 enable_fast_install
=yes
3501 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3502 if test "${with_gnu_ld+set}" = set; then
3503 withval
="$with_gnu_ld"
3504 test "$withval" = no || with_gnu_ld
=yes
3509 if test "$GCC" = yes; then
3510 # Check if gcc -print-prog-name=ld gives a path.
3511 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3512 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3515 # gcc leaves a trailing carriage return which upsets mingw
3516 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3518 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3521 # Accept absolute paths.
3522 [\\/]* |
[A-Za-z
]:[\\/]*)
3523 re_direlt
='/[^/][^/]*/\.\./'
3524 # Canonicalize the path of ld
3525 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3526 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3527 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3529 test -z "$LD" && LD
="$ac_prog"
3532 # If it fails, then pretend we aren't using GCC.
3536 # If it is relative, then search for the first ld in PATH.
3540 elif test "$with_gnu_ld" = yes; then
3541 echo "$as_me:$LINENO: checking for GNU ld" >&5
3542 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3544 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3545 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3547 if test "${lt_cv_path_LD+set}" = set; then
3548 echo $ECHO_N "(cached) $ECHO_C" >&6
3550 if test -z "$LD"; then
3551 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3552 for ac_dir
in $PATH; do
3553 test -z "$ac_dir" && ac_dir
=.
3554 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3555 lt_cv_path_LD
="$ac_dir/$ac_prog"
3556 # Check to see if the program is GNU ld. I'd rather use --version,
3557 # but apparently some GNU ld's only accept -v.
3558 # Break only if it was the GNU/non-GNU ld that we prefer.
3559 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3560 test "$with_gnu_ld" != no
&& break
3562 test "$with_gnu_ld" != yes && break
3568 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3573 if test -n "$LD"; then
3574 echo "$as_me:$LINENO: result: $LD" >&5
3575 echo "${ECHO_T}$LD" >&6
3577 echo "$as_me:$LINENO: result: no" >&5
3578 echo "${ECHO_T}no" >&6
3580 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3581 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3582 { (exit 1); exit 1; }; }
3583 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3584 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3585 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3586 echo $ECHO_N "(cached) $ECHO_C" >&6
3588 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3589 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3590 lt_cv_prog_gnu_ld
=yes
3592 lt_cv_prog_gnu_ld
=no
3595 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3596 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3597 with_gnu_ld
=$lt_cv_prog_gnu_ld
3600 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3601 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3602 if test "${lt_cv_ld_reload_flag+set}" = set; then
3603 echo $ECHO_N "(cached) $ECHO_C" >&6
3605 lt_cv_ld_reload_flag
='-r'
3607 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3608 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3609 reload_flag
=$lt_cv_ld_reload_flag
3610 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3612 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3613 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3614 if test "${lt_cv_path_NM+set}" = set; then
3615 echo $ECHO_N "(cached) $ECHO_C" >&6
3617 if test -n "$NM"; then
3618 # Let the user override the test.
3621 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3622 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3623 test -z "$ac_dir" && ac_dir
=.
3624 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3625 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3626 # Check to see if the nm accepts a BSD-compat flag.
3627 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3628 # nm: unknown option "B" ignored
3629 # Tru64's nm complains that /dev/null is an invalid object file
3630 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3631 lt_cv_path_NM
="$tmp_nm -B"
3633 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3634 lt_cv_path_NM
="$tmp_nm -p"
3637 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3638 continue # so that we can try to find one that supports BSD flags
3643 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3648 echo "$as_me:$LINENO: result: $NM" >&5
3649 echo "${ECHO_T}$NM" >&6
3651 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3652 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3654 if test "$LN_S" = "ln -s"; then
3655 echo "$as_me:$LINENO: result: yes" >&5
3656 echo "${ECHO_T}yes" >&6
3658 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3659 echo "${ECHO_T}no, using $LN_S" >&6
3662 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3663 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3664 if test "${lt_cv_deplibs_check_method+set}" = set; then
3665 echo $ECHO_N "(cached) $ECHO_C" >&6
3667 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3668 lt_cv_file_magic_test_file
=
3669 lt_cv_deplibs_check_method
='unknown'
3670 # Need to set the preceding variable on all platforms that support
3671 # interlibrary dependencies.
3672 # 'none' -- dependencies not supported.
3673 # `unknown' -- same as none, but documents that we really don't know.
3674 # 'pass_all' -- all dependencies passed with no checks.
3675 # 'test_compile' -- check by making test program.
3676 # 'file_magic [regex]' -- check by looking for files in library path
3677 # which responds to the $file_magic_cmd with a given egrep regex.
3678 # If you have `file' or equivalent on your system and you're not sure
3679 # whether `pass_all' will *always* work, you probably want this one.
3683 lt_cv_deplibs_check_method
=pass_all
3687 lt_cv_deplibs_check_method
=pass_all
3691 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3692 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3693 lt_cv_file_magic_test_file
=/shlib
/libc.so
3696 cygwin
* | mingw
* |pw32
*)
3697 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3698 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3701 darwin
* | rhapsody
*)
3702 # this will be overwritten by pass_all, but leave it in just in case
3703 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3704 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3706 rhapsody
* | darwin1.012
)
3707 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3710 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3713 lt_cv_deplibs_check_method
=pass_all
3716 freebsd
* | kfreebsd
*-gnu)
3717 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3720 # Not sure whether the presence of OpenBSD here was a mistake.
3721 # Let's accept both of them until this is cleared up.
3722 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3723 lt_cv_file_magic_cmd
=/usr
/bin
/file
3724 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3728 lt_cv_deplibs_check_method
=pass_all
3733 lt_cv_deplibs_check_method
=pass_all
3739 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3740 lt_cv_file_magic_cmd
=/usr
/bin
/file
3741 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3744 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3745 lt_cv_file_magic_cmd
=/usr
/bin
/file
3746 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3754 # this will be overridden with pass_all, but let us keep it just in case
3755 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3759 *-32|
*"-32 ") libmagic
=32-bit;;
3760 *-n32|
*"-n32 ") libmagic
=N32
;;
3761 *-64|
*"-64 ") libmagic
=64-bit;;
3762 *) libmagic
=never-match
;;
3764 # this will be overridden with pass_all, but let us keep it just in case
3765 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3768 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3769 lt_cv_deplibs_check_method
=pass_all
3772 # This must be Linux ELF.
3774 lt_cv_deplibs_check_method
=pass_all
3777 netbsd
* | knetbsd
*-gnu)
3778 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3779 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3781 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3786 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3787 lt_cv_file_magic_cmd
=/usr
/bin
/file
3788 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3791 osf3
* | osf4
* | osf5
*)
3792 # this will be overridden with pass_all, but let us keep it just in case
3793 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3794 lt_cv_file_magic_test_file
=/shlib
/libc.so
3795 lt_cv_deplibs_check_method
=pass_all
3799 lt_cv_deplibs_check_method
=pass_all
3803 lt_cv_deplibs_check_method
=pass_all
3804 lt_cv_file_magic_test_file
=/lib
/libc.so
3807 sysv5uw
[78]* | sysv4
*uw2
*)
3808 lt_cv_deplibs_check_method
=pass_all
3811 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3812 case $host_vendor in
3814 lt_cv_deplibs_check_method
=pass_all
3817 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3818 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3825 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3826 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3827 file_magic_cmd
=$lt_cv_file_magic_cmd
3828 deplibs_check_method
=$lt_cv_deplibs_check_method
3834 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3836 # find the maximum length of command line arguments
3837 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3838 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3839 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3840 echo $ECHO_N "(cached) $ECHO_C" >&6
3847 # On DJGPP, this test can blow up pretty badly due to problems in libc
3848 # (any single argument exceeding 2000 bytes causes a buffer overrun
3849 # during glob expansion). Even if it were fixed, the result of this
3850 # check would be larger than it should be.
3851 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3855 # On Win9x/ME, this test blows up -- it succeeds, but takes
3856 # about 5 minutes as the teststring grows exponentially.
3857 # Worse, since 9x/ME are not pre-emptively multitasking,
3858 # you end up with a "frozen" computer, even though with patience
3859 # the test eventually succeeds (with a max line length of 256k).
3860 # Instead, let's just punt: use the minimum linelength reported by
3861 # all of the supported platforms: 8192 (on NT/2K/XP).
3862 lt_cv_sys_max_cmd_len
=8192;
3866 # On AmigaOS with pdksh, this test takes hours, literally.
3867 # So we just punt and use a minimum line length of 8192.
3868 lt_cv_sys_max_cmd_len
=8192;
3871 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3872 # This has been around since 386BSD, at least. Likely further.
3873 if test -x /sbin
/sysctl
; then
3874 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3875 elif test -x /usr
/sbin
/sysctl
; then
3876 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3878 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
3880 # And add a safety zone
3881 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3882 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3888 if test -n "$lt_cv_sys_max_cmd_len" ; then
3889 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3890 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3892 echo "$as_me:$LINENO: result: none" >&5
3893 echo "${ECHO_T}none" >&6
3897 # Only perform the check for file, if the check method requires it
3898 case $deplibs_check_method in
3900 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3901 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3902 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3903 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3904 echo $ECHO_N "(cached) $ECHO_C" >&6
3908 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3911 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3914 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3915 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3916 ac_dummy
="/usr/bin:$PATH"
3917 for ac_dir
in $ac_dummy; do
3918 test -z "$ac_dir" && ac_dir
=.
3919 if test -f $ac_dir/${ac_tool_prefix}file; then
3920 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3921 if test -n "$file_magic_test_file"; then
3922 case $deplibs_check_method in
3924 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3925 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3926 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3927 egrep "$file_magic_regex" > /dev
/null
; then
3932 *** Warning: the command libtool uses to detect shared libraries,
3933 *** $file_magic_cmd, produces output that libtool cannot recognize.
3934 *** The result is that libtool may fail to recognize shared libraries
3935 *** as such. This will affect the creation of libtool libraries that
3936 *** depend on shared libraries, but programs linked with such libtool
3937 *** libraries will work regardless of this problem. Nevertheless, you
3938 *** may want to report the problem to your system manager and/or to
3939 *** bug-libtool@gnu.org
3949 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3954 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3955 if test -n "$MAGIC_CMD"; then
3956 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3957 echo "${ECHO_T}$MAGIC_CMD" >&6
3959 echo "$as_me:$LINENO: result: no" >&5
3960 echo "${ECHO_T}no" >&6
3963 if test -z "$lt_cv_path_MAGIC_CMD"; then
3964 if test -n "$ac_tool_prefix"; then
3965 echo "$as_me:$LINENO: checking for file" >&5
3966 echo $ECHO_N "checking for file... $ECHO_C" >&6
3967 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3968 echo $ECHO_N "(cached) $ECHO_C" >&6
3972 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3975 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3978 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3979 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3980 ac_dummy
="/usr/bin:$PATH"
3981 for ac_dir
in $ac_dummy; do
3982 test -z "$ac_dir" && ac_dir
=.
3983 if test -f $ac_dir/file; then
3984 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3985 if test -n "$file_magic_test_file"; then
3986 case $deplibs_check_method in
3988 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3989 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3990 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3991 egrep "$file_magic_regex" > /dev
/null
; then
3996 *** Warning: the command libtool uses to detect shared libraries,
3997 *** $file_magic_cmd, produces output that libtool cannot recognize.
3998 *** The result is that libtool may fail to recognize shared libraries
3999 *** as such. This will affect the creation of libtool libraries that
4000 *** depend on shared libraries, but programs linked with such libtool
4001 *** libraries will work regardless of this problem. Nevertheless, you
4002 *** may want to report the problem to your system manager and/or to
4003 *** bug-libtool@gnu.org
4013 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4018 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4019 if test -n "$MAGIC_CMD"; then
4020 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4021 echo "${ECHO_T}$MAGIC_CMD" >&6
4023 echo "$as_me:$LINENO: result: no" >&5
4024 echo "${ECHO_T}no" >&6
4036 if test -n "$ac_tool_prefix"; then
4037 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4038 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4039 echo "$as_me:$LINENO: checking for $ac_word" >&5
4040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4041 if test "${ac_cv_prog_RANLIB+set}" = set; then
4042 echo $ECHO_N "(cached) $ECHO_C" >&6
4044 if test -n "$RANLIB"; then
4045 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4051 test -z "$as_dir" && as_dir
=.
4052 for ac_exec_ext
in '' $ac_executable_extensions; do
4053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4054 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4063 RANLIB
=$ac_cv_prog_RANLIB
4064 if test -n "$RANLIB"; then
4065 echo "$as_me:$LINENO: result: $RANLIB" >&5
4066 echo "${ECHO_T}$RANLIB" >&6
4068 echo "$as_me:$LINENO: result: no" >&5
4069 echo "${ECHO_T}no" >&6
4073 if test -z "$ac_cv_prog_RANLIB"; then
4074 ac_ct_RANLIB
=$RANLIB
4075 # Extract the first word of "ranlib", so it can be a program name with args.
4076 set dummy ranlib
; ac_word
=$2
4077 echo "$as_me:$LINENO: checking for $ac_word" >&5
4078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4079 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4080 echo $ECHO_N "(cached) $ECHO_C" >&6
4082 if test -n "$ac_ct_RANLIB"; then
4083 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4089 test -z "$as_dir" && as_dir
=.
4090 for ac_exec_ext
in '' $ac_executable_extensions; do
4091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4092 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4099 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4102 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4103 if test -n "$ac_ct_RANLIB"; then
4104 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4105 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4107 echo "$as_me:$LINENO: result: no" >&5
4108 echo "${ECHO_T}no" >&6
4111 RANLIB
=$ac_ct_RANLIB
4113 RANLIB
="$ac_cv_prog_RANLIB"
4116 if test -n "$ac_tool_prefix"; then
4117 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4118 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4119 echo "$as_me:$LINENO: checking for $ac_word" >&5
4120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4121 if test "${ac_cv_prog_STRIP+set}" = set; then
4122 echo $ECHO_N "(cached) $ECHO_C" >&6
4124 if test -n "$STRIP"; then
4125 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4131 test -z "$as_dir" && as_dir
=.
4132 for ac_exec_ext
in '' $ac_executable_extensions; do
4133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4134 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4143 STRIP
=$ac_cv_prog_STRIP
4144 if test -n "$STRIP"; then
4145 echo "$as_me:$LINENO: result: $STRIP" >&5
4146 echo "${ECHO_T}$STRIP" >&6
4148 echo "$as_me:$LINENO: result: no" >&5
4149 echo "${ECHO_T}no" >&6
4153 if test -z "$ac_cv_prog_STRIP"; then
4155 # Extract the first word of "strip", so it can be a program name with args.
4156 set dummy strip
; ac_word
=$2
4157 echo "$as_me:$LINENO: checking for $ac_word" >&5
4158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4159 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4160 echo $ECHO_N "(cached) $ECHO_C" >&6
4162 if test -n "$ac_ct_STRIP"; then
4163 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4169 test -z "$as_dir" && as_dir
=.
4170 for ac_exec_ext
in '' $ac_executable_extensions; do
4171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4172 ac_cv_prog_ac_ct_STRIP
="strip"
4173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4179 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4182 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4183 if test -n "$ac_ct_STRIP"; then
4184 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4185 echo "${ECHO_T}$ac_ct_STRIP" >&6
4187 echo "$as_me:$LINENO: result: no" >&5
4188 echo "${ECHO_T}no" >&6
4193 STRIP
="$ac_cv_prog_STRIP"
4197 # Check for any special flags to pass to ltconfig.
4198 libtool_flags
="--cache-file=$cache_file"
4199 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4200 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4201 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4202 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4203 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4206 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4207 if test "${enable_libtool_lock+set}" = set; then
4208 enableval
="$enable_libtool_lock"
4211 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4212 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4215 # Check whether --with-pic or --without-pic was given.
4216 if test "${with_pic+set}" = set; then
4222 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4223 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4225 # Some flags need to be propagated to the compiler or linker for good
4229 # Find out which ABI we are using.
4230 echo '#line 4230 "configure"' > conftest.
$ac_ext
4231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4232 (eval $ac_compile) 2>&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); }; then
4236 if test "$lt_cv_prog_gnu_ld" = yes; then
4237 case `/usr/bin/file conftest.$ac_objext` in
4239 LD
="${LD-ld} -melf32bsmip"
4242 LD
="${LD-ld} -melf32bmipn32"
4245 LD
="${LD-ld} -melf64bmip"
4249 case `/usr/bin/file conftest.$ac_objext` in
4266 # Find out which ABI we are using.
4267 echo 'int i;' > conftest.
$ac_ext
4268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4269 (eval $ac_compile) 2>&5
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); }; then
4273 case "`/usr/bin/file conftest.o`" in
4285 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4286 # Find out which ABI we are using.
4287 echo 'int i;' > conftest.
$ac_ext
4288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4289 (eval $ac_compile) 2>&5
4291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4292 (exit $ac_status); }; then
4293 case "`/usr/bin/file conftest.o`" in
4297 LD
="${LD-ld} -m elf_i386"
4299 ppc64-
*linux
*|powerpc64-
*linux
*)
4300 LD
="${LD-ld} -m elf32ppclinux"
4303 LD
="${LD-ld} -m elf_s390"
4306 LD
="${LD-ld} -m elf32_sparc"
4313 LD
="${LD-ld} -m elf_x86_64"
4315 ppc
*-*linux
*|powerpc
*-*linux
*)
4316 LD
="${LD-ld} -m elf64ppc"
4319 LD
="${LD-ld} -m elf64_s390"
4322 LD
="${LD-ld} -m elf64_sparc"
4332 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4333 SAVE_CFLAGS
="$CFLAGS"
4334 CFLAGS
="$CFLAGS -belf"
4335 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4336 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4337 if test "${lt_cv_cc_needs_belf+set}" = set; then
4338 echo $ECHO_N "(cached) $ECHO_C" >&6
4343 ac_cpp
='$CPP $CPPFLAGS'
4344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4348 cat >conftest.
$ac_ext <<_ACEOF
4351 cat confdefs.h
>>conftest.
$ac_ext
4352 cat >>conftest.
$ac_ext <<_ACEOF
4353 /* end confdefs.h. */
4363 rm -f conftest.
$ac_objext conftest
$ac_exeext
4364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4365 (eval $ac_link) 2>conftest.er1
4367 grep -v '^ *+' conftest.er1
>conftest.err
4369 cat conftest.err
>&5
4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); } &&
4372 { ac_try
='test -z "$ac_c_werror_flag"
4373 || test ! -s conftest.err'
4374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378 (exit $ac_status); }; } &&
4379 { ac_try
='test -s conftest$ac_exeext'
4380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); }; }; then
4385 lt_cv_cc_needs_belf
=yes
4387 echo "$as_me: failed program was:" >&5
4388 sed 's/^/| /' conftest.
$ac_ext >&5
4390 lt_cv_cc_needs_belf
=no
4392 rm -f conftest.err conftest.
$ac_objext \
4393 conftest
$ac_exeext conftest.
$ac_ext
4395 ac_cpp
='$CPP $CPPFLAGS'
4396 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4397 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4398 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4401 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4402 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4403 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4404 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4405 CFLAGS
="$SAVE_CFLAGS"
4413 # Save cache, so that ltconfig can load it
4414 cat >confcache
<<\_ACEOF
4415 # This file is a shell script that caches the results of configure
4416 # tests run on this system so they can be shared between configure
4417 # scripts and configure runs, see configure's option --config-cache.
4418 # It is not useful on other systems. If it contains results you don't
4419 # want to keep, you may remove or edit it.
4421 # config.status only pays attention to the cache file if you give it
4422 # the --recheck option to rerun configure.
4424 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4425 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4430 # The following way of writing the cache mishandles newlines in values,
4431 # but we know of no workaround that is simple, portable, and efficient.
4432 # So, don't put newlines in cache variables' values.
4433 # Ultrix sh set writes to stderr and can't be redirected directly,
4434 # and sets the high bit in the cache file unless we assign to the vars.
4437 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4439 # `set' does not quote correctly, so add quotes (double-quote
4440 # substitution turns \\\\ into \\, and sed turns \\ into \).
4443 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4446 # `set' quotes correctly as required by POSIX, so do not add quotes.
4448 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4455 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4457 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4459 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4460 if test -w $cache_file; then
4461 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4462 cat confcache
>$cache_file
4464 echo "not updating unwritable cache $cache_file"
4469 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4470 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4471 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4472 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4473 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4474 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4475 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4476 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4477 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4478 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4479 echo "$as_me: error: libtool configure failed" >&2;}
4480 { (exit 1); exit 1; }; }
4482 # Reload cache, that may have been modified by ltconfig
4483 if test -r "$cache_file"; then
4484 # Some versions of bash will fail to source /dev/null (special
4485 # files actually), so we avoid doing that.
4486 if test -f "$cache_file"; then
4487 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4488 echo "$as_me: loading cache $cache_file" >&6;}
4490 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4491 *) . .
/$cache_file;;
4495 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4496 echo "$as_me: creating cache $cache_file" >&6;}
4501 # This can be used to rebuild libtool when needed
4502 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4504 # Always use our own libtool.
4505 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4507 # Redirect the config.log output again, so that the ltconfig log is not
4508 # clobbered by the next message.
4509 exec 5>>.
/config.log
4519 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4520 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4521 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4522 if test "${enable_maintainer_mode+set}" = set; then
4523 enableval
="$enable_maintainer_mode"
4524 USE_MAINTAINER_MODE
=$enableval
4526 USE_MAINTAINER_MODE
=no
4528 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4529 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4532 if test $USE_MAINTAINER_MODE = yes; then
4533 MAINTAINER_MODE_TRUE
=
4534 MAINTAINER_MODE_FALSE
='#'
4536 MAINTAINER_MODE_TRUE
='#'
4537 MAINTAINER_MODE_FALSE
=
4540 MAINT
=$MAINTAINER_MODE_TRUE
4544 # We need gfortran to compile parts of the library
4545 # We can't use AC_PROG_FC because it expects a fully working gfortran.
4546 #AC_PROG_FC(gfortran)
4548 ac_ext
=${FC_SRCEXT-f}
4549 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4550 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4551 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
4552 if test -n "$ac_tool_prefix"; then
4553 for ac_prog
in gfortran
4555 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4556 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4557 echo "$as_me:$LINENO: checking for $ac_word" >&5
4558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4559 if test "${ac_cv_prog_FC+set}" = set; then
4560 echo $ECHO_N "(cached) $ECHO_C" >&6
4562 if test -n "$FC"; then
4563 ac_cv_prog_FC
="$FC" # Let the user override the test.
4565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4569 test -z "$as_dir" && as_dir
=.
4570 for ac_exec_ext
in '' $ac_executable_extensions; do
4571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4572 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
4573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4582 if test -n "$FC"; then
4583 echo "$as_me:$LINENO: result: $FC" >&5
4584 echo "${ECHO_T}$FC" >&6
4586 echo "$as_me:$LINENO: result: no" >&5
4587 echo "${ECHO_T}no" >&6
4590 test -n "$FC" && break
4593 if test -z "$FC"; then
4595 for ac_prog
in gfortran
4597 # Extract the first word of "$ac_prog", so it can be a program name with args.
4598 set dummy
$ac_prog; ac_word
=$2
4599 echo "$as_me:$LINENO: checking for $ac_word" >&5
4600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4601 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4602 echo $ECHO_N "(cached) $ECHO_C" >&6
4604 if test -n "$ac_ct_FC"; then
4605 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
4607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4611 test -z "$as_dir" && as_dir
=.
4612 for ac_exec_ext
in '' $ac_executable_extensions; do
4613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4614 ac_cv_prog_ac_ct_FC
="$ac_prog"
4615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4623 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
4624 if test -n "$ac_ct_FC"; then
4625 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4626 echo "${ECHO_T}$ac_ct_FC" >&6
4628 echo "$as_me:$LINENO: result: no" >&5
4629 echo "${ECHO_T}no" >&6
4632 test -n "$ac_ct_FC" && break
4639 # Provide some information about the compiler.
4640 echo "$as_me:4640:" \
4641 "checking for Fortran compiler version" >&5
4642 ac_compiler
=`set X $ac_compile; echo $2`
4643 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4644 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647 (exit $ac_status); }
4648 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4649 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652 (exit $ac_status); }
4653 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4654 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657 (exit $ac_status); }
4660 # If we don't use `.F' as extension, the preprocessor is not run on the
4661 # input file. (Note that this only needs to work for GNU compilers.)
4664 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4665 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4666 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4667 echo $ECHO_N "(cached) $ECHO_C" >&6
4669 cat >conftest.
$ac_ext <<_ACEOF
4677 rm -f conftest.
$ac_objext
4678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4679 (eval $ac_compile) 2>conftest.er1
4681 grep -v '^ *+' conftest.er1
>conftest.err
4683 cat conftest.err
>&5
4684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4685 (exit $ac_status); } &&
4686 { ac_try
='test -z "$ac_fc_werror_flag"
4687 || test ! -s conftest.err'
4688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692 (exit $ac_status); }; } &&
4693 { ac_try
='test -s conftest.$ac_objext'
4694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); }; }; then
4701 echo "$as_me: failed program was:" >&5
4702 sed 's/^/| /' conftest.
$ac_ext >&5
4706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4707 ac_cv_fc_compiler_gnu
=$ac_compiler_gnu
4710 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4711 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4713 ac_test_FFLAGS
=${FCFLAGS+set}
4714 ac_save_FFLAGS
=$FCFLAGS
4716 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4717 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4718 if test "${ac_cv_prog_fc_g+set}" = set; then
4719 echo $ECHO_N "(cached) $ECHO_C" >&6
4722 cat >conftest.
$ac_ext <<_ACEOF
4727 rm -f conftest.
$ac_objext
4728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4729 (eval $ac_compile) 2>conftest.er1
4731 grep -v '^ *+' conftest.er1
>conftest.err
4733 cat conftest.err
>&5
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); } &&
4736 { ac_try
='test -z "$ac_fc_werror_flag"
4737 || test ! -s conftest.err'
4738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); }; } &&
4743 { ac_try
='test -s conftest.$ac_objext'
4744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); }; }; then
4751 echo "$as_me: failed program was:" >&5
4752 sed 's/^/| /' conftest.
$ac_ext >&5
4756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4759 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4760 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4761 if test "$ac_test_FFLAGS" = set; then
4762 FCFLAGS
=$ac_save_FFLAGS
4763 elif test $ac_cv_prog_fc_g = yes; then
4764 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
4770 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
4778 ac_cpp
='$CPP $CPPFLAGS'
4779 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4780 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4781 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4783 FCFLAGS
="$FCFLAGS -Wall"
4785 # For libtool versioning info, format is CURRENT:REVISION:AGE
4786 libtool_VERSION
=1:0:0
4789 # Check header files.
4791 ac_cpp
='$CPP $CPPFLAGS'
4792 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4793 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4794 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4795 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4796 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4797 # On Suns, sometimes $CPP names a directory.
4798 if test -n "$CPP" && test -d "$CPP"; then
4801 if test -z "$CPP"; then
4802 if test "${ac_cv_prog_CPP+set}" = set; then
4803 echo $ECHO_N "(cached) $ECHO_C" >&6
4805 # Double quotes because CPP needs to be expanded
4806 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4809 for ac_c_preproc_warn_flag
in '' yes
4811 # Use a header file that comes with gcc, so configuring glibc
4812 # with a fresh cross-compiler works.
4813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4814 # <limits.h> exists even on freestanding compilers.
4815 # On the NeXT, cc -E runs the code through the compiler's parser,
4816 # not just through cpp. "Syntax error" is here to catch this case.
4817 cat >conftest.
$ac_ext <<_ACEOF
4820 cat confdefs.h
>>conftest.
$ac_ext
4821 cat >>conftest.
$ac_ext <<_ACEOF
4822 /* end confdefs.h. */
4824 # include <limits.h>
4826 # include <assert.h>
4830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4831 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4833 grep -v '^ *+' conftest.er1
>conftest.err
4835 cat conftest.err
>&5
4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837 (exit $ac_status); } >/dev
/null
; then
4838 if test -s conftest.err
; then
4839 ac_cpp_err
=$ac_c_preproc_warn_flag
4840 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4847 if test -z "$ac_cpp_err"; then
4850 echo "$as_me: failed program was:" >&5
4851 sed 's/^/| /' conftest.
$ac_ext >&5
4853 # Broken: fails on valid input.
4856 rm -f conftest.err conftest.
$ac_ext
4858 # OK, works on sane cases. Now check whether non-existent headers
4859 # can be detected and how.
4860 cat >conftest.
$ac_ext <<_ACEOF
4863 cat confdefs.h
>>conftest.
$ac_ext
4864 cat >>conftest.
$ac_ext <<_ACEOF
4865 /* end confdefs.h. */
4866 #include <ac_nonexistent.h>
4868 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4869 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4871 grep -v '^ *+' conftest.er1
>conftest.err
4873 cat conftest.err
>&5
4874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4875 (exit $ac_status); } >/dev
/null
; then
4876 if test -s conftest.err
; then
4877 ac_cpp_err
=$ac_c_preproc_warn_flag
4878 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4885 if test -z "$ac_cpp_err"; then
4886 # Broken: success on invalid input.
4889 echo "$as_me: failed program was:" >&5
4890 sed 's/^/| /' conftest.
$ac_ext >&5
4892 # Passes both tests.
4896 rm -f conftest.err conftest.
$ac_ext
4899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4900 rm -f conftest.err conftest.
$ac_ext
4901 if $ac_preproc_ok; then
4913 echo "$as_me:$LINENO: result: $CPP" >&5
4914 echo "${ECHO_T}$CPP" >&6
4916 for ac_c_preproc_warn_flag
in '' yes
4918 # Use a header file that comes with gcc, so configuring glibc
4919 # with a fresh cross-compiler works.
4920 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4921 # <limits.h> exists even on freestanding compilers.
4922 # On the NeXT, cc -E runs the code through the compiler's parser,
4923 # not just through cpp. "Syntax error" is here to catch this case.
4924 cat >conftest.
$ac_ext <<_ACEOF
4927 cat confdefs.h
>>conftest.
$ac_ext
4928 cat >>conftest.
$ac_ext <<_ACEOF
4929 /* end confdefs.h. */
4931 # include <limits.h>
4933 # include <assert.h>
4937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4938 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4940 grep -v '^ *+' conftest.er1
>conftest.err
4942 cat conftest.err
>&5
4943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944 (exit $ac_status); } >/dev
/null
; then
4945 if test -s conftest.err
; then
4946 ac_cpp_err
=$ac_c_preproc_warn_flag
4947 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4954 if test -z "$ac_cpp_err"; then
4957 echo "$as_me: failed program was:" >&5
4958 sed 's/^/| /' conftest.
$ac_ext >&5
4960 # Broken: fails on valid input.
4963 rm -f conftest.err conftest.
$ac_ext
4965 # OK, works on sane cases. Now check whether non-existent headers
4966 # can be detected and how.
4967 cat >conftest.
$ac_ext <<_ACEOF
4970 cat confdefs.h
>>conftest.
$ac_ext
4971 cat >>conftest.
$ac_ext <<_ACEOF
4972 /* end confdefs.h. */
4973 #include <ac_nonexistent.h>
4975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4976 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4978 grep -v '^ *+' conftest.er1
>conftest.err
4980 cat conftest.err
>&5
4981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4982 (exit $ac_status); } >/dev
/null
; then
4983 if test -s conftest.err
; then
4984 ac_cpp_err
=$ac_c_preproc_warn_flag
4985 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4992 if test -z "$ac_cpp_err"; then
4993 # Broken: success on invalid input.
4996 echo "$as_me: failed program was:" >&5
4997 sed 's/^/| /' conftest.
$ac_ext >&5
4999 # Passes both tests.
5003 rm -f conftest.err conftest.
$ac_ext
5006 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5007 rm -f conftest.err conftest.
$ac_ext
5008 if $ac_preproc_ok; then
5011 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5012 See \`config.log' for more details." >&5
5013 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5014 See \`config.log' for more details." >&2;}
5015 { (exit 1); exit 1; }; }
5019 ac_cpp
='$CPP $CPPFLAGS'
5020 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5021 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5022 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5025 echo "$as_me:$LINENO: checking for egrep" >&5
5026 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5027 if test "${ac_cv_prog_egrep+set}" = set; then
5028 echo $ECHO_N "(cached) $ECHO_C" >&6
5030 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5031 then ac_cv_prog_egrep
='grep -E'
5032 else ac_cv_prog_egrep
='egrep'
5035 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5036 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5037 EGREP
=$ac_cv_prog_egrep
5040 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5041 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5042 if test "${ac_cv_header_stdc+set}" = set; then
5043 echo $ECHO_N "(cached) $ECHO_C" >&6
5045 cat >conftest.
$ac_ext <<_ACEOF
5048 cat confdefs.h
>>conftest.
$ac_ext
5049 cat >>conftest.
$ac_ext <<_ACEOF
5050 /* end confdefs.h. */
5064 rm -f conftest.
$ac_objext
5065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5066 (eval $ac_compile) 2>conftest.er1
5068 grep -v '^ *+' conftest.er1
>conftest.err
5070 cat conftest.err
>&5
5071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5072 (exit $ac_status); } &&
5073 { ac_try
='test -z "$ac_c_werror_flag"
5074 || test ! -s conftest.err'
5075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079 (exit $ac_status); }; } &&
5080 { ac_try
='test -s conftest.$ac_objext'
5081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5085 (exit $ac_status); }; }; then
5086 ac_cv_header_stdc
=yes
5088 echo "$as_me: failed program was:" >&5
5089 sed 's/^/| /' conftest.
$ac_ext >&5
5091 ac_cv_header_stdc
=no
5093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5095 if test $ac_cv_header_stdc = yes; then
5096 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5097 cat >conftest.
$ac_ext <<_ACEOF
5100 cat confdefs.h
>>conftest.
$ac_ext
5101 cat >>conftest.
$ac_ext <<_ACEOF
5102 /* end confdefs.h. */
5106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5107 $EGREP "memchr" >/dev
/null
2>&1; then
5110 ac_cv_header_stdc
=no
5116 if test $ac_cv_header_stdc = yes; then
5117 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5118 cat >conftest.
$ac_ext <<_ACEOF
5121 cat confdefs.h
>>conftest.
$ac_ext
5122 cat >>conftest.
$ac_ext <<_ACEOF
5123 /* end confdefs.h. */
5127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5128 $EGREP "free" >/dev
/null
2>&1; then
5131 ac_cv_header_stdc
=no
5137 if test $ac_cv_header_stdc = yes; then
5138 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5139 if test "$cross_compiling" = yes; then
5142 cat >conftest.
$ac_ext <<_ACEOF
5145 cat confdefs.h
>>conftest.
$ac_ext
5146 cat >>conftest.
$ac_ext <<_ACEOF
5147 /* end confdefs.h. */
5149 #if ((' ' & 0x0FF) == 0x020)
5150 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5151 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5153 # define ISLOWER(c) \
5154 (('a' <= (c) && (c) <= 'i') \
5155 || ('j' <= (c) && (c) <= 'r') \
5156 || ('s' <= (c) && (c) <= 'z'))
5157 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5160 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5165 for (i = 0; i < 256; i++)
5166 if (XOR (islower (i), ISLOWER (i))
5167 || toupper (i) != TOUPPER (i))
5172 rm -f conftest
$ac_exeext
5173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5174 (eval $ac_link) 2>&5
5176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5177 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182 (exit $ac_status); }; }; then
5185 echo "$as_me: program exited with status $ac_status" >&5
5186 echo "$as_me: failed program was:" >&5
5187 sed 's/^/| /' conftest.
$ac_ext >&5
5190 ac_cv_header_stdc
=no
5192 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5196 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5197 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5198 if test $ac_cv_header_stdc = yes; then
5200 cat >>confdefs.h
<<\_ACEOF
5201 #define STDC_HEADERS 1
5206 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5207 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5208 if test "${ac_cv_header_time+set}" = set; then
5209 echo $ECHO_N "(cached) $ECHO_C" >&6
5211 cat >conftest.
$ac_ext <<_ACEOF
5214 cat confdefs.h
>>conftest.
$ac_ext
5215 cat >>conftest.
$ac_ext <<_ACEOF
5216 /* end confdefs.h. */
5217 #include <sys/types.h>
5218 #include <sys/time.h>
5224 if ((struct tm *) 0)
5230 rm -f conftest.
$ac_objext
5231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5232 (eval $ac_compile) 2>conftest.er1
5234 grep -v '^ *+' conftest.er1
>conftest.err
5236 cat conftest.err
>&5
5237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5238 (exit $ac_status); } &&
5239 { ac_try
='test -z "$ac_c_werror_flag"
5240 || test ! -s conftest.err'
5241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5245 (exit $ac_status); }; } &&
5246 { ac_try
='test -s conftest.$ac_objext'
5247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5251 (exit $ac_status); }; }; then
5252 ac_cv_header_time
=yes
5254 echo "$as_me: failed program was:" >&5
5255 sed 's/^/| /' conftest.
$ac_ext >&5
5257 ac_cv_header_time
=no
5259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5261 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5262 echo "${ECHO_T}$ac_cv_header_time" >&6
5263 if test $ac_cv_header_time = yes; then
5265 cat >>confdefs.h
<<\_ACEOF
5266 #define TIME_WITH_SYS_TIME 1
5271 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5281 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5282 inttypes.h stdint.h unistd.h
5284 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5285 echo "$as_me:$LINENO: checking for $ac_header" >&5
5286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5288 echo $ECHO_N "(cached) $ECHO_C" >&6
5290 cat >conftest.
$ac_ext <<_ACEOF
5293 cat confdefs.h
>>conftest.
$ac_ext
5294 cat >>conftest.
$ac_ext <<_ACEOF
5295 /* end confdefs.h. */
5296 $ac_includes_default
5298 #include <$ac_header>
5300 rm -f conftest.
$ac_objext
5301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5302 (eval $ac_compile) 2>conftest.er1
5304 grep -v '^ *+' conftest.er1
>conftest.err
5306 cat conftest.err
>&5
5307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5308 (exit $ac_status); } &&
5309 { ac_try
='test -z "$ac_c_werror_flag"
5310 || test ! -s conftest.err'
5311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315 (exit $ac_status); }; } &&
5316 { ac_try
='test -s conftest.$ac_objext'
5317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5321 (exit $ac_status); }; }; then
5322 eval "$as_ac_Header=yes"
5324 echo "$as_me: failed program was:" >&5
5325 sed 's/^/| /' conftest.
$ac_ext >&5
5327 eval "$as_ac_Header=no"
5329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5332 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5333 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5334 cat >>confdefs.h
<<_ACEOF
5335 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5347 for ac_header
in unistd.h semaphore.h sys
/loadavg.h sys
/time.h
5349 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5351 echo "$as_me:$LINENO: checking for $ac_header" >&5
5352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5354 echo $ECHO_N "(cached) $ECHO_C" >&6
5356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5359 # Is the header compilable?
5360 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5361 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5362 cat >conftest.
$ac_ext <<_ACEOF
5365 cat confdefs.h
>>conftest.
$ac_ext
5366 cat >>conftest.
$ac_ext <<_ACEOF
5367 /* end confdefs.h. */
5368 $ac_includes_default
5369 #include <$ac_header>
5371 rm -f conftest.
$ac_objext
5372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5373 (eval $ac_compile) 2>conftest.er1
5375 grep -v '^ *+' conftest.er1
>conftest.err
5377 cat conftest.err
>&5
5378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5379 (exit $ac_status); } &&
5380 { ac_try
='test -z "$ac_c_werror_flag"
5381 || test ! -s conftest.err'
5382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5386 (exit $ac_status); }; } &&
5387 { ac_try
='test -s conftest.$ac_objext'
5388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5392 (exit $ac_status); }; }; then
5393 ac_header_compiler
=yes
5395 echo "$as_me: failed program was:" >&5
5396 sed 's/^/| /' conftest.
$ac_ext >&5
5398 ac_header_compiler
=no
5400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5401 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5402 echo "${ECHO_T}$ac_header_compiler" >&6
5404 # Is the header present?
5405 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5406 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5407 cat >conftest.
$ac_ext <<_ACEOF
5410 cat confdefs.h
>>conftest.
$ac_ext
5411 cat >>conftest.
$ac_ext <<_ACEOF
5412 /* end confdefs.h. */
5413 #include <$ac_header>
5415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5416 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5418 grep -v '^ *+' conftest.er1
>conftest.err
5420 cat conftest.err
>&5
5421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422 (exit $ac_status); } >/dev
/null
; then
5423 if test -s conftest.err
; then
5424 ac_cpp_err
=$ac_c_preproc_warn_flag
5425 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5432 if test -z "$ac_cpp_err"; then
5433 ac_header_preproc
=yes
5435 echo "$as_me: failed program was:" >&5
5436 sed 's/^/| /' conftest.
$ac_ext >&5
5438 ac_header_preproc
=no
5440 rm -f conftest.err conftest.
$ac_ext
5441 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5442 echo "${ECHO_T}$ac_header_preproc" >&6
5444 # So? What about this header?
5445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5447 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5448 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5450 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5451 ac_header_preproc
=yes
5454 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5455 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5456 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5457 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5458 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5459 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5460 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5461 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5463 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5464 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5465 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5468 ## ----------------------------------------------------- ##
5469 ## Report this to the GNU OpenMP Runtime Library lists. ##
5470 ## ----------------------------------------------------- ##
5473 sed "s/^/$as_me: WARNING: /" >&2
5476 echo "$as_me:$LINENO: checking for $ac_header" >&5
5477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5479 echo $ECHO_N "(cached) $ECHO_C" >&6
5481 eval "$as_ac_Header=\$ac_header_preproc"
5483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5488 cat >>confdefs.h
<<_ACEOF
5489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5499 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
5501 acx_cv_header_stdint
=stddef.h
5502 acx_cv_header_stdint_kind
="(already complete)"
5503 for i
in stdint.h
$inttype_headers; do
5504 unset ac_cv_type_uintptr_t
5505 unset ac_cv_type_uintmax_t
5506 unset ac_cv_type_int_least32_t
5507 unset ac_cv_type_int_fast32_t
5508 unset ac_cv_type_uint64_t
5509 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
5510 echo "$as_me:$LINENO: checking for uintmax_t" >&5
5511 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
5512 if test "${ac_cv_type_uintmax_t+set}" = set; then
5513 echo $ECHO_N "(cached) $ECHO_C" >&6
5515 cat >conftest.
$ac_ext <<_ACEOF
5518 cat confdefs.h
>>conftest.
$ac_ext
5519 cat >>conftest.
$ac_ext <<_ACEOF
5520 /* end confdefs.h. */
5521 #include <sys/types.h>
5527 if ((uintmax_t *) 0)
5529 if (sizeof (uintmax_t))
5535 rm -f conftest.
$ac_objext
5536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5537 (eval $ac_compile) 2>conftest.er1
5539 grep -v '^ *+' conftest.er1
>conftest.err
5541 cat conftest.err
>&5
5542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5543 (exit $ac_status); } &&
5544 { ac_try
='test -z "$ac_c_werror_flag"
5545 || test ! -s conftest.err'
5546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5550 (exit $ac_status); }; } &&
5551 { ac_try
='test -s conftest.$ac_objext'
5552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556 (exit $ac_status); }; }; then
5557 ac_cv_type_uintmax_t
=yes
5559 echo "$as_me: failed program was:" >&5
5560 sed 's/^/| /' conftest.
$ac_ext >&5
5562 ac_cv_type_uintmax_t
=no
5564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5566 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
5567 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
5568 if test $ac_cv_type_uintmax_t = yes; then
5569 acx_cv_header_stdint
=$i
5574 echo "$as_me:$LINENO: checking for uintptr_t" >&5
5575 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
5576 if test "${ac_cv_type_uintptr_t+set}" = set; then
5577 echo $ECHO_N "(cached) $ECHO_C" >&6
5579 cat >conftest.
$ac_ext <<_ACEOF
5582 cat confdefs.h
>>conftest.
$ac_ext
5583 cat >>conftest.
$ac_ext <<_ACEOF
5584 /* end confdefs.h. */
5585 #include <sys/types.h>
5591 if ((uintptr_t *) 0)
5593 if (sizeof (uintptr_t))
5599 rm -f conftest.
$ac_objext
5600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5601 (eval $ac_compile) 2>conftest.er1
5603 grep -v '^ *+' conftest.er1
>conftest.err
5605 cat conftest.err
>&5
5606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607 (exit $ac_status); } &&
5608 { ac_try
='test -z "$ac_c_werror_flag"
5609 || test ! -s conftest.err'
5610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); }; } &&
5615 { ac_try
='test -s conftest.$ac_objext'
5616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620 (exit $ac_status); }; }; then
5621 ac_cv_type_uintptr_t
=yes
5623 echo "$as_me: failed program was:" >&5
5624 sed 's/^/| /' conftest.
$ac_ext >&5
5626 ac_cv_type_uintptr_t
=no
5628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5630 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
5631 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
5632 if test $ac_cv_type_uintptr_t = yes; then
5635 acx_cv_header_stdint_kind
="(mostly complete)"
5638 echo "$as_me:$LINENO: checking for int_least32_t" >&5
5639 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
5640 if test "${ac_cv_type_int_least32_t+set}" = set; then
5641 echo $ECHO_N "(cached) $ECHO_C" >&6
5643 cat >conftest.
$ac_ext <<_ACEOF
5646 cat confdefs.h
>>conftest.
$ac_ext
5647 cat >>conftest.
$ac_ext <<_ACEOF
5648 /* end confdefs.h. */
5649 #include <sys/types.h>
5655 if ((int_least32_t *) 0)
5657 if (sizeof (int_least32_t))
5663 rm -f conftest.
$ac_objext
5664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5665 (eval $ac_compile) 2>conftest.er1
5667 grep -v '^ *+' conftest.er1
>conftest.err
5669 cat conftest.err
>&5
5670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5671 (exit $ac_status); } &&
5672 { ac_try
='test -z "$ac_c_werror_flag"
5673 || test ! -s conftest.err'
5674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5678 (exit $ac_status); }; } &&
5679 { ac_try
='test -s conftest.$ac_objext'
5680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684 (exit $ac_status); }; }; then
5685 ac_cv_type_int_least32_t
=yes
5687 echo "$as_me: failed program was:" >&5
5688 sed 's/^/| /' conftest.
$ac_ext >&5
5690 ac_cv_type_int_least32_t
=no
5692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5694 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
5695 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
5696 if test $ac_cv_type_int_least32_t = yes; then
5699 acx_cv_header_stdint_kind
="(mostly complete)"
5702 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
5703 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
5704 if test "${ac_cv_type_int_fast32_t+set}" = set; then
5705 echo $ECHO_N "(cached) $ECHO_C" >&6
5707 cat >conftest.
$ac_ext <<_ACEOF
5710 cat confdefs.h
>>conftest.
$ac_ext
5711 cat >>conftest.
$ac_ext <<_ACEOF
5712 /* end confdefs.h. */
5713 #include <sys/types.h>
5719 if ((int_fast32_t *) 0)
5721 if (sizeof (int_fast32_t))
5727 rm -f conftest.
$ac_objext
5728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5729 (eval $ac_compile) 2>conftest.er1
5731 grep -v '^ *+' conftest.er1
>conftest.err
5733 cat conftest.err
>&5
5734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5735 (exit $ac_status); } &&
5736 { ac_try
='test -z "$ac_c_werror_flag"
5737 || test ! -s conftest.err'
5738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742 (exit $ac_status); }; } &&
5743 { ac_try
='test -s conftest.$ac_objext'
5744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 (exit $ac_status); }; }; then
5749 ac_cv_type_int_fast32_t
=yes
5751 echo "$as_me: failed program was:" >&5
5752 sed 's/^/| /' conftest.
$ac_ext >&5
5754 ac_cv_type_int_fast32_t
=no
5756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5758 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
5759 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
5760 if test $ac_cv_type_int_fast32_t = yes; then
5763 acx_cv_header_stdint_kind
="(mostly complete)"
5766 echo "$as_me:$LINENO: checking for uint64_t" >&5
5767 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
5768 if test "${ac_cv_type_uint64_t+set}" = set; then
5769 echo $ECHO_N "(cached) $ECHO_C" >&6
5771 cat >conftest.
$ac_ext <<_ACEOF
5774 cat confdefs.h
>>conftest.
$ac_ext
5775 cat >>conftest.
$ac_ext <<_ACEOF
5776 /* end confdefs.h. */
5777 #include <sys/types.h>
5785 if (sizeof (uint64_t))
5791 rm -f conftest.
$ac_objext
5792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5793 (eval $ac_compile) 2>conftest.er1
5795 grep -v '^ *+' conftest.er1
>conftest.err
5797 cat conftest.err
>&5
5798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5799 (exit $ac_status); } &&
5800 { ac_try
='test -z "$ac_c_werror_flag"
5801 || test ! -s conftest.err'
5802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5806 (exit $ac_status); }; } &&
5807 { ac_try
='test -s conftest.$ac_objext'
5808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); }; }; then
5813 ac_cv_type_uint64_t
=yes
5815 echo "$as_me: failed program was:" >&5
5816 sed 's/^/| /' conftest.
$ac_ext >&5
5818 ac_cv_type_uint64_t
=no
5820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5822 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
5823 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
5824 if test $ac_cv_type_uint64_t = yes; then
5827 acx_cv_header_stdint_kind
="(lacks uint64_t)"
5832 if test "$acx_cv_header_stdint" = stddef.h
; then
5833 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
5834 for i
in stdint.h
$inttype_headers; do
5835 unset ac_cv_type_uintptr_t
5836 unset ac_cv_type_uint32_t
5837 unset ac_cv_type_uint64_t
5838 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
5839 echo "$as_me:$LINENO: checking for uint32_t" >&5
5840 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
5841 if test "${ac_cv_type_uint32_t+set}" = set; then
5842 echo $ECHO_N "(cached) $ECHO_C" >&6
5844 cat >conftest.
$ac_ext <<_ACEOF
5847 cat confdefs.h
>>conftest.
$ac_ext
5848 cat >>conftest.
$ac_ext <<_ACEOF
5849 /* end confdefs.h. */
5850 #include <sys/types.h>
5858 if (sizeof (uint32_t))
5864 rm -f conftest.
$ac_objext
5865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5866 (eval $ac_compile) 2>conftest.er1
5868 grep -v '^ *+' conftest.er1
>conftest.err
5870 cat conftest.err
>&5
5871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5872 (exit $ac_status); } &&
5873 { ac_try
='test -z "$ac_c_werror_flag"
5874 || test ! -s conftest.err'
5875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5879 (exit $ac_status); }; } &&
5880 { ac_try
='test -s conftest.$ac_objext'
5881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885 (exit $ac_status); }; }; then
5886 ac_cv_type_uint32_t
=yes
5888 echo "$as_me: failed program was:" >&5
5889 sed 's/^/| /' conftest.
$ac_ext >&5
5891 ac_cv_type_uint32_t
=no
5893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5895 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
5896 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
5897 if test $ac_cv_type_uint32_t = yes; then
5898 acx_cv_header_stdint
=$i
5903 echo "$as_me:$LINENO: checking for uint64_t" >&5
5904 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
5905 if test "${ac_cv_type_uint64_t+set}" = set; then
5906 echo $ECHO_N "(cached) $ECHO_C" >&6
5908 cat >conftest.
$ac_ext <<_ACEOF
5911 cat confdefs.h
>>conftest.
$ac_ext
5912 cat >>conftest.
$ac_ext <<_ACEOF
5913 /* end confdefs.h. */
5914 #include <sys/types.h>
5922 if (sizeof (uint64_t))
5928 rm -f conftest.
$ac_objext
5929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5930 (eval $ac_compile) 2>conftest.er1
5932 grep -v '^ *+' conftest.er1
>conftest.err
5934 cat conftest.err
>&5
5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); } &&
5937 { ac_try
='test -z "$ac_c_werror_flag"
5938 || test ! -s conftest.err'
5939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943 (exit $ac_status); }; } &&
5944 { ac_try
='test -s conftest.$ac_objext'
5945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5949 (exit $ac_status); }; }; then
5950 ac_cv_type_uint64_t
=yes
5952 echo "$as_me: failed program was:" >&5
5953 sed 's/^/| /' conftest.
$ac_ext >&5
5955 ac_cv_type_uint64_t
=no
5957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5959 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
5960 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
5962 echo "$as_me:$LINENO: checking for uintptr_t" >&5
5963 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
5964 if test "${ac_cv_type_uintptr_t+set}" = set; then
5965 echo $ECHO_N "(cached) $ECHO_C" >&6
5967 cat >conftest.
$ac_ext <<_ACEOF
5970 cat confdefs.h
>>conftest.
$ac_ext
5971 cat >>conftest.
$ac_ext <<_ACEOF
5972 /* end confdefs.h. */
5973 #include <sys/types.h>
5979 if ((uintptr_t *) 0)
5981 if (sizeof (uintptr_t))
5987 rm -f conftest.
$ac_objext
5988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5989 (eval $ac_compile) 2>conftest.er1
5991 grep -v '^ *+' conftest.er1
>conftest.err
5993 cat conftest.err
>&5
5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); } &&
5996 { ac_try
='test -z "$ac_c_werror_flag"
5997 || test ! -s conftest.err'
5998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002 (exit $ac_status); }; } &&
6003 { ac_try
='test -s conftest.$ac_objext'
6004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008 (exit $ac_status); }; }; then
6009 ac_cv_type_uintptr_t
=yes
6011 echo "$as_me: failed program was:" >&5
6012 sed 's/^/| /' conftest.
$ac_ext >&5
6014 ac_cv_type_uintptr_t
=no
6016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6018 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
6019 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
6024 if test "$acx_cv_header_stdint" = stddef.h
; then
6025 acx_cv_header_stdint_kind
="(u_intXX_t style)"
6026 for i
in sys
/types.h
$inttype_headers; do
6027 unset ac_cv_type_u_int32_t
6028 unset ac_cv_type_u_int64_t
6029 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
6030 echo "$as_me:$LINENO: checking for u_int32_t" >&5
6031 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
6032 if test "${ac_cv_type_u_int32_t+set}" = set; then
6033 echo $ECHO_N "(cached) $ECHO_C" >&6
6035 cat >conftest.
$ac_ext <<_ACEOF
6038 cat confdefs.h
>>conftest.
$ac_ext
6039 cat >>conftest.
$ac_ext <<_ACEOF
6040 /* end confdefs.h. */
6041 #include <sys/types.h>
6047 if ((u_int32_t *) 0)
6049 if (sizeof (u_int32_t))
6055 rm -f conftest.
$ac_objext
6056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6057 (eval $ac_compile) 2>conftest.er1
6059 grep -v '^ *+' conftest.er1
>conftest.err
6061 cat conftest.err
>&5
6062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6063 (exit $ac_status); } &&
6064 { ac_try
='test -z "$ac_c_werror_flag"
6065 || test ! -s conftest.err'
6066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6070 (exit $ac_status); }; } &&
6071 { ac_try
='test -s conftest.$ac_objext'
6072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6076 (exit $ac_status); }; }; then
6077 ac_cv_type_u_int32_t
=yes
6079 echo "$as_me: failed program was:" >&5
6080 sed 's/^/| /' conftest.
$ac_ext >&5
6082 ac_cv_type_u_int32_t
=no
6084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6086 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
6087 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
6088 if test $ac_cv_type_u_int32_t = yes; then
6089 acx_cv_header_stdint
=$i
6094 echo "$as_me:$LINENO: checking for u_int64_t" >&5
6095 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
6096 if test "${ac_cv_type_u_int64_t+set}" = set; then
6097 echo $ECHO_N "(cached) $ECHO_C" >&6
6099 cat >conftest.
$ac_ext <<_ACEOF
6102 cat confdefs.h
>>conftest.
$ac_ext
6103 cat >>conftest.
$ac_ext <<_ACEOF
6104 /* end confdefs.h. */
6105 #include <sys/types.h>
6111 if ((u_int64_t *) 0)
6113 if (sizeof (u_int64_t))
6119 rm -f conftest.
$ac_objext
6120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6121 (eval $ac_compile) 2>conftest.er1
6123 grep -v '^ *+' conftest.er1
>conftest.err
6125 cat conftest.err
>&5
6126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6127 (exit $ac_status); } &&
6128 { ac_try
='test -z "$ac_c_werror_flag"
6129 || test ! -s conftest.err'
6130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134 (exit $ac_status); }; } &&
6135 { ac_try
='test -s conftest.$ac_objext'
6136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 (exit $ac_status); }; }; then
6141 ac_cv_type_u_int64_t
=yes
6143 echo "$as_me: failed program was:" >&5
6144 sed 's/^/| /' conftest.
$ac_ext >&5
6146 ac_cv_type_u_int64_t
=no
6148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6150 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
6151 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
6156 if test "$acx_cv_header_stdint" = stddef.h
; then
6157 acx_cv_header_stdint_kind
="(using manual detection)"
6160 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
6161 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
6162 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
6163 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
6164 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
6166 # ----------------- Summarize what we found so far
6168 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
6169 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
6171 case `$as_basename gstdint.h ||
6172 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
6173 Xgstdint.h : 'X\(//\)$' \| \
6174 Xgstdint.h : 'X\(/\)$' \| \
6175 . : '\(.\)' 2>/dev/null ||
6177 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6178 /^X\/\(\/\/\)$/{ s//\1/; q; }
6179 /^X\/\(\/\).*/{ s//\1/; q; }
6181 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
6182 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
6183 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
6184 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
6188 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
6189 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
6191 # ----------------- done included file, check C basic types --------
6193 # Lacking an uintptr_t? Test size of void *
6194 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
6195 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
6196 echo $ECHO_N "checking for void *... $ECHO_C" >&6
6197 if test "${ac_cv_type_void_p+set}" = set; then
6198 echo $ECHO_N "(cached) $ECHO_C" >&6
6200 cat >conftest.
$ac_ext <<_ACEOF
6203 cat confdefs.h
>>conftest.
$ac_ext
6204 cat >>conftest.
$ac_ext <<_ACEOF
6205 /* end confdefs.h. */
6206 $ac_includes_default
6212 if (sizeof (void *))
6218 rm -f conftest.
$ac_objext
6219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6220 (eval $ac_compile) 2>conftest.er1
6222 grep -v '^ *+' conftest.er1
>conftest.err
6224 cat conftest.err
>&5
6225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6226 (exit $ac_status); } &&
6227 { ac_try
='test -z "$ac_c_werror_flag"
6228 || test ! -s conftest.err'
6229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 (exit $ac_status); }; } &&
6234 { ac_try
='test -s conftest.$ac_objext'
6235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6239 (exit $ac_status); }; }; then
6240 ac_cv_type_void_p
=yes
6242 echo "$as_me: failed program was:" >&5
6243 sed 's/^/| /' conftest.
$ac_ext >&5
6245 ac_cv_type_void_p
=no
6247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6249 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
6250 echo "${ECHO_T}$ac_cv_type_void_p" >&6
6252 echo "$as_me:$LINENO: checking size of void *" >&5
6253 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
6254 if test "${ac_cv_sizeof_void_p+set}" = set; then
6255 echo $ECHO_N "(cached) $ECHO_C" >&6
6257 if test "$ac_cv_type_void_p" = yes; then
6258 # The cast to unsigned long works around a bug in the HP C Compiler
6259 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6260 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6261 # This bug is HP SR number 8606223364.
6262 if test "$cross_compiling" = yes; then
6263 # Depending upon the size, compute the lo and hi bounds.
6264 cat >conftest.
$ac_ext <<_ACEOF
6267 cat confdefs.h
>>conftest.
$ac_ext
6268 cat >>conftest.
$ac_ext <<_ACEOF
6269 /* end confdefs.h. */
6270 $ac_includes_default
6274 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
6281 rm -f conftest.
$ac_objext
6282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6283 (eval $ac_compile) 2>conftest.er1
6285 grep -v '^ *+' conftest.er1
>conftest.err
6287 cat conftest.err
>&5
6288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6289 (exit $ac_status); } &&
6290 { ac_try
='test -z "$ac_c_werror_flag"
6291 || test ! -s conftest.err'
6292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6296 (exit $ac_status); }; } &&
6297 { ac_try
='test -s conftest.$ac_objext'
6298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6302 (exit $ac_status); }; }; then
6305 cat >conftest.
$ac_ext <<_ACEOF
6308 cat confdefs.h
>>conftest.
$ac_ext
6309 cat >>conftest.
$ac_ext <<_ACEOF
6310 /* end confdefs.h. */
6311 $ac_includes_default
6315 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
6322 rm -f conftest.
$ac_objext
6323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6324 (eval $ac_compile) 2>conftest.er1
6326 grep -v '^ *+' conftest.er1
>conftest.err
6328 cat conftest.err
>&5
6329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6330 (exit $ac_status); } &&
6331 { ac_try
='test -z "$ac_c_werror_flag"
6332 || test ! -s conftest.err'
6333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 (exit $ac_status); }; } &&
6338 { ac_try
='test -s conftest.$ac_objext'
6339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6343 (exit $ac_status); }; }; then
6344 ac_hi
=$ac_mid; break
6346 echo "$as_me: failed program was:" >&5
6347 sed 's/^/| /' conftest.
$ac_ext >&5
6349 ac_lo
=`expr $ac_mid + 1`
6350 if test $ac_lo -le $ac_mid; then
6354 ac_mid
=`expr 2 '*' $ac_mid + 1`
6356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6359 echo "$as_me: failed program was:" >&5
6360 sed 's/^/| /' conftest.
$ac_ext >&5
6362 cat >conftest.
$ac_ext <<_ACEOF
6365 cat confdefs.h
>>conftest.
$ac_ext
6366 cat >>conftest.
$ac_ext <<_ACEOF
6367 /* end confdefs.h. */
6368 $ac_includes_default
6372 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
6379 rm -f conftest.
$ac_objext
6380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6381 (eval $ac_compile) 2>conftest.er1
6383 grep -v '^ *+' conftest.er1
>conftest.err
6385 cat conftest.err
>&5
6386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6387 (exit $ac_status); } &&
6388 { ac_try
='test -z "$ac_c_werror_flag"
6389 || test ! -s conftest.err'
6390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); }; } &&
6395 { ac_try
='test -s conftest.$ac_objext'
6396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); }; }; then
6403 cat >conftest.
$ac_ext <<_ACEOF
6406 cat confdefs.h
>>conftest.
$ac_ext
6407 cat >>conftest.
$ac_ext <<_ACEOF
6408 /* end confdefs.h. */
6409 $ac_includes_default
6413 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
6420 rm -f conftest.
$ac_objext
6421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6422 (eval $ac_compile) 2>conftest.er1
6424 grep -v '^ *+' conftest.er1
>conftest.err
6426 cat conftest.err
>&5
6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 (exit $ac_status); } &&
6429 { ac_try
='test -z "$ac_c_werror_flag"
6430 || test ! -s conftest.err'
6431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 (exit $ac_status); }; } &&
6436 { ac_try
='test -s conftest.$ac_objext'
6437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441 (exit $ac_status); }; }; then
6442 ac_lo
=$ac_mid; break
6444 echo "$as_me: failed program was:" >&5
6445 sed 's/^/| /' conftest.
$ac_ext >&5
6447 ac_hi
=`expr '(' $ac_mid ')' - 1`
6448 if test $ac_mid -le $ac_hi; then
6452 ac_mid
=`expr 2 '*' $ac_mid`
6454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6457 echo "$as_me: failed program was:" >&5
6458 sed 's/^/| /' conftest.
$ac_ext >&5
6462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6465 # Binary search between lo and hi bounds.
6466 while test "x$ac_lo" != "x$ac_hi"; do
6467 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6468 cat >conftest.
$ac_ext <<_ACEOF
6471 cat confdefs.h
>>conftest.
$ac_ext
6472 cat >>conftest.
$ac_ext <<_ACEOF
6473 /* end confdefs.h. */
6474 $ac_includes_default
6478 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
6485 rm -f conftest.
$ac_objext
6486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6487 (eval $ac_compile) 2>conftest.er1
6489 grep -v '^ *+' conftest.er1
>conftest.err
6491 cat conftest.err
>&5
6492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6493 (exit $ac_status); } &&
6494 { ac_try
='test -z "$ac_c_werror_flag"
6495 || test ! -s conftest.err'
6496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6500 (exit $ac_status); }; } &&
6501 { ac_try
='test -s conftest.$ac_objext'
6502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506 (exit $ac_status); }; }; then
6509 echo "$as_me: failed program was:" >&5
6510 sed 's/^/| /' conftest.
$ac_ext >&5
6512 ac_lo
=`expr '(' $ac_mid ')' + 1`
6514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6517 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
6518 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
6519 See \`config.log' for more details." >&5
6520 echo "$as_me: error: cannot compute sizeof (void *), 77
6521 See \`config.log' for more details." >&2;}
6522 { (exit 1); exit 1; }; } ;;
6525 if test "$cross_compiling" = yes; then
6526 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6527 See \`config.log' for more details." >&5
6528 echo "$as_me: error: cannot run test program while cross compiling
6529 See \`config.log' for more details." >&2;}
6530 { (exit 1); exit 1; }; }
6532 cat >conftest.
$ac_ext <<_ACEOF
6535 cat confdefs.h
>>conftest.
$ac_ext
6536 cat >>conftest.
$ac_ext <<_ACEOF
6537 /* end confdefs.h. */
6538 $ac_includes_default
6539 long longval () { return (long) (sizeof (void *)); }
6540 unsigned long ulongval () { return (long) (sizeof (void *)); }
6547 FILE *f = fopen ("conftest.val", "w");
6550 if (((long) (sizeof (void *))) < 0)
6552 long i = longval ();
6553 if (i != ((long) (sizeof (void *))))
6555 fprintf (f, "%ld\n", i);
6559 unsigned long i = ulongval ();
6560 if (i != ((long) (sizeof (void *))))
6562 fprintf (f, "%lu\n", i);
6564 exit (ferror (f) || fclose (f) != 0);
6570 rm -f conftest
$ac_exeext
6571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6572 (eval $ac_link) 2>&5
6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580 (exit $ac_status); }; }; then
6581 ac_cv_sizeof_void_p
=`cat conftest.val`
6583 echo "$as_me: program exited with status $ac_status" >&5
6584 echo "$as_me: failed program was:" >&5
6585 sed 's/^/| /' conftest.
$ac_ext >&5
6588 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
6589 See \`config.log' for more details." >&5
6590 echo "$as_me: error: cannot compute sizeof (void *), 77
6591 See \`config.log' for more details." >&2;}
6592 { (exit 1); exit 1; }; }
6594 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6599 ac_cv_sizeof_void_p
=0
6602 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
6603 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
6604 cat >>confdefs.h
<<_ACEOF
6605 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
6611 # Lacking an uint64_t? Test size of long
6612 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
6613 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
6614 echo $ECHO_N "checking for long... $ECHO_C" >&6
6615 if test "${ac_cv_type_long+set}" = set; then
6616 echo $ECHO_N "(cached) $ECHO_C" >&6
6618 cat >conftest.
$ac_ext <<_ACEOF
6621 cat confdefs.h
>>conftest.
$ac_ext
6622 cat >>conftest.
$ac_ext <<_ACEOF
6623 /* end confdefs.h. */
6624 $ac_includes_default
6636 rm -f conftest.
$ac_objext
6637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6638 (eval $ac_compile) 2>conftest.er1
6640 grep -v '^ *+' conftest.er1
>conftest.err
6642 cat conftest.err
>&5
6643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6644 (exit $ac_status); } &&
6645 { ac_try
='test -z "$ac_c_werror_flag"
6646 || test ! -s conftest.err'
6647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 (exit $ac_status); }; } &&
6652 { ac_try
='test -s conftest.$ac_objext'
6653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6657 (exit $ac_status); }; }; then
6660 echo "$as_me: failed program was:" >&5
6661 sed 's/^/| /' conftest.
$ac_ext >&5
6665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6667 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
6668 echo "${ECHO_T}$ac_cv_type_long" >&6
6670 echo "$as_me:$LINENO: checking size of long" >&5
6671 echo $ECHO_N "checking size of long... $ECHO_C" >&6
6672 if test "${ac_cv_sizeof_long+set}" = set; then
6673 echo $ECHO_N "(cached) $ECHO_C" >&6
6675 if test "$ac_cv_type_long" = yes; then
6676 # The cast to unsigned long works around a bug in the HP C Compiler
6677 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6678 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6679 # This bug is HP SR number 8606223364.
6680 if test "$cross_compiling" = yes; then
6681 # Depending upon the size, compute the lo and hi bounds.
6682 cat >conftest.
$ac_ext <<_ACEOF
6685 cat confdefs.h
>>conftest.
$ac_ext
6686 cat >>conftest.
$ac_ext <<_ACEOF
6687 /* end confdefs.h. */
6688 $ac_includes_default
6692 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
6699 rm -f conftest.
$ac_objext
6700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6701 (eval $ac_compile) 2>conftest.er1
6703 grep -v '^ *+' conftest.er1
>conftest.err
6705 cat conftest.err
>&5
6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 (exit $ac_status); } &&
6708 { ac_try
='test -z "$ac_c_werror_flag"
6709 || test ! -s conftest.err'
6710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); }; } &&
6715 { ac_try
='test -s conftest.$ac_objext'
6716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720 (exit $ac_status); }; }; then
6723 cat >conftest.
$ac_ext <<_ACEOF
6726 cat confdefs.h
>>conftest.
$ac_ext
6727 cat >>conftest.
$ac_ext <<_ACEOF
6728 /* end confdefs.h. */
6729 $ac_includes_default
6733 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6740 rm -f conftest.
$ac_objext
6741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6742 (eval $ac_compile) 2>conftest.er1
6744 grep -v '^ *+' conftest.er1
>conftest.err
6746 cat conftest.err
>&5
6747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748 (exit $ac_status); } &&
6749 { ac_try
='test -z "$ac_c_werror_flag"
6750 || test ! -s conftest.err'
6751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6755 (exit $ac_status); }; } &&
6756 { ac_try
='test -s conftest.$ac_objext'
6757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6761 (exit $ac_status); }; }; then
6762 ac_hi
=$ac_mid; break
6764 echo "$as_me: failed program was:" >&5
6765 sed 's/^/| /' conftest.
$ac_ext >&5
6767 ac_lo
=`expr $ac_mid + 1`
6768 if test $ac_lo -le $ac_mid; then
6772 ac_mid
=`expr 2 '*' $ac_mid + 1`
6774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6777 echo "$as_me: failed program was:" >&5
6778 sed 's/^/| /' conftest.
$ac_ext >&5
6780 cat >conftest.
$ac_ext <<_ACEOF
6783 cat confdefs.h
>>conftest.
$ac_ext
6784 cat >>conftest.
$ac_ext <<_ACEOF
6785 /* end confdefs.h. */
6786 $ac_includes_default
6790 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
6797 rm -f conftest.
$ac_objext
6798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6799 (eval $ac_compile) 2>conftest.er1
6801 grep -v '^ *+' conftest.er1
>conftest.err
6803 cat conftest.err
>&5
6804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6805 (exit $ac_status); } &&
6806 { ac_try
='test -z "$ac_c_werror_flag"
6807 || test ! -s conftest.err'
6808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6812 (exit $ac_status); }; } &&
6813 { ac_try
='test -s conftest.$ac_objext'
6814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6818 (exit $ac_status); }; }; then
6821 cat >conftest.
$ac_ext <<_ACEOF
6824 cat confdefs.h
>>conftest.
$ac_ext
6825 cat >>conftest.
$ac_ext <<_ACEOF
6826 /* end confdefs.h. */
6827 $ac_includes_default
6831 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
6838 rm -f conftest.
$ac_objext
6839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6840 (eval $ac_compile) 2>conftest.er1
6842 grep -v '^ *+' conftest.er1
>conftest.err
6844 cat conftest.err
>&5
6845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846 (exit $ac_status); } &&
6847 { ac_try
='test -z "$ac_c_werror_flag"
6848 || test ! -s conftest.err'
6849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6853 (exit $ac_status); }; } &&
6854 { ac_try
='test -s conftest.$ac_objext'
6855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859 (exit $ac_status); }; }; then
6860 ac_lo
=$ac_mid; break
6862 echo "$as_me: failed program was:" >&5
6863 sed 's/^/| /' conftest.
$ac_ext >&5
6865 ac_hi
=`expr '(' $ac_mid ')' - 1`
6866 if test $ac_mid -le $ac_hi; then
6870 ac_mid
=`expr 2 '*' $ac_mid`
6872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6875 echo "$as_me: failed program was:" >&5
6876 sed 's/^/| /' conftest.
$ac_ext >&5
6880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6883 # Binary search between lo and hi bounds.
6884 while test "x$ac_lo" != "x$ac_hi"; do
6885 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6886 cat >conftest.
$ac_ext <<_ACEOF
6889 cat confdefs.h
>>conftest.
$ac_ext
6890 cat >>conftest.
$ac_ext <<_ACEOF
6891 /* end confdefs.h. */
6892 $ac_includes_default
6896 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6903 rm -f conftest.
$ac_objext
6904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6905 (eval $ac_compile) 2>conftest.er1
6907 grep -v '^ *+' conftest.er1
>conftest.err
6909 cat conftest.err
>&5
6910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911 (exit $ac_status); } &&
6912 { ac_try
='test -z "$ac_c_werror_flag"
6913 || test ! -s conftest.err'
6914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6918 (exit $ac_status); }; } &&
6919 { ac_try
='test -s conftest.$ac_objext'
6920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6924 (exit $ac_status); }; }; then
6927 echo "$as_me: failed program was:" >&5
6928 sed 's/^/| /' conftest.
$ac_ext >&5
6930 ac_lo
=`expr '(' $ac_mid ')' + 1`
6932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6935 ?
*) ac_cv_sizeof_long
=$ac_lo;;
6936 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
6937 See \`config.log' for more details." >&5
6938 echo "$as_me: error: cannot compute sizeof (long), 77
6939 See \`config.log' for more details." >&2;}
6940 { (exit 1); exit 1; }; } ;;
6943 if test "$cross_compiling" = yes; then
6944 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6945 See \`config.log' for more details." >&5
6946 echo "$as_me: error: cannot run test program while cross compiling
6947 See \`config.log' for more details." >&2;}
6948 { (exit 1); exit 1; }; }
6950 cat >conftest.
$ac_ext <<_ACEOF
6953 cat confdefs.h
>>conftest.
$ac_ext
6954 cat >>conftest.
$ac_ext <<_ACEOF
6955 /* end confdefs.h. */
6956 $ac_includes_default
6957 long longval () { return (long) (sizeof (long)); }
6958 unsigned long ulongval () { return (long) (sizeof (long)); }
6965 FILE *f = fopen ("conftest.val", "w");
6968 if (((long) (sizeof (long))) < 0)
6970 long i = longval ();
6971 if (i != ((long) (sizeof (long))))
6973 fprintf (f, "%ld\n", i);
6977 unsigned long i = ulongval ();
6978 if (i != ((long) (sizeof (long))))
6980 fprintf (f, "%lu\n", i);
6982 exit (ferror (f) || fclose (f) != 0);
6988 rm -f conftest
$ac_exeext
6989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6990 (eval $ac_link) 2>&5
6992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6993 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998 (exit $ac_status); }; }; then
6999 ac_cv_sizeof_long
=`cat conftest.val`
7001 echo "$as_me: program exited with status $ac_status" >&5
7002 echo "$as_me: failed program was:" >&5
7003 sed 's/^/| /' conftest.
$ac_ext >&5
7006 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7007 See \`config.log' for more details." >&5
7008 echo "$as_me: error: cannot compute sizeof (long), 77
7009 See \`config.log' for more details." >&2;}
7010 { (exit 1); exit 1; }; }
7012 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7020 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7021 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7022 cat >>confdefs.h
<<_ACEOF
7023 #define SIZEOF_LONG $ac_cv_sizeof_long
7029 if test $acx_cv_header_stdint = stddef.h
; then
7030 # Lacking a good header? Test size of everything and deduce all types.
7031 echo "$as_me:$LINENO: checking for int" >&5
7032 echo $ECHO_N "checking for int... $ECHO_C" >&6
7033 if test "${ac_cv_type_int+set}" = set; then
7034 echo $ECHO_N "(cached) $ECHO_C" >&6
7036 cat >conftest.
$ac_ext <<_ACEOF
7039 cat confdefs.h
>>conftest.
$ac_ext
7040 cat >>conftest.
$ac_ext <<_ACEOF
7041 /* end confdefs.h. */
7042 $ac_includes_default
7054 rm -f conftest.
$ac_objext
7055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7056 (eval $ac_compile) 2>conftest.er1
7058 grep -v '^ *+' conftest.er1
>conftest.err
7060 cat conftest.err
>&5
7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); } &&
7063 { ac_try
='test -z "$ac_c_werror_flag"
7064 || test ! -s conftest.err'
7065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); }; } &&
7070 { ac_try
='test -s conftest.$ac_objext'
7071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); }; }; then
7078 echo "$as_me: failed program was:" >&5
7079 sed 's/^/| /' conftest.
$ac_ext >&5
7083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7085 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
7086 echo "${ECHO_T}$ac_cv_type_int" >&6
7088 echo "$as_me:$LINENO: checking size of int" >&5
7089 echo $ECHO_N "checking size of int... $ECHO_C" >&6
7090 if test "${ac_cv_sizeof_int+set}" = set; then
7091 echo $ECHO_N "(cached) $ECHO_C" >&6
7093 if test "$ac_cv_type_int" = yes; then
7094 # The cast to unsigned long works around a bug in the HP C Compiler
7095 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7096 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7097 # This bug is HP SR number 8606223364.
7098 if test "$cross_compiling" = yes; then
7099 # Depending upon the size, compute the lo and hi bounds.
7100 cat >conftest.
$ac_ext <<_ACEOF
7103 cat confdefs.h
>>conftest.
$ac_ext
7104 cat >>conftest.
$ac_ext <<_ACEOF
7105 /* end confdefs.h. */
7106 $ac_includes_default
7110 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
7117 rm -f conftest.
$ac_objext
7118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7119 (eval $ac_compile) 2>conftest.er1
7121 grep -v '^ *+' conftest.er1
>conftest.err
7123 cat conftest.err
>&5
7124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7125 (exit $ac_status); } &&
7126 { ac_try
='test -z "$ac_c_werror_flag"
7127 || test ! -s conftest.err'
7128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7132 (exit $ac_status); }; } &&
7133 { ac_try
='test -s conftest.$ac_objext'
7134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138 (exit $ac_status); }; }; then
7141 cat >conftest.
$ac_ext <<_ACEOF
7144 cat confdefs.h
>>conftest.
$ac_ext
7145 cat >>conftest.
$ac_ext <<_ACEOF
7146 /* end confdefs.h. */
7147 $ac_includes_default
7151 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
7158 rm -f conftest.
$ac_objext
7159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7160 (eval $ac_compile) 2>conftest.er1
7162 grep -v '^ *+' conftest.er1
>conftest.err
7164 cat conftest.err
>&5
7165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7166 (exit $ac_status); } &&
7167 { ac_try
='test -z "$ac_c_werror_flag"
7168 || test ! -s conftest.err'
7169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7173 (exit $ac_status); }; } &&
7174 { ac_try
='test -s conftest.$ac_objext'
7175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7179 (exit $ac_status); }; }; then
7180 ac_hi
=$ac_mid; break
7182 echo "$as_me: failed program was:" >&5
7183 sed 's/^/| /' conftest.
$ac_ext >&5
7185 ac_lo
=`expr $ac_mid + 1`
7186 if test $ac_lo -le $ac_mid; then
7190 ac_mid
=`expr 2 '*' $ac_mid + 1`
7192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7195 echo "$as_me: failed program was:" >&5
7196 sed 's/^/| /' conftest.
$ac_ext >&5
7198 cat >conftest.
$ac_ext <<_ACEOF
7201 cat confdefs.h
>>conftest.
$ac_ext
7202 cat >>conftest.
$ac_ext <<_ACEOF
7203 /* end confdefs.h. */
7204 $ac_includes_default
7208 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
7215 rm -f conftest.
$ac_objext
7216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7217 (eval $ac_compile) 2>conftest.er1
7219 grep -v '^ *+' conftest.er1
>conftest.err
7221 cat conftest.err
>&5
7222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7223 (exit $ac_status); } &&
7224 { ac_try
='test -z "$ac_c_werror_flag"
7225 || test ! -s conftest.err'
7226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); }; } &&
7231 { ac_try
='test -s conftest.$ac_objext'
7232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7236 (exit $ac_status); }; }; then
7239 cat >conftest.
$ac_ext <<_ACEOF
7242 cat confdefs.h
>>conftest.
$ac_ext
7243 cat >>conftest.
$ac_ext <<_ACEOF
7244 /* end confdefs.h. */
7245 $ac_includes_default
7249 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
7256 rm -f conftest.
$ac_objext
7257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7258 (eval $ac_compile) 2>conftest.er1
7260 grep -v '^ *+' conftest.er1
>conftest.err
7262 cat conftest.err
>&5
7263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7264 (exit $ac_status); } &&
7265 { ac_try
='test -z "$ac_c_werror_flag"
7266 || test ! -s conftest.err'
7267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7271 (exit $ac_status); }; } &&
7272 { ac_try
='test -s conftest.$ac_objext'
7273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7277 (exit $ac_status); }; }; then
7278 ac_lo
=$ac_mid; break
7280 echo "$as_me: failed program was:" >&5
7281 sed 's/^/| /' conftest.
$ac_ext >&5
7283 ac_hi
=`expr '(' $ac_mid ')' - 1`
7284 if test $ac_mid -le $ac_hi; then
7288 ac_mid
=`expr 2 '*' $ac_mid`
7290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7293 echo "$as_me: failed program was:" >&5
7294 sed 's/^/| /' conftest.
$ac_ext >&5
7298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7301 # Binary search between lo and hi bounds.
7302 while test "x$ac_lo" != "x$ac_hi"; do
7303 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7304 cat >conftest.
$ac_ext <<_ACEOF
7307 cat confdefs.h
>>conftest.
$ac_ext
7308 cat >>conftest.
$ac_ext <<_ACEOF
7309 /* end confdefs.h. */
7310 $ac_includes_default
7314 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
7321 rm -f conftest.
$ac_objext
7322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7323 (eval $ac_compile) 2>conftest.er1
7325 grep -v '^ *+' conftest.er1
>conftest.err
7327 cat conftest.err
>&5
7328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7329 (exit $ac_status); } &&
7330 { ac_try
='test -z "$ac_c_werror_flag"
7331 || test ! -s conftest.err'
7332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7336 (exit $ac_status); }; } &&
7337 { ac_try
='test -s conftest.$ac_objext'
7338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342 (exit $ac_status); }; }; then
7345 echo "$as_me: failed program was:" >&5
7346 sed 's/^/| /' conftest.
$ac_ext >&5
7348 ac_lo
=`expr '(' $ac_mid ')' + 1`
7350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7353 ?
*) ac_cv_sizeof_int
=$ac_lo;;
7354 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
7355 See \`config.log' for more details." >&5
7356 echo "$as_me: error: cannot compute sizeof (int), 77
7357 See \`config.log' for more details." >&2;}
7358 { (exit 1); exit 1; }; } ;;
7361 if test "$cross_compiling" = yes; then
7362 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7363 See \`config.log' for more details." >&5
7364 echo "$as_me: error: cannot run test program while cross compiling
7365 See \`config.log' for more details." >&2;}
7366 { (exit 1); exit 1; }; }
7368 cat >conftest.
$ac_ext <<_ACEOF
7371 cat confdefs.h
>>conftest.
$ac_ext
7372 cat >>conftest.
$ac_ext <<_ACEOF
7373 /* end confdefs.h. */
7374 $ac_includes_default
7375 long longval () { return (long) (sizeof (int)); }
7376 unsigned long ulongval () { return (long) (sizeof (int)); }
7383 FILE *f = fopen ("conftest.val", "w");
7386 if (((long) (sizeof (int))) < 0)
7388 long i = longval ();
7389 if (i != ((long) (sizeof (int))))
7391 fprintf (f, "%ld\n", i);
7395 unsigned long i = ulongval ();
7396 if (i != ((long) (sizeof (int))))
7398 fprintf (f, "%lu\n", i);
7400 exit (ferror (f) || fclose (f) != 0);
7406 rm -f conftest
$ac_exeext
7407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7408 (eval $ac_link) 2>&5
7410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7411 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7416 (exit $ac_status); }; }; then
7417 ac_cv_sizeof_int
=`cat conftest.val`
7419 echo "$as_me: program exited with status $ac_status" >&5
7420 echo "$as_me: failed program was:" >&5
7421 sed 's/^/| /' conftest.
$ac_ext >&5
7424 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
7425 See \`config.log' for more details." >&5
7426 echo "$as_me: error: cannot compute sizeof (int), 77
7427 See \`config.log' for more details." >&2;}
7428 { (exit 1); exit 1; }; }
7430 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7438 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
7439 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
7440 cat >>confdefs.h
<<_ACEOF
7441 #define SIZEOF_INT $ac_cv_sizeof_int
7445 echo "$as_me:$LINENO: checking for short" >&5
7446 echo $ECHO_N "checking for short... $ECHO_C" >&6
7447 if test "${ac_cv_type_short+set}" = set; then
7448 echo $ECHO_N "(cached) $ECHO_C" >&6
7450 cat >conftest.
$ac_ext <<_ACEOF
7453 cat confdefs.h
>>conftest.
$ac_ext
7454 cat >>conftest.
$ac_ext <<_ACEOF
7455 /* end confdefs.h. */
7456 $ac_includes_default
7468 rm -f conftest.
$ac_objext
7469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7470 (eval $ac_compile) 2>conftest.er1
7472 grep -v '^ *+' conftest.er1
>conftest.err
7474 cat conftest.err
>&5
7475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7476 (exit $ac_status); } &&
7477 { ac_try
='test -z "$ac_c_werror_flag"
7478 || test ! -s conftest.err'
7479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7483 (exit $ac_status); }; } &&
7484 { ac_try
='test -s conftest.$ac_objext'
7485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7489 (exit $ac_status); }; }; then
7490 ac_cv_type_short
=yes
7492 echo "$as_me: failed program was:" >&5
7493 sed 's/^/| /' conftest.
$ac_ext >&5
7497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7499 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
7500 echo "${ECHO_T}$ac_cv_type_short" >&6
7502 echo "$as_me:$LINENO: checking size of short" >&5
7503 echo $ECHO_N "checking size of short... $ECHO_C" >&6
7504 if test "${ac_cv_sizeof_short+set}" = set; then
7505 echo $ECHO_N "(cached) $ECHO_C" >&6
7507 if test "$ac_cv_type_short" = yes; then
7508 # The cast to unsigned long works around a bug in the HP C Compiler
7509 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7510 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7511 # This bug is HP SR number 8606223364.
7512 if test "$cross_compiling" = yes; then
7513 # Depending upon the size, compute the lo and hi bounds.
7514 cat >conftest.
$ac_ext <<_ACEOF
7517 cat confdefs.h
>>conftest.
$ac_ext
7518 cat >>conftest.
$ac_ext <<_ACEOF
7519 /* end confdefs.h. */
7520 $ac_includes_default
7524 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
7531 rm -f conftest.
$ac_objext
7532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7533 (eval $ac_compile) 2>conftest.er1
7535 grep -v '^ *+' conftest.er1
>conftest.err
7537 cat conftest.err
>&5
7538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7539 (exit $ac_status); } &&
7540 { ac_try
='test -z "$ac_c_werror_flag"
7541 || test ! -s conftest.err'
7542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7546 (exit $ac_status); }; } &&
7547 { ac_try
='test -s conftest.$ac_objext'
7548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7552 (exit $ac_status); }; }; then
7555 cat >conftest.
$ac_ext <<_ACEOF
7558 cat confdefs.h
>>conftest.
$ac_ext
7559 cat >>conftest.
$ac_ext <<_ACEOF
7560 /* end confdefs.h. */
7561 $ac_includes_default
7565 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
7572 rm -f conftest.
$ac_objext
7573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7574 (eval $ac_compile) 2>conftest.er1
7576 grep -v '^ *+' conftest.er1
>conftest.err
7578 cat conftest.err
>&5
7579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7580 (exit $ac_status); } &&
7581 { ac_try
='test -z "$ac_c_werror_flag"
7582 || test ! -s conftest.err'
7583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7587 (exit $ac_status); }; } &&
7588 { ac_try
='test -s conftest.$ac_objext'
7589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7593 (exit $ac_status); }; }; then
7594 ac_hi
=$ac_mid; break
7596 echo "$as_me: failed program was:" >&5
7597 sed 's/^/| /' conftest.
$ac_ext >&5
7599 ac_lo
=`expr $ac_mid + 1`
7600 if test $ac_lo -le $ac_mid; then
7604 ac_mid
=`expr 2 '*' $ac_mid + 1`
7606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7609 echo "$as_me: failed program was:" >&5
7610 sed 's/^/| /' conftest.
$ac_ext >&5
7612 cat >conftest.
$ac_ext <<_ACEOF
7615 cat confdefs.h
>>conftest.
$ac_ext
7616 cat >>conftest.
$ac_ext <<_ACEOF
7617 /* end confdefs.h. */
7618 $ac_includes_default
7622 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
7629 rm -f conftest.
$ac_objext
7630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7631 (eval $ac_compile) 2>conftest.er1
7633 grep -v '^ *+' conftest.er1
>conftest.err
7635 cat conftest.err
>&5
7636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7637 (exit $ac_status); } &&
7638 { ac_try
='test -z "$ac_c_werror_flag"
7639 || test ! -s conftest.err'
7640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7644 (exit $ac_status); }; } &&
7645 { ac_try
='test -s conftest.$ac_objext'
7646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7650 (exit $ac_status); }; }; then
7653 cat >conftest.
$ac_ext <<_ACEOF
7656 cat confdefs.h
>>conftest.
$ac_ext
7657 cat >>conftest.
$ac_ext <<_ACEOF
7658 /* end confdefs.h. */
7659 $ac_includes_default
7663 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
7670 rm -f conftest.
$ac_objext
7671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7672 (eval $ac_compile) 2>conftest.er1
7674 grep -v '^ *+' conftest.er1
>conftest.err
7676 cat conftest.err
>&5
7677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7678 (exit $ac_status); } &&
7679 { ac_try
='test -z "$ac_c_werror_flag"
7680 || test ! -s conftest.err'
7681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7685 (exit $ac_status); }; } &&
7686 { ac_try
='test -s conftest.$ac_objext'
7687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7691 (exit $ac_status); }; }; then
7692 ac_lo
=$ac_mid; break
7694 echo "$as_me: failed program was:" >&5
7695 sed 's/^/| /' conftest.
$ac_ext >&5
7697 ac_hi
=`expr '(' $ac_mid ')' - 1`
7698 if test $ac_mid -le $ac_hi; then
7702 ac_mid
=`expr 2 '*' $ac_mid`
7704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7707 echo "$as_me: failed program was:" >&5
7708 sed 's/^/| /' conftest.
$ac_ext >&5
7712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7715 # Binary search between lo and hi bounds.
7716 while test "x$ac_lo" != "x$ac_hi"; do
7717 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7718 cat >conftest.
$ac_ext <<_ACEOF
7721 cat confdefs.h
>>conftest.
$ac_ext
7722 cat >>conftest.
$ac_ext <<_ACEOF
7723 /* end confdefs.h. */
7724 $ac_includes_default
7728 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
7735 rm -f conftest.
$ac_objext
7736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7737 (eval $ac_compile) 2>conftest.er1
7739 grep -v '^ *+' conftest.er1
>conftest.err
7741 cat conftest.err
>&5
7742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7743 (exit $ac_status); } &&
7744 { ac_try
='test -z "$ac_c_werror_flag"
7745 || test ! -s conftest.err'
7746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7750 (exit $ac_status); }; } &&
7751 { ac_try
='test -s conftest.$ac_objext'
7752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7756 (exit $ac_status); }; }; then
7759 echo "$as_me: failed program was:" >&5
7760 sed 's/^/| /' conftest.
$ac_ext >&5
7762 ac_lo
=`expr '(' $ac_mid ')' + 1`
7764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7767 ?
*) ac_cv_sizeof_short
=$ac_lo;;
7768 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
7769 See \`config.log' for more details." >&5
7770 echo "$as_me: error: cannot compute sizeof (short), 77
7771 See \`config.log' for more details." >&2;}
7772 { (exit 1); exit 1; }; } ;;
7775 if test "$cross_compiling" = yes; then
7776 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7777 See \`config.log' for more details." >&5
7778 echo "$as_me: error: cannot run test program while cross compiling
7779 See \`config.log' for more details." >&2;}
7780 { (exit 1); exit 1; }; }
7782 cat >conftest.
$ac_ext <<_ACEOF
7785 cat confdefs.h
>>conftest.
$ac_ext
7786 cat >>conftest.
$ac_ext <<_ACEOF
7787 /* end confdefs.h. */
7788 $ac_includes_default
7789 long longval () { return (long) (sizeof (short)); }
7790 unsigned long ulongval () { return (long) (sizeof (short)); }
7797 FILE *f = fopen ("conftest.val", "w");
7800 if (((long) (sizeof (short))) < 0)
7802 long i = longval ();
7803 if (i != ((long) (sizeof (short))))
7805 fprintf (f, "%ld\n", i);
7809 unsigned long i = ulongval ();
7810 if (i != ((long) (sizeof (short))))
7812 fprintf (f, "%lu\n", i);
7814 exit (ferror (f) || fclose (f) != 0);
7820 rm -f conftest
$ac_exeext
7821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7822 (eval $ac_link) 2>&5
7824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830 (exit $ac_status); }; }; then
7831 ac_cv_sizeof_short
=`cat conftest.val`
7833 echo "$as_me: program exited with status $ac_status" >&5
7834 echo "$as_me: failed program was:" >&5
7835 sed 's/^/| /' conftest.
$ac_ext >&5
7838 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
7839 See \`config.log' for more details." >&5
7840 echo "$as_me: error: cannot compute sizeof (short), 77
7841 See \`config.log' for more details." >&2;}
7842 { (exit 1); exit 1; }; }
7844 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7849 ac_cv_sizeof_short
=0
7852 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
7853 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
7854 cat >>confdefs.h
<<_ACEOF
7855 #define SIZEOF_SHORT $ac_cv_sizeof_short
7859 echo "$as_me:$LINENO: checking for char" >&5
7860 echo $ECHO_N "checking for char... $ECHO_C" >&6
7861 if test "${ac_cv_type_char+set}" = set; then
7862 echo $ECHO_N "(cached) $ECHO_C" >&6
7864 cat >conftest.
$ac_ext <<_ACEOF
7867 cat confdefs.h
>>conftest.
$ac_ext
7868 cat >>conftest.
$ac_ext <<_ACEOF
7869 /* end confdefs.h. */
7870 $ac_includes_default
7882 rm -f conftest.
$ac_objext
7883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7884 (eval $ac_compile) 2>conftest.er1
7886 grep -v '^ *+' conftest.er1
>conftest.err
7888 cat conftest.err
>&5
7889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7890 (exit $ac_status); } &&
7891 { ac_try
='test -z "$ac_c_werror_flag"
7892 || test ! -s conftest.err'
7893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897 (exit $ac_status); }; } &&
7898 { ac_try
='test -s conftest.$ac_objext'
7899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903 (exit $ac_status); }; }; then
7906 echo "$as_me: failed program was:" >&5
7907 sed 's/^/| /' conftest.
$ac_ext >&5
7911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7913 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
7914 echo "${ECHO_T}$ac_cv_type_char" >&6
7916 echo "$as_me:$LINENO: checking size of char" >&5
7917 echo $ECHO_N "checking size of char... $ECHO_C" >&6
7918 if test "${ac_cv_sizeof_char+set}" = set; then
7919 echo $ECHO_N "(cached) $ECHO_C" >&6
7921 if test "$ac_cv_type_char" = yes; then
7922 # The cast to unsigned long works around a bug in the HP C Compiler
7923 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7924 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7925 # This bug is HP SR number 8606223364.
7926 if test "$cross_compiling" = yes; then
7927 # Depending upon the size, compute the lo and hi bounds.
7928 cat >conftest.
$ac_ext <<_ACEOF
7931 cat confdefs.h
>>conftest.
$ac_ext
7932 cat >>conftest.
$ac_ext <<_ACEOF
7933 /* end confdefs.h. */
7934 $ac_includes_default
7938 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
7945 rm -f conftest.
$ac_objext
7946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7947 (eval $ac_compile) 2>conftest.er1
7949 grep -v '^ *+' conftest.er1
>conftest.err
7951 cat conftest.err
>&5
7952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953 (exit $ac_status); } &&
7954 { ac_try
='test -z "$ac_c_werror_flag"
7955 || test ! -s conftest.err'
7956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960 (exit $ac_status); }; } &&
7961 { ac_try
='test -s conftest.$ac_objext'
7962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7966 (exit $ac_status); }; }; then
7969 cat >conftest.
$ac_ext <<_ACEOF
7972 cat confdefs.h
>>conftest.
$ac_ext
7973 cat >>conftest.
$ac_ext <<_ACEOF
7974 /* end confdefs.h. */
7975 $ac_includes_default
7979 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
7986 rm -f conftest.
$ac_objext
7987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7988 (eval $ac_compile) 2>conftest.er1
7990 grep -v '^ *+' conftest.er1
>conftest.err
7992 cat conftest.err
>&5
7993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7994 (exit $ac_status); } &&
7995 { ac_try
='test -z "$ac_c_werror_flag"
7996 || test ! -s conftest.err'
7997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8001 (exit $ac_status); }; } &&
8002 { ac_try
='test -s conftest.$ac_objext'
8003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8007 (exit $ac_status); }; }; then
8008 ac_hi
=$ac_mid; break
8010 echo "$as_me: failed program was:" >&5
8011 sed 's/^/| /' conftest.
$ac_ext >&5
8013 ac_lo
=`expr $ac_mid + 1`
8014 if test $ac_lo -le $ac_mid; then
8018 ac_mid
=`expr 2 '*' $ac_mid + 1`
8020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8023 echo "$as_me: failed program was:" >&5
8024 sed 's/^/| /' conftest.
$ac_ext >&5
8026 cat >conftest.
$ac_ext <<_ACEOF
8029 cat confdefs.h
>>conftest.
$ac_ext
8030 cat >>conftest.
$ac_ext <<_ACEOF
8031 /* end confdefs.h. */
8032 $ac_includes_default
8036 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
8043 rm -f conftest.
$ac_objext
8044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8045 (eval $ac_compile) 2>conftest.er1
8047 grep -v '^ *+' conftest.er1
>conftest.err
8049 cat conftest.err
>&5
8050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051 (exit $ac_status); } &&
8052 { ac_try
='test -z "$ac_c_werror_flag"
8053 || test ! -s conftest.err'
8054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8058 (exit $ac_status); }; } &&
8059 { ac_try
='test -s conftest.$ac_objext'
8060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 (exit $ac_status); }; }; then
8067 cat >conftest.
$ac_ext <<_ACEOF
8070 cat confdefs.h
>>conftest.
$ac_ext
8071 cat >>conftest.
$ac_ext <<_ACEOF
8072 /* end confdefs.h. */
8073 $ac_includes_default
8077 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
8084 rm -f conftest.
$ac_objext
8085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8086 (eval $ac_compile) 2>conftest.er1
8088 grep -v '^ *+' conftest.er1
>conftest.err
8090 cat conftest.err
>&5
8091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8092 (exit $ac_status); } &&
8093 { ac_try
='test -z "$ac_c_werror_flag"
8094 || test ! -s conftest.err'
8095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8099 (exit $ac_status); }; } &&
8100 { ac_try
='test -s conftest.$ac_objext'
8101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8105 (exit $ac_status); }; }; then
8106 ac_lo
=$ac_mid; break
8108 echo "$as_me: failed program was:" >&5
8109 sed 's/^/| /' conftest.
$ac_ext >&5
8111 ac_hi
=`expr '(' $ac_mid ')' - 1`
8112 if test $ac_mid -le $ac_hi; then
8116 ac_mid
=`expr 2 '*' $ac_mid`
8118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8121 echo "$as_me: failed program was:" >&5
8122 sed 's/^/| /' conftest.
$ac_ext >&5
8126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8129 # Binary search between lo and hi bounds.
8130 while test "x$ac_lo" != "x$ac_hi"; do
8131 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8132 cat >conftest.
$ac_ext <<_ACEOF
8135 cat confdefs.h
>>conftest.
$ac_ext
8136 cat >>conftest.
$ac_ext <<_ACEOF
8137 /* end confdefs.h. */
8138 $ac_includes_default
8142 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
8149 rm -f conftest.
$ac_objext
8150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8151 (eval $ac_compile) 2>conftest.er1
8153 grep -v '^ *+' conftest.er1
>conftest.err
8155 cat conftest.err
>&5
8156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8157 (exit $ac_status); } &&
8158 { ac_try
='test -z "$ac_c_werror_flag"
8159 || test ! -s conftest.err'
8160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8164 (exit $ac_status); }; } &&
8165 { ac_try
='test -s conftest.$ac_objext'
8166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8170 (exit $ac_status); }; }; then
8173 echo "$as_me: failed program was:" >&5
8174 sed 's/^/| /' conftest.
$ac_ext >&5
8176 ac_lo
=`expr '(' $ac_mid ')' + 1`
8178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8181 ?
*) ac_cv_sizeof_char
=$ac_lo;;
8182 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
8183 See \`config.log' for more details." >&5
8184 echo "$as_me: error: cannot compute sizeof (char), 77
8185 See \`config.log' for more details." >&2;}
8186 { (exit 1); exit 1; }; } ;;
8189 if test "$cross_compiling" = yes; then
8190 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8191 See \`config.log' for more details." >&5
8192 echo "$as_me: error: cannot run test program while cross compiling
8193 See \`config.log' for more details." >&2;}
8194 { (exit 1); exit 1; }; }
8196 cat >conftest.
$ac_ext <<_ACEOF
8199 cat confdefs.h
>>conftest.
$ac_ext
8200 cat >>conftest.
$ac_ext <<_ACEOF
8201 /* end confdefs.h. */
8202 $ac_includes_default
8203 long longval () { return (long) (sizeof (char)); }
8204 unsigned long ulongval () { return (long) (sizeof (char)); }
8211 FILE *f = fopen ("conftest.val", "w");
8214 if (((long) (sizeof (char))) < 0)
8216 long i = longval ();
8217 if (i != ((long) (sizeof (char))))
8219 fprintf (f, "%ld\n", i);
8223 unsigned long i = ulongval ();
8224 if (i != ((long) (sizeof (char))))
8226 fprintf (f, "%lu\n", i);
8228 exit (ferror (f) || fclose (f) != 0);
8234 rm -f conftest
$ac_exeext
8235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8236 (eval $ac_link) 2>&5
8238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8244 (exit $ac_status); }; }; then
8245 ac_cv_sizeof_char
=`cat conftest.val`
8247 echo "$as_me: program exited with status $ac_status" >&5
8248 echo "$as_me: failed program was:" >&5
8249 sed 's/^/| /' conftest.
$ac_ext >&5
8252 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
8253 See \`config.log' for more details." >&5
8254 echo "$as_me: error: cannot compute sizeof (char), 77
8255 See \`config.log' for more details." >&2;}
8256 { (exit 1); exit 1; }; }
8258 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8266 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
8267 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
8268 cat >>confdefs.h
<<_ACEOF
8269 #define SIZEOF_CHAR $ac_cv_sizeof_char
8274 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
8275 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
8276 case "$ac_cv_sizeof_char" in
8277 1) acx_cv_type_int8_t
=char
;;
8278 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
8279 echo "$as_me: error: no 8-bit type" >&2;}
8280 { (exit please report a bug
); exit please report a bug
; }; }
8282 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
8283 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
8285 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
8286 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
8287 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
8288 2:*) acx_cv_type_int16_t
=int
;;
8289 *:2) acx_cv_type_int16_t
=short
;;
8290 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
8291 echo "$as_me: error: no 16-bit type" >&2;}
8292 { (exit please report a bug
); exit please report a bug
; }; }
8294 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
8295 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
8297 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
8298 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
8299 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
8300 4:*) acx_cv_type_int32_t
=int
;;
8301 *:4) acx_cv_type_int32_t
=long
;;
8302 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
8303 echo "$as_me: error: no 32-bit type" >&2;}
8304 { (exit please report a bug
); exit please report a bug
; }; }
8306 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
8307 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
8310 # These tests are here to make the output prettier
8312 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
8313 case "$ac_cv_sizeof_long" in
8314 8) acx_cv_type_int64_t
=long
;;
8316 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
8317 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
8318 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
8319 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
8322 # Now we can use the above types
8324 if test "$ac_cv_type_uintptr_t" != yes; then
8325 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
8326 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
8327 case $ac_cv_sizeof_void_p in
8328 2) acx_cv_type_intptr_t
=int16_t
;;
8329 4) acx_cv_type_intptr_t
=int32_t
;;
8330 8) acx_cv_type_intptr_t
=int64_t
;;
8331 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
8332 echo "$as_me: error: no equivalent for intptr_t" >&2;}
8333 { (exit please report a bug
); exit please report a bug
; }; }
8335 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
8336 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
8339 # ----------------- done all checks, emit header -------------
8340 ac_config_commands
="$ac_config_commands gstdint.h"
8345 # Check to see if -pthread or -lpthread is needed. Prefer the former.
8346 # In case the pthread.h system header is not found, this test will fail.
8349 # Darwin doesn't need the -pthread option since threads are in libSystem
8350 cat >conftest.
$ac_ext <<_ACEOF
8353 cat confdefs.h
>>conftest.
$ac_ext
8354 cat >>conftest.
$ac_ext <<_ACEOF
8355 /* end confdefs.h. */
8356 #include <pthread.h>
8357 void *g(void *d) { return NULL; }
8361 pthread_t t; pthread_create(&t,NULL,g,NULL);
8366 rm -f conftest.
$ac_objext conftest
$ac_exeext
8367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8368 (eval $ac_link) 2>conftest.er1
8370 grep -v '^ *+' conftest.er1
>conftest.err
8372 cat conftest.err
>&5
8373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8374 (exit $ac_status); } &&
8375 { ac_try
='test -z "$ac_c_werror_flag"
8376 || test ! -s conftest.err'
8377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8381 (exit $ac_status); }; } &&
8382 { ac_try
='test -s conftest$ac_exeext'
8383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387 (exit $ac_status); }; }; then
8392 XPCFLAGS
=" -Wc,-pthread"
8396 echo "$as_me: failed program was:" >&5
8397 sed 's/^/| /' conftest.
$ac_ext >&5
8399 CFLAGS
="$save_CFLAGS" LIBS
="-lpthread $LIBS"
8400 cat >conftest.
$ac_ext <<_ACEOF
8403 cat confdefs.h
>>conftest.
$ac_ext
8404 cat >>conftest.
$ac_ext <<_ACEOF
8405 /* end confdefs.h. */
8406 #include <pthread.h>
8407 void *g(void *d) { return NULL; }
8411 pthread_t t; pthread_create(&t,NULL,g,NULL);
8416 rm -f conftest.
$ac_objext conftest
$ac_exeext
8417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8418 (eval $ac_link) 2>conftest.er1
8420 grep -v '^ *+' conftest.er1
>conftest.err
8422 cat conftest.err
>&5
8423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8424 (exit $ac_status); } &&
8425 { ac_try
='test -z "$ac_c_werror_flag"
8426 || test ! -s conftest.err'
8427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431 (exit $ac_status); }; } &&
8432 { ac_try
='test -s conftest$ac_exeext'
8433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 (exit $ac_status); }; }; then
8440 echo "$as_me: failed program was:" >&5
8441 sed 's/^/| /' conftest.
$ac_ext >&5
8443 { { echo "$as_me:$LINENO: error: Pthreads are required to build libgomp" >&5
8444 echo "$as_me: error: Pthreads are required to build libgomp" >&2;}
8445 { (exit 1); exit 1; }; }
8447 rm -f conftest.err conftest.
$ac_objext \
8448 conftest
$ac_exeext conftest.
$ac_ext
8450 rm -f conftest.err conftest.
$ac_objext \
8451 conftest
$ac_exeext conftest.
$ac_ext
8453 # Check for functions needed.
8456 for ac_func
in getloadavg clock_gettime
8458 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8459 echo "$as_me:$LINENO: checking for $ac_func" >&5
8460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8461 if eval "test \"\${$as_ac_var+set}\" = set"; then
8462 echo $ECHO_N "(cached) $ECHO_C" >&6
8464 cat >conftest.
$ac_ext <<_ACEOF
8467 cat confdefs.h
>>conftest.
$ac_ext
8468 cat >>conftest.
$ac_ext <<_ACEOF
8469 /* end confdefs.h. */
8470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8472 #define $ac_func innocuous_$ac_func
8474 /* System header to define __stub macros and hopefully few prototypes,
8475 which can conflict with char $ac_func (); below.
8476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8477 <limits.h> exists even on freestanding compilers. */
8480 # include <limits.h>
8482 # include <assert.h>
8487 /* Override any gcc2 internal prototype to avoid an error. */
8492 /* We use char because int might match the return type of a gcc2
8493 builtin and then its argument prototype would still apply. */
8495 /* The GNU C library defines this for functions which it implements
8496 to always fail with ENOSYS. Some functions are actually named
8497 something starting with __ and the normal name is an alias. */
8498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8501 char (*f) () = $ac_func;
8510 return f != $ac_func;
8515 rm -f conftest.
$ac_objext conftest
$ac_exeext
8516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8517 (eval $ac_link) 2>conftest.er1
8519 grep -v '^ *+' conftest.er1
>conftest.err
8521 cat conftest.err
>&5
8522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523 (exit $ac_status); } &&
8524 { ac_try
='test -z "$ac_c_werror_flag"
8525 || test ! -s conftest.err'
8526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8530 (exit $ac_status); }; } &&
8531 { ac_try
='test -s conftest$ac_exeext'
8532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 (exit $ac_status); }; }; then
8537 eval "$as_ac_var=yes"
8539 echo "$as_me: failed program was:" >&5
8540 sed 's/^/| /' conftest.
$ac_ext >&5
8542 eval "$as_ac_var=no"
8544 rm -f conftest.err conftest.
$ac_objext \
8545 conftest
$ac_exeext conftest.
$ac_ext
8547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8549 if test `eval echo '${'$as_ac_var'}'` = yes; then
8550 cat >>confdefs.h
<<_ACEOF
8551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8558 # Check for broken semaphore implementation on darwin.
8559 # sem_init returns: sem_init error: Function not implemented.
8563 cat >>confdefs.h
<<\_ACEOF
8564 #define HAVE_BROKEN_POSIX_SEMAPHORES 1
8569 case "$enable_linux_futex" in
8571 # If headers don't have gettid/futex syscalls definition, then
8572 # default to no, otherwise there will be compile time failures.
8573 # Otherwise, default to yes. If we don't detect we are
8574 # compiled/linked against NPTL and not cross-compiling, check
8575 # if programs are run by default against NPTL and if not, issue
8577 enable_linux_futex
=no
8578 cat >conftest.
$ac_ext <<_ACEOF
8581 cat confdefs.h
>>conftest.
$ac_ext
8582 cat >>conftest.
$ac_ext <<_ACEOF
8583 /* end confdefs.h. */
8584 #include <sys/syscall.h>
8589 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
8594 rm -f conftest.
$ac_objext conftest
$ac_exeext
8595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8596 (eval $ac_link) 2>conftest.er1
8598 grep -v '^ *+' conftest.er1
>conftest.err
8600 cat conftest.err
>&5
8601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602 (exit $ac_status); } &&
8603 { ac_try
='test -z "$ac_c_werror_flag"
8604 || test ! -s conftest.err'
8605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8609 (exit $ac_status); }; } &&
8610 { ac_try
='test -s conftest$ac_exeext'
8611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); }; }; then
8616 cat >conftest.
$ac_ext <<_ACEOF
8619 cat confdefs.h
>>conftest.
$ac_ext
8620 cat >>conftest.
$ac_ext <<_ACEOF
8621 /* end confdefs.h. */
8623 #define _GNU_SOURCE 1
8625 #include <pthread.h>
8626 pthread_t th; void *status;
8630 pthread_tryjoin_np (th, &status);
8635 rm -f conftest.
$ac_objext conftest
$ac_exeext
8636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8637 (eval $ac_link) 2>conftest.er1
8639 grep -v '^ *+' conftest.er1
>conftest.err
8641 cat conftest.err
>&5
8642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8643 (exit $ac_status); } &&
8644 { ac_try
='test -z "$ac_c_werror_flag"
8645 || test ! -s conftest.err'
8646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8650 (exit $ac_status); }; } &&
8651 { ac_try
='test -s conftest$ac_exeext'
8652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8656 (exit $ac_status); }; }; then
8657 enable_linux_futex
=yes
8659 echo "$as_me: failed program was:" >&5
8660 sed 's/^/| /' conftest.
$ac_ext >&5
8662 if test x
$cross_compiling = xno
; then
8663 if getconf GNU_LIBPTHREAD_VERSION
2>/dev
/null \
8664 | LC_ALL
=C
grep -i NPTL
> /dev
/null
2>/dev
/null
; then
8665 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
8666 If so, please configure with --disable-linux-futex" >&5
8667 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
8668 If so, please configure with --disable-linux-futex" >&2;}
8671 enable_linux_futex
=yes
8673 rm -f conftest.err conftest.
$ac_objext \
8674 conftest
$ac_exeext conftest.
$ac_ext
8676 echo "$as_me: failed program was:" >&5
8677 sed 's/^/| /' conftest.
$ac_ext >&5
8680 rm -f conftest.err conftest.
$ac_objext \
8681 conftest
$ac_exeext conftest.
$ac_ext
8684 cat >conftest.
$ac_ext <<_ACEOF
8687 cat confdefs.h
>>conftest.
$ac_ext
8688 cat >>conftest.
$ac_ext <<_ACEOF
8689 /* end confdefs.h. */
8690 #include <sys/syscall.h>
8695 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
8700 rm -f conftest.
$ac_objext conftest
$ac_exeext
8701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8702 (eval $ac_link) 2>conftest.er1
8704 grep -v '^ *+' conftest.er1
>conftest.err
8706 cat conftest.err
>&5
8707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708 (exit $ac_status); } &&
8709 { ac_try
='test -z "$ac_c_werror_flag"
8710 || test ! -s conftest.err'
8711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 (exit $ac_status); }; } &&
8716 { ac_try
='test -s conftest$ac_exeext'
8717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721 (exit $ac_status); }; }; then
8724 echo "$as_me: failed program was:" >&5
8725 sed 's/^/| /' conftest.
$ac_ext >&5
8727 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
8728 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
8729 { (exit 1); exit 1; }; }
8731 rm -f conftest.err conftest.
$ac_objext \
8732 conftest
$ac_exeext conftest.
$ac_ext
8738 # At least for glibc, clock_gettime is in librt. But don't pull that
8739 # in if it still doesn't give us the function we want.
8740 if test $ac_cv_func_clock_gettime = no
; then
8741 echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
8742 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
8743 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
8744 echo $ECHO_N "(cached) $ECHO_C" >&6
8746 ac_check_lib_save_LIBS
=$LIBS
8748 cat >conftest.
$ac_ext <<_ACEOF
8751 cat confdefs.h
>>conftest.
$ac_ext
8752 cat >>conftest.
$ac_ext <<_ACEOF
8753 /* end confdefs.h. */
8755 /* Override any gcc2 internal prototype to avoid an error. */
8759 /* We use char because int might match the return type of a gcc2
8760 builtin and then its argument prototype would still apply. */
8761 char clock_gettime ();
8770 rm -f conftest.
$ac_objext conftest
$ac_exeext
8771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8772 (eval $ac_link) 2>conftest.er1
8774 grep -v '^ *+' conftest.er1
>conftest.err
8776 cat conftest.err
>&5
8777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8778 (exit $ac_status); } &&
8779 { ac_try
='test -z "$ac_c_werror_flag"
8780 || test ! -s conftest.err'
8781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8785 (exit $ac_status); }; } &&
8786 { ac_try
='test -s conftest$ac_exeext'
8787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8791 (exit $ac_status); }; }; then
8792 ac_cv_lib_rt_clock_gettime
=yes
8794 echo "$as_me: failed program was:" >&5
8795 sed 's/^/| /' conftest.
$ac_ext >&5
8797 ac_cv_lib_rt_clock_gettime
=no
8799 rm -f conftest.err conftest.
$ac_objext \
8800 conftest
$ac_exeext conftest.
$ac_ext
8801 LIBS
=$ac_check_lib_save_LIBS
8803 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
8804 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
8805 if test $ac_cv_lib_rt_clock_gettime = yes; then
8808 cat >>confdefs.h
<<\_ACEOF
8809 #define HAVE_CLOCK_GETTIME 1
8816 # See if we support thread-local storage.
8818 # Check whether --enable-tls or --disable-tls was given.
8819 if test "${enable_tls+set}" = set; then
8820 enableval
="$enable_tls"
8822 case "$enableval" in
8824 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
8825 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
8826 { (exit 1); exit 1; }; } ;;
8833 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
8834 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
8835 if test "${have_tls+set}" = set; then
8836 echo $ECHO_N "(cached) $ECHO_C" >&6
8839 if test "$cross_compiling" = yes; then
8840 cat >conftest.
$ac_ext <<_ACEOF
8843 rm -f conftest.
$ac_objext
8844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8845 (eval $ac_compile) 2>conftest.er1
8847 grep -v '^ *+' conftest.er1
>conftest.err
8849 cat conftest.err
>&5
8850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8851 (exit $ac_status); } &&
8852 { ac_try
='test -z "$ac_c_werror_flag"
8853 || test ! -s conftest.err'
8854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); }; } &&
8859 { ac_try
='test -s conftest.$ac_objext'
8860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); }; }; then
8867 echo "$as_me: failed program was:" >&5
8868 sed 's/^/| /' conftest.
$ac_ext >&5
8872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8875 cat >conftest.
$ac_ext <<_ACEOF
8876 __thread int a; int b; int main() { return a = b; }
8878 rm -f conftest
$ac_exeext
8879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8880 (eval $ac_link) 2>&5
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888 (exit $ac_status); }; }; then
8889 save_LDFLAGS
="$LDFLAGS"
8890 LDFLAGS
="-static $LDFLAGS"
8891 if test "$cross_compiling" = yes; then
8892 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8893 See \`config.log' for more details." >&5
8894 echo "$as_me: error: cannot run test program while cross compiling
8895 See \`config.log' for more details." >&2;}
8896 { (exit 1); exit 1; }; }
8898 cat >conftest.
$ac_ext <<_ACEOF
8899 __thread int a; int b; int main() { return a = b; }
8901 rm -f conftest
$ac_exeext
8902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8903 (eval $ac_link) 2>&5
8905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8906 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8911 (exit $ac_status); }; }; then
8914 echo "$as_me: program exited with status $ac_status" >&5
8915 echo "$as_me: failed program was:" >&5
8916 sed 's/^/| /' conftest.
$ac_ext >&5
8921 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8923 LDFLAGS
="$save_LDFLAGS"
8925 echo "$as_me: program exited with status $ac_status" >&5
8926 echo "$as_me: failed program was:" >&5
8927 sed 's/^/| /' conftest.
$ac_ext >&5
8932 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8935 echo "$as_me:$LINENO: result: $have_tls" >&5
8936 echo "${ECHO_T}$have_tls" >&6
8937 if test "$enable_tls $have_tls" = "yes yes"; then
8939 cat >>confdefs.h
<<\_ACEOF
8945 # See what sort of export controls are availible.
8947 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
8948 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
8949 if test "${have_attribute_visibility+set}" = set; then
8950 echo $ECHO_N "(cached) $ECHO_C" >&6
8953 save_CFLAGS
="$CFLAGS"
8954 CFLAGS
="$CFLAGS -Werror"
8955 cat >conftest.
$ac_ext <<_ACEOF
8958 cat confdefs.h
>>conftest.
$ac_ext
8959 cat >>conftest.
$ac_ext <<_ACEOF
8960 /* end confdefs.h. */
8961 void __attribute__((visibility("hidden"))) foo(void) { }
8970 rm -f conftest.
$ac_objext
8971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8972 (eval $ac_compile) 2>conftest.er1
8974 grep -v '^ *+' conftest.er1
>conftest.err
8976 cat conftest.err
>&5
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 (exit $ac_status); } &&
8979 { ac_try
='test -z "$ac_c_werror_flag"
8980 || test ! -s conftest.err'
8981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985 (exit $ac_status); }; } &&
8986 { ac_try
='test -s conftest.$ac_objext'
8987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8991 (exit $ac_status); }; }; then
8992 have_attribute_visibility
=yes
8994 echo "$as_me: failed program was:" >&5
8995 sed 's/^/| /' conftest.
$ac_ext >&5
8997 have_attribute_visibility
=no
8999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9000 CFLAGS
="$save_CFLAGS"
9002 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
9003 echo "${ECHO_T}$have_attribute_visibility" >&6
9004 if test $have_attribute_visibility = yes; then
9006 cat >>confdefs.h
<<\_ACEOF
9007 #define HAVE_ATTRIBUTE_VISIBILITY 1
9012 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
9013 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
9014 if test "${have_attribute_dllexport+set}" = set; then
9015 echo $ECHO_N "(cached) $ECHO_C" >&6
9018 save_CFLAGS
="$CFLAGS"
9019 CFLAGS
="$CFLAGS -Werror"
9020 cat >conftest.
$ac_ext <<_ACEOF
9023 cat confdefs.h
>>conftest.
$ac_ext
9024 cat >>conftest.
$ac_ext <<_ACEOF
9025 /* end confdefs.h. */
9026 void __attribute__((dllexport)) foo(void) { }
9035 rm -f conftest.
$ac_objext
9036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9037 (eval $ac_compile) 2>conftest.er1
9039 grep -v '^ *+' conftest.er1
>conftest.err
9041 cat conftest.err
>&5
9042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9043 (exit $ac_status); } &&
9044 { ac_try
='test -z "$ac_c_werror_flag"
9045 || test ! -s conftest.err'
9046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9050 (exit $ac_status); }; } &&
9051 { ac_try
='test -s conftest.$ac_objext'
9052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9056 (exit $ac_status); }; }; then
9057 have_attribute_dllexport
=yes
9059 echo "$as_me: failed program was:" >&5
9060 sed 's/^/| /' conftest.
$ac_ext >&5
9062 have_attribute_dllexport
=no
9064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9065 CFLAGS
="$save_CFLAGS"
9067 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
9068 echo "${ECHO_T}$have_attribute_dllexport" >&6
9069 if test $have_attribute_dllexport = yes; then
9071 cat >>confdefs.h
<<\_ACEOF
9072 #define HAVE_ATTRIBUTE_DLLEXPORT 1
9077 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
9078 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
9079 if test "${have_attribute_alias+set}" = set; then
9080 echo $ECHO_N "(cached) $ECHO_C" >&6
9083 cat >conftest.
$ac_ext <<_ACEOF
9086 cat confdefs.h
>>conftest.
$ac_ext
9087 cat >>conftest.
$ac_ext <<_ACEOF
9088 /* end confdefs.h. */
9091 extern void bar(void) __attribute__((alias("foo")));
9100 rm -f conftest.
$ac_objext conftest
$ac_exeext
9101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9102 (eval $ac_link) 2>conftest.er1
9104 grep -v '^ *+' conftest.er1
>conftest.err
9106 cat conftest.err
>&5
9107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9108 (exit $ac_status); } &&
9109 { ac_try
='test -z "$ac_c_werror_flag"
9110 || test ! -s conftest.err'
9111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9115 (exit $ac_status); }; } &&
9116 { ac_try
='test -s conftest$ac_exeext'
9117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9121 (exit $ac_status); }; }; then
9122 have_attribute_alias
=yes
9124 echo "$as_me: failed program was:" >&5
9125 sed 's/^/| /' conftest.
$ac_ext >&5
9127 have_attribute_alias
=no
9129 rm -f conftest.err conftest.
$ac_objext \
9130 conftest
$ac_exeext conftest.
$ac_ext
9132 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
9133 echo "${ECHO_T}$have_attribute_alias" >&6
9134 if test $have_attribute_alias = yes; then
9136 cat >>confdefs.h
<<\_ACEOF
9137 #define HAVE_ATTRIBUTE_ALIAS 1
9142 # If we're not using GNU ld, then there's no point in even trying these
9143 # tests. Check for that first. We should have already tested for gld
9144 # by now (in libtool), but require it now just to be safe...
9145 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
9146 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
9150 # The name set by libtool depends on the version of libtool. Shame on us
9151 # for depending on an impl detail, but c'est la vie. Older versions used
9152 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9153 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9154 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9155 # set (hence we're using an older libtool), then set it.
9156 if test x
${with_gnu_ld+set} != xset
; then
9157 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
9158 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9161 with_gnu_ld
=$ac_cv_prog_gnu_ld
9165 # Start by getting the version number. I think the libtool test already
9166 # does some of this, but throws away the result.
9168 ldver
=`$LD --version 2>/dev/null | head -1 | \
9169 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9171 libgomp_gnu_ld_version
=`echo $ldver | \
9172 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9174 # Set --gc-sections.
9175 if test "$with_gnu_ld" = "notbroken"; then
9176 # GNU ld it is! Joy and bunny rabbits!
9178 # All these tests are for C++; save the language and the compiler flags.
9179 # Need to do this so that g++ won't try to link in libstdc++
9180 ac_test_CFLAGS
="${CFLAGS+set}"
9181 ac_save_CFLAGS
="$CFLAGS"
9182 CFLAGS
='-x c++ -Wl,--gc-sections'
9184 # Check for -Wl,--gc-sections
9185 # XXX This test is broken at the moment, as symbols required for linking
9186 # are now in libsupc++ (not built yet). In addition, this test has
9187 # cored on solaris in the past. In addition, --gc-sections doesn't
9188 # really work at the moment (keeps on discarding used sections, first
9189 # .eh_frame and now some of the glibc sections for iconv).
9190 # Bzzzzt. Thanks for playing, maybe next time.
9191 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
9192 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
9193 if test "$cross_compiling" = yes; then
9194 ac_sectionLDflags
=yes
9196 cat >conftest.
$ac_ext <<_ACEOF
9199 cat confdefs.h
>>conftest.
$ac_ext
9200 cat >>conftest.
$ac_ext <<_ACEOF
9201 /* end confdefs.h. */
9211 rm -f conftest
$ac_exeext
9212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9213 (eval $ac_link) 2>&5
9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9221 (exit $ac_status); }; }; then
9222 ac_sectionLDflags
=yes
9224 echo "$as_me: program exited with status $ac_status" >&5
9225 echo "$as_me: failed program was:" >&5
9226 sed 's/^/| /' conftest.
$ac_ext >&5
9229 ac_sectionLDflags
=no
9231 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9233 if test "$ac_test_CFLAGS" = set; then
9234 CFLAGS
="$ac_save_CFLAGS"
9236 # this is the suspicious part
9239 if test "$ac_sectionLDflags" = "yes"; then
9240 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
9242 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
9243 echo "${ECHO_T}$ac_sectionLDflags" >&6
9246 # Set linker optimization flags.
9247 if test x
"$with_gnu_ld" = x
"yes"; then
9248 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
9256 # Check whether --enable-symvers or --disable-symvers was given.
9257 if test "${enable_symvers+set}" = set; then
9258 enableval
="$enable_symvers"
9260 case "$enableval" in
9262 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
9263 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
9264 { (exit 1); exit 1; }; } ;;
9272 # If we never went through the LIBGOMP_CHECK_LINKER_FEATURES macro, then we
9273 # don't know enough about $LD to do tricks...
9275 # FIXME The following test is too strict, in theory.
9276 if test $enable_shared = no ||
9278 test x
$libgomp_gnu_ld_version = x
; then
9282 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
9283 if test $enable_symvers != no
; then
9284 echo "$as_me:$LINENO: checking for shared libgcc" >&5
9285 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
9286 ac_save_CFLAGS
="$CFLAGS"
9288 cat >conftest.
$ac_ext <<_ACEOF
9291 cat confdefs.h
>>conftest.
$ac_ext
9292 cat >>conftest.
$ac_ext <<_ACEOF
9293 /* end confdefs.h. */
9303 rm -f conftest.
$ac_objext conftest
$ac_exeext
9304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9305 (eval $ac_link) 2>conftest.er1
9307 grep -v '^ *+' conftest.er1
>conftest.err
9309 cat conftest.err
>&5
9310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311 (exit $ac_status); } &&
9312 { ac_try
='test -z "$ac_c_werror_flag"
9313 || test ! -s conftest.err'
9314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318 (exit $ac_status); }; } &&
9319 { ac_try
='test -s conftest$ac_exeext'
9320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9324 (exit $ac_status); }; }; then
9325 libgomp_shared_libgcc
=yes
9327 echo "$as_me: failed program was:" >&5
9328 sed 's/^/| /' conftest.
$ac_ext >&5
9330 libgomp_shared_libgcc
=no
9332 rm -f conftest.err conftest.
$ac_objext \
9333 conftest
$ac_exeext conftest.
$ac_ext
9334 CFLAGS
="$ac_save_CFLAGS"
9335 if test $libgomp_shared_libgcc = no
; then
9336 cat > conftest.c
<<EOF
9337 int main (void) { return 0; }
9339 libgomp_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
9340 -shared -shared-libgcc -o conftest.so \
9341 conftest.c -v 2>&1 >/dev/null \
9342 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
9343 rm -f conftest.c conftest.so
9344 if test x
${libgomp_libgcc_s_suffix+set} = xset
; then
9345 CFLAGS
=" -lgcc_s$libgomp_libgcc_s_suffix"
9346 cat >conftest.
$ac_ext <<_ACEOF
9349 cat confdefs.h
>>conftest.
$ac_ext
9350 cat >>conftest.
$ac_ext <<_ACEOF
9351 /* end confdefs.h. */
9361 rm -f conftest.
$ac_objext conftest
$ac_exeext
9362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9363 (eval $ac_link) 2>conftest.er1
9365 grep -v '^ *+' conftest.er1
>conftest.err
9367 cat conftest.err
>&5
9368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 (exit $ac_status); } &&
9370 { ac_try
='test -z "$ac_c_werror_flag"
9371 || test ! -s conftest.err'
9372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9376 (exit $ac_status); }; } &&
9377 { ac_try
='test -s conftest$ac_exeext'
9378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9382 (exit $ac_status); }; }; then
9383 libgomp_shared_libgcc
=yes
9385 echo "$as_me: failed program was:" >&5
9386 sed 's/^/| /' conftest.
$ac_ext >&5
9389 rm -f conftest.err conftest.
$ac_objext \
9390 conftest
$ac_exeext conftest.
$ac_ext
9391 CFLAGS
="$ac_save_CFLAGS"
9394 echo "$as_me:$LINENO: result: $libgomp_shared_libgcc" >&5
9395 echo "${ECHO_T}$libgomp_shared_libgcc" >&6
9398 # For GNU ld, we need at least this version. The format is described in
9399 # LIBGOMP_CHECK_LINKER_FEATURES above.
9400 libgomp_min_gnu_ld_version
=21400
9401 # XXXXXXXXXXX libgomp_gnu_ld_version=21390
9403 # Check to see if unspecified "yes" value can win, given results above.
9404 # Change "yes" into either "no" or a style name.
9405 if test $enable_symvers = yes; then
9406 if test $with_gnu_ld = yes &&
9407 test $libgomp_shared_libgcc = yes;
9409 if test $libgomp_gnu_ld_version -ge $libgomp_min_gnu_ld_version ; then
9412 # The right tools, the right setup, but too old. Fallbacks?
9413 { echo "$as_me:$LINENO: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&5
9414 echo "$as_me: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&2;}
9415 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
9416 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
9417 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
9418 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
9419 { echo "$as_me:$LINENO: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&5
9420 echo "$as_me: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&2;}
9421 if test $libgomp_gnu_ld_version -ge 21200 ; then
9422 # Globbing fix is present, proper block support is not.
9423 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
9424 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
9428 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
9429 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
9435 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
9436 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
9437 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
9438 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
9439 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
9440 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
9441 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
9442 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
9449 if test $enable_symvers != no
; then
9450 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
=
9451 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
='#'
9453 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
='#'
9454 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
=
9457 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
9458 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
9461 # Get target configury.
9462 .
${srcdir}/configure.tgt
9463 CFLAGS
="$save_CFLAGS $XCFLAGS"
9465 # Check for __sync_val_compare_and_swap, but only after the target has
9466 # had a chance to set XCFLAGS.
9468 echo "$as_me:$LINENO: checking whether the target supports __sync_*_compare_and_swap" >&5
9469 echo $ECHO_N "checking whether the target supports __sync_*_compare_and_swap... $ECHO_C" >&6
9470 if test "${have_sync_builtins+set}" = set; then
9471 echo $ECHO_N "(cached) $ECHO_C" >&6
9474 cat >conftest.
$ac_ext <<_ACEOF
9477 cat confdefs.h
>>conftest.
$ac_ext
9478 cat >>conftest.
$ac_ext <<_ACEOF
9479 /* end confdefs.h. */
9484 int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);
9489 rm -f conftest.
$ac_objext conftest
$ac_exeext
9490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9491 (eval $ac_link) 2>conftest.er1
9493 grep -v '^ *+' conftest.er1
>conftest.err
9495 cat conftest.err
>&5
9496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9497 (exit $ac_status); } &&
9498 { ac_try
='test -z "$ac_c_werror_flag"
9499 || test ! -s conftest.err'
9500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9504 (exit $ac_status); }; } &&
9505 { ac_try
='test -s conftest$ac_exeext'
9506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510 (exit $ac_status); }; }; then
9511 have_sync_builtins
=yes
9513 echo "$as_me: failed program was:" >&5
9514 sed 's/^/| /' conftest.
$ac_ext >&5
9516 have_sync_builtins
=no
9518 rm -f conftest.err conftest.
$ac_objext \
9519 conftest
$ac_exeext conftest.
$ac_ext
9521 echo "$as_me:$LINENO: result: $have_sync_builtins" >&5
9522 echo "${ECHO_T}$have_sync_builtins" >&6
9523 if test $have_sync_builtins = yes; then
9525 cat >>confdefs.h
<<\_ACEOF
9526 #define HAVE_SYNC_BUILTINS 1
9531 XCFLAGS
="$XCFLAGS$XPCFLAGS"
9538 CFLAGS
="$save_CFLAGS"
9539 cat >confcache
<<\_ACEOF
9540 # This file is a shell script that caches the results of configure
9541 # tests run on this system so they can be shared between configure
9542 # scripts and configure runs, see configure's option --config-cache.
9543 # It is not useful on other systems. If it contains results you don't
9544 # want to keep, you may remove or edit it.
9546 # config.status only pays attention to the cache file if you give it
9547 # the --recheck option to rerun configure.
9549 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9550 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9555 # The following way of writing the cache mishandles newlines in values,
9556 # but we know of no workaround that is simple, portable, and efficient.
9557 # So, don't put newlines in cache variables' values.
9558 # Ultrix sh set writes to stderr and can't be redirected directly,
9559 # and sets the high bit in the cache file unless we assign to the vars.
9562 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9564 # `set' does not quote correctly, so add quotes (double-quote
9565 # substitution turns \\\\ into \\, and sed turns \\ into \).
9568 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9571 # `set' quotes correctly as required by POSIX, so do not add quotes.
9573 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9580 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9582 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9584 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9585 if test -w $cache_file; then
9586 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9587 cat confcache
>$cache_file
9589 echo "not updating unwritable cache $cache_file"
9594 if test ${multilib} = yes; then
9595 multilib_arg
="--enable-multilib"
9600 # Set up the set of libraries that we need to link against for libgomp.
9601 # Note that the GOMP_SELF_SPEC in gcc.c will force -pthread for -fopenmp,
9602 # which will force linkage against -lpthread (or equivalent for the system).
9603 # That's not 100% ideal, but about the best we can do easily.
9604 if test $enable_shared = yes; then
9605 link_gomp
="-lgomp %{static: $LIBS}"
9607 link_gomp
="-lgomp $LIBS"
9613 if test "$ac_cv_fc_compiler_gnu" = yes; then
9615 USE_FORTRAN_FALSE
='#'
9617 USE_FORTRAN_TRUE
='#'
9622 # ??? 2006-01-24: Paulo committed to asking autoconf folk to document
9623 # and export AC_COMPUTE_INT. If that happens, then we'll need to remove
9624 # the underscore here and update the PREREQ. If it doesn't, then we'll
9625 # need to copy this macro to our acinclude.m4.
9626 save_CFLAGS
="$CFLAGS"
9627 for i
in $config_path; do
9628 if test -f $srcdir/config
/$i/omp-lock.h
; then
9629 CFLAGS
="$CFLAGS -include $srcdir/config/$i/omp-lock.h"
9634 if test "$cross_compiling" = yes; then
9635 # Depending upon the size, compute the lo and hi bounds.
9636 cat >conftest.
$ac_ext <<_ACEOF
9639 cat confdefs.h
>>conftest.
$ac_ext
9640 cat >>conftest.
$ac_ext <<_ACEOF
9641 /* end confdefs.h. */
9646 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) >= 0)];
9653 rm -f conftest.
$ac_objext
9654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9655 (eval $ac_compile) 2>conftest.er1
9657 grep -v '^ *+' conftest.er1
>conftest.err
9659 cat conftest.err
>&5
9660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9661 (exit $ac_status); } &&
9662 { ac_try
='test -z "$ac_c_werror_flag"
9663 || test ! -s conftest.err'
9664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9668 (exit $ac_status); }; } &&
9669 { ac_try
='test -s conftest.$ac_objext'
9670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9674 (exit $ac_status); }; }; then
9677 cat >conftest.
$ac_ext <<_ACEOF
9680 cat confdefs.h
>>conftest.
$ac_ext
9681 cat >>conftest.
$ac_ext <<_ACEOF
9682 /* end confdefs.h. */
9687 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) <= $ac_mid)];
9694 rm -f conftest.
$ac_objext
9695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9696 (eval $ac_compile) 2>conftest.er1
9698 grep -v '^ *+' conftest.er1
>conftest.err
9700 cat conftest.err
>&5
9701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702 (exit $ac_status); } &&
9703 { ac_try
='test -z "$ac_c_werror_flag"
9704 || test ! -s conftest.err'
9705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709 (exit $ac_status); }; } &&
9710 { ac_try
='test -s conftest.$ac_objext'
9711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715 (exit $ac_status); }; }; then
9716 ac_hi
=$ac_mid; break
9718 echo "$as_me: failed program was:" >&5
9719 sed 's/^/| /' conftest.
$ac_ext >&5
9721 ac_lo
=`expr $ac_mid + 1`
9722 if test $ac_lo -le $ac_mid; then
9726 ac_mid
=`expr 2 '*' $ac_mid + 1`
9728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9731 echo "$as_me: failed program was:" >&5
9732 sed 's/^/| /' conftest.
$ac_ext >&5
9734 cat >conftest.
$ac_ext <<_ACEOF
9737 cat confdefs.h
>>conftest.
$ac_ext
9738 cat >>conftest.
$ac_ext <<_ACEOF
9739 /* end confdefs.h. */
9744 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) < 0)];
9751 rm -f conftest.
$ac_objext
9752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9753 (eval $ac_compile) 2>conftest.er1
9755 grep -v '^ *+' conftest.er1
>conftest.err
9757 cat conftest.err
>&5
9758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9759 (exit $ac_status); } &&
9760 { ac_try
='test -z "$ac_c_werror_flag"
9761 || test ! -s conftest.err'
9762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 (exit $ac_status); }; } &&
9767 { ac_try
='test -s conftest.$ac_objext'
9768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772 (exit $ac_status); }; }; then
9775 cat >conftest.
$ac_ext <<_ACEOF
9778 cat confdefs.h
>>conftest.
$ac_ext
9779 cat >>conftest.
$ac_ext <<_ACEOF
9780 /* end confdefs.h. */
9785 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) >= $ac_mid)];
9792 rm -f conftest.
$ac_objext
9793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9794 (eval $ac_compile) 2>conftest.er1
9796 grep -v '^ *+' conftest.er1
>conftest.err
9798 cat conftest.err
>&5
9799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9800 (exit $ac_status); } &&
9801 { ac_try
='test -z "$ac_c_werror_flag"
9802 || test ! -s conftest.err'
9803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9807 (exit $ac_status); }; } &&
9808 { ac_try
='test -s conftest.$ac_objext'
9809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9813 (exit $ac_status); }; }; then
9814 ac_lo
=$ac_mid; break
9816 echo "$as_me: failed program was:" >&5
9817 sed 's/^/| /' conftest.
$ac_ext >&5
9819 ac_hi
=`expr '(' $ac_mid ')' - 1`
9820 if test $ac_mid -le $ac_hi; then
9824 ac_mid
=`expr 2 '*' $ac_mid`
9826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9829 echo "$as_me: failed program was:" >&5
9830 sed 's/^/| /' conftest.
$ac_ext >&5
9834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9837 # Binary search between lo and hi bounds.
9838 while test "x$ac_lo" != "x$ac_hi"; do
9839 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9840 cat >conftest.
$ac_ext <<_ACEOF
9843 cat confdefs.h
>>conftest.
$ac_ext
9844 cat >>conftest.
$ac_ext <<_ACEOF
9845 /* end confdefs.h. */
9850 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) <= $ac_mid)];
9857 rm -f conftest.
$ac_objext
9858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9859 (eval $ac_compile) 2>conftest.er1
9861 grep -v '^ *+' conftest.er1
>conftest.err
9863 cat conftest.err
>&5
9864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865 (exit $ac_status); } &&
9866 { ac_try
='test -z "$ac_c_werror_flag"
9867 || test ! -s conftest.err'
9868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 (exit $ac_status); }; } &&
9873 { ac_try
='test -s conftest.$ac_objext'
9874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878 (exit $ac_status); }; }; then
9881 echo "$as_me: failed program was:" >&5
9882 sed 's/^/| /' conftest.
$ac_ext >&5
9884 ac_lo
=`expr '(' $ac_mid ')' + 1`
9886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9889 ?
*) OMP_LOCK_SIZE
=$ac_lo;;
9890 '') { { echo "$as_me:$LINENO: error: unsupported system, cannot find sizeof (omp_lock_t)" >&5
9891 echo "$as_me: error: unsupported system, cannot find sizeof (omp_lock_t)" >&2;}
9892 { (exit 1); exit 1; }; } ;;
9895 if test "$cross_compiling" = yes; then
9896 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9897 See \`config.log' for more details." >&5
9898 echo "$as_me: error: cannot run test program while cross compiling
9899 See \`config.log' for more details." >&2;}
9900 { (exit 1); exit 1; }; }
9902 cat >conftest.
$ac_ext <<_ACEOF
9905 cat confdefs.h
>>conftest.
$ac_ext
9906 cat >>conftest.
$ac_ext <<_ACEOF
9907 /* end confdefs.h. */
9909 long longval () { return sizeof (omp_lock_t); }
9910 unsigned long ulongval () { return sizeof (omp_lock_t); }
9917 FILE *f = fopen ("conftest.val", "w");
9920 if ((sizeof (omp_lock_t)) < 0)
9922 long i = longval ();
9923 if (i != (sizeof (omp_lock_t)))
9925 fprintf (f, "%ld\n", i);
9929 unsigned long i = ulongval ();
9930 if (i != (sizeof (omp_lock_t)))
9932 fprintf (f, "%lu\n", i);
9934 exit (ferror (f) || fclose (f) != 0);
9940 rm -f conftest
$ac_exeext
9941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9942 (eval $ac_link) 2>&5
9944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9945 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950 (exit $ac_status); }; }; then
9951 OMP_LOCK_SIZE
=`cat conftest.val`
9953 echo "$as_me: program exited with status $ac_status" >&5
9954 echo "$as_me: failed program was:" >&5
9955 sed 's/^/| /' conftest.
$ac_ext >&5
9958 { { echo "$as_me:$LINENO: error: unsupported system, cannot find sizeof (omp_lock_t)" >&5
9959 echo "$as_me: error: unsupported system, cannot find sizeof (omp_lock_t)" >&2;}
9960 { (exit 1); exit 1; }; }
9962 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9966 if test "$cross_compiling" = yes; then
9967 # Depending upon the size, compute the lo and hi bounds.
9968 cat >conftest.
$ac_ext <<_ACEOF
9971 cat confdefs.h
>>conftest.
$ac_ext
9972 cat >>conftest.
$ac_ext <<_ACEOF
9973 /* end confdefs.h. */
9978 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) >= 0)];
9985 rm -f conftest.
$ac_objext
9986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9987 (eval $ac_compile) 2>conftest.er1
9989 grep -v '^ *+' conftest.er1
>conftest.err
9991 cat conftest.err
>&5
9992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9993 (exit $ac_status); } &&
9994 { ac_try
='test -z "$ac_c_werror_flag"
9995 || test ! -s conftest.err'
9996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10000 (exit $ac_status); }; } &&
10001 { ac_try
='test -s conftest.$ac_objext'
10002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10003 (eval $ac_try) 2>&5
10005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006 (exit $ac_status); }; }; then
10009 cat >conftest.
$ac_ext <<_ACEOF
10012 cat confdefs.h
>>conftest.
$ac_ext
10013 cat >>conftest.
$ac_ext <<_ACEOF
10014 /* end confdefs.h. */
10019 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) <= $ac_mid)];
10026 rm -f conftest.
$ac_objext
10027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10028 (eval $ac_compile) 2>conftest.er1
10030 grep -v '^ *+' conftest.er1
>conftest.err
10032 cat conftest.err
>&5
10033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034 (exit $ac_status); } &&
10035 { ac_try
='test -z "$ac_c_werror_flag"
10036 || test ! -s conftest.err'
10037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10038 (eval $ac_try) 2>&5
10040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10041 (exit $ac_status); }; } &&
10042 { ac_try
='test -s conftest.$ac_objext'
10043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10044 (eval $ac_try) 2>&5
10046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10047 (exit $ac_status); }; }; then
10048 ac_hi
=$ac_mid; break
10050 echo "$as_me: failed program was:" >&5
10051 sed 's/^/| /' conftest.
$ac_ext >&5
10053 ac_lo
=`expr $ac_mid + 1`
10054 if test $ac_lo -le $ac_mid; then
10058 ac_mid
=`expr 2 '*' $ac_mid + 1`
10060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10063 echo "$as_me: failed program was:" >&5
10064 sed 's/^/| /' conftest.
$ac_ext >&5
10066 cat >conftest.
$ac_ext <<_ACEOF
10069 cat confdefs.h
>>conftest.
$ac_ext
10070 cat >>conftest.
$ac_ext <<_ACEOF
10071 /* end confdefs.h. */
10076 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) < 0)];
10083 rm -f conftest.
$ac_objext
10084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10085 (eval $ac_compile) 2>conftest.er1
10087 grep -v '^ *+' conftest.er1
>conftest.err
10089 cat conftest.err
>&5
10090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091 (exit $ac_status); } &&
10092 { ac_try
='test -z "$ac_c_werror_flag"
10093 || test ! -s conftest.err'
10094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10095 (eval $ac_try) 2>&5
10097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10098 (exit $ac_status); }; } &&
10099 { ac_try
='test -s conftest.$ac_objext'
10100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10101 (eval $ac_try) 2>&5
10103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10104 (exit $ac_status); }; }; then
10107 cat >conftest.
$ac_ext <<_ACEOF
10110 cat confdefs.h
>>conftest.
$ac_ext
10111 cat >>conftest.
$ac_ext <<_ACEOF
10112 /* end confdefs.h. */
10117 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) >= $ac_mid)];
10124 rm -f conftest.
$ac_objext
10125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10126 (eval $ac_compile) 2>conftest.er1
10128 grep -v '^ *+' conftest.er1
>conftest.err
10130 cat conftest.err
>&5
10131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10132 (exit $ac_status); } &&
10133 { ac_try
='test -z "$ac_c_werror_flag"
10134 || test ! -s conftest.err'
10135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10136 (eval $ac_try) 2>&5
10138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10139 (exit $ac_status); }; } &&
10140 { ac_try
='test -s conftest.$ac_objext'
10141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10142 (eval $ac_try) 2>&5
10144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10145 (exit $ac_status); }; }; then
10146 ac_lo
=$ac_mid; break
10148 echo "$as_me: failed program was:" >&5
10149 sed 's/^/| /' conftest.
$ac_ext >&5
10151 ac_hi
=`expr '(' $ac_mid ')' - 1`
10152 if test $ac_mid -le $ac_hi; then
10156 ac_mid
=`expr 2 '*' $ac_mid`
10158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10161 echo "$as_me: failed program was:" >&5
10162 sed 's/^/| /' conftest.
$ac_ext >&5
10166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10169 # Binary search between lo and hi bounds.
10170 while test "x$ac_lo" != "x$ac_hi"; do
10171 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10172 cat >conftest.
$ac_ext <<_ACEOF
10175 cat confdefs.h
>>conftest.
$ac_ext
10176 cat >>conftest.
$ac_ext <<_ACEOF
10177 /* end confdefs.h. */
10182 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) <= $ac_mid)];
10189 rm -f conftest.
$ac_objext
10190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10191 (eval $ac_compile) 2>conftest.er1
10193 grep -v '^ *+' conftest.er1
>conftest.err
10195 cat conftest.err
>&5
10196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10197 (exit $ac_status); } &&
10198 { ac_try
='test -z "$ac_c_werror_flag"
10199 || test ! -s conftest.err'
10200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10201 (eval $ac_try) 2>&5
10203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204 (exit $ac_status); }; } &&
10205 { ac_try
='test -s conftest.$ac_objext'
10206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10207 (eval $ac_try) 2>&5
10209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10210 (exit $ac_status); }; }; then
10213 echo "$as_me: failed program was:" >&5
10214 sed 's/^/| /' conftest.
$ac_ext >&5
10216 ac_lo
=`expr '(' $ac_mid ')' + 1`
10218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10221 ?
*) OMP_LOCK_ALIGN
=$ac_lo;;
10225 if test "$cross_compiling" = yes; then
10226 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10227 See \`config.log' for more details." >&5
10228 echo "$as_me: error: cannot run test program while cross compiling
10229 See \`config.log' for more details." >&2;}
10230 { (exit 1); exit 1; }; }
10232 cat >conftest.
$ac_ext <<_ACEOF
10235 cat confdefs.h
>>conftest.
$ac_ext
10236 cat >>conftest.
$ac_ext <<_ACEOF
10237 /* end confdefs.h. */
10239 long longval () { return __alignof (omp_lock_t); }
10240 unsigned long ulongval () { return __alignof (omp_lock_t); }
10242 #include <stdlib.h>
10247 FILE *f = fopen ("conftest.val", "w");
10250 if ((__alignof (omp_lock_t)) < 0)
10252 long i = longval ();
10253 if (i != (__alignof (omp_lock_t)))
10255 fprintf (f, "%ld\n", i);
10259 unsigned long i = ulongval ();
10260 if (i != (__alignof (omp_lock_t)))
10262 fprintf (f, "%lu\n", i);
10264 exit (ferror (f) || fclose (f) != 0);
10270 rm -f conftest
$ac_exeext
10271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10272 (eval $ac_link) 2>&5
10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10277 (eval $ac_try) 2>&5
10279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280 (exit $ac_status); }; }; then
10281 OMP_LOCK_ALIGN
=`cat conftest.val`
10283 echo "$as_me: program exited with status $ac_status" >&5
10284 echo "$as_me: failed program was:" >&5
10285 sed 's/^/| /' conftest.
$ac_ext >&5
10288 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10292 if test "$cross_compiling" = yes; then
10293 # Depending upon the size, compute the lo and hi bounds.
10294 cat >conftest.
$ac_ext <<_ACEOF
10297 cat confdefs.h
>>conftest.
$ac_ext
10298 cat >>conftest.
$ac_ext <<_ACEOF
10299 /* end confdefs.h. */
10304 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) >= 0)];
10311 rm -f conftest.
$ac_objext
10312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10313 (eval $ac_compile) 2>conftest.er1
10315 grep -v '^ *+' conftest.er1
>conftest.err
10317 cat conftest.err
>&5
10318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10319 (exit $ac_status); } &&
10320 { ac_try
='test -z "$ac_c_werror_flag"
10321 || test ! -s conftest.err'
10322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10323 (eval $ac_try) 2>&5
10325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10326 (exit $ac_status); }; } &&
10327 { ac_try
='test -s conftest.$ac_objext'
10328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10329 (eval $ac_try) 2>&5
10331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10332 (exit $ac_status); }; }; then
10335 cat >conftest.
$ac_ext <<_ACEOF
10338 cat confdefs.h
>>conftest.
$ac_ext
10339 cat >>conftest.
$ac_ext <<_ACEOF
10340 /* end confdefs.h. */
10345 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) <= $ac_mid)];
10352 rm -f conftest.
$ac_objext
10353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10354 (eval $ac_compile) 2>conftest.er1
10356 grep -v '^ *+' conftest.er1
>conftest.err
10358 cat conftest.err
>&5
10359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360 (exit $ac_status); } &&
10361 { ac_try
='test -z "$ac_c_werror_flag"
10362 || test ! -s conftest.err'
10363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10364 (eval $ac_try) 2>&5
10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367 (exit $ac_status); }; } &&
10368 { ac_try
='test -s conftest.$ac_objext'
10369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10370 (eval $ac_try) 2>&5
10372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 (exit $ac_status); }; }; then
10374 ac_hi
=$ac_mid; break
10376 echo "$as_me: failed program was:" >&5
10377 sed 's/^/| /' conftest.
$ac_ext >&5
10379 ac_lo
=`expr $ac_mid + 1`
10380 if test $ac_lo -le $ac_mid; then
10384 ac_mid
=`expr 2 '*' $ac_mid + 1`
10386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10389 echo "$as_me: failed program was:" >&5
10390 sed 's/^/| /' conftest.
$ac_ext >&5
10392 cat >conftest.
$ac_ext <<_ACEOF
10395 cat confdefs.h
>>conftest.
$ac_ext
10396 cat >>conftest.
$ac_ext <<_ACEOF
10397 /* end confdefs.h. */
10402 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) < 0)];
10409 rm -f conftest.
$ac_objext
10410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10411 (eval $ac_compile) 2>conftest.er1
10413 grep -v '^ *+' conftest.er1
>conftest.err
10415 cat conftest.err
>&5
10416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10417 (exit $ac_status); } &&
10418 { ac_try
='test -z "$ac_c_werror_flag"
10419 || test ! -s conftest.err'
10420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10421 (eval $ac_try) 2>&5
10423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424 (exit $ac_status); }; } &&
10425 { ac_try
='test -s conftest.$ac_objext'
10426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10427 (eval $ac_try) 2>&5
10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); }; }; then
10433 cat >conftest.
$ac_ext <<_ACEOF
10436 cat confdefs.h
>>conftest.
$ac_ext
10437 cat >>conftest.
$ac_ext <<_ACEOF
10438 /* end confdefs.h. */
10443 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) >= $ac_mid)];
10450 rm -f conftest.
$ac_objext
10451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10452 (eval $ac_compile) 2>conftest.er1
10454 grep -v '^ *+' conftest.er1
>conftest.err
10456 cat conftest.err
>&5
10457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10458 (exit $ac_status); } &&
10459 { ac_try
='test -z "$ac_c_werror_flag"
10460 || test ! -s conftest.err'
10461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10462 (eval $ac_try) 2>&5
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); }; } &&
10466 { ac_try
='test -s conftest.$ac_objext'
10467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10468 (eval $ac_try) 2>&5
10470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10471 (exit $ac_status); }; }; then
10472 ac_lo
=$ac_mid; break
10474 echo "$as_me: failed program was:" >&5
10475 sed 's/^/| /' conftest.
$ac_ext >&5
10477 ac_hi
=`expr '(' $ac_mid ')' - 1`
10478 if test $ac_mid -le $ac_hi; then
10482 ac_mid
=`expr 2 '*' $ac_mid`
10484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10487 echo "$as_me: failed program was:" >&5
10488 sed 's/^/| /' conftest.
$ac_ext >&5
10492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10495 # Binary search between lo and hi bounds.
10496 while test "x$ac_lo" != "x$ac_hi"; do
10497 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10498 cat >conftest.
$ac_ext <<_ACEOF
10501 cat confdefs.h
>>conftest.
$ac_ext
10502 cat >>conftest.
$ac_ext <<_ACEOF
10503 /* end confdefs.h. */
10508 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) <= $ac_mid)];
10515 rm -f conftest.
$ac_objext
10516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10517 (eval $ac_compile) 2>conftest.er1
10519 grep -v '^ *+' conftest.er1
>conftest.err
10521 cat conftest.err
>&5
10522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10523 (exit $ac_status); } &&
10524 { ac_try
='test -z "$ac_c_werror_flag"
10525 || test ! -s conftest.err'
10526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10527 (eval $ac_try) 2>&5
10529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10530 (exit $ac_status); }; } &&
10531 { ac_try
='test -s conftest.$ac_objext'
10532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10533 (eval $ac_try) 2>&5
10535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10536 (exit $ac_status); }; }; then
10539 echo "$as_me: failed program was:" >&5
10540 sed 's/^/| /' conftest.
$ac_ext >&5
10542 ac_lo
=`expr '(' $ac_mid ')' + 1`
10544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10547 ?
*) OMP_NEST_LOCK_SIZE
=$ac_lo;;
10551 if test "$cross_compiling" = yes; then
10552 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10553 See \`config.log' for more details." >&5
10554 echo "$as_me: error: cannot run test program while cross compiling
10555 See \`config.log' for more details." >&2;}
10556 { (exit 1); exit 1; }; }
10558 cat >conftest.
$ac_ext <<_ACEOF
10561 cat confdefs.h
>>conftest.
$ac_ext
10562 cat >>conftest.
$ac_ext <<_ACEOF
10563 /* end confdefs.h. */
10565 long longval () { return sizeof (omp_nest_lock_t); }
10566 unsigned long ulongval () { return sizeof (omp_nest_lock_t); }
10568 #include <stdlib.h>
10573 FILE *f = fopen ("conftest.val", "w");
10576 if ((sizeof (omp_nest_lock_t)) < 0)
10578 long i = longval ();
10579 if (i != (sizeof (omp_nest_lock_t)))
10581 fprintf (f, "%ld\n", i);
10585 unsigned long i = ulongval ();
10586 if (i != (sizeof (omp_nest_lock_t)))
10588 fprintf (f, "%lu\n", i);
10590 exit (ferror (f) || fclose (f) != 0);
10596 rm -f conftest
$ac_exeext
10597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10598 (eval $ac_link) 2>&5
10600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10601 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10603 (eval $ac_try) 2>&5
10605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10606 (exit $ac_status); }; }; then
10607 OMP_NEST_LOCK_SIZE
=`cat conftest.val`
10609 echo "$as_me: program exited with status $ac_status" >&5
10610 echo "$as_me: failed program was:" >&5
10611 sed 's/^/| /' conftest.
$ac_ext >&5
10614 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10618 if test "$cross_compiling" = yes; then
10619 # Depending upon the size, compute the lo and hi bounds.
10620 cat >conftest.
$ac_ext <<_ACEOF
10623 cat confdefs.h
>>conftest.
$ac_ext
10624 cat >>conftest.
$ac_ext <<_ACEOF
10625 /* end confdefs.h. */
10630 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) >= 0)];
10637 rm -f conftest.
$ac_objext
10638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10639 (eval $ac_compile) 2>conftest.er1
10641 grep -v '^ *+' conftest.er1
>conftest.err
10643 cat conftest.err
>&5
10644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10645 (exit $ac_status); } &&
10646 { ac_try
='test -z "$ac_c_werror_flag"
10647 || test ! -s conftest.err'
10648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10649 (eval $ac_try) 2>&5
10651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10652 (exit $ac_status); }; } &&
10653 { ac_try
='test -s conftest.$ac_objext'
10654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10655 (eval $ac_try) 2>&5
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); }; }; then
10661 cat >conftest.
$ac_ext <<_ACEOF
10664 cat confdefs.h
>>conftest.
$ac_ext
10665 cat >>conftest.
$ac_ext <<_ACEOF
10666 /* end confdefs.h. */
10671 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) <= $ac_mid)];
10678 rm -f conftest.
$ac_objext
10679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10680 (eval $ac_compile) 2>conftest.er1
10682 grep -v '^ *+' conftest.er1
>conftest.err
10684 cat conftest.err
>&5
10685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686 (exit $ac_status); } &&
10687 { ac_try
='test -z "$ac_c_werror_flag"
10688 || test ! -s conftest.err'
10689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10690 (eval $ac_try) 2>&5
10692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10693 (exit $ac_status); }; } &&
10694 { ac_try
='test -s conftest.$ac_objext'
10695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10696 (eval $ac_try) 2>&5
10698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10699 (exit $ac_status); }; }; then
10700 ac_hi
=$ac_mid; break
10702 echo "$as_me: failed program was:" >&5
10703 sed 's/^/| /' conftest.
$ac_ext >&5
10705 ac_lo
=`expr $ac_mid + 1`
10706 if test $ac_lo -le $ac_mid; then
10710 ac_mid
=`expr 2 '*' $ac_mid + 1`
10712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10715 echo "$as_me: failed program was:" >&5
10716 sed 's/^/| /' conftest.
$ac_ext >&5
10718 cat >conftest.
$ac_ext <<_ACEOF
10721 cat confdefs.h
>>conftest.
$ac_ext
10722 cat >>conftest.
$ac_ext <<_ACEOF
10723 /* end confdefs.h. */
10728 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) < 0)];
10735 rm -f conftest.
$ac_objext
10736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10737 (eval $ac_compile) 2>conftest.er1
10739 grep -v '^ *+' conftest.er1
>conftest.err
10741 cat conftest.err
>&5
10742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10743 (exit $ac_status); } &&
10744 { ac_try
='test -z "$ac_c_werror_flag"
10745 || test ! -s conftest.err'
10746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10747 (eval $ac_try) 2>&5
10749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10750 (exit $ac_status); }; } &&
10751 { ac_try
='test -s conftest.$ac_objext'
10752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10753 (eval $ac_try) 2>&5
10755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10756 (exit $ac_status); }; }; then
10759 cat >conftest.
$ac_ext <<_ACEOF
10762 cat confdefs.h
>>conftest.
$ac_ext
10763 cat >>conftest.
$ac_ext <<_ACEOF
10764 /* end confdefs.h. */
10769 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) >= $ac_mid)];
10776 rm -f conftest.
$ac_objext
10777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10778 (eval $ac_compile) 2>conftest.er1
10780 grep -v '^ *+' conftest.er1
>conftest.err
10782 cat conftest.err
>&5
10783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784 (exit $ac_status); } &&
10785 { ac_try
='test -z "$ac_c_werror_flag"
10786 || test ! -s conftest.err'
10787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10788 (eval $ac_try) 2>&5
10790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10791 (exit $ac_status); }; } &&
10792 { ac_try
='test -s conftest.$ac_objext'
10793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10794 (eval $ac_try) 2>&5
10796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797 (exit $ac_status); }; }; then
10798 ac_lo
=$ac_mid; break
10800 echo "$as_me: failed program was:" >&5
10801 sed 's/^/| /' conftest.
$ac_ext >&5
10803 ac_hi
=`expr '(' $ac_mid ')' - 1`
10804 if test $ac_mid -le $ac_hi; then
10808 ac_mid
=`expr 2 '*' $ac_mid`
10810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10813 echo "$as_me: failed program was:" >&5
10814 sed 's/^/| /' conftest.
$ac_ext >&5
10818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10821 # Binary search between lo and hi bounds.
10822 while test "x$ac_lo" != "x$ac_hi"; do
10823 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10824 cat >conftest.
$ac_ext <<_ACEOF
10827 cat confdefs.h
>>conftest.
$ac_ext
10828 cat >>conftest.
$ac_ext <<_ACEOF
10829 /* end confdefs.h. */
10834 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) <= $ac_mid)];
10841 rm -f conftest.
$ac_objext
10842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10843 (eval $ac_compile) 2>conftest.er1
10845 grep -v '^ *+' conftest.er1
>conftest.err
10847 cat conftest.err
>&5
10848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849 (exit $ac_status); } &&
10850 { ac_try
='test -z "$ac_c_werror_flag"
10851 || test ! -s conftest.err'
10852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10853 (eval $ac_try) 2>&5
10855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856 (exit $ac_status); }; } &&
10857 { ac_try
='test -s conftest.$ac_objext'
10858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10859 (eval $ac_try) 2>&5
10861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10862 (exit $ac_status); }; }; then
10865 echo "$as_me: failed program was:" >&5
10866 sed 's/^/| /' conftest.
$ac_ext >&5
10868 ac_lo
=`expr '(' $ac_mid ')' + 1`
10870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10873 ?
*) OMP_NEST_LOCK_ALIGN
=$ac_lo;;
10877 if test "$cross_compiling" = yes; then
10878 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10879 See \`config.log' for more details." >&5
10880 echo "$as_me: error: cannot run test program while cross compiling
10881 See \`config.log' for more details." >&2;}
10882 { (exit 1); exit 1; }; }
10884 cat >conftest.
$ac_ext <<_ACEOF
10887 cat confdefs.h
>>conftest.
$ac_ext
10888 cat >>conftest.
$ac_ext <<_ACEOF
10889 /* end confdefs.h. */
10891 long longval () { return __alignof (omp_nest_lock_t); }
10892 unsigned long ulongval () { return __alignof (omp_nest_lock_t); }
10894 #include <stdlib.h>
10899 FILE *f = fopen ("conftest.val", "w");
10902 if ((__alignof (omp_nest_lock_t)) < 0)
10904 long i = longval ();
10905 if (i != (__alignof (omp_nest_lock_t)))
10907 fprintf (f, "%ld\n", i);
10911 unsigned long i = ulongval ();
10912 if (i != (__alignof (omp_nest_lock_t)))
10914 fprintf (f, "%lu\n", i);
10916 exit (ferror (f) || fclose (f) != 0);
10922 rm -f conftest
$ac_exeext
10923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10924 (eval $ac_link) 2>&5
10926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10927 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10929 (eval $ac_try) 2>&5
10931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10932 (exit $ac_status); }; }; then
10933 OMP_NEST_LOCK_ALIGN
=`cat conftest.val`
10935 echo "$as_me: program exited with status $ac_status" >&5
10936 echo "$as_me: failed program was:" >&5
10937 sed 's/^/| /' conftest.
$ac_ext >&5
10940 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10945 # If the lock fits in an integer, then arrange for Fortran to use that
10946 # integer. If it doesn't, then arrange for Fortran to use a pointer.
10947 # Except that we don't have a way at present to multi-lib the installed
10948 # Fortran modules, so we assume 8 bytes for pointers, regardless of the
10950 OMP_LOCK_KIND
=$OMP_LOCK_SIZE
10951 OMP_NEST_LOCK_KIND
=$OMP_NEST_LOCK_SIZE
10952 if test $OMP_LOCK_SIZE -gt 8 ||
test $OMP_LOCK_ALIGN -gt $OMP_LOCK_SIZE; then
10955 if test $OMP_NEST_LOCK_SIZE -gt 8 ||
test $OMP_NEST_LOCK_ALIGN -gt $OMP_NEST_LOCK_SIZE; then
10956 OMP_NEST_LOCK_KIND
=8
10965 CFLAGS
="$save_CFLAGS"
10967 ac_config_files
="$ac_config_files omp.h omp_lib.h omp_lib.f90 libgomp_f.h"
10969 ac_config_files
="$ac_config_files Makefile testsuite/Makefile libgomp.spec"
10971 cat >confcache
<<\_ACEOF
10972 # This file is a shell script that caches the results of configure
10973 # tests run on this system so they can be shared between configure
10974 # scripts and configure runs, see configure's option --config-cache.
10975 # It is not useful on other systems. If it contains results you don't
10976 # want to keep, you may remove or edit it.
10978 # config.status only pays attention to the cache file if you give it
10979 # the --recheck option to rerun configure.
10981 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10982 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10983 # following values.
10987 # The following way of writing the cache mishandles newlines in values,
10988 # but we know of no workaround that is simple, portable, and efficient.
10989 # So, don't put newlines in cache variables' values.
10990 # Ultrix sh set writes to stderr and can't be redirected directly,
10991 # and sets the high bit in the cache file unless we assign to the vars.
10994 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10996 # `set' does not quote correctly, so add quotes (double-quote
10997 # substitution turns \\\\ into \\, and sed turns \\ into \).
11000 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11003 # `set' quotes correctly as required by POSIX, so do not add quotes.
11005 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11012 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11014 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11016 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11017 if test -w $cache_file; then
11018 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11019 cat confcache
>$cache_file
11021 echo "not updating unwritable cache $cache_file"
11026 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11027 # Let make expand exec_prefix.
11028 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11030 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11031 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11032 # trailing colons and then remove the whole line if VPATH becomes empty
11033 # (actually we leave an empty line to preserve line numbers).
11034 if test "x$srcdir" = x.
; then
11035 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11036 s/:*\$(srcdir):*/:/;
11037 s/:*\${srcdir}:*/:/;
11039 s/^\([^=]*=[ ]*\):*/\1/;
11045 DEFS
=-DHAVE_CONFIG_H
11049 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11050 # 1. Remove the extension, and $U if already installed.
11051 ac_i
=`echo "$ac_i" |
11052 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11054 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
11055 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
11057 LIBOBJS
=$ac_libobjs
11059 LTLIBOBJS
=$ac_ltlibobjs
11062 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11063 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11064 Usually this means the macro was only invoked conditionally." >&5
11065 echo "$as_me: error: conditional \"AMDEP\" was never defined.
11066 Usually this means the macro was only invoked conditionally." >&2;}
11067 { (exit 1); exit 1; }; }
11069 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11070 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11071 Usually this means the macro was only invoked conditionally." >&5
11072 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11073 Usually this means the macro was only invoked conditionally." >&2;}
11074 { (exit 1); exit 1; }; }
11076 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11077 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11078 Usually this means the macro was only invoked conditionally." >&5
11079 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11080 Usually this means the macro was only invoked conditionally." >&2;}
11081 { (exit 1); exit 1; }; }
11083 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE}"; then
11084 { { echo "$as_me:$LINENO: error: conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
11085 Usually this means the macro was only invoked conditionally." >&5
11086 echo "$as_me: error: conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
11087 Usually this means the macro was only invoked conditionally." >&2;}
11088 { (exit 1); exit 1; }; }
11090 if test -z "${USE_FORTRAN_TRUE}" && test -z "${USE_FORTRAN_FALSE}"; then
11091 { { echo "$as_me:$LINENO: error: conditional \"USE_FORTRAN\" was never defined.
11092 Usually this means the macro was only invoked conditionally." >&5
11093 echo "$as_me: error: conditional \"USE_FORTRAN\" was never defined.
11094 Usually this means the macro was only invoked conditionally." >&2;}
11095 { (exit 1); exit 1; }; }
11098 : ${CONFIG_STATUS=./config.status}
11099 ac_clean_files_save
=$ac_clean_files
11100 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11101 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11102 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11103 cat >$CONFIG_STATUS <<_ACEOF
11105 # Generated by $as_me.
11106 # Run this file to recreate the current configuration.
11107 # Compiler output produced by configure, useful for debugging
11108 # configure, is in config.log if it exists.
11111 ac_cs_recheck=false
11113 SHELL=\${CONFIG_SHELL-$SHELL}
11116 cat >>$CONFIG_STATUS <<\_ACEOF
11117 ## --------------------- ##
11118 ## M4sh Initialization. ##
11119 ## --------------------- ##
11121 # Be Bourne compatible
11122 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11125 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11126 # is contrary to our usage. Disable this feature.
11127 alias -g '${1+"$@"}'='"$@"'
11128 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
11131 DUALCASE
=1; export DUALCASE
# for MKS sh
11133 # Support unset when possible.
11134 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
11141 # Work around bugs in pre-3.0 UWIN ksh.
11142 $as_unset ENV MAIL MAILPATH
11149 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11150 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11151 LC_TELEPHONE LC_TIME
11153 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11154 eval $as_var=C
; export $as_var
11160 # Required to use basename.
11161 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11167 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
11168 as_basename
=basename
11174 # Name of the executable.
11175 as_me
=`$as_basename "$0" ||
11176 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11177 X"$0" : 'X\(//\)$' \| \
11178 X"$0" : 'X\(/\)$' \| \
11179 . : '\(.\)' 2>/dev/null ||
11181 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11182 /^X\/\(\/\/\)$/{ s//\1/; q; }
11183 /^X\/\(\/\).*/{ s//\1/; q; }
11187 # PATH needs CR, and LINENO needs CR and PATH.
11188 # Avoid depending upon Character Ranges.
11189 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11190 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11191 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11192 as_cr_digits
='0123456789'
11193 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11195 # The user is always right.
11196 if test "${PATH_SEPARATOR+set}" != set; then
11197 echo "#! /bin/sh" >conf$$.sh
11198 echo "exit 0" >>conf$$.sh
11200 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11209 as_lineno_1
=$LINENO
11210 as_lineno_2
=$LINENO
11211 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
11212 test "x$as_lineno_1" != "x$as_lineno_2" &&
11213 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
11214 # Find who we are. Look in the path if we contain no path at all
11217 *[\\/]* ) as_myself
=$0 ;;
11218 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11219 for as_dir
in $PATH
11222 test -z "$as_dir" && as_dir
=.
11223 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11228 # We did not find ourselves, most probably we were run as `sh COMMAND'
11229 # in which case we are not to be found in the path.
11230 if test "x$as_myself" = x
; then
11233 if test ! -f "$as_myself"; then
11234 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11235 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11236 { (exit 1); exit 1; }; }
11238 case $CONFIG_SHELL in
11240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11241 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
11244 test -z "$as_dir" && as_dir
=.
11245 for as_base
in sh bash ksh sh5
; do
11248 if ("$as_dir/$as_base" -c '
11249 as_lineno_1=$LINENO
11250 as_lineno_2=$LINENO
11251 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11252 test "x$as_lineno_1" != "x$as_lineno_2" &&
11253 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
11254 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
11255 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
11256 CONFIG_SHELL
=$as_dir/$as_base
11257 export CONFIG_SHELL
11258 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11266 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11267 # uniformly replaced by the line number. The first 'sed' inserts a
11268 # line-number line before each line; the second 'sed' does the real
11269 # work. The second script uses 'N' to pair each line-number line
11270 # with the numbered line, and appends trailing '-' during
11271 # substitution so that $LINENO is not a special case at line end.
11272 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11273 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11274 sed '=' <$as_myself |
11279 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11282 s,^['$as_cr_digits']*\n,,
11283 ' >$as_me.lineno
&&
11284 chmod +x
$as_me.lineno ||
11285 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11286 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11287 { (exit 1); exit 1; }; }
11289 # Don't try to exec as it changes $[0], causing all sort of problems
11290 # (the dirname of $[0] is not the place where we might find the
11291 # original and so on. Autoconf is especially sensible to this).
11293 # Exit status is that of the last command.
11298 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11299 *c
*,-n*) ECHO_N
= ECHO_C
='
11301 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
11302 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
11305 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11311 rm -f conf$$ conf$$.exe conf$$.
file
11313 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11314 # We could just check for DJGPP; but this test a) works b) is more generic
11315 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11316 if test -f conf$$.exe
; then
11317 # Don't use ln at all; we don't have any links
11322 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11327 rm -f conf$$ conf$$.exe conf$$.
file
11329 if mkdir
-p .
2>/dev
/null
; then
11332 test -d .
/-p && rmdir .
/-p
11336 as_executable_p
="test -f"
11338 # Sed expression to map a string onto a valid CPP name.
11339 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11341 # Sed expression to map a string onto a valid variable name.
11342 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11346 # We need space, tab and new line, in precisely that order.
11356 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11357 # report actual input values of CONFIG_FILES etc. instead of their
11358 # values after options handling. Logging --version etc. is OK.
11362 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11363 ## Running $as_me. ##
11368 This file was extended by GNU OpenMP Runtime Library $as_me 1.0, which was
11369 generated by GNU Autoconf 2.59. Invocation command line was
11371 CONFIG_FILES = $CONFIG_FILES
11372 CONFIG_HEADERS = $CONFIG_HEADERS
11373 CONFIG_LINKS = $CONFIG_LINKS
11374 CONFIG_COMMANDS = $CONFIG_COMMANDS
11378 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11382 # Files that config.status was made for.
11383 if test -n "$ac_config_files"; then
11384 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11387 if test -n "$ac_config_headers"; then
11388 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11391 if test -n "$ac_config_links"; then
11392 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11395 if test -n "$ac_config_commands"; then
11396 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11399 cat >>$CONFIG_STATUS <<\_ACEOF
11402 \`$as_me' instantiates files from templates according to the
11403 current configuration.
11405 Usage: $0 [OPTIONS] [FILE]...
11407 -h, --help print this help, then exit
11408 -V, --version print version number, then exit
11409 -q, --quiet do not print progress messages
11410 -d, --debug don't remove temporary files
11411 --recheck update $as_me by reconfiguring in the same conditions
11412 --file=FILE[:TEMPLATE]
11413 instantiate the configuration file FILE
11414 --header=FILE[:TEMPLATE]
11415 instantiate the configuration header FILE
11417 Configuration files:
11420 Configuration headers:
11423 Configuration commands:
11426 Report bugs to <bug-autoconf@gnu.org>."
11429 cat >>$CONFIG_STATUS <<_ACEOF
11431 GNU OpenMP Runtime Library config.status 1.0
11432 configured by $0, generated by GNU Autoconf 2.59,
11433 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11435 Copyright (C) 2003 Free Software Foundation, Inc.
11436 This config.status script is free software; the Free Software Foundation
11437 gives unlimited permission to copy, distribute and modify it."
11442 cat >>$CONFIG_STATUS <<\_ACEOF
11443 # If no file are specified by the user, then we need to provide default
11444 # value. By we need to know if files were specified by the user.
11450 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
11451 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
11459 *) # This is not an option, so the user has probably given explicit
11462 ac_need_defaults
=false
;;
11466 # Handling of the options.
11468 cat >>$CONFIG_STATUS <<\_ACEOF
11469 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11471 --version |
--vers* |
-V )
11472 echo "$ac_cs_version"; exit 0 ;;
11474 # Conflict between --help and --header
11475 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11476 Try \`$0 --help' for more information." >&5
11477 echo "$as_me: error: ambiguous option: $1
11478 Try \`$0 --help' for more information." >&2;}
11479 { (exit 1); exit 1; }; };;
11480 --help |
--hel |
-h )
11481 echo "$ac_cs_usage"; exit 0 ;;
11482 --debug |
--d* |
-d )
11484 --file |
--fil |
--fi |
--f )
11486 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
11487 ac_need_defaults
=false
;;
11488 --header |
--heade |
--head |
--hea )
11490 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
11491 ac_need_defaults
=false
;;
11492 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11493 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11496 # This is an error.
11497 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11498 Try \`$0 --help' for more information." >&5
11499 echo "$as_me: error: unrecognized option: $1
11500 Try \`$0 --help' for more information." >&2;}
11501 { (exit 1); exit 1; }; } ;;
11503 *) ac_config_targets
="$ac_config_targets $1" ;;
11509 ac_configure_extra_args
=
11511 if $ac_cs_silent; then
11513 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11517 cat >>$CONFIG_STATUS <<_ACEOF
11518 if \$ac_cs_recheck; then
11519 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11520 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11525 cat >>$CONFIG_STATUS <<_ACEOF
11527 # INIT-COMMANDS section.
11534 with_multisubdir="$with_multisubdir"
11535 with_multisrctop="$with_multisrctop"
11536 with_target_subdir="$with_target_subdir"
11537 ac_configure_args="${multilib_arg} ${ac_configure_args}"
11538 multi_basedir="$multi_basedir"
11539 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
11541 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11545 acx_cv_header_stdint="$acx_cv_header_stdint"
11546 acx_cv_type_int8_t="$acx_cv_type_int8_t"
11547 acx_cv_type_int16_t="$acx_cv_type_int16_t"
11548 acx_cv_type_int32_t="$acx_cv_type_int32_t"
11549 acx_cv_type_int64_t="$acx_cv_type_int64_t"
11550 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
11551 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
11552 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
11553 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
11554 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
11555 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
11556 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
11557 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
11558 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
11565 cat >>$CONFIG_STATUS <<\_ACEOF
11566 for ac_config_target
in $ac_config_targets
11568 case "$ac_config_target" in
11569 # Handling of arguments.
11570 "omp.h" ) CONFIG_FILES
="$CONFIG_FILES omp.h" ;;
11571 "omp_lib.h" ) CONFIG_FILES
="$CONFIG_FILES omp_lib.h" ;;
11572 "omp_lib.f90" ) CONFIG_FILES
="$CONFIG_FILES omp_lib.f90" ;;
11573 "libgomp_f.h" ) CONFIG_FILES
="$CONFIG_FILES libgomp_f.h" ;;
11574 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11575 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
11576 "libgomp.spec" ) CONFIG_FILES
="$CONFIG_FILES libgomp.spec" ;;
11577 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
11578 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
11579 "gstdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
11580 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
11581 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11582 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11583 { (exit 1); exit 1; }; };;
11587 # If the user did not use the arguments to specify the items to instantiate,
11588 # then the envvar interface is used. Set only those that are not.
11589 # We use the long form for the default assignment because of an extremely
11590 # bizarre bug on SunOS 4.1.3.
11591 if $ac_need_defaults; then
11592 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11593 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11594 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11597 # Have a temporary directory for convenience. Make it in the build tree
11598 # simply because there is no reason to put it here, and in addition,
11599 # creating and moving files from /tmp can sometimes cause problems.
11600 # Create a temporary directory, and hook for its removal unless debugging.
11603 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11604 trap '{ (exit 1); exit 1; }' 1 2 13 15
11607 # Create a (secure) tmp directory for tmp files.
11610 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11611 test -n "$tmp" && test -d "$tmp"
11614 tmp
=.
/confstat$$
-$RANDOM
11615 (umask 077 && mkdir
$tmp)
11618 echo "$me: cannot create a temporary directory in ." >&2
11619 { (exit 1); exit 1; }
11624 cat >>$CONFIG_STATUS <<_ACEOF
11627 # CONFIG_FILES section.
11630 # No need to generate the scripts if there are no CONFIG_FILES.
11631 # This happens for instance when ./config.status config.h
11632 if test -n "\$CONFIG_FILES"; then
11633 # Protect against being on the right side of a sed subst in config.status.
11634 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11635 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11636 s,@SHELL@,$SHELL,;t t
11637 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11638 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11639 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11640 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11641 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11642 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11643 s,@exec_prefix@,$exec_prefix,;t t
11644 s,@prefix@,$prefix,;t t
11645 s,@program_transform_name@,$program_transform_name,;t t
11646 s,@bindir@,$bindir,;t t
11647 s,@sbindir@,$sbindir,;t t
11648 s,@libexecdir@,$libexecdir,;t t
11649 s,@datadir@,$datadir,;t t
11650 s,@sysconfdir@,$sysconfdir,;t t
11651 s,@sharedstatedir@,$sharedstatedir,;t t
11652 s,@localstatedir@,$localstatedir,;t t
11653 s,@libdir@,$libdir,;t t
11654 s,@includedir@,$includedir,;t t
11655 s,@oldincludedir@,$oldincludedir,;t t
11656 s,@infodir@,$infodir,;t t
11657 s,@mandir@,$mandir,;t t
11658 s,@build_alias@,$build_alias,;t t
11659 s,@host_alias@,$host_alias,;t t
11660 s,@target_alias@,$target_alias,;t t
11661 s,@DEFS@,$DEFS,;t t
11662 s,@ECHO_C@,$ECHO_C,;t t
11663 s,@ECHO_N@,$ECHO_N,;t t
11664 s,@ECHO_T@,$ECHO_T,;t t
11665 s,@LIBS@,$LIBS,;t t
11666 s,@build@,$build,;t t
11667 s,@build_cpu@,$build_cpu,;t t
11668 s,@build_vendor@,$build_vendor,;t t
11669 s,@build_os@,$build_os,;t t
11670 s,@host@,$host,;t t
11671 s,@host_cpu@,$host_cpu,;t t
11672 s,@host_vendor@,$host_vendor,;t t
11673 s,@host_os@,$host_os,;t t
11674 s,@target@,$target,;t t
11675 s,@target_cpu@,$target_cpu,;t t
11676 s,@target_vendor@,$target_vendor,;t t
11677 s,@target_os@,$target_os,;t t
11678 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11679 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11680 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11681 s,@CYGPATH_W@,$CYGPATH_W,;t t
11682 s,@PACKAGE@,$PACKAGE,;t t
11683 s,@VERSION@,$VERSION,;t t
11684 s,@ACLOCAL@,$ACLOCAL,;t t
11685 s,@AUTOCONF@,$AUTOCONF,;t t
11686 s,@AUTOMAKE@,$AUTOMAKE,;t t
11687 s,@AUTOHEADER@,$AUTOHEADER,;t t
11688 s,@MAKEINFO@,$MAKEINFO,;t t
11689 s,@install_sh@,$install_sh,;t t
11690 s,@STRIP@,$STRIP,;t t
11691 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11692 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
11693 s,@mkdir_p@,$mkdir_p,;t t
11695 s,@SET_MAKE@,$SET_MAKE,;t t
11696 s,@am__leading_dot@,$am__leading_dot,;t t
11697 s,@AMTAR@,$AMTAR,;t t
11698 s,@am__tar@,$am__tar,;t t
11699 s,@am__untar@,$am__untar,;t t
11700 s,@multi_basedir@,$multi_basedir,;t t
11701 s,@toolexecdir@,$toolexecdir,;t t
11702 s,@toolexeclibdir@,$toolexeclibdir,;t t
11704 s,@ac_ct_CC@,$ac_ct_CC,;t t
11705 s,@EXEEXT@,$EXEEXT,;t t
11706 s,@OBJEXT@,$OBJEXT,;t t
11707 s,@DEPDIR@,$DEPDIR,;t t
11708 s,@am__include@,$am__include,;t t
11709 s,@am__quote@,$am__quote,;t t
11710 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
11711 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
11712 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
11713 s,@CCDEPMODE@,$CCDEPMODE,;t t
11714 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
11715 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
11716 s,@CFLAGS@,$CFLAGS,;t t
11718 s,@ac_ct_AR@,$ac_ct_AR,;t t
11719 s,@RANLIB@,$RANLIB,;t t
11720 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11721 s,@PERL@,$PERL,;t t
11722 s,@LN_S@,$LN_S,;t t
11723 s,@LIBTOOL@,$LIBTOOL,;t t
11724 s,@enable_shared@,$enable_shared,;t t
11725 s,@enable_static@,$enable_static,;t t
11726 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
11727 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
11728 s,@MAINT@,$MAINT,;t t
11730 s,@FCFLAGS@,$FCFLAGS,;t t
11731 s,@LDFLAGS@,$LDFLAGS,;t t
11732 s,@ac_ct_FC@,$ac_ct_FC,;t t
11733 s,@libtool_VERSION@,$libtool_VERSION,;t t
11735 s,@CPPFLAGS@,$CPPFLAGS,;t t
11736 s,@EGREP@,$EGREP,;t t
11737 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
11738 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
11739 s,@LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE@,$LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE,;t t
11740 s,@LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE@,$LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE,;t t
11741 s,@config_path@,$config_path,;t t
11742 s,@XCFLAGS@,$XCFLAGS,;t t
11743 s,@XLDFLAGS@,$XLDFLAGS,;t t
11744 s,@link_gomp@,$link_gomp,;t t
11745 s,@USE_FORTRAN_TRUE@,$USE_FORTRAN_TRUE,;t t
11746 s,@USE_FORTRAN_FALSE@,$USE_FORTRAN_FALSE,;t t
11747 s,@OMP_LOCK_SIZE@,$OMP_LOCK_SIZE,;t t
11748 s,@OMP_LOCK_ALIGN@,$OMP_LOCK_ALIGN,;t t
11749 s,@OMP_NEST_LOCK_SIZE@,$OMP_NEST_LOCK_SIZE,;t t
11750 s,@OMP_NEST_LOCK_ALIGN@,$OMP_NEST_LOCK_ALIGN,;t t
11751 s,@OMP_LOCK_KIND@,$OMP_LOCK_KIND,;t t
11752 s,@OMP_NEST_LOCK_KIND@,$OMP_NEST_LOCK_KIND,;t t
11753 s,@LIBOBJS@,$LIBOBJS,;t t
11754 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11759 cat >>$CONFIG_STATUS <<\_ACEOF
11760 # Split the substitutions into bite-sized pieces for seds with
11761 # small command number limits, like on Digital OSF/1 and HP-UX.
11762 ac_max_sed_lines
=48
11763 ac_sed_frag
=1 # Number of current file.
11764 ac_beg
=1 # First line for current file.
11765 ac_end
=$ac_max_sed_lines # Line after last line for current file.
11768 while $ac_more_lines; do
11769 if test $ac_beg -gt 1; then
11770 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
11772 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
11774 if test ! -s $tmp/subs.frag
; then
11775 ac_more_lines
=false
11777 # The purpose of the label and of the branching condition is to
11778 # speed up the sed processing (if there are no `@' at all, there
11779 # is no need to browse any of the substitutions).
11780 # These are the two extra sed commands mentioned above.
11782 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
11783 if test -z "$ac_sed_cmds"; then
11784 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
11786 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11788 ac_sed_frag
=`expr $ac_sed_frag + 1`
11790 ac_end
=`expr $ac_end + $ac_max_sed_lines`
11793 if test -z "$ac_sed_cmds"; then
11796 fi # test -n "$CONFIG_FILES"
11799 cat >>$CONFIG_STATUS <<\_ACEOF
11800 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
11801 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11803 - |
*:- |
*:-:* ) # input from stdin
11805 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11806 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11807 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11808 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11809 * ) ac_file_in
=$ac_file.
in ;;
11812 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11813 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
11814 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11815 X"$ac_file" : 'X\(//\)[^/]' \| \
11816 X"$ac_file" : 'X\(//\)$' \| \
11817 X"$ac_file" : 'X\(/\)' \| \
11818 . : '\(.\)' 2>/dev/null ||
11820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11821 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11822 /^X\(\/\/\)$/{ s//\1/; q; }
11823 /^X\(\/\).*/{ s//\1/; q; }
11825 { if $as_mkdir_p; then
11830 while test ! -d "$as_dir"; do
11831 as_dirs
="$as_dir $as_dirs"
11832 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11833 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11834 X"$as_dir" : 'X\(//\)[^/]' \| \
11835 X"$as_dir" : 'X\(//\)$' \| \
11836 X"$as_dir" : 'X\(/\)' \| \
11837 . : '\(.\)' 2>/dev/null ||
11839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11840 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11841 /^X\(\/\/\)$/{ s//\1/; q; }
11842 /^X\(\/\).*/{ s//\1/; q; }
11845 test ! -n "$as_dirs" || mkdir
$as_dirs
11846 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11847 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11848 { (exit 1); exit 1; }; }; }
11852 if test "$ac_dir" != .
; then
11853 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11854 # A "../" for each directory in $ac_dir_suffix.
11855 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11857 ac_dir_suffix
= ac_top_builddir
=
11861 .
) # No --srcdir option. We are building in place.
11863 if test -z "$ac_top_builddir"; then
11866 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
11868 [\\/]* | ?
:[\\/]* ) # Absolute path.
11869 ac_srcdir
=$srcdir$ac_dir_suffix;
11870 ac_top_srcdir
=$srcdir ;;
11871 *) # Relative path.
11872 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
11873 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
11876 # Do not use `cd foo && pwd` to compute absolute paths, because
11877 # the directories may not exist.
11879 .
) ac_abs_builddir
="$ac_dir";;
11882 .
) ac_abs_builddir
=`pwd`;;
11883 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
11884 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
11887 case $ac_abs_builddir in
11888 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11890 case ${ac_top_builddir}.
in
11891 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
11892 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11893 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
11896 case $ac_abs_builddir in
11897 .
) ac_abs_srcdir
=$ac_srcdir;;
11900 .
) ac_abs_srcdir
=$ac_abs_builddir;;
11901 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
11902 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
11905 case $ac_abs_builddir in
11906 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
11908 case $ac_top_srcdir in
11909 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
11910 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
11911 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
11917 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
11918 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
11921 if test x
"$ac_file" != x-
; then
11922 { echo "$as_me:$LINENO: creating $ac_file" >&5
11923 echo "$as_me: creating $ac_file" >&6;}
11926 # Let's still pretend it is `configure' which instantiates (i.e., don't
11927 # use $as_me), people would be surprised to read:
11928 # /* config.h. Generated by config.status. */
11929 if test x
"$ac_file" = x-
; then
11932 configure_input
="$ac_file. "
11934 configure_input
=$configure_input"Generated from `echo $ac_file_in |
11935 sed 's,.*/,,'` by configure."
11937 # First look for the input files in the build tree, otherwise in the
11939 ac_file_inputs
=`IFS=:
11940 for f in $ac_file_in; do
11942 -) echo $tmp/stdin ;;
11944 # Absolute (can't be DOS-style, as IFS=:)
11945 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11946 echo "$as_me: error: cannot find input file: $f" >&2;}
11947 { (exit 1); exit 1; }; }
11950 if test -f "$f"; then
11953 elif test -f "$srcdir/$f"; then
11958 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11959 echo "$as_me: error: cannot find input file: $f" >&2;}
11960 { (exit 1); exit 1; }; }
11963 done` ||
{ (exit 1); exit 1; }
11965 cat >>$CONFIG_STATUS <<_ACEOF
11969 cat >>$CONFIG_STATUS <<\_ACEOF
11971 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11972 s
,@configure_input@
,$configure_input,;t t
11973 s
,@srcdir@
,$ac_srcdir,;t t
11974 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
11975 s
,@top_srcdir@
,$ac_top_srcdir,;t t
11976 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
11977 s
,@builddir@
,$ac_builddir,;t t
11978 s
,@abs_builddir@
,$ac_abs_builddir,;t t
11979 s
,@top_builddir@
,$ac_top_builddir,;t t
11980 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
11981 s
,@INSTALL@
,$ac_INSTALL,;t t
11982 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11984 if test x"$ac_file" != x-; then
11985 mv $tmp/out $ac_file
11993 cat >>$CONFIG_STATUS <<\_ACEOF
11996 # CONFIG_HEADER section.
11999 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
12000 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12002 # ac_d sets the value in "#define NAME VALUE" lines.
12003 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12004 ac_dB
='[ ].*$,\1#\2'
12007 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12008 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12009 ac_uB
='$,\1#\2define\3'
12013 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
12014 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12016 - |
*:- |
*:-:* ) # input from stdin
12018 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12019 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12020 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12021 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12022 * ) ac_file_in
=$ac_file.
in ;;
12025 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
12026 echo "$as_me: creating $ac_file" >&6;}
12028 # First look for the input files in the build tree, otherwise in the
12030 ac_file_inputs
=`IFS=:
12031 for f in $ac_file_in; do
12033 -) echo $tmp/stdin ;;
12035 # Absolute (can't be DOS-style, as IFS=:)
12036 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12037 echo "$as_me: error: cannot find input file: $f" >&2;}
12038 { (exit 1); exit 1; }; }
12039 # Do quote $f, to prevent DOS paths from being IFS'd.
12042 if test -f "$f"; then
12045 elif test -f "$srcdir/$f"; then
12050 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12051 echo "$as_me: error: cannot find input file: $f" >&2;}
12052 { (exit 1); exit 1; }; }
12055 done` ||
{ (exit 1); exit 1; }
12056 # Remove the trailing spaces.
12057 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12061 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12062 # `conftest.undefs', that substitutes the proper values into
12063 # config.h.in to produce config.h. The first handles `#define'
12064 # templates, and the second `#undef' templates.
12065 # And first: Protect against being on the right side of a sed subst in
12066 # config.status. Protect against being in an unquoted here document
12067 # in config.status.
12068 rm -f conftest.defines conftest.undefs
12069 # Using a here document instead of a string reduces the quoting nightmare.
12070 # Putting comments in sed scripts is not portable.
12072 # `end' is used to avoid that the second main sed command (meant for
12073 # 0-ary CPP macros) applies to n-ary macro definitions.
12074 # See the Autoconf documentation for `clear'.
12075 cat >confdef2sed.
sed <<\_ACEOF
12080 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12082 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12085 # If some macros were called several times there might be several times
12086 # the same #defines, which is useless. Nevertheless, we may not want to
12087 # sort them, since we want the *last* AC-DEFINE to be honored.
12088 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12089 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12090 rm -f confdef2sed.sed
12092 # This sed command replaces #undef with comments. This is necessary, for
12093 # example, in the case of _POSIX_SOURCE, which is predefined and required
12094 # on some systems where configure will not decide to define it.
12095 cat >>conftest.undefs <<\_ACEOF
12096 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12099 # Break up conftest.defines because some shells have a limit on the size
12100 # of here documents, and old seds have small limits too (100 cmds).
12101 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12102 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12103 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12104 echo ' :' >>$CONFIG_STATUS
12105 rm -f conftest.tail
12106 while grep . conftest.defines >/dev/null
12108 # Write a limited-size here document to $tmp/defines.sed.
12109 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12110 # Speed up: don't consider the non `#define' lines.
12111 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12112 # Work around the forget-to-reset-the-flag bug.
12113 echo 't clr' >>$CONFIG_STATUS
12114 echo ': clr' >>$CONFIG_STATUS
12115 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
12117 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12119 mv $tmp/out $tmp/in
12121 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
12122 rm -f conftest.defines
12123 mv conftest.
tail conftest.defines
12125 rm -f conftest.defines
12126 echo ' fi # grep' >>$CONFIG_STATUS
12127 echo >>$CONFIG_STATUS
12129 # Break up conftest.undefs because some shells have a limit on the size
12130 # of here documents, and old seds have small limits too (100 cmds).
12131 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12132 rm -f conftest.
tail
12133 while grep . conftest.undefs
>/dev
/null
12135 # Write a limited-size here document to $tmp/undefs.sed.
12136 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12137 # Speed up: don't consider the non
`#undef'
12138 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12139 # Work around the forget-to-reset-the-flag bug.
12140 echo 't clr' >>$CONFIG_STATUS
12141 echo ': clr' >>$CONFIG_STATUS
12142 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12144 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12146 mv $tmp/out $tmp/in
12148 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12149 rm -f conftest.undefs
12150 mv conftest.tail conftest.undefs
12152 rm -f conftest.undefs
12154 cat >>$CONFIG_STATUS <<\_ACEOF
12155 # Let's still pretend it is `configure
' which instantiates (i.e., don't
12156 # use $as_me), people would be surprised to read:
12157 # /* config.h. Generated by config.status. */
12158 if test x
"$ac_file" = x-
; then
12159 echo "/* Generated by configure. */" >$tmp/config.h
12161 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12163 cat $tmp/in >>$tmp/config.h
12165 if test x
"$ac_file" != x-
; then
12166 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
12167 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12168 echo "$as_me: $ac_file is unchanged" >&6;}
12170 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12171 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12172 X"$ac_file" : 'X\(//\)[^/]' \| \
12173 X"$ac_file" : 'X\(//\)$' \| \
12174 X"$ac_file" : 'X\(/\)' \| \
12175 . : '\(.\)' 2>/dev/null ||
12177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12178 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12179 /^X\(\/\/\)$/{ s//\1/; q; }
12180 /^X\(\/\).*/{ s//\1/; q; }
12182 { if $as_mkdir_p; then
12187 while test ! -d "$as_dir"; do
12188 as_dirs
="$as_dir $as_dirs"
12189 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12190 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12191 X"$as_dir" : 'X\(//\)[^/]' \| \
12192 X"$as_dir" : 'X\(//\)$' \| \
12193 X"$as_dir" : 'X\(/\)' \| \
12194 . : '\(.\)' 2>/dev/null ||
12196 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12197 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12198 /^X\(\/\/\)$/{ s//\1/; q; }
12199 /^X\(\/\).*/{ s//\1/; q; }
12202 test ! -n "$as_dirs" || mkdir
$as_dirs
12203 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12204 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12205 { (exit 1); exit 1; }; }; }
12208 mv $tmp/config.h
$ac_file
12212 rm -f $tmp/config.h
12214 # Compute $ac_file's index in $config_headers.
12216 for _am_header
in $config_headers :; do
12217 case $_am_header in
12218 $ac_file |
$ac_file:* )
12221 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
12224 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12225 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12226 X$ac_file : 'X\(//\)[^/]' \| \
12227 X$ac_file : 'X\(//\)$' \| \
12228 X$ac_file : 'X\(/\)' \| \
12229 . : '\(.\)' 2>/dev/null ||
12231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12232 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12233 /^X\(\/\/\)$/{ s//\1/; q; }
12234 /^X\(\/\).*/{ s//\1/; q; }
12235 s/.*/./; q'`/stamp-h
$_am_stamp_count
12238 cat >>$CONFIG_STATUS <<\_ACEOF
12241 # CONFIG_COMMANDS section.
12243 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
12244 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
12245 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12246 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
12247 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12248 X"$ac_dest" : 'X\(//\)[^/]' \| \
12249 X"$ac_dest" : 'X\(//\)$' \| \
12250 X"$ac_dest" : 'X\(/\)' \| \
12251 . : '\(.\)' 2>/dev/null ||
12253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12254 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12255 /^X\(\/\/\)$/{ s//\1/; q; }
12256 /^X\(\/\).*/{ s//\1/; q; }
12258 { if $as_mkdir_p; then
12263 while test ! -d "$as_dir"; do
12264 as_dirs
="$as_dir $as_dirs"
12265 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12266 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12267 X"$as_dir" : 'X\(//\)[^/]' \| \
12268 X"$as_dir" : 'X\(//\)$' \| \
12269 X"$as_dir" : 'X\(/\)' \| \
12270 . : '\(.\)' 2>/dev/null ||
12272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12273 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12274 /^X\(\/\/\)$/{ s//\1/; q; }
12275 /^X\(\/\).*/{ s//\1/; q; }
12278 test ! -n "$as_dirs" || mkdir
$as_dirs
12279 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12280 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12281 { (exit 1); exit 1; }; }; }
12285 if test "$ac_dir" != .
; then
12286 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12287 # A "../" for each directory in $ac_dir_suffix.
12288 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12290 ac_dir_suffix
= ac_top_builddir
=
12294 .
) # No --srcdir option. We are building in place.
12296 if test -z "$ac_top_builddir"; then
12299 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12301 [\\/]* | ?
:[\\/]* ) # Absolute path.
12302 ac_srcdir
=$srcdir$ac_dir_suffix;
12303 ac_top_srcdir
=$srcdir ;;
12304 *) # Relative path.
12305 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12306 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12309 # Do not use `cd foo && pwd` to compute absolute paths, because
12310 # the directories may not exist.
12312 .
) ac_abs_builddir
="$ac_dir";;
12315 .
) ac_abs_builddir
=`pwd`;;
12316 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12317 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12320 case $ac_abs_builddir in
12321 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12323 case ${ac_top_builddir}.
in
12324 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12325 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12326 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12329 case $ac_abs_builddir in
12330 .
) ac_abs_srcdir
=$ac_srcdir;;
12333 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12334 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12335 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12338 case $ac_abs_builddir in
12339 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12341 case $ac_top_srcdir in
12342 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12343 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12344 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12349 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12350 echo "$as_me: executing $ac_dest commands" >&6;}
12353 # Only add multilib support code if we just rebuilt the top-level
12355 case " $CONFIG_FILES " in
12357 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
12360 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
12361 # Strip MF so we end up with the name of the file.
12362 mf
=`echo "$mf" | sed -e 's/:.*$//'`
12363 # Check whether this is an Automake generated Makefile or not.
12364 # We used to match only the files named `Makefile.in', but
12365 # some people rename them; so instead we look at the file content.
12366 # Grep'ing the first line is not enough: some people post-process
12367 # each Makefile.in and add a new line on top of each file to say so.
12368 # So let's grep whole file.
12369 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
12370 dirpart
=`(dirname "$mf") 2>/dev/null ||
12371 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12372 X"$mf" : 'X\(//\)[^/]' \| \
12373 X"$mf" : 'X\(//\)$' \| \
12374 X"$mf" : 'X\(/\)' \| \
12375 . : '\(.\)' 2>/dev/null ||
12377 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12378 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12379 /^X\(\/\/\)$/{ s//\1/; q; }
12380 /^X\(\/\).*/{ s//\1/; q; }
12385 # Extract the definition of DEPDIR, am__include, and am__quote
12386 # from the Makefile without running `make'.
12387 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
12388 test -z "$DEPDIR" && continue
12389 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
12390 test -z "am__include" && continue
12391 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
12392 # When using ansi2knr, U may be empty or an underscore; expand it
12393 U
=`sed -n 's/^U = //p' < "$mf"`
12394 # Find all dependency output files, they are included files with
12395 # $(DEPDIR) in their names. We invoke sed twice because it is the
12396 # simplest approach to changing $(DEPDIR) to its actual value in the
12398 for file in `sed -n "
12399 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12400 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12401 # Make sure the directory exists.
12402 test -f "$dirpart/$file" && continue
12403 fdir
=`(dirname "$file") 2>/dev/null ||
12404 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12405 X"$file" : 'X\(//\)[^/]' \| \
12406 X"$file" : 'X\(//\)$' \| \
12407 X"$file" : 'X\(/\)' \| \
12408 . : '\(.\)' 2>/dev/null ||
12410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12411 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12412 /^X\(\/\/\)$/{ s//\1/; q; }
12413 /^X\(\/\).*/{ s//\1/; q; }
12415 { if $as_mkdir_p; then
12416 mkdir
-p $dirpart/$fdir
12418 as_dir
=$dirpart/$fdir
12420 while test ! -d "$as_dir"; do
12421 as_dirs
="$as_dir $as_dirs"
12422 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12423 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12424 X"$as_dir" : 'X\(//\)[^/]' \| \
12425 X"$as_dir" : 'X\(//\)$' \| \
12426 X"$as_dir" : 'X\(/\)' \| \
12427 . : '\(.\)' 2>/dev/null ||
12429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12430 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12431 /^X\(\/\/\)$/{ s//\1/; q; }
12432 /^X\(\/\).*/{ s//\1/; q; }
12435 test ! -n "$as_dirs" || mkdir
$as_dirs
12436 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
12437 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
12438 { (exit 1); exit 1; }; }; }
12440 # echo "creating $dirpart/$file"
12441 echo '# dummy' > "$dirpart/$file"
12446 if test "$GCC" = yes; then
12447 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
12449 echo "/* generated for $CC */" > tmp-stdint.h
12452 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12454 #ifndef GCC_GENERATED_STDINT_H
12455 #define GCC_GENERATED_STDINT_H 1
12457 #include <sys/types.h>
12460 if test "$acx_cv_header_stdint" != stdint.h
; then
12461 echo "#include <stddef.h>" >> tmp-stdint.h
12463 if test "$acx_cv_header_stdint" != stddef.h
; then
12464 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
12467 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12468 /* glibc uses these symbols as guards to prevent redefinitions. */
12469 #ifdef __int8_t_defined
12474 #ifdef __uint32_t_defined
12480 # ----------------- done header, emit basic int types -------------
12481 if test "$acx_cv_header_stdint" = stddef.h
; then
12482 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12486 typedef unsigned $acx_cv_type_int8_t uint8_t;
12491 typedef unsigned $acx_cv_type_int16_t uint16_t;
12496 typedef unsigned $acx_cv_type_int32_t uint32_t;
12501 typedef $acx_cv_type_int8_t int8_t;
12506 typedef $acx_cv_type_int16_t int16_t;
12511 typedef $acx_cv_type_int32_t int32_t;
12514 elif test "$ac_cv_type_u_int32_t" = yes; then
12515 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12517 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
12530 typedef u_int8_t uint8_t;
12535 typedef u_int16_t uint16_t;
12540 typedef u_int32_t uint32_t;
12544 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12546 /* Some systems have guard macros to prevent redefinitions, define them. */
12568 # ------------- done basic int types, emit int64_t types ------------
12569 if test "$ac_cv_type_uint64_t" = yes; then
12570 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12572 /* system headers have good uint64_t and int64_t */
12580 elif test "$ac_cv_type_u_int64_t" = yes; then
12581 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12583 /* system headers have an u_int64_t (and int64_t) */
12589 typedef u_int64_t uint64_t;
12592 elif test -n "$acx_cv_type_int64_t"; then
12593 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12595 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
12598 typedef $acx_cv_type_int64_t int64_t;
12602 typedef unsigned $acx_cv_type_int64_t uint64_t;
12606 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12608 /* some common heuristics for int64_t, using compiler-specific tests */
12609 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
12612 typedef long long int64_t;
12616 typedef unsigned long long uint64_t;
12619 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
12620 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
12621 does not implement __extension__. But that compiler doesn't define
12623 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
12624 # define __extension__
12629 __extension__ typedef long long int64_t;
12633 __extension__ typedef unsigned long long uint64_t;
12636 #elif !defined __STRICT_ANSI__
12637 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
12641 typedef __int64 int64_t;
12645 typedef unsigned __int64 uint64_t;
12647 # endif /* compiler */
12649 #endif /* ANSI version */
12653 # ------------- done int64_t types, emit intptr types ------------
12654 if test "$ac_cv_type_uintptr_t" != yes; then
12655 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12657 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
12658 typedef u$acx_cv_type_intptr_t uintptr_t;
12659 typedef $acx_cv_type_intptr_t intptr_t;
12663 # ------------- done intptr types, emit int_least types ------------
12664 if test "$ac_cv_type_int_least32_t" != yes; then
12665 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12667 /* Define int_least types */
12668 typedef int8_t int_least8_t;
12669 typedef int16_t int_least16_t;
12670 typedef int32_t int_least32_t;
12672 typedef int64_t int_least64_t;
12675 typedef uint8_t uint_least8_t;
12676 typedef uint16_t uint_least16_t;
12677 typedef uint32_t uint_least32_t;
12679 typedef uint64_t uint_least64_t;
12684 # ------------- done intptr types, emit int_fast types ------------
12685 if test "$ac_cv_type_int_fast32_t" != yes; then
12686 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12688 /* Define int_fast types. short is often slow */
12689 typedef int8_t int_fast8_t;
12690 typedef int int_fast16_t;
12691 typedef int32_t int_fast32_t;
12693 typedef int64_t int_fast64_t;
12696 typedef uint8_t uint_fast8_t;
12697 typedef unsigned int uint_fast16_t;
12698 typedef uint32_t uint_fast32_t;
12700 typedef uint64_t uint_fast64_t;
12705 if test "$ac_cv_type_uintmax_t" != yes; then
12706 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12708 /* Define intmax based on what we found */
12710 typedef int64_t intmax_t;
12712 typedef long intmax_t;
12715 typedef uint64_t uintmax_t;
12717 typedef unsigned long uintmax_t;
12722 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12724 #endif /* GCC_GENERATED_STDINT_H */
12727 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
12730 mv -f tmp-stdint.h gstdint.h
12738 cat >>$CONFIG_STATUS <<\_ACEOF
12740 { (exit 0); exit 0; }
12742 chmod +x
$CONFIG_STATUS
12743 ac_clean_files
=$ac_clean_files_save
12746 # configure is writing to config.log, and then calls config.status.
12747 # config.status does its own redirection, appending to config.log.
12748 # Unfortunately, on DOS this fails, as config.log is still kept open
12749 # by configure, so config.status won't be able to write to it; its
12750 # output is simply discarded. So we exec the FD to /dev/null,
12751 # effectively closing config.log, so it can be properly (re)opened and
12752 # appended to by config.status. When coming back to configure, we
12753 # need to make the FD available again.
12754 if test "$no_create" != yes; then
12756 ac_config_status_args
=
12757 test "$silent" = yes &&
12758 ac_config_status_args
="$ac_config_status_args --quiet"
12760 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12762 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12763 # would make configure fail if this is the last instruction.
12764 $ac_cs_success ||
{ (exit 1); exit 1; }