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 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
308 for dir
in $PATH /usr
/ucb
; do
310 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
320 if test "X$ECHO" = Xecho
; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
327 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL
=/bin
/ksh
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
343 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
349 SHELL
="$CONFIG_SHELL"
351 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
358 # maybe with a smaller string...
361 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string
=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 # Oops. We lost completely, so just stick with echo.
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
403 ac_default_prefix
=/usr
/local
404 ac_config_libobj_dir
=.
409 SHELL
=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
417 PACKAGE_NAME
='GNU OpenMP Runtime Library'
418 PACKAGE_TARNAME
='libgomp'
419 PACKAGE_VERSION
='1.0'
420 PACKAGE_STRING
='GNU OpenMP Runtime Library 1.0'
423 # Factoring default headers for most tests.
424 ac_includes_default
="\
427 # include <sys/types.h>
430 # include <sys/stat.h>
441 # if !STDC_HEADERS && HAVE_MEMORY_H
447 # include <strings.h>
450 # include <inttypes.h>
460 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 GENINSRC_TRUE GENINSRC_FALSE 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 BUILD_INFO_TRUE BUILD_INFO_FALSE LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 CPP CPPFLAGS enable_shared enable_static MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT FC FCFLAGS LDFLAGS ac_ct_FC libtool_VERSION SECTION_LDFLAGS OPT_LDFLAGS LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE config_path XCFLAGS XLDFLAGS link_gomp USE_FORTRAN_TRUE USE_FORTRAN_FALSE OMP_LOCK_SIZE OMP_LOCK_ALIGN OMP_NEST_LOCK_SIZE OMP_NEST_LOCK_ALIGN OMP_LOCK_KIND OMP_NEST_LOCK_KIND OMP_LOCK_25_SIZE OMP_LOCK_25_ALIGN OMP_NEST_LOCK_25_SIZE OMP_NEST_LOCK_25_ALIGN OMP_LOCK_25_KIND OMP_NEST_LOCK_25_KIND LIBOBJS LTLIBOBJS'
464 # Initialize some variables set by options.
466 ac_init_version
=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
476 program_transform_name
=s
,x
,x
,
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir
='${exec_prefix}/bin'
490 sbindir
='${exec_prefix}/sbin'
491 libexecdir
='${exec_prefix}/libexec'
492 datadir
='${prefix}/share'
493 sysconfdir
='${prefix}/etc'
494 sharedstatedir
='${prefix}/com'
495 localstatedir
='${prefix}/var'
496 libdir
='${exec_prefix}/lib'
497 includedir
='${prefix}/include'
498 oldincludedir
='/usr/include'
499 infodir
='${prefix}/info'
500 mandir
='${prefix}/man'
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
512 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
518 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
520 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
523 -build |
--build |
--buil |
--bui |
--bu)
524 ac_prev
=build_alias
;;
525 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
526 build_alias
=$ac_optarg ;;
528 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
529 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
530 ac_prev
=cache_file
;;
531 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
532 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
533 cache_file
=$ac_optarg ;;
536 cache_file
=config.cache
;;
538 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
540 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
542 datadir
=$ac_optarg ;;
544 -disable-* |
--disable-*)
545 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* |
--enable-*)
554 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
561 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
567 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
568 |
--exec |
--exe |
--ex)
569 ac_prev
=exec_prefix
;;
570 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
571 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
572 |
--exec=* |
--exe=* |
--ex=*)
573 exec_prefix
=$ac_optarg ;;
575 -gas |
--gas |
--ga |
--g)
576 # Obsolete; use --with-gas.
579 -help |
--help |
--hel |
--he |
-h)
581 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
582 ac_init_help
=recursive
;;
583 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
584 ac_init_help
=short
;;
586 -host |
--host |
--hos |
--ho)
587 ac_prev
=host_alias
;;
588 -host=* |
--host=* |
--hos=* |
--ho=*)
589 host_alias
=$ac_optarg ;;
591 -includedir |
--includedir |
--includedi |
--included |
--include \
592 |
--includ |
--inclu |
--incl |
--inc)
593 ac_prev
=includedir
;;
594 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
595 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
596 includedir
=$ac_optarg ;;
598 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
600 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
601 infodir
=$ac_optarg ;;
603 -libdir |
--libdir |
--libdi |
--libd)
605 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
608 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
609 |
--libexe |
--libex |
--libe)
610 ac_prev
=libexecdir
;;
611 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
612 |
--libexe=* |
--libex=* |
--libe=*)
613 libexecdir
=$ac_optarg ;;
615 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
616 |
--localstate |
--localstat |
--localsta |
--localst \
617 |
--locals |
--local |
--loca |
--loc |
--lo)
618 ac_prev
=localstatedir
;;
619 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
620 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
621 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
622 localstatedir
=$ac_optarg ;;
624 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
626 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
630 # Obsolete; use --without-fp.
633 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
634 |
--no-cr |
--no-c |
-n)
637 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
638 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
641 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
642 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
643 |
--oldin |
--oldi |
--old |
--ol |
--o)
644 ac_prev
=oldincludedir
;;
645 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
646 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
647 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
648 oldincludedir
=$ac_optarg ;;
650 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
652 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
655 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
656 |
--program-pre |
--program-pr |
--program-p)
657 ac_prev
=program_prefix
;;
658 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
659 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
660 program_prefix
=$ac_optarg ;;
662 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
663 |
--program-suf |
--program-su |
--program-s)
664 ac_prev
=program_suffix
;;
665 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
666 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
667 program_suffix
=$ac_optarg ;;
669 -program-transform-name |
--program-transform-name \
670 |
--program-transform-nam |
--program-transform-na \
671 |
--program-transform-n |
--program-transform- \
672 |
--program-transform |
--program-transfor \
673 |
--program-transfo |
--program-transf \
674 |
--program-trans |
--program-tran \
675 |
--progr-tra |
--program-tr |
--program-t)
676 ac_prev
=program_transform_name
;;
677 -program-transform-name=* |
--program-transform-name=* \
678 |
--program-transform-nam=* |
--program-transform-na=* \
679 |
--program-transform-n=* |
--program-transform-=* \
680 |
--program-transform=* |
--program-transfor=* \
681 |
--program-transfo=* |
--program-transf=* \
682 |
--program-trans=* |
--program-tran=* \
683 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
684 program_transform_name
=$ac_optarg ;;
686 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
687 |
-silent |
--silent |
--silen |
--sile |
--sil)
690 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
692 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
694 sbindir
=$ac_optarg ;;
696 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
697 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
698 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
700 ac_prev
=sharedstatedir
;;
701 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
702 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
703 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
705 sharedstatedir
=$ac_optarg ;;
707 -site |
--site |
--sit)
709 -site=* |
--site=* |
--sit=*)
712 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
714 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
717 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
718 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
719 ac_prev
=sysconfdir
;;
720 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
721 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
722 sysconfdir
=$ac_optarg ;;
724 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
725 ac_prev
=target_alias
;;
726 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
727 target_alias
=$ac_optarg ;;
729 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
732 -version |
--version |
--versio |
--versi |
--vers |
-V)
736 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package
=`echo $ac_package| sed 's/-/_/g'`
743 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* |
--without-*)
749 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package
=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
758 # Obsolete; use --with-x.
761 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
762 |
--x-incl |
--x-inc |
--x-in |
--x-i)
763 ac_prev
=x_includes
;;
764 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
765 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
766 x_includes
=$ac_optarg ;;
768 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
769 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
770 ac_prev
=x_libraries
;;
771 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
772 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
773 x_libraries
=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
781 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
801 if test -n "$ac_prev"; then
802 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var
in exec_prefix prefix
810 eval ac_val
=$
`echo $ac_var`
812 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
818 # Be sure to have absolute paths.
819 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val
=$
`echo $ac_var`
824 [\\/$
]* | ?
:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x
; then
839 if test "x$build_alias" = x
; then
840 cross_compiling
=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
849 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
851 test "$silent" = yes && exec 6>/dev
/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted
=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir
=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
871 if test ! -r $srcdir/$ac_unique_file; then
875 ac_srcdir_defaulted
=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set
=${build_alias+set}
891 ac_env_build_alias_value
=$build_alias
892 ac_cv_env_build_alias_set
=${build_alias+set}
893 ac_cv_env_build_alias_value
=$build_alias
894 ac_env_host_alias_set
=${host_alias+set}
895 ac_env_host_alias_value
=$host_alias
896 ac_cv_env_host_alias_set
=${host_alias+set}
897 ac_cv_env_host_alias_value
=$host_alias
898 ac_env_target_alias_set
=${target_alias+set}
899 ac_env_target_alias_value
=$target_alias
900 ac_cv_env_target_alias_set
=${target_alias+set}
901 ac_cv_env_target_alias_value
=$target_alias
902 ac_env_CPP_set
=${CPP+set}
903 ac_env_CPP_value
=$CPP
904 ac_cv_env_CPP_set
=${CPP+set}
905 ac_cv_env_CPP_value
=$CPP
906 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value
=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
910 ac_env_FC_set
=${FC+set}
912 ac_cv_env_FC_set
=${FC+set}
913 ac_cv_env_FC_value
=$FC
914 ac_env_FCFLAGS_set
=${FCFLAGS+set}
915 ac_env_FCFLAGS_value
=$FCFLAGS
916 ac_cv_env_FCFLAGS_set
=${FCFLAGS+set}
917 ac_cv_env_FCFLAGS_value
=$FCFLAGS
918 ac_env_LDFLAGS_set
=${LDFLAGS+set}
919 ac_env_LDFLAGS_value
=$LDFLAGS
920 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value
=$LDFLAGS
924 # Report the --help message.
926 if test "$ac_init_help" = "long"; then
927 # Omit some internal or obsolete options to make the list less imposing.
928 # This message is too long to be a string in the A/UX 3.1 sh.
930 \`configure' configures GNU OpenMP Runtime Library 1.0 to adapt to many kinds of systems.
932 Usage: $0 [OPTION]... [VAR=VALUE]...
934 To assign environment variables (e.g., CC, CFLAGS...), specify them as
935 VAR=VALUE. See below for descriptions of some of the useful variables.
937 Defaults for the options are specified in brackets.
940 -h, --help display this help and exit
941 --help=short display options specific to this package
942 --help=recursive display the short help of all the included packages
943 -V, --version display version information and exit
944 -q, --quiet, --silent do not print \`checking...' messages
945 --cache-file=FILE cache test results in FILE [disabled]
946 -C, --config-cache alias for \`--cache-file=config.cache'
947 -n, --no-create do not create output files
948 --srcdir=DIR find the sources in DIR [configure dir or \`..']
953 Installation directories:
954 --prefix=PREFIX install architecture-independent files in PREFIX
956 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
959 By default, \`make install' will install all the files in
960 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
961 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
962 for instance \`--prefix=\$HOME'.
964 For better control, use the options below.
966 Fine tuning of the installation directories:
967 --bindir=DIR user executables [EPREFIX/bin]
968 --sbindir=DIR system admin executables [EPREFIX/sbin]
969 --libexecdir=DIR program executables [EPREFIX/libexec]
970 --datadir=DIR read-only architecture-independent data [PREFIX/share]
971 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
972 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
973 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
974 --libdir=DIR object code libraries [EPREFIX/lib]
975 --includedir=DIR C header files [PREFIX/include]
976 --oldincludedir=DIR C header files for non-gcc [/usr/include]
977 --infodir=DIR info documentation [PREFIX/info]
978 --mandir=DIR man documentation [PREFIX/man]
984 --program-prefix=PREFIX prepend PREFIX to installed program names
985 --program-suffix=SUFFIX append SUFFIX to installed program names
986 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
989 --build=BUILD configure
for building on BUILD
[guessed
]
990 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
991 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
995 if test -n "$ac_init_help"; then
996 case $ac_init_help in
997 short | recursive
) echo "Configuration of GNU OpenMP Runtime Library 1.0:";;
1002 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1003 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1004 --enable-version-specific-runtime-libs
1005 Specify that runtime libraries should be installed
1006 in a compiler-specific directory
[default
=no
]
1007 --enable-generated-files-in-srcdir
1008 put copies of generated files
in source dir intended
1009 for creating
source tarballs
for users without
1010 texinfo bison or flex.
[default
=no
]
1011 --enable-multilib build many library versions
(default
)
1012 --disable-dependency-tracking speeds up one-time build
1013 --enable-dependency-tracking do not reject slow dependency extractors
1014 --enable-shared[=PKGS
]
1015 build shared libraries
[default
=yes]
1016 --enable-static[=PKGS
]
1017 build static libraries
[default
=yes]
1018 --enable-fast-install[=PKGS
]
1019 optimize
for fast installation
[default
=yes]
1020 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1021 --enable-maintainer-mode enable make rules and dependencies not useful
1022 (and sometimes confusing
) to the casual installer
1023 --enable-linux-futex use the Linux futex system call
1025 --enable-tls Use thread-local storage
[default
=yes]
1026 --enable-symvers=STYLE enables symbol versioning of the shared library
1030 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1031 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1032 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1034 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1036 Some influential environment variables
:
1037 CC C compiler
command
1038 CFLAGS C compiler flags
1039 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1040 nonstandard directory
<lib dir
>
1041 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1042 headers
in a nonstandard directory
<include dir
>
1044 FC Fortran compiler
command
1045 FCFLAGS Fortran compiler flags
1047 Use these variables to override the choices made by
`configure' or to help
1048 it to find libraries and programs with nonstandard names/locations.
1053 if test "$ac_init_help" = "recursive"; then
1054 # If there are subdirs, report their specific --help.
1056 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1057 test -d $ac_dir || continue
1060 if test "$ac_dir" != .; then
1061 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1062 # A "../" for each directory in $ac_dir_suffix.
1063 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1065 ac_dir_suffix= ac_top_builddir=
1069 .) # No --srcdir option. We are building in place.
1071 if test -z "$ac_top_builddir"; then
1074 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1076 [\\/]* | ?:[\\/]* ) # Absolute path.
1077 ac_srcdir=$srcdir$ac_dir_suffix;
1078 ac_top_srcdir=$srcdir ;;
1080 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1081 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1084 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1085 # the directories may not exist.
1087 .) ac_abs_builddir="$ac_dir";;
1090 .) ac_abs_builddir=`pwd`;;
1091 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1092 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1095 case $ac_abs_builddir in
1096 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1098 case ${ac_top_builddir}. in
1099 .) ac_abs_top_builddir=$ac_abs_builddir;;
1100 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1101 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1104 case $ac_abs_builddir in
1105 .) ac_abs_srcdir=$ac_srcdir;;
1108 .) ac_abs_srcdir=$ac_abs_builddir;;
1109 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1110 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1113 case $ac_abs_builddir in
1114 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1116 case $ac_top_srcdir in
1117 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1118 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1119 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1124 # Check for guested configure; otherwise get Cygnus style configure.
1125 if test -f $ac_srcdir/configure.gnu; then
1127 $SHELL $ac_srcdir/configure.gnu --help=recursive
1128 elif test -f $ac_srcdir/configure; then
1130 $SHELL $ac_srcdir/configure --help=recursive
1131 elif test -f $ac_srcdir/configure.ac ||
1132 test -f $ac_srcdir/configure.in; then
1134 $ac_configure --help
1136 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1142 test -n "$ac_init_help" && exit 0
1143 if $ac_init_version; then
1145 GNU OpenMP Runtime Library configure 1.0
1146 generated by GNU Autoconf 2.59
1148 Copyright (C) 2003 Free Software Foundation, Inc.
1149 This configure script is free software; the Free Software Foundation
1150 gives unlimited permission to copy, distribute and modify it.
1156 This file contains any messages produced by compilers while
1157 running configure, to aid debugging if configure makes a mistake.
1159 It was created by GNU OpenMP Runtime Library $as_me 1.0, which was
1160 generated by GNU Autoconf 2.59. Invocation command line was
1171 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1172 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1173 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1174 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1175 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1177 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1178 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1180 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1181 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1182 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1183 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1184 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1185 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1186 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1194 test -z "$as_dir" && as_dir=.
1195 echo "PATH: $as_dir"
1210 # Keep a trace of the command line.
1211 # Strip out --no-create and --no-recursion so they do not pile up.
1212 # Strip out --silent because we don't want to record it for future runs.
1213 # Also quote any args containing shell meta-characters.
1214 # Make two passes to allow for proper duplicate-argument suppression.
1219 ac_must_keep_next=false
1225 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1226 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1227 | -silent | --silent | --silen | --sile | --sil)
1229 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1230 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1233 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1235 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1236 if test $ac_must_keep_next = true; then
1237 ac_must_keep_next=false # Got value, back to normal.
1240 *=* | --config-cache | -C | -disable-* | --disable-* \
1241 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1242 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1243 | -with-* | --with-* | -without-* | --without-* | --x)
1244 case "$ac_configure_args0 " in
1245 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1248 -* ) ac_must_keep_next=true ;;
1251 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1252 # Get rid of the leading space.
1258 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1259 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1261 # When interrupted or exit'd, cleanup temporary files, and complete
1262 # config.log. We remove comments because anyway the quotes in there
1263 # would cause problems or look ugly.
1264 # WARNING: Be sure not to use single quotes in there, as some shells,
1265 # such as our DU 5.0 friend, will then `close
' the trap.
1266 trap 'exit_status
=$?
1267 # Save into config.log some information that might help in debugging.
1272 ## ---------------- ##
1273 ## Cache variables. ##
1274 ## ---------------- ##
1277 # The following way of writing the cache mishandles newlines in values,
1280 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1283 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1284 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1288 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1295 ## ----------------- ##
1296 ## Output variables. ##
1297 ## ----------------- ##
1300 for ac_var
in $ac_subst_vars
1302 eval ac_val
=$
`echo $ac_var`
1303 echo "$ac_var='"'"'$ac_val'"'"'"
1307 if test -n "$ac_subst_files"; then
1314 for ac_var
in $ac_subst_files
1316 eval ac_val
=$
`echo $ac_var`
1317 echo "$ac_var='"'"'$ac_val'"'"'"
1322 if test -s confdefs.h
; then
1329 sed "/^$/d" confdefs.h |
sort
1332 test "$ac_signal" != 0 &&
1333 echo "$as_me: caught signal $ac_signal"
1334 echo "$as_me: exit $exit_status"
1336 rm -f core
*.core
&&
1337 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1340 for ac_signal in 1 2 13 15; do
1341 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1345 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1346 rm -rf conftest* confdefs.h
1347 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1350 # Predefined preprocessor variables.
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_NAME "$PACKAGE_NAME"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1367 cat >>confdefs.h <<_ACEOF
1368 #define PACKAGE_STRING "$PACKAGE_STRING"
1372 cat >>confdefs.h <<_ACEOF
1373 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1377 # Let the site file select an alternate cache file if it wants to.
1378 # Prefer explicitly selected file to automatically selected ones.
1379 if test -z "$CONFIG_SITE"; then
1380 if test "x$prefix" != xNONE; then
1381 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1383 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1386 for ac_site_file in $CONFIG_SITE; do
1387 if test -r "$ac_site_file"; then
1388 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1389 echo "$as_me: loading site script $ac_site_file" >&6;}
1390 sed 's
/^
/|
/' "$ac_site_file" >&5
1395 if test -r "$cache_file"; then
1396 # Some versions of bash will fail to source /dev/null (special
1397 # files actually), so we avoid doing that.
1398 if test -f "$cache_file"; then
1399 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1400 echo "$as_me: loading cache $cache_file" >&6;}
1402 [\\/]* | ?:[\\/]* ) . $cache_file;;
1403 *) . ./$cache_file;;
1407 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1408 echo "$as_me: creating cache $cache_file" >&6;}
1412 # Check that the precious variables saved in the cache have kept the same
1414 ac_cache_corrupted=false
1415 for ac_var in `(set) 2>&1 |
1416 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1417 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1418 eval ac_new_set=\$ac_env_${ac_var}_set
1419 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1420 eval ac_new_val="\$ac_env_${ac_var}_value"
1421 case $ac_old_set,$ac_new_set in
1423 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1424 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1425 ac_cache_corrupted=: ;;
1427 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1428 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1429 ac_cache_corrupted=: ;;
1432 if test "x$ac_old_val" != "x$ac_new_val"; then
1433 # differences in whitespace do not lead to failure.
1434 ac_old_val_w=`echo x $ac_old_val`
1435 ac_new_val_w=`echo x $ac_new_val`
1436 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1437 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1438 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1439 ac_cache_corrupted=:
1441 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1442 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1443 eval $ac_var=\$ac_old_val
1445 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1446 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1447 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1448 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1451 # Pass precious variables to config.status.
1452 if test "$ac_new_set" = set; then
1454 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1455 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1456 *) ac_arg=$ac_var=$ac_new_val ;;
1458 case " $ac_configure_args " in
1459 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1460 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1464 if $ac_cache_corrupted; then
1465 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1466 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1467 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1468 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1469 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1470 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1471 { (exit 1); exit 1; }; }
1475 ac_cpp='$CPP $CPPFLAGS'
1476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1509 ac_config_headers="$ac_config_headers config.h"
1516 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1517 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1518 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1519 if test "${enable_version_specific_runtime_libs+set}" = set; then
1520 enableval="$enable_version_specific_runtime_libs"
1522 case "$enableval" in
1524 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific-runtime-libs" >&5
1525 echo "$as_me: error: Unknown argument to enable/disable version-specific-runtime-libs" >&2;}
1526 { (exit 1); exit 1; }; } ;;
1530 enable_version_specific_runtime_libs=no
1533 echo "$as_me:$LINENO: result: $enable_version_specific_runtime_libs" >&5
1534 echo "${ECHO_T}$enable_version_specific_runtime_libs" >&6
1536 # We would like our source tree to be readonly. However when releases or
1537 # pre-releases are generated, the flex/bison generated files as well as the
1538 # various formats of manuals need to be included along with the rest of the
1539 # sources. Therefore we have --enable-generated-files-in-srcdir to do
1541 echo "$as_me:$LINENO: checking for --enable-generated-files-in-srcdir" >&5
1542 echo $ECHO_N "checking for --enable-generated-files-in-srcdir... $ECHO_C" >&6
1543 # Check whether --enable-generated-files-in-srcdir or --disable-generated-files-in-srcdir was given.
1544 if test "${enable_generated_files_in_srcdir+set}" = set; then
1545 enableval="$enable_generated_files_in_srcdir"
1547 case "$enableval" in
1549 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable generated-files-in-srcdir" >&5
1550 echo "$as_me: error: Unknown argument to enable/disable generated-files-in-srcdir" >&2;}
1551 { (exit 1); exit 1; }; } ;;
1555 enable_generated_files_in_srcdir=no
1558 echo "$as_me:$LINENO: result: $enable_generated_files_in_srcdir" >&5
1559 echo "${ECHO_T}$enable_generated_files_in_srcdir" >&6
1562 if test "$enable_generated_files_in_srcdir" = yes; then
1575 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1577 # You will slowly go insane if you do not grok the following fact: when
1578 # building this library, the top-level /target/ becomes the library's /host/.
1580 # configure then causes --target to default to --host, exactly like any
1581 # other package using autoconf. Therefore, 'target' and 'host' will
1582 # always be the same. This makes sense both for native and cross compilers
1583 # just think about it for a little while. :-)
1585 # Also, if this library is being configured as part of a cross compiler, the
1586 # top-level configure script will pass the "real" host as $with_cross_host.
1588 # Do not delete or change the following two lines. For why, see
1589 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1591 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1592 if test -f $ac_dir/install-sh; then
1594 ac_install_sh="$ac_aux_dir/install-sh -c"
1596 elif test -f $ac_dir/install.sh; then
1598 ac_install_sh="$ac_aux_dir/install.sh -c"
1600 elif test -f $ac_dir/shtool; then
1602 ac_install_sh="$ac_aux_dir/shtool install -c"
1606 if test -z "$ac_aux_dir"; then
1607 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1608 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1609 { (exit 1); exit 1; }; }
1611 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1612 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1613 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1615 # Make sure we can run config.sub.
1616 $ac_config_sub sun4 >/dev/null 2>&1 ||
1617 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1618 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1619 { (exit 1); exit 1; }; }
1621 echo "$as_me:$LINENO: checking build system type" >&5
1622 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1623 if test "${ac_cv_build+set}" = set; then
1624 echo $ECHO_N "(cached) $ECHO_C" >&6
1626 ac_cv_build_alias=$build_alias
1627 test -z "$ac_cv_build_alias" &&
1628 ac_cv_build_alias=`$ac_config_guess`
1629 test -z "$ac_cv_build_alias" &&
1630 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1631 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1632 { (exit 1); exit 1; }; }
1633 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1634 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1635 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1636 { (exit 1); exit 1; }; }
1639 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1640 echo "${ECHO_T}$ac_cv_build" >&6
1642 build_cpu=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1643 build_vendor=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1644 build_os=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1647 echo "$as_me:$LINENO: checking host system type" >&5
1648 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1649 if test "${ac_cv_host+set}" = set; then
1650 echo $ECHO_N "(cached) $ECHO_C" >&6
1652 ac_cv_host_alias=$host_alias
1653 test -z "$ac_cv_host_alias" &&
1654 ac_cv_host_alias=$ac_cv_build_alias
1655 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1656 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1657 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1658 { (exit 1); exit 1; }; }
1661 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1662 echo "${ECHO_T}$ac_cv_host" >&6
1664 host_cpu=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1665 host_vendor=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1666 host_os=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1669 echo "$as_me:$LINENO: checking target system type" >&5
1670 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1671 if test "${ac_cv_target+set}" = set; then
1672 echo $ECHO_N "(cached) $ECHO_C" >&6
1674 ac_cv_target_alias=$target_alias
1675 test "x$ac_cv_target_alias" = "x" &&
1676 ac_cv_target_alias=$ac_cv_host_alias
1677 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1678 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1679 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1680 { (exit 1); exit 1; }; }
1683 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1684 echo "${ECHO_T}$ac_cv_target" >&6
1685 target=$ac_cv_target
1686 target_cpu=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1687 target_vendor=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1688 target_os=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1691 # The aliases save the names the user supplied, while $host etc.
1692 # will get canonicalized.
1693 test -n "$target_alias" &&
1694 test "$program_prefix$program_suffix$program_transform_name" = \
1696 program_prefix=${target_alias}-
1697 target_alias=${target_alias-$host_alias}
1699 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1700 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1701 # 1.9.0: minimum required version
1702 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1703 # of other PACKAGE_* variables will, however, and there's nothing
1704 # we can do about that; they come from AC_INIT).
1705 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1706 # file in the top srcdir, etc, etc), so stop complaining.
1707 # -Wall: turns on all automake warnings...
1708 # -Wno-portability: ...except this one, since GNU make is required.
1709 # -Wno-override: ... and this one, since we do want this in testsuite.
1710 am__api_version="1.9"
1711 # Find a good install program. We prefer a C program (faster),
1712 # so one script is as good as another. But avoid the broken or
1713 # incompatible versions:
1714 # SysV /etc/install, /usr/sbin/install
1715 # SunOS /usr/etc/install
1716 # IRIX /sbin/install
1718 # AmigaOS /C/install, which installs bootblocks on floppy discs
1719 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1720 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1721 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1722 # OS/2's system install, which has a completely different semantic
1723 # ./install, which can be erroneously created by make from ./install.sh.
1724 # Reject install programs that cannot install multiple files.
1725 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1726 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1727 if test -z "$INSTALL"; then
1728 if test "${ac_cv_path_install+set}" = set; then
1729 echo $ECHO_N "(cached) $ECHO_C" >&6
1731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1735 test -z "$as_dir" && as_dir=.
1736 # Account for people who put trailing slashes in PATH elements.
1738 ./ | .// | /cC/* | \
1739 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1740 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1743 # OSF1 and SCO ODT 3.0 have their own names for install.
1744 # Don't use installbsd from OSF since it installs stuff as root
1746 for ac_prog in ginstall scoinst install; do
1747 for ac_exec_ext in '' $ac_executable_extensions; do
1748 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1749 if test $ac_prog = install &&
1750 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1751 # AIX install. It has an incompatible calling convention.
1753 elif test $ac_prog = install &&
1754 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1755 # program-specific install script used by HP pwplus--don't use.
1758 rm -rf conftest.one conftest.two conftest.dir
1759 echo one > conftest.one
1760 echo two > conftest.two
1762 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1763 test -s conftest.one && test -s conftest.two &&
1764 test -s conftest.dir/conftest.one &&
1765 test -s conftest.dir/conftest.two
1767 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1778 rm -rf conftest.one conftest.two conftest.dir
1781 if test "${ac_cv_path_install+set}" = set; then
1782 INSTALL=$ac_cv_path_install
1784 # As a last resort, use the slow shell script. Don't cache a
1785 # value for INSTALL within a source directory, because that will
1786 # break other packages using the cache if that directory is
1787 # removed, or if the value is a relative name.
1788 INSTALL=$ac_install_sh
1791 echo "$as_me:$LINENO: result: $INSTALL" >&5
1792 echo "${ECHO_T}$INSTALL" >&6
1794 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1795 # It thinks the first close brace ends the variable substitution.
1796 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1798 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1800 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1802 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1803 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1806 echo timestamp > conftest.file
1807 # Do `set' in a subshell so we don't clobber the current shell
's
1808 # arguments. Must try -L first in case configure is actually a
1809 # symlink; some systems play weird games with the mod time of symlinks
1810 # (eg FreeBSD returns the mod time of the symlink's containing
1813 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1814 if test "$*" = "X"; then
1816 set X
`ls -t $srcdir/configure conftest.file`
1819 if test "$*" != "X $srcdir/configure conftest.file" \
1820 && test "$*" != "X conftest.file $srcdir/configure"; then
1822 # If neither matched, then we have a broken ls. This can happen
1823 # if, for instance, CONFIG_SHELL is bash and it inherits a
1824 # broken ls alias from the environment. This has actually
1825 # happened. Such a system could not be considered "sane".
1826 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1827 alias in your environment" >&5
1828 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1829 alias in your environment" >&2;}
1830 { (exit 1); exit 1; }; }
1833 test "$2" = conftest.
file
1839 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1840 Check your system clock" >&5
1841 echo "$as_me: error: newly created file is older than distributed files!
1842 Check your system clock" >&2;}
1843 { (exit 1); exit 1; }; }
1845 echo "$as_me:$LINENO: result: yes" >&5
1846 echo "${ECHO_T}yes" >&6
1847 test "$program_prefix" != NONE
&&
1848 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1849 # Use a double $ so make ignores it.
1850 test "$program_suffix" != NONE
&&
1851 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1852 # Double any \ or $. echo might interpret backslashes.
1853 # By default was `s,x,x', remove it if useless.
1854 cat <<\_ACEOF
>conftest.
sed
1855 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1857 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1860 # expand $ac_aux_dir to an absolute path
1861 am_aux_dir
=`cd $ac_aux_dir && pwd`
1863 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1864 # Use eval to expand $SHELL
1865 if eval "$MISSING --run true"; then
1866 am_missing_run
="$MISSING --run "
1869 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1870 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1873 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1874 # We used to keeping the `.' as first argument, in order to
1875 # allow $(mkdir_p) to be used without argument. As in
1876 # $(mkdir_p) $(somedir)
1877 # where $(somedir) is conditionally defined. However this is wrong
1879 # 1. if the package is installed by a user who cannot write `.'
1880 # make install will fail,
1881 # 2. the above comment should most certainly read
1882 # $(mkdir_p) $(DESTDIR)$(somedir)
1883 # so it does not work when $(somedir) is undefined and
1884 # $(DESTDIR) is not.
1885 # To support the latter case, we have to write
1886 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1887 # so the `.' trick is pointless.
1888 mkdir_p
='mkdir -p --'
1890 # On NextStep and OpenStep, the `mkdir' command does not
1891 # recognize any option. It will interpret all options as
1892 # directories to create, and then abort because `.' already
1894 for d
in .
/-p .
/--version;
1896 test -d $d && rmdir $d
1898 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1899 if test -f "$ac_aux_dir/mkinstalldirs"; then
1900 mkdir_p
='$(mkinstalldirs)'
1902 mkdir_p
='$(install_sh) -d'
1906 for ac_prog
in gawk mawk nawk
awk
1908 # Extract the first word of "$ac_prog", so it can be a program name with args.
1909 set dummy
$ac_prog; ac_word
=$2
1910 echo "$as_me:$LINENO: checking for $ac_word" >&5
1911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1912 if test "${ac_cv_prog_AWK+set}" = set; then
1913 echo $ECHO_N "(cached) $ECHO_C" >&6
1915 if test -n "$AWK"; then
1916 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1922 test -z "$as_dir" && as_dir
=.
1923 for ac_exec_ext
in '' $ac_executable_extensions; do
1924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1925 ac_cv_prog_AWK
="$ac_prog"
1926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1935 if test -n "$AWK"; then
1936 echo "$as_me:$LINENO: result: $AWK" >&5
1937 echo "${ECHO_T}$AWK" >&6
1939 echo "$as_me:$LINENO: result: no" >&5
1940 echo "${ECHO_T}no" >&6
1943 test -n "$AWK" && break
1946 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1947 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1948 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1949 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1950 echo $ECHO_N "(cached) $ECHO_C" >&6
1952 cat >conftest.
make <<\_ACEOF
1954 @
echo 'ac_maketemp="$(MAKE)"'
1956 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1957 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1958 if test -n "$ac_maketemp"; then
1959 eval ac_cv_prog_make_
${ac_make}_set
=yes
1961 eval ac_cv_prog_make_
${ac_make}_set
=no
1965 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1966 echo "$as_me:$LINENO: result: yes" >&5
1967 echo "${ECHO_T}yes" >&6
1970 echo "$as_me:$LINENO: result: no" >&5
1971 echo "${ECHO_T}no" >&6
1972 SET_MAKE
="MAKE=${MAKE-make}"
1975 rm -rf .tst
2>/dev
/null
1976 mkdir .tst
2>/dev
/null
1977 if test -d .tst
; then
1982 rmdir .tst
2>/dev
/null
1984 # test to see if srcdir already configured
1985 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1986 test -f $srcdir/config.status
; then
1987 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1988 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1989 { (exit 1); exit 1; }; }
1992 # test whether we have cygpath
1993 if test -z "$CYGPATH_W"; then
1994 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1995 CYGPATH_W
='cygpath -w'
2002 # Define the identity of the package.
2007 cat >>confdefs.h
<<_ACEOF
2008 #define PACKAGE "$PACKAGE"
2012 cat >>confdefs.h
<<_ACEOF
2013 #define VERSION "$VERSION"
2016 # Some tools Automake needs.
2018 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2021 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2024 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2027 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2030 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2032 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2034 # Installed binaries are usually stripped using `strip' when the user
2035 # run `make install-strip'. However `strip' might not be the right
2036 # tool to use in cross-compilation environments, therefore Automake
2037 # will honor the `STRIP' environment variable to overrule this program.
2038 if test "$cross_compiling" != no
; then
2039 if test -n "$ac_tool_prefix"; then
2040 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2041 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2042 echo "$as_me:$LINENO: checking for $ac_word" >&5
2043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2044 if test "${ac_cv_prog_STRIP+set}" = set; then
2045 echo $ECHO_N "(cached) $ECHO_C" >&6
2047 if test -n "$STRIP"; then
2048 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2054 test -z "$as_dir" && as_dir
=.
2055 for ac_exec_ext
in '' $ac_executable_extensions; do
2056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2057 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2066 STRIP
=$ac_cv_prog_STRIP
2067 if test -n "$STRIP"; then
2068 echo "$as_me:$LINENO: result: $STRIP" >&5
2069 echo "${ECHO_T}$STRIP" >&6
2071 echo "$as_me:$LINENO: result: no" >&5
2072 echo "${ECHO_T}no" >&6
2076 if test -z "$ac_cv_prog_STRIP"; then
2078 # Extract the first word of "strip", so it can be a program name with args.
2079 set dummy strip
; ac_word
=$2
2080 echo "$as_me:$LINENO: checking for $ac_word" >&5
2081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2082 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2083 echo $ECHO_N "(cached) $ECHO_C" >&6
2085 if test -n "$ac_ct_STRIP"; then
2086 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2092 test -z "$as_dir" && as_dir
=.
2093 for ac_exec_ext
in '' $ac_executable_extensions; do
2094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2095 ac_cv_prog_ac_ct_STRIP
="strip"
2096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2102 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2105 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2106 if test -n "$ac_ct_STRIP"; then
2107 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2108 echo "${ECHO_T}$ac_ct_STRIP" >&6
2110 echo "$as_me:$LINENO: result: no" >&5
2111 echo "${ECHO_T}no" >&6
2116 STRIP
="$ac_cv_prog_STRIP"
2120 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2122 # We need awk for the "check" target. The system "awk" is bad on
2124 # Always define AMTAR for backward compatibility.
2126 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2128 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2134 # Default to --enable-multilib
2135 # Check whether --enable-multilib or --disable-multilib was given.
2136 if test "${enable_multilib+set}" = set; then
2137 enableval
="$enable_multilib"
2138 case "$enableval" in
2139 yes) multilib
=yes ;;
2141 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2142 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2143 { (exit 1); exit 1; }; } ;;
2149 # We may get other options which we leave undocumented:
2150 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2151 # See config-ml.in if you want the gory details.
2153 if test "$srcdir" = "."; then
2154 if test "$with_target_subdir" != "."; then
2155 multi_basedir
="$srcdir/$with_multisrctop../.."
2157 multi_basedir
="$srcdir/$with_multisrctop.."
2160 multi_basedir
="$srcdir/.."
2164 # Even if the default multilib is not a cross compilation,
2165 # it may be that some of the other multilibs are.
2166 if test $cross_compiling = no
&& test $multilib = yes \
2167 && test "x${with_multisubdir}" != x
; then
2168 cross_compiling
=maybe
2171 ac_config_commands
="$ac_config_commands default-1"
2174 # Calculate toolexeclibdir
2175 # Also toolexecdir, though it's only used in toolexeclibdir
2176 case ${enable_version_specific_runtime_libs} in
2178 # Need the gcc compiler version to know where to install libraries
2179 # and header files if --enable-version-specific-runtime-libs option
2181 toolexecdir
='$(libdir)/gcc/$(target_alias)'
2182 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2185 if test -n "$with_cross_host" &&
2186 test x
"$with_cross_host" != x
"no"; then
2187 # Install a library built with a cross compiler in tooldir, not libdir.
2188 toolexecdir
='$(exec_prefix)/$(target_alias)'
2189 toolexeclibdir
='$(toolexecdir)/lib'
2191 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
2192 toolexeclibdir
='$(libdir)'
2194 multi_os_directory
=`$CC -print-multi-os-directory`
2195 case $multi_os_directory in
2196 .
) ;; # Avoid trailing /.
2197 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
2204 # Check the compiler.
2205 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2206 # We must force CC to /not/ be precious variables; otherwise
2207 # the wrong, non-multilib-adjusted value will be used in multilibs.
2208 # As a side effect, we have to subst CFLAGS ourselves.
2213 ac_cpp
='$CPP $CPPFLAGS'
2214 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2215 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2216 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2217 if test -n "$ac_tool_prefix"; then
2218 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2219 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2220 echo "$as_me:$LINENO: checking for $ac_word" >&5
2221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2222 if test "${ac_cv_prog_CC+set}" = set; then
2223 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 if test -n "$CC"; then
2226 ac_cv_prog_CC
="$CC" # Let the user override the test.
2228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2232 test -z "$as_dir" && as_dir
=.
2233 for ac_exec_ext
in '' $ac_executable_extensions; do
2234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2235 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 if test -n "$CC"; then
2246 echo "$as_me:$LINENO: result: $CC" >&5
2247 echo "${ECHO_T}$CC" >&6
2249 echo "$as_me:$LINENO: result: no" >&5
2250 echo "${ECHO_T}no" >&6
2254 if test -z "$ac_cv_prog_CC"; then
2256 # Extract the first word of "gcc", so it can be a program name with args.
2257 set dummy gcc
; ac_word
=$2
2258 echo "$as_me:$LINENO: checking for $ac_word" >&5
2259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2260 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2261 echo $ECHO_N "(cached) $ECHO_C" >&6
2263 if test -n "$ac_ct_CC"; then
2264 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2270 test -z "$as_dir" && as_dir
=.
2271 for ac_exec_ext
in '' $ac_executable_extensions; do
2272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2273 ac_cv_prog_ac_ct_CC
="gcc"
2274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2282 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2283 if test -n "$ac_ct_CC"; then
2284 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2285 echo "${ECHO_T}$ac_ct_CC" >&6
2287 echo "$as_me:$LINENO: result: no" >&5
2288 echo "${ECHO_T}no" >&6
2296 if test -z "$CC"; then
2297 if test -n "$ac_tool_prefix"; then
2298 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2299 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2300 echo "$as_me:$LINENO: checking for $ac_word" >&5
2301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2302 if test "${ac_cv_prog_CC+set}" = set; then
2303 echo $ECHO_N "(cached) $ECHO_C" >&6
2305 if test -n "$CC"; then
2306 ac_cv_prog_CC
="$CC" # Let the user override the test.
2308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2312 test -z "$as_dir" && as_dir
=.
2313 for ac_exec_ext
in '' $ac_executable_extensions; do
2314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2315 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2325 if test -n "$CC"; then
2326 echo "$as_me:$LINENO: result: $CC" >&5
2327 echo "${ECHO_T}$CC" >&6
2329 echo "$as_me:$LINENO: result: no" >&5
2330 echo "${ECHO_T}no" >&6
2334 if test -z "$ac_cv_prog_CC"; then
2336 # Extract the first word of "cc", so it can be a program name with args.
2337 set dummy cc
; ac_word
=$2
2338 echo "$as_me:$LINENO: checking for $ac_word" >&5
2339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2340 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2341 echo $ECHO_N "(cached) $ECHO_C" >&6
2343 if test -n "$ac_ct_CC"; then
2344 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2350 test -z "$as_dir" && as_dir
=.
2351 for ac_exec_ext
in '' $ac_executable_extensions; do
2352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2353 ac_cv_prog_ac_ct_CC
="cc"
2354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2362 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2363 if test -n "$ac_ct_CC"; then
2364 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2365 echo "${ECHO_T}$ac_ct_CC" >&6
2367 echo "$as_me:$LINENO: result: no" >&5
2368 echo "${ECHO_T}no" >&6
2377 if test -z "$CC"; then
2378 # Extract the first word of "cc", so it can be a program name with args.
2379 set dummy cc
; ac_word
=$2
2380 echo "$as_me:$LINENO: checking for $ac_word" >&5
2381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2382 if test "${ac_cv_prog_CC+set}" = set; then
2383 echo $ECHO_N "(cached) $ECHO_C" >&6
2385 if test -n "$CC"; then
2386 ac_cv_prog_CC
="$CC" # Let the user override the test.
2389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2393 test -z "$as_dir" && as_dir
=.
2394 for ac_exec_ext
in '' $ac_executable_extensions; do
2395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2396 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2397 ac_prog_rejected
=yes
2401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2407 if test $ac_prog_rejected = yes; then
2408 # We found a bogon in the path, so make sure we never use it.
2409 set dummy
$ac_cv_prog_CC
2411 if test $# != 0; then
2412 # We chose a different compiler from the bogus one.
2413 # However, it has the same basename, so the bogon will be chosen
2414 # first if we set CC to just the basename; use the full file name.
2416 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2422 if test -n "$CC"; then
2423 echo "$as_me:$LINENO: result: $CC" >&5
2424 echo "${ECHO_T}$CC" >&6
2426 echo "$as_me:$LINENO: result: no" >&5
2427 echo "${ECHO_T}no" >&6
2431 if test -z "$CC"; then
2432 if test -n "$ac_tool_prefix"; then
2435 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2436 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2437 echo "$as_me:$LINENO: checking for $ac_word" >&5
2438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2439 if test "${ac_cv_prog_CC+set}" = set; then
2440 echo $ECHO_N "(cached) $ECHO_C" >&6
2442 if test -n "$CC"; then
2443 ac_cv_prog_CC
="$CC" # Let the user override the test.
2445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2449 test -z "$as_dir" && as_dir
=.
2450 for ac_exec_ext
in '' $ac_executable_extensions; do
2451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2452 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2462 if test -n "$CC"; then
2463 echo "$as_me:$LINENO: result: $CC" >&5
2464 echo "${ECHO_T}$CC" >&6
2466 echo "$as_me:$LINENO: result: no" >&5
2467 echo "${ECHO_T}no" >&6
2470 test -n "$CC" && break
2473 if test -z "$CC"; then
2477 # Extract the first word of "$ac_prog", so it can be a program name with args.
2478 set dummy
$ac_prog; ac_word
=$2
2479 echo "$as_me:$LINENO: checking for $ac_word" >&5
2480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2481 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2482 echo $ECHO_N "(cached) $ECHO_C" >&6
2484 if test -n "$ac_ct_CC"; then
2485 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2491 test -z "$as_dir" && as_dir
=.
2492 for ac_exec_ext
in '' $ac_executable_extensions; do
2493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2494 ac_cv_prog_ac_ct_CC
="$ac_prog"
2495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2503 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2504 if test -n "$ac_ct_CC"; then
2505 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2506 echo "${ECHO_T}$ac_ct_CC" >&6
2508 echo "$as_me:$LINENO: result: no" >&5
2509 echo "${ECHO_T}no" >&6
2512 test -n "$ac_ct_CC" && break
2521 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2522 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2523 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2524 See \`config.log' for more details." >&5
2525 echo "$as_me: error: no acceptable C compiler found in \$PATH
2526 See \`config.log' for more details." >&2;}
2527 { (exit 1); exit 1; }; }; }
2529 # Provide some information about the compiler.
2530 echo "$as_me:$LINENO:" \
2531 "checking for C compiler version" >&5
2532 ac_compiler
=`set X $ac_compile; echo $2`
2533 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2534 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); }
2538 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2539 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }
2543 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2544 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }
2549 cat >conftest.
$ac_ext <<_ACEOF
2552 cat confdefs.h
>>conftest.
$ac_ext
2553 cat >>conftest.
$ac_ext <<_ACEOF
2554 /* end confdefs.h. */
2564 ac_clean_files_save
=$ac_clean_files
2565 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2566 # Try to create an executable without -o first, disregard a.out.
2567 # It will help us diagnose broken compilers, and finding out an intuition
2569 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2570 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2571 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2572 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2573 (eval $ac_link_default) 2>&5
2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); }; then
2577 # Find the output, starting from the most likely. This scheme is
2578 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2581 # Be careful to initialize this variable, since it used to be cached.
2582 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2584 # b.out is created by i960 compilers.
2585 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2587 test -f "$ac_file" ||
continue
2589 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2592 # This is the source file.
2595 # We found the default executable, but exeext='' is most
2599 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2600 # FIXME: I believe we export ac_cv_exeext for Libtool,
2601 # but it would be cool to find out if it's true. Does anybody
2602 # maintain Libtool? --akim.
2610 echo "$as_me: failed program was:" >&5
2611 sed 's/^/| /' conftest.
$ac_ext >&5
2613 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2614 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2615 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2616 See \`config.log' for more details." >&5
2617 echo "$as_me: error: C compiler cannot create executables
2618 See \`config.log' for more details." >&2;}
2619 { (exit 77); exit 77; }; }; }
2622 ac_exeext
=$ac_cv_exeext
2623 echo "$as_me:$LINENO: result: $ac_file" >&5
2624 echo "${ECHO_T}$ac_file" >&6
2626 # Check the compiler produces executables we can run. If not, either
2627 # the compiler is broken, or we cross compile.
2628 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2629 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2630 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2631 # If not cross compiling, check that we can run a simple program.
2632 if test "$cross_compiling" != yes; then
2633 if { ac_try
='./$ac_file'
2634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; }; then
2641 if test "$cross_compiling" = maybe
; then
2644 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2645 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2646 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2647 If you meant to cross compile, use \`--host'.
2648 See \`config.log' for more details." >&5
2649 echo "$as_me: error: cannot run C compiled programs.
2650 If you meant to cross compile, use \`--host'.
2651 See \`config.log' for more details." >&2;}
2652 { (exit 1); exit 1; }; }; }
2656 echo "$as_me:$LINENO: result: yes" >&5
2657 echo "${ECHO_T}yes" >&6
2659 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2660 ac_clean_files
=$ac_clean_files_save
2661 # Check the compiler produces executables we can run. If not, either
2662 # the compiler is broken, or we cross compile.
2663 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2664 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2665 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2666 echo "${ECHO_T}$cross_compiling" >&6
2668 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2669 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2671 (eval $ac_link) 2>&5
2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674 (exit $ac_status); }; then
2675 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2676 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2677 # work properly (i.e., refer to `conftest.exe'), while it won't with
2679 for ac_file
in conftest.exe conftest conftest.
*; do
2680 test -f "$ac_file" ||
continue
2682 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2683 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2690 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2691 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2692 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2693 See \`config.log' for more details." >&5
2694 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2695 See \`config.log' for more details." >&2;}
2696 { (exit 1); exit 1; }; }; }
2699 rm -f conftest
$ac_cv_exeext
2700 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2701 echo "${ECHO_T}$ac_cv_exeext" >&6
2703 rm -f conftest.
$ac_ext
2704 EXEEXT
=$ac_cv_exeext
2706 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2707 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2708 if test "${ac_cv_objext+set}" = set; then
2709 echo $ECHO_N "(cached) $ECHO_C" >&6
2711 cat >conftest.
$ac_ext <<_ACEOF
2714 cat confdefs.h
>>conftest.
$ac_ext
2715 cat >>conftest.
$ac_ext <<_ACEOF
2716 /* end confdefs.h. */
2726 rm -f conftest.o conftest.obj
2727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2728 (eval $ac_compile) 2>&5
2730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731 (exit $ac_status); }; then
2732 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2734 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2735 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2740 echo "$as_me: failed program was:" >&5
2741 sed 's/^/| /' conftest.
$ac_ext >&5
2743 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2744 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2745 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2746 See \`config.log' for more details." >&5
2747 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2748 See \`config.log' for more details." >&2;}
2749 { (exit 1); exit 1; }; }; }
2752 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2754 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2755 echo "${ECHO_T}$ac_cv_objext" >&6
2756 OBJEXT
=$ac_cv_objext
2758 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2759 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2760 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2761 echo $ECHO_N "(cached) $ECHO_C" >&6
2763 cat >conftest.
$ac_ext <<_ACEOF
2766 cat confdefs.h
>>conftest.
$ac_ext
2767 cat >>conftest.
$ac_ext <<_ACEOF
2768 /* end confdefs.h. */
2781 rm -f conftest.
$ac_objext
2782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2783 (eval $ac_compile) 2>conftest.er1
2785 grep -v '^ *+' conftest.er1
>conftest.err
2787 cat conftest.err
>&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); } &&
2790 { ac_try
='test -z "$ac_c_werror_flag"
2791 || test ! -s conftest.err'
2792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); }; } &&
2797 { ac_try
='test -s conftest.$ac_objext'
2798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802 (exit $ac_status); }; }; then
2805 echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.
$ac_ext >&5
2810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2811 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2814 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2815 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2816 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2817 ac_test_CFLAGS
=${CFLAGS+set}
2818 ac_save_CFLAGS
=$CFLAGS
2820 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2821 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2822 if test "${ac_cv_prog_cc_g+set}" = set; then
2823 echo $ECHO_N "(cached) $ECHO_C" >&6
2825 cat >conftest.
$ac_ext <<_ACEOF
2828 cat confdefs.h
>>conftest.
$ac_ext
2829 cat >>conftest.
$ac_ext <<_ACEOF
2830 /* end confdefs.h. */
2840 rm -f conftest.
$ac_objext
2841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2842 (eval $ac_compile) 2>conftest.er1
2844 grep -v '^ *+' conftest.er1
>conftest.err
2846 cat conftest.err
>&5
2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848 (exit $ac_status); } &&
2849 { ac_try
='test -z "$ac_c_werror_flag"
2850 || test ! -s conftest.err'
2851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855 (exit $ac_status); }; } &&
2856 { ac_try
='test -s conftest.$ac_objext'
2857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); }; }; then
2864 echo "$as_me: failed program was:" >&5
2865 sed 's/^/| /' conftest.
$ac_ext >&5
2869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2871 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2872 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2873 if test "$ac_test_CFLAGS" = set; then
2874 CFLAGS
=$ac_save_CFLAGS
2875 elif test $ac_cv_prog_cc_g = yes; then
2876 if test "$GCC" = yes; then
2882 if test "$GCC" = yes; then
2888 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2889 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2890 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2891 echo $ECHO_N "(cached) $ECHO_C" >&6
2893 ac_cv_prog_cc_stdc
=no
2895 cat >conftest.
$ac_ext <<_ACEOF
2898 cat confdefs.h
>>conftest.
$ac_ext
2899 cat >>conftest.
$ac_ext <<_ACEOF
2900 /* end confdefs.h. */
2903 #include <sys/types.h>
2904 #include <sys/stat.h>
2905 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2906 struct buf { int x; };
2907 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2908 static char *e (p, i)
2914 static char *f (char * (*g) (char **, int), char **p, ...)
2919 s = g (p, va_arg (v,int));
2924 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2925 function prototypes and stuff, but not '\xHH' hex character constants.
2926 These don't provoke an error unfortunately, instead are silently treated
2927 as 'x'. The following induces an error, until -std1 is added to get
2928 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2929 array size at least. It's necessary to write '\x00'==0 to get something
2930 that's true only with -std1. */
2931 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2933 int test (int i, double x);
2934 struct s1 {int (*f) (int a);};
2935 struct s2 {int (*f) (double a);};
2936 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2942 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2947 # Don't try gcc -ansi; that turns off useful extensions and
2948 # breaks some systems' header files.
2949 # AIX -qlanglvl=ansi
2950 # Ultrix and OSF/1 -std1
2951 # HP-UX 10.20 and later -Ae
2952 # HP-UX older versions -Aa -D_HPUX_SOURCE
2953 # SVR4 -Xc -D__EXTENSIONS__
2954 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2956 CC
="$ac_save_CC $ac_arg"
2957 rm -f conftest.
$ac_objext
2958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2959 (eval $ac_compile) 2>conftest.er1
2961 grep -v '^ *+' conftest.er1
>conftest.err
2963 cat conftest.err
>&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); } &&
2966 { ac_try
='test -z "$ac_c_werror_flag"
2967 || test ! -s conftest.err'
2968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); }; } &&
2973 { ac_try
='test -s conftest.$ac_objext'
2974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); }; }; then
2979 ac_cv_prog_cc_stdc
=$ac_arg
2982 echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.
$ac_ext >&5
2986 rm -f conftest.err conftest.
$ac_objext
2988 rm -f conftest.
$ac_ext conftest.
$ac_objext
2993 case "x$ac_cv_prog_cc_stdc" in
2995 echo "$as_me:$LINENO: result: none needed" >&5
2996 echo "${ECHO_T}none needed" >&6 ;;
2998 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2999 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3000 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3003 # Some people use a C++ compiler to compile C. Since we use `exit',
3004 # in C++ we need to declare it. In case someone uses the same compiler
3005 # for both compiling C and C++ we need to have the C++ compiler decide
3006 # the declaration of exit, since it's the most demanding environment.
3007 cat >conftest.
$ac_ext <<_ACEOF
3012 rm -f conftest.
$ac_objext
3013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3014 (eval $ac_compile) 2>conftest.er1
3016 grep -v '^ *+' conftest.er1
>conftest.err
3018 cat conftest.err
>&5
3019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020 (exit $ac_status); } &&
3021 { ac_try
='test -z "$ac_c_werror_flag"
3022 || test ! -s conftest.err'
3023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); }; } &&
3028 { ac_try
='test -s conftest.$ac_objext'
3029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033 (exit $ac_status); }; }; then
3034 for ac_declaration
in \
3036 'extern "C" void std::exit (int) throw (); using std::exit;' \
3037 'extern "C" void std::exit (int); using std::exit;' \
3038 'extern "C" void exit (int) throw ();' \
3039 'extern "C" void exit (int);' \
3042 cat >conftest.
$ac_ext <<_ACEOF
3045 cat confdefs.h
>>conftest.
$ac_ext
3046 cat >>conftest.
$ac_ext <<_ACEOF
3047 /* end confdefs.h. */
3058 rm -f conftest.
$ac_objext
3059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3060 (eval $ac_compile) 2>conftest.er1
3062 grep -v '^ *+' conftest.er1
>conftest.err
3064 cat conftest.err
>&5
3065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 (exit $ac_status); } &&
3067 { ac_try
='test -z "$ac_c_werror_flag"
3068 || test ! -s conftest.err'
3069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 (exit $ac_status); }; } &&
3074 { ac_try
='test -s conftest.$ac_objext'
3075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079 (exit $ac_status); }; }; then
3082 echo "$as_me: failed program was:" >&5
3083 sed 's/^/| /' conftest.
$ac_ext >&5
3087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3088 cat >conftest.
$ac_ext <<_ACEOF
3091 cat confdefs.h
>>conftest.
$ac_ext
3092 cat >>conftest.
$ac_ext <<_ACEOF
3093 /* end confdefs.h. */
3103 rm -f conftest.
$ac_objext
3104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3105 (eval $ac_compile) 2>conftest.er1
3107 grep -v '^ *+' conftest.er1
>conftest.err
3109 cat conftest.err
>&5
3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); } &&
3112 { ac_try
='test -z "$ac_c_werror_flag"
3113 || test ! -s conftest.err'
3114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); }; } &&
3119 { ac_try
='test -s conftest.$ac_objext'
3120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); }; }; then
3127 echo "$as_me: failed program was:" >&5
3128 sed 's/^/| /' conftest.
$ac_ext >&5
3131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3134 if test -n "$ac_declaration"; then
3135 echo '#ifdef __cplusplus' >>confdefs.h
3136 echo $ac_declaration >>confdefs.h
3137 echo '#endif' >>confdefs.h
3141 echo "$as_me: failed program was:" >&5
3142 sed 's/^/| /' conftest.
$ac_ext >&5
3145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3147 ac_cpp
='$CPP $CPPFLAGS'
3148 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3149 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3150 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3151 DEPDIR
="${am__leading_dot}deps"
3153 ac_config_commands
="$ac_config_commands depfiles"
3156 am_make
=${MAKE-make}
3157 cat > confinc
<< 'END'
3162 # If we don't find an include directive, just comment out the code.
3163 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3164 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3168 # First try GNU make style include.
3169 echo "include confinc" > confmf
3170 # We grep out `Entering directory' and `Leaving directory'
3171 # messages which can occur if `w' ends up in MAKEFLAGS.
3172 # In particular we don't look at `^make:' because GNU make might
3173 # be invoked under some other name (usually "gmake"), in which
3174 # case it prints its new name instead of `make'.
3175 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3180 # Now try BSD make style include.
3181 if test "$am__include" = "#"; then
3182 echo '.include "confinc"' > confmf
3183 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3184 am__include
=.include
3191 echo "$as_me:$LINENO: result: $_am_result" >&5
3192 echo "${ECHO_T}$_am_result" >&6
3193 rm -f confinc confmf
3195 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3196 if test "${enable_dependency_tracking+set}" = set; then
3197 enableval
="$enable_dependency_tracking"
3200 if test "x$enable_dependency_tracking" != xno
; then
3201 am_depcomp
="$ac_aux_dir/depcomp"
3206 if test "x$enable_dependency_tracking" != xno; then
3217 depcc
="$CC" am_compiler_list
=
3219 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3220 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3221 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3222 echo $ECHO_N "(cached) $ECHO_C" >&6
3224 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3225 # We make a subdir and do the tests there. Otherwise we can end up
3226 # making bogus files that we don't know about and never remove. For
3227 # instance it was reported that on HP-UX the gcc test will end up
3228 # making a dummy file named `D' -- because `-MD' means `put the output
3231 # Copy depcomp to subdir because otherwise we won't find it if we're
3232 # using a relative directory.
3233 cp "$am_depcomp" conftest.dir
3235 # We will build objects and dependencies in a subdirectory because
3236 # it helps to detect inapplicable dependency modes. For instance
3237 # both Tru64's cc and ICC support -MD to output dependencies as a
3238 # side effect of compilation, but ICC will put the dependencies in
3239 # the current directory while Tru64 will put them in the object
3243 am_cv_CC_dependencies_compiler_type
=none
3244 if test "$am_compiler_list" = ""; then
3245 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3247 for depmode
in $am_compiler_list; do
3248 # Setup a source with many dependencies, because some compilers
3249 # like to wrap large dependency lists on column 80 (with \), and
3250 # we should not choose a depcomp mode which is confused by this.
3252 # We need to recreate these files for each test, as the compiler may
3253 # overwrite some of them when testing with obscure command lines.
3254 # This happens at least with the AIX C compiler.
3256 for i
in 1 2 3 4 5 6; do
3257 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3258 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3259 # Solaris 8's {/usr,}/bin/sh.
3260 touch sub
/conftst
$i.h
3262 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3266 # after this tag, mechanisms are not by side-effect, so they'll
3267 # only be used when explicitly requested
3268 if test "x$enable_dependency_tracking" = xyes
; then
3276 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3277 # mode. It turns out that the SunPro C++ compiler does not properly
3278 # handle `-M -o', and we need to detect this.
3279 if depmode
=$depmode \
3280 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3281 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3282 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3283 >/dev
/null
2>conftest.err
&&
3284 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3285 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3286 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3287 # icc doesn't choke on unknown options, it will just issue warnings
3288 # or remarks (even with -Werror). So we grep stderr for any message
3289 # that says an option was ignored or not supported.
3290 # When given -MP, icc 7.0 and 7.1 complain thusly:
3291 # icc: Command line warning: ignoring option '-M'; no argument required
3292 # The diagnosis changed in icc 8.0:
3293 # icc: Command line remark: option '-MP' not supported
3294 if (grep 'ignoring option' conftest.err ||
3295 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3296 am_cv_CC_dependencies_compiler_type
=$depmode
3305 am_cv_CC_dependencies_compiler_type
=none
3309 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3310 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3311 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3316 test "x$enable_dependency_tracking" != xno \
3317 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3319 am__fastdepCC_FALSE
='#'
3321 am__fastdepCC_TRUE
='#'
3322 am__fastdepCC_FALSE
=
3330 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
3331 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
3332 # in both places for now and restore CFLAGS at the end of config.
3333 save_CFLAGS
="$CFLAGS"
3335 # Add -Wall -Werror if we are using GCC.
3336 if test "x$GCC" = "xyes"; then
3337 XCFLAGS
="$XCFLAGS -Wall -Werror"
3340 # Find other programs we need.
3341 if test -n "$ac_tool_prefix"; then
3342 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3343 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3344 echo "$as_me:$LINENO: checking for $ac_word" >&5
3345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3346 if test "${ac_cv_prog_AR+set}" = set; then
3347 echo $ECHO_N "(cached) $ECHO_C" >&6
3349 if test -n "$AR"; then
3350 ac_cv_prog_AR
="$AR" # Let the user override the test.
3352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3356 test -z "$as_dir" && as_dir
=.
3357 for ac_exec_ext
in '' $ac_executable_extensions; do
3358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3359 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3369 if test -n "$AR"; then
3370 echo "$as_me:$LINENO: result: $AR" >&5
3371 echo "${ECHO_T}$AR" >&6
3373 echo "$as_me:$LINENO: result: no" >&5
3374 echo "${ECHO_T}no" >&6
3378 if test -z "$ac_cv_prog_AR"; then
3380 # Extract the first word of "ar", so it can be a program name with args.
3381 set dummy
ar; ac_word
=$2
3382 echo "$as_me:$LINENO: checking for $ac_word" >&5
3383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3384 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3385 echo $ECHO_N "(cached) $ECHO_C" >&6
3387 if test -n "$ac_ct_AR"; then
3388 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3394 test -z "$as_dir" && as_dir
=.
3395 for ac_exec_ext
in '' $ac_executable_extensions; do
3396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3397 ac_cv_prog_ac_ct_AR
="ar"
3398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3406 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3407 if test -n "$ac_ct_AR"; then
3408 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3409 echo "${ECHO_T}$ac_ct_AR" >&6
3411 echo "$as_me:$LINENO: result: no" >&5
3412 echo "${ECHO_T}no" >&6
3420 if test -n "$ac_tool_prefix"; then
3421 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3422 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3423 echo "$as_me:$LINENO: checking for $ac_word" >&5
3424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3425 if test "${ac_cv_prog_RANLIB+set}" = set; then
3426 echo $ECHO_N "(cached) $ECHO_C" >&6
3428 if test -n "$RANLIB"; then
3429 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3435 test -z "$as_dir" && as_dir
=.
3436 for ac_exec_ext
in '' $ac_executable_extensions; do
3437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3438 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3447 RANLIB
=$ac_cv_prog_RANLIB
3448 if test -n "$RANLIB"; then
3449 echo "$as_me:$LINENO: result: $RANLIB" >&5
3450 echo "${ECHO_T}$RANLIB" >&6
3452 echo "$as_me:$LINENO: result: no" >&5
3453 echo "${ECHO_T}no" >&6
3457 if test -z "$ac_cv_prog_RANLIB"; then
3458 ac_ct_RANLIB
=$RANLIB
3459 # Extract the first word of "ranlib", so it can be a program name with args.
3460 set dummy ranlib
; ac_word
=$2
3461 echo "$as_me:$LINENO: checking for $ac_word" >&5
3462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3463 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3464 echo $ECHO_N "(cached) $ECHO_C" >&6
3466 if test -n "$ac_ct_RANLIB"; then
3467 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3473 test -z "$as_dir" && as_dir
=.
3474 for ac_exec_ext
in '' $ac_executable_extensions; do
3475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3476 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3483 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
="ranlib-not-found-in-path-error"
3486 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3487 if test -n "$ac_ct_RANLIB"; then
3488 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3489 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3491 echo "$as_me:$LINENO: result: no" >&5
3492 echo "${ECHO_T}no" >&6
3495 RANLIB
=$ac_ct_RANLIB
3497 RANLIB
="$ac_cv_prog_RANLIB"
3500 # Extract the first word of "perl", so it can be a program name with args.
3501 set dummy perl
; ac_word
=$2
3502 echo "$as_me:$LINENO: checking for $ac_word" >&5
3503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3504 if test "${ac_cv_path_PERL+set}" = set; then
3505 echo $ECHO_N "(cached) $ECHO_C" >&6
3509 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
3512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3516 test -z "$as_dir" && as_dir
=.
3517 for ac_exec_ext
in '' $ac_executable_extensions; do
3518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3519 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
3520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3526 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="perl-not-found-in-path-error"
3530 PERL
=$ac_cv_path_PERL
3532 if test -n "$PERL"; then
3533 echo "$as_me:$LINENO: result: $PERL" >&5
3534 echo "${ECHO_T}$PERL" >&6
3536 echo "$as_me:$LINENO: result: no" >&5
3537 echo "${ECHO_T}no" >&6
3540 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3541 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3542 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3543 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3544 echo $ECHO_N "(cached) $ECHO_C" >&6
3546 cat >conftest.
make <<\_ACEOF
3548 @
echo 'ac_maketemp="$(MAKE)"'
3550 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3551 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3552 if test -n "$ac_maketemp"; then
3553 eval ac_cv_prog_make_
${ac_make}_set
=yes
3555 eval ac_cv_prog_make_
${ac_make}_set
=no
3559 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3560 echo "$as_me:$LINENO: result: yes" >&5
3561 echo "${ECHO_T}yes" >&6
3564 echo "$as_me:$LINENO: result: no" >&5
3565 echo "${ECHO_T}no" >&6
3566 SET_MAKE
="MAKE=${MAKE-make}"
3569 # Find a good install program. We prefer a C program (faster),
3570 # so one script is as good as another. But avoid the broken or
3571 # incompatible versions:
3572 # SysV /etc/install, /usr/sbin/install
3573 # SunOS /usr/etc/install
3574 # IRIX /sbin/install
3576 # AmigaOS /C/install, which installs bootblocks on floppy discs
3577 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3578 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3579 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3580 # OS/2's system install, which has a completely different semantic
3581 # ./install, which can be erroneously created by make from ./install.sh.
3582 # Reject install programs that cannot install multiple files.
3583 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3584 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3585 if test -z "$INSTALL"; then
3586 if test "${ac_cv_path_install+set}" = set; then
3587 echo $ECHO_N "(cached) $ECHO_C" >&6
3589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3593 test -z "$as_dir" && as_dir
=.
3594 # Account for people who put trailing slashes in PATH elements.
3596 .
/ | .
// |
/cC
/* | \
3597 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3598 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3601 # OSF1 and SCO ODT 3.0 have their own names for install.
3602 # Don't use installbsd from OSF since it installs stuff as root
3604 for ac_prog
in ginstall scoinst
install; do
3605 for ac_exec_ext
in '' $ac_executable_extensions; do
3606 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3607 if test $ac_prog = install &&
3608 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3609 # AIX install. It has an incompatible calling convention.
3611 elif test $ac_prog = install &&
3612 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3613 # program-specific install script used by HP pwplus--don't use.
3616 rm -rf conftest.one conftest.two conftest.dir
3617 echo one
> conftest.one
3618 echo two
> conftest.two
3620 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3621 test -s conftest.one
&& test -s conftest.two
&&
3622 test -s conftest.dir
/conftest.one
&&
3623 test -s conftest.dir
/conftest.two
3625 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3636 rm -rf conftest.one conftest.two conftest.dir
3639 if test "${ac_cv_path_install+set}" = set; then
3640 INSTALL
=$ac_cv_path_install
3642 # As a last resort, use the slow shell script. Don't cache a
3643 # value for INSTALL within a source directory, because that will
3644 # break other packages using the cache if that directory is
3645 # removed, or if the value is a relative name.
3646 INSTALL
=$ac_install_sh
3649 echo "$as_me:$LINENO: result: $INSTALL" >&5
3650 echo "${ECHO_T}$INSTALL" >&6
3652 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3653 # It thinks the first close brace ends the variable substitution.
3654 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3656 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3658 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3661 # See if makeinfo has been installed and is modern enough
3662 # that we can use it.
3664 # Extract the first word of "makeinfo", so it can be a program name with args.
3665 set dummy makeinfo
; ac_word
=$2
3666 echo "$as_me:$LINENO: checking for $ac_word" >&5
3667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3668 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
3669 echo $ECHO_N "(cached) $ECHO_C" >&6
3671 if test -n "$MAKEINFO"; then
3672 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
3674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3678 test -z "$as_dir" && as_dir
=.
3679 for ac_exec_ext
in '' $ac_executable_extensions; do
3680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3681 ac_cv_prog_MAKEINFO
="makeinfo"
3682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3690 MAKEINFO
=$ac_cv_prog_MAKEINFO
3691 if test -n "$MAKEINFO"; then
3692 echo "$as_me:$LINENO: result: $MAKEINFO" >&5
3693 echo "${ECHO_T}$MAKEINFO" >&6
3695 echo "$as_me:$LINENO: result: no" >&5
3696 echo "${ECHO_T}no" >&6
3699 if test -n "$MAKEINFO"; then
3700 # Found it, now check the version.
3701 echo "$as_me:$LINENO: checking for modern makeinfo" >&5
3702 echo $ECHO_N "checking for modern makeinfo... $ECHO_C" >&6
3703 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then
3704 echo $ECHO_N "(cached) $ECHO_C" >&6
3706 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
3707 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
3709 case $ac_prog_version in
3710 '') gcc_cv_prog_makeinfo_modern
=no
;;
3711 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
3712 *) gcc_cv_prog_makeinfo_modern
=no
;;
3716 echo "$as_me:$LINENO: result: $gcc_cv_prog_makeinfo_modern" >&5
3717 echo "${ECHO_T}$gcc_cv_prog_makeinfo_modern" >&6
3719 gcc_cv_prog_makeinfo_modern
=no
3721 if test $gcc_cv_prog_makeinfo_modern = no
; then
3722 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
3727 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
3729 BUILD_INFO_FALSE
='#'
3740 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3741 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3746 macro_version
='2.2.6'
3747 macro_revision
='1.3012'
3761 ltmain
="$ac_aux_dir/ltmain.sh"
3763 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3764 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3765 if test "${lt_cv_path_SED+set}" = set; then
3766 echo $ECHO_N "(cached) $ECHO_C" >&6
3768 # Loop through the user's path and test for sed and gsed.
3769 # Then use that list of sed's as ones to test for truncation.
3770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3774 test -z "$as_dir" && as_dir
=.
3775 for lt_ac_prog
in sed gsed
; do
3776 for ac_exec_ext
in '' $ac_executable_extensions; do
3777 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3778 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3786 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3787 # along with /bin/sed that truncates output.
3788 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3789 test ! -f $lt_ac_sed && continue
3790 cat /dev
/null
> conftest.
in
3792 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3793 # Check for GNU sed and select it if it is found.
3794 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3795 lt_cv_path_SED
=$lt_ac_sed
3799 cat conftest.
in conftest.
in >conftest.tmp
3800 mv conftest.tmp conftest.
in
3801 cp conftest.
in conftest.
nl
3803 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3804 cmp -s conftest.out conftest.
nl ||
break
3805 # 10000 chars as input seems more than enough
3806 test $lt_ac_count -gt 10 && break
3807 lt_ac_count
=`expr $lt_ac_count + 1`
3808 if test $lt_ac_count -gt $lt_ac_max; then
3809 lt_ac_max
=$lt_ac_count
3810 lt_cv_path_SED
=$lt_ac_sed
3819 echo "$as_me:$LINENO: result: $SED" >&5
3820 echo "${ECHO_T}$SED" >&6
3822 test -z "$SED" && SED
=sed
3823 Xsed
="$SED -e 1s/^X//"
3835 echo "$as_me:$LINENO: checking for egrep" >&5
3836 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3837 if test "${ac_cv_prog_egrep+set}" = set; then
3838 echo $ECHO_N "(cached) $ECHO_C" >&6
3840 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3841 then ac_cv_prog_egrep
='grep -E'
3842 else ac_cv_prog_egrep
='egrep'
3845 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3846 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3847 EGREP
=$ac_cv_prog_egrep
3850 echo "$as_me:$LINENO: checking for fgrep" >&5
3851 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
3852 if test "${ac_cv_prog_fgrep+set}" = set; then
3853 echo $ECHO_N "(cached) $ECHO_C" >&6
3855 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
3856 then ac_cv_prog_fgrep
='grep -F'
3857 else ac_cv_prog_fgrep
='fgrep'
3860 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
3861 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
3862 FGREP
=$ac_cv_prog_fgrep
3865 test -z "$GREP" && GREP
=grep
3885 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3886 if test "${with_gnu_ld+set}" = set; then
3887 withval
="$with_gnu_ld"
3888 test "$withval" = no || with_gnu_ld
=yes
3893 if test "$GCC" = yes; then
3894 # Check if gcc -print-prog-name=ld gives a path.
3895 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3896 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3899 # gcc leaves a trailing carriage return which upsets mingw
3900 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3902 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3905 # Accept absolute paths.
3907 re_direlt
='/[^/][^/]*/\.\./'
3908 # Canonicalize the pathname of ld
3909 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3910 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
3911 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3913 test -z "$LD" && LD
="$ac_prog"
3916 # If it fails, then pretend we aren't using GCC.
3920 # If it is relative, then search for the first ld in PATH.
3924 elif test "$with_gnu_ld" = yes; then
3925 echo "$as_me:$LINENO: checking for GNU ld" >&5
3926 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3928 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3929 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3931 if test "${lt_cv_path_LD+set}" = set; then
3932 echo $ECHO_N "(cached) $ECHO_C" >&6
3934 if test -z "$LD"; then
3935 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3936 for ac_dir
in $PATH; do
3938 test -z "$ac_dir" && ac_dir
=.
3939 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3940 lt_cv_path_LD
="$ac_dir/$ac_prog"
3941 # Check to see if the program is GNU ld. I'd rather use --version,
3942 # but apparently some variants of GNU ld only accept -v.
3943 # Break only if it was the GNU/non-GNU ld that we prefer.
3944 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3945 *GNU
* |
*'with BFD'*)
3946 test "$with_gnu_ld" != no
&& break
3949 test "$with_gnu_ld" != yes && break
3956 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3961 if test -n "$LD"; then
3962 echo "$as_me:$LINENO: result: $LD" >&5
3963 echo "${ECHO_T}$LD" >&6
3965 echo "$as_me:$LINENO: result: no" >&5
3966 echo "${ECHO_T}no" >&6
3968 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3969 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3970 { (exit 1); exit 1; }; }
3971 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3972 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3973 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3974 echo $ECHO_N "(cached) $ECHO_C" >&6
3976 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3977 case `$LD -v 2>&1 </dev/null` in
3978 *GNU
* |
*'with BFD'*)
3979 lt_cv_prog_gnu_ld
=yes
3982 lt_cv_prog_gnu_ld
=no
3986 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3987 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3988 with_gnu_ld
=$lt_cv_prog_gnu_ld
3998 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
3999 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4000 if test "${lt_cv_path_NM+set}" = set; then
4001 echo $ECHO_N "(cached) $ECHO_C" >&6
4003 if test -n "$NM"; then
4004 # Let the user override the test.
4007 lt_nm_to_check
="${ac_tool_prefix}nm"
4008 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4009 lt_nm_to_check
="$lt_nm_to_check nm"
4011 for lt_tmp_nm
in $lt_nm_to_check; do
4012 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4013 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4015 test -z "$ac_dir" && ac_dir
=.
4016 tmp_nm
="$ac_dir/$lt_tmp_nm"
4017 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4018 # Check to see if the nm accepts a BSD-compat flag.
4019 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4020 # nm: unknown option "B" ignored
4021 # Tru64's nm complains that /dev/null is an invalid object file
4022 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4023 */dev
/null
* |
*'Invalid file or object type'*)
4024 lt_cv_path_NM
="$tmp_nm -B"
4028 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4030 lt_cv_path_NM
="$tmp_nm -p"
4034 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4035 continue # so that we can try to find one that supports BSD flags
4044 : ${lt_cv_path_NM=no}
4047 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4048 echo "${ECHO_T}$lt_cv_path_NM" >&6
4049 if test "$lt_cv_path_NM" != "no"; then
4052 # Didn't find any BSD compatible name lister, look for dumpbin.
4053 if test -n "$ac_tool_prefix"; then
4054 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4056 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4057 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4058 echo "$as_me:$LINENO: checking for $ac_word" >&5
4059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4060 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4061 echo $ECHO_N "(cached) $ECHO_C" >&6
4063 if test -n "$DUMPBIN"; then
4064 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4070 test -z "$as_dir" && as_dir
=.
4071 for ac_exec_ext
in '' $ac_executable_extensions; do
4072 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4073 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4082 DUMPBIN
=$ac_cv_prog_DUMPBIN
4083 if test -n "$DUMPBIN"; then
4084 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4085 echo "${ECHO_T}$DUMPBIN" >&6
4087 echo "$as_me:$LINENO: result: no" >&5
4088 echo "${ECHO_T}no" >&6
4091 test -n "$DUMPBIN" && break
4094 if test -z "$DUMPBIN"; then
4095 ac_ct_DUMPBIN
=$DUMPBIN
4096 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4098 # Extract the first word of "$ac_prog", so it can be a program name with args.
4099 set dummy
$ac_prog; ac_word
=$2
4100 echo "$as_me:$LINENO: checking for $ac_word" >&5
4101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4102 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4103 echo $ECHO_N "(cached) $ECHO_C" >&6
4105 if test -n "$ac_ct_DUMPBIN"; then
4106 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4112 test -z "$as_dir" && as_dir
=.
4113 for ac_exec_ext
in '' $ac_executable_extensions; do
4114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4115 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4124 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4125 if test -n "$ac_ct_DUMPBIN"; then
4126 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4127 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4133 test -n "$ac_ct_DUMPBIN" && break
4135 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
4137 DUMPBIN
=$ac_ct_DUMPBIN
4141 if test "$DUMPBIN" != ":"; then
4145 test -z "$NM" && NM
=nm
4152 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4153 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4154 if test "${lt_cv_nm_interface+set}" = set; then
4155 echo $ECHO_N "(cached) $ECHO_C" >&6
4157 lt_cv_nm_interface
="BSD nm"
4158 echo "int some_variable = 0;" > conftest.
$ac_ext
4159 (eval echo "\"\$as_me:4159: $ac_compile\"" >&5)
4160 (eval "$ac_compile" 2>conftest.err
)
4161 cat conftest.err
>&5
4162 (eval echo "\"\$as_me:4162: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4163 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4164 cat conftest.err
>&5
4165 (eval echo "\"\$as_me:4165: output\"" >&5)
4166 cat conftest.out
>&5
4167 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4168 lt_cv_nm_interface
="MS dumpbin"
4172 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4173 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4175 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4176 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4178 if test "$LN_S" = "ln -s"; then
4179 echo "$as_me:$LINENO: result: yes" >&5
4180 echo "${ECHO_T}yes" >&6
4182 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4183 echo "${ECHO_T}no, using $LN_S" >&6
4186 # find the maximum length of command line arguments
4187 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4188 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4189 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4190 echo $ECHO_N "(cached) $ECHO_C" >&6
4197 # On DJGPP, this test can blow up pretty badly due to problems in libc
4198 # (any single argument exceeding 2000 bytes causes a buffer overrun
4199 # during glob expansion). Even if it were fixed, the result of this
4200 # check would be larger than it should be.
4201 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4205 # Under GNU Hurd, this test is not required because there is
4206 # no limit to the length of command line arguments.
4207 # Libtool will interpret -1 as no limit whatsoever
4208 lt_cv_sys_max_cmd_len
=-1;
4211 cygwin
* | mingw
* | cegcc
*)
4212 # On Win9x/ME, this test blows up -- it succeeds, but takes
4213 # about 5 minutes as the teststring grows exponentially.
4214 # Worse, since 9x/ME are not pre-emptively multitasking,
4215 # you end up with a "frozen" computer, even though with patience
4216 # the test eventually succeeds (with a max line length of 256k).
4217 # Instead, let's just punt: use the minimum linelength reported by
4218 # all of the supported platforms: 8192 (on NT/2K/XP).
4219 lt_cv_sys_max_cmd_len
=8192;
4223 # On AmigaOS with pdksh, this test takes hours, literally.
4224 # So we just punt and use a minimum line length of 8192.
4225 lt_cv_sys_max_cmd_len
=8192;
4228 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4229 # This has been around since 386BSD, at least. Likely further.
4230 if test -x /sbin
/sysctl
; then
4231 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4232 elif test -x /usr
/sbin
/sysctl
; then
4233 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4235 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4237 # And add a safety zone
4238 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4239 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4243 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4244 lt_cv_sys_max_cmd_len
=196608
4248 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4249 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4250 # nice to cause kernel panics so lets avoid the loop below.
4251 # First set a reasonable default.
4252 lt_cv_sys_max_cmd_len
=16384
4254 if test -x /sbin
/sysconfig
; then
4255 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4256 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4261 lt_cv_sys_max_cmd_len
=102400
4263 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4264 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4265 if test -n "$kargmax"; then
4266 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4268 lt_cv_sys_max_cmd_len
=32768
4272 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4273 if test -n "$lt_cv_sys_max_cmd_len"; then
4274 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4275 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4277 # Make teststring a little bigger before we do anything with it.
4278 # a 1K string should be a reasonable start.
4279 for i
in 1 2 3 4 5 6 7 8 ; do
4280 teststring
=$teststring$teststring
4282 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4283 # If test is not a shell built-in, we'll probably end up computing a
4284 # maximum length that is only half of the actual maximum length, but
4286 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4287 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4288 test $i != 17 # 1/2 MB should be enough
4291 teststring
=$teststring$teststring
4293 # Only check the string length outside the loop.
4294 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4296 # Add a significant safety factor because C++ compilers can tack on
4297 # massive amounts of additional arguments before passing them to the
4298 # linker. It appears as though 1/2 is a usable value.
4299 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4306 if test -n $lt_cv_sys_max_cmd_len ; then
4307 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4308 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4310 echo "$as_me:$LINENO: result: none" >&5
4311 echo "${ECHO_T}none" >&6
4313 max_cmd_len
=$lt_cv_sys_max_cmd_len
4324 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4325 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4326 # Try some XSI features
4329 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4331 && eval 'test $(( 1 + 1 )) -eq 2 \
4332 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4334 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4335 echo "${ECHO_T}$xsi_shell" >&6
4338 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4339 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
4341 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4343 && lt_shell_append=yes
4344 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4345 echo "${ECHO_T}$lt_shell_append" >&6
4348 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4358 # test EBCDIC or ASCII
4359 case `echo X|tr X '\101'` in
4360 A) # ASCII based system
4361 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4362 lt_SP2NL='tr \040 \012'
4363 lt_NL2SP='tr \015\012 \040\040'
4365 *) # EBCDIC based system
4366 lt_SP2NL='tr \100 \n'
4367 lt_NL2SP='tr \r\n \100\100'
4379 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4380 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
4381 if test "${lt_cv_ld_reload_flag+set}" = set; then
4382 echo $ECHO_N "(cached
) $ECHO_C" >&6
4384 lt_cv_ld_reload_flag='-r'
4386 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4387 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4388 reload_flag=$lt_cv_ld_reload_flag
4389 case $reload_flag in
4391 *) reload_flag=" $reload_flag" ;;
4393 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4396 if test "$GCC" = yes; then
4397 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4399 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4412 if test -n "$ac_tool_prefix"; then
4413 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4414 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4415 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4416 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4417 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4418 echo $ECHO_N "(cached
) $ECHO_C" >&6
4420 if test -n "$OBJDUMP"; then
4421 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4427 test -z "$as_dir" && as_dir=.
4428 for ac_exec_ext in '' $ac_executable_extensions; do
4429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4430 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4431 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4439 OBJDUMP=$ac_cv_prog_OBJDUMP
4440 if test -n "$OBJDUMP"; then
4441 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
4442 echo "${ECHO_T}$OBJDUMP" >&6
4444 echo "$as_me:$LINENO: result
: no
" >&5
4445 echo "${ECHO_T}no
" >&6
4449 if test -z "$ac_cv_prog_OBJDUMP"; then
4450 ac_ct_OBJDUMP=$OBJDUMP
4451 # Extract the first word of "objdump
", so it can be a program name with args.
4452 set dummy objdump; ac_word=$2
4453 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4454 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4455 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4456 echo $ECHO_N "(cached
) $ECHO_C" >&6
4458 if test -n "$ac_ct_OBJDUMP"; then
4459 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4465 test -z "$as_dir" && as_dir=.
4466 for ac_exec_ext in '' $ac_executable_extensions; do
4467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4468 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4469 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4475 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false
"
4478 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4479 if test -n "$ac_ct_OBJDUMP"; then
4480 echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
4481 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4483 echo "$as_me:$LINENO: result
: no
" >&5
4484 echo "${ECHO_T}no
" >&6
4487 OBJDUMP=$ac_ct_OBJDUMP
4489 OBJDUMP="$ac_cv_prog_OBJDUMP"
4492 test -z "$OBJDUMP" && OBJDUMP=objdump
4502 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4503 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4504 if test "${lt_cv_deplibs_check_method+set}" = set; then
4505 echo $ECHO_N "(cached
) $ECHO_C" >&6
4507 lt_cv_file_magic_cmd='$MAGIC_CMD'
4508 lt_cv_file_magic_test_file=
4509 lt_cv_deplibs_check_method='unknown'
4510 # Need to set the preceding variable on all platforms that support
4511 # interlibrary dependencies.
4512 # 'none' -- dependencies not supported.
4513 # `unknown' -- same as none, but documents that we really don't know.
4514 # 'pass_all' -- all dependencies passed with no checks.
4515 # 'test_compile' -- check by making test program.
4516 # 'file_magic [[regex]]' -- check by looking for files in library path
4517 # which responds to the $file_magic_cmd with a given extended regex.
4518 # If you have `file' or equivalent on your system and you're not sure
4519 # whether `pass_all' will *always* work, you probably want this one.
4523 lt_cv_deplibs_check_method=pass_all
4527 lt_cv_deplibs_check_method=pass_all
4531 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4532 lt_cv_file_magic_cmd='/usr/bin/file -L'
4533 lt_cv_file_magic_test_file=/shlib/libc.so
4537 # func_win32_libid is a shell function defined in ltmain.sh
4538 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4539 lt_cv_file_magic_cmd='func_win32_libid'
4543 # Base MSYS/MinGW do not provide the 'file' command needed by
4544 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4545 # unless we find 'file', for example because we are cross-compiling.
4546 if ( file / ) >/dev/null 2>&1; then
4547 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4548 lt_cv_file_magic_cmd='func_win32_libid'
4550 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4551 lt_cv_file_magic_cmd='$OBJDUMP -f'
4556 # use the weaker test based on 'objdump'. See mingw*.
4557 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4558 lt_cv_file_magic_cmd='$OBJDUMP -f'
4561 darwin* | rhapsody*)
4562 lt_cv_deplibs_check_method=pass_all
4565 freebsd* | dragonfly*)
4566 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4569 # Not sure whether the presence of OpenBSD here was a mistake.
4570 # Let's accept both of them until this is cleared up.
4571 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4572 lt_cv_file_magic_cmd=/usr/bin/file
4573 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4577 lt_cv_deplibs_check_method=pass_all
4582 lt_cv_deplibs_check_method=pass_all
4585 hpux10.20* | hpux11*)
4586 lt_cv_file_magic_cmd=/usr/bin/file
4589 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4590 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4593 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4594 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4597 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4598 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4604 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4605 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4608 irix5* | irix6* | nonstopux*)
4610 *-32|*"-32 ") libmagic=32-bit;;
4611 *-n32|*"-n32 ") libmagic=N32;;
4612 *-64|*"-64 ") libmagic=64-bit;;
4613 *) libmagic=never-match;;
4615 lt_cv_deplibs_check_method=pass_all
4618 # This must be Linux ELF.
4619 linux* | k*bsd*-gnu)
4620 lt_cv_deplibs_check_method=pass_all
4624 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4625 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4627 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4632 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4633 lt_cv_file_magic_cmd=/usr/bin/file
4634 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4638 lt_cv_deplibs_check_method=pass_all
4642 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4643 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4645 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4649 osf3* | osf4* | osf5*)
4650 lt_cv_deplibs_check_method=pass_all
4654 lt_cv_deplibs_check_method=pass_all
4658 lt_cv_deplibs_check_method=pass_all
4661 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4662 lt_cv_deplibs_check_method=pass_all
4666 case $host_vendor in
4668 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]'
4669 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4672 lt_cv_deplibs_check_method=pass_all
4675 lt_cv_file_magic_cmd='/bin/file'
4676 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4679 lt_cv_file_magic_cmd='/bin/file'
4680 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4681 lt_cv_file_magic_test_file=/lib/libc.so
4684 lt_cv_deplibs_check_method=pass_all
4687 lt_cv_deplibs_check_method=pass_all
4693 lt_cv_deplibs_check_method=pass_all
4698 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4699 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4700 file_magic_cmd=$lt_cv_file_magic_cmd
4701 deplibs_check_method=$lt_cv_deplibs_check_method
4702 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4715 if test -n "$ac_tool_prefix"; then
4716 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4717 set dummy ${ac_tool_prefix}ar; ac_word=$2
4718 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4719 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4720 if test "${ac_cv_prog_AR+set}" = set; then
4721 echo $ECHO_N "(cached
) $ECHO_C" >&6
4723 if test -n "$AR"; then
4724 ac_cv_prog_AR="$AR" # Let the user override the test.
4726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4730 test -z "$as_dir" && as_dir=.
4731 for ac_exec_ext in '' $ac_executable_extensions; do
4732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4733 ac_cv_prog_AR="${ac_tool_prefix}ar"
4734 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4743 if test -n "$AR"; then
4744 echo "$as_me:$LINENO: result
: $AR" >&5
4745 echo "${ECHO_T}$AR" >&6
4747 echo "$as_me:$LINENO: result
: no
" >&5
4748 echo "${ECHO_T}no
" >&6
4752 if test -z "$ac_cv_prog_AR"; then
4754 # Extract the first word of "ar", so it can be a program name with args.
4755 set dummy ar; ac_word=$2
4756 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4757 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4758 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4759 echo $ECHO_N "(cached
) $ECHO_C" >&6
4761 if test -n "$ac_ct_AR"; then
4762 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4768 test -z "$as_dir" && as_dir=.
4769 for ac_exec_ext in '' $ac_executable_extensions; do
4770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4771 ac_cv_prog_ac_ct_AR="ar"
4772 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4778 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
4781 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4782 if test -n "$ac_ct_AR"; then
4783 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
4784 echo "${ECHO_T}$ac_ct_AR" >&6
4786 echo "$as_me:$LINENO: result
: no
" >&5
4787 echo "${ECHO_T}no
" >&6
4795 test -z "$AR" && AR=ar
4796 test -z "$AR_FLAGS" && AR_FLAGS=cru
4808 if test -n "$ac_tool_prefix"; then
4809 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
4810 set dummy ${ac_tool_prefix}strip; ac_word=$2
4811 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4812 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4813 if test "${ac_cv_prog_STRIP+set}" = set; then
4814 echo $ECHO_N "(cached
) $ECHO_C" >&6
4816 if test -n "$STRIP"; then
4817 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4823 test -z "$as_dir" && as_dir=.
4824 for ac_exec_ext in '' $ac_executable_extensions; do
4825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4826 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
4827 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4835 STRIP=$ac_cv_prog_STRIP
4836 if test -n "$STRIP"; then
4837 echo "$as_me:$LINENO: result
: $STRIP" >&5
4838 echo "${ECHO_T}$STRIP" >&6
4840 echo "$as_me:$LINENO: result
: no
" >&5
4841 echo "${ECHO_T}no
" >&6
4845 if test -z "$ac_cv_prog_STRIP"; then
4847 # Extract the first word of "strip
", so it can be a program name with args.
4848 set dummy strip; ac_word=$2
4849 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4850 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4851 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4852 echo $ECHO_N "(cached
) $ECHO_C" >&6
4854 if test -n "$ac_ct_STRIP"; then
4855 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4861 test -z "$as_dir" && as_dir=.
4862 for ac_exec_ext in '' $ac_executable_extensions; do
4863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4864 ac_cv_prog_ac_ct_STRIP="strip
"
4865 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4871 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4874 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4875 if test -n "$ac_ct_STRIP"; then
4876 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
4877 echo "${ECHO_T}$ac_ct_STRIP" >&6
4879 echo "$as_me:$LINENO: result
: no
" >&5
4880 echo "${ECHO_T}no
" >&6
4885 STRIP="$ac_cv_prog_STRIP"
4888 test -z "$STRIP" && STRIP=:
4895 if test -n "$ac_tool_prefix"; then
4896 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
4897 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4898 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4899 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4900 if test "${ac_cv_prog_RANLIB+set}" = set; then
4901 echo $ECHO_N "(cached
) $ECHO_C" >&6
4903 if test -n "$RANLIB"; then
4904 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4910 test -z "$as_dir" && as_dir=.
4911 for ac_exec_ext in '' $ac_executable_extensions; do
4912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4913 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
4914 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4922 RANLIB=$ac_cv_prog_RANLIB
4923 if test -n "$RANLIB"; then
4924 echo "$as_me:$LINENO: result
: $RANLIB" >&5
4925 echo "${ECHO_T}$RANLIB" >&6
4927 echo "$as_me:$LINENO: result
: no
" >&5
4928 echo "${ECHO_T}no
" >&6
4932 if test -z "$ac_cv_prog_RANLIB"; then
4933 ac_ct_RANLIB=$RANLIB
4934 # Extract the first word of "ranlib
", so it can be a program name with args.
4935 set dummy ranlib; ac_word=$2
4936 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4937 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4938 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4939 echo $ECHO_N "(cached
) $ECHO_C" >&6
4941 if test -n "$ac_ct_RANLIB"; then
4942 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4948 test -z "$as_dir" && as_dir=.
4949 for ac_exec_ext in '' $ac_executable_extensions; do
4950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4951 ac_cv_prog_ac_ct_RANLIB="ranlib
"
4952 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4958 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4961 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4962 if test -n "$ac_ct_RANLIB"; then
4963 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
4964 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4966 echo "$as_me:$LINENO: result
: no
" >&5
4967 echo "${ECHO_T}no
" >&6
4970 RANLIB=$ac_ct_RANLIB
4972 RANLIB="$ac_cv_prog_RANLIB"
4975 test -z "$RANLIB" && RANLIB=:
4982 # Determine commands to create old-style static archives.
4983 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
4984 old_postinstall_cmds='chmod 644 $oldlib'
4985 old_postuninstall_cmds=
4987 if test -n "$RANLIB"; then
4990 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
4993 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
4996 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5032 # If no C compiler was specified, use CC.
5035 # If no C compiler flags were specified, use CFLAGS.
5036 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5038 # Allow CC to be a program name with arguments.
5042 # Check for command to grab the raw symbol name followed by C symbol from nm.
5043 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5044 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
5045 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5046 echo $ECHO_N "(cached
) $ECHO_C" >&6
5049 # These are sane defaults that work on at least a few old systems.
5050 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5052 # Character class describing NM global symbol codes.
5053 symcode='[BCDEGRST]'
5055 # Regexp to match symbols that can be accessed directly from C.
5056 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5058 # Define system-specific variables.
5063 cygwin* | mingw* | pw32* | cegcc*)
5064 symcode='[ABCDGISTW]'
5067 if test "$host_cpu" = ia64; then
5068 symcode='[ABCDEGRST]'
5072 symcode='[BCDEGRST]'
5075 symcode='[BCDEGQRST]'
5086 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5094 # If we're using GNU nm, then use its standard symbol codes.
5095 case `$NM -V 2>&1` in
5096 *GNU* | *'with BFD'*)
5097 symcode='[ABCDGIRSTW]' ;;
5100 # Transform an extracted symbol line into a proper C declaration.
5101 # Some systems (esp. on ia64) link data and code symbols differently,
5102 # so use this general approach.
5103 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5105 # Transform an extracted symbol line into symbol name and symbol address
5106 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5107 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5109 # Handle CRLF in mingw tool chain
5113 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5117 # Try without a prefix underscore, then with it.
5118 for ac_symprfx in "" "_
"; do
5120 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5121 symxfrm="\\1 $ac_symprfx\\2 \\2"
5123 # Write the raw and C identifiers.
5124 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5125 # Fake it for dumpbin and say T for any non-static function
5126 # and D for any global variable.
5127 # Also find C++ and __fastcall symbols from MSVC++,
5128 # which start with @ or ?.
5129 lt_cv_sys_global_symbol_pipe="$AWK '"\
5130 " {last_section=section; section=\$ 3};"\
5131 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5132 " \$ 0!~/External *\|/{next};"\
5133 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5134 " {if(hide[section]) next};"\
5135 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5136 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5137 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5138 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5139 " ' prfx
=^
$ac_symprfx"
5141 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5144 # Check to see that the pipe works correctly.
5148 cat > conftest.$ac_ext <<_LT_EOF
5153 void nm_test_func(void);
5154 void nm_test_func(void){}
5158 int main(){nm_test_var='a';nm_test_func();return(0);}
5161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5162 (eval $ac_compile) 2>&5
5164 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5165 (exit $ac_status); }; then
5166 # Now try to grab the symbols.
5168 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5169 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5171 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5172 (exit $ac_status); } && test -s "$nlist"; then
5173 # Try sorting and uniquifying the output.
5174 if sort "$nlist" | uniq > "$nlist"T; then
5175 mv -f "$nlist"T "$nlist"
5180 # Make sure that we snagged all the symbols we need.
5181 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5182 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5183 cat <<_LT_EOF > conftest.$ac_ext
5189 # Now generate the symbol file.
5190 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5192 cat <<_LT_EOF >> conftest.$ac_ext
5194 /* The mapping between symbol names and symbols. */
5199 lt__PROGRAM__LTX_preloaded_symbols[] =
5201 { "@PROGRAM@
", (void *) 0 },
5203 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5204 cat <<\_LT_EOF >> conftest.$ac_ext
5208 /* This works around a problem in FreeBSD linker */
5209 #ifdef FREEBSD_WORKAROUND
5210 static const void *lt_preloaded_setup() {
5211 return lt__PROGRAM__LTX_preloaded_symbols;
5219 # Now try linking the two files.
5220 mv conftest.$ac_objext conftstm.$ac_objext
5221 lt_save_LIBS="$LIBS"
5222 lt_save_CFLAGS="$CFLAGS"
5223 LIBS="conftstm.
$ac_objext"
5224 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5226 (eval $ac_link) 2>&5
5228 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5229 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5232 LIBS="$lt_save_LIBS"
5233 CFLAGS="$lt_save_CFLAGS"
5235 echo "cannot
find nm_test_func
in $nlist" >&5
5238 echo "cannot
find nm_test_var
in $nlist" >&5
5241 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5244 echo "$progname: failed program was
:" >&5
5245 cat conftest.$ac_ext >&5
5247 rm -rf conftest* conftst*
5249 # Do not use the global_symbol_pipe unless it works.
5250 if test "$pipe_works" = yes; then
5253 lt_cv_sys_global_symbol_pipe=
5259 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5260 lt_cv_sys_global_symbol_to_cdecl=
5262 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5263 echo "$as_me:$LINENO: result
: failed
" >&5
5264 echo "${ECHO_T}failed
" >&6
5266 echo "$as_me:$LINENO: result
: ok
" >&5
5267 echo "${ECHO_T}ok
" >&6
5292 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5293 if test "${enable_libtool_lock+set}" = set; then
5294 enableval="$enable_libtool_lock"
5297 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5299 # Some flags need to be propagated to the compiler or linker for good
5303 # Find out which ABI we are using.
5304 echo 'int i;' > conftest.$ac_ext
5305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5306 (eval $ac_compile) 2>&5
5308 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5309 (exit $ac_status); }; then
5310 case `/usr/bin/file conftest.$ac_objext` in
5322 # Find out which ABI we are using.
5323 echo '#line 5323 "configure
"' > conftest.$ac_ext
5324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5325 (eval $ac_compile) 2>&5
5327 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5328 (exit $ac_status); }; then
5329 if test "$lt_cv_prog_gnu_ld" = yes; then
5330 case `/usr/bin/file conftest.$ac_objext` in
5332 LD="${LD-ld} -melf32bsmip"
5335 LD="${LD-ld} -melf32bmipn32"
5338 LD="${LD-ld} -melf64bmip"
5342 case `/usr/bin/file conftest.$ac_objext` in
5358 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5359 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5360 # Find out which ABI we are using.
5361 echo 'int i;' > conftest.$ac_ext
5362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5363 (eval $ac_compile) 2>&5
5365 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5366 (exit $ac_status); }; then
5367 case `/usr/bin/file conftest.o` in
5370 x86_64-*kfreebsd*-gnu)
5371 LD="${LD-ld} -m elf_i386_fbsd
"
5374 LD="${LD-ld} -m elf_i386
"
5376 ppc64-*linux*|powerpc64-*linux*)
5377 LD="${LD-ld} -m elf32ppclinux
"
5380 LD="${LD-ld} -m elf_s390
"
5383 LD="${LD-ld} -m elf32_sparc
"
5389 x86_64-*kfreebsd*-gnu)
5390 LD="${LD-ld} -m elf_x86_64_fbsd
"
5393 LD="${LD-ld} -m elf_x86_64
"
5395 ppc*-*linux*|powerpc*-*linux*)
5396 LD="${LD-ld} -m elf64ppc
"
5398 s390*-*linux*|s390*-*tpf*)
5399 LD="${LD-ld} -m elf64_s390
"
5402 LD="${LD-ld} -m elf64_sparc
"
5412 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5413 SAVE_CFLAGS="$CFLAGS"
5414 CFLAGS="$CFLAGS -belf"
5415 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5416 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
5417 if test "${lt_cv_cc_needs_belf+set}" = set; then
5418 echo $ECHO_N "(cached
) $ECHO_C" >&6
5421 ac_cpp='$CPP $CPPFLAGS'
5422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5426 cat >conftest.$ac_ext <<_ACEOF
5429 cat confdefs.h >>conftest.$ac_ext
5430 cat >>conftest.$ac_ext <<_ACEOF
5431 /* end confdefs.h. */
5441 rm -f conftest.$ac_objext conftest$ac_exeext
5442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5443 (eval $ac_link) 2>conftest.er1
5445 grep -v '^ *+' conftest.er1 >conftest.err
5447 cat conftest.err >&5
5448 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5449 (exit $ac_status); } &&
5450 { ac_try='test -z "$ac_c_werror_flag"
5451 || test ! -s conftest.err'
5452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5455 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5456 (exit $ac_status); }; } &&
5457 { ac_try='test -s conftest$ac_exeext'
5458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5461 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5462 (exit $ac_status); }; }; then
5463 lt_cv_cc_needs_belf=yes
5465 echo "$as_me: failed program was
:" >&5
5466 sed 's/^/| /' conftest.$ac_ext >&5
5468 lt_cv_cc_needs_belf=no
5470 rm -f conftest.err conftest.$ac_objext \
5471 conftest$ac_exeext conftest.$ac_ext
5473 ac_cpp='$CPP $CPPFLAGS'
5474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5479 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5480 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5481 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5482 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5483 CFLAGS="$SAVE_CFLAGS"
5487 # Find out which ABI we are using.
5488 echo 'int i;' > conftest.$ac_ext
5489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5490 (eval $ac_compile) 2>&5
5492 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5493 (exit $ac_status); }; then
5494 case `/usr/bin/file conftest.o` in
5496 case $lt_cv_prog_gnu_ld in
5497 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5499 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5511 need_locks="$enable_libtool_lock"
5515 rhapsody* | darwin*)
5516 if test -n "$ac_tool_prefix"; then
5517 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5518 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5519 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5520 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5521 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5522 echo $ECHO_N "(cached
) $ECHO_C" >&6
5524 if test -n "$DSYMUTIL"; then
5525 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5531 test -z "$as_dir" && as_dir=.
5532 for ac_exec_ext in '' $ac_executable_extensions; do
5533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5534 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5535 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5543 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5544 if test -n "$DSYMUTIL"; then
5545 echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
5546 echo "${ECHO_T}$DSYMUTIL" >&6
5548 echo "$as_me:$LINENO: result
: no
" >&5
5549 echo "${ECHO_T}no
" >&6
5553 if test -z "$ac_cv_prog_DSYMUTIL"; then
5554 ac_ct_DSYMUTIL=$DSYMUTIL
5555 # Extract the first word of "dsymutil
", so it can be a program name with args.
5556 set dummy dsymutil; ac_word=$2
5557 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5558 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5559 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5560 echo $ECHO_N "(cached
) $ECHO_C" >&6
5562 if test -n "$ac_ct_DSYMUTIL"; then
5563 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5569 test -z "$as_dir" && as_dir=.
5570 for ac_exec_ext in '' $ac_executable_extensions; do
5571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5572 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5573 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5579 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
5582 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5583 if test -n "$ac_ct_DSYMUTIL"; then
5584 echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
5585 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
5587 echo "$as_me:$LINENO: result
: no
" >&5
5588 echo "${ECHO_T}no
" >&6
5591 DSYMUTIL=$ac_ct_DSYMUTIL
5593 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5596 if test -n "$ac_tool_prefix"; then
5597 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
5598 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5599 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5600 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5601 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5602 echo $ECHO_N "(cached
) $ECHO_C" >&6
5604 if test -n "$NMEDIT"; then
5605 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5611 test -z "$as_dir" && as_dir=.
5612 for ac_exec_ext in '' $ac_executable_extensions; do
5613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5614 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
5615 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5623 NMEDIT=$ac_cv_prog_NMEDIT
5624 if test -n "$NMEDIT"; then
5625 echo "$as_me:$LINENO: result
: $NMEDIT" >&5
5626 echo "${ECHO_T}$NMEDIT" >&6
5628 echo "$as_me:$LINENO: result
: no
" >&5
5629 echo "${ECHO_T}no
" >&6
5633 if test -z "$ac_cv_prog_NMEDIT"; then
5634 ac_ct_NMEDIT=$NMEDIT
5635 # Extract the first word of "nmedit
", so it can be a program name with args.
5636 set dummy nmedit; ac_word=$2
5637 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5638 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5639 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5640 echo $ECHO_N "(cached
) $ECHO_C" >&6
5642 if test -n "$ac_ct_NMEDIT"; then
5643 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5649 test -z "$as_dir" && as_dir=.
5650 for ac_exec_ext in '' $ac_executable_extensions; do
5651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5652 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
5653 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5659 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
5662 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5663 if test -n "$ac_ct_NMEDIT"; then
5664 echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
5665 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
5667 echo "$as_me:$LINENO: result
: no
" >&5
5668 echo "${ECHO_T}no
" >&6
5671 NMEDIT=$ac_ct_NMEDIT
5673 NMEDIT="$ac_cv_prog_NMEDIT"
5676 if test -n "$ac_tool_prefix"; then
5677 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
5678 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5679 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5680 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5681 if test "${ac_cv_prog_LIPO+set}" = set; then
5682 echo $ECHO_N "(cached
) $ECHO_C" >&6
5684 if test -n "$LIPO"; then
5685 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691 test -z "$as_dir" && as_dir=.
5692 for ac_exec_ext in '' $ac_executable_extensions; do
5693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5694 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
5695 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5703 LIPO=$ac_cv_prog_LIPO
5704 if test -n "$LIPO"; then
5705 echo "$as_me:$LINENO: result
: $LIPO" >&5
5706 echo "${ECHO_T}$LIPO" >&6
5708 echo "$as_me:$LINENO: result
: no
" >&5
5709 echo "${ECHO_T}no
" >&6
5713 if test -z "$ac_cv_prog_LIPO"; then
5715 # Extract the first word of "lipo
", so it can be a program name with args.
5716 set dummy lipo; ac_word=$2
5717 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5718 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5719 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
5720 echo $ECHO_N "(cached
) $ECHO_C" >&6
5722 if test -n "$ac_ct_LIPO"; then
5723 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5729 test -z "$as_dir" && as_dir=.
5730 for ac_exec_ext in '' $ac_executable_extensions; do
5731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5732 ac_cv_prog_ac_ct_LIPO="lipo
"
5733 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5739 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
5742 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5743 if test -n "$ac_ct_LIPO"; then
5744 echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
5745 echo "${ECHO_T}$ac_ct_LIPO" >&6
5747 echo "$as_me:$LINENO: result
: no
" >&5
5748 echo "${ECHO_T}no
" >&6
5753 LIPO="$ac_cv_prog_LIPO"
5756 if test -n "$ac_tool_prefix"; then
5757 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
5758 set dummy ${ac_tool_prefix}otool; ac_word=$2
5759 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5760 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5761 if test "${ac_cv_prog_OTOOL+set}" = set; then
5762 echo $ECHO_N "(cached
) $ECHO_C" >&6
5764 if test -n "$OTOOL"; then
5765 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5771 test -z "$as_dir" && as_dir=.
5772 for ac_exec_ext in '' $ac_executable_extensions; do
5773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5774 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
5775 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5783 OTOOL=$ac_cv_prog_OTOOL
5784 if test -n "$OTOOL"; then
5785 echo "$as_me:$LINENO: result
: $OTOOL" >&5
5786 echo "${ECHO_T}$OTOOL" >&6
5788 echo "$as_me:$LINENO: result
: no
" >&5
5789 echo "${ECHO_T}no
" >&6
5793 if test -z "$ac_cv_prog_OTOOL"; then
5795 # Extract the first word of "otool
", so it can be a program name with args.
5796 set dummy otool; ac_word=$2
5797 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5798 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5799 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
5800 echo $ECHO_N "(cached
) $ECHO_C" >&6
5802 if test -n "$ac_ct_OTOOL"; then
5803 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
5805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5809 test -z "$as_dir" && as_dir=.
5810 for ac_exec_ext in '' $ac_executable_extensions; do
5811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5812 ac_cv_prog_ac_ct_OTOOL="otool
"
5813 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5819 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
5822 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
5823 if test -n "$ac_ct_OTOOL"; then
5824 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
5825 echo "${ECHO_T}$ac_ct_OTOOL" >&6
5827 echo "$as_me:$LINENO: result
: no
" >&5
5828 echo "${ECHO_T}no
" >&6
5833 OTOOL="$ac_cv_prog_OTOOL"
5836 if test -n "$ac_tool_prefix"; then
5837 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
5838 set dummy ${ac_tool_prefix}otool64; ac_word=$2
5839 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5840 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5841 if test "${ac_cv_prog_OTOOL64+set}" = set; then
5842 echo $ECHO_N "(cached
) $ECHO_C" >&6
5844 if test -n "$OTOOL64"; then
5845 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
5847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5851 test -z "$as_dir" && as_dir=.
5852 for ac_exec_ext in '' $ac_executable_extensions; do
5853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5854 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
5855 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5863 OTOOL64=$ac_cv_prog_OTOOL64
5864 if test -n "$OTOOL64"; then
5865 echo "$as_me:$LINENO: result
: $OTOOL64" >&5
5866 echo "${ECHO_T}$OTOOL64" >&6
5868 echo "$as_me:$LINENO: result
: no
" >&5
5869 echo "${ECHO_T}no
" >&6
5873 if test -z "$ac_cv_prog_OTOOL64"; then
5874 ac_ct_OTOOL64=$OTOOL64
5875 # Extract the first word of "otool64
", so it can be a program name with args.
5876 set dummy otool64; ac_word=$2
5877 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5878 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5879 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
5880 echo $ECHO_N "(cached
) $ECHO_C" >&6
5882 if test -n "$ac_ct_OTOOL64"; then
5883 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
5885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5889 test -z "$as_dir" && as_dir=.
5890 for ac_exec_ext in '' $ac_executable_extensions; do
5891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5892 ac_cv_prog_ac_ct_OTOOL64="otool64
"
5893 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5899 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
5902 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
5903 if test -n "$ac_ct_OTOOL64"; then
5904 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
5905 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
5907 echo "$as_me:$LINENO: result
: no
" >&5
5908 echo "${ECHO_T}no
" >&6
5911 OTOOL64=$ac_ct_OTOOL64
5913 OTOOL64="$ac_cv_prog_OTOOL64"
5942 echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
5943 echo $ECHO_N "checking
for -single_module linker flag...
$ECHO_C" >&6
5944 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
5945 echo $ECHO_N "(cached
) $ECHO_C" >&6
5947 lt_cv_apple_cc_single_mod=no
5948 if test -z "${LT_MULTI_MODULE}"; then
5949 # By default we will add the -single_module flag. You can override
5950 # by either setting the environment variable LT_MULTI_MODULE
5951 # non-empty at configure time, or by adding -multi_module to the
5953 rm -rf libconftest.dylib*
5954 echo "int foo
(void
){return 1;}" > conftest.c
5955 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5956 -dynamiclib -Wl,-single_module conftest.c
" >&5
5957 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5958 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
5960 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
5961 lt_cv_apple_cc_single_mod=yes
5963 cat conftest.err >&5
5965 rm -rf libconftest.dylib*
5969 echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
5970 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
5971 echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
5972 echo $ECHO_N "checking
for -exported_symbols_list linker flag...
$ECHO_C" >&6
5973 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
5974 echo $ECHO_N "(cached
) $ECHO_C" >&6
5976 lt_cv_ld_exported_symbols_list=no
5977 save_LDFLAGS=$LDFLAGS
5978 echo "_main
" > conftest.sym
5979 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
5980 cat >conftest.$ac_ext <<_ACEOF
5983 cat confdefs.h >>conftest.$ac_ext
5984 cat >>conftest.$ac_ext <<_ACEOF
5985 /* end confdefs.h. */
5995 rm -f conftest.$ac_objext conftest$ac_exeext
5996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5997 (eval $ac_link) 2>conftest.er1
5999 grep -v '^ *+' conftest.er1 >conftest.err
6001 cat conftest.err >&5
6002 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6003 (exit $ac_status); } &&
6004 { ac_try='test -z "$ac_c_werror_flag"
6005 || test ! -s conftest.err'
6006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6009 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6010 (exit $ac_status); }; } &&
6011 { ac_try='test -s conftest$ac_exeext'
6012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6015 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6016 (exit $ac_status); }; }; then
6017 lt_cv_ld_exported_symbols_list=yes
6019 echo "$as_me: failed program was
:" >&5
6020 sed 's/^/| /' conftest.$ac_ext >&5
6022 lt_cv_ld_exported_symbols_list=no
6024 rm -f conftest.err conftest.$ac_objext \
6025 conftest$ac_exeext conftest.$ac_ext
6026 LDFLAGS="$save_LDFLAGS"
6029 echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
6030 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
6032 rhapsody* | darwin1.[012])
6033 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6035 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6036 darwin*) # darwin 5.x on
6037 # if running on 10.5 or later, the deployment target defaults
6038 # to the OS version, if on x86, and 10.4, the deployment
6039 # target defaults to 10.4. Don't you love it?
6040 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6041 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6042 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6044 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6046 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6050 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6051 _lt_dar_single_mod='$single_module'
6053 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6054 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6056 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6058 if test "$DSYMUTIL" != ":"; then
6059 _lt_dsymutil='~$DSYMUTIL $lib || :'
6067 ac_cpp='$CPP $CPPFLAGS'
6068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6071 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
6072 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
6073 # On Suns, sometimes $CPP names a directory.
6074 if test -n "$CPP" && test -d "$CPP"; then
6077 if test -z "$CPP"; then
6078 if test "${ac_cv_prog_CPP+set}" = set; then
6079 echo $ECHO_N "(cached
) $ECHO_C" >&6
6081 # Double quotes because CPP needs to be expanded
6082 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6085 for ac_c_preproc_warn_flag in '' yes
6087 # Use a header file that comes with gcc, so configuring glibc
6088 # with a fresh cross-compiler works.
6089 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6090 # <limits.h> exists even on freestanding compilers.
6091 # On the NeXT, cc -E runs the code through the compiler's parser,
6092 # not just through cpp. "Syntax error
" is here to catch this case.
6093 cat >conftest.$ac_ext <<_ACEOF
6096 cat confdefs.h >>conftest.$ac_ext
6097 cat >>conftest.$ac_ext <<_ACEOF
6098 /* end confdefs.h. */
6100 # include <limits.h>
6102 # include <assert.h>
6106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6107 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6109 grep -v '^ *+' conftest.er1 >conftest.err
6111 cat conftest.err >&5
6112 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6113 (exit $ac_status); } >/dev/null; then
6114 if test -s conftest.err; then
6115 ac_cpp_err=$ac_c_preproc_warn_flag
6116 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6123 if test -z "$ac_cpp_err"; then
6126 echo "$as_me: failed program was
:" >&5
6127 sed 's/^/| /' conftest.$ac_ext >&5
6129 # Broken: fails on valid input.
6132 rm -f conftest.err conftest.$ac_ext
6134 # OK, works on sane cases. Now check whether non-existent headers
6135 # can be detected and how.
6136 cat >conftest.$ac_ext <<_ACEOF
6139 cat confdefs.h >>conftest.$ac_ext
6140 cat >>conftest.$ac_ext <<_ACEOF
6141 /* end confdefs.h. */
6142 #include <ac_nonexistent.h>
6144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6145 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6147 grep -v '^ *+' conftest.er1 >conftest.err
6149 cat conftest.err >&5
6150 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6151 (exit $ac_status); } >/dev/null; then
6152 if test -s conftest.err; then
6153 ac_cpp_err=$ac_c_preproc_warn_flag
6154 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6161 if test -z "$ac_cpp_err"; then
6162 # Broken: success on invalid input.
6165 echo "$as_me: failed program was
:" >&5
6166 sed 's/^/| /' conftest.$ac_ext >&5
6168 # Passes both tests.
6172 rm -f conftest.err conftest.$ac_ext
6175 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6176 rm -f conftest.err conftest.$ac_ext
6177 if $ac_preproc_ok; then
6189 echo "$as_me:$LINENO: result
: $CPP" >&5
6190 echo "${ECHO_T}$CPP" >&6
6192 for ac_c_preproc_warn_flag in '' yes
6194 # Use a header file that comes with gcc, so configuring glibc
6195 # with a fresh cross-compiler works.
6196 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6197 # <limits.h> exists even on freestanding compilers.
6198 # On the NeXT, cc -E runs the code through the compiler's parser,
6199 # not just through cpp. "Syntax error
" is here to catch this case.
6200 cat >conftest.$ac_ext <<_ACEOF
6203 cat confdefs.h >>conftest.$ac_ext
6204 cat >>conftest.$ac_ext <<_ACEOF
6205 /* end confdefs.h. */
6207 # include <limits.h>
6209 # include <assert.h>
6213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6214 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6216 grep -v '^ *+' conftest.er1 >conftest.err
6218 cat conftest.err >&5
6219 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6220 (exit $ac_status); } >/dev/null; then
6221 if test -s conftest.err; then
6222 ac_cpp_err=$ac_c_preproc_warn_flag
6223 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6230 if test -z "$ac_cpp_err"; then
6233 echo "$as_me: failed program was
:" >&5
6234 sed 's/^/| /' conftest.$ac_ext >&5
6236 # Broken: fails on valid input.
6239 rm -f conftest.err conftest.$ac_ext
6241 # OK, works on sane cases. Now check whether non-existent headers
6242 # can be detected and how.
6243 cat >conftest.$ac_ext <<_ACEOF
6246 cat confdefs.h >>conftest.$ac_ext
6247 cat >>conftest.$ac_ext <<_ACEOF
6248 /* end confdefs.h. */
6249 #include <ac_nonexistent.h>
6251 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6252 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6254 grep -v '^ *+' conftest.er1 >conftest.err
6256 cat conftest.err >&5
6257 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6258 (exit $ac_status); } >/dev/null; then
6259 if test -s conftest.err; then
6260 ac_cpp_err=$ac_c_preproc_warn_flag
6261 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6268 if test -z "$ac_cpp_err"; then
6269 # Broken: success on invalid input.
6272 echo "$as_me: failed program was
:" >&5
6273 sed 's/^/| /' conftest.$ac_ext >&5
6275 # Passes both tests.
6279 rm -f conftest.err conftest.$ac_ext
6282 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6283 rm -f conftest.err conftest.$ac_ext
6284 if $ac_preproc_ok; then
6287 { { echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
6288 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6289 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6290 See \`config.log' for more details.
" >&5
6291 echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
6292 See \
`config.log' for more details." >&2;}
6293 { (exit 1); exit 1; }; }; }
6297 ac_cpp='$CPP $CPPFLAGS'
6298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6303 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6304 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6305 if test "${ac_cv_header_stdc+set}" = set; then
6306 echo $ECHO_N "(cached) $ECHO_C" >&6
6308 cat >conftest.$ac_ext <<_ACEOF
6311 cat confdefs.h >>conftest.$ac_ext
6312 cat >>conftest.$ac_ext <<_ACEOF
6313 /* end confdefs.h. */
6327 rm -f conftest.$ac_objext
6328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6329 (eval $ac_compile) 2>conftest.er1
6331 grep -v '^ *+' conftest.er1 >conftest.err
6333 cat conftest.err >&5
6334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6335 (exit $ac_status); } &&
6336 { ac_try='test -z "$ac_c_werror_flag"
6337 || test ! -s conftest.err'
6338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342 (exit $ac_status); }; } &&
6343 { ac_try='test -s conftest.$ac_objext'
6344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348 (exit $ac_status); }; }; then
6349 ac_cv_header_stdc=yes
6351 echo "$as_me: failed program was:" >&5
6352 sed 's/^/| /' conftest.$ac_ext >&5
6354 ac_cv_header_stdc=no
6356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6358 if test $ac_cv_header_stdc = yes; then
6359 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6360 cat >conftest.$ac_ext <<_ACEOF
6363 cat confdefs.h >>conftest.$ac_ext
6364 cat >>conftest.$ac_ext <<_ACEOF
6365 /* end confdefs.h. */
6369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6370 $EGREP "memchr" >/dev/null 2>&1; then
6373 ac_cv_header_stdc=no
6379 if test $ac_cv_header_stdc = yes; then
6380 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6381 cat >conftest.$ac_ext <<_ACEOF
6384 cat confdefs.h >>conftest.$ac_ext
6385 cat >>conftest.$ac_ext <<_ACEOF
6386 /* end confdefs.h. */
6390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6391 $EGREP "free" >/dev/null 2>&1; then
6394 ac_cv_header_stdc=no
6400 if test $ac_cv_header_stdc = yes; then
6401 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6402 if test "$cross_compiling" = yes; then
6405 cat >conftest.$ac_ext <<_ACEOF
6408 cat confdefs.h >>conftest.$ac_ext
6409 cat >>conftest.$ac_ext <<_ACEOF
6410 /* end confdefs.h. */
6412 #if ((' ' & 0x0FF) == 0x020)
6413 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6414 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6416 # define ISLOWER(c) \
6417 (('a' <= (c) && (c) <= 'i') \
6418 || ('j' <= (c) && (c) <= 'r') \
6419 || ('s' <= (c) && (c) <= 'z'))
6420 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6423 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6428 for (i = 0; i < 256; i++)
6429 if (XOR (islower (i), ISLOWER (i))
6430 || toupper (i) != TOUPPER (i))
6435 rm -f conftest$ac_exeext
6436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6437 (eval $ac_link) 2>&5
6439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6445 (exit $ac_status); }; }; then
6448 echo "$as_me: program exited with status $ac_status" >&5
6449 echo "$as_me: failed program was:" >&5
6450 sed 's/^/| /' conftest.$ac_ext >&5
6453 ac_cv_header_stdc=no
6455 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6459 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6460 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6461 if test $ac_cv_header_stdc = yes; then
6463 cat >>confdefs.h <<\_ACEOF
6464 #define STDC_HEADERS 1
6469 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6479 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6480 inttypes.h stdint.h unistd.h
6482 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6483 echo "$as_me:$LINENO: checking for $ac_header" >&5
6484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6486 echo $ECHO_N "(cached) $ECHO_C" >&6
6488 cat >conftest.$ac_ext <<_ACEOF
6491 cat confdefs.h >>conftest.$ac_ext
6492 cat >>conftest.$ac_ext <<_ACEOF
6493 /* end confdefs.h. */
6494 $ac_includes_default
6496 #include <$ac_header>
6498 rm -f conftest.$ac_objext
6499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6500 (eval $ac_compile) 2>conftest.er1
6502 grep -v '^ *+' conftest.er1 >conftest.err
6504 cat conftest.err >&5
6505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506 (exit $ac_status); } &&
6507 { ac_try='test -z "$ac_c_werror_flag"
6508 || test ! -s conftest.err'
6509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6513 (exit $ac_status); }; } &&
6514 { ac_try='test -s conftest.$ac_objext'
6515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519 (exit $ac_status); }; }; then
6520 eval "$as_ac_Header=yes"
6522 echo "$as_me: failed program was:" >&5
6523 sed 's/^/| /' conftest.$ac_ext >&5
6525 eval "$as_ac_Header=no"
6527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6532 cat >>confdefs.h <<_ACEOF
6533 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6542 for ac_header in dlfcn.h
6544 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6545 echo "$as_me:$LINENO: checking for $ac_header" >&5
6546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6548 echo $ECHO_N "(cached) $ECHO_C" >&6
6550 cat >conftest.$ac_ext <<_ACEOF
6553 cat confdefs.h >>conftest.$ac_ext
6554 cat >>conftest.$ac_ext <<_ACEOF
6555 /* end confdefs.h. */
6556 $ac_includes_default
6558 #include <$ac_header>
6560 rm -f conftest.$ac_objext
6561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6562 (eval $ac_compile) 2>conftest.er1
6564 grep -v '^ *+' conftest.er1 >conftest.err
6566 cat conftest.err >&5
6567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568 (exit $ac_status); } &&
6569 { ac_try='test -z "$ac_c_werror_flag"
6570 || test ! -s conftest.err'
6571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575 (exit $ac_status); }; } &&
6576 { ac_try='test -s conftest.$ac_objext'
6577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581 (exit $ac_status); }; }; then
6582 eval "$as_ac_Header=yes"
6584 echo "$as_me: failed program was:" >&5
6585 sed 's/^/| /' conftest.$ac_ext >&5
6587 eval "$as_ac_Header=no"
6589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6594 cat >>confdefs.h <<_ACEOF
6595 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6614 # Check whether --enable-shared or --disable-shared was given.
6615 if test "${enable_shared+set}" = set; then
6616 enableval="$enable_shared"
6617 p=${PACKAGE-default}
6619 yes) enable_shared=yes ;;
6620 no) enable_shared=no ;;
6623 # Look at the argument we got. We use all the common list separators.
6624 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6625 for pkg in $enableval; do
6627 if test "X$pkg" = "X$p"; then
6645 # Check whether --enable-static or --disable-static was given.
6646 if test "${enable_static+set}" = set; then
6647 enableval="$enable_static"
6648 p=${PACKAGE-default}
6650 yes) enable_static=yes ;;
6651 no) enable_static=no ;;
6654 # Look at the argument we got. We use all the common list separators.
6655 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6656 for pkg in $enableval; do
6658 if test "X$pkg" = "X$p"; then
6677 # Check whether --with-pic or --without-pic was given.
6678 if test "${with_pic+set}" = set; then
6685 test -z "$pic_mode" && pic_mode=default
6693 # Check whether --enable-fast-install or --disable-fast-install was given.
6694 if test "${enable_fast_install+set}" = set; then
6695 enableval="$enable_fast_install"
6696 p=${PACKAGE-default}
6698 yes) enable_fast_install=yes ;;
6699 no) enable_fast_install=no ;;
6701 enable_fast_install=no
6702 # Look at the argument we got. We use all the common list separators.
6703 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6704 for pkg in $enableval; do
6706 if test "X$pkg" = "X$p"; then
6707 enable_fast_install=yes
6714 enable_fast_install=yes
6726 # This can be used to rebuild libtool when needed
6727 LIBTOOL_DEPS="$ltmain"
6729 # Always use our own libtool.
6730 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6756 test -z "$LN_S" && LN_S="ln -s"
6771 if test -n "${ZSH_VERSION+set}" ; then
6772 setopt NO_GLOB_SUBST
6775 echo "$as_me:$LINENO: checking for objdir" >&5
6776 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6777 if test "${lt_cv_objdir+set}" = set; then
6778 echo $ECHO_N "(cached) $ECHO_C" >&6
6780 rm -f .libs 2>/dev/null
6781 mkdir .libs 2>/dev/null
6782 if test -d .libs; then
6785 # MS-DOS does not allow filenames that begin with a dot.
6788 rmdir .libs 2>/dev/null
6790 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6791 echo "${ECHO_T}$lt_cv_objdir" >&6
6792 objdir=$lt_cv_objdir
6798 cat >>confdefs.h <<_ACEOF
6799 #define LT_OBJDIR "$lt_cv_objdir/"
6820 # AIX sometimes has problems with the GCC collect2 program. For some
6821 # reason, if we set the COLLECT_NAMES environment variable, the problems
6822 # vanish in a puff of smoke.
6823 if test "X${COLLECT_NAMES+set}" != Xset; then
6825 export COLLECT_NAMES
6830 # Sed substitution that helps us do robust quoting. It backslashifies
6831 # metacharacters that are still active within double-quoted strings.
6832 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6834 # Same as above, but do not quote variable references.
6835 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6837 # Sed substitution to delay expansion of an escaped shell variable in a
6838 # double_quote_subst'ed string.
6839 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6841 # Sed substitution to delay expansion of an escaped single quote.
6842 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6844 # Sed substitution to avoid accidental globbing in evaled expressions
6845 no_glob_subst='s/\*/\\\*/g'
6849 can_build_shared=yes
6851 # All known linkers require a `.a' archive for static linking (except MSVC,
6852 # which needs '.lib').
6855 with_gnu_ld="$lt_cv_prog_gnu_ld"
6858 old_CFLAGS="$CFLAGS"
6860 # Set sane defaults for various variables
6861 test -z "$CC" && CC=cc
6862 test -z "$LTCC" && LTCC=$CC
6863 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6864 test -z "$LD" && LD=ld
6865 test -z "$ac_objext" && ac_objext=o
6867 for cc_temp in $compiler""; do
6869 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6870 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6875 cc_basename=`$ECHO "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
6878 # Only perform the check for file, if the check method requires it
6879 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6880 case $deplibs_check_method in
6882 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6883 echo "$as_me:$LINENO: checking
for ${ac_tool_prefix}file" >&5
6884 echo $ECHO_N "checking
for ${ac_tool_prefix}file...
$ECHO_C" >&6
6885 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6886 echo $ECHO_N "(cached
) $ECHO_C" >&6
6890 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6893 lt_save_MAGIC_CMD="$MAGIC_CMD"
6894 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6895 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
6896 for ac_dir in $ac_dummy; do
6898 test -z "$ac_dir" && ac_dir=.
6899 if test -f $ac_dir/${ac_tool_prefix}file; then
6900 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6901 if test -n "$file_magic_test_file"; then
6902 case $deplibs_check_method in
6904 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
6905 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6906 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6907 $EGREP "$file_magic_regex" > /dev/null; then
6912 *** Warning: the command libtool uses to detect shared libraries,
6913 *** $file_magic_cmd, produces output that libtool cannot recognize.
6914 *** The result is that libtool may fail to recognize shared libraries
6915 *** as such. This will affect the creation of libtool libraries that
6916 *** depend on shared libraries, but programs linked with such libtool
6917 *** libraries will work regardless of this problem. Nevertheless, you
6918 *** may want to report the problem to your system manager and/or to
6919 *** bug-libtool@gnu.org
6929 MAGIC_CMD="$lt_save_MAGIC_CMD"
6934 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6935 if test -n "$MAGIC_CMD"; then
6936 echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
6937 echo "${ECHO_T}$MAGIC_CMD" >&6
6939 echo "$as_me:$LINENO: result
: no
" >&5
6940 echo "${ECHO_T}no
" >&6
6947 if test -z "$lt_cv_path_MAGIC_CMD"; then
6948 if test -n "$ac_tool_prefix"; then
6949 echo "$as_me:$LINENO: checking
for file" >&5
6950 echo $ECHO_N "checking
for file...
$ECHO_C" >&6
6951 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6952 echo $ECHO_N "(cached
) $ECHO_C" >&6
6956 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6959 lt_save_MAGIC_CMD="$MAGIC_CMD"
6960 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6961 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
6962 for ac_dir in $ac_dummy; do
6964 test -z "$ac_dir" && ac_dir=.
6965 if test -f $ac_dir/file; then
6966 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6967 if test -n "$file_magic_test_file"; then
6968 case $deplibs_check_method in
6970 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
6971 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6972 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6973 $EGREP "$file_magic_regex" > /dev/null; then
6978 *** Warning: the command libtool uses to detect shared libraries,
6979 *** $file_magic_cmd, produces output that libtool cannot recognize.
6980 *** The result is that libtool may fail to recognize shared libraries
6981 *** as such. This will affect the creation of libtool libraries that
6982 *** depend on shared libraries, but programs linked with such libtool
6983 *** libraries will work regardless of this problem. Nevertheless, you
6984 *** may want to report the problem to your system manager and/or to
6985 *** bug-libtool@gnu.org
6995 MAGIC_CMD="$lt_save_MAGIC_CMD"
7000 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7001 if test -n "$MAGIC_CMD"; then
7002 echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
7003 echo "${ECHO_T}$MAGIC_CMD" >&6
7005 echo "$as_me:$LINENO: result
: no
" >&5
7006 echo "${ECHO_T}no
" >&6
7019 # Use C for the default configuration in the libtool script
7023 ac_cpp='$CPP $CPPFLAGS'
7024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7029 # Source file extension for C test sources.
7032 # Object file extension for compiled C test sources.
7036 # Code to be used in simple compile tests
7037 lt_simple_compile_test_code="int some_variable
= 0;"
7039 # Code to be used in simple link tests
7040 lt_simple_link_test_code='int main(){return(0);}'
7048 # If no C compiler was specified, use CC.
7051 # If no C compiler flags were specified, use CFLAGS.
7052 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7054 # Allow CC to be a program name with arguments.
7057 # Save the default compiler, since it gets overwritten when the other
7058 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7059 compiler_DEFAULT=$CC
7061 # save warnings/boilerplate of simple test code
7062 ac_outfile=conftest.$ac_objext
7063 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7064 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7065 _lt_compiler_boilerplate=`cat conftest.err`
7068 ac_outfile=conftest.$ac_objext
7069 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7070 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7071 _lt_linker_boilerplate=`cat conftest.err`
7076 ## There is no encapsulation within the following macros, do not change
7077 ## the running order or otherwise move them around unless you know exactly
7078 ## what you are doing...
7079 if test -n "$compiler"; then
7081 lt_prog_compiler_no_builtin_flag=
7083 if test "$GCC" = yes; then
7084 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7086 echo "$as_me:$LINENO: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
7087 echo $ECHO_N "checking
if $compiler supports
-fno-rtti -fno-exceptions...
$ECHO_C" >&6
7088 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7089 echo $ECHO_N "(cached
) $ECHO_C" >&6
7091 lt_cv_prog_compiler_rtti_exceptions=no
7092 ac_outfile=conftest.$ac_objext
7093 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7094 lt_compiler_flag="-fno-rtti -fno-exceptions"
7095 # Insert the option either (1) after the last *FLAGS variable, or
7096 # (2) before a word containing "conftest.
", or (3) at the end.
7097 # Note that $ac_compile itself does not contain backslashes and begins
7098 # with a dollar sign (not a hyphen), so the echo should work correctly.
7099 # The option is referenced via a variable to avoid confusing sed.
7100 lt_compile=`echo "$ac_compile" | $SED \
7101 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7102 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7103 -e 's:$: $lt_compiler_flag:'`
7104 (eval echo "\"\
$as_me:7104: $lt_compile\"" >&5)
7105 (eval "$lt_compile" 2>conftest.err)
7107 cat conftest.err >&5
7108 echo "$as_me:7108: \$?
= $ac_status" >&5
7109 if (exit $ac_status) && test -s "$ac_outfile"; then
7110 # The compiler can only warn and ignore the option if not recognized
7111 # So say no if there are warnings other than the usual output.
7112 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7113 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7114 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7115 lt_cv_prog_compiler_rtti_exceptions=yes
7121 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
7122 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7124 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7125 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7137 lt_prog_compiler_wl=
7138 lt_prog_compiler_pic=
7139 lt_prog_compiler_static=
7141 echo "$as_me:$LINENO: checking
for $compiler option to produce PIC
" >&5
7142 echo $ECHO_N "checking
for $compiler option to produce PIC...
$ECHO_C" >&6
7144 if test "$GCC" = yes; then
7145 lt_prog_compiler_wl='-Wl,'
7146 lt_prog_compiler_static='-static'
7150 # All AIX code is PIC.
7151 if test "$host_cpu" = ia64; then
7152 # AIX 5 now supports IA64 processor
7153 lt_prog_compiler_static='-Bstatic'
7160 # see comment about AmigaOS4 .so support
7161 lt_prog_compiler_pic='-fPIC'
7164 # FIXME: we need at least 68020 code to build shared libraries, but
7165 # adding the `-m68020' flag to GCC prevents building anything better,
7167 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7172 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7173 # PIC is the default for these OSes.
7176 mingw* | cygwin* | pw32* | os2* | cegcc*)
7177 # This hack is so that the source file can tell whether it is being
7178 # built for inclusion in a dll (and should export symbols for example).
7179 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7180 # (--disable-auto-import) libraries
7181 lt_prog_compiler_pic='-DDLL_EXPORT'
7184 darwin* | rhapsody*)
7185 # PIC is the default on this platform
7186 # Common symbols not allowed in MH_DYLIB files
7187 lt_prog_compiler_pic='-fno-common'
7191 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7192 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7193 # sets the default TLS model and affects inlining.
7199 lt_prog_compiler_pic='-fPIC'
7205 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7206 # Instead, we relocate shared libraries at runtime.
7210 # Just because we use GCC doesn't mean we suddenly get shared libraries
7211 # on systems that don't support them.
7212 lt_prog_compiler_can_build_shared=no
7217 # QNX uses GNU C++, but need to define -shared option too, otherwise
7219 lt_prog_compiler_pic='-fPIC -shared'
7223 if test -d /usr/nec; then
7224 lt_prog_compiler_pic=-Kconform_pic
7229 lt_prog_compiler_pic='-fPIC'
7233 # PORTME Check for flag to pass linker flags through the system compiler.
7236 lt_prog_compiler_wl='-Wl,'
7237 if test "$host_cpu" = ia64; then
7238 # AIX 5 now supports IA64 processor
7239 lt_prog_compiler_static='-Bstatic'
7241 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7245 mingw* | cygwin* | pw32* | os2* | cegcc*)
7246 # This hack is so that the source file can tell whether it is being
7247 # built for inclusion in a dll (and should export symbols for example).
7248 lt_prog_compiler_pic='-DDLL_EXPORT'
7251 hpux9* | hpux10* | hpux11*)
7252 lt_prog_compiler_wl='-Wl,'
7253 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7260 lt_prog_compiler_pic='+Z'
7263 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7264 lt_prog_compiler_static='${wl}-a ${wl}archive'
7267 irix5* | irix6* | nonstopux*)
7268 lt_prog_compiler_wl='-Wl,'
7269 # PIC (with -KPIC) is the default.
7270 lt_prog_compiler_static='-non_shared'
7273 linux* | k*bsd*-gnu)
7274 case $cc_basename in
7275 # old Intel for x86_64 which still supported -KPIC.
7277 lt_prog_compiler_wl='-Wl,'
7278 lt_prog_compiler_pic='-KPIC'
7279 lt_prog_compiler_static='-static'
7281 # icc used to be incompatible with GCC.
7282 # ICC 10 doesn't accept -KPIC any more.
7284 lt_prog_compiler_wl='-Wl,'
7285 lt_prog_compiler_pic='-fPIC'
7286 lt_prog_compiler_static='-static'
7288 # Lahey Fortran 8.1.
7290 lt_prog_compiler_wl='-Wl,'
7291 lt_prog_compiler_pic='--shared'
7292 lt_prog_compiler_static='--static'
7294 pgcc* | pgf77* | pgf90* | pgf95*)
7295 # Portland Group compilers (*not* the Pentium gcc compiler,
7296 # which looks to be a dead project)
7297 lt_prog_compiler_wl='-Wl,'
7298 lt_prog_compiler_pic='-fpic'
7299 lt_prog_compiler_static='-Bstatic'
7302 lt_prog_compiler_wl='-Wl,'
7303 # All Alpha code is PIC.
7304 lt_prog_compiler_static='-non_shared'
7307 # IBM XL C 8.0/Fortran 10.1 on PPC
7308 lt_prog_compiler_wl='-Wl,'
7309 lt_prog_compiler_pic='-qpic'
7310 lt_prog_compiler_static='-qstaticlink'
7313 case `$CC -V 2>&1 | sed 5q` in
7316 lt_prog_compiler_pic='-KPIC'
7317 lt_prog_compiler_static='-Bstatic'
7318 lt_prog_compiler_wl='-Wl,'
7321 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7322 lt_prog_compiler_pic='-KPIC'
7323 lt_prog_compiler_static='-Bstatic'
7324 lt_prog_compiler_wl=''
7332 lt_prog_compiler_pic='-KPIC'
7333 lt_prog_compiler_static='-Bstatic'
7337 # QNX uses GNU C++, but need to define -shared option too, otherwise
7339 lt_prog_compiler_pic='-fPIC -shared'
7342 osf3* | osf4* | osf5*)
7343 lt_prog_compiler_wl='-Wl,'
7344 # All OSF/1 code is PIC.
7345 lt_prog_compiler_static='-non_shared'
7349 lt_prog_compiler_static='-non_shared'
7353 lt_prog_compiler_pic='-KPIC'
7354 lt_prog_compiler_static='-Bstatic'
7355 case $cc_basename in
7357 lt_prog_compiler_wl='-Qoption ld ';;
7359 lt_prog_compiler_wl='-Wl,';;
7364 lt_prog_compiler_wl='-Qoption ld '
7365 lt_prog_compiler_pic='-PIC'
7366 lt_prog_compiler_static='-Bstatic'
7369 sysv4 | sysv4.2uw2* | sysv4.3*)
7370 lt_prog_compiler_wl='-Wl,'
7371 lt_prog_compiler_pic='-KPIC'
7372 lt_prog_compiler_static='-Bstatic'
7376 if test -d /usr/nec ;then
7377 lt_prog_compiler_pic='-Kconform_pic'
7378 lt_prog_compiler_static='-Bstatic'
7382 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7383 lt_prog_compiler_wl='-Wl,'
7384 lt_prog_compiler_pic='-KPIC'
7385 lt_prog_compiler_static='-Bstatic'
7389 lt_prog_compiler_wl='-Wl,'
7390 lt_prog_compiler_can_build_shared=no
7394 lt_prog_compiler_pic='-pic'
7395 lt_prog_compiler_static='-Bstatic'
7399 lt_prog_compiler_can_build_shared=no
7405 # For platforms which do not support PIC, -DPIC is meaningless:
7407 lt_prog_compiler_pic=
7410 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7413 echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic" >&5
7414 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7422 # Check to make sure the PIC flag actually works.
7424 if test -n "$lt_prog_compiler_pic"; then
7425 echo "$as_me:$LINENO: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
7426 echo $ECHO_N "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
$ECHO_C" >&6
7427 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7428 echo $ECHO_N "(cached
) $ECHO_C" >&6
7430 lt_cv_prog_compiler_pic_works=no
7431 ac_outfile=conftest.$ac_objext
7432 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7433 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7434 # Insert the option either (1) after the last *FLAGS variable, or
7435 # (2) before a word containing "conftest.
", or (3) at the end.
7436 # Note that $ac_compile itself does not contain backslashes and begins
7437 # with a dollar sign (not a hyphen), so the echo should work correctly.
7438 # The option is referenced via a variable to avoid confusing sed.
7439 lt_compile=`echo "$ac_compile" | $SED \
7440 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7441 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7442 -e 's:$: $lt_compiler_flag:'`
7443 (eval echo "\"\
$as_me:7443: $lt_compile\"" >&5)
7444 (eval "$lt_compile" 2>conftest.err)
7446 cat conftest.err >&5
7447 echo "$as_me:7447: \$?
= $ac_status" >&5
7448 if (exit $ac_status) && test -s "$ac_outfile"; then
7449 # The compiler can only warn and ignore the option if not recognized
7450 # So say no if there are warnings other than the usual output.
7451 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7452 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7453 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7454 lt_cv_prog_compiler_pic_works=yes
7460 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_pic_works" >&5
7461 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
7463 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7464 case $lt_prog_compiler_pic in
7466 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7469 lt_prog_compiler_pic=
7470 lt_prog_compiler_can_build_shared=no
7481 # Check to make sure the static flag actually works.
7483 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7484 echo "$as_me:$LINENO: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
7485 echo $ECHO_N "checking
if $compiler static flag
$lt_tmp_static_flag works...
$ECHO_C" >&6
7486 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7487 echo $ECHO_N "(cached
) $ECHO_C" >&6
7489 lt_cv_prog_compiler_static_works=no
7490 save_LDFLAGS="$LDFLAGS"
7491 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7492 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7493 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7494 # The linker can only warn and ignore the option if not recognized
7495 # So say no if there are warnings
7496 if test -s conftest.err; then
7497 # Append any errors to the config.log.
7498 cat conftest.err 1>&5
7499 $ECHO "X
$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7500 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7501 if diff conftest.exp conftest.er2 >/dev/null; then
7502 lt_cv_prog_compiler_static_works=yes
7505 lt_cv_prog_compiler_static_works=yes
7509 LDFLAGS="$save_LDFLAGS"
7512 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_static_works" >&5
7513 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
7515 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7518 lt_prog_compiler_static=
7527 echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
7528 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6
7529 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7530 echo $ECHO_N "(cached
) $ECHO_C" >&6
7532 lt_cv_prog_compiler_c_o=no
7533 $RM -r conftest 2>/dev/null
7537 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7539 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
7540 # Insert the option either (1) after the last *FLAGS variable, or
7541 # (2) before a word containing "conftest.
", or (3) at the end.
7542 # Note that $ac_compile itself does not contain backslashes and begins
7543 # with a dollar sign (not a hyphen), so the echo should work correctly.
7544 lt_compile=`echo "$ac_compile" | $SED \
7545 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7546 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7547 -e 's:$: $lt_compiler_flag:'`
7548 (eval echo "\"\
$as_me:7548: $lt_compile\"" >&5)
7549 (eval "$lt_compile" 2>out/conftest.err)
7551 cat out/conftest.err >&5
7552 echo "$as_me:7552: \$?
= $ac_status" >&5
7553 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7555 # The compiler can only warn and ignore the option if not recognized
7556 # So say no if there are warnings
7557 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7558 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7559 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7560 lt_cv_prog_compiler_c_o=yes
7565 # SGI C++ compiler will create directory out/ii_files/ for
7566 # template instantiation
7567 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7568 $RM out/* && rmdir out
7574 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
7575 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7582 echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
7583 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6
7584 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7585 echo $ECHO_N "(cached
) $ECHO_C" >&6
7587 lt_cv_prog_compiler_c_o=no
7588 $RM -r conftest 2>/dev/null
7592 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7594 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
7595 # Insert the option either (1) after the last *FLAGS variable, or
7596 # (2) before a word containing "conftest.
", or (3) at the end.
7597 # Note that $ac_compile itself does not contain backslashes and begins
7598 # with a dollar sign (not a hyphen), so the echo should work correctly.
7599 lt_compile=`echo "$ac_compile" | $SED \
7600 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7601 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7602 -e 's:$: $lt_compiler_flag:'`
7603 (eval echo "\"\
$as_me:7603: $lt_compile\"" >&5)
7604 (eval "$lt_compile" 2>out/conftest.err)
7606 cat out/conftest.err >&5
7607 echo "$as_me:7607: \$?
= $ac_status" >&5
7608 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7610 # The compiler can only warn and ignore the option if not recognized
7611 # So say no if there are warnings
7612 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7613 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7614 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7615 lt_cv_prog_compiler_c_o=yes
7620 # SGI C++ compiler will create directory out/ii_files/ for
7621 # template instantiation
7622 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7623 $RM out/* && rmdir out
7629 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
7630 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7635 hard_links="nottested
"
7636 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7637 # do not overwrite the value of need_locks provided by the user
7638 echo "$as_me:$LINENO: checking
if we can lock with hard links
" >&5
7639 echo $ECHO_N "checking
if we can lock with hard links...
$ECHO_C" >&6
7642 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7644 ln conftest.a conftest.b 2>&5 || hard_links=no
7645 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7646 echo "$as_me:$LINENO: result
: $hard_links" >&5
7647 echo "${ECHO_T}$hard_links" >&6
7648 if test "$hard_links" = no; then
7649 { echo "$as_me:$LINENO: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
7650 echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
7662 echo "$as_me:$LINENO: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
7663 echo $ECHO_N "checking whether the
$compiler linker
($LD) supports shared libraries...
$ECHO_C" >&6
7666 allow_undefined_flag=
7667 always_export_symbols=no
7669 archive_expsym_cmds=
7670 compiler_needs_object=no
7671 enable_shared_with_static_runtimes=no
7672 export_dynamic_flag_spec=
7673 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7674 hardcode_automatic=no
7676 hardcode_direct_absolute=no
7677 hardcode_libdir_flag_spec=
7678 hardcode_libdir_flag_spec_ld=
7679 hardcode_libdir_separator=
7681 hardcode_shlibpath_var=unsupported
7683 link_all_deplibs=unknown
7686 old_archive_from_new_cmds=
7687 old_archive_from_expsyms_cmds=
7688 thread_safe_flag_spec=
7689 whole_archive_flag_spec=
7690 # include_expsyms should be a list of space-separated symbols to be *always*
7691 # included in the symbol list
7693 # exclude_expsyms can be an extended regexp of symbols to exclude
7694 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7695 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7696 # as well as any symbol that contains `d'.
7697 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7698 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7699 # platforms (ab)use it in PIC code, but their linkers get confused if
7700 # the symbol is explicitly referenced. Since portable code cannot
7701 # rely on this symbol name, it's probably fine to never include it in
7702 # preloaded symbol tables.
7703 # Exclude shared library initialization/finalization symbols.
7704 extract_expsyms_cmds=
7707 cygwin* | mingw* | pw32* | cegcc*)
7708 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7709 # When not using gcc, we currently assume that we are using
7710 # Microsoft Visual C++.
7711 if test "$GCC" != yes; then
7716 # we just hope/assume this is gcc and not c89 (= MSVC++)
7725 if test "$with_gnu_ld" = yes; then
7726 # If archive_cmds runs LD, not CC, wlarc should be empty
7729 # Set some defaults for GNU ld with shared library support. These
7730 # are reset later if shared libraries are not supported. Putting them
7731 # here allows them to be overridden if necessary.
7732 runpath_var=LD_RUN_PATH
7733 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7734 export_dynamic_flag_spec='${wl}--export-dynamic'
7735 # ancient GNU ld didn't support --whole-archive et. al.
7736 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7737 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7739 whole_archive_flag_spec=
7741 supports_anon_versioning=no
7742 case `$LD -v 2>&1` in
7743 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7744 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7745 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7746 *\ 2.11.*) ;; # other 2.11 versions
7747 *) supports_anon_versioning=yes ;;
7750 # See if GNU ld supports shared libraries.
7753 # On AIX/PPC, the GNU linker is very broken
7754 if test "$host_cpu" != ia64; then
7758 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7759 *** to be unable to reliably create shared libraries on AIX.
7760 *** Therefore, libtool is disabling shared libraries support. If you
7761 *** really care for shared libraries, you may want to modify your PATH
7762 *** so that a non-GNU linker is found, and then restart.
7771 # see comment about AmigaOS4 .so support
7772 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7773 archive_expsym_cmds=''
7776 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7777 hardcode_libdir_flag_spec
='-L$libdir'
7778 hardcode_minus_L
=yes
7784 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7785 allow_undefined_flag
=unsupported
7786 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7787 # support --undefined. This deserves some investigation. FIXME
7788 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7794 cygwin
* | mingw
* | pw32
* | cegcc
*)
7795 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7796 # as there is no search path for DLLs.
7797 hardcode_libdir_flag_spec
='-L$libdir'
7798 allow_undefined_flag
=unsupported
7799 always_export_symbols
=no
7800 enable_shared_with_static_runtimes
=yes
7801 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7803 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7804 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7805 # If the export-symbols file already is a .def file (1st line
7806 # is EXPORTS), use it as is; otherwise, prepend...
7807 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7808 cp $export_symbols $output_objdir/$soname.def;
7810 echo EXPORTS > $output_objdir/$soname.def;
7811 cat $export_symbols >> $output_objdir/$soname.def;
7813 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7821 hardcode_shlibpath_var
=no
7822 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7823 export_dynamic_flag_spec
='${wl}-E'
7824 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7825 # Instead, shared libraries are loaded at an image base (0x10000000 by
7826 # default) and relocated if they conflict, which is a slow very memory
7827 # consuming and fragmenting process. To avoid this, we pick a random,
7828 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7829 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7830 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7831 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7834 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7836 if test "$host_os" = linux-dietlibc
; then
7837 case $cc_basename in
7838 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7841 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7842 && test "$tmp_diet" = no
7845 tmp_sharedflag
='-shared'
7846 case $cc_basename,$host_cpu in
7847 pgcc
*) # Portland Group C compiler
7848 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7849 tmp_addflag
=' $pic_flag'
7851 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7852 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7853 tmp_addflag
=' $pic_flag -Mnomain' ;;
7854 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7855 tmp_addflag
=' -i_dynamic' ;;
7856 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7857 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7858 ifc
* | ifort
*) # Intel Fortran compiler
7859 tmp_addflag
=' -nofor_main' ;;
7860 lf95
*) # Lahey Fortran 8.1
7861 whole_archive_flag_spec
=
7862 tmp_sharedflag
='--shared' ;;
7863 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7864 tmp_sharedflag
='-qmkshrobj'
7867 case `$CC -V 2>&1 | sed 5q` in
7868 *Sun\ C
*) # Sun C 5.9
7869 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7870 compiler_needs_object
=yes
7871 tmp_sharedflag
='-G' ;;
7872 *Sun\ F
*) # Sun Fortran 8.3
7873 tmp_sharedflag
='-G' ;;
7875 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7877 if test "x$supports_anon_versioning" = xyes
; then
7878 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7879 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7880 echo "local: *; };" >> $output_objdir/$libname.ver~
7881 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7884 case $cc_basename in
7886 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7887 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7888 hardcode_libdir_flag_spec
=
7889 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7890 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7891 if test "x$supports_anon_versioning" = xyes
; then
7892 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7893 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7894 echo "local: *; };" >> $output_objdir/$libname.ver~
7895 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7905 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7906 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7909 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7910 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7915 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7919 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7920 *** create shared libraries on Solaris systems. Therefore, libtool
7921 *** is disabling shared libraries support. We urge you to upgrade GNU
7922 *** binutils to release 2.9.1 or newer. Another option is to modify
7923 *** your PATH or compiler configuration so that the native linker is
7924 *** used, and then restart.
7927 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7928 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7929 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7935 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7936 case `$LD -v 2>&1` in
7937 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7941 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7942 *** reliably create shared libraries on SCO systems. Therefore, libtool
7943 *** is disabling shared libraries support. We urge you to upgrade GNU
7944 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7945 *** your PATH or compiler configuration so that the native linker is
7946 *** used, and then restart.
7951 # For security reasons, it is highly recommended that you always
7952 # use absolute paths for naming shared libraries, and exclude the
7953 # DT_RUNPATH tag from executables and libraries. But doing so
7954 # requires that you compile everything twice, which is a pain.
7955 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7956 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7957 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7958 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7967 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7970 hardcode_shlibpath_var
=no
7974 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7975 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7976 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7983 if test "$ld_shlibs" = no
; then
7985 hardcode_libdir_flag_spec
=
7986 export_dynamic_flag_spec
=
7987 whole_archive_flag_spec
=
7990 # PORTME fill in a description of your system's linker (not GNU ld)
7993 allow_undefined_flag
=unsupported
7994 always_export_symbols
=yes
7995 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
7996 # Note: this linker hardcodes the directories in LIBPATH if there
7997 # are no directories specified by -L.
7998 hardcode_minus_L
=yes
7999 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8000 # Neither direct hardcoding nor static linking is supported with a
8002 hardcode_direct
=unsupported
8007 if test "$host_cpu" = ia64
; then
8008 # On IA64, the linker does run time linking by default, so we don't
8009 # have to do anything special.
8010 aix_use_runtimelinking
=no
8011 exp_sym_flag
='-Bexport'
8014 # If we're using GNU nm, then we don't want the "-C" option.
8015 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8016 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8017 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8019 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8021 aix_use_runtimelinking
=no
8023 # Test if we are trying to use run time linking or normal
8024 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8025 # need to do runtime linking.
8026 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8027 for ld_flag
in $LDFLAGS; do
8028 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8029 aix_use_runtimelinking
=yes
8036 exp_sym_flag
='-bexport'
8037 no_entry_flag
='-bnoentry'
8040 # When large executables or shared objects are built, AIX ld can
8041 # have problems creating the table of contents. If linking a library
8042 # or program results in "error TOC overflow" add -mminimal-toc to
8043 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8044 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8048 hardcode_direct_absolute
=yes
8049 hardcode_libdir_separator
=':'
8050 link_all_deplibs
=yes
8051 file_list_spec
='${wl}-f,'
8053 if test "$GCC" = yes; then
8054 case $host_os in aix4.
[012]|aix4.
[012].
*)
8055 # We only want to do this on AIX 4.2 and lower, the check
8056 # below for broken collect2 doesn't work under 4.3+
8057 collect2name
=`${CC} -print-prog-name=collect2`
8058 if test -f "$collect2name" &&
8059 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8061 # We have reworked collect2
8064 # We have old collect2
8065 hardcode_direct
=unsupported
8066 # It fails to find uninstalled libraries when the uninstalled
8067 # path is not listed in the libpath. Setting hardcode_minus_L
8068 # to unsupported forces relinking
8069 hardcode_minus_L
=yes
8070 hardcode_libdir_flag_spec
='-L$libdir'
8071 hardcode_libdir_separator
=
8075 shared_flag
='-shared'
8076 if test "$aix_use_runtimelinking" = yes; then
8077 shared_flag
="$shared_flag "'${wl}-G'
8081 if test "$host_cpu" = ia64
; then
8082 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8083 # chokes on -Wl,-G. The following line is correct:
8086 if test "$aix_use_runtimelinking" = yes; then
8087 shared_flag
='${wl}-G'
8089 shared_flag
='${wl}-bM:SRE'
8094 export_dynamic_flag_spec
='${wl}-bexpall'
8095 # It seems that -bexpall does not export symbols beginning with
8096 # underscore (_), so it is better to generate a list of symbols to export.
8097 always_export_symbols
=yes
8098 if test "$aix_use_runtimelinking" = yes; then
8099 # Warning - without using the other runtime loading flags (-brtl),
8100 # -berok will link without error, but may produce a broken library.
8101 allow_undefined_flag
='-berok'
8102 # Determine the default libpath from the value encoded in an
8104 cat >conftest.
$ac_ext <<_ACEOF
8107 cat confdefs.h
>>conftest.
$ac_ext
8108 cat >>conftest.
$ac_ext <<_ACEOF
8109 /* end confdefs.h. */
8119 rm -f conftest.
$ac_objext conftest
$ac_exeext
8120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8121 (eval $ac_link) 2>conftest.er1
8123 grep -v '^ *+' conftest.er1
>conftest.err
8125 cat conftest.err
>&5
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); } &&
8128 { ac_try
='test -z "$ac_c_werror_flag"
8129 || test ! -s conftest.err'
8130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8134 (exit $ac_status); }; } &&
8135 { ac_try
='test -s conftest$ac_exeext'
8136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140 (exit $ac_status); }; }; then
8142 lt_aix_libpath_sed
='
8143 /Import File Strings/,/^$/ {
8149 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8150 # Check for a 64-bit object if we didn't find anything.
8151 if test -z "$aix_libpath"; then
8152 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8155 echo "$as_me: failed program was:" >&5
8156 sed 's/^/| /' conftest.
$ac_ext >&5
8159 rm -f conftest.err conftest.
$ac_objext \
8160 conftest
$ac_exeext conftest.
$ac_ext
8161 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8163 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8164 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8166 if test "$host_cpu" = ia64
; then
8167 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8168 allow_undefined_flag
="-z nodefs"
8169 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8171 # Determine the default libpath from the value encoded in an
8173 cat >conftest.
$ac_ext <<_ACEOF
8176 cat confdefs.h
>>conftest.
$ac_ext
8177 cat >>conftest.
$ac_ext <<_ACEOF
8178 /* end confdefs.h. */
8188 rm -f conftest.
$ac_objext conftest
$ac_exeext
8189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8190 (eval $ac_link) 2>conftest.er1
8192 grep -v '^ *+' conftest.er1
>conftest.err
8194 cat conftest.err
>&5
8195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8196 (exit $ac_status); } &&
8197 { ac_try
='test -z "$ac_c_werror_flag"
8198 || test ! -s conftest.err'
8199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8203 (exit $ac_status); }; } &&
8204 { ac_try
='test -s conftest$ac_exeext'
8205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8209 (exit $ac_status); }; }; then
8211 lt_aix_libpath_sed
='
8212 /Import File Strings/,/^$/ {
8218 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8219 # Check for a 64-bit object if we didn't find anything.
8220 if test -z "$aix_libpath"; then
8221 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8224 echo "$as_me: failed program was:" >&5
8225 sed 's/^/| /' conftest.
$ac_ext >&5
8228 rm -f conftest.err conftest.
$ac_objext \
8229 conftest
$ac_exeext conftest.
$ac_ext
8230 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8232 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8233 # Warning - without using the other run time loading flags,
8234 # -berok will link without error, but may produce a broken library.
8235 no_undefined_flag
=' ${wl}-bernotok'
8236 allow_undefined_flag
=' ${wl}-berok'
8237 # Exported symbols can be pulled into shared objects from archives
8238 whole_archive_flag_spec
='$convenience'
8239 archive_cmds_need_lc
=yes
8240 # This is similar to how AIX traditionally builds its shared libraries.
8241 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8249 # see comment about AmigaOS4 .so support
8250 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8251 archive_expsym_cmds
=''
8254 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8255 hardcode_libdir_flag_spec
='-L$libdir'
8256 hardcode_minus_L
=yes
8262 export_dynamic_flag_spec
=-rdynamic
8265 cygwin
* | mingw
* | pw32
* | cegcc
*)
8266 # When not using gcc, we currently assume that we are using
8267 # Microsoft Visual C++.
8268 # hardcode_libdir_flag_spec is actually meaningless, as there is
8269 # no search path for DLLs.
8270 hardcode_libdir_flag_spec
=' '
8271 allow_undefined_flag
=unsupported
8272 # Tell ltmain to make .lib files, not .a files.
8274 # Tell ltmain to make .dll files, not .so files.
8276 # FIXME: Setting linknames here is a bad hack.
8277 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8278 # The linker will automatically build a .lib file if we build a DLL.
8279 old_archive_from_new_cmds
='true'
8280 # FIXME: Should let the user specify the lib program.
8281 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8282 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8283 enable_shared_with_static_runtimes
=yes
8286 darwin
* | rhapsody
*)
8289 archive_cmds_need_lc
=no
8291 hardcode_automatic
=yes
8292 hardcode_shlibpath_var
=unsupported
8293 whole_archive_flag_spec
=''
8294 link_all_deplibs
=yes
8295 allow_undefined_flag
="$_lt_dar_allow_undefined"
8296 case $cc_basename in
8297 ifort
*) _lt_dar_can_shared
=yes ;;
8298 *) _lt_dar_can_shared
=$GCC ;;
8300 if test "$_lt_dar_can_shared" = "yes"; then
8301 output_verbose_link_cmd
=echo
8302 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8303 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8304 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8305 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8314 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8315 hardcode_libdir_flag_spec
='-L$libdir'
8316 hardcode_shlibpath_var
=no
8323 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8324 # support. Future versions do this automatically, but an explicit c++rt0.o
8325 # does not break anything, and helps significantly (at the cost of a little
8328 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8329 hardcode_libdir_flag_spec
='-R$libdir'
8331 hardcode_shlibpath_var
=no
8334 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8336 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8338 hardcode_minus_L
=yes
8339 hardcode_shlibpath_var
=no
8342 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8343 freebsd
* | dragonfly
*)
8344 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8345 hardcode_libdir_flag_spec
='-R$libdir'
8347 hardcode_shlibpath_var
=no
8351 if test "$GCC" = yes; then
8352 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8354 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8356 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8357 hardcode_libdir_separator
=:
8360 # hardcode_minus_L: Not really in the search PATH,
8361 # but as the default location of the library.
8362 hardcode_minus_L
=yes
8363 export_dynamic_flag_spec
='${wl}-E'
8367 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8368 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8370 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8372 if test "$with_gnu_ld" = no
; then
8373 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8374 hardcode_libdir_flag_spec_ld
='+b $libdir'
8375 hardcode_libdir_separator
=:
8377 hardcode_direct_absolute
=yes
8378 export_dynamic_flag_spec
='${wl}-E'
8379 # hardcode_minus_L: Not really in the search PATH,
8380 # but as the default location of the library.
8381 hardcode_minus_L
=yes
8386 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8389 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8392 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8395 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8401 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8404 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8407 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8411 if test "$with_gnu_ld" = no
; then
8412 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8413 hardcode_libdir_separator
=:
8418 hardcode_shlibpath_var
=no
8422 hardcode_direct_absolute
=yes
8423 export_dynamic_flag_spec
='${wl}-E'
8425 # hardcode_minus_L: Not really in the search PATH,
8426 # but as the default location of the library.
8427 hardcode_minus_L
=yes
8433 irix5
* | irix6
* | nonstopux
*)
8434 if test "$GCC" = yes; then
8435 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8436 # Try to use the -exported_symbol ld option, if it does not
8437 # work, assume that -exports_file does not work either and
8438 # implicitly export all symbols.
8439 save_LDFLAGS
="$LDFLAGS"
8440 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8441 cat >conftest.
$ac_ext <<_ACEOF
8444 rm -f conftest.
$ac_objext conftest
$ac_exeext
8445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8446 (eval $ac_link) 2>conftest.er1
8448 grep -v '^ *+' conftest.er1
>conftest.err
8450 cat conftest.err
>&5
8451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); } &&
8453 { ac_try
='test -z "$ac_c_werror_flag"
8454 || test ! -s conftest.err'
8455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8459 (exit $ac_status); }; } &&
8460 { ac_try
='test -s conftest$ac_exeext'
8461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8465 (exit $ac_status); }; }; then
8466 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8469 echo "$as_me: failed program was:" >&5
8470 sed 's/^/| /' conftest.
$ac_ext >&5
8473 rm -f conftest.err conftest.
$ac_objext \
8474 conftest
$ac_exeext conftest.
$ac_ext
8475 LDFLAGS
="$save_LDFLAGS"
8477 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8478 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8480 archive_cmds_need_lc
='no'
8481 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8482 hardcode_libdir_separator
=:
8484 link_all_deplibs
=yes
8488 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8489 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8491 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8493 hardcode_libdir_flag_spec
='-R$libdir'
8495 hardcode_shlibpath_var
=no
8499 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8501 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8502 hardcode_libdir_separator
=:
8503 hardcode_shlibpath_var
=no
8510 if test -f /usr
/libexec
/ld.so
; then
8512 hardcode_shlibpath_var
=no
8513 hardcode_direct_absolute
=yes
8514 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8515 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8516 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8517 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8518 export_dynamic_flag_spec
='${wl}-E'
8521 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8522 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8523 hardcode_libdir_flag_spec
='-R$libdir'
8526 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8527 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8537 hardcode_libdir_flag_spec
='-L$libdir'
8538 hardcode_minus_L
=yes
8539 allow_undefined_flag
=unsupported
8540 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8541 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8545 if test "$GCC" = yes; then
8546 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8547 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8549 allow_undefined_flag
=' -expect_unresolved \*'
8550 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8552 archive_cmds_need_lc
='no'
8553 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8554 hardcode_libdir_separator
=:
8557 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8558 if test "$GCC" = yes; then
8559 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8560 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8561 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8563 allow_undefined_flag
=' -expect_unresolved \*'
8564 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8565 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8566 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8568 # Both c and cxx compiler support -rpath directly
8569 hardcode_libdir_flag_spec
='-rpath $libdir'
8571 archive_cmds_need_lc
='no'
8572 hardcode_libdir_separator
=:
8576 no_undefined_flag
=' -z defs'
8577 if test "$GCC" = yes; then
8579 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8580 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8581 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8583 case `$CC -V 2>&1` in
8586 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8587 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8588 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8592 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8593 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8594 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8598 hardcode_libdir_flag_spec
='-R$libdir'
8599 hardcode_shlibpath_var
=no
8601 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8603 # The compiler driver will combine and reorder linker options,
8604 # but understands `-z linker_flag'. GCC discards it without `$wl',
8605 # but is careful enough not to reorder.
8606 # Supported since Solaris 2.6 (maybe 2.5.1?)
8607 if test "$GCC" = yes; then
8608 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8610 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8614 link_all_deplibs
=yes
8618 if test "x$host_vendor" = xsequent
; then
8619 # Use $CC to link under sequent, because it throws in some extra .o
8620 # files that make .init and .fini sections work.
8621 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8623 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8625 hardcode_libdir_flag_spec
='-L$libdir'
8627 hardcode_minus_L
=yes
8628 hardcode_shlibpath_var
=no
8632 case $host_vendor in
8634 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8635 hardcode_direct
=yes # is this really true???
8638 ## LD is ld it makes a PLAMLIB
8639 ## CC just makes a GrossModule.
8640 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8641 reload_cmds
='$CC -r -o $output$reload_objs'
8645 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8646 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8649 runpath_var
='LD_RUN_PATH'
8650 hardcode_shlibpath_var
=no
8654 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8655 hardcode_shlibpath_var
=no
8656 export_dynamic_flag_spec
='-Bexport'
8660 if test -d /usr
/nec
; then
8661 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8662 hardcode_shlibpath_var
=no
8663 runpath_var
=LD_RUN_PATH
8664 hardcode_runpath_var
=yes
8669 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8670 no_undefined_flag
='${wl}-z,text'
8671 archive_cmds_need_lc
=no
8672 hardcode_shlibpath_var
=no
8673 runpath_var
='LD_RUN_PATH'
8675 if test "$GCC" = yes; then
8676 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8677 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8679 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8680 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8684 sysv5
* | sco3.2v5
* | sco5v6
*)
8685 # Note: We can NOT use -z defs as we might desire, because we do not
8686 # link with -lc, and that would cause any symbols used from libc to
8687 # always be unresolved, which means just about no library would
8688 # ever link correctly. If we're not using GNU ld we use -z text
8689 # though, which does catch some bad symbols but isn't as heavy-handed
8691 no_undefined_flag
='${wl}-z,text'
8692 allow_undefined_flag
='${wl}-z,nodefs'
8693 archive_cmds_need_lc
=no
8694 hardcode_shlibpath_var
=no
8695 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8696 hardcode_libdir_separator
=':'
8697 link_all_deplibs
=yes
8698 export_dynamic_flag_spec
='${wl}-Bexport'
8699 runpath_var
='LD_RUN_PATH'
8701 if test "$GCC" = yes; then
8702 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8703 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8705 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8706 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8711 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8712 hardcode_libdir_flag_spec
='-L$libdir'
8713 hardcode_shlibpath_var
=no
8721 if test x
$host_vendor = xsni
; then
8723 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8724 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8730 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8731 echo "${ECHO_T}$ld_shlibs" >&6
8732 test "$ld_shlibs" = no
&& can_build_shared
=no
8734 with_gnu_ld
=$with_gnu_ld
8751 # Do we need to explicitly link libc?
8753 case "x$archive_cmds_need_lc" in
8755 # Assume -lc should be added
8756 archive_cmds_need_lc
=yes
8758 if test "$enable_shared" = yes && test "$GCC" = yes; then
8759 case $archive_cmds in
8761 # FIXME: we may have to deal with multi-command sequences.
8764 # Test whether the compiler implicitly links with -lc since on some
8765 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8766 # to ld, don't add -lc before -lgcc.
8767 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8768 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8770 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8773 (eval $ac_compile) 2>&5
8775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8776 (exit $ac_status); } 2>conftest.err
; then
8779 libobjs
=conftest.
$ac_objext
8781 wl
=$lt_prog_compiler_wl
8782 pic_flag
=$lt_prog_compiler_pic
8788 lt_save_allow_undefined_flag
=$allow_undefined_flag
8789 allow_undefined_flag
=
8790 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8791 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8794 (exit $ac_status); }
8796 archive_cmds_need_lc
=no
8798 archive_cmds_need_lc
=yes
8800 allow_undefined_flag
=$lt_save_allow_undefined_flag
8802 cat conftest.err
1>&5
8805 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8806 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8969 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8970 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8972 if test "$GCC" = yes; then
8974 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8975 *) lt_awk_arg
="/^libraries:/" ;;
8977 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8978 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8979 # if the path contains ";" then we assume it to be the separator
8980 # otherwise default to the standard path separator (i.e. ":") - it is
8981 # assumed that no part of a normal pathname contains ";" but that should
8982 # okay in the real world where ";" in dirpaths is itself problematic.
8983 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8985 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8987 # Ok, now we have the path, separated by spaces, we can step through it
8988 # and add multilib dir if necessary.
8989 lt_tmp_lt_search_path_spec
=
8990 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8991 for lt_sys_path
in $lt_search_path_spec; do
8992 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8993 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8995 test -d "$lt_sys_path" && \
8996 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8999 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9000 BEGIN {RS=" "; FS="/|\n";} {
9003 for (lt_i = NF; lt_i > 0; lt_i--) {
9004 if ($lt_i != "" && $lt_i != ".") {
9005 if ($lt_i == "..") {
9008 if (lt_count == 0) {
9009 lt_foo="/" $lt_i lt_foo;
9016 if (lt_foo != "") { lt_freq[lt_foo]++; }
9017 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9019 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9021 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9024 libname_spec
='lib$name'
9032 shlibpath_overrides_runpath
=unknown
9034 dynamic_linker
="$host_os ld.so"
9035 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9036 need_lib_prefix
=unknown
9037 hardcode_into_libs
=no
9039 # when you set need_version to no, make sure it does not cause -set_version
9040 # flags to be left without arguments
9041 need_version
=unknown
9046 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9047 shlibpath_var
=LIBPATH
9049 # AIX 3 has no versioning support, so we append a major version to the name.
9050 soname_spec
='${libname}${release}${shared_ext}$major'
9057 hardcode_into_libs
=yes
9058 if test "$host_cpu" = ia64
; then
9059 # AIX 5 supports IA64
9060 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9061 shlibpath_var
=LD_LIBRARY_PATH
9063 # With GCC up to 2.95.x, collect2 would create an import file
9064 # for dependence libraries. The import file would start with
9065 # the line `#! .'. This would cause the generated library to
9066 # depend on `.', always an invalid library. This was fixed in
9067 # development snapshots of GCC prior to 3.0.
9069 aix4 | aix4.
[01] | aix4.
[01].
*)
9070 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9072 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9079 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9080 # soname into executable. Probably we can add versioning support to
9081 # collect2, so additional links can be useful in future.
9082 if test "$aix_use_runtimelinking" = yes; then
9083 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9084 # instead of lib<name>.a to let people know that these are not
9085 # typical AIX shared libraries.
9086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9088 # We preserve .a as extension for shared libraries through AIX4.2
9089 # and later when we are not doing run time linking.
9090 library_names_spec
='${libname}${release}.a $libname.a'
9091 soname_spec
='${libname}${release}${shared_ext}$major'
9093 shlibpath_var
=LIBPATH
9100 # Since July 2007 AmigaOS4 officially supports .so libraries.
9101 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9105 library_names_spec
='$libname.ixlibrary $libname.a'
9106 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9107 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9113 library_names_spec
='${libname}${shared_ext}'
9114 dynamic_linker
="$host_os ld.so"
9115 shlibpath_var
=LIBRARY_PATH
9121 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9122 soname_spec
='${libname}${release}${shared_ext}$major'
9123 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9124 shlibpath_var
=LD_LIBRARY_PATH
9125 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9126 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9127 # the default ld.so.conf also contains /usr/contrib/lib and
9128 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9129 # libtool to hard-code these into programs
9132 cygwin
* | mingw
* | pw32
* | cegcc
*)
9133 version_type
=windows
9138 case $GCC,$host_os in
9139 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9140 library_names_spec
='$libname.dll.a'
9141 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9142 postinstall_cmds
='base_file=`basename \${file}`~
9143 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9144 dldir=$destdir/`dirname \$dlpath`~
9145 test -d \$dldir || mkdir -p \$dldir~
9146 $install_prog $dir/$dlname \$dldir/$dlname~
9147 chmod a+x \$dldir/$dlname~
9148 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9149 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9151 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9152 dlpath=$dir/\$dldll~
9154 shlibpath_overrides_runpath
=yes
9158 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9159 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9160 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9163 # MinGW DLLs use traditional 'lib' prefix
9164 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9165 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9166 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9167 # It is most probably a Windows format PATH printed by
9168 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9169 # path with ; separators, and with drive letters. We can handle the
9170 # drive letters (cygwin fileutils understands them), so leave them,
9171 # especially as we might pass files found there to a mingw objdump,
9172 # which wouldn't understand a cygwinified path. Ahh.
9173 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9175 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9179 # pw32 DLLs use 'pw' prefix rather than 'lib'
9180 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9186 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9189 dynamic_linker
='Win32 ld.exe'
9190 # FIXME: first we should search . and the directory the executable is in
9194 darwin
* | rhapsody
*)
9195 dynamic_linker
="$host_os dyld"
9199 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9200 soname_spec
='${libname}${release}${major}$shared_ext'
9201 shlibpath_overrides_runpath
=yes
9202 shlibpath_var
=DYLD_LIBRARY_PATH
9203 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9205 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9206 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9214 soname_spec
='${libname}${release}${shared_ext}$major'
9215 shlibpath_var
=LD_LIBRARY_PATH
9222 freebsd
* | dragonfly
*)
9223 # DragonFly does not have aout. When/if they implement a new
9224 # versioning mechanism, adjust this.
9225 if test -x /usr
/bin
/objformat
; then
9226 objformat
=`/usr/bin/objformat`
9229 freebsd
[123]*) objformat
=aout
;;
9233 version_type
=freebsd-
$objformat
9234 case $version_type in
9236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9241 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9245 shlibpath_var
=LD_LIBRARY_PATH
9248 shlibpath_overrides_runpath
=yes
9250 freebsd3.
[01]* | freebsdelf3.
[01]*)
9251 shlibpath_overrides_runpath
=yes
9252 hardcode_into_libs
=yes
9254 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9255 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9256 shlibpath_overrides_runpath
=no
9257 hardcode_into_libs
=yes
9259 *) # from 4.6 on, and DragonFly
9260 shlibpath_overrides_runpath
=yes
9261 hardcode_into_libs
=yes
9270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9271 soname_spec
='${libname}${release}${shared_ext}$major'
9272 shlibpath_var
=LD_LIBRARY_PATH
9273 hardcode_into_libs
=yes
9276 hpux9
* | hpux10
* | hpux11
*)
9277 # Give a soname corresponding to the major version so that dld.sl refuses to
9278 # link against other versions.
9285 hardcode_into_libs
=yes
9286 dynamic_linker
="$host_os dld.so"
9287 shlibpath_var
=LD_LIBRARY_PATH
9288 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9290 soname_spec
='${libname}${release}${shared_ext}$major'
9291 if test "X$HPUX_IA64_MODE" = X32
; then
9292 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9294 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9296 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9300 hardcode_into_libs
=yes
9301 dynamic_linker
="$host_os dld.sl"
9302 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9303 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9305 soname_spec
='${libname}${release}${shared_ext}$major'
9306 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9307 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9311 dynamic_linker
="$host_os dld.sl"
9312 shlibpath_var
=SHLIB_PATH
9313 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9315 soname_spec
='${libname}${release}${shared_ext}$major'
9318 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9319 postinstall_cmds
='chmod 555 $lib'
9326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9327 soname_spec
='${libname}${release}${shared_ext}$major'
9328 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9329 shlibpath_var
=LD_LIBRARY_PATH
9330 shlibpath_overrides_runpath
=no
9331 hardcode_into_libs
=yes
9334 irix5
* | irix6
* | nonstopux
*)
9336 nonstopux
*) version_type
=nonstopux
;;
9338 if test "$lt_cv_prog_gnu_ld" = yes; then
9346 soname_spec
='${libname}${release}${shared_ext}$major'
9347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9349 irix5
* | nonstopux
*)
9353 case $LD in # libtool.m4 will add one of these switches to LD
9354 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9355 libsuff
= shlibsuff
= libmagic
=32-bit;;
9356 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9357 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9358 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9359 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9360 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9364 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9365 shlibpath_overrides_runpath
=no
9366 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9367 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9368 hardcode_into_libs
=yes
9371 # No shared lib support for Linux oldld, aout, or coff.
9372 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9376 # This must be Linux ELF.
9377 linux
* | k
*bsd
*-gnu)
9381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9382 soname_spec
='${libname}${release}${shared_ext}$major'
9383 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9384 shlibpath_var
=LD_LIBRARY_PATH
9385 shlibpath_overrides_runpath
=no
9386 # Some binutils ld are patched to set DT_RUNPATH
9387 save_LDFLAGS
=$LDFLAGS
9389 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9390 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9391 cat >conftest.
$ac_ext <<_ACEOF
9394 cat confdefs.h
>>conftest.
$ac_ext
9395 cat >>conftest.
$ac_ext <<_ACEOF
9396 /* end confdefs.h. */
9406 rm -f conftest.
$ac_objext conftest
$ac_exeext
9407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9408 (eval $ac_link) 2>conftest.er1
9410 grep -v '^ *+' conftest.er1
>conftest.err
9412 cat conftest.err
>&5
9413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9414 (exit $ac_status); } &&
9415 { ac_try
='test -z "$ac_c_werror_flag"
9416 || test ! -s conftest.err'
9417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9421 (exit $ac_status); }; } &&
9422 { ac_try
='test -s conftest$ac_exeext'
9423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9427 (exit $ac_status); }; }; then
9428 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then
9429 shlibpath_overrides_runpath
=yes
9433 echo "$as_me: failed program was:" >&5
9434 sed 's/^/| /' conftest.
$ac_ext >&5
9437 rm -f conftest.err conftest.
$ac_objext \
9438 conftest
$ac_exeext conftest.
$ac_ext
9439 LDFLAGS
=$save_LDFLAGS
9442 # This implies no fast_install, which is unacceptable.
9443 # Some rework will be needed to allow for fast_install
9444 # before this can be enabled.
9445 hardcode_into_libs
=yes
9447 # Append ld.so.conf contents to the search path
9448 if test -f /etc
/ld.so.conf
; then
9449 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9450 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9453 # We used to test for /lib/ld.so.1 and disable shared libraries on
9454 # powerpc, because MkLinux only supported shared libraries with the
9455 # GNU dynamic linker. Since this was broken with cross compilers,
9456 # most powerpc-linux boxes support dynamic linking these days and
9457 # people can always --disable-shared, the test was removed, and we
9458 # assume the GNU/Linux dynamic linker is in use.
9459 dynamic_linker
='GNU/Linux ld.so'
9466 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9468 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9469 dynamic_linker
='NetBSD (a.out) ld.so'
9471 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9472 soname_spec
='${libname}${release}${shared_ext}$major'
9473 dynamic_linker
='NetBSD ld.elf_so'
9475 shlibpath_var
=LD_LIBRARY_PATH
9476 shlibpath_overrides_runpath
=yes
9477 hardcode_into_libs
=yes
9482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9483 shlibpath_var
=LD_LIBRARY_PATH
9484 shlibpath_overrides_runpath
=yes
9491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9492 soname_spec
='${libname}${release}${shared_ext}$major'
9493 shlibpath_var
=LD_LIBRARY_PATH
9494 shlibpath_overrides_runpath
=no
9495 hardcode_into_libs
=yes
9496 dynamic_linker
='ldqnx.so'
9501 sys_lib_dlsearch_path_spec
="/usr/lib"
9503 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9505 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9506 *) need_version
=no
;;
9508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9509 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9510 shlibpath_var
=LD_LIBRARY_PATH
9511 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9513 openbsd2.
[89] | openbsd2.
[89].
*)
9514 shlibpath_overrides_runpath
=no
9517 shlibpath_overrides_runpath
=yes
9521 shlibpath_overrides_runpath
=yes
9526 libname_spec
='$name'
9529 library_names_spec
='$libname${shared_ext} $libname.a'
9530 dynamic_linker
='OS/2 ld.exe'
9531 shlibpath_var
=LIBPATH
9534 osf3
* | osf4
* | osf5
*)
9538 soname_spec
='${libname}${release}${shared_ext}$major'
9539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9540 shlibpath_var
=LD_LIBRARY_PATH
9541 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9542 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9554 soname_spec
='${libname}${release}${shared_ext}$major'
9555 shlibpath_var
=LD_LIBRARY_PATH
9556 shlibpath_overrides_runpath
=yes
9557 hardcode_into_libs
=yes
9558 # ldd complains unless libraries are executable
9559 postinstall_cmds
='chmod +x $lib'
9564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9565 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9566 shlibpath_var
=LD_LIBRARY_PATH
9567 shlibpath_overrides_runpath
=yes
9568 if test "$with_gnu_ld" = yes; then
9576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9577 soname_spec
='${libname}${release}${shared_ext}$major'
9578 shlibpath_var
=LD_LIBRARY_PATH
9579 case $host_vendor in
9581 shlibpath_overrides_runpath
=no
9583 runpath_var
=LD_RUN_PATH
9591 shlibpath_overrides_runpath
=no
9592 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9598 if test -d /usr
/nec
;then
9600 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9601 soname_spec
='$libname${shared_ext}.$major'
9602 shlibpath_var
=LD_LIBRARY_PATH
9606 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9607 version_type
=freebsd-elf
9610 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9611 soname_spec
='${libname}${release}${shared_ext}$major'
9612 shlibpath_var
=LD_LIBRARY_PATH
9613 shlibpath_overrides_runpath
=yes
9614 hardcode_into_libs
=yes
9615 if test "$with_gnu_ld" = yes; then
9616 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9618 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9621 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9625 sys_lib_dlsearch_path_spec
='/usr/lib'
9629 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9634 shlibpath_var
=LD_LIBRARY_PATH
9635 shlibpath_overrides_runpath
=no
9636 hardcode_into_libs
=yes
9641 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9642 soname_spec
='${libname}${release}${shared_ext}$major'
9643 shlibpath_var
=LD_LIBRARY_PATH
9650 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9651 echo "${ECHO_T}$dynamic_linker" >&6
9652 test "$dynamic_linker" = no
&& can_build_shared
=no
9654 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9655 if test "$GCC" = yes; then
9656 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9659 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9660 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9662 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9663 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9752 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9753 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9755 if test -n "$hardcode_libdir_flag_spec" ||
9756 test -n "$runpath_var" ||
9757 test "X$hardcode_automatic" = "Xyes" ; then
9759 # We can hardcode non-existent directories.
9760 if test "$hardcode_direct" != no
&&
9761 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9762 # have to relink, otherwise we might link with an installed library
9763 # when we should be linking with a yet-to-be-installed one
9764 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9765 test "$hardcode_minus_L" != no
; then
9766 # Linking always hardcodes the temporary library directory.
9767 hardcode_action
=relink
9769 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9770 hardcode_action
=immediate
9773 # We cannot hardcode anything, or else we can only hardcode existing
9775 hardcode_action
=unsupported
9777 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9778 echo "${ECHO_T}$hardcode_action" >&6
9780 if test "$hardcode_action" = relink ||
9781 test "$inherit_rpath" = yes; then
9782 # Fast installation is not supported
9783 enable_fast_install
=no
9784 elif test "$shlibpath_overrides_runpath" = yes ||
9785 test "$enable_shared" = no
; then
9786 # Fast installation is not necessary
9787 enable_fast_install
=needless
9795 if test "x$enable_dlopen" != xyes
; then
9796 enable_dlopen
=unknown
9797 enable_dlopen_self
=unknown
9798 enable_dlopen_self_static
=unknown
9805 lt_cv_dlopen
="load_add_on"
9807 lt_cv_dlopen_self
=yes
9810 mingw
* | pw32
* | cegcc
*)
9811 lt_cv_dlopen
="LoadLibrary"
9816 lt_cv_dlopen
="dlopen"
9821 # if libdl is installed we need to link against it
9822 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9823 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9824 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9825 echo $ECHO_N "(cached) $ECHO_C" >&6
9827 ac_check_lib_save_LIBS
=$LIBS
9829 cat >conftest.
$ac_ext <<_ACEOF
9832 cat confdefs.h
>>conftest.
$ac_ext
9833 cat >>conftest.
$ac_ext <<_ACEOF
9834 /* end confdefs.h. */
9836 /* Override any gcc2 internal prototype to avoid an error. */
9840 /* We use char because int might match the return type of a gcc2
9841 builtin and then its argument prototype would still apply. */
9851 rm -f conftest.
$ac_objext conftest
$ac_exeext
9852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9853 (eval $ac_link) 2>conftest.er1
9855 grep -v '^ *+' conftest.er1
>conftest.err
9857 cat conftest.err
>&5
9858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859 (exit $ac_status); } &&
9860 { ac_try
='test -z "$ac_c_werror_flag"
9861 || test ! -s conftest.err'
9862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9866 (exit $ac_status); }; } &&
9867 { ac_try
='test -s conftest$ac_exeext'
9868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 (exit $ac_status); }; }; then
9873 ac_cv_lib_dl_dlopen
=yes
9875 echo "$as_me: failed program was:" >&5
9876 sed 's/^/| /' conftest.
$ac_ext >&5
9878 ac_cv_lib_dl_dlopen
=no
9880 rm -f conftest.err conftest.
$ac_objext \
9881 conftest
$ac_exeext conftest.
$ac_ext
9882 LIBS
=$ac_check_lib_save_LIBS
9884 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9885 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9886 if test $ac_cv_lib_dl_dlopen = yes; then
9887 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9892 lt_cv_dlopen_self
=yes
9899 echo "$as_me:$LINENO: checking for shl_load" >&5
9900 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9901 if test "${ac_cv_func_shl_load+set}" = set; then
9902 echo $ECHO_N "(cached) $ECHO_C" >&6
9904 cat >conftest.
$ac_ext <<_ACEOF
9907 cat confdefs.h
>>conftest.
$ac_ext
9908 cat >>conftest.
$ac_ext <<_ACEOF
9909 /* end confdefs.h. */
9910 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9912 #define shl_load innocuous_shl_load
9914 /* System header to define __stub macros and hopefully few prototypes,
9915 which can conflict with char shl_load (); below.
9916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9917 <limits.h> exists even on freestanding compilers. */
9920 # include <limits.h>
9922 # include <assert.h>
9927 /* Override any gcc2 internal prototype to avoid an error. */
9932 /* We use char because int might match the return type of a gcc2
9933 builtin and then its argument prototype would still apply. */
9935 /* The GNU C library defines this for functions which it implements
9936 to always fail with ENOSYS. Some functions are actually named
9937 something starting with __ and the normal name is an alias. */
9938 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9941 char (*f) () = shl_load;
9950 return f != shl_load;
9955 rm -f conftest.
$ac_objext conftest
$ac_exeext
9956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9957 (eval $ac_link) 2>conftest.er1
9959 grep -v '^ *+' conftest.er1
>conftest.err
9961 cat conftest.err
>&5
9962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9963 (exit $ac_status); } &&
9964 { ac_try
='test -z "$ac_c_werror_flag"
9965 || test ! -s conftest.err'
9966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9970 (exit $ac_status); }; } &&
9971 { ac_try
='test -s conftest$ac_exeext'
9972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9976 (exit $ac_status); }; }; then
9977 ac_cv_func_shl_load
=yes
9979 echo "$as_me: failed program was:" >&5
9980 sed 's/^/| /' conftest.
$ac_ext >&5
9982 ac_cv_func_shl_load
=no
9984 rm -f conftest.err conftest.
$ac_objext \
9985 conftest
$ac_exeext conftest.
$ac_ext
9987 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9988 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9989 if test $ac_cv_func_shl_load = yes; then
9990 lt_cv_dlopen
="shl_load"
9992 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9993 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9994 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9995 echo $ECHO_N "(cached) $ECHO_C" >&6
9997 ac_check_lib_save_LIBS
=$LIBS
9999 cat >conftest.
$ac_ext <<_ACEOF
10002 cat confdefs.h
>>conftest.
$ac_ext
10003 cat >>conftest.
$ac_ext <<_ACEOF
10004 /* end confdefs.h. */
10006 /* Override any gcc2 internal prototype to avoid an error. */
10010 /* We use char because int might match the return type of a gcc2
10011 builtin and then its argument prototype would still apply. */
10021 rm -f conftest.
$ac_objext conftest
$ac_exeext
10022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10023 (eval $ac_link) 2>conftest.er1
10025 grep -v '^ *+' conftest.er1
>conftest.err
10027 cat conftest.err
>&5
10028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10029 (exit $ac_status); } &&
10030 { ac_try
='test -z "$ac_c_werror_flag"
10031 || test ! -s conftest.err'
10032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10033 (eval $ac_try) 2>&5
10035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10036 (exit $ac_status); }; } &&
10037 { ac_try
='test -s conftest$ac_exeext'
10038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10039 (eval $ac_try) 2>&5
10041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042 (exit $ac_status); }; }; then
10043 ac_cv_lib_dld_shl_load
=yes
10045 echo "$as_me: failed program was:" >&5
10046 sed 's/^/| /' conftest.
$ac_ext >&5
10048 ac_cv_lib_dld_shl_load
=no
10050 rm -f conftest.err conftest.
$ac_objext \
10051 conftest
$ac_exeext conftest.
$ac_ext
10052 LIBS
=$ac_check_lib_save_LIBS
10054 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10055 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10056 if test $ac_cv_lib_dld_shl_load = yes; then
10057 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10059 echo "$as_me:$LINENO: checking for dlopen" >&5
10060 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10061 if test "${ac_cv_func_dlopen+set}" = set; then
10062 echo $ECHO_N "(cached) $ECHO_C" >&6
10064 cat >conftest.
$ac_ext <<_ACEOF
10067 cat confdefs.h
>>conftest.
$ac_ext
10068 cat >>conftest.
$ac_ext <<_ACEOF
10069 /* end confdefs.h. */
10070 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10072 #define dlopen innocuous_dlopen
10074 /* System header to define __stub macros and hopefully few prototypes,
10075 which can conflict with char dlopen (); below.
10076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10077 <limits.h> exists even on freestanding compilers. */
10080 # include <limits.h>
10082 # include <assert.h>
10087 /* Override any gcc2 internal prototype to avoid an error. */
10092 /* We use char because int might match the return type of a gcc2
10093 builtin and then its argument prototype would still apply. */
10095 /* The GNU C library defines this for functions which it implements
10096 to always fail with ENOSYS. Some functions are actually named
10097 something starting with __ and the normal name is an alias. */
10098 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10101 char (*f) () = dlopen;
10110 return f != dlopen;
10115 rm -f conftest.
$ac_objext conftest
$ac_exeext
10116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10117 (eval $ac_link) 2>conftest.er1
10119 grep -v '^ *+' conftest.er1
>conftest.err
10121 cat conftest.err
>&5
10122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10123 (exit $ac_status); } &&
10124 { ac_try
='test -z "$ac_c_werror_flag"
10125 || test ! -s conftest.err'
10126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10127 (eval $ac_try) 2>&5
10129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10130 (exit $ac_status); }; } &&
10131 { ac_try
='test -s conftest$ac_exeext'
10132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10133 (eval $ac_try) 2>&5
10135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10136 (exit $ac_status); }; }; then
10137 ac_cv_func_dlopen
=yes
10139 echo "$as_me: failed program was:" >&5
10140 sed 's/^/| /' conftest.
$ac_ext >&5
10142 ac_cv_func_dlopen
=no
10144 rm -f conftest.err conftest.
$ac_objext \
10145 conftest
$ac_exeext conftest.
$ac_ext
10147 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10148 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10149 if test $ac_cv_func_dlopen = yes; then
10150 lt_cv_dlopen
="dlopen"
10152 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10153 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10154 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10155 echo $ECHO_N "(cached) $ECHO_C" >&6
10157 ac_check_lib_save_LIBS
=$LIBS
10159 cat >conftest.
$ac_ext <<_ACEOF
10162 cat confdefs.h
>>conftest.
$ac_ext
10163 cat >>conftest.
$ac_ext <<_ACEOF
10164 /* end confdefs.h. */
10166 /* Override any gcc2 internal prototype to avoid an error. */
10170 /* We use char because int might match the return type of a gcc2
10171 builtin and then its argument prototype would still apply. */
10181 rm -f conftest.
$ac_objext conftest
$ac_exeext
10182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10183 (eval $ac_link) 2>conftest.er1
10185 grep -v '^ *+' conftest.er1
>conftest.err
10187 cat conftest.err
>&5
10188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10189 (exit $ac_status); } &&
10190 { ac_try
='test -z "$ac_c_werror_flag"
10191 || test ! -s conftest.err'
10192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10193 (eval $ac_try) 2>&5
10195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10196 (exit $ac_status); }; } &&
10197 { ac_try
='test -s conftest$ac_exeext'
10198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10199 (eval $ac_try) 2>&5
10201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10202 (exit $ac_status); }; }; then
10203 ac_cv_lib_dl_dlopen
=yes
10205 echo "$as_me: failed program was:" >&5
10206 sed 's/^/| /' conftest.
$ac_ext >&5
10208 ac_cv_lib_dl_dlopen
=no
10210 rm -f conftest.err conftest.
$ac_objext \
10211 conftest
$ac_exeext conftest.
$ac_ext
10212 LIBS
=$ac_check_lib_save_LIBS
10214 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10215 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10216 if test $ac_cv_lib_dl_dlopen = yes; then
10217 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10219 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10220 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10221 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10222 echo $ECHO_N "(cached) $ECHO_C" >&6
10224 ac_check_lib_save_LIBS
=$LIBS
10225 LIBS
="-lsvld $LIBS"
10226 cat >conftest.
$ac_ext <<_ACEOF
10229 cat confdefs.h
>>conftest.
$ac_ext
10230 cat >>conftest.
$ac_ext <<_ACEOF
10231 /* end confdefs.h. */
10233 /* Override any gcc2 internal prototype to avoid an error. */
10237 /* We use char because int might match the return type of a gcc2
10238 builtin and then its argument prototype would still apply. */
10248 rm -f conftest.
$ac_objext conftest
$ac_exeext
10249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10250 (eval $ac_link) 2>conftest.er1
10252 grep -v '^ *+' conftest.er1
>conftest.err
10254 cat conftest.err
>&5
10255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10256 (exit $ac_status); } &&
10257 { ac_try
='test -z "$ac_c_werror_flag"
10258 || test ! -s conftest.err'
10259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10260 (eval $ac_try) 2>&5
10262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10263 (exit $ac_status); }; } &&
10264 { ac_try
='test -s conftest$ac_exeext'
10265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10266 (eval $ac_try) 2>&5
10268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10269 (exit $ac_status); }; }; then
10270 ac_cv_lib_svld_dlopen
=yes
10272 echo "$as_me: failed program was:" >&5
10273 sed 's/^/| /' conftest.
$ac_ext >&5
10275 ac_cv_lib_svld_dlopen
=no
10277 rm -f conftest.err conftest.
$ac_objext \
10278 conftest
$ac_exeext conftest.
$ac_ext
10279 LIBS
=$ac_check_lib_save_LIBS
10281 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10282 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10283 if test $ac_cv_lib_svld_dlopen = yes; then
10284 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10286 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10287 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10288 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10289 echo $ECHO_N "(cached) $ECHO_C" >&6
10291 ac_check_lib_save_LIBS
=$LIBS
10293 cat >conftest.
$ac_ext <<_ACEOF
10296 cat confdefs.h
>>conftest.
$ac_ext
10297 cat >>conftest.
$ac_ext <<_ACEOF
10298 /* end confdefs.h. */
10300 /* Override any gcc2 internal prototype to avoid an error. */
10304 /* We use char because int might match the return type of a gcc2
10305 builtin and then its argument prototype would still apply. */
10315 rm -f conftest.
$ac_objext conftest
$ac_exeext
10316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10317 (eval $ac_link) 2>conftest.er1
10319 grep -v '^ *+' conftest.er1
>conftest.err
10321 cat conftest.err
>&5
10322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323 (exit $ac_status); } &&
10324 { ac_try
='test -z "$ac_c_werror_flag"
10325 || test ! -s conftest.err'
10326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10327 (eval $ac_try) 2>&5
10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10330 (exit $ac_status); }; } &&
10331 { ac_try
='test -s conftest$ac_exeext'
10332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10333 (eval $ac_try) 2>&5
10335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10336 (exit $ac_status); }; }; then
10337 ac_cv_lib_dld_dld_link
=yes
10339 echo "$as_me: failed program was:" >&5
10340 sed 's/^/| /' conftest.
$ac_ext >&5
10342 ac_cv_lib_dld_dld_link
=no
10344 rm -f conftest.err conftest.
$ac_objext \
10345 conftest
$ac_exeext conftest.
$ac_ext
10346 LIBS
=$ac_check_lib_save_LIBS
10348 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10349 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10350 if test $ac_cv_lib_dld_dld_link = yes; then
10351 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10372 if test "x$lt_cv_dlopen" != xno
; then
10378 case $lt_cv_dlopen in
10380 save_CPPFLAGS
="$CPPFLAGS"
10381 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10383 save_LDFLAGS
="$LDFLAGS"
10384 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10387 LIBS
="$lt_cv_dlopen_libs $LIBS"
10389 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10390 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10391 if test "${lt_cv_dlopen_self+set}" = set; then
10392 echo $ECHO_N "(cached) $ECHO_C" >&6
10394 if test "$cross_compiling" = yes; then :
10395 lt_cv_dlopen_self
=cross
10397 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10398 lt_status
=$lt_dlunknown
10399 cat > conftest.
$ac_ext <<_LT_EOF
10400 #line 10400 "configure"
10401 #include "confdefs.h"
10410 # define LT_DLGLOBAL RTLD_GLOBAL
10413 # define LT_DLGLOBAL DL_GLOBAL
10415 # define LT_DLGLOBAL 0
10419 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10420 find out it does not work in some platform. */
10421 #ifndef LT_DLLAZY_OR_NOW
10423 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10426 # define LT_DLLAZY_OR_NOW DL_LAZY
10429 # define LT_DLLAZY_OR_NOW RTLD_NOW
10432 # define LT_DLLAZY_OR_NOW DL_NOW
10434 # define LT_DLLAZY_OR_NOW 0
10441 void fnord() { int i=42;}
10444 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10445 int status = $lt_dlunknown;
10449 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10450 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10451 /* dlclose (self); */
10459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10460 (eval $ac_link) 2>&5
10462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10463 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10464 (.
/conftest
; exit; ) >&5 2>/dev
/null
10466 case x
$lt_status in
10467 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10468 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10469 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10472 # compilation failed
10473 lt_cv_dlopen_self
=no
10480 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10481 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10483 if test "x$lt_cv_dlopen_self" = xyes
; then
10484 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10485 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10486 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10487 if test "${lt_cv_dlopen_self_static+set}" = set; then
10488 echo $ECHO_N "(cached) $ECHO_C" >&6
10490 if test "$cross_compiling" = yes; then :
10491 lt_cv_dlopen_self_static
=cross
10493 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10494 lt_status
=$lt_dlunknown
10495 cat > conftest.
$ac_ext <<_LT_EOF
10496 #line 10496 "configure"
10497 #include "confdefs.h"
10506 # define LT_DLGLOBAL RTLD_GLOBAL
10509 # define LT_DLGLOBAL DL_GLOBAL
10511 # define LT_DLGLOBAL 0
10515 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10516 find out it does not work in some platform. */
10517 #ifndef LT_DLLAZY_OR_NOW
10519 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10522 # define LT_DLLAZY_OR_NOW DL_LAZY
10525 # define LT_DLLAZY_OR_NOW RTLD_NOW
10528 # define LT_DLLAZY_OR_NOW DL_NOW
10530 # define LT_DLLAZY_OR_NOW 0
10537 void fnord() { int i=42;}
10540 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10541 int status = $lt_dlunknown;
10545 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10546 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10547 /* dlclose (self); */
10555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10556 (eval $ac_link) 2>&5
10558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10560 (.
/conftest
; exit; ) >&5 2>/dev
/null
10562 case x
$lt_status in
10563 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10564 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10565 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10568 # compilation failed
10569 lt_cv_dlopen_self_static
=no
10576 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10577 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10580 CPPFLAGS
="$save_CPPFLAGS"
10581 LDFLAGS
="$save_LDFLAGS"
10586 case $lt_cv_dlopen_self in
10587 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10588 *) enable_dlopen_self
=unknown
;;
10591 case $lt_cv_dlopen_self_static in
10592 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10593 *) enable_dlopen_self_static
=unknown
;;
10615 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10616 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10617 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10618 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10619 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10620 echo "$as_me:$LINENO: result: yes" >&5
10621 echo "${ECHO_T}yes" >&6
10623 # FIXME - insert some real tests, host_os isn't really good enough
10626 if test -n "$STRIP" ; then
10627 striplib
="$STRIP -x"
10628 old_striplib
="$STRIP -S"
10629 echo "$as_me:$LINENO: result: yes" >&5
10630 echo "${ECHO_T}yes" >&6
10632 echo "$as_me:$LINENO: result: no" >&5
10633 echo "${ECHO_T}no" >&6
10637 echo "$as_me:$LINENO: result: no" >&5
10638 echo "${ECHO_T}no" >&6
10654 # Report which library types will actually be built
10655 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10656 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10657 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10658 echo "${ECHO_T}$can_build_shared" >&6
10660 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10661 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10662 test "$can_build_shared" = "no" && enable_shared
=no
10664 # On AIX, shared libraries and static libraries use the same namespace, and
10665 # are all built from PIC.
10668 test "$enable_shared" = yes && enable_static
=no
10669 if test -n "$RANLIB"; then
10670 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10671 postinstall_cmds
='$RANLIB $lib'
10676 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10677 test "$enable_shared" = yes && enable_static
=no
10681 echo "$as_me:$LINENO: result: $enable_shared" >&5
10682 echo "${ECHO_T}$enable_shared" >&6
10684 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10685 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10686 # Make sure either enable_shared or enable_static is yes.
10687 test "$enable_shared" = yes || enable_static
=yes
10688 echo "$as_me:$LINENO: result: $enable_static" >&5
10689 echo "${ECHO_T}$enable_static" >&6
10696 ac_cpp
='$CPP $CPPFLAGS'
10697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10715 ac_config_commands
="$ac_config_commands libtool"
10720 # Only expand once:
10726 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
10727 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
10728 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
10729 if test "${enable_maintainer_mode+set}" = set; then
10730 enableval
="$enable_maintainer_mode"
10731 USE_MAINTAINER_MODE
=$enableval
10733 USE_MAINTAINER_MODE
=no
10735 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
10736 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
10739 if test $USE_MAINTAINER_MODE = yes; then
10740 MAINTAINER_MODE_TRUE
=
10741 MAINTAINER_MODE_FALSE
='#'
10743 MAINTAINER_MODE_TRUE
='#'
10744 MAINTAINER_MODE_FALSE
=
10747 MAINT
=$MAINTAINER_MODE_TRUE
10751 # We need gfortran to compile parts of the library
10752 # We can't use AC_PROG_FC because it expects a fully working gfortran.
10753 #AC_PROG_FC(gfortran)
10755 ac_ext
=${FC_SRCEXT-f}
10756 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10757 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10758 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
10759 if test -n "$ac_tool_prefix"; then
10760 for ac_prog
in gfortran
10762 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10763 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10764 echo "$as_me:$LINENO: checking for $ac_word" >&5
10765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10766 if test "${ac_cv_prog_FC+set}" = set; then
10767 echo $ECHO_N "(cached) $ECHO_C" >&6
10769 if test -n "$FC"; then
10770 ac_cv_prog_FC
="$FC" # Let the user override the test.
10772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10773 for as_dir
in $PATH
10776 test -z "$as_dir" && as_dir
=.
10777 for ac_exec_ext
in '' $ac_executable_extensions; do
10778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10779 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
10780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10789 if test -n "$FC"; then
10790 echo "$as_me:$LINENO: result: $FC" >&5
10791 echo "${ECHO_T}$FC" >&6
10793 echo "$as_me:$LINENO: result: no" >&5
10794 echo "${ECHO_T}no" >&6
10797 test -n "$FC" && break
10800 if test -z "$FC"; then
10802 for ac_prog
in gfortran
10804 # Extract the first word of "$ac_prog", so it can be a program name with args.
10805 set dummy
$ac_prog; ac_word
=$2
10806 echo "$as_me:$LINENO: checking for $ac_word" >&5
10807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10808 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10809 echo $ECHO_N "(cached) $ECHO_C" >&6
10811 if test -n "$ac_ct_FC"; then
10812 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
10814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10815 for as_dir
in $PATH
10818 test -z "$as_dir" && as_dir
=.
10819 for ac_exec_ext
in '' $ac_executable_extensions; do
10820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10821 ac_cv_prog_ac_ct_FC
="$ac_prog"
10822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10830 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
10831 if test -n "$ac_ct_FC"; then
10832 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10833 echo "${ECHO_T}$ac_ct_FC" >&6
10835 echo "$as_me:$LINENO: result: no" >&5
10836 echo "${ECHO_T}no" >&6
10839 test -n "$ac_ct_FC" && break
10846 # Provide some information about the compiler.
10847 echo "$as_me:10847:" \
10848 "checking for Fortran compiler version" >&5
10849 ac_compiler
=`set X $ac_compile; echo $2`
10850 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10851 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854 (exit $ac_status); }
10855 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10856 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859 (exit $ac_status); }
10860 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10861 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10864 (exit $ac_status); }
10867 # If we don't use `.F' as extension, the preprocessor is not run on the
10868 # input file. (Note that this only needs to work for GNU compilers.)
10869 ac_save_ext
=$ac_ext
10871 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10872 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10873 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10874 echo $ECHO_N "(cached) $ECHO_C" >&6
10876 cat >conftest.
$ac_ext <<_ACEOF
10884 rm -f conftest.
$ac_objext
10885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10886 (eval $ac_compile) 2>conftest.er1
10888 grep -v '^ *+' conftest.er1
>conftest.err
10890 cat conftest.err
>&5
10891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10892 (exit $ac_status); } &&
10893 { ac_try
='test -z "$ac_fc_werror_flag"
10894 || test ! -s conftest.err'
10895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10896 (eval $ac_try) 2>&5
10898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10899 (exit $ac_status); }; } &&
10900 { ac_try
='test -s conftest.$ac_objext'
10901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10902 (eval $ac_try) 2>&5
10904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10905 (exit $ac_status); }; }; then
10906 ac_compiler_gnu
=yes
10908 echo "$as_me: failed program was:" >&5
10909 sed 's/^/| /' conftest.
$ac_ext >&5
10913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10914 ac_cv_fc_compiler_gnu
=$ac_compiler_gnu
10917 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10918 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10919 ac_ext
=$ac_save_ext
10920 ac_test_FFLAGS
=${FCFLAGS+set}
10921 ac_save_FFLAGS
=$FCFLAGS
10923 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10924 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10925 if test "${ac_cv_prog_fc_g+set}" = set; then
10926 echo $ECHO_N "(cached) $ECHO_C" >&6
10929 cat >conftest.
$ac_ext <<_ACEOF
10934 rm -f conftest.
$ac_objext
10935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10936 (eval $ac_compile) 2>conftest.er1
10938 grep -v '^ *+' conftest.er1
>conftest.err
10940 cat conftest.err
>&5
10941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10942 (exit $ac_status); } &&
10943 { ac_try
='test -z "$ac_fc_werror_flag"
10944 || test ! -s conftest.err'
10945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10946 (eval $ac_try) 2>&5
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); }; } &&
10950 { ac_try
='test -s conftest.$ac_objext'
10951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10952 (eval $ac_try) 2>&5
10954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955 (exit $ac_status); }; }; then
10956 ac_cv_prog_fc_g
=yes
10958 echo "$as_me: failed program was:" >&5
10959 sed 's/^/| /' conftest.
$ac_ext >&5
10963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10966 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10967 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10968 if test "$ac_test_FFLAGS" = set; then
10969 FCFLAGS
=$ac_save_FFLAGS
10970 elif test $ac_cv_prog_fc_g = yes; then
10971 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
10977 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
10985 ac_cpp
='$CPP $CPPFLAGS'
10986 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10987 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10988 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10991 ac_ext
=${FC_SRCEXT-f}
10992 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10993 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10994 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
10995 if test -n "$ac_tool_prefix"; then
10996 for ac_prog
in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10998 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10999 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11000 echo "$as_me:$LINENO: checking for $ac_word" >&5
11001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11002 if test "${ac_cv_prog_FC+set}" = set; then
11003 echo $ECHO_N "(cached) $ECHO_C" >&6
11005 if test -n "$FC"; then
11006 ac_cv_prog_FC
="$FC" # Let the user override the test.
11008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11009 for as_dir
in $PATH
11012 test -z "$as_dir" && as_dir
=.
11013 for ac_exec_ext
in '' $ac_executable_extensions; do
11014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11015 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
11016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11025 if test -n "$FC"; then
11026 echo "$as_me:$LINENO: result: $FC" >&5
11027 echo "${ECHO_T}$FC" >&6
11029 echo "$as_me:$LINENO: result: no" >&5
11030 echo "${ECHO_T}no" >&6
11033 test -n "$FC" && break
11036 if test -z "$FC"; then
11038 for ac_prog
in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
11040 # Extract the first word of "$ac_prog", so it can be a program name with args.
11041 set dummy
$ac_prog; ac_word
=$2
11042 echo "$as_me:$LINENO: checking for $ac_word" >&5
11043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11044 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
11045 echo $ECHO_N "(cached) $ECHO_C" >&6
11047 if test -n "$ac_ct_FC"; then
11048 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
11050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11051 for as_dir
in $PATH
11054 test -z "$as_dir" && as_dir
=.
11055 for ac_exec_ext
in '' $ac_executable_extensions; do
11056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11057 ac_cv_prog_ac_ct_FC
="$ac_prog"
11058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11066 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
11067 if test -n "$ac_ct_FC"; then
11068 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
11069 echo "${ECHO_T}$ac_ct_FC" >&6
11071 echo "$as_me:$LINENO: result: no" >&5
11072 echo "${ECHO_T}no" >&6
11075 test -n "$ac_ct_FC" && break
11082 # Provide some information about the compiler.
11083 echo "$as_me:11083:" \
11084 "checking for Fortran compiler version" >&5
11085 ac_compiler
=`set X $ac_compile; echo $2`
11086 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11087 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11090 (exit $ac_status); }
11091 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11092 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11095 (exit $ac_status); }
11096 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11097 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11100 (exit $ac_status); }
11103 # If we don't use `.F' as extension, the preprocessor is not run on the
11104 # input file. (Note that this only needs to work for GNU compilers.)
11105 ac_save_ext
=$ac_ext
11107 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
11108 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
11109 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
11110 echo $ECHO_N "(cached) $ECHO_C" >&6
11112 cat >conftest.
$ac_ext <<_ACEOF
11120 rm -f conftest.
$ac_objext
11121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11122 (eval $ac_compile) 2>conftest.er1
11124 grep -v '^ *+' conftest.er1
>conftest.err
11126 cat conftest.err
>&5
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 (exit $ac_status); } &&
11129 { ac_try
='test -z "$ac_fc_werror_flag"
11130 || test ! -s conftest.err'
11131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11132 (eval $ac_try) 2>&5
11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 (exit $ac_status); }; } &&
11136 { ac_try
='test -s conftest.$ac_objext'
11137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11138 (eval $ac_try) 2>&5
11140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141 (exit $ac_status); }; }; then
11142 ac_compiler_gnu
=yes
11144 echo "$as_me: failed program was:" >&5
11145 sed 's/^/| /' conftest.
$ac_ext >&5
11149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11150 ac_cv_fc_compiler_gnu
=$ac_compiler_gnu
11153 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
11154 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
11155 ac_ext
=$ac_save_ext
11156 ac_test_FFLAGS
=${FCFLAGS+set}
11157 ac_save_FFLAGS
=$FCFLAGS
11159 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
11160 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
11161 if test "${ac_cv_prog_fc_g+set}" = set; then
11162 echo $ECHO_N "(cached) $ECHO_C" >&6
11165 cat >conftest.
$ac_ext <<_ACEOF
11170 rm -f conftest.
$ac_objext
11171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11172 (eval $ac_compile) 2>conftest.er1
11174 grep -v '^ *+' conftest.er1
>conftest.err
11176 cat conftest.err
>&5
11177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); } &&
11179 { ac_try
='test -z "$ac_fc_werror_flag"
11180 || test ! -s conftest.err'
11181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11182 (eval $ac_try) 2>&5
11184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11185 (exit $ac_status); }; } &&
11186 { ac_try
='test -s conftest.$ac_objext'
11187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11188 (eval $ac_try) 2>&5
11190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11191 (exit $ac_status); }; }; then
11192 ac_cv_prog_fc_g
=yes
11194 echo "$as_me: failed program was:" >&5
11195 sed 's/^/| /' conftest.
$ac_ext >&5
11199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11202 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
11203 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
11204 if test "$ac_test_FFLAGS" = set; then
11205 FCFLAGS
=$ac_save_FFLAGS
11206 elif test $ac_cv_prog_fc_g = yes; then
11207 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
11213 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
11221 ac_cpp
='$CPP $CPPFLAGS'
11222 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11223 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11224 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11226 if test -z "$FC" ||
test "X$FC" = "Xno"; then
11232 ac_ext
=${FC_SRCEXT-f}
11233 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
11234 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
11235 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
11238 archive_cmds_need_lc_FC
=no
11239 allow_undefined_flag_FC
=
11240 always_export_symbols_FC
=no
11241 archive_expsym_cmds_FC
=
11242 export_dynamic_flag_spec_FC
=
11243 hardcode_direct_FC
=no
11244 hardcode_direct_absolute_FC
=no
11245 hardcode_libdir_flag_spec_FC
=
11246 hardcode_libdir_flag_spec_ld_FC
=
11247 hardcode_libdir_separator_FC
=
11248 hardcode_minus_L_FC
=no
11249 hardcode_automatic_FC
=no
11250 inherit_rpath_FC
=no
11252 module_expsym_cmds_FC
=
11253 link_all_deplibs_FC
=unknown
11254 old_archive_cmds_FC
=$old_archive_cmds
11255 no_undefined_flag_FC
=
11256 whole_archive_flag_spec_FC
=
11257 enable_shared_with_static_runtimes_FC
=no
11259 # Source file extension for fc test sources.
11260 ac_ext
=${ac_fc_srcext-f}
11262 # Object file extension for compiled fc test sources.
11266 # No sense in running all these tests if we already determined that
11267 # the FC compiler isn't working. Some variables (like enable_shared)
11268 # are currently assumed to apply to all compilers on this platform,
11269 # and will be corrupted by setting them based on a non-working compiler.
11270 if test "$_lt_disable_FC" != yes; then
11271 # Code to be used in simple compile tests
11272 lt_simple_compile_test_code
="\
11278 # Code to be used in simple link tests
11279 lt_simple_link_test_code
="\
11284 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11291 # If no C compiler was specified, use CC.
11294 # If no C compiler flags were specified, use CFLAGS.
11295 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11297 # Allow CC to be a program name with arguments.
11301 # save warnings/boilerplate of simple test code
11302 ac_outfile
=conftest.
$ac_objext
11303 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11304 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11305 _lt_compiler_boilerplate
=`cat conftest.err`
11308 ac_outfile
=conftest.
$ac_objext
11309 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11310 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11311 _lt_linker_boilerplate
=`cat conftest.err`
11315 # Allow CC to be a program name with arguments.
11320 GCC
=$ac_cv_fc_compiler_gnu
11323 for cc_temp
in $compiler""; do
11325 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11326 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11331 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11334 if test -n "$compiler"; then
11335 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11336 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11337 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11338 echo "${ECHO_T}$can_build_shared" >&6
11340 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11341 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11342 test "$can_build_shared" = "no" && enable_shared
=no
11344 # On AIX, shared libraries and static libraries use the same namespace, and
11345 # are all built from PIC.
11348 test "$enable_shared" = yes && enable_static
=no
11349 if test -n "$RANLIB"; then
11350 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11351 postinstall_cmds
='$RANLIB $lib'
11355 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11356 test "$enable_shared" = yes && enable_static
=no
11360 echo "$as_me:$LINENO: result: $enable_shared" >&5
11361 echo "${ECHO_T}$enable_shared" >&6
11363 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11364 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11365 # Make sure either enable_shared or enable_static is yes.
11366 test "$enable_shared" = yes || enable_static
=yes
11367 echo "$as_me:$LINENO: result: $enable_static" >&5
11368 echo "${ECHO_T}$enable_static" >&6
11370 GCC_FC
="$ac_cv_fc_compiler_gnu"
11374 ## There is no encapsulation within the following macros, do not change
11375 ## the running order or otherwise move them around unless you know exactly
11376 ## what you are doing...
11377 # Dependencies to place before and after the object being linked:
11379 postdep_objects_FC
=
11382 compiler_lib_search_path_FC
=
11384 cat > conftest.
$ac_ext <<_LT_EOF
11393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11394 (eval $ac_compile) 2>&5
11396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11397 (exit $ac_status); }; then
11398 # Parse the compiler output and extract the necessary
11399 # objects, libraries and library flags.
11401 # Sentinel used to keep track of whether or not we are before
11402 # the conftest object file.
11403 pre_test_object_deps_done
=no
11405 for p
in `eval "$output_verbose_link_cmd"`; do
11409 # Some compilers place space between "-{L,R}" and the path.
11410 # Remove the space.
11411 if test $p = "-L" ||
11412 test $p = "-R"; then
11419 if test "$pre_test_object_deps_done" = no
; then
11422 # Internal compiler library paths should come after those
11423 # provided the user. The postdeps already come after the
11424 # user supplied libs so there is no need to process them.
11425 if test -z "$compiler_lib_search_path_FC"; then
11426 compiler_lib_search_path_FC
="${prev}${p}"
11428 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
11431 # The "-l" case would never come before the object being
11432 # linked, so don't bother handling this case.
11435 if test -z "$postdeps_FC"; then
11436 postdeps_FC
="${prev}${p}"
11438 postdeps_FC
="${postdeps_FC} ${prev}${p}"
11444 # This assumes that the test object file only shows up
11445 # once in the compiler output.
11446 if test "$p" = "conftest.$objext"; then
11447 pre_test_object_deps_done
=yes
11451 if test "$pre_test_object_deps_done" = no
; then
11452 if test -z "$predep_objects_FC"; then
11453 predep_objects_FC
="$p"
11455 predep_objects_FC
="$predep_objects_FC $p"
11458 if test -z "$postdep_objects_FC"; then
11459 postdep_objects_FC
="$p"
11461 postdep_objects_FC
="$postdep_objects_FC $p"
11466 *) ;; # Ignore the rest.
11474 echo "libtool.m4: error: problem compiling FC test program"
11477 $RM -f confest.
$objext
11479 # PORTME: override above test on systems where it is broken
11482 case " $postdeps_FC " in
11483 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
11485 compiler_lib_search_dirs_FC
=
11486 if test -n "${compiler_lib_search_path_FC}"; then
11487 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
11520 lt_prog_compiler_wl_FC
=
11521 lt_prog_compiler_pic_FC
=
11522 lt_prog_compiler_static_FC
=
11524 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11525 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11527 if test "$GCC" = yes; then
11528 lt_prog_compiler_wl_FC
='-Wl,'
11529 lt_prog_compiler_static_FC
='-static'
11533 # All AIX code is PIC.
11534 if test "$host_cpu" = ia64
; then
11535 # AIX 5 now supports IA64 processor
11536 lt_prog_compiler_static_FC
='-Bstatic'
11543 # see comment about AmigaOS4 .so support
11544 lt_prog_compiler_pic_FC
='-fPIC'
11547 # FIXME: we need at least 68020 code to build shared libraries, but
11548 # adding the `-m68020' flag to GCC prevents building anything better,
11550 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
11555 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11556 # PIC is the default for these OSes.
11559 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11560 # This hack is so that the source file can tell whether it is being
11561 # built for inclusion in a dll (and should export symbols for example).
11562 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11563 # (--disable-auto-import) libraries
11564 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
11567 darwin
* | rhapsody
*)
11568 # PIC is the default on this platform
11569 # Common symbols not allowed in MH_DYLIB files
11570 lt_prog_compiler_pic_FC
='-fno-common'
11574 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11575 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11576 # sets the default TLS model and affects inlining.
11582 lt_prog_compiler_pic_FC
='-fPIC'
11588 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11589 # Instead, we relocate shared libraries at runtime.
11593 # Just because we use GCC doesn't mean we suddenly get shared libraries
11594 # on systems that don't support them.
11595 lt_prog_compiler_can_build_shared_FC
=no
11600 # QNX uses GNU C++, but need to define -shared option too, otherwise
11601 # it will coredump.
11602 lt_prog_compiler_pic_FC
='-fPIC -shared'
11606 if test -d /usr
/nec
; then
11607 lt_prog_compiler_pic_FC
=-Kconform_pic
11612 lt_prog_compiler_pic_FC
='-fPIC'
11616 # PORTME Check for flag to pass linker flags through the system compiler.
11619 lt_prog_compiler_wl_FC
='-Wl,'
11620 if test "$host_cpu" = ia64
; then
11621 # AIX 5 now supports IA64 processor
11622 lt_prog_compiler_static_FC
='-Bstatic'
11624 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
11628 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11629 # This hack is so that the source file can tell whether it is being
11630 # built for inclusion in a dll (and should export symbols for example).
11631 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
11634 hpux9
* | hpux10
* | hpux11
*)
11635 lt_prog_compiler_wl_FC
='-Wl,'
11636 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11637 # not for PA HP-UX.
11643 lt_prog_compiler_pic_FC
='+Z'
11646 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11647 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
11650 irix5
* | irix6
* | nonstopux
*)
11651 lt_prog_compiler_wl_FC
='-Wl,'
11652 # PIC (with -KPIC) is the default.
11653 lt_prog_compiler_static_FC
='-non_shared'
11656 linux
* | k
*bsd
*-gnu)
11657 case $cc_basename in
11658 # old Intel for x86_64 which still supported -KPIC.
11660 lt_prog_compiler_wl_FC
='-Wl,'
11661 lt_prog_compiler_pic_FC
='-KPIC'
11662 lt_prog_compiler_static_FC
='-static'
11664 # icc used to be incompatible with GCC.
11665 # ICC 10 doesn't accept -KPIC any more.
11667 lt_prog_compiler_wl_FC
='-Wl,'
11668 lt_prog_compiler_pic_FC
='-fPIC'
11669 lt_prog_compiler_static_FC
='-static'
11671 # Lahey Fortran 8.1.
11673 lt_prog_compiler_wl_FC
='-Wl,'
11674 lt_prog_compiler_pic_FC
='--shared'
11675 lt_prog_compiler_static_FC
='--static'
11677 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
11678 # Portland Group compilers (*not* the Pentium gcc compiler,
11679 # which looks to be a dead project)
11680 lt_prog_compiler_wl_FC
='-Wl,'
11681 lt_prog_compiler_pic_FC
='-fpic'
11682 lt_prog_compiler_static_FC
='-Bstatic'
11685 lt_prog_compiler_wl_FC
='-Wl,'
11686 # All Alpha code is PIC.
11687 lt_prog_compiler_static_FC
='-non_shared'
11690 # IBM XL C 8.0/Fortran 10.1 on PPC
11691 lt_prog_compiler_wl_FC
='-Wl,'
11692 lt_prog_compiler_pic_FC
='-qpic'
11693 lt_prog_compiler_static_FC
='-qstaticlink'
11696 case `$CC -V 2>&1 | sed 5q` in
11699 lt_prog_compiler_pic_FC
='-KPIC'
11700 lt_prog_compiler_static_FC
='-Bstatic'
11701 lt_prog_compiler_wl_FC
='-Wl,'
11704 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11705 lt_prog_compiler_pic_FC
='-KPIC'
11706 lt_prog_compiler_static_FC
='-Bstatic'
11707 lt_prog_compiler_wl_FC
=''
11715 lt_prog_compiler_pic_FC
='-KPIC'
11716 lt_prog_compiler_static_FC
='-Bstatic'
11720 # QNX uses GNU C++, but need to define -shared option too, otherwise
11721 # it will coredump.
11722 lt_prog_compiler_pic_FC
='-fPIC -shared'
11725 osf3
* | osf4
* | osf5
*)
11726 lt_prog_compiler_wl_FC
='-Wl,'
11727 # All OSF/1 code is PIC.
11728 lt_prog_compiler_static_FC
='-non_shared'
11732 lt_prog_compiler_static_FC
='-non_shared'
11736 lt_prog_compiler_pic_FC
='-KPIC'
11737 lt_prog_compiler_static_FC
='-Bstatic'
11738 case $cc_basename in
11739 f77
* | f90
* | f95
*)
11740 lt_prog_compiler_wl_FC
='-Qoption ld ';;
11742 lt_prog_compiler_wl_FC
='-Wl,';;
11747 lt_prog_compiler_wl_FC
='-Qoption ld '
11748 lt_prog_compiler_pic_FC
='-PIC'
11749 lt_prog_compiler_static_FC
='-Bstatic'
11752 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11753 lt_prog_compiler_wl_FC
='-Wl,'
11754 lt_prog_compiler_pic_FC
='-KPIC'
11755 lt_prog_compiler_static_FC
='-Bstatic'
11759 if test -d /usr
/nec
;then
11760 lt_prog_compiler_pic_FC
='-Kconform_pic'
11761 lt_prog_compiler_static_FC
='-Bstatic'
11765 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11766 lt_prog_compiler_wl_FC
='-Wl,'
11767 lt_prog_compiler_pic_FC
='-KPIC'
11768 lt_prog_compiler_static_FC
='-Bstatic'
11772 lt_prog_compiler_wl_FC
='-Wl,'
11773 lt_prog_compiler_can_build_shared_FC
=no
11777 lt_prog_compiler_pic_FC
='-pic'
11778 lt_prog_compiler_static_FC
='-Bstatic'
11782 lt_prog_compiler_can_build_shared_FC
=no
11788 # For platforms which do not support PIC, -DPIC is meaningless:
11790 lt_prog_compiler_pic_FC
=
11793 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
11796 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
11797 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6
11802 # Check to make sure the PIC flag actually works.
11804 if test -n "$lt_prog_compiler_pic_FC"; then
11805 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
11806 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6
11807 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then
11808 echo $ECHO_N "(cached) $ECHO_C" >&6
11810 lt_cv_prog_compiler_pic_works_FC
=no
11811 ac_outfile
=conftest.
$ac_objext
11812 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11813 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
11814 # Insert the option either (1) after the last *FLAGS variable, or
11815 # (2) before a word containing "conftest.", or (3) at the end.
11816 # Note that $ac_compile itself does not contain backslashes and begins
11817 # with a dollar sign (not a hyphen), so the echo should work correctly.
11818 # The option is referenced via a variable to avoid confusing sed.
11819 lt_compile
=`echo "$ac_compile" | $SED \
11820 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11821 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11822 -e 's:$: $lt_compiler_flag:'`
11823 (eval echo "\"\$as_me:11823: $lt_compile\"" >&5)
11824 (eval "$lt_compile" 2>conftest.err
)
11826 cat conftest.err
>&5
11827 echo "$as_me:11827: \$? = $ac_status" >&5
11828 if (exit $ac_status) && test -s "$ac_outfile"; then
11829 # The compiler can only warn and ignore the option if not recognized
11830 # So say no if there are warnings other than the usual output.
11831 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
11832 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11833 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11834 lt_cv_prog_compiler_pic_works_FC
=yes
11840 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_FC" >&5
11841 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_FC" >&6
11843 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
11844 case $lt_prog_compiler_pic_FC in
11846 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
11849 lt_prog_compiler_pic_FC
=
11850 lt_prog_compiler_can_build_shared_FC
=no
11858 # Check to make sure the static flag actually works.
11860 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
11861 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11862 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11863 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then
11864 echo $ECHO_N "(cached) $ECHO_C" >&6
11866 lt_cv_prog_compiler_static_works_FC
=no
11867 save_LDFLAGS
="$LDFLAGS"
11868 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11869 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11870 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11871 # The linker can only warn and ignore the option if not recognized
11872 # So say no if there are warnings
11873 if test -s conftest.err
; then
11874 # Append any errors to the config.log.
11875 cat conftest.err
1>&5
11876 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
11877 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11878 if diff conftest.exp conftest.er2
>/dev
/null
; then
11879 lt_cv_prog_compiler_static_works_FC
=yes
11882 lt_cv_prog_compiler_static_works_FC
=yes
11886 LDFLAGS
="$save_LDFLAGS"
11889 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_FC" >&5
11890 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_FC" >&6
11892 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
11895 lt_prog_compiler_static_FC
=
11901 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11902 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11903 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11904 echo $ECHO_N "(cached) $ECHO_C" >&6
11906 lt_cv_prog_compiler_c_o_FC
=no
11907 $RM -r conftest
2>/dev
/null
11911 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11913 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11914 # Insert the option either (1) after the last *FLAGS variable, or
11915 # (2) before a word containing "conftest.", or (3) at the end.
11916 # Note that $ac_compile itself does not contain backslashes and begins
11917 # with a dollar sign (not a hyphen), so the echo should work correctly.
11918 lt_compile
=`echo "$ac_compile" | $SED \
11919 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11920 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11921 -e 's:$: $lt_compiler_flag:'`
11922 (eval echo "\"\$as_me:11922: $lt_compile\"" >&5)
11923 (eval "$lt_compile" 2>out
/conftest.err
)
11925 cat out
/conftest.err
>&5
11926 echo "$as_me:11926: \$? = $ac_status" >&5
11927 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11929 # The compiler can only warn and ignore the option if not recognized
11930 # So say no if there are warnings
11931 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11932 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11933 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11934 lt_cv_prog_compiler_c_o_FC
=yes
11939 # SGI C++ compiler will create directory out/ii_files/ for
11940 # template instantiation
11941 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11942 $RM out
/* && rmdir out
11948 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11949 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11953 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11954 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11955 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11956 echo $ECHO_N "(cached) $ECHO_C" >&6
11958 lt_cv_prog_compiler_c_o_FC
=no
11959 $RM -r conftest
2>/dev
/null
11963 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11965 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11966 # Insert the option either (1) after the last *FLAGS variable, or
11967 # (2) before a word containing "conftest.", or (3) at the end.
11968 # Note that $ac_compile itself does not contain backslashes and begins
11969 # with a dollar sign (not a hyphen), so the echo should work correctly.
11970 lt_compile
=`echo "$ac_compile" | $SED \
11971 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11972 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11973 -e 's:$: $lt_compiler_flag:'`
11974 (eval echo "\"\$as_me:11974: $lt_compile\"" >&5)
11975 (eval "$lt_compile" 2>out
/conftest.err
)
11977 cat out
/conftest.err
>&5
11978 echo "$as_me:11978: \$? = $ac_status" >&5
11979 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11981 # The compiler can only warn and ignore the option if not recognized
11982 # So say no if there are warnings
11983 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11984 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11985 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11986 lt_cv_prog_compiler_c_o_FC
=yes
11991 # SGI C++ compiler will create directory out/ii_files/ for
11992 # template instantiation
11993 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11994 $RM out
/* && rmdir out
12000 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
12001 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
12006 hard_links
="nottested"
12007 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
12008 # do not overwrite the value of need_locks provided by the user
12009 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12010 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12013 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12015 ln conftest.a conftest.b
2>&5 || hard_links
=no
12016 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12017 echo "$as_me:$LINENO: result: $hard_links" >&5
12018 echo "${ECHO_T}$hard_links" >&6
12019 if test "$hard_links" = no
; then
12020 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12021 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12030 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12031 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12034 allow_undefined_flag_FC
=
12035 always_export_symbols_FC
=no
12037 archive_expsym_cmds_FC
=
12038 compiler_needs_object_FC
=no
12039 enable_shared_with_static_runtimes_FC
=no
12040 export_dynamic_flag_spec_FC
=
12041 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12042 hardcode_automatic_FC
=no
12043 hardcode_direct_FC
=no
12044 hardcode_direct_absolute_FC
=no
12045 hardcode_libdir_flag_spec_FC
=
12046 hardcode_libdir_flag_spec_ld_FC
=
12047 hardcode_libdir_separator_FC
=
12048 hardcode_minus_L_FC
=no
12049 hardcode_shlibpath_var_FC
=unsupported
12050 inherit_rpath_FC
=no
12051 link_all_deplibs_FC
=unknown
12053 module_expsym_cmds_FC
=
12054 old_archive_from_new_cmds_FC
=
12055 old_archive_from_expsyms_cmds_FC
=
12056 thread_safe_flag_spec_FC
=
12057 whole_archive_flag_spec_FC
=
12058 # include_expsyms should be a list of space-separated symbols to be *always*
12059 # included in the symbol list
12060 include_expsyms_FC
=
12061 # exclude_expsyms can be an extended regexp of symbols to exclude
12062 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12063 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12064 # as well as any symbol that contains `d'.
12065 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12066 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12067 # platforms (ab)use it in PIC code, but their linkers get confused if
12068 # the symbol is explicitly referenced. Since portable code cannot
12069 # rely on this symbol name, it's probably fine to never include it in
12070 # preloaded symbol tables.
12071 # Exclude shared library initialization/finalization symbols.
12072 extract_expsyms_cmds
=
12075 cygwin
* | mingw
* | pw32
* | cegcc
*)
12076 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12077 # When not using gcc, we currently assume that we are using
12078 # Microsoft Visual C++.
12079 if test "$GCC" != yes; then
12084 # we just hope/assume this is gcc and not c89 (= MSVC++)
12093 if test "$with_gnu_ld" = yes; then
12094 # If archive_cmds runs LD, not CC, wlarc should be empty
12097 # Set some defaults for GNU ld with shared library support. These
12098 # are reset later if shared libraries are not supported. Putting them
12099 # here allows them to be overridden if necessary.
12100 runpath_var
=LD_RUN_PATH
12101 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12102 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
12103 # ancient GNU ld didn't support --whole-archive et. al.
12104 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12105 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12107 whole_archive_flag_spec_FC
=
12109 supports_anon_versioning
=no
12110 case `$LD -v 2>&1` in
12111 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12112 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12113 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12114 *\
2.11.
*) ;; # other 2.11 versions
12115 *) supports_anon_versioning
=yes ;;
12118 # See if GNU ld supports shared libraries.
12121 # On AIX/PPC, the GNU linker is very broken
12122 if test "$host_cpu" != ia64
; then
12126 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
12127 *** to be unable to reliably create shared libraries on AIX.
12128 *** Therefore, libtool is disabling shared libraries support. If you
12129 *** really care for shared libraries, you may want to modify your PATH
12130 *** so that a non-GNU linker is found, and then restart.
12139 # see comment about AmigaOS4 .so support
12140 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12141 archive_expsym_cmds_FC
=''
12144 archive_cmds_FC
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12145 hardcode_libdir_flag_spec_FC
='-L$libdir'
12146 hardcode_minus_L_FC
=yes
12152 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12153 allow_undefined_flag_FC
=unsupported
12154 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12155 # support --undefined. This deserves some investigation. FIXME
12156 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12162 cygwin
* | mingw
* | pw32
* | cegcc
*)
12163 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12164 # as there is no search path for DLLs.
12165 hardcode_libdir_flag_spec_FC
='-L$libdir'
12166 allow_undefined_flag_FC
=unsupported
12167 always_export_symbols_FC
=no
12168 enable_shared_with_static_runtimes_FC
=yes
12169 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12171 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12172 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12173 # If the export-symbols file already is a .def file (1st line
12174 # is EXPORTS), use it as is; otherwise, prepend...
12175 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12176 cp $export_symbols $output_objdir/$soname.def;
12178 echo EXPORTS > $output_objdir/$soname.def;
12179 cat $export_symbols >> $output_objdir/$soname.def;
12181 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12188 hardcode_direct_FC
=no
12189 hardcode_shlibpath_var_FC
=no
12190 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12191 export_dynamic_flag_spec_FC
='${wl}-E'
12192 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12193 # Instead, shared libraries are loaded at an image base (0x10000000 by
12194 # default) and relocated if they conflict, which is a slow very memory
12195 # consuming and fragmenting process. To avoid this, we pick a random,
12196 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12197 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12198 archive_cmds_FC
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12199 archive_expsym_cmds_FC
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12202 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
12204 if test "$host_os" = linux-dietlibc
; then
12205 case $cc_basename in
12206 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12209 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12210 && test "$tmp_diet" = no
12213 tmp_sharedflag
='-shared'
12214 case $cc_basename,$host_cpu in
12215 pgcc
*) # Portland Group C compiler
12216 whole_archive_flag_spec_FC
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12217 tmp_addflag
=' $pic_flag'
12219 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
12220 whole_archive_flag_spec_FC
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12221 tmp_addflag
=' $pic_flag -Mnomain' ;;
12222 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12223 tmp_addflag
=' -i_dynamic' ;;
12224 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12225 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12226 ifc
* | ifort
*) # Intel Fortran compiler
12227 tmp_addflag
=' -nofor_main' ;;
12228 lf95
*) # Lahey Fortran 8.1
12229 whole_archive_flag_spec_FC
=
12230 tmp_sharedflag
='--shared' ;;
12231 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12232 tmp_sharedflag
='-qmkshrobj'
12235 case `$CC -V 2>&1 | sed 5q` in
12236 *Sun\ C
*) # Sun C 5.9
12237 whole_archive_flag_spec_FC
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12238 compiler_needs_object_FC
=yes
12239 tmp_sharedflag
='-G' ;;
12240 *Sun\ F
*) # Sun Fortran 8.3
12241 tmp_sharedflag
='-G' ;;
12243 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12245 if test "x$supports_anon_versioning" = xyes
; then
12246 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12247 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12248 echo "local: *; };" >> $output_objdir/$libname.ver~
12249 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12252 case $cc_basename in
12254 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12255 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
12256 hardcode_libdir_flag_spec_FC
=
12257 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
12258 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12259 if test "x$supports_anon_versioning" = xyes
; then
12260 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12261 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12262 echo "local: *; };" >> $output_objdir/$libname.ver~
12263 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12273 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12274 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12277 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12278 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12283 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12287 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12288 *** create shared libraries on Solaris systems. Therefore, libtool
12289 *** is disabling shared libraries support. We urge you to upgrade GNU
12290 *** binutils to release 2.9.1 or newer. Another option is to modify
12291 *** your PATH or compiler configuration so that the native linker is
12292 *** used, and then restart.
12295 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12296 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12297 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12303 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12304 case `$LD -v 2>&1` in
12305 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12309 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12310 *** reliably create shared libraries on SCO systems. Therefore, libtool
12311 *** is disabling shared libraries support. We urge you to upgrade GNU
12312 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12313 *** your PATH or compiler configuration so that the native linker is
12314 *** used, and then restart.
12319 # For security reasons, it is highly recommended that you always
12320 # use absolute paths for naming shared libraries, and exclude the
12321 # DT_RUNPATH tag from executables and libraries. But doing so
12322 # requires that you compile everything twice, which is a pain.
12323 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12324 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12325 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12326 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12335 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12337 hardcode_direct_FC
=yes
12338 hardcode_shlibpath_var_FC
=no
12342 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12343 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12344 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12351 if test "$ld_shlibs_FC" = no
; then
12353 hardcode_libdir_flag_spec_FC
=
12354 export_dynamic_flag_spec_FC
=
12355 whole_archive_flag_spec_FC
=
12358 # PORTME fill in a description of your system's linker (not GNU ld)
12361 allow_undefined_flag_FC
=unsupported
12362 always_export_symbols_FC
=yes
12363 archive_expsym_cmds_FC
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
12364 # Note: this linker hardcodes the directories in LIBPATH if there
12365 # are no directories specified by -L.
12366 hardcode_minus_L_FC
=yes
12367 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12368 # Neither direct hardcoding nor static linking is supported with a
12370 hardcode_direct_FC
=unsupported
12375 if test "$host_cpu" = ia64
; then
12376 # On IA64, the linker does run time linking by default, so we don't
12377 # have to do anything special.
12378 aix_use_runtimelinking
=no
12379 exp_sym_flag
='-Bexport'
12382 # If we're using GNU nm, then we don't want the "-C" option.
12383 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12384 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12385 export_symbols_cmds_FC
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12387 export_symbols_cmds_FC
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12389 aix_use_runtimelinking
=no
12391 # Test if we are trying to use run time linking or normal
12392 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12393 # need to do runtime linking.
12394 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12395 for ld_flag
in $LDFLAGS; do
12396 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12397 aix_use_runtimelinking
=yes
12404 exp_sym_flag
='-bexport'
12405 no_entry_flag
='-bnoentry'
12408 # When large executables or shared objects are built, AIX ld can
12409 # have problems creating the table of contents. If linking a library
12410 # or program results in "error TOC overflow" add -mminimal-toc to
12411 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12412 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12415 hardcode_direct_FC
=yes
12416 hardcode_direct_absolute_FC
=yes
12417 hardcode_libdir_separator_FC
=':'
12418 link_all_deplibs_FC
=yes
12419 file_list_spec_FC
='${wl}-f,'
12421 if test "$GCC" = yes; then
12422 case $host_os in aix4.
[012]|aix4.
[012].
*)
12423 # We only want to do this on AIX 4.2 and lower, the check
12424 # below for broken collect2 doesn't work under 4.3+
12425 collect2name
=`${CC} -print-prog-name=collect2`
12426 if test -f "$collect2name" &&
12427 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12429 # We have reworked collect2
12432 # We have old collect2
12433 hardcode_direct_FC
=unsupported
12434 # It fails to find uninstalled libraries when the uninstalled
12435 # path is not listed in the libpath. Setting hardcode_minus_L
12436 # to unsupported forces relinking
12437 hardcode_minus_L_FC
=yes
12438 hardcode_libdir_flag_spec_FC
='-L$libdir'
12439 hardcode_libdir_separator_FC
=
12443 shared_flag
='-shared'
12444 if test "$aix_use_runtimelinking" = yes; then
12445 shared_flag
="$shared_flag "'${wl}-G'
12449 if test "$host_cpu" = ia64
; then
12450 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12451 # chokes on -Wl,-G. The following line is correct:
12454 if test "$aix_use_runtimelinking" = yes; then
12455 shared_flag
='${wl}-G'
12457 shared_flag
='${wl}-bM:SRE'
12462 export_dynamic_flag_spec_FC
='${wl}-bexpall'
12463 # It seems that -bexpall does not export symbols beginning with
12464 # underscore (_), so it is better to generate a list of symbols to export.
12465 always_export_symbols_FC
=yes
12466 if test "$aix_use_runtimelinking" = yes; then
12467 # Warning - without using the other runtime loading flags (-brtl),
12468 # -berok will link without error, but may produce a broken library.
12469 allow_undefined_flag_FC
='-berok'
12470 # Determine the default libpath from the value encoded in an
12471 # empty executable.
12472 cat >conftest.
$ac_ext <<_ACEOF
12477 rm -f conftest.
$ac_objext conftest
$ac_exeext
12478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12479 (eval $ac_link) 2>conftest.er1
12481 grep -v '^ *+' conftest.er1
>conftest.err
12483 cat conftest.err
>&5
12484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12485 (exit $ac_status); } &&
12486 { ac_try
='test -z "$ac_fc_werror_flag"
12487 || test ! -s conftest.err'
12488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12489 (eval $ac_try) 2>&5
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); }; } &&
12493 { ac_try
='test -s conftest$ac_exeext'
12494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12495 (eval $ac_try) 2>&5
12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12498 (exit $ac_status); }; }; then
12500 lt_aix_libpath_sed
='
12501 /Import File Strings/,/^$/ {
12507 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12508 # Check for a 64-bit object if we didn't find anything.
12509 if test -z "$aix_libpath"; then
12510 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12513 echo "$as_me: failed program was:" >&5
12514 sed 's/^/| /' conftest.
$ac_ext >&5
12517 rm -f conftest.err conftest.
$ac_objext \
12518 conftest
$ac_exeext conftest.
$ac_ext
12519 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12521 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
12522 archive_expsym_cmds_FC
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12524 if test "$host_cpu" = ia64
; then
12525 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
12526 allow_undefined_flag_FC
="-z nodefs"
12527 archive_expsym_cmds_FC
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12529 # Determine the default libpath from the value encoded in an
12530 # empty executable.
12531 cat >conftest.
$ac_ext <<_ACEOF
12536 rm -f conftest.
$ac_objext conftest
$ac_exeext
12537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12538 (eval $ac_link) 2>conftest.er1
12540 grep -v '^ *+' conftest.er1
>conftest.err
12542 cat conftest.err
>&5
12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12544 (exit $ac_status); } &&
12545 { ac_try
='test -z "$ac_fc_werror_flag"
12546 || test ! -s conftest.err'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; } &&
12552 { ac_try
='test -s conftest$ac_exeext'
12553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12554 (eval $ac_try) 2>&5
12556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557 (exit $ac_status); }; }; then
12559 lt_aix_libpath_sed
='
12560 /Import File Strings/,/^$/ {
12566 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12567 # Check for a 64-bit object if we didn't find anything.
12568 if test -z "$aix_libpath"; then
12569 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12572 echo "$as_me: failed program was:" >&5
12573 sed 's/^/| /' conftest.
$ac_ext >&5
12576 rm -f conftest.err conftest.
$ac_objext \
12577 conftest
$ac_exeext conftest.
$ac_ext
12578 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12580 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
12581 # Warning - without using the other run time loading flags,
12582 # -berok will link without error, but may produce a broken library.
12583 no_undefined_flag_FC
=' ${wl}-bernotok'
12584 allow_undefined_flag_FC
=' ${wl}-berok'
12585 # Exported symbols can be pulled into shared objects from archives
12586 whole_archive_flag_spec_FC
='$convenience'
12587 archive_cmds_need_lc_FC
=yes
12588 # This is similar to how AIX traditionally builds its shared libraries.
12589 archive_expsym_cmds_FC
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12597 # see comment about AmigaOS4 .so support
12598 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12599 archive_expsym_cmds_FC
=''
12602 archive_cmds_FC
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12603 hardcode_libdir_flag_spec_FC
='-L$libdir'
12604 hardcode_minus_L_FC
=yes
12610 export_dynamic_flag_spec_FC
=-rdynamic
12613 cygwin
* | mingw
* | pw32
* | cegcc
*)
12614 # When not using gcc, we currently assume that we are using
12615 # Microsoft Visual C++.
12616 # hardcode_libdir_flag_spec is actually meaningless, as there is
12617 # no search path for DLLs.
12618 hardcode_libdir_flag_spec_FC
=' '
12619 allow_undefined_flag_FC
=unsupported
12620 # Tell ltmain to make .lib files, not .a files.
12622 # Tell ltmain to make .dll files, not .so files.
12624 # FIXME: Setting linknames here is a bad hack.
12625 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
12626 # The linker will automatically build a .lib file if we build a DLL.
12627 old_archive_from_new_cmds_FC
='true'
12628 # FIXME: Should let the user specify the lib program.
12629 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12630 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
12631 enable_shared_with_static_runtimes_FC
=yes
12634 darwin
* | rhapsody
*)
12637 archive_cmds_need_lc_FC
=no
12638 hardcode_direct_FC
=no
12639 hardcode_automatic_FC
=yes
12640 hardcode_shlibpath_var_FC
=unsupported
12641 whole_archive_flag_spec_FC
=''
12642 link_all_deplibs_FC
=yes
12643 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
12644 case $cc_basename in
12645 ifort
*) _lt_dar_can_shared
=yes ;;
12646 *) _lt_dar_can_shared
=$GCC ;;
12648 if test "$_lt_dar_can_shared" = "yes"; then
12649 output_verbose_link_cmd
=echo
12650 archive_cmds_FC
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12651 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12652 archive_expsym_cmds_FC
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12653 module_expsym_cmds_FC
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12662 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12663 hardcode_libdir_flag_spec_FC
='-L$libdir'
12664 hardcode_shlibpath_var_FC
=no
12671 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12672 # support. Future versions do this automatically, but an explicit c++rt0.o
12673 # does not break anything, and helps significantly (at the cost of a little
12676 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12677 hardcode_libdir_flag_spec_FC
='-R$libdir'
12678 hardcode_direct_FC
=yes
12679 hardcode_shlibpath_var_FC
=no
12682 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12684 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12685 hardcode_direct_FC
=yes
12686 hardcode_minus_L_FC
=yes
12687 hardcode_shlibpath_var_FC
=no
12690 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12691 freebsd
* | dragonfly
*)
12692 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12693 hardcode_libdir_flag_spec_FC
='-R$libdir'
12694 hardcode_direct_FC
=yes
12695 hardcode_shlibpath_var_FC
=no
12699 if test "$GCC" = yes; then
12700 archive_cmds_FC
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12702 archive_cmds_FC
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12704 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
12705 hardcode_libdir_separator_FC
=:
12706 hardcode_direct_FC
=yes
12708 # hardcode_minus_L: Not really in the search PATH,
12709 # but as the default location of the library.
12710 hardcode_minus_L_FC
=yes
12711 export_dynamic_flag_spec_FC
='${wl}-E'
12715 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
12716 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12718 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12720 if test "$with_gnu_ld" = no
; then
12721 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
12722 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
12723 hardcode_libdir_separator_FC
=:
12724 hardcode_direct_FC
=yes
12725 hardcode_direct_absolute_FC
=yes
12726 export_dynamic_flag_spec_FC
='${wl}-E'
12727 # hardcode_minus_L: Not really in the search PATH,
12728 # but as the default location of the library.
12729 hardcode_minus_L_FC
=yes
12734 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
12737 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12740 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12743 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12749 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12752 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12755 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12759 if test "$with_gnu_ld" = no
; then
12760 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
12761 hardcode_libdir_separator_FC
=:
12765 hardcode_direct_FC
=no
12766 hardcode_shlibpath_var_FC
=no
12769 hardcode_direct_FC
=yes
12770 hardcode_direct_absolute_FC
=yes
12771 export_dynamic_flag_spec_FC
='${wl}-E'
12773 # hardcode_minus_L: Not really in the search PATH,
12774 # but as the default location of the library.
12775 hardcode_minus_L_FC
=yes
12781 irix5
* | irix6
* | nonstopux
*)
12782 if test "$GCC" = yes; then
12783 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12784 # Try to use the -exported_symbol ld option, if it does not
12785 # work, assume that -exports_file does not work either and
12786 # implicitly export all symbols.
12787 save_LDFLAGS
="$LDFLAGS"
12788 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12789 cat >conftest.
$ac_ext <<_ACEOF
12792 rm -f conftest.
$ac_objext conftest
$ac_exeext
12793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12794 (eval $ac_link) 2>conftest.er1
12796 grep -v '^ *+' conftest.er1
>conftest.err
12798 cat conftest.err
>&5
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 (exit $ac_status); } &&
12801 { ac_try
='test -z "$ac_fc_werror_flag"
12802 || test ! -s conftest.err'
12803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12804 (eval $ac_try) 2>&5
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); }; } &&
12808 { ac_try
='test -s conftest$ac_exeext'
12809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12810 (eval $ac_try) 2>&5
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); }; }; then
12814 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
12817 echo "$as_me: failed program was:" >&5
12818 sed 's/^/| /' conftest.
$ac_ext >&5
12821 rm -f conftest.err conftest.
$ac_objext \
12822 conftest
$ac_exeext conftest.
$ac_ext
12823 LDFLAGS
="$save_LDFLAGS"
12825 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12826 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
12828 archive_cmds_need_lc_FC
='no'
12829 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12830 hardcode_libdir_separator_FC
=:
12831 inherit_rpath_FC
=yes
12832 link_all_deplibs_FC
=yes
12836 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12837 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12839 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12841 hardcode_libdir_flag_spec_FC
='-R$libdir'
12842 hardcode_direct_FC
=yes
12843 hardcode_shlibpath_var_FC
=no
12847 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12848 hardcode_direct_FC
=yes
12849 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12850 hardcode_libdir_separator_FC
=:
12851 hardcode_shlibpath_var_FC
=no
12858 if test -f /usr
/libexec
/ld.so
; then
12859 hardcode_direct_FC
=yes
12860 hardcode_shlibpath_var_FC
=no
12861 hardcode_direct_absolute_FC
=yes
12862 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12863 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12864 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12865 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12866 export_dynamic_flag_spec_FC
='${wl}-E'
12869 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12870 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12871 hardcode_libdir_flag_spec_FC
='-R$libdir'
12874 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12875 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12885 hardcode_libdir_flag_spec_FC
='-L$libdir'
12886 hardcode_minus_L_FC
=yes
12887 allow_undefined_flag_FC
=unsupported
12888 archive_cmds_FC
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
12889 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12893 if test "$GCC" = yes; then
12894 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
12895 archive_cmds_FC
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12897 allow_undefined_flag_FC
=' -expect_unresolved \*'
12898 archive_cmds_FC
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12900 archive_cmds_need_lc_FC
='no'
12901 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12902 hardcode_libdir_separator_FC
=:
12905 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12906 if test "$GCC" = yes; then
12907 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
12908 archive_cmds_FC
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12909 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12911 allow_undefined_flag_FC
=' -expect_unresolved \*'
12912 archive_cmds_FC
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12913 archive_expsym_cmds_FC
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
12914 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
12916 # Both c and cxx compiler support -rpath directly
12917 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
12919 archive_cmds_need_lc_FC
='no'
12920 hardcode_libdir_separator_FC
=:
12924 no_undefined_flag_FC
=' -z defs'
12925 if test "$GCC" = yes; then
12927 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12928 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12929 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12931 case `$CC -V 2>&1` in
12934 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12935 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12936 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12940 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12941 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12942 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12946 hardcode_libdir_flag_spec_FC
='-R$libdir'
12947 hardcode_shlibpath_var_FC
=no
12949 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12951 # The compiler driver will combine and reorder linker options,
12952 # but understands `-z linker_flag'. GCC discards it without `$wl',
12953 # but is careful enough not to reorder.
12954 # Supported since Solaris 2.6 (maybe 2.5.1?)
12955 if test "$GCC" = yes; then
12956 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12958 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
12962 link_all_deplibs_FC
=yes
12966 if test "x$host_vendor" = xsequent
; then
12967 # Use $CC to link under sequent, because it throws in some extra .o
12968 # files that make .init and .fini sections work.
12969 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12971 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12973 hardcode_libdir_flag_spec_FC
='-L$libdir'
12974 hardcode_direct_FC
=yes
12975 hardcode_minus_L_FC
=yes
12976 hardcode_shlibpath_var_FC
=no
12980 case $host_vendor in
12982 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12983 hardcode_direct_FC
=yes # is this really true???
12986 ## LD is ld it makes a PLAMLIB
12987 ## CC just makes a GrossModule.
12988 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12989 reload_cmds_FC
='$CC -r -o $output$reload_objs'
12990 hardcode_direct_FC
=no
12993 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12994 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
12997 runpath_var
='LD_RUN_PATH'
12998 hardcode_shlibpath_var_FC
=no
13002 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13003 hardcode_shlibpath_var_FC
=no
13004 export_dynamic_flag_spec_FC
='-Bexport'
13008 if test -d /usr
/nec
; then
13009 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13010 hardcode_shlibpath_var_FC
=no
13011 runpath_var
=LD_RUN_PATH
13012 hardcode_runpath_var
=yes
13017 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13018 no_undefined_flag_FC
='${wl}-z,text'
13019 archive_cmds_need_lc_FC
=no
13020 hardcode_shlibpath_var_FC
=no
13021 runpath_var
='LD_RUN_PATH'
13023 if test "$GCC" = yes; then
13024 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13025 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13027 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13028 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13032 sysv5
* | sco3.2v5
* | sco5v6
*)
13033 # Note: We can NOT use -z defs as we might desire, because we do not
13034 # link with -lc, and that would cause any symbols used from libc to
13035 # always be unresolved, which means just about no library would
13036 # ever link correctly. If we're not using GNU ld we use -z text
13037 # though, which does catch some bad symbols but isn't as heavy-handed
13039 no_undefined_flag_FC
='${wl}-z,text'
13040 allow_undefined_flag_FC
='${wl}-z,nodefs'
13041 archive_cmds_need_lc_FC
=no
13042 hardcode_shlibpath_var_FC
=no
13043 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
13044 hardcode_libdir_separator_FC
=':'
13045 link_all_deplibs_FC
=yes
13046 export_dynamic_flag_spec_FC
='${wl}-Bexport'
13047 runpath_var
='LD_RUN_PATH'
13049 if test "$GCC" = yes; then
13050 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13051 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13053 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13054 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13059 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13060 hardcode_libdir_flag_spec_FC
='-L$libdir'
13061 hardcode_shlibpath_var_FC
=no
13069 if test x
$host_vendor = xsni
; then
13071 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13072 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
13078 echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
13079 echo "${ECHO_T}$ld_shlibs_FC" >&6
13080 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
13082 with_gnu_ld_FC
=$with_gnu_ld
13090 # Do we need to explicitly link libc?
13092 case "x$archive_cmds_need_lc_FC" in
13094 # Assume -lc should be added
13095 archive_cmds_need_lc_FC
=yes
13097 if test "$enable_shared" = yes && test "$GCC" = yes; then
13098 case $archive_cmds_FC in
13100 # FIXME: we may have to deal with multi-command sequences.
13103 # Test whether the compiler implicitly links with -lc since on some
13104 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13105 # to ld, don't add -lc before -lgcc.
13106 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13107 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13109 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13112 (eval $ac_compile) 2>&5
13114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13115 (exit $ac_status); } 2>conftest.err
; then
13118 libobjs
=conftest.
$ac_objext
13120 wl
=$lt_prog_compiler_wl_FC
13121 pic_flag
=$lt_prog_compiler_pic_FC
13127 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
13128 allow_undefined_flag_FC
=
13129 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13130 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13133 (exit $ac_status); }
13135 archive_cmds_need_lc_FC
=no
13137 archive_cmds_need_lc_FC
=yes
13139 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
13141 cat conftest.err
1>&5
13144 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_FC" >&5
13145 echo "${ECHO_T}$archive_cmds_need_lc_FC" >&6
13215 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13216 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13218 library_names_spec
=
13219 libname_spec
='lib$name'
13223 postuninstall_cmds
=
13227 shlibpath_overrides_runpath
=unknown
13229 dynamic_linker
="$host_os ld.so"
13230 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13231 need_lib_prefix
=unknown
13232 hardcode_into_libs
=no
13234 # when you set need_version to no, make sure it does not cause -set_version
13235 # flags to be left without arguments
13236 need_version
=unknown
13241 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13242 shlibpath_var
=LIBPATH
13244 # AIX 3 has no versioning support, so we append a major version to the name.
13245 soname_spec
='${libname}${release}${shared_ext}$major'
13252 hardcode_into_libs
=yes
13253 if test "$host_cpu" = ia64
; then
13254 # AIX 5 supports IA64
13255 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13256 shlibpath_var
=LD_LIBRARY_PATH
13258 # With GCC up to 2.95.x, collect2 would create an import file
13259 # for dependence libraries. The import file would start with
13260 # the line `#! .'. This would cause the generated library to
13261 # depend on `.', always an invalid library. This was fixed in
13262 # development snapshots of GCC prior to 3.0.
13264 aix4 | aix4.
[01] | aix4.
[01].
*)
13265 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13267 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13270 can_build_shared
=no
13274 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13275 # soname into executable. Probably we can add versioning support to
13276 # collect2, so additional links can be useful in future.
13277 if test "$aix_use_runtimelinking" = yes; then
13278 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13279 # instead of lib<name>.a to let people know that these are not
13280 # typical AIX shared libraries.
13281 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13283 # We preserve .a as extension for shared libraries through AIX4.2
13284 # and later when we are not doing run time linking.
13285 library_names_spec
='${libname}${release}.a $libname.a'
13286 soname_spec
='${libname}${release}${shared_ext}$major'
13288 shlibpath_var
=LIBPATH
13295 # Since July 2007 AmigaOS4 officially supports .so libraries.
13296 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13300 library_names_spec
='$libname.ixlibrary $libname.a'
13301 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13302 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13308 library_names_spec
='${libname}${shared_ext}'
13309 dynamic_linker
="$host_os ld.so"
13310 shlibpath_var
=LIBRARY_PATH
13316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13317 soname_spec
='${libname}${release}${shared_ext}$major'
13318 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13319 shlibpath_var
=LD_LIBRARY_PATH
13320 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13321 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13322 # the default ld.so.conf also contains /usr/contrib/lib and
13323 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13324 # libtool to hard-code these into programs
13327 cygwin
* | mingw
* | pw32
* | cegcc
*)
13328 version_type
=windows
13333 case $GCC,$host_os in
13334 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13335 library_names_spec
='$libname.dll.a'
13336 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13337 postinstall_cmds
='base_file=`basename \${file}`~
13338 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13339 dldir=$destdir/`dirname \$dlpath`~
13340 test -d \$dldir || mkdir -p \$dldir~
13341 $install_prog $dir/$dlname \$dldir/$dlname~
13342 chmod a+x \$dldir/$dlname~
13343 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13344 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13346 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13347 dlpath=$dir/\$dldll~
13349 shlibpath_overrides_runpath
=yes
13353 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13354 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13355 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13358 # MinGW DLLs use traditional 'lib' prefix
13359 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13360 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13361 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
13362 # It is most probably a Windows format PATH printed by
13363 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13364 # path with ; separators, and with drive letters. We can handle the
13365 # drive letters (cygwin fileutils understands them), so leave them,
13366 # especially as we might pass files found there to a mingw objdump,
13367 # which wouldn't understand a cygwinified path. Ahh.
13368 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13370 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13374 # pw32 DLLs use 'pw' prefix rather than 'lib'
13375 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13381 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13384 dynamic_linker
='Win32 ld.exe'
13385 # FIXME: first we should search . and the directory the executable is in
13389 darwin
* | rhapsody
*)
13390 dynamic_linker
="$host_os dyld"
13391 version_type
=darwin
13394 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13395 soname_spec
='${libname}${release}${major}$shared_ext'
13396 shlibpath_overrides_runpath
=yes
13397 shlibpath_var
=DYLD_LIBRARY_PATH
13398 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13400 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13408 soname_spec
='${libname}${release}${shared_ext}$major'
13409 shlibpath_var
=LD_LIBRARY_PATH
13416 freebsd
* | dragonfly
*)
13417 # DragonFly does not have aout. When/if they implement a new
13418 # versioning mechanism, adjust this.
13419 if test -x /usr
/bin
/objformat
; then
13420 objformat
=`/usr/bin/objformat`
13423 freebsd
[123]*) objformat
=aout
;;
13424 *) objformat
=elf
;;
13427 version_type
=freebsd-
$objformat
13428 case $version_type in
13430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13435 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13439 shlibpath_var
=LD_LIBRARY_PATH
13442 shlibpath_overrides_runpath
=yes
13444 freebsd3.
[01]* | freebsdelf3.
[01]*)
13445 shlibpath_overrides_runpath
=yes
13446 hardcode_into_libs
=yes
13448 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13449 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13450 shlibpath_overrides_runpath
=no
13451 hardcode_into_libs
=yes
13453 *) # from 4.6 on, and DragonFly
13454 shlibpath_overrides_runpath
=yes
13455 hardcode_into_libs
=yes
13464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13465 soname_spec
='${libname}${release}${shared_ext}$major'
13466 shlibpath_var
=LD_LIBRARY_PATH
13467 hardcode_into_libs
=yes
13470 hpux9
* | hpux10
* | hpux11
*)
13471 # Give a soname corresponding to the major version so that dld.sl refuses to
13472 # link against other versions.
13479 hardcode_into_libs
=yes
13480 dynamic_linker
="$host_os dld.so"
13481 shlibpath_var
=LD_LIBRARY_PATH
13482 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13484 soname_spec
='${libname}${release}${shared_ext}$major'
13485 if test "X$HPUX_IA64_MODE" = X32
; then
13486 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13488 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13490 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13494 hardcode_into_libs
=yes
13495 dynamic_linker
="$host_os dld.sl"
13496 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13497 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13498 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13499 soname_spec
='${libname}${release}${shared_ext}$major'
13500 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13501 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13505 dynamic_linker
="$host_os dld.sl"
13506 shlibpath_var
=SHLIB_PATH
13507 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13509 soname_spec
='${libname}${release}${shared_ext}$major'
13512 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13513 postinstall_cmds
='chmod 555 $lib'
13520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13521 soname_spec
='${libname}${release}${shared_ext}$major'
13522 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13523 shlibpath_var
=LD_LIBRARY_PATH
13524 shlibpath_overrides_runpath
=no
13525 hardcode_into_libs
=yes
13528 irix5
* | irix6
* | nonstopux
*)
13530 nonstopux
*) version_type
=nonstopux
;;
13532 if test "$lt_cv_prog_gnu_ld" = yes; then
13540 soname_spec
='${libname}${release}${shared_ext}$major'
13541 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13543 irix5
* | nonstopux
*)
13544 libsuff
= shlibsuff
=
13547 case $LD in # libtool.m4 will add one of these switches to LD
13548 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13549 libsuff
= shlibsuff
= libmagic
=32-bit;;
13550 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13551 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13552 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13553 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13554 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13558 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13559 shlibpath_overrides_runpath
=no
13560 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13561 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13562 hardcode_into_libs
=yes
13565 # No shared lib support for Linux oldld, aout, or coff.
13566 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13570 # This must be Linux ELF.
13571 linux
* | k
*bsd
*-gnu)
13575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13576 soname_spec
='${libname}${release}${shared_ext}$major'
13577 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13578 shlibpath_var
=LD_LIBRARY_PATH
13579 shlibpath_overrides_runpath
=no
13580 # Some binutils ld are patched to set DT_RUNPATH
13581 save_LDFLAGS
=$LDFLAGS
13582 save_libdir
=$libdir
13583 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
13584 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
13585 cat >conftest.
$ac_ext <<_ACEOF
13590 rm -f conftest.
$ac_objext conftest
$ac_exeext
13591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13592 (eval $ac_link) 2>conftest.er1
13594 grep -v '^ *+' conftest.er1
>conftest.err
13596 cat conftest.err
>&5
13597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13598 (exit $ac_status); } &&
13599 { ac_try
='test -z "$ac_fc_werror_flag"
13600 || test ! -s conftest.err'
13601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13602 (eval $ac_try) 2>&5
13604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13605 (exit $ac_status); }; } &&
13606 { ac_try
='test -s conftest$ac_exeext'
13607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13608 (eval $ac_try) 2>&5
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); }; }; then
13612 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then
13613 shlibpath_overrides_runpath
=yes
13617 echo "$as_me: failed program was:" >&5
13618 sed 's/^/| /' conftest.
$ac_ext >&5
13621 rm -f conftest.err conftest.
$ac_objext \
13622 conftest
$ac_exeext conftest.
$ac_ext
13623 LDFLAGS
=$save_LDFLAGS
13624 libdir
=$save_libdir
13626 # This implies no fast_install, which is unacceptable.
13627 # Some rework will be needed to allow for fast_install
13628 # before this can be enabled.
13629 hardcode_into_libs
=yes
13631 # Append ld.so.conf contents to the search path
13632 if test -f /etc
/ld.so.conf
; then
13633 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13634 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13637 # We used to test for /lib/ld.so.1 and disable shared libraries on
13638 # powerpc, because MkLinux only supported shared libraries with the
13639 # GNU dynamic linker. Since this was broken with cross compilers,
13640 # most powerpc-linux boxes support dynamic linking these days and
13641 # people can always --disable-shared, the test was removed, and we
13642 # assume the GNU/Linux dynamic linker is in use.
13643 dynamic_linker
='GNU/Linux ld.so'
13650 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13652 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13653 dynamic_linker
='NetBSD (a.out) ld.so'
13655 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13656 soname_spec
='${libname}${release}${shared_ext}$major'
13657 dynamic_linker
='NetBSD ld.elf_so'
13659 shlibpath_var
=LD_LIBRARY_PATH
13660 shlibpath_overrides_runpath
=yes
13661 hardcode_into_libs
=yes
13666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13667 shlibpath_var
=LD_LIBRARY_PATH
13668 shlibpath_overrides_runpath
=yes
13675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13676 soname_spec
='${libname}${release}${shared_ext}$major'
13677 shlibpath_var
=LD_LIBRARY_PATH
13678 shlibpath_overrides_runpath
=no
13679 hardcode_into_libs
=yes
13680 dynamic_linker
='ldqnx.so'
13685 sys_lib_dlsearch_path_spec
="/usr/lib"
13687 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13689 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13690 *) need_version
=no
;;
13692 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13693 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13694 shlibpath_var
=LD_LIBRARY_PATH
13695 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13697 openbsd2.
[89] | openbsd2.
[89].
*)
13698 shlibpath_overrides_runpath
=no
13701 shlibpath_overrides_runpath
=yes
13705 shlibpath_overrides_runpath
=yes
13710 libname_spec
='$name'
13713 library_names_spec
='$libname${shared_ext} $libname.a'
13714 dynamic_linker
='OS/2 ld.exe'
13715 shlibpath_var
=LIBPATH
13718 osf3
* | osf4
* | osf5
*)
13722 soname_spec
='${libname}${release}${shared_ext}$major'
13723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13724 shlibpath_var
=LD_LIBRARY_PATH
13725 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13726 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13738 soname_spec
='${libname}${release}${shared_ext}$major'
13739 shlibpath_var
=LD_LIBRARY_PATH
13740 shlibpath_overrides_runpath
=yes
13741 hardcode_into_libs
=yes
13742 # ldd complains unless libraries are executable
13743 postinstall_cmds
='chmod +x $lib'
13748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13749 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13750 shlibpath_var
=LD_LIBRARY_PATH
13751 shlibpath_overrides_runpath
=yes
13752 if test "$with_gnu_ld" = yes; then
13760 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13761 soname_spec
='${libname}${release}${shared_ext}$major'
13762 shlibpath_var
=LD_LIBRARY_PATH
13763 case $host_vendor in
13765 shlibpath_overrides_runpath
=no
13767 runpath_var
=LD_RUN_PATH
13775 shlibpath_overrides_runpath
=no
13776 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13782 if test -d /usr
/nec
;then
13784 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13785 soname_spec
='$libname${shared_ext}.$major'
13786 shlibpath_var
=LD_LIBRARY_PATH
13790 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13791 version_type
=freebsd-elf
13794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13795 soname_spec
='${libname}${release}${shared_ext}$major'
13796 shlibpath_var
=LD_LIBRARY_PATH
13797 shlibpath_overrides_runpath
=yes
13798 hardcode_into_libs
=yes
13799 if test "$with_gnu_ld" = yes; then
13800 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13802 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13805 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13809 sys_lib_dlsearch_path_spec
='/usr/lib'
13813 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13818 shlibpath_var
=LD_LIBRARY_PATH
13819 shlibpath_overrides_runpath
=no
13820 hardcode_into_libs
=yes
13825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13826 soname_spec
='${libname}${release}${shared_ext}$major'
13827 shlibpath_var
=LD_LIBRARY_PATH
13834 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13835 echo "${ECHO_T}$dynamic_linker" >&6
13836 test "$dynamic_linker" = no
&& can_build_shared
=no
13838 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13839 if test "$GCC" = yes; then
13840 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13843 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13844 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13846 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13847 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13885 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13886 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13887 hardcode_action_FC
=
13888 if test -n "$hardcode_libdir_flag_spec_FC" ||
13889 test -n "$runpath_var_FC" ||
13890 test "X$hardcode_automatic_FC" = "Xyes" ; then
13892 # We can hardcode non-existent directories.
13893 if test "$hardcode_direct_FC" != no
&&
13894 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13895 # have to relink, otherwise we might link with an installed library
13896 # when we should be linking with a yet-to-be-installed one
13897 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
13898 test "$hardcode_minus_L_FC" != no
; then
13899 # Linking always hardcodes the temporary library directory.
13900 hardcode_action_FC
=relink
13902 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13903 hardcode_action_FC
=immediate
13906 # We cannot hardcode anything, or else we can only hardcode existing
13908 hardcode_action_FC
=unsupported
13910 echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
13911 echo "${ECHO_T}$hardcode_action_FC" >&6
13913 if test "$hardcode_action_FC" = relink ||
13914 test "$inherit_rpath_FC" = yes; then
13915 # Fast installation is not supported
13916 enable_fast_install
=no
13917 elif test "$shlibpath_overrides_runpath" = yes ||
13918 test "$enable_shared" = no
; then
13919 # Fast installation is not necessary
13920 enable_fast_install
=needless
13929 fi # test -n "$compiler"
13933 fi # test "$_lt_disable_FC" != yes
13936 ac_cpp
='$CPP $CPPFLAGS'
13937 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13938 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13939 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13942 FCFLAGS
="$FCFLAGS -Wall"
13944 # For libtool versioning info, format is CURRENT:REVISION:AGE
13945 libtool_VERSION
=1:0:0
13948 # Check header files.
13949 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13950 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13951 if test "${ac_cv_header_stdc+set}" = set; then
13952 echo $ECHO_N "(cached) $ECHO_C" >&6
13954 cat >conftest.
$ac_ext <<_ACEOF
13957 cat confdefs.h
>>conftest.
$ac_ext
13958 cat >>conftest.
$ac_ext <<_ACEOF
13959 /* end confdefs.h. */
13960 #include <stdlib.h>
13961 #include <stdarg.h>
13962 #include <string.h>
13973 rm -f conftest.
$ac_objext
13974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13975 (eval $ac_compile) 2>conftest.er1
13977 grep -v '^ *+' conftest.er1
>conftest.err
13979 cat conftest.err
>&5
13980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981 (exit $ac_status); } &&
13982 { ac_try
='test -z "$ac_c_werror_flag"
13983 || test ! -s conftest.err'
13984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13985 (eval $ac_try) 2>&5
13987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988 (exit $ac_status); }; } &&
13989 { ac_try
='test -s conftest.$ac_objext'
13990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13991 (eval $ac_try) 2>&5
13993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994 (exit $ac_status); }; }; then
13995 ac_cv_header_stdc
=yes
13997 echo "$as_me: failed program was:" >&5
13998 sed 's/^/| /' conftest.
$ac_ext >&5
14000 ac_cv_header_stdc
=no
14002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14004 if test $ac_cv_header_stdc = yes; then
14005 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14006 cat >conftest.
$ac_ext <<_ACEOF
14009 cat confdefs.h
>>conftest.
$ac_ext
14010 cat >>conftest.
$ac_ext <<_ACEOF
14011 /* end confdefs.h. */
14012 #include <string.h>
14015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14016 $EGREP "memchr" >/dev
/null
2>&1; then
14019 ac_cv_header_stdc
=no
14025 if test $ac_cv_header_stdc = yes; then
14026 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14027 cat >conftest.
$ac_ext <<_ACEOF
14030 cat confdefs.h
>>conftest.
$ac_ext
14031 cat >>conftest.
$ac_ext <<_ACEOF
14032 /* end confdefs.h. */
14033 #include <stdlib.h>
14036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14037 $EGREP "free" >/dev
/null
2>&1; then
14040 ac_cv_header_stdc
=no
14046 if test $ac_cv_header_stdc = yes; then
14047 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14048 if test "$cross_compiling" = yes; then
14051 cat >conftest.
$ac_ext <<_ACEOF
14054 cat confdefs.h
>>conftest.
$ac_ext
14055 cat >>conftest.
$ac_ext <<_ACEOF
14056 /* end confdefs.h. */
14058 #if ((' ' & 0x0FF) == 0x020)
14059 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14060 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14062 # define ISLOWER(c) \
14063 (('a' <= (c) && (c) <= 'i') \
14064 || ('j' <= (c) && (c) <= 'r') \
14065 || ('s' <= (c) && (c) <= 'z'))
14066 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14069 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14074 for (i = 0; i < 256; i++)
14075 if (XOR (islower (i), ISLOWER (i))
14076 || toupper (i) != TOUPPER (i))
14081 rm -f conftest
$ac_exeext
14082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14083 (eval $ac_link) 2>&5
14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14086 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14088 (eval $ac_try) 2>&5
14090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14091 (exit $ac_status); }; }; then
14094 echo "$as_me: program exited with status $ac_status" >&5
14095 echo "$as_me: failed program was:" >&5
14096 sed 's/^/| /' conftest.
$ac_ext >&5
14098 ( exit $ac_status )
14099 ac_cv_header_stdc
=no
14101 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14105 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14106 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14107 if test $ac_cv_header_stdc = yes; then
14109 cat >>confdefs.h
<<\_ACEOF
14110 #define STDC_HEADERS 1
14115 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14116 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
14117 if test "${ac_cv_header_time+set}" = set; then
14118 echo $ECHO_N "(cached) $ECHO_C" >&6
14120 cat >conftest.
$ac_ext <<_ACEOF
14123 cat confdefs.h
>>conftest.
$ac_ext
14124 cat >>conftest.
$ac_ext <<_ACEOF
14125 /* end confdefs.h. */
14126 #include <sys/types.h>
14127 #include <sys/time.h>
14133 if ((struct tm *) 0)
14139 rm -f conftest.
$ac_objext
14140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14141 (eval $ac_compile) 2>conftest.er1
14143 grep -v '^ *+' conftest.er1
>conftest.err
14145 cat conftest.err
>&5
14146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); } &&
14148 { ac_try
='test -z "$ac_c_werror_flag"
14149 || test ! -s conftest.err'
14150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14151 (eval $ac_try) 2>&5
14153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14154 (exit $ac_status); }; } &&
14155 { ac_try
='test -s conftest.$ac_objext'
14156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14157 (eval $ac_try) 2>&5
14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); }; }; then
14161 ac_cv_header_time
=yes
14163 echo "$as_me: failed program was:" >&5
14164 sed 's/^/| /' conftest.
$ac_ext >&5
14166 ac_cv_header_time
=no
14168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14170 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14171 echo "${ECHO_T}$ac_cv_header_time" >&6
14172 if test $ac_cv_header_time = yes; then
14174 cat >>confdefs.h
<<\_ACEOF
14175 #define TIME_WITH_SYS_TIME 1
14180 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
14181 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
14182 if test "${gcc_cv_header_string+set}" = set; then
14183 echo $ECHO_N "(cached) $ECHO_C" >&6
14185 cat >conftest.
$ac_ext <<_ACEOF
14188 cat confdefs.h
>>conftest.
$ac_ext
14189 cat >>conftest.
$ac_ext <<_ACEOF
14190 /* end confdefs.h. */
14191 #include <string.h>
14192 #include <strings.h>
14201 rm -f conftest.
$ac_objext
14202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14203 (eval $ac_compile) 2>conftest.er1
14205 grep -v '^ *+' conftest.er1
>conftest.err
14207 cat conftest.err
>&5
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 (exit $ac_status); } &&
14210 { ac_try
='test -z "$ac_c_werror_flag"
14211 || test ! -s conftest.err'
14212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14213 (eval $ac_try) 2>&5
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); }; } &&
14217 { ac_try
='test -s conftest.$ac_objext'
14218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14219 (eval $ac_try) 2>&5
14221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222 (exit $ac_status); }; }; then
14223 gcc_cv_header_string
=yes
14225 echo "$as_me: failed program was:" >&5
14226 sed 's/^/| /' conftest.
$ac_ext >&5
14228 gcc_cv_header_string
=no
14230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14232 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
14233 echo "${ECHO_T}$gcc_cv_header_string" >&6
14234 if test $gcc_cv_header_string = yes; then
14236 cat >>confdefs.h
<<\_ACEOF
14237 #define STRING_WITH_STRINGS 1
14247 for ac_header
in unistd.h semaphore.h sys
/loadavg.h sys
/time.h sys
/time.h
14249 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14251 echo "$as_me:$LINENO: checking for $ac_header" >&5
14252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14254 echo $ECHO_N "(cached) $ECHO_C" >&6
14256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14257 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14259 # Is the header compilable?
14260 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14261 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14262 cat >conftest.
$ac_ext <<_ACEOF
14265 cat confdefs.h
>>conftest.
$ac_ext
14266 cat >>conftest.
$ac_ext <<_ACEOF
14267 /* end confdefs.h. */
14268 $ac_includes_default
14269 #include <$ac_header>
14271 rm -f conftest.
$ac_objext
14272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14273 (eval $ac_compile) 2>conftest.er1
14275 grep -v '^ *+' conftest.er1
>conftest.err
14277 cat conftest.err
>&5
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); } &&
14280 { ac_try
='test -z "$ac_c_werror_flag"
14281 || test ! -s conftest.err'
14282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14283 (eval $ac_try) 2>&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); }; } &&
14287 { ac_try
='test -s conftest.$ac_objext'
14288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14289 (eval $ac_try) 2>&5
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); }; }; then
14293 ac_header_compiler
=yes
14295 echo "$as_me: failed program was:" >&5
14296 sed 's/^/| /' conftest.
$ac_ext >&5
14298 ac_header_compiler
=no
14300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14301 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14302 echo "${ECHO_T}$ac_header_compiler" >&6
14304 # Is the header present?
14305 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14306 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14307 cat >conftest.
$ac_ext <<_ACEOF
14310 cat confdefs.h
>>conftest.
$ac_ext
14311 cat >>conftest.
$ac_ext <<_ACEOF
14312 /* end confdefs.h. */
14313 #include <$ac_header>
14315 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14316 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14318 grep -v '^ *+' conftest.er1
>conftest.err
14320 cat conftest.err
>&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); } >/dev
/null
; then
14323 if test -s conftest.err
; then
14324 ac_cpp_err
=$ac_c_preproc_warn_flag
14325 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14332 if test -z "$ac_cpp_err"; then
14333 ac_header_preproc
=yes
14335 echo "$as_me: failed program was:" >&5
14336 sed 's/^/| /' conftest.
$ac_ext >&5
14338 ac_header_preproc
=no
14340 rm -f conftest.err conftest.
$ac_ext
14341 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14342 echo "${ECHO_T}$ac_header_preproc" >&6
14344 # So? What about this header?
14345 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14347 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14348 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14350 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14351 ac_header_preproc
=yes
14354 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14355 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14356 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14357 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14358 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14359 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14360 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14361 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14363 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14364 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14365 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14368 ## ----------------------------------------------------- ##
14369 ## Report this to the GNU OpenMP Runtime Library lists. ##
14370 ## ----------------------------------------------------- ##
14373 sed "s/^/$as_me: WARNING: /" >&2
14376 echo "$as_me:$LINENO: checking for $ac_header" >&5
14377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14379 echo $ECHO_N "(cached) $ECHO_C" >&6
14381 eval "$as_ac_Header=\$ac_header_preproc"
14383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14384 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14387 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14388 cat >>confdefs.h
<<_ACEOF
14389 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14399 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
14401 acx_cv_header_stdint
=stddef.h
14402 acx_cv_header_stdint_kind
="(already complete)"
14403 for i
in stdint.h
$inttype_headers; do
14404 unset ac_cv_type_uintptr_t
14405 unset ac_cv_type_uintmax_t
14406 unset ac_cv_type_int_least32_t
14407 unset ac_cv_type_int_fast32_t
14408 unset ac_cv_type_uint64_t
14409 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
14410 echo "$as_me:$LINENO: checking for uintmax_t" >&5
14411 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
14412 if test "${ac_cv_type_uintmax_t+set}" = set; then
14413 echo $ECHO_N "(cached) $ECHO_C" >&6
14415 cat >conftest.
$ac_ext <<_ACEOF
14418 cat confdefs.h
>>conftest.
$ac_ext
14419 cat >>conftest.
$ac_ext <<_ACEOF
14420 /* end confdefs.h. */
14421 #include <sys/types.h>
14427 if ((uintmax_t *) 0)
14429 if (sizeof (uintmax_t))
14435 rm -f conftest.
$ac_objext
14436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14437 (eval $ac_compile) 2>conftest.er1
14439 grep -v '^ *+' conftest.er1
>conftest.err
14441 cat conftest.err
>&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); } &&
14444 { ac_try
='test -z "$ac_c_werror_flag"
14445 || test ! -s conftest.err'
14446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14447 (eval $ac_try) 2>&5
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); }; } &&
14451 { ac_try
='test -s conftest.$ac_objext'
14452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14453 (eval $ac_try) 2>&5
14455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14456 (exit $ac_status); }; }; then
14457 ac_cv_type_uintmax_t
=yes
14459 echo "$as_me: failed program was:" >&5
14460 sed 's/^/| /' conftest.
$ac_ext >&5
14462 ac_cv_type_uintmax_t
=no
14464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14466 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
14467 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
14468 if test $ac_cv_type_uintmax_t = yes; then
14469 acx_cv_header_stdint
=$i
14474 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14475 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14476 if test "${ac_cv_type_uintptr_t+set}" = set; then
14477 echo $ECHO_N "(cached) $ECHO_C" >&6
14479 cat >conftest.
$ac_ext <<_ACEOF
14482 cat confdefs.h
>>conftest.
$ac_ext
14483 cat >>conftest.
$ac_ext <<_ACEOF
14484 /* end confdefs.h. */
14485 #include <sys/types.h>
14491 if ((uintptr_t *) 0)
14493 if (sizeof (uintptr_t))
14499 rm -f conftest.
$ac_objext
14500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14501 (eval $ac_compile) 2>conftest.er1
14503 grep -v '^ *+' conftest.er1
>conftest.err
14505 cat conftest.err
>&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); } &&
14508 { ac_try
='test -z "$ac_c_werror_flag"
14509 || test ! -s conftest.err'
14510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14511 (eval $ac_try) 2>&5
14513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14514 (exit $ac_status); }; } &&
14515 { ac_try
='test -s conftest.$ac_objext'
14516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14517 (eval $ac_try) 2>&5
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); }; }; then
14521 ac_cv_type_uintptr_t
=yes
14523 echo "$as_me: failed program was:" >&5
14524 sed 's/^/| /' conftest.
$ac_ext >&5
14526 ac_cv_type_uintptr_t
=no
14528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14530 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14531 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14532 if test $ac_cv_type_uintptr_t = yes; then
14535 acx_cv_header_stdint_kind
="(mostly complete)"
14538 echo "$as_me:$LINENO: checking for int_least32_t" >&5
14539 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
14540 if test "${ac_cv_type_int_least32_t+set}" = set; then
14541 echo $ECHO_N "(cached) $ECHO_C" >&6
14543 cat >conftest.
$ac_ext <<_ACEOF
14546 cat confdefs.h
>>conftest.
$ac_ext
14547 cat >>conftest.
$ac_ext <<_ACEOF
14548 /* end confdefs.h. */
14549 #include <sys/types.h>
14555 if ((int_least32_t *) 0)
14557 if (sizeof (int_least32_t))
14563 rm -f conftest.
$ac_objext
14564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14565 (eval $ac_compile) 2>conftest.er1
14567 grep -v '^ *+' conftest.er1
>conftest.err
14569 cat conftest.err
>&5
14570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571 (exit $ac_status); } &&
14572 { ac_try
='test -z "$ac_c_werror_flag"
14573 || test ! -s conftest.err'
14574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14575 (eval $ac_try) 2>&5
14577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14578 (exit $ac_status); }; } &&
14579 { ac_try
='test -s conftest.$ac_objext'
14580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14581 (eval $ac_try) 2>&5
14583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584 (exit $ac_status); }; }; then
14585 ac_cv_type_int_least32_t
=yes
14587 echo "$as_me: failed program was:" >&5
14588 sed 's/^/| /' conftest.
$ac_ext >&5
14590 ac_cv_type_int_least32_t
=no
14592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14594 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
14595 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
14596 if test $ac_cv_type_int_least32_t = yes; then
14599 acx_cv_header_stdint_kind
="(mostly complete)"
14602 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
14603 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
14604 if test "${ac_cv_type_int_fast32_t+set}" = set; then
14605 echo $ECHO_N "(cached) $ECHO_C" >&6
14607 cat >conftest.
$ac_ext <<_ACEOF
14610 cat confdefs.h
>>conftest.
$ac_ext
14611 cat >>conftest.
$ac_ext <<_ACEOF
14612 /* end confdefs.h. */
14613 #include <sys/types.h>
14619 if ((int_fast32_t *) 0)
14621 if (sizeof (int_fast32_t))
14627 rm -f conftest.
$ac_objext
14628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14629 (eval $ac_compile) 2>conftest.er1
14631 grep -v '^ *+' conftest.er1
>conftest.err
14633 cat conftest.err
>&5
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); } &&
14636 { ac_try
='test -z "$ac_c_werror_flag"
14637 || test ! -s conftest.err'
14638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14639 (eval $ac_try) 2>&5
14641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14642 (exit $ac_status); }; } &&
14643 { ac_try
='test -s conftest.$ac_objext'
14644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14645 (eval $ac_try) 2>&5
14647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14648 (exit $ac_status); }; }; then
14649 ac_cv_type_int_fast32_t
=yes
14651 echo "$as_me: failed program was:" >&5
14652 sed 's/^/| /' conftest.
$ac_ext >&5
14654 ac_cv_type_int_fast32_t
=no
14656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14658 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
14659 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
14660 if test $ac_cv_type_int_fast32_t = yes; then
14663 acx_cv_header_stdint_kind
="(mostly complete)"
14666 echo "$as_me:$LINENO: checking for uint64_t" >&5
14667 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
14668 if test "${ac_cv_type_uint64_t+set}" = set; then
14669 echo $ECHO_N "(cached) $ECHO_C" >&6
14671 cat >conftest.
$ac_ext <<_ACEOF
14674 cat confdefs.h
>>conftest.
$ac_ext
14675 cat >>conftest.
$ac_ext <<_ACEOF
14676 /* end confdefs.h. */
14677 #include <sys/types.h>
14683 if ((uint64_t *) 0)
14685 if (sizeof (uint64_t))
14691 rm -f conftest.
$ac_objext
14692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14693 (eval $ac_compile) 2>conftest.er1
14695 grep -v '^ *+' conftest.er1
>conftest.err
14697 cat conftest.err
>&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); } &&
14700 { ac_try
='test -z "$ac_c_werror_flag"
14701 || test ! -s conftest.err'
14702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14703 (eval $ac_try) 2>&5
14705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14706 (exit $ac_status); }; } &&
14707 { ac_try
='test -s conftest.$ac_objext'
14708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14709 (eval $ac_try) 2>&5
14711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14712 (exit $ac_status); }; }; then
14713 ac_cv_type_uint64_t
=yes
14715 echo "$as_me: failed program was:" >&5
14716 sed 's/^/| /' conftest.
$ac_ext >&5
14718 ac_cv_type_uint64_t
=no
14720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14722 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
14723 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
14724 if test $ac_cv_type_uint64_t = yes; then
14727 acx_cv_header_stdint_kind
="(lacks uint64_t)"
14732 if test "$acx_cv_header_stdint" = stddef.h
; then
14733 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
14734 for i
in stdint.h
$inttype_headers; do
14735 unset ac_cv_type_uintptr_t
14736 unset ac_cv_type_uint32_t
14737 unset ac_cv_type_uint64_t
14738 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
14739 echo "$as_me:$LINENO: checking for uint32_t" >&5
14740 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
14741 if test "${ac_cv_type_uint32_t+set}" = set; then
14742 echo $ECHO_N "(cached) $ECHO_C" >&6
14744 cat >conftest.
$ac_ext <<_ACEOF
14747 cat confdefs.h
>>conftest.
$ac_ext
14748 cat >>conftest.
$ac_ext <<_ACEOF
14749 /* end confdefs.h. */
14750 #include <sys/types.h>
14756 if ((uint32_t *) 0)
14758 if (sizeof (uint32_t))
14764 rm -f conftest.
$ac_objext
14765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14766 (eval $ac_compile) 2>conftest.er1
14768 grep -v '^ *+' conftest.er1
>conftest.err
14770 cat conftest.err
>&5
14771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14772 (exit $ac_status); } &&
14773 { ac_try
='test -z "$ac_c_werror_flag"
14774 || test ! -s conftest.err'
14775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14776 (eval $ac_try) 2>&5
14778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14779 (exit $ac_status); }; } &&
14780 { ac_try
='test -s conftest.$ac_objext'
14781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14782 (eval $ac_try) 2>&5
14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14785 (exit $ac_status); }; }; then
14786 ac_cv_type_uint32_t
=yes
14788 echo "$as_me: failed program was:" >&5
14789 sed 's/^/| /' conftest.
$ac_ext >&5
14791 ac_cv_type_uint32_t
=no
14793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14795 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
14796 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
14797 if test $ac_cv_type_uint32_t = yes; then
14798 acx_cv_header_stdint
=$i
14803 echo "$as_me:$LINENO: checking for uint64_t" >&5
14804 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
14805 if test "${ac_cv_type_uint64_t+set}" = set; then
14806 echo $ECHO_N "(cached) $ECHO_C" >&6
14808 cat >conftest.
$ac_ext <<_ACEOF
14811 cat confdefs.h
>>conftest.
$ac_ext
14812 cat >>conftest.
$ac_ext <<_ACEOF
14813 /* end confdefs.h. */
14814 #include <sys/types.h>
14820 if ((uint64_t *) 0)
14822 if (sizeof (uint64_t))
14828 rm -f conftest.
$ac_objext
14829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14830 (eval $ac_compile) 2>conftest.er1
14832 grep -v '^ *+' conftest.er1
>conftest.err
14834 cat conftest.err
>&5
14835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14836 (exit $ac_status); } &&
14837 { ac_try
='test -z "$ac_c_werror_flag"
14838 || test ! -s conftest.err'
14839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14840 (eval $ac_try) 2>&5
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); }; } &&
14844 { ac_try
='test -s conftest.$ac_objext'
14845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14846 (eval $ac_try) 2>&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); }; }; then
14850 ac_cv_type_uint64_t
=yes
14852 echo "$as_me: failed program was:" >&5
14853 sed 's/^/| /' conftest.
$ac_ext >&5
14855 ac_cv_type_uint64_t
=no
14857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14859 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
14860 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
14862 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14863 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14864 if test "${ac_cv_type_uintptr_t+set}" = set; then
14865 echo $ECHO_N "(cached) $ECHO_C" >&6
14867 cat >conftest.
$ac_ext <<_ACEOF
14870 cat confdefs.h
>>conftest.
$ac_ext
14871 cat >>conftest.
$ac_ext <<_ACEOF
14872 /* end confdefs.h. */
14873 #include <sys/types.h>
14879 if ((uintptr_t *) 0)
14881 if (sizeof (uintptr_t))
14887 rm -f conftest.
$ac_objext
14888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14889 (eval $ac_compile) 2>conftest.er1
14891 grep -v '^ *+' conftest.er1
>conftest.err
14893 cat conftest.err
>&5
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); } &&
14896 { ac_try
='test -z "$ac_c_werror_flag"
14897 || test ! -s conftest.err'
14898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14899 (eval $ac_try) 2>&5
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); }; } &&
14903 { ac_try
='test -s conftest.$ac_objext'
14904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14905 (eval $ac_try) 2>&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); }; }; then
14909 ac_cv_type_uintptr_t
=yes
14911 echo "$as_me: failed program was:" >&5
14912 sed 's/^/| /' conftest.
$ac_ext >&5
14914 ac_cv_type_uintptr_t
=no
14916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14918 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14919 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14924 if test "$acx_cv_header_stdint" = stddef.h
; then
14925 acx_cv_header_stdint_kind
="(u_intXX_t style)"
14926 for i
in sys
/types.h
$inttype_headers; do
14927 unset ac_cv_type_u_int32_t
14928 unset ac_cv_type_u_int64_t
14929 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
14930 echo "$as_me:$LINENO: checking for u_int32_t" >&5
14931 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
14932 if test "${ac_cv_type_u_int32_t+set}" = set; then
14933 echo $ECHO_N "(cached) $ECHO_C" >&6
14935 cat >conftest.
$ac_ext <<_ACEOF
14938 cat confdefs.h
>>conftest.
$ac_ext
14939 cat >>conftest.
$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14941 #include <sys/types.h>
14947 if ((u_int32_t *) 0)
14949 if (sizeof (u_int32_t))
14955 rm -f conftest.
$ac_objext
14956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14957 (eval $ac_compile) 2>conftest.er1
14959 grep -v '^ *+' conftest.er1
>conftest.err
14961 cat conftest.err
>&5
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); } &&
14964 { ac_try
='test -z "$ac_c_werror_flag"
14965 || test ! -s conftest.err'
14966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14967 (eval $ac_try) 2>&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; } &&
14971 { ac_try
='test -s conftest.$ac_objext'
14972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14973 (eval $ac_try) 2>&5
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); }; }; then
14977 ac_cv_type_u_int32_t
=yes
14979 echo "$as_me: failed program was:" >&5
14980 sed 's/^/| /' conftest.
$ac_ext >&5
14982 ac_cv_type_u_int32_t
=no
14984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14986 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
14987 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
14988 if test $ac_cv_type_u_int32_t = yes; then
14989 acx_cv_header_stdint
=$i
14994 echo "$as_me:$LINENO: checking for u_int64_t" >&5
14995 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
14996 if test "${ac_cv_type_u_int64_t+set}" = set; then
14997 echo $ECHO_N "(cached) $ECHO_C" >&6
14999 cat >conftest.
$ac_ext <<_ACEOF
15002 cat confdefs.h
>>conftest.
$ac_ext
15003 cat >>conftest.
$ac_ext <<_ACEOF
15004 /* end confdefs.h. */
15005 #include <sys/types.h>
15011 if ((u_int64_t *) 0)
15013 if (sizeof (u_int64_t))
15019 rm -f conftest.
$ac_objext
15020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15021 (eval $ac_compile) 2>conftest.er1
15023 grep -v '^ *+' conftest.er1
>conftest.err
15025 cat conftest.err
>&5
15026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027 (exit $ac_status); } &&
15028 { ac_try
='test -z "$ac_c_werror_flag"
15029 || test ! -s conftest.err'
15030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15031 (eval $ac_try) 2>&5
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); }; } &&
15035 { ac_try
='test -s conftest.$ac_objext'
15036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15037 (eval $ac_try) 2>&5
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); }; }; then
15041 ac_cv_type_u_int64_t
=yes
15043 echo "$as_me: failed program was:" >&5
15044 sed 's/^/| /' conftest.
$ac_ext >&5
15046 ac_cv_type_u_int64_t
=no
15048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15050 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
15051 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
15056 if test "$acx_cv_header_stdint" = stddef.h
; then
15057 acx_cv_header_stdint_kind
="(using manual detection)"
15060 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
15061 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
15062 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
15063 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
15064 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
15066 # ----------------- Summarize what we found so far
15068 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
15069 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
15071 case `$as_basename gstdint.h ||
15072 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15073 Xgstdint.h : 'X\(//\)$' \| \
15074 Xgstdint.h : 'X\(/\)$' \| \
15075 . : '\(.\)' 2>/dev/null ||
15077 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15078 /^X\/\(\/\/\)$/{ s//\1/; q; }
15079 /^X\/\(\/\).*/{ s//\1/; q; }
15081 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15082 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15083 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15084 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15088 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15089 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
15091 # ----------------- done included file, check C basic types --------
15093 # Lacking an uintptr_t? Test size of void *
15094 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15095 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
15096 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15097 if test "${ac_cv_type_void_p+set}" = set; then
15098 echo $ECHO_N "(cached) $ECHO_C" >&6
15100 cat >conftest.
$ac_ext <<_ACEOF
15103 cat confdefs.h
>>conftest.
$ac_ext
15104 cat >>conftest.
$ac_ext <<_ACEOF
15105 /* end confdefs.h. */
15106 $ac_includes_default
15112 if (sizeof (void *))
15118 rm -f conftest.
$ac_objext
15119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15120 (eval $ac_compile) 2>conftest.er1
15122 grep -v '^ *+' conftest.er1
>conftest.err
15124 cat conftest.err
>&5
15125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126 (exit $ac_status); } &&
15127 { ac_try
='test -z "$ac_c_werror_flag"
15128 || test ! -s conftest.err'
15129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15130 (eval $ac_try) 2>&5
15132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133 (exit $ac_status); }; } &&
15134 { ac_try
='test -s conftest.$ac_objext'
15135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15136 (eval $ac_try) 2>&5
15138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15139 (exit $ac_status); }; }; then
15140 ac_cv_type_void_p
=yes
15142 echo "$as_me: failed program was:" >&5
15143 sed 's/^/| /' conftest.
$ac_ext >&5
15145 ac_cv_type_void_p
=no
15147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15149 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15150 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15152 echo "$as_me:$LINENO: checking size of void *" >&5
15153 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15154 if test "${ac_cv_sizeof_void_p+set}" = set; then
15155 echo $ECHO_N "(cached) $ECHO_C" >&6
15157 if test "$ac_cv_type_void_p" = yes; then
15158 # The cast to unsigned long works around a bug in the HP C Compiler
15159 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15160 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15161 # This bug is HP SR number 8606223364.
15162 if test "$cross_compiling" = yes; then
15163 # Depending upon the size, compute the lo and hi bounds.
15164 cat >conftest.
$ac_ext <<_ACEOF
15167 cat confdefs.h
>>conftest.
$ac_ext
15168 cat >>conftest.
$ac_ext <<_ACEOF
15169 /* end confdefs.h. */
15170 $ac_includes_default
15174 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15181 rm -f conftest.
$ac_objext
15182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15183 (eval $ac_compile) 2>conftest.er1
15185 grep -v '^ *+' conftest.er1
>conftest.err
15187 cat conftest.err
>&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); } &&
15190 { ac_try
='test -z "$ac_c_werror_flag"
15191 || test ! -s conftest.err'
15192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15193 (eval $ac_try) 2>&5
15195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196 (exit $ac_status); }; } &&
15197 { ac_try
='test -s conftest.$ac_objext'
15198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15199 (eval $ac_try) 2>&5
15201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15202 (exit $ac_status); }; }; then
15205 cat >conftest.
$ac_ext <<_ACEOF
15208 cat confdefs.h
>>conftest.
$ac_ext
15209 cat >>conftest.
$ac_ext <<_ACEOF
15210 /* end confdefs.h. */
15211 $ac_includes_default
15215 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15222 rm -f conftest.
$ac_objext
15223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15224 (eval $ac_compile) 2>conftest.er1
15226 grep -v '^ *+' conftest.er1
>conftest.err
15228 cat conftest.err
>&5
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); } &&
15231 { ac_try
='test -z "$ac_c_werror_flag"
15232 || test ! -s conftest.err'
15233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15234 (eval $ac_try) 2>&5
15236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15237 (exit $ac_status); }; } &&
15238 { ac_try
='test -s conftest.$ac_objext'
15239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15240 (eval $ac_try) 2>&5
15242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15243 (exit $ac_status); }; }; then
15244 ac_hi
=$ac_mid; break
15246 echo "$as_me: failed program was:" >&5
15247 sed 's/^/| /' conftest.
$ac_ext >&5
15249 ac_lo
=`expr $ac_mid + 1`
15250 if test $ac_lo -le $ac_mid; then
15254 ac_mid
=`expr 2 '*' $ac_mid + 1`
15256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15259 echo "$as_me: failed program was:" >&5
15260 sed 's/^/| /' conftest.
$ac_ext >&5
15262 cat >conftest.
$ac_ext <<_ACEOF
15265 cat confdefs.h
>>conftest.
$ac_ext
15266 cat >>conftest.
$ac_ext <<_ACEOF
15267 /* end confdefs.h. */
15268 $ac_includes_default
15272 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15279 rm -f conftest.
$ac_objext
15280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15281 (eval $ac_compile) 2>conftest.er1
15283 grep -v '^ *+' conftest.er1
>conftest.err
15285 cat conftest.err
>&5
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); } &&
15288 { ac_try
='test -z "$ac_c_werror_flag"
15289 || test ! -s conftest.err'
15290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15291 (eval $ac_try) 2>&5
15293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15294 (exit $ac_status); }; } &&
15295 { ac_try
='test -s conftest.$ac_objext'
15296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15297 (eval $ac_try) 2>&5
15299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15300 (exit $ac_status); }; }; then
15303 cat >conftest.
$ac_ext <<_ACEOF
15306 cat confdefs.h
>>conftest.
$ac_ext
15307 cat >>conftest.
$ac_ext <<_ACEOF
15308 /* end confdefs.h. */
15309 $ac_includes_default
15313 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15320 rm -f conftest.
$ac_objext
15321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15322 (eval $ac_compile) 2>conftest.er1
15324 grep -v '^ *+' conftest.er1
>conftest.err
15326 cat conftest.err
>&5
15327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15328 (exit $ac_status); } &&
15329 { ac_try
='test -z "$ac_c_werror_flag"
15330 || test ! -s conftest.err'
15331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15332 (eval $ac_try) 2>&5
15334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335 (exit $ac_status); }; } &&
15336 { ac_try
='test -s conftest.$ac_objext'
15337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338 (eval $ac_try) 2>&5
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; }; then
15342 ac_lo
=$ac_mid; break
15344 echo "$as_me: failed program was:" >&5
15345 sed 's/^/| /' conftest.
$ac_ext >&5
15347 ac_hi
=`expr '(' $ac_mid ')' - 1`
15348 if test $ac_mid -le $ac_hi; then
15352 ac_mid
=`expr 2 '*' $ac_mid`
15354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15357 echo "$as_me: failed program was:" >&5
15358 sed 's/^/| /' conftest.
$ac_ext >&5
15362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15365 # Binary search between lo and hi bounds.
15366 while test "x$ac_lo" != "x$ac_hi"; do
15367 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15368 cat >conftest.
$ac_ext <<_ACEOF
15371 cat confdefs.h
>>conftest.
$ac_ext
15372 cat >>conftest.
$ac_ext <<_ACEOF
15373 /* end confdefs.h. */
15374 $ac_includes_default
15378 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15385 rm -f conftest.
$ac_objext
15386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15387 (eval $ac_compile) 2>conftest.er1
15389 grep -v '^ *+' conftest.er1
>conftest.err
15391 cat conftest.err
>&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); } &&
15394 { ac_try
='test -z "$ac_c_werror_flag"
15395 || test ! -s conftest.err'
15396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15397 (eval $ac_try) 2>&5
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); }; } &&
15401 { ac_try
='test -s conftest.$ac_objext'
15402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15403 (eval $ac_try) 2>&5
15405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15406 (exit $ac_status); }; }; then
15409 echo "$as_me: failed program was:" >&5
15410 sed 's/^/| /' conftest.
$ac_ext >&5
15412 ac_lo
=`expr '(' $ac_mid ')' + 1`
15414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15417 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15418 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15419 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15420 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15421 See \`config.log' for more details." >&5
15422 echo "$as_me: error: cannot compute sizeof (void *), 77
15423 See \`config.log' for more details." >&2;}
15424 { (exit 1); exit 1; }; }; } ;;
15427 if test "$cross_compiling" = yes; then
15428 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15429 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15430 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15431 See \`config.log' for more details." >&5
15432 echo "$as_me: error: cannot run test program while cross compiling
15433 See \`config.log' for more details." >&2;}
15434 { (exit 1); exit 1; }; }; }
15436 cat >conftest.
$ac_ext <<_ACEOF
15439 cat confdefs.h
>>conftest.
$ac_ext
15440 cat >>conftest.
$ac_ext <<_ACEOF
15441 /* end confdefs.h. */
15442 $ac_includes_default
15443 long longval () { return (long) (sizeof (void *)); }
15444 unsigned long ulongval () { return (long) (sizeof (void *)); }
15446 #include <stdlib.h>
15451 FILE *f = fopen ("conftest.val", "w");
15454 if (((long) (sizeof (void *))) < 0)
15456 long i = longval ();
15457 if (i != ((long) (sizeof (void *))))
15459 fprintf (f, "%ld\n", i);
15463 unsigned long i = ulongval ();
15464 if (i != ((long) (sizeof (void *))))
15466 fprintf (f, "%lu\n", i);
15468 exit (ferror (f) || fclose (f) != 0);
15474 rm -f conftest
$ac_exeext
15475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15476 (eval $ac_link) 2>&5
15478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15481 (eval $ac_try) 2>&5
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); }; }; then
15485 ac_cv_sizeof_void_p
=`cat conftest.val`
15487 echo "$as_me: program exited with status $ac_status" >&5
15488 echo "$as_me: failed program was:" >&5
15489 sed 's/^/| /' conftest.
$ac_ext >&5
15491 ( exit $ac_status )
15492 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15493 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15494 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15495 See \`config.log' for more details." >&5
15496 echo "$as_me: error: cannot compute sizeof (void *), 77
15497 See \`config.log' for more details." >&2;}
15498 { (exit 1); exit 1; }; }; }
15500 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15505 ac_cv_sizeof_void_p
=0
15508 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15509 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15510 cat >>confdefs.h
<<_ACEOF
15511 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15517 # Lacking an uint64_t? Test size of long
15518 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15519 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
15520 echo $ECHO_N "checking for long... $ECHO_C" >&6
15521 if test "${ac_cv_type_long+set}" = set; then
15522 echo $ECHO_N "(cached) $ECHO_C" >&6
15524 cat >conftest.
$ac_ext <<_ACEOF
15527 cat confdefs.h
>>conftest.
$ac_ext
15528 cat >>conftest.
$ac_ext <<_ACEOF
15529 /* end confdefs.h. */
15530 $ac_includes_default
15542 rm -f conftest.
$ac_objext
15543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15544 (eval $ac_compile) 2>conftest.er1
15546 grep -v '^ *+' conftest.er1
>conftest.err
15548 cat conftest.err
>&5
15549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15550 (exit $ac_status); } &&
15551 { ac_try
='test -z "$ac_c_werror_flag"
15552 || test ! -s conftest.err'
15553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15554 (eval $ac_try) 2>&5
15556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15557 (exit $ac_status); }; } &&
15558 { ac_try
='test -s conftest.$ac_objext'
15559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15560 (eval $ac_try) 2>&5
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); }; }; then
15564 ac_cv_type_long
=yes
15566 echo "$as_me: failed program was:" >&5
15567 sed 's/^/| /' conftest.
$ac_ext >&5
15571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15573 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15574 echo "${ECHO_T}$ac_cv_type_long" >&6
15576 echo "$as_me:$LINENO: checking size of long" >&5
15577 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15578 if test "${ac_cv_sizeof_long+set}" = set; then
15579 echo $ECHO_N "(cached) $ECHO_C" >&6
15581 if test "$ac_cv_type_long" = yes; then
15582 # The cast to unsigned long works around a bug in the HP C Compiler
15583 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15584 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15585 # This bug is HP SR number 8606223364.
15586 if test "$cross_compiling" = yes; then
15587 # Depending upon the size, compute the lo and hi bounds.
15588 cat >conftest.
$ac_ext <<_ACEOF
15591 cat confdefs.h
>>conftest.
$ac_ext
15592 cat >>conftest.
$ac_ext <<_ACEOF
15593 /* end confdefs.h. */
15594 $ac_includes_default
15598 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15605 rm -f conftest.
$ac_objext
15606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15607 (eval $ac_compile) 2>conftest.er1
15609 grep -v '^ *+' conftest.er1
>conftest.err
15611 cat conftest.err
>&5
15612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15613 (exit $ac_status); } &&
15614 { ac_try
='test -z "$ac_c_werror_flag"
15615 || test ! -s conftest.err'
15616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15617 (eval $ac_try) 2>&5
15619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15620 (exit $ac_status); }; } &&
15621 { ac_try
='test -s conftest.$ac_objext'
15622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15623 (eval $ac_try) 2>&5
15625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15626 (exit $ac_status); }; }; then
15629 cat >conftest.
$ac_ext <<_ACEOF
15632 cat confdefs.h
>>conftest.
$ac_ext
15633 cat >>conftest.
$ac_ext <<_ACEOF
15634 /* end confdefs.h. */
15635 $ac_includes_default
15639 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15646 rm -f conftest.
$ac_objext
15647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15648 (eval $ac_compile) 2>conftest.er1
15650 grep -v '^ *+' conftest.er1
>conftest.err
15652 cat conftest.err
>&5
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); } &&
15655 { ac_try
='test -z "$ac_c_werror_flag"
15656 || test ! -s conftest.err'
15657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15658 (eval $ac_try) 2>&5
15660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15661 (exit $ac_status); }; } &&
15662 { ac_try
='test -s conftest.$ac_objext'
15663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15664 (eval $ac_try) 2>&5
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); }; }; then
15668 ac_hi
=$ac_mid; break
15670 echo "$as_me: failed program was:" >&5
15671 sed 's/^/| /' conftest.
$ac_ext >&5
15673 ac_lo
=`expr $ac_mid + 1`
15674 if test $ac_lo -le $ac_mid; then
15678 ac_mid
=`expr 2 '*' $ac_mid + 1`
15680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15683 echo "$as_me: failed program was:" >&5
15684 sed 's/^/| /' conftest.
$ac_ext >&5
15686 cat >conftest.
$ac_ext <<_ACEOF
15689 cat confdefs.h
>>conftest.
$ac_ext
15690 cat >>conftest.
$ac_ext <<_ACEOF
15691 /* end confdefs.h. */
15692 $ac_includes_default
15696 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15703 rm -f conftest.
$ac_objext
15704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15705 (eval $ac_compile) 2>conftest.er1
15707 grep -v '^ *+' conftest.er1
>conftest.err
15709 cat conftest.err
>&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); } &&
15712 { ac_try
='test -z "$ac_c_werror_flag"
15713 || test ! -s conftest.err'
15714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15715 (eval $ac_try) 2>&5
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); }; } &&
15719 { ac_try
='test -s conftest.$ac_objext'
15720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15721 (eval $ac_try) 2>&5
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); }; }; then
15727 cat >conftest.
$ac_ext <<_ACEOF
15730 cat confdefs.h
>>conftest.
$ac_ext
15731 cat >>conftest.
$ac_ext <<_ACEOF
15732 /* end confdefs.h. */
15733 $ac_includes_default
15737 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15744 rm -f conftest.
$ac_objext
15745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15746 (eval $ac_compile) 2>conftest.er1
15748 grep -v '^ *+' conftest.er1
>conftest.err
15750 cat conftest.err
>&5
15751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15752 (exit $ac_status); } &&
15753 { ac_try
='test -z "$ac_c_werror_flag"
15754 || test ! -s conftest.err'
15755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15756 (eval $ac_try) 2>&5
15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759 (exit $ac_status); }; } &&
15760 { ac_try
='test -s conftest.$ac_objext'
15761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15762 (eval $ac_try) 2>&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); }; }; then
15766 ac_lo
=$ac_mid; break
15768 echo "$as_me: failed program was:" >&5
15769 sed 's/^/| /' conftest.
$ac_ext >&5
15771 ac_hi
=`expr '(' $ac_mid ')' - 1`
15772 if test $ac_mid -le $ac_hi; then
15776 ac_mid
=`expr 2 '*' $ac_mid`
15778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15781 echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.
$ac_ext >&5
15786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15789 # Binary search between lo and hi bounds.
15790 while test "x$ac_lo" != "x$ac_hi"; do
15791 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15792 cat >conftest.
$ac_ext <<_ACEOF
15795 cat confdefs.h
>>conftest.
$ac_ext
15796 cat >>conftest.
$ac_ext <<_ACEOF
15797 /* end confdefs.h. */
15798 $ac_includes_default
15802 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15809 rm -f conftest.
$ac_objext
15810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15811 (eval $ac_compile) 2>conftest.er1
15813 grep -v '^ *+' conftest.er1
>conftest.err
15815 cat conftest.err
>&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); } &&
15818 { ac_try
='test -z "$ac_c_werror_flag"
15819 || test ! -s conftest.err'
15820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15821 (eval $ac_try) 2>&5
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; } &&
15825 { ac_try
='test -s conftest.$ac_objext'
15826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15827 (eval $ac_try) 2>&5
15829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 (exit $ac_status); }; }; then
15833 echo "$as_me: failed program was:" >&5
15834 sed 's/^/| /' conftest.
$ac_ext >&5
15836 ac_lo
=`expr '(' $ac_mid ')' + 1`
15838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15841 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15842 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15843 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15844 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15845 See \`config.log' for more details." >&5
15846 echo "$as_me: error: cannot compute sizeof (long), 77
15847 See \`config.log' for more details." >&2;}
15848 { (exit 1); exit 1; }; }; } ;;
15851 if test "$cross_compiling" = yes; then
15852 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15853 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15854 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15855 See \`config.log' for more details." >&5
15856 echo "$as_me: error: cannot run test program while cross compiling
15857 See \`config.log' for more details." >&2;}
15858 { (exit 1); exit 1; }; }; }
15860 cat >conftest.
$ac_ext <<_ACEOF
15863 cat confdefs.h
>>conftest.
$ac_ext
15864 cat >>conftest.
$ac_ext <<_ACEOF
15865 /* end confdefs.h. */
15866 $ac_includes_default
15867 long longval () { return (long) (sizeof (long)); }
15868 unsigned long ulongval () { return (long) (sizeof (long)); }
15870 #include <stdlib.h>
15875 FILE *f = fopen ("conftest.val", "w");
15878 if (((long) (sizeof (long))) < 0)
15880 long i = longval ();
15881 if (i != ((long) (sizeof (long))))
15883 fprintf (f, "%ld\n", i);
15887 unsigned long i = ulongval ();
15888 if (i != ((long) (sizeof (long))))
15890 fprintf (f, "%lu\n", i);
15892 exit (ferror (f) || fclose (f) != 0);
15898 rm -f conftest
$ac_exeext
15899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15900 (eval $ac_link) 2>&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15905 (eval $ac_try) 2>&5
15907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908 (exit $ac_status); }; }; then
15909 ac_cv_sizeof_long
=`cat conftest.val`
15911 echo "$as_me: program exited with status $ac_status" >&5
15912 echo "$as_me: failed program was:" >&5
15913 sed 's/^/| /' conftest.
$ac_ext >&5
15915 ( exit $ac_status )
15916 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15917 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15918 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15919 See \`config.log' for more details." >&5
15920 echo "$as_me: error: cannot compute sizeof (long), 77
15921 See \`config.log' for more details." >&2;}
15922 { (exit 1); exit 1; }; }; }
15924 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15929 ac_cv_sizeof_long
=0
15932 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15933 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15934 cat >>confdefs.h
<<_ACEOF
15935 #define SIZEOF_LONG $ac_cv_sizeof_long
15941 if test $acx_cv_header_stdint = stddef.h
; then
15942 # Lacking a good header? Test size of everything and deduce all types.
15943 echo "$as_me:$LINENO: checking for int" >&5
15944 echo $ECHO_N "checking for int... $ECHO_C" >&6
15945 if test "${ac_cv_type_int+set}" = set; then
15946 echo $ECHO_N "(cached) $ECHO_C" >&6
15948 cat >conftest.
$ac_ext <<_ACEOF
15951 cat confdefs.h
>>conftest.
$ac_ext
15952 cat >>conftest.
$ac_ext <<_ACEOF
15953 /* end confdefs.h. */
15954 $ac_includes_default
15966 rm -f conftest.
$ac_objext
15967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15968 (eval $ac_compile) 2>conftest.er1
15970 grep -v '^ *+' conftest.er1
>conftest.err
15972 cat conftest.err
>&5
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); } &&
15975 { ac_try
='test -z "$ac_c_werror_flag"
15976 || test ! -s conftest.err'
15977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15978 (eval $ac_try) 2>&5
15980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15981 (exit $ac_status); }; } &&
15982 { ac_try
='test -s conftest.$ac_objext'
15983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15984 (eval $ac_try) 2>&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); }; }; then
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.
$ac_ext >&5
15995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15997 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15998 echo "${ECHO_T}$ac_cv_type_int" >&6
16000 echo "$as_me:$LINENO: checking size of int" >&5
16001 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16002 if test "${ac_cv_sizeof_int+set}" = set; then
16003 echo $ECHO_N "(cached) $ECHO_C" >&6
16005 if test "$ac_cv_type_int" = yes; then
16006 # The cast to unsigned long works around a bug in the HP C Compiler
16007 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16008 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16009 # This bug is HP SR number 8606223364.
16010 if test "$cross_compiling" = yes; then
16011 # Depending upon the size, compute the lo and hi bounds.
16012 cat >conftest.
$ac_ext <<_ACEOF
16015 cat confdefs.h
>>conftest.
$ac_ext
16016 cat >>conftest.
$ac_ext <<_ACEOF
16017 /* end confdefs.h. */
16018 $ac_includes_default
16022 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16029 rm -f conftest.
$ac_objext
16030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16031 (eval $ac_compile) 2>conftest.er1
16033 grep -v '^ *+' conftest.er1
>conftest.err
16035 cat conftest.err
>&5
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); } &&
16038 { ac_try
='test -z "$ac_c_werror_flag"
16039 || test ! -s conftest.err'
16040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16041 (eval $ac_try) 2>&5
16043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16044 (exit $ac_status); }; } &&
16045 { ac_try
='test -s conftest.$ac_objext'
16046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16047 (eval $ac_try) 2>&5
16049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050 (exit $ac_status); }; }; then
16053 cat >conftest.
$ac_ext <<_ACEOF
16056 cat confdefs.h
>>conftest.
$ac_ext
16057 cat >>conftest.
$ac_ext <<_ACEOF
16058 /* end confdefs.h. */
16059 $ac_includes_default
16063 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16070 rm -f conftest.
$ac_objext
16071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16072 (eval $ac_compile) 2>conftest.er1
16074 grep -v '^ *+' conftest.er1
>conftest.err
16076 cat conftest.err
>&5
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); } &&
16079 { ac_try
='test -z "$ac_c_werror_flag"
16080 || test ! -s conftest.err'
16081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16082 (eval $ac_try) 2>&5
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); }; } &&
16086 { ac_try
='test -s conftest.$ac_objext'
16087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16088 (eval $ac_try) 2>&5
16090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16091 (exit $ac_status); }; }; then
16092 ac_hi
=$ac_mid; break
16094 echo "$as_me: failed program was:" >&5
16095 sed 's/^/| /' conftest.
$ac_ext >&5
16097 ac_lo
=`expr $ac_mid + 1`
16098 if test $ac_lo -le $ac_mid; then
16102 ac_mid
=`expr 2 '*' $ac_mid + 1`
16104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16107 echo "$as_me: failed program was:" >&5
16108 sed 's/^/| /' conftest.
$ac_ext >&5
16110 cat >conftest.
$ac_ext <<_ACEOF
16113 cat confdefs.h
>>conftest.
$ac_ext
16114 cat >>conftest.
$ac_ext <<_ACEOF
16115 /* end confdefs.h. */
16116 $ac_includes_default
16120 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16127 rm -f conftest.
$ac_objext
16128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16129 (eval $ac_compile) 2>conftest.er1
16131 grep -v '^ *+' conftest.er1
>conftest.err
16133 cat conftest.err
>&5
16134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16135 (exit $ac_status); } &&
16136 { ac_try
='test -z "$ac_c_werror_flag"
16137 || test ! -s conftest.err'
16138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16139 (eval $ac_try) 2>&5
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); }; } &&
16143 { ac_try
='test -s conftest.$ac_objext'
16144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16145 (eval $ac_try) 2>&5
16147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148 (exit $ac_status); }; }; then
16151 cat >conftest.
$ac_ext <<_ACEOF
16154 cat confdefs.h
>>conftest.
$ac_ext
16155 cat >>conftest.
$ac_ext <<_ACEOF
16156 /* end confdefs.h. */
16157 $ac_includes_default
16161 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16168 rm -f conftest.
$ac_objext
16169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16170 (eval $ac_compile) 2>conftest.er1
16172 grep -v '^ *+' conftest.er1
>conftest.err
16174 cat conftest.err
>&5
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); } &&
16177 { ac_try
='test -z "$ac_c_werror_flag"
16178 || test ! -s conftest.err'
16179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16180 (eval $ac_try) 2>&5
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); }; } &&
16184 { ac_try
='test -s conftest.$ac_objext'
16185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16186 (eval $ac_try) 2>&5
16188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189 (exit $ac_status); }; }; then
16190 ac_lo
=$ac_mid; break
16192 echo "$as_me: failed program was:" >&5
16193 sed 's/^/| /' conftest.
$ac_ext >&5
16195 ac_hi
=`expr '(' $ac_mid ')' - 1`
16196 if test $ac_mid -le $ac_hi; then
16200 ac_mid
=`expr 2 '*' $ac_mid`
16202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16205 echo "$as_me: failed program was:" >&5
16206 sed 's/^/| /' conftest.
$ac_ext >&5
16210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16213 # Binary search between lo and hi bounds.
16214 while test "x$ac_lo" != "x$ac_hi"; do
16215 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16216 cat >conftest.
$ac_ext <<_ACEOF
16219 cat confdefs.h
>>conftest.
$ac_ext
16220 cat >>conftest.
$ac_ext <<_ACEOF
16221 /* end confdefs.h. */
16222 $ac_includes_default
16226 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16233 rm -f conftest.
$ac_objext
16234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16235 (eval $ac_compile) 2>conftest.er1
16237 grep -v '^ *+' conftest.er1
>conftest.err
16239 cat conftest.err
>&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); } &&
16242 { ac_try
='test -z "$ac_c_werror_flag"
16243 || test ! -s conftest.err'
16244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16245 (eval $ac_try) 2>&5
16247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16248 (exit $ac_status); }; } &&
16249 { ac_try
='test -s conftest.$ac_objext'
16250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16251 (eval $ac_try) 2>&5
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); }; }; then
16257 echo "$as_me: failed program was:" >&5
16258 sed 's/^/| /' conftest.
$ac_ext >&5
16260 ac_lo
=`expr '(' $ac_mid ')' + 1`
16262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16265 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16266 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16267 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16268 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16269 See \`config.log' for more details." >&5
16270 echo "$as_me: error: cannot compute sizeof (int), 77
16271 See \`config.log' for more details." >&2;}
16272 { (exit 1); exit 1; }; }; } ;;
16275 if test "$cross_compiling" = yes; then
16276 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16277 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16278 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16279 See \`config.log' for more details." >&5
16280 echo "$as_me: error: cannot run test program while cross compiling
16281 See \`config.log' for more details." >&2;}
16282 { (exit 1); exit 1; }; }; }
16284 cat >conftest.
$ac_ext <<_ACEOF
16287 cat confdefs.h
>>conftest.
$ac_ext
16288 cat >>conftest.
$ac_ext <<_ACEOF
16289 /* end confdefs.h. */
16290 $ac_includes_default
16291 long longval () { return (long) (sizeof (int)); }
16292 unsigned long ulongval () { return (long) (sizeof (int)); }
16294 #include <stdlib.h>
16299 FILE *f = fopen ("conftest.val", "w");
16302 if (((long) (sizeof (int))) < 0)
16304 long i = longval ();
16305 if (i != ((long) (sizeof (int))))
16307 fprintf (f, "%ld\n", i);
16311 unsigned long i = ulongval ();
16312 if (i != ((long) (sizeof (int))))
16314 fprintf (f, "%lu\n", i);
16316 exit (ferror (f) || fclose (f) != 0);
16322 rm -f conftest
$ac_exeext
16323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16324 (eval $ac_link) 2>&5
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16329 (eval $ac_try) 2>&5
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); }; }; then
16333 ac_cv_sizeof_int
=`cat conftest.val`
16335 echo "$as_me: program exited with status $ac_status" >&5
16336 echo "$as_me: failed program was:" >&5
16337 sed 's/^/| /' conftest.
$ac_ext >&5
16339 ( exit $ac_status )
16340 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16341 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16342 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16343 See \`config.log' for more details." >&5
16344 echo "$as_me: error: cannot compute sizeof (int), 77
16345 See \`config.log' for more details." >&2;}
16346 { (exit 1); exit 1; }; }; }
16348 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16356 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16357 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16358 cat >>confdefs.h
<<_ACEOF
16359 #define SIZEOF_INT $ac_cv_sizeof_int
16363 echo "$as_me:$LINENO: checking for short" >&5
16364 echo $ECHO_N "checking for short... $ECHO_C" >&6
16365 if test "${ac_cv_type_short+set}" = set; then
16366 echo $ECHO_N "(cached) $ECHO_C" >&6
16368 cat >conftest.
$ac_ext <<_ACEOF
16371 cat confdefs.h
>>conftest.
$ac_ext
16372 cat >>conftest.
$ac_ext <<_ACEOF
16373 /* end confdefs.h. */
16374 $ac_includes_default
16380 if (sizeof (short))
16386 rm -f conftest.
$ac_objext
16387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16388 (eval $ac_compile) 2>conftest.er1
16390 grep -v '^ *+' conftest.er1
>conftest.err
16392 cat conftest.err
>&5
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); } &&
16395 { ac_try
='test -z "$ac_c_werror_flag"
16396 || test ! -s conftest.err'
16397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16398 (eval $ac_try) 2>&5
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); }; } &&
16402 { ac_try
='test -s conftest.$ac_objext'
16403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16404 (eval $ac_try) 2>&5
16406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407 (exit $ac_status); }; }; then
16408 ac_cv_type_short
=yes
16410 echo "$as_me: failed program was:" >&5
16411 sed 's/^/| /' conftest.
$ac_ext >&5
16413 ac_cv_type_short
=no
16415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16417 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16418 echo "${ECHO_T}$ac_cv_type_short" >&6
16420 echo "$as_me:$LINENO: checking size of short" >&5
16421 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16422 if test "${ac_cv_sizeof_short+set}" = set; then
16423 echo $ECHO_N "(cached) $ECHO_C" >&6
16425 if test "$ac_cv_type_short" = yes; then
16426 # The cast to unsigned long works around a bug in the HP C Compiler
16427 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16428 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16429 # This bug is HP SR number 8606223364.
16430 if test "$cross_compiling" = yes; then
16431 # Depending upon the size, compute the lo and hi bounds.
16432 cat >conftest.
$ac_ext <<_ACEOF
16435 cat confdefs.h
>>conftest.
$ac_ext
16436 cat >>conftest.
$ac_ext <<_ACEOF
16437 /* end confdefs.h. */
16438 $ac_includes_default
16442 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16449 rm -f conftest.
$ac_objext
16450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16451 (eval $ac_compile) 2>conftest.er1
16453 grep -v '^ *+' conftest.er1
>conftest.err
16455 cat conftest.err
>&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); } &&
16458 { ac_try
='test -z "$ac_c_werror_flag"
16459 || test ! -s conftest.err'
16460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16461 (eval $ac_try) 2>&5
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); }; } &&
16465 { ac_try
='test -s conftest.$ac_objext'
16466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16467 (eval $ac_try) 2>&5
16469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470 (exit $ac_status); }; }; then
16473 cat >conftest.
$ac_ext <<_ACEOF
16476 cat confdefs.h
>>conftest.
$ac_ext
16477 cat >>conftest.
$ac_ext <<_ACEOF
16478 /* end confdefs.h. */
16479 $ac_includes_default
16483 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16490 rm -f conftest.
$ac_objext
16491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16492 (eval $ac_compile) 2>conftest.er1
16494 grep -v '^ *+' conftest.er1
>conftest.err
16496 cat conftest.err
>&5
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); } &&
16499 { ac_try
='test -z "$ac_c_werror_flag"
16500 || test ! -s conftest.err'
16501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16502 (eval $ac_try) 2>&5
16504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505 (exit $ac_status); }; } &&
16506 { ac_try
='test -s conftest.$ac_objext'
16507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16508 (eval $ac_try) 2>&5
16510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16511 (exit $ac_status); }; }; then
16512 ac_hi
=$ac_mid; break
16514 echo "$as_me: failed program was:" >&5
16515 sed 's/^/| /' conftest.
$ac_ext >&5
16517 ac_lo
=`expr $ac_mid + 1`
16518 if test $ac_lo -le $ac_mid; then
16522 ac_mid
=`expr 2 '*' $ac_mid + 1`
16524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16527 echo "$as_me: failed program was:" >&5
16528 sed 's/^/| /' conftest.
$ac_ext >&5
16530 cat >conftest.
$ac_ext <<_ACEOF
16533 cat confdefs.h
>>conftest.
$ac_ext
16534 cat >>conftest.
$ac_ext <<_ACEOF
16535 /* end confdefs.h. */
16536 $ac_includes_default
16540 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16547 rm -f conftest.
$ac_objext
16548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16549 (eval $ac_compile) 2>conftest.er1
16551 grep -v '^ *+' conftest.er1
>conftest.err
16553 cat conftest.err
>&5
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); } &&
16556 { ac_try
='test -z "$ac_c_werror_flag"
16557 || test ! -s conftest.err'
16558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16559 (eval $ac_try) 2>&5
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); }; } &&
16563 { ac_try
='test -s conftest.$ac_objext'
16564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16565 (eval $ac_try) 2>&5
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); }; }; then
16571 cat >conftest.
$ac_ext <<_ACEOF
16574 cat confdefs.h
>>conftest.
$ac_ext
16575 cat >>conftest.
$ac_ext <<_ACEOF
16576 /* end confdefs.h. */
16577 $ac_includes_default
16581 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16588 rm -f conftest.
$ac_objext
16589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16590 (eval $ac_compile) 2>conftest.er1
16592 grep -v '^ *+' conftest.er1
>conftest.err
16594 cat conftest.err
>&5
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); } &&
16597 { ac_try
='test -z "$ac_c_werror_flag"
16598 || test ! -s conftest.err'
16599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16600 (eval $ac_try) 2>&5
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); }; } &&
16604 { ac_try
='test -s conftest.$ac_objext'
16605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16606 (eval $ac_try) 2>&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); }; }; then
16610 ac_lo
=$ac_mid; break
16612 echo "$as_me: failed program was:" >&5
16613 sed 's/^/| /' conftest.
$ac_ext >&5
16615 ac_hi
=`expr '(' $ac_mid ')' - 1`
16616 if test $ac_mid -le $ac_hi; then
16620 ac_mid
=`expr 2 '*' $ac_mid`
16622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16625 echo "$as_me: failed program was:" >&5
16626 sed 's/^/| /' conftest.
$ac_ext >&5
16630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16633 # Binary search between lo and hi bounds.
16634 while test "x$ac_lo" != "x$ac_hi"; do
16635 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16636 cat >conftest.
$ac_ext <<_ACEOF
16639 cat confdefs.h
>>conftest.
$ac_ext
16640 cat >>conftest.
$ac_ext <<_ACEOF
16641 /* end confdefs.h. */
16642 $ac_includes_default
16646 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16653 rm -f conftest.
$ac_objext
16654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16655 (eval $ac_compile) 2>conftest.er1
16657 grep -v '^ *+' conftest.er1
>conftest.err
16659 cat conftest.err
>&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); } &&
16662 { ac_try
='test -z "$ac_c_werror_flag"
16663 || test ! -s conftest.err'
16664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16665 (eval $ac_try) 2>&5
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); }; } &&
16669 { ac_try
='test -s conftest.$ac_objext'
16670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16671 (eval $ac_try) 2>&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); }; }; then
16677 echo "$as_me: failed program was:" >&5
16678 sed 's/^/| /' conftest.
$ac_ext >&5
16680 ac_lo
=`expr '(' $ac_mid ')' + 1`
16682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16685 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16686 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16687 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16688 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16689 See \`config.log' for more details." >&5
16690 echo "$as_me: error: cannot compute sizeof (short), 77
16691 See \`config.log' for more details." >&2;}
16692 { (exit 1); exit 1; }; }; } ;;
16695 if test "$cross_compiling" = yes; then
16696 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16697 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16698 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16699 See \`config.log' for more details." >&5
16700 echo "$as_me: error: cannot run test program while cross compiling
16701 See \`config.log' for more details." >&2;}
16702 { (exit 1); exit 1; }; }; }
16704 cat >conftest.
$ac_ext <<_ACEOF
16707 cat confdefs.h
>>conftest.
$ac_ext
16708 cat >>conftest.
$ac_ext <<_ACEOF
16709 /* end confdefs.h. */
16710 $ac_includes_default
16711 long longval () { return (long) (sizeof (short)); }
16712 unsigned long ulongval () { return (long) (sizeof (short)); }
16714 #include <stdlib.h>
16719 FILE *f = fopen ("conftest.val", "w");
16722 if (((long) (sizeof (short))) < 0)
16724 long i = longval ();
16725 if (i != ((long) (sizeof (short))))
16727 fprintf (f, "%ld\n", i);
16731 unsigned long i = ulongval ();
16732 if (i != ((long) (sizeof (short))))
16734 fprintf (f, "%lu\n", i);
16736 exit (ferror (f) || fclose (f) != 0);
16742 rm -f conftest
$ac_exeext
16743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16744 (eval $ac_link) 2>&5
16746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16747 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16749 (eval $ac_try) 2>&5
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); }; }; then
16753 ac_cv_sizeof_short
=`cat conftest.val`
16755 echo "$as_me: program exited with status $ac_status" >&5
16756 echo "$as_me: failed program was:" >&5
16757 sed 's/^/| /' conftest.
$ac_ext >&5
16759 ( exit $ac_status )
16760 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16761 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16762 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16763 See \`config.log' for more details." >&5
16764 echo "$as_me: error: cannot compute sizeof (short), 77
16765 See \`config.log' for more details." >&2;}
16766 { (exit 1); exit 1; }; }; }
16768 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16773 ac_cv_sizeof_short
=0
16776 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16777 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16778 cat >>confdefs.h
<<_ACEOF
16779 #define SIZEOF_SHORT $ac_cv_sizeof_short
16783 echo "$as_me:$LINENO: checking for char" >&5
16784 echo $ECHO_N "checking for char... $ECHO_C" >&6
16785 if test "${ac_cv_type_char+set}" = set; then
16786 echo $ECHO_N "(cached) $ECHO_C" >&6
16788 cat >conftest.
$ac_ext <<_ACEOF
16791 cat confdefs.h
>>conftest.
$ac_ext
16792 cat >>conftest.
$ac_ext <<_ACEOF
16793 /* end confdefs.h. */
16794 $ac_includes_default
16806 rm -f conftest.
$ac_objext
16807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16808 (eval $ac_compile) 2>conftest.er1
16810 grep -v '^ *+' conftest.er1
>conftest.err
16812 cat conftest.err
>&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); } &&
16815 { ac_try
='test -z "$ac_c_werror_flag"
16816 || test ! -s conftest.err'
16817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16818 (eval $ac_try) 2>&5
16820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821 (exit $ac_status); }; } &&
16822 { ac_try
='test -s conftest.$ac_objext'
16823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16824 (eval $ac_try) 2>&5
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); }; }; then
16828 ac_cv_type_char
=yes
16830 echo "$as_me: failed program was:" >&5
16831 sed 's/^/| /' conftest.
$ac_ext >&5
16835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16837 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16838 echo "${ECHO_T}$ac_cv_type_char" >&6
16840 echo "$as_me:$LINENO: checking size of char" >&5
16841 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16842 if test "${ac_cv_sizeof_char+set}" = set; then
16843 echo $ECHO_N "(cached) $ECHO_C" >&6
16845 if test "$ac_cv_type_char" = yes; then
16846 # The cast to unsigned long works around a bug in the HP C Compiler
16847 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16848 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16849 # This bug is HP SR number 8606223364.
16850 if test "$cross_compiling" = yes; then
16851 # Depending upon the size, compute the lo and hi bounds.
16852 cat >conftest.
$ac_ext <<_ACEOF
16855 cat confdefs.h
>>conftest.
$ac_ext
16856 cat >>conftest.
$ac_ext <<_ACEOF
16857 /* end confdefs.h. */
16858 $ac_includes_default
16862 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16869 rm -f conftest.
$ac_objext
16870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16871 (eval $ac_compile) 2>conftest.er1
16873 grep -v '^ *+' conftest.er1
>conftest.err
16875 cat conftest.err
>&5
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); } &&
16878 { ac_try
='test -z "$ac_c_werror_flag"
16879 || test ! -s conftest.err'
16880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16881 (eval $ac_try) 2>&5
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); }; } &&
16885 { ac_try
='test -s conftest.$ac_objext'
16886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16887 (eval $ac_try) 2>&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); }; }; then
16893 cat >conftest.
$ac_ext <<_ACEOF
16896 cat confdefs.h
>>conftest.
$ac_ext
16897 cat >>conftest.
$ac_ext <<_ACEOF
16898 /* end confdefs.h. */
16899 $ac_includes_default
16903 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16910 rm -f conftest.
$ac_objext
16911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16912 (eval $ac_compile) 2>conftest.er1
16914 grep -v '^ *+' conftest.er1
>conftest.err
16916 cat conftest.err
>&5
16917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918 (exit $ac_status); } &&
16919 { ac_try
='test -z "$ac_c_werror_flag"
16920 || test ! -s conftest.err'
16921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16922 (eval $ac_try) 2>&5
16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16925 (exit $ac_status); }; } &&
16926 { ac_try
='test -s conftest.$ac_objext'
16927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16928 (eval $ac_try) 2>&5
16930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16931 (exit $ac_status); }; }; then
16932 ac_hi
=$ac_mid; break
16934 echo "$as_me: failed program was:" >&5
16935 sed 's/^/| /' conftest.
$ac_ext >&5
16937 ac_lo
=`expr $ac_mid + 1`
16938 if test $ac_lo -le $ac_mid; then
16942 ac_mid
=`expr 2 '*' $ac_mid + 1`
16944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16947 echo "$as_me: failed program was:" >&5
16948 sed 's/^/| /' conftest.
$ac_ext >&5
16950 cat >conftest.
$ac_ext <<_ACEOF
16953 cat confdefs.h
>>conftest.
$ac_ext
16954 cat >>conftest.
$ac_ext <<_ACEOF
16955 /* end confdefs.h. */
16956 $ac_includes_default
16960 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16967 rm -f conftest.
$ac_objext
16968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16969 (eval $ac_compile) 2>conftest.er1
16971 grep -v '^ *+' conftest.er1
>conftest.err
16973 cat conftest.err
>&5
16974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975 (exit $ac_status); } &&
16976 { ac_try
='test -z "$ac_c_werror_flag"
16977 || test ! -s conftest.err'
16978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16979 (eval $ac_try) 2>&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); }; } &&
16983 { ac_try
='test -s conftest.$ac_objext'
16984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16985 (eval $ac_try) 2>&5
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); }; }; then
16991 cat >conftest.
$ac_ext <<_ACEOF
16994 cat confdefs.h
>>conftest.
$ac_ext
16995 cat >>conftest.
$ac_ext <<_ACEOF
16996 /* end confdefs.h. */
16997 $ac_includes_default
17001 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17008 rm -f conftest.
$ac_objext
17009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17010 (eval $ac_compile) 2>conftest.er1
17012 grep -v '^ *+' conftest.er1
>conftest.err
17014 cat conftest.err
>&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); } &&
17017 { ac_try
='test -z "$ac_c_werror_flag"
17018 || test ! -s conftest.err'
17019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17020 (eval $ac_try) 2>&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); }; } &&
17024 { ac_try
='test -s conftest.$ac_objext'
17025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17026 (eval $ac_try) 2>&5
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); }; }; then
17030 ac_lo
=$ac_mid; break
17032 echo "$as_me: failed program was:" >&5
17033 sed 's/^/| /' conftest.
$ac_ext >&5
17035 ac_hi
=`expr '(' $ac_mid ')' - 1`
17036 if test $ac_mid -le $ac_hi; then
17040 ac_mid
=`expr 2 '*' $ac_mid`
17042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17045 echo "$as_me: failed program was:" >&5
17046 sed 's/^/| /' conftest.
$ac_ext >&5
17050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17053 # Binary search between lo and hi bounds.
17054 while test "x$ac_lo" != "x$ac_hi"; do
17055 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17056 cat >conftest.
$ac_ext <<_ACEOF
17059 cat confdefs.h
>>conftest.
$ac_ext
17060 cat >>conftest.
$ac_ext <<_ACEOF
17061 /* end confdefs.h. */
17062 $ac_includes_default
17066 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17073 rm -f conftest.
$ac_objext
17074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17075 (eval $ac_compile) 2>conftest.er1
17077 grep -v '^ *+' conftest.er1
>conftest.err
17079 cat conftest.err
>&5
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); } &&
17082 { ac_try
='test -z "$ac_c_werror_flag"
17083 || test ! -s conftest.err'
17084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17085 (eval $ac_try) 2>&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); }; } &&
17089 { ac_try
='test -s conftest.$ac_objext'
17090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17091 (eval $ac_try) 2>&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); }; }; then
17097 echo "$as_me: failed program was:" >&5
17098 sed 's/^/| /' conftest.
$ac_ext >&5
17100 ac_lo
=`expr '(' $ac_mid ')' + 1`
17102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17105 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17106 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17107 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17108 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17109 See \`config.log' for more details." >&5
17110 echo "$as_me: error: cannot compute sizeof (char), 77
17111 See \`config.log' for more details." >&2;}
17112 { (exit 1); exit 1; }; }; } ;;
17115 if test "$cross_compiling" = yes; then
17116 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17117 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17118 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17119 See \`config.log' for more details." >&5
17120 echo "$as_me: error: cannot run test program while cross compiling
17121 See \`config.log' for more details." >&2;}
17122 { (exit 1); exit 1; }; }; }
17124 cat >conftest.
$ac_ext <<_ACEOF
17127 cat confdefs.h
>>conftest.
$ac_ext
17128 cat >>conftest.
$ac_ext <<_ACEOF
17129 /* end confdefs.h. */
17130 $ac_includes_default
17131 long longval () { return (long) (sizeof (char)); }
17132 unsigned long ulongval () { return (long) (sizeof (char)); }
17134 #include <stdlib.h>
17139 FILE *f = fopen ("conftest.val", "w");
17142 if (((long) (sizeof (char))) < 0)
17144 long i = longval ();
17145 if (i != ((long) (sizeof (char))))
17147 fprintf (f, "%ld\n", i);
17151 unsigned long i = ulongval ();
17152 if (i != ((long) (sizeof (char))))
17154 fprintf (f, "%lu\n", i);
17156 exit (ferror (f) || fclose (f) != 0);
17162 rm -f conftest
$ac_exeext
17163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17164 (eval $ac_link) 2>&5
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17169 (eval $ac_try) 2>&5
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); }; }; then
17173 ac_cv_sizeof_char
=`cat conftest.val`
17175 echo "$as_me: program exited with status $ac_status" >&5
17176 echo "$as_me: failed program was:" >&5
17177 sed 's/^/| /' conftest.
$ac_ext >&5
17179 ( exit $ac_status )
17180 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17181 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17182 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17183 See \`config.log' for more details." >&5
17184 echo "$as_me: error: cannot compute sizeof (char), 77
17185 See \`config.log' for more details." >&2;}
17186 { (exit 1); exit 1; }; }; }
17188 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17193 ac_cv_sizeof_char
=0
17196 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17197 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17198 cat >>confdefs.h
<<_ACEOF
17199 #define SIZEOF_CHAR $ac_cv_sizeof_char
17204 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
17205 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
17206 case "$ac_cv_sizeof_char" in
17207 1) acx_cv_type_int8_t
=char
;;
17208 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
17209 echo "$as_me: error: no 8-bit type" >&2;}
17210 { (exit please report a bug
); exit please report a bug
; }; }
17212 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
17213 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
17215 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
17216 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
17217 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
17218 2:*) acx_cv_type_int16_t
=int
;;
17219 *:2) acx_cv_type_int16_t
=short
;;
17220 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
17221 echo "$as_me: error: no 16-bit type" >&2;}
17222 { (exit please report a bug
); exit please report a bug
; }; }
17224 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
17225 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
17227 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
17228 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
17229 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
17230 4:*) acx_cv_type_int32_t
=int
;;
17231 *:4) acx_cv_type_int32_t
=long
;;
17232 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
17233 echo "$as_me: error: no 32-bit type" >&2;}
17234 { (exit please report a bug
); exit please report a bug
; }; }
17236 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
17237 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
17240 # These tests are here to make the output prettier
17242 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17243 case "$ac_cv_sizeof_long" in
17244 8) acx_cv_type_int64_t
=long
;;
17246 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
17247 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
17248 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17249 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
17252 # Now we can use the above types
17254 if test "$ac_cv_type_uintptr_t" != yes; then
17255 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
17256 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
17257 case $ac_cv_sizeof_void_p in
17258 2) acx_cv_type_intptr_t
=int16_t
;;
17259 4) acx_cv_type_intptr_t
=int32_t
;;
17260 8) acx_cv_type_intptr_t
=int64_t
;;
17261 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
17262 echo "$as_me: error: no equivalent for intptr_t" >&2;}
17263 { (exit please report a bug
); exit please report a bug
; }; }
17265 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
17266 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
17269 # ----------------- done all checks, emit header -------------
17270 ac_config_commands
="$ac_config_commands gstdint.h"
17275 # Check to see if -pthread or -lpthread is needed. Prefer the former.
17276 # In case the pthread.h system header is not found, this test will fail.
17278 CFLAGS
="$CFLAGS -pthread"
17279 cat >conftest.
$ac_ext <<_ACEOF
17282 cat confdefs.h
>>conftest.
$ac_ext
17283 cat >>conftest.
$ac_ext <<_ACEOF
17284 /* end confdefs.h. */
17285 #include <pthread.h>
17286 void *g(void *d) { return NULL; }
17290 pthread_t t; pthread_create(&t,NULL,g,NULL);
17295 rm -f conftest.
$ac_objext conftest
$ac_exeext
17296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17297 (eval $ac_link) 2>conftest.er1
17299 grep -v '^ *+' conftest.er1
>conftest.err
17301 cat conftest.err
>&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); } &&
17304 { ac_try
='test -z "$ac_c_werror_flag"
17305 || test ! -s conftest.err'
17306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17307 (eval $ac_try) 2>&5
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); }; } &&
17311 { ac_try
='test -s conftest$ac_exeext'
17312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17313 (eval $ac_try) 2>&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); }; }; then
17317 XPCFLAGS
=" -Wc,-pthread"
17319 echo "$as_me: failed program was:" >&5
17320 sed 's/^/| /' conftest.
$ac_ext >&5
17322 CFLAGS
="$save_CFLAGS" LIBS
="-lpthread $LIBS"
17323 cat >conftest.
$ac_ext <<_ACEOF
17326 cat confdefs.h
>>conftest.
$ac_ext
17327 cat >>conftest.
$ac_ext <<_ACEOF
17328 /* end confdefs.h. */
17329 #include <pthread.h>
17330 void *g(void *d) { return NULL; }
17334 pthread_t t; pthread_create(&t,NULL,g,NULL);
17339 rm -f conftest.
$ac_objext conftest
$ac_exeext
17340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17341 (eval $ac_link) 2>conftest.er1
17343 grep -v '^ *+' conftest.er1
>conftest.err
17345 cat conftest.err
>&5
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); } &&
17348 { ac_try
='test -z "$ac_c_werror_flag"
17349 || test ! -s conftest.err'
17350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17351 (eval $ac_try) 2>&5
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); }; } &&
17355 { ac_try
='test -s conftest$ac_exeext'
17356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17357 (eval $ac_try) 2>&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); }; }; then
17363 echo "$as_me: failed program was:" >&5
17364 sed 's/^/| /' conftest.
$ac_ext >&5
17366 { { echo "$as_me:$LINENO: error: Pthreads are required to build libgomp" >&5
17367 echo "$as_me: error: Pthreads are required to build libgomp" >&2;}
17368 { (exit 1); exit 1; }; }
17370 rm -f conftest.err conftest.
$ac_objext \
17371 conftest
$ac_exeext conftest.
$ac_ext
17373 rm -f conftest.err conftest.
$ac_objext \
17374 conftest
$ac_exeext conftest.
$ac_ext
17376 # Check for functions needed.
17380 for ac_func
in getloadavg clock_gettime strtoull
17382 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17383 echo "$as_me:$LINENO: checking for $ac_func" >&5
17384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17385 if eval "test \"\${$as_ac_var+set}\" = set"; then
17386 echo $ECHO_N "(cached) $ECHO_C" >&6
17388 cat >conftest.
$ac_ext <<_ACEOF
17391 cat confdefs.h
>>conftest.
$ac_ext
17392 cat >>conftest.
$ac_ext <<_ACEOF
17393 /* end confdefs.h. */
17394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17396 #define $ac_func innocuous_$ac_func
17398 /* System header to define __stub macros and hopefully few prototypes,
17399 which can conflict with char $ac_func (); below.
17400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17401 <limits.h> exists even on freestanding compilers. */
17404 # include <limits.h>
17406 # include <assert.h>
17411 /* Override any gcc2 internal prototype to avoid an error. */
17416 /* We use char because int might match the return type of a gcc2
17417 builtin and then its argument prototype would still apply. */
17419 /* The GNU C library defines this for functions which it implements
17420 to always fail with ENOSYS. Some functions are actually named
17421 something starting with __ and the normal name is an alias. */
17422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17425 char (*f) () = $ac_func;
17434 return f != $ac_func;
17439 rm -f conftest.
$ac_objext conftest
$ac_exeext
17440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17441 (eval $ac_link) 2>conftest.er1
17443 grep -v '^ *+' conftest.er1
>conftest.err
17445 cat conftest.err
>&5
17446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447 (exit $ac_status); } &&
17448 { ac_try
='test -z "$ac_c_werror_flag"
17449 || test ! -s conftest.err'
17450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17451 (eval $ac_try) 2>&5
17453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454 (exit $ac_status); }; } &&
17455 { ac_try
='test -s conftest$ac_exeext'
17456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17457 (eval $ac_try) 2>&5
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); }; }; then
17461 eval "$as_ac_var=yes"
17463 echo "$as_me: failed program was:" >&5
17464 sed 's/^/| /' conftest.
$ac_ext >&5
17466 eval "$as_ac_var=no"
17468 rm -f conftest.err conftest.
$ac_objext \
17469 conftest
$ac_exeext conftest.
$ac_ext
17471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17473 if test `eval echo '${'$as_ac_var'}'` = yes; then
17474 cat >>confdefs.h
<<_ACEOF
17475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17482 # Check for broken semaphore implementation on darwin.
17483 # sem_init returns: sem_init error: Function not implemented.
17487 cat >>confdefs.h
<<\_ACEOF
17488 #define HAVE_BROKEN_POSIX_SEMAPHORES 1
17494 # Check whether --enable-linux-futex or --disable-linux-futex was given.
17495 if test "${enable_linux_futex+set}" = set; then
17496 enableval
="$enable_linux_futex"
17498 case "$enableval" in
17500 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
17501 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
17502 { (exit 1); exit 1; }; } ;;
17506 enable_linux_futex
=default
17511 case "$enable_linux_futex" in
17513 # If headers don't have gettid/futex syscalls definition, then
17514 # default to no, otherwise there will be compile time failures.
17515 # Otherwise, default to yes. If we don't detect we are
17516 # compiled/linked against NPTL and not cross-compiling, check
17517 # if programs are run by default against NPTL and if not, issue
17519 enable_linux_futex
=no
17520 cat >conftest.
$ac_ext <<_ACEOF
17523 cat confdefs.h
>>conftest.
$ac_ext
17524 cat >>conftest.
$ac_ext <<_ACEOF
17525 /* end confdefs.h. */
17526 #include <sys/syscall.h>
17531 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
17536 rm -f conftest.
$ac_objext conftest
$ac_exeext
17537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17538 (eval $ac_link) 2>conftest.er1
17540 grep -v '^ *+' conftest.er1
>conftest.err
17542 cat conftest.err
>&5
17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 (exit $ac_status); } &&
17545 { ac_try
='test -z "$ac_c_werror_flag"
17546 || test ! -s conftest.err'
17547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17548 (eval $ac_try) 2>&5
17550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 (exit $ac_status); }; } &&
17552 { ac_try
='test -s conftest$ac_exeext'
17553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17554 (eval $ac_try) 2>&5
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); }; }; then
17559 LIBS
="-lpthread $LIBS"
17560 cat >conftest.
$ac_ext <<_ACEOF
17563 cat confdefs.h
>>conftest.
$ac_ext
17564 cat >>conftest.
$ac_ext <<_ACEOF
17565 /* end confdefs.h. */
17566 #ifndef _GNU_SOURCE
17567 #define _GNU_SOURCE 1
17569 #include <pthread.h>
17570 pthread_t th; void *status;
17574 pthread_tryjoin_np (th, &status);
17579 rm -f conftest.
$ac_objext conftest
$ac_exeext
17580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17581 (eval $ac_link) 2>conftest.er1
17583 grep -v '^ *+' conftest.er1
>conftest.err
17585 cat conftest.err
>&5
17586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587 (exit $ac_status); } &&
17588 { ac_try
='test -z "$ac_c_werror_flag"
17589 || test ! -s conftest.err'
17590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17591 (eval $ac_try) 2>&5
17593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17594 (exit $ac_status); }; } &&
17595 { ac_try
='test -s conftest$ac_exeext'
17596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17597 (eval $ac_try) 2>&5
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); }; }; then
17601 enable_linux_futex
=yes
17603 echo "$as_me: failed program was:" >&5
17604 sed 's/^/| /' conftest.
$ac_ext >&5
17606 if test x
$cross_compiling = xno
; then
17607 if getconf GNU_LIBPTHREAD_VERSION
2>/dev
/null \
17608 | LC_ALL
=C
grep -i NPTL
> /dev
/null
2>/dev
/null
; then :; else
17609 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
17610 If so, please configure with --disable-linux-futex" >&5
17611 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
17612 If so, please configure with --disable-linux-futex" >&2;}
17615 enable_linux_futex
=yes
17617 rm -f conftest.err conftest.
$ac_objext \
17618 conftest
$ac_exeext conftest.
$ac_ext
17621 echo "$as_me: failed program was:" >&5
17622 sed 's/^/| /' conftest.
$ac_ext >&5
17625 rm -f conftest.err conftest.
$ac_objext \
17626 conftest
$ac_exeext conftest.
$ac_ext
17629 cat >conftest.
$ac_ext <<_ACEOF
17632 cat confdefs.h
>>conftest.
$ac_ext
17633 cat >>conftest.
$ac_ext <<_ACEOF
17634 /* end confdefs.h. */
17635 #include <sys/syscall.h>
17640 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
17645 rm -f conftest.
$ac_objext conftest
$ac_exeext
17646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17647 (eval $ac_link) 2>conftest.er1
17649 grep -v '^ *+' conftest.er1
>conftest.err
17651 cat conftest.err
>&5
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); } &&
17654 { ac_try
='test -z "$ac_c_werror_flag"
17655 || test ! -s conftest.err'
17656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17657 (eval $ac_try) 2>&5
17659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660 (exit $ac_status); }; } &&
17661 { ac_try
='test -s conftest$ac_exeext'
17662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17663 (eval $ac_try) 2>&5
17665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17666 (exit $ac_status); }; }; then
17669 echo "$as_me: failed program was:" >&5
17670 sed 's/^/| /' conftest.
$ac_ext >&5
17672 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
17673 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
17674 { (exit 1); exit 1; }; }
17676 rm -f conftest.err conftest.
$ac_objext \
17677 conftest
$ac_exeext conftest.
$ac_ext
17682 enable_linux_futex
=no
17685 if test x
$enable_linux_futex = xyes
; then
17690 # Check for pthread_{,attr_}[sg]etaffinity_np.
17691 cat >conftest.
$ac_ext <<_ACEOF
17694 cat confdefs.h
>>conftest.
$ac_ext
17695 cat >>conftest.
$ac_ext <<_ACEOF
17696 /* end confdefs.h. */
17697 #define _GNU_SOURCE
17698 #include <pthread.h>
17703 pthread_attr_t attr;
17704 pthread_getaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
17705 if (CPU_ISSET (0, &cpuset))
17706 CPU_SET (1, &cpuset);
17708 CPU_ZERO (&cpuset);
17709 pthread_setaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
17710 pthread_attr_init (&attr);
17711 pthread_attr_getaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
17712 pthread_attr_setaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
17717 rm -f conftest.
$ac_objext conftest
$ac_exeext
17718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17719 (eval $ac_link) 2>conftest.er1
17721 grep -v '^ *+' conftest.er1
>conftest.err
17723 cat conftest.err
>&5
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); } &&
17726 { ac_try
='test -z "$ac_c_werror_flag"
17727 || test ! -s conftest.err'
17728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17729 (eval $ac_try) 2>&5
17731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17732 (exit $ac_status); }; } &&
17733 { ac_try
='test -s conftest$ac_exeext'
17734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17735 (eval $ac_try) 2>&5
17737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17738 (exit $ac_status); }; }; then
17740 cat >>confdefs.h
<<\_ACEOF
17741 #define HAVE_PTHREAD_AFFINITY_NP 1
17745 echo "$as_me: failed program was:" >&5
17746 sed 's/^/| /' conftest.
$ac_ext >&5
17749 rm -f conftest.err conftest.
$ac_objext \
17750 conftest
$ac_exeext conftest.
$ac_ext
17752 # At least for glibc, clock_gettime is in librt. But don't pull that
17753 # in if it still doesn't give us the function we want.
17754 if test $ac_cv_func_clock_gettime = no
; then
17755 echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
17756 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
17757 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
17758 echo $ECHO_N "(cached) $ECHO_C" >&6
17760 ac_check_lib_save_LIBS
=$LIBS
17762 cat >conftest.
$ac_ext <<_ACEOF
17765 cat confdefs.h
>>conftest.
$ac_ext
17766 cat >>conftest.
$ac_ext <<_ACEOF
17767 /* end confdefs.h. */
17769 /* Override any gcc2 internal prototype to avoid an error. */
17773 /* We use char because int might match the return type of a gcc2
17774 builtin and then its argument prototype would still apply. */
17775 char clock_gettime ();
17784 rm -f conftest.
$ac_objext conftest
$ac_exeext
17785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17786 (eval $ac_link) 2>conftest.er1
17788 grep -v '^ *+' conftest.er1
>conftest.err
17790 cat conftest.err
>&5
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); } &&
17793 { ac_try
='test -z "$ac_c_werror_flag"
17794 || test ! -s conftest.err'
17795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17796 (eval $ac_try) 2>&5
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); }; } &&
17800 { ac_try
='test -s conftest$ac_exeext'
17801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17802 (eval $ac_try) 2>&5
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); }; }; then
17806 ac_cv_lib_rt_clock_gettime
=yes
17808 echo "$as_me: failed program was:" >&5
17809 sed 's/^/| /' conftest.
$ac_ext >&5
17811 ac_cv_lib_rt_clock_gettime
=no
17813 rm -f conftest.err conftest.
$ac_objext \
17814 conftest
$ac_exeext conftest.
$ac_ext
17815 LIBS
=$ac_check_lib_save_LIBS
17817 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
17818 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
17819 if test $ac_cv_lib_rt_clock_gettime = yes; then
17822 cat >>confdefs.h
<<\_ACEOF
17823 #define HAVE_CLOCK_GETTIME 1
17830 # See if we support thread-local storage.
17832 # Check whether --enable-tls or --disable-tls was given.
17833 if test "${enable_tls+set}" = set; then
17834 enableval
="$enable_tls"
17836 case "$enableval" in
17838 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
17839 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
17840 { (exit 1); exit 1; }; } ;;
17847 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
17848 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
17849 if test "${gcc_cv_have_tls+set}" = set; then
17850 echo $ECHO_N "(cached) $ECHO_C" >&6
17853 if test "$cross_compiling" = yes; then
17854 cat >conftest.
$ac_ext <<_ACEOF
17855 __thread int a; int b; int main() { return a = b; }
17857 rm -f conftest.
$ac_objext conftest
$ac_exeext
17858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17859 (eval $ac_link) 2>conftest.er1
17861 grep -v '^ *+' conftest.er1
>conftest.err
17863 cat conftest.err
>&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); } &&
17866 { ac_try
='test -z "$ac_c_werror_flag"
17867 || test ! -s conftest.err'
17868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17869 (eval $ac_try) 2>&5
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); }; } &&
17873 { ac_try
='test -s conftest$ac_exeext'
17874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17875 (eval $ac_try) 2>&5
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); }; }; then
17879 gcc_cv_have_tls
=yes
17881 echo "$as_me: failed program was:" >&5
17882 sed 's/^/| /' conftest.
$ac_ext >&5
17886 rm -f conftest.err conftest.
$ac_objext \
17887 conftest
$ac_exeext conftest.
$ac_ext
17891 cat >conftest.
$ac_ext <<_ACEOF
17892 __thread int a; int b; int main() { return a = b; }
17894 rm -f conftest
$ac_exeext
17895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17896 (eval $ac_link) 2>&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17901 (eval $ac_try) 2>&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); }; }; then
17905 chktls_save_LDFLAGS
="$LDFLAGS"
17906 LDFLAGS
="-static $LDFLAGS"
17907 cat >conftest.
$ac_ext <<_ACEOF
17908 int main() { return 0; }
17910 rm -f conftest.
$ac_objext conftest
$ac_exeext
17911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17912 (eval $ac_link) 2>conftest.er1
17914 grep -v '^ *+' conftest.er1
>conftest.err
17916 cat conftest.err
>&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); } &&
17919 { ac_try
='test -z "$ac_c_werror_flag"
17920 || test ! -s conftest.err'
17921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17922 (eval $ac_try) 2>&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); }; } &&
17926 { ac_try
='test -s conftest$ac_exeext'
17927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17928 (eval $ac_try) 2>&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); }; }; then
17932 if test "$cross_compiling" = yes; then
17933 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17934 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17935 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17936 See \`config.log' for more details." >&5
17937 echo "$as_me: error: cannot run test program while cross compiling
17938 See \`config.log' for more details." >&2;}
17939 { (exit 1); exit 1; }; }; }
17941 cat >conftest.
$ac_ext <<_ACEOF
17942 __thread int a; int b; int main() { return a = b; }
17944 rm -f conftest
$ac_exeext
17945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17946 (eval $ac_link) 2>&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17951 (eval $ac_try) 2>&5
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); }; }; then
17955 gcc_cv_have_tls
=yes
17957 echo "$as_me: program exited with status $ac_status" >&5
17958 echo "$as_me: failed program was:" >&5
17959 sed 's/^/| /' conftest.
$ac_ext >&5
17961 ( exit $ac_status )
17964 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17967 echo "$as_me: failed program was:" >&5
17968 sed 's/^/| /' conftest.
$ac_ext >&5
17970 gcc_cv_have_tls
=yes
17972 rm -f conftest.err conftest.
$ac_objext \
17973 conftest
$ac_exeext conftest.
$ac_ext
17974 LDFLAGS
="$chktls_save_LDFLAGS"
17975 if test $gcc_cv_have_tls = yes; then
17976 chktls_save_CFLAGS
="$CFLAGS"
17977 thread_CFLAGS
=failed
17978 for flag
in '' '-pthread' '-lpthread'; do
17979 CFLAGS
="$flag $chktls_save_CFLAGS"
17980 cat >conftest.
$ac_ext <<_ACEOF
17983 cat confdefs.h
>>conftest.
$ac_ext
17984 cat >>conftest.
$ac_ext <<_ACEOF
17985 /* end confdefs.h. */
17986 #include <pthread.h>
17987 void *g(void *d) { return NULL; }
17991 pthread_t t; pthread_create(&t,NULL,g,NULL);
17996 rm -f conftest.
$ac_objext conftest
$ac_exeext
17997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17998 (eval $ac_link) 2>conftest.er1
18000 grep -v '^ *+' conftest.er1
>conftest.err
18002 cat conftest.err
>&5
18003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004 (exit $ac_status); } &&
18005 { ac_try
='test -z "$ac_c_werror_flag"
18006 || test ! -s conftest.err'
18007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18008 (eval $ac_try) 2>&5
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); }; } &&
18012 { ac_try
='test -s conftest$ac_exeext'
18013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18014 (eval $ac_try) 2>&5
18016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017 (exit $ac_status); }; }; then
18018 thread_CFLAGS
="$flag"
18020 echo "$as_me: failed program was:" >&5
18021 sed 's/^/| /' conftest.
$ac_ext >&5
18024 rm -f conftest.err conftest.
$ac_objext \
18025 conftest
$ac_exeext conftest.
$ac_ext
18026 if test "X$thread_CFLAGS" != Xfailed
; then
18030 CFLAGS
="$chktls_save_CFLAGS"
18031 if test "X$thread_CFLAGS" != Xfailed
; then
18032 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
18033 if test "$cross_compiling" = yes; then
18034 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18035 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18036 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18037 See \`config.log' for more details." >&5
18038 echo "$as_me: error: cannot run test program while cross compiling
18039 See \`config.log' for more details." >&2;}
18040 { (exit 1); exit 1; }; }; }
18042 cat >conftest.
$ac_ext <<_ACEOF
18045 cat confdefs.h
>>conftest.
$ac_ext
18046 cat >>conftest.
$ac_ext <<_ACEOF
18047 /* end confdefs.h. */
18048 #include <pthread.h>
18050 static int *a_in_other_thread;
18052 thread_func (void *arg)
18054 a_in_other_thread = &a;
18061 void *thread_retval;
18062 int *a_in_main_thread;
18063 if (pthread_create (&thread, (pthread_attr_t *)0,
18064 thread_func, (void *)0))
18066 a_in_main_thread = &a;
18067 if (pthread_join (thread, &thread_retval))
18069 return (a_in_other_thread == a_in_main_thread);
18074 rm -f conftest
$ac_exeext
18075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18076 (eval $ac_link) 2>&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18081 (eval $ac_try) 2>&5
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); }; }; then
18085 gcc_cv_have_tls
=yes
18087 echo "$as_me: program exited with status $ac_status" >&5
18088 echo "$as_me: failed program was:" >&5
18089 sed 's/^/| /' conftest.
$ac_ext >&5
18091 ( exit $ac_status )
18094 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18096 CFLAGS
="$chktls_save_CFLAGS"
18100 echo "$as_me: program exited with status $ac_status" >&5
18101 echo "$as_me: failed program was:" >&5
18102 sed 's/^/| /' conftest.
$ac_ext >&5
18104 ( exit $ac_status )
18107 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18110 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
18111 echo "${ECHO_T}$gcc_cv_have_tls" >&6
18112 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
18114 cat >>confdefs.h
<<\_ACEOF
18120 # See what sort of export controls are availible.
18122 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
18123 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
18124 if test "${libgomp_cv_have_attribute_visibility+set}" = set; then
18125 echo $ECHO_N "(cached) $ECHO_C" >&6
18128 save_CFLAGS
="$CFLAGS"
18129 CFLAGS
="$CFLAGS -Werror"
18130 cat >conftest.
$ac_ext <<_ACEOF
18133 cat confdefs.h
>>conftest.
$ac_ext
18134 cat >>conftest.
$ac_ext <<_ACEOF
18135 /* end confdefs.h. */
18136 void __attribute__((visibility("hidden"))) foo(void) { }
18145 rm -f conftest.
$ac_objext
18146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18147 (eval $ac_compile) 2>conftest.er1
18149 grep -v '^ *+' conftest.er1
>conftest.err
18151 cat conftest.err
>&5
18152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18153 (exit $ac_status); } &&
18154 { ac_try
='test -z "$ac_c_werror_flag"
18155 || test ! -s conftest.err'
18156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18157 (eval $ac_try) 2>&5
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); }; } &&
18161 { ac_try
='test -s conftest.$ac_objext'
18162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18163 (eval $ac_try) 2>&5
18165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166 (exit $ac_status); }; }; then
18167 libgomp_cv_have_attribute_visibility
=yes
18169 echo "$as_me: failed program was:" >&5
18170 sed 's/^/| /' conftest.
$ac_ext >&5
18172 libgomp_cv_have_attribute_visibility
=no
18174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18175 CFLAGS
="$save_CFLAGS"
18177 echo "$as_me:$LINENO: result: $libgomp_cv_have_attribute_visibility" >&5
18178 echo "${ECHO_T}$libgomp_cv_have_attribute_visibility" >&6
18179 if test $libgomp_cv_have_attribute_visibility = yes; then
18181 cat >>confdefs.h
<<\_ACEOF
18182 #define HAVE_ATTRIBUTE_VISIBILITY 1
18187 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
18188 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
18189 if test "${libgomp_cv_have_attribute_dllexport+set}" = set; then
18190 echo $ECHO_N "(cached) $ECHO_C" >&6
18193 save_CFLAGS
="$CFLAGS"
18194 CFLAGS
="$CFLAGS -Werror"
18195 cat >conftest.
$ac_ext <<_ACEOF
18198 cat confdefs.h
>>conftest.
$ac_ext
18199 cat >>conftest.
$ac_ext <<_ACEOF
18200 /* end confdefs.h. */
18201 void __attribute__((dllexport)) foo(void) { }
18210 rm -f conftest.
$ac_objext
18211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18212 (eval $ac_compile) 2>conftest.er1
18214 grep -v '^ *+' conftest.er1
>conftest.err
18216 cat conftest.err
>&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); } &&
18219 { ac_try
='test -z "$ac_c_werror_flag"
18220 || test ! -s conftest.err'
18221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18222 (eval $ac_try) 2>&5
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); }; } &&
18226 { ac_try
='test -s conftest.$ac_objext'
18227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18228 (eval $ac_try) 2>&5
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); }; }; then
18232 libgomp_cv_have_attribute_dllexport
=yes
18234 echo "$as_me: failed program was:" >&5
18235 sed 's/^/| /' conftest.
$ac_ext >&5
18237 libgomp_cv_have_attribute_dllexport
=no
18239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18240 CFLAGS
="$save_CFLAGS"
18242 echo "$as_me:$LINENO: result: $libgomp_cv_have_attribute_dllexport" >&5
18243 echo "${ECHO_T}$libgomp_cv_have_attribute_dllexport" >&6
18244 if test $libgomp_cv_have_attribute_dllexport = yes; then
18246 cat >>confdefs.h
<<\_ACEOF
18247 #define HAVE_ATTRIBUTE_DLLEXPORT 1
18252 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
18253 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
18254 if test "${libgomp_cv_have_attribute_alias+set}" = set; then
18255 echo $ECHO_N "(cached) $ECHO_C" >&6
18258 cat >conftest.
$ac_ext <<_ACEOF
18261 cat confdefs.h
>>conftest.
$ac_ext
18262 cat >>conftest.
$ac_ext <<_ACEOF
18263 /* end confdefs.h. */
18266 extern void bar(void) __attribute__((alias("foo")));
18275 rm -f conftest.
$ac_objext conftest
$ac_exeext
18276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18277 (eval $ac_link) 2>conftest.er1
18279 grep -v '^ *+' conftest.er1
>conftest.err
18281 cat conftest.err
>&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); } &&
18284 { ac_try
='test -z "$ac_c_werror_flag"
18285 || test ! -s conftest.err'
18286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18287 (eval $ac_try) 2>&5
18289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290 (exit $ac_status); }; } &&
18291 { ac_try
='test -s conftest$ac_exeext'
18292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18293 (eval $ac_try) 2>&5
18295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18296 (exit $ac_status); }; }; then
18297 libgomp_cv_have_attribute_alias
=yes
18299 echo "$as_me: failed program was:" >&5
18300 sed 's/^/| /' conftest.
$ac_ext >&5
18302 libgomp_cv_have_attribute_alias
=no
18304 rm -f conftest.err conftest.
$ac_objext \
18305 conftest
$ac_exeext conftest.
$ac_ext
18307 echo "$as_me:$LINENO: result: $libgomp_cv_have_attribute_alias" >&5
18308 echo "${ECHO_T}$libgomp_cv_have_attribute_alias" >&6
18309 if test $libgomp_cv_have_attribute_alias = yes; then
18311 cat >>confdefs.h
<<\_ACEOF
18312 #define HAVE_ATTRIBUTE_ALIAS 1
18318 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18319 if test "${with_gnu_ld+set}" = set; then
18320 withval
="$with_gnu_ld"
18321 test "$withval" = no || with_gnu_ld
=yes
18326 if test "$GCC" = yes; then
18327 # Check if gcc -print-prog-name=ld gives a path.
18328 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18329 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
18332 # gcc leaves a trailing carriage return which upsets mingw
18333 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18335 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
18338 # Accept absolute paths.
18340 re_direlt
='/[^/][^/]*/\.\./'
18341 # Canonicalize the pathname of ld
18342 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18343 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
18344 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18346 test -z "$LD" && LD
="$ac_prog"
18349 # If it fails, then pretend we aren't using GCC.
18353 # If it is relative, then search for the first ld in PATH.
18354 with_gnu_ld
=unknown
18357 elif test "$with_gnu_ld" = yes; then
18358 echo "$as_me:$LINENO: checking for GNU ld" >&5
18359 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18361 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18362 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18364 if test "${lt_cv_path_LD+set}" = set; then
18365 echo $ECHO_N "(cached) $ECHO_C" >&6
18367 if test -z "$LD"; then
18368 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
18369 for ac_dir
in $PATH; do
18371 test -z "$ac_dir" && ac_dir
=.
18372 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
18373 lt_cv_path_LD
="$ac_dir/$ac_prog"
18374 # Check to see if the program is GNU ld. I'd rather use --version,
18375 # but apparently some variants of GNU ld only accept -v.
18376 # Break only if it was the GNU/non-GNU ld that we prefer.
18377 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18378 *GNU
* |
*'with BFD'*)
18379 test "$with_gnu_ld" != no
&& break
18382 test "$with_gnu_ld" != yes && break
18389 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
18393 LD
="$lt_cv_path_LD"
18394 if test -n "$LD"; then
18395 echo "$as_me:$LINENO: result: $LD" >&5
18396 echo "${ECHO_T}$LD" >&6
18398 echo "$as_me:$LINENO: result: no" >&5
18399 echo "${ECHO_T}no" >&6
18401 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18402 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18403 { (exit 1); exit 1; }; }
18404 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18405 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18406 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18407 echo $ECHO_N "(cached) $ECHO_C" >&6
18409 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18410 case `$LD -v 2>&1 </dev/null` in
18411 *GNU
* |
*'with BFD'*)
18412 lt_cv_prog_gnu_ld
=yes
18415 lt_cv_prog_gnu_ld
=no
18419 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18420 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
18421 with_gnu_ld
=$lt_cv_prog_gnu_ld
18429 # If we're not using GNU ld, then there's no point in even trying these
18430 # tests. Check for that first. We should have already tested for gld
18431 # by now (in libtool), but require it now just to be safe...
18432 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
18433 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
18437 # The name set by libtool depends on the version of libtool. Shame on us
18438 # for depending on an impl detail, but c'est la vie. Older versions used
18439 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
18440 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
18441 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
18442 # set (hence we're using an older libtool), then set it.
18443 if test x
${with_gnu_ld+set} != xset
; then
18444 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
18445 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
18448 with_gnu_ld
=$ac_cv_prog_gnu_ld
18452 # Start by getting the version number. I think the libtool test already
18453 # does some of this, but throws away the result.
18455 ldver
=`$LD --version 2>/dev/null | head -1 | \
18456 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
18458 libgomp_gnu_ld_version
=`echo $ldver | \
18459 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
18461 # Set --gc-sections.
18462 if test "$with_gnu_ld" = "notbroken"; then
18463 # GNU ld it is! Joy and bunny rabbits!
18465 # All these tests are for C++; save the language and the compiler flags.
18466 # Need to do this so that g++ won't try to link in libstdc++
18467 ac_test_CFLAGS
="${CFLAGS+set}"
18468 ac_save_CFLAGS
="$CFLAGS"
18469 CFLAGS
='-x c++ -Wl,--gc-sections'
18471 # Check for -Wl,--gc-sections
18472 # XXX This test is broken at the moment, as symbols required for linking
18473 # are now in libsupc++ (not built yet). In addition, this test has
18474 # cored on solaris in the past. In addition, --gc-sections doesn't
18475 # really work at the moment (keeps on discarding used sections, first
18476 # .eh_frame and now some of the glibc sections for iconv).
18477 # Bzzzzt. Thanks for playing, maybe next time.
18478 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
18479 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
18480 if test "$cross_compiling" = yes; then
18481 ac_sectionLDflags
=yes
18483 cat >conftest.
$ac_ext <<_ACEOF
18486 cat confdefs.h
>>conftest.
$ac_ext
18487 cat >>conftest.
$ac_ext <<_ACEOF
18488 /* end confdefs.h. */
18498 rm -f conftest
$ac_exeext
18499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18500 (eval $ac_link) 2>&5
18502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18503 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18505 (eval $ac_try) 2>&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); }; }; then
18509 ac_sectionLDflags
=yes
18511 echo "$as_me: program exited with status $ac_status" >&5
18512 echo "$as_me: failed program was:" >&5
18513 sed 's/^/| /' conftest.
$ac_ext >&5
18515 ( exit $ac_status )
18516 ac_sectionLDflags
=no
18518 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18520 if test "$ac_test_CFLAGS" = set; then
18521 CFLAGS
="$ac_save_CFLAGS"
18523 # this is the suspicious part
18526 if test "$ac_sectionLDflags" = "yes"; then
18527 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
18529 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
18530 echo "${ECHO_T}$ac_sectionLDflags" >&6
18533 # Set linker optimization flags.
18534 if test x
"$with_gnu_ld" = x
"yes"; then
18535 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
18543 # Check whether --enable-symvers or --disable-symvers was given.
18544 if test "${enable_symvers+set}" = set; then
18545 enableval
="$enable_symvers"
18547 case "$enableval" in
18549 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
18550 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
18551 { (exit 1); exit 1; }; } ;;
18559 # If we never went through the LIBGOMP_CHECK_LINKER_FEATURES macro, then we
18560 # don't know enough about $LD to do tricks...
18562 # FIXME The following test is too strict, in theory.
18563 if test $enable_shared = no ||
18565 test x
$libgomp_gnu_ld_version = x
; then
18569 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
18570 if test $enable_symvers != no
; then
18571 echo "$as_me:$LINENO: checking for shared libgcc" >&5
18572 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
18573 ac_save_CFLAGS
="$CFLAGS"
18575 cat >conftest.
$ac_ext <<_ACEOF
18578 cat confdefs.h
>>conftest.
$ac_ext
18579 cat >>conftest.
$ac_ext <<_ACEOF
18580 /* end confdefs.h. */
18590 rm -f conftest.
$ac_objext conftest
$ac_exeext
18591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18592 (eval $ac_link) 2>conftest.er1
18594 grep -v '^ *+' conftest.er1
>conftest.err
18596 cat conftest.err
>&5
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); } &&
18599 { ac_try
='test -z "$ac_c_werror_flag"
18600 || test ! -s conftest.err'
18601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18602 (eval $ac_try) 2>&5
18604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18605 (exit $ac_status); }; } &&
18606 { ac_try
='test -s conftest$ac_exeext'
18607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18608 (eval $ac_try) 2>&5
18610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611 (exit $ac_status); }; }; then
18612 libgomp_shared_libgcc
=yes
18614 echo "$as_me: failed program was:" >&5
18615 sed 's/^/| /' conftest.
$ac_ext >&5
18617 libgomp_shared_libgcc
=no
18619 rm -f conftest.err conftest.
$ac_objext \
18620 conftest
$ac_exeext conftest.
$ac_ext
18621 CFLAGS
="$ac_save_CFLAGS"
18622 if test $libgomp_shared_libgcc = no
; then
18623 cat > conftest.c
<<EOF
18624 int main (void) { return 0; }
18626 libgomp_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
18627 -shared -shared-libgcc -o conftest.so \
18628 conftest.c -v 2>&1 >/dev/null \
18629 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
18630 rm -f conftest.c conftest.so
18631 if test x
${libgomp_libgcc_s_suffix+set} = xset
; then
18632 CFLAGS
=" -lgcc_s$libgomp_libgcc_s_suffix"
18633 cat >conftest.
$ac_ext <<_ACEOF
18636 cat confdefs.h
>>conftest.
$ac_ext
18637 cat >>conftest.
$ac_ext <<_ACEOF
18638 /* end confdefs.h. */
18648 rm -f conftest.
$ac_objext conftest
$ac_exeext
18649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18650 (eval $ac_link) 2>conftest.er1
18652 grep -v '^ *+' conftest.er1
>conftest.err
18654 cat conftest.err
>&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); } &&
18657 { ac_try
='test -z "$ac_c_werror_flag"
18658 || test ! -s conftest.err'
18659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18660 (eval $ac_try) 2>&5
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); }; } &&
18664 { ac_try
='test -s conftest$ac_exeext'
18665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18666 (eval $ac_try) 2>&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); }; }; then
18670 libgomp_shared_libgcc
=yes
18672 echo "$as_me: failed program was:" >&5
18673 sed 's/^/| /' conftest.
$ac_ext >&5
18676 rm -f conftest.err conftest.
$ac_objext \
18677 conftest
$ac_exeext conftest.
$ac_ext
18678 CFLAGS
="$ac_save_CFLAGS"
18681 echo "$as_me:$LINENO: result: $libgomp_shared_libgcc" >&5
18682 echo "${ECHO_T}$libgomp_shared_libgcc" >&6
18685 # For GNU ld, we need at least this version. The format is described in
18686 # LIBGOMP_CHECK_LINKER_FEATURES above.
18687 libgomp_min_gnu_ld_version
=21400
18688 # XXXXXXXXXXX libgomp_gnu_ld_version=21390
18690 # Check to see if unspecified "yes" value can win, given results above.
18691 # Change "yes" into either "no" or a style name.
18692 if test $enable_symvers = yes; then
18693 if test $with_gnu_ld = yes &&
18694 test $libgomp_shared_libgcc = yes;
18696 if test $libgomp_gnu_ld_version -ge $libgomp_min_gnu_ld_version ; then
18699 # The right tools, the right setup, but too old. Fallbacks?
18700 { echo "$as_me:$LINENO: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&5
18701 echo "$as_me: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&2;}
18702 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
18703 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
18704 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
18705 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
18706 { echo "$as_me:$LINENO: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&5
18707 echo "$as_me: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&2;}
18708 if test $libgomp_gnu_ld_version -ge 21200 ; then
18709 # Globbing fix is present, proper block support is not.
18710 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
18711 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
18715 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
18716 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
18721 # just fail for now
18722 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
18723 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
18724 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
18725 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
18726 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
18727 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
18728 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
18729 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
18736 if test $enable_symvers != no
; then
18737 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
=
18738 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
='#'
18740 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
='#'
18741 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
=
18744 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
18745 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
18748 if test $enable_symvers = gnu
; then
18750 cat >>confdefs.h
<<\_ACEOF
18751 #define LIBGOMP_GNU_SYMBOL_VERSIONING 1
18756 # Get target configury.
18757 .
${srcdir}/configure.tgt
18758 CFLAGS
="$save_CFLAGS $XCFLAGS"
18760 # Check for __sync_val_compare_and_swap, but only after the target has
18761 # had a chance to set XCFLAGS.
18763 echo "$as_me:$LINENO: checking whether the target supports __sync_*_compare_and_swap" >&5
18764 echo $ECHO_N "checking whether the target supports __sync_*_compare_and_swap... $ECHO_C" >&6
18765 if test "${libgomp_cv_have_sync_builtins+set}" = set; then
18766 echo $ECHO_N "(cached) $ECHO_C" >&6
18769 cat >conftest.
$ac_ext <<_ACEOF
18772 cat confdefs.h
>>conftest.
$ac_ext
18773 cat >>conftest.
$ac_ext <<_ACEOF
18774 /* end confdefs.h. */
18779 int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);
18784 rm -f conftest.
$ac_objext conftest
$ac_exeext
18785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18786 (eval $ac_link) 2>conftest.er1
18788 grep -v '^ *+' conftest.er1
>conftest.err
18790 cat conftest.err
>&5
18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 (exit $ac_status); } &&
18793 { ac_try
='test -z "$ac_c_werror_flag"
18794 || test ! -s conftest.err'
18795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18796 (eval $ac_try) 2>&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); }; } &&
18800 { ac_try
='test -s conftest$ac_exeext'
18801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18802 (eval $ac_try) 2>&5
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); }; }; then
18806 libgomp_cv_have_sync_builtins
=yes
18808 echo "$as_me: failed program was:" >&5
18809 sed 's/^/| /' conftest.
$ac_ext >&5
18811 libgomp_cv_have_sync_builtins
=no
18813 rm -f conftest.err conftest.
$ac_objext \
18814 conftest
$ac_exeext conftest.
$ac_ext
18816 echo "$as_me:$LINENO: result: $libgomp_cv_have_sync_builtins" >&5
18817 echo "${ECHO_T}$libgomp_cv_have_sync_builtins" >&6
18818 if test $libgomp_cv_have_sync_builtins = yes; then
18820 cat >>confdefs.h
<<\_ACEOF
18821 #define HAVE_SYNC_BUILTINS 1
18826 XCFLAGS
="$XCFLAGS$XPCFLAGS"
18832 # Cleanup and exit.
18833 CFLAGS
="$save_CFLAGS"
18834 cat >confcache
<<\_ACEOF
18835 # This file is a shell script that caches the results of configure
18836 # tests run on this system so they can be shared between configure
18837 # scripts and configure runs, see configure's option --config-cache.
18838 # It is not useful on other systems. If it contains results you don't
18839 # want to keep, you may remove or edit it.
18841 # config.status only pays attention to the cache file if you give it
18842 # the --recheck option to rerun configure.
18844 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18845 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18846 # following values.
18850 # The following way of writing the cache mishandles newlines in values,
18851 # but we know of no workaround that is simple, portable, and efficient.
18852 # So, don't put newlines in cache variables' values.
18853 # Ultrix sh set writes to stderr and can't be redirected directly,
18854 # and sets the high bit in the cache file unless we assign to the vars.
18857 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18859 # `set' does not quote correctly, so add quotes (double-quote
18860 # substitution turns \\\\ into \\, and sed turns \\ into \).
18863 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18866 # `set' quotes correctly as required by POSIX, so do not add quotes.
18868 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18875 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18877 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18879 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18880 if test -w $cache_file; then
18881 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18882 cat confcache
>$cache_file
18884 echo "not updating unwritable cache $cache_file"
18889 if test ${multilib} = yes; then
18890 multilib_arg
="--enable-multilib"
18895 # Set up the set of libraries that we need to link against for libgomp.
18896 # Note that the GOMP_SELF_SPEC in gcc.c will force -pthread for -fopenmp,
18897 # which will force linkage against -lpthread (or equivalent for the system).
18898 # That's not 100% ideal, but about the best we can do easily.
18899 if test $enable_shared = yes; then
18900 link_gomp
="-lgomp %{static: $LIBS}"
18902 link_gomp
="-lgomp $LIBS"
18908 if test "$ac_cv_fc_compiler_gnu" = yes; then
18910 USE_FORTRAN_FALSE
='#'
18912 USE_FORTRAN_TRUE
='#'
18917 # ??? 2006-01-24: Paulo committed to asking autoconf folk to document
18918 # and export AC_COMPUTE_INT. If that happens, then we'll need to remove
18919 # the underscore here and update the PREREQ. If it doesn't, then we'll
18920 # need to copy this macro to our acinclude.m4.
18921 save_CFLAGS
="$CFLAGS"
18922 for i
in $config_path; do
18923 if test -f $srcdir/config
/$i/omp-lock.h
; then
18924 CFLAGS
="$CFLAGS -include confdefs.h -include $srcdir/config/$i/omp-lock.h"
18929 if test "$cross_compiling" = yes; then
18930 # Depending upon the size, compute the lo and hi bounds.
18931 cat >conftest.
$ac_ext <<_ACEOF
18934 cat confdefs.h
>>conftest.
$ac_ext
18935 cat >>conftest.
$ac_ext <<_ACEOF
18936 /* end confdefs.h. */
18941 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) >= 0)];
18948 rm -f conftest.
$ac_objext
18949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18950 (eval $ac_compile) 2>conftest.er1
18952 grep -v '^ *+' conftest.er1
>conftest.err
18954 cat conftest.err
>&5
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); } &&
18957 { ac_try
='test -z "$ac_c_werror_flag"
18958 || test ! -s conftest.err'
18959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18960 (eval $ac_try) 2>&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); }; } &&
18964 { ac_try
='test -s conftest.$ac_objext'
18965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18966 (eval $ac_try) 2>&5
18968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18969 (exit $ac_status); }; }; then
18972 cat >conftest.
$ac_ext <<_ACEOF
18975 cat confdefs.h
>>conftest.
$ac_ext
18976 cat >>conftest.
$ac_ext <<_ACEOF
18977 /* end confdefs.h. */
18982 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) <= $ac_mid)];
18989 rm -f conftest.
$ac_objext
18990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18991 (eval $ac_compile) 2>conftest.er1
18993 grep -v '^ *+' conftest.er1
>conftest.err
18995 cat conftest.err
>&5
18996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18997 (exit $ac_status); } &&
18998 { ac_try
='test -z "$ac_c_werror_flag"
18999 || test ! -s conftest.err'
19000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19001 (eval $ac_try) 2>&5
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); }; } &&
19005 { ac_try
='test -s conftest.$ac_objext'
19006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19007 (eval $ac_try) 2>&5
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); }; }; then
19011 ac_hi
=$ac_mid; break
19013 echo "$as_me: failed program was:" >&5
19014 sed 's/^/| /' conftest.
$ac_ext >&5
19016 ac_lo
=`expr $ac_mid + 1`
19017 if test $ac_lo -le $ac_mid; then
19021 ac_mid
=`expr 2 '*' $ac_mid + 1`
19023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19026 echo "$as_me: failed program was:" >&5
19027 sed 's/^/| /' conftest.
$ac_ext >&5
19029 cat >conftest.
$ac_ext <<_ACEOF
19032 cat confdefs.h
>>conftest.
$ac_ext
19033 cat >>conftest.
$ac_ext <<_ACEOF
19034 /* end confdefs.h. */
19039 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) < 0)];
19046 rm -f conftest.
$ac_objext
19047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19048 (eval $ac_compile) 2>conftest.er1
19050 grep -v '^ *+' conftest.er1
>conftest.err
19052 cat conftest.err
>&5
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); } &&
19055 { ac_try
='test -z "$ac_c_werror_flag"
19056 || test ! -s conftest.err'
19057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19058 (eval $ac_try) 2>&5
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); }; } &&
19062 { ac_try
='test -s conftest.$ac_objext'
19063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064 (eval $ac_try) 2>&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }; }; then
19070 cat >conftest.
$ac_ext <<_ACEOF
19073 cat confdefs.h
>>conftest.
$ac_ext
19074 cat >>conftest.
$ac_ext <<_ACEOF
19075 /* end confdefs.h. */
19080 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) >= $ac_mid)];
19087 rm -f conftest.
$ac_objext
19088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19089 (eval $ac_compile) 2>conftest.er1
19091 grep -v '^ *+' conftest.er1
>conftest.err
19093 cat conftest.err
>&5
19094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19095 (exit $ac_status); } &&
19096 { ac_try
='test -z "$ac_c_werror_flag"
19097 || test ! -s conftest.err'
19098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19099 (eval $ac_try) 2>&5
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); }; } &&
19103 { ac_try
='test -s conftest.$ac_objext'
19104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19105 (eval $ac_try) 2>&5
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); }; }; then
19109 ac_lo
=$ac_mid; break
19111 echo "$as_me: failed program was:" >&5
19112 sed 's/^/| /' conftest.
$ac_ext >&5
19114 ac_hi
=`expr '(' $ac_mid ')' - 1`
19115 if test $ac_mid -le $ac_hi; then
19119 ac_mid
=`expr 2 '*' $ac_mid`
19121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19124 echo "$as_me: failed program was:" >&5
19125 sed 's/^/| /' conftest.
$ac_ext >&5
19129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19132 # Binary search between lo and hi bounds.
19133 while test "x$ac_lo" != "x$ac_hi"; do
19134 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19135 cat >conftest.
$ac_ext <<_ACEOF
19138 cat confdefs.h
>>conftest.
$ac_ext
19139 cat >>conftest.
$ac_ext <<_ACEOF
19140 /* end confdefs.h. */
19145 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) <= $ac_mid)];
19152 rm -f conftest.
$ac_objext
19153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19154 (eval $ac_compile) 2>conftest.er1
19156 grep -v '^ *+' conftest.er1
>conftest.err
19158 cat conftest.err
>&5
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); } &&
19161 { ac_try
='test -z "$ac_c_werror_flag"
19162 || test ! -s conftest.err'
19163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19164 (eval $ac_try) 2>&5
19166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19167 (exit $ac_status); }; } &&
19168 { ac_try
='test -s conftest.$ac_objext'
19169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19170 (eval $ac_try) 2>&5
19172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173 (exit $ac_status); }; }; then
19176 echo "$as_me: failed program was:" >&5
19177 sed 's/^/| /' conftest.
$ac_ext >&5
19179 ac_lo
=`expr '(' $ac_mid ')' + 1`
19181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19184 ?
*) OMP_LOCK_SIZE
=$ac_lo;;
19185 '') { { echo "$as_me:$LINENO: error: unsupported system, cannot find sizeof (omp_lock_t)" >&5
19186 echo "$as_me: error: unsupported system, cannot find sizeof (omp_lock_t)" >&2;}
19187 { (exit 1); exit 1; }; } ;;
19190 if test "$cross_compiling" = yes; then
19191 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
19192 echo "$as_me: error: in \`$ac_pwd':" >&2;}
19193 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19194 See \`config.log' for more details." >&5
19195 echo "$as_me: error: cannot run test program while cross compiling
19196 See \`config.log' for more details." >&2;}
19197 { (exit 1); exit 1; }; }; }
19199 cat >conftest.
$ac_ext <<_ACEOF
19202 cat confdefs.h
>>conftest.
$ac_ext
19203 cat >>conftest.
$ac_ext <<_ACEOF
19204 /* end confdefs.h. */
19206 long longval () { return sizeof (omp_lock_t); }
19207 unsigned long ulongval () { return sizeof (omp_lock_t); }
19209 #include <stdlib.h>
19214 FILE *f = fopen ("conftest.val", "w");
19217 if ((sizeof (omp_lock_t)) < 0)
19219 long i = longval ();
19220 if (i != (sizeof (omp_lock_t)))
19222 fprintf (f, "%ld\n", i);
19226 unsigned long i = ulongval ();
19227 if (i != (sizeof (omp_lock_t)))
19229 fprintf (f, "%lu\n", i);
19231 exit (ferror (f) || fclose (f) != 0);
19237 rm -f conftest
$ac_exeext
19238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19239 (eval $ac_link) 2>&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19244 (eval $ac_try) 2>&5
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); }; }; then
19248 OMP_LOCK_SIZE
=`cat conftest.val`
19250 echo "$as_me: program exited with status $ac_status" >&5
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.
$ac_ext >&5
19254 ( exit $ac_status )
19255 { { echo "$as_me:$LINENO: error: unsupported system, cannot find sizeof (omp_lock_t)" >&5
19256 echo "$as_me: error: unsupported system, cannot find sizeof (omp_lock_t)" >&2;}
19257 { (exit 1); exit 1; }; }
19259 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19263 if test "$cross_compiling" = yes; then
19264 # Depending upon the size, compute the lo and hi bounds.
19265 cat >conftest.
$ac_ext <<_ACEOF
19268 cat confdefs.h
>>conftest.
$ac_ext
19269 cat >>conftest.
$ac_ext <<_ACEOF
19270 /* end confdefs.h. */
19275 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) >= 0)];
19282 rm -f conftest.
$ac_objext
19283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19284 (eval $ac_compile) 2>conftest.er1
19286 grep -v '^ *+' conftest.er1
>conftest.err
19288 cat conftest.err
>&5
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); } &&
19291 { ac_try
='test -z "$ac_c_werror_flag"
19292 || test ! -s conftest.err'
19293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19294 (eval $ac_try) 2>&5
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); }; } &&
19298 { ac_try
='test -s conftest.$ac_objext'
19299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19300 (eval $ac_try) 2>&5
19302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19303 (exit $ac_status); }; }; then
19306 cat >conftest.
$ac_ext <<_ACEOF
19309 cat confdefs.h
>>conftest.
$ac_ext
19310 cat >>conftest.
$ac_ext <<_ACEOF
19311 /* end confdefs.h. */
19316 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) <= $ac_mid)];
19323 rm -f conftest.
$ac_objext
19324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19325 (eval $ac_compile) 2>conftest.er1
19327 grep -v '^ *+' conftest.er1
>conftest.err
19329 cat conftest.err
>&5
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); } &&
19332 { ac_try
='test -z "$ac_c_werror_flag"
19333 || test ! -s conftest.err'
19334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19335 (eval $ac_try) 2>&5
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); }; } &&
19339 { ac_try
='test -s conftest.$ac_objext'
19340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19341 (eval $ac_try) 2>&5
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); }; }; then
19345 ac_hi
=$ac_mid; break
19347 echo "$as_me: failed program was:" >&5
19348 sed 's/^/| /' conftest.
$ac_ext >&5
19350 ac_lo
=`expr $ac_mid + 1`
19351 if test $ac_lo -le $ac_mid; then
19355 ac_mid
=`expr 2 '*' $ac_mid + 1`
19357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19360 echo "$as_me: failed program was:" >&5
19361 sed 's/^/| /' conftest.
$ac_ext >&5
19363 cat >conftest.
$ac_ext <<_ACEOF
19366 cat confdefs.h
>>conftest.
$ac_ext
19367 cat >>conftest.
$ac_ext <<_ACEOF
19368 /* end confdefs.h. */
19373 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) < 0)];
19380 rm -f conftest.
$ac_objext
19381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19382 (eval $ac_compile) 2>conftest.er1
19384 grep -v '^ *+' conftest.er1
>conftest.err
19386 cat conftest.err
>&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); } &&
19389 { ac_try
='test -z "$ac_c_werror_flag"
19390 || test ! -s conftest.err'
19391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19392 (eval $ac_try) 2>&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); }; } &&
19396 { ac_try
='test -s conftest.$ac_objext'
19397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19398 (eval $ac_try) 2>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); }; }; then
19404 cat >conftest.
$ac_ext <<_ACEOF
19407 cat confdefs.h
>>conftest.
$ac_ext
19408 cat >>conftest.
$ac_ext <<_ACEOF
19409 /* end confdefs.h. */
19414 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) >= $ac_mid)];
19421 rm -f conftest.
$ac_objext
19422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19423 (eval $ac_compile) 2>conftest.er1
19425 grep -v '^ *+' conftest.er1
>conftest.err
19427 cat conftest.err
>&5
19428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19429 (exit $ac_status); } &&
19430 { ac_try
='test -z "$ac_c_werror_flag"
19431 || test ! -s conftest.err'
19432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19433 (eval $ac_try) 2>&5
19435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436 (exit $ac_status); }; } &&
19437 { ac_try
='test -s conftest.$ac_objext'
19438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19439 (eval $ac_try) 2>&5
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); }; }; then
19443 ac_lo
=$ac_mid; break
19445 echo "$as_me: failed program was:" >&5
19446 sed 's/^/| /' conftest.
$ac_ext >&5
19448 ac_hi
=`expr '(' $ac_mid ')' - 1`
19449 if test $ac_mid -le $ac_hi; then
19453 ac_mid
=`expr 2 '*' $ac_mid`
19455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19458 echo "$as_me: failed program was:" >&5
19459 sed 's/^/| /' conftest.
$ac_ext >&5
19463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19466 # Binary search between lo and hi bounds.
19467 while test "x$ac_lo" != "x$ac_hi"; do
19468 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19469 cat >conftest.
$ac_ext <<_ACEOF
19472 cat confdefs.h
>>conftest.
$ac_ext
19473 cat >>conftest.
$ac_ext <<_ACEOF
19474 /* end confdefs.h. */
19479 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) <= $ac_mid)];
19486 rm -f conftest.
$ac_objext
19487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19488 (eval $ac_compile) 2>conftest.er1
19490 grep -v '^ *+' conftest.er1
>conftest.err
19492 cat conftest.err
>&5
19493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19494 (exit $ac_status); } &&
19495 { ac_try
='test -z "$ac_c_werror_flag"
19496 || test ! -s conftest.err'
19497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19498 (eval $ac_try) 2>&5
19500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19501 (exit $ac_status); }; } &&
19502 { ac_try
='test -s conftest.$ac_objext'
19503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19504 (eval $ac_try) 2>&5
19506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19507 (exit $ac_status); }; }; then
19510 echo "$as_me: failed program was:" >&5
19511 sed 's/^/| /' conftest.
$ac_ext >&5
19513 ac_lo
=`expr '(' $ac_mid ')' + 1`
19515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19518 ?
*) OMP_LOCK_ALIGN
=$ac_lo;;
19522 if test "$cross_compiling" = yes; then
19523 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
19524 echo "$as_me: error: in \`$ac_pwd':" >&2;}
19525 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19526 See \`config.log' for more details." >&5
19527 echo "$as_me: error: cannot run test program while cross compiling
19528 See \`config.log' for more details." >&2;}
19529 { (exit 1); exit 1; }; }; }
19531 cat >conftest.
$ac_ext <<_ACEOF
19534 cat confdefs.h
>>conftest.
$ac_ext
19535 cat >>conftest.
$ac_ext <<_ACEOF
19536 /* end confdefs.h. */
19538 long longval () { return __alignof (omp_lock_t); }
19539 unsigned long ulongval () { return __alignof (omp_lock_t); }
19541 #include <stdlib.h>
19546 FILE *f = fopen ("conftest.val", "w");
19549 if ((__alignof (omp_lock_t)) < 0)
19551 long i = longval ();
19552 if (i != (__alignof (omp_lock_t)))
19554 fprintf (f, "%ld\n", i);
19558 unsigned long i = ulongval ();
19559 if (i != (__alignof (omp_lock_t)))
19561 fprintf (f, "%lu\n", i);
19563 exit (ferror (f) || fclose (f) != 0);
19569 rm -f conftest
$ac_exeext
19570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19571 (eval $ac_link) 2>&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19576 (eval $ac_try) 2>&5
19578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19579 (exit $ac_status); }; }; then
19580 OMP_LOCK_ALIGN
=`cat conftest.val`
19582 echo "$as_me: program exited with status $ac_status" >&5
19583 echo "$as_me: failed program was:" >&5
19584 sed 's/^/| /' conftest.
$ac_ext >&5
19587 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19591 if test "$cross_compiling" = yes; then
19592 # Depending upon the size, compute the lo and hi bounds.
19593 cat >conftest.
$ac_ext <<_ACEOF
19596 cat confdefs.h
>>conftest.
$ac_ext
19597 cat >>conftest.
$ac_ext <<_ACEOF
19598 /* end confdefs.h. */
19603 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) >= 0)];
19610 rm -f conftest.
$ac_objext
19611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19612 (eval $ac_compile) 2>conftest.er1
19614 grep -v '^ *+' conftest.er1
>conftest.err
19616 cat conftest.err
>&5
19617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19618 (exit $ac_status); } &&
19619 { ac_try
='test -z "$ac_c_werror_flag"
19620 || test ! -s conftest.err'
19621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19622 (eval $ac_try) 2>&5
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); }; } &&
19626 { ac_try
='test -s conftest.$ac_objext'
19627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19628 (eval $ac_try) 2>&5
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); }; }; then
19634 cat >conftest.
$ac_ext <<_ACEOF
19637 cat confdefs.h
>>conftest.
$ac_ext
19638 cat >>conftest.
$ac_ext <<_ACEOF
19639 /* end confdefs.h. */
19644 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) <= $ac_mid)];
19651 rm -f conftest.
$ac_objext
19652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19653 (eval $ac_compile) 2>conftest.er1
19655 grep -v '^ *+' conftest.er1
>conftest.err
19657 cat conftest.err
>&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } &&
19660 { ac_try
='test -z "$ac_c_werror_flag"
19661 || test ! -s conftest.err'
19662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19663 (eval $ac_try) 2>&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); }; } &&
19667 { ac_try
='test -s conftest.$ac_objext'
19668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19669 (eval $ac_try) 2>&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); }; }; then
19673 ac_hi
=$ac_mid; break
19675 echo "$as_me: failed program was:" >&5
19676 sed 's/^/| /' conftest.
$ac_ext >&5
19678 ac_lo
=`expr $ac_mid + 1`
19679 if test $ac_lo -le $ac_mid; then
19683 ac_mid
=`expr 2 '*' $ac_mid + 1`
19685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19688 echo "$as_me: failed program was:" >&5
19689 sed 's/^/| /' conftest.
$ac_ext >&5
19691 cat >conftest.
$ac_ext <<_ACEOF
19694 cat confdefs.h
>>conftest.
$ac_ext
19695 cat >>conftest.
$ac_ext <<_ACEOF
19696 /* end confdefs.h. */
19701 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) < 0)];
19708 rm -f conftest.
$ac_objext
19709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19710 (eval $ac_compile) 2>conftest.er1
19712 grep -v '^ *+' conftest.er1
>conftest.err
19714 cat conftest.err
>&5
19715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19716 (exit $ac_status); } &&
19717 { ac_try
='test -z "$ac_c_werror_flag"
19718 || test ! -s conftest.err'
19719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19720 (eval $ac_try) 2>&5
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); }; } &&
19724 { ac_try
='test -s conftest.$ac_objext'
19725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19726 (eval $ac_try) 2>&5
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); }; }; then
19732 cat >conftest.
$ac_ext <<_ACEOF
19735 cat confdefs.h
>>conftest.
$ac_ext
19736 cat >>conftest.
$ac_ext <<_ACEOF
19737 /* end confdefs.h. */
19742 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) >= $ac_mid)];
19749 rm -f conftest.
$ac_objext
19750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19751 (eval $ac_compile) 2>conftest.er1
19753 grep -v '^ *+' conftest.er1
>conftest.err
19755 cat conftest.err
>&5
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); } &&
19758 { ac_try
='test -z "$ac_c_werror_flag"
19759 || test ! -s conftest.err'
19760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19761 (eval $ac_try) 2>&5
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); }; } &&
19765 { ac_try
='test -s conftest.$ac_objext'
19766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19767 (eval $ac_try) 2>&5
19769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770 (exit $ac_status); }; }; then
19771 ac_lo
=$ac_mid; break
19773 echo "$as_me: failed program was:" >&5
19774 sed 's/^/| /' conftest.
$ac_ext >&5
19776 ac_hi
=`expr '(' $ac_mid ')' - 1`
19777 if test $ac_mid -le $ac_hi; then
19781 ac_mid
=`expr 2 '*' $ac_mid`
19783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19786 echo "$as_me: failed program was:" >&5
19787 sed 's/^/| /' conftest.
$ac_ext >&5
19791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19794 # Binary search between lo and hi bounds.
19795 while test "x$ac_lo" != "x$ac_hi"; do
19796 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19797 cat >conftest.
$ac_ext <<_ACEOF
19800 cat confdefs.h
>>conftest.
$ac_ext
19801 cat >>conftest.
$ac_ext <<_ACEOF
19802 /* end confdefs.h. */
19807 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) <= $ac_mid)];
19814 rm -f conftest.
$ac_objext
19815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19816 (eval $ac_compile) 2>conftest.er1
19818 grep -v '^ *+' conftest.er1
>conftest.err
19820 cat conftest.err
>&5
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); } &&
19823 { ac_try
='test -z "$ac_c_werror_flag"
19824 || test ! -s conftest.err'
19825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826 (eval $ac_try) 2>&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); }; } &&
19830 { ac_try
='test -s conftest.$ac_objext'
19831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19832 (eval $ac_try) 2>&5
19834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835 (exit $ac_status); }; }; then
19838 echo "$as_me: failed program was:" >&5
19839 sed 's/^/| /' conftest.
$ac_ext >&5
19841 ac_lo
=`expr '(' $ac_mid ')' + 1`
19843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19846 ?
*) OMP_NEST_LOCK_SIZE
=$ac_lo;;
19850 if test "$cross_compiling" = yes; then
19851 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
19852 echo "$as_me: error: in \`$ac_pwd':" >&2;}
19853 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19854 See \`config.log' for more details." >&5
19855 echo "$as_me: error: cannot run test program while cross compiling
19856 See \`config.log' for more details." >&2;}
19857 { (exit 1); exit 1; }; }; }
19859 cat >conftest.
$ac_ext <<_ACEOF
19862 cat confdefs.h
>>conftest.
$ac_ext
19863 cat >>conftest.
$ac_ext <<_ACEOF
19864 /* end confdefs.h. */
19866 long longval () { return sizeof (omp_nest_lock_t); }
19867 unsigned long ulongval () { return sizeof (omp_nest_lock_t); }
19869 #include <stdlib.h>
19874 FILE *f = fopen ("conftest.val", "w");
19877 if ((sizeof (omp_nest_lock_t)) < 0)
19879 long i = longval ();
19880 if (i != (sizeof (omp_nest_lock_t)))
19882 fprintf (f, "%ld\n", i);
19886 unsigned long i = ulongval ();
19887 if (i != (sizeof (omp_nest_lock_t)))
19889 fprintf (f, "%lu\n", i);
19891 exit (ferror (f) || fclose (f) != 0);
19897 rm -f conftest
$ac_exeext
19898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19899 (eval $ac_link) 2>&5
19901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19902 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19904 (eval $ac_try) 2>&5
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); }; }; then
19908 OMP_NEST_LOCK_SIZE
=`cat conftest.val`
19910 echo "$as_me: program exited with status $ac_status" >&5
19911 echo "$as_me: failed program was:" >&5
19912 sed 's/^/| /' conftest.
$ac_ext >&5
19915 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19919 if test "$cross_compiling" = yes; then
19920 # Depending upon the size, compute the lo and hi bounds.
19921 cat >conftest.
$ac_ext <<_ACEOF
19924 cat confdefs.h
>>conftest.
$ac_ext
19925 cat >>conftest.
$ac_ext <<_ACEOF
19926 /* end confdefs.h. */
19931 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) >= 0)];
19938 rm -f conftest.
$ac_objext
19939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19940 (eval $ac_compile) 2>conftest.er1
19942 grep -v '^ *+' conftest.er1
>conftest.err
19944 cat conftest.err
>&5
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); } &&
19947 { ac_try
='test -z "$ac_c_werror_flag"
19948 || test ! -s conftest.err'
19949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19950 (eval $ac_try) 2>&5
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); }; } &&
19954 { ac_try
='test -s conftest.$ac_objext'
19955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19956 (eval $ac_try) 2>&5
19958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19959 (exit $ac_status); }; }; then
19962 cat >conftest.
$ac_ext <<_ACEOF
19965 cat confdefs.h
>>conftest.
$ac_ext
19966 cat >>conftest.
$ac_ext <<_ACEOF
19967 /* end confdefs.h. */
19972 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) <= $ac_mid)];
19979 rm -f conftest.
$ac_objext
19980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19981 (eval $ac_compile) 2>conftest.er1
19983 grep -v '^ *+' conftest.er1
>conftest.err
19985 cat conftest.err
>&5
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); } &&
19988 { ac_try
='test -z "$ac_c_werror_flag"
19989 || test ! -s conftest.err'
19990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19991 (eval $ac_try) 2>&5
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); }; } &&
19995 { ac_try
='test -s conftest.$ac_objext'
19996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19997 (eval $ac_try) 2>&5
19999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000 (exit $ac_status); }; }; then
20001 ac_hi
=$ac_mid; break
20003 echo "$as_me: failed program was:" >&5
20004 sed 's/^/| /' conftest.
$ac_ext >&5
20006 ac_lo
=`expr $ac_mid + 1`
20007 if test $ac_lo -le $ac_mid; then
20011 ac_mid
=`expr 2 '*' $ac_mid + 1`
20013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20016 echo "$as_me: failed program was:" >&5
20017 sed 's/^/| /' conftest.
$ac_ext >&5
20019 cat >conftest.
$ac_ext <<_ACEOF
20022 cat confdefs.h
>>conftest.
$ac_ext
20023 cat >>conftest.
$ac_ext <<_ACEOF
20024 /* end confdefs.h. */
20029 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) < 0)];
20036 rm -f conftest.
$ac_objext
20037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20038 (eval $ac_compile) 2>conftest.er1
20040 grep -v '^ *+' conftest.er1
>conftest.err
20042 cat conftest.err
>&5
20043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20044 (exit $ac_status); } &&
20045 { ac_try
='test -z "$ac_c_werror_flag"
20046 || test ! -s conftest.err'
20047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20048 (eval $ac_try) 2>&5
20050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20051 (exit $ac_status); }; } &&
20052 { ac_try
='test -s conftest.$ac_objext'
20053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20054 (eval $ac_try) 2>&5
20056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20057 (exit $ac_status); }; }; then
20060 cat >conftest.
$ac_ext <<_ACEOF
20063 cat confdefs.h
>>conftest.
$ac_ext
20064 cat >>conftest.
$ac_ext <<_ACEOF
20065 /* end confdefs.h. */
20070 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) >= $ac_mid)];
20077 rm -f conftest.
$ac_objext
20078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20079 (eval $ac_compile) 2>conftest.er1
20081 grep -v '^ *+' conftest.er1
>conftest.err
20083 cat conftest.err
>&5
20084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20085 (exit $ac_status); } &&
20086 { ac_try
='test -z "$ac_c_werror_flag"
20087 || test ! -s conftest.err'
20088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20089 (eval $ac_try) 2>&5
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); }; } &&
20093 { ac_try
='test -s conftest.$ac_objext'
20094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20095 (eval $ac_try) 2>&5
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); }; }; then
20099 ac_lo
=$ac_mid; break
20101 echo "$as_me: failed program was:" >&5
20102 sed 's/^/| /' conftest.
$ac_ext >&5
20104 ac_hi
=`expr '(' $ac_mid ')' - 1`
20105 if test $ac_mid -le $ac_hi; then
20109 ac_mid
=`expr 2 '*' $ac_mid`
20111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20114 echo "$as_me: failed program was:" >&5
20115 sed 's/^/| /' conftest.
$ac_ext >&5
20119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20122 # Binary search between lo and hi bounds.
20123 while test "x$ac_lo" != "x$ac_hi"; do
20124 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20125 cat >conftest.
$ac_ext <<_ACEOF
20128 cat confdefs.h
>>conftest.
$ac_ext
20129 cat >>conftest.
$ac_ext <<_ACEOF
20130 /* end confdefs.h. */
20135 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) <= $ac_mid)];
20142 rm -f conftest.
$ac_objext
20143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20144 (eval $ac_compile) 2>conftest.er1
20146 grep -v '^ *+' conftest.er1
>conftest.err
20148 cat conftest.err
>&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } &&
20151 { ac_try
='test -z "$ac_c_werror_flag"
20152 || test ! -s conftest.err'
20153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20154 (eval $ac_try) 2>&5
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); }; } &&
20158 { ac_try
='test -s conftest.$ac_objext'
20159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20160 (eval $ac_try) 2>&5
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); }; }; then
20166 echo "$as_me: failed program was:" >&5
20167 sed 's/^/| /' conftest.
$ac_ext >&5
20169 ac_lo
=`expr '(' $ac_mid ')' + 1`
20171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20174 ?
*) OMP_NEST_LOCK_ALIGN
=$ac_lo;;
20178 if test "$cross_compiling" = yes; then
20179 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
20180 echo "$as_me: error: in \`$ac_pwd':" >&2;}
20181 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20182 See \`config.log' for more details." >&5
20183 echo "$as_me: error: cannot run test program while cross compiling
20184 See \`config.log' for more details." >&2;}
20185 { (exit 1); exit 1; }; }; }
20187 cat >conftest.
$ac_ext <<_ACEOF
20190 cat confdefs.h
>>conftest.
$ac_ext
20191 cat >>conftest.
$ac_ext <<_ACEOF
20192 /* end confdefs.h. */
20194 long longval () { return __alignof (omp_nest_lock_t); }
20195 unsigned long ulongval () { return __alignof (omp_nest_lock_t); }
20197 #include <stdlib.h>
20202 FILE *f = fopen ("conftest.val", "w");
20205 if ((__alignof (omp_nest_lock_t)) < 0)
20207 long i = longval ();
20208 if (i != (__alignof (omp_nest_lock_t)))
20210 fprintf (f, "%ld\n", i);
20214 unsigned long i = ulongval ();
20215 if (i != (__alignof (omp_nest_lock_t)))
20217 fprintf (f, "%lu\n", i);
20219 exit (ferror (f) || fclose (f) != 0);
20225 rm -f conftest
$ac_exeext
20226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20227 (eval $ac_link) 2>&5
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20232 (eval $ac_try) 2>&5
20234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235 (exit $ac_status); }; }; then
20236 OMP_NEST_LOCK_ALIGN
=`cat conftest.val`
20238 echo "$as_me: program exited with status $ac_status" >&5
20239 echo "$as_me: failed program was:" >&5
20240 sed 's/^/| /' conftest.
$ac_ext >&5
20243 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20247 if test "$cross_compiling" = yes; then
20248 # Depending upon the size, compute the lo and hi bounds.
20249 cat >conftest.
$ac_ext <<_ACEOF
20252 cat confdefs.h
>>conftest.
$ac_ext
20253 cat >>conftest.
$ac_ext <<_ACEOF
20254 /* end confdefs.h. */
20259 static int test_array [1 - 2 * !((sizeof (omp_lock_25_t)) >= 0)];
20266 rm -f conftest.
$ac_objext
20267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20268 (eval $ac_compile) 2>conftest.er1
20270 grep -v '^ *+' conftest.er1
>conftest.err
20272 cat conftest.err
>&5
20273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274 (exit $ac_status); } &&
20275 { ac_try
='test -z "$ac_c_werror_flag"
20276 || test ! -s conftest.err'
20277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20278 (eval $ac_try) 2>&5
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); }; } &&
20282 { ac_try
='test -s conftest.$ac_objext'
20283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20284 (eval $ac_try) 2>&5
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); }; }; then
20290 cat >conftest.
$ac_ext <<_ACEOF
20293 cat confdefs.h
>>conftest.
$ac_ext
20294 cat >>conftest.
$ac_ext <<_ACEOF
20295 /* end confdefs.h. */
20300 static int test_array [1 - 2 * !((sizeof (omp_lock_25_t)) <= $ac_mid)];
20307 rm -f conftest.
$ac_objext
20308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20309 (eval $ac_compile) 2>conftest.er1
20311 grep -v '^ *+' conftest.er1
>conftest.err
20313 cat conftest.err
>&5
20314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315 (exit $ac_status); } &&
20316 { ac_try
='test -z "$ac_c_werror_flag"
20317 || test ! -s conftest.err'
20318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20319 (eval $ac_try) 2>&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); }; } &&
20323 { ac_try
='test -s conftest.$ac_objext'
20324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20325 (eval $ac_try) 2>&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); }; }; then
20329 ac_hi
=$ac_mid; break
20331 echo "$as_me: failed program was:" >&5
20332 sed 's/^/| /' conftest.
$ac_ext >&5
20334 ac_lo
=`expr $ac_mid + 1`
20335 if test $ac_lo -le $ac_mid; then
20339 ac_mid
=`expr 2 '*' $ac_mid + 1`
20341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20344 echo "$as_me: failed program was:" >&5
20345 sed 's/^/| /' conftest.
$ac_ext >&5
20347 cat >conftest.
$ac_ext <<_ACEOF
20350 cat confdefs.h
>>conftest.
$ac_ext
20351 cat >>conftest.
$ac_ext <<_ACEOF
20352 /* end confdefs.h. */
20357 static int test_array [1 - 2 * !((sizeof (omp_lock_25_t)) < 0)];
20364 rm -f conftest.
$ac_objext
20365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20366 (eval $ac_compile) 2>conftest.er1
20368 grep -v '^ *+' conftest.er1
>conftest.err
20370 cat conftest.err
>&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); } &&
20373 { ac_try
='test -z "$ac_c_werror_flag"
20374 || test ! -s conftest.err'
20375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20376 (eval $ac_try) 2>&5
20378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379 (exit $ac_status); }; } &&
20380 { ac_try
='test -s conftest.$ac_objext'
20381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20382 (eval $ac_try) 2>&5
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); }; }; then
20388 cat >conftest.
$ac_ext <<_ACEOF
20391 cat confdefs.h
>>conftest.
$ac_ext
20392 cat >>conftest.
$ac_ext <<_ACEOF
20393 /* end confdefs.h. */
20398 static int test_array [1 - 2 * !((sizeof (omp_lock_25_t)) >= $ac_mid)];
20405 rm -f conftest.
$ac_objext
20406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20407 (eval $ac_compile) 2>conftest.er1
20409 grep -v '^ *+' conftest.er1
>conftest.err
20411 cat conftest.err
>&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); } &&
20414 { ac_try
='test -z "$ac_c_werror_flag"
20415 || test ! -s conftest.err'
20416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20417 (eval $ac_try) 2>&5
20419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420 (exit $ac_status); }; } &&
20421 { ac_try
='test -s conftest.$ac_objext'
20422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20423 (eval $ac_try) 2>&5
20425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426 (exit $ac_status); }; }; then
20427 ac_lo
=$ac_mid; break
20429 echo "$as_me: failed program was:" >&5
20430 sed 's/^/| /' conftest.
$ac_ext >&5
20432 ac_hi
=`expr '(' $ac_mid ')' - 1`
20433 if test $ac_mid -le $ac_hi; then
20437 ac_mid
=`expr 2 '*' $ac_mid`
20439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20442 echo "$as_me: failed program was:" >&5
20443 sed 's/^/| /' conftest.
$ac_ext >&5
20447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20450 # Binary search between lo and hi bounds.
20451 while test "x$ac_lo" != "x$ac_hi"; do
20452 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20453 cat >conftest.
$ac_ext <<_ACEOF
20456 cat confdefs.h
>>conftest.
$ac_ext
20457 cat >>conftest.
$ac_ext <<_ACEOF
20458 /* end confdefs.h. */
20463 static int test_array [1 - 2 * !((sizeof (omp_lock_25_t)) <= $ac_mid)];
20470 rm -f conftest.
$ac_objext
20471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20472 (eval $ac_compile) 2>conftest.er1
20474 grep -v '^ *+' conftest.er1
>conftest.err
20476 cat conftest.err
>&5
20477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20478 (exit $ac_status); } &&
20479 { ac_try
='test -z "$ac_c_werror_flag"
20480 || test ! -s conftest.err'
20481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20482 (eval $ac_try) 2>&5
20484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485 (exit $ac_status); }; } &&
20486 { ac_try
='test -s conftest.$ac_objext'
20487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20488 (eval $ac_try) 2>&5
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); }; }; then
20494 echo "$as_me: failed program was:" >&5
20495 sed 's/^/| /' conftest.
$ac_ext >&5
20497 ac_lo
=`expr '(' $ac_mid ')' + 1`
20499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20502 ?
*) OMP_LOCK_25_SIZE
=$ac_lo;;
20503 '') { { echo "$as_me:$LINENO: error: unsupported system, cannot find sizeof (omp_lock_25_t)" >&5
20504 echo "$as_me: error: unsupported system, cannot find sizeof (omp_lock_25_t)" >&2;}
20505 { (exit 1); exit 1; }; } ;;
20508 if test "$cross_compiling" = yes; then
20509 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
20510 echo "$as_me: error: in \`$ac_pwd':" >&2;}
20511 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20512 See \`config.log' for more details." >&5
20513 echo "$as_me: error: cannot run test program while cross compiling
20514 See \`config.log' for more details." >&2;}
20515 { (exit 1); exit 1; }; }; }
20517 cat >conftest.
$ac_ext <<_ACEOF
20520 cat confdefs.h
>>conftest.
$ac_ext
20521 cat >>conftest.
$ac_ext <<_ACEOF
20522 /* end confdefs.h. */
20524 long longval () { return sizeof (omp_lock_25_t); }
20525 unsigned long ulongval () { return sizeof (omp_lock_25_t); }
20527 #include <stdlib.h>
20532 FILE *f = fopen ("conftest.val", "w");
20535 if ((sizeof (omp_lock_25_t)) < 0)
20537 long i = longval ();
20538 if (i != (sizeof (omp_lock_25_t)))
20540 fprintf (f, "%ld\n", i);
20544 unsigned long i = ulongval ();
20545 if (i != (sizeof (omp_lock_25_t)))
20547 fprintf (f, "%lu\n", i);
20549 exit (ferror (f) || fclose (f) != 0);
20555 rm -f conftest
$ac_exeext
20556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20557 (eval $ac_link) 2>&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20562 (eval $ac_try) 2>&5
20564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565 (exit $ac_status); }; }; then
20566 OMP_LOCK_25_SIZE
=`cat conftest.val`
20568 echo "$as_me: program exited with status $ac_status" >&5
20569 echo "$as_me: failed program was:" >&5
20570 sed 's/^/| /' conftest.
$ac_ext >&5
20572 ( exit $ac_status )
20573 { { echo "$as_me:$LINENO: error: unsupported system, cannot find sizeof (omp_lock_25_t)" >&5
20574 echo "$as_me: error: unsupported system, cannot find sizeof (omp_lock_25_t)" >&2;}
20575 { (exit 1); exit 1; }; }
20577 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20581 if test "$cross_compiling" = yes; then
20582 # Depending upon the size, compute the lo and hi bounds.
20583 cat >conftest.
$ac_ext <<_ACEOF
20586 cat confdefs.h
>>conftest.
$ac_ext
20587 cat >>conftest.
$ac_ext <<_ACEOF
20588 /* end confdefs.h. */
20593 static int test_array [1 - 2 * !((__alignof (omp_lock_25_t)) >= 0)];
20600 rm -f conftest.
$ac_objext
20601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20602 (eval $ac_compile) 2>conftest.er1
20604 grep -v '^ *+' conftest.er1
>conftest.err
20606 cat conftest.err
>&5
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); } &&
20609 { ac_try
='test -z "$ac_c_werror_flag"
20610 || test ! -s conftest.err'
20611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20612 (eval $ac_try) 2>&5
20614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20615 (exit $ac_status); }; } &&
20616 { ac_try
='test -s conftest.$ac_objext'
20617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20618 (eval $ac_try) 2>&5
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); }; }; then
20624 cat >conftest.
$ac_ext <<_ACEOF
20627 cat confdefs.h
>>conftest.
$ac_ext
20628 cat >>conftest.
$ac_ext <<_ACEOF
20629 /* end confdefs.h. */
20634 static int test_array [1 - 2 * !((__alignof (omp_lock_25_t)) <= $ac_mid)];
20641 rm -f conftest.
$ac_objext
20642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20643 (eval $ac_compile) 2>conftest.er1
20645 grep -v '^ *+' conftest.er1
>conftest.err
20647 cat conftest.err
>&5
20648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20649 (exit $ac_status); } &&
20650 { ac_try
='test -z "$ac_c_werror_flag"
20651 || test ! -s conftest.err'
20652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20653 (eval $ac_try) 2>&5
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); }; } &&
20657 { ac_try
='test -s conftest.$ac_objext'
20658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20659 (eval $ac_try) 2>&5
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); }; }; then
20663 ac_hi
=$ac_mid; break
20665 echo "$as_me: failed program was:" >&5
20666 sed 's/^/| /' conftest.
$ac_ext >&5
20668 ac_lo
=`expr $ac_mid + 1`
20669 if test $ac_lo -le $ac_mid; then
20673 ac_mid
=`expr 2 '*' $ac_mid + 1`
20675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20678 echo "$as_me: failed program was:" >&5
20679 sed 's/^/| /' conftest.
$ac_ext >&5
20681 cat >conftest.
$ac_ext <<_ACEOF
20684 cat confdefs.h
>>conftest.
$ac_ext
20685 cat >>conftest.
$ac_ext <<_ACEOF
20686 /* end confdefs.h. */
20691 static int test_array [1 - 2 * !((__alignof (omp_lock_25_t)) < 0)];
20698 rm -f conftest.
$ac_objext
20699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20700 (eval $ac_compile) 2>conftest.er1
20702 grep -v '^ *+' conftest.er1
>conftest.err
20704 cat conftest.err
>&5
20705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706 (exit $ac_status); } &&
20707 { ac_try
='test -z "$ac_c_werror_flag"
20708 || test ! -s conftest.err'
20709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20710 (eval $ac_try) 2>&5
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); }; } &&
20714 { ac_try
='test -s conftest.$ac_objext'
20715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20716 (eval $ac_try) 2>&5
20718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719 (exit $ac_status); }; }; then
20722 cat >conftest.
$ac_ext <<_ACEOF
20725 cat confdefs.h
>>conftest.
$ac_ext
20726 cat >>conftest.
$ac_ext <<_ACEOF
20727 /* end confdefs.h. */
20732 static int test_array [1 - 2 * !((__alignof (omp_lock_25_t)) >= $ac_mid)];
20739 rm -f conftest.
$ac_objext
20740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20741 (eval $ac_compile) 2>conftest.er1
20743 grep -v '^ *+' conftest.er1
>conftest.err
20745 cat conftest.err
>&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); } &&
20748 { ac_try
='test -z "$ac_c_werror_flag"
20749 || test ! -s conftest.err'
20750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20751 (eval $ac_try) 2>&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); }; } &&
20755 { ac_try
='test -s conftest.$ac_objext'
20756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20757 (eval $ac_try) 2>&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); }; }; then
20761 ac_lo
=$ac_mid; break
20763 echo "$as_me: failed program was:" >&5
20764 sed 's/^/| /' conftest.
$ac_ext >&5
20766 ac_hi
=`expr '(' $ac_mid ')' - 1`
20767 if test $ac_mid -le $ac_hi; then
20771 ac_mid
=`expr 2 '*' $ac_mid`
20773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20776 echo "$as_me: failed program was:" >&5
20777 sed 's/^/| /' conftest.
$ac_ext >&5
20781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20784 # Binary search between lo and hi bounds.
20785 while test "x$ac_lo" != "x$ac_hi"; do
20786 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20787 cat >conftest.
$ac_ext <<_ACEOF
20790 cat confdefs.h
>>conftest.
$ac_ext
20791 cat >>conftest.
$ac_ext <<_ACEOF
20792 /* end confdefs.h. */
20797 static int test_array [1 - 2 * !((__alignof (omp_lock_25_t)) <= $ac_mid)];
20804 rm -f conftest.
$ac_objext
20805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20806 (eval $ac_compile) 2>conftest.er1
20808 grep -v '^ *+' conftest.er1
>conftest.err
20810 cat conftest.err
>&5
20811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812 (exit $ac_status); } &&
20813 { ac_try
='test -z "$ac_c_werror_flag"
20814 || test ! -s conftest.err'
20815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20816 (eval $ac_try) 2>&5
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819 (exit $ac_status); }; } &&
20820 { ac_try
='test -s conftest.$ac_objext'
20821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20822 (eval $ac_try) 2>&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); }; }; then
20828 echo "$as_me: failed program was:" >&5
20829 sed 's/^/| /' conftest.
$ac_ext >&5
20831 ac_lo
=`expr '(' $ac_mid ')' + 1`
20833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20836 ?
*) OMP_LOCK_25_ALIGN
=$ac_lo;;
20840 if test "$cross_compiling" = yes; then
20841 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
20842 echo "$as_me: error: in \`$ac_pwd':" >&2;}
20843 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20844 See \`config.log' for more details." >&5
20845 echo "$as_me: error: cannot run test program while cross compiling
20846 See \`config.log' for more details." >&2;}
20847 { (exit 1); exit 1; }; }; }
20849 cat >conftest.
$ac_ext <<_ACEOF
20852 cat confdefs.h
>>conftest.
$ac_ext
20853 cat >>conftest.
$ac_ext <<_ACEOF
20854 /* end confdefs.h. */
20856 long longval () { return __alignof (omp_lock_25_t); }
20857 unsigned long ulongval () { return __alignof (omp_lock_25_t); }
20859 #include <stdlib.h>
20864 FILE *f = fopen ("conftest.val", "w");
20867 if ((__alignof (omp_lock_25_t)) < 0)
20869 long i = longval ();
20870 if (i != (__alignof (omp_lock_25_t)))
20872 fprintf (f, "%ld\n", i);
20876 unsigned long i = ulongval ();
20877 if (i != (__alignof (omp_lock_25_t)))
20879 fprintf (f, "%lu\n", i);
20881 exit (ferror (f) || fclose (f) != 0);
20887 rm -f conftest
$ac_exeext
20888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20889 (eval $ac_link) 2>&5
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20894 (eval $ac_try) 2>&5
20896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897 (exit $ac_status); }; }; then
20898 OMP_LOCK_25_ALIGN
=`cat conftest.val`
20900 echo "$as_me: program exited with status $ac_status" >&5
20901 echo "$as_me: failed program was:" >&5
20902 sed 's/^/| /' conftest.
$ac_ext >&5
20905 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20909 if test "$cross_compiling" = yes; then
20910 # Depending upon the size, compute the lo and hi bounds.
20911 cat >conftest.
$ac_ext <<_ACEOF
20914 cat confdefs.h
>>conftest.
$ac_ext
20915 cat >>conftest.
$ac_ext <<_ACEOF
20916 /* end confdefs.h. */
20921 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_25_t)) >= 0)];
20928 rm -f conftest.
$ac_objext
20929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20930 (eval $ac_compile) 2>conftest.er1
20932 grep -v '^ *+' conftest.er1
>conftest.err
20934 cat conftest.err
>&5
20935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20936 (exit $ac_status); } &&
20937 { ac_try
='test -z "$ac_c_werror_flag"
20938 || test ! -s conftest.err'
20939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20940 (eval $ac_try) 2>&5
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); }; } &&
20944 { ac_try
='test -s conftest.$ac_objext'
20945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20946 (eval $ac_try) 2>&5
20948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20949 (exit $ac_status); }; }; then
20952 cat >conftest.
$ac_ext <<_ACEOF
20955 cat confdefs.h
>>conftest.
$ac_ext
20956 cat >>conftest.
$ac_ext <<_ACEOF
20957 /* end confdefs.h. */
20962 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_25_t)) <= $ac_mid)];
20969 rm -f conftest.
$ac_objext
20970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20971 (eval $ac_compile) 2>conftest.er1
20973 grep -v '^ *+' conftest.er1
>conftest.err
20975 cat conftest.err
>&5
20976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977 (exit $ac_status); } &&
20978 { ac_try
='test -z "$ac_c_werror_flag"
20979 || test ! -s conftest.err'
20980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20981 (eval $ac_try) 2>&5
20983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20984 (exit $ac_status); }; } &&
20985 { ac_try
='test -s conftest.$ac_objext'
20986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20987 (eval $ac_try) 2>&5
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); }; }; then
20991 ac_hi
=$ac_mid; break
20993 echo "$as_me: failed program was:" >&5
20994 sed 's/^/| /' conftest.
$ac_ext >&5
20996 ac_lo
=`expr $ac_mid + 1`
20997 if test $ac_lo -le $ac_mid; then
21001 ac_mid
=`expr 2 '*' $ac_mid + 1`
21003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21006 echo "$as_me: failed program was:" >&5
21007 sed 's/^/| /' conftest.
$ac_ext >&5
21009 cat >conftest.
$ac_ext <<_ACEOF
21012 cat confdefs.h
>>conftest.
$ac_ext
21013 cat >>conftest.
$ac_ext <<_ACEOF
21014 /* end confdefs.h. */
21019 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_25_t)) < 0)];
21026 rm -f conftest.
$ac_objext
21027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21028 (eval $ac_compile) 2>conftest.er1
21030 grep -v '^ *+' conftest.er1
>conftest.err
21032 cat conftest.err
>&5
21033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21034 (exit $ac_status); } &&
21035 { ac_try
='test -z "$ac_c_werror_flag"
21036 || test ! -s conftest.err'
21037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21038 (eval $ac_try) 2>&5
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); }; } &&
21042 { ac_try
='test -s conftest.$ac_objext'
21043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21044 (eval $ac_try) 2>&5
21046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21047 (exit $ac_status); }; }; then
21050 cat >conftest.
$ac_ext <<_ACEOF
21053 cat confdefs.h
>>conftest.
$ac_ext
21054 cat >>conftest.
$ac_ext <<_ACEOF
21055 /* end confdefs.h. */
21060 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_25_t)) >= $ac_mid)];
21067 rm -f conftest.
$ac_objext
21068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21069 (eval $ac_compile) 2>conftest.er1
21071 grep -v '^ *+' conftest.er1
>conftest.err
21073 cat conftest.err
>&5
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); } &&
21076 { ac_try
='test -z "$ac_c_werror_flag"
21077 || test ! -s conftest.err'
21078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21079 (eval $ac_try) 2>&5
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); }; } &&
21083 { ac_try
='test -s conftest.$ac_objext'
21084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21085 (eval $ac_try) 2>&5
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); }; }; then
21089 ac_lo
=$ac_mid; break
21091 echo "$as_me: failed program was:" >&5
21092 sed 's/^/| /' conftest.
$ac_ext >&5
21094 ac_hi
=`expr '(' $ac_mid ')' - 1`
21095 if test $ac_mid -le $ac_hi; then
21099 ac_mid
=`expr 2 '*' $ac_mid`
21101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21104 echo "$as_me: failed program was:" >&5
21105 sed 's/^/| /' conftest.
$ac_ext >&5
21109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21112 # Binary search between lo and hi bounds.
21113 while test "x$ac_lo" != "x$ac_hi"; do
21114 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21115 cat >conftest.
$ac_ext <<_ACEOF
21118 cat confdefs.h
>>conftest.
$ac_ext
21119 cat >>conftest.
$ac_ext <<_ACEOF
21120 /* end confdefs.h. */
21125 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_25_t)) <= $ac_mid)];
21132 rm -f conftest.
$ac_objext
21133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21134 (eval $ac_compile) 2>conftest.er1
21136 grep -v '^ *+' conftest.er1
>conftest.err
21138 cat conftest.err
>&5
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); } &&
21141 { ac_try
='test -z "$ac_c_werror_flag"
21142 || test ! -s conftest.err'
21143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21144 (eval $ac_try) 2>&5
21146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147 (exit $ac_status); }; } &&
21148 { ac_try
='test -s conftest.$ac_objext'
21149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21150 (eval $ac_try) 2>&5
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); }; }; then
21156 echo "$as_me: failed program was:" >&5
21157 sed 's/^/| /' conftest.
$ac_ext >&5
21159 ac_lo
=`expr '(' $ac_mid ')' + 1`
21161 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21164 ?
*) OMP_NEST_LOCK_25_SIZE
=$ac_lo;;
21168 if test "$cross_compiling" = yes; then
21169 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21170 echo "$as_me: error: in \`$ac_pwd':" >&2;}
21171 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21172 See \`config.log' for more details." >&5
21173 echo "$as_me: error: cannot run test program while cross compiling
21174 See \`config.log' for more details." >&2;}
21175 { (exit 1); exit 1; }; }; }
21177 cat >conftest.
$ac_ext <<_ACEOF
21180 cat confdefs.h
>>conftest.
$ac_ext
21181 cat >>conftest.
$ac_ext <<_ACEOF
21182 /* end confdefs.h. */
21184 long longval () { return sizeof (omp_nest_lock_25_t); }
21185 unsigned long ulongval () { return sizeof (omp_nest_lock_25_t); }
21187 #include <stdlib.h>
21192 FILE *f = fopen ("conftest.val", "w");
21195 if ((sizeof (omp_nest_lock_25_t)) < 0)
21197 long i = longval ();
21198 if (i != (sizeof (omp_nest_lock_25_t)))
21200 fprintf (f, "%ld\n", i);
21204 unsigned long i = ulongval ();
21205 if (i != (sizeof (omp_nest_lock_25_t)))
21207 fprintf (f, "%lu\n", i);
21209 exit (ferror (f) || fclose (f) != 0);
21215 rm -f conftest
$ac_exeext
21216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21217 (eval $ac_link) 2>&5
21219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21222 (eval $ac_try) 2>&5
21224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21225 (exit $ac_status); }; }; then
21226 OMP_NEST_LOCK_25_SIZE
=`cat conftest.val`
21228 echo "$as_me: program exited with status $ac_status" >&5
21229 echo "$as_me: failed program was:" >&5
21230 sed 's/^/| /' conftest.
$ac_ext >&5
21233 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21237 if test "$cross_compiling" = yes; then
21238 # Depending upon the size, compute the lo and hi bounds.
21239 cat >conftest.
$ac_ext <<_ACEOF
21242 cat confdefs.h
>>conftest.
$ac_ext
21243 cat >>conftest.
$ac_ext <<_ACEOF
21244 /* end confdefs.h. */
21249 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_25_t)) >= 0)];
21256 rm -f conftest.
$ac_objext
21257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21258 (eval $ac_compile) 2>conftest.er1
21260 grep -v '^ *+' conftest.er1
>conftest.err
21262 cat conftest.err
>&5
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); } &&
21265 { ac_try
='test -z "$ac_c_werror_flag"
21266 || test ! -s conftest.err'
21267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21268 (eval $ac_try) 2>&5
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); }; } &&
21272 { ac_try
='test -s conftest.$ac_objext'
21273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21274 (eval $ac_try) 2>&5
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); }; }; then
21280 cat >conftest.
$ac_ext <<_ACEOF
21283 cat confdefs.h
>>conftest.
$ac_ext
21284 cat >>conftest.
$ac_ext <<_ACEOF
21285 /* end confdefs.h. */
21290 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_25_t)) <= $ac_mid)];
21297 rm -f conftest.
$ac_objext
21298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21299 (eval $ac_compile) 2>conftest.er1
21301 grep -v '^ *+' conftest.er1
>conftest.err
21303 cat conftest.err
>&5
21304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305 (exit $ac_status); } &&
21306 { ac_try
='test -z "$ac_c_werror_flag"
21307 || test ! -s conftest.err'
21308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21309 (eval $ac_try) 2>&5
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); }; } &&
21313 { ac_try
='test -s conftest.$ac_objext'
21314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21315 (eval $ac_try) 2>&5
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); }; }; then
21319 ac_hi
=$ac_mid; break
21321 echo "$as_me: failed program was:" >&5
21322 sed 's/^/| /' conftest.
$ac_ext >&5
21324 ac_lo
=`expr $ac_mid + 1`
21325 if test $ac_lo -le $ac_mid; then
21329 ac_mid
=`expr 2 '*' $ac_mid + 1`
21331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21334 echo "$as_me: failed program was:" >&5
21335 sed 's/^/| /' conftest.
$ac_ext >&5
21337 cat >conftest.
$ac_ext <<_ACEOF
21340 cat confdefs.h
>>conftest.
$ac_ext
21341 cat >>conftest.
$ac_ext <<_ACEOF
21342 /* end confdefs.h. */
21347 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_25_t)) < 0)];
21354 rm -f conftest.
$ac_objext
21355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21356 (eval $ac_compile) 2>conftest.er1
21358 grep -v '^ *+' conftest.er1
>conftest.err
21360 cat conftest.err
>&5
21361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362 (exit $ac_status); } &&
21363 { ac_try
='test -z "$ac_c_werror_flag"
21364 || test ! -s conftest.err'
21365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21366 (eval $ac_try) 2>&5
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); }; } &&
21370 { ac_try
='test -s conftest.$ac_objext'
21371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21372 (eval $ac_try) 2>&5
21374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21375 (exit $ac_status); }; }; then
21378 cat >conftest.
$ac_ext <<_ACEOF
21381 cat confdefs.h
>>conftest.
$ac_ext
21382 cat >>conftest.
$ac_ext <<_ACEOF
21383 /* end confdefs.h. */
21388 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_25_t)) >= $ac_mid)];
21395 rm -f conftest.
$ac_objext
21396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21397 (eval $ac_compile) 2>conftest.er1
21399 grep -v '^ *+' conftest.er1
>conftest.err
21401 cat conftest.err
>&5
21402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403 (exit $ac_status); } &&
21404 { ac_try
='test -z "$ac_c_werror_flag"
21405 || test ! -s conftest.err'
21406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21407 (eval $ac_try) 2>&5
21409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21410 (exit $ac_status); }; } &&
21411 { ac_try
='test -s conftest.$ac_objext'
21412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21413 (eval $ac_try) 2>&5
21415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21416 (exit $ac_status); }; }; then
21417 ac_lo
=$ac_mid; break
21419 echo "$as_me: failed program was:" >&5
21420 sed 's/^/| /' conftest.
$ac_ext >&5
21422 ac_hi
=`expr '(' $ac_mid ')' - 1`
21423 if test $ac_mid -le $ac_hi; then
21427 ac_mid
=`expr 2 '*' $ac_mid`
21429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21432 echo "$as_me: failed program was:" >&5
21433 sed 's/^/| /' conftest.
$ac_ext >&5
21437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21440 # Binary search between lo and hi bounds.
21441 while test "x$ac_lo" != "x$ac_hi"; do
21442 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21443 cat >conftest.
$ac_ext <<_ACEOF
21446 cat confdefs.h
>>conftest.
$ac_ext
21447 cat >>conftest.
$ac_ext <<_ACEOF
21448 /* end confdefs.h. */
21453 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_25_t)) <= $ac_mid)];
21460 rm -f conftest.
$ac_objext
21461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21462 (eval $ac_compile) 2>conftest.er1
21464 grep -v '^ *+' conftest.er1
>conftest.err
21466 cat conftest.err
>&5
21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468 (exit $ac_status); } &&
21469 { ac_try
='test -z "$ac_c_werror_flag"
21470 || test ! -s conftest.err'
21471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21472 (eval $ac_try) 2>&5
21474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21475 (exit $ac_status); }; } &&
21476 { ac_try
='test -s conftest.$ac_objext'
21477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21478 (eval $ac_try) 2>&5
21480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481 (exit $ac_status); }; }; then
21484 echo "$as_me: failed program was:" >&5
21485 sed 's/^/| /' conftest.
$ac_ext >&5
21487 ac_lo
=`expr '(' $ac_mid ')' + 1`
21489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21492 ?
*) OMP_NEST_LOCK_25_ALIGN
=$ac_lo;;
21496 if test "$cross_compiling" = yes; then
21497 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21498 echo "$as_me: error: in \`$ac_pwd':" >&2;}
21499 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21500 See \`config.log' for more details." >&5
21501 echo "$as_me: error: cannot run test program while cross compiling
21502 See \`config.log' for more details." >&2;}
21503 { (exit 1); exit 1; }; }; }
21505 cat >conftest.
$ac_ext <<_ACEOF
21508 cat confdefs.h
>>conftest.
$ac_ext
21509 cat >>conftest.
$ac_ext <<_ACEOF
21510 /* end confdefs.h. */
21512 long longval () { return __alignof (omp_nest_lock_25_t); }
21513 unsigned long ulongval () { return __alignof (omp_nest_lock_25_t); }
21515 #include <stdlib.h>
21520 FILE *f = fopen ("conftest.val", "w");
21523 if ((__alignof (omp_nest_lock_25_t)) < 0)
21525 long i = longval ();
21526 if (i != (__alignof (omp_nest_lock_25_t)))
21528 fprintf (f, "%ld\n", i);
21532 unsigned long i = ulongval ();
21533 if (i != (__alignof (omp_nest_lock_25_t)))
21535 fprintf (f, "%lu\n", i);
21537 exit (ferror (f) || fclose (f) != 0);
21543 rm -f conftest
$ac_exeext
21544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21545 (eval $ac_link) 2>&5
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21550 (eval $ac_try) 2>&5
21552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21553 (exit $ac_status); }; }; then
21554 OMP_NEST_LOCK_25_ALIGN
=`cat conftest.val`
21556 echo "$as_me: program exited with status $ac_status" >&5
21557 echo "$as_me: failed program was:" >&5
21558 sed 's/^/| /' conftest.
$ac_ext >&5
21561 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21566 # If the lock fits in an integer, then arrange for Fortran to use that
21567 # integer. If it doesn't, then arrange for Fortran to use a pointer.
21568 # Except that we don't have a way at present to multi-lib the installed
21569 # Fortran modules, so we assume 8 bytes for pointers, regardless of the
21571 OMP_LOCK_KIND
=$OMP_LOCK_SIZE
21572 OMP_NEST_LOCK_KIND
=$OMP_NEST_LOCK_SIZE
21573 if test $OMP_LOCK_SIZE -gt 8 ||
test $OMP_LOCK_ALIGN -gt $OMP_LOCK_SIZE; then
21576 if test $OMP_NEST_LOCK_SIZE -gt 8 ||
test $OMP_NEST_LOCK_ALIGN -gt $OMP_NEST_LOCK_SIZE; then
21577 OMP_NEST_LOCK_KIND
=8
21579 OMP_LOCK_25_KIND
=$OMP_LOCK_25_SIZE
21580 OMP_NEST_LOCK_25_KIND
=$OMP_NEST_LOCK_25_SIZE
21581 if test $OMP_LOCK_25_SIZE -gt 8 ||
test $OMP_LOCK_25_ALIGN -gt $OMP_LOCK_25_SIZE; then
21584 if test $OMP_NEST_LOCK_25_SIZE -gt 8 ||
test $OMP_NEST_LOCK_25_ALIGN -gt $OMP_NEST_LOCK_25_SIZE; then
21585 OMP_NEST_LOCK_25_KIND
=8
21600 CFLAGS
="$save_CFLAGS"
21602 ac_config_files
="$ac_config_files omp.h omp_lib.h omp_lib.f90 libgomp_f.h"
21604 ac_config_files
="$ac_config_files Makefile testsuite/Makefile libgomp.spec"
21606 cat >confcache
<<\_ACEOF
21607 # This file is a shell script that caches the results of configure
21608 # tests run on this system so they can be shared between configure
21609 # scripts and configure runs, see configure's option --config-cache.
21610 # It is not useful on other systems. If it contains results you don't
21611 # want to keep, you may remove or edit it.
21613 # config.status only pays attention to the cache file if you give it
21614 # the --recheck option to rerun configure.
21616 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21617 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21618 # following values.
21622 # The following way of writing the cache mishandles newlines in values,
21623 # but we know of no workaround that is simple, portable, and efficient.
21624 # So, don't put newlines in cache variables' values.
21625 # Ultrix sh set writes to stderr and can't be redirected directly,
21626 # and sets the high bit in the cache file unless we assign to the vars.
21629 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21631 # `set' does not quote correctly, so add quotes (double-quote
21632 # substitution turns \\\\ into \\, and sed turns \\ into \).
21635 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21638 # `set' quotes correctly as required by POSIX, so do not add quotes.
21640 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21647 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21649 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21651 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
21652 if test -w $cache_file; then
21653 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21654 cat confcache
>$cache_file
21656 echo "not updating unwritable cache $cache_file"
21661 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21662 # Let make expand exec_prefix.
21663 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21665 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21666 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21667 # trailing colons and then remove the whole line if VPATH becomes empty
21668 # (actually we leave an empty line to preserve line numbers).
21669 if test "x$srcdir" = x.
; then
21670 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21671 s/:*\$(srcdir):*/:/;
21672 s/:*\${srcdir}:*/:/;
21674 s/^\([^=]*=[ ]*\):*/\1/;
21680 DEFS
=-DHAVE_CONFIG_H
21684 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21685 # 1. Remove the extension, and $U if already installed.
21686 ac_i
=`echo "$ac_i" |
21687 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21689 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
21690 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
21692 LIBOBJS
=$ac_libobjs
21694 LTLIBOBJS
=$ac_ltlibobjs
21697 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
21698 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC\" was never defined.
21699 Usually this means the macro was only invoked conditionally." >&5
21700 echo "$as_me: error: conditional \"GENINSRC\" was never defined.
21701 Usually this means the macro was only invoked conditionally." >&2;}
21702 { (exit 1); exit 1; }; }
21704 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21705 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21706 Usually this means the macro was only invoked conditionally." >&5
21707 echo "$as_me: error: conditional \"AMDEP\" was never defined.
21708 Usually this means the macro was only invoked conditionally." >&2;}
21709 { (exit 1); exit 1; }; }
21711 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21712 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21713 Usually this means the macro was only invoked conditionally." >&5
21714 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21715 Usually this means the macro was only invoked conditionally." >&2;}
21716 { (exit 1); exit 1; }; }
21718 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
21719 { { echo "$as_me:$LINENO: error: conditional \"BUILD_INFO\" was never defined.
21720 Usually this means the macro was only invoked conditionally." >&5
21721 echo "$as_me: error: conditional \"BUILD_INFO\" was never defined.
21722 Usually this means the macro was only invoked conditionally." >&2;}
21723 { (exit 1); exit 1; }; }
21725 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21726 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
21727 Usually this means the macro was only invoked conditionally." >&5
21728 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
21729 Usually this means the macro was only invoked conditionally." >&2;}
21730 { (exit 1); exit 1; }; }
21732 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE}"; then
21733 { { echo "$as_me:$LINENO: error: conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
21734 Usually this means the macro was only invoked conditionally." >&5
21735 echo "$as_me: error: conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
21736 Usually this means the macro was only invoked conditionally." >&2;}
21737 { (exit 1); exit 1; }; }
21739 if test -z "${USE_FORTRAN_TRUE}" && test -z "${USE_FORTRAN_FALSE}"; then
21740 { { echo "$as_me:$LINENO: error: conditional \"USE_FORTRAN\" was never defined.
21741 Usually this means the macro was only invoked conditionally." >&5
21742 echo "$as_me: error: conditional \"USE_FORTRAN\" was never defined.
21743 Usually this means the macro was only invoked conditionally." >&2;}
21744 { (exit 1); exit 1; }; }
21747 : ${CONFIG_STATUS=./config.status}
21748 ac_clean_files_save
=$ac_clean_files
21749 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21750 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21751 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21752 cat >$CONFIG_STATUS <<_ACEOF
21754 # Generated by $as_me.
21755 # Run this file to recreate the current configuration.
21756 # Compiler output produced by configure, useful for debugging
21757 # configure, is in config.log if it exists.
21760 ac_cs_recheck=false
21762 SHELL=\${CONFIG_SHELL-$SHELL}
21765 cat >>$CONFIG_STATUS <<\_ACEOF
21766 ## --------------------- ##
21767 ## M4sh Initialization. ##
21768 ## --------------------- ##
21770 # Be Bourne compatible
21771 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21774 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21775 # is contrary to our usage. Disable this feature.
21776 alias -g '${1+"$@"}'='"$@"'
21777 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
21780 DUALCASE
=1; export DUALCASE
# for MKS sh
21782 # Support unset when possible.
21783 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21790 # Work around bugs in pre-3.0 UWIN ksh.
21791 $as_unset ENV MAIL MAILPATH
21798 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21799 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21800 LC_TELEPHONE LC_TIME
21802 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21803 eval $as_var=C
; export $as_var
21809 # Required to use basename.
21810 if expr a
: '\(a\)' >/dev
/null
2>&1; then
21816 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
21817 as_basename
=basename
21823 # Name of the executable.
21824 as_me
=`$as_basename "$0" ||
21825 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21826 X"$0" : 'X\(//\)$' \| \
21827 X"$0" : 'X\(/\)$' \| \
21828 . : '\(.\)' 2>/dev/null ||
21830 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21831 /^X\/\(\/\/\)$/{ s//\1/; q; }
21832 /^X\/\(\/\).*/{ s//\1/; q; }
21836 # PATH needs CR, and LINENO needs CR and PATH.
21837 # Avoid depending upon Character Ranges.
21838 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21839 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21840 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21841 as_cr_digits
='0123456789'
21842 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21844 # The user is always right.
21845 if test "${PATH_SEPARATOR+set}" != set; then
21846 echo "#! /bin/sh" >conf$$.sh
21847 echo "exit 0" >>conf$$.sh
21849 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21858 as_lineno_1
=$LINENO
21859 as_lineno_2
=$LINENO
21860 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
21861 test "x$as_lineno_1" != "x$as_lineno_2" &&
21862 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
21863 # Find who we are. Look in the path if we contain no path at all
21866 *[\\/]* ) as_myself
=$0 ;;
21867 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21868 for as_dir
in $PATH
21871 test -z "$as_dir" && as_dir
=.
21872 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21877 # We did not find ourselves, most probably we were run as `sh COMMAND'
21878 # in which case we are not to be found in the path.
21879 if test "x$as_myself" = x
; then
21882 if test ! -f "$as_myself"; then
21883 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21884 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21885 { (exit 1); exit 1; }; }
21887 case $CONFIG_SHELL in
21889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21890 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
21893 test -z "$as_dir" && as_dir
=.
21894 for as_base
in sh bash ksh sh5
; do
21897 if ("$as_dir/$as_base" -c '
21898 as_lineno_1=$LINENO
21899 as_lineno_2=$LINENO
21900 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21901 test "x$as_lineno_1" != "x$as_lineno_2" &&
21902 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
21903 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
21904 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
21905 CONFIG_SHELL
=$as_dir/$as_base
21906 export CONFIG_SHELL
21907 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21915 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21916 # uniformly replaced by the line number. The first 'sed' inserts a
21917 # line-number line before each line; the second 'sed' does the real
21918 # work. The second script uses 'N' to pair each line-number line
21919 # with the numbered line, and appends trailing '-' during
21920 # substitution so that $LINENO is not a special case at line end.
21921 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21922 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
21923 sed '=' <$as_myself |
21928 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
21931 s,^['$as_cr_digits']*\n,,
21932 ' >$as_me.lineno
&&
21933 chmod +x
$as_me.lineno ||
21934 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21935 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
21936 { (exit 1); exit 1; }; }
21938 # Don't try to exec as it changes $[0], causing all sort of problems
21939 # (the dirname of $[0] is not the place where we might find the
21940 # original and so on. Autoconf is especially sensible to this).
21942 # Exit status is that of the last command.
21947 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21948 *c
*,-n*) ECHO_N
= ECHO_C
='
21950 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
21951 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
21954 if expr a
: '\(a\)' >/dev
/null
2>&1; then
21960 rm -f conf$$ conf$$.exe conf$$.
file
21962 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21963 # We could just check for DJGPP; but this test a) works b) is more generic
21964 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21965 if test -f conf$$.exe
; then
21966 # Don't use ln at all; we don't have any links
21971 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21976 rm -f conf$$ conf$$.exe conf$$.
file
21978 if mkdir
-p .
2>/dev
/null
; then
21981 test -d .
/-p && rmdir .
/-p
21985 as_executable_p
="test -f"
21987 # Sed expression to map a string onto a valid CPP name.
21988 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21990 # Sed expression to map a string onto a valid variable name.
21991 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21995 # We need space, tab and new line, in precisely that order.
22005 # Open the log real soon, to keep \$[0] and so on meaningful, and to
22006 # report actual input values of CONFIG_FILES etc. instead of their
22007 # values after options handling. Logging --version etc. is OK.
22011 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22012 ## Running $as_me. ##
22017 This file was extended by GNU OpenMP Runtime Library $as_me 1.0, which was
22018 generated by GNU Autoconf 2.59. Invocation command line was
22020 CONFIG_FILES = $CONFIG_FILES
22021 CONFIG_HEADERS = $CONFIG_HEADERS
22022 CONFIG_LINKS = $CONFIG_LINKS
22023 CONFIG_COMMANDS = $CONFIG_COMMANDS
22027 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22031 # Files that config.status was made for.
22032 if test -n "$ac_config_files"; then
22033 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22036 if test -n "$ac_config_headers"; then
22037 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22040 if test -n "$ac_config_links"; then
22041 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22044 if test -n "$ac_config_commands"; then
22045 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22048 cat >>$CONFIG_STATUS <<\_ACEOF
22051 \`$as_me' instantiates files from templates according to the
22052 current configuration.
22054 Usage: $0 [OPTIONS] [FILE]...
22056 -h, --help print this help, then exit
22057 -V, --version print version number, then exit
22058 -q, --quiet do not print progress messages
22059 -d, --debug don't remove temporary files
22060 --recheck update $as_me by reconfiguring in the same conditions
22061 --file=FILE[:TEMPLATE]
22062 instantiate the configuration file FILE
22063 --header=FILE[:TEMPLATE]
22064 instantiate the configuration header FILE
22066 Configuration files:
22069 Configuration headers:
22072 Configuration commands:
22075 Report bugs to <bug-autoconf@gnu.org>."
22078 cat >>$CONFIG_STATUS <<_ACEOF
22080 GNU OpenMP Runtime Library config.status 1.0
22081 configured by $0, generated by GNU Autoconf 2.59,
22082 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
22084 Copyright (C) 2003 Free Software Foundation, Inc.
22085 This config.status script is free software; the Free Software Foundation
22086 gives unlimited permission to copy, distribute and modify it."
22091 cat >>$CONFIG_STATUS <<\_ACEOF
22092 # If no file are specified by the user, then we need to provide default
22093 # value. By we need to know if files were specified by the user.
22099 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
22100 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
22108 *) # This is not an option, so the user has probably given explicit
22111 ac_need_defaults
=false
;;
22115 # Handling of the options.
22117 cat >>$CONFIG_STATUS <<\_ACEOF
22118 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22120 --version |
--vers* |
-V )
22121 echo "$ac_cs_version"; exit 0 ;;
22123 # Conflict between --help and --header
22124 { { echo "$as_me:$LINENO: error: ambiguous option: $1
22125 Try \`$0 --help' for more information." >&5
22126 echo "$as_me: error: ambiguous option: $1
22127 Try \`$0 --help' for more information." >&2;}
22128 { (exit 1); exit 1; }; };;
22129 --help |
--hel |
-h )
22130 echo "$ac_cs_usage"; exit 0 ;;
22131 --debug |
--d* |
-d )
22133 --file |
--fil |
--fi |
--f )
22135 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22136 ac_need_defaults
=false
;;
22137 --header |
--heade |
--head |
--hea )
22139 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22140 ac_need_defaults
=false
;;
22141 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22142 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22145 # This is an error.
22146 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22147 Try \`$0 --help' for more information." >&5
22148 echo "$as_me: error: unrecognized option: $1
22149 Try \`$0 --help' for more information." >&2;}
22150 { (exit 1); exit 1; }; } ;;
22152 *) ac_config_targets
="$ac_config_targets $1" ;;
22158 ac_configure_extra_args
=
22160 if $ac_cs_silent; then
22162 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22166 cat >>$CONFIG_STATUS <<_ACEOF
22167 if \$ac_cs_recheck; then
22168 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22169 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22174 cat >>$CONFIG_STATUS <<_ACEOF
22176 # INIT-COMMANDS section.
22183 with_multisubdir="$with_multisubdir"
22184 with_multisrctop="$with_multisrctop"
22185 with_target_subdir="$with_target_subdir"
22186 ac_configure_args="${multilib_arg} ${ac_configure_args}"
22187 multi_basedir="$multi_basedir"
22188 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
22190 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22193 # The HP-UX ksh and POSIX shell print the target directory to stdout
22194 # if CDPATH is set.
22195 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22197 sed_quote_subst='$sed_quote_subst'
22198 double_quote_subst='$double_quote_subst'
22199 delay_variable_subst='$delay_variable_subst'
22200 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
22201 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
22202 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
22203 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
22204 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
22205 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
22206 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
22207 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
22208 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
22209 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
22210 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
22211 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
22212 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
22213 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
22214 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
22215 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
22216 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
22217 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
22218 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
22219 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
22220 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
22221 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
22222 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
22223 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
22224 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
22225 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
22226 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
22227 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22228 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
22229 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
22230 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
22231 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
22232 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
22233 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
22234 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
22235 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22236 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22237 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22238 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
22239 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
22240 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
22241 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
22242 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
22243 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
22244 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
22245 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
22246 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
22247 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
22248 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
22249 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
22250 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
22251 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
22252 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
22253 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
22254 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
22255 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
22256 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
22257 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
22258 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
22259 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
22260 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
22261 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
22262 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22263 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22264 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
22265 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
22266 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
22267 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
22268 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
22269 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22270 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22271 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22272 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22273 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22274 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22275 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
22276 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
22277 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
22278 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
22279 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
22280 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
22281 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
22282 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
22283 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
22284 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
22285 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
22286 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
22287 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
22288 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
22289 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
22290 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22291 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
22292 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
22293 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22294 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
22295 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
22296 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
22297 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
22298 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
22299 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
22300 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
22301 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
22302 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
22303 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
22304 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
22305 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22306 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22307 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22308 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
22309 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
22310 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
22311 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
22312 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
22313 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
22314 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
22315 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
22316 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
22317 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
22318 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
22319 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
22320 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
22321 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
22322 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
22323 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
22324 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
22325 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22326 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
22327 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
22328 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
22329 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
22330 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
22331 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
22332 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
22333 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
22334 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
22335 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
22336 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
22337 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
22338 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22339 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22340 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22341 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22342 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22343 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22344 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
22345 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
22346 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
22347 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
22348 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
22349 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
22350 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
22351 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
22352 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
22353 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
22354 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
22355 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
22356 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
22357 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
22358 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
22359 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22360 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
22361 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
22362 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22363 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
22364 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
22365 compiler_lib_search_dirs_FC='`$ECHO "X$compiler_lib_search_dirs_FC" | $Xsed -e "$delay_single_quote_subst"`'
22366 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
22367 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
22368 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
22369 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
22370 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
22373 LTCFLAGS='$LTCFLAGS'
22374 compiler='$compiler_DEFAULT'
22376 # Quote evaled strings.
22388 deplibs_check_method \
22397 lt_cv_sys_global_symbol_pipe \
22398 lt_cv_sys_global_symbol_to_cdecl \
22399 lt_cv_sys_global_symbol_to_c_name_address \
22400 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22403 lt_prog_compiler_no_builtin_flag \
22404 lt_prog_compiler_wl \
22405 lt_prog_compiler_pic \
22406 lt_prog_compiler_static \
22407 lt_cv_prog_compiler_c_o \
22415 export_dynamic_flag_spec \
22416 whole_archive_flag_spec \
22417 compiler_needs_object \
22419 allow_undefined_flag \
22420 no_undefined_flag \
22421 hardcode_libdir_flag_spec \
22422 hardcode_libdir_flag_spec_ld \
22423 hardcode_libdir_separator \
22428 variables_saved_for_relink \
22430 library_names_spec \
22435 compiler_lib_search_dirs \
22440 compiler_lib_search_path \
22443 lt_prog_compiler_no_builtin_flag_FC \
22444 lt_prog_compiler_wl_FC \
22445 lt_prog_compiler_pic_FC \
22446 lt_prog_compiler_static_FC \
22447 lt_cv_prog_compiler_c_o_FC \
22448 export_dynamic_flag_spec_FC \
22449 whole_archive_flag_spec_FC \
22450 compiler_needs_object_FC \
22452 allow_undefined_flag_FC \
22453 no_undefined_flag_FC \
22454 hardcode_libdir_flag_spec_FC \
22455 hardcode_libdir_flag_spec_ld_FC \
22456 hardcode_libdir_separator_FC \
22457 fix_srcfile_path_FC \
22458 exclude_expsyms_FC \
22459 include_expsyms_FC \
22460 file_list_spec_FC \
22461 compiler_lib_search_dirs_FC \
22462 predep_objects_FC \
22463 postdep_objects_FC \
22466 compiler_lib_search_path_FC; do
22467 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
22468 *[\\\\\\\`\\"\\\$]*)
22469 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
22472 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22477 # Double-quote double-evaled strings.
22478 for var in reload_cmds \
22479 old_postinstall_cmds \
22480 old_postuninstall_cmds \
22482 extract_expsyms_cmds \
22483 old_archive_from_new_cmds \
22484 old_archive_from_expsyms_cmds \
22486 archive_expsym_cmds \
22488 module_expsym_cmds \
22489 export_symbols_cmds \
22492 postuninstall_cmds \
22494 sys_lib_search_path_spec \
22495 sys_lib_dlsearch_path_spec \
22496 old_archive_cmds_FC \
22497 old_archive_from_new_cmds_FC \
22498 old_archive_from_expsyms_cmds_FC \
22500 archive_expsym_cmds_FC \
22502 module_expsym_cmds_FC \
22503 export_symbols_cmds_FC \
22504 prelink_cmds_FC; do
22505 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
22506 *[\\\\\\\`\\"\\\$]*)
22507 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
22510 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22515 # Fix-up fallback echo if it was mangled by the above quoting rules.
22517 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
22521 ac_aux_dir='$ac_aux_dir'
22522 xsi_shell='$xsi_shell'
22523 lt_shell_append='$lt_shell_append'
22525 # See if we are running on zsh, and set the options which allow our
22526 # commands through without removal of \ escapes INIT.
22527 if test -n "\${ZSH_VERSION+set}" ; then
22528 setopt NO_GLOB_SUBST
22534 TIMESTAMP='$TIMESTAMP'
22545 acx_cv_header_stdint="$acx_cv_header_stdint"
22546 acx_cv_type_int8_t="$acx_cv_type_int8_t"
22547 acx_cv_type_int16_t="$acx_cv_type_int16_t"
22548 acx_cv_type_int32_t="$acx_cv_type_int32_t"
22549 acx_cv_type_int64_t="$acx_cv_type_int64_t"
22550 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
22551 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
22552 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
22553 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
22554 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
22555 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
22556 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
22557 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
22558 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
22565 cat >>$CONFIG_STATUS <<\_ACEOF
22566 for ac_config_target
in $ac_config_targets
22568 case "$ac_config_target" in
22569 # Handling of arguments.
22570 "omp.h" ) CONFIG_FILES
="$CONFIG_FILES omp.h" ;;
22571 "omp_lib.h" ) CONFIG_FILES
="$CONFIG_FILES omp_lib.h" ;;
22572 "omp_lib.f90" ) CONFIG_FILES
="$CONFIG_FILES omp_lib.f90" ;;
22573 "libgomp_f.h" ) CONFIG_FILES
="$CONFIG_FILES libgomp_f.h" ;;
22574 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22575 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
22576 "libgomp.spec" ) CONFIG_FILES
="$CONFIG_FILES libgomp.spec" ;;
22577 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
22578 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22579 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
22580 "gstdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
22581 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
22582 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22583 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22584 { (exit 1); exit 1; }; };;
22588 # If the user did not use the arguments to specify the items to instantiate,
22589 # then the envvar interface is used. Set only those that are not.
22590 # We use the long form for the default assignment because of an extremely
22591 # bizarre bug on SunOS 4.1.3.
22592 if $ac_need_defaults; then
22593 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22594 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22595 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22598 # Have a temporary directory for convenience. Make it in the build tree
22599 # simply because there is no reason to put it here, and in addition,
22600 # creating and moving files from /tmp can sometimes cause problems.
22601 # Create a temporary directory, and hook for its removal unless debugging.
22604 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
22605 trap '{ (exit 1); exit 1; }' 1 2 13 15
22608 # Create a (secure) tmp directory for tmp files.
22611 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
22612 test -n "$tmp" && test -d "$tmp"
22615 tmp
=.
/confstat$$
-$RANDOM
22616 (umask 077 && mkdir
$tmp)
22619 echo "$me: cannot create a temporary directory in ." >&2
22620 { (exit 1); exit 1; }
22625 cat >>$CONFIG_STATUS <<_ACEOF
22628 # CONFIG_FILES section.
22631 # No need to generate the scripts if there are no CONFIG_FILES.
22632 # This happens for instance when ./config.status config.h
22633 if test -n "\$CONFIG_FILES"; then
22634 # Protect against being on the right side of a sed subst in config.status.
22635 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22636 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22637 s,@SHELL@,$SHELL,;t t
22638 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22639 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22640 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22641 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22642 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22643 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22644 s,@exec_prefix@,$exec_prefix,;t t
22645 s,@prefix@,$prefix,;t t
22646 s,@program_transform_name@,$program_transform_name,;t t
22647 s,@bindir@,$bindir,;t t
22648 s,@sbindir@,$sbindir,;t t
22649 s,@libexecdir@,$libexecdir,;t t
22650 s,@datadir@,$datadir,;t t
22651 s,@sysconfdir@,$sysconfdir,;t t
22652 s,@sharedstatedir@,$sharedstatedir,;t t
22653 s,@localstatedir@,$localstatedir,;t t
22654 s,@libdir@,$libdir,;t t
22655 s,@includedir@,$includedir,;t t
22656 s,@oldincludedir@,$oldincludedir,;t t
22657 s,@infodir@,$infodir,;t t
22658 s,@mandir@,$mandir,;t t
22659 s,@build_alias@,$build_alias,;t t
22660 s,@host_alias@,$host_alias,;t t
22661 s,@target_alias@,$target_alias,;t t
22662 s,@DEFS@,$DEFS,;t t
22663 s,@ECHO_C@,$ECHO_C,;t t
22664 s,@ECHO_N@,$ECHO_N,;t t
22665 s,@ECHO_T@,$ECHO_T,;t t
22666 s,@LIBS@,$LIBS,;t t
22667 s,@GENINSRC_TRUE@,$GENINSRC_TRUE,;t t
22668 s,@GENINSRC_FALSE@,$GENINSRC_FALSE,;t t
22669 s,@build@,$build,;t t
22670 s,@build_cpu@,$build_cpu,;t t
22671 s,@build_vendor@,$build_vendor,;t t
22672 s,@build_os@,$build_os,;t t
22673 s,@host@,$host,;t t
22674 s,@host_cpu@,$host_cpu,;t t
22675 s,@host_vendor@,$host_vendor,;t t
22676 s,@host_os@,$host_os,;t t
22677 s,@target@,$target,;t t
22678 s,@target_cpu@,$target_cpu,;t t
22679 s,@target_vendor@,$target_vendor,;t t
22680 s,@target_os@,$target_os,;t t
22681 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22682 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22683 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22684 s,@CYGPATH_W@,$CYGPATH_W,;t t
22685 s,@PACKAGE@,$PACKAGE,;t t
22686 s,@VERSION@,$VERSION,;t t
22687 s,@ACLOCAL@,$ACLOCAL,;t t
22688 s,@AUTOCONF@,$AUTOCONF,;t t
22689 s,@AUTOMAKE@,$AUTOMAKE,;t t
22690 s,@AUTOHEADER@,$AUTOHEADER,;t t
22691 s,@MAKEINFO@,$MAKEINFO,;t t
22692 s,@install_sh@,$install_sh,;t t
22693 s,@STRIP@,$STRIP,;t t
22694 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
22695 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
22696 s,@mkdir_p@,$mkdir_p,;t t
22698 s,@SET_MAKE@,$SET_MAKE,;t t
22699 s,@am__leading_dot@,$am__leading_dot,;t t
22700 s,@AMTAR@,$AMTAR,;t t
22701 s,@am__tar@,$am__tar,;t t
22702 s,@am__untar@,$am__untar,;t t
22703 s,@multi_basedir@,$multi_basedir,;t t
22704 s,@toolexecdir@,$toolexecdir,;t t
22705 s,@toolexeclibdir@,$toolexeclibdir,;t t
22707 s,@ac_ct_CC@,$ac_ct_CC,;t t
22708 s,@EXEEXT@,$EXEEXT,;t t
22709 s,@OBJEXT@,$OBJEXT,;t t
22710 s,@DEPDIR@,$DEPDIR,;t t
22711 s,@am__include@,$am__include,;t t
22712 s,@am__quote@,$am__quote,;t t
22713 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
22714 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
22715 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
22716 s,@CCDEPMODE@,$CCDEPMODE,;t t
22717 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
22718 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
22719 s,@CFLAGS@,$CFLAGS,;t t
22721 s,@ac_ct_AR@,$ac_ct_AR,;t t
22722 s,@RANLIB@,$RANLIB,;t t
22723 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22724 s,@PERL@,$PERL,;t t
22725 s,@BUILD_INFO_TRUE@,$BUILD_INFO_TRUE,;t t
22726 s,@BUILD_INFO_FALSE@,$BUILD_INFO_FALSE,;t t
22727 s,@LIBTOOL@,$LIBTOOL,;t t
22729 s,@EGREP@,$EGREP,;t t
22730 s,@FGREP@,$FGREP,;t t
22731 s,@GREP@,$GREP,;t t
22733 s,@DUMPBIN@,$DUMPBIN,;t t
22734 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
22736 s,@LN_S@,$LN_S,;t t
22737 s,@OBJDUMP@,$OBJDUMP,;t t
22738 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
22739 s,@lt_ECHO@,$lt_ECHO,;t t
22740 s,@DSYMUTIL@,$DSYMUTIL,;t t
22741 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
22742 s,@NMEDIT@,$NMEDIT,;t t
22743 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
22744 s,@LIPO@,$LIPO,;t t
22745 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
22746 s,@OTOOL@,$OTOOL,;t t
22747 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
22748 s,@OTOOL64@,$OTOOL64,;t t
22749 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
22751 s,@CPPFLAGS@,$CPPFLAGS,;t t
22752 s,@enable_shared@,$enable_shared,;t t
22753 s,@enable_static@,$enable_static,;t t
22754 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
22755 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
22756 s,@MAINT@,$MAINT,;t t
22758 s,@FCFLAGS@,$FCFLAGS,;t t
22759 s,@LDFLAGS@,$LDFLAGS,;t t
22760 s,@ac_ct_FC@,$ac_ct_FC,;t t
22761 s,@libtool_VERSION@,$libtool_VERSION,;t t
22762 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
22763 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
22764 s,@LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE@,$LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE,;t t
22765 s,@LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE@,$LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE,;t t
22766 s,@config_path@,$config_path,;t t
22767 s,@XCFLAGS@,$XCFLAGS,;t t
22768 s,@XLDFLAGS@,$XLDFLAGS,;t t
22769 s,@link_gomp@,$link_gomp,;t t
22770 s,@USE_FORTRAN_TRUE@,$USE_FORTRAN_TRUE,;t t
22771 s,@USE_FORTRAN_FALSE@,$USE_FORTRAN_FALSE,;t t
22772 s,@OMP_LOCK_SIZE@,$OMP_LOCK_SIZE,;t t
22773 s,@OMP_LOCK_ALIGN@,$OMP_LOCK_ALIGN,;t t
22774 s,@OMP_NEST_LOCK_SIZE@,$OMP_NEST_LOCK_SIZE,;t t
22775 s,@OMP_NEST_LOCK_ALIGN@,$OMP_NEST_LOCK_ALIGN,;t t
22776 s,@OMP_LOCK_KIND@,$OMP_LOCK_KIND,;t t
22777 s,@OMP_NEST_LOCK_KIND@,$OMP_NEST_LOCK_KIND,;t t
22778 s,@OMP_LOCK_25_SIZE@,$OMP_LOCK_25_SIZE,;t t
22779 s,@OMP_LOCK_25_ALIGN@,$OMP_LOCK_25_ALIGN,;t t
22780 s,@OMP_NEST_LOCK_25_SIZE@,$OMP_NEST_LOCK_25_SIZE,;t t
22781 s,@OMP_NEST_LOCK_25_ALIGN@,$OMP_NEST_LOCK_25_ALIGN,;t t
22782 s,@OMP_LOCK_25_KIND@,$OMP_LOCK_25_KIND,;t t
22783 s,@OMP_NEST_LOCK_25_KIND@,$OMP_NEST_LOCK_25_KIND,;t t
22784 s,@LIBOBJS@,$LIBOBJS,;t t
22785 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22790 cat >>$CONFIG_STATUS <<\_ACEOF
22791 # Split the substitutions into bite-sized pieces for seds with
22792 # small command number limits, like on Digital OSF/1 and HP-UX.
22793 ac_max_sed_lines
=48
22794 ac_sed_frag
=1 # Number of current file.
22795 ac_beg
=1 # First line for current file.
22796 ac_end
=$ac_max_sed_lines # Line after last line for current file.
22799 while $ac_more_lines; do
22800 if test $ac_beg -gt 1; then
22801 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22803 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22805 if test ! -s $tmp/subs.frag
; then
22806 ac_more_lines
=false
22808 # The purpose of the label and of the branching condition is to
22809 # speed up the sed processing (if there are no `@' at all, there
22810 # is no need to browse any of the substitutions).
22811 # These are the two extra sed commands mentioned above.
22813 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
22814 if test -z "$ac_sed_cmds"; then
22815 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
22817 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22819 ac_sed_frag
=`expr $ac_sed_frag + 1`
22821 ac_end
=`expr $ac_end + $ac_max_sed_lines`
22824 if test -z "$ac_sed_cmds"; then
22827 fi # test -n "$CONFIG_FILES"
22830 cat >>$CONFIG_STATUS <<\_ACEOF
22831 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
22832 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22834 - |
*:- |
*:-:* ) # input from stdin
22836 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22837 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22838 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22839 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22840 * ) ac_file_in
=$ac_file.
in ;;
22843 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22844 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22845 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22846 X"$ac_file" : 'X\(//\)[^/]' \| \
22847 X"$ac_file" : 'X\(//\)$' \| \
22848 X"$ac_file" : 'X\(/\)' \| \
22849 . : '\(.\)' 2>/dev/null ||
22851 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22852 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22853 /^X\(\/\/\)$/{ s//\1/; q; }
22854 /^X\(\/\).*/{ s//\1/; q; }
22856 { if $as_mkdir_p; then
22861 while test ! -d "$as_dir"; do
22862 as_dirs
="$as_dir $as_dirs"
22863 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22864 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22865 X"$as_dir" : 'X\(//\)[^/]' \| \
22866 X"$as_dir" : 'X\(//\)$' \| \
22867 X"$as_dir" : 'X\(/\)' \| \
22868 . : '\(.\)' 2>/dev/null ||
22870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22871 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22872 /^X\(\/\/\)$/{ s//\1/; q; }
22873 /^X\(\/\).*/{ s//\1/; q; }
22876 test ! -n "$as_dirs" || mkdir
$as_dirs
22877 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22878 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22879 { (exit 1); exit 1; }; }; }
22883 if test "$ac_dir" != .
; then
22884 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22885 # A "../" for each directory in $ac_dir_suffix.
22886 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22888 ac_dir_suffix
= ac_top_builddir
=
22892 .
) # No --srcdir option. We are building in place.
22894 if test -z "$ac_top_builddir"; then
22897 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22899 [\\/]* | ?
:[\\/]* ) # Absolute path.
22900 ac_srcdir
=$srcdir$ac_dir_suffix;
22901 ac_top_srcdir
=$srcdir ;;
22902 *) # Relative path.
22903 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
22904 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
22907 # Do not use `cd foo && pwd` to compute absolute paths, because
22908 # the directories may not exist.
22910 .
) ac_abs_builddir
="$ac_dir";;
22913 .
) ac_abs_builddir
=`pwd`;;
22914 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
22915 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
22918 case $ac_abs_builddir in
22919 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22921 case ${ac_top_builddir}.
in
22922 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
22923 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22924 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
22927 case $ac_abs_builddir in
22928 .
) ac_abs_srcdir
=$ac_srcdir;;
22931 .
) ac_abs_srcdir
=$ac_abs_builddir;;
22932 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
22933 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
22936 case $ac_abs_builddir in
22937 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
22939 case $ac_top_srcdir in
22940 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
22941 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
22942 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
22948 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22949 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
22952 if test x
"$ac_file" != x-
; then
22953 { echo "$as_me:$LINENO: creating $ac_file" >&5
22954 echo "$as_me: creating $ac_file" >&6;}
22957 # Let's still pretend it is `configure' which instantiates (i.e., don't
22958 # use $as_me), people would be surprised to read:
22959 # /* config.h. Generated by config.status. */
22960 if test x
"$ac_file" = x-
; then
22963 configure_input
="$ac_file. "
22965 configure_input
=$configure_input"Generated from `echo $ac_file_in |
22966 sed 's,.*/,,'` by configure."
22968 # First look for the input files in the build tree, otherwise in the
22970 ac_file_inputs
=`IFS=:
22971 for f in $ac_file_in; do
22973 -) echo $tmp/stdin ;;
22975 # Absolute (can't be DOS-style, as IFS=:)
22976 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22977 echo "$as_me: error: cannot find input file: $f" >&2;}
22978 { (exit 1); exit 1; }; }
22981 if test -f "$f"; then
22984 elif test -f "$srcdir/$f"; then
22989 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22990 echo "$as_me: error: cannot find input file: $f" >&2;}
22991 { (exit 1); exit 1; }; }
22994 done` ||
{ (exit 1); exit 1; }
22996 cat >>$CONFIG_STATUS <<_ACEOF
23000 cat >>$CONFIG_STATUS <<\_ACEOF
23002 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23003 s
,@configure_input@
,$configure_input,;t t
23004 s
,@srcdir@
,$ac_srcdir,;t t
23005 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
23006 s
,@top_srcdir@
,$ac_top_srcdir,;t t
23007 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
23008 s
,@builddir@
,$ac_builddir,;t t
23009 s
,@abs_builddir@
,$ac_abs_builddir,;t t
23010 s
,@top_builddir@
,$ac_top_builddir,;t t
23011 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
23012 s
,@INSTALL@
,$ac_INSTALL,;t t
23013 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23015 if test x"$ac_file" != x-; then
23016 mv $tmp/out $ac_file
23024 cat >>$CONFIG_STATUS <<\_ACEOF
23027 # CONFIG_HEADER section.
23030 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
23031 # NAME is the cpp macro being defined and VALUE is the value it is being given.
23033 # ac_d sets the value in "#define NAME VALUE" lines.
23034 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23035 ac_dB
='[ ].*$,\1#\2'
23038 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23039 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23040 ac_uB
='$,\1#\2define\3'
23044 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
23045 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23047 - |
*:- |
*:-:* ) # input from stdin
23049 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23050 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23051 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23052 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23053 * ) ac_file_in
=$ac_file.
in ;;
23056 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
23057 echo "$as_me: creating $ac_file" >&6;}
23059 # First look for the input files in the build tree, otherwise in the
23061 ac_file_inputs
=`IFS=:
23062 for f in $ac_file_in; do
23064 -) echo $tmp/stdin ;;
23066 # Absolute (can't be DOS-style, as IFS=:)
23067 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23068 echo "$as_me: error: cannot find input file: $f" >&2;}
23069 { (exit 1); exit 1; }; }
23070 # Do quote $f, to prevent DOS paths from being IFS'd.
23073 if test -f "$f"; then
23076 elif test -f "$srcdir/$f"; then
23081 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23082 echo "$as_me: error: cannot find input file: $f" >&2;}
23083 { (exit 1); exit 1; }; }
23086 done` ||
{ (exit 1); exit 1; }
23087 # Remove the trailing spaces.
23088 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
23092 # Transform confdefs.h into two sed scripts, `conftest.defines' and
23093 # `conftest.undefs', that substitutes the proper values into
23094 # config.h.in to produce config.h. The first handles `#define'
23095 # templates, and the second `#undef' templates.
23096 # And first: Protect against being on the right side of a sed subst in
23097 # config.status. Protect against being in an unquoted here document
23098 # in config.status.
23099 rm -f conftest.defines conftest.undefs
23100 # Using a here document instead of a string reduces the quoting nightmare.
23101 # Putting comments in sed scripts is not portable.
23103 # `end' is used to avoid that the second main sed command (meant for
23104 # 0-ary CPP macros) applies to n-ary macro definitions.
23105 # See the Autoconf documentation for `clear'.
23106 cat >confdef2sed.
sed <<\_ACEOF
23111 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23113 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23116 # If some macros were called several times there might be several times
23117 # the same #defines, which is useless. Nevertheless, we may not want to
23118 # sort them, since we want the *last* AC-DEFINE to be honored.
23119 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23120 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23121 rm -f confdef2sed.sed
23123 # This sed command replaces #undef with comments. This is necessary, for
23124 # example, in the case of _POSIX_SOURCE, which is predefined and required
23125 # on some systems where configure will not decide to define it.
23126 cat >>conftest.undefs <<\_ACEOF
23127 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23130 # Break up conftest.defines because some shells have a limit on the size
23131 # of here documents, and old seds have small limits too (100 cmds).
23132 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23133 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23134 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23135 echo ' :' >>$CONFIG_STATUS
23136 rm -f conftest.tail
23137 while grep . conftest.defines >/dev/null
23139 # Write a limited-size here document to $tmp/defines.sed.
23140 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23141 # Speed up: don't consider the non `#define' lines.
23142 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
23143 # Work around the forget-to-reset-the-flag bug.
23144 echo 't clr' >>$CONFIG_STATUS
23145 echo ': clr' >>$CONFIG_STATUS
23146 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
23148 sed -f $tmp/defines.sed $tmp/in >$tmp/out
23150 mv $tmp/out $tmp/in
23152 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
23153 rm -f conftest.defines
23154 mv conftest.
tail conftest.defines
23156 rm -f conftest.defines
23157 echo ' fi # grep' >>$CONFIG_STATUS
23158 echo >>$CONFIG_STATUS
23160 # Break up conftest.undefs because some shells have a limit on the size
23161 # of here documents, and old seds have small limits too (100 cmds).
23162 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23163 rm -f conftest.
tail
23164 while grep . conftest.undefs
>/dev
/null
23166 # Write a limited-size here document to $tmp/undefs.sed.
23167 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23168 # Speed up: don't consider the non
`#undef'
23169 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23170 # Work around the forget-to-reset-the-flag bug.
23171 echo 't clr' >>$CONFIG_STATUS
23172 echo ': clr' >>$CONFIG_STATUS
23173 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23175 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23177 mv $tmp/out $tmp/in
23179 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23180 rm -f conftest.undefs
23181 mv conftest.tail conftest.undefs
23183 rm -f conftest.undefs
23185 cat >>$CONFIG_STATUS <<\_ACEOF
23186 # Let's still pretend it is `configure
' which instantiates (i.e., don't
23187 # use $as_me), people would be surprised to read:
23188 # /* config.h. Generated by config.status. */
23189 if test x
"$ac_file" = x-
; then
23190 echo "/* Generated by configure. */" >$tmp/config.h
23192 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23194 cat $tmp/in >>$tmp/config.h
23196 if test x
"$ac_file" != x-
; then
23197 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
23198 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23199 echo "$as_me: $ac_file is unchanged" >&6;}
23201 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23202 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23203 X"$ac_file" : 'X\(//\)[^/]' \| \
23204 X"$ac_file" : 'X\(//\)$' \| \
23205 X"$ac_file" : 'X\(/\)' \| \
23206 . : '\(.\)' 2>/dev/null ||
23208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23209 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23210 /^X\(\/\/\)$/{ s//\1/; q; }
23211 /^X\(\/\).*/{ s//\1/; q; }
23213 { if $as_mkdir_p; then
23218 while test ! -d "$as_dir"; do
23219 as_dirs
="$as_dir $as_dirs"
23220 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23221 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23222 X"$as_dir" : 'X\(//\)[^/]' \| \
23223 X"$as_dir" : 'X\(//\)$' \| \
23224 X"$as_dir" : 'X\(/\)' \| \
23225 . : '\(.\)' 2>/dev/null ||
23227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23228 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23229 /^X\(\/\/\)$/{ s//\1/; q; }
23230 /^X\(\/\).*/{ s//\1/; q; }
23233 test ! -n "$as_dirs" || mkdir
$as_dirs
23234 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23235 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23236 { (exit 1); exit 1; }; }; }
23239 mv $tmp/config.h
$ac_file
23243 rm -f $tmp/config.h
23245 # Compute $ac_file's index in $config_headers.
23247 for _am_header
in $config_headers :; do
23248 case $_am_header in
23249 $ac_file |
$ac_file:* )
23252 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23255 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
23256 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23257 X$ac_file : 'X\(//\)[^/]' \| \
23258 X$ac_file : 'X\(//\)$' \| \
23259 X$ac_file : 'X\(/\)' \| \
23260 . : '\(.\)' 2>/dev/null ||
23262 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23263 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23264 /^X\(\/\/\)$/{ s//\1/; q; }
23265 /^X\(\/\).*/{ s//\1/; q; }
23266 s/.*/./; q'`/stamp-h
$_am_stamp_count
23269 cat >>$CONFIG_STATUS <<\_ACEOF
23272 # CONFIG_COMMANDS section.
23274 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
23275 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
23276 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23277 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
23278 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23279 X"$ac_dest" : 'X\(//\)[^/]' \| \
23280 X"$ac_dest" : 'X\(//\)$' \| \
23281 X"$ac_dest" : 'X\(/\)' \| \
23282 . : '\(.\)' 2>/dev/null ||
23284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23285 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23286 /^X\(\/\/\)$/{ s//\1/; q; }
23287 /^X\(\/\).*/{ s//\1/; q; }
23289 { if $as_mkdir_p; then
23294 while test ! -d "$as_dir"; do
23295 as_dirs
="$as_dir $as_dirs"
23296 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23298 X"$as_dir" : 'X\(//\)[^/]' \| \
23299 X"$as_dir" : 'X\(//\)$' \| \
23300 X"$as_dir" : 'X\(/\)' \| \
23301 . : '\(.\)' 2>/dev/null ||
23303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23304 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23305 /^X\(\/\/\)$/{ s//\1/; q; }
23306 /^X\(\/\).*/{ s//\1/; q; }
23309 test ! -n "$as_dirs" || mkdir
$as_dirs
23310 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23311 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23312 { (exit 1); exit 1; }; }; }
23316 if test "$ac_dir" != .
; then
23317 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23318 # A "../" for each directory in $ac_dir_suffix.
23319 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23321 ac_dir_suffix
= ac_top_builddir
=
23325 .
) # No --srcdir option. We are building in place.
23327 if test -z "$ac_top_builddir"; then
23330 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23332 [\\/]* | ?
:[\\/]* ) # Absolute path.
23333 ac_srcdir
=$srcdir$ac_dir_suffix;
23334 ac_top_srcdir
=$srcdir ;;
23335 *) # Relative path.
23336 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23337 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23340 # Do not use `cd foo && pwd` to compute absolute paths, because
23341 # the directories may not exist.
23343 .
) ac_abs_builddir
="$ac_dir";;
23346 .
) ac_abs_builddir
=`pwd`;;
23347 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23348 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23351 case $ac_abs_builddir in
23352 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23354 case ${ac_top_builddir}.
in
23355 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23356 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23357 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23360 case $ac_abs_builddir in
23361 .
) ac_abs_srcdir
=$ac_srcdir;;
23364 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23365 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23366 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23369 case $ac_abs_builddir in
23370 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23372 case $ac_top_srcdir in
23373 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23374 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23375 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23380 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23381 echo "$as_me: executing $ac_dest commands" >&6;}
23384 # Only add multilib support code if we just rebuilt the top-level
23386 case " $CONFIG_FILES " in
23388 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
23391 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
23392 # Strip MF so we end up with the name of the file.
23393 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23394 # Check whether this is an Automake generated Makefile or not.
23395 # We used to match only the files named `Makefile.in', but
23396 # some people rename them; so instead we look at the file content.
23397 # Grep'ing the first line is not enough: some people post-process
23398 # each Makefile.in and add a new line on top of each file to say so.
23399 # So let's grep whole file.
23400 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
23401 dirpart
=`(dirname "$mf") 2>/dev/null ||
23402 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23403 X"$mf" : 'X\(//\)[^/]' \| \
23404 X"$mf" : 'X\(//\)$' \| \
23405 X"$mf" : 'X\(/\)' \| \
23406 . : '\(.\)' 2>/dev/null ||
23408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23409 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23410 /^X\(\/\/\)$/{ s//\1/; q; }
23411 /^X\(\/\).*/{ s//\1/; q; }
23416 # Extract the definition of DEPDIR, am__include, and am__quote
23417 # from the Makefile without running `make'.
23418 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23419 test -z "$DEPDIR" && continue
23420 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23421 test -z "am__include" && continue
23422 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23423 # When using ansi2knr, U may be empty or an underscore; expand it
23424 U
=`sed -n 's/^U = //p' < "$mf"`
23425 # Find all dependency output files, they are included files with
23426 # $(DEPDIR) in their names. We invoke sed twice because it is the
23427 # simplest approach to changing $(DEPDIR) to its actual value in the
23429 for file in `sed -n "
23430 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23431 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23432 # Make sure the directory exists.
23433 test -f "$dirpart/$file" && continue
23434 fdir
=`(dirname "$file") 2>/dev/null ||
23435 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23436 X"$file" : 'X\(//\)[^/]' \| \
23437 X"$file" : 'X\(//\)$' \| \
23438 X"$file" : 'X\(/\)' \| \
23439 . : '\(.\)' 2>/dev/null ||
23441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23442 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23443 /^X\(\/\/\)$/{ s//\1/; q; }
23444 /^X\(\/\).*/{ s//\1/; q; }
23446 { if $as_mkdir_p; then
23447 mkdir
-p $dirpart/$fdir
23449 as_dir
=$dirpart/$fdir
23451 while test ! -d "$as_dir"; do
23452 as_dirs
="$as_dir $as_dirs"
23453 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23454 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23455 X"$as_dir" : 'X\(//\)[^/]' \| \
23456 X"$as_dir" : 'X\(//\)$' \| \
23457 X"$as_dir" : 'X\(/\)' \| \
23458 . : '\(.\)' 2>/dev/null ||
23460 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23461 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23462 /^X\(\/\/\)$/{ s//\1/; q; }
23463 /^X\(\/\).*/{ s//\1/; q; }
23466 test ! -n "$as_dirs" || mkdir
$as_dirs
23467 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
23468 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
23469 { (exit 1); exit 1; }; }; }
23471 # echo "creating $dirpart/$file"
23472 echo '# dummy' > "$dirpart/$file"
23478 # See if we are running on zsh, and set the options which allow our
23479 # commands through without removal of \ escapes.
23480 if test -n "${ZSH_VERSION+set}" ; then
23481 setopt NO_GLOB_SUBST
23484 cfgfile
="${ofile}T"
23485 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23488 cat <<_LT_EOF >> "$cfgfile"
23491 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
23492 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
23493 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23494 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23496 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
23497 # 2006, 2007, 2008 Free Software Foundation, Inc.
23498 # Written by Gordon Matzigkeit, 1996
23500 # This file is part of GNU Libtool.
23502 # GNU Libtool is free software; you can redistribute it and/or
23503 # modify it under the terms of the GNU General Public License as
23504 # published by the Free Software Foundation; either version 2 of
23505 # the License, or (at your option) any later version.
23507 # As a special exception to the GNU General Public License,
23508 # if you distribute this file as part of a program or library that
23509 # is built using GNU Libtool, you may include this file under the
23510 # same distribution terms that you use for the rest of that program.
23512 # GNU Libtool is distributed in the hope that it will be useful,
23513 # but WITHOUT ANY WARRANTY; without even the implied warranty of
23514 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23515 # GNU General Public License for more details.
23517 # You should have received a copy of the GNU General Public License
23518 # along with GNU Libtool; see the file COPYING. If not, a copy
23519 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
23520 # obtained by writing to the Free Software Foundation, Inc.,
23521 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23524 # The names of the tagged configurations supported by this script.
23525 available_tags="FC "
23527 # ### BEGIN LIBTOOL CONFIG
23529 # Which release of libtool.m4 was used?
23530 macro_version=$macro_version
23531 macro_revision=$macro_revision
23533 # Whether or not to build shared libraries.
23534 build_libtool_libs=$enable_shared
23536 # Whether or not to build static libraries.
23537 build_old_libs=$enable_static
23539 # What type of objects to build.
23542 # Whether or not to optimize for fast installation.
23543 fast_install=$enable_fast_install
23546 host_alias=$host_alias
23550 # The build system.
23551 build_alias=$build_alias
23555 # A sed program that does not truncate output.
23558 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23559 Xsed="\$SED -e 1s/^X//"
23561 # A grep program that handles long lines.
23567 # A literal string matcher.
23570 # A BSD- or MS-compatible name lister.
23573 # Whether we need soft or hard links.
23576 # What is the maximum length of a command?
23577 max_cmd_len=$max_cmd_len
23579 # Object file suffix (normally "o").
23582 # Executable file suffix (normally "").
23585 # whether the shell understands "unset".
23588 # turn spaces into newlines.
23591 # turn newlines into spaces.
23594 # How to create reloadable object files.
23595 reload_flag=$lt_reload_flag
23596 reload_cmds=$lt_reload_cmds
23598 # An object symbol dumper.
23599 OBJDUMP=$lt_OBJDUMP
23601 # Method to check whether dependent libraries are shared objects.
23602 deplibs_check_method=$lt_deplibs_check_method
23604 # Command to use when deplibs_check_method == "file_magic".
23605 file_magic_cmd=$lt_file_magic_cmd
23609 AR_FLAGS=$lt_AR_FLAGS
23611 # A symbol stripping program.
23614 # Commands used to install an old-style archive.
23616 old_postinstall_cmds=$lt_old_postinstall_cmds
23617 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23622 # LTCC compiler flags.
23623 LTCFLAGS=$lt_CFLAGS
23625 # Take the output of nm and produce a listing of raw symbols and C names.
23626 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23628 # Transform the output of nm in a proper C declaration.
23629 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23631 # Transform the output of nm in a C name address pair.
23632 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23634 # Transform the output of nm in a C name address pair when lib prefix is needed.
23635 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23637 # The name of the directory that contains temporary libtool files.
23640 # Shell to use when invoking shell scripts.
23643 # An echo program that does not interpret backslashes.
23646 # Used to examine libraries when file_magic_cmd begins with "file".
23647 MAGIC_CMD=$MAGIC_CMD
23649 # Must we lock files when doing compilation?
23650 need_locks=$lt_need_locks
23652 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23653 DSYMUTIL=$lt_DSYMUTIL
23655 # Tool to change global to local symbols on Mac OS X.
23658 # Tool to manipulate fat objects and archives on Mac OS X.
23661 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23664 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23665 OTOOL64=$lt_OTOOL64
23667 # Old archive suffix (normally "a").
23670 # Shared library suffix (normally ".so").
23671 shrext_cmds=$lt_shrext_cmds
23673 # The commands to extract the exported symbol list from a shared archive.
23674 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23676 # Variables whose values should be saved in libtool wrapper scripts and
23677 # restored at link time.
23678 variables_saved_for_relink=$lt_variables_saved_for_relink
23680 # Do we need the "lib" prefix for modules?
23681 need_lib_prefix=$need_lib_prefix
23683 # Do we need a version for libraries?
23684 need_version=$need_version
23686 # Library versioning type.
23687 version_type=$version_type
23689 # Shared library runtime path variable.
23690 runpath_var=$runpath_var
23692 # Shared library path variable.
23693 shlibpath_var=$shlibpath_var
23695 # Is shlibpath searched before the hard-coded library search path?
23696 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23698 # Format of library name prefix.
23699 libname_spec=$lt_libname_spec
23701 # List of archive names. First name is the real one, the rest are links.
23702 # The last name is the one that the linker finds with -lNAME
23703 library_names_spec=$lt_library_names_spec
23705 # The coded name of the library, if different from the real name.
23706 soname_spec=$lt_soname_spec
23708 # Command to use after installation of a shared archive.
23709 postinstall_cmds=$lt_postinstall_cmds
23711 # Command to use after uninstallation of a shared archive.
23712 postuninstall_cmds=$lt_postuninstall_cmds
23714 # Commands used to finish a libtool library installation in a directory.
23715 finish_cmds=$lt_finish_cmds
23717 # As "finish_cmds", except a single script fragment to be evaled but
23719 finish_eval=$lt_finish_eval
23721 # Whether we should hardcode library paths into libraries.
23722 hardcode_into_libs=$hardcode_into_libs
23724 # Compile-time system search path for libraries.
23725 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23727 # Run-time system search path for libraries.
23728 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23730 # Whether dlopen is supported.
23731 dlopen_support=$enable_dlopen
23733 # Whether dlopen of programs is supported.
23734 dlopen_self=$enable_dlopen_self
23736 # Whether dlopen of statically linked programs is supported.
23737 dlopen_self_static=$enable_dlopen_self_static
23739 # Commands to strip libraries.
23740 old_striplib=$lt_old_striplib
23741 striplib=$lt_striplib
23744 # The linker used to build libraries.
23747 # Commands used to build an old-style archive.
23748 old_archive_cmds=$lt_old_archive_cmds
23750 # A language specific compiler.
23753 # Is the compiler the GNU compiler?
23756 # Compiler flag to turn off builtin functions.
23757 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23759 # How to pass a linker flag through the compiler.
23760 wl=$lt_lt_prog_compiler_wl
23762 # Additional compiler flags for building library objects.
23763 pic_flag=$lt_lt_prog_compiler_pic
23765 # Compiler flag to prevent dynamic linking.
23766 link_static_flag=$lt_lt_prog_compiler_static
23768 # Does compiler simultaneously support -c and -o options?
23769 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23771 # Whether or not to add -lc for building shared libraries.
23772 build_libtool_need_lc=$archive_cmds_need_lc
23774 # Whether or not to disallow shared libs when runtime libs are static.
23775 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23777 # Compiler flag to allow reflexive dlopens.
23778 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23780 # Compiler flag to generate shared objects directly from archives.
23781 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23783 # Whether the compiler copes with passing no objects directly.
23784 compiler_needs_object=$lt_compiler_needs_object
23786 # Create an old-style archive from a shared archive.
23787 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23789 # Create a temporary old-style archive to link instead of a shared archive.
23790 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23792 # Commands used to build a shared archive.
23793 archive_cmds=$lt_archive_cmds
23794 archive_expsym_cmds=$lt_archive_expsym_cmds
23796 # Commands used to build a loadable module if different from building
23797 # a shared archive.
23798 module_cmds=$lt_module_cmds
23799 module_expsym_cmds=$lt_module_expsym_cmds
23801 # Whether we are building with GNU ld or not.
23802 with_gnu_ld=$lt_with_gnu_ld
23804 # Flag that allows shared libraries with undefined symbols to be built.
23805 allow_undefined_flag=$lt_allow_undefined_flag
23807 # Flag that enforces no undefined symbols.
23808 no_undefined_flag=$lt_no_undefined_flag
23810 # Flag to hardcode \$libdir into a binary during linking.
23811 # This must work even if \$libdir does not exist
23812 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23814 # If ld is used when linking, flag to hardcode \$libdir into a binary
23815 # during linking. This must work even if \$libdir does not exist.
23816 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
23818 # Whether we need a single "-rpath" flag with a separated argument.
23819 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23821 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23822 # DIR into the resulting binary.
23823 hardcode_direct=$hardcode_direct
23825 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23826 # DIR into the resulting binary and the resulting library dependency is
23827 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23828 # library is relocated.
23829 hardcode_direct_absolute=$hardcode_direct_absolute
23831 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23832 # into the resulting binary.
23833 hardcode_minus_L=$hardcode_minus_L
23835 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23836 # into the resulting binary.
23837 hardcode_shlibpath_var=$hardcode_shlibpath_var
23839 # Set to "yes" if building a shared library automatically hardcodes DIR
23840 # into the library and all subsequent libraries and executables linked
23842 hardcode_automatic=$hardcode_automatic
23844 # Set to yes if linker adds runtime paths of dependent libraries
23845 # to runtime path list.
23846 inherit_rpath=$inherit_rpath
23848 # Whether libtool must link a program against all its dependency libraries.
23849 link_all_deplibs=$link_all_deplibs
23851 # Fix the shell variable \$srcfile for the compiler.
23852 fix_srcfile_path=$lt_fix_srcfile_path
23854 # Set to "yes" if exported symbols are required.
23855 always_export_symbols=$always_export_symbols
23857 # The commands to list exported symbols.
23858 export_symbols_cmds=$lt_export_symbols_cmds
23860 # Symbols that should not be listed in the preloaded symbols.
23861 exclude_expsyms=$lt_exclude_expsyms
23863 # Symbols that must always be exported.
23864 include_expsyms=$lt_include_expsyms
23866 # Commands necessary for linking programs (against libraries) with templates.
23867 prelink_cmds=$lt_prelink_cmds
23869 # Specify filename containing input files.
23870 file_list_spec=$lt_file_list_spec
23872 # How to hardcode a shared library path into an executable.
23873 hardcode_action=$hardcode_action
23875 # The directories searched by this compiler when creating a shared library.
23876 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23878 # Dependencies to place before and after the objects being linked to
23879 # create a shared library.
23880 predep_objects=$lt_predep_objects
23881 postdep_objects=$lt_postdep_objects
23882 predeps=$lt_predeps
23883 postdeps=$lt_postdeps
23885 # The library search path used internally by the compiler when linking
23886 # a shared library.
23887 compiler_lib_search_path=$lt_compiler_lib_search_path
23889 # ### END LIBTOOL CONFIG
23895 cat <<\_LT_EOF
>> "$cfgfile"
23896 # AIX sometimes has problems with the GCC collect2 program. For some
23897 # reason, if we set the COLLECT_NAMES environment variable, the problems
23898 # vanish in a puff of smoke.
23899 if test "X${COLLECT_NAMES+set}" != Xset
; then
23901 export COLLECT_NAMES
23908 ltmain
="$ac_aux_dir/ltmain.sh"
23911 # We use sed instead of cat because bash on DJGPP gets confused if
23912 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23913 # text mode, it properly converts lines to CR/LF. This bash problem
23914 # is reportedly fixed, but why not run on old versions too?
23915 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
23916 ||
(rm -f "$cfgfile"; exit 1)
23920 cat << \_LT_EOF
>> "$cfgfile"
23922 # func_dirname file append nondir_replacement
23923 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
23924 # otherwise set result to NONDIR_REPLACEMENT.
23928 */*) func_dirname_result
="${1%/*}${2}" ;;
23929 * ) func_dirname_result
="${3}" ;;
23933 # func_basename file
23936 func_basename_result
="${1##*/}"
23939 # func_dirname_and_basename file append nondir_replacement
23940 # perform func_basename and func_dirname in a single function
23942 # dirname: Compute the dirname of FILE. If nonempty,
23943 # add APPEND to the result, otherwise set result
23944 # to NONDIR_REPLACEMENT.
23945 # value returned in "$func_dirname_result"
23946 # basename: Compute filename of FILE.
23947 # value retuned in "$func_basename_result"
23948 # Implementation must be kept synchronized with func_dirname
23949 # and func_basename. For efficiency, we do not delegate to
23950 # those functions but instead duplicate the functionality here.
23951 func_dirname_and_basename
()
23954 */*) func_dirname_result
="${1%/*}${2}" ;;
23955 * ) func_dirname_result
="${3}" ;;
23957 func_basename_result
="${1##*/}"
23960 # func_stripname prefix suffix name
23961 # strip PREFIX and SUFFIX off of NAME.
23962 # PREFIX and SUFFIX must not contain globbing or regex special
23963 # characters, hashes, percent signs, but SUFFIX may contain a leading
23964 # dot (in which case that matches only a dot).
23967 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
23968 # positional parameters, so assign one to ordinary parameter first.
23969 func_stripname_result
=${3}
23970 func_stripname_result
=${func_stripname_result#"${1}"}
23971 func_stripname_result
=${func_stripname_result%"${2}"}
23977 func_opt_split_opt
=${1%%=*}
23978 func_opt_split_arg
=${1#*=}
23985 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
23986 *) func_lo2o_result
=${1} ;;
23990 # func_xform libobj-or-source
23993 func_xform_result
=${1%.*}.lo
23996 # func_arith arithmetic-term...
23999 func_arith_result
=$
(( $
* ))
24003 # STRING may not start with a hyphen.
24006 func_len_result
=${#1}
24011 *) # Bourne compatible functions.
24012 cat << \_LT_EOF
>> "$cfgfile"
24014 # func_dirname file append nondir_replacement
24015 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
24016 # otherwise set result to NONDIR_REPLACEMENT.
24019 # Extract subdirectory from the argument.
24020 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
24021 if test "X$func_dirname_result" = "X${1}"; then
24022 func_dirname_result
="${3}"
24024 func_dirname_result
="$func_dirname_result${2}"
24028 # func_basename file
24031 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
24035 # func_stripname prefix suffix name
24036 # strip PREFIX and SUFFIX off of NAME.
24037 # PREFIX and SUFFIX must not contain globbing or regex special
24038 # characters, hashes, percent signs, but SUFFIX may contain a leading
24039 # dot (in which case that matches only a dot).
24040 # func_strip_suffix prefix name
24044 .
*) func_stripname_result
=`$ECHO "X${3}" \
24045 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
24046 *) func_stripname_result
=`$ECHO "X${3}" \
24047 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
24052 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
24053 my_sed_long_arg
='1s/^-[^=]*=//'
24058 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
24059 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
24065 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
24068 # func_xform libobj-or-source
24071 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
24074 # func_arith arithmetic-term...
24077 func_arith_result
=`expr "$@"`
24081 # STRING may not start with a hyphen.
24084 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
24090 case $lt_shell_append in
24092 cat << \_LT_EOF
>> "$cfgfile"
24094 # func_append var value
24095 # Append VALUE to the end of shell variable VAR.
24103 cat << \_LT_EOF
>> "$cfgfile"
24105 # func_append var value
24106 # Append VALUE to the end of shell variable VAR.
24117 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
24118 ||
(rm -f "$cfgfile"; exit 1)
24120 mv -f "$cfgfile" "$ofile" ||
24121 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24125 cat <<_LT_EOF >> "$ofile"
24127 # ### BEGIN LIBTOOL TAG CONFIG: FC
24129 # The linker used to build libraries.
24132 # Commands used to build an old-style archive.
24133 old_archive_cmds=$lt_old_archive_cmds_FC
24135 # A language specific compiler.
24138 # Is the compiler the GNU compiler?
24141 # Compiler flag to turn off builtin functions.
24142 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
24144 # How to pass a linker flag through the compiler.
24145 wl=$lt_lt_prog_compiler_wl_FC
24147 # Additional compiler flags for building library objects.
24148 pic_flag=$lt_lt_prog_compiler_pic_FC
24150 # Compiler flag to prevent dynamic linking.
24151 link_static_flag=$lt_lt_prog_compiler_static_FC
24153 # Does compiler simultaneously support -c and -o options?
24154 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
24156 # Whether or not to add -lc for building shared libraries.
24157 build_libtool_need_lc=$archive_cmds_need_lc_FC
24159 # Whether or not to disallow shared libs when runtime libs are static.
24160 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
24162 # Compiler flag to allow reflexive dlopens.
24163 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
24165 # Compiler flag to generate shared objects directly from archives.
24166 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
24168 # Whether the compiler copes with passing no objects directly.
24169 compiler_needs_object=$lt_compiler_needs_object_FC
24171 # Create an old-style archive from a shared archive.
24172 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
24174 # Create a temporary old-style archive to link instead of a shared archive.
24175 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
24177 # Commands used to build a shared archive.
24178 archive_cmds=$lt_archive_cmds_FC
24179 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
24181 # Commands used to build a loadable module if different from building
24182 # a shared archive.
24183 module_cmds=$lt_module_cmds_FC
24184 module_expsym_cmds=$lt_module_expsym_cmds_FC
24186 # Whether we are building with GNU ld or not.
24187 with_gnu_ld=$lt_with_gnu_ld_FC
24189 # Flag that allows shared libraries with undefined symbols to be built.
24190 allow_undefined_flag=$lt_allow_undefined_flag_FC
24192 # Flag that enforces no undefined symbols.
24193 no_undefined_flag=$lt_no_undefined_flag_FC
24195 # Flag to hardcode \$libdir into a binary during linking.
24196 # This must work even if \$libdir does not exist
24197 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
24199 # If ld is used when linking, flag to hardcode \$libdir into a binary
24200 # during linking. This must work even if \$libdir does not exist.
24201 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
24203 # Whether we need a single "-rpath" flag with a separated argument.
24204 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
24206 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24207 # DIR into the resulting binary.
24208 hardcode_direct=$hardcode_direct_FC
24210 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24211 # DIR into the resulting binary and the resulting library dependency is
24212 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24213 # library is relocated.
24214 hardcode_direct_absolute=$hardcode_direct_absolute_FC
24216 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24217 # into the resulting binary.
24218 hardcode_minus_L=$hardcode_minus_L_FC
24220 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24221 # into the resulting binary.
24222 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
24224 # Set to "yes" if building a shared library automatically hardcodes DIR
24225 # into the library and all subsequent libraries and executables linked
24227 hardcode_automatic=$hardcode_automatic_FC
24229 # Set to yes if linker adds runtime paths of dependent libraries
24230 # to runtime path list.
24231 inherit_rpath=$inherit_rpath_FC
24233 # Whether libtool must link a program against all its dependency libraries.
24234 link_all_deplibs=$link_all_deplibs_FC
24236 # Fix the shell variable \$srcfile for the compiler.
24237 fix_srcfile_path=$lt_fix_srcfile_path_FC
24239 # Set to "yes" if exported symbols are required.
24240 always_export_symbols=$always_export_symbols_FC
24242 # The commands to list exported symbols.
24243 export_symbols_cmds=$lt_export_symbols_cmds_FC
24245 # Symbols that should not be listed in the preloaded symbols.
24246 exclude_expsyms=$lt_exclude_expsyms_FC
24248 # Symbols that must always be exported.
24249 include_expsyms=$lt_include_expsyms_FC
24251 # Commands necessary for linking programs (against libraries) with templates.
24252 prelink_cmds=$lt_prelink_cmds_FC
24254 # Specify filename containing input files.
24255 file_list_spec=$lt_file_list_spec_FC
24257 # How to hardcode a shared library path into an executable.
24258 hardcode_action=$hardcode_action_FC
24260 # The directories searched by this compiler when creating a shared library.
24261 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
24263 # Dependencies to place before and after the objects being linked to
24264 # create a shared library.
24265 predep_objects=$lt_predep_objects_FC
24266 postdep_objects=$lt_postdep_objects_FC
24267 predeps=$lt_predeps_FC
24268 postdeps=$lt_postdeps_FC
24270 # The library search path used internally by the compiler when linking
24271 # a shared library.
24272 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
24274 # ### END LIBTOOL TAG CONFIG: FC
24279 if test "$GCC" = yes; then
24280 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
24282 echo "/* generated for $CC */" > tmp-stdint.h
24285 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24287 #ifndef GCC_GENERATED_STDINT_H
24288 #define GCC_GENERATED_STDINT_H 1
24290 #include <sys/types.h>
24293 if test "$acx_cv_header_stdint" != stdint.h
; then
24294 echo "#include <stddef.h>" >> tmp-stdint.h
24296 if test "$acx_cv_header_stdint" != stddef.h
; then
24297 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
24300 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24301 /* glibc uses these symbols as guards to prevent redefinitions. */
24302 #ifdef __int8_t_defined
24307 #ifdef __uint32_t_defined
24313 # ----------------- done header, emit basic int types -------------
24314 if test "$acx_cv_header_stdint" = stddef.h
; then
24315 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24319 #ifndef __uint8_t_defined
24320 #define __uint8_t_defined
24321 typedef unsigned $acx_cv_type_int8_t uint8_t;
24327 #ifndef __uint16_t_defined
24328 #define __uint16_t_defined
24329 typedef unsigned $acx_cv_type_int16_t uint16_t;
24335 #ifndef __uint32_t_defined
24336 #define __uint32_t_defined
24337 typedef unsigned $acx_cv_type_int32_t uint32_t;
24343 #ifndef __int8_t_defined
24344 #define __int8_t_defined
24345 typedef $acx_cv_type_int8_t int8_t;
24351 #ifndef __int16_t_defined
24352 #define __int16_t_defined
24353 typedef $acx_cv_type_int16_t int16_t;
24359 #ifndef __int32_t_defined
24360 #define __int32_t_defined
24361 typedef $acx_cv_type_int32_t int32_t;
24365 elif test "$ac_cv_type_u_int32_t" = yes; then
24366 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24368 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
24381 #ifndef __uint8_t_defined
24382 #define __uint8_t_defined
24383 typedef u_int8_t uint8_t;
24389 #ifndef __uint16_t_defined
24390 #define __uint16_t_defined
24391 typedef u_int16_t uint16_t;
24397 #ifndef __uint32_t_defined
24398 #define __uint32_t_defined
24399 typedef u_int32_t uint32_t;
24404 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24406 /* Some systems have guard macros to prevent redefinitions, define them. */
24428 # ------------- done basic int types, emit int64_t types ------------
24429 if test "$ac_cv_type_uint64_t" = yes; then
24430 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24432 /* system headers have good uint64_t and int64_t */
24440 elif test "$ac_cv_type_u_int64_t" = yes; then
24441 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24443 /* system headers have an u_int64_t (and int64_t) */
24449 #ifndef __uint64_t_defined
24450 #define __uint64_t_defined
24451 typedef u_int64_t uint64_t;
24455 elif test -n "$acx_cv_type_int64_t"; then
24456 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24458 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
24461 typedef $acx_cv_type_int64_t int64_t;
24465 #ifndef __uint64_t_defined
24466 #define __uint64_t_defined
24467 typedef unsigned $acx_cv_type_int64_t uint64_t;
24472 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24474 /* some common heuristics for int64_t, using compiler-specific tests */
24475 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
24478 #ifndef __int64_t_defined
24479 typedef long long int64_t;
24484 typedef unsigned long long uint64_t;
24487 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
24488 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
24489 does not implement __extension__. But that compiler doesn't define
24491 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
24492 # define __extension__
24497 __extension__ typedef long long int64_t;
24501 __extension__ typedef unsigned long long uint64_t;
24504 #elif !defined __STRICT_ANSI__
24505 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
24509 typedef __int64 int64_t;
24513 typedef unsigned __int64 uint64_t;
24515 # endif /* compiler */
24517 #endif /* ANSI version */
24521 # ------------- done int64_t types, emit intptr types ------------
24522 if test "$ac_cv_type_uintptr_t" != yes; then
24523 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24525 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
24526 #ifndef __uintptr_t_defined
24527 typedef u$acx_cv_type_intptr_t uintptr_t;
24529 #ifndef __intptr_t_defined
24530 typedef $acx_cv_type_intptr_t intptr_t;
24535 # ------------- done intptr types, emit int_least types ------------
24536 if test "$ac_cv_type_int_least32_t" != yes; then
24537 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24539 /* Define int_least types */
24540 typedef int8_t int_least8_t;
24541 typedef int16_t int_least16_t;
24542 typedef int32_t int_least32_t;
24544 typedef int64_t int_least64_t;
24547 typedef uint8_t uint_least8_t;
24548 typedef uint16_t uint_least16_t;
24549 typedef uint32_t uint_least32_t;
24551 typedef uint64_t uint_least64_t;
24556 # ------------- done intptr types, emit int_fast types ------------
24557 if test "$ac_cv_type_int_fast32_t" != yes; then
24558 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24560 /* Define int_fast types. short is often slow */
24561 typedef int8_t int_fast8_t;
24562 typedef int int_fast16_t;
24563 typedef int32_t int_fast32_t;
24565 typedef int64_t int_fast64_t;
24568 typedef uint8_t uint_fast8_t;
24569 typedef unsigned int uint_fast16_t;
24570 typedef uint32_t uint_fast32_t;
24572 typedef uint64_t uint_fast64_t;
24577 if test "$ac_cv_type_uintmax_t" != yes; then
24578 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24580 /* Define intmax based on what we found */
24582 typedef int64_t intmax_t;
24584 typedef long intmax_t;
24587 typedef uint64_t uintmax_t;
24589 typedef unsigned long uintmax_t;
24594 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24596 #endif /* GCC_GENERATED_STDINT_H */
24599 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
24602 mv -f tmp-stdint.h gstdint.h
24610 cat >>$CONFIG_STATUS <<\_ACEOF
24612 { (exit 0); exit 0; }
24614 chmod +x
$CONFIG_STATUS
24615 ac_clean_files
=$ac_clean_files_save
24618 # configure is writing to config.log, and then calls config.status.
24619 # config.status does its own redirection, appending to config.log.
24620 # Unfortunately, on DOS this fails, as config.log is still kept open
24621 # by configure, so config.status won't be able to write to it; its
24622 # output is simply discarded. So we exec the FD to /dev/null,
24623 # effectively closing config.log, so it can be properly (re)opened and
24624 # appended to by config.status. When coming back to configure, we
24625 # need to make the FD available again.
24626 if test "$no_create" != yes; then
24628 ac_config_status_args
=
24629 test "$silent" = yes &&
24630 ac_config_status_args
="$ac_config_status_args --quiet"
24632 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24634 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24635 # would make configure fail if this is the last instruction.
24636 $ac_cs_success ||
{ (exit 1); exit 1; }