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 _g_switchUse thread-local storage
870 --enable-symvers=STYLE enables symbol versioning of the shared library
874 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
875 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
876 --with-gnu-ld assume the C compiler uses GNU ld default
=no
877 --with-pic try to use only PIC
/non-PIC objects default
=use both
879 Some influential environment variables
:
880 CC C compiler
command
881 CFLAGS C compiler flags
882 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
883 nonstandard directory
<lib dir
>
884 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
885 headers
in a nonstandard directory
<include dir
>
886 FC Fortran compiler
command
887 FCFLAGS Fortran compiler flags
890 Use these variables to override the choices made by
`configure' or to help
891 it to find libraries and programs with nonstandard names/locations.
896 if test "$ac_init_help" = "recursive"; then
897 # If there are subdirs, report their specific --help.
899 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
900 test -d $ac_dir || continue
903 if test "$ac_dir" != .; then
904 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
905 # A "../" for each directory in $ac_dir_suffix.
906 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
908 ac_dir_suffix= ac_top_builddir=
912 .) # No --srcdir option. We are building in place.
914 if test -z "$ac_top_builddir"; then
917 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
919 [\\/]* | ?:[\\/]* ) # Absolute path.
920 ac_srcdir=$srcdir$ac_dir_suffix;
921 ac_top_srcdir=$srcdir ;;
923 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
924 ac_top_srcdir=$ac_top_builddir$srcdir ;;
927 # Do not use `cd foo
&& pwd` to compute absolute paths, because
928 # the directories may not exist.
930 .) ac_abs_builddir="$ac_dir";;
933 .) ac_abs_builddir=`pwd`;;
934 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
935 *) ac_abs_builddir=`pwd`/"$ac_dir";;
938 case $ac_abs_builddir in
939 .) ac_abs_top_builddir=${ac_top_builddir}.;;
941 case ${ac_top_builddir}. in
942 .) ac_abs_top_builddir=$ac_abs_builddir;;
943 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
944 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
947 case $ac_abs_builddir in
948 .) ac_abs_srcdir=$ac_srcdir;;
951 .) ac_abs_srcdir=$ac_abs_builddir;;
952 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
953 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
956 case $ac_abs_builddir in
957 .) ac_abs_top_srcdir=$ac_top_srcdir;;
959 case $ac_top_srcdir in
960 .) ac_abs_top_srcdir=$ac_abs_builddir;;
961 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
962 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
967 # Check for guested configure; otherwise get Cygnus style configure.
968 if test -f $ac_srcdir/configure.gnu; then
970 $SHELL $ac_srcdir/configure.gnu --help=recursive
971 elif test -f $ac_srcdir/configure; then
973 $SHELL $ac_srcdir/configure --help=recursive
974 elif test -f $ac_srcdir/configure.ac ||
975 test -f $ac_srcdir/configure.in; then
979 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
985 test -n "$ac_init_help" && exit 0
986 if $ac_init_version; then
988 GNU OpenMP Runtime Library configure 1.0
989 generated by GNU Autoconf 2.59
991 Copyright (C) 2003 Free Software Foundation, Inc.
992 This configure script is free software; the Free Software Foundation
993 gives unlimited permission to copy, distribute and modify it.
999 This file contains any messages produced by compilers while
1000 running configure, to aid debugging if configure makes a mistake.
1002 It was created by GNU OpenMP Runtime Library $as_me 1.0, which was
1003 generated by GNU Autoconf 2.59. Invocation command line was
1014 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1015 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1016 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1017 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1018 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1020 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1021 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1023 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1024 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1025 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1026 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1027 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1028 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1029 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1037 test -z "$as_dir" && as_dir=.
1038 echo "PATH: $as_dir"
1053 # Keep a trace of the command line.
1054 # Strip out --no-create and --no-recursion so they do not pile up.
1055 # Strip out --silent because we don't want to record it for future runs.
1056 # Also quote any args containing shell meta-characters.
1057 # Make two passes to allow for proper duplicate-argument suppression.
1062 ac_must_keep_next=false
1068 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1069 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1070 | -silent | --silent | --silen | --sile | --sil)
1072 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1073 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1076 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1078 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1079 if test $ac_must_keep_next = true; then
1080 ac_must_keep_next=false # Got value, back to normal.
1083 *=* | --config-cache | -C | -disable-* | --disable-* \
1084 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1085 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1086 | -with-* | --with-* | -without-* | --without-* | --x)
1087 case "$ac_configure_args0 " in
1088 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1091 -* ) ac_must_keep_next=true ;;
1094 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1095 # Get rid of the leading space.
1101 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1102 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1104 # When interrupted or exit'd, cleanup temporary files, and complete
1105 # config.log. We remove comments because anyway the quotes in there
1106 # would cause problems or look ugly.
1107 # WARNING: Be sure not to use single quotes in there, as some shells,
1108 # such as our DU 5.0 friend, will then `close
' the trap.
1109 trap 'exit_status
=$?
1110 # Save into config.log some information that might help in debugging.
1115 ## ---------------- ##
1116 ## Cache variables. ##
1117 ## ---------------- ##
1120 # The following way of writing the cache mishandles newlines in values,
1123 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1126 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1127 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1131 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1138 ## ----------------- ##
1139 ## Output variables. ##
1140 ## ----------------- ##
1143 for ac_var
in $ac_subst_vars
1145 eval ac_val
=$
`echo $ac_var`
1146 echo "$ac_var='"'"'$ac_val'"'"'"
1150 if test -n "$ac_subst_files"; then
1157 for ac_var
in $ac_subst_files
1159 eval ac_val
=$
`echo $ac_var`
1160 echo "$ac_var='"'"'$ac_val'"'"'"
1165 if test -s confdefs.h
; then
1172 sed "/^$/d" confdefs.h |
sort
1175 test "$ac_signal" != 0 &&
1176 echo "$as_me: caught signal $ac_signal"
1177 echo "$as_me: exit $exit_status"
1179 rm -f core
*.core
&&
1180 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1183 for ac_signal in 1 2 13 15; do
1184 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1188 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1189 rm -rf conftest* confdefs.h
1190 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1193 # Predefined preprocessor variables.
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_NAME "$PACKAGE_NAME"
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1205 cat >>confdefs.h <<_ACEOF
1206 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1210 cat >>confdefs.h <<_ACEOF
1211 #define PACKAGE_STRING "$PACKAGE_STRING"
1215 cat >>confdefs.h <<_ACEOF
1216 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1220 # Let the site file select an alternate cache file if it wants to.
1221 # Prefer explicitly selected file to automatically selected ones.
1222 if test -z "$CONFIG_SITE"; then
1223 if test "x$prefix" != xNONE; then
1224 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1226 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1229 for ac_site_file in $CONFIG_SITE; do
1230 if test -r "$ac_site_file"; then
1231 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1232 echo "$as_me: loading site script $ac_site_file" >&6;}
1233 sed 's
/^
/|
/' "$ac_site_file" >&5
1238 if test -r "$cache_file"; then
1239 # Some versions of bash will fail to source /dev/null (special
1240 # files actually), so we avoid doing that.
1241 if test -f "$cache_file"; then
1242 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1243 echo "$as_me: loading cache $cache_file" >&6;}
1245 [\\/]* | ?:[\\/]* ) . $cache_file;;
1246 *) . ./$cache_file;;
1250 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1251 echo "$as_me: creating cache $cache_file" >&6;}
1255 # Check that the precious variables saved in the cache have kept the same
1257 ac_cache_corrupted=false
1258 for ac_var in `(set) 2>&1 |
1259 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1260 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1261 eval ac_new_set=\$ac_env_${ac_var}_set
1262 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1263 eval ac_new_val="\$ac_env_${ac_var}_value"
1264 case $ac_old_set,$ac_new_set in
1266 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1267 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1268 ac_cache_corrupted=: ;;
1270 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1271 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1272 ac_cache_corrupted=: ;;
1275 if test "x$ac_old_val" != "x$ac_new_val"; then
1276 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1277 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1278 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1279 echo "$as_me: former value: $ac_old_val" >&2;}
1280 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1281 echo "$as_me: current value: $ac_new_val" >&2;}
1282 ac_cache_corrupted=:
1285 # Pass precious variables to config.status.
1286 if test "$ac_new_set" = set; then
1288 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1289 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1290 *) ac_arg=$ac_var=$ac_new_val ;;
1292 case " $ac_configure_args " in
1293 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1294 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1298 if $ac_cache_corrupted; then
1299 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1300 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1301 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1302 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1303 { (exit 1); exit 1; }; }
1307 ac_cpp='$CPP $CPPFLAGS'
1308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1309 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1338 ac_config_headers="$ac_config_headers config.h"
1345 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1346 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1347 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1348 if test "${enable_version_specific_runtime_libs+set}" = set; then
1349 enableval="$enable_version_specific_runtime_libs"
1351 case "$enableval" in
1353 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific-runtime-libs" >&5
1354 echo "$as_me: error: Unknown argument to enable/disable version-specific-runtime-libs" >&2;}
1355 { (exit 1); exit 1; }; } ;;
1359 enable_version_specific_runtime_libs=no
1362 echo "$as_me:$LINENO: result: $enable_version_specific_runtime_libs" >&5
1363 echo "${ECHO_T}$enable_version_specific_runtime_libs" >&6
1365 echo "$as_me:$LINENO: checking for --enable-linux-futex" >&5
1366 echo $ECHO_N "checking for --enable-linux-futex... $ECHO_C" >&6
1367 # Check whether --enable-linux-futex or --disable-linux-futex was given.
1368 if test "${enable_linux_futex+set}" = set; then
1369 enableval="$enable_linux_futex"
1371 case "$enableval" in
1373 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
1374 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
1375 { (exit 1); exit 1; }; } ;;
1379 enable_linux_futex=default
1382 echo "$as_me:$LINENO: result: $enable_linux_futex" >&5
1383 echo "${ECHO_T}$enable_linux_futex" >&6
1388 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1390 # You will slowly go insane if you do not grok the following fact: when
1391 # building this library, the top-level /target/ becomes the library's
/host
/.
1393 # configure then causes --target to default to --host, exactly like any
1394 # other package using autoconf. Therefore, 'target' and 'host' will
1395 # always be the same. This makes sense both for native and cross compilers
1396 # just think about it for a little while. :-)
1398 # Also, if this library is being configured as part of a cross compiler, the
1399 # top-level configure script will pass the "real" host as $with_cross_host.
1401 # Do not delete or change the following two lines. For why, see
1402 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1404 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1405 if test -f $ac_dir/install-sh
; then
1407 ac_install_sh
="$ac_aux_dir/install-sh -c"
1409 elif test -f $ac_dir/install.sh
; then
1411 ac_install_sh
="$ac_aux_dir/install.sh -c"
1413 elif test -f $ac_dir/shtool
; then
1415 ac_install_sh
="$ac_aux_dir/shtool install -c"
1419 if test -z "$ac_aux_dir"; then
1420 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1421 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1422 { (exit 1); exit 1; }; }
1424 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1425 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1426 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1428 # Make sure we can run config.sub.
1429 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1430 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1431 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1432 { (exit 1); exit 1; }; }
1434 echo "$as_me:$LINENO: checking build system type" >&5
1435 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1436 if test "${ac_cv_build+set}" = set; then
1437 echo $ECHO_N "(cached) $ECHO_C" >&6
1439 ac_cv_build_alias
=$build_alias
1440 test -z "$ac_cv_build_alias" &&
1441 ac_cv_build_alias
=`$ac_config_guess`
1442 test -z "$ac_cv_build_alias" &&
1443 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1444 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1445 { (exit 1); exit 1; }; }
1446 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1447 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1448 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1449 { (exit 1); exit 1; }; }
1452 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1453 echo "${ECHO_T}$ac_cv_build" >&6
1455 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1456 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1457 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1460 echo "$as_me:$LINENO: checking host system type" >&5
1461 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1462 if test "${ac_cv_host+set}" = set; then
1463 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 ac_cv_host_alias
=$host_alias
1466 test -z "$ac_cv_host_alias" &&
1467 ac_cv_host_alias
=$ac_cv_build_alias
1468 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1469 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1470 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1471 { (exit 1); exit 1; }; }
1474 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1475 echo "${ECHO_T}$ac_cv_host" >&6
1477 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1478 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1479 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1482 echo "$as_me:$LINENO: checking target system type" >&5
1483 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1484 if test "${ac_cv_target+set}" = set; then
1485 echo $ECHO_N "(cached) $ECHO_C" >&6
1487 ac_cv_target_alias
=$target_alias
1488 test "x$ac_cv_target_alias" = "x" &&
1489 ac_cv_target_alias
=$ac_cv_host_alias
1490 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1491 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1492 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1493 { (exit 1); exit 1; }; }
1496 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1497 echo "${ECHO_T}$ac_cv_target" >&6
1498 target
=$ac_cv_target
1499 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1500 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1501 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1504 # The aliases save the names the user supplied, while $host etc.
1505 # will get canonicalized.
1506 test -n "$target_alias" &&
1507 test "$program_prefix$program_suffix$program_transform_name" = \
1509 program_prefix
=${target_alias}-
1510 target_alias
=${target_alias-$host_alias}
1512 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1513 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1514 # 1.9.0: minimum required version
1515 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1516 # of other PACKAGE_* variables will, however, and there's nothing
1517 # we can do about that; they come from AC_INIT).
1518 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1519 # file in the top srcdir, etc, etc), so stop complaining.
1520 # no-dependencies: turns off auto dependency generation (just for now)
1521 # -Wall: turns on all automake warnings...
1522 # -Wno-portability: ...except this one, since GNU make is required.
1523 # -Wno-override: ... and this one, since we do want this in testsuite.
1524 am__api_version
="1.9"
1525 # Find a good install program. We prefer a C program (faster),
1526 # so one script is as good as another. But avoid the broken or
1527 # incompatible versions:
1528 # SysV /etc/install, /usr/sbin/install
1529 # SunOS /usr/etc/install
1530 # IRIX /sbin/install
1532 # AmigaOS /C/install, which installs bootblocks on floppy discs
1533 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1534 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1535 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1536 # OS/2's system install, which has a completely different semantic
1537 # ./install, which can be erroneously created by make from ./install.sh.
1538 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1539 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1540 if test -z "$INSTALL"; then
1541 if test "${ac_cv_path_install+set}" = set; then
1542 echo $ECHO_N "(cached) $ECHO_C" >&6
1544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1548 test -z "$as_dir" && as_dir
=.
1549 # Account for people who put trailing slashes in PATH elements.
1551 .
/ | .
// |
/cC
/* | \
1552 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1553 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1556 # OSF1 and SCO ODT 3.0 have their own names for install.
1557 # Don't use installbsd from OSF since it installs stuff as root
1559 for ac_prog
in ginstall scoinst
install; do
1560 for ac_exec_ext
in '' $ac_executable_extensions; do
1561 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1562 if test $ac_prog = install &&
1563 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1564 # AIX install. It has an incompatible calling convention.
1566 elif test $ac_prog = install &&
1567 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1568 # program-specific install script used by HP pwplus--don't use.
1571 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1583 if test "${ac_cv_path_install+set}" = set; then
1584 INSTALL
=$ac_cv_path_install
1586 # As a last resort, use the slow shell script. We don't cache a
1587 # path for INSTALL within a source directory, because that will
1588 # break other packages using the cache if that directory is
1589 # removed, or if the path is relative.
1590 INSTALL
=$ac_install_sh
1593 echo "$as_me:$LINENO: result: $INSTALL" >&5
1594 echo "${ECHO_T}$INSTALL" >&6
1596 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1597 # It thinks the first close brace ends the variable substitution.
1598 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1600 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1602 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1604 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1605 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1608 echo timestamp
> conftest.
file
1609 # Do `set' in a subshell so we don't clobber the current shell's
1610 # arguments. Must try -L first in case configure is actually a
1611 # symlink; some systems play weird games with the mod time of symlinks
1612 # (eg FreeBSD returns the mod time of the symlink's containing
1615 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1616 if test "$*" = "X"; then
1618 set X
`ls -t $srcdir/configure conftest.file`
1621 if test "$*" != "X $srcdir/configure conftest.file" \
1622 && test "$*" != "X conftest.file $srcdir/configure"; then
1624 # If neither matched, then we have a broken ls. This can happen
1625 # if, for instance, CONFIG_SHELL is bash and it inherits a
1626 # broken ls alias from the environment. This has actually
1627 # happened. Such a system could not be considered "sane".
1628 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1629 alias in your environment" >&5
1630 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1631 alias in your environment" >&2;}
1632 { (exit 1); exit 1; }; }
1635 test "$2" = conftest.
file
1641 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1642 Check your system clock" >&5
1643 echo "$as_me: error: newly created file is older than distributed files!
1644 Check your system clock" >&2;}
1645 { (exit 1); exit 1; }; }
1647 echo "$as_me:$LINENO: result: yes" >&5
1648 echo "${ECHO_T}yes" >&6
1649 test "$program_prefix" != NONE
&&
1650 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1651 # Use a double $ so make ignores it.
1652 test "$program_suffix" != NONE
&&
1653 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1654 # Double any \ or $. echo might interpret backslashes.
1655 # By default was `s,x,x', remove it if useless.
1656 cat <<\_ACEOF
>conftest.
sed
1657 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1659 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1662 # expand $ac_aux_dir to an absolute path
1663 am_aux_dir
=`cd $ac_aux_dir && pwd`
1665 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1666 # Use eval to expand $SHELL
1667 if eval "$MISSING --run true"; then
1668 am_missing_run
="$MISSING --run "
1671 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1672 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1675 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1676 # We used to keeping the `.' as first argument, in order to
1677 # allow $(mkdir_p) to be used without argument. As in
1678 # $(mkdir_p) $(somedir)
1679 # where $(somedir) is conditionally defined. However this is wrong
1681 # 1. if the package is installed by a user who cannot write `.'
1682 # make install will fail,
1683 # 2. the above comment should most certainly read
1684 # $(mkdir_p) $(DESTDIR)$(somedir)
1685 # so it does not work when $(somedir) is undefined and
1686 # $(DESTDIR) is not.
1687 # To support the latter case, we have to write
1688 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1689 # so the `.' trick is pointless.
1690 mkdir_p
='mkdir -p --'
1692 # On NextStep and OpenStep, the `mkdir' command does not
1693 # recognize any option. It will interpret all options as
1694 # directories to create, and then abort because `.' already
1696 for d
in .
/-p .
/--version;
1698 test -d $d && rmdir $d
1700 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1701 if test -f "$ac_aux_dir/mkinstalldirs"; then
1702 mkdir_p
='$(mkinstalldirs)'
1704 mkdir_p
='$(install_sh) -d'
1708 for ac_prog
in gawk mawk nawk
awk
1710 # Extract the first word of "$ac_prog", so it can be a program name with args.
1711 set dummy
$ac_prog; ac_word
=$2
1712 echo "$as_me:$LINENO: checking for $ac_word" >&5
1713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1714 if test "${ac_cv_prog_AWK+set}" = set; then
1715 echo $ECHO_N "(cached) $ECHO_C" >&6
1717 if test -n "$AWK"; then
1718 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1724 test -z "$as_dir" && as_dir
=.
1725 for ac_exec_ext
in '' $ac_executable_extensions; do
1726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1727 ac_cv_prog_AWK
="$ac_prog"
1728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1737 if test -n "$AWK"; then
1738 echo "$as_me:$LINENO: result: $AWK" >&5
1739 echo "${ECHO_T}$AWK" >&6
1741 echo "$as_me:$LINENO: result: no" >&5
1742 echo "${ECHO_T}no" >&6
1745 test -n "$AWK" && break
1748 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1749 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1750 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1751 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 cat >conftest.
make <<\_ACEOF
1756 @
echo 'ac_maketemp="$(MAKE)"'
1758 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1759 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1760 if test -n "$ac_maketemp"; then
1761 eval ac_cv_prog_make_
${ac_make}_set
=yes
1763 eval ac_cv_prog_make_
${ac_make}_set
=no
1767 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1768 echo "$as_me:$LINENO: result: yes" >&5
1769 echo "${ECHO_T}yes" >&6
1772 echo "$as_me:$LINENO: result: no" >&5
1773 echo "${ECHO_T}no" >&6
1774 SET_MAKE
="MAKE=${MAKE-make}"
1777 rm -rf .tst
2>/dev
/null
1778 mkdir .tst
2>/dev
/null
1779 if test -d .tst
; then
1784 rmdir .tst
2>/dev
/null
1786 # test to see if srcdir already configured
1787 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1788 test -f $srcdir/config.status
; then
1789 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1790 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1791 { (exit 1); exit 1; }; }
1794 # test whether we have cygpath
1795 if test -z "$CYGPATH_W"; then
1796 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1797 CYGPATH_W
='cygpath -w'
1804 # Define the identity of the package.
1809 cat >>confdefs.h
<<_ACEOF
1810 #define PACKAGE "$PACKAGE"
1814 cat >>confdefs.h
<<_ACEOF
1815 #define VERSION "$VERSION"
1818 # Some tools Automake needs.
1820 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1823 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1826 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1829 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1832 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1834 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1836 # Installed binaries are usually stripped using `strip' when the user
1837 # run `make install-strip'. However `strip' might not be the right
1838 # tool to use in cross-compilation environments, therefore Automake
1839 # will honor the `STRIP' environment variable to overrule this program.
1840 if test "$cross_compiling" != no
; then
1841 if test -n "$ac_tool_prefix"; then
1842 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1843 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1844 echo "$as_me:$LINENO: checking for $ac_word" >&5
1845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1846 if test "${ac_cv_prog_STRIP+set}" = set; then
1847 echo $ECHO_N "(cached) $ECHO_C" >&6
1849 if test -n "$STRIP"; then
1850 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1856 test -z "$as_dir" && as_dir
=.
1857 for ac_exec_ext
in '' $ac_executable_extensions; do
1858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1859 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1868 STRIP
=$ac_cv_prog_STRIP
1869 if test -n "$STRIP"; then
1870 echo "$as_me:$LINENO: result: $STRIP" >&5
1871 echo "${ECHO_T}$STRIP" >&6
1873 echo "$as_me:$LINENO: result: no" >&5
1874 echo "${ECHO_T}no" >&6
1878 if test -z "$ac_cv_prog_STRIP"; then
1880 # Extract the first word of "strip", so it can be a program name with args.
1881 set dummy strip
; ac_word
=$2
1882 echo "$as_me:$LINENO: checking for $ac_word" >&5
1883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1884 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1885 echo $ECHO_N "(cached) $ECHO_C" >&6
1887 if test -n "$ac_ct_STRIP"; then
1888 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1894 test -z "$as_dir" && as_dir
=.
1895 for ac_exec_ext
in '' $ac_executable_extensions; do
1896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1897 ac_cv_prog_ac_ct_STRIP
="strip"
1898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1904 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1907 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1908 if test -n "$ac_ct_STRIP"; then
1909 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1910 echo "${ECHO_T}$ac_ct_STRIP" >&6
1912 echo "$as_me:$LINENO: result: no" >&5
1913 echo "${ECHO_T}no" >&6
1918 STRIP
="$ac_cv_prog_STRIP"
1922 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1924 # We need awk for the "check" target. The system "awk" is bad on
1926 # Always define AMTAR for backward compatibility.
1928 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1930 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1936 # Default to --enable-multilib
1937 # Check whether --enable-multilib or --disable-multilib was given.
1938 if test "${enable_multilib+set}" = set; then
1939 enableval
="$enable_multilib"
1940 case "$enableval" in
1941 yes) multilib
=yes ;;
1943 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1944 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1945 { (exit 1); exit 1; }; } ;;
1951 # We may get other options which we leave undocumented:
1952 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1953 # See config-ml.in if you want the gory details.
1955 if test "$srcdir" = "."; then
1956 if test "$with_target_subdir" != "."; then
1957 multi_basedir
="$srcdir/$with_multisrctop../.."
1959 multi_basedir
="$srcdir/$with_multisrctop.."
1962 multi_basedir
="$srcdir/.."
1966 ac_config_commands
="$ac_config_commands default-1"
1969 # Calculate toolexeclibdir
1970 # Also toolexecdir, though it's only used in toolexeclibdir
1971 case ${enable_version_specific_runtime_libs} in
1973 # Need the gcc compiler version to know where to install libraries
1974 # and header files if --enable-version-specific-runtime-libs option
1976 toolexecdir
='$(libdir)/gcc/$(target_alias)'
1977 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
1980 if test -n "$with_cross_host" &&
1981 test x
"$with_cross_host" != x
"no"; then
1982 # Install a library built with a cross compiler in tooldir, not libdir.
1983 toolexecdir
='$(exec_prefix)/$(target_alias)'
1984 toolexeclibdir
='$(toolexecdir)/lib'
1986 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
1987 toolexeclibdir
='$(libdir)'
1989 multi_os_directory
=`$CC -print-multi-os-directory`
1990 case $multi_os_directory in
1991 .
) ;; # Avoid trailing /.
1992 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
1999 # Check the compiler.
2000 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2001 # We must force CC to /not/ be precious variables; otherwise
2002 # the wrong, non-multilib-adjusted value will be used in multilibs.
2003 # As a side effect, we have to subst CFLAGS ourselves.
2008 ac_cpp
='$CPP $CPPFLAGS'
2009 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2010 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2011 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2012 if test -n "$ac_tool_prefix"; then
2013 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2014 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2015 echo "$as_me:$LINENO: checking for $ac_word" >&5
2016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2017 if test "${ac_cv_prog_CC+set}" = set; then
2018 echo $ECHO_N "(cached) $ECHO_C" >&6
2020 if test -n "$CC"; then
2021 ac_cv_prog_CC
="$CC" # Let the user override the test.
2023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2027 test -z "$as_dir" && as_dir
=.
2028 for ac_exec_ext
in '' $ac_executable_extensions; do
2029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2030 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 if test -n "$CC"; then
2041 echo "$as_me:$LINENO: result: $CC" >&5
2042 echo "${ECHO_T}$CC" >&6
2044 echo "$as_me:$LINENO: result: no" >&5
2045 echo "${ECHO_T}no" >&6
2049 if test -z "$ac_cv_prog_CC"; then
2051 # Extract the first word of "gcc", so it can be a program name with args.
2052 set dummy gcc
; ac_word
=$2
2053 echo "$as_me:$LINENO: checking for $ac_word" >&5
2054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2055 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2056 echo $ECHO_N "(cached) $ECHO_C" >&6
2058 if test -n "$ac_ct_CC"; then
2059 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2065 test -z "$as_dir" && as_dir
=.
2066 for ac_exec_ext
in '' $ac_executable_extensions; do
2067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2068 ac_cv_prog_ac_ct_CC
="gcc"
2069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2077 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2078 if test -n "$ac_ct_CC"; then
2079 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2080 echo "${ECHO_T}$ac_ct_CC" >&6
2082 echo "$as_me:$LINENO: result: no" >&5
2083 echo "${ECHO_T}no" >&6
2091 if test -z "$CC"; then
2092 if test -n "$ac_tool_prefix"; then
2093 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2094 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2095 echo "$as_me:$LINENO: checking for $ac_word" >&5
2096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2097 if test "${ac_cv_prog_CC+set}" = set; then
2098 echo $ECHO_N "(cached) $ECHO_C" >&6
2100 if test -n "$CC"; then
2101 ac_cv_prog_CC
="$CC" # Let the user override the test.
2103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2107 test -z "$as_dir" && as_dir
=.
2108 for ac_exec_ext
in '' $ac_executable_extensions; do
2109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2110 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2120 if test -n "$CC"; then
2121 echo "$as_me:$LINENO: result: $CC" >&5
2122 echo "${ECHO_T}$CC" >&6
2124 echo "$as_me:$LINENO: result: no" >&5
2125 echo "${ECHO_T}no" >&6
2129 if test -z "$ac_cv_prog_CC"; then
2131 # Extract the first word of "cc", so it can be a program name with args.
2132 set dummy cc
; ac_word
=$2
2133 echo "$as_me:$LINENO: checking for $ac_word" >&5
2134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2135 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2136 echo $ECHO_N "(cached) $ECHO_C" >&6
2138 if test -n "$ac_ct_CC"; then
2139 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2145 test -z "$as_dir" && as_dir
=.
2146 for ac_exec_ext
in '' $ac_executable_extensions; do
2147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2148 ac_cv_prog_ac_ct_CC
="cc"
2149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2157 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2158 if test -n "$ac_ct_CC"; then
2159 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2160 echo "${ECHO_T}$ac_ct_CC" >&6
2162 echo "$as_me:$LINENO: result: no" >&5
2163 echo "${ECHO_T}no" >&6
2172 if test -z "$CC"; then
2173 # Extract the first word of "cc", so it can be a program name with args.
2174 set dummy cc
; ac_word
=$2
2175 echo "$as_me:$LINENO: checking for $ac_word" >&5
2176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2177 if test "${ac_cv_prog_CC+set}" = set; then
2178 echo $ECHO_N "(cached) $ECHO_C" >&6
2180 if test -n "$CC"; then
2181 ac_cv_prog_CC
="$CC" # Let the user override the test.
2184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2188 test -z "$as_dir" && as_dir
=.
2189 for ac_exec_ext
in '' $ac_executable_extensions; do
2190 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2191 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2192 ac_prog_rejected
=yes
2196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2202 if test $ac_prog_rejected = yes; then
2203 # We found a bogon in the path, so make sure we never use it.
2204 set dummy
$ac_cv_prog_CC
2206 if test $# != 0; then
2207 # We chose a different compiler from the bogus one.
2208 # However, it has the same basename, so the bogon will be chosen
2209 # first if we set CC to just the basename; use the full file name.
2211 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2217 if test -n "$CC"; then
2218 echo "$as_me:$LINENO: result: $CC" >&5
2219 echo "${ECHO_T}$CC" >&6
2221 echo "$as_me:$LINENO: result: no" >&5
2222 echo "${ECHO_T}no" >&6
2226 if test -z "$CC"; then
2227 if test -n "$ac_tool_prefix"; then
2230 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2231 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2232 echo "$as_me:$LINENO: checking for $ac_word" >&5
2233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2234 if test "${ac_cv_prog_CC+set}" = set; then
2235 echo $ECHO_N "(cached) $ECHO_C" >&6
2237 if test -n "$CC"; then
2238 ac_cv_prog_CC
="$CC" # Let the user override the test.
2240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2244 test -z "$as_dir" && as_dir
=.
2245 for ac_exec_ext
in '' $ac_executable_extensions; do
2246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2247 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2257 if test -n "$CC"; then
2258 echo "$as_me:$LINENO: result: $CC" >&5
2259 echo "${ECHO_T}$CC" >&6
2261 echo "$as_me:$LINENO: result: no" >&5
2262 echo "${ECHO_T}no" >&6
2265 test -n "$CC" && break
2268 if test -z "$CC"; then
2272 # Extract the first word of "$ac_prog", so it can be a program name with args.
2273 set dummy
$ac_prog; ac_word
=$2
2274 echo "$as_me:$LINENO: checking for $ac_word" >&5
2275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2276 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2277 echo $ECHO_N "(cached) $ECHO_C" >&6
2279 if test -n "$ac_ct_CC"; then
2280 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2286 test -z "$as_dir" && as_dir
=.
2287 for ac_exec_ext
in '' $ac_executable_extensions; do
2288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2289 ac_cv_prog_ac_ct_CC
="$ac_prog"
2290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2298 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2299 if test -n "$ac_ct_CC"; then
2300 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2301 echo "${ECHO_T}$ac_ct_CC" >&6
2303 echo "$as_me:$LINENO: result: no" >&5
2304 echo "${ECHO_T}no" >&6
2307 test -n "$ac_ct_CC" && break
2316 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2317 See \`config.log' for more details." >&5
2318 echo "$as_me: error: no acceptable C compiler found in \$PATH
2319 See \`config.log' for more details." >&2;}
2320 { (exit 1); exit 1; }; }
2322 # Provide some information about the compiler.
2323 echo "$as_me:$LINENO:" \
2324 "checking for C compiler version" >&5
2325 ac_compiler
=`set X $ac_compile; echo $2`
2326 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2327 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }
2331 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2332 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); }
2336 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2337 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340 (exit $ac_status); }
2342 cat >conftest.
$ac_ext <<_ACEOF
2345 cat confdefs.h
>>conftest.
$ac_ext
2346 cat >>conftest.
$ac_ext <<_ACEOF
2347 /* end confdefs.h. */
2357 ac_clean_files_save
=$ac_clean_files
2358 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2359 # Try to create an executable without -o first, disregard a.out.
2360 # It will help us diagnose broken compilers, and finding out an intuition
2362 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2363 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2364 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2365 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2366 (eval $ac_link_default) 2>&5
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }; then
2370 # Find the output, starting from the most likely. This scheme is
2371 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2374 # Be careful to initialize this variable, since it used to be cached.
2375 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2377 # b.out is created by i960 compilers.
2378 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2380 test -f "$ac_file" ||
continue
2382 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2385 # This is the source file.
2388 # We found the default executable, but exeext='' is most
2392 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2393 # FIXME: I believe we export ac_cv_exeext for Libtool,
2394 # but it would be cool to find out if it's true. Does anybody
2395 # maintain Libtool? --akim.
2403 echo "$as_me: failed program was:" >&5
2404 sed 's/^/| /' conftest.
$ac_ext >&5
2406 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2407 See \`config.log' for more details." >&5
2408 echo "$as_me: error: C compiler cannot create executables
2409 See \`config.log' for more details." >&2;}
2410 { (exit 77); exit 77; }; }
2413 ac_exeext
=$ac_cv_exeext
2414 echo "$as_me:$LINENO: result: $ac_file" >&5
2415 echo "${ECHO_T}$ac_file" >&6
2417 # Check the compiler produces executables we can run. If not, either
2418 # the compiler is broken, or we cross compile.
2419 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2420 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2421 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2422 # If not cross compiling, check that we can run a simple program.
2423 if test "$cross_compiling" != yes; then
2424 if { ac_try
='./$ac_file'
2425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); }; }; then
2432 if test "$cross_compiling" = maybe
; then
2435 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2436 If you meant to cross compile, use \`--host'.
2437 See \`config.log' for more details." >&5
2438 echo "$as_me: error: cannot run C compiled programs.
2439 If you meant to cross compile, use \`--host'.
2440 See \`config.log' for more details." >&2;}
2441 { (exit 1); exit 1; }; }
2445 echo "$as_me:$LINENO: result: yes" >&5
2446 echo "${ECHO_T}yes" >&6
2448 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2449 ac_clean_files
=$ac_clean_files_save
2450 # Check the compiler produces executables we can run. If not, either
2451 # the compiler is broken, or we cross compile.
2452 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2453 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2454 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2455 echo "${ECHO_T}$cross_compiling" >&6
2457 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2458 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2460 (eval $ac_link) 2>&5
2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463 (exit $ac_status); }; then
2464 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2465 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2466 # work properly (i.e., refer to `conftest.exe'), while it won't with
2468 for ac_file
in conftest.exe conftest conftest.
*; do
2469 test -f "$ac_file" ||
continue
2471 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2472 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2479 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2480 See \`config.log' for more details." >&5
2481 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2482 See \`config.log' for more details." >&2;}
2483 { (exit 1); exit 1; }; }
2486 rm -f conftest
$ac_cv_exeext
2487 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2488 echo "${ECHO_T}$ac_cv_exeext" >&6
2490 rm -f conftest.
$ac_ext
2491 EXEEXT
=$ac_cv_exeext
2493 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2494 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2495 if test "${ac_cv_objext+set}" = set; then
2496 echo $ECHO_N "(cached) $ECHO_C" >&6
2498 cat >conftest.
$ac_ext <<_ACEOF
2501 cat confdefs.h
>>conftest.
$ac_ext
2502 cat >>conftest.
$ac_ext <<_ACEOF
2503 /* end confdefs.h. */
2513 rm -f conftest.o conftest.obj
2514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2515 (eval $ac_compile) 2>&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); }; then
2519 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2521 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2522 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2527 echo "$as_me: failed program was:" >&5
2528 sed 's/^/| /' conftest.
$ac_ext >&5
2530 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2531 See \`config.log' for more details." >&5
2532 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2533 See \`config.log' for more details." >&2;}
2534 { (exit 1); exit 1; }; }
2537 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2539 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2540 echo "${ECHO_T}$ac_cv_objext" >&6
2541 OBJEXT
=$ac_cv_objext
2543 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2544 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2545 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2546 echo $ECHO_N "(cached) $ECHO_C" >&6
2548 cat >conftest.
$ac_ext <<_ACEOF
2551 cat confdefs.h
>>conftest.
$ac_ext
2552 cat >>conftest.
$ac_ext <<_ACEOF
2553 /* end confdefs.h. */
2566 rm -f conftest.
$ac_objext
2567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2568 (eval $ac_compile) 2>conftest.er1
2570 grep -v '^ *+' conftest.er1
>conftest.err
2572 cat conftest.err
>&5
2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574 (exit $ac_status); } &&
2575 { ac_try
='test -z "$ac_c_werror_flag"
2576 || test ! -s conftest.err'
2577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); }; } &&
2582 { ac_try
='test -s conftest.$ac_objext'
2583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }; }; then
2590 echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.
$ac_ext >&5
2595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2596 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2599 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2600 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2601 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2602 ac_test_CFLAGS
=${CFLAGS+set}
2603 ac_save_CFLAGS
=$CFLAGS
2605 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2606 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2607 if test "${ac_cv_prog_cc_g+set}" = set; then
2608 echo $ECHO_N "(cached) $ECHO_C" >&6
2610 cat >conftest.
$ac_ext <<_ACEOF
2613 cat confdefs.h
>>conftest.
$ac_ext
2614 cat >>conftest.
$ac_ext <<_ACEOF
2615 /* end confdefs.h. */
2625 rm -f conftest.
$ac_objext
2626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2627 (eval $ac_compile) 2>conftest.er1
2629 grep -v '^ *+' conftest.er1
>conftest.err
2631 cat conftest.err
>&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); } &&
2634 { ac_try
='test -z "$ac_c_werror_flag"
2635 || test ! -s conftest.err'
2636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; } &&
2641 { ac_try
='test -s conftest.$ac_objext'
2642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }; }; then
2649 echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.
$ac_ext >&5
2654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2656 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2657 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2658 if test "$ac_test_CFLAGS" = set; then
2659 CFLAGS
=$ac_save_CFLAGS
2660 elif test $ac_cv_prog_cc_g = yes; then
2661 if test "$GCC" = yes; then
2667 if test "$GCC" = yes; then
2673 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2674 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2675 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2676 echo $ECHO_N "(cached) $ECHO_C" >&6
2678 ac_cv_prog_cc_stdc
=no
2680 cat >conftest.
$ac_ext <<_ACEOF
2683 cat confdefs.h
>>conftest.
$ac_ext
2684 cat >>conftest.
$ac_ext <<_ACEOF
2685 /* end confdefs.h. */
2688 #include <sys/types.h>
2689 #include <sys/stat.h>
2690 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2691 struct buf { int x; };
2692 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2693 static char *e (p, i)
2699 static char *f (char * (*g) (char **, int), char **p, ...)
2704 s = g (p, va_arg (v,int));
2709 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2710 function prototypes and stuff, but not '\xHH' hex character constants.
2711 These don't provoke an error unfortunately, instead are silently treated
2712 as 'x'. The following induces an error, until -std1 is added to get
2713 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2714 array size at least. It's necessary to write '\x00'==0 to get something
2715 that's true only with -std1. */
2716 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2718 int test (int i, double x);
2719 struct s1 {int (*f) (int a);};
2720 struct s2 {int (*f) (double a);};
2721 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2727 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2732 # Don't try gcc -ansi; that turns off useful extensions and
2733 # breaks some systems' header files.
2734 # AIX -qlanglvl=ansi
2735 # Ultrix and OSF/1 -std1
2736 # HP-UX 10.20 and later -Ae
2737 # HP-UX older versions -Aa -D_HPUX_SOURCE
2738 # SVR4 -Xc -D__EXTENSIONS__
2739 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2741 CC
="$ac_save_CC $ac_arg"
2742 rm -f conftest.
$ac_objext
2743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2744 (eval $ac_compile) 2>conftest.er1
2746 grep -v '^ *+' conftest.er1
>conftest.err
2748 cat conftest.err
>&5
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); } &&
2751 { ac_try
='test -z "$ac_c_werror_flag"
2752 || test ! -s conftest.err'
2753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757 (exit $ac_status); }; } &&
2758 { ac_try
='test -s conftest.$ac_objext'
2759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); }; }; then
2764 ac_cv_prog_cc_stdc
=$ac_arg
2767 echo "$as_me: failed program was:" >&5
2768 sed 's/^/| /' conftest.
$ac_ext >&5
2771 rm -f conftest.err conftest.
$ac_objext
2773 rm -f conftest.
$ac_ext conftest.
$ac_objext
2778 case "x$ac_cv_prog_cc_stdc" in
2780 echo "$as_me:$LINENO: result: none needed" >&5
2781 echo "${ECHO_T}none needed" >&6 ;;
2783 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2784 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2785 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2788 # Some people use a C++ compiler to compile C. Since we use `exit',
2789 # in C++ we need to declare it. In case someone uses the same compiler
2790 # for both compiling C and C++ we need to have the C++ compiler decide
2791 # the declaration of exit, since it's the most demanding environment.
2792 cat >conftest.
$ac_ext <<_ACEOF
2797 rm -f conftest.
$ac_objext
2798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2799 (eval $ac_compile) 2>conftest.er1
2801 grep -v '^ *+' conftest.er1
>conftest.err
2803 cat conftest.err
>&5
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); } &&
2806 { ac_try
='test -z "$ac_c_werror_flag"
2807 || test ! -s conftest.err'
2808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812 (exit $ac_status); }; } &&
2813 { ac_try
='test -s conftest.$ac_objext'
2814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); }; }; then
2819 for ac_declaration
in \
2821 'extern "C" void std::exit (int) throw (); using std::exit;' \
2822 'extern "C" void std::exit (int); using std::exit;' \
2823 'extern "C" void exit (int) throw ();' \
2824 'extern "C" void exit (int);' \
2827 cat >conftest.
$ac_ext <<_ACEOF
2830 cat confdefs.h
>>conftest.
$ac_ext
2831 cat >>conftest.
$ac_ext <<_ACEOF
2832 /* end confdefs.h. */
2843 rm -f conftest.
$ac_objext
2844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2845 (eval $ac_compile) 2>conftest.er1
2847 grep -v '^ *+' conftest.er1
>conftest.err
2849 cat conftest.err
>&5
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); } &&
2852 { ac_try
='test -z "$ac_c_werror_flag"
2853 || test ! -s conftest.err'
2854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); }; } &&
2859 { ac_try
='test -s conftest.$ac_objext'
2860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); }; }; then
2867 echo "$as_me: failed program was:" >&5
2868 sed 's/^/| /' conftest.
$ac_ext >&5
2872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2873 cat >conftest.
$ac_ext <<_ACEOF
2876 cat confdefs.h
>>conftest.
$ac_ext
2877 cat >>conftest.
$ac_ext <<_ACEOF
2878 /* end confdefs.h. */
2888 rm -f conftest.
$ac_objext
2889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2890 (eval $ac_compile) 2>conftest.er1
2892 grep -v '^ *+' conftest.er1
>conftest.err
2894 cat conftest.err
>&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); } &&
2897 { ac_try
='test -z "$ac_c_werror_flag"
2898 || test ! -s conftest.err'
2899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); }; } &&
2904 { ac_try
='test -s conftest.$ac_objext'
2905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); }; }; then
2912 echo "$as_me: failed program was:" >&5
2913 sed 's/^/| /' conftest.
$ac_ext >&5
2916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2919 if test -n "$ac_declaration"; then
2920 echo '#ifdef __cplusplus' >>confdefs.h
2921 echo $ac_declaration >>confdefs.h
2922 echo '#endif' >>confdefs.h
2926 echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.
$ac_ext >&5
2930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2932 ac_cpp
='$CPP $CPPFLAGS'
2933 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2934 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2935 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2936 DEPDIR
="${am__leading_dot}deps"
2938 ac_config_commands
="$ac_config_commands depfiles"
2941 am_make
=${MAKE-make}
2942 cat > confinc
<< 'END'
2947 # If we don't find an include directive, just comment out the code.
2948 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2949 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2953 # First try GNU make style include.
2954 echo "include confinc" > confmf
2955 # We grep out `Entering directory' and `Leaving directory'
2956 # messages which can occur if `w' ends up in MAKEFLAGS.
2957 # In particular we don't look at `^make:' because GNU make might
2958 # be invoked under some other name (usually "gmake"), in which
2959 # case it prints its new name instead of `make'.
2960 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2965 # Now try BSD make style include.
2966 if test "$am__include" = "#"; then
2967 echo '.include "confinc"' > confmf
2968 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2969 am__include
=.include
2976 echo "$as_me:$LINENO: result: $_am_result" >&5
2977 echo "${ECHO_T}$_am_result" >&6
2978 rm -f confinc confmf
2980 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2981 if test "${enable_dependency_tracking+set}" = set; then
2982 enableval
="$enable_dependency_tracking"
2985 if test "x$enable_dependency_tracking" != xno
; then
2986 am_depcomp
="$ac_aux_dir/depcomp"
2991 if test "x$enable_dependency_tracking" != xno; then
3002 depcc
="$CC" am_compiler_list
=
3004 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3005 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3006 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3007 echo $ECHO_N "(cached) $ECHO_C" >&6
3009 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3010 # We make a subdir and do the tests there. Otherwise we can end up
3011 # making bogus files that we don't know about and never remove. For
3012 # instance it was reported that on HP-UX the gcc test will end up
3013 # making a dummy file named `D' -- because `-MD' means `put the output
3016 # Copy depcomp to subdir because otherwise we won't find it if we're
3017 # using a relative directory.
3018 cp "$am_depcomp" conftest.dir
3020 # We will build objects and dependencies in a subdirectory because
3021 # it helps to detect inapplicable dependency modes. For instance
3022 # both Tru64's cc and ICC support -MD to output dependencies as a
3023 # side effect of compilation, but ICC will put the dependencies in
3024 # the current directory while Tru64 will put them in the object
3028 am_cv_CC_dependencies_compiler_type
=none
3029 if test "$am_compiler_list" = ""; then
3030 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3032 for depmode
in $am_compiler_list; do
3033 # Setup a source with many dependencies, because some compilers
3034 # like to wrap large dependency lists on column 80 (with \), and
3035 # we should not choose a depcomp mode which is confused by this.
3037 # We need to recreate these files for each test, as the compiler may
3038 # overwrite some of them when testing with obscure command lines.
3039 # This happens at least with the AIX C compiler.
3041 for i
in 1 2 3 4 5 6; do
3042 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3043 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3044 # Solaris 8's {/usr,}/bin/sh.
3045 touch sub
/conftst
$i.h
3047 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3051 # after this tag, mechanisms are not by side-effect, so they'll
3052 # only be used when explicitly requested
3053 if test "x$enable_dependency_tracking" = xyes
; then
3061 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3062 # mode. It turns out that the SunPro C++ compiler does not properly
3063 # handle `-M -o', and we need to detect this.
3064 if depmode
=$depmode \
3065 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3066 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3067 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3068 >/dev
/null
2>conftest.err
&&
3069 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3070 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3071 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3072 # icc doesn't choke on unknown options, it will just issue warnings
3073 # or remarks (even with -Werror). So we grep stderr for any message
3074 # that says an option was ignored or not supported.
3075 # When given -MP, icc 7.0 and 7.1 complain thusly:
3076 # icc: Command line warning: ignoring option '-M'; no argument required
3077 # The diagnosis changed in icc 8.0:
3078 # icc: Command line remark: option '-MP' not supported
3079 if (grep 'ignoring option' conftest.err ||
3080 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3081 am_cv_CC_dependencies_compiler_type
=$depmode
3090 am_cv_CC_dependencies_compiler_type
=none
3094 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3095 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3096 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3101 test "x$enable_dependency_tracking" != xno \
3102 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3104 am__fastdepCC_FALSE
='#'
3106 am__fastdepCC_TRUE
='#'
3107 am__fastdepCC_FALSE
=
3115 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
3116 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
3117 # in both places for now and restore CFLAGS at the end of config.
3118 save_CFLAGS
="$CFLAGS"
3120 # Add -Wall -Werror if we are using GCC.
3121 if test "x$GCC" = "xyes"; then
3122 XCFLAGS
="$XCFLAGS -Wall -Werror"
3125 # Find other programs we need.
3126 if test -n "$ac_tool_prefix"; then
3127 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3128 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3129 echo "$as_me:$LINENO: checking for $ac_word" >&5
3130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3131 if test "${ac_cv_prog_AR+set}" = set; then
3132 echo $ECHO_N "(cached) $ECHO_C" >&6
3134 if test -n "$AR"; then
3135 ac_cv_prog_AR
="$AR" # Let the user override the test.
3137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3141 test -z "$as_dir" && as_dir
=.
3142 for ac_exec_ext
in '' $ac_executable_extensions; do
3143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3144 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3154 if test -n "$AR"; then
3155 echo "$as_me:$LINENO: result: $AR" >&5
3156 echo "${ECHO_T}$AR" >&6
3158 echo "$as_me:$LINENO: result: no" >&5
3159 echo "${ECHO_T}no" >&6
3163 if test -z "$ac_cv_prog_AR"; then
3165 # Extract the first word of "ar", so it can be a program name with args.
3166 set dummy
ar; ac_word
=$2
3167 echo "$as_me:$LINENO: checking for $ac_word" >&5
3168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3169 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3170 echo $ECHO_N "(cached) $ECHO_C" >&6
3172 if test -n "$ac_ct_AR"; then
3173 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3179 test -z "$as_dir" && as_dir
=.
3180 for ac_exec_ext
in '' $ac_executable_extensions; do
3181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3182 ac_cv_prog_ac_ct_AR
="ar"
3183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3191 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3192 if test -n "$ac_ct_AR"; then
3193 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3194 echo "${ECHO_T}$ac_ct_AR" >&6
3196 echo "$as_me:$LINENO: result: no" >&5
3197 echo "${ECHO_T}no" >&6
3205 if test -n "$ac_tool_prefix"; then
3206 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3207 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3208 echo "$as_me:$LINENO: checking for $ac_word" >&5
3209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3210 if test "${ac_cv_prog_RANLIB+set}" = set; then
3211 echo $ECHO_N "(cached) $ECHO_C" >&6
3213 if test -n "$RANLIB"; then
3214 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3220 test -z "$as_dir" && as_dir
=.
3221 for ac_exec_ext
in '' $ac_executable_extensions; do
3222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3223 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3232 RANLIB
=$ac_cv_prog_RANLIB
3233 if test -n "$RANLIB"; then
3234 echo "$as_me:$LINENO: result: $RANLIB" >&5
3235 echo "${ECHO_T}$RANLIB" >&6
3237 echo "$as_me:$LINENO: result: no" >&5
3238 echo "${ECHO_T}no" >&6
3242 if test -z "$ac_cv_prog_RANLIB"; then
3243 ac_ct_RANLIB
=$RANLIB
3244 # Extract the first word of "ranlib", so it can be a program name with args.
3245 set dummy ranlib
; ac_word
=$2
3246 echo "$as_me:$LINENO: checking for $ac_word" >&5
3247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3248 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3249 echo $ECHO_N "(cached) $ECHO_C" >&6
3251 if test -n "$ac_ct_RANLIB"; then
3252 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3258 test -z "$as_dir" && as_dir
=.
3259 for ac_exec_ext
in '' $ac_executable_extensions; do
3260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3261 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3268 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
="ranlib-not-found-in-path-error"
3271 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3272 if test -n "$ac_ct_RANLIB"; then
3273 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3274 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3276 echo "$as_me:$LINENO: result: no" >&5
3277 echo "${ECHO_T}no" >&6
3280 RANLIB
=$ac_ct_RANLIB
3282 RANLIB
="$ac_cv_prog_RANLIB"
3285 # Extract the first word of "perl", so it can be a program name with args.
3286 set dummy perl
; ac_word
=$2
3287 echo "$as_me:$LINENO: checking for $ac_word" >&5
3288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3289 if test "${ac_cv_path_PERL+set}" = set; then
3290 echo $ECHO_N "(cached) $ECHO_C" >&6
3294 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
3297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3301 test -z "$as_dir" && as_dir
=.
3302 for ac_exec_ext
in '' $ac_executable_extensions; do
3303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3304 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
3305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3311 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="perl-not-found-in-path-error"
3315 PERL
=$ac_cv_path_PERL
3317 if test -n "$PERL"; then
3318 echo "$as_me:$LINENO: result: $PERL" >&5
3319 echo "${ECHO_T}$PERL" >&6
3321 echo "$as_me:$LINENO: result: no" >&5
3322 echo "${ECHO_T}no" >&6
3325 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3326 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3327 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3328 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3329 echo $ECHO_N "(cached) $ECHO_C" >&6
3331 cat >conftest.
make <<\_ACEOF
3333 @
echo 'ac_maketemp="$(MAKE)"'
3335 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3336 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3337 if test -n "$ac_maketemp"; then
3338 eval ac_cv_prog_make_
${ac_make}_set
=yes
3340 eval ac_cv_prog_make_
${ac_make}_set
=no
3344 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3345 echo "$as_me:$LINENO: result: yes" >&5
3346 echo "${ECHO_T}yes" >&6
3349 echo "$as_me:$LINENO: result: no" >&5
3350 echo "${ECHO_T}no" >&6
3351 SET_MAKE
="MAKE=${MAKE-make}"
3354 # Find a good install program. We prefer a C program (faster),
3355 # so one script is as good as another. But avoid the broken or
3356 # incompatible versions:
3357 # SysV /etc/install, /usr/sbin/install
3358 # SunOS /usr/etc/install
3359 # IRIX /sbin/install
3361 # AmigaOS /C/install, which installs bootblocks on floppy discs
3362 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3363 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3364 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3365 # OS/2's system install, which has a completely different semantic
3366 # ./install, which can be erroneously created by make from ./install.sh.
3367 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3368 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3369 if test -z "$INSTALL"; then
3370 if test "${ac_cv_path_install+set}" = set; then
3371 echo $ECHO_N "(cached) $ECHO_C" >&6
3373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3377 test -z "$as_dir" && as_dir
=.
3378 # Account for people who put trailing slashes in PATH elements.
3380 .
/ | .
// |
/cC
/* | \
3381 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3382 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3385 # OSF1 and SCO ODT 3.0 have their own names for install.
3386 # Don't use installbsd from OSF since it installs stuff as root
3388 for ac_prog
in ginstall scoinst
install; do
3389 for ac_exec_ext
in '' $ac_executable_extensions; do
3390 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3391 if test $ac_prog = install &&
3392 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3393 # AIX install. It has an incompatible calling convention.
3395 elif test $ac_prog = install &&
3396 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3397 # program-specific install script used by HP pwplus--don't use.
3400 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3412 if test "${ac_cv_path_install+set}" = set; then
3413 INSTALL
=$ac_cv_path_install
3415 # As a last resort, use the slow shell script. We don't cache a
3416 # path for INSTALL within a source directory, because that will
3417 # break other packages using the cache if that directory is
3418 # removed, or if the path is relative.
3419 INSTALL
=$ac_install_sh
3422 echo "$as_me:$LINENO: result: $INSTALL" >&5
3423 echo "${ECHO_T}$INSTALL" >&6
3425 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3426 # It thinks the first close brace ends the variable substitution.
3427 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3429 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3431 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3435 # Check whether --enable-shared or --disable-shared was given.
3436 if test "${enable_shared+set}" = set; then
3437 enableval
="$enable_shared"
3438 p
=${PACKAGE-default}
3440 yes) enable_shared
=yes ;;
3441 no
) enable_shared
=no
;;
3444 # Look at the argument we got. We use all the common list separators.
3445 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3446 for pkg
in $enableval; do
3447 if test "X$pkg" = "X$p"; then
3457 # Check whether --enable-static or --disable-static was given.
3458 if test "${enable_static+set}" = set; then
3459 enableval
="$enable_static"
3460 p
=${PACKAGE-default}
3462 yes) enable_static
=yes ;;
3463 no
) enable_static
=no
;;
3466 # Look at the argument we got. We use all the common list separators.
3467 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3468 for pkg
in $enableval; do
3469 if test "X$pkg" = "X$p"; then
3479 # Check whether --enable-fast-install or --disable-fast-install was given.
3480 if test "${enable_fast_install+set}" = set; then
3481 enableval
="$enable_fast_install"
3482 p
=${PACKAGE-default}
3484 yes) enable_fast_install
=yes ;;
3485 no
) enable_fast_install
=no
;;
3487 enable_fast_install
=no
3488 # Look at the argument we got. We use all the common list separators.
3489 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3490 for pkg
in $enableval; do
3491 if test "X$pkg" = "X$p"; then
3492 enable_fast_install
=yes
3499 enable_fast_install
=yes
3502 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3503 if test "${with_gnu_ld+set}" = set; then
3504 withval
="$with_gnu_ld"
3505 test "$withval" = no || with_gnu_ld
=yes
3510 if test "$GCC" = yes; then
3511 # Check if gcc -print-prog-name=ld gives a path.
3512 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3513 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3516 # gcc leaves a trailing carriage return which upsets mingw
3517 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3519 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3522 # Accept absolute paths.
3523 [\\/]* |
[A-Za-z
]:[\\/]*)
3524 re_direlt
='/[^/][^/]*/\.\./'
3525 # Canonicalize the path of ld
3526 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3527 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3528 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3530 test -z "$LD" && LD
="$ac_prog"
3533 # If it fails, then pretend we aren't using GCC.
3537 # If it is relative, then search for the first ld in PATH.
3541 elif test "$with_gnu_ld" = yes; then
3542 echo "$as_me:$LINENO: checking for GNU ld" >&5
3543 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3545 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3546 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3548 if test "${lt_cv_path_LD+set}" = set; then
3549 echo $ECHO_N "(cached) $ECHO_C" >&6
3551 if test -z "$LD"; then
3552 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3553 for ac_dir
in $PATH; do
3554 test -z "$ac_dir" && ac_dir
=.
3555 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3556 lt_cv_path_LD
="$ac_dir/$ac_prog"
3557 # Check to see if the program is GNU ld. I'd rather use --version,
3558 # but apparently some GNU ld's only accept -v.
3559 # Break only if it was the GNU/non-GNU ld that we prefer.
3560 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3561 test "$with_gnu_ld" != no
&& break
3563 test "$with_gnu_ld" != yes && break
3569 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3574 if test -n "$LD"; then
3575 echo "$as_me:$LINENO: result: $LD" >&5
3576 echo "${ECHO_T}$LD" >&6
3578 echo "$as_me:$LINENO: result: no" >&5
3579 echo "${ECHO_T}no" >&6
3581 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3582 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3583 { (exit 1); exit 1; }; }
3584 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3585 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3586 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3587 echo $ECHO_N "(cached) $ECHO_C" >&6
3589 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3590 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3591 lt_cv_prog_gnu_ld
=yes
3593 lt_cv_prog_gnu_ld
=no
3596 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3597 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3598 with_gnu_ld
=$lt_cv_prog_gnu_ld
3601 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3602 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3603 if test "${lt_cv_ld_reload_flag+set}" = set; then
3604 echo $ECHO_N "(cached) $ECHO_C" >&6
3606 lt_cv_ld_reload_flag
='-r'
3608 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3609 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3610 reload_flag
=$lt_cv_ld_reload_flag
3611 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3613 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3614 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3615 if test "${lt_cv_path_NM+set}" = set; then
3616 echo $ECHO_N "(cached) $ECHO_C" >&6
3618 if test -n "$NM"; then
3619 # Let the user override the test.
3622 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3623 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3624 test -z "$ac_dir" && ac_dir
=.
3625 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3626 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3627 # Check to see if the nm accepts a BSD-compat flag.
3628 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3629 # nm: unknown option "B" ignored
3630 # Tru64's nm complains that /dev/null is an invalid object file
3631 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3632 lt_cv_path_NM
="$tmp_nm -B"
3634 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3635 lt_cv_path_NM
="$tmp_nm -p"
3638 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3639 continue # so that we can try to find one that supports BSD flags
3644 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3649 echo "$as_me:$LINENO: result: $NM" >&5
3650 echo "${ECHO_T}$NM" >&6
3652 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3653 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3655 if test "$LN_S" = "ln -s"; then
3656 echo "$as_me:$LINENO: result: yes" >&5
3657 echo "${ECHO_T}yes" >&6
3659 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3660 echo "${ECHO_T}no, using $LN_S" >&6
3663 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3664 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3665 if test "${lt_cv_deplibs_check_method+set}" = set; then
3666 echo $ECHO_N "(cached) $ECHO_C" >&6
3668 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3669 lt_cv_file_magic_test_file
=
3670 lt_cv_deplibs_check_method
='unknown'
3671 # Need to set the preceding variable on all platforms that support
3672 # interlibrary dependencies.
3673 # 'none' -- dependencies not supported.
3674 # `unknown' -- same as none, but documents that we really don't know.
3675 # 'pass_all' -- all dependencies passed with no checks.
3676 # 'test_compile' -- check by making test program.
3677 # 'file_magic [regex]' -- check by looking for files in library path
3678 # which responds to the $file_magic_cmd with a given egrep regex.
3679 # If you have `file' or equivalent on your system and you're not sure
3680 # whether `pass_all' will *always* work, you probably want this one.
3684 lt_cv_deplibs_check_method
=pass_all
3688 lt_cv_deplibs_check_method
=pass_all
3692 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3693 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3694 lt_cv_file_magic_test_file
=/shlib
/libc.so
3697 cygwin
* | mingw
* |pw32
*)
3698 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3699 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3702 darwin
* | rhapsody
*)
3703 # this will be overwritten by pass_all, but leave it in just in case
3704 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3705 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3707 rhapsody
* | darwin1.012
)
3708 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3711 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3714 lt_cv_deplibs_check_method
=pass_all
3717 freebsd
* | kfreebsd
*-gnu)
3718 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3721 # Not sure whether the presence of OpenBSD here was a mistake.
3722 # Let's accept both of them until this is cleared up.
3723 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3724 lt_cv_file_magic_cmd
=/usr
/bin
/file
3725 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3729 lt_cv_deplibs_check_method
=pass_all
3734 lt_cv_deplibs_check_method
=pass_all
3740 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3741 lt_cv_file_magic_cmd
=/usr
/bin
/file
3742 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3745 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3746 lt_cv_file_magic_cmd
=/usr
/bin
/file
3747 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3755 # this will be overridden with pass_all, but let us keep it just in case
3756 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3760 *-32|
*"-32 ") libmagic
=32-bit;;
3761 *-n32|
*"-n32 ") libmagic
=N32
;;
3762 *-64|
*"-64 ") libmagic
=64-bit;;
3763 *) libmagic
=never-match
;;
3765 # this will be overridden with pass_all, but let us keep it just in case
3766 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3769 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3770 lt_cv_deplibs_check_method
=pass_all
3773 # This must be Linux ELF.
3775 lt_cv_deplibs_check_method
=pass_all
3778 netbsd
* | knetbsd
*-gnu)
3779 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3780 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3782 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3787 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3788 lt_cv_file_magic_cmd
=/usr
/bin
/file
3789 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3792 osf3
* | osf4
* | osf5
*)
3793 # this will be overridden with pass_all, but let us keep it just in case
3794 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3795 lt_cv_file_magic_test_file
=/shlib
/libc.so
3796 lt_cv_deplibs_check_method
=pass_all
3800 lt_cv_deplibs_check_method
=pass_all
3804 lt_cv_deplibs_check_method
=pass_all
3805 lt_cv_file_magic_test_file
=/lib
/libc.so
3808 sysv5uw
[78]* | sysv4
*uw2
*)
3809 lt_cv_deplibs_check_method
=pass_all
3812 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3813 case $host_vendor in
3815 lt_cv_deplibs_check_method
=pass_all
3818 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]'
3819 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3826 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3827 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3828 file_magic_cmd
=$lt_cv_file_magic_cmd
3829 deplibs_check_method
=$lt_cv_deplibs_check_method
3835 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3837 # find the maximum length of command line arguments
3838 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3839 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3840 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3841 echo $ECHO_N "(cached) $ECHO_C" >&6
3848 # On DJGPP, this test can blow up pretty badly due to problems in libc
3849 # (any single argument exceeding 2000 bytes causes a buffer overrun
3850 # during glob expansion). Even if it were fixed, the result of this
3851 # check would be larger than it should be.
3852 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3856 # On Win9x/ME, this test blows up -- it succeeds, but takes
3857 # about 5 minutes as the teststring grows exponentially.
3858 # Worse, since 9x/ME are not pre-emptively multitasking,
3859 # you end up with a "frozen" computer, even though with patience
3860 # the test eventually succeeds (with a max line length of 256k).
3861 # Instead, let's just punt: use the minimum linelength reported by
3862 # all of the supported platforms: 8192 (on NT/2K/XP).
3863 lt_cv_sys_max_cmd_len
=8192;
3867 # On AmigaOS with pdksh, this test takes hours, literally.
3868 # So we just punt and use a minimum line length of 8192.
3869 lt_cv_sys_max_cmd_len
=8192;
3872 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3873 # This has been around since 386BSD, at least. Likely further.
3874 if test -x /sbin
/sysctl
; then
3875 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3876 elif test -x /usr
/sbin
/sysctl
; then
3877 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3879 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
3881 # And add a safety zone
3882 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3883 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3889 if test -n "$lt_cv_sys_max_cmd_len" ; then
3890 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3891 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3893 echo "$as_me:$LINENO: result: none" >&5
3894 echo "${ECHO_T}none" >&6
3898 # Only perform the check for file, if the check method requires it
3899 case $deplibs_check_method in
3901 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3902 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3903 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3904 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3905 echo $ECHO_N "(cached) $ECHO_C" >&6
3909 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3912 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3915 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3916 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3917 ac_dummy
="/usr/bin:$PATH"
3918 for ac_dir
in $ac_dummy; do
3919 test -z "$ac_dir" && ac_dir
=.
3920 if test -f $ac_dir/${ac_tool_prefix}file; then
3921 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3922 if test -n "$file_magic_test_file"; then
3923 case $deplibs_check_method in
3925 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3926 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3927 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3928 egrep "$file_magic_regex" > /dev
/null
; then
3933 *** Warning: the command libtool uses to detect shared libraries,
3934 *** $file_magic_cmd, produces output that libtool cannot recognize.
3935 *** The result is that libtool may fail to recognize shared libraries
3936 *** as such. This will affect the creation of libtool libraries that
3937 *** depend on shared libraries, but programs linked with such libtool
3938 *** libraries will work regardless of this problem. Nevertheless, you
3939 *** may want to report the problem to your system manager and/or to
3940 *** bug-libtool@gnu.org
3950 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3955 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3956 if test -n "$MAGIC_CMD"; then
3957 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3958 echo "${ECHO_T}$MAGIC_CMD" >&6
3960 echo "$as_me:$LINENO: result: no" >&5
3961 echo "${ECHO_T}no" >&6
3964 if test -z "$lt_cv_path_MAGIC_CMD"; then
3965 if test -n "$ac_tool_prefix"; then
3966 echo "$as_me:$LINENO: checking for file" >&5
3967 echo $ECHO_N "checking for file... $ECHO_C" >&6
3968 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3969 echo $ECHO_N "(cached) $ECHO_C" >&6
3973 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3976 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3979 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3980 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3981 ac_dummy
="/usr/bin:$PATH"
3982 for ac_dir
in $ac_dummy; do
3983 test -z "$ac_dir" && ac_dir
=.
3984 if test -f $ac_dir/file; then
3985 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3986 if test -n "$file_magic_test_file"; then
3987 case $deplibs_check_method in
3989 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3990 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3991 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3992 egrep "$file_magic_regex" > /dev
/null
; then
3997 *** Warning: the command libtool uses to detect shared libraries,
3998 *** $file_magic_cmd, produces output that libtool cannot recognize.
3999 *** The result is that libtool may fail to recognize shared libraries
4000 *** as such. This will affect the creation of libtool libraries that
4001 *** depend on shared libraries, but programs linked with such libtool
4002 *** libraries will work regardless of this problem. Nevertheless, you
4003 *** may want to report the problem to your system manager and/or to
4004 *** bug-libtool@gnu.org
4014 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4019 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4020 if test -n "$MAGIC_CMD"; then
4021 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4022 echo "${ECHO_T}$MAGIC_CMD" >&6
4024 echo "$as_me:$LINENO: result: no" >&5
4025 echo "${ECHO_T}no" >&6
4037 if test -n "$ac_tool_prefix"; then
4038 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4039 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4040 echo "$as_me:$LINENO: checking for $ac_word" >&5
4041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4042 if test "${ac_cv_prog_RANLIB+set}" = set; then
4043 echo $ECHO_N "(cached) $ECHO_C" >&6
4045 if test -n "$RANLIB"; then
4046 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4052 test -z "$as_dir" && as_dir
=.
4053 for ac_exec_ext
in '' $ac_executable_extensions; do
4054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4055 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4064 RANLIB
=$ac_cv_prog_RANLIB
4065 if test -n "$RANLIB"; then
4066 echo "$as_me:$LINENO: result: $RANLIB" >&5
4067 echo "${ECHO_T}$RANLIB" >&6
4069 echo "$as_me:$LINENO: result: no" >&5
4070 echo "${ECHO_T}no" >&6
4074 if test -z "$ac_cv_prog_RANLIB"; then
4075 ac_ct_RANLIB
=$RANLIB
4076 # Extract the first word of "ranlib", so it can be a program name with args.
4077 set dummy ranlib
; ac_word
=$2
4078 echo "$as_me:$LINENO: checking for $ac_word" >&5
4079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4080 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4081 echo $ECHO_N "(cached) $ECHO_C" >&6
4083 if test -n "$ac_ct_RANLIB"; then
4084 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4090 test -z "$as_dir" && as_dir
=.
4091 for ac_exec_ext
in '' $ac_executable_extensions; do
4092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4093 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4100 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4103 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4104 if test -n "$ac_ct_RANLIB"; then
4105 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4106 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4108 echo "$as_me:$LINENO: result: no" >&5
4109 echo "${ECHO_T}no" >&6
4112 RANLIB
=$ac_ct_RANLIB
4114 RANLIB
="$ac_cv_prog_RANLIB"
4117 if test -n "$ac_tool_prefix"; then
4118 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4119 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4120 echo "$as_me:$LINENO: checking for $ac_word" >&5
4121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4122 if test "${ac_cv_prog_STRIP+set}" = set; then
4123 echo $ECHO_N "(cached) $ECHO_C" >&6
4125 if test -n "$STRIP"; then
4126 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4132 test -z "$as_dir" && as_dir
=.
4133 for ac_exec_ext
in '' $ac_executable_extensions; do
4134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4135 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4144 STRIP
=$ac_cv_prog_STRIP
4145 if test -n "$STRIP"; then
4146 echo "$as_me:$LINENO: result: $STRIP" >&5
4147 echo "${ECHO_T}$STRIP" >&6
4149 echo "$as_me:$LINENO: result: no" >&5
4150 echo "${ECHO_T}no" >&6
4154 if test -z "$ac_cv_prog_STRIP"; then
4156 # Extract the first word of "strip", so it can be a program name with args.
4157 set dummy strip
; ac_word
=$2
4158 echo "$as_me:$LINENO: checking for $ac_word" >&5
4159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4160 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 if test -n "$ac_ct_STRIP"; then
4164 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4170 test -z "$as_dir" && as_dir
=.
4171 for ac_exec_ext
in '' $ac_executable_extensions; do
4172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4173 ac_cv_prog_ac_ct_STRIP
="strip"
4174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4180 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4183 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4184 if test -n "$ac_ct_STRIP"; then
4185 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4186 echo "${ECHO_T}$ac_ct_STRIP" >&6
4188 echo "$as_me:$LINENO: result: no" >&5
4189 echo "${ECHO_T}no" >&6
4194 STRIP
="$ac_cv_prog_STRIP"
4198 # Check for any special flags to pass to ltconfig.
4199 libtool_flags
="--cache-file=$cache_file"
4200 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4201 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4202 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4203 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4204 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4207 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4208 if test "${enable_libtool_lock+set}" = set; then
4209 enableval
="$enable_libtool_lock"
4212 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4213 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4216 # Check whether --with-pic or --without-pic was given.
4217 if test "${with_pic+set}" = set; then
4223 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4224 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4226 # Some flags need to be propagated to the compiler or linker for good
4230 # Find out which ABI we are using.
4231 echo '#line 4231 "configure"' > conftest.
$ac_ext
4232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4233 (eval $ac_compile) 2>&5
4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); }; then
4237 if test "$lt_cv_prog_gnu_ld" = yes; then
4238 case `/usr/bin/file conftest.$ac_objext` in
4240 LD
="${LD-ld} -melf32bsmip"
4243 LD
="${LD-ld} -melf32bmipn32"
4246 LD
="${LD-ld} -melf64bmip"
4250 case `/usr/bin/file conftest.$ac_objext` in
4267 # Find out which ABI we are using.
4268 echo 'int i;' > conftest.
$ac_ext
4269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4270 (eval $ac_compile) 2>&5
4272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4273 (exit $ac_status); }; then
4274 case "`/usr/bin/file conftest.o`" in
4286 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4287 # Find out which ABI we are using.
4288 echo 'int i;' > conftest.
$ac_ext
4289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4290 (eval $ac_compile) 2>&5
4292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4293 (exit $ac_status); }; then
4294 case "`/usr/bin/file conftest.o`" in
4298 LD
="${LD-ld} -m elf_i386"
4300 ppc64-
*linux
*|powerpc64-
*linux
*)
4301 LD
="${LD-ld} -m elf32ppclinux"
4304 LD
="${LD-ld} -m elf_s390"
4307 LD
="${LD-ld} -m elf32_sparc"
4314 LD
="${LD-ld} -m elf_x86_64"
4316 ppc
*-*linux
*|powerpc
*-*linux
*)
4317 LD
="${LD-ld} -m elf64ppc"
4320 LD
="${LD-ld} -m elf64_s390"
4323 LD
="${LD-ld} -m elf64_sparc"
4333 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4334 SAVE_CFLAGS
="$CFLAGS"
4335 CFLAGS
="$CFLAGS -belf"
4336 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4337 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4338 if test "${lt_cv_cc_needs_belf+set}" = set; then
4339 echo $ECHO_N "(cached) $ECHO_C" >&6
4344 ac_cpp
='$CPP $CPPFLAGS'
4345 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4346 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4347 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4349 cat >conftest.
$ac_ext <<_ACEOF
4352 cat confdefs.h
>>conftest.
$ac_ext
4353 cat >>conftest.
$ac_ext <<_ACEOF
4354 /* end confdefs.h. */
4364 rm -f conftest.
$ac_objext conftest
$ac_exeext
4365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4366 (eval $ac_link) 2>conftest.er1
4368 grep -v '^ *+' conftest.er1
>conftest.err
4370 cat conftest.err
>&5
4371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); } &&
4373 { ac_try
='test -z "$ac_c_werror_flag"
4374 || test ! -s conftest.err'
4375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4379 (exit $ac_status); }; } &&
4380 { ac_try
='test -s conftest$ac_exeext'
4381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); }; }; then
4386 lt_cv_cc_needs_belf
=yes
4388 echo "$as_me: failed program was:" >&5
4389 sed 's/^/| /' conftest.
$ac_ext >&5
4391 lt_cv_cc_needs_belf
=no
4393 rm -f conftest.err conftest.
$ac_objext \
4394 conftest
$ac_exeext conftest.
$ac_ext
4396 ac_cpp
='$CPP $CPPFLAGS'
4397 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4398 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4399 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4402 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4403 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4404 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4405 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4406 CFLAGS
="$SAVE_CFLAGS"
4414 # Save cache, so that ltconfig can load it
4415 cat >confcache
<<\_ACEOF
4416 # This file is a shell script that caches the results of configure
4417 # tests run on this system so they can be shared between configure
4418 # scripts and configure runs, see configure's option --config-cache.
4419 # It is not useful on other systems. If it contains results you don't
4420 # want to keep, you may remove or edit it.
4422 # config.status only pays attention to the cache file if you give it
4423 # the --recheck option to rerun configure.
4425 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4426 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4431 # The following way of writing the cache mishandles newlines in values,
4432 # but we know of no workaround that is simple, portable, and efficient.
4433 # So, don't put newlines in cache variables' values.
4434 # Ultrix sh set writes to stderr and can't be redirected directly,
4435 # and sets the high bit in the cache file unless we assign to the vars.
4438 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4440 # `set' does not quote correctly, so add quotes (double-quote
4441 # substitution turns \\\\ into \\, and sed turns \\ into \).
4444 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4447 # `set' quotes correctly as required by POSIX, so do not add quotes.
4449 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4456 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4458 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4460 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4461 if test -w $cache_file; then
4462 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4463 cat confcache
>$cache_file
4465 echo "not updating unwritable cache $cache_file"
4470 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4471 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4472 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4473 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4474 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4475 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4476 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4477 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4478 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4479 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4480 echo "$as_me: error: libtool configure failed" >&2;}
4481 { (exit 1); exit 1; }; }
4483 # Reload cache, that may have been modified by ltconfig
4484 if test -r "$cache_file"; then
4485 # Some versions of bash will fail to source /dev/null (special
4486 # files actually), so we avoid doing that.
4487 if test -f "$cache_file"; then
4488 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4489 echo "$as_me: loading cache $cache_file" >&6;}
4491 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4492 *) . .
/$cache_file;;
4496 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4497 echo "$as_me: creating cache $cache_file" >&6;}
4502 # This can be used to rebuild libtool when needed
4503 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4505 # Always use our own libtool.
4506 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4508 # Redirect the config.log output again, so that the ltconfig log is not
4509 # clobbered by the next message.
4510 exec 5>>.
/config.log
4520 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4521 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4522 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4523 if test "${enable_maintainer_mode+set}" = set; then
4524 enableval
="$enable_maintainer_mode"
4525 USE_MAINTAINER_MODE
=$enableval
4527 USE_MAINTAINER_MODE
=no
4529 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4530 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4533 if test $USE_MAINTAINER_MODE = yes; then
4534 MAINTAINER_MODE_TRUE
=
4535 MAINTAINER_MODE_FALSE
='#'
4537 MAINTAINER_MODE_TRUE
='#'
4538 MAINTAINER_MODE_FALSE
=
4541 MAINT
=$MAINTAINER_MODE_TRUE
4545 # We need gfortran to compile parts of the library
4546 # We can't use AC_PROG_FC because it expects a fully working gfortran.
4547 #AC_PROG_FC(gfortran)
4549 ac_ext
=${FC_SRCEXT-f}
4550 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4551 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4552 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
4553 if test -n "$ac_tool_prefix"; then
4554 for ac_prog
in gfortran
4556 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4557 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4558 echo "$as_me:$LINENO: checking for $ac_word" >&5
4559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4560 if test "${ac_cv_prog_FC+set}" = set; then
4561 echo $ECHO_N "(cached) $ECHO_C" >&6
4563 if test -n "$FC"; then
4564 ac_cv_prog_FC
="$FC" # Let the user override the test.
4566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4570 test -z "$as_dir" && as_dir
=.
4571 for ac_exec_ext
in '' $ac_executable_extensions; do
4572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4573 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
4574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4583 if test -n "$FC"; then
4584 echo "$as_me:$LINENO: result: $FC" >&5
4585 echo "${ECHO_T}$FC" >&6
4587 echo "$as_me:$LINENO: result: no" >&5
4588 echo "${ECHO_T}no" >&6
4591 test -n "$FC" && break
4594 if test -z "$FC"; then
4596 for ac_prog
in gfortran
4598 # Extract the first word of "$ac_prog", so it can be a program name with args.
4599 set dummy
$ac_prog; ac_word
=$2
4600 echo "$as_me:$LINENO: checking for $ac_word" >&5
4601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4602 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4603 echo $ECHO_N "(cached) $ECHO_C" >&6
4605 if test -n "$ac_ct_FC"; then
4606 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
4608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4612 test -z "$as_dir" && as_dir
=.
4613 for ac_exec_ext
in '' $ac_executable_extensions; do
4614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4615 ac_cv_prog_ac_ct_FC
="$ac_prog"
4616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4624 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
4625 if test -n "$ac_ct_FC"; then
4626 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4627 echo "${ECHO_T}$ac_ct_FC" >&6
4629 echo "$as_me:$LINENO: result: no" >&5
4630 echo "${ECHO_T}no" >&6
4633 test -n "$ac_ct_FC" && break
4640 # Provide some information about the compiler.
4641 echo "$as_me:4641:" \
4642 "checking for Fortran compiler version" >&5
4643 ac_compiler
=`set X $ac_compile; echo $2`
4644 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4645 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648 (exit $ac_status); }
4649 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4650 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); }
4654 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4655 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658 (exit $ac_status); }
4661 # If we don't use `.F' as extension, the preprocessor is not run on the
4662 # input file. (Note that this only needs to work for GNU compilers.)
4665 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4666 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4667 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4668 echo $ECHO_N "(cached) $ECHO_C" >&6
4670 cat >conftest.
$ac_ext <<_ACEOF
4678 rm -f conftest.
$ac_objext
4679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4680 (eval $ac_compile) 2>conftest.er1
4682 grep -v '^ *+' conftest.er1
>conftest.err
4684 cat conftest.err
>&5
4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686 (exit $ac_status); } &&
4687 { ac_try
='test -z "$ac_fc_werror_flag"
4688 || test ! -s conftest.err'
4689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4693 (exit $ac_status); }; } &&
4694 { ac_try
='test -s conftest.$ac_objext'
4695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699 (exit $ac_status); }; }; then
4702 echo "$as_me: failed program was:" >&5
4703 sed 's/^/| /' conftest.
$ac_ext >&5
4707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4708 ac_cv_fc_compiler_gnu
=$ac_compiler_gnu
4711 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4712 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4714 ac_test_FFLAGS
=${FCFLAGS+set}
4715 ac_save_FFLAGS
=$FCFLAGS
4717 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4718 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4719 if test "${ac_cv_prog_fc_g+set}" = set; then
4720 echo $ECHO_N "(cached) $ECHO_C" >&6
4723 cat >conftest.
$ac_ext <<_ACEOF
4728 rm -f conftest.
$ac_objext
4729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4730 (eval $ac_compile) 2>conftest.er1
4732 grep -v '^ *+' conftest.er1
>conftest.err
4734 cat conftest.err
>&5
4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736 (exit $ac_status); } &&
4737 { ac_try
='test -z "$ac_fc_werror_flag"
4738 || test ! -s conftest.err'
4739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4743 (exit $ac_status); }; } &&
4744 { ac_try
='test -s conftest.$ac_objext'
4745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); }; }; then
4752 echo "$as_me: failed program was:" >&5
4753 sed 's/^/| /' conftest.
$ac_ext >&5
4757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4760 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4761 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4762 if test "$ac_test_FFLAGS" = set; then
4763 FCFLAGS
=$ac_save_FFLAGS
4764 elif test $ac_cv_prog_fc_g = yes; then
4765 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
4771 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
4779 ac_cpp
='$CPP $CPPFLAGS'
4780 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4781 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4782 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4784 FCFLAGS
="$FCFLAGS -Wall"
4786 # For libtool versioning info, format is CURRENT:REVISION:AGE
4787 libtool_VERSION
=1:0:0
4790 # Check header files.
4792 ac_cpp
='$CPP $CPPFLAGS'
4793 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4794 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4795 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4796 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4797 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4798 # On Suns, sometimes $CPP names a directory.
4799 if test -n "$CPP" && test -d "$CPP"; then
4802 if test -z "$CPP"; then
4803 if test "${ac_cv_prog_CPP+set}" = set; then
4804 echo $ECHO_N "(cached) $ECHO_C" >&6
4806 # Double quotes because CPP needs to be expanded
4807 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4810 for ac_c_preproc_warn_flag
in '' yes
4812 # Use a header file that comes with gcc, so configuring glibc
4813 # with a fresh cross-compiler works.
4814 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4815 # <limits.h> exists even on freestanding compilers.
4816 # On the NeXT, cc -E runs the code through the compiler's parser,
4817 # not just through cpp. "Syntax error" is here to catch this case.
4818 cat >conftest.
$ac_ext <<_ACEOF
4821 cat confdefs.h
>>conftest.
$ac_ext
4822 cat >>conftest.
$ac_ext <<_ACEOF
4823 /* end confdefs.h. */
4825 # include <limits.h>
4827 # include <assert.h>
4831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4832 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4834 grep -v '^ *+' conftest.er1
>conftest.err
4836 cat conftest.err
>&5
4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 (exit $ac_status); } >/dev
/null
; then
4839 if test -s conftest.err
; then
4840 ac_cpp_err
=$ac_c_preproc_warn_flag
4841 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4848 if test -z "$ac_cpp_err"; then
4851 echo "$as_me: failed program was:" >&5
4852 sed 's/^/| /' conftest.
$ac_ext >&5
4854 # Broken: fails on valid input.
4857 rm -f conftest.err conftest.
$ac_ext
4859 # OK, works on sane cases. Now check whether non-existent headers
4860 # can be detected and how.
4861 cat >conftest.
$ac_ext <<_ACEOF
4864 cat confdefs.h
>>conftest.
$ac_ext
4865 cat >>conftest.
$ac_ext <<_ACEOF
4866 /* end confdefs.h. */
4867 #include <ac_nonexistent.h>
4869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4870 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4872 grep -v '^ *+' conftest.er1
>conftest.err
4874 cat conftest.err
>&5
4875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4876 (exit $ac_status); } >/dev
/null
; then
4877 if test -s conftest.err
; then
4878 ac_cpp_err
=$ac_c_preproc_warn_flag
4879 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4886 if test -z "$ac_cpp_err"; then
4887 # Broken: success on invalid input.
4890 echo "$as_me: failed program was:" >&5
4891 sed 's/^/| /' conftest.
$ac_ext >&5
4893 # Passes both tests.
4897 rm -f conftest.err conftest.
$ac_ext
4900 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4901 rm -f conftest.err conftest.
$ac_ext
4902 if $ac_preproc_ok; then
4914 echo "$as_me:$LINENO: result: $CPP" >&5
4915 echo "${ECHO_T}$CPP" >&6
4917 for ac_c_preproc_warn_flag
in '' yes
4919 # Use a header file that comes with gcc, so configuring glibc
4920 # with a fresh cross-compiler works.
4921 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4922 # <limits.h> exists even on freestanding compilers.
4923 # On the NeXT, cc -E runs the code through the compiler's parser,
4924 # not just through cpp. "Syntax error" is here to catch this case.
4925 cat >conftest.
$ac_ext <<_ACEOF
4928 cat confdefs.h
>>conftest.
$ac_ext
4929 cat >>conftest.
$ac_ext <<_ACEOF
4930 /* end confdefs.h. */
4932 # include <limits.h>
4934 # include <assert.h>
4938 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4939 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4941 grep -v '^ *+' conftest.er1
>conftest.err
4943 cat conftest.err
>&5
4944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945 (exit $ac_status); } >/dev
/null
; then
4946 if test -s conftest.err
; then
4947 ac_cpp_err
=$ac_c_preproc_warn_flag
4948 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4955 if test -z "$ac_cpp_err"; then
4958 echo "$as_me: failed program was:" >&5
4959 sed 's/^/| /' conftest.
$ac_ext >&5
4961 # Broken: fails on valid input.
4964 rm -f conftest.err conftest.
$ac_ext
4966 # OK, works on sane cases. Now check whether non-existent headers
4967 # can be detected and how.
4968 cat >conftest.
$ac_ext <<_ACEOF
4971 cat confdefs.h
>>conftest.
$ac_ext
4972 cat >>conftest.
$ac_ext <<_ACEOF
4973 /* end confdefs.h. */
4974 #include <ac_nonexistent.h>
4976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4977 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4979 grep -v '^ *+' conftest.er1
>conftest.err
4981 cat conftest.err
>&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); } >/dev
/null
; then
4984 if test -s conftest.err
; then
4985 ac_cpp_err
=$ac_c_preproc_warn_flag
4986 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4993 if test -z "$ac_cpp_err"; then
4994 # Broken: success on invalid input.
4997 echo "$as_me: failed program was:" >&5
4998 sed 's/^/| /' conftest.
$ac_ext >&5
5000 # Passes both tests.
5004 rm -f conftest.err conftest.
$ac_ext
5007 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5008 rm -f conftest.err conftest.
$ac_ext
5009 if $ac_preproc_ok; then
5012 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5013 See \`config.log' for more details." >&5
5014 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5015 See \`config.log' for more details." >&2;}
5016 { (exit 1); exit 1; }; }
5020 ac_cpp
='$CPP $CPPFLAGS'
5021 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5022 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5023 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5026 echo "$as_me:$LINENO: checking for egrep" >&5
5027 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5028 if test "${ac_cv_prog_egrep+set}" = set; then
5029 echo $ECHO_N "(cached) $ECHO_C" >&6
5031 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5032 then ac_cv_prog_egrep
='grep -E'
5033 else ac_cv_prog_egrep
='egrep'
5036 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5037 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5038 EGREP
=$ac_cv_prog_egrep
5041 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5042 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5043 if test "${ac_cv_header_stdc+set}" = set; then
5044 echo $ECHO_N "(cached) $ECHO_C" >&6
5046 cat >conftest.
$ac_ext <<_ACEOF
5049 cat confdefs.h
>>conftest.
$ac_ext
5050 cat >>conftest.
$ac_ext <<_ACEOF
5051 /* end confdefs.h. */
5065 rm -f conftest.
$ac_objext
5066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5067 (eval $ac_compile) 2>conftest.er1
5069 grep -v '^ *+' conftest.er1
>conftest.err
5071 cat conftest.err
>&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); } &&
5074 { ac_try
='test -z "$ac_c_werror_flag"
5075 || test ! -s conftest.err'
5076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); }; } &&
5081 { ac_try
='test -s conftest.$ac_objext'
5082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086 (exit $ac_status); }; }; then
5087 ac_cv_header_stdc
=yes
5089 echo "$as_me: failed program was:" >&5
5090 sed 's/^/| /' conftest.
$ac_ext >&5
5092 ac_cv_header_stdc
=no
5094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5096 if test $ac_cv_header_stdc = yes; then
5097 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5098 cat >conftest.
$ac_ext <<_ACEOF
5101 cat confdefs.h
>>conftest.
$ac_ext
5102 cat >>conftest.
$ac_ext <<_ACEOF
5103 /* end confdefs.h. */
5107 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5108 $EGREP "memchr" >/dev
/null
2>&1; then
5111 ac_cv_header_stdc
=no
5117 if test $ac_cv_header_stdc = yes; then
5118 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5119 cat >conftest.
$ac_ext <<_ACEOF
5122 cat confdefs.h
>>conftest.
$ac_ext
5123 cat >>conftest.
$ac_ext <<_ACEOF
5124 /* end confdefs.h. */
5128 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5129 $EGREP "free" >/dev
/null
2>&1; then
5132 ac_cv_header_stdc
=no
5138 if test $ac_cv_header_stdc = yes; then
5139 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5140 if test "$cross_compiling" = yes; then
5143 cat >conftest.
$ac_ext <<_ACEOF
5146 cat confdefs.h
>>conftest.
$ac_ext
5147 cat >>conftest.
$ac_ext <<_ACEOF
5148 /* end confdefs.h. */
5150 #if ((' ' & 0x0FF) == 0x020)
5151 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5152 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5154 # define ISLOWER(c) \
5155 (('a' <= (c) && (c) <= 'i') \
5156 || ('j' <= (c) && (c) <= 'r') \
5157 || ('s' <= (c) && (c) <= 'z'))
5158 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5161 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5166 for (i = 0; i < 256; i++)
5167 if (XOR (islower (i), ISLOWER (i))
5168 || toupper (i) != TOUPPER (i))
5173 rm -f conftest
$ac_exeext
5174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5175 (eval $ac_link) 2>&5
5177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5183 (exit $ac_status); }; }; then
5186 echo "$as_me: program exited with status $ac_status" >&5
5187 echo "$as_me: failed program was:" >&5
5188 sed 's/^/| /' conftest.
$ac_ext >&5
5191 ac_cv_header_stdc
=no
5193 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5197 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5198 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5199 if test $ac_cv_header_stdc = yes; then
5201 cat >>confdefs.h
<<\_ACEOF
5202 #define STDC_HEADERS 1
5207 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5208 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5209 if test "${ac_cv_header_time+set}" = set; then
5210 echo $ECHO_N "(cached) $ECHO_C" >&6
5212 cat >conftest.
$ac_ext <<_ACEOF
5215 cat confdefs.h
>>conftest.
$ac_ext
5216 cat >>conftest.
$ac_ext <<_ACEOF
5217 /* end confdefs.h. */
5218 #include <sys/types.h>
5219 #include <sys/time.h>
5225 if ((struct tm *) 0)
5231 rm -f conftest.
$ac_objext
5232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5233 (eval $ac_compile) 2>conftest.er1
5235 grep -v '^ *+' conftest.er1
>conftest.err
5237 cat conftest.err
>&5
5238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5239 (exit $ac_status); } &&
5240 { ac_try
='test -z "$ac_c_werror_flag"
5241 || test ! -s conftest.err'
5242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5246 (exit $ac_status); }; } &&
5247 { ac_try
='test -s conftest.$ac_objext'
5248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5252 (exit $ac_status); }; }; then
5253 ac_cv_header_time
=yes
5255 echo "$as_me: failed program was:" >&5
5256 sed 's/^/| /' conftest.
$ac_ext >&5
5258 ac_cv_header_time
=no
5260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5262 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5263 echo "${ECHO_T}$ac_cv_header_time" >&6
5264 if test $ac_cv_header_time = yes; then
5266 cat >>confdefs.h
<<\_ACEOF
5267 #define TIME_WITH_SYS_TIME 1
5272 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5282 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5283 inttypes.h stdint.h unistd.h
5285 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5286 echo "$as_me:$LINENO: checking for $ac_header" >&5
5287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5289 echo $ECHO_N "(cached) $ECHO_C" >&6
5291 cat >conftest.
$ac_ext <<_ACEOF
5294 cat confdefs.h
>>conftest.
$ac_ext
5295 cat >>conftest.
$ac_ext <<_ACEOF
5296 /* end confdefs.h. */
5297 $ac_includes_default
5299 #include <$ac_header>
5301 rm -f conftest.
$ac_objext
5302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5303 (eval $ac_compile) 2>conftest.er1
5305 grep -v '^ *+' conftest.er1
>conftest.err
5307 cat conftest.err
>&5
5308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309 (exit $ac_status); } &&
5310 { ac_try
='test -z "$ac_c_werror_flag"
5311 || test ! -s conftest.err'
5312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316 (exit $ac_status); }; } &&
5317 { ac_try
='test -s conftest.$ac_objext'
5318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5322 (exit $ac_status); }; }; then
5323 eval "$as_ac_Header=yes"
5325 echo "$as_me: failed program was:" >&5
5326 sed 's/^/| /' conftest.
$ac_ext >&5
5328 eval "$as_ac_Header=no"
5330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5335 cat >>confdefs.h
<<_ACEOF
5336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5348 for ac_header
in unistd.h semaphore.h sys
/loadavg.h sys
/time.h
5350 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5352 echo "$as_me:$LINENO: checking for $ac_header" >&5
5353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5355 echo $ECHO_N "(cached) $ECHO_C" >&6
5357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5360 # Is the header compilable?
5361 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5363 cat >conftest.
$ac_ext <<_ACEOF
5366 cat confdefs.h
>>conftest.
$ac_ext
5367 cat >>conftest.
$ac_ext <<_ACEOF
5368 /* end confdefs.h. */
5369 $ac_includes_default
5370 #include <$ac_header>
5372 rm -f conftest.
$ac_objext
5373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5374 (eval $ac_compile) 2>conftest.er1
5376 grep -v '^ *+' conftest.er1
>conftest.err
5378 cat conftest.err
>&5
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); } &&
5381 { ac_try
='test -z "$ac_c_werror_flag"
5382 || test ! -s conftest.err'
5383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5387 (exit $ac_status); }; } &&
5388 { ac_try
='test -s conftest.$ac_objext'
5389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5393 (exit $ac_status); }; }; then
5394 ac_header_compiler
=yes
5396 echo "$as_me: failed program was:" >&5
5397 sed 's/^/| /' conftest.
$ac_ext >&5
5399 ac_header_compiler
=no
5401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5402 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5403 echo "${ECHO_T}$ac_header_compiler" >&6
5405 # Is the header present?
5406 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5407 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5408 cat >conftest.
$ac_ext <<_ACEOF
5411 cat confdefs.h
>>conftest.
$ac_ext
5412 cat >>conftest.
$ac_ext <<_ACEOF
5413 /* end confdefs.h. */
5414 #include <$ac_header>
5416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5417 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5419 grep -v '^ *+' conftest.er1
>conftest.err
5421 cat conftest.err
>&5
5422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5423 (exit $ac_status); } >/dev
/null
; then
5424 if test -s conftest.err
; then
5425 ac_cpp_err
=$ac_c_preproc_warn_flag
5426 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5433 if test -z "$ac_cpp_err"; then
5434 ac_header_preproc
=yes
5436 echo "$as_me: failed program was:" >&5
5437 sed 's/^/| /' conftest.
$ac_ext >&5
5439 ac_header_preproc
=no
5441 rm -f conftest.err conftest.
$ac_ext
5442 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5443 echo "${ECHO_T}$ac_header_preproc" >&6
5445 # So? What about this header?
5446 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5448 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5449 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5451 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5452 ac_header_preproc
=yes
5455 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5456 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5457 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5458 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5459 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5460 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5461 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5462 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5464 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5465 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5466 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5469 ## ----------------------------------------------------- ##
5470 ## Report this to the GNU OpenMP Runtime Library lists. ##
5471 ## ----------------------------------------------------- ##
5474 sed "s/^/$as_me: WARNING: /" >&2
5477 echo "$as_me:$LINENO: checking for $ac_header" >&5
5478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5480 echo $ECHO_N "(cached) $ECHO_C" >&6
5482 eval "$as_ac_Header=\$ac_header_preproc"
5484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5489 cat >>confdefs.h
<<_ACEOF
5490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5500 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
5502 acx_cv_header_stdint
=stddef.h
5503 acx_cv_header_stdint_kind
="(already complete)"
5504 for i
in stdint.h
$inttype_headers; do
5505 unset ac_cv_type_uintptr_t
5506 unset ac_cv_type_uintmax_t
5507 unset ac_cv_type_int_least32_t
5508 unset ac_cv_type_int_fast32_t
5509 unset ac_cv_type_uint64_t
5510 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
5511 echo "$as_me:$LINENO: checking for uintmax_t" >&5
5512 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
5513 if test "${ac_cv_type_uintmax_t+set}" = set; then
5514 echo $ECHO_N "(cached) $ECHO_C" >&6
5516 cat >conftest.
$ac_ext <<_ACEOF
5519 cat confdefs.h
>>conftest.
$ac_ext
5520 cat >>conftest.
$ac_ext <<_ACEOF
5521 /* end confdefs.h. */
5522 #include <sys/types.h>
5528 if ((uintmax_t *) 0)
5530 if (sizeof (uintmax_t))
5536 rm -f conftest.
$ac_objext
5537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5538 (eval $ac_compile) 2>conftest.er1
5540 grep -v '^ *+' conftest.er1
>conftest.err
5542 cat conftest.err
>&5
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); } &&
5545 { ac_try
='test -z "$ac_c_werror_flag"
5546 || test ! -s conftest.err'
5547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 (exit $ac_status); }; } &&
5552 { ac_try
='test -s conftest.$ac_objext'
5553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5557 (exit $ac_status); }; }; then
5558 ac_cv_type_uintmax_t
=yes
5560 echo "$as_me: failed program was:" >&5
5561 sed 's/^/| /' conftest.
$ac_ext >&5
5563 ac_cv_type_uintmax_t
=no
5565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5567 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
5568 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
5569 if test $ac_cv_type_uintmax_t = yes; then
5570 acx_cv_header_stdint
=$i
5575 echo "$as_me:$LINENO: checking for uintptr_t" >&5
5576 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
5577 if test "${ac_cv_type_uintptr_t+set}" = set; then
5578 echo $ECHO_N "(cached) $ECHO_C" >&6
5580 cat >conftest.
$ac_ext <<_ACEOF
5583 cat confdefs.h
>>conftest.
$ac_ext
5584 cat >>conftest.
$ac_ext <<_ACEOF
5585 /* end confdefs.h. */
5586 #include <sys/types.h>
5592 if ((uintptr_t *) 0)
5594 if (sizeof (uintptr_t))
5600 rm -f conftest.
$ac_objext
5601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5602 (eval $ac_compile) 2>conftest.er1
5604 grep -v '^ *+' conftest.er1
>conftest.err
5606 cat conftest.err
>&5
5607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 (exit $ac_status); } &&
5609 { ac_try
='test -z "$ac_c_werror_flag"
5610 || test ! -s conftest.err'
5611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615 (exit $ac_status); }; } &&
5616 { ac_try
='test -s conftest.$ac_objext'
5617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 (exit $ac_status); }; }; then
5622 ac_cv_type_uintptr_t
=yes
5624 echo "$as_me: failed program was:" >&5
5625 sed 's/^/| /' conftest.
$ac_ext >&5
5627 ac_cv_type_uintptr_t
=no
5629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5631 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
5632 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
5633 if test $ac_cv_type_uintptr_t = yes; then
5636 acx_cv_header_stdint_kind
="(mostly complete)"
5639 echo "$as_me:$LINENO: checking for int_least32_t" >&5
5640 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
5641 if test "${ac_cv_type_int_least32_t+set}" = set; then
5642 echo $ECHO_N "(cached) $ECHO_C" >&6
5644 cat >conftest.
$ac_ext <<_ACEOF
5647 cat confdefs.h
>>conftest.
$ac_ext
5648 cat >>conftest.
$ac_ext <<_ACEOF
5649 /* end confdefs.h. */
5650 #include <sys/types.h>
5656 if ((int_least32_t *) 0)
5658 if (sizeof (int_least32_t))
5664 rm -f conftest.
$ac_objext
5665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5666 (eval $ac_compile) 2>conftest.er1
5668 grep -v '^ *+' conftest.er1
>conftest.err
5670 cat conftest.err
>&5
5671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5672 (exit $ac_status); } &&
5673 { ac_try
='test -z "$ac_c_werror_flag"
5674 || test ! -s conftest.err'
5675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5679 (exit $ac_status); }; } &&
5680 { ac_try
='test -s conftest.$ac_objext'
5681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685 (exit $ac_status); }; }; then
5686 ac_cv_type_int_least32_t
=yes
5688 echo "$as_me: failed program was:" >&5
5689 sed 's/^/| /' conftest.
$ac_ext >&5
5691 ac_cv_type_int_least32_t
=no
5693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5695 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
5696 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
5697 if test $ac_cv_type_int_least32_t = yes; then
5700 acx_cv_header_stdint_kind
="(mostly complete)"
5703 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
5704 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
5705 if test "${ac_cv_type_int_fast32_t+set}" = set; then
5706 echo $ECHO_N "(cached) $ECHO_C" >&6
5708 cat >conftest.
$ac_ext <<_ACEOF
5711 cat confdefs.h
>>conftest.
$ac_ext
5712 cat >>conftest.
$ac_ext <<_ACEOF
5713 /* end confdefs.h. */
5714 #include <sys/types.h>
5720 if ((int_fast32_t *) 0)
5722 if (sizeof (int_fast32_t))
5728 rm -f conftest.
$ac_objext
5729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5730 (eval $ac_compile) 2>conftest.er1
5732 grep -v '^ *+' conftest.er1
>conftest.err
5734 cat conftest.err
>&5
5735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736 (exit $ac_status); } &&
5737 { ac_try
='test -z "$ac_c_werror_flag"
5738 || test ! -s conftest.err'
5739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5743 (exit $ac_status); }; } &&
5744 { ac_try
='test -s conftest.$ac_objext'
5745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 (exit $ac_status); }; }; then
5750 ac_cv_type_int_fast32_t
=yes
5752 echo "$as_me: failed program was:" >&5
5753 sed 's/^/| /' conftest.
$ac_ext >&5
5755 ac_cv_type_int_fast32_t
=no
5757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5759 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
5760 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
5761 if test $ac_cv_type_int_fast32_t = yes; then
5764 acx_cv_header_stdint_kind
="(mostly complete)"
5767 echo "$as_me:$LINENO: checking for uint64_t" >&5
5768 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
5769 if test "${ac_cv_type_uint64_t+set}" = set; then
5770 echo $ECHO_N "(cached) $ECHO_C" >&6
5772 cat >conftest.
$ac_ext <<_ACEOF
5775 cat confdefs.h
>>conftest.
$ac_ext
5776 cat >>conftest.
$ac_ext <<_ACEOF
5777 /* end confdefs.h. */
5778 #include <sys/types.h>
5786 if (sizeof (uint64_t))
5792 rm -f conftest.
$ac_objext
5793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5794 (eval $ac_compile) 2>conftest.er1
5796 grep -v '^ *+' conftest.er1
>conftest.err
5798 cat conftest.err
>&5
5799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800 (exit $ac_status); } &&
5801 { ac_try
='test -z "$ac_c_werror_flag"
5802 || test ! -s conftest.err'
5803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5807 (exit $ac_status); }; } &&
5808 { ac_try
='test -s conftest.$ac_objext'
5809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5813 (exit $ac_status); }; }; then
5814 ac_cv_type_uint64_t
=yes
5816 echo "$as_me: failed program was:" >&5
5817 sed 's/^/| /' conftest.
$ac_ext >&5
5819 ac_cv_type_uint64_t
=no
5821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5823 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
5824 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
5825 if test $ac_cv_type_uint64_t = yes; then
5828 acx_cv_header_stdint_kind
="(lacks uint64_t)"
5833 if test "$acx_cv_header_stdint" = stddef.h
; then
5834 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
5835 for i
in stdint.h
$inttype_headers; do
5836 unset ac_cv_type_uintptr_t
5837 unset ac_cv_type_uint32_t
5838 unset ac_cv_type_uint64_t
5839 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
5840 echo "$as_me:$LINENO: checking for uint32_t" >&5
5841 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
5842 if test "${ac_cv_type_uint32_t+set}" = set; then
5843 echo $ECHO_N "(cached) $ECHO_C" >&6
5845 cat >conftest.
$ac_ext <<_ACEOF
5848 cat confdefs.h
>>conftest.
$ac_ext
5849 cat >>conftest.
$ac_ext <<_ACEOF
5850 /* end confdefs.h. */
5851 #include <sys/types.h>
5859 if (sizeof (uint32_t))
5865 rm -f conftest.
$ac_objext
5866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5867 (eval $ac_compile) 2>conftest.er1
5869 grep -v '^ *+' conftest.er1
>conftest.err
5871 cat conftest.err
>&5
5872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873 (exit $ac_status); } &&
5874 { ac_try
='test -z "$ac_c_werror_flag"
5875 || test ! -s conftest.err'
5876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880 (exit $ac_status); }; } &&
5881 { ac_try
='test -s conftest.$ac_objext'
5882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5886 (exit $ac_status); }; }; then
5887 ac_cv_type_uint32_t
=yes
5889 echo "$as_me: failed program was:" >&5
5890 sed 's/^/| /' conftest.
$ac_ext >&5
5892 ac_cv_type_uint32_t
=no
5894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5896 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
5897 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
5898 if test $ac_cv_type_uint32_t = yes; then
5899 acx_cv_header_stdint
=$i
5904 echo "$as_me:$LINENO: checking for uint64_t" >&5
5905 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
5906 if test "${ac_cv_type_uint64_t+set}" = set; then
5907 echo $ECHO_N "(cached) $ECHO_C" >&6
5909 cat >conftest.
$ac_ext <<_ACEOF
5912 cat confdefs.h
>>conftest.
$ac_ext
5913 cat >>conftest.
$ac_ext <<_ACEOF
5914 /* end confdefs.h. */
5915 #include <sys/types.h>
5923 if (sizeof (uint64_t))
5929 rm -f conftest.
$ac_objext
5930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5931 (eval $ac_compile) 2>conftest.er1
5933 grep -v '^ *+' conftest.er1
>conftest.err
5935 cat conftest.err
>&5
5936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5937 (exit $ac_status); } &&
5938 { ac_try
='test -z "$ac_c_werror_flag"
5939 || test ! -s conftest.err'
5940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 (exit $ac_status); }; } &&
5945 { ac_try
='test -s conftest.$ac_objext'
5946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5950 (exit $ac_status); }; }; then
5951 ac_cv_type_uint64_t
=yes
5953 echo "$as_me: failed program was:" >&5
5954 sed 's/^/| /' conftest.
$ac_ext >&5
5956 ac_cv_type_uint64_t
=no
5958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5960 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
5961 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
5963 echo "$as_me:$LINENO: checking for uintptr_t" >&5
5964 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
5965 if test "${ac_cv_type_uintptr_t+set}" = set; then
5966 echo $ECHO_N "(cached) $ECHO_C" >&6
5968 cat >conftest.
$ac_ext <<_ACEOF
5971 cat confdefs.h
>>conftest.
$ac_ext
5972 cat >>conftest.
$ac_ext <<_ACEOF
5973 /* end confdefs.h. */
5974 #include <sys/types.h>
5980 if ((uintptr_t *) 0)
5982 if (sizeof (uintptr_t))
5988 rm -f conftest.
$ac_objext
5989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5990 (eval $ac_compile) 2>conftest.er1
5992 grep -v '^ *+' conftest.er1
>conftest.err
5994 cat conftest.err
>&5
5995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996 (exit $ac_status); } &&
5997 { ac_try
='test -z "$ac_c_werror_flag"
5998 || test ! -s conftest.err'
5999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003 (exit $ac_status); }; } &&
6004 { ac_try
='test -s conftest.$ac_objext'
6005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); }; }; then
6010 ac_cv_type_uintptr_t
=yes
6012 echo "$as_me: failed program was:" >&5
6013 sed 's/^/| /' conftest.
$ac_ext >&5
6015 ac_cv_type_uintptr_t
=no
6017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6019 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
6020 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
6025 if test "$acx_cv_header_stdint" = stddef.h
; then
6026 acx_cv_header_stdint_kind
="(u_intXX_t style)"
6027 for i
in sys
/types.h
$inttype_headers; do
6028 unset ac_cv_type_u_int32_t
6029 unset ac_cv_type_u_int64_t
6030 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
6031 echo "$as_me:$LINENO: checking for u_int32_t" >&5
6032 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
6033 if test "${ac_cv_type_u_int32_t+set}" = set; then
6034 echo $ECHO_N "(cached) $ECHO_C" >&6
6036 cat >conftest.
$ac_ext <<_ACEOF
6039 cat confdefs.h
>>conftest.
$ac_ext
6040 cat >>conftest.
$ac_ext <<_ACEOF
6041 /* end confdefs.h. */
6042 #include <sys/types.h>
6048 if ((u_int32_t *) 0)
6050 if (sizeof (u_int32_t))
6056 rm -f conftest.
$ac_objext
6057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6058 (eval $ac_compile) 2>conftest.er1
6060 grep -v '^ *+' conftest.er1
>conftest.err
6062 cat conftest.err
>&5
6063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064 (exit $ac_status); } &&
6065 { ac_try
='test -z "$ac_c_werror_flag"
6066 || test ! -s conftest.err'
6067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071 (exit $ac_status); }; } &&
6072 { ac_try
='test -s conftest.$ac_objext'
6073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); }; }; then
6078 ac_cv_type_u_int32_t
=yes
6080 echo "$as_me: failed program was:" >&5
6081 sed 's/^/| /' conftest.
$ac_ext >&5
6083 ac_cv_type_u_int32_t
=no
6085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6087 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
6088 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
6089 if test $ac_cv_type_u_int32_t = yes; then
6090 acx_cv_header_stdint
=$i
6095 echo "$as_me:$LINENO: checking for u_int64_t" >&5
6096 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
6097 if test "${ac_cv_type_u_int64_t+set}" = set; then
6098 echo $ECHO_N "(cached) $ECHO_C" >&6
6100 cat >conftest.
$ac_ext <<_ACEOF
6103 cat confdefs.h
>>conftest.
$ac_ext
6104 cat >>conftest.
$ac_ext <<_ACEOF
6105 /* end confdefs.h. */
6106 #include <sys/types.h>
6112 if ((u_int64_t *) 0)
6114 if (sizeof (u_int64_t))
6120 rm -f conftest.
$ac_objext
6121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6122 (eval $ac_compile) 2>conftest.er1
6124 grep -v '^ *+' conftest.er1
>conftest.err
6126 cat conftest.err
>&5
6127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6128 (exit $ac_status); } &&
6129 { ac_try
='test -z "$ac_c_werror_flag"
6130 || test ! -s conftest.err'
6131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6135 (exit $ac_status); }; } &&
6136 { ac_try
='test -s conftest.$ac_objext'
6137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6141 (exit $ac_status); }; }; then
6142 ac_cv_type_u_int64_t
=yes
6144 echo "$as_me: failed program was:" >&5
6145 sed 's/^/| /' conftest.
$ac_ext >&5
6147 ac_cv_type_u_int64_t
=no
6149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6151 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
6152 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
6157 if test "$acx_cv_header_stdint" = stddef.h
; then
6158 acx_cv_header_stdint_kind
="(using manual detection)"
6161 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
6162 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
6163 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
6164 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
6165 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
6167 # ----------------- Summarize what we found so far
6169 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
6170 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
6172 case `$as_basename gstdint.h ||
6173 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
6174 Xgstdint.h : 'X\(//\)$' \| \
6175 Xgstdint.h : 'X\(/\)$' \| \
6176 . : '\(.\)' 2>/dev/null ||
6178 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6179 /^X\/\(\/\/\)$/{ s//\1/; q; }
6180 /^X\/\(\/\).*/{ s//\1/; q; }
6182 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
6183 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
6184 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
6185 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
6189 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
6190 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
6192 # ----------------- done included file, check C basic types --------
6194 # Lacking an uintptr_t? Test size of void *
6195 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
6196 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
6197 echo $ECHO_N "checking for void *... $ECHO_C" >&6
6198 if test "${ac_cv_type_void_p+set}" = set; then
6199 echo $ECHO_N "(cached) $ECHO_C" >&6
6201 cat >conftest.
$ac_ext <<_ACEOF
6204 cat confdefs.h
>>conftest.
$ac_ext
6205 cat >>conftest.
$ac_ext <<_ACEOF
6206 /* end confdefs.h. */
6207 $ac_includes_default
6213 if (sizeof (void *))
6219 rm -f conftest.
$ac_objext
6220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6221 (eval $ac_compile) 2>conftest.er1
6223 grep -v '^ *+' conftest.er1
>conftest.err
6225 cat conftest.err
>&5
6226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6227 (exit $ac_status); } &&
6228 { ac_try
='test -z "$ac_c_werror_flag"
6229 || test ! -s conftest.err'
6230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6234 (exit $ac_status); }; } &&
6235 { ac_try
='test -s conftest.$ac_objext'
6236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 (exit $ac_status); }; }; then
6241 ac_cv_type_void_p
=yes
6243 echo "$as_me: failed program was:" >&5
6244 sed 's/^/| /' conftest.
$ac_ext >&5
6246 ac_cv_type_void_p
=no
6248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6250 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
6251 echo "${ECHO_T}$ac_cv_type_void_p" >&6
6253 echo "$as_me:$LINENO: checking size of void *" >&5
6254 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
6255 if test "${ac_cv_sizeof_void_p+set}" = set; then
6256 echo $ECHO_N "(cached) $ECHO_C" >&6
6258 if test "$ac_cv_type_void_p" = yes; then
6259 # The cast to unsigned long works around a bug in the HP C Compiler
6260 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6261 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6262 # This bug is HP SR number 8606223364.
6263 if test "$cross_compiling" = yes; then
6264 # Depending upon the size, compute the lo and hi bounds.
6265 cat >conftest.
$ac_ext <<_ACEOF
6268 cat confdefs.h
>>conftest.
$ac_ext
6269 cat >>conftest.
$ac_ext <<_ACEOF
6270 /* end confdefs.h. */
6271 $ac_includes_default
6275 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
6282 rm -f conftest.
$ac_objext
6283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6284 (eval $ac_compile) 2>conftest.er1
6286 grep -v '^ *+' conftest.er1
>conftest.err
6288 cat conftest.err
>&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); } &&
6291 { ac_try
='test -z "$ac_c_werror_flag"
6292 || test ! -s conftest.err'
6293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6297 (exit $ac_status); }; } &&
6298 { ac_try
='test -s conftest.$ac_objext'
6299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6303 (exit $ac_status); }; }; then
6306 cat >conftest.
$ac_ext <<_ACEOF
6309 cat confdefs.h
>>conftest.
$ac_ext
6310 cat >>conftest.
$ac_ext <<_ACEOF
6311 /* end confdefs.h. */
6312 $ac_includes_default
6316 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
6323 rm -f conftest.
$ac_objext
6324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6325 (eval $ac_compile) 2>conftest.er1
6327 grep -v '^ *+' conftest.er1
>conftest.err
6329 cat conftest.err
>&5
6330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331 (exit $ac_status); } &&
6332 { ac_try
='test -z "$ac_c_werror_flag"
6333 || test ! -s conftest.err'
6334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6338 (exit $ac_status); }; } &&
6339 { ac_try
='test -s conftest.$ac_objext'
6340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6344 (exit $ac_status); }; }; then
6345 ac_hi
=$ac_mid; break
6347 echo "$as_me: failed program was:" >&5
6348 sed 's/^/| /' conftest.
$ac_ext >&5
6350 ac_lo
=`expr $ac_mid + 1`
6351 if test $ac_lo -le $ac_mid; then
6355 ac_mid
=`expr 2 '*' $ac_mid + 1`
6357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6360 echo "$as_me: failed program was:" >&5
6361 sed 's/^/| /' conftest.
$ac_ext >&5
6363 cat >conftest.
$ac_ext <<_ACEOF
6366 cat confdefs.h
>>conftest.
$ac_ext
6367 cat >>conftest.
$ac_ext <<_ACEOF
6368 /* end confdefs.h. */
6369 $ac_includes_default
6373 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
6380 rm -f conftest.
$ac_objext
6381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6382 (eval $ac_compile) 2>conftest.er1
6384 grep -v '^ *+' conftest.er1
>conftest.err
6386 cat conftest.err
>&5
6387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6388 (exit $ac_status); } &&
6389 { ac_try
='test -z "$ac_c_werror_flag"
6390 || test ! -s conftest.err'
6391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6395 (exit $ac_status); }; } &&
6396 { ac_try
='test -s conftest.$ac_objext'
6397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6401 (exit $ac_status); }; }; then
6404 cat >conftest.
$ac_ext <<_ACEOF
6407 cat confdefs.h
>>conftest.
$ac_ext
6408 cat >>conftest.
$ac_ext <<_ACEOF
6409 /* end confdefs.h. */
6410 $ac_includes_default
6414 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
6421 rm -f conftest.
$ac_objext
6422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6423 (eval $ac_compile) 2>conftest.er1
6425 grep -v '^ *+' conftest.er1
>conftest.err
6427 cat conftest.err
>&5
6428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429 (exit $ac_status); } &&
6430 { ac_try
='test -z "$ac_c_werror_flag"
6431 || test ! -s conftest.err'
6432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); }; } &&
6437 { ac_try
='test -s conftest.$ac_objext'
6438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442 (exit $ac_status); }; }; then
6443 ac_lo
=$ac_mid; break
6445 echo "$as_me: failed program was:" >&5
6446 sed 's/^/| /' conftest.
$ac_ext >&5
6448 ac_hi
=`expr '(' $ac_mid ')' - 1`
6449 if test $ac_mid -le $ac_hi; then
6453 ac_mid
=`expr 2 '*' $ac_mid`
6455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6458 echo "$as_me: failed program was:" >&5
6459 sed 's/^/| /' conftest.
$ac_ext >&5
6463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6466 # Binary search between lo and hi bounds.
6467 while test "x$ac_lo" != "x$ac_hi"; do
6468 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6469 cat >conftest.
$ac_ext <<_ACEOF
6472 cat confdefs.h
>>conftest.
$ac_ext
6473 cat >>conftest.
$ac_ext <<_ACEOF
6474 /* end confdefs.h. */
6475 $ac_includes_default
6479 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
6486 rm -f conftest.
$ac_objext
6487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6488 (eval $ac_compile) 2>conftest.er1
6490 grep -v '^ *+' conftest.er1
>conftest.err
6492 cat conftest.err
>&5
6493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6494 (exit $ac_status); } &&
6495 { ac_try
='test -z "$ac_c_werror_flag"
6496 || test ! -s conftest.err'
6497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); }; } &&
6502 { ac_try
='test -s conftest.$ac_objext'
6503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507 (exit $ac_status); }; }; then
6510 echo "$as_me: failed program was:" >&5
6511 sed 's/^/| /' conftest.
$ac_ext >&5
6513 ac_lo
=`expr '(' $ac_mid ')' + 1`
6515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6518 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
6519 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
6520 See \`config.log' for more details." >&5
6521 echo "$as_me: error: cannot compute sizeof (void *), 77
6522 See \`config.log' for more details." >&2;}
6523 { (exit 1); exit 1; }; } ;;
6526 if test "$cross_compiling" = yes; then
6527 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6528 See \`config.log' for more details." >&5
6529 echo "$as_me: error: cannot run test program while cross compiling
6530 See \`config.log' for more details." >&2;}
6531 { (exit 1); exit 1; }; }
6533 cat >conftest.
$ac_ext <<_ACEOF
6536 cat confdefs.h
>>conftest.
$ac_ext
6537 cat >>conftest.
$ac_ext <<_ACEOF
6538 /* end confdefs.h. */
6539 $ac_includes_default
6540 long longval () { return (long) (sizeof (void *)); }
6541 unsigned long ulongval () { return (long) (sizeof (void *)); }
6548 FILE *f = fopen ("conftest.val", "w");
6551 if (((long) (sizeof (void *))) < 0)
6553 long i = longval ();
6554 if (i != ((long) (sizeof (void *))))
6556 fprintf (f, "%ld\n", i);
6560 unsigned long i = ulongval ();
6561 if (i != ((long) (sizeof (void *))))
6563 fprintf (f, "%lu\n", i);
6565 exit (ferror (f) || fclose (f) != 0);
6571 rm -f conftest
$ac_exeext
6572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6573 (eval $ac_link) 2>&5
6575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6576 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581 (exit $ac_status); }; }; then
6582 ac_cv_sizeof_void_p
=`cat conftest.val`
6584 echo "$as_me: program exited with status $ac_status" >&5
6585 echo "$as_me: failed program was:" >&5
6586 sed 's/^/| /' conftest.
$ac_ext >&5
6589 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
6590 See \`config.log' for more details." >&5
6591 echo "$as_me: error: cannot compute sizeof (void *), 77
6592 See \`config.log' for more details." >&2;}
6593 { (exit 1); exit 1; }; }
6595 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6600 ac_cv_sizeof_void_p
=0
6603 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
6604 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
6605 cat >>confdefs.h
<<_ACEOF
6606 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
6612 # Lacking an uint64_t? Test size of long
6613 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
6614 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
6615 echo $ECHO_N "checking for long... $ECHO_C" >&6
6616 if test "${ac_cv_type_long+set}" = set; then
6617 echo $ECHO_N "(cached) $ECHO_C" >&6
6619 cat >conftest.
$ac_ext <<_ACEOF
6622 cat confdefs.h
>>conftest.
$ac_ext
6623 cat >>conftest.
$ac_ext <<_ACEOF
6624 /* end confdefs.h. */
6625 $ac_includes_default
6637 rm -f conftest.
$ac_objext
6638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6639 (eval $ac_compile) 2>conftest.er1
6641 grep -v '^ *+' conftest.er1
>conftest.err
6643 cat conftest.err
>&5
6644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6645 (exit $ac_status); } &&
6646 { ac_try
='test -z "$ac_c_werror_flag"
6647 || test ! -s conftest.err'
6648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652 (exit $ac_status); }; } &&
6653 { ac_try
='test -s conftest.$ac_objext'
6654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6658 (exit $ac_status); }; }; then
6661 echo "$as_me: failed program was:" >&5
6662 sed 's/^/| /' conftest.
$ac_ext >&5
6666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6668 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
6669 echo "${ECHO_T}$ac_cv_type_long" >&6
6671 echo "$as_me:$LINENO: checking size of long" >&5
6672 echo $ECHO_N "checking size of long... $ECHO_C" >&6
6673 if test "${ac_cv_sizeof_long+set}" = set; then
6674 echo $ECHO_N "(cached) $ECHO_C" >&6
6676 if test "$ac_cv_type_long" = yes; then
6677 # The cast to unsigned long works around a bug in the HP C Compiler
6678 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6679 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6680 # This bug is HP SR number 8606223364.
6681 if test "$cross_compiling" = yes; then
6682 # Depending upon the size, compute the lo and hi bounds.
6683 cat >conftest.
$ac_ext <<_ACEOF
6686 cat confdefs.h
>>conftest.
$ac_ext
6687 cat >>conftest.
$ac_ext <<_ACEOF
6688 /* end confdefs.h. */
6689 $ac_includes_default
6693 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
6700 rm -f conftest.
$ac_objext
6701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6702 (eval $ac_compile) 2>conftest.er1
6704 grep -v '^ *+' conftest.er1
>conftest.err
6706 cat conftest.err
>&5
6707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); } &&
6709 { ac_try
='test -z "$ac_c_werror_flag"
6710 || test ! -s conftest.err'
6711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6715 (exit $ac_status); }; } &&
6716 { ac_try
='test -s conftest.$ac_objext'
6717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721 (exit $ac_status); }; }; then
6724 cat >conftest.
$ac_ext <<_ACEOF
6727 cat confdefs.h
>>conftest.
$ac_ext
6728 cat >>conftest.
$ac_ext <<_ACEOF
6729 /* end confdefs.h. */
6730 $ac_includes_default
6734 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6741 rm -f conftest.
$ac_objext
6742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6743 (eval $ac_compile) 2>conftest.er1
6745 grep -v '^ *+' conftest.er1
>conftest.err
6747 cat conftest.err
>&5
6748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6749 (exit $ac_status); } &&
6750 { ac_try
='test -z "$ac_c_werror_flag"
6751 || test ! -s conftest.err'
6752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6756 (exit $ac_status); }; } &&
6757 { ac_try
='test -s conftest.$ac_objext'
6758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762 (exit $ac_status); }; }; then
6763 ac_hi
=$ac_mid; break
6765 echo "$as_me: failed program was:" >&5
6766 sed 's/^/| /' conftest.
$ac_ext >&5
6768 ac_lo
=`expr $ac_mid + 1`
6769 if test $ac_lo -le $ac_mid; then
6773 ac_mid
=`expr 2 '*' $ac_mid + 1`
6775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6778 echo "$as_me: failed program was:" >&5
6779 sed 's/^/| /' conftest.
$ac_ext >&5
6781 cat >conftest.
$ac_ext <<_ACEOF
6784 cat confdefs.h
>>conftest.
$ac_ext
6785 cat >>conftest.
$ac_ext <<_ACEOF
6786 /* end confdefs.h. */
6787 $ac_includes_default
6791 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
6798 rm -f conftest.
$ac_objext
6799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6800 (eval $ac_compile) 2>conftest.er1
6802 grep -v '^ *+' conftest.er1
>conftest.err
6804 cat conftest.err
>&5
6805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6806 (exit $ac_status); } &&
6807 { ac_try
='test -z "$ac_c_werror_flag"
6808 || test ! -s conftest.err'
6809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813 (exit $ac_status); }; } &&
6814 { ac_try
='test -s conftest.$ac_objext'
6815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819 (exit $ac_status); }; }; then
6822 cat >conftest.
$ac_ext <<_ACEOF
6825 cat confdefs.h
>>conftest.
$ac_ext
6826 cat >>conftest.
$ac_ext <<_ACEOF
6827 /* end confdefs.h. */
6828 $ac_includes_default
6832 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
6839 rm -f conftest.
$ac_objext
6840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6841 (eval $ac_compile) 2>conftest.er1
6843 grep -v '^ *+' conftest.er1
>conftest.err
6845 cat conftest.err
>&5
6846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847 (exit $ac_status); } &&
6848 { ac_try
='test -z "$ac_c_werror_flag"
6849 || test ! -s conftest.err'
6850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6854 (exit $ac_status); }; } &&
6855 { ac_try
='test -s conftest.$ac_objext'
6856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6860 (exit $ac_status); }; }; then
6861 ac_lo
=$ac_mid; break
6863 echo "$as_me: failed program was:" >&5
6864 sed 's/^/| /' conftest.
$ac_ext >&5
6866 ac_hi
=`expr '(' $ac_mid ')' - 1`
6867 if test $ac_mid -le $ac_hi; then
6871 ac_mid
=`expr 2 '*' $ac_mid`
6873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6876 echo "$as_me: failed program was:" >&5
6877 sed 's/^/| /' conftest.
$ac_ext >&5
6881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6884 # Binary search between lo and hi bounds.
6885 while test "x$ac_lo" != "x$ac_hi"; do
6886 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6887 cat >conftest.
$ac_ext <<_ACEOF
6890 cat confdefs.h
>>conftest.
$ac_ext
6891 cat >>conftest.
$ac_ext <<_ACEOF
6892 /* end confdefs.h. */
6893 $ac_includes_default
6897 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6904 rm -f conftest.
$ac_objext
6905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6906 (eval $ac_compile) 2>conftest.er1
6908 grep -v '^ *+' conftest.er1
>conftest.err
6910 cat conftest.err
>&5
6911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6912 (exit $ac_status); } &&
6913 { ac_try
='test -z "$ac_c_werror_flag"
6914 || test ! -s conftest.err'
6915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919 (exit $ac_status); }; } &&
6920 { ac_try
='test -s conftest.$ac_objext'
6921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925 (exit $ac_status); }; }; then
6928 echo "$as_me: failed program was:" >&5
6929 sed 's/^/| /' conftest.
$ac_ext >&5
6931 ac_lo
=`expr '(' $ac_mid ')' + 1`
6933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6936 ?
*) ac_cv_sizeof_long
=$ac_lo;;
6937 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
6938 See \`config.log' for more details." >&5
6939 echo "$as_me: error: cannot compute sizeof (long), 77
6940 See \`config.log' for more details." >&2;}
6941 { (exit 1); exit 1; }; } ;;
6944 if test "$cross_compiling" = yes; then
6945 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6946 See \`config.log' for more details." >&5
6947 echo "$as_me: error: cannot run test program while cross compiling
6948 See \`config.log' for more details." >&2;}
6949 { (exit 1); exit 1; }; }
6951 cat >conftest.
$ac_ext <<_ACEOF
6954 cat confdefs.h
>>conftest.
$ac_ext
6955 cat >>conftest.
$ac_ext <<_ACEOF
6956 /* end confdefs.h. */
6957 $ac_includes_default
6958 long longval () { return (long) (sizeof (long)); }
6959 unsigned long ulongval () { return (long) (sizeof (long)); }
6966 FILE *f = fopen ("conftest.val", "w");
6969 if (((long) (sizeof (long))) < 0)
6971 long i = longval ();
6972 if (i != ((long) (sizeof (long))))
6974 fprintf (f, "%ld\n", i);
6978 unsigned long i = ulongval ();
6979 if (i != ((long) (sizeof (long))))
6981 fprintf (f, "%lu\n", i);
6983 exit (ferror (f) || fclose (f) != 0);
6989 rm -f conftest
$ac_exeext
6990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6991 (eval $ac_link) 2>&5
6993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6994 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999 (exit $ac_status); }; }; then
7000 ac_cv_sizeof_long
=`cat conftest.val`
7002 echo "$as_me: program exited with status $ac_status" >&5
7003 echo "$as_me: failed program was:" >&5
7004 sed 's/^/| /' conftest.
$ac_ext >&5
7007 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7008 See \`config.log' for more details." >&5
7009 echo "$as_me: error: cannot compute sizeof (long), 77
7010 See \`config.log' for more details." >&2;}
7011 { (exit 1); exit 1; }; }
7013 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7021 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7022 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7023 cat >>confdefs.h
<<_ACEOF
7024 #define SIZEOF_LONG $ac_cv_sizeof_long
7030 if test $acx_cv_header_stdint = stddef.h
; then
7031 # Lacking a good header? Test size of everything and deduce all types.
7032 echo "$as_me:$LINENO: checking for int" >&5
7033 echo $ECHO_N "checking for int... $ECHO_C" >&6
7034 if test "${ac_cv_type_int+set}" = set; then
7035 echo $ECHO_N "(cached) $ECHO_C" >&6
7037 cat >conftest.
$ac_ext <<_ACEOF
7040 cat confdefs.h
>>conftest.
$ac_ext
7041 cat >>conftest.
$ac_ext <<_ACEOF
7042 /* end confdefs.h. */
7043 $ac_includes_default
7055 rm -f conftest.
$ac_objext
7056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7057 (eval $ac_compile) 2>conftest.er1
7059 grep -v '^ *+' conftest.er1
>conftest.err
7061 cat conftest.err
>&5
7062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063 (exit $ac_status); } &&
7064 { ac_try
='test -z "$ac_c_werror_flag"
7065 || test ! -s conftest.err'
7066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7070 (exit $ac_status); }; } &&
7071 { ac_try
='test -s conftest.$ac_objext'
7072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076 (exit $ac_status); }; }; then
7079 echo "$as_me: failed program was:" >&5
7080 sed 's/^/| /' conftest.
$ac_ext >&5
7084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7086 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
7087 echo "${ECHO_T}$ac_cv_type_int" >&6
7089 echo "$as_me:$LINENO: checking size of int" >&5
7090 echo $ECHO_N "checking size of int... $ECHO_C" >&6
7091 if test "${ac_cv_sizeof_int+set}" = set; then
7092 echo $ECHO_N "(cached) $ECHO_C" >&6
7094 if test "$ac_cv_type_int" = yes; then
7095 # The cast to unsigned long works around a bug in the HP C Compiler
7096 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7097 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7098 # This bug is HP SR number 8606223364.
7099 if test "$cross_compiling" = yes; then
7100 # Depending upon the size, compute the lo and hi bounds.
7101 cat >conftest.
$ac_ext <<_ACEOF
7104 cat confdefs.h
>>conftest.
$ac_ext
7105 cat >>conftest.
$ac_ext <<_ACEOF
7106 /* end confdefs.h. */
7107 $ac_includes_default
7111 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
7118 rm -f conftest.
$ac_objext
7119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7120 (eval $ac_compile) 2>conftest.er1
7122 grep -v '^ *+' conftest.er1
>conftest.err
7124 cat conftest.err
>&5
7125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7126 (exit $ac_status); } &&
7127 { ac_try
='test -z "$ac_c_werror_flag"
7128 || test ! -s conftest.err'
7129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7133 (exit $ac_status); }; } &&
7134 { ac_try
='test -s conftest.$ac_objext'
7135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7139 (exit $ac_status); }; }; then
7142 cat >conftest.
$ac_ext <<_ACEOF
7145 cat confdefs.h
>>conftest.
$ac_ext
7146 cat >>conftest.
$ac_ext <<_ACEOF
7147 /* end confdefs.h. */
7148 $ac_includes_default
7152 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
7159 rm -f conftest.
$ac_objext
7160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7161 (eval $ac_compile) 2>conftest.er1
7163 grep -v '^ *+' conftest.er1
>conftest.err
7165 cat conftest.err
>&5
7166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7167 (exit $ac_status); } &&
7168 { ac_try
='test -z "$ac_c_werror_flag"
7169 || test ! -s conftest.err'
7170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7174 (exit $ac_status); }; } &&
7175 { ac_try
='test -s conftest.$ac_objext'
7176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7180 (exit $ac_status); }; }; then
7181 ac_hi
=$ac_mid; break
7183 echo "$as_me: failed program was:" >&5
7184 sed 's/^/| /' conftest.
$ac_ext >&5
7186 ac_lo
=`expr $ac_mid + 1`
7187 if test $ac_lo -le $ac_mid; then
7191 ac_mid
=`expr 2 '*' $ac_mid + 1`
7193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7196 echo "$as_me: failed program was:" >&5
7197 sed 's/^/| /' conftest.
$ac_ext >&5
7199 cat >conftest.
$ac_ext <<_ACEOF
7202 cat confdefs.h
>>conftest.
$ac_ext
7203 cat >>conftest.
$ac_ext <<_ACEOF
7204 /* end confdefs.h. */
7205 $ac_includes_default
7209 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
7216 rm -f conftest.
$ac_objext
7217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7218 (eval $ac_compile) 2>conftest.er1
7220 grep -v '^ *+' conftest.er1
>conftest.err
7222 cat conftest.err
>&5
7223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224 (exit $ac_status); } &&
7225 { ac_try
='test -z "$ac_c_werror_flag"
7226 || test ! -s conftest.err'
7227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7231 (exit $ac_status); }; } &&
7232 { ac_try
='test -s conftest.$ac_objext'
7233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7237 (exit $ac_status); }; }; then
7240 cat >conftest.
$ac_ext <<_ACEOF
7243 cat confdefs.h
>>conftest.
$ac_ext
7244 cat >>conftest.
$ac_ext <<_ACEOF
7245 /* end confdefs.h. */
7246 $ac_includes_default
7250 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
7257 rm -f conftest.
$ac_objext
7258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7259 (eval $ac_compile) 2>conftest.er1
7261 grep -v '^ *+' conftest.er1
>conftest.err
7263 cat conftest.err
>&5
7264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7265 (exit $ac_status); } &&
7266 { ac_try
='test -z "$ac_c_werror_flag"
7267 || test ! -s conftest.err'
7268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); }; } &&
7273 { ac_try
='test -s conftest.$ac_objext'
7274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 (exit $ac_status); }; }; then
7279 ac_lo
=$ac_mid; break
7281 echo "$as_me: failed program was:" >&5
7282 sed 's/^/| /' conftest.
$ac_ext >&5
7284 ac_hi
=`expr '(' $ac_mid ')' - 1`
7285 if test $ac_mid -le $ac_hi; then
7289 ac_mid
=`expr 2 '*' $ac_mid`
7291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7294 echo "$as_me: failed program was:" >&5
7295 sed 's/^/| /' conftest.
$ac_ext >&5
7299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7302 # Binary search between lo and hi bounds.
7303 while test "x$ac_lo" != "x$ac_hi"; do
7304 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7305 cat >conftest.
$ac_ext <<_ACEOF
7308 cat confdefs.h
>>conftest.
$ac_ext
7309 cat >>conftest.
$ac_ext <<_ACEOF
7310 /* end confdefs.h. */
7311 $ac_includes_default
7315 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
7322 rm -f conftest.
$ac_objext
7323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7324 (eval $ac_compile) 2>conftest.er1
7326 grep -v '^ *+' conftest.er1
>conftest.err
7328 cat conftest.err
>&5
7329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330 (exit $ac_status); } &&
7331 { ac_try
='test -z "$ac_c_werror_flag"
7332 || test ! -s conftest.err'
7333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7337 (exit $ac_status); }; } &&
7338 { ac_try
='test -s conftest.$ac_objext'
7339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7343 (exit $ac_status); }; }; then
7346 echo "$as_me: failed program was:" >&5
7347 sed 's/^/| /' conftest.
$ac_ext >&5
7349 ac_lo
=`expr '(' $ac_mid ')' + 1`
7351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7354 ?
*) ac_cv_sizeof_int
=$ac_lo;;
7355 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
7356 See \`config.log' for more details." >&5
7357 echo "$as_me: error: cannot compute sizeof (int), 77
7358 See \`config.log' for more details." >&2;}
7359 { (exit 1); exit 1; }; } ;;
7362 if test "$cross_compiling" = yes; then
7363 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7364 See \`config.log' for more details." >&5
7365 echo "$as_me: error: cannot run test program while cross compiling
7366 See \`config.log' for more details." >&2;}
7367 { (exit 1); exit 1; }; }
7369 cat >conftest.
$ac_ext <<_ACEOF
7372 cat confdefs.h
>>conftest.
$ac_ext
7373 cat >>conftest.
$ac_ext <<_ACEOF
7374 /* end confdefs.h. */
7375 $ac_includes_default
7376 long longval () { return (long) (sizeof (int)); }
7377 unsigned long ulongval () { return (long) (sizeof (int)); }
7384 FILE *f = fopen ("conftest.val", "w");
7387 if (((long) (sizeof (int))) < 0)
7389 long i = longval ();
7390 if (i != ((long) (sizeof (int))))
7392 fprintf (f, "%ld\n", i);
7396 unsigned long i = ulongval ();
7397 if (i != ((long) (sizeof (int))))
7399 fprintf (f, "%lu\n", i);
7401 exit (ferror (f) || fclose (f) != 0);
7407 rm -f conftest
$ac_exeext
7408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7409 (eval $ac_link) 2>&5
7411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7412 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7417 (exit $ac_status); }; }; then
7418 ac_cv_sizeof_int
=`cat conftest.val`
7420 echo "$as_me: program exited with status $ac_status" >&5
7421 echo "$as_me: failed program was:" >&5
7422 sed 's/^/| /' conftest.
$ac_ext >&5
7425 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
7426 See \`config.log' for more details." >&5
7427 echo "$as_me: error: cannot compute sizeof (int), 77
7428 See \`config.log' for more details." >&2;}
7429 { (exit 1); exit 1; }; }
7431 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7439 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
7440 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
7441 cat >>confdefs.h
<<_ACEOF
7442 #define SIZEOF_INT $ac_cv_sizeof_int
7446 echo "$as_me:$LINENO: checking for short" >&5
7447 echo $ECHO_N "checking for short... $ECHO_C" >&6
7448 if test "${ac_cv_type_short+set}" = set; then
7449 echo $ECHO_N "(cached) $ECHO_C" >&6
7451 cat >conftest.
$ac_ext <<_ACEOF
7454 cat confdefs.h
>>conftest.
$ac_ext
7455 cat >>conftest.
$ac_ext <<_ACEOF
7456 /* end confdefs.h. */
7457 $ac_includes_default
7469 rm -f conftest.
$ac_objext
7470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7471 (eval $ac_compile) 2>conftest.er1
7473 grep -v '^ *+' conftest.er1
>conftest.err
7475 cat conftest.err
>&5
7476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7477 (exit $ac_status); } &&
7478 { ac_try
='test -z "$ac_c_werror_flag"
7479 || test ! -s conftest.err'
7480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7484 (exit $ac_status); }; } &&
7485 { ac_try
='test -s conftest.$ac_objext'
7486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7490 (exit $ac_status); }; }; then
7491 ac_cv_type_short
=yes
7493 echo "$as_me: failed program was:" >&5
7494 sed 's/^/| /' conftest.
$ac_ext >&5
7498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7500 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
7501 echo "${ECHO_T}$ac_cv_type_short" >&6
7503 echo "$as_me:$LINENO: checking size of short" >&5
7504 echo $ECHO_N "checking size of short... $ECHO_C" >&6
7505 if test "${ac_cv_sizeof_short+set}" = set; then
7506 echo $ECHO_N "(cached) $ECHO_C" >&6
7508 if test "$ac_cv_type_short" = yes; then
7509 # The cast to unsigned long works around a bug in the HP C Compiler
7510 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7511 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7512 # This bug is HP SR number 8606223364.
7513 if test "$cross_compiling" = yes; then
7514 # Depending upon the size, compute the lo and hi bounds.
7515 cat >conftest.
$ac_ext <<_ACEOF
7518 cat confdefs.h
>>conftest.
$ac_ext
7519 cat >>conftest.
$ac_ext <<_ACEOF
7520 /* end confdefs.h. */
7521 $ac_includes_default
7525 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
7532 rm -f conftest.
$ac_objext
7533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7534 (eval $ac_compile) 2>conftest.er1
7536 grep -v '^ *+' conftest.er1
>conftest.err
7538 cat conftest.err
>&5
7539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7540 (exit $ac_status); } &&
7541 { ac_try
='test -z "$ac_c_werror_flag"
7542 || test ! -s conftest.err'
7543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7547 (exit $ac_status); }; } &&
7548 { ac_try
='test -s conftest.$ac_objext'
7549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553 (exit $ac_status); }; }; then
7556 cat >conftest.
$ac_ext <<_ACEOF
7559 cat confdefs.h
>>conftest.
$ac_ext
7560 cat >>conftest.
$ac_ext <<_ACEOF
7561 /* end confdefs.h. */
7562 $ac_includes_default
7566 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
7573 rm -f conftest.
$ac_objext
7574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7575 (eval $ac_compile) 2>conftest.er1
7577 grep -v '^ *+' conftest.er1
>conftest.err
7579 cat conftest.err
>&5
7580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7581 (exit $ac_status); } &&
7582 { ac_try
='test -z "$ac_c_werror_flag"
7583 || test ! -s conftest.err'
7584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7588 (exit $ac_status); }; } &&
7589 { ac_try
='test -s conftest.$ac_objext'
7590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7594 (exit $ac_status); }; }; then
7595 ac_hi
=$ac_mid; break
7597 echo "$as_me: failed program was:" >&5
7598 sed 's/^/| /' conftest.
$ac_ext >&5
7600 ac_lo
=`expr $ac_mid + 1`
7601 if test $ac_lo -le $ac_mid; then
7605 ac_mid
=`expr 2 '*' $ac_mid + 1`
7607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7610 echo "$as_me: failed program was:" >&5
7611 sed 's/^/| /' conftest.
$ac_ext >&5
7613 cat >conftest.
$ac_ext <<_ACEOF
7616 cat confdefs.h
>>conftest.
$ac_ext
7617 cat >>conftest.
$ac_ext <<_ACEOF
7618 /* end confdefs.h. */
7619 $ac_includes_default
7623 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
7630 rm -f conftest.
$ac_objext
7631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7632 (eval $ac_compile) 2>conftest.er1
7634 grep -v '^ *+' conftest.er1
>conftest.err
7636 cat conftest.err
>&5
7637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7638 (exit $ac_status); } &&
7639 { ac_try
='test -z "$ac_c_werror_flag"
7640 || test ! -s conftest.err'
7641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7645 (exit $ac_status); }; } &&
7646 { ac_try
='test -s conftest.$ac_objext'
7647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7651 (exit $ac_status); }; }; then
7654 cat >conftest.
$ac_ext <<_ACEOF
7657 cat confdefs.h
>>conftest.
$ac_ext
7658 cat >>conftest.
$ac_ext <<_ACEOF
7659 /* end confdefs.h. */
7660 $ac_includes_default
7664 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
7671 rm -f conftest.
$ac_objext
7672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7673 (eval $ac_compile) 2>conftest.er1
7675 grep -v '^ *+' conftest.er1
>conftest.err
7677 cat conftest.err
>&5
7678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679 (exit $ac_status); } &&
7680 { ac_try
='test -z "$ac_c_werror_flag"
7681 || test ! -s conftest.err'
7682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7686 (exit $ac_status); }; } &&
7687 { ac_try
='test -s conftest.$ac_objext'
7688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7692 (exit $ac_status); }; }; then
7693 ac_lo
=$ac_mid; break
7695 echo "$as_me: failed program was:" >&5
7696 sed 's/^/| /' conftest.
$ac_ext >&5
7698 ac_hi
=`expr '(' $ac_mid ')' - 1`
7699 if test $ac_mid -le $ac_hi; then
7703 ac_mid
=`expr 2 '*' $ac_mid`
7705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7708 echo "$as_me: failed program was:" >&5
7709 sed 's/^/| /' conftest.
$ac_ext >&5
7713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7716 # Binary search between lo and hi bounds.
7717 while test "x$ac_lo" != "x$ac_hi"; do
7718 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7719 cat >conftest.
$ac_ext <<_ACEOF
7722 cat confdefs.h
>>conftest.
$ac_ext
7723 cat >>conftest.
$ac_ext <<_ACEOF
7724 /* end confdefs.h. */
7725 $ac_includes_default
7729 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
7736 rm -f conftest.
$ac_objext
7737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7738 (eval $ac_compile) 2>conftest.er1
7740 grep -v '^ *+' conftest.er1
>conftest.err
7742 cat conftest.err
>&5
7743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7744 (exit $ac_status); } &&
7745 { ac_try
='test -z "$ac_c_werror_flag"
7746 || test ! -s conftest.err'
7747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); }; } &&
7752 { ac_try
='test -s conftest.$ac_objext'
7753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7757 (exit $ac_status); }; }; then
7760 echo "$as_me: failed program was:" >&5
7761 sed 's/^/| /' conftest.
$ac_ext >&5
7763 ac_lo
=`expr '(' $ac_mid ')' + 1`
7765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7768 ?
*) ac_cv_sizeof_short
=$ac_lo;;
7769 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
7770 See \`config.log' for more details." >&5
7771 echo "$as_me: error: cannot compute sizeof (short), 77
7772 See \`config.log' for more details." >&2;}
7773 { (exit 1); exit 1; }; } ;;
7776 if test "$cross_compiling" = yes; then
7777 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7778 See \`config.log' for more details." >&5
7779 echo "$as_me: error: cannot run test program while cross compiling
7780 See \`config.log' for more details." >&2;}
7781 { (exit 1); exit 1; }; }
7783 cat >conftest.
$ac_ext <<_ACEOF
7786 cat confdefs.h
>>conftest.
$ac_ext
7787 cat >>conftest.
$ac_ext <<_ACEOF
7788 /* end confdefs.h. */
7789 $ac_includes_default
7790 long longval () { return (long) (sizeof (short)); }
7791 unsigned long ulongval () { return (long) (sizeof (short)); }
7798 FILE *f = fopen ("conftest.val", "w");
7801 if (((long) (sizeof (short))) < 0)
7803 long i = longval ();
7804 if (i != ((long) (sizeof (short))))
7806 fprintf (f, "%ld\n", i);
7810 unsigned long i = ulongval ();
7811 if (i != ((long) (sizeof (short))))
7813 fprintf (f, "%lu\n", i);
7815 exit (ferror (f) || fclose (f) != 0);
7821 rm -f conftest
$ac_exeext
7822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7823 (eval $ac_link) 2>&5
7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7831 (exit $ac_status); }; }; then
7832 ac_cv_sizeof_short
=`cat conftest.val`
7834 echo "$as_me: program exited with status $ac_status" >&5
7835 echo "$as_me: failed program was:" >&5
7836 sed 's/^/| /' conftest.
$ac_ext >&5
7839 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
7840 See \`config.log' for more details." >&5
7841 echo "$as_me: error: cannot compute sizeof (short), 77
7842 See \`config.log' for more details." >&2;}
7843 { (exit 1); exit 1; }; }
7845 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7850 ac_cv_sizeof_short
=0
7853 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
7854 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
7855 cat >>confdefs.h
<<_ACEOF
7856 #define SIZEOF_SHORT $ac_cv_sizeof_short
7860 echo "$as_me:$LINENO: checking for char" >&5
7861 echo $ECHO_N "checking for char... $ECHO_C" >&6
7862 if test "${ac_cv_type_char+set}" = set; then
7863 echo $ECHO_N "(cached) $ECHO_C" >&6
7865 cat >conftest.
$ac_ext <<_ACEOF
7868 cat confdefs.h
>>conftest.
$ac_ext
7869 cat >>conftest.
$ac_ext <<_ACEOF
7870 /* end confdefs.h. */
7871 $ac_includes_default
7883 rm -f conftest.
$ac_objext
7884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7885 (eval $ac_compile) 2>conftest.er1
7887 grep -v '^ *+' conftest.er1
>conftest.err
7889 cat conftest.err
>&5
7890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7891 (exit $ac_status); } &&
7892 { ac_try
='test -z "$ac_c_werror_flag"
7893 || test ! -s conftest.err'
7894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7898 (exit $ac_status); }; } &&
7899 { ac_try
='test -s conftest.$ac_objext'
7900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7904 (exit $ac_status); }; }; then
7907 echo "$as_me: failed program was:" >&5
7908 sed 's/^/| /' conftest.
$ac_ext >&5
7912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7914 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
7915 echo "${ECHO_T}$ac_cv_type_char" >&6
7917 echo "$as_me:$LINENO: checking size of char" >&5
7918 echo $ECHO_N "checking size of char... $ECHO_C" >&6
7919 if test "${ac_cv_sizeof_char+set}" = set; then
7920 echo $ECHO_N "(cached) $ECHO_C" >&6
7922 if test "$ac_cv_type_char" = yes; then
7923 # The cast to unsigned long works around a bug in the HP C Compiler
7924 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7925 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7926 # This bug is HP SR number 8606223364.
7927 if test "$cross_compiling" = yes; then
7928 # Depending upon the size, compute the lo and hi bounds.
7929 cat >conftest.
$ac_ext <<_ACEOF
7932 cat confdefs.h
>>conftest.
$ac_ext
7933 cat >>conftest.
$ac_ext <<_ACEOF
7934 /* end confdefs.h. */
7935 $ac_includes_default
7939 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
7946 rm -f conftest.
$ac_objext
7947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7948 (eval $ac_compile) 2>conftest.er1
7950 grep -v '^ *+' conftest.er1
>conftest.err
7952 cat conftest.err
>&5
7953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7954 (exit $ac_status); } &&
7955 { ac_try
='test -z "$ac_c_werror_flag"
7956 || test ! -s conftest.err'
7957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7961 (exit $ac_status); }; } &&
7962 { ac_try
='test -s conftest.$ac_objext'
7963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7967 (exit $ac_status); }; }; then
7970 cat >conftest.
$ac_ext <<_ACEOF
7973 cat confdefs.h
>>conftest.
$ac_ext
7974 cat >>conftest.
$ac_ext <<_ACEOF
7975 /* end confdefs.h. */
7976 $ac_includes_default
7980 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
7987 rm -f conftest.
$ac_objext
7988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7989 (eval $ac_compile) 2>conftest.er1
7991 grep -v '^ *+' conftest.er1
>conftest.err
7993 cat conftest.err
>&5
7994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7995 (exit $ac_status); } &&
7996 { ac_try
='test -z "$ac_c_werror_flag"
7997 || test ! -s conftest.err'
7998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8002 (exit $ac_status); }; } &&
8003 { ac_try
='test -s conftest.$ac_objext'
8004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8008 (exit $ac_status); }; }; then
8009 ac_hi
=$ac_mid; break
8011 echo "$as_me: failed program was:" >&5
8012 sed 's/^/| /' conftest.
$ac_ext >&5
8014 ac_lo
=`expr $ac_mid + 1`
8015 if test $ac_lo -le $ac_mid; then
8019 ac_mid
=`expr 2 '*' $ac_mid + 1`
8021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8024 echo "$as_me: failed program was:" >&5
8025 sed 's/^/| /' conftest.
$ac_ext >&5
8027 cat >conftest.
$ac_ext <<_ACEOF
8030 cat confdefs.h
>>conftest.
$ac_ext
8031 cat >>conftest.
$ac_ext <<_ACEOF
8032 /* end confdefs.h. */
8033 $ac_includes_default
8037 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
8044 rm -f conftest.
$ac_objext
8045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8046 (eval $ac_compile) 2>conftest.er1
8048 grep -v '^ *+' conftest.er1
>conftest.err
8050 cat conftest.err
>&5
8051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8052 (exit $ac_status); } &&
8053 { ac_try
='test -z "$ac_c_werror_flag"
8054 || test ! -s conftest.err'
8055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8059 (exit $ac_status); }; } &&
8060 { ac_try
='test -s conftest.$ac_objext'
8061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8065 (exit $ac_status); }; }; then
8068 cat >conftest.
$ac_ext <<_ACEOF
8071 cat confdefs.h
>>conftest.
$ac_ext
8072 cat >>conftest.
$ac_ext <<_ACEOF
8073 /* end confdefs.h. */
8074 $ac_includes_default
8078 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
8085 rm -f conftest.
$ac_objext
8086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8087 (eval $ac_compile) 2>conftest.er1
8089 grep -v '^ *+' conftest.er1
>conftest.err
8091 cat conftest.err
>&5
8092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8093 (exit $ac_status); } &&
8094 { ac_try
='test -z "$ac_c_werror_flag"
8095 || test ! -s conftest.err'
8096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8100 (exit $ac_status); }; } &&
8101 { ac_try
='test -s conftest.$ac_objext'
8102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8106 (exit $ac_status); }; }; then
8107 ac_lo
=$ac_mid; break
8109 echo "$as_me: failed program was:" >&5
8110 sed 's/^/| /' conftest.
$ac_ext >&5
8112 ac_hi
=`expr '(' $ac_mid ')' - 1`
8113 if test $ac_mid -le $ac_hi; then
8117 ac_mid
=`expr 2 '*' $ac_mid`
8119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8122 echo "$as_me: failed program was:" >&5
8123 sed 's/^/| /' conftest.
$ac_ext >&5
8127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8130 # Binary search between lo and hi bounds.
8131 while test "x$ac_lo" != "x$ac_hi"; do
8132 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8133 cat >conftest.
$ac_ext <<_ACEOF
8136 cat confdefs.h
>>conftest.
$ac_ext
8137 cat >>conftest.
$ac_ext <<_ACEOF
8138 /* end confdefs.h. */
8139 $ac_includes_default
8143 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
8150 rm -f conftest.
$ac_objext
8151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8152 (eval $ac_compile) 2>conftest.er1
8154 grep -v '^ *+' conftest.er1
>conftest.err
8156 cat conftest.err
>&5
8157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8158 (exit $ac_status); } &&
8159 { ac_try
='test -z "$ac_c_werror_flag"
8160 || test ! -s conftest.err'
8161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165 (exit $ac_status); }; } &&
8166 { ac_try
='test -s conftest.$ac_objext'
8167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8171 (exit $ac_status); }; }; then
8174 echo "$as_me: failed program was:" >&5
8175 sed 's/^/| /' conftest.
$ac_ext >&5
8177 ac_lo
=`expr '(' $ac_mid ')' + 1`
8179 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8182 ?
*) ac_cv_sizeof_char
=$ac_lo;;
8183 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
8184 See \`config.log' for more details." >&5
8185 echo "$as_me: error: cannot compute sizeof (char), 77
8186 See \`config.log' for more details." >&2;}
8187 { (exit 1); exit 1; }; } ;;
8190 if test "$cross_compiling" = yes; then
8191 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8192 See \`config.log' for more details." >&5
8193 echo "$as_me: error: cannot run test program while cross compiling
8194 See \`config.log' for more details." >&2;}
8195 { (exit 1); exit 1; }; }
8197 cat >conftest.
$ac_ext <<_ACEOF
8200 cat confdefs.h
>>conftest.
$ac_ext
8201 cat >>conftest.
$ac_ext <<_ACEOF
8202 /* end confdefs.h. */
8203 $ac_includes_default
8204 long longval () { return (long) (sizeof (char)); }
8205 unsigned long ulongval () { return (long) (sizeof (char)); }
8212 FILE *f = fopen ("conftest.val", "w");
8215 if (((long) (sizeof (char))) < 0)
8217 long i = longval ();
8218 if (i != ((long) (sizeof (char))))
8220 fprintf (f, "%ld\n", i);
8224 unsigned long i = ulongval ();
8225 if (i != ((long) (sizeof (char))))
8227 fprintf (f, "%lu\n", i);
8229 exit (ferror (f) || fclose (f) != 0);
8235 rm -f conftest
$ac_exeext
8236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8237 (eval $ac_link) 2>&5
8239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8240 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8245 (exit $ac_status); }; }; then
8246 ac_cv_sizeof_char
=`cat conftest.val`
8248 echo "$as_me: program exited with status $ac_status" >&5
8249 echo "$as_me: failed program was:" >&5
8250 sed 's/^/| /' conftest.
$ac_ext >&5
8253 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
8254 See \`config.log' for more details." >&5
8255 echo "$as_me: error: cannot compute sizeof (char), 77
8256 See \`config.log' for more details." >&2;}
8257 { (exit 1); exit 1; }; }
8259 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8267 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
8268 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
8269 cat >>confdefs.h
<<_ACEOF
8270 #define SIZEOF_CHAR $ac_cv_sizeof_char
8275 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
8276 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
8277 case "$ac_cv_sizeof_char" in
8278 1) acx_cv_type_int8_t
=char
;;
8279 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
8280 echo "$as_me: error: no 8-bit type" >&2;}
8281 { (exit please report a bug
); exit please report a bug
; }; }
8283 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
8284 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
8286 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
8287 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
8288 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
8289 2:*) acx_cv_type_int16_t
=int
;;
8290 *:2) acx_cv_type_int16_t
=short
;;
8291 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
8292 echo "$as_me: error: no 16-bit type" >&2;}
8293 { (exit please report a bug
); exit please report a bug
; }; }
8295 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
8296 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
8298 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
8299 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
8300 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
8301 4:*) acx_cv_type_int32_t
=int
;;
8302 *:4) acx_cv_type_int32_t
=long
;;
8303 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
8304 echo "$as_me: error: no 32-bit type" >&2;}
8305 { (exit please report a bug
); exit please report a bug
; }; }
8307 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
8308 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
8311 # These tests are here to make the output prettier
8313 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
8314 case "$ac_cv_sizeof_long" in
8315 8) acx_cv_type_int64_t
=long
;;
8317 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
8318 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
8319 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
8320 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
8323 # Now we can use the above types
8325 if test "$ac_cv_type_uintptr_t" != yes; then
8326 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
8327 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
8328 case $ac_cv_sizeof_void_p in
8329 2) acx_cv_type_intptr_t
=int16_t
;;
8330 4) acx_cv_type_intptr_t
=int32_t
;;
8331 8) acx_cv_type_intptr_t
=int64_t
;;
8332 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
8333 echo "$as_me: error: no equivalent for intptr_t" >&2;}
8334 { (exit please report a bug
); exit please report a bug
; }; }
8336 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
8337 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
8340 # ----------------- done all checks, emit header -------------
8341 ac_config_commands
="$ac_config_commands gstdint.h"
8346 # Check to see if -pthread or -lpthread is needed. Prefer the former.
8347 # In case the pthread.h system header is not found, this test will fail.
8350 # Darwin doesn't need the -pthread option since threads are in libSystem
8351 cat >conftest.
$ac_ext <<_ACEOF
8354 cat confdefs.h
>>conftest.
$ac_ext
8355 cat >>conftest.
$ac_ext <<_ACEOF
8356 /* end confdefs.h. */
8357 #include <pthread.h>
8358 void *g(void *d) { return NULL; }
8362 pthread_t t; pthread_create(&t,NULL,g,NULL);
8367 rm -f conftest.
$ac_objext conftest
$ac_exeext
8368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8369 (eval $ac_link) 2>conftest.er1
8371 grep -v '^ *+' conftest.er1
>conftest.err
8373 cat conftest.err
>&5
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 (exit $ac_status); } &&
8376 { ac_try
='test -z "$ac_c_werror_flag"
8377 || test ! -s conftest.err'
8378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382 (exit $ac_status); }; } &&
8383 { ac_try
='test -s conftest$ac_exeext'
8384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8388 (exit $ac_status); }; }; then
8393 XPCFLAGS
=" -Wc,-pthread"
8397 echo "$as_me: failed program was:" >&5
8398 sed 's/^/| /' conftest.
$ac_ext >&5
8400 CFLAGS
="$save_CFLAGS" LIBS
="-lpthread $LIBS"
8401 cat >conftest.
$ac_ext <<_ACEOF
8404 cat confdefs.h
>>conftest.
$ac_ext
8405 cat >>conftest.
$ac_ext <<_ACEOF
8406 /* end confdefs.h. */
8407 #include <pthread.h>
8408 void *g(void *d) { return NULL; }
8412 pthread_t t; pthread_create(&t,NULL,g,NULL);
8417 rm -f conftest.
$ac_objext conftest
$ac_exeext
8418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8419 (eval $ac_link) 2>conftest.er1
8421 grep -v '^ *+' conftest.er1
>conftest.err
8423 cat conftest.err
>&5
8424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8425 (exit $ac_status); } &&
8426 { ac_try
='test -z "$ac_c_werror_flag"
8427 || test ! -s conftest.err'
8428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8432 (exit $ac_status); }; } &&
8433 { ac_try
='test -s conftest$ac_exeext'
8434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8438 (exit $ac_status); }; }; then
8441 echo "$as_me: failed program was:" >&5
8442 sed 's/^/| /' conftest.
$ac_ext >&5
8444 { { echo "$as_me:$LINENO: error: Pthreads are required to build libgomp" >&5
8445 echo "$as_me: error: Pthreads are required to build libgomp" >&2;}
8446 { (exit 1); exit 1; }; }
8448 rm -f conftest.err conftest.
$ac_objext \
8449 conftest
$ac_exeext conftest.
$ac_ext
8451 rm -f conftest.err conftest.
$ac_objext \
8452 conftest
$ac_exeext conftest.
$ac_ext
8454 # Check for functions needed.
8457 for ac_func
in getloadavg clock_gettime
8459 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8460 echo "$as_me:$LINENO: checking for $ac_func" >&5
8461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8462 if eval "test \"\${$as_ac_var+set}\" = set"; then
8463 echo $ECHO_N "(cached) $ECHO_C" >&6
8465 cat >conftest.
$ac_ext <<_ACEOF
8468 cat confdefs.h
>>conftest.
$ac_ext
8469 cat >>conftest.
$ac_ext <<_ACEOF
8470 /* end confdefs.h. */
8471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8473 #define $ac_func innocuous_$ac_func
8475 /* System header to define __stub macros and hopefully few prototypes,
8476 which can conflict with char $ac_func (); below.
8477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8478 <limits.h> exists even on freestanding compilers. */
8481 # include <limits.h>
8483 # include <assert.h>
8488 /* Override any gcc2 internal prototype to avoid an error. */
8493 /* We use char because int might match the return type of a gcc2
8494 builtin and then its argument prototype would still apply. */
8496 /* The GNU C library defines this for functions which it implements
8497 to always fail with ENOSYS. Some functions are actually named
8498 something starting with __ and the normal name is an alias. */
8499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8502 char (*f) () = $ac_func;
8511 return f != $ac_func;
8516 rm -f conftest.
$ac_objext conftest
$ac_exeext
8517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8518 (eval $ac_link) 2>conftest.er1
8520 grep -v '^ *+' conftest.er1
>conftest.err
8522 cat conftest.err
>&5
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); } &&
8525 { ac_try
='test -z "$ac_c_werror_flag"
8526 || test ! -s conftest.err'
8527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8531 (exit $ac_status); }; } &&
8532 { ac_try
='test -s conftest$ac_exeext'
8533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537 (exit $ac_status); }; }; then
8538 eval "$as_ac_var=yes"
8540 echo "$as_me: failed program was:" >&5
8541 sed 's/^/| /' conftest.
$ac_ext >&5
8543 eval "$as_ac_var=no"
8545 rm -f conftest.err conftest.
$ac_objext \
8546 conftest
$ac_exeext conftest.
$ac_ext
8548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8550 if test `eval echo '${'$as_ac_var'}'` = yes; then
8551 cat >>confdefs.h
<<_ACEOF
8552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8559 # Check for broken semaphore implementation on darwin.
8560 # sem_init returns: sem_init error: Function not implemented.
8564 cat >>confdefs.h
<<\_ACEOF
8565 #define HAVE_BROKEN_POSIX_SEMAPHORES 1
8570 case "$enable_linux_futex" in
8572 # If headers don't have gettid/futex syscalls definition, then
8573 # default to no, otherwise there will be compile time failures.
8574 # Otherwise, default to yes. If we don't detect we are
8575 # compiled/linked against NPTL and not cross-compiling, check
8576 # if programs are run by default against NPTL and if not, issue
8578 enable_linux_futex
=no
8579 cat >conftest.
$ac_ext <<_ACEOF
8582 cat confdefs.h
>>conftest.
$ac_ext
8583 cat >>conftest.
$ac_ext <<_ACEOF
8584 /* end confdefs.h. */
8585 #include <sys/syscall.h>
8590 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
8595 rm -f conftest.
$ac_objext conftest
$ac_exeext
8596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8597 (eval $ac_link) 2>conftest.er1
8599 grep -v '^ *+' conftest.er1
>conftest.err
8601 cat conftest.err
>&5
8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 (exit $ac_status); } &&
8604 { ac_try
='test -z "$ac_c_werror_flag"
8605 || test ! -s conftest.err'
8606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 (exit $ac_status); }; } &&
8611 { ac_try
='test -s conftest$ac_exeext'
8612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8616 (exit $ac_status); }; }; then
8617 cat >conftest.
$ac_ext <<_ACEOF
8620 cat confdefs.h
>>conftest.
$ac_ext
8621 cat >>conftest.
$ac_ext <<_ACEOF
8622 /* end confdefs.h. */
8624 #define _GNU_SOURCE 1
8626 #include <pthread.h>
8627 pthread_t th; void *status;
8631 pthread_tryjoin_np (th, &status);
8636 rm -f conftest.
$ac_objext conftest
$ac_exeext
8637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8638 (eval $ac_link) 2>conftest.er1
8640 grep -v '^ *+' conftest.er1
>conftest.err
8642 cat conftest.err
>&5
8643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8644 (exit $ac_status); } &&
8645 { ac_try
='test -z "$ac_c_werror_flag"
8646 || test ! -s conftest.err'
8647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8651 (exit $ac_status); }; } &&
8652 { ac_try
='test -s conftest$ac_exeext'
8653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8657 (exit $ac_status); }; }; then
8658 enable_linux_futex
=yes
8660 echo "$as_me: failed program was:" >&5
8661 sed 's/^/| /' conftest.
$ac_ext >&5
8663 if test x
$cross_compiling = xno
; then
8664 if getconf GNU_LIBPTHREAD_VERSION
2>/dev
/null \
8665 | LC_ALL
=C
grep -i NPTL
> /dev
/null
2>/dev
/null
; then
8666 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
8667 If so, please configure with --disable-linux-futex" >&5
8668 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
8669 If so, please configure with --disable-linux-futex" >&2;}
8672 enable_linux_futex
=yes
8674 rm -f conftest.err conftest.
$ac_objext \
8675 conftest
$ac_exeext conftest.
$ac_ext
8677 echo "$as_me: failed program was:" >&5
8678 sed 's/^/| /' conftest.
$ac_ext >&5
8681 rm -f conftest.err conftest.
$ac_objext \
8682 conftest
$ac_exeext conftest.
$ac_ext
8685 cat >conftest.
$ac_ext <<_ACEOF
8688 cat confdefs.h
>>conftest.
$ac_ext
8689 cat >>conftest.
$ac_ext <<_ACEOF
8690 /* end confdefs.h. */
8691 #include <sys/syscall.h>
8696 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
8701 rm -f conftest.
$ac_objext conftest
$ac_exeext
8702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8703 (eval $ac_link) 2>conftest.er1
8705 grep -v '^ *+' conftest.er1
>conftest.err
8707 cat conftest.err
>&5
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); } &&
8710 { ac_try
='test -z "$ac_c_werror_flag"
8711 || test ! -s conftest.err'
8712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); }; } &&
8717 { ac_try
='test -s conftest$ac_exeext'
8718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722 (exit $ac_status); }; }; then
8725 echo "$as_me: failed program was:" >&5
8726 sed 's/^/| /' conftest.
$ac_ext >&5
8728 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
8729 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
8730 { (exit 1); exit 1; }; }
8732 rm -f conftest.err conftest.
$ac_objext \
8733 conftest
$ac_exeext conftest.
$ac_ext
8739 # At least for glibc, clock_gettime is in librt. But don't pull that
8740 # in if it still doesn't give us the function we want.
8741 if test $ac_cv_func_clock_gettime = no
; then
8742 echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
8743 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
8744 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
8745 echo $ECHO_N "(cached) $ECHO_C" >&6
8747 ac_check_lib_save_LIBS
=$LIBS
8749 cat >conftest.
$ac_ext <<_ACEOF
8752 cat confdefs.h
>>conftest.
$ac_ext
8753 cat >>conftest.
$ac_ext <<_ACEOF
8754 /* end confdefs.h. */
8756 /* Override any gcc2 internal prototype to avoid an error. */
8760 /* We use char because int might match the return type of a gcc2
8761 builtin and then its argument prototype would still apply. */
8762 char clock_gettime ();
8771 rm -f conftest.
$ac_objext conftest
$ac_exeext
8772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8773 (eval $ac_link) 2>conftest.er1
8775 grep -v '^ *+' conftest.er1
>conftest.err
8777 cat conftest.err
>&5
8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8779 (exit $ac_status); } &&
8780 { ac_try
='test -z "$ac_c_werror_flag"
8781 || test ! -s conftest.err'
8782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786 (exit $ac_status); }; } &&
8787 { ac_try
='test -s conftest$ac_exeext'
8788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8792 (exit $ac_status); }; }; then
8793 ac_cv_lib_rt_clock_gettime
=yes
8795 echo "$as_me: failed program was:" >&5
8796 sed 's/^/| /' conftest.
$ac_ext >&5
8798 ac_cv_lib_rt_clock_gettime
=no
8800 rm -f conftest.err conftest.
$ac_objext \
8801 conftest
$ac_exeext conftest.
$ac_ext
8802 LIBS
=$ac_check_lib_save_LIBS
8804 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
8805 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
8806 if test $ac_cv_lib_rt_clock_gettime = yes; then
8809 cat >>confdefs.h
<<\_ACEOF
8810 #define HAVE_CLOCK_GETTIME 1
8817 # See if we support thread-local storage.
8819 # Check whether --enable-tls or --disable-tls was given.
8820 if test "${enable_tls+set}" = set; then
8821 enableval
="$enable_tls"
8823 case "$enableval" in
8825 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
8826 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
8827 { (exit 1); exit 1; }; } ;;
8834 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
8835 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
8836 if test "${have_tls+set}" = set; then
8837 echo $ECHO_N "(cached) $ECHO_C" >&6
8840 if test "$cross_compiling" = yes; then
8841 cat >conftest.
$ac_ext <<_ACEOF
8844 rm -f conftest.
$ac_objext
8845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8846 (eval $ac_compile) 2>conftest.er1
8848 grep -v '^ *+' conftest.er1
>conftest.err
8850 cat conftest.err
>&5
8851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8852 (exit $ac_status); } &&
8853 { ac_try
='test -z "$ac_c_werror_flag"
8854 || test ! -s conftest.err'
8855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8859 (exit $ac_status); }; } &&
8860 { ac_try
='test -s conftest.$ac_objext'
8861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865 (exit $ac_status); }; }; then
8868 echo "$as_me: failed program was:" >&5
8869 sed 's/^/| /' conftest.
$ac_ext >&5
8873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8876 cat >conftest.
$ac_ext <<_ACEOF
8877 __thread int a; int b; int main() { return a = b; }
8879 rm -f conftest
$ac_exeext
8880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8881 (eval $ac_link) 2>&5
8883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8884 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8889 (exit $ac_status); }; }; then
8890 save_LDFLAGS
="$LDFLAGS"
8891 LDFLAGS
="-static $LDFLAGS"
8892 if test "$cross_compiling" = yes; then
8893 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8894 See \`config.log' for more details." >&5
8895 echo "$as_me: error: cannot run test program while cross compiling
8896 See \`config.log' for more details." >&2;}
8897 { (exit 1); exit 1; }; }
8899 cat >conftest.
$ac_ext <<_ACEOF
8900 __thread int a; int b; int main() { return a = b; }
8902 rm -f conftest
$ac_exeext
8903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8904 (eval $ac_link) 2>&5
8906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8912 (exit $ac_status); }; }; then
8915 echo "$as_me: program exited with status $ac_status" >&5
8916 echo "$as_me: failed program was:" >&5
8917 sed 's/^/| /' conftest.
$ac_ext >&5
8922 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8924 LDFLAGS
="$save_LDFLAGS"
8926 echo "$as_me: program exited with status $ac_status" >&5
8927 echo "$as_me: failed program was:" >&5
8928 sed 's/^/| /' conftest.
$ac_ext >&5
8933 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8936 echo "$as_me:$LINENO: result: $have_tls" >&5
8937 echo "${ECHO_T}$have_tls" >&6
8938 if test "$enable_tls $have_tls" = "yes yes"; then
8940 cat >>confdefs.h
<<\_ACEOF
8946 # See what sort of export controls are availible.
8948 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
8949 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
8950 if test "${have_attribute_visibility+set}" = set; then
8951 echo $ECHO_N "(cached) $ECHO_C" >&6
8954 save_CFLAGS
="$CFLAGS"
8955 CFLAGS
="$CFLAGS -Werror"
8956 cat >conftest.
$ac_ext <<_ACEOF
8959 cat confdefs.h
>>conftest.
$ac_ext
8960 cat >>conftest.
$ac_ext <<_ACEOF
8961 /* end confdefs.h. */
8962 void __attribute__((visibility("hidden"))) foo(void) { }
8971 rm -f conftest.
$ac_objext
8972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8973 (eval $ac_compile) 2>conftest.er1
8975 grep -v '^ *+' conftest.er1
>conftest.err
8977 cat conftest.err
>&5
8978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979 (exit $ac_status); } &&
8980 { ac_try
='test -z "$ac_c_werror_flag"
8981 || test ! -s conftest.err'
8982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8986 (exit $ac_status); }; } &&
8987 { ac_try
='test -s conftest.$ac_objext'
8988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8992 (exit $ac_status); }; }; then
8993 have_attribute_visibility
=yes
8995 echo "$as_me: failed program was:" >&5
8996 sed 's/^/| /' conftest.
$ac_ext >&5
8998 have_attribute_visibility
=no
9000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9001 CFLAGS
="$save_CFLAGS"
9003 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
9004 echo "${ECHO_T}$have_attribute_visibility" >&6
9005 if test $have_attribute_visibility = yes; then
9007 cat >>confdefs.h
<<\_ACEOF
9008 #define HAVE_ATTRIBUTE_VISIBILITY 1
9013 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
9014 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
9015 if test "${have_attribute_dllexport+set}" = set; then
9016 echo $ECHO_N "(cached) $ECHO_C" >&6
9019 save_CFLAGS
="$CFLAGS"
9020 CFLAGS
="$CFLAGS -Werror"
9021 cat >conftest.
$ac_ext <<_ACEOF
9024 cat confdefs.h
>>conftest.
$ac_ext
9025 cat >>conftest.
$ac_ext <<_ACEOF
9026 /* end confdefs.h. */
9027 void __attribute__((dllexport)) foo(void) { }
9036 rm -f conftest.
$ac_objext
9037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9038 (eval $ac_compile) 2>conftest.er1
9040 grep -v '^ *+' conftest.er1
>conftest.err
9042 cat conftest.err
>&5
9043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9044 (exit $ac_status); } &&
9045 { ac_try
='test -z "$ac_c_werror_flag"
9046 || test ! -s conftest.err'
9047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9051 (exit $ac_status); }; } &&
9052 { ac_try
='test -s conftest.$ac_objext'
9053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9057 (exit $ac_status); }; }; then
9058 have_attribute_dllexport
=yes
9060 echo "$as_me: failed program was:" >&5
9061 sed 's/^/| /' conftest.
$ac_ext >&5
9063 have_attribute_dllexport
=no
9065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9066 CFLAGS
="$save_CFLAGS"
9068 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
9069 echo "${ECHO_T}$have_attribute_dllexport" >&6
9070 if test $have_attribute_dllexport = yes; then
9072 cat >>confdefs.h
<<\_ACEOF
9073 #define HAVE_ATTRIBUTE_DLLEXPORT 1
9078 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
9079 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
9080 if test "${have_attribute_alias+set}" = set; then
9081 echo $ECHO_N "(cached) $ECHO_C" >&6
9084 cat >conftest.
$ac_ext <<_ACEOF
9087 cat confdefs.h
>>conftest.
$ac_ext
9088 cat >>conftest.
$ac_ext <<_ACEOF
9089 /* end confdefs.h. */
9091 #define ULP STR1(__USER_LABEL_PREFIX__)
9092 #define STR1(x) STR2(x)
9095 extern void bar(void) __attribute__((alias(ULP "foo")));
9104 rm -f conftest.
$ac_objext conftest
$ac_exeext
9105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9106 (eval $ac_link) 2>conftest.er1
9108 grep -v '^ *+' conftest.er1
>conftest.err
9110 cat conftest.err
>&5
9111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9112 (exit $ac_status); } &&
9113 { ac_try
='test -z "$ac_c_werror_flag"
9114 || test ! -s conftest.err'
9115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119 (exit $ac_status); }; } &&
9120 { ac_try
='test -s conftest$ac_exeext'
9121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125 (exit $ac_status); }; }; then
9126 have_attribute_alias
=yes
9128 echo "$as_me: failed program was:" >&5
9129 sed 's/^/| /' conftest.
$ac_ext >&5
9131 have_attribute_alias
=no
9133 rm -f conftest.err conftest.
$ac_objext \
9134 conftest
$ac_exeext conftest.
$ac_ext
9136 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
9137 echo "${ECHO_T}$have_attribute_alias" >&6
9138 if test $have_attribute_alias = yes; then
9140 cat >>confdefs.h
<<\_ACEOF
9141 #define HAVE_ATTRIBUTE_ALIAS 1
9146 # If we're not using GNU ld, then there's no point in even trying these
9147 # tests. Check for that first. We should have already tested for gld
9148 # by now (in libtool), but require it now just to be safe...
9149 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
9150 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
9154 # The name set by libtool depends on the version of libtool. Shame on us
9155 # for depending on an impl detail, but c'est la vie. Older versions used
9156 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9157 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9158 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9159 # set (hence we're using an older libtool), then set it.
9160 if test x
${with_gnu_ld+set} != xset
; then
9161 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
9162 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9165 with_gnu_ld
=$ac_cv_prog_gnu_ld
9169 # Start by getting the version number. I think the libtool test already
9170 # does some of this, but throws away the result.
9172 ldver
=`$LD --version 2>/dev/null | head -1 | \
9173 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9175 libgomp_gnu_ld_version
=`echo $ldver | \
9176 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9178 # Set --gc-sections.
9179 if test "$with_gnu_ld" = "notbroken"; then
9180 # GNU ld it is! Joy and bunny rabbits!
9182 # All these tests are for C++; save the language and the compiler flags.
9183 # Need to do this so that g++ won't try to link in libstdc++
9184 ac_test_CFLAGS
="${CFLAGS+set}"
9185 ac_save_CFLAGS
="$CFLAGS"
9186 CFLAGS
='-x c++ -Wl,--gc-sections'
9188 # Check for -Wl,--gc-sections
9189 # XXX This test is broken at the moment, as symbols required for linking
9190 # are now in libsupc++ (not built yet). In addition, this test has
9191 # cored on solaris in the past. In addition, --gc-sections doesn't
9192 # really work at the moment (keeps on discarding used sections, first
9193 # .eh_frame and now some of the glibc sections for iconv).
9194 # Bzzzzt. Thanks for playing, maybe next time.
9195 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
9196 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
9197 if test "$cross_compiling" = yes; then
9198 ac_sectionLDflags
=yes
9200 cat >conftest.
$ac_ext <<_ACEOF
9203 cat confdefs.h
>>conftest.
$ac_ext
9204 cat >>conftest.
$ac_ext <<_ACEOF
9205 /* end confdefs.h. */
9215 rm -f conftest
$ac_exeext
9216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9217 (eval $ac_link) 2>&5
9219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9220 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9225 (exit $ac_status); }; }; then
9226 ac_sectionLDflags
=yes
9228 echo "$as_me: program exited with status $ac_status" >&5
9229 echo "$as_me: failed program was:" >&5
9230 sed 's/^/| /' conftest.
$ac_ext >&5
9233 ac_sectionLDflags
=no
9235 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9237 if test "$ac_test_CFLAGS" = set; then
9238 CFLAGS
="$ac_save_CFLAGS"
9240 # this is the suspicious part
9243 if test "$ac_sectionLDflags" = "yes"; then
9244 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
9246 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
9247 echo "${ECHO_T}$ac_sectionLDflags" >&6
9250 # Set linker optimization flags.
9251 if test x
"$with_gnu_ld" = x
"yes"; then
9252 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
9260 # Check whether --enable-symvers or --disable-symvers was given.
9261 if test "${enable_symvers+set}" = set; then
9262 enableval
="$enable_symvers"
9264 case "$enableval" in
9266 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
9267 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
9268 { (exit 1); exit 1; }; } ;;
9276 # If we never went through the LIBGOMP_CHECK_LINKER_FEATURES macro, then we
9277 # don't know enough about $LD to do tricks...
9279 # FIXME The following test is too strict, in theory.
9280 if test $enable_shared = no ||
9282 test x
$libgomp_gnu_ld_version = x
; then
9286 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
9287 if test $enable_symvers != no
; then
9288 echo "$as_me:$LINENO: checking for shared libgcc" >&5
9289 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
9290 ac_save_CFLAGS
="$CFLAGS"
9292 cat >conftest.
$ac_ext <<_ACEOF
9295 cat confdefs.h
>>conftest.
$ac_ext
9296 cat >>conftest.
$ac_ext <<_ACEOF
9297 /* end confdefs.h. */
9307 rm -f conftest.
$ac_objext conftest
$ac_exeext
9308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9309 (eval $ac_link) 2>conftest.er1
9311 grep -v '^ *+' conftest.er1
>conftest.err
9313 cat conftest.err
>&5
9314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9315 (exit $ac_status); } &&
9316 { ac_try
='test -z "$ac_c_werror_flag"
9317 || test ! -s conftest.err'
9318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); }; } &&
9323 { ac_try
='test -s conftest$ac_exeext'
9324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9328 (exit $ac_status); }; }; then
9329 libgomp_shared_libgcc
=yes
9331 echo "$as_me: failed program was:" >&5
9332 sed 's/^/| /' conftest.
$ac_ext >&5
9334 libgomp_shared_libgcc
=no
9336 rm -f conftest.err conftest.
$ac_objext \
9337 conftest
$ac_exeext conftest.
$ac_ext
9338 CFLAGS
="$ac_save_CFLAGS"
9339 if test $libgomp_shared_libgcc = no
; then
9340 cat > conftest.c
<<EOF
9341 int main (void) { return 0; }
9343 libgomp_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
9344 -shared -shared-libgcc -o conftest.so \
9345 conftest.c -v 2>&1 >/dev/null \
9346 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
9347 rm -f conftest.c conftest.so
9348 if test x
${libgomp_libgcc_s_suffix+set} = xset
; then
9349 CFLAGS
=" -lgcc_s$libgomp_libgcc_s_suffix"
9350 cat >conftest.
$ac_ext <<_ACEOF
9353 cat confdefs.h
>>conftest.
$ac_ext
9354 cat >>conftest.
$ac_ext <<_ACEOF
9355 /* end confdefs.h. */
9365 rm -f conftest.
$ac_objext conftest
$ac_exeext
9366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9367 (eval $ac_link) 2>conftest.er1
9369 grep -v '^ *+' conftest.er1
>conftest.err
9371 cat conftest.err
>&5
9372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373 (exit $ac_status); } &&
9374 { ac_try
='test -z "$ac_c_werror_flag"
9375 || test ! -s conftest.err'
9376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9380 (exit $ac_status); }; } &&
9381 { ac_try
='test -s conftest$ac_exeext'
9382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9386 (exit $ac_status); }; }; then
9387 libgomp_shared_libgcc
=yes
9389 echo "$as_me: failed program was:" >&5
9390 sed 's/^/| /' conftest.
$ac_ext >&5
9393 rm -f conftest.err conftest.
$ac_objext \
9394 conftest
$ac_exeext conftest.
$ac_ext
9395 CFLAGS
="$ac_save_CFLAGS"
9398 echo "$as_me:$LINENO: result: $libgomp_shared_libgcc" >&5
9399 echo "${ECHO_T}$libgomp_shared_libgcc" >&6
9402 # For GNU ld, we need at least this version. The format is described in
9403 # LIBGOMP_CHECK_LINKER_FEATURES above.
9404 libgomp_min_gnu_ld_version
=21400
9405 # XXXXXXXXXXX libgomp_gnu_ld_version=21390
9407 # Check to see if unspecified "yes" value can win, given results above.
9408 # Change "yes" into either "no" or a style name.
9409 if test $enable_symvers = yes; then
9410 if test $with_gnu_ld = yes &&
9411 test $libgomp_shared_libgcc = yes;
9413 if test $libgomp_gnu_ld_version -ge $libgomp_min_gnu_ld_version ; then
9416 # The right tools, the right setup, but too old. Fallbacks?
9417 { echo "$as_me:$LINENO: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&5
9418 echo "$as_me: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&2;}
9419 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
9420 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
9421 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
9422 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
9423 { echo "$as_me:$LINENO: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&5
9424 echo "$as_me: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&2;}
9425 if test $libgomp_gnu_ld_version -ge 21200 ; then
9426 # Globbing fix is present, proper block support is not.
9427 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
9428 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
9432 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
9433 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
9439 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
9440 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
9441 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
9442 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
9443 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
9444 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
9445 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
9446 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
9453 if test $enable_symvers != no
; then
9454 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
=
9455 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
='#'
9457 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
='#'
9458 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
=
9461 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
9462 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
9465 # Get target configury.
9466 .
${srcdir}/configure.tgt
9467 CFLAGS
="$save_CFLAGS $XCFLAGS"
9469 # Check for __sync_val_compare_and_swap, but only after the target has
9470 # had a chance to set XCFLAGS.
9472 echo "$as_me:$LINENO: checking whether the target supports __sync_*_compare_and_swap" >&5
9473 echo $ECHO_N "checking whether the target supports __sync_*_compare_and_swap... $ECHO_C" >&6
9474 if test "${have_sync_builtins+set}" = set; then
9475 echo $ECHO_N "(cached) $ECHO_C" >&6
9478 cat >conftest.
$ac_ext <<_ACEOF
9481 cat confdefs.h
>>conftest.
$ac_ext
9482 cat >>conftest.
$ac_ext <<_ACEOF
9483 /* end confdefs.h. */
9488 int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);
9493 rm -f conftest.
$ac_objext conftest
$ac_exeext
9494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9495 (eval $ac_link) 2>conftest.er1
9497 grep -v '^ *+' conftest.er1
>conftest.err
9499 cat conftest.err
>&5
9500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9501 (exit $ac_status); } &&
9502 { ac_try
='test -z "$ac_c_werror_flag"
9503 || test ! -s conftest.err'
9504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9508 (exit $ac_status); }; } &&
9509 { ac_try
='test -s conftest$ac_exeext'
9510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9514 (exit $ac_status); }; }; then
9515 have_sync_builtins
=yes
9517 echo "$as_me: failed program was:" >&5
9518 sed 's/^/| /' conftest.
$ac_ext >&5
9520 have_sync_builtins
=no
9522 rm -f conftest.err conftest.
$ac_objext \
9523 conftest
$ac_exeext conftest.
$ac_ext
9525 echo "$as_me:$LINENO: result: $have_sync_builtins" >&5
9526 echo "${ECHO_T}$have_sync_builtins" >&6
9527 if test $have_sync_builtins = yes; then
9529 cat >>confdefs.h
<<\_ACEOF
9530 #define HAVE_SYNC_BUILTINS 1
9535 XCFLAGS
="$XCFLAGS$XPCFLAGS"
9542 CFLAGS
="$save_CFLAGS"
9543 cat >confcache
<<\_ACEOF
9544 # This file is a shell script that caches the results of configure
9545 # tests run on this system so they can be shared between configure
9546 # scripts and configure runs, see configure's option --config-cache.
9547 # It is not useful on other systems. If it contains results you don't
9548 # want to keep, you may remove or edit it.
9550 # config.status only pays attention to the cache file if you give it
9551 # the --recheck option to rerun configure.
9553 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9554 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9559 # The following way of writing the cache mishandles newlines in values,
9560 # but we know of no workaround that is simple, portable, and efficient.
9561 # So, don't put newlines in cache variables' values.
9562 # Ultrix sh set writes to stderr and can't be redirected directly,
9563 # and sets the high bit in the cache file unless we assign to the vars.
9566 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9568 # `set' does not quote correctly, so add quotes (double-quote
9569 # substitution turns \\\\ into \\, and sed turns \\ into \).
9572 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9575 # `set' quotes correctly as required by POSIX, so do not add quotes.
9577 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9584 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9586 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9588 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9589 if test -w $cache_file; then
9590 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9591 cat confcache
>$cache_file
9593 echo "not updating unwritable cache $cache_file"
9598 if test ${multilib} = yes; then
9599 multilib_arg
="--enable-multilib"
9604 # Set up the set of libraries that we need to link against for libgomp.
9605 # Note that the GOMP_SELF_SPEC in gcc.c will force -pthread for -fopenmp,
9606 # which will force linkage against -lpthread (or equivalent for the system).
9607 # That's not 100% ideal, but about the best we can do easily.
9608 if test $enable_shared = yes; then
9609 link_gomp
="-lgomp %{static: $LIBS}"
9611 link_gomp
="-lgomp $LIBS"
9617 if test "$ac_cv_fc_compiler_gnu" = yes; then
9619 USE_FORTRAN_FALSE
='#'
9621 USE_FORTRAN_TRUE
='#'
9626 # ??? 2006-01-24: Paulo committed to asking autoconf folk to document
9627 # and export AC_COMPUTE_INT. If that happens, then we'll need to remove
9628 # the underscore here and update the PREREQ. If it doesn't, then we'll
9629 # need to copy this macro to our acinclude.m4.
9630 save_CFLAGS
="$CFLAGS"
9631 for i
in $config_path; do
9632 if test -f $srcdir/config
/$i/omp-lock.h
; then
9633 CFLAGS
="$CFLAGS -include $srcdir/config/$i/omp-lock.h"
9638 if test "$cross_compiling" = yes; then
9639 # Depending upon the size, compute the lo and hi bounds.
9640 cat >conftest.
$ac_ext <<_ACEOF
9643 cat confdefs.h
>>conftest.
$ac_ext
9644 cat >>conftest.
$ac_ext <<_ACEOF
9645 /* end confdefs.h. */
9650 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) >= 0)];
9657 rm -f conftest.
$ac_objext
9658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9659 (eval $ac_compile) 2>conftest.er1
9661 grep -v '^ *+' conftest.er1
>conftest.err
9663 cat conftest.err
>&5
9664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9665 (exit $ac_status); } &&
9666 { ac_try
='test -z "$ac_c_werror_flag"
9667 || test ! -s conftest.err'
9668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9672 (exit $ac_status); }; } &&
9673 { ac_try
='test -s conftest.$ac_objext'
9674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 (exit $ac_status); }; }; then
9681 cat >conftest.
$ac_ext <<_ACEOF
9684 cat confdefs.h
>>conftest.
$ac_ext
9685 cat >>conftest.
$ac_ext <<_ACEOF
9686 /* end confdefs.h. */
9691 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) <= $ac_mid)];
9698 rm -f conftest.
$ac_objext
9699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9700 (eval $ac_compile) 2>conftest.er1
9702 grep -v '^ *+' conftest.er1
>conftest.err
9704 cat conftest.err
>&5
9705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9706 (exit $ac_status); } &&
9707 { ac_try
='test -z "$ac_c_werror_flag"
9708 || test ! -s conftest.err'
9709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 (exit $ac_status); }; } &&
9714 { ac_try
='test -s conftest.$ac_objext'
9715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9719 (exit $ac_status); }; }; then
9720 ac_hi
=$ac_mid; break
9722 echo "$as_me: failed program was:" >&5
9723 sed 's/^/| /' conftest.
$ac_ext >&5
9725 ac_lo
=`expr $ac_mid + 1`
9726 if test $ac_lo -le $ac_mid; then
9730 ac_mid
=`expr 2 '*' $ac_mid + 1`
9732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9735 echo "$as_me: failed program was:" >&5
9736 sed 's/^/| /' conftest.
$ac_ext >&5
9738 cat >conftest.
$ac_ext <<_ACEOF
9741 cat confdefs.h
>>conftest.
$ac_ext
9742 cat >>conftest.
$ac_ext <<_ACEOF
9743 /* end confdefs.h. */
9748 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) < 0)];
9755 rm -f conftest.
$ac_objext
9756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9757 (eval $ac_compile) 2>conftest.er1
9759 grep -v '^ *+' conftest.er1
>conftest.err
9761 cat conftest.err
>&5
9762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9763 (exit $ac_status); } &&
9764 { ac_try
='test -z "$ac_c_werror_flag"
9765 || test ! -s conftest.err'
9766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9770 (exit $ac_status); }; } &&
9771 { ac_try
='test -s conftest.$ac_objext'
9772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9776 (exit $ac_status); }; }; then
9779 cat >conftest.
$ac_ext <<_ACEOF
9782 cat confdefs.h
>>conftest.
$ac_ext
9783 cat >>conftest.
$ac_ext <<_ACEOF
9784 /* end confdefs.h. */
9789 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) >= $ac_mid)];
9796 rm -f conftest.
$ac_objext
9797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9798 (eval $ac_compile) 2>conftest.er1
9800 grep -v '^ *+' conftest.er1
>conftest.err
9802 cat conftest.err
>&5
9803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9804 (exit $ac_status); } &&
9805 { ac_try
='test -z "$ac_c_werror_flag"
9806 || test ! -s conftest.err'
9807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9811 (exit $ac_status); }; } &&
9812 { ac_try
='test -s conftest.$ac_objext'
9813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9817 (exit $ac_status); }; }; then
9818 ac_lo
=$ac_mid; break
9820 echo "$as_me: failed program was:" >&5
9821 sed 's/^/| /' conftest.
$ac_ext >&5
9823 ac_hi
=`expr '(' $ac_mid ')' - 1`
9824 if test $ac_mid -le $ac_hi; then
9828 ac_mid
=`expr 2 '*' $ac_mid`
9830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9833 echo "$as_me: failed program was:" >&5
9834 sed 's/^/| /' conftest.
$ac_ext >&5
9838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9841 # Binary search between lo and hi bounds.
9842 while test "x$ac_lo" != "x$ac_hi"; do
9843 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9844 cat >conftest.
$ac_ext <<_ACEOF
9847 cat confdefs.h
>>conftest.
$ac_ext
9848 cat >>conftest.
$ac_ext <<_ACEOF
9849 /* end confdefs.h. */
9854 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) <= $ac_mid)];
9861 rm -f conftest.
$ac_objext
9862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9863 (eval $ac_compile) 2>conftest.er1
9865 grep -v '^ *+' conftest.er1
>conftest.err
9867 cat conftest.err
>&5
9868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9869 (exit $ac_status); } &&
9870 { ac_try
='test -z "$ac_c_werror_flag"
9871 || test ! -s conftest.err'
9872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9876 (exit $ac_status); }; } &&
9877 { ac_try
='test -s conftest.$ac_objext'
9878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9882 (exit $ac_status); }; }; then
9885 echo "$as_me: failed program was:" >&5
9886 sed 's/^/| /' conftest.
$ac_ext >&5
9888 ac_lo
=`expr '(' $ac_mid ')' + 1`
9890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9893 ?
*) OMP_LOCK_SIZE
=$ac_lo;;
9894 '') { { echo "$as_me:$LINENO: error: unsupported system, cannot find sizeof (omp_lock_t)" >&5
9895 echo "$as_me: error: unsupported system, cannot find sizeof (omp_lock_t)" >&2;}
9896 { (exit 1); exit 1; }; } ;;
9899 if test "$cross_compiling" = yes; then
9900 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9901 See \`config.log' for more details." >&5
9902 echo "$as_me: error: cannot run test program while cross compiling
9903 See \`config.log' for more details." >&2;}
9904 { (exit 1); exit 1; }; }
9906 cat >conftest.
$ac_ext <<_ACEOF
9909 cat confdefs.h
>>conftest.
$ac_ext
9910 cat >>conftest.
$ac_ext <<_ACEOF
9911 /* end confdefs.h. */
9913 long longval () { return sizeof (omp_lock_t); }
9914 unsigned long ulongval () { return sizeof (omp_lock_t); }
9921 FILE *f = fopen ("conftest.val", "w");
9924 if ((sizeof (omp_lock_t)) < 0)
9926 long i = longval ();
9927 if (i != (sizeof (omp_lock_t)))
9929 fprintf (f, "%ld\n", i);
9933 unsigned long i = ulongval ();
9934 if (i != (sizeof (omp_lock_t)))
9936 fprintf (f, "%lu\n", i);
9938 exit (ferror (f) || fclose (f) != 0);
9944 rm -f conftest
$ac_exeext
9945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9946 (eval $ac_link) 2>&5
9948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9949 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9954 (exit $ac_status); }; }; then
9955 OMP_LOCK_SIZE
=`cat conftest.val`
9957 echo "$as_me: program exited with status $ac_status" >&5
9958 echo "$as_me: failed program was:" >&5
9959 sed 's/^/| /' conftest.
$ac_ext >&5
9962 { { echo "$as_me:$LINENO: error: unsupported system, cannot find sizeof (omp_lock_t)" >&5
9963 echo "$as_me: error: unsupported system, cannot find sizeof (omp_lock_t)" >&2;}
9964 { (exit 1); exit 1; }; }
9966 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9970 if test "$cross_compiling" = yes; then
9971 # Depending upon the size, compute the lo and hi bounds.
9972 cat >conftest.
$ac_ext <<_ACEOF
9975 cat confdefs.h
>>conftest.
$ac_ext
9976 cat >>conftest.
$ac_ext <<_ACEOF
9977 /* end confdefs.h. */
9982 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) >= 0)];
9989 rm -f conftest.
$ac_objext
9990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9991 (eval $ac_compile) 2>conftest.er1
9993 grep -v '^ *+' conftest.er1
>conftest.err
9995 cat conftest.err
>&5
9996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9997 (exit $ac_status); } &&
9998 { ac_try
='test -z "$ac_c_werror_flag"
9999 || test ! -s conftest.err'
10000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10001 (eval $ac_try) 2>&5
10003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10004 (exit $ac_status); }; } &&
10005 { ac_try
='test -s conftest.$ac_objext'
10006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10007 (eval $ac_try) 2>&5
10009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10010 (exit $ac_status); }; }; then
10013 cat >conftest.
$ac_ext <<_ACEOF
10016 cat confdefs.h
>>conftest.
$ac_ext
10017 cat >>conftest.
$ac_ext <<_ACEOF
10018 /* end confdefs.h. */
10023 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) <= $ac_mid)];
10030 rm -f conftest.
$ac_objext
10031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10032 (eval $ac_compile) 2>conftest.er1
10034 grep -v '^ *+' conftest.er1
>conftest.err
10036 cat conftest.err
>&5
10037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10038 (exit $ac_status); } &&
10039 { ac_try
='test -z "$ac_c_werror_flag"
10040 || test ! -s conftest.err'
10041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10042 (eval $ac_try) 2>&5
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); }; } &&
10046 { ac_try
='test -s conftest.$ac_objext'
10047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10048 (eval $ac_try) 2>&5
10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 (exit $ac_status); }; }; then
10052 ac_hi
=$ac_mid; break
10054 echo "$as_me: failed program was:" >&5
10055 sed 's/^/| /' conftest.
$ac_ext >&5
10057 ac_lo
=`expr $ac_mid + 1`
10058 if test $ac_lo -le $ac_mid; then
10062 ac_mid
=`expr 2 '*' $ac_mid + 1`
10064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10067 echo "$as_me: failed program was:" >&5
10068 sed 's/^/| /' conftest.
$ac_ext >&5
10070 cat >conftest.
$ac_ext <<_ACEOF
10073 cat confdefs.h
>>conftest.
$ac_ext
10074 cat >>conftest.
$ac_ext <<_ACEOF
10075 /* end confdefs.h. */
10080 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) < 0)];
10087 rm -f conftest.
$ac_objext
10088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10089 (eval $ac_compile) 2>conftest.er1
10091 grep -v '^ *+' conftest.er1
>conftest.err
10093 cat conftest.err
>&5
10094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10095 (exit $ac_status); } &&
10096 { ac_try
='test -z "$ac_c_werror_flag"
10097 || test ! -s conftest.err'
10098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10099 (eval $ac_try) 2>&5
10101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10102 (exit $ac_status); }; } &&
10103 { ac_try
='test -s conftest.$ac_objext'
10104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10105 (eval $ac_try) 2>&5
10107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108 (exit $ac_status); }; }; then
10111 cat >conftest.
$ac_ext <<_ACEOF
10114 cat confdefs.h
>>conftest.
$ac_ext
10115 cat >>conftest.
$ac_ext <<_ACEOF
10116 /* end confdefs.h. */
10121 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) >= $ac_mid)];
10128 rm -f conftest.
$ac_objext
10129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10130 (eval $ac_compile) 2>conftest.er1
10132 grep -v '^ *+' conftest.er1
>conftest.err
10134 cat conftest.err
>&5
10135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10136 (exit $ac_status); } &&
10137 { ac_try
='test -z "$ac_c_werror_flag"
10138 || test ! -s conftest.err'
10139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10140 (eval $ac_try) 2>&5
10142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10143 (exit $ac_status); }; } &&
10144 { ac_try
='test -s conftest.$ac_objext'
10145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10146 (eval $ac_try) 2>&5
10148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10149 (exit $ac_status); }; }; then
10150 ac_lo
=$ac_mid; break
10152 echo "$as_me: failed program was:" >&5
10153 sed 's/^/| /' conftest.
$ac_ext >&5
10155 ac_hi
=`expr '(' $ac_mid ')' - 1`
10156 if test $ac_mid -le $ac_hi; then
10160 ac_mid
=`expr 2 '*' $ac_mid`
10162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10165 echo "$as_me: failed program was:" >&5
10166 sed 's/^/| /' conftest.
$ac_ext >&5
10170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10173 # Binary search between lo and hi bounds.
10174 while test "x$ac_lo" != "x$ac_hi"; do
10175 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10176 cat >conftest.
$ac_ext <<_ACEOF
10179 cat confdefs.h
>>conftest.
$ac_ext
10180 cat >>conftest.
$ac_ext <<_ACEOF
10181 /* end confdefs.h. */
10186 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) <= $ac_mid)];
10193 rm -f conftest.
$ac_objext
10194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10195 (eval $ac_compile) 2>conftest.er1
10197 grep -v '^ *+' conftest.er1
>conftest.err
10199 cat conftest.err
>&5
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); } &&
10202 { ac_try
='test -z "$ac_c_werror_flag"
10203 || test ! -s conftest.err'
10204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10205 (eval $ac_try) 2>&5
10207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10208 (exit $ac_status); }; } &&
10209 { ac_try
='test -s conftest.$ac_objext'
10210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10211 (eval $ac_try) 2>&5
10213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10214 (exit $ac_status); }; }; then
10217 echo "$as_me: failed program was:" >&5
10218 sed 's/^/| /' conftest.
$ac_ext >&5
10220 ac_lo
=`expr '(' $ac_mid ')' + 1`
10222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10225 ?
*) OMP_LOCK_ALIGN
=$ac_lo;;
10229 if test "$cross_compiling" = yes; then
10230 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10231 See \`config.log' for more details." >&5
10232 echo "$as_me: error: cannot run test program while cross compiling
10233 See \`config.log' for more details." >&2;}
10234 { (exit 1); exit 1; }; }
10236 cat >conftest.
$ac_ext <<_ACEOF
10239 cat confdefs.h
>>conftest.
$ac_ext
10240 cat >>conftest.
$ac_ext <<_ACEOF
10241 /* end confdefs.h. */
10243 long longval () { return __alignof (omp_lock_t); }
10244 unsigned long ulongval () { return __alignof (omp_lock_t); }
10246 #include <stdlib.h>
10251 FILE *f = fopen ("conftest.val", "w");
10254 if ((__alignof (omp_lock_t)) < 0)
10256 long i = longval ();
10257 if (i != (__alignof (omp_lock_t)))
10259 fprintf (f, "%ld\n", i);
10263 unsigned long i = ulongval ();
10264 if (i != (__alignof (omp_lock_t)))
10266 fprintf (f, "%lu\n", i);
10268 exit (ferror (f) || fclose (f) != 0);
10274 rm -f conftest
$ac_exeext
10275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10276 (eval $ac_link) 2>&5
10278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10279 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10281 (eval $ac_try) 2>&5
10283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10284 (exit $ac_status); }; }; then
10285 OMP_LOCK_ALIGN
=`cat conftest.val`
10287 echo "$as_me: program exited with status $ac_status" >&5
10288 echo "$as_me: failed program was:" >&5
10289 sed 's/^/| /' conftest.
$ac_ext >&5
10292 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10296 if test "$cross_compiling" = yes; then
10297 # Depending upon the size, compute the lo and hi bounds.
10298 cat >conftest.
$ac_ext <<_ACEOF
10301 cat confdefs.h
>>conftest.
$ac_ext
10302 cat >>conftest.
$ac_ext <<_ACEOF
10303 /* end confdefs.h. */
10308 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) >= 0)];
10315 rm -f conftest.
$ac_objext
10316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10317 (eval $ac_compile) 2>conftest.er1
10319 grep -v '^ *+' conftest.er1
>conftest.err
10321 cat conftest.err
>&5
10322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323 (exit $ac_status); } &&
10324 { ac_try
='test -z "$ac_c_werror_flag"
10325 || test ! -s conftest.err'
10326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10327 (eval $ac_try) 2>&5
10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10330 (exit $ac_status); }; } &&
10331 { ac_try
='test -s conftest.$ac_objext'
10332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10333 (eval $ac_try) 2>&5
10335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10336 (exit $ac_status); }; }; then
10339 cat >conftest.
$ac_ext <<_ACEOF
10342 cat confdefs.h
>>conftest.
$ac_ext
10343 cat >>conftest.
$ac_ext <<_ACEOF
10344 /* end confdefs.h. */
10349 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) <= $ac_mid)];
10356 rm -f conftest.
$ac_objext
10357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10358 (eval $ac_compile) 2>conftest.er1
10360 grep -v '^ *+' conftest.er1
>conftest.err
10362 cat conftest.err
>&5
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); } &&
10365 { ac_try
='test -z "$ac_c_werror_flag"
10366 || test ! -s conftest.err'
10367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10368 (eval $ac_try) 2>&5
10370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10371 (exit $ac_status); }; } &&
10372 { ac_try
='test -s conftest.$ac_objext'
10373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10374 (eval $ac_try) 2>&5
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); }; }; then
10378 ac_hi
=$ac_mid; break
10380 echo "$as_me: failed program was:" >&5
10381 sed 's/^/| /' conftest.
$ac_ext >&5
10383 ac_lo
=`expr $ac_mid + 1`
10384 if test $ac_lo -le $ac_mid; then
10388 ac_mid
=`expr 2 '*' $ac_mid + 1`
10390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10393 echo "$as_me: failed program was:" >&5
10394 sed 's/^/| /' conftest.
$ac_ext >&5
10396 cat >conftest.
$ac_ext <<_ACEOF
10399 cat confdefs.h
>>conftest.
$ac_ext
10400 cat >>conftest.
$ac_ext <<_ACEOF
10401 /* end confdefs.h. */
10406 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) < 0)];
10413 rm -f conftest.
$ac_objext
10414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10415 (eval $ac_compile) 2>conftest.er1
10417 grep -v '^ *+' conftest.er1
>conftest.err
10419 cat conftest.err
>&5
10420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10421 (exit $ac_status); } &&
10422 { ac_try
='test -z "$ac_c_werror_flag"
10423 || test ! -s conftest.err'
10424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10425 (eval $ac_try) 2>&5
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); }; } &&
10429 { ac_try
='test -s conftest.$ac_objext'
10430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10431 (eval $ac_try) 2>&5
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); }; }; then
10437 cat >conftest.
$ac_ext <<_ACEOF
10440 cat confdefs.h
>>conftest.
$ac_ext
10441 cat >>conftest.
$ac_ext <<_ACEOF
10442 /* end confdefs.h. */
10447 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) >= $ac_mid)];
10454 rm -f conftest.
$ac_objext
10455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10456 (eval $ac_compile) 2>conftest.er1
10458 grep -v '^ *+' conftest.er1
>conftest.err
10460 cat conftest.err
>&5
10461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462 (exit $ac_status); } &&
10463 { ac_try
='test -z "$ac_c_werror_flag"
10464 || test ! -s conftest.err'
10465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10466 (eval $ac_try) 2>&5
10468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10469 (exit $ac_status); }; } &&
10470 { ac_try
='test -s conftest.$ac_objext'
10471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10472 (eval $ac_try) 2>&5
10474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475 (exit $ac_status); }; }; then
10476 ac_lo
=$ac_mid; break
10478 echo "$as_me: failed program was:" >&5
10479 sed 's/^/| /' conftest.
$ac_ext >&5
10481 ac_hi
=`expr '(' $ac_mid ')' - 1`
10482 if test $ac_mid -le $ac_hi; then
10486 ac_mid
=`expr 2 '*' $ac_mid`
10488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10491 echo "$as_me: failed program was:" >&5
10492 sed 's/^/| /' conftest.
$ac_ext >&5
10496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10499 # Binary search between lo and hi bounds.
10500 while test "x$ac_lo" != "x$ac_hi"; do
10501 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10502 cat >conftest.
$ac_ext <<_ACEOF
10505 cat confdefs.h
>>conftest.
$ac_ext
10506 cat >>conftest.
$ac_ext <<_ACEOF
10507 /* end confdefs.h. */
10512 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) <= $ac_mid)];
10519 rm -f conftest.
$ac_objext
10520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10521 (eval $ac_compile) 2>conftest.er1
10523 grep -v '^ *+' conftest.er1
>conftest.err
10525 cat conftest.err
>&5
10526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10527 (exit $ac_status); } &&
10528 { ac_try
='test -z "$ac_c_werror_flag"
10529 || test ! -s conftest.err'
10530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10531 (eval $ac_try) 2>&5
10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); }; } &&
10535 { ac_try
='test -s conftest.$ac_objext'
10536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10537 (eval $ac_try) 2>&5
10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 (exit $ac_status); }; }; then
10543 echo "$as_me: failed program was:" >&5
10544 sed 's/^/| /' conftest.
$ac_ext >&5
10546 ac_lo
=`expr '(' $ac_mid ')' + 1`
10548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10551 ?
*) OMP_NEST_LOCK_SIZE
=$ac_lo;;
10555 if test "$cross_compiling" = yes; then
10556 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10557 See \`config.log' for more details." >&5
10558 echo "$as_me: error: cannot run test program while cross compiling
10559 See \`config.log' for more details." >&2;}
10560 { (exit 1); exit 1; }; }
10562 cat >conftest.
$ac_ext <<_ACEOF
10565 cat confdefs.h
>>conftest.
$ac_ext
10566 cat >>conftest.
$ac_ext <<_ACEOF
10567 /* end confdefs.h. */
10569 long longval () { return sizeof (omp_nest_lock_t); }
10570 unsigned long ulongval () { return sizeof (omp_nest_lock_t); }
10572 #include <stdlib.h>
10577 FILE *f = fopen ("conftest.val", "w");
10580 if ((sizeof (omp_nest_lock_t)) < 0)
10582 long i = longval ();
10583 if (i != (sizeof (omp_nest_lock_t)))
10585 fprintf (f, "%ld\n", i);
10589 unsigned long i = ulongval ();
10590 if (i != (sizeof (omp_nest_lock_t)))
10592 fprintf (f, "%lu\n", i);
10594 exit (ferror (f) || fclose (f) != 0);
10600 rm -f conftest
$ac_exeext
10601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10602 (eval $ac_link) 2>&5
10604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10605 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10607 (eval $ac_try) 2>&5
10609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10610 (exit $ac_status); }; }; then
10611 OMP_NEST_LOCK_SIZE
=`cat conftest.val`
10613 echo "$as_me: program exited with status $ac_status" >&5
10614 echo "$as_me: failed program was:" >&5
10615 sed 's/^/| /' conftest.
$ac_ext >&5
10618 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10622 if test "$cross_compiling" = yes; then
10623 # Depending upon the size, compute the lo and hi bounds.
10624 cat >conftest.
$ac_ext <<_ACEOF
10627 cat confdefs.h
>>conftest.
$ac_ext
10628 cat >>conftest.
$ac_ext <<_ACEOF
10629 /* end confdefs.h. */
10634 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) >= 0)];
10641 rm -f conftest.
$ac_objext
10642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10643 (eval $ac_compile) 2>conftest.er1
10645 grep -v '^ *+' conftest.er1
>conftest.err
10647 cat conftest.err
>&5
10648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10649 (exit $ac_status); } &&
10650 { ac_try
='test -z "$ac_c_werror_flag"
10651 || test ! -s conftest.err'
10652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10653 (eval $ac_try) 2>&5
10655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656 (exit $ac_status); }; } &&
10657 { ac_try
='test -s conftest.$ac_objext'
10658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10659 (eval $ac_try) 2>&5
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); }; }; then
10665 cat >conftest.
$ac_ext <<_ACEOF
10668 cat confdefs.h
>>conftest.
$ac_ext
10669 cat >>conftest.
$ac_ext <<_ACEOF
10670 /* end confdefs.h. */
10675 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) <= $ac_mid)];
10682 rm -f conftest.
$ac_objext
10683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10684 (eval $ac_compile) 2>conftest.er1
10686 grep -v '^ *+' conftest.er1
>conftest.err
10688 cat conftest.err
>&5
10689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690 (exit $ac_status); } &&
10691 { ac_try
='test -z "$ac_c_werror_flag"
10692 || test ! -s conftest.err'
10693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10694 (eval $ac_try) 2>&5
10696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10697 (exit $ac_status); }; } &&
10698 { ac_try
='test -s conftest.$ac_objext'
10699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10700 (eval $ac_try) 2>&5
10702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10703 (exit $ac_status); }; }; then
10704 ac_hi
=$ac_mid; break
10706 echo "$as_me: failed program was:" >&5
10707 sed 's/^/| /' conftest.
$ac_ext >&5
10709 ac_lo
=`expr $ac_mid + 1`
10710 if test $ac_lo -le $ac_mid; then
10714 ac_mid
=`expr 2 '*' $ac_mid + 1`
10716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10719 echo "$as_me: failed program was:" >&5
10720 sed 's/^/| /' conftest.
$ac_ext >&5
10722 cat >conftest.
$ac_ext <<_ACEOF
10725 cat confdefs.h
>>conftest.
$ac_ext
10726 cat >>conftest.
$ac_ext <<_ACEOF
10727 /* end confdefs.h. */
10732 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) < 0)];
10739 rm -f conftest.
$ac_objext
10740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10741 (eval $ac_compile) 2>conftest.er1
10743 grep -v '^ *+' conftest.er1
>conftest.err
10745 cat conftest.err
>&5
10746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 (exit $ac_status); } &&
10748 { ac_try
='test -z "$ac_c_werror_flag"
10749 || test ! -s conftest.err'
10750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10751 (eval $ac_try) 2>&5
10753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10754 (exit $ac_status); }; } &&
10755 { ac_try
='test -s conftest.$ac_objext'
10756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10757 (eval $ac_try) 2>&5
10759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10760 (exit $ac_status); }; }; then
10763 cat >conftest.
$ac_ext <<_ACEOF
10766 cat confdefs.h
>>conftest.
$ac_ext
10767 cat >>conftest.
$ac_ext <<_ACEOF
10768 /* end confdefs.h. */
10773 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) >= $ac_mid)];
10780 rm -f conftest.
$ac_objext
10781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10782 (eval $ac_compile) 2>conftest.er1
10784 grep -v '^ *+' conftest.er1
>conftest.err
10786 cat conftest.err
>&5
10787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10788 (exit $ac_status); } &&
10789 { ac_try
='test -z "$ac_c_werror_flag"
10790 || test ! -s conftest.err'
10791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10792 (eval $ac_try) 2>&5
10794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10795 (exit $ac_status); }; } &&
10796 { ac_try
='test -s conftest.$ac_objext'
10797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10798 (eval $ac_try) 2>&5
10800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10801 (exit $ac_status); }; }; then
10802 ac_lo
=$ac_mid; break
10804 echo "$as_me: failed program was:" >&5
10805 sed 's/^/| /' conftest.
$ac_ext >&5
10807 ac_hi
=`expr '(' $ac_mid ')' - 1`
10808 if test $ac_mid -le $ac_hi; then
10812 ac_mid
=`expr 2 '*' $ac_mid`
10814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10817 echo "$as_me: failed program was:" >&5
10818 sed 's/^/| /' conftest.
$ac_ext >&5
10822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10825 # Binary search between lo and hi bounds.
10826 while test "x$ac_lo" != "x$ac_hi"; do
10827 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10828 cat >conftest.
$ac_ext <<_ACEOF
10831 cat confdefs.h
>>conftest.
$ac_ext
10832 cat >>conftest.
$ac_ext <<_ACEOF
10833 /* end confdefs.h. */
10838 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) <= $ac_mid)];
10845 rm -f conftest.
$ac_objext
10846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10847 (eval $ac_compile) 2>conftest.er1
10849 grep -v '^ *+' conftest.er1
>conftest.err
10851 cat conftest.err
>&5
10852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10853 (exit $ac_status); } &&
10854 { ac_try
='test -z "$ac_c_werror_flag"
10855 || test ! -s conftest.err'
10856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10857 (eval $ac_try) 2>&5
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); }; } &&
10861 { ac_try
='test -s conftest.$ac_objext'
10862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10863 (eval $ac_try) 2>&5
10865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10866 (exit $ac_status); }; }; then
10869 echo "$as_me: failed program was:" >&5
10870 sed 's/^/| /' conftest.
$ac_ext >&5
10872 ac_lo
=`expr '(' $ac_mid ')' + 1`
10874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10877 ?
*) OMP_NEST_LOCK_ALIGN
=$ac_lo;;
10881 if test "$cross_compiling" = yes; then
10882 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10883 See \`config.log' for more details." >&5
10884 echo "$as_me: error: cannot run test program while cross compiling
10885 See \`config.log' for more details." >&2;}
10886 { (exit 1); exit 1; }; }
10888 cat >conftest.
$ac_ext <<_ACEOF
10891 cat confdefs.h
>>conftest.
$ac_ext
10892 cat >>conftest.
$ac_ext <<_ACEOF
10893 /* end confdefs.h. */
10895 long longval () { return __alignof (omp_nest_lock_t); }
10896 unsigned long ulongval () { return __alignof (omp_nest_lock_t); }
10898 #include <stdlib.h>
10903 FILE *f = fopen ("conftest.val", "w");
10906 if ((__alignof (omp_nest_lock_t)) < 0)
10908 long i = longval ();
10909 if (i != (__alignof (omp_nest_lock_t)))
10911 fprintf (f, "%ld\n", i);
10915 unsigned long i = ulongval ();
10916 if (i != (__alignof (omp_nest_lock_t)))
10918 fprintf (f, "%lu\n", i);
10920 exit (ferror (f) || fclose (f) != 0);
10926 rm -f conftest
$ac_exeext
10927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10928 (eval $ac_link) 2>&5
10930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10931 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10933 (eval $ac_try) 2>&5
10935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10936 (exit $ac_status); }; }; then
10937 OMP_NEST_LOCK_ALIGN
=`cat conftest.val`
10939 echo "$as_me: program exited with status $ac_status" >&5
10940 echo "$as_me: failed program was:" >&5
10941 sed 's/^/| /' conftest.
$ac_ext >&5
10944 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10949 # If the lock fits in an integer, then arrange for Fortran to use that
10950 # integer. If it doesn't, then arrange for Fortran to use a pointer.
10951 # Except that we don't have a way at present to multi-lib the installed
10952 # Fortran modules, so we assume 8 bytes for pointers, regardless of the
10954 OMP_LOCK_KIND
=$OMP_LOCK_SIZE
10955 OMP_NEST_LOCK_KIND
=$OMP_NEST_LOCK_SIZE
10956 if test $OMP_LOCK_SIZE -gt 8 ||
test $OMP_LOCK_ALIGN -gt $OMP_LOCK_SIZE; then
10959 if test $OMP_NEST_LOCK_SIZE -gt 8 ||
test $OMP_NEST_LOCK_ALIGN -gt $OMP_NEST_LOCK_SIZE; then
10960 OMP_NEST_LOCK_KIND
=8
10969 CFLAGS
="$save_CFLAGS"
10971 ac_config_files
="$ac_config_files omp.h omp_lib.h omp_lib.f90 libgomp_f.h"
10973 ac_config_files
="$ac_config_files Makefile testsuite/Makefile libgomp.spec"
10975 cat >confcache
<<\_ACEOF
10976 # This file is a shell script that caches the results of configure
10977 # tests run on this system so they can be shared between configure
10978 # scripts and configure runs, see configure's option --config-cache.
10979 # It is not useful on other systems. If it contains results you don't
10980 # want to keep, you may remove or edit it.
10982 # config.status only pays attention to the cache file if you give it
10983 # the --recheck option to rerun configure.
10985 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10986 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10987 # following values.
10991 # The following way of writing the cache mishandles newlines in values,
10992 # but we know of no workaround that is simple, portable, and efficient.
10993 # So, don't put newlines in cache variables' values.
10994 # Ultrix sh set writes to stderr and can't be redirected directly,
10995 # and sets the high bit in the cache file unless we assign to the vars.
10998 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11000 # `set' does not quote correctly, so add quotes (double-quote
11001 # substitution turns \\\\ into \\, and sed turns \\ into \).
11004 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11007 # `set' quotes correctly as required by POSIX, so do not add quotes.
11009 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11016 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11018 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11020 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11021 if test -w $cache_file; then
11022 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11023 cat confcache
>$cache_file
11025 echo "not updating unwritable cache $cache_file"
11030 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11031 # Let make expand exec_prefix.
11032 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11034 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11035 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11036 # trailing colons and then remove the whole line if VPATH becomes empty
11037 # (actually we leave an empty line to preserve line numbers).
11038 if test "x$srcdir" = x.
; then
11039 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11040 s/:*\$(srcdir):*/:/;
11041 s/:*\${srcdir}:*/:/;
11043 s/^\([^=]*=[ ]*\):*/\1/;
11049 DEFS
=-DHAVE_CONFIG_H
11053 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11054 # 1. Remove the extension, and $U if already installed.
11055 ac_i
=`echo "$ac_i" |
11056 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11058 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
11059 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
11061 LIBOBJS
=$ac_libobjs
11063 LTLIBOBJS
=$ac_ltlibobjs
11066 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11067 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11068 Usually this means the macro was only invoked conditionally." >&5
11069 echo "$as_me: error: conditional \"AMDEP\" was never defined.
11070 Usually this means the macro was only invoked conditionally." >&2;}
11071 { (exit 1); exit 1; }; }
11073 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11074 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11075 Usually this means the macro was only invoked conditionally." >&5
11076 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11077 Usually this means the macro was only invoked conditionally." >&2;}
11078 { (exit 1); exit 1; }; }
11080 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11081 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11082 Usually this means the macro was only invoked conditionally." >&5
11083 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11084 Usually this means the macro was only invoked conditionally." >&2;}
11085 { (exit 1); exit 1; }; }
11087 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE}"; then
11088 { { echo "$as_me:$LINENO: error: conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
11089 Usually this means the macro was only invoked conditionally." >&5
11090 echo "$as_me: error: conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
11091 Usually this means the macro was only invoked conditionally." >&2;}
11092 { (exit 1); exit 1; }; }
11094 if test -z "${USE_FORTRAN_TRUE}" && test -z "${USE_FORTRAN_FALSE}"; then
11095 { { echo "$as_me:$LINENO: error: conditional \"USE_FORTRAN\" was never defined.
11096 Usually this means the macro was only invoked conditionally." >&5
11097 echo "$as_me: error: conditional \"USE_FORTRAN\" was never defined.
11098 Usually this means the macro was only invoked conditionally." >&2;}
11099 { (exit 1); exit 1; }; }
11102 : ${CONFIG_STATUS=./config.status}
11103 ac_clean_files_save
=$ac_clean_files
11104 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11105 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11106 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11107 cat >$CONFIG_STATUS <<_ACEOF
11109 # Generated by $as_me.
11110 # Run this file to recreate the current configuration.
11111 # Compiler output produced by configure, useful for debugging
11112 # configure, is in config.log if it exists.
11115 ac_cs_recheck=false
11117 SHELL=\${CONFIG_SHELL-$SHELL}
11120 cat >>$CONFIG_STATUS <<\_ACEOF
11121 ## --------------------- ##
11122 ## M4sh Initialization. ##
11123 ## --------------------- ##
11125 # Be Bourne compatible
11126 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11129 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11130 # is contrary to our usage. Disable this feature.
11131 alias -g '${1+"$@"}'='"$@"'
11132 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
11135 DUALCASE
=1; export DUALCASE
# for MKS sh
11137 # Support unset when possible.
11138 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
11145 # Work around bugs in pre-3.0 UWIN ksh.
11146 $as_unset ENV MAIL MAILPATH
11153 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11154 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11155 LC_TELEPHONE LC_TIME
11157 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11158 eval $as_var=C
; export $as_var
11164 # Required to use basename.
11165 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11171 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
11172 as_basename
=basename
11178 # Name of the executable.
11179 as_me
=`$as_basename "$0" ||
11180 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11181 X"$0" : 'X\(//\)$' \| \
11182 X"$0" : 'X\(/\)$' \| \
11183 . : '\(.\)' 2>/dev/null ||
11185 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11186 /^X\/\(\/\/\)$/{ s//\1/; q; }
11187 /^X\/\(\/\).*/{ s//\1/; q; }
11191 # PATH needs CR, and LINENO needs CR and PATH.
11192 # Avoid depending upon Character Ranges.
11193 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11194 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11195 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11196 as_cr_digits
='0123456789'
11197 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11199 # The user is always right.
11200 if test "${PATH_SEPARATOR+set}" != set; then
11201 echo "#! /bin/sh" >conf$$.sh
11202 echo "exit 0" >>conf$$.sh
11204 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11213 as_lineno_1
=$LINENO
11214 as_lineno_2
=$LINENO
11215 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
11216 test "x$as_lineno_1" != "x$as_lineno_2" &&
11217 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
11218 # Find who we are. Look in the path if we contain no path at all
11221 *[\\/]* ) as_myself
=$0 ;;
11222 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11223 for as_dir
in $PATH
11226 test -z "$as_dir" && as_dir
=.
11227 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11232 # We did not find ourselves, most probably we were run as `sh COMMAND'
11233 # in which case we are not to be found in the path.
11234 if test "x$as_myself" = x
; then
11237 if test ! -f "$as_myself"; then
11238 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11239 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11240 { (exit 1); exit 1; }; }
11242 case $CONFIG_SHELL in
11244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11245 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
11248 test -z "$as_dir" && as_dir
=.
11249 for as_base
in sh bash ksh sh5
; do
11252 if ("$as_dir/$as_base" -c '
11253 as_lineno_1=$LINENO
11254 as_lineno_2=$LINENO
11255 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11256 test "x$as_lineno_1" != "x$as_lineno_2" &&
11257 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
11258 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
11259 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
11260 CONFIG_SHELL
=$as_dir/$as_base
11261 export CONFIG_SHELL
11262 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11270 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11271 # uniformly replaced by the line number. The first 'sed' inserts a
11272 # line-number line before each line; the second 'sed' does the real
11273 # work. The second script uses 'N' to pair each line-number line
11274 # with the numbered line, and appends trailing '-' during
11275 # substitution so that $LINENO is not a special case at line end.
11276 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11277 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11278 sed '=' <$as_myself |
11283 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11286 s,^['$as_cr_digits']*\n,,
11287 ' >$as_me.lineno
&&
11288 chmod +x
$as_me.lineno ||
11289 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11290 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11291 { (exit 1); exit 1; }; }
11293 # Don't try to exec as it changes $[0], causing all sort of problems
11294 # (the dirname of $[0] is not the place where we might find the
11295 # original and so on. Autoconf is especially sensible to this).
11297 # Exit status is that of the last command.
11302 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11303 *c
*,-n*) ECHO_N
= ECHO_C
='
11305 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
11306 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
11309 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11315 rm -f conf$$ conf$$.exe conf$$.
file
11317 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11318 # We could just check for DJGPP; but this test a) works b) is more generic
11319 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11320 if test -f conf$$.exe
; then
11321 # Don't use ln at all; we don't have any links
11326 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11331 rm -f conf$$ conf$$.exe conf$$.
file
11333 if mkdir
-p .
2>/dev
/null
; then
11336 test -d .
/-p && rmdir .
/-p
11340 as_executable_p
="test -f"
11342 # Sed expression to map a string onto a valid CPP name.
11343 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11345 # Sed expression to map a string onto a valid variable name.
11346 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11350 # We need space, tab and new line, in precisely that order.
11360 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11361 # report actual input values of CONFIG_FILES etc. instead of their
11362 # values after options handling. Logging --version etc. is OK.
11366 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11367 ## Running $as_me. ##
11372 This file was extended by GNU OpenMP Runtime Library $as_me 1.0, which was
11373 generated by GNU Autoconf 2.59. Invocation command line was
11375 CONFIG_FILES = $CONFIG_FILES
11376 CONFIG_HEADERS = $CONFIG_HEADERS
11377 CONFIG_LINKS = $CONFIG_LINKS
11378 CONFIG_COMMANDS = $CONFIG_COMMANDS
11382 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11386 # Files that config.status was made for.
11387 if test -n "$ac_config_files"; then
11388 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11391 if test -n "$ac_config_headers"; then
11392 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11395 if test -n "$ac_config_links"; then
11396 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11399 if test -n "$ac_config_commands"; then
11400 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11403 cat >>$CONFIG_STATUS <<\_ACEOF
11406 \`$as_me' instantiates files from templates according to the
11407 current configuration.
11409 Usage: $0 [OPTIONS] [FILE]...
11411 -h, --help print this help, then exit
11412 -V, --version print version number, then exit
11413 -q, --quiet do not print progress messages
11414 -d, --debug don't remove temporary files
11415 --recheck update $as_me by reconfiguring in the same conditions
11416 --file=FILE[:TEMPLATE]
11417 instantiate the configuration file FILE
11418 --header=FILE[:TEMPLATE]
11419 instantiate the configuration header FILE
11421 Configuration files:
11424 Configuration headers:
11427 Configuration commands:
11430 Report bugs to <bug-autoconf@gnu.org>."
11433 cat >>$CONFIG_STATUS <<_ACEOF
11435 GNU OpenMP Runtime Library config.status 1.0
11436 configured by $0, generated by GNU Autoconf 2.59,
11437 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11439 Copyright (C) 2003 Free Software Foundation, Inc.
11440 This config.status script is free software; the Free Software Foundation
11441 gives unlimited permission to copy, distribute and modify it."
11446 cat >>$CONFIG_STATUS <<\_ACEOF
11447 # If no file are specified by the user, then we need to provide default
11448 # value. By we need to know if files were specified by the user.
11454 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
11455 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
11463 *) # This is not an option, so the user has probably given explicit
11466 ac_need_defaults
=false
;;
11470 # Handling of the options.
11472 cat >>$CONFIG_STATUS <<\_ACEOF
11473 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11475 --version |
--vers* |
-V )
11476 echo "$ac_cs_version"; exit 0 ;;
11478 # Conflict between --help and --header
11479 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11480 Try \`$0 --help' for more information." >&5
11481 echo "$as_me: error: ambiguous option: $1
11482 Try \`$0 --help' for more information." >&2;}
11483 { (exit 1); exit 1; }; };;
11484 --help |
--hel |
-h )
11485 echo "$ac_cs_usage"; exit 0 ;;
11486 --debug |
--d* |
-d )
11488 --file |
--fil |
--fi |
--f )
11490 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
11491 ac_need_defaults
=false
;;
11492 --header |
--heade |
--head |
--hea )
11494 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
11495 ac_need_defaults
=false
;;
11496 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11497 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11500 # This is an error.
11501 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11502 Try \`$0 --help' for more information." >&5
11503 echo "$as_me: error: unrecognized option: $1
11504 Try \`$0 --help' for more information." >&2;}
11505 { (exit 1); exit 1; }; } ;;
11507 *) ac_config_targets
="$ac_config_targets $1" ;;
11513 ac_configure_extra_args
=
11515 if $ac_cs_silent; then
11517 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11521 cat >>$CONFIG_STATUS <<_ACEOF
11522 if \$ac_cs_recheck; then
11523 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11524 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11529 cat >>$CONFIG_STATUS <<_ACEOF
11531 # INIT-COMMANDS section.
11538 with_multisubdir="$with_multisubdir"
11539 with_multisrctop="$with_multisrctop"
11540 with_target_subdir="$with_target_subdir"
11541 ac_configure_args="${multilib_arg} ${ac_configure_args}"
11542 multi_basedir="$multi_basedir"
11543 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
11545 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11549 acx_cv_header_stdint="$acx_cv_header_stdint"
11550 acx_cv_type_int8_t="$acx_cv_type_int8_t"
11551 acx_cv_type_int16_t="$acx_cv_type_int16_t"
11552 acx_cv_type_int32_t="$acx_cv_type_int32_t"
11553 acx_cv_type_int64_t="$acx_cv_type_int64_t"
11554 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
11555 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
11556 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
11557 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
11558 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
11559 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
11560 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
11561 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
11562 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
11569 cat >>$CONFIG_STATUS <<\_ACEOF
11570 for ac_config_target
in $ac_config_targets
11572 case "$ac_config_target" in
11573 # Handling of arguments.
11574 "omp.h" ) CONFIG_FILES
="$CONFIG_FILES omp.h" ;;
11575 "omp_lib.h" ) CONFIG_FILES
="$CONFIG_FILES omp_lib.h" ;;
11576 "omp_lib.f90" ) CONFIG_FILES
="$CONFIG_FILES omp_lib.f90" ;;
11577 "libgomp_f.h" ) CONFIG_FILES
="$CONFIG_FILES libgomp_f.h" ;;
11578 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11579 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
11580 "libgomp.spec" ) CONFIG_FILES
="$CONFIG_FILES libgomp.spec" ;;
11581 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
11582 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
11583 "gstdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
11584 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
11585 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11586 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11587 { (exit 1); exit 1; }; };;
11591 # If the user did not use the arguments to specify the items to instantiate,
11592 # then the envvar interface is used. Set only those that are not.
11593 # We use the long form for the default assignment because of an extremely
11594 # bizarre bug on SunOS 4.1.3.
11595 if $ac_need_defaults; then
11596 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11597 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11598 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11601 # Have a temporary directory for convenience. Make it in the build tree
11602 # simply because there is no reason to put it here, and in addition,
11603 # creating and moving files from /tmp can sometimes cause problems.
11604 # Create a temporary directory, and hook for its removal unless debugging.
11607 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11608 trap '{ (exit 1); exit 1; }' 1 2 13 15
11611 # Create a (secure) tmp directory for tmp files.
11614 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11615 test -n "$tmp" && test -d "$tmp"
11618 tmp
=.
/confstat$$
-$RANDOM
11619 (umask 077 && mkdir
$tmp)
11622 echo "$me: cannot create a temporary directory in ." >&2
11623 { (exit 1); exit 1; }
11628 cat >>$CONFIG_STATUS <<_ACEOF
11631 # CONFIG_FILES section.
11634 # No need to generate the scripts if there are no CONFIG_FILES.
11635 # This happens for instance when ./config.status config.h
11636 if test -n "\$CONFIG_FILES"; then
11637 # Protect against being on the right side of a sed subst in config.status.
11638 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11639 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11640 s,@SHELL@,$SHELL,;t t
11641 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11642 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11643 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11644 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11645 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11646 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11647 s,@exec_prefix@,$exec_prefix,;t t
11648 s,@prefix@,$prefix,;t t
11649 s,@program_transform_name@,$program_transform_name,;t t
11650 s,@bindir@,$bindir,;t t
11651 s,@sbindir@,$sbindir,;t t
11652 s,@libexecdir@,$libexecdir,;t t
11653 s,@datadir@,$datadir,;t t
11654 s,@sysconfdir@,$sysconfdir,;t t
11655 s,@sharedstatedir@,$sharedstatedir,;t t
11656 s,@localstatedir@,$localstatedir,;t t
11657 s,@libdir@,$libdir,;t t
11658 s,@includedir@,$includedir,;t t
11659 s,@oldincludedir@,$oldincludedir,;t t
11660 s,@infodir@,$infodir,;t t
11661 s,@mandir@,$mandir,;t t
11662 s,@build_alias@,$build_alias,;t t
11663 s,@host_alias@,$host_alias,;t t
11664 s,@target_alias@,$target_alias,;t t
11665 s,@DEFS@,$DEFS,;t t
11666 s,@ECHO_C@,$ECHO_C,;t t
11667 s,@ECHO_N@,$ECHO_N,;t t
11668 s,@ECHO_T@,$ECHO_T,;t t
11669 s,@LIBS@,$LIBS,;t t
11670 s,@build@,$build,;t t
11671 s,@build_cpu@,$build_cpu,;t t
11672 s,@build_vendor@,$build_vendor,;t t
11673 s,@build_os@,$build_os,;t t
11674 s,@host@,$host,;t t
11675 s,@host_cpu@,$host_cpu,;t t
11676 s,@host_vendor@,$host_vendor,;t t
11677 s,@host_os@,$host_os,;t t
11678 s,@target@,$target,;t t
11679 s,@target_cpu@,$target_cpu,;t t
11680 s,@target_vendor@,$target_vendor,;t t
11681 s,@target_os@,$target_os,;t t
11682 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11683 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11684 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11685 s,@CYGPATH_W@,$CYGPATH_W,;t t
11686 s,@PACKAGE@,$PACKAGE,;t t
11687 s,@VERSION@,$VERSION,;t t
11688 s,@ACLOCAL@,$ACLOCAL,;t t
11689 s,@AUTOCONF@,$AUTOCONF,;t t
11690 s,@AUTOMAKE@,$AUTOMAKE,;t t
11691 s,@AUTOHEADER@,$AUTOHEADER,;t t
11692 s,@MAKEINFO@,$MAKEINFO,;t t
11693 s,@install_sh@,$install_sh,;t t
11694 s,@STRIP@,$STRIP,;t t
11695 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11696 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
11697 s,@mkdir_p@,$mkdir_p,;t t
11699 s,@SET_MAKE@,$SET_MAKE,;t t
11700 s,@am__leading_dot@,$am__leading_dot,;t t
11701 s,@AMTAR@,$AMTAR,;t t
11702 s,@am__tar@,$am__tar,;t t
11703 s,@am__untar@,$am__untar,;t t
11704 s,@multi_basedir@,$multi_basedir,;t t
11705 s,@toolexecdir@,$toolexecdir,;t t
11706 s,@toolexeclibdir@,$toolexeclibdir,;t t
11708 s,@ac_ct_CC@,$ac_ct_CC,;t t
11709 s,@EXEEXT@,$EXEEXT,;t t
11710 s,@OBJEXT@,$OBJEXT,;t t
11711 s,@DEPDIR@,$DEPDIR,;t t
11712 s,@am__include@,$am__include,;t t
11713 s,@am__quote@,$am__quote,;t t
11714 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
11715 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
11716 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
11717 s,@CCDEPMODE@,$CCDEPMODE,;t t
11718 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
11719 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
11720 s,@CFLAGS@,$CFLAGS,;t t
11722 s,@ac_ct_AR@,$ac_ct_AR,;t t
11723 s,@RANLIB@,$RANLIB,;t t
11724 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11725 s,@PERL@,$PERL,;t t
11726 s,@LN_S@,$LN_S,;t t
11727 s,@LIBTOOL@,$LIBTOOL,;t t
11728 s,@enable_shared@,$enable_shared,;t t
11729 s,@enable_static@,$enable_static,;t t
11730 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
11731 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
11732 s,@MAINT@,$MAINT,;t t
11734 s,@FCFLAGS@,$FCFLAGS,;t t
11735 s,@LDFLAGS@,$LDFLAGS,;t t
11736 s,@ac_ct_FC@,$ac_ct_FC,;t t
11737 s,@libtool_VERSION@,$libtool_VERSION,;t t
11739 s,@CPPFLAGS@,$CPPFLAGS,;t t
11740 s,@EGREP@,$EGREP,;t t
11741 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
11742 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
11743 s,@LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE@,$LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE,;t t
11744 s,@LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE@,$LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE,;t t
11745 s,@config_path@,$config_path,;t t
11746 s,@XCFLAGS@,$XCFLAGS,;t t
11747 s,@XLDFLAGS@,$XLDFLAGS,;t t
11748 s,@link_gomp@,$link_gomp,;t t
11749 s,@USE_FORTRAN_TRUE@,$USE_FORTRAN_TRUE,;t t
11750 s,@USE_FORTRAN_FALSE@,$USE_FORTRAN_FALSE,;t t
11751 s,@OMP_LOCK_SIZE@,$OMP_LOCK_SIZE,;t t
11752 s,@OMP_LOCK_ALIGN@,$OMP_LOCK_ALIGN,;t t
11753 s,@OMP_NEST_LOCK_SIZE@,$OMP_NEST_LOCK_SIZE,;t t
11754 s,@OMP_NEST_LOCK_ALIGN@,$OMP_NEST_LOCK_ALIGN,;t t
11755 s,@OMP_LOCK_KIND@,$OMP_LOCK_KIND,;t t
11756 s,@OMP_NEST_LOCK_KIND@,$OMP_NEST_LOCK_KIND,;t t
11757 s,@LIBOBJS@,$LIBOBJS,;t t
11758 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11763 cat >>$CONFIG_STATUS <<\_ACEOF
11764 # Split the substitutions into bite-sized pieces for seds with
11765 # small command number limits, like on Digital OSF/1 and HP-UX.
11766 ac_max_sed_lines
=48
11767 ac_sed_frag
=1 # Number of current file.
11768 ac_beg
=1 # First line for current file.
11769 ac_end
=$ac_max_sed_lines # Line after last line for current file.
11772 while $ac_more_lines; do
11773 if test $ac_beg -gt 1; then
11774 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
11776 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
11778 if test ! -s $tmp/subs.frag
; then
11779 ac_more_lines
=false
11781 # The purpose of the label and of the branching condition is to
11782 # speed up the sed processing (if there are no `@' at all, there
11783 # is no need to browse any of the substitutions).
11784 # These are the two extra sed commands mentioned above.
11786 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
11787 if test -z "$ac_sed_cmds"; then
11788 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
11790 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11792 ac_sed_frag
=`expr $ac_sed_frag + 1`
11794 ac_end
=`expr $ac_end + $ac_max_sed_lines`
11797 if test -z "$ac_sed_cmds"; then
11800 fi # test -n "$CONFIG_FILES"
11803 cat >>$CONFIG_STATUS <<\_ACEOF
11804 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
11805 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11807 - |
*:- |
*:-:* ) # input from stdin
11809 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11810 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11811 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11812 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11813 * ) ac_file_in
=$ac_file.
in ;;
11816 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11817 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
11818 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11819 X"$ac_file" : 'X\(//\)[^/]' \| \
11820 X"$ac_file" : 'X\(//\)$' \| \
11821 X"$ac_file" : 'X\(/\)' \| \
11822 . : '\(.\)' 2>/dev/null ||
11824 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11825 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11826 /^X\(\/\/\)$/{ s//\1/; q; }
11827 /^X\(\/\).*/{ s//\1/; q; }
11829 { if $as_mkdir_p; then
11834 while test ! -d "$as_dir"; do
11835 as_dirs
="$as_dir $as_dirs"
11836 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11837 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11838 X"$as_dir" : 'X\(//\)[^/]' \| \
11839 X"$as_dir" : 'X\(//\)$' \| \
11840 X"$as_dir" : 'X\(/\)' \| \
11841 . : '\(.\)' 2>/dev/null ||
11843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11844 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11845 /^X\(\/\/\)$/{ s//\1/; q; }
11846 /^X\(\/\).*/{ s//\1/; q; }
11849 test ! -n "$as_dirs" || mkdir
$as_dirs
11850 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11851 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11852 { (exit 1); exit 1; }; }; }
11856 if test "$ac_dir" != .
; then
11857 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11858 # A "../" for each directory in $ac_dir_suffix.
11859 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11861 ac_dir_suffix
= ac_top_builddir
=
11865 .
) # No --srcdir option. We are building in place.
11867 if test -z "$ac_top_builddir"; then
11870 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
11872 [\\/]* | ?
:[\\/]* ) # Absolute path.
11873 ac_srcdir
=$srcdir$ac_dir_suffix;
11874 ac_top_srcdir
=$srcdir ;;
11875 *) # Relative path.
11876 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
11877 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
11880 # Do not use `cd foo && pwd` to compute absolute paths, because
11881 # the directories may not exist.
11883 .
) ac_abs_builddir
="$ac_dir";;
11886 .
) ac_abs_builddir
=`pwd`;;
11887 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
11888 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
11891 case $ac_abs_builddir in
11892 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11894 case ${ac_top_builddir}.
in
11895 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
11896 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11897 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
11900 case $ac_abs_builddir in
11901 .
) ac_abs_srcdir
=$ac_srcdir;;
11904 .
) ac_abs_srcdir
=$ac_abs_builddir;;
11905 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
11906 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
11909 case $ac_abs_builddir in
11910 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
11912 case $ac_top_srcdir in
11913 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
11914 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
11915 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
11921 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
11922 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
11925 if test x
"$ac_file" != x-
; then
11926 { echo "$as_me:$LINENO: creating $ac_file" >&5
11927 echo "$as_me: creating $ac_file" >&6;}
11930 # Let's still pretend it is `configure' which instantiates (i.e., don't
11931 # use $as_me), people would be surprised to read:
11932 # /* config.h. Generated by config.status. */
11933 if test x
"$ac_file" = x-
; then
11936 configure_input
="$ac_file. "
11938 configure_input
=$configure_input"Generated from `echo $ac_file_in |
11939 sed 's,.*/,,'` by configure."
11941 # First look for the input files in the build tree, otherwise in the
11943 ac_file_inputs
=`IFS=:
11944 for f in $ac_file_in; do
11946 -) echo $tmp/stdin ;;
11948 # Absolute (can't be DOS-style, as IFS=:)
11949 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11950 echo "$as_me: error: cannot find input file: $f" >&2;}
11951 { (exit 1); exit 1; }; }
11954 if test -f "$f"; then
11957 elif test -f "$srcdir/$f"; then
11962 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11963 echo "$as_me: error: cannot find input file: $f" >&2;}
11964 { (exit 1); exit 1; }; }
11967 done` ||
{ (exit 1); exit 1; }
11969 cat >>$CONFIG_STATUS <<_ACEOF
11973 cat >>$CONFIG_STATUS <<\_ACEOF
11975 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11976 s
,@configure_input@
,$configure_input,;t t
11977 s
,@srcdir@
,$ac_srcdir,;t t
11978 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
11979 s
,@top_srcdir@
,$ac_top_srcdir,;t t
11980 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
11981 s
,@builddir@
,$ac_builddir,;t t
11982 s
,@abs_builddir@
,$ac_abs_builddir,;t t
11983 s
,@top_builddir@
,$ac_top_builddir,;t t
11984 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
11985 s
,@INSTALL@
,$ac_INSTALL,;t t
11986 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11988 if test x"$ac_file" != x-; then
11989 mv $tmp/out $ac_file
11997 cat >>$CONFIG_STATUS <<\_ACEOF
12000 # CONFIG_HEADER section.
12003 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
12004 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12006 # ac_d sets the value in "#define NAME VALUE" lines.
12007 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12008 ac_dB
='[ ].*$,\1#\2'
12011 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12012 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12013 ac_uB
='$,\1#\2define\3'
12017 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
12018 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12020 - |
*:- |
*:-:* ) # input from stdin
12022 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12023 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12024 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12025 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12026 * ) ac_file_in
=$ac_file.
in ;;
12029 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
12030 echo "$as_me: creating $ac_file" >&6;}
12032 # First look for the input files in the build tree, otherwise in the
12034 ac_file_inputs
=`IFS=:
12035 for f in $ac_file_in; do
12037 -) echo $tmp/stdin ;;
12039 # Absolute (can't be DOS-style, as IFS=:)
12040 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12041 echo "$as_me: error: cannot find input file: $f" >&2;}
12042 { (exit 1); exit 1; }; }
12043 # Do quote $f, to prevent DOS paths from being IFS'd.
12046 if test -f "$f"; then
12049 elif test -f "$srcdir/$f"; then
12054 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12055 echo "$as_me: error: cannot find input file: $f" >&2;}
12056 { (exit 1); exit 1; }; }
12059 done` ||
{ (exit 1); exit 1; }
12060 # Remove the trailing spaces.
12061 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12065 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12066 # `conftest.undefs', that substitutes the proper values into
12067 # config.h.in to produce config.h. The first handles `#define'
12068 # templates, and the second `#undef' templates.
12069 # And first: Protect against being on the right side of a sed subst in
12070 # config.status. Protect against being in an unquoted here document
12071 # in config.status.
12072 rm -f conftest.defines conftest.undefs
12073 # Using a here document instead of a string reduces the quoting nightmare.
12074 # Putting comments in sed scripts is not portable.
12076 # `end' is used to avoid that the second main sed command (meant for
12077 # 0-ary CPP macros) applies to n-ary macro definitions.
12078 # See the Autoconf documentation for `clear'.
12079 cat >confdef2sed.
sed <<\_ACEOF
12084 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12086 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12089 # If some macros were called several times there might be several times
12090 # the same #defines, which is useless. Nevertheless, we may not want to
12091 # sort them, since we want the *last* AC-DEFINE to be honored.
12092 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12093 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12094 rm -f confdef2sed.sed
12096 # This sed command replaces #undef with comments. This is necessary, for
12097 # example, in the case of _POSIX_SOURCE, which is predefined and required
12098 # on some systems where configure will not decide to define it.
12099 cat >>conftest.undefs <<\_ACEOF
12100 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12103 # Break up conftest.defines because some shells have a limit on the size
12104 # of here documents, and old seds have small limits too (100 cmds).
12105 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12106 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12107 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12108 echo ' :' >>$CONFIG_STATUS
12109 rm -f conftest.tail
12110 while grep . conftest.defines >/dev/null
12112 # Write a limited-size here document to $tmp/defines.sed.
12113 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12114 # Speed up: don't consider the non `#define' lines.
12115 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12116 # Work around the forget-to-reset-the-flag bug.
12117 echo 't clr' >>$CONFIG_STATUS
12118 echo ': clr' >>$CONFIG_STATUS
12119 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
12121 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12123 mv $tmp/out $tmp/in
12125 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
12126 rm -f conftest.defines
12127 mv conftest.
tail conftest.defines
12129 rm -f conftest.defines
12130 echo ' fi # grep' >>$CONFIG_STATUS
12131 echo >>$CONFIG_STATUS
12133 # Break up conftest.undefs because some shells have a limit on the size
12134 # of here documents, and old seds have small limits too (100 cmds).
12135 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12136 rm -f conftest.
tail
12137 while grep . conftest.undefs
>/dev
/null
12139 # Write a limited-size here document to $tmp/undefs.sed.
12140 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12141 # Speed up: don't consider the non
`#undef'
12142 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12143 # Work around the forget-to-reset-the-flag bug.
12144 echo 't clr' >>$CONFIG_STATUS
12145 echo ': clr' >>$CONFIG_STATUS
12146 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12148 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12150 mv $tmp/out $tmp/in
12152 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12153 rm -f conftest.undefs
12154 mv conftest.tail conftest.undefs
12156 rm -f conftest.undefs
12158 cat >>$CONFIG_STATUS <<\_ACEOF
12159 # Let's still pretend it is `configure
' which instantiates (i.e., don't
12160 # use $as_me), people would be surprised to read:
12161 # /* config.h. Generated by config.status. */
12162 if test x
"$ac_file" = x-
; then
12163 echo "/* Generated by configure. */" >$tmp/config.h
12165 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12167 cat $tmp/in >>$tmp/config.h
12169 if test x
"$ac_file" != x-
; then
12170 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
12171 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12172 echo "$as_me: $ac_file is unchanged" >&6;}
12174 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12175 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12176 X"$ac_file" : 'X\(//\)[^/]' \| \
12177 X"$ac_file" : 'X\(//\)$' \| \
12178 X"$ac_file" : 'X\(/\)' \| \
12179 . : '\(.\)' 2>/dev/null ||
12181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12182 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12183 /^X\(\/\/\)$/{ s//\1/; q; }
12184 /^X\(\/\).*/{ s//\1/; q; }
12186 { if $as_mkdir_p; then
12191 while test ! -d "$as_dir"; do
12192 as_dirs
="$as_dir $as_dirs"
12193 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12194 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12195 X"$as_dir" : 'X\(//\)[^/]' \| \
12196 X"$as_dir" : 'X\(//\)$' \| \
12197 X"$as_dir" : 'X\(/\)' \| \
12198 . : '\(.\)' 2>/dev/null ||
12200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12201 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12202 /^X\(\/\/\)$/{ s//\1/; q; }
12203 /^X\(\/\).*/{ s//\1/; q; }
12206 test ! -n "$as_dirs" || mkdir
$as_dirs
12207 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12208 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12209 { (exit 1); exit 1; }; }; }
12212 mv $tmp/config.h
$ac_file
12216 rm -f $tmp/config.h
12218 # Compute $ac_file's index in $config_headers.
12220 for _am_header
in $config_headers :; do
12221 case $_am_header in
12222 $ac_file |
$ac_file:* )
12225 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
12228 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12229 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12230 X$ac_file : 'X\(//\)[^/]' \| \
12231 X$ac_file : 'X\(//\)$' \| \
12232 X$ac_file : 'X\(/\)' \| \
12233 . : '\(.\)' 2>/dev/null ||
12235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12236 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12237 /^X\(\/\/\)$/{ s//\1/; q; }
12238 /^X\(\/\).*/{ s//\1/; q; }
12239 s/.*/./; q'`/stamp-h
$_am_stamp_count
12242 cat >>$CONFIG_STATUS <<\_ACEOF
12245 # CONFIG_COMMANDS section.
12247 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
12248 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
12249 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12250 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
12251 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12252 X"$ac_dest" : 'X\(//\)[^/]' \| \
12253 X"$ac_dest" : 'X\(//\)$' \| \
12254 X"$ac_dest" : 'X\(/\)' \| \
12255 . : '\(.\)' 2>/dev/null ||
12257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12258 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12259 /^X\(\/\/\)$/{ s//\1/; q; }
12260 /^X\(\/\).*/{ s//\1/; q; }
12262 { if $as_mkdir_p; then
12267 while test ! -d "$as_dir"; do
12268 as_dirs
="$as_dir $as_dirs"
12269 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12270 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12271 X"$as_dir" : 'X\(//\)[^/]' \| \
12272 X"$as_dir" : 'X\(//\)$' \| \
12273 X"$as_dir" : 'X\(/\)' \| \
12274 . : '\(.\)' 2>/dev/null ||
12276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12277 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12278 /^X\(\/\/\)$/{ s//\1/; q; }
12279 /^X\(\/\).*/{ s//\1/; q; }
12282 test ! -n "$as_dirs" || mkdir
$as_dirs
12283 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12284 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12285 { (exit 1); exit 1; }; }; }
12289 if test "$ac_dir" != .
; then
12290 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12291 # A "../" for each directory in $ac_dir_suffix.
12292 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12294 ac_dir_suffix
= ac_top_builddir
=
12298 .
) # No --srcdir option. We are building in place.
12300 if test -z "$ac_top_builddir"; then
12303 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12305 [\\/]* | ?
:[\\/]* ) # Absolute path.
12306 ac_srcdir
=$srcdir$ac_dir_suffix;
12307 ac_top_srcdir
=$srcdir ;;
12308 *) # Relative path.
12309 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12310 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12313 # Do not use `cd foo && pwd` to compute absolute paths, because
12314 # the directories may not exist.
12316 .
) ac_abs_builddir
="$ac_dir";;
12319 .
) ac_abs_builddir
=`pwd`;;
12320 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12321 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12324 case $ac_abs_builddir in
12325 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12327 case ${ac_top_builddir}.
in
12328 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12329 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12330 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12333 case $ac_abs_builddir in
12334 .
) ac_abs_srcdir
=$ac_srcdir;;
12337 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12338 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12339 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12342 case $ac_abs_builddir in
12343 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12345 case $ac_top_srcdir in
12346 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12347 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12348 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12353 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12354 echo "$as_me: executing $ac_dest commands" >&6;}
12357 # Only add multilib support code if we just rebuilt the top-level
12359 case " $CONFIG_FILES " in
12361 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
12364 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
12365 # Strip MF so we end up with the name of the file.
12366 mf
=`echo "$mf" | sed -e 's/:.*$//'`
12367 # Check whether this is an Automake generated Makefile or not.
12368 # We used to match only the files named `Makefile.in', but
12369 # some people rename them; so instead we look at the file content.
12370 # Grep'ing the first line is not enough: some people post-process
12371 # each Makefile.in and add a new line on top of each file to say so.
12372 # So let's grep whole file.
12373 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
12374 dirpart
=`(dirname "$mf") 2>/dev/null ||
12375 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12376 X"$mf" : 'X\(//\)[^/]' \| \
12377 X"$mf" : 'X\(//\)$' \| \
12378 X"$mf" : 'X\(/\)' \| \
12379 . : '\(.\)' 2>/dev/null ||
12381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12382 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12383 /^X\(\/\/\)$/{ s//\1/; q; }
12384 /^X\(\/\).*/{ s//\1/; q; }
12389 # Extract the definition of DEPDIR, am__include, and am__quote
12390 # from the Makefile without running `make'.
12391 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
12392 test -z "$DEPDIR" && continue
12393 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
12394 test -z "am__include" && continue
12395 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
12396 # When using ansi2knr, U may be empty or an underscore; expand it
12397 U
=`sed -n 's/^U = //p' < "$mf"`
12398 # Find all dependency output files, they are included files with
12399 # $(DEPDIR) in their names. We invoke sed twice because it is the
12400 # simplest approach to changing $(DEPDIR) to its actual value in the
12402 for file in `sed -n "
12403 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12404 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12405 # Make sure the directory exists.
12406 test -f "$dirpart/$file" && continue
12407 fdir
=`(dirname "$file") 2>/dev/null ||
12408 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12409 X"$file" : 'X\(//\)[^/]' \| \
12410 X"$file" : 'X\(//\)$' \| \
12411 X"$file" : 'X\(/\)' \| \
12412 . : '\(.\)' 2>/dev/null ||
12414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12415 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12416 /^X\(\/\/\)$/{ s//\1/; q; }
12417 /^X\(\/\).*/{ s//\1/; q; }
12419 { if $as_mkdir_p; then
12420 mkdir
-p $dirpart/$fdir
12422 as_dir
=$dirpart/$fdir
12424 while test ! -d "$as_dir"; do
12425 as_dirs
="$as_dir $as_dirs"
12426 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12427 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12428 X"$as_dir" : 'X\(//\)[^/]' \| \
12429 X"$as_dir" : 'X\(//\)$' \| \
12430 X"$as_dir" : 'X\(/\)' \| \
12431 . : '\(.\)' 2>/dev/null ||
12433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12434 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12435 /^X\(\/\/\)$/{ s//\1/; q; }
12436 /^X\(\/\).*/{ s//\1/; q; }
12439 test ! -n "$as_dirs" || mkdir
$as_dirs
12440 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
12441 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
12442 { (exit 1); exit 1; }; }; }
12444 # echo "creating $dirpart/$file"
12445 echo '# dummy' > "$dirpart/$file"
12450 if test "$GCC" = yes; then
12451 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
12453 echo "/* generated for $CC */" > tmp-stdint.h
12456 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12458 #ifndef GCC_GENERATED_STDINT_H
12459 #define GCC_GENERATED_STDINT_H 1
12461 #include <sys/types.h>
12464 if test "$acx_cv_header_stdint" != stdint.h
; then
12465 echo "#include <stddef.h>" >> tmp-stdint.h
12467 if test "$acx_cv_header_stdint" != stddef.h
; then
12468 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
12471 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12472 /* glibc uses these symbols as guards to prevent redefinitions. */
12473 #ifdef __int8_t_defined
12478 #ifdef __uint32_t_defined
12484 # ----------------- done header, emit basic int types -------------
12485 if test "$acx_cv_header_stdint" = stddef.h
; then
12486 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12490 typedef unsigned $acx_cv_type_int8_t uint8_t;
12495 typedef unsigned $acx_cv_type_int16_t uint16_t;
12500 typedef unsigned $acx_cv_type_int32_t uint32_t;
12505 typedef $acx_cv_type_int8_t int8_t;
12510 typedef $acx_cv_type_int16_t int16_t;
12515 typedef $acx_cv_type_int32_t int32_t;
12518 elif test "$ac_cv_type_u_int32_t" = yes; then
12519 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12521 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
12534 typedef u_int8_t uint8_t;
12539 typedef u_int16_t uint16_t;
12544 typedef u_int32_t uint32_t;
12548 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12550 /* Some systems have guard macros to prevent redefinitions, define them. */
12572 # ------------- done basic int types, emit int64_t types ------------
12573 if test "$ac_cv_type_uint64_t" = yes; then
12574 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12576 /* system headers have good uint64_t and int64_t */
12584 elif test "$ac_cv_type_u_int64_t" = yes; then
12585 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12587 /* system headers have an u_int64_t (and int64_t) */
12593 typedef u_int64_t uint64_t;
12596 elif test -n "$acx_cv_type_int64_t"; then
12597 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12599 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
12602 typedef $acx_cv_type_int64_t int64_t;
12606 typedef unsigned $acx_cv_type_int64_t uint64_t;
12610 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12612 /* some common heuristics for int64_t, using compiler-specific tests */
12613 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
12616 typedef long long int64_t;
12620 typedef unsigned long long uint64_t;
12623 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
12624 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
12625 does not implement __extension__. But that compiler doesn't define
12627 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
12628 # define __extension__
12633 __extension__ typedef long long int64_t;
12637 __extension__ typedef unsigned long long uint64_t;
12640 #elif !defined __STRICT_ANSI__
12641 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
12645 typedef __int64 int64_t;
12649 typedef unsigned __int64 uint64_t;
12651 # endif /* compiler */
12653 #endif /* ANSI version */
12657 # ------------- done int64_t types, emit intptr types ------------
12658 if test "$ac_cv_type_uintptr_t" != yes; then
12659 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12661 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
12662 typedef u$acx_cv_type_intptr_t uintptr_t;
12663 typedef $acx_cv_type_intptr_t intptr_t;
12667 # ------------- done intptr types, emit int_least types ------------
12668 if test "$ac_cv_type_int_least32_t" != yes; then
12669 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12671 /* Define int_least types */
12672 typedef int8_t int_least8_t;
12673 typedef int16_t int_least16_t;
12674 typedef int32_t int_least32_t;
12676 typedef int64_t int_least64_t;
12679 typedef uint8_t uint_least8_t;
12680 typedef uint16_t uint_least16_t;
12681 typedef uint32_t uint_least32_t;
12683 typedef uint64_t uint_least64_t;
12688 # ------------- done intptr types, emit int_fast types ------------
12689 if test "$ac_cv_type_int_fast32_t" != yes; then
12690 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12692 /* Define int_fast types. short is often slow */
12693 typedef int8_t int_fast8_t;
12694 typedef int int_fast16_t;
12695 typedef int32_t int_fast32_t;
12697 typedef int64_t int_fast64_t;
12700 typedef uint8_t uint_fast8_t;
12701 typedef unsigned int uint_fast16_t;
12702 typedef uint32_t uint_fast32_t;
12704 typedef uint64_t uint_fast64_t;
12709 if test "$ac_cv_type_uintmax_t" != yes; then
12710 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12712 /* Define intmax based on what we found */
12714 typedef int64_t intmax_t;
12716 typedef long intmax_t;
12719 typedef uint64_t uintmax_t;
12721 typedef unsigned long uintmax_t;
12726 sed 's/^ *//' >> tmp-stdint.h
<<EOF
12728 #endif /* GCC_GENERATED_STDINT_H */
12731 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
12734 mv -f tmp-stdint.h gstdint.h
12742 cat >>$CONFIG_STATUS <<\_ACEOF
12744 { (exit 0); exit 0; }
12746 chmod +x
$CONFIG_STATUS
12747 ac_clean_files
=$ac_clean_files_save
12750 # configure is writing to config.log, and then calls config.status.
12751 # config.status does its own redirection, appending to config.log.
12752 # Unfortunately, on DOS this fails, as config.log is still kept open
12753 # by configure, so config.status won't be able to write to it; its
12754 # output is simply discarded. So we exec the FD to /dev/null,
12755 # effectively closing config.log, so it can be properly (re)opened and
12756 # appended to by config.status. When coming back to configure, we
12757 # need to make the FD available again.
12758 if test "$no_create" != yes; then
12760 ac_config_status_args
=
12761 test "$silent" = yes &&
12762 ac_config_status_args
="$ac_config_status_args --quiet"
12764 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12766 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12767 # would make configure fail if this is the last instruction.
12768 $ac_cs_success ||
{ (exit 1); exit 1; }