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 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 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 _g_switchUse the Linux futex system call
858 permit
yes|no
[default
=yes]
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 _g_switchUse thread-local storage
868 --enable-symvers=STYLE enables symbol versioning of the shared library
872 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
873 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
874 --with-gnu-ld assume the C compiler uses GNU ld default
=no
875 --with-pic try to use only PIC
/non-PIC objects default
=use both
877 Some influential environment variables
:
878 CC C compiler
command
879 CFLAGS C compiler flags
880 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
881 nonstandard directory
<lib dir
>
882 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
883 headers
in a nonstandard directory
<include dir
>
884 FC Fortran compiler
command
885 FCFLAGS Fortran compiler flags
888 Use these variables to override the choices made by
`configure' or to help
889 it to find libraries and programs with nonstandard names/locations.
894 if test "$ac_init_help" = "recursive"; then
895 # If there are subdirs, report their specific --help.
897 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
898 test -d $ac_dir || continue
901 if test "$ac_dir" != .; then
902 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
903 # A "../" for each directory in $ac_dir_suffix.
904 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
906 ac_dir_suffix= ac_top_builddir=
910 .) # No --srcdir option. We are building in place.
912 if test -z "$ac_top_builddir"; then
915 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
917 [\\/]* | ?:[\\/]* ) # Absolute path.
918 ac_srcdir=$srcdir$ac_dir_suffix;
919 ac_top_srcdir=$srcdir ;;
921 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
922 ac_top_srcdir=$ac_top_builddir$srcdir ;;
925 # Do not use `cd foo
&& pwd` to compute absolute paths, because
926 # the directories may not exist.
928 .) ac_abs_builddir="$ac_dir";;
931 .) ac_abs_builddir=`pwd`;;
932 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
933 *) ac_abs_builddir=`pwd`/"$ac_dir";;
936 case $ac_abs_builddir in
937 .) ac_abs_top_builddir=${ac_top_builddir}.;;
939 case ${ac_top_builddir}. in
940 .) ac_abs_top_builddir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
942 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
945 case $ac_abs_builddir in
946 .) ac_abs_srcdir=$ac_srcdir;;
949 .) ac_abs_srcdir=$ac_abs_builddir;;
950 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
951 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
954 case $ac_abs_builddir in
955 .) ac_abs_top_srcdir=$ac_top_srcdir;;
957 case $ac_top_srcdir in
958 .) ac_abs_top_srcdir=$ac_abs_builddir;;
959 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
960 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
965 # Check for guested configure; otherwise get Cygnus style configure.
966 if test -f $ac_srcdir/configure.gnu; then
968 $SHELL $ac_srcdir/configure.gnu --help=recursive
969 elif test -f $ac_srcdir/configure; then
971 $SHELL $ac_srcdir/configure --help=recursive
972 elif test -f $ac_srcdir/configure.ac ||
973 test -f $ac_srcdir/configure.in; then
977 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
983 test -n "$ac_init_help" && exit 0
984 if $ac_init_version; then
986 GNU OpenMP Runtime Library configure 1.0
987 generated by GNU Autoconf 2.59
989 Copyright (C) 2003 Free Software Foundation, Inc.
990 This configure script is free software; the Free Software Foundation
991 gives unlimited permission to copy, distribute and modify it.
997 This file contains any messages produced by compilers while
998 running configure, to aid debugging if configure makes a mistake.
1000 It was created by GNU OpenMP Runtime Library $as_me 1.0, which was
1001 generated by GNU Autoconf 2.59. Invocation command line was
1012 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1013 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1014 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1015 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1016 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1018 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1019 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1021 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1022 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1023 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1024 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1025 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1026 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1027 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1035 test -z "$as_dir" && as_dir=.
1036 echo "PATH: $as_dir"
1051 # Keep a trace of the command line.
1052 # Strip out --no-create and --no-recursion so they do not pile up.
1053 # Strip out --silent because we don't want to record it for future runs.
1054 # Also quote any args containing shell meta-characters.
1055 # Make two passes to allow for proper duplicate-argument suppression.
1060 ac_must_keep_next=false
1066 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1067 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1068 | -silent | --silent | --silen | --sile | --sil)
1070 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1071 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1074 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1076 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1077 if test $ac_must_keep_next = true; then
1078 ac_must_keep_next=false # Got value, back to normal.
1081 *=* | --config-cache | -C | -disable-* | --disable-* \
1082 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1083 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1084 | -with-* | --with-* | -without-* | --without-* | --x)
1085 case "$ac_configure_args0 " in
1086 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1089 -* ) ac_must_keep_next=true ;;
1092 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1093 # Get rid of the leading space.
1099 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1100 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1102 # When interrupted or exit'd, cleanup temporary files, and complete
1103 # config.log. We remove comments because anyway the quotes in there
1104 # would cause problems or look ugly.
1105 # WARNING: Be sure not to use single quotes in there, as some shells,
1106 # such as our DU 5.0 friend, will then `close
' the trap.
1107 trap 'exit_status
=$?
1108 # Save into config.log some information that might help in debugging.
1113 ## ---------------- ##
1114 ## Cache variables. ##
1115 ## ---------------- ##
1118 # The following way of writing the cache mishandles newlines in values,
1121 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1124 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1129 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1136 ## ----------------- ##
1137 ## Output variables. ##
1138 ## ----------------- ##
1141 for ac_var
in $ac_subst_vars
1143 eval ac_val
=$
`echo $ac_var`
1144 echo "$ac_var='"'"'$ac_val'"'"'"
1148 if test -n "$ac_subst_files"; then
1155 for ac_var
in $ac_subst_files
1157 eval ac_val
=$
`echo $ac_var`
1158 echo "$ac_var='"'"'$ac_val'"'"'"
1163 if test -s confdefs.h
; then
1170 sed "/^$/d" confdefs.h |
sort
1173 test "$ac_signal" != 0 &&
1174 echo "$as_me: caught signal $ac_signal"
1175 echo "$as_me: exit $exit_status"
1177 rm -f core
*.core
&&
1178 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1181 for ac_signal in 1 2 13 15; do
1182 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1186 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1187 rm -rf conftest* confdefs.h
1188 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1191 # Predefined preprocessor variables.
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_NAME "$PACKAGE_NAME"
1198 cat >>confdefs.h <<_ACEOF
1199 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1203 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1208 cat >>confdefs.h <<_ACEOF
1209 #define PACKAGE_STRING "$PACKAGE_STRING"
1213 cat >>confdefs.h <<_ACEOF
1214 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1218 # Let the site file select an alternate cache file if it wants to.
1219 # Prefer explicitly selected file to automatically selected ones.
1220 if test -z "$CONFIG_SITE"; then
1221 if test "x$prefix" != xNONE; then
1222 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1224 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1227 for ac_site_file in $CONFIG_SITE; do
1228 if test -r "$ac_site_file"; then
1229 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1230 echo "$as_me: loading site script $ac_site_file" >&6;}
1231 sed 's
/^
/|
/' "$ac_site_file" >&5
1236 if test -r "$cache_file"; then
1237 # Some versions of bash will fail to source /dev/null (special
1238 # files actually), so we avoid doing that.
1239 if test -f "$cache_file"; then
1240 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1241 echo "$as_me: loading cache $cache_file" >&6;}
1243 [\\/]* | ?:[\\/]* ) . $cache_file;;
1244 *) . ./$cache_file;;
1248 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1249 echo "$as_me: creating cache $cache_file" >&6;}
1253 # Check that the precious variables saved in the cache have kept the same
1255 ac_cache_corrupted=false
1256 for ac_var in `(set) 2>&1 |
1257 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1258 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1259 eval ac_new_set=\$ac_env_${ac_var}_set
1260 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1261 eval ac_new_val="\$ac_env_${ac_var}_value"
1262 case $ac_old_set,$ac_new_set in
1264 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1265 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1266 ac_cache_corrupted=: ;;
1268 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1269 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1270 ac_cache_corrupted=: ;;
1273 if test "x$ac_old_val" != "x$ac_new_val"; then
1274 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1275 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1276 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1277 echo "$as_me: former value: $ac_old_val" >&2;}
1278 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1279 echo "$as_me: current value: $ac_new_val" >&2;}
1280 ac_cache_corrupted=:
1283 # Pass precious variables to config.status.
1284 if test "$ac_new_set" = set; then
1286 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1287 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1288 *) ac_arg=$ac_var=$ac_new_val ;;
1290 case " $ac_configure_args " in
1291 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1292 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1296 if $ac_cache_corrupted; then
1297 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1298 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1299 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1300 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1301 { (exit 1); exit 1; }; }
1305 ac_cpp='$CPP $CPPFLAGS'
1306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1307 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1336 ac_config_headers="$ac_config_headers config.h"
1343 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1344 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1345 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1346 if test "${enable_version_specific_runtime_libs+set}" = set; then
1347 enableval="$enable_version_specific_runtime_libs"
1349 case "$enableval" in
1351 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific-runtime-libs" >&5
1352 echo "$as_me: error: Unknown argument to enable/disable version-specific-runtime-libs" >&2;}
1353 { (exit 1); exit 1; }; } ;;
1357 enable_version_specific_runtime_libs=no
1360 echo "$as_me:$LINENO: result: $enable_version_specific_runtime_libs" >&5
1361 echo "${ECHO_T}$enable_version_specific_runtime_libs" >&6
1363 echo "$as_me:$LINENO: checking for --enable-linux-futex" >&5
1364 echo $ECHO_N "checking for --enable-linux-futex... $ECHO_C" >&6
1365 # Check whether --enable-linux-futex or --disable-linux-futex was given.
1366 if test "${enable_linux_futex+set}" = set; then
1367 enableval="$enable_linux_futex"
1369 case "$enableval" in
1371 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable linux-futex must be yes or no" >&5
1372 echo "$as_me: error: Argument to enable/disable linux-futex must be yes or no" >&2;}
1373 { (exit 1); exit 1; }; } ;;
1377 enable_linux_futex=yes
1380 echo "$as_me:$LINENO: result: $enable_linux_futex" >&5
1381 echo "${ECHO_T}$enable_linux_futex" >&6
1386 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1388 # You will slowly go insane if you do not grok the following fact: when
1389 # building this library, the top-level /target/ becomes the library's
/host
/.
1391 # configure then causes --target to default to --host, exactly like any
1392 # other package using autoconf. Therefore, 'target' and 'host' will
1393 # always be the same. This makes sense both for native and cross compilers
1394 # just think about it for a little while. :-)
1396 # Also, if this library is being configured as part of a cross compiler, the
1397 # top-level configure script will pass the "real" host as $with_cross_host.
1399 # Do not delete or change the following two lines. For why, see
1400 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1402 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1403 if test -f $ac_dir/install-sh
; then
1405 ac_install_sh
="$ac_aux_dir/install-sh -c"
1407 elif test -f $ac_dir/install.sh
; then
1409 ac_install_sh
="$ac_aux_dir/install.sh -c"
1411 elif test -f $ac_dir/shtool
; then
1413 ac_install_sh
="$ac_aux_dir/shtool install -c"
1417 if test -z "$ac_aux_dir"; then
1418 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1419 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1420 { (exit 1); exit 1; }; }
1422 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1423 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1424 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1426 # Make sure we can run config.sub.
1427 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1428 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1429 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1430 { (exit 1); exit 1; }; }
1432 echo "$as_me:$LINENO: checking build system type" >&5
1433 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1434 if test "${ac_cv_build+set}" = set; then
1435 echo $ECHO_N "(cached) $ECHO_C" >&6
1437 ac_cv_build_alias
=$build_alias
1438 test -z "$ac_cv_build_alias" &&
1439 ac_cv_build_alias
=`$ac_config_guess`
1440 test -z "$ac_cv_build_alias" &&
1441 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1442 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1443 { (exit 1); exit 1; }; }
1444 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1445 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1446 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1447 { (exit 1); exit 1; }; }
1450 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1451 echo "${ECHO_T}$ac_cv_build" >&6
1453 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1454 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1455 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1458 echo "$as_me:$LINENO: checking host system type" >&5
1459 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1460 if test "${ac_cv_host+set}" = set; then
1461 echo $ECHO_N "(cached) $ECHO_C" >&6
1463 ac_cv_host_alias
=$host_alias
1464 test -z "$ac_cv_host_alias" &&
1465 ac_cv_host_alias
=$ac_cv_build_alias
1466 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1467 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1468 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1469 { (exit 1); exit 1; }; }
1472 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1473 echo "${ECHO_T}$ac_cv_host" >&6
1475 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1476 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1477 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1480 echo "$as_me:$LINENO: checking target system type" >&5
1481 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1482 if test "${ac_cv_target+set}" = set; then
1483 echo $ECHO_N "(cached) $ECHO_C" >&6
1485 ac_cv_target_alias
=$target_alias
1486 test "x$ac_cv_target_alias" = "x" &&
1487 ac_cv_target_alias
=$ac_cv_host_alias
1488 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1489 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1490 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1491 { (exit 1); exit 1; }; }
1494 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1495 echo "${ECHO_T}$ac_cv_target" >&6
1496 target
=$ac_cv_target
1497 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1498 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1499 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1502 # The aliases save the names the user supplied, while $host etc.
1503 # will get canonicalized.
1504 test -n "$target_alias" &&
1505 test "$program_prefix$program_suffix$program_transform_name" = \
1507 program_prefix
=${target_alias}-
1508 target_alias
=${target_alias-$host_alias}
1510 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1511 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1512 # 1.9.0: minimum required version
1513 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1514 # of other PACKAGE_* variables will, however, and there's nothing
1515 # we can do about that; they come from AC_INIT).
1516 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1517 # file in the top srcdir, etc, etc), so stop complaining.
1518 # no-dependencies: turns off auto dependency generation (just for now)
1519 # -Wall: turns on all automake warnings...
1520 # -Wno-portability: ...except this one, since GNU make is required.
1521 # -Wno-override: ... and this one, since we do want this in testsuite.
1522 am__api_version
="1.9"
1523 # Find a good install program. We prefer a C program (faster),
1524 # so one script is as good as another. But avoid the broken or
1525 # incompatible versions:
1526 # SysV /etc/install, /usr/sbin/install
1527 # SunOS /usr/etc/install
1528 # IRIX /sbin/install
1530 # AmigaOS /C/install, which installs bootblocks on floppy discs
1531 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1532 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1533 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1534 # OS/2's system install, which has a completely different semantic
1535 # ./install, which can be erroneously created by make from ./install.sh.
1536 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1537 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1538 if test -z "$INSTALL"; then
1539 if test "${ac_cv_path_install+set}" = set; then
1540 echo $ECHO_N "(cached) $ECHO_C" >&6
1542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1546 test -z "$as_dir" && as_dir
=.
1547 # Account for people who put trailing slashes in PATH elements.
1549 .
/ | .
// |
/cC
/* | \
1550 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1551 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1554 # OSF1 and SCO ODT 3.0 have their own names for install.
1555 # Don't use installbsd from OSF since it installs stuff as root
1557 for ac_prog
in ginstall scoinst
install; do
1558 for ac_exec_ext
in '' $ac_executable_extensions; do
1559 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1560 if test $ac_prog = install &&
1561 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1562 # AIX install. It has an incompatible calling convention.
1564 elif test $ac_prog = install &&
1565 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1566 # program-specific install script used by HP pwplus--don't use.
1569 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1581 if test "${ac_cv_path_install+set}" = set; then
1582 INSTALL
=$ac_cv_path_install
1584 # As a last resort, use the slow shell script. We don't cache a
1585 # path for INSTALL within a source directory, because that will
1586 # break other packages using the cache if that directory is
1587 # removed, or if the path is relative.
1588 INSTALL
=$ac_install_sh
1591 echo "$as_me:$LINENO: result: $INSTALL" >&5
1592 echo "${ECHO_T}$INSTALL" >&6
1594 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1595 # It thinks the first close brace ends the variable substitution.
1596 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1598 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1600 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1602 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1603 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1606 echo timestamp
> conftest.
file
1607 # Do `set' in a subshell so we don't clobber the current shell's
1608 # arguments. Must try -L first in case configure is actually a
1609 # symlink; some systems play weird games with the mod time of symlinks
1610 # (eg FreeBSD returns the mod time of the symlink's containing
1613 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1614 if test "$*" = "X"; then
1616 set X
`ls -t $srcdir/configure conftest.file`
1619 if test "$*" != "X $srcdir/configure conftest.file" \
1620 && test "$*" != "X conftest.file $srcdir/configure"; then
1622 # If neither matched, then we have a broken ls. This can happen
1623 # if, for instance, CONFIG_SHELL is bash and it inherits a
1624 # broken ls alias from the environment. This has actually
1625 # happened. Such a system could not be considered "sane".
1626 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1627 alias in your environment" >&5
1628 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1629 alias in your environment" >&2;}
1630 { (exit 1); exit 1; }; }
1633 test "$2" = conftest.
file
1639 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1640 Check your system clock" >&5
1641 echo "$as_me: error: newly created file is older than distributed files!
1642 Check your system clock" >&2;}
1643 { (exit 1); exit 1; }; }
1645 echo "$as_me:$LINENO: result: yes" >&5
1646 echo "${ECHO_T}yes" >&6
1647 test "$program_prefix" != NONE
&&
1648 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1649 # Use a double $ so make ignores it.
1650 test "$program_suffix" != NONE
&&
1651 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1652 # Double any \ or $. echo might interpret backslashes.
1653 # By default was `s,x,x', remove it if useless.
1654 cat <<\_ACEOF
>conftest.
sed
1655 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1657 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1660 # expand $ac_aux_dir to an absolute path
1661 am_aux_dir
=`cd $ac_aux_dir && pwd`
1663 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1664 # Use eval to expand $SHELL
1665 if eval "$MISSING --run true"; then
1666 am_missing_run
="$MISSING --run "
1669 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1670 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1673 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1674 # We used to keeping the `.' as first argument, in order to
1675 # allow $(mkdir_p) to be used without argument. As in
1676 # $(mkdir_p) $(somedir)
1677 # where $(somedir) is conditionally defined. However this is wrong
1679 # 1. if the package is installed by a user who cannot write `.'
1680 # make install will fail,
1681 # 2. the above comment should most certainly read
1682 # $(mkdir_p) $(DESTDIR)$(somedir)
1683 # so it does not work when $(somedir) is undefined and
1684 # $(DESTDIR) is not.
1685 # To support the latter case, we have to write
1686 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1687 # so the `.' trick is pointless.
1688 mkdir_p
='mkdir -p --'
1690 # On NextStep and OpenStep, the `mkdir' command does not
1691 # recognize any option. It will interpret all options as
1692 # directories to create, and then abort because `.' already
1694 for d
in .
/-p .
/--version;
1696 test -d $d && rmdir $d
1698 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1699 if test -f "$ac_aux_dir/mkinstalldirs"; then
1700 mkdir_p
='$(mkinstalldirs)'
1702 mkdir_p
='$(install_sh) -d'
1706 for ac_prog
in gawk mawk nawk
awk
1708 # Extract the first word of "$ac_prog", so it can be a program name with args.
1709 set dummy
$ac_prog; ac_word
=$2
1710 echo "$as_me:$LINENO: checking for $ac_word" >&5
1711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1712 if test "${ac_cv_prog_AWK+set}" = set; then
1713 echo $ECHO_N "(cached) $ECHO_C" >&6
1715 if test -n "$AWK"; then
1716 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1722 test -z "$as_dir" && as_dir
=.
1723 for ac_exec_ext
in '' $ac_executable_extensions; do
1724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1725 ac_cv_prog_AWK
="$ac_prog"
1726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1735 if test -n "$AWK"; then
1736 echo "$as_me:$LINENO: result: $AWK" >&5
1737 echo "${ECHO_T}$AWK" >&6
1739 echo "$as_me:$LINENO: result: no" >&5
1740 echo "${ECHO_T}no" >&6
1743 test -n "$AWK" && break
1746 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1747 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1748 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1749 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1750 echo $ECHO_N "(cached) $ECHO_C" >&6
1752 cat >conftest.
make <<\_ACEOF
1754 @
echo 'ac_maketemp="$(MAKE)"'
1756 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1757 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1758 if test -n "$ac_maketemp"; then
1759 eval ac_cv_prog_make_
${ac_make}_set
=yes
1761 eval ac_cv_prog_make_
${ac_make}_set
=no
1765 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1766 echo "$as_me:$LINENO: result: yes" >&5
1767 echo "${ECHO_T}yes" >&6
1770 echo "$as_me:$LINENO: result: no" >&5
1771 echo "${ECHO_T}no" >&6
1772 SET_MAKE
="MAKE=${MAKE-make}"
1775 rm -rf .tst
2>/dev
/null
1776 mkdir .tst
2>/dev
/null
1777 if test -d .tst
; then
1782 rmdir .tst
2>/dev
/null
1784 # test to see if srcdir already configured
1785 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1786 test -f $srcdir/config.status
; then
1787 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1788 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1789 { (exit 1); exit 1; }; }
1792 # test whether we have cygpath
1793 if test -z "$CYGPATH_W"; then
1794 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1795 CYGPATH_W
='cygpath -w'
1802 # Define the identity of the package.
1807 cat >>confdefs.h
<<_ACEOF
1808 #define PACKAGE "$PACKAGE"
1812 cat >>confdefs.h
<<_ACEOF
1813 #define VERSION "$VERSION"
1816 # Some tools Automake needs.
1818 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1821 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1824 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1827 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1830 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1832 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1834 # Installed binaries are usually stripped using `strip' when the user
1835 # run `make install-strip'. However `strip' might not be the right
1836 # tool to use in cross-compilation environments, therefore Automake
1837 # will honor the `STRIP' environment variable to overrule this program.
1838 if test "$cross_compiling" != no
; then
1839 if test -n "$ac_tool_prefix"; then
1840 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1841 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1842 echo "$as_me:$LINENO: checking for $ac_word" >&5
1843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1844 if test "${ac_cv_prog_STRIP+set}" = set; then
1845 echo $ECHO_N "(cached) $ECHO_C" >&6
1847 if test -n "$STRIP"; then
1848 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1854 test -z "$as_dir" && as_dir
=.
1855 for ac_exec_ext
in '' $ac_executable_extensions; do
1856 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1857 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1866 STRIP
=$ac_cv_prog_STRIP
1867 if test -n "$STRIP"; then
1868 echo "$as_me:$LINENO: result: $STRIP" >&5
1869 echo "${ECHO_T}$STRIP" >&6
1871 echo "$as_me:$LINENO: result: no" >&5
1872 echo "${ECHO_T}no" >&6
1876 if test -z "$ac_cv_prog_STRIP"; then
1878 # Extract the first word of "strip", so it can be a program name with args.
1879 set dummy strip
; ac_word
=$2
1880 echo "$as_me:$LINENO: checking for $ac_word" >&5
1881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1882 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1883 echo $ECHO_N "(cached) $ECHO_C" >&6
1885 if test -n "$ac_ct_STRIP"; then
1886 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1892 test -z "$as_dir" && as_dir
=.
1893 for ac_exec_ext
in '' $ac_executable_extensions; do
1894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1895 ac_cv_prog_ac_ct_STRIP
="strip"
1896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1902 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1905 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1906 if test -n "$ac_ct_STRIP"; then
1907 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1908 echo "${ECHO_T}$ac_ct_STRIP" >&6
1910 echo "$as_me:$LINENO: result: no" >&5
1911 echo "${ECHO_T}no" >&6
1916 STRIP
="$ac_cv_prog_STRIP"
1920 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1922 # We need awk for the "check" target. The system "awk" is bad on
1924 # Always define AMTAR for backward compatibility.
1926 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1928 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1934 # Default to --enable-multilib
1935 # Check whether --enable-multilib or --disable-multilib was given.
1936 if test "${enable_multilib+set}" = set; then
1937 enableval
="$enable_multilib"
1938 case "$enableval" in
1939 yes) multilib
=yes ;;
1941 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1942 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1943 { (exit 1); exit 1; }; } ;;
1949 # We may get other options which we leave undocumented:
1950 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1951 # See config-ml.in if you want the gory details.
1953 if test "$srcdir" = "."; then
1954 if test "$with_target_subdir" != "."; then
1955 multi_basedir
="$srcdir/$with_multisrctop../.."
1957 multi_basedir
="$srcdir/$with_multisrctop.."
1960 multi_basedir
="$srcdir/.."
1964 ac_config_commands
="$ac_config_commands default-1"
1967 # Calculate toolexeclibdir
1968 # Also toolexecdir, though it's only used in toolexeclibdir
1969 case ${enable_version_specific_runtime_libs} in
1971 # Need the gcc compiler version to know where to install libraries
1972 # and header files if --enable-version-specific-runtime-libs option
1974 toolexecdir
='$(libdir)/gcc/$(target_alias)'
1975 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
1978 if test -n "$with_cross_host" &&
1979 test x
"$with_cross_host" != x
"no"; then
1980 # Install a library built with a cross compiler in tooldir, not libdir.
1981 toolexecdir
='$(exec_prefix)/$(target_alias)'
1982 toolexeclibdir
='$(toolexecdir)/lib'
1984 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
1985 toolexeclibdir
='$(libdir)'
1987 multi_os_directory
=`$CC -print-multi-os-directory`
1988 case $multi_os_directory in
1989 .
) ;; # Avoid trailing /.
1990 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
1997 # Check the compiler.
1998 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1999 # We must force CC to /not/ be precious variables; otherwise
2000 # the wrong, non-multilib-adjusted value will be used in multilibs.
2001 # As a side effect, we have to subst CFLAGS ourselves.
2006 ac_cpp
='$CPP $CPPFLAGS'
2007 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2008 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2009 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2010 if test -n "$ac_tool_prefix"; then
2011 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2012 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2013 echo "$as_me:$LINENO: checking for $ac_word" >&5
2014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2015 if test "${ac_cv_prog_CC+set}" = set; then
2016 echo $ECHO_N "(cached) $ECHO_C" >&6
2018 if test -n "$CC"; then
2019 ac_cv_prog_CC
="$CC" # Let the user override the test.
2021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2025 test -z "$as_dir" && as_dir
=.
2026 for ac_exec_ext
in '' $ac_executable_extensions; do
2027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2028 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2038 if test -n "$CC"; then
2039 echo "$as_me:$LINENO: result: $CC" >&5
2040 echo "${ECHO_T}$CC" >&6
2042 echo "$as_me:$LINENO: result: no" >&5
2043 echo "${ECHO_T}no" >&6
2047 if test -z "$ac_cv_prog_CC"; then
2049 # Extract the first word of "gcc", so it can be a program name with args.
2050 set dummy gcc
; ac_word
=$2
2051 echo "$as_me:$LINENO: checking for $ac_word" >&5
2052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2053 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2054 echo $ECHO_N "(cached) $ECHO_C" >&6
2056 if test -n "$ac_ct_CC"; then
2057 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2063 test -z "$as_dir" && as_dir
=.
2064 for ac_exec_ext
in '' $ac_executable_extensions; do
2065 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2066 ac_cv_prog_ac_ct_CC
="gcc"
2067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2075 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2076 if test -n "$ac_ct_CC"; then
2077 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2078 echo "${ECHO_T}$ac_ct_CC" >&6
2080 echo "$as_me:$LINENO: result: no" >&5
2081 echo "${ECHO_T}no" >&6
2089 if test -z "$CC"; then
2090 if test -n "$ac_tool_prefix"; then
2091 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2092 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2093 echo "$as_me:$LINENO: checking for $ac_word" >&5
2094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2095 if test "${ac_cv_prog_CC+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2098 if test -n "$CC"; then
2099 ac_cv_prog_CC
="$CC" # Let the user override the test.
2101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir
=.
2106 for ac_exec_ext
in '' $ac_executable_extensions; do
2107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2108 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118 if test -n "$CC"; then
2119 echo "$as_me:$LINENO: result: $CC" >&5
2120 echo "${ECHO_T}$CC" >&6
2122 echo "$as_me:$LINENO: result: no" >&5
2123 echo "${ECHO_T}no" >&6
2127 if test -z "$ac_cv_prog_CC"; then
2129 # Extract the first word of "cc", so it can be a program name with args.
2130 set dummy cc
; ac_word
=$2
2131 echo "$as_me:$LINENO: checking for $ac_word" >&5
2132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2133 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2134 echo $ECHO_N "(cached) $ECHO_C" >&6
2136 if test -n "$ac_ct_CC"; then
2137 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2143 test -z "$as_dir" && as_dir
=.
2144 for ac_exec_ext
in '' $ac_executable_extensions; do
2145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2146 ac_cv_prog_ac_ct_CC
="cc"
2147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2155 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2156 if test -n "$ac_ct_CC"; then
2157 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2158 echo "${ECHO_T}$ac_ct_CC" >&6
2160 echo "$as_me:$LINENO: result: no" >&5
2161 echo "${ECHO_T}no" >&6
2170 if test -z "$CC"; then
2171 # Extract the first word of "cc", so it can be a program name with args.
2172 set dummy cc
; ac_word
=$2
2173 echo "$as_me:$LINENO: checking for $ac_word" >&5
2174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2175 if test "${ac_cv_prog_CC+set}" = set; then
2176 echo $ECHO_N "(cached) $ECHO_C" >&6
2178 if test -n "$CC"; then
2179 ac_cv_prog_CC
="$CC" # Let the user override the test.
2182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2186 test -z "$as_dir" && as_dir
=.
2187 for ac_exec_ext
in '' $ac_executable_extensions; do
2188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2189 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2190 ac_prog_rejected
=yes
2194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2200 if test $ac_prog_rejected = yes; then
2201 # We found a bogon in the path, so make sure we never use it.
2202 set dummy
$ac_cv_prog_CC
2204 if test $# != 0; then
2205 # We chose a different compiler from the bogus one.
2206 # However, it has the same basename, so the bogon will be chosen
2207 # first if we set CC to just the basename; use the full file name.
2209 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2215 if test -n "$CC"; then
2216 echo "$as_me:$LINENO: result: $CC" >&5
2217 echo "${ECHO_T}$CC" >&6
2219 echo "$as_me:$LINENO: result: no" >&5
2220 echo "${ECHO_T}no" >&6
2224 if test -z "$CC"; then
2225 if test -n "$ac_tool_prefix"; then
2228 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2229 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2230 echo "$as_me:$LINENO: checking for $ac_word" >&5
2231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2232 if test "${ac_cv_prog_CC+set}" = set; then
2233 echo $ECHO_N "(cached) $ECHO_C" >&6
2235 if test -n "$CC"; then
2236 ac_cv_prog_CC
="$CC" # Let the user override the test.
2238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2242 test -z "$as_dir" && as_dir
=.
2243 for ac_exec_ext
in '' $ac_executable_extensions; do
2244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2245 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2255 if test -n "$CC"; then
2256 echo "$as_me:$LINENO: result: $CC" >&5
2257 echo "${ECHO_T}$CC" >&6
2259 echo "$as_me:$LINENO: result: no" >&5
2260 echo "${ECHO_T}no" >&6
2263 test -n "$CC" && break
2266 if test -z "$CC"; then
2270 # Extract the first word of "$ac_prog", so it can be a program name with args.
2271 set dummy
$ac_prog; ac_word
=$2
2272 echo "$as_me:$LINENO: checking for $ac_word" >&5
2273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2274 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2275 echo $ECHO_N "(cached) $ECHO_C" >&6
2277 if test -n "$ac_ct_CC"; then
2278 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2284 test -z "$as_dir" && as_dir
=.
2285 for ac_exec_ext
in '' $ac_executable_extensions; do
2286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2287 ac_cv_prog_ac_ct_CC
="$ac_prog"
2288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2296 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2297 if test -n "$ac_ct_CC"; then
2298 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2299 echo "${ECHO_T}$ac_ct_CC" >&6
2301 echo "$as_me:$LINENO: result: no" >&5
2302 echo "${ECHO_T}no" >&6
2305 test -n "$ac_ct_CC" && break
2314 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2315 See \`config.log' for more details." >&5
2316 echo "$as_me: error: no acceptable C compiler found in \$PATH
2317 See \`config.log' for more details." >&2;}
2318 { (exit 1); exit 1; }; }
2320 # Provide some information about the compiler.
2321 echo "$as_me:$LINENO:" \
2322 "checking for C compiler version" >&5
2323 ac_compiler
=`set X $ac_compile; echo $2`
2324 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2325 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); }
2329 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2330 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333 (exit $ac_status); }
2334 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2335 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 (exit $ac_status); }
2340 cat >conftest.
$ac_ext <<_ACEOF
2343 cat confdefs.h
>>conftest.
$ac_ext
2344 cat >>conftest.
$ac_ext <<_ACEOF
2345 /* end confdefs.h. */
2355 ac_clean_files_save
=$ac_clean_files
2356 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2357 # Try to create an executable without -o first, disregard a.out.
2358 # It will help us diagnose broken compilers, and finding out an intuition
2360 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2361 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2362 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2363 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2364 (eval $ac_link_default) 2>&5
2366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367 (exit $ac_status); }; then
2368 # Find the output, starting from the most likely. This scheme is
2369 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2372 # Be careful to initialize this variable, since it used to be cached.
2373 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2375 # b.out is created by i960 compilers.
2376 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2378 test -f "$ac_file" ||
continue
2380 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2383 # This is the source file.
2386 # We found the default executable, but exeext='' is most
2390 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2391 # FIXME: I believe we export ac_cv_exeext for Libtool,
2392 # but it would be cool to find out if it's true. Does anybody
2393 # maintain Libtool? --akim.
2401 echo "$as_me: failed program was:" >&5
2402 sed 's/^/| /' conftest.
$ac_ext >&5
2404 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2405 See \`config.log' for more details." >&5
2406 echo "$as_me: error: C compiler cannot create executables
2407 See \`config.log' for more details." >&2;}
2408 { (exit 77); exit 77; }; }
2411 ac_exeext
=$ac_cv_exeext
2412 echo "$as_me:$LINENO: result: $ac_file" >&5
2413 echo "${ECHO_T}$ac_file" >&6
2415 # Check the compiler produces executables we can run. If not, either
2416 # the compiler is broken, or we cross compile.
2417 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2418 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2419 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2420 # If not cross compiling, check that we can run a simple program.
2421 if test "$cross_compiling" != yes; then
2422 if { ac_try
='./$ac_file'
2423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); }; }; then
2430 if test "$cross_compiling" = maybe
; then
2433 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2434 If you meant to cross compile, use \`--host'.
2435 See \`config.log' for more details." >&5
2436 echo "$as_me: error: cannot run C compiled programs.
2437 If you meant to cross compile, use \`--host'.
2438 See \`config.log' for more details." >&2;}
2439 { (exit 1); exit 1; }; }
2443 echo "$as_me:$LINENO: result: yes" >&5
2444 echo "${ECHO_T}yes" >&6
2446 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2447 ac_clean_files
=$ac_clean_files_save
2448 # Check the compiler produces executables we can run. If not, either
2449 # the compiler is broken, or we cross compile.
2450 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2451 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2452 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2453 echo "${ECHO_T}$cross_compiling" >&6
2455 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2456 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2458 (eval $ac_link) 2>&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); }; then
2462 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2463 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2464 # work properly (i.e., refer to `conftest.exe'), while it won't with
2466 for ac_file
in conftest.exe conftest conftest.
*; do
2467 test -f "$ac_file" ||
continue
2469 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2470 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2477 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2478 See \`config.log' for more details." >&5
2479 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2480 See \`config.log' for more details." >&2;}
2481 { (exit 1); exit 1; }; }
2484 rm -f conftest
$ac_cv_exeext
2485 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2486 echo "${ECHO_T}$ac_cv_exeext" >&6
2488 rm -f conftest.
$ac_ext
2489 EXEEXT
=$ac_cv_exeext
2491 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2492 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2493 if test "${ac_cv_objext+set}" = set; then
2494 echo $ECHO_N "(cached) $ECHO_C" >&6
2496 cat >conftest.
$ac_ext <<_ACEOF
2499 cat confdefs.h
>>conftest.
$ac_ext
2500 cat >>conftest.
$ac_ext <<_ACEOF
2501 /* end confdefs.h. */
2511 rm -f conftest.o conftest.obj
2512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2513 (eval $ac_compile) 2>&5
2515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516 (exit $ac_status); }; then
2517 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2519 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2520 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2525 echo "$as_me: failed program was:" >&5
2526 sed 's/^/| /' conftest.
$ac_ext >&5
2528 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2529 See \`config.log' for more details." >&5
2530 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2531 See \`config.log' for more details." >&2;}
2532 { (exit 1); exit 1; }; }
2535 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2537 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2538 echo "${ECHO_T}$ac_cv_objext" >&6
2539 OBJEXT
=$ac_cv_objext
2541 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2542 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2543 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2544 echo $ECHO_N "(cached) $ECHO_C" >&6
2546 cat >conftest.
$ac_ext <<_ACEOF
2549 cat confdefs.h
>>conftest.
$ac_ext
2550 cat >>conftest.
$ac_ext <<_ACEOF
2551 /* end confdefs.h. */
2564 rm -f conftest.
$ac_objext
2565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2566 (eval $ac_compile) 2>conftest.er1
2568 grep -v '^ *+' conftest.er1
>conftest.err
2570 cat conftest.err
>&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); } &&
2573 { ac_try
='test -z "$ac_c_werror_flag"
2574 || test ! -s conftest.err'
2575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579 (exit $ac_status); }; } &&
2580 { ac_try
='test -s conftest.$ac_objext'
2581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); }; }; then
2588 echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.
$ac_ext >&5
2593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2594 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2597 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2598 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2599 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2600 ac_test_CFLAGS
=${CFLAGS+set}
2601 ac_save_CFLAGS
=$CFLAGS
2603 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2604 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2605 if test "${ac_cv_prog_cc_g+set}" = set; then
2606 echo $ECHO_N "(cached) $ECHO_C" >&6
2608 cat >conftest.
$ac_ext <<_ACEOF
2611 cat confdefs.h
>>conftest.
$ac_ext
2612 cat >>conftest.
$ac_ext <<_ACEOF
2613 /* end confdefs.h. */
2623 rm -f conftest.
$ac_objext
2624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2625 (eval $ac_compile) 2>conftest.er1
2627 grep -v '^ *+' conftest.er1
>conftest.err
2629 cat conftest.err
>&5
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); } &&
2632 { ac_try
='test -z "$ac_c_werror_flag"
2633 || test ! -s conftest.err'
2634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; } &&
2639 { ac_try
='test -s conftest.$ac_objext'
2640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); }; }; then
2647 echo "$as_me: failed program was:" >&5
2648 sed 's/^/| /' conftest.
$ac_ext >&5
2652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2654 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2655 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2656 if test "$ac_test_CFLAGS" = set; then
2657 CFLAGS
=$ac_save_CFLAGS
2658 elif test $ac_cv_prog_cc_g = yes; then
2659 if test "$GCC" = yes; then
2665 if test "$GCC" = yes; then
2671 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2672 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2673 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2674 echo $ECHO_N "(cached) $ECHO_C" >&6
2676 ac_cv_prog_cc_stdc
=no
2678 cat >conftest.
$ac_ext <<_ACEOF
2681 cat confdefs.h
>>conftest.
$ac_ext
2682 cat >>conftest.
$ac_ext <<_ACEOF
2683 /* end confdefs.h. */
2686 #include <sys/types.h>
2687 #include <sys/stat.h>
2688 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2689 struct buf { int x; };
2690 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2691 static char *e (p, i)
2697 static char *f (char * (*g) (char **, int), char **p, ...)
2702 s = g (p, va_arg (v,int));
2707 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2708 function prototypes and stuff, but not '\xHH' hex character constants.
2709 These don't provoke an error unfortunately, instead are silently treated
2710 as 'x'. The following induces an error, until -std1 is added to get
2711 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2712 array size at least. It's necessary to write '\x00'==0 to get something
2713 that's true only with -std1. */
2714 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2716 int test (int i, double x);
2717 struct s1 {int (*f) (int a);};
2718 struct s2 {int (*f) (double a);};
2719 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2725 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2730 # Don't try gcc -ansi; that turns off useful extensions and
2731 # breaks some systems' header files.
2732 # AIX -qlanglvl=ansi
2733 # Ultrix and OSF/1 -std1
2734 # HP-UX 10.20 and later -Ae
2735 # HP-UX older versions -Aa -D_HPUX_SOURCE
2736 # SVR4 -Xc -D__EXTENSIONS__
2737 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2739 CC
="$ac_save_CC $ac_arg"
2740 rm -f conftest.
$ac_objext
2741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2742 (eval $ac_compile) 2>conftest.er1
2744 grep -v '^ *+' conftest.er1
>conftest.err
2746 cat conftest.err
>&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); } &&
2749 { ac_try
='test -z "$ac_c_werror_flag"
2750 || test ! -s conftest.err'
2751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }; } &&
2756 { ac_try
='test -s conftest.$ac_objext'
2757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }; }; then
2762 ac_cv_prog_cc_stdc
=$ac_arg
2765 echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.
$ac_ext >&5
2769 rm -f conftest.err conftest.
$ac_objext
2771 rm -f conftest.
$ac_ext conftest.
$ac_objext
2776 case "x$ac_cv_prog_cc_stdc" in
2778 echo "$as_me:$LINENO: result: none needed" >&5
2779 echo "${ECHO_T}none needed" >&6 ;;
2781 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2782 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2783 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2786 # Some people use a C++ compiler to compile C. Since we use `exit',
2787 # in C++ we need to declare it. In case someone uses the same compiler
2788 # for both compiling C and C++ we need to have the C++ compiler decide
2789 # the declaration of exit, since it's the most demanding environment.
2790 cat >conftest.
$ac_ext <<_ACEOF
2795 rm -f conftest.
$ac_objext
2796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2797 (eval $ac_compile) 2>conftest.er1
2799 grep -v '^ *+' conftest.er1
>conftest.err
2801 cat conftest.err
>&5
2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); } &&
2804 { ac_try
='test -z "$ac_c_werror_flag"
2805 || test ! -s conftest.err'
2806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }; } &&
2811 { ac_try
='test -s conftest.$ac_objext'
2812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816 (exit $ac_status); }; }; then
2817 for ac_declaration
in \
2819 'extern "C" void std::exit (int) throw (); using std::exit;' \
2820 'extern "C" void std::exit (int); using std::exit;' \
2821 'extern "C" void exit (int) throw ();' \
2822 'extern "C" void exit (int);' \
2825 cat >conftest.
$ac_ext <<_ACEOF
2828 cat confdefs.h
>>conftest.
$ac_ext
2829 cat >>conftest.
$ac_ext <<_ACEOF
2830 /* end confdefs.h. */
2841 rm -f conftest.
$ac_objext
2842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2843 (eval $ac_compile) 2>conftest.er1
2845 grep -v '^ *+' conftest.er1
>conftest.err
2847 cat conftest.err
>&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); } &&
2850 { ac_try
='test -z "$ac_c_werror_flag"
2851 || test ! -s conftest.err'
2852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }; } &&
2857 { ac_try
='test -s conftest.$ac_objext'
2858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); }; }; then
2865 echo "$as_me: failed program was:" >&5
2866 sed 's/^/| /' conftest.
$ac_ext >&5
2870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2871 cat >conftest.
$ac_ext <<_ACEOF
2874 cat confdefs.h
>>conftest.
$ac_ext
2875 cat >>conftest.
$ac_ext <<_ACEOF
2876 /* end confdefs.h. */
2886 rm -f conftest.
$ac_objext
2887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2888 (eval $ac_compile) 2>conftest.er1
2890 grep -v '^ *+' conftest.er1
>conftest.err
2892 cat conftest.err
>&5
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); } &&
2895 { ac_try
='test -z "$ac_c_werror_flag"
2896 || test ! -s conftest.err'
2897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); }; } &&
2902 { ac_try
='test -s conftest.$ac_objext'
2903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907 (exit $ac_status); }; }; then
2910 echo "$as_me: failed program was:" >&5
2911 sed 's/^/| /' conftest.
$ac_ext >&5
2914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2917 if test -n "$ac_declaration"; then
2918 echo '#ifdef __cplusplus' >>confdefs.h
2919 echo $ac_declaration >>confdefs.h
2920 echo '#endif' >>confdefs.h
2924 echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.
$ac_ext >&5
2928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2930 ac_cpp
='$CPP $CPPFLAGS'
2931 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2932 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2933 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2934 DEPDIR
="${am__leading_dot}deps"
2936 ac_config_commands
="$ac_config_commands depfiles"
2939 am_make
=${MAKE-make}
2940 cat > confinc
<< 'END'
2945 # If we don't find an include directive, just comment out the code.
2946 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2947 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2951 # First try GNU make style include.
2952 echo "include confinc" > confmf
2953 # We grep out `Entering directory' and `Leaving directory'
2954 # messages which can occur if `w' ends up in MAKEFLAGS.
2955 # In particular we don't look at `^make:' because GNU make might
2956 # be invoked under some other name (usually "gmake"), in which
2957 # case it prints its new name instead of `make'.
2958 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2963 # Now try BSD make style include.
2964 if test "$am__include" = "#"; then
2965 echo '.include "confinc"' > confmf
2966 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2967 am__include
=.include
2974 echo "$as_me:$LINENO: result: $_am_result" >&5
2975 echo "${ECHO_T}$_am_result" >&6
2976 rm -f confinc confmf
2978 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2979 if test "${enable_dependency_tracking+set}" = set; then
2980 enableval
="$enable_dependency_tracking"
2983 if test "x$enable_dependency_tracking" != xno
; then
2984 am_depcomp
="$ac_aux_dir/depcomp"
2989 if test "x$enable_dependency_tracking" != xno; then
3000 depcc
="$CC" am_compiler_list
=
3002 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3003 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3004 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3005 echo $ECHO_N "(cached) $ECHO_C" >&6
3007 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3008 # We make a subdir and do the tests there. Otherwise we can end up
3009 # making bogus files that we don't know about and never remove. For
3010 # instance it was reported that on HP-UX the gcc test will end up
3011 # making a dummy file named `D' -- because `-MD' means `put the output
3014 # Copy depcomp to subdir because otherwise we won't find it if we're
3015 # using a relative directory.
3016 cp "$am_depcomp" conftest.dir
3018 # We will build objects and dependencies in a subdirectory because
3019 # it helps to detect inapplicable dependency modes. For instance
3020 # both Tru64's cc and ICC support -MD to output dependencies as a
3021 # side effect of compilation, but ICC will put the dependencies in
3022 # the current directory while Tru64 will put them in the object
3026 am_cv_CC_dependencies_compiler_type
=none
3027 if test "$am_compiler_list" = ""; then
3028 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3030 for depmode
in $am_compiler_list; do
3031 # Setup a source with many dependencies, because some compilers
3032 # like to wrap large dependency lists on column 80 (with \), and
3033 # we should not choose a depcomp mode which is confused by this.
3035 # We need to recreate these files for each test, as the compiler may
3036 # overwrite some of them when testing with obscure command lines.
3037 # This happens at least with the AIX C compiler.
3039 for i
in 1 2 3 4 5 6; do
3040 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3041 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3042 # Solaris 8's {/usr,}/bin/sh.
3043 touch sub
/conftst
$i.h
3045 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3049 # after this tag, mechanisms are not by side-effect, so they'll
3050 # only be used when explicitly requested
3051 if test "x$enable_dependency_tracking" = xyes
; then
3059 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3060 # mode. It turns out that the SunPro C++ compiler does not properly
3061 # handle `-M -o', and we need to detect this.
3062 if depmode
=$depmode \
3063 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3064 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3065 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3066 >/dev
/null
2>conftest.err
&&
3067 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3068 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3069 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3070 # icc doesn't choke on unknown options, it will just issue warnings
3071 # or remarks (even with -Werror). So we grep stderr for any message
3072 # that says an option was ignored or not supported.
3073 # When given -MP, icc 7.0 and 7.1 complain thusly:
3074 # icc: Command line warning: ignoring option '-M'; no argument required
3075 # The diagnosis changed in icc 8.0:
3076 # icc: Command line remark: option '-MP' not supported
3077 if (grep 'ignoring option' conftest.err ||
3078 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3079 am_cv_CC_dependencies_compiler_type
=$depmode
3088 am_cv_CC_dependencies_compiler_type
=none
3092 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3093 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3094 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3099 test "x$enable_dependency_tracking" != xno \
3100 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3102 am__fastdepCC_FALSE
='#'
3104 am__fastdepCC_TRUE
='#'
3105 am__fastdepCC_FALSE
=
3113 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
3114 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
3115 # in both places for now and restore CFLAGS at the end of config.
3116 save_CFLAGS
="$CFLAGS"
3118 # Add -Wall -Werror if we are using GCC.
3119 if test "x$GCC" = "xyes"; then
3120 XCFLAGS
="$XCFLAGS -Wall -Werror"
3123 # Find other programs we need.
3124 if test -n "$ac_tool_prefix"; then
3125 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3126 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3127 echo "$as_me:$LINENO: checking for $ac_word" >&5
3128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3129 if test "${ac_cv_prog_AR+set}" = set; then
3130 echo $ECHO_N "(cached) $ECHO_C" >&6
3132 if test -n "$AR"; then
3133 ac_cv_prog_AR
="$AR" # Let the user override the test.
3135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3139 test -z "$as_dir" && as_dir
=.
3140 for ac_exec_ext
in '' $ac_executable_extensions; do
3141 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3142 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3152 if test -n "$AR"; then
3153 echo "$as_me:$LINENO: result: $AR" >&5
3154 echo "${ECHO_T}$AR" >&6
3156 echo "$as_me:$LINENO: result: no" >&5
3157 echo "${ECHO_T}no" >&6
3161 if test -z "$ac_cv_prog_AR"; then
3163 # Extract the first word of "ar", so it can be a program name with args.
3164 set dummy
ar; ac_word
=$2
3165 echo "$as_me:$LINENO: checking for $ac_word" >&5
3166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3167 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3168 echo $ECHO_N "(cached) $ECHO_C" >&6
3170 if test -n "$ac_ct_AR"; then
3171 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3177 test -z "$as_dir" && as_dir
=.
3178 for ac_exec_ext
in '' $ac_executable_extensions; do
3179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3180 ac_cv_prog_ac_ct_AR
="ar"
3181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3189 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3190 if test -n "$ac_ct_AR"; then
3191 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3192 echo "${ECHO_T}$ac_ct_AR" >&6
3194 echo "$as_me:$LINENO: result: no" >&5
3195 echo "${ECHO_T}no" >&6
3203 if test -n "$ac_tool_prefix"; then
3204 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3205 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3206 echo "$as_me:$LINENO: checking for $ac_word" >&5
3207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3208 if test "${ac_cv_prog_RANLIB+set}" = set; then
3209 echo $ECHO_N "(cached) $ECHO_C" >&6
3211 if test -n "$RANLIB"; then
3212 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3218 test -z "$as_dir" && as_dir
=.
3219 for ac_exec_ext
in '' $ac_executable_extensions; do
3220 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3221 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3230 RANLIB
=$ac_cv_prog_RANLIB
3231 if test -n "$RANLIB"; then
3232 echo "$as_me:$LINENO: result: $RANLIB" >&5
3233 echo "${ECHO_T}$RANLIB" >&6
3235 echo "$as_me:$LINENO: result: no" >&5
3236 echo "${ECHO_T}no" >&6
3240 if test -z "$ac_cv_prog_RANLIB"; then
3241 ac_ct_RANLIB
=$RANLIB
3242 # Extract the first word of "ranlib", so it can be a program name with args.
3243 set dummy ranlib
; ac_word
=$2
3244 echo "$as_me:$LINENO: checking for $ac_word" >&5
3245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3246 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3247 echo $ECHO_N "(cached) $ECHO_C" >&6
3249 if test -n "$ac_ct_RANLIB"; then
3250 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3256 test -z "$as_dir" && as_dir
=.
3257 for ac_exec_ext
in '' $ac_executable_extensions; do
3258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3259 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3266 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
="ranlib-not-found-in-path-error"
3269 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3270 if test -n "$ac_ct_RANLIB"; then
3271 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3272 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3274 echo "$as_me:$LINENO: result: no" >&5
3275 echo "${ECHO_T}no" >&6
3278 RANLIB
=$ac_ct_RANLIB
3280 RANLIB
="$ac_cv_prog_RANLIB"
3283 # Extract the first word of "perl", so it can be a program name with args.
3284 set dummy perl
; ac_word
=$2
3285 echo "$as_me:$LINENO: checking for $ac_word" >&5
3286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3287 if test "${ac_cv_path_PERL+set}" = set; then
3288 echo $ECHO_N "(cached) $ECHO_C" >&6
3292 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
3295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3299 test -z "$as_dir" && as_dir
=.
3300 for ac_exec_ext
in '' $ac_executable_extensions; do
3301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3302 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
3303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3309 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="perl-not-found-in-path-error"
3313 PERL
=$ac_cv_path_PERL
3315 if test -n "$PERL"; then
3316 echo "$as_me:$LINENO: result: $PERL" >&5
3317 echo "${ECHO_T}$PERL" >&6
3319 echo "$as_me:$LINENO: result: no" >&5
3320 echo "${ECHO_T}no" >&6
3323 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3324 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3325 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3326 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3327 echo $ECHO_N "(cached) $ECHO_C" >&6
3329 cat >conftest.
make <<\_ACEOF
3331 @
echo 'ac_maketemp="$(MAKE)"'
3333 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3334 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3335 if test -n "$ac_maketemp"; then
3336 eval ac_cv_prog_make_
${ac_make}_set
=yes
3338 eval ac_cv_prog_make_
${ac_make}_set
=no
3342 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3343 echo "$as_me:$LINENO: result: yes" >&5
3344 echo "${ECHO_T}yes" >&6
3347 echo "$as_me:$LINENO: result: no" >&5
3348 echo "${ECHO_T}no" >&6
3349 SET_MAKE
="MAKE=${MAKE-make}"
3352 # Find a good install program. We prefer a C program (faster),
3353 # so one script is as good as another. But avoid the broken or
3354 # incompatible versions:
3355 # SysV /etc/install, /usr/sbin/install
3356 # SunOS /usr/etc/install
3357 # IRIX /sbin/install
3359 # AmigaOS /C/install, which installs bootblocks on floppy discs
3360 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3361 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3362 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3363 # OS/2's system install, which has a completely different semantic
3364 # ./install, which can be erroneously created by make from ./install.sh.
3365 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3366 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3367 if test -z "$INSTALL"; then
3368 if test "${ac_cv_path_install+set}" = set; then
3369 echo $ECHO_N "(cached) $ECHO_C" >&6
3371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3375 test -z "$as_dir" && as_dir
=.
3376 # Account for people who put trailing slashes in PATH elements.
3378 .
/ | .
// |
/cC
/* | \
3379 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3380 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3383 # OSF1 and SCO ODT 3.0 have their own names for install.
3384 # Don't use installbsd from OSF since it installs stuff as root
3386 for ac_prog
in ginstall scoinst
install; do
3387 for ac_exec_ext
in '' $ac_executable_extensions; do
3388 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3389 if test $ac_prog = install &&
3390 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3391 # AIX install. It has an incompatible calling convention.
3393 elif test $ac_prog = install &&
3394 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3395 # program-specific install script used by HP pwplus--don't use.
3398 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3410 if test "${ac_cv_path_install+set}" = set; then
3411 INSTALL
=$ac_cv_path_install
3413 # As a last resort, use the slow shell script. We don't cache a
3414 # path for INSTALL within a source directory, because that will
3415 # break other packages using the cache if that directory is
3416 # removed, or if the path is relative.
3417 INSTALL
=$ac_install_sh
3420 echo "$as_me:$LINENO: result: $INSTALL" >&5
3421 echo "${ECHO_T}$INSTALL" >&6
3423 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3424 # It thinks the first close brace ends the variable substitution.
3425 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3427 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3429 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3433 # Check whether --enable-shared or --disable-shared was given.
3434 if test "${enable_shared+set}" = set; then
3435 enableval
="$enable_shared"
3436 p
=${PACKAGE-default}
3438 yes) enable_shared
=yes ;;
3439 no
) enable_shared
=no
;;
3442 # Look at the argument we got. We use all the common list separators.
3443 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3444 for pkg
in $enableval; do
3445 if test "X$pkg" = "X$p"; then
3455 # Check whether --enable-static or --disable-static was given.
3456 if test "${enable_static+set}" = set; then
3457 enableval
="$enable_static"
3458 p
=${PACKAGE-default}
3460 yes) enable_static
=yes ;;
3461 no
) enable_static
=no
;;
3464 # Look at the argument we got. We use all the common list separators.
3465 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3466 for pkg
in $enableval; do
3467 if test "X$pkg" = "X$p"; then
3477 # Check whether --enable-fast-install or --disable-fast-install was given.
3478 if test "${enable_fast_install+set}" = set; then
3479 enableval
="$enable_fast_install"
3480 p
=${PACKAGE-default}
3482 yes) enable_fast_install
=yes ;;
3483 no
) enable_fast_install
=no
;;
3485 enable_fast_install
=no
3486 # Look at the argument we got. We use all the common list separators.
3487 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3488 for pkg
in $enableval; do
3489 if test "X$pkg" = "X$p"; then
3490 enable_fast_install
=yes
3497 enable_fast_install
=yes
3500 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3501 if test "${with_gnu_ld+set}" = set; then
3502 withval
="$with_gnu_ld"
3503 test "$withval" = no || with_gnu_ld
=yes
3508 if test "$GCC" = yes; then
3509 # Check if gcc -print-prog-name=ld gives a path.
3510 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3511 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3514 # gcc leaves a trailing carriage return which upsets mingw
3515 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3517 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3520 # Accept absolute paths.
3521 [\\/]* |
[A-Za-z
]:[\\/]*)
3522 re_direlt
='/[^/][^/]*/\.\./'
3523 # Canonicalize the path of ld
3524 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3525 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3526 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3528 test -z "$LD" && LD
="$ac_prog"
3531 # If it fails, then pretend we aren't using GCC.
3535 # If it is relative, then search for the first ld in PATH.
3539 elif test "$with_gnu_ld" = yes; then
3540 echo "$as_me:$LINENO: checking for GNU ld" >&5
3541 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3543 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3544 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3546 if test "${lt_cv_path_LD+set}" = set; then
3547 echo $ECHO_N "(cached) $ECHO_C" >&6
3549 if test -z "$LD"; then
3550 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3551 for ac_dir
in $PATH; do
3552 test -z "$ac_dir" && ac_dir
=.
3553 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3554 lt_cv_path_LD
="$ac_dir/$ac_prog"
3555 # Check to see if the program is GNU ld. I'd rather use --version,
3556 # but apparently some GNU ld's only accept -v.
3557 # Break only if it was the GNU/non-GNU ld that we prefer.
3558 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3559 test "$with_gnu_ld" != no
&& break
3561 test "$with_gnu_ld" != yes && break
3567 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3572 if test -n "$LD"; then
3573 echo "$as_me:$LINENO: result: $LD" >&5
3574 echo "${ECHO_T}$LD" >&6
3576 echo "$as_me:$LINENO: result: no" >&5
3577 echo "${ECHO_T}no" >&6
3579 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3580 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3581 { (exit 1); exit 1; }; }
3582 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3583 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3584 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3585 echo $ECHO_N "(cached) $ECHO_C" >&6
3587 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3588 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3589 lt_cv_prog_gnu_ld
=yes
3591 lt_cv_prog_gnu_ld
=no
3594 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3595 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3596 with_gnu_ld
=$lt_cv_prog_gnu_ld
3599 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3600 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3601 if test "${lt_cv_ld_reload_flag+set}" = set; then
3602 echo $ECHO_N "(cached) $ECHO_C" >&6
3604 lt_cv_ld_reload_flag
='-r'
3606 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3607 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3608 reload_flag
=$lt_cv_ld_reload_flag
3609 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3611 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3612 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3613 if test "${lt_cv_path_NM+set}" = set; then
3614 echo $ECHO_N "(cached) $ECHO_C" >&6
3616 if test -n "$NM"; then
3617 # Let the user override the test.
3620 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3621 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3622 test -z "$ac_dir" && ac_dir
=.
3623 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3624 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3625 # Check to see if the nm accepts a BSD-compat flag.
3626 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3627 # nm: unknown option "B" ignored
3628 # Tru64's nm complains that /dev/null is an invalid object file
3629 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3630 lt_cv_path_NM
="$tmp_nm -B"
3632 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3633 lt_cv_path_NM
="$tmp_nm -p"
3636 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3637 continue # so that we can try to find one that supports BSD flags
3642 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3647 echo "$as_me:$LINENO: result: $NM" >&5
3648 echo "${ECHO_T}$NM" >&6
3650 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3651 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3653 if test "$LN_S" = "ln -s"; then
3654 echo "$as_me:$LINENO: result: yes" >&5
3655 echo "${ECHO_T}yes" >&6
3657 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3658 echo "${ECHO_T}no, using $LN_S" >&6
3661 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3662 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3663 if test "${lt_cv_deplibs_check_method+set}" = set; then
3664 echo $ECHO_N "(cached) $ECHO_C" >&6
3666 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3667 lt_cv_file_magic_test_file
=
3668 lt_cv_deplibs_check_method
='unknown'
3669 # Need to set the preceding variable on all platforms that support
3670 # interlibrary dependencies.
3671 # 'none' -- dependencies not supported.
3672 # `unknown' -- same as none, but documents that we really don't know.
3673 # 'pass_all' -- all dependencies passed with no checks.
3674 # 'test_compile' -- check by making test program.
3675 # 'file_magic [regex]' -- check by looking for files in library path
3676 # which responds to the $file_magic_cmd with a given egrep regex.
3677 # If you have `file' or equivalent on your system and you're not sure
3678 # whether `pass_all' will *always* work, you probably want this one.
3682 lt_cv_deplibs_check_method
=pass_all
3686 lt_cv_deplibs_check_method
=pass_all
3690 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3691 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3692 lt_cv_file_magic_test_file
=/shlib
/libc.so
3695 cygwin
* | mingw
* |pw32
*)
3696 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3697 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3700 darwin
* | rhapsody
*)
3701 # this will be overwritten by pass_all, but leave it in just in case
3702 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3703 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3705 rhapsody
* | darwin1.012
)
3706 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3709 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3712 lt_cv_deplibs_check_method
=pass_all
3715 freebsd
* | kfreebsd
*-gnu)
3716 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3719 # Not sure whether the presence of OpenBSD here was a mistake.
3720 # Let's accept both of them until this is cleared up.
3721 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3722 lt_cv_file_magic_cmd
=/usr
/bin
/file
3723 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3727 lt_cv_deplibs_check_method
=pass_all
3732 lt_cv_deplibs_check_method
=pass_all
3738 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3739 lt_cv_file_magic_cmd
=/usr
/bin
/file
3740 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3743 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3744 lt_cv_file_magic_cmd
=/usr
/bin
/file
3745 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3753 # this will be overridden with pass_all, but let us keep it just in case
3754 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3758 *-32|
*"-32 ") libmagic
=32-bit;;
3759 *-n32|
*"-n32 ") libmagic
=N32
;;
3760 *-64|
*"-64 ") libmagic
=64-bit;;
3761 *) libmagic
=never-match
;;
3763 # this will be overridden with pass_all, but let us keep it just in case
3764 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3767 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3768 lt_cv_deplibs_check_method
=pass_all
3771 # This must be Linux ELF.
3773 lt_cv_deplibs_check_method
=pass_all
3776 netbsd
* | knetbsd
*-gnu)
3777 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3778 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3780 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3785 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3786 lt_cv_file_magic_cmd
=/usr
/bin
/file
3787 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3790 osf3
* | osf4
* | osf5
*)
3791 # this will be overridden with pass_all, but let us keep it just in case
3792 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3793 lt_cv_file_magic_test_file
=/shlib
/libc.so
3794 lt_cv_deplibs_check_method
=pass_all
3798 lt_cv_deplibs_check_method
=pass_all
3802 lt_cv_deplibs_check_method
=pass_all
3803 lt_cv_file_magic_test_file
=/lib
/libc.so
3806 sysv5uw
[78]* | sysv4
*uw2
*)
3807 lt_cv_deplibs_check_method
=pass_all
3810 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3811 case $host_vendor in
3813 lt_cv_deplibs_check_method
=pass_all
3816 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]'
3817 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3824 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3825 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3826 file_magic_cmd
=$lt_cv_file_magic_cmd
3827 deplibs_check_method
=$lt_cv_deplibs_check_method
3833 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3835 # find the maximum length of command line arguments
3836 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3837 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3838 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3839 echo $ECHO_N "(cached) $ECHO_C" >&6
3846 # On DJGPP, this test can blow up pretty badly due to problems in libc
3847 # (any single argument exceeding 2000 bytes causes a buffer overrun
3848 # during glob expansion). Even if it were fixed, the result of this
3849 # check would be larger than it should be.
3850 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3854 # On Win9x/ME, this test blows up -- it succeeds, but takes
3855 # about 5 minutes as the teststring grows exponentially.
3856 # Worse, since 9x/ME are not pre-emptively multitasking,
3857 # you end up with a "frozen" computer, even though with patience
3858 # the test eventually succeeds (with a max line length of 256k).
3859 # Instead, let's just punt: use the minimum linelength reported by
3860 # all of the supported platforms: 8192 (on NT/2K/XP).
3861 lt_cv_sys_max_cmd_len
=8192;
3865 # On AmigaOS with pdksh, this test takes hours, literally.
3866 # So we just punt and use a minimum line length of 8192.
3867 lt_cv_sys_max_cmd_len
=8192;
3870 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3871 # This has been around since 386BSD, at least. Likely further.
3872 if test -x /sbin
/sysctl
; then
3873 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3874 elif test -x /usr
/sbin
/sysctl
; then
3875 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3877 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
3879 # And add a safety zone
3880 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3881 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3887 if test -n "$lt_cv_sys_max_cmd_len" ; then
3888 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3889 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3891 echo "$as_me:$LINENO: result: none" >&5
3892 echo "${ECHO_T}none" >&6
3896 # Only perform the check for file, if the check method requires it
3897 case $deplibs_check_method in
3899 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3900 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3901 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3902 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3903 echo $ECHO_N "(cached) $ECHO_C" >&6
3907 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3910 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3913 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3914 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3915 ac_dummy
="/usr/bin:$PATH"
3916 for ac_dir
in $ac_dummy; do
3917 test -z "$ac_dir" && ac_dir
=.
3918 if test -f $ac_dir/${ac_tool_prefix}file; then
3919 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3920 if test -n "$file_magic_test_file"; then
3921 case $deplibs_check_method in
3923 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3924 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3925 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3926 egrep "$file_magic_regex" > /dev
/null
; then
3931 *** Warning: the command libtool uses to detect shared libraries,
3932 *** $file_magic_cmd, produces output that libtool cannot recognize.
3933 *** The result is that libtool may fail to recognize shared libraries
3934 *** as such. This will affect the creation of libtool libraries that
3935 *** depend on shared libraries, but programs linked with such libtool
3936 *** libraries will work regardless of this problem. Nevertheless, you
3937 *** may want to report the problem to your system manager and/or to
3938 *** bug-libtool@gnu.org
3948 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3953 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3954 if test -n "$MAGIC_CMD"; then
3955 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3956 echo "${ECHO_T}$MAGIC_CMD" >&6
3958 echo "$as_me:$LINENO: result: no" >&5
3959 echo "${ECHO_T}no" >&6
3962 if test -z "$lt_cv_path_MAGIC_CMD"; then
3963 if test -n "$ac_tool_prefix"; then
3964 echo "$as_me:$LINENO: checking for file" >&5
3965 echo $ECHO_N "checking for file... $ECHO_C" >&6
3966 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3967 echo $ECHO_N "(cached) $ECHO_C" >&6
3971 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3974 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3977 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3978 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3979 ac_dummy
="/usr/bin:$PATH"
3980 for ac_dir
in $ac_dummy; do
3981 test -z "$ac_dir" && ac_dir
=.
3982 if test -f $ac_dir/file; then
3983 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3984 if test -n "$file_magic_test_file"; then
3985 case $deplibs_check_method in
3987 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3988 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3989 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3990 egrep "$file_magic_regex" > /dev
/null
; then
3995 *** Warning: the command libtool uses to detect shared libraries,
3996 *** $file_magic_cmd, produces output that libtool cannot recognize.
3997 *** The result is that libtool may fail to recognize shared libraries
3998 *** as such. This will affect the creation of libtool libraries that
3999 *** depend on shared libraries, but programs linked with such libtool
4000 *** libraries will work regardless of this problem. Nevertheless, you
4001 *** may want to report the problem to your system manager and/or to
4002 *** bug-libtool@gnu.org
4012 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4017 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4018 if test -n "$MAGIC_CMD"; then
4019 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4020 echo "${ECHO_T}$MAGIC_CMD" >&6
4022 echo "$as_me:$LINENO: result: no" >&5
4023 echo "${ECHO_T}no" >&6
4035 if test -n "$ac_tool_prefix"; then
4036 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4037 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4038 echo "$as_me:$LINENO: checking for $ac_word" >&5
4039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4040 if test "${ac_cv_prog_RANLIB+set}" = set; then
4041 echo $ECHO_N "(cached) $ECHO_C" >&6
4043 if test -n "$RANLIB"; then
4044 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4050 test -z "$as_dir" && as_dir
=.
4051 for ac_exec_ext
in '' $ac_executable_extensions; do
4052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4053 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4062 RANLIB
=$ac_cv_prog_RANLIB
4063 if test -n "$RANLIB"; then
4064 echo "$as_me:$LINENO: result: $RANLIB" >&5
4065 echo "${ECHO_T}$RANLIB" >&6
4067 echo "$as_me:$LINENO: result: no" >&5
4068 echo "${ECHO_T}no" >&6
4072 if test -z "$ac_cv_prog_RANLIB"; then
4073 ac_ct_RANLIB
=$RANLIB
4074 # Extract the first word of "ranlib", so it can be a program name with args.
4075 set dummy ranlib
; ac_word
=$2
4076 echo "$as_me:$LINENO: checking for $ac_word" >&5
4077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4078 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4079 echo $ECHO_N "(cached) $ECHO_C" >&6
4081 if test -n "$ac_ct_RANLIB"; then
4082 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4088 test -z "$as_dir" && as_dir
=.
4089 for ac_exec_ext
in '' $ac_executable_extensions; do
4090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4091 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4098 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4101 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4102 if test -n "$ac_ct_RANLIB"; then
4103 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4104 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4106 echo "$as_me:$LINENO: result: no" >&5
4107 echo "${ECHO_T}no" >&6
4110 RANLIB
=$ac_ct_RANLIB
4112 RANLIB
="$ac_cv_prog_RANLIB"
4115 if test -n "$ac_tool_prefix"; then
4116 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4117 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4118 echo "$as_me:$LINENO: checking for $ac_word" >&5
4119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4120 if test "${ac_cv_prog_STRIP+set}" = set; then
4121 echo $ECHO_N "(cached) $ECHO_C" >&6
4123 if test -n "$STRIP"; then
4124 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4130 test -z "$as_dir" && as_dir
=.
4131 for ac_exec_ext
in '' $ac_executable_extensions; do
4132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4133 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4142 STRIP
=$ac_cv_prog_STRIP
4143 if test -n "$STRIP"; then
4144 echo "$as_me:$LINENO: result: $STRIP" >&5
4145 echo "${ECHO_T}$STRIP" >&6
4147 echo "$as_me:$LINENO: result: no" >&5
4148 echo "${ECHO_T}no" >&6
4152 if test -z "$ac_cv_prog_STRIP"; then
4154 # Extract the first word of "strip", so it can be a program name with args.
4155 set dummy strip
; ac_word
=$2
4156 echo "$as_me:$LINENO: checking for $ac_word" >&5
4157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4158 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4159 echo $ECHO_N "(cached) $ECHO_C" >&6
4161 if test -n "$ac_ct_STRIP"; then
4162 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4168 test -z "$as_dir" && as_dir
=.
4169 for ac_exec_ext
in '' $ac_executable_extensions; do
4170 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4171 ac_cv_prog_ac_ct_STRIP
="strip"
4172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4178 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4181 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4182 if test -n "$ac_ct_STRIP"; then
4183 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4184 echo "${ECHO_T}$ac_ct_STRIP" >&6
4186 echo "$as_me:$LINENO: result: no" >&5
4187 echo "${ECHO_T}no" >&6
4192 STRIP
="$ac_cv_prog_STRIP"
4196 # Check for any special flags to pass to ltconfig.
4197 libtool_flags
="--cache-file=$cache_file"
4198 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4199 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4200 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4201 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4202 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4205 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4206 if test "${enable_libtool_lock+set}" = set; then
4207 enableval
="$enable_libtool_lock"
4210 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4211 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4214 # Check whether --with-pic or --without-pic was given.
4215 if test "${with_pic+set}" = set; then
4221 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4222 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4224 # Some flags need to be propagated to the compiler or linker for good
4228 # Find out which ABI we are using.
4229 echo '#line 4229 "configure"' > conftest.
$ac_ext
4230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4231 (eval $ac_compile) 2>&5
4233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234 (exit $ac_status); }; then
4235 if test "$lt_cv_prog_gnu_ld" = yes; then
4236 case `/usr/bin/file conftest.$ac_objext` in
4238 LD
="${LD-ld} -melf32bsmip"
4241 LD
="${LD-ld} -melf32bmipn32"
4244 LD
="${LD-ld} -melf64bmip"
4248 case `/usr/bin/file conftest.$ac_objext` in
4265 # Find out which ABI we are using.
4266 echo 'int i;' > conftest.
$ac_ext
4267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4268 (eval $ac_compile) 2>&5
4270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); }; then
4272 case "`/usr/bin/file conftest.o`" in
4284 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4285 # Find out which ABI we are using.
4286 echo 'int i;' > conftest.
$ac_ext
4287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4288 (eval $ac_compile) 2>&5
4290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291 (exit $ac_status); }; then
4292 case "`/usr/bin/file conftest.o`" in
4296 LD
="${LD-ld} -m elf_i386"
4298 ppc64-
*linux
*|powerpc64-
*linux
*)
4299 LD
="${LD-ld} -m elf32ppclinux"
4302 LD
="${LD-ld} -m elf_s390"
4305 LD
="${LD-ld} -m elf32_sparc"
4312 LD
="${LD-ld} -m elf_x86_64"
4314 ppc
*-*linux
*|powerpc
*-*linux
*)
4315 LD
="${LD-ld} -m elf64ppc"
4318 LD
="${LD-ld} -m elf64_s390"
4321 LD
="${LD-ld} -m elf64_sparc"
4331 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4332 SAVE_CFLAGS
="$CFLAGS"
4333 CFLAGS
="$CFLAGS -belf"
4334 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4335 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4336 if test "${lt_cv_cc_needs_belf+set}" = set; then
4337 echo $ECHO_N "(cached) $ECHO_C" >&6
4342 ac_cpp
='$CPP $CPPFLAGS'
4343 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4344 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4345 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4347 cat >conftest.
$ac_ext <<_ACEOF
4350 cat confdefs.h
>>conftest.
$ac_ext
4351 cat >>conftest.
$ac_ext <<_ACEOF
4352 /* end confdefs.h. */
4362 rm -f conftest.
$ac_objext conftest
$ac_exeext
4363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4364 (eval $ac_link) 2>conftest.er1
4366 grep -v '^ *+' conftest.er1
>conftest.err
4368 cat conftest.err
>&5
4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370 (exit $ac_status); } &&
4371 { ac_try
='test -z "$ac_c_werror_flag"
4372 || test ! -s conftest.err'
4373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377 (exit $ac_status); }; } &&
4378 { ac_try
='test -s conftest$ac_exeext'
4379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 (exit $ac_status); }; }; then
4384 lt_cv_cc_needs_belf
=yes
4386 echo "$as_me: failed program was:" >&5
4387 sed 's/^/| /' conftest.
$ac_ext >&5
4389 lt_cv_cc_needs_belf
=no
4391 rm -f conftest.err conftest.
$ac_objext \
4392 conftest
$ac_exeext conftest.
$ac_ext
4394 ac_cpp
='$CPP $CPPFLAGS'
4395 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4396 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4397 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4400 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4401 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4402 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4403 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4404 CFLAGS
="$SAVE_CFLAGS"
4412 # Save cache, so that ltconfig can load it
4413 cat >confcache
<<\_ACEOF
4414 # This file is a shell script that caches the results of configure
4415 # tests run on this system so they can be shared between configure
4416 # scripts and configure runs, see configure's option --config-cache.
4417 # It is not useful on other systems. If it contains results you don't
4418 # want to keep, you may remove or edit it.
4420 # config.status only pays attention to the cache file if you give it
4421 # the --recheck option to rerun configure.
4423 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4424 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4429 # The following way of writing the cache mishandles newlines in values,
4430 # but we know of no workaround that is simple, portable, and efficient.
4431 # So, don't put newlines in cache variables' values.
4432 # Ultrix sh set writes to stderr and can't be redirected directly,
4433 # and sets the high bit in the cache file unless we assign to the vars.
4436 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4438 # `set' does not quote correctly, so add quotes (double-quote
4439 # substitution turns \\\\ into \\, and sed turns \\ into \).
4442 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4445 # `set' quotes correctly as required by POSIX, so do not add quotes.
4447 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4454 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4456 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4458 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4459 if test -w $cache_file; then
4460 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4461 cat confcache
>$cache_file
4463 echo "not updating unwritable cache $cache_file"
4468 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4469 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4470 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4471 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4472 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4473 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4474 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4475 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4476 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4477 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4478 echo "$as_me: error: libtool configure failed" >&2;}
4479 { (exit 1); exit 1; }; }
4481 # Reload cache, that may have been modified by ltconfig
4482 if test -r "$cache_file"; then
4483 # Some versions of bash will fail to source /dev/null (special
4484 # files actually), so we avoid doing that.
4485 if test -f "$cache_file"; then
4486 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4487 echo "$as_me: loading cache $cache_file" >&6;}
4489 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4490 *) . .
/$cache_file;;
4494 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4495 echo "$as_me: creating cache $cache_file" >&6;}
4500 # This can be used to rebuild libtool when needed
4501 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4503 # Always use our own libtool.
4504 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4506 # Redirect the config.log output again, so that the ltconfig log is not
4507 # clobbered by the next message.
4508 exec 5>>.
/config.log
4518 # We need gfortran to compile parts of the library
4519 # We can't use AC_PROG_FC because it expects a fully working gfortran.
4520 #AC_PROG_FC(gfortran)
4522 ac_ext
=${FC_SRCEXT-f}
4523 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4524 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4525 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
4526 if test -n "$ac_tool_prefix"; then
4527 for ac_prog
in gfortran
4529 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4530 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4531 echo "$as_me:$LINENO: checking for $ac_word" >&5
4532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4533 if test "${ac_cv_prog_FC+set}" = set; then
4534 echo $ECHO_N "(cached) $ECHO_C" >&6
4536 if test -n "$FC"; then
4537 ac_cv_prog_FC
="$FC" # Let the user override the test.
4539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4543 test -z "$as_dir" && as_dir
=.
4544 for ac_exec_ext
in '' $ac_executable_extensions; do
4545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4546 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
4547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4556 if test -n "$FC"; then
4557 echo "$as_me:$LINENO: result: $FC" >&5
4558 echo "${ECHO_T}$FC" >&6
4560 echo "$as_me:$LINENO: result: no" >&5
4561 echo "${ECHO_T}no" >&6
4564 test -n "$FC" && break
4567 if test -z "$FC"; then
4569 for ac_prog
in gfortran
4571 # Extract the first word of "$ac_prog", so it can be a program name with args.
4572 set dummy
$ac_prog; ac_word
=$2
4573 echo "$as_me:$LINENO: checking for $ac_word" >&5
4574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4575 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4576 echo $ECHO_N "(cached) $ECHO_C" >&6
4578 if test -n "$ac_ct_FC"; then
4579 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
4581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4585 test -z "$as_dir" && as_dir
=.
4586 for ac_exec_ext
in '' $ac_executable_extensions; do
4587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4588 ac_cv_prog_ac_ct_FC
="$ac_prog"
4589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4597 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
4598 if test -n "$ac_ct_FC"; then
4599 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4600 echo "${ECHO_T}$ac_ct_FC" >&6
4602 echo "$as_me:$LINENO: result: no" >&5
4603 echo "${ECHO_T}no" >&6
4606 test -n "$ac_ct_FC" && break
4613 # Provide some information about the compiler.
4614 echo "$as_me:4614:" \
4615 "checking for Fortran compiler version" >&5
4616 ac_compiler
=`set X $ac_compile; echo $2`
4617 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4618 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4621 (exit $ac_status); }
4622 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4623 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4626 (exit $ac_status); }
4627 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4628 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631 (exit $ac_status); }
4634 # If we don't use `.F' as extension, the preprocessor is not run on the
4635 # input file. (Note that this only needs to work for GNU compilers.)
4638 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4639 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4640 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4641 echo $ECHO_N "(cached) $ECHO_C" >&6
4643 cat >conftest.
$ac_ext <<_ACEOF
4651 rm -f conftest.
$ac_objext
4652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4653 (eval $ac_compile) 2>conftest.er1
4655 grep -v '^ *+' conftest.er1
>conftest.err
4657 cat conftest.err
>&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); } &&
4660 { ac_try
='test -z "$ac_fc_werror_flag"
4661 || test ! -s conftest.err'
4662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); }; } &&
4667 { ac_try
='test -s conftest.$ac_objext'
4668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); }; }; then
4675 echo "$as_me: failed program was:" >&5
4676 sed 's/^/| /' conftest.
$ac_ext >&5
4680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4681 ac_cv_fc_compiler_gnu
=$ac_compiler_gnu
4684 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4685 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4687 ac_test_FFLAGS
=${FCFLAGS+set}
4688 ac_save_FFLAGS
=$FCFLAGS
4690 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4691 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4692 if test "${ac_cv_prog_fc_g+set}" = set; then
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
4696 cat >conftest.
$ac_ext <<_ACEOF
4701 rm -f conftest.
$ac_objext
4702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4703 (eval $ac_compile) 2>conftest.er1
4705 grep -v '^ *+' conftest.er1
>conftest.err
4707 cat conftest.err
>&5
4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4709 (exit $ac_status); } &&
4710 { ac_try
='test -z "$ac_fc_werror_flag"
4711 || test ! -s conftest.err'
4712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4716 (exit $ac_status); }; } &&
4717 { ac_try
='test -s conftest.$ac_objext'
4718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722 (exit $ac_status); }; }; then
4725 echo "$as_me: failed program was:" >&5
4726 sed 's/^/| /' conftest.
$ac_ext >&5
4730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4733 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4734 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4735 if test "$ac_test_FFLAGS" = set; then
4736 FCFLAGS
=$ac_save_FFLAGS
4737 elif test $ac_cv_prog_fc_g = yes; then
4738 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
4744 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
4752 ac_cpp
='$CPP $CPPFLAGS'
4753 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4754 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4755 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4757 FCFLAGS
="$FCFLAGS -Wall"
4759 # For libtool versioning info, format is CURRENT:REVISION:AGE
4760 libtool_VERSION
=1:0:0
4763 # Check header files.
4765 ac_cpp
='$CPP $CPPFLAGS'
4766 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4767 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4768 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4769 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4770 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4771 # On Suns, sometimes $CPP names a directory.
4772 if test -n "$CPP" && test -d "$CPP"; then
4775 if test -z "$CPP"; then
4776 if test "${ac_cv_prog_CPP+set}" = set; then
4777 echo $ECHO_N "(cached) $ECHO_C" >&6
4779 # Double quotes because CPP needs to be expanded
4780 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4783 for ac_c_preproc_warn_flag
in '' yes
4785 # Use a header file that comes with gcc, so configuring glibc
4786 # with a fresh cross-compiler works.
4787 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4788 # <limits.h> exists even on freestanding compilers.
4789 # On the NeXT, cc -E runs the code through the compiler's parser,
4790 # not just through cpp. "Syntax error" is here to catch this case.
4791 cat >conftest.
$ac_ext <<_ACEOF
4794 cat confdefs.h
>>conftest.
$ac_ext
4795 cat >>conftest.
$ac_ext <<_ACEOF
4796 /* end confdefs.h. */
4798 # include <limits.h>
4800 # include <assert.h>
4804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4805 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4807 grep -v '^ *+' conftest.er1
>conftest.err
4809 cat conftest.err
>&5
4810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4811 (exit $ac_status); } >/dev
/null
; then
4812 if test -s conftest.err
; then
4813 ac_cpp_err
=$ac_c_preproc_warn_flag
4814 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4821 if test -z "$ac_cpp_err"; then
4824 echo "$as_me: failed program was:" >&5
4825 sed 's/^/| /' conftest.
$ac_ext >&5
4827 # Broken: fails on valid input.
4830 rm -f conftest.err conftest.
$ac_ext
4832 # OK, works on sane cases. Now check whether non-existent headers
4833 # can be detected and how.
4834 cat >conftest.
$ac_ext <<_ACEOF
4837 cat confdefs.h
>>conftest.
$ac_ext
4838 cat >>conftest.
$ac_ext <<_ACEOF
4839 /* end confdefs.h. */
4840 #include <ac_nonexistent.h>
4842 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4843 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4845 grep -v '^ *+' conftest.er1
>conftest.err
4847 cat conftest.err
>&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); } >/dev
/null
; then
4850 if test -s conftest.err
; then
4851 ac_cpp_err
=$ac_c_preproc_warn_flag
4852 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4859 if test -z "$ac_cpp_err"; then
4860 # Broken: success on invalid input.
4863 echo "$as_me: failed program was:" >&5
4864 sed 's/^/| /' conftest.
$ac_ext >&5
4866 # Passes both tests.
4870 rm -f conftest.err conftest.
$ac_ext
4873 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4874 rm -f conftest.err conftest.
$ac_ext
4875 if $ac_preproc_ok; then
4887 echo "$as_me:$LINENO: result: $CPP" >&5
4888 echo "${ECHO_T}$CPP" >&6
4890 for ac_c_preproc_warn_flag
in '' yes
4892 # Use a header file that comes with gcc, so configuring glibc
4893 # with a fresh cross-compiler works.
4894 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4895 # <limits.h> exists even on freestanding compilers.
4896 # On the NeXT, cc -E runs the code through the compiler's parser,
4897 # not just through cpp. "Syntax error" is here to catch this case.
4898 cat >conftest.
$ac_ext <<_ACEOF
4901 cat confdefs.h
>>conftest.
$ac_ext
4902 cat >>conftest.
$ac_ext <<_ACEOF
4903 /* end confdefs.h. */
4905 # include <limits.h>
4907 # include <assert.h>
4911 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4912 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4914 grep -v '^ *+' conftest.er1
>conftest.err
4916 cat conftest.err
>&5
4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918 (exit $ac_status); } >/dev
/null
; then
4919 if test -s conftest.err
; then
4920 ac_cpp_err
=$ac_c_preproc_warn_flag
4921 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4928 if test -z "$ac_cpp_err"; then
4931 echo "$as_me: failed program was:" >&5
4932 sed 's/^/| /' conftest.
$ac_ext >&5
4934 # Broken: fails on valid input.
4937 rm -f conftest.err conftest.
$ac_ext
4939 # OK, works on sane cases. Now check whether non-existent headers
4940 # can be detected and how.
4941 cat >conftest.
$ac_ext <<_ACEOF
4944 cat confdefs.h
>>conftest.
$ac_ext
4945 cat >>conftest.
$ac_ext <<_ACEOF
4946 /* end confdefs.h. */
4947 #include <ac_nonexistent.h>
4949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4950 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4952 grep -v '^ *+' conftest.er1
>conftest.err
4954 cat conftest.err
>&5
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); } >/dev
/null
; then
4957 if test -s conftest.err
; then
4958 ac_cpp_err
=$ac_c_preproc_warn_flag
4959 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4966 if test -z "$ac_cpp_err"; then
4967 # Broken: success on invalid input.
4970 echo "$as_me: failed program was:" >&5
4971 sed 's/^/| /' conftest.
$ac_ext >&5
4973 # Passes both tests.
4977 rm -f conftest.err conftest.
$ac_ext
4980 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4981 rm -f conftest.err conftest.
$ac_ext
4982 if $ac_preproc_ok; then
4985 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4986 See \`config.log' for more details." >&5
4987 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4988 See \`config.log' for more details." >&2;}
4989 { (exit 1); exit 1; }; }
4993 ac_cpp
='$CPP $CPPFLAGS'
4994 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4995 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4996 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4999 echo "$as_me:$LINENO: checking for egrep" >&5
5000 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5001 if test "${ac_cv_prog_egrep+set}" = set; then
5002 echo $ECHO_N "(cached) $ECHO_C" >&6
5004 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5005 then ac_cv_prog_egrep
='grep -E'
5006 else ac_cv_prog_egrep
='egrep'
5009 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5010 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5011 EGREP
=$ac_cv_prog_egrep
5014 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5015 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5016 if test "${ac_cv_header_stdc+set}" = set; then
5017 echo $ECHO_N "(cached) $ECHO_C" >&6
5019 cat >conftest.
$ac_ext <<_ACEOF
5022 cat confdefs.h
>>conftest.
$ac_ext
5023 cat >>conftest.
$ac_ext <<_ACEOF
5024 /* end confdefs.h. */
5038 rm -f conftest.
$ac_objext
5039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5040 (eval $ac_compile) 2>conftest.er1
5042 grep -v '^ *+' conftest.er1
>conftest.err
5044 cat conftest.err
>&5
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); } &&
5047 { ac_try
='test -z "$ac_c_werror_flag"
5048 || test ! -s conftest.err'
5049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5053 (exit $ac_status); }; } &&
5054 { ac_try
='test -s conftest.$ac_objext'
5055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); }; }; then
5060 ac_cv_header_stdc
=yes
5062 echo "$as_me: failed program was:" >&5
5063 sed 's/^/| /' conftest.
$ac_ext >&5
5065 ac_cv_header_stdc
=no
5067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5069 if test $ac_cv_header_stdc = yes; then
5070 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5071 cat >conftest.
$ac_ext <<_ACEOF
5074 cat confdefs.h
>>conftest.
$ac_ext
5075 cat >>conftest.
$ac_ext <<_ACEOF
5076 /* end confdefs.h. */
5080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5081 $EGREP "memchr" >/dev
/null
2>&1; then
5084 ac_cv_header_stdc
=no
5090 if test $ac_cv_header_stdc = yes; then
5091 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5092 cat >conftest.
$ac_ext <<_ACEOF
5095 cat confdefs.h
>>conftest.
$ac_ext
5096 cat >>conftest.
$ac_ext <<_ACEOF
5097 /* end confdefs.h. */
5101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5102 $EGREP "free" >/dev
/null
2>&1; then
5105 ac_cv_header_stdc
=no
5111 if test $ac_cv_header_stdc = yes; then
5112 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5113 if test "$cross_compiling" = yes; then
5116 cat >conftest.
$ac_ext <<_ACEOF
5119 cat confdefs.h
>>conftest.
$ac_ext
5120 cat >>conftest.
$ac_ext <<_ACEOF
5121 /* end confdefs.h. */
5123 #if ((' ' & 0x0FF) == 0x020)
5124 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5125 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5127 # define ISLOWER(c) \
5128 (('a' <= (c) && (c) <= 'i') \
5129 || ('j' <= (c) && (c) <= 'r') \
5130 || ('s' <= (c) && (c) <= 'z'))
5131 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5134 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5139 for (i = 0; i < 256; i++)
5140 if (XOR (islower (i), ISLOWER (i))
5141 || toupper (i) != TOUPPER (i))
5146 rm -f conftest
$ac_exeext
5147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5148 (eval $ac_link) 2>&5
5150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5151 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5156 (exit $ac_status); }; }; then
5159 echo "$as_me: program exited with status $ac_status" >&5
5160 echo "$as_me: failed program was:" >&5
5161 sed 's/^/| /' conftest.
$ac_ext >&5
5164 ac_cv_header_stdc
=no
5166 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5170 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5171 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5172 if test $ac_cv_header_stdc = yes; then
5174 cat >>confdefs.h
<<\_ACEOF
5175 #define STDC_HEADERS 1
5180 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5181 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5182 if test "${ac_cv_header_time+set}" = set; then
5183 echo $ECHO_N "(cached) $ECHO_C" >&6
5185 cat >conftest.
$ac_ext <<_ACEOF
5188 cat confdefs.h
>>conftest.
$ac_ext
5189 cat >>conftest.
$ac_ext <<_ACEOF
5190 /* end confdefs.h. */
5191 #include <sys/types.h>
5192 #include <sys/time.h>
5198 if ((struct tm *) 0)
5204 rm -f conftest.
$ac_objext
5205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5206 (eval $ac_compile) 2>conftest.er1
5208 grep -v '^ *+' conftest.er1
>conftest.err
5210 cat conftest.err
>&5
5211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212 (exit $ac_status); } &&
5213 { ac_try
='test -z "$ac_c_werror_flag"
5214 || test ! -s conftest.err'
5215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); }; } &&
5220 { ac_try
='test -s conftest.$ac_objext'
5221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225 (exit $ac_status); }; }; then
5226 ac_cv_header_time
=yes
5228 echo "$as_me: failed program was:" >&5
5229 sed 's/^/| /' conftest.
$ac_ext >&5
5231 ac_cv_header_time
=no
5233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5235 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5236 echo "${ECHO_T}$ac_cv_header_time" >&6
5237 if test $ac_cv_header_time = yes; then
5239 cat >>confdefs.h
<<\_ACEOF
5240 #define TIME_WITH_SYS_TIME 1
5245 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5255 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5256 inttypes.h stdint.h unistd.h
5258 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5259 echo "$as_me:$LINENO: checking for $ac_header" >&5
5260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5262 echo $ECHO_N "(cached) $ECHO_C" >&6
5264 cat >conftest.
$ac_ext <<_ACEOF
5267 cat confdefs.h
>>conftest.
$ac_ext
5268 cat >>conftest.
$ac_ext <<_ACEOF
5269 /* end confdefs.h. */
5270 $ac_includes_default
5272 #include <$ac_header>
5274 rm -f conftest.
$ac_objext
5275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5276 (eval $ac_compile) 2>conftest.er1
5278 grep -v '^ *+' conftest.er1
>conftest.err
5280 cat conftest.err
>&5
5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 (exit $ac_status); } &&
5283 { ac_try
='test -z "$ac_c_werror_flag"
5284 || test ! -s conftest.err'
5285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289 (exit $ac_status); }; } &&
5290 { ac_try
='test -s conftest.$ac_objext'
5291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5295 (exit $ac_status); }; }; then
5296 eval "$as_ac_Header=yes"
5298 echo "$as_me: failed program was:" >&5
5299 sed 's/^/| /' conftest.
$ac_ext >&5
5301 eval "$as_ac_Header=no"
5303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5306 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5307 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5308 cat >>confdefs.h
<<_ACEOF
5309 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5320 for ac_header
in unistd.h semaphore.h sys
/time.h
5322 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5324 echo "$as_me:$LINENO: checking for $ac_header" >&5
5325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5327 echo $ECHO_N "(cached) $ECHO_C" >&6
5329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5330 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5332 # Is the header compilable?
5333 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5334 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5335 cat >conftest.
$ac_ext <<_ACEOF
5338 cat confdefs.h
>>conftest.
$ac_ext
5339 cat >>conftest.
$ac_ext <<_ACEOF
5340 /* end confdefs.h. */
5341 $ac_includes_default
5342 #include <$ac_header>
5344 rm -f conftest.
$ac_objext
5345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5346 (eval $ac_compile) 2>conftest.er1
5348 grep -v '^ *+' conftest.er1
>conftest.err
5350 cat conftest.err
>&5
5351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352 (exit $ac_status); } &&
5353 { ac_try
='test -z "$ac_c_werror_flag"
5354 || test ! -s conftest.err'
5355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359 (exit $ac_status); }; } &&
5360 { ac_try
='test -s conftest.$ac_objext'
5361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365 (exit $ac_status); }; }; then
5366 ac_header_compiler
=yes
5368 echo "$as_me: failed program was:" >&5
5369 sed 's/^/| /' conftest.
$ac_ext >&5
5371 ac_header_compiler
=no
5373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5374 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5375 echo "${ECHO_T}$ac_header_compiler" >&6
5377 # Is the header present?
5378 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5379 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5380 cat >conftest.
$ac_ext <<_ACEOF
5383 cat confdefs.h
>>conftest.
$ac_ext
5384 cat >>conftest.
$ac_ext <<_ACEOF
5385 /* end confdefs.h. */
5386 #include <$ac_header>
5388 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5389 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5391 grep -v '^ *+' conftest.er1
>conftest.err
5393 cat conftest.err
>&5
5394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5395 (exit $ac_status); } >/dev
/null
; then
5396 if test -s conftest.err
; then
5397 ac_cpp_err
=$ac_c_preproc_warn_flag
5398 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5405 if test -z "$ac_cpp_err"; then
5406 ac_header_preproc
=yes
5408 echo "$as_me: failed program was:" >&5
5409 sed 's/^/| /' conftest.
$ac_ext >&5
5411 ac_header_preproc
=no
5413 rm -f conftest.err conftest.
$ac_ext
5414 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5415 echo "${ECHO_T}$ac_header_preproc" >&6
5417 # So? What about this header?
5418 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5420 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5421 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5423 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5424 ac_header_preproc
=yes
5427 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5428 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5429 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5430 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5431 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5432 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5433 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5434 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5436 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5437 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5438 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5441 ## ----------------------------------------------------- ##
5442 ## Report this to the GNU OpenMP Runtime Library lists. ##
5443 ## ----------------------------------------------------- ##
5446 sed "s/^/$as_me: WARNING: /" >&2
5449 echo "$as_me:$LINENO: checking for $ac_header" >&5
5450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5452 echo $ECHO_N "(cached) $ECHO_C" >&6
5454 eval "$as_ac_Header=\$ac_header_preproc"
5456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5460 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5461 cat >>confdefs.h
<<_ACEOF
5462 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5469 if test "${ac_cv_header_pthread_h+set}" = set; then
5470 echo "$as_me:$LINENO: checking for pthread.h" >&5
5471 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
5472 if test "${ac_cv_header_pthread_h+set}" = set; then
5473 echo $ECHO_N "(cached) $ECHO_C" >&6
5475 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
5476 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
5478 # Is the header compilable?
5479 echo "$as_me:$LINENO: checking pthread.h usability" >&5
5480 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6
5481 cat >conftest.
$ac_ext <<_ACEOF
5484 cat confdefs.h
>>conftest.
$ac_ext
5485 cat >>conftest.
$ac_ext <<_ACEOF
5486 /* end confdefs.h. */
5487 $ac_includes_default
5488 #include <pthread.h>
5490 rm -f conftest.
$ac_objext
5491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5492 (eval $ac_compile) 2>conftest.er1
5494 grep -v '^ *+' conftest.er1
>conftest.err
5496 cat conftest.err
>&5
5497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5498 (exit $ac_status); } &&
5499 { ac_try
='test -z "$ac_c_werror_flag"
5500 || test ! -s conftest.err'
5501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 (exit $ac_status); }; } &&
5506 { ac_try
='test -s conftest.$ac_objext'
5507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5511 (exit $ac_status); }; }; then
5512 ac_header_compiler
=yes
5514 echo "$as_me: failed program was:" >&5
5515 sed 's/^/| /' conftest.
$ac_ext >&5
5517 ac_header_compiler
=no
5519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5520 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5521 echo "${ECHO_T}$ac_header_compiler" >&6
5523 # Is the header present?
5524 echo "$as_me:$LINENO: checking pthread.h presence" >&5
5525 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6
5526 cat >conftest.
$ac_ext <<_ACEOF
5529 cat confdefs.h
>>conftest.
$ac_ext
5530 cat >>conftest.
$ac_ext <<_ACEOF
5531 /* end confdefs.h. */
5532 #include <pthread.h>
5534 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5535 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5537 grep -v '^ *+' conftest.er1
>conftest.err
5539 cat conftest.err
>&5
5540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5541 (exit $ac_status); } >/dev
/null
; then
5542 if test -s conftest.err
; then
5543 ac_cpp_err
=$ac_c_preproc_warn_flag
5544 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5551 if test -z "$ac_cpp_err"; then
5552 ac_header_preproc
=yes
5554 echo "$as_me: failed program was:" >&5
5555 sed 's/^/| /' conftest.
$ac_ext >&5
5557 ac_header_preproc
=no
5559 rm -f conftest.err conftest.
$ac_ext
5560 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5561 echo "${ECHO_T}$ac_header_preproc" >&6
5563 # So? What about this header?
5564 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5566 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
5567 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5568 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
5569 echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
5570 ac_header_preproc
=yes
5573 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
5574 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
5575 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
5576 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
5577 { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
5578 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
5579 { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
5580 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
5581 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
5582 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
5583 { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
5584 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
5587 ## ----------------------------------------------------- ##
5588 ## Report this to the GNU OpenMP Runtime Library lists. ##
5589 ## ----------------------------------------------------- ##
5592 sed "s/^/$as_me: WARNING: /" >&2
5595 echo "$as_me:$LINENO: checking for pthread.h" >&5
5596 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
5597 if test "${ac_cv_header_pthread_h+set}" = set; then
5598 echo $ECHO_N "(cached) $ECHO_C" >&6
5600 ac_cv_header_pthread_h
=$ac_header_preproc
5602 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
5603 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
5606 if test $ac_cv_header_pthread_h = yes; then
5609 { { echo "$as_me:$LINENO: error: Pthreads are required to build libgomp" >&5
5610 echo "$as_me: error: Pthreads are required to build libgomp" >&2;}
5611 { (exit 1); exit 1; }; }
5616 # Check to see if -pthread or -lpthread is needed. Prefer the former.
5618 CFLAGS
="$CFLAGS -pthread"
5619 cat >conftest.
$ac_ext <<_ACEOF
5622 cat confdefs.h
>>conftest.
$ac_ext
5623 cat >>conftest.
$ac_ext <<_ACEOF
5624 /* end confdefs.h. */
5625 #include <pthread.h>
5626 void *g(void *d) { return NULL; }
5630 pthread_t t; pthread_create(&t,NULL,g,NULL);
5635 rm -f conftest.
$ac_objext conftest
$ac_exeext
5636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5637 (eval $ac_link) 2>conftest.er1
5639 grep -v '^ *+' conftest.er1
>conftest.err
5641 cat conftest.err
>&5
5642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5643 (exit $ac_status); } &&
5644 { ac_try
='test -z "$ac_c_werror_flag"
5645 || test ! -s conftest.err'
5646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5650 (exit $ac_status); }; } &&
5651 { ac_try
='test -s conftest$ac_exeext'
5652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656 (exit $ac_status); }; }; then
5657 XPCFLAGS
=" -Wc,-pthread"
5659 echo "$as_me: failed program was:" >&5
5660 sed 's/^/| /' conftest.
$ac_ext >&5
5662 CFLAGS
="$save_CFLAGS" LIBS
="-lpthread $LIBS"
5663 cat >conftest.
$ac_ext <<_ACEOF
5666 cat confdefs.h
>>conftest.
$ac_ext
5667 cat >>conftest.
$ac_ext <<_ACEOF
5668 /* end confdefs.h. */
5669 #include <pthread.h>
5670 void *g(void *d) { return NULL; }
5674 pthread_t t; pthread_create(&t,NULL,g,NULL);
5679 rm -f conftest.
$ac_objext conftest
$ac_exeext
5680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5681 (eval $ac_link) 2>conftest.er1
5683 grep -v '^ *+' conftest.er1
>conftest.err
5685 cat conftest.err
>&5
5686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5687 (exit $ac_status); } &&
5688 { ac_try
='test -z "$ac_c_werror_flag"
5689 || test ! -s conftest.err'
5690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694 (exit $ac_status); }; } &&
5695 { ac_try
='test -s conftest$ac_exeext'
5696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700 (exit $ac_status); }; }; then
5703 echo "$as_me: failed program was:" >&5
5704 sed 's/^/| /' conftest.
$ac_ext >&5
5706 { { echo "$as_me:$LINENO: error: Pthreads are required to build libgomp" >&5
5707 echo "$as_me: error: Pthreads are required to build libgomp" >&2;}
5708 { (exit 1); exit 1; }; }
5710 rm -f conftest.err conftest.
$ac_objext \
5711 conftest
$ac_exeext conftest.
$ac_ext
5713 rm -f conftest.err conftest.
$ac_objext \
5714 conftest
$ac_exeext conftest.
$ac_ext
5716 # Check for functions needed.
5719 for ac_func
in getloadavg clock_gettime
5721 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5722 echo "$as_me:$LINENO: checking for $ac_func" >&5
5723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5724 if eval "test \"\${$as_ac_var+set}\" = set"; then
5725 echo $ECHO_N "(cached) $ECHO_C" >&6
5727 cat >conftest.
$ac_ext <<_ACEOF
5730 cat confdefs.h
>>conftest.
$ac_ext
5731 cat >>conftest.
$ac_ext <<_ACEOF
5732 /* end confdefs.h. */
5733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5735 #define $ac_func innocuous_$ac_func
5737 /* System header to define __stub macros and hopefully few prototypes,
5738 which can conflict with char $ac_func (); below.
5739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5740 <limits.h> exists even on freestanding compilers. */
5743 # include <limits.h>
5745 # include <assert.h>
5750 /* Override any gcc2 internal prototype to avoid an error. */
5755 /* We use char because int might match the return type of a gcc2
5756 builtin and then its argument prototype would still apply. */
5758 /* The GNU C library defines this for functions which it implements
5759 to always fail with ENOSYS. Some functions are actually named
5760 something starting with __ and the normal name is an alias. */
5761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5764 char (*f) () = $ac_func;
5773 return f != $ac_func;
5778 rm -f conftest.
$ac_objext conftest
$ac_exeext
5779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5780 (eval $ac_link) 2>conftest.er1
5782 grep -v '^ *+' conftest.er1
>conftest.err
5784 cat conftest.err
>&5
5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786 (exit $ac_status); } &&
5787 { ac_try
='test -z "$ac_c_werror_flag"
5788 || test ! -s conftest.err'
5789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793 (exit $ac_status); }; } &&
5794 { ac_try
='test -s conftest$ac_exeext'
5795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5799 (exit $ac_status); }; }; then
5800 eval "$as_ac_var=yes"
5802 echo "$as_me: failed program was:" >&5
5803 sed 's/^/| /' conftest.
$ac_ext >&5
5805 eval "$as_ac_var=no"
5807 rm -f conftest.err conftest.
$ac_objext \
5808 conftest
$ac_exeext conftest.
$ac_ext
5810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5812 if test `eval echo '${'$as_ac_var'}'` = yes; then
5813 cat >>confdefs.h
<<_ACEOF
5814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5821 # At least for glibc, clock_gettime is in librt. But don't pull that
5822 # in if it still doesn't give us the function we want.
5823 if test $ac_cv_func_clock_gettime = no
; then
5824 echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
5825 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
5826 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
5827 echo $ECHO_N "(cached) $ECHO_C" >&6
5829 ac_check_lib_save_LIBS
=$LIBS
5831 cat >conftest.
$ac_ext <<_ACEOF
5834 cat confdefs.h
>>conftest.
$ac_ext
5835 cat >>conftest.
$ac_ext <<_ACEOF
5836 /* end confdefs.h. */
5838 /* Override any gcc2 internal prototype to avoid an error. */
5842 /* We use char because int might match the return type of a gcc2
5843 builtin and then its argument prototype would still apply. */
5844 char clock_gettime ();
5853 rm -f conftest.
$ac_objext conftest
$ac_exeext
5854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5855 (eval $ac_link) 2>conftest.er1
5857 grep -v '^ *+' conftest.er1
>conftest.err
5859 cat conftest.err
>&5
5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861 (exit $ac_status); } &&
5862 { ac_try
='test -z "$ac_c_werror_flag"
5863 || test ! -s conftest.err'
5864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5868 (exit $ac_status); }; } &&
5869 { ac_try
='test -s conftest$ac_exeext'
5870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5874 (exit $ac_status); }; }; then
5875 ac_cv_lib_rt_clock_gettime
=yes
5877 echo "$as_me: failed program was:" >&5
5878 sed 's/^/| /' conftest.
$ac_ext >&5
5880 ac_cv_lib_rt_clock_gettime
=no
5882 rm -f conftest.err conftest.
$ac_objext \
5883 conftest
$ac_exeext conftest.
$ac_ext
5884 LIBS
=$ac_check_lib_save_LIBS
5886 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
5887 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
5888 if test $ac_cv_lib_rt_clock_gettime = yes; then
5890 cat >>confdefs.h
<<\_ACEOF
5891 #define HAVE_CLOCK_GETTIME Define to 1 if you have the `clock_gettime' function.
5898 # See if we support thread-local storage.
5900 # Check whether --enable-tls or --disable-tls was given.
5901 if test "${enable_tls+set}" = set; then
5902 enableval
="$enable_tls"
5904 case "$enableval" in
5906 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
5907 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
5908 { (exit 1); exit 1; }; } ;;
5915 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
5916 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
5917 if test "${have_tls+set}" = set; then
5918 echo $ECHO_N "(cached) $ECHO_C" >&6
5921 cat >conftest.
$ac_ext <<_ACEOF
5924 cat confdefs.h
>>conftest.
$ac_ext
5925 cat >>conftest.
$ac_ext <<_ACEOF
5926 /* end confdefs.h. */
5936 rm -f conftest.
$ac_objext
5937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5938 (eval $ac_compile) 2>conftest.er1
5940 grep -v '^ *+' conftest.er1
>conftest.err
5942 cat conftest.err
>&5
5943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 (exit $ac_status); } &&
5945 { ac_try
='test -z "$ac_c_werror_flag"
5946 || test ! -s conftest.err'
5947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5951 (exit $ac_status); }; } &&
5952 { ac_try
='test -s conftest.$ac_objext'
5953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); }; }; then
5958 have_tls
=$enable_tls
5960 echo "$as_me: failed program was:" >&5
5961 sed 's/^/| /' conftest.
$ac_ext >&5
5965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5967 echo "$as_me:$LINENO: result: $have_tls" >&5
5968 echo "${ECHO_T}$have_tls" >&6
5969 if test $have_tls = yes; then
5971 cat >>confdefs.h
<<\_ACEOF
5977 # See what sort of export controls are availible.
5979 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
5980 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
5981 if test "${have_attribute_visibility+set}" = set; then
5982 echo $ECHO_N "(cached) $ECHO_C" >&6
5985 save_CFLAGS
="$CFLAGS"
5986 CFLAGS
="$CFLAGS -Werror"
5987 cat >conftest.
$ac_ext <<_ACEOF
5990 cat confdefs.h
>>conftest.
$ac_ext
5991 cat >>conftest.
$ac_ext <<_ACEOF
5992 /* end confdefs.h. */
5993 void __attribute__((visibility("hidden"))) foo(void) { }
6002 rm -f conftest.
$ac_objext
6003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6004 (eval $ac_compile) 2>conftest.er1
6006 grep -v '^ *+' conftest.er1
>conftest.err
6008 cat conftest.err
>&5
6009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6010 (exit $ac_status); } &&
6011 { ac_try
='test -z "$ac_c_werror_flag"
6012 || test ! -s conftest.err'
6013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6017 (exit $ac_status); }; } &&
6018 { ac_try
='test -s conftest.$ac_objext'
6019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6023 (exit $ac_status); }; }; then
6024 have_attribute_visibility
=yes
6026 echo "$as_me: failed program was:" >&5
6027 sed 's/^/| /' conftest.
$ac_ext >&5
6029 have_attribute_visibility
=no
6031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6032 CFLAGS
="$save_CFLAGS"
6034 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
6035 echo "${ECHO_T}$have_attribute_visibility" >&6
6036 if test $have_attribute_visibility = yes; then
6038 cat >>confdefs.h
<<\_ACEOF
6039 #define HAVE_ATTRIBUTE_VISIBILITY 1
6044 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
6045 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
6046 if test "${have_attribute_dllexport+set}" = set; then
6047 echo $ECHO_N "(cached) $ECHO_C" >&6
6050 save_CFLAGS
="$CFLAGS"
6051 CFLAGS
="$CFLAGS -Werror"
6052 cat >conftest.
$ac_ext <<_ACEOF
6055 cat confdefs.h
>>conftest.
$ac_ext
6056 cat >>conftest.
$ac_ext <<_ACEOF
6057 /* end confdefs.h. */
6058 void __attribute__((dllexport)) foo(void) { }
6067 rm -f conftest.
$ac_objext
6068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6069 (eval $ac_compile) 2>conftest.er1
6071 grep -v '^ *+' conftest.er1
>conftest.err
6073 cat conftest.err
>&5
6074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 (exit $ac_status); } &&
6076 { ac_try
='test -z "$ac_c_werror_flag"
6077 || test ! -s conftest.err'
6078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6082 (exit $ac_status); }; } &&
6083 { ac_try
='test -s conftest.$ac_objext'
6084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088 (exit $ac_status); }; }; then
6089 have_attribute_dllexport
=yes
6091 echo "$as_me: failed program was:" >&5
6092 sed 's/^/| /' conftest.
$ac_ext >&5
6094 have_attribute_dllexport
=no
6096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6097 CFLAGS
="$save_CFLAGS"
6099 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
6100 echo "${ECHO_T}$have_attribute_dllexport" >&6
6101 if test $have_attribute_dllexport = yes; then
6103 cat >>confdefs.h
<<\_ACEOF
6104 #define HAVE_ATTRIBUTE_DLLEXPORT 1
6109 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
6110 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
6111 if test "${have_attribute_alias+set}" = set; then
6112 echo $ECHO_N "(cached) $ECHO_C" >&6
6115 cat >conftest.
$ac_ext <<_ACEOF
6118 cat confdefs.h
>>conftest.
$ac_ext
6119 cat >>conftest.
$ac_ext <<_ACEOF
6120 /* end confdefs.h. */
6122 #define ULP STR1(__USER_LABEL_PREFIX__)
6123 #define STR1(x) STR2(x)
6126 extern void bar(void) __attribute__((alias(ULP "foo")));
6135 rm -f conftest.
$ac_objext conftest
$ac_exeext
6136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6137 (eval $ac_link) 2>conftest.er1
6139 grep -v '^ *+' conftest.er1
>conftest.err
6141 cat conftest.err
>&5
6142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6143 (exit $ac_status); } &&
6144 { ac_try
='test -z "$ac_c_werror_flag"
6145 || test ! -s conftest.err'
6146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6150 (exit $ac_status); }; } &&
6151 { ac_try
='test -s conftest$ac_exeext'
6152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156 (exit $ac_status); }; }; then
6157 have_attribute_alias
=yes
6159 echo "$as_me: failed program was:" >&5
6160 sed 's/^/| /' conftest.
$ac_ext >&5
6162 have_attribute_alias
=no
6164 rm -f conftest.err conftest.
$ac_objext \
6165 conftest
$ac_exeext conftest.
$ac_ext
6167 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
6168 echo "${ECHO_T}$have_attribute_alias" >&6
6169 if test $have_attribute_alias = yes; then
6171 cat >>confdefs.h
<<\_ACEOF
6172 #define HAVE_ATTRIBUTE_ALIAS 1
6177 # If we're not using GNU ld, then there's no point in even trying these
6178 # tests. Check for that first. We should have already tested for gld
6179 # by now (in libtool), but require it now just to be safe...
6180 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
6181 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
6185 # The name set by libtool depends on the version of libtool. Shame on us
6186 # for depending on an impl detail, but c'est la vie. Older versions used
6187 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6188 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6189 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6190 # set (hence we're using an older libtool), then set it.
6191 if test x
${with_gnu_ld+set} != xset
; then
6192 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
6193 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6196 with_gnu_ld
=$ac_cv_prog_gnu_ld
6200 # Start by getting the version number. I think the libtool test already
6201 # does some of this, but throws away the result.
6203 ldver
=`$LD --version 2>/dev/null | head -1 | \
6204 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6206 libgomp_gnu_ld_version
=`echo $ldver | \
6207 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6209 # Set --gc-sections.
6210 if test "$with_gnu_ld" = "notbroken"; then
6211 # GNU ld it is! Joy and bunny rabbits!
6213 # All these tests are for C++; save the language and the compiler flags.
6214 # Need to do this so that g++ won't try to link in libstdc++
6215 ac_test_CFLAGS
="${CFLAGS+set}"
6216 ac_save_CFLAGS
="$CFLAGS"
6217 CFLAGS
='-x c++ -Wl,--gc-sections'
6219 # Check for -Wl,--gc-sections
6220 # XXX This test is broken at the moment, as symbols required for linking
6221 # are now in libsupc++ (not built yet). In addition, this test has
6222 # cored on solaris in the past. In addition, --gc-sections doesn't
6223 # really work at the moment (keeps on discarding used sections, first
6224 # .eh_frame and now some of the glibc sections for iconv).
6225 # Bzzzzt. Thanks for playing, maybe next time.
6226 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
6227 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
6228 if test "$cross_compiling" = yes; then
6229 ac_sectionLDflags
=yes
6231 cat >conftest.
$ac_ext <<_ACEOF
6234 cat confdefs.h
>>conftest.
$ac_ext
6235 cat >>conftest.
$ac_ext <<_ACEOF
6236 /* end confdefs.h. */
6246 rm -f conftest
$ac_exeext
6247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6248 (eval $ac_link) 2>&5
6250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6251 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 (exit $ac_status); }; }; then
6257 ac_sectionLDflags
=yes
6259 echo "$as_me: program exited with status $ac_status" >&5
6260 echo "$as_me: failed program was:" >&5
6261 sed 's/^/| /' conftest.
$ac_ext >&5
6264 ac_sectionLDflags
=no
6266 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6268 if test "$ac_test_CFLAGS" = set; then
6269 CFLAGS
="$ac_save_CFLAGS"
6271 # this is the suspicious part
6274 if test "$ac_sectionLDflags" = "yes"; then
6275 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
6277 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
6278 echo "${ECHO_T}$ac_sectionLDflags" >&6
6281 # Set linker optimization flags.
6282 if test x
"$with_gnu_ld" = x
"yes"; then
6283 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
6291 # Check whether --enable-symvers or --disable-symvers was given.
6292 if test "${enable_symvers+set}" = set; then
6293 enableval
="$enable_symvers"
6295 case "$enableval" in
6297 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
6298 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
6299 { (exit 1); exit 1; }; } ;;
6307 # If we never went through the LIBGOMP_CHECK_LINKER_FEATURES macro, then we
6308 # don't know enough about $LD to do tricks...
6310 # FIXME The following test is too strict, in theory.
6311 if test $enable_shared = no ||
6313 test x
$libgomp_gnu_ld_version = x
; then
6317 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
6318 if test $enable_symvers != no
; then
6319 echo "$as_me:$LINENO: checking for shared libgcc" >&5
6320 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
6321 ac_save_CFLAGS
="$CFLAGS"
6323 cat >conftest.
$ac_ext <<_ACEOF
6326 cat confdefs.h
>>conftest.
$ac_ext
6327 cat >>conftest.
$ac_ext <<_ACEOF
6328 /* end confdefs.h. */
6338 rm -f conftest.
$ac_objext conftest
$ac_exeext
6339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6340 (eval $ac_link) 2>conftest.er1
6342 grep -v '^ *+' conftest.er1
>conftest.err
6344 cat conftest.err
>&5
6345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346 (exit $ac_status); } &&
6347 { ac_try
='test -z "$ac_c_werror_flag"
6348 || test ! -s conftest.err'
6349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6353 (exit $ac_status); }; } &&
6354 { ac_try
='test -s conftest$ac_exeext'
6355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6359 (exit $ac_status); }; }; then
6360 libgomp_shared_libgcc
=yes
6362 echo "$as_me: failed program was:" >&5
6363 sed 's/^/| /' conftest.
$ac_ext >&5
6365 libgomp_shared_libgcc
=no
6367 rm -f conftest.err conftest.
$ac_objext \
6368 conftest
$ac_exeext conftest.
$ac_ext
6369 CFLAGS
="$ac_save_CFLAGS"
6370 if test $libgomp_shared_libgcc = no
; then
6371 cat > conftest.c
<<EOF
6372 int main (void) { return 0; }
6374 libgomp_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
6375 -shared -shared-libgcc -o conftest.so \
6376 conftest.c -v 2>&1 >/dev/null \
6377 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
6378 rm -f conftest.c conftest.so
6379 if test x
${libgomp_libgcc_s_suffix+set} = xset
; then
6380 CFLAGS
=" -lgcc_s$libgomp_libgcc_s_suffix"
6381 cat >conftest.
$ac_ext <<_ACEOF
6384 cat confdefs.h
>>conftest.
$ac_ext
6385 cat >>conftest.
$ac_ext <<_ACEOF
6386 /* end confdefs.h. */
6396 rm -f conftest.
$ac_objext conftest
$ac_exeext
6397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6398 (eval $ac_link) 2>conftest.er1
6400 grep -v '^ *+' conftest.er1
>conftest.err
6402 cat conftest.err
>&5
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); } &&
6405 { ac_try
='test -z "$ac_c_werror_flag"
6406 || test ! -s conftest.err'
6407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6411 (exit $ac_status); }; } &&
6412 { ac_try
='test -s conftest$ac_exeext'
6413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417 (exit $ac_status); }; }; then
6418 libgomp_shared_libgcc
=yes
6420 echo "$as_me: failed program was:" >&5
6421 sed 's/^/| /' conftest.
$ac_ext >&5
6424 rm -f conftest.err conftest.
$ac_objext \
6425 conftest
$ac_exeext conftest.
$ac_ext
6426 CFLAGS
="$ac_save_CFLAGS"
6429 echo "$as_me:$LINENO: result: $libgomp_shared_libgcc" >&5
6430 echo "${ECHO_T}$libgomp_shared_libgcc" >&6
6433 # For GNU ld, we need at least this version. The format is described in
6434 # LIBGOMP_CHECK_LINKER_FEATURES above.
6435 libgomp_min_gnu_ld_version
=21400
6436 # XXXXXXXXXXX libgomp_gnu_ld_version=21390
6438 # Check to see if unspecified "yes" value can win, given results above.
6439 # Change "yes" into either "no" or a style name.
6440 if test $enable_symvers = yes; then
6441 if test $with_gnu_ld = yes &&
6442 test $libgomp_shared_libgcc = yes;
6444 if test $libgomp_gnu_ld_version -ge $libgomp_min_gnu_ld_version ; then
6447 # The right tools, the right setup, but too old. Fallbacks?
6448 { echo "$as_me:$LINENO: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&5
6449 echo "$as_me: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&2;}
6450 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
6451 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
6452 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
6453 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
6454 { echo "$as_me:$LINENO: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&5
6455 echo "$as_me: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&2;}
6456 if test $libgomp_gnu_ld_version -ge 21200 ; then
6457 # Globbing fix is present, proper block support is not.
6458 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
6459 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
6463 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
6464 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
6470 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
6471 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
6472 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
6473 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
6474 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
6475 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
6476 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
6477 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
6484 if test $enable_symvers != no
; then
6485 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
=
6486 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
='#'
6488 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
='#'
6489 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
=
6492 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
6493 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
6496 # Get target configury.
6497 .
${srcdir}/configure.tgt
6498 CFLAGS
="$save_CFLAGS $XCFLAGS"
6500 # Check for __sync_val_compare_and_swap, but only after the target has
6501 # had a chance to set XCFLAGS.
6503 echo "$as_me:$LINENO: checking whether the target supports __sync_*_compare_and_swap" >&5
6504 echo $ECHO_N "checking whether the target supports __sync_*_compare_and_swap... $ECHO_C" >&6
6505 if test "${have_sync_builtins+set}" = set; then
6506 echo $ECHO_N "(cached) $ECHO_C" >&6
6509 cat >conftest.
$ac_ext <<_ACEOF
6512 cat confdefs.h
>>conftest.
$ac_ext
6513 cat >>conftest.
$ac_ext <<_ACEOF
6514 /* end confdefs.h. */
6519 int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);
6524 rm -f conftest.
$ac_objext conftest
$ac_exeext
6525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6526 (eval $ac_link) 2>conftest.er1
6528 grep -v '^ *+' conftest.er1
>conftest.err
6530 cat conftest.err
>&5
6531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532 (exit $ac_status); } &&
6533 { ac_try
='test -z "$ac_c_werror_flag"
6534 || test ! -s conftest.err'
6535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6539 (exit $ac_status); }; } &&
6540 { ac_try
='test -s conftest$ac_exeext'
6541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); }; }; then
6546 have_sync_builtins
=yes
6548 echo "$as_me: failed program was:" >&5
6549 sed 's/^/| /' conftest.
$ac_ext >&5
6551 have_sync_builtins
=no
6553 rm -f conftest.err conftest.
$ac_objext \
6554 conftest
$ac_exeext conftest.
$ac_ext
6556 echo "$as_me:$LINENO: result: $have_sync_builtins" >&5
6557 echo "${ECHO_T}$have_sync_builtins" >&6
6558 if test $have_sync_builtins = yes; then
6560 cat >>confdefs.h
<<\_ACEOF
6561 #define HAVE_SYNC_BUILTINS 1
6566 XCFLAGS
="$XCFLAGS$XPCFLAGS"
6573 CFLAGS
="$save_CFLAGS"
6574 cat >confcache
<<\_ACEOF
6575 # This file is a shell script that caches the results of configure
6576 # tests run on this system so they can be shared between configure
6577 # scripts and configure runs, see configure's option --config-cache.
6578 # It is not useful on other systems. If it contains results you don't
6579 # want to keep, you may remove or edit it.
6581 # config.status only pays attention to the cache file if you give it
6582 # the --recheck option to rerun configure.
6584 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6585 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6590 # The following way of writing the cache mishandles newlines in values,
6591 # but we know of no workaround that is simple, portable, and efficient.
6592 # So, don't put newlines in cache variables' values.
6593 # Ultrix sh set writes to stderr and can't be redirected directly,
6594 # and sets the high bit in the cache file unless we assign to the vars.
6597 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6599 # `set' does not quote correctly, so add quotes (double-quote
6600 # substitution turns \\\\ into \\, and sed turns \\ into \).
6603 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6606 # `set' quotes correctly as required by POSIX, so do not add quotes.
6608 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6615 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6617 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6619 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6620 if test -w $cache_file; then
6621 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6622 cat confcache
>$cache_file
6624 echo "not updating unwritable cache $cache_file"
6629 if test ${multilib} = yes; then
6630 multilib_arg
="--enable-multilib"
6635 # Set up the set of libraries that we need to link against for libgomp.
6636 # Note that the GOMP_DRIVER_SPEC in gcc.c will force -pthread for -fopenmp,
6637 # which will force linkage against -lpthread (or equivalent for the system).
6638 # That's not 100% ideal, but about the best we can do easily.
6639 if test $enable_shared = yes; then
6640 link_gomp
="-lgomp %{static: $LIBS}"
6642 link_gomp
="-lgomp $LIBS"
6648 if test "$ac_cv_fc_compiler_gnu" = yes; then
6650 USE_FORTRAN_FALSE
='#'
6652 USE_FORTRAN_TRUE
='#'
6657 ac_config_files
="$ac_config_files Makefile testsuite/Makefile libgomp.spec"
6659 cat >confcache
<<\_ACEOF
6660 # This file is a shell script that caches the results of configure
6661 # tests run on this system so they can be shared between configure
6662 # scripts and configure runs, see configure's option --config-cache.
6663 # It is not useful on other systems. If it contains results you don't
6664 # want to keep, you may remove or edit it.
6666 # config.status only pays attention to the cache file if you give it
6667 # the --recheck option to rerun configure.
6669 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6670 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6675 # The following way of writing the cache mishandles newlines in values,
6676 # but we know of no workaround that is simple, portable, and efficient.
6677 # So, don't put newlines in cache variables' values.
6678 # Ultrix sh set writes to stderr and can't be redirected directly,
6679 # and sets the high bit in the cache file unless we assign to the vars.
6682 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6684 # `set' does not quote correctly, so add quotes (double-quote
6685 # substitution turns \\\\ into \\, and sed turns \\ into \).
6688 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6691 # `set' quotes correctly as required by POSIX, so do not add quotes.
6693 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6700 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6702 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6704 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6705 if test -w $cache_file; then
6706 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6707 cat confcache
>$cache_file
6709 echo "not updating unwritable cache $cache_file"
6714 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6715 # Let make expand exec_prefix.
6716 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6718 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6719 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6720 # trailing colons and then remove the whole line if VPATH becomes empty
6721 # (actually we leave an empty line to preserve line numbers).
6722 if test "x$srcdir" = x.
; then
6723 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6724 s/:*\$(srcdir):*/:/;
6725 s/:*\${srcdir}:*/:/;
6727 s/^\([^=]*=[ ]*\):*/\1/;
6733 DEFS
=-DHAVE_CONFIG_H
6737 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6738 # 1. Remove the extension, and $U if already installed.
6739 ac_i
=`echo "$ac_i" |
6740 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6742 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6743 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6747 LTLIBOBJS
=$ac_ltlibobjs
6750 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6751 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6752 Usually this means the macro was only invoked conditionally." >&5
6753 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6754 Usually this means the macro was only invoked conditionally." >&2;}
6755 { (exit 1); exit 1; }; }
6757 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6758 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6759 Usually this means the macro was only invoked conditionally." >&5
6760 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6761 Usually this means the macro was only invoked conditionally." >&2;}
6762 { (exit 1); exit 1; }; }
6764 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE}"; then
6765 { { echo "$as_me:$LINENO: error: conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
6766 Usually this means the macro was only invoked conditionally." >&5
6767 echo "$as_me: error: conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
6768 Usually this means the macro was only invoked conditionally." >&2;}
6769 { (exit 1); exit 1; }; }
6771 if test -z "${USE_FORTRAN_TRUE}" && test -z "${USE_FORTRAN_FALSE}"; then
6772 { { echo "$as_me:$LINENO: error: conditional \"USE_FORTRAN\" was never defined.
6773 Usually this means the macro was only invoked conditionally." >&5
6774 echo "$as_me: error: conditional \"USE_FORTRAN\" was never defined.
6775 Usually this means the macro was only invoked conditionally." >&2;}
6776 { (exit 1); exit 1; }; }
6779 : ${CONFIG_STATUS=./config.status}
6780 ac_clean_files_save
=$ac_clean_files
6781 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6782 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6783 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6784 cat >$CONFIG_STATUS <<_ACEOF
6786 # Generated by $as_me.
6787 # Run this file to recreate the current configuration.
6788 # Compiler output produced by configure, useful for debugging
6789 # configure, is in config.log if it exists.
6794 SHELL=\${CONFIG_SHELL-$SHELL}
6797 cat >>$CONFIG_STATUS <<\_ACEOF
6798 ## --------------------- ##
6799 ## M4sh Initialization. ##
6800 ## --------------------- ##
6802 # Be Bourne compatible
6803 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6806 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6807 # is contrary to our usage. Disable this feature.
6808 alias -g '${1+"$@"}'='"$@"'
6809 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6812 DUALCASE
=1; export DUALCASE
# for MKS sh
6814 # Support unset when possible.
6815 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6822 # Work around bugs in pre-3.0 UWIN ksh.
6823 $as_unset ENV MAIL MAILPATH
6830 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6831 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6832 LC_TELEPHONE LC_TIME
6834 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6835 eval $as_var=C
; export $as_var
6841 # Required to use basename.
6842 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6848 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6849 as_basename
=basename
6855 # Name of the executable.
6856 as_me
=`$as_basename "$0" ||
6857 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6858 X"$0" : 'X\(//\)$' \| \
6859 X"$0" : 'X\(/\)$' \| \
6860 . : '\(.\)' 2>/dev/null ||
6862 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6863 /^X\/\(\/\/\)$/{ s//\1/; q; }
6864 /^X\/\(\/\).*/{ s//\1/; q; }
6868 # PATH needs CR, and LINENO needs CR and PATH.
6869 # Avoid depending upon Character Ranges.
6870 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6871 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6872 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6873 as_cr_digits
='0123456789'
6874 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6876 # The user is always right.
6877 if test "${PATH_SEPARATOR+set}" != set; then
6878 echo "#! /bin/sh" >conf$$.sh
6879 echo "exit 0" >>conf$$.sh
6881 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6892 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6893 test "x$as_lineno_1" != "x$as_lineno_2" &&
6894 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6895 # Find who we are. Look in the path if we contain no path at all
6898 *[\\/]* ) as_myself
=$0 ;;
6899 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6903 test -z "$as_dir" && as_dir
=.
6904 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6909 # We did not find ourselves, most probably we were run as `sh COMMAND'
6910 # in which case we are not to be found in the path.
6911 if test "x$as_myself" = x
; then
6914 if test ! -f "$as_myself"; then
6915 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6916 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6917 { (exit 1); exit 1; }; }
6919 case $CONFIG_SHELL in
6921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6922 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6925 test -z "$as_dir" && as_dir
=.
6926 for as_base
in sh bash ksh sh5
; do
6929 if ("$as_dir/$as_base" -c '
6932 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6933 test "x$as_lineno_1" != "x$as_lineno_2" &&
6934 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6935 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6936 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6937 CONFIG_SHELL
=$as_dir/$as_base
6939 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6947 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6948 # uniformly replaced by the line number. The first 'sed' inserts a
6949 # line-number line before each line; the second 'sed' does the real
6950 # work. The second script uses 'N' to pair each line-number line
6951 # with the numbered line, and appends trailing '-' during
6952 # substitution so that $LINENO is not a special case at line end.
6953 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6954 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6955 sed '=' <$as_myself |
6960 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6963 s,^['$as_cr_digits']*\n,,
6965 chmod +x
$as_me.lineno ||
6966 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6967 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6968 { (exit 1); exit 1; }; }
6970 # Don't try to exec as it changes $[0], causing all sort of problems
6971 # (the dirname of $[0] is not the place where we might find the
6972 # original and so on. Autoconf is especially sensible to this).
6974 # Exit status is that of the last command.
6979 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6980 *c
*,-n*) ECHO_N
= ECHO_C
='
6982 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6983 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6986 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6992 rm -f conf$$ conf$$.exe conf$$.
file
6994 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6995 # We could just check for DJGPP; but this test a) works b) is more generic
6996 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6997 if test -f conf$$.exe
; then
6998 # Don't use ln at all; we don't have any links
7003 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7008 rm -f conf$$ conf$$.exe conf$$.
file
7010 if mkdir
-p .
2>/dev
/null
; then
7013 test -d .
/-p && rmdir .
/-p
7017 as_executable_p
="test -f"
7019 # Sed expression to map a string onto a valid CPP name.
7020 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7022 # Sed expression to map a string onto a valid variable name.
7023 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7027 # We need space, tab and new line, in precisely that order.
7037 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7038 # report actual input values of CONFIG_FILES etc. instead of their
7039 # values after options handling. Logging --version etc. is OK.
7043 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7044 ## Running $as_me. ##
7049 This file was extended by GNU OpenMP Runtime Library $as_me 1.0, which was
7050 generated by GNU Autoconf 2.59. Invocation command line was
7052 CONFIG_FILES = $CONFIG_FILES
7053 CONFIG_HEADERS = $CONFIG_HEADERS
7054 CONFIG_LINKS = $CONFIG_LINKS
7055 CONFIG_COMMANDS = $CONFIG_COMMANDS
7059 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7063 # Files that config.status was made for.
7064 if test -n "$ac_config_files"; then
7065 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7068 if test -n "$ac_config_headers"; then
7069 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7072 if test -n "$ac_config_links"; then
7073 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7076 if test -n "$ac_config_commands"; then
7077 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7080 cat >>$CONFIG_STATUS <<\_ACEOF
7083 \`$as_me' instantiates files from templates according to the
7084 current configuration.
7086 Usage: $0 [OPTIONS] [FILE]...
7088 -h, --help print this help, then exit
7089 -V, --version print version number, then exit
7090 -q, --quiet do not print progress messages
7091 -d, --debug don't remove temporary files
7092 --recheck update $as_me by reconfiguring in the same conditions
7093 --file=FILE[:TEMPLATE]
7094 instantiate the configuration file FILE
7095 --header=FILE[:TEMPLATE]
7096 instantiate the configuration header FILE
7098 Configuration files:
7101 Configuration headers:
7104 Configuration commands:
7107 Report bugs to <bug-autoconf@gnu.org>."
7110 cat >>$CONFIG_STATUS <<_ACEOF
7112 GNU OpenMP Runtime Library config.status 1.0
7113 configured by $0, generated by GNU Autoconf 2.59,
7114 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7116 Copyright (C) 2003 Free Software Foundation, Inc.
7117 This config.status script is free software; the Free Software Foundation
7118 gives unlimited permission to copy, distribute and modify it."
7123 cat >>$CONFIG_STATUS <<\_ACEOF
7124 # If no file are specified by the user, then we need to provide default
7125 # value. By we need to know if files were specified by the user.
7131 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7132 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7140 *) # This is not an option, so the user has probably given explicit
7143 ac_need_defaults
=false
;;
7147 # Handling of the options.
7149 cat >>$CONFIG_STATUS <<\_ACEOF
7150 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7152 --version |
--vers* |
-V )
7153 echo "$ac_cs_version"; exit 0 ;;
7155 # Conflict between --help and --header
7156 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7157 Try \`$0 --help' for more information." >&5
7158 echo "$as_me: error: ambiguous option: $1
7159 Try \`$0 --help' for more information." >&2;}
7160 { (exit 1); exit 1; }; };;
7161 --help |
--hel |
-h )
7162 echo "$ac_cs_usage"; exit 0 ;;
7163 --debug |
--d* |
-d )
7165 --file |
--fil |
--fi |
--f )
7167 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7168 ac_need_defaults
=false
;;
7169 --header |
--heade |
--head |
--hea )
7171 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7172 ac_need_defaults
=false
;;
7173 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7174 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7178 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7179 Try \`$0 --help' for more information." >&5
7180 echo "$as_me: error: unrecognized option: $1
7181 Try \`$0 --help' for more information." >&2;}
7182 { (exit 1); exit 1; }; } ;;
7184 *) ac_config_targets
="$ac_config_targets $1" ;;
7190 ac_configure_extra_args
=
7192 if $ac_cs_silent; then
7194 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7198 cat >>$CONFIG_STATUS <<_ACEOF
7199 if \$ac_cs_recheck; then
7200 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7201 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7206 cat >>$CONFIG_STATUS <<_ACEOF
7208 # INIT-COMMANDS section.
7215 with_multisubdir="$with_multisubdir"
7216 with_multisrctop="$with_multisrctop"
7217 with_target_subdir="$with_target_subdir"
7218 ac_configure_args="${multilib_arg} ${ac_configure_args}"
7219 multi_basedir="$multi_basedir"
7220 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
7222 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7228 cat >>$CONFIG_STATUS <<\_ACEOF
7229 for ac_config_target
in $ac_config_targets
7231 case "$ac_config_target" in
7232 # Handling of arguments.
7233 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7234 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
7235 "libgomp.spec" ) CONFIG_FILES
="$CONFIG_FILES libgomp.spec" ;;
7236 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7237 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7238 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7239 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7240 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7241 { (exit 1); exit 1; }; };;
7245 # If the user did not use the arguments to specify the items to instantiate,
7246 # then the envvar interface is used. Set only those that are not.
7247 # We use the long form for the default assignment because of an extremely
7248 # bizarre bug on SunOS 4.1.3.
7249 if $ac_need_defaults; then
7250 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7251 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7252 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7255 # Have a temporary directory for convenience. Make it in the build tree
7256 # simply because there is no reason to put it here, and in addition,
7257 # creating and moving files from /tmp can sometimes cause problems.
7258 # Create a temporary directory, and hook for its removal unless debugging.
7261 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7262 trap '{ (exit 1); exit 1; }' 1 2 13 15
7265 # Create a (secure) tmp directory for tmp files.
7268 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7269 test -n "$tmp" && test -d "$tmp"
7272 tmp
=.
/confstat$$
-$RANDOM
7273 (umask 077 && mkdir
$tmp)
7276 echo "$me: cannot create a temporary directory in ." >&2
7277 { (exit 1); exit 1; }
7282 cat >>$CONFIG_STATUS <<_ACEOF
7285 # CONFIG_FILES section.
7288 # No need to generate the scripts if there are no CONFIG_FILES.
7289 # This happens for instance when ./config.status config.h
7290 if test -n "\$CONFIG_FILES"; then
7291 # Protect against being on the right side of a sed subst in config.status.
7292 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7293 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7294 s,@SHELL@,$SHELL,;t t
7295 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7296 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7297 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7298 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7299 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7300 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7301 s,@exec_prefix@,$exec_prefix,;t t
7302 s,@prefix@,$prefix,;t t
7303 s,@program_transform_name@,$program_transform_name,;t t
7304 s,@bindir@,$bindir,;t t
7305 s,@sbindir@,$sbindir,;t t
7306 s,@libexecdir@,$libexecdir,;t t
7307 s,@datadir@,$datadir,;t t
7308 s,@sysconfdir@,$sysconfdir,;t t
7309 s,@sharedstatedir@,$sharedstatedir,;t t
7310 s,@localstatedir@,$localstatedir,;t t
7311 s,@libdir@,$libdir,;t t
7312 s,@includedir@,$includedir,;t t
7313 s,@oldincludedir@,$oldincludedir,;t t
7314 s,@infodir@,$infodir,;t t
7315 s,@mandir@,$mandir,;t t
7316 s,@build_alias@,$build_alias,;t t
7317 s,@host_alias@,$host_alias,;t t
7318 s,@target_alias@,$target_alias,;t t
7320 s,@ECHO_C@,$ECHO_C,;t t
7321 s,@ECHO_N@,$ECHO_N,;t t
7322 s,@ECHO_T@,$ECHO_T,;t t
7324 s,@build@,$build,;t t
7325 s,@build_cpu@,$build_cpu,;t t
7326 s,@build_vendor@,$build_vendor,;t t
7327 s,@build_os@,$build_os,;t t
7329 s,@host_cpu@,$host_cpu,;t t
7330 s,@host_vendor@,$host_vendor,;t t
7331 s,@host_os@,$host_os,;t t
7332 s,@target@,$target,;t t
7333 s,@target_cpu@,$target_cpu,;t t
7334 s,@target_vendor@,$target_vendor,;t t
7335 s,@target_os@,$target_os,;t t
7336 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7337 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7338 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7339 s,@CYGPATH_W@,$CYGPATH_W,;t t
7340 s,@PACKAGE@,$PACKAGE,;t t
7341 s,@VERSION@,$VERSION,;t t
7342 s,@ACLOCAL@,$ACLOCAL,;t t
7343 s,@AUTOCONF@,$AUTOCONF,;t t
7344 s,@AUTOMAKE@,$AUTOMAKE,;t t
7345 s,@AUTOHEADER@,$AUTOHEADER,;t t
7346 s,@MAKEINFO@,$MAKEINFO,;t t
7347 s,@install_sh@,$install_sh,;t t
7348 s,@STRIP@,$STRIP,;t t
7349 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7350 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7351 s,@mkdir_p@,$mkdir_p,;t t
7353 s,@SET_MAKE@,$SET_MAKE,;t t
7354 s,@am__leading_dot@,$am__leading_dot,;t t
7355 s,@AMTAR@,$AMTAR,;t t
7356 s,@am__tar@,$am__tar,;t t
7357 s,@am__untar@,$am__untar,;t t
7358 s,@multi_basedir@,$multi_basedir,;t t
7359 s,@toolexecdir@,$toolexecdir,;t t
7360 s,@toolexeclibdir@,$toolexeclibdir,;t t
7362 s,@ac_ct_CC@,$ac_ct_CC,;t t
7363 s,@EXEEXT@,$EXEEXT,;t t
7364 s,@OBJEXT@,$OBJEXT,;t t
7365 s,@DEPDIR@,$DEPDIR,;t t
7366 s,@am__include@,$am__include,;t t
7367 s,@am__quote@,$am__quote,;t t
7368 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7369 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7370 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7371 s,@CCDEPMODE@,$CCDEPMODE,;t t
7372 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7373 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7374 s,@CFLAGS@,$CFLAGS,;t t
7376 s,@ac_ct_AR@,$ac_ct_AR,;t t
7377 s,@RANLIB@,$RANLIB,;t t
7378 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7381 s,@LIBTOOL@,$LIBTOOL,;t t
7382 s,@enable_shared@,$enable_shared,;t t
7383 s,@enable_static@,$enable_static,;t t
7385 s,@FCFLAGS@,$FCFLAGS,;t t
7386 s,@LDFLAGS@,$LDFLAGS,;t t
7387 s,@ac_ct_FC@,$ac_ct_FC,;t t
7388 s,@libtool_VERSION@,$libtool_VERSION,;t t
7390 s,@CPPFLAGS@,$CPPFLAGS,;t t
7391 s,@EGREP@,$EGREP,;t t
7392 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
7393 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
7394 s,@LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE@,$LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE,;t t
7395 s,@LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE@,$LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE,;t t
7396 s,@config_path@,$config_path,;t t
7397 s,@XCFLAGS@,$XCFLAGS,;t t
7398 s,@XLDFLAGS@,$XLDFLAGS,;t t
7399 s,@link_gomp@,$link_gomp,;t t
7400 s,@USE_FORTRAN_TRUE@,$USE_FORTRAN_TRUE,;t t
7401 s,@USE_FORTRAN_FALSE@,$USE_FORTRAN_FALSE,;t t
7402 s,@LIBOBJS@,$LIBOBJS,;t t
7403 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7408 cat >>$CONFIG_STATUS <<\_ACEOF
7409 # Split the substitutions into bite-sized pieces for seds with
7410 # small command number limits, like on Digital OSF/1 and HP-UX.
7412 ac_sed_frag
=1 # Number of current file.
7413 ac_beg
=1 # First line for current file.
7414 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7417 while $ac_more_lines; do
7418 if test $ac_beg -gt 1; then
7419 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7421 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7423 if test ! -s $tmp/subs.frag
; then
7426 # The purpose of the label and of the branching condition is to
7427 # speed up the sed processing (if there are no `@' at all, there
7428 # is no need to browse any of the substitutions).
7429 # These are the two extra sed commands mentioned above.
7431 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7432 if test -z "$ac_sed_cmds"; then
7433 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7435 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7437 ac_sed_frag
=`expr $ac_sed_frag + 1`
7439 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7442 if test -z "$ac_sed_cmds"; then
7445 fi # test -n "$CONFIG_FILES"
7448 cat >>$CONFIG_STATUS <<\_ACEOF
7449 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7450 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7452 - |
*:- |
*:-:* ) # input from stdin
7454 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7455 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7456 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7457 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7458 * ) ac_file_in
=$ac_file.
in ;;
7461 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7462 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7463 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7464 X"$ac_file" : 'X\(//\)[^/]' \| \
7465 X"$ac_file" : 'X\(//\)$' \| \
7466 X"$ac_file" : 'X\(/\)' \| \
7467 . : '\(.\)' 2>/dev/null ||
7469 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7470 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7471 /^X\(\/\/\)$/{ s//\1/; q; }
7472 /^X\(\/\).*/{ s//\1/; q; }
7474 { if $as_mkdir_p; then
7479 while test ! -d "$as_dir"; do
7480 as_dirs
="$as_dir $as_dirs"
7481 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7482 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7483 X"$as_dir" : 'X\(//\)[^/]' \| \
7484 X"$as_dir" : 'X\(//\)$' \| \
7485 X"$as_dir" : 'X\(/\)' \| \
7486 . : '\(.\)' 2>/dev/null ||
7488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7489 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7490 /^X\(\/\/\)$/{ s//\1/; q; }
7491 /^X\(\/\).*/{ s//\1/; q; }
7494 test ! -n "$as_dirs" || mkdir
$as_dirs
7495 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7496 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7497 { (exit 1); exit 1; }; }; }
7501 if test "$ac_dir" != .
; then
7502 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7503 # A "../" for each directory in $ac_dir_suffix.
7504 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7506 ac_dir_suffix
= ac_top_builddir
=
7510 .
) # No --srcdir option. We are building in place.
7512 if test -z "$ac_top_builddir"; then
7515 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7517 [\\/]* | ?
:[\\/]* ) # Absolute path.
7518 ac_srcdir
=$srcdir$ac_dir_suffix;
7519 ac_top_srcdir
=$srcdir ;;
7521 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7522 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7525 # Do not use `cd foo && pwd` to compute absolute paths, because
7526 # the directories may not exist.
7528 .
) ac_abs_builddir
="$ac_dir";;
7531 .
) ac_abs_builddir
=`pwd`;;
7532 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7533 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7536 case $ac_abs_builddir in
7537 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7539 case ${ac_top_builddir}.
in
7540 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7541 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7542 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7545 case $ac_abs_builddir in
7546 .
) ac_abs_srcdir
=$ac_srcdir;;
7549 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7550 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7551 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7554 case $ac_abs_builddir in
7555 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7557 case $ac_top_srcdir in
7558 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7559 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7560 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7566 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7567 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7570 if test x
"$ac_file" != x-
; then
7571 { echo "$as_me:$LINENO: creating $ac_file" >&5
7572 echo "$as_me: creating $ac_file" >&6;}
7575 # Let's still pretend it is `configure' which instantiates (i.e., don't
7576 # use $as_me), people would be surprised to read:
7577 # /* config.h. Generated by config.status. */
7578 if test x
"$ac_file" = x-
; then
7581 configure_input
="$ac_file. "
7583 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7584 sed 's,.*/,,'` by configure."
7586 # First look for the input files in the build tree, otherwise in the
7588 ac_file_inputs
=`IFS=:
7589 for f in $ac_file_in; do
7591 -) echo $tmp/stdin ;;
7593 # Absolute (can't be DOS-style, as IFS=:)
7594 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7595 echo "$as_me: error: cannot find input file: $f" >&2;}
7596 { (exit 1); exit 1; }; }
7599 if test -f "$f"; then
7602 elif test -f "$srcdir/$f"; then
7607 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7608 echo "$as_me: error: cannot find input file: $f" >&2;}
7609 { (exit 1); exit 1; }; }
7612 done` ||
{ (exit 1); exit 1; }
7614 cat >>$CONFIG_STATUS <<_ACEOF
7618 cat >>$CONFIG_STATUS <<\_ACEOF
7620 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7621 s
,@configure_input@
,$configure_input,;t t
7622 s
,@srcdir@
,$ac_srcdir,;t t
7623 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7624 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7625 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7626 s
,@builddir@
,$ac_builddir,;t t
7627 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7628 s
,@top_builddir@
,$ac_top_builddir,;t t
7629 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7630 s
,@INSTALL@
,$ac_INSTALL,;t t
7631 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7633 if test x"$ac_file" != x-; then
7634 mv $tmp/out $ac_file
7642 cat >>$CONFIG_STATUS <<\_ACEOF
7645 # CONFIG_HEADER section.
7648 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7649 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7651 # ac_d sets the value in "#define NAME VALUE" lines.
7652 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7653 ac_dB
='[ ].*$,\1#\2'
7656 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7657 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7658 ac_uB
='$,\1#\2define\3'
7662 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7663 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7665 - |
*:- |
*:-:* ) # input from stdin
7667 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7668 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7669 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7670 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7671 * ) ac_file_in
=$ac_file.
in ;;
7674 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7675 echo "$as_me: creating $ac_file" >&6;}
7677 # First look for the input files in the build tree, otherwise in the
7679 ac_file_inputs
=`IFS=:
7680 for f in $ac_file_in; do
7682 -) echo $tmp/stdin ;;
7684 # Absolute (can't be DOS-style, as IFS=:)
7685 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7686 echo "$as_me: error: cannot find input file: $f" >&2;}
7687 { (exit 1); exit 1; }; }
7688 # Do quote $f, to prevent DOS paths from being IFS'd.
7691 if test -f "$f"; then
7694 elif test -f "$srcdir/$f"; then
7699 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7700 echo "$as_me: error: cannot find input file: $f" >&2;}
7701 { (exit 1); exit 1; }; }
7704 done` ||
{ (exit 1); exit 1; }
7705 # Remove the trailing spaces.
7706 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7710 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7711 # `conftest.undefs', that substitutes the proper values into
7712 # config.h.in to produce config.h. The first handles `#define'
7713 # templates, and the second `#undef' templates.
7714 # And first: Protect against being on the right side of a sed subst in
7715 # config.status. Protect against being in an unquoted here document
7717 rm -f conftest.defines conftest.undefs
7718 # Using a here document instead of a string reduces the quoting nightmare.
7719 # Putting comments in sed scripts is not portable.
7721 # `end' is used to avoid that the second main sed command (meant for
7722 # 0-ary CPP macros) applies to n-ary macro definitions.
7723 # See the Autoconf documentation for `clear'.
7724 cat >confdef2sed.
sed <<\_ACEOF
7729 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7731 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7734 # If some macros were called several times there might be several times
7735 # the same #defines, which is useless. Nevertheless, we may not want to
7736 # sort them, since we want the *last* AC-DEFINE to be honored.
7737 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7738 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7739 rm -f confdef2sed.sed
7741 # This sed command replaces #undef with comments. This is necessary, for
7742 # example, in the case of _POSIX_SOURCE, which is predefined and required
7743 # on some systems where configure will not decide to define it.
7744 cat >>conftest.undefs <<\_ACEOF
7745 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7748 # Break up conftest.defines because some shells have a limit on the size
7749 # of here documents, and old seds have small limits too (100 cmds).
7750 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7751 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7752 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7753 echo ' :' >>$CONFIG_STATUS
7755 while grep . conftest.defines >/dev/null
7757 # Write a limited-size here document to $tmp/defines.sed.
7758 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7759 # Speed up: don't consider the non `#define' lines.
7760 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7761 # Work around the forget-to-reset-the-flag bug.
7762 echo 't clr' >>$CONFIG_STATUS
7763 echo ': clr' >>$CONFIG_STATUS
7764 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7766 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7770 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7771 rm -f conftest.defines
7772 mv conftest.
tail conftest.defines
7774 rm -f conftest.defines
7775 echo ' fi # grep' >>$CONFIG_STATUS
7776 echo >>$CONFIG_STATUS
7778 # Break up conftest.undefs because some shells have a limit on the size
7779 # of here documents, and old seds have small limits too (100 cmds).
7780 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7782 while grep . conftest.undefs
>/dev
/null
7784 # Write a limited-size here document to $tmp/undefs.sed.
7785 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7786 # Speed up: don't consider the non
`#undef'
7787 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7788 # Work around the forget-to-reset-the-flag bug.
7789 echo 't clr' >>$CONFIG_STATUS
7790 echo ': clr' >>$CONFIG_STATUS
7791 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7793 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7797 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7798 rm -f conftest.undefs
7799 mv conftest.tail conftest.undefs
7801 rm -f conftest.undefs
7803 cat >>$CONFIG_STATUS <<\_ACEOF
7804 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7805 # use $as_me), people would be surprised to read:
7806 # /* config.h. Generated by config.status. */
7807 if test x
"$ac_file" = x-
; then
7808 echo "/* Generated by configure. */" >$tmp/config.h
7810 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7812 cat $tmp/in >>$tmp/config.h
7814 if test x
"$ac_file" != x-
; then
7815 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7816 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7817 echo "$as_me: $ac_file is unchanged" >&6;}
7819 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7820 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7821 X"$ac_file" : 'X\(//\)[^/]' \| \
7822 X"$ac_file" : 'X\(//\)$' \| \
7823 X"$ac_file" : 'X\(/\)' \| \
7824 . : '\(.\)' 2>/dev/null ||
7826 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7827 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7828 /^X\(\/\/\)$/{ s//\1/; q; }
7829 /^X\(\/\).*/{ s//\1/; q; }
7831 { if $as_mkdir_p; then
7836 while test ! -d "$as_dir"; do
7837 as_dirs
="$as_dir $as_dirs"
7838 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7839 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7840 X"$as_dir" : 'X\(//\)[^/]' \| \
7841 X"$as_dir" : 'X\(//\)$' \| \
7842 X"$as_dir" : 'X\(/\)' \| \
7843 . : '\(.\)' 2>/dev/null ||
7845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7846 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7847 /^X\(\/\/\)$/{ s//\1/; q; }
7848 /^X\(\/\).*/{ s//\1/; q; }
7851 test ! -n "$as_dirs" || mkdir
$as_dirs
7852 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7853 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7854 { (exit 1); exit 1; }; }; }
7857 mv $tmp/config.h
$ac_file
7863 # Compute $ac_file's index in $config_headers.
7865 for _am_header
in $config_headers :; do
7867 $ac_file |
$ac_file:* )
7870 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7873 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7874 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7875 X$ac_file : 'X\(//\)[^/]' \| \
7876 X$ac_file : 'X\(//\)$' \| \
7877 X$ac_file : 'X\(/\)' \| \
7878 . : '\(.\)' 2>/dev/null ||
7880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7881 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7882 /^X\(\/\/\)$/{ s//\1/; q; }
7883 /^X\(\/\).*/{ s//\1/; q; }
7884 s/.*/./; q'`/stamp-h
$_am_stamp_count
7887 cat >>$CONFIG_STATUS <<\_ACEOF
7890 # CONFIG_COMMANDS section.
7892 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
7893 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7894 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7895 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7896 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7897 X"$ac_dest" : 'X\(//\)[^/]' \| \
7898 X"$ac_dest" : 'X\(//\)$' \| \
7899 X"$ac_dest" : 'X\(/\)' \| \
7900 . : '\(.\)' 2>/dev/null ||
7902 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7903 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7904 /^X\(\/\/\)$/{ s//\1/; q; }
7905 /^X\(\/\).*/{ s//\1/; q; }
7907 { if $as_mkdir_p; then
7912 while test ! -d "$as_dir"; do
7913 as_dirs
="$as_dir $as_dirs"
7914 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7915 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7916 X"$as_dir" : 'X\(//\)[^/]' \| \
7917 X"$as_dir" : 'X\(//\)$' \| \
7918 X"$as_dir" : 'X\(/\)' \| \
7919 . : '\(.\)' 2>/dev/null ||
7921 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7922 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7923 /^X\(\/\/\)$/{ s//\1/; q; }
7924 /^X\(\/\).*/{ s//\1/; q; }
7927 test ! -n "$as_dirs" || mkdir
$as_dirs
7928 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7929 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7930 { (exit 1); exit 1; }; }; }
7934 if test "$ac_dir" != .
; then
7935 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7936 # A "../" for each directory in $ac_dir_suffix.
7937 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7939 ac_dir_suffix
= ac_top_builddir
=
7943 .
) # No --srcdir option. We are building in place.
7945 if test -z "$ac_top_builddir"; then
7948 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7950 [\\/]* | ?
:[\\/]* ) # Absolute path.
7951 ac_srcdir
=$srcdir$ac_dir_suffix;
7952 ac_top_srcdir
=$srcdir ;;
7954 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7955 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7958 # Do not use `cd foo && pwd` to compute absolute paths, because
7959 # the directories may not exist.
7961 .
) ac_abs_builddir
="$ac_dir";;
7964 .
) ac_abs_builddir
=`pwd`;;
7965 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7966 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7969 case $ac_abs_builddir in
7970 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7972 case ${ac_top_builddir}.
in
7973 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7974 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7975 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7978 case $ac_abs_builddir in
7979 .
) ac_abs_srcdir
=$ac_srcdir;;
7982 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7983 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7984 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7987 case $ac_abs_builddir in
7988 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7990 case $ac_top_srcdir in
7991 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7992 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7993 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7998 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7999 echo "$as_me: executing $ac_dest commands" >&6;}
8002 # Only add multilib support code if we just rebuilt the top-level
8004 case " $CONFIG_FILES " in
8006 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
8009 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8010 # Strip MF so we end up with the name of the file.
8011 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8012 # Check whether this is an Automake generated Makefile or not.
8013 # We used to match only the files named `Makefile.in', but
8014 # some people rename them; so instead we look at the file content.
8015 # Grep'ing the first line is not enough: some people post-process
8016 # each Makefile.in and add a new line on top of each file to say so.
8017 # So let's grep whole file.
8018 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
8019 dirpart
=`(dirname "$mf") 2>/dev/null ||
8020 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8021 X"$mf" : 'X\(//\)[^/]' \| \
8022 X"$mf" : 'X\(//\)$' \| \
8023 X"$mf" : 'X\(/\)' \| \
8024 . : '\(.\)' 2>/dev/null ||
8026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8027 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8028 /^X\(\/\/\)$/{ s//\1/; q; }
8029 /^X\(\/\).*/{ s//\1/; q; }
8034 # Extract the definition of DEPDIR, am__include, and am__quote
8035 # from the Makefile without running `make'.
8036 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8037 test -z "$DEPDIR" && continue
8038 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8039 test -z "am__include" && continue
8040 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8041 # When using ansi2knr, U may be empty or an underscore; expand it
8042 U
=`sed -n 's/^U = //p' < "$mf"`
8043 # Find all dependency output files, they are included files with
8044 # $(DEPDIR) in their names. We invoke sed twice because it is the
8045 # simplest approach to changing $(DEPDIR) to its actual value in the
8047 for file in `sed -n "
8048 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8049 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8050 # Make sure the directory exists.
8051 test -f "$dirpart/$file" && continue
8052 fdir
=`(dirname "$file") 2>/dev/null ||
8053 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8054 X"$file" : 'X\(//\)[^/]' \| \
8055 X"$file" : 'X\(//\)$' \| \
8056 X"$file" : 'X\(/\)' \| \
8057 . : '\(.\)' 2>/dev/null ||
8059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8060 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8061 /^X\(\/\/\)$/{ s//\1/; q; }
8062 /^X\(\/\).*/{ s//\1/; q; }
8064 { if $as_mkdir_p; then
8065 mkdir
-p $dirpart/$fdir
8067 as_dir
=$dirpart/$fdir
8069 while test ! -d "$as_dir"; do
8070 as_dirs
="$as_dir $as_dirs"
8071 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8072 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8073 X"$as_dir" : 'X\(//\)[^/]' \| \
8074 X"$as_dir" : 'X\(//\)$' \| \
8075 X"$as_dir" : 'X\(/\)' \| \
8076 . : '\(.\)' 2>/dev/null ||
8078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8079 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8080 /^X\(\/\/\)$/{ s//\1/; q; }
8081 /^X\(\/\).*/{ s//\1/; q; }
8084 test ! -n "$as_dirs" || mkdir
$as_dirs
8085 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8086 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8087 { (exit 1); exit 1; }; }; }
8089 # echo "creating $dirpart/$file"
8090 echo '# dummy' > "$dirpart/$file"
8098 cat >>$CONFIG_STATUS <<\_ACEOF
8100 { (exit 0); exit 0; }
8102 chmod +x
$CONFIG_STATUS
8103 ac_clean_files
=$ac_clean_files_save
8106 # configure is writing to config.log, and then calls config.status.
8107 # config.status does its own redirection, appending to config.log.
8108 # Unfortunately, on DOS this fails, as config.log is still kept open
8109 # by configure, so config.status won't be able to write to it; its
8110 # output is simply discarded. So we exec the FD to /dev/null,
8111 # effectively closing config.log, so it can be properly (re)opened and
8112 # appended to by config.status. When coming back to configure, we
8113 # need to make the FD available again.
8114 if test "$no_create" != yes; then
8116 ac_config_status_args
=
8117 test "$silent" = yes &&
8118 ac_config_status_args
="$ac_config_status_args --quiet"
8120 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8122 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8123 # would make configure fail if this is the last instruction.
8124 $ac_cs_success ||
{ (exit 1); exit 1; }