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
8769 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
8770 echo $ECHO_N "(cached) $ECHO_C" >&6
8773 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8776 (eval $ac_compile) 2>&5
8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8779 (exit $ac_status); } 2>conftest.err
; then
8782 libobjs
=conftest.
$ac_objext
8784 wl
=$lt_prog_compiler_wl
8785 pic_flag
=$lt_prog_compiler_pic
8791 lt_save_allow_undefined_flag
=$allow_undefined_flag
8792 allow_undefined_flag
=
8793 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8794 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8797 (exit $ac_status); }
8799 lt_cv_archive_cmds_need_lc
=no
8801 lt_cv_archive_cmds_need_lc
=yes
8803 allow_undefined_flag
=$lt_save_allow_undefined_flag
8805 cat conftest.err
1>&5
8810 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
8811 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
8812 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
8975 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8976 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8978 if test "$GCC" = yes; then
8980 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8981 *) lt_awk_arg
="/^libraries:/" ;;
8983 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8984 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8985 # if the path contains ";" then we assume it to be the separator
8986 # otherwise default to the standard path separator (i.e. ":") - it is
8987 # assumed that no part of a normal pathname contains ";" but that should
8988 # okay in the real world where ";" in dirpaths is itself problematic.
8989 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8991 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8993 # Ok, now we have the path, separated by spaces, we can step through it
8994 # and add multilib dir if necessary.
8995 lt_tmp_lt_search_path_spec
=
8996 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8997 for lt_sys_path
in $lt_search_path_spec; do
8998 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8999 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9001 test -d "$lt_sys_path" && \
9002 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9005 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9006 BEGIN {RS=" "; FS="/|\n";} {
9009 for (lt_i = NF; lt_i > 0; lt_i--) {
9010 if ($lt_i != "" && $lt_i != ".") {
9011 if ($lt_i == "..") {
9014 if (lt_count == 0) {
9015 lt_foo="/" $lt_i lt_foo;
9022 if (lt_foo != "") { lt_freq[lt_foo]++; }
9023 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9025 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9027 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9030 libname_spec
='lib$name'
9038 shlibpath_overrides_runpath
=unknown
9040 dynamic_linker
="$host_os ld.so"
9041 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9042 need_lib_prefix
=unknown
9043 hardcode_into_libs
=no
9045 # when you set need_version to no, make sure it does not cause -set_version
9046 # flags to be left without arguments
9047 need_version
=unknown
9052 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9053 shlibpath_var
=LIBPATH
9055 # AIX 3 has no versioning support, so we append a major version to the name.
9056 soname_spec
='${libname}${release}${shared_ext}$major'
9063 hardcode_into_libs
=yes
9064 if test "$host_cpu" = ia64
; then
9065 # AIX 5 supports IA64
9066 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9067 shlibpath_var
=LD_LIBRARY_PATH
9069 # With GCC up to 2.95.x, collect2 would create an import file
9070 # for dependence libraries. The import file would start with
9071 # the line `#! .'. This would cause the generated library to
9072 # depend on `.', always an invalid library. This was fixed in
9073 # development snapshots of GCC prior to 3.0.
9075 aix4 | aix4.
[01] | aix4.
[01].
*)
9076 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9078 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9085 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9086 # soname into executable. Probably we can add versioning support to
9087 # collect2, so additional links can be useful in future.
9088 if test "$aix_use_runtimelinking" = yes; then
9089 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9090 # instead of lib<name>.a to let people know that these are not
9091 # typical AIX shared libraries.
9092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9094 # We preserve .a as extension for shared libraries through AIX4.2
9095 # and later when we are not doing run time linking.
9096 library_names_spec
='${libname}${release}.a $libname.a'
9097 soname_spec
='${libname}${release}${shared_ext}$major'
9099 shlibpath_var
=LIBPATH
9106 # Since July 2007 AmigaOS4 officially supports .so libraries.
9107 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9108 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9111 library_names_spec
='$libname.ixlibrary $libname.a'
9112 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9113 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'
9119 library_names_spec
='${libname}${shared_ext}'
9120 dynamic_linker
="$host_os ld.so"
9121 shlibpath_var
=LIBRARY_PATH
9127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9128 soname_spec
='${libname}${release}${shared_ext}$major'
9129 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9130 shlibpath_var
=LD_LIBRARY_PATH
9131 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9132 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9133 # the default ld.so.conf also contains /usr/contrib/lib and
9134 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9135 # libtool to hard-code these into programs
9138 cygwin
* | mingw
* | pw32
* | cegcc
*)
9139 version_type
=windows
9144 case $GCC,$host_os in
9145 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9146 library_names_spec
='$libname.dll.a'
9147 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9148 postinstall_cmds
='base_file=`basename \${file}`~
9149 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9150 dldir=$destdir/`dirname \$dlpath`~
9151 test -d \$dldir || mkdir -p \$dldir~
9152 $install_prog $dir/$dlname \$dldir/$dlname~
9153 chmod a+x \$dldir/$dlname~
9154 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9155 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9157 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9158 dlpath=$dir/\$dldll~
9160 shlibpath_overrides_runpath
=yes
9164 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9165 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9166 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9169 # MinGW DLLs use traditional 'lib' prefix
9170 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9171 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9172 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9173 # It is most probably a Windows format PATH printed by
9174 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9175 # path with ; separators, and with drive letters. We can handle the
9176 # drive letters (cygwin fileutils understands them), so leave them,
9177 # especially as we might pass files found there to a mingw objdump,
9178 # which wouldn't understand a cygwinified path. Ahh.
9179 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9181 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9185 # pw32 DLLs use 'pw' prefix rather than 'lib'
9186 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9192 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9195 dynamic_linker
='Win32 ld.exe'
9196 # FIXME: first we should search . and the directory the executable is in
9200 darwin
* | rhapsody
*)
9201 dynamic_linker
="$host_os dyld"
9205 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9206 soname_spec
='${libname}${release}${major}$shared_ext'
9207 shlibpath_overrides_runpath
=yes
9208 shlibpath_var
=DYLD_LIBRARY_PATH
9209 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9211 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9212 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9220 soname_spec
='${libname}${release}${shared_ext}$major'
9221 shlibpath_var
=LD_LIBRARY_PATH
9228 freebsd
* | dragonfly
*)
9229 # DragonFly does not have aout. When/if they implement a new
9230 # versioning mechanism, adjust this.
9231 if test -x /usr
/bin
/objformat
; then
9232 objformat
=`/usr/bin/objformat`
9235 freebsd
[123]*) objformat
=aout
;;
9239 version_type
=freebsd-
$objformat
9240 case $version_type in
9242 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9247 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9251 shlibpath_var
=LD_LIBRARY_PATH
9254 shlibpath_overrides_runpath
=yes
9256 freebsd3.
[01]* | freebsdelf3.
[01]*)
9257 shlibpath_overrides_runpath
=yes
9258 hardcode_into_libs
=yes
9260 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9261 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9262 shlibpath_overrides_runpath
=no
9263 hardcode_into_libs
=yes
9265 *) # from 4.6 on, and DragonFly
9266 shlibpath_overrides_runpath
=yes
9267 hardcode_into_libs
=yes
9276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9277 soname_spec
='${libname}${release}${shared_ext}$major'
9278 shlibpath_var
=LD_LIBRARY_PATH
9279 hardcode_into_libs
=yes
9282 hpux9
* | hpux10
* | hpux11
*)
9283 # Give a soname corresponding to the major version so that dld.sl refuses to
9284 # link against other versions.
9291 hardcode_into_libs
=yes
9292 dynamic_linker
="$host_os dld.so"
9293 shlibpath_var
=LD_LIBRARY_PATH
9294 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9296 soname_spec
='${libname}${release}${shared_ext}$major'
9297 if test "X$HPUX_IA64_MODE" = X32
; then
9298 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9300 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9302 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9306 hardcode_into_libs
=yes
9307 dynamic_linker
="$host_os dld.sl"
9308 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9309 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9311 soname_spec
='${libname}${release}${shared_ext}$major'
9312 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9313 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9317 dynamic_linker
="$host_os dld.sl"
9318 shlibpath_var
=SHLIB_PATH
9319 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9320 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9321 soname_spec
='${libname}${release}${shared_ext}$major'
9324 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9325 postinstall_cmds
='chmod 555 $lib'
9332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9333 soname_spec
='${libname}${release}${shared_ext}$major'
9334 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9335 shlibpath_var
=LD_LIBRARY_PATH
9336 shlibpath_overrides_runpath
=no
9337 hardcode_into_libs
=yes
9340 irix5
* | irix6
* | nonstopux
*)
9342 nonstopux
*) version_type
=nonstopux
;;
9344 if test "$lt_cv_prog_gnu_ld" = yes; then
9352 soname_spec
='${libname}${release}${shared_ext}$major'
9353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9355 irix5
* | nonstopux
*)
9359 case $LD in # libtool.m4 will add one of these switches to LD
9360 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9361 libsuff
= shlibsuff
= libmagic
=32-bit;;
9362 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9363 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9364 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9365 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9366 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9370 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9371 shlibpath_overrides_runpath
=no
9372 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9373 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9374 hardcode_into_libs
=yes
9377 # No shared lib support for Linux oldld, aout, or coff.
9378 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9382 # This must be Linux ELF.
9383 linux
* | k
*bsd
*-gnu)
9387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9388 soname_spec
='${libname}${release}${shared_ext}$major'
9389 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9390 shlibpath_var
=LD_LIBRARY_PATH
9391 shlibpath_overrides_runpath
=no
9393 # Some binutils ld are patched to set DT_RUNPATH
9394 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
9395 echo $ECHO_N "(cached) $ECHO_C" >&6
9397 lt_cv_shlibpath_overrides_runpath
=no
9398 save_LDFLAGS
=$LDFLAGS
9400 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9401 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9402 cat >conftest.
$ac_ext <<_ACEOF
9405 cat confdefs.h
>>conftest.
$ac_ext
9406 cat >>conftest.
$ac_ext <<_ACEOF
9407 /* end confdefs.h. */
9417 rm -f conftest.
$ac_objext conftest
$ac_exeext
9418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9419 (eval $ac_link) 2>conftest.er1
9421 grep -v '^ *+' conftest.er1
>conftest.err
9423 cat conftest.err
>&5
9424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9425 (exit $ac_status); } &&
9426 { ac_try
='test -z "$ac_c_werror_flag"
9427 || test ! -s conftest.err'
9428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9432 (exit $ac_status); }; } &&
9433 { ac_try
='test -s conftest$ac_exeext'
9434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9438 (exit $ac_status); }; }; then
9439 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then
9440 lt_cv_shlibpath_overrides_runpath
=yes
9444 echo "$as_me: failed program was:" >&5
9445 sed 's/^/| /' conftest.
$ac_ext >&5
9448 rm -f conftest.err conftest.
$ac_objext \
9449 conftest
$ac_exeext conftest.
$ac_ext
9450 LDFLAGS
=$save_LDFLAGS
9455 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9457 # This implies no fast_install, which is unacceptable.
9458 # Some rework will be needed to allow for fast_install
9459 # before this can be enabled.
9460 hardcode_into_libs
=yes
9462 # Append ld.so.conf contents to the search path
9463 if test -f /etc
/ld.so.conf
; then
9464 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' ' '`
9465 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9468 # We used to test for /lib/ld.so.1 and disable shared libraries on
9469 # powerpc, because MkLinux only supported shared libraries with the
9470 # GNU dynamic linker. Since this was broken with cross compilers,
9471 # most powerpc-linux boxes support dynamic linking these days and
9472 # people can always --disable-shared, the test was removed, and we
9473 # assume the GNU/Linux dynamic linker is in use.
9474 dynamic_linker
='GNU/Linux ld.so'
9481 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9483 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9484 dynamic_linker
='NetBSD (a.out) ld.so'
9486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9487 soname_spec
='${libname}${release}${shared_ext}$major'
9488 dynamic_linker
='NetBSD ld.elf_so'
9490 shlibpath_var
=LD_LIBRARY_PATH
9491 shlibpath_overrides_runpath
=yes
9492 hardcode_into_libs
=yes
9497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9498 shlibpath_var
=LD_LIBRARY_PATH
9499 shlibpath_overrides_runpath
=yes
9506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9507 soname_spec
='${libname}${release}${shared_ext}$major'
9508 shlibpath_var
=LD_LIBRARY_PATH
9509 shlibpath_overrides_runpath
=no
9510 hardcode_into_libs
=yes
9511 dynamic_linker
='ldqnx.so'
9516 sys_lib_dlsearch_path_spec
="/usr/lib"
9518 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9520 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9521 *) need_version
=no
;;
9523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9524 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9525 shlibpath_var
=LD_LIBRARY_PATH
9526 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9528 openbsd2.
[89] | openbsd2.
[89].
*)
9529 shlibpath_overrides_runpath
=no
9532 shlibpath_overrides_runpath
=yes
9536 shlibpath_overrides_runpath
=yes
9541 libname_spec
='$name'
9544 library_names_spec
='$libname${shared_ext} $libname.a'
9545 dynamic_linker
='OS/2 ld.exe'
9546 shlibpath_var
=LIBPATH
9549 osf3
* | osf4
* | osf5
*)
9553 soname_spec
='${libname}${release}${shared_ext}$major'
9554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9555 shlibpath_var
=LD_LIBRARY_PATH
9556 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9557 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9569 soname_spec
='${libname}${release}${shared_ext}$major'
9570 shlibpath_var
=LD_LIBRARY_PATH
9571 shlibpath_overrides_runpath
=yes
9572 hardcode_into_libs
=yes
9573 # ldd complains unless libraries are executable
9574 postinstall_cmds
='chmod +x $lib'
9579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9580 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9581 shlibpath_var
=LD_LIBRARY_PATH
9582 shlibpath_overrides_runpath
=yes
9583 if test "$with_gnu_ld" = yes; then
9591 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9592 soname_spec
='${libname}${release}${shared_ext}$major'
9593 shlibpath_var
=LD_LIBRARY_PATH
9594 case $host_vendor in
9596 shlibpath_overrides_runpath
=no
9598 runpath_var
=LD_RUN_PATH
9606 shlibpath_overrides_runpath
=no
9607 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9613 if test -d /usr
/nec
;then
9615 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9616 soname_spec
='$libname${shared_ext}.$major'
9617 shlibpath_var
=LD_LIBRARY_PATH
9621 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9622 version_type
=freebsd-elf
9625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9626 soname_spec
='${libname}${release}${shared_ext}$major'
9627 shlibpath_var
=LD_LIBRARY_PATH
9628 shlibpath_overrides_runpath
=yes
9629 hardcode_into_libs
=yes
9630 if test "$with_gnu_ld" = yes; then
9631 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9633 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9636 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9640 sys_lib_dlsearch_path_spec
='/usr/lib'
9644 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9649 shlibpath_var
=LD_LIBRARY_PATH
9650 shlibpath_overrides_runpath
=no
9651 hardcode_into_libs
=yes
9656 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9657 soname_spec
='${libname}${release}${shared_ext}$major'
9658 shlibpath_var
=LD_LIBRARY_PATH
9665 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9666 echo "${ECHO_T}$dynamic_linker" >&6
9667 test "$dynamic_linker" = no
&& can_build_shared
=no
9669 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9670 if test "$GCC" = yes; then
9671 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9674 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9675 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9677 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9678 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9767 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9768 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9770 if test -n "$hardcode_libdir_flag_spec" ||
9771 test -n "$runpath_var" ||
9772 test "X$hardcode_automatic" = "Xyes" ; then
9774 # We can hardcode non-existent directories.
9775 if test "$hardcode_direct" != no
&&
9776 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9777 # have to relink, otherwise we might link with an installed library
9778 # when we should be linking with a yet-to-be-installed one
9779 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9780 test "$hardcode_minus_L" != no
; then
9781 # Linking always hardcodes the temporary library directory.
9782 hardcode_action
=relink
9784 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9785 hardcode_action
=immediate
9788 # We cannot hardcode anything, or else we can only hardcode existing
9790 hardcode_action
=unsupported
9792 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9793 echo "${ECHO_T}$hardcode_action" >&6
9795 if test "$hardcode_action" = relink ||
9796 test "$inherit_rpath" = yes; then
9797 # Fast installation is not supported
9798 enable_fast_install
=no
9799 elif test "$shlibpath_overrides_runpath" = yes ||
9800 test "$enable_shared" = no
; then
9801 # Fast installation is not necessary
9802 enable_fast_install
=needless
9810 if test "x$enable_dlopen" != xyes
; then
9811 enable_dlopen
=unknown
9812 enable_dlopen_self
=unknown
9813 enable_dlopen_self_static
=unknown
9820 lt_cv_dlopen
="load_add_on"
9822 lt_cv_dlopen_self
=yes
9825 mingw
* | pw32
* | cegcc
*)
9826 lt_cv_dlopen
="LoadLibrary"
9831 lt_cv_dlopen
="dlopen"
9836 # if libdl is installed we need to link against it
9837 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9838 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9839 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9840 echo $ECHO_N "(cached) $ECHO_C" >&6
9842 ac_check_lib_save_LIBS
=$LIBS
9844 cat >conftest.
$ac_ext <<_ACEOF
9847 cat confdefs.h
>>conftest.
$ac_ext
9848 cat >>conftest.
$ac_ext <<_ACEOF
9849 /* end confdefs.h. */
9851 /* Override any gcc2 internal prototype to avoid an error. */
9855 /* We use char because int might match the return type of a gcc2
9856 builtin and then its argument prototype would still apply. */
9866 rm -f conftest.
$ac_objext conftest
$ac_exeext
9867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9868 (eval $ac_link) 2>conftest.er1
9870 grep -v '^ *+' conftest.er1
>conftest.err
9872 cat conftest.err
>&5
9873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9874 (exit $ac_status); } &&
9875 { ac_try
='test -z "$ac_c_werror_flag"
9876 || test ! -s conftest.err'
9877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9881 (exit $ac_status); }; } &&
9882 { ac_try
='test -s conftest$ac_exeext'
9883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9887 (exit $ac_status); }; }; then
9888 ac_cv_lib_dl_dlopen
=yes
9890 echo "$as_me: failed program was:" >&5
9891 sed 's/^/| /' conftest.
$ac_ext >&5
9893 ac_cv_lib_dl_dlopen
=no
9895 rm -f conftest.err conftest.
$ac_objext \
9896 conftest
$ac_exeext conftest.
$ac_ext
9897 LIBS
=$ac_check_lib_save_LIBS
9899 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9900 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9901 if test $ac_cv_lib_dl_dlopen = yes; then
9902 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9907 lt_cv_dlopen_self
=yes
9914 echo "$as_me:$LINENO: checking for shl_load" >&5
9915 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9916 if test "${ac_cv_func_shl_load+set}" = set; then
9917 echo $ECHO_N "(cached) $ECHO_C" >&6
9919 cat >conftest.
$ac_ext <<_ACEOF
9922 cat confdefs.h
>>conftest.
$ac_ext
9923 cat >>conftest.
$ac_ext <<_ACEOF
9924 /* end confdefs.h. */
9925 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9927 #define shl_load innocuous_shl_load
9929 /* System header to define __stub macros and hopefully few prototypes,
9930 which can conflict with char shl_load (); below.
9931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9932 <limits.h> exists even on freestanding compilers. */
9935 # include <limits.h>
9937 # include <assert.h>
9942 /* Override any gcc2 internal prototype to avoid an error. */
9947 /* We use char because int might match the return type of a gcc2
9948 builtin and then its argument prototype would still apply. */
9950 /* The GNU C library defines this for functions which it implements
9951 to always fail with ENOSYS. Some functions are actually named
9952 something starting with __ and the normal name is an alias. */
9953 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9956 char (*f) () = shl_load;
9965 return f != shl_load;
9970 rm -f conftest.
$ac_objext conftest
$ac_exeext
9971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9972 (eval $ac_link) 2>conftest.er1
9974 grep -v '^ *+' conftest.er1
>conftest.err
9976 cat conftest.err
>&5
9977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9978 (exit $ac_status); } &&
9979 { ac_try
='test -z "$ac_c_werror_flag"
9980 || test ! -s conftest.err'
9981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9985 (exit $ac_status); }; } &&
9986 { ac_try
='test -s conftest$ac_exeext'
9987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9991 (exit $ac_status); }; }; then
9992 ac_cv_func_shl_load
=yes
9994 echo "$as_me: failed program was:" >&5
9995 sed 's/^/| /' conftest.
$ac_ext >&5
9997 ac_cv_func_shl_load
=no
9999 rm -f conftest.err conftest.
$ac_objext \
10000 conftest
$ac_exeext conftest.
$ac_ext
10002 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10003 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10004 if test $ac_cv_func_shl_load = yes; then
10005 lt_cv_dlopen
="shl_load"
10007 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10008 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10009 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10010 echo $ECHO_N "(cached) $ECHO_C" >&6
10012 ac_check_lib_save_LIBS
=$LIBS
10014 cat >conftest.
$ac_ext <<_ACEOF
10017 cat confdefs.h
>>conftest.
$ac_ext
10018 cat >>conftest.
$ac_ext <<_ACEOF
10019 /* end confdefs.h. */
10021 /* Override any gcc2 internal prototype to avoid an error. */
10025 /* We use char because int might match the return type of a gcc2
10026 builtin and then its argument prototype would still apply. */
10036 rm -f conftest.
$ac_objext conftest
$ac_exeext
10037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10038 (eval $ac_link) 2>conftest.er1
10040 grep -v '^ *+' conftest.er1
>conftest.err
10042 cat conftest.err
>&5
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); } &&
10045 { ac_try
='test -z "$ac_c_werror_flag"
10046 || test ! -s conftest.err'
10047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10048 (eval $ac_try) 2>&5
10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 (exit $ac_status); }; } &&
10052 { ac_try
='test -s conftest$ac_exeext'
10053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10054 (eval $ac_try) 2>&5
10056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10057 (exit $ac_status); }; }; then
10058 ac_cv_lib_dld_shl_load
=yes
10060 echo "$as_me: failed program was:" >&5
10061 sed 's/^/| /' conftest.
$ac_ext >&5
10063 ac_cv_lib_dld_shl_load
=no
10065 rm -f conftest.err conftest.
$ac_objext \
10066 conftest
$ac_exeext conftest.
$ac_ext
10067 LIBS
=$ac_check_lib_save_LIBS
10069 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10070 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10071 if test $ac_cv_lib_dld_shl_load = yes; then
10072 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10074 echo "$as_me:$LINENO: checking for dlopen" >&5
10075 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10076 if test "${ac_cv_func_dlopen+set}" = set; then
10077 echo $ECHO_N "(cached) $ECHO_C" >&6
10079 cat >conftest.
$ac_ext <<_ACEOF
10082 cat confdefs.h
>>conftest.
$ac_ext
10083 cat >>conftest.
$ac_ext <<_ACEOF
10084 /* end confdefs.h. */
10085 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10087 #define dlopen innocuous_dlopen
10089 /* System header to define __stub macros and hopefully few prototypes,
10090 which can conflict with char dlopen (); below.
10091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10092 <limits.h> exists even on freestanding compilers. */
10095 # include <limits.h>
10097 # include <assert.h>
10102 /* Override any gcc2 internal prototype to avoid an error. */
10107 /* We use char because int might match the return type of a gcc2
10108 builtin and then its argument prototype would still apply. */
10110 /* The GNU C library defines this for functions which it implements
10111 to always fail with ENOSYS. Some functions are actually named
10112 something starting with __ and the normal name is an alias. */
10113 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10116 char (*f) () = dlopen;
10125 return f != dlopen;
10130 rm -f conftest.
$ac_objext conftest
$ac_exeext
10131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10132 (eval $ac_link) 2>conftest.er1
10134 grep -v '^ *+' conftest.er1
>conftest.err
10136 cat conftest.err
>&5
10137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10138 (exit $ac_status); } &&
10139 { ac_try
='test -z "$ac_c_werror_flag"
10140 || test ! -s conftest.err'
10141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10142 (eval $ac_try) 2>&5
10144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10145 (exit $ac_status); }; } &&
10146 { ac_try
='test -s conftest$ac_exeext'
10147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10148 (eval $ac_try) 2>&5
10150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10151 (exit $ac_status); }; }; then
10152 ac_cv_func_dlopen
=yes
10154 echo "$as_me: failed program was:" >&5
10155 sed 's/^/| /' conftest.
$ac_ext >&5
10157 ac_cv_func_dlopen
=no
10159 rm -f conftest.err conftest.
$ac_objext \
10160 conftest
$ac_exeext conftest.
$ac_ext
10162 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10163 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10164 if test $ac_cv_func_dlopen = yes; then
10165 lt_cv_dlopen
="dlopen"
10167 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10168 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10169 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10170 echo $ECHO_N "(cached) $ECHO_C" >&6
10172 ac_check_lib_save_LIBS
=$LIBS
10174 cat >conftest.
$ac_ext <<_ACEOF
10177 cat confdefs.h
>>conftest.
$ac_ext
10178 cat >>conftest.
$ac_ext <<_ACEOF
10179 /* end confdefs.h. */
10181 /* Override any gcc2 internal prototype to avoid an error. */
10185 /* We use char because int might match the return type of a gcc2
10186 builtin and then its argument prototype would still apply. */
10196 rm -f conftest.
$ac_objext conftest
$ac_exeext
10197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10198 (eval $ac_link) 2>conftest.er1
10200 grep -v '^ *+' conftest.er1
>conftest.err
10202 cat conftest.err
>&5
10203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204 (exit $ac_status); } &&
10205 { ac_try
='test -z "$ac_c_werror_flag"
10206 || test ! -s conftest.err'
10207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10208 (eval $ac_try) 2>&5
10210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211 (exit $ac_status); }; } &&
10212 { ac_try
='test -s conftest$ac_exeext'
10213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10214 (eval $ac_try) 2>&5
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); }; }; then
10218 ac_cv_lib_dl_dlopen
=yes
10220 echo "$as_me: failed program was:" >&5
10221 sed 's/^/| /' conftest.
$ac_ext >&5
10223 ac_cv_lib_dl_dlopen
=no
10225 rm -f conftest.err conftest.
$ac_objext \
10226 conftest
$ac_exeext conftest.
$ac_ext
10227 LIBS
=$ac_check_lib_save_LIBS
10229 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10230 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10231 if test $ac_cv_lib_dl_dlopen = yes; then
10232 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10234 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10235 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10236 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10237 echo $ECHO_N "(cached) $ECHO_C" >&6
10239 ac_check_lib_save_LIBS
=$LIBS
10240 LIBS
="-lsvld $LIBS"
10241 cat >conftest.
$ac_ext <<_ACEOF
10244 cat confdefs.h
>>conftest.
$ac_ext
10245 cat >>conftest.
$ac_ext <<_ACEOF
10246 /* end confdefs.h. */
10248 /* Override any gcc2 internal prototype to avoid an error. */
10252 /* We use char because int might match the return type of a gcc2
10253 builtin and then its argument prototype would still apply. */
10263 rm -f conftest.
$ac_objext conftest
$ac_exeext
10264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10265 (eval $ac_link) 2>conftest.er1
10267 grep -v '^ *+' conftest.er1
>conftest.err
10269 cat conftest.err
>&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); } &&
10272 { ac_try
='test -z "$ac_c_werror_flag"
10273 || test ! -s conftest.err'
10274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10275 (eval $ac_try) 2>&5
10277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10278 (exit $ac_status); }; } &&
10279 { ac_try
='test -s conftest$ac_exeext'
10280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10281 (eval $ac_try) 2>&5
10283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10284 (exit $ac_status); }; }; then
10285 ac_cv_lib_svld_dlopen
=yes
10287 echo "$as_me: failed program was:" >&5
10288 sed 's/^/| /' conftest.
$ac_ext >&5
10290 ac_cv_lib_svld_dlopen
=no
10292 rm -f conftest.err conftest.
$ac_objext \
10293 conftest
$ac_exeext conftest.
$ac_ext
10294 LIBS
=$ac_check_lib_save_LIBS
10296 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10297 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10298 if test $ac_cv_lib_svld_dlopen = yes; then
10299 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10301 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10302 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10303 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10304 echo $ECHO_N "(cached) $ECHO_C" >&6
10306 ac_check_lib_save_LIBS
=$LIBS
10308 cat >conftest.
$ac_ext <<_ACEOF
10311 cat confdefs.h
>>conftest.
$ac_ext
10312 cat >>conftest.
$ac_ext <<_ACEOF
10313 /* end confdefs.h. */
10315 /* Override any gcc2 internal prototype to avoid an error. */
10319 /* We use char because int might match the return type of a gcc2
10320 builtin and then its argument prototype would still apply. */
10330 rm -f conftest.
$ac_objext conftest
$ac_exeext
10331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10332 (eval $ac_link) 2>conftest.er1
10334 grep -v '^ *+' conftest.er1
>conftest.err
10336 cat conftest.err
>&5
10337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10338 (exit $ac_status); } &&
10339 { ac_try
='test -z "$ac_c_werror_flag"
10340 || test ! -s conftest.err'
10341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10342 (eval $ac_try) 2>&5
10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345 (exit $ac_status); }; } &&
10346 { ac_try
='test -s conftest$ac_exeext'
10347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10348 (eval $ac_try) 2>&5
10350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10351 (exit $ac_status); }; }; then
10352 ac_cv_lib_dld_dld_link
=yes
10354 echo "$as_me: failed program was:" >&5
10355 sed 's/^/| /' conftest.
$ac_ext >&5
10357 ac_cv_lib_dld_dld_link
=no
10359 rm -f conftest.err conftest.
$ac_objext \
10360 conftest
$ac_exeext conftest.
$ac_ext
10361 LIBS
=$ac_check_lib_save_LIBS
10363 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10364 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10365 if test $ac_cv_lib_dld_dld_link = yes; then
10366 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10387 if test "x$lt_cv_dlopen" != xno
; then
10393 case $lt_cv_dlopen in
10395 save_CPPFLAGS
="$CPPFLAGS"
10396 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10398 save_LDFLAGS
="$LDFLAGS"
10399 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10402 LIBS
="$lt_cv_dlopen_libs $LIBS"
10404 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10405 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10406 if test "${lt_cv_dlopen_self+set}" = set; then
10407 echo $ECHO_N "(cached) $ECHO_C" >&6
10409 if test "$cross_compiling" = yes; then :
10410 lt_cv_dlopen_self
=cross
10412 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10413 lt_status
=$lt_dlunknown
10414 cat > conftest.
$ac_ext <<_LT_EOF
10415 #line 10415 "configure"
10416 #include "confdefs.h"
10425 # define LT_DLGLOBAL RTLD_GLOBAL
10428 # define LT_DLGLOBAL DL_GLOBAL
10430 # define LT_DLGLOBAL 0
10434 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10435 find out it does not work in some platform. */
10436 #ifndef LT_DLLAZY_OR_NOW
10438 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10441 # define LT_DLLAZY_OR_NOW DL_LAZY
10444 # define LT_DLLAZY_OR_NOW RTLD_NOW
10447 # define LT_DLLAZY_OR_NOW DL_NOW
10449 # define LT_DLLAZY_OR_NOW 0
10456 void fnord() { int i=42;}
10459 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10460 int status = $lt_dlunknown;
10464 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10465 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10466 /* dlclose (self); */
10474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10475 (eval $ac_link) 2>&5
10477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10478 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10479 (.
/conftest
; exit; ) >&5 2>/dev
/null
10481 case x
$lt_status in
10482 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10483 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10484 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10487 # compilation failed
10488 lt_cv_dlopen_self
=no
10495 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10496 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10498 if test "x$lt_cv_dlopen_self" = xyes
; then
10499 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10500 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10501 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10502 if test "${lt_cv_dlopen_self_static+set}" = set; then
10503 echo $ECHO_N "(cached) $ECHO_C" >&6
10505 if test "$cross_compiling" = yes; then :
10506 lt_cv_dlopen_self_static
=cross
10508 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10509 lt_status
=$lt_dlunknown
10510 cat > conftest.
$ac_ext <<_LT_EOF
10511 #line 10511 "configure"
10512 #include "confdefs.h"
10521 # define LT_DLGLOBAL RTLD_GLOBAL
10524 # define LT_DLGLOBAL DL_GLOBAL
10526 # define LT_DLGLOBAL 0
10530 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10531 find out it does not work in some platform. */
10532 #ifndef LT_DLLAZY_OR_NOW
10534 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10537 # define LT_DLLAZY_OR_NOW DL_LAZY
10540 # define LT_DLLAZY_OR_NOW RTLD_NOW
10543 # define LT_DLLAZY_OR_NOW DL_NOW
10545 # define LT_DLLAZY_OR_NOW 0
10552 void fnord() { int i=42;}
10555 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10556 int status = $lt_dlunknown;
10560 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10561 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10562 /* dlclose (self); */
10570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10571 (eval $ac_link) 2>&5
10573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10574 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10575 (.
/conftest
; exit; ) >&5 2>/dev
/null
10577 case x
$lt_status in
10578 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10579 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10580 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10583 # compilation failed
10584 lt_cv_dlopen_self_static
=no
10591 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10592 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10595 CPPFLAGS
="$save_CPPFLAGS"
10596 LDFLAGS
="$save_LDFLAGS"
10601 case $lt_cv_dlopen_self in
10602 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10603 *) enable_dlopen_self
=unknown
;;
10606 case $lt_cv_dlopen_self_static in
10607 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10608 *) enable_dlopen_self_static
=unknown
;;
10630 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10631 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10632 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10633 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10634 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10635 echo "$as_me:$LINENO: result: yes" >&5
10636 echo "${ECHO_T}yes" >&6
10638 # FIXME - insert some real tests, host_os isn't really good enough
10641 if test -n "$STRIP" ; then
10642 striplib
="$STRIP -x"
10643 old_striplib
="$STRIP -S"
10644 echo "$as_me:$LINENO: result: yes" >&5
10645 echo "${ECHO_T}yes" >&6
10647 echo "$as_me:$LINENO: result: no" >&5
10648 echo "${ECHO_T}no" >&6
10652 echo "$as_me:$LINENO: result: no" >&5
10653 echo "${ECHO_T}no" >&6
10669 # Report which library types will actually be built
10670 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10671 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10672 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10673 echo "${ECHO_T}$can_build_shared" >&6
10675 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10676 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10677 test "$can_build_shared" = "no" && enable_shared
=no
10679 # On AIX, shared libraries and static libraries use the same namespace, and
10680 # are all built from PIC.
10683 test "$enable_shared" = yes && enable_static
=no
10684 if test -n "$RANLIB"; then
10685 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10686 postinstall_cmds
='$RANLIB $lib'
10691 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10692 test "$enable_shared" = yes && enable_static
=no
10696 echo "$as_me:$LINENO: result: $enable_shared" >&5
10697 echo "${ECHO_T}$enable_shared" >&6
10699 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10700 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10701 # Make sure either enable_shared or enable_static is yes.
10702 test "$enable_shared" = yes || enable_static
=yes
10703 echo "$as_me:$LINENO: result: $enable_static" >&5
10704 echo "${ECHO_T}$enable_static" >&6
10711 ac_cpp
='$CPP $CPPFLAGS'
10712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10730 ac_config_commands
="$ac_config_commands libtool"
10735 # Only expand once:
10741 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
10742 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
10743 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
10744 if test "${enable_maintainer_mode+set}" = set; then
10745 enableval
="$enable_maintainer_mode"
10746 USE_MAINTAINER_MODE
=$enableval
10748 USE_MAINTAINER_MODE
=no
10750 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
10751 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
10754 if test $USE_MAINTAINER_MODE = yes; then
10755 MAINTAINER_MODE_TRUE
=
10756 MAINTAINER_MODE_FALSE
='#'
10758 MAINTAINER_MODE_TRUE
='#'
10759 MAINTAINER_MODE_FALSE
=
10762 MAINT
=$MAINTAINER_MODE_TRUE
10766 # We need gfortran to compile parts of the library
10767 # We can't use AC_PROG_FC because it expects a fully working gfortran.
10768 #AC_PROG_FC(gfortran)
10770 ac_ext
=${FC_SRCEXT-f}
10771 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10772 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10773 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
10774 if test -n "$ac_tool_prefix"; then
10775 for ac_prog
in gfortran
10777 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10778 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10779 echo "$as_me:$LINENO: checking for $ac_word" >&5
10780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10781 if test "${ac_cv_prog_FC+set}" = set; then
10782 echo $ECHO_N "(cached) $ECHO_C" >&6
10784 if test -n "$FC"; then
10785 ac_cv_prog_FC
="$FC" # Let the user override the test.
10787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10788 for as_dir
in $PATH
10791 test -z "$as_dir" && as_dir
=.
10792 for ac_exec_ext
in '' $ac_executable_extensions; do
10793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10794 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
10795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10804 if test -n "$FC"; then
10805 echo "$as_me:$LINENO: result: $FC" >&5
10806 echo "${ECHO_T}$FC" >&6
10808 echo "$as_me:$LINENO: result: no" >&5
10809 echo "${ECHO_T}no" >&6
10812 test -n "$FC" && break
10815 if test -z "$FC"; then
10817 for ac_prog
in gfortran
10819 # Extract the first word of "$ac_prog", so it can be a program name with args.
10820 set dummy
$ac_prog; ac_word
=$2
10821 echo "$as_me:$LINENO: checking for $ac_word" >&5
10822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10823 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10824 echo $ECHO_N "(cached) $ECHO_C" >&6
10826 if test -n "$ac_ct_FC"; then
10827 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
10829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10830 for as_dir
in $PATH
10833 test -z "$as_dir" && as_dir
=.
10834 for ac_exec_ext
in '' $ac_executable_extensions; do
10835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10836 ac_cv_prog_ac_ct_FC
="$ac_prog"
10837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10845 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
10846 if test -n "$ac_ct_FC"; then
10847 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10848 echo "${ECHO_T}$ac_ct_FC" >&6
10850 echo "$as_me:$LINENO: result: no" >&5
10851 echo "${ECHO_T}no" >&6
10854 test -n "$ac_ct_FC" && break
10861 # Provide some information about the compiler.
10862 echo "$as_me:10862:" \
10863 "checking for Fortran compiler version" >&5
10864 ac_compiler
=`set X $ac_compile; echo $2`
10865 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10866 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10869 (exit $ac_status); }
10870 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10871 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10874 (exit $ac_status); }
10875 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10876 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); }
10882 # If we don't use `.F' as extension, the preprocessor is not run on the
10883 # input file. (Note that this only needs to work for GNU compilers.)
10884 ac_save_ext
=$ac_ext
10886 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10887 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10888 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10889 echo $ECHO_N "(cached) $ECHO_C" >&6
10891 cat >conftest.
$ac_ext <<_ACEOF
10899 rm -f conftest.
$ac_objext
10900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10901 (eval $ac_compile) 2>conftest.er1
10903 grep -v '^ *+' conftest.er1
>conftest.err
10905 cat conftest.err
>&5
10906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10907 (exit $ac_status); } &&
10908 { ac_try
='test -z "$ac_fc_werror_flag"
10909 || test ! -s conftest.err'
10910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10911 (eval $ac_try) 2>&5
10913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10914 (exit $ac_status); }; } &&
10915 { ac_try
='test -s conftest.$ac_objext'
10916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10917 (eval $ac_try) 2>&5
10919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10920 (exit $ac_status); }; }; then
10921 ac_compiler_gnu
=yes
10923 echo "$as_me: failed program was:" >&5
10924 sed 's/^/| /' conftest.
$ac_ext >&5
10928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10929 ac_cv_fc_compiler_gnu
=$ac_compiler_gnu
10932 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10933 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10934 ac_ext
=$ac_save_ext
10935 ac_test_FFLAGS
=${FCFLAGS+set}
10936 ac_save_FFLAGS
=$FCFLAGS
10938 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10939 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10940 if test "${ac_cv_prog_fc_g+set}" = set; then
10941 echo $ECHO_N "(cached) $ECHO_C" >&6
10944 cat >conftest.
$ac_ext <<_ACEOF
10949 rm -f conftest.
$ac_objext
10950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10951 (eval $ac_compile) 2>conftest.er1
10953 grep -v '^ *+' conftest.er1
>conftest.err
10955 cat conftest.err
>&5
10956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10957 (exit $ac_status); } &&
10958 { ac_try
='test -z "$ac_fc_werror_flag"
10959 || test ! -s conftest.err'
10960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10961 (eval $ac_try) 2>&5
10963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964 (exit $ac_status); }; } &&
10965 { ac_try
='test -s conftest.$ac_objext'
10966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10967 (eval $ac_try) 2>&5
10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970 (exit $ac_status); }; }; then
10971 ac_cv_prog_fc_g
=yes
10973 echo "$as_me: failed program was:" >&5
10974 sed 's/^/| /' conftest.
$ac_ext >&5
10978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10981 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10982 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10983 if test "$ac_test_FFLAGS" = set; then
10984 FCFLAGS
=$ac_save_FFLAGS
10985 elif test $ac_cv_prog_fc_g = yes; then
10986 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
10992 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
11000 ac_cpp
='$CPP $CPPFLAGS'
11001 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11002 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11003 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11006 ac_ext
=${FC_SRCEXT-f}
11007 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
11008 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
11009 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
11010 if test -n "$ac_tool_prefix"; then
11011 for ac_prog
in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
11013 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11014 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11015 echo "$as_me:$LINENO: checking for $ac_word" >&5
11016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11017 if test "${ac_cv_prog_FC+set}" = set; then
11018 echo $ECHO_N "(cached) $ECHO_C" >&6
11020 if test -n "$FC"; then
11021 ac_cv_prog_FC
="$FC" # Let the user override the test.
11023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11024 for as_dir
in $PATH
11027 test -z "$as_dir" && as_dir
=.
11028 for ac_exec_ext
in '' $ac_executable_extensions; do
11029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11030 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
11031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11040 if test -n "$FC"; then
11041 echo "$as_me:$LINENO: result: $FC" >&5
11042 echo "${ECHO_T}$FC" >&6
11044 echo "$as_me:$LINENO: result: no" >&5
11045 echo "${ECHO_T}no" >&6
11048 test -n "$FC" && break
11051 if test -z "$FC"; then
11053 for ac_prog
in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
11055 # Extract the first word of "$ac_prog", so it can be a program name with args.
11056 set dummy
$ac_prog; ac_word
=$2
11057 echo "$as_me:$LINENO: checking for $ac_word" >&5
11058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11059 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
11060 echo $ECHO_N "(cached) $ECHO_C" >&6
11062 if test -n "$ac_ct_FC"; then
11063 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
11065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11066 for as_dir
in $PATH
11069 test -z "$as_dir" && as_dir
=.
11070 for ac_exec_ext
in '' $ac_executable_extensions; do
11071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11072 ac_cv_prog_ac_ct_FC
="$ac_prog"
11073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11081 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
11082 if test -n "$ac_ct_FC"; then
11083 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
11084 echo "${ECHO_T}$ac_ct_FC" >&6
11086 echo "$as_me:$LINENO: result: no" >&5
11087 echo "${ECHO_T}no" >&6
11090 test -n "$ac_ct_FC" && break
11097 # Provide some information about the compiler.
11098 echo "$as_me:11098:" \
11099 "checking for Fortran compiler version" >&5
11100 ac_compiler
=`set X $ac_compile; echo $2`
11101 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11102 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); }
11106 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11107 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110 (exit $ac_status); }
11111 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11112 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11115 (exit $ac_status); }
11118 # If we don't use `.F' as extension, the preprocessor is not run on the
11119 # input file. (Note that this only needs to work for GNU compilers.)
11120 ac_save_ext
=$ac_ext
11122 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
11123 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
11124 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
11125 echo $ECHO_N "(cached) $ECHO_C" >&6
11127 cat >conftest.
$ac_ext <<_ACEOF
11135 rm -f conftest.
$ac_objext
11136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11137 (eval $ac_compile) 2>conftest.er1
11139 grep -v '^ *+' conftest.er1
>conftest.err
11141 cat conftest.err
>&5
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); } &&
11144 { ac_try
='test -z "$ac_fc_werror_flag"
11145 || test ! -s conftest.err'
11146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11147 (eval $ac_try) 2>&5
11149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11150 (exit $ac_status); }; } &&
11151 { ac_try
='test -s conftest.$ac_objext'
11152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11153 (eval $ac_try) 2>&5
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); }; }; then
11157 ac_compiler_gnu
=yes
11159 echo "$as_me: failed program was:" >&5
11160 sed 's/^/| /' conftest.
$ac_ext >&5
11164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11165 ac_cv_fc_compiler_gnu
=$ac_compiler_gnu
11168 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
11169 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
11170 ac_ext
=$ac_save_ext
11171 ac_test_FFLAGS
=${FCFLAGS+set}
11172 ac_save_FFLAGS
=$FCFLAGS
11174 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
11175 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
11176 if test "${ac_cv_prog_fc_g+set}" = set; then
11177 echo $ECHO_N "(cached) $ECHO_C" >&6
11180 cat >conftest.
$ac_ext <<_ACEOF
11185 rm -f conftest.
$ac_objext
11186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11187 (eval $ac_compile) 2>conftest.er1
11189 grep -v '^ *+' conftest.er1
>conftest.err
11191 cat conftest.err
>&5
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); } &&
11194 { ac_try
='test -z "$ac_fc_werror_flag"
11195 || test ! -s conftest.err'
11196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11197 (eval $ac_try) 2>&5
11199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11200 (exit $ac_status); }; } &&
11201 { ac_try
='test -s conftest.$ac_objext'
11202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11203 (eval $ac_try) 2>&5
11205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11206 (exit $ac_status); }; }; then
11207 ac_cv_prog_fc_g
=yes
11209 echo "$as_me: failed program was:" >&5
11210 sed 's/^/| /' conftest.
$ac_ext >&5
11214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11217 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
11218 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
11219 if test "$ac_test_FFLAGS" = set; then
11220 FCFLAGS
=$ac_save_FFLAGS
11221 elif test $ac_cv_prog_fc_g = yes; then
11222 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
11228 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
11236 ac_cpp
='$CPP $CPPFLAGS'
11237 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11238 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11239 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11241 if test -z "$FC" ||
test "X$FC" = "Xno"; then
11247 ac_ext
=${FC_SRCEXT-f}
11248 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
11249 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
11250 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
11253 archive_cmds_need_lc_FC
=no
11254 allow_undefined_flag_FC
=
11255 always_export_symbols_FC
=no
11256 archive_expsym_cmds_FC
=
11257 export_dynamic_flag_spec_FC
=
11258 hardcode_direct_FC
=no
11259 hardcode_direct_absolute_FC
=no
11260 hardcode_libdir_flag_spec_FC
=
11261 hardcode_libdir_flag_spec_ld_FC
=
11262 hardcode_libdir_separator_FC
=
11263 hardcode_minus_L_FC
=no
11264 hardcode_automatic_FC
=no
11265 inherit_rpath_FC
=no
11267 module_expsym_cmds_FC
=
11268 link_all_deplibs_FC
=unknown
11269 old_archive_cmds_FC
=$old_archive_cmds
11270 no_undefined_flag_FC
=
11271 whole_archive_flag_spec_FC
=
11272 enable_shared_with_static_runtimes_FC
=no
11274 # Source file extension for fc test sources.
11275 ac_ext
=${ac_fc_srcext-f}
11277 # Object file extension for compiled fc test sources.
11281 # No sense in running all these tests if we already determined that
11282 # the FC compiler isn't working. Some variables (like enable_shared)
11283 # are currently assumed to apply to all compilers on this platform,
11284 # and will be corrupted by setting them based on a non-working compiler.
11285 if test "$_lt_disable_FC" != yes; then
11286 # Code to be used in simple compile tests
11287 lt_simple_compile_test_code
="\
11293 # Code to be used in simple link tests
11294 lt_simple_link_test_code
="\
11299 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11306 # If no C compiler was specified, use CC.
11309 # If no C compiler flags were specified, use CFLAGS.
11310 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11312 # Allow CC to be a program name with arguments.
11316 # save warnings/boilerplate of simple test code
11317 ac_outfile
=conftest.
$ac_objext
11318 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11319 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11320 _lt_compiler_boilerplate
=`cat conftest.err`
11323 ac_outfile
=conftest.
$ac_objext
11324 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11325 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11326 _lt_linker_boilerplate
=`cat conftest.err`
11330 # Allow CC to be a program name with arguments.
11335 GCC
=$ac_cv_fc_compiler_gnu
11338 for cc_temp
in $compiler""; do
11340 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11341 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11346 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11349 if test -n "$compiler"; then
11350 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11351 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11352 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11353 echo "${ECHO_T}$can_build_shared" >&6
11355 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11356 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11357 test "$can_build_shared" = "no" && enable_shared
=no
11359 # On AIX, shared libraries and static libraries use the same namespace, and
11360 # are all built from PIC.
11363 test "$enable_shared" = yes && enable_static
=no
11364 if test -n "$RANLIB"; then
11365 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11366 postinstall_cmds
='$RANLIB $lib'
11370 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11371 test "$enable_shared" = yes && enable_static
=no
11375 echo "$as_me:$LINENO: result: $enable_shared" >&5
11376 echo "${ECHO_T}$enable_shared" >&6
11378 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11379 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11380 # Make sure either enable_shared or enable_static is yes.
11381 test "$enable_shared" = yes || enable_static
=yes
11382 echo "$as_me:$LINENO: result: $enable_static" >&5
11383 echo "${ECHO_T}$enable_static" >&6
11385 GCC_FC
="$ac_cv_fc_compiler_gnu"
11389 ## There is no encapsulation within the following macros, do not change
11390 ## the running order or otherwise move them around unless you know exactly
11391 ## what you are doing...
11392 # Dependencies to place before and after the object being linked:
11394 postdep_objects_FC
=
11397 compiler_lib_search_path_FC
=
11399 cat > conftest.
$ac_ext <<_LT_EOF
11408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11409 (eval $ac_compile) 2>&5
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); }; then
11413 # Parse the compiler output and extract the necessary
11414 # objects, libraries and library flags.
11416 # Sentinel used to keep track of whether or not we are before
11417 # the conftest object file.
11418 pre_test_object_deps_done
=no
11420 for p
in `eval "$output_verbose_link_cmd"`; do
11424 # Some compilers place space between "-{L,R}" and the path.
11425 # Remove the space.
11426 if test $p = "-L" ||
11427 test $p = "-R"; then
11434 if test "$pre_test_object_deps_done" = no
; then
11437 # Internal compiler library paths should come after those
11438 # provided the user. The postdeps already come after the
11439 # user supplied libs so there is no need to process them.
11440 if test -z "$compiler_lib_search_path_FC"; then
11441 compiler_lib_search_path_FC
="${prev}${p}"
11443 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
11446 # The "-l" case would never come before the object being
11447 # linked, so don't bother handling this case.
11450 if test -z "$postdeps_FC"; then
11451 postdeps_FC
="${prev}${p}"
11453 postdeps_FC
="${postdeps_FC} ${prev}${p}"
11459 # This assumes that the test object file only shows up
11460 # once in the compiler output.
11461 if test "$p" = "conftest.$objext"; then
11462 pre_test_object_deps_done
=yes
11466 if test "$pre_test_object_deps_done" = no
; then
11467 if test -z "$predep_objects_FC"; then
11468 predep_objects_FC
="$p"
11470 predep_objects_FC
="$predep_objects_FC $p"
11473 if test -z "$postdep_objects_FC"; then
11474 postdep_objects_FC
="$p"
11476 postdep_objects_FC
="$postdep_objects_FC $p"
11481 *) ;; # Ignore the rest.
11489 echo "libtool.m4: error: problem compiling FC test program"
11492 $RM -f confest.
$objext
11494 # PORTME: override above test on systems where it is broken
11497 case " $postdeps_FC " in
11498 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
11500 compiler_lib_search_dirs_FC
=
11501 if test -n "${compiler_lib_search_path_FC}"; then
11502 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
11535 lt_prog_compiler_wl_FC
=
11536 lt_prog_compiler_pic_FC
=
11537 lt_prog_compiler_static_FC
=
11539 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11540 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11542 if test "$GCC" = yes; then
11543 lt_prog_compiler_wl_FC
='-Wl,'
11544 lt_prog_compiler_static_FC
='-static'
11548 # All AIX code is PIC.
11549 if test "$host_cpu" = ia64
; then
11550 # AIX 5 now supports IA64 processor
11551 lt_prog_compiler_static_FC
='-Bstatic'
11558 # see comment about AmigaOS4 .so support
11559 lt_prog_compiler_pic_FC
='-fPIC'
11562 # FIXME: we need at least 68020 code to build shared libraries, but
11563 # adding the `-m68020' flag to GCC prevents building anything better,
11565 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
11570 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11571 # PIC is the default for these OSes.
11574 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11575 # This hack is so that the source file can tell whether it is being
11576 # built for inclusion in a dll (and should export symbols for example).
11577 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11578 # (--disable-auto-import) libraries
11579 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
11582 darwin
* | rhapsody
*)
11583 # PIC is the default on this platform
11584 # Common symbols not allowed in MH_DYLIB files
11585 lt_prog_compiler_pic_FC
='-fno-common'
11589 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11590 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11591 # sets the default TLS model and affects inlining.
11597 lt_prog_compiler_pic_FC
='-fPIC'
11603 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11604 # Instead, we relocate shared libraries at runtime.
11608 # Just because we use GCC doesn't mean we suddenly get shared libraries
11609 # on systems that don't support them.
11610 lt_prog_compiler_can_build_shared_FC
=no
11615 # QNX uses GNU C++, but need to define -shared option too, otherwise
11616 # it will coredump.
11617 lt_prog_compiler_pic_FC
='-fPIC -shared'
11621 if test -d /usr
/nec
; then
11622 lt_prog_compiler_pic_FC
=-Kconform_pic
11627 lt_prog_compiler_pic_FC
='-fPIC'
11631 # PORTME Check for flag to pass linker flags through the system compiler.
11634 lt_prog_compiler_wl_FC
='-Wl,'
11635 if test "$host_cpu" = ia64
; then
11636 # AIX 5 now supports IA64 processor
11637 lt_prog_compiler_static_FC
='-Bstatic'
11639 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
11643 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11644 # This hack is so that the source file can tell whether it is being
11645 # built for inclusion in a dll (and should export symbols for example).
11646 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
11649 hpux9
* | hpux10
* | hpux11
*)
11650 lt_prog_compiler_wl_FC
='-Wl,'
11651 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11652 # not for PA HP-UX.
11658 lt_prog_compiler_pic_FC
='+Z'
11661 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11662 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
11665 irix5
* | irix6
* | nonstopux
*)
11666 lt_prog_compiler_wl_FC
='-Wl,'
11667 # PIC (with -KPIC) is the default.
11668 lt_prog_compiler_static_FC
='-non_shared'
11671 linux
* | k
*bsd
*-gnu)
11672 case $cc_basename in
11673 # old Intel for x86_64 which still supported -KPIC.
11675 lt_prog_compiler_wl_FC
='-Wl,'
11676 lt_prog_compiler_pic_FC
='-KPIC'
11677 lt_prog_compiler_static_FC
='-static'
11679 # icc used to be incompatible with GCC.
11680 # ICC 10 doesn't accept -KPIC any more.
11682 lt_prog_compiler_wl_FC
='-Wl,'
11683 lt_prog_compiler_pic_FC
='-fPIC'
11684 lt_prog_compiler_static_FC
='-static'
11686 # Lahey Fortran 8.1.
11688 lt_prog_compiler_wl_FC
='-Wl,'
11689 lt_prog_compiler_pic_FC
='--shared'
11690 lt_prog_compiler_static_FC
='--static'
11692 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
11693 # Portland Group compilers (*not* the Pentium gcc compiler,
11694 # which looks to be a dead project)
11695 lt_prog_compiler_wl_FC
='-Wl,'
11696 lt_prog_compiler_pic_FC
='-fpic'
11697 lt_prog_compiler_static_FC
='-Bstatic'
11700 lt_prog_compiler_wl_FC
='-Wl,'
11701 # All Alpha code is PIC.
11702 lt_prog_compiler_static_FC
='-non_shared'
11705 # IBM XL C 8.0/Fortran 10.1 on PPC
11706 lt_prog_compiler_wl_FC
='-Wl,'
11707 lt_prog_compiler_pic_FC
='-qpic'
11708 lt_prog_compiler_static_FC
='-qstaticlink'
11711 case `$CC -V 2>&1 | sed 5q` in
11714 lt_prog_compiler_pic_FC
='-KPIC'
11715 lt_prog_compiler_static_FC
='-Bstatic'
11716 lt_prog_compiler_wl_FC
='-Wl,'
11719 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11720 lt_prog_compiler_pic_FC
='-KPIC'
11721 lt_prog_compiler_static_FC
='-Bstatic'
11722 lt_prog_compiler_wl_FC
=''
11730 lt_prog_compiler_pic_FC
='-KPIC'
11731 lt_prog_compiler_static_FC
='-Bstatic'
11735 # QNX uses GNU C++, but need to define -shared option too, otherwise
11736 # it will coredump.
11737 lt_prog_compiler_pic_FC
='-fPIC -shared'
11740 osf3
* | osf4
* | osf5
*)
11741 lt_prog_compiler_wl_FC
='-Wl,'
11742 # All OSF/1 code is PIC.
11743 lt_prog_compiler_static_FC
='-non_shared'
11747 lt_prog_compiler_static_FC
='-non_shared'
11751 lt_prog_compiler_pic_FC
='-KPIC'
11752 lt_prog_compiler_static_FC
='-Bstatic'
11753 case $cc_basename in
11754 f77
* | f90
* | f95
*)
11755 lt_prog_compiler_wl_FC
='-Qoption ld ';;
11757 lt_prog_compiler_wl_FC
='-Wl,';;
11762 lt_prog_compiler_wl_FC
='-Qoption ld '
11763 lt_prog_compiler_pic_FC
='-PIC'
11764 lt_prog_compiler_static_FC
='-Bstatic'
11767 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11768 lt_prog_compiler_wl_FC
='-Wl,'
11769 lt_prog_compiler_pic_FC
='-KPIC'
11770 lt_prog_compiler_static_FC
='-Bstatic'
11774 if test -d /usr
/nec
;then
11775 lt_prog_compiler_pic_FC
='-Kconform_pic'
11776 lt_prog_compiler_static_FC
='-Bstatic'
11780 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11781 lt_prog_compiler_wl_FC
='-Wl,'
11782 lt_prog_compiler_pic_FC
='-KPIC'
11783 lt_prog_compiler_static_FC
='-Bstatic'
11787 lt_prog_compiler_wl_FC
='-Wl,'
11788 lt_prog_compiler_can_build_shared_FC
=no
11792 lt_prog_compiler_pic_FC
='-pic'
11793 lt_prog_compiler_static_FC
='-Bstatic'
11797 lt_prog_compiler_can_build_shared_FC
=no
11803 # For platforms which do not support PIC, -DPIC is meaningless:
11805 lt_prog_compiler_pic_FC
=
11808 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
11811 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
11812 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6
11817 # Check to make sure the PIC flag actually works.
11819 if test -n "$lt_prog_compiler_pic_FC"; then
11820 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
11821 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6
11822 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then
11823 echo $ECHO_N "(cached) $ECHO_C" >&6
11825 lt_cv_prog_compiler_pic_works_FC
=no
11826 ac_outfile
=conftest.
$ac_objext
11827 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11828 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
11829 # Insert the option either (1) after the last *FLAGS variable, or
11830 # (2) before a word containing "conftest.", or (3) at the end.
11831 # Note that $ac_compile itself does not contain backslashes and begins
11832 # with a dollar sign (not a hyphen), so the echo should work correctly.
11833 # The option is referenced via a variable to avoid confusing sed.
11834 lt_compile
=`echo "$ac_compile" | $SED \
11835 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11836 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11837 -e 's:$: $lt_compiler_flag:'`
11838 (eval echo "\"\$as_me:11838: $lt_compile\"" >&5)
11839 (eval "$lt_compile" 2>conftest.err
)
11841 cat conftest.err
>&5
11842 echo "$as_me:11842: \$? = $ac_status" >&5
11843 if (exit $ac_status) && test -s "$ac_outfile"; then
11844 # The compiler can only warn and ignore the option if not recognized
11845 # So say no if there are warnings other than the usual output.
11846 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
11847 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11848 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11849 lt_cv_prog_compiler_pic_works_FC
=yes
11855 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_FC" >&5
11856 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_FC" >&6
11858 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
11859 case $lt_prog_compiler_pic_FC in
11861 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
11864 lt_prog_compiler_pic_FC
=
11865 lt_prog_compiler_can_build_shared_FC
=no
11873 # Check to make sure the static flag actually works.
11875 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
11876 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11877 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11878 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then
11879 echo $ECHO_N "(cached) $ECHO_C" >&6
11881 lt_cv_prog_compiler_static_works_FC
=no
11882 save_LDFLAGS
="$LDFLAGS"
11883 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11884 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11885 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11886 # The linker can only warn and ignore the option if not recognized
11887 # So say no if there are warnings
11888 if test -s conftest.err
; then
11889 # Append any errors to the config.log.
11890 cat conftest.err
1>&5
11891 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
11892 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11893 if diff conftest.exp conftest.er2
>/dev
/null
; then
11894 lt_cv_prog_compiler_static_works_FC
=yes
11897 lt_cv_prog_compiler_static_works_FC
=yes
11901 LDFLAGS
="$save_LDFLAGS"
11904 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_FC" >&5
11905 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_FC" >&6
11907 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
11910 lt_prog_compiler_static_FC
=
11916 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11917 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11918 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11919 echo $ECHO_N "(cached) $ECHO_C" >&6
11921 lt_cv_prog_compiler_c_o_FC
=no
11922 $RM -r conftest
2>/dev
/null
11926 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11928 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11929 # Insert the option either (1) after the last *FLAGS variable, or
11930 # (2) before a word containing "conftest.", or (3) at the end.
11931 # Note that $ac_compile itself does not contain backslashes and begins
11932 # with a dollar sign (not a hyphen), so the echo should work correctly.
11933 lt_compile
=`echo "$ac_compile" | $SED \
11934 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11935 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11936 -e 's:$: $lt_compiler_flag:'`
11937 (eval echo "\"\$as_me:11937: $lt_compile\"" >&5)
11938 (eval "$lt_compile" 2>out
/conftest.err
)
11940 cat out
/conftest.err
>&5
11941 echo "$as_me:11941: \$? = $ac_status" >&5
11942 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11944 # The compiler can only warn and ignore the option if not recognized
11945 # So say no if there are warnings
11946 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11947 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11948 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11949 lt_cv_prog_compiler_c_o_FC
=yes
11954 # SGI C++ compiler will create directory out/ii_files/ for
11955 # template instantiation
11956 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11957 $RM out
/* && rmdir out
11963 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11964 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11968 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11969 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11970 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11971 echo $ECHO_N "(cached) $ECHO_C" >&6
11973 lt_cv_prog_compiler_c_o_FC
=no
11974 $RM -r conftest
2>/dev
/null
11978 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11980 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11981 # Insert the option either (1) after the last *FLAGS variable, or
11982 # (2) before a word containing "conftest.", or (3) at the end.
11983 # Note that $ac_compile itself does not contain backslashes and begins
11984 # with a dollar sign (not a hyphen), so the echo should work correctly.
11985 lt_compile
=`echo "$ac_compile" | $SED \
11986 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11987 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11988 -e 's:$: $lt_compiler_flag:'`
11989 (eval echo "\"\$as_me:11989: $lt_compile\"" >&5)
11990 (eval "$lt_compile" 2>out
/conftest.err
)
11992 cat out
/conftest.err
>&5
11993 echo "$as_me:11993: \$? = $ac_status" >&5
11994 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11996 # The compiler can only warn and ignore the option if not recognized
11997 # So say no if there are warnings
11998 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11999 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12000 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12001 lt_cv_prog_compiler_c_o_FC
=yes
12006 # SGI C++ compiler will create directory out/ii_files/ for
12007 # template instantiation
12008 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12009 $RM out
/* && rmdir out
12015 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
12016 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
12021 hard_links
="nottested"
12022 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
12023 # do not overwrite the value of need_locks provided by the user
12024 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12025 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12028 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12030 ln conftest.a conftest.b
2>&5 || hard_links
=no
12031 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12032 echo "$as_me:$LINENO: result: $hard_links" >&5
12033 echo "${ECHO_T}$hard_links" >&6
12034 if test "$hard_links" = no
; then
12035 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12036 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12045 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12046 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12049 allow_undefined_flag_FC
=
12050 always_export_symbols_FC
=no
12052 archive_expsym_cmds_FC
=
12053 compiler_needs_object_FC
=no
12054 enable_shared_with_static_runtimes_FC
=no
12055 export_dynamic_flag_spec_FC
=
12056 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12057 hardcode_automatic_FC
=no
12058 hardcode_direct_FC
=no
12059 hardcode_direct_absolute_FC
=no
12060 hardcode_libdir_flag_spec_FC
=
12061 hardcode_libdir_flag_spec_ld_FC
=
12062 hardcode_libdir_separator_FC
=
12063 hardcode_minus_L_FC
=no
12064 hardcode_shlibpath_var_FC
=unsupported
12065 inherit_rpath_FC
=no
12066 link_all_deplibs_FC
=unknown
12068 module_expsym_cmds_FC
=
12069 old_archive_from_new_cmds_FC
=
12070 old_archive_from_expsyms_cmds_FC
=
12071 thread_safe_flag_spec_FC
=
12072 whole_archive_flag_spec_FC
=
12073 # include_expsyms should be a list of space-separated symbols to be *always*
12074 # included in the symbol list
12075 include_expsyms_FC
=
12076 # exclude_expsyms can be an extended regexp of symbols to exclude
12077 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12078 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12079 # as well as any symbol that contains `d'.
12080 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12081 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12082 # platforms (ab)use it in PIC code, but their linkers get confused if
12083 # the symbol is explicitly referenced. Since portable code cannot
12084 # rely on this symbol name, it's probably fine to never include it in
12085 # preloaded symbol tables.
12086 # Exclude shared library initialization/finalization symbols.
12087 extract_expsyms_cmds
=
12090 cygwin
* | mingw
* | pw32
* | cegcc
*)
12091 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12092 # When not using gcc, we currently assume that we are using
12093 # Microsoft Visual C++.
12094 if test "$GCC" != yes; then
12099 # we just hope/assume this is gcc and not c89 (= MSVC++)
12108 if test "$with_gnu_ld" = yes; then
12109 # If archive_cmds runs LD, not CC, wlarc should be empty
12112 # Set some defaults for GNU ld with shared library support. These
12113 # are reset later if shared libraries are not supported. Putting them
12114 # here allows them to be overridden if necessary.
12115 runpath_var
=LD_RUN_PATH
12116 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12117 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
12118 # ancient GNU ld didn't support --whole-archive et. al.
12119 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12120 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12122 whole_archive_flag_spec_FC
=
12124 supports_anon_versioning
=no
12125 case `$LD -v 2>&1` in
12126 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12127 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12128 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12129 *\
2.11.
*) ;; # other 2.11 versions
12130 *) supports_anon_versioning
=yes ;;
12133 # See if GNU ld supports shared libraries.
12136 # On AIX/PPC, the GNU linker is very broken
12137 if test "$host_cpu" != ia64
; then
12141 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
12142 *** to be unable to reliably create shared libraries on AIX.
12143 *** Therefore, libtool is disabling shared libraries support. If you
12144 *** really care for shared libraries, you may want to modify your PATH
12145 *** so that a non-GNU linker is found, and then restart.
12154 # see comment about AmigaOS4 .so support
12155 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12156 archive_expsym_cmds_FC
=''
12159 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)'
12160 hardcode_libdir_flag_spec_FC
='-L$libdir'
12161 hardcode_minus_L_FC
=yes
12167 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12168 allow_undefined_flag_FC
=unsupported
12169 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12170 # support --undefined. This deserves some investigation. FIXME
12171 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12177 cygwin
* | mingw
* | pw32
* | cegcc
*)
12178 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12179 # as there is no search path for DLLs.
12180 hardcode_libdir_flag_spec_FC
='-L$libdir'
12181 allow_undefined_flag_FC
=unsupported
12182 always_export_symbols_FC
=no
12183 enable_shared_with_static_runtimes_FC
=yes
12184 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12186 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12187 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12188 # If the export-symbols file already is a .def file (1st line
12189 # is EXPORTS), use it as is; otherwise, prepend...
12190 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12191 cp $export_symbols $output_objdir/$soname.def;
12193 echo EXPORTS > $output_objdir/$soname.def;
12194 cat $export_symbols >> $output_objdir/$soname.def;
12196 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12203 hardcode_direct_FC
=no
12204 hardcode_shlibpath_var_FC
=no
12205 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12206 export_dynamic_flag_spec_FC
='${wl}-E'
12207 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12208 # Instead, shared libraries are loaded at an image base (0x10000000 by
12209 # default) and relocated if they conflict, which is a slow very memory
12210 # consuming and fragmenting process. To avoid this, we pick a random,
12211 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12212 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12213 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'
12214 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'
12217 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
12219 if test "$host_os" = linux-dietlibc
; then
12220 case $cc_basename in
12221 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12224 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12225 && test "$tmp_diet" = no
12228 tmp_sharedflag
='-shared'
12229 case $cc_basename,$host_cpu in
12230 pgcc
*) # Portland Group C compiler
12231 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'
12232 tmp_addflag
=' $pic_flag'
12234 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
12235 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'
12236 tmp_addflag
=' $pic_flag -Mnomain' ;;
12237 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12238 tmp_addflag
=' -i_dynamic' ;;
12239 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12240 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12241 ifc
* | ifort
*) # Intel Fortran compiler
12242 tmp_addflag
=' -nofor_main' ;;
12243 lf95
*) # Lahey Fortran 8.1
12244 whole_archive_flag_spec_FC
=
12245 tmp_sharedflag
='--shared' ;;
12246 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12247 tmp_sharedflag
='-qmkshrobj'
12250 case `$CC -V 2>&1 | sed 5q` in
12251 *Sun\ C
*) # Sun C 5.9
12252 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'
12253 compiler_needs_object_FC
=yes
12254 tmp_sharedflag
='-G' ;;
12255 *Sun\ F
*) # Sun Fortran 8.3
12256 tmp_sharedflag
='-G' ;;
12258 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12260 if test "x$supports_anon_versioning" = xyes
; then
12261 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12262 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12263 echo "local: *; };" >> $output_objdir/$libname.ver~
12264 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12267 case $cc_basename in
12269 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12270 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
12271 hardcode_libdir_flag_spec_FC
=
12272 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
12273 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12274 if test "x$supports_anon_versioning" = xyes
; then
12275 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12276 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12277 echo "local: *; };" >> $output_objdir/$libname.ver~
12278 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12288 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12289 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12292 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12293 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12298 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12302 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12303 *** create shared libraries on Solaris systems. Therefore, libtool
12304 *** is disabling shared libraries support. We urge you to upgrade GNU
12305 *** binutils to release 2.9.1 or newer. Another option is to modify
12306 *** your PATH or compiler configuration so that the native linker is
12307 *** used, and then restart.
12310 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12311 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12312 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12318 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12319 case `$LD -v 2>&1` in
12320 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12324 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12325 *** reliably create shared libraries on SCO systems. Therefore, libtool
12326 *** is disabling shared libraries support. We urge you to upgrade GNU
12327 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12328 *** your PATH or compiler configuration so that the native linker is
12329 *** used, and then restart.
12334 # For security reasons, it is highly recommended that you always
12335 # use absolute paths for naming shared libraries, and exclude the
12336 # DT_RUNPATH tag from executables and libraries. But doing so
12337 # requires that you compile everything twice, which is a pain.
12338 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12339 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12340 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12341 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12350 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12352 hardcode_direct_FC
=yes
12353 hardcode_shlibpath_var_FC
=no
12357 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12358 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12359 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12366 if test "$ld_shlibs_FC" = no
; then
12368 hardcode_libdir_flag_spec_FC
=
12369 export_dynamic_flag_spec_FC
=
12370 whole_archive_flag_spec_FC
=
12373 # PORTME fill in a description of your system's linker (not GNU ld)
12376 allow_undefined_flag_FC
=unsupported
12377 always_export_symbols_FC
=yes
12378 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'
12379 # Note: this linker hardcodes the directories in LIBPATH if there
12380 # are no directories specified by -L.
12381 hardcode_minus_L_FC
=yes
12382 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12383 # Neither direct hardcoding nor static linking is supported with a
12385 hardcode_direct_FC
=unsupported
12390 if test "$host_cpu" = ia64
; then
12391 # On IA64, the linker does run time linking by default, so we don't
12392 # have to do anything special.
12393 aix_use_runtimelinking
=no
12394 exp_sym_flag
='-Bexport'
12397 # If we're using GNU nm, then we don't want the "-C" option.
12398 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12399 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12400 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'
12402 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'
12404 aix_use_runtimelinking
=no
12406 # Test if we are trying to use run time linking or normal
12407 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12408 # need to do runtime linking.
12409 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12410 for ld_flag
in $LDFLAGS; do
12411 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12412 aix_use_runtimelinking
=yes
12419 exp_sym_flag
='-bexport'
12420 no_entry_flag
='-bnoentry'
12423 # When large executables or shared objects are built, AIX ld can
12424 # have problems creating the table of contents. If linking a library
12425 # or program results in "error TOC overflow" add -mminimal-toc to
12426 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12427 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12430 hardcode_direct_FC
=yes
12431 hardcode_direct_absolute_FC
=yes
12432 hardcode_libdir_separator_FC
=':'
12433 link_all_deplibs_FC
=yes
12434 file_list_spec_FC
='${wl}-f,'
12436 if test "$GCC" = yes; then
12437 case $host_os in aix4.
[012]|aix4.
[012].
*)
12438 # We only want to do this on AIX 4.2 and lower, the check
12439 # below for broken collect2 doesn't work under 4.3+
12440 collect2name
=`${CC} -print-prog-name=collect2`
12441 if test -f "$collect2name" &&
12442 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12444 # We have reworked collect2
12447 # We have old collect2
12448 hardcode_direct_FC
=unsupported
12449 # It fails to find uninstalled libraries when the uninstalled
12450 # path is not listed in the libpath. Setting hardcode_minus_L
12451 # to unsupported forces relinking
12452 hardcode_minus_L_FC
=yes
12453 hardcode_libdir_flag_spec_FC
='-L$libdir'
12454 hardcode_libdir_separator_FC
=
12458 shared_flag
='-shared'
12459 if test "$aix_use_runtimelinking" = yes; then
12460 shared_flag
="$shared_flag "'${wl}-G'
12464 if test "$host_cpu" = ia64
; then
12465 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12466 # chokes on -Wl,-G. The following line is correct:
12469 if test "$aix_use_runtimelinking" = yes; then
12470 shared_flag
='${wl}-G'
12472 shared_flag
='${wl}-bM:SRE'
12477 export_dynamic_flag_spec_FC
='${wl}-bexpall'
12478 # It seems that -bexpall does not export symbols beginning with
12479 # underscore (_), so it is better to generate a list of symbols to export.
12480 always_export_symbols_FC
=yes
12481 if test "$aix_use_runtimelinking" = yes; then
12482 # Warning - without using the other runtime loading flags (-brtl),
12483 # -berok will link without error, but may produce a broken library.
12484 allow_undefined_flag_FC
='-berok'
12485 # Determine the default libpath from the value encoded in an
12486 # empty executable.
12487 cat >conftest.
$ac_ext <<_ACEOF
12492 rm -f conftest.
$ac_objext conftest
$ac_exeext
12493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12494 (eval $ac_link) 2>conftest.er1
12496 grep -v '^ *+' conftest.er1
>conftest.err
12498 cat conftest.err
>&5
12499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12500 (exit $ac_status); } &&
12501 { ac_try
='test -z "$ac_fc_werror_flag"
12502 || test ! -s conftest.err'
12503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12504 (eval $ac_try) 2>&5
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); }; } &&
12508 { ac_try
='test -s conftest$ac_exeext'
12509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12510 (eval $ac_try) 2>&5
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); }; }; then
12515 lt_aix_libpath_sed
='
12516 /Import File Strings/,/^$/ {
12522 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12523 # Check for a 64-bit object if we didn't find anything.
12524 if test -z "$aix_libpath"; then
12525 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12528 echo "$as_me: failed program was:" >&5
12529 sed 's/^/| /' conftest.
$ac_ext >&5
12532 rm -f conftest.err conftest.
$ac_objext \
12533 conftest
$ac_exeext conftest.
$ac_ext
12534 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12536 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
12537 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"
12539 if test "$host_cpu" = ia64
; then
12540 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
12541 allow_undefined_flag_FC
="-z nodefs"
12542 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"
12544 # Determine the default libpath from the value encoded in an
12545 # empty executable.
12546 cat >conftest.
$ac_ext <<_ACEOF
12551 rm -f conftest.
$ac_objext conftest
$ac_exeext
12552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12553 (eval $ac_link) 2>conftest.er1
12555 grep -v '^ *+' conftest.er1
>conftest.err
12557 cat conftest.err
>&5
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); } &&
12560 { ac_try
='test -z "$ac_fc_werror_flag"
12561 || test ! -s conftest.err'
12562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12563 (eval $ac_try) 2>&5
12565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12566 (exit $ac_status); }; } &&
12567 { ac_try
='test -s conftest$ac_exeext'
12568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12569 (eval $ac_try) 2>&5
12571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12572 (exit $ac_status); }; }; then
12574 lt_aix_libpath_sed
='
12575 /Import File Strings/,/^$/ {
12581 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12582 # Check for a 64-bit object if we didn't find anything.
12583 if test -z "$aix_libpath"; then
12584 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12587 echo "$as_me: failed program was:" >&5
12588 sed 's/^/| /' conftest.
$ac_ext >&5
12591 rm -f conftest.err conftest.
$ac_objext \
12592 conftest
$ac_exeext conftest.
$ac_ext
12593 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12595 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
12596 # Warning - without using the other run time loading flags,
12597 # -berok will link without error, but may produce a broken library.
12598 no_undefined_flag_FC
=' ${wl}-bernotok'
12599 allow_undefined_flag_FC
=' ${wl}-berok'
12600 # Exported symbols can be pulled into shared objects from archives
12601 whole_archive_flag_spec_FC
='$convenience'
12602 archive_cmds_need_lc_FC
=yes
12603 # This is similar to how AIX traditionally builds its shared libraries.
12604 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'
12612 # see comment about AmigaOS4 .so support
12613 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12614 archive_expsym_cmds_FC
=''
12617 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)'
12618 hardcode_libdir_flag_spec_FC
='-L$libdir'
12619 hardcode_minus_L_FC
=yes
12625 export_dynamic_flag_spec_FC
=-rdynamic
12628 cygwin
* | mingw
* | pw32
* | cegcc
*)
12629 # When not using gcc, we currently assume that we are using
12630 # Microsoft Visual C++.
12631 # hardcode_libdir_flag_spec is actually meaningless, as there is
12632 # no search path for DLLs.
12633 hardcode_libdir_flag_spec_FC
=' '
12634 allow_undefined_flag_FC
=unsupported
12635 # Tell ltmain to make .lib files, not .a files.
12637 # Tell ltmain to make .dll files, not .so files.
12639 # FIXME: Setting linknames here is a bad hack.
12640 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
12641 # The linker will automatically build a .lib file if we build a DLL.
12642 old_archive_from_new_cmds_FC
='true'
12643 # FIXME: Should let the user specify the lib program.
12644 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12645 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
12646 enable_shared_with_static_runtimes_FC
=yes
12649 darwin
* | rhapsody
*)
12652 archive_cmds_need_lc_FC
=no
12653 hardcode_direct_FC
=no
12654 hardcode_automatic_FC
=yes
12655 hardcode_shlibpath_var_FC
=unsupported
12656 whole_archive_flag_spec_FC
=''
12657 link_all_deplibs_FC
=yes
12658 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
12659 case $cc_basename in
12660 ifort
*) _lt_dar_can_shared
=yes ;;
12661 *) _lt_dar_can_shared
=$GCC ;;
12663 if test "$_lt_dar_can_shared" = "yes"; then
12664 output_verbose_link_cmd
=echo
12665 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}"
12666 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12667 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}"
12668 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}"
12677 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12678 hardcode_libdir_flag_spec_FC
='-L$libdir'
12679 hardcode_shlibpath_var_FC
=no
12686 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12687 # support. Future versions do this automatically, but an explicit c++rt0.o
12688 # does not break anything, and helps significantly (at the cost of a little
12691 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12692 hardcode_libdir_flag_spec_FC
='-R$libdir'
12693 hardcode_direct_FC
=yes
12694 hardcode_shlibpath_var_FC
=no
12697 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12699 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12700 hardcode_direct_FC
=yes
12701 hardcode_minus_L_FC
=yes
12702 hardcode_shlibpath_var_FC
=no
12705 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12706 freebsd
* | dragonfly
*)
12707 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12708 hardcode_libdir_flag_spec_FC
='-R$libdir'
12709 hardcode_direct_FC
=yes
12710 hardcode_shlibpath_var_FC
=no
12714 if test "$GCC" = yes; then
12715 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'
12717 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'
12719 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
12720 hardcode_libdir_separator_FC
=:
12721 hardcode_direct_FC
=yes
12723 # hardcode_minus_L: Not really in the search PATH,
12724 # but as the default location of the library.
12725 hardcode_minus_L_FC
=yes
12726 export_dynamic_flag_spec_FC
='${wl}-E'
12730 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
12731 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12733 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12735 if test "$with_gnu_ld" = no
; then
12736 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
12737 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
12738 hardcode_libdir_separator_FC
=:
12739 hardcode_direct_FC
=yes
12740 hardcode_direct_absolute_FC
=yes
12741 export_dynamic_flag_spec_FC
='${wl}-E'
12742 # hardcode_minus_L: Not really in the search PATH,
12743 # but as the default location of the library.
12744 hardcode_minus_L_FC
=yes
12749 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
12752 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12755 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12758 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12764 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12767 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12770 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12774 if test "$with_gnu_ld" = no
; then
12775 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
12776 hardcode_libdir_separator_FC
=:
12780 hardcode_direct_FC
=no
12781 hardcode_shlibpath_var_FC
=no
12784 hardcode_direct_FC
=yes
12785 hardcode_direct_absolute_FC
=yes
12786 export_dynamic_flag_spec_FC
='${wl}-E'
12788 # hardcode_minus_L: Not really in the search PATH,
12789 # but as the default location of the library.
12790 hardcode_minus_L_FC
=yes
12796 irix5
* | irix6
* | nonstopux
*)
12797 if test "$GCC" = yes; then
12798 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'
12799 # Try to use the -exported_symbol ld option, if it does not
12800 # work, assume that -exports_file does not work either and
12801 # implicitly export all symbols.
12802 save_LDFLAGS
="$LDFLAGS"
12803 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12804 cat >conftest.
$ac_ext <<_ACEOF
12807 rm -f conftest.
$ac_objext conftest
$ac_exeext
12808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12809 (eval $ac_link) 2>conftest.er1
12811 grep -v '^ *+' conftest.er1
>conftest.err
12813 cat conftest.err
>&5
12814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12815 (exit $ac_status); } &&
12816 { ac_try
='test -z "$ac_fc_werror_flag"
12817 || test ! -s conftest.err'
12818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12819 (eval $ac_try) 2>&5
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); }; } &&
12823 { ac_try
='test -s conftest$ac_exeext'
12824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12825 (eval $ac_try) 2>&5
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828 (exit $ac_status); }; }; then
12829 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'
12832 echo "$as_me: failed program was:" >&5
12833 sed 's/^/| /' conftest.
$ac_ext >&5
12836 rm -f conftest.err conftest.
$ac_objext \
12837 conftest
$ac_exeext conftest.
$ac_ext
12838 LDFLAGS
="$save_LDFLAGS"
12840 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'
12841 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'
12843 archive_cmds_need_lc_FC
='no'
12844 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12845 hardcode_libdir_separator_FC
=:
12846 inherit_rpath_FC
=yes
12847 link_all_deplibs_FC
=yes
12851 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12852 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12854 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12856 hardcode_libdir_flag_spec_FC
='-R$libdir'
12857 hardcode_direct_FC
=yes
12858 hardcode_shlibpath_var_FC
=no
12862 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12863 hardcode_direct_FC
=yes
12864 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12865 hardcode_libdir_separator_FC
=:
12866 hardcode_shlibpath_var_FC
=no
12873 if test -f /usr
/libexec
/ld.so
; then
12874 hardcode_direct_FC
=yes
12875 hardcode_shlibpath_var_FC
=no
12876 hardcode_direct_absolute_FC
=yes
12877 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12878 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12879 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12880 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12881 export_dynamic_flag_spec_FC
='${wl}-E'
12884 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12885 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12886 hardcode_libdir_flag_spec_FC
='-R$libdir'
12889 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12890 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12900 hardcode_libdir_flag_spec_FC
='-L$libdir'
12901 hardcode_minus_L_FC
=yes
12902 allow_undefined_flag_FC
=unsupported
12903 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'
12904 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12908 if test "$GCC" = yes; then
12909 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
12910 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'
12912 allow_undefined_flag_FC
=' -expect_unresolved \*'
12913 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'
12915 archive_cmds_need_lc_FC
='no'
12916 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12917 hardcode_libdir_separator_FC
=:
12920 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12921 if test "$GCC" = yes; then
12922 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
12923 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'
12924 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12926 allow_undefined_flag_FC
=' -expect_unresolved \*'
12927 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'
12928 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~
12929 $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'
12931 # Both c and cxx compiler support -rpath directly
12932 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
12934 archive_cmds_need_lc_FC
='no'
12935 hardcode_libdir_separator_FC
=:
12939 no_undefined_flag_FC
=' -z defs'
12940 if test "$GCC" = yes; then
12942 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12943 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12944 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12946 case `$CC -V 2>&1` in
12949 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12950 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12951 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12955 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12956 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12957 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12961 hardcode_libdir_flag_spec_FC
='-R$libdir'
12962 hardcode_shlibpath_var_FC
=no
12964 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12966 # The compiler driver will combine and reorder linker options,
12967 # but understands `-z linker_flag'. GCC discards it without `$wl',
12968 # but is careful enough not to reorder.
12969 # Supported since Solaris 2.6 (maybe 2.5.1?)
12970 if test "$GCC" = yes; then
12971 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12973 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
12977 link_all_deplibs_FC
=yes
12981 if test "x$host_vendor" = xsequent
; then
12982 # Use $CC to link under sequent, because it throws in some extra .o
12983 # files that make .init and .fini sections work.
12984 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12986 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12988 hardcode_libdir_flag_spec_FC
='-L$libdir'
12989 hardcode_direct_FC
=yes
12990 hardcode_minus_L_FC
=yes
12991 hardcode_shlibpath_var_FC
=no
12995 case $host_vendor in
12997 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12998 hardcode_direct_FC
=yes # is this really true???
13001 ## LD is ld it makes a PLAMLIB
13002 ## CC just makes a GrossModule.
13003 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13004 reload_cmds_FC
='$CC -r -o $output$reload_objs'
13005 hardcode_direct_FC
=no
13008 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13009 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
13012 runpath_var
='LD_RUN_PATH'
13013 hardcode_shlibpath_var_FC
=no
13017 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13018 hardcode_shlibpath_var_FC
=no
13019 export_dynamic_flag_spec_FC
='-Bexport'
13023 if test -d /usr
/nec
; then
13024 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13025 hardcode_shlibpath_var_FC
=no
13026 runpath_var
=LD_RUN_PATH
13027 hardcode_runpath_var
=yes
13032 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13033 no_undefined_flag_FC
='${wl}-z,text'
13034 archive_cmds_need_lc_FC
=no
13035 hardcode_shlibpath_var_FC
=no
13036 runpath_var
='LD_RUN_PATH'
13038 if test "$GCC" = yes; then
13039 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13040 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13042 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13043 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13047 sysv5
* | sco3.2v5
* | sco5v6
*)
13048 # Note: We can NOT use -z defs as we might desire, because we do not
13049 # link with -lc, and that would cause any symbols used from libc to
13050 # always be unresolved, which means just about no library would
13051 # ever link correctly. If we're not using GNU ld we use -z text
13052 # though, which does catch some bad symbols but isn't as heavy-handed
13054 no_undefined_flag_FC
='${wl}-z,text'
13055 allow_undefined_flag_FC
='${wl}-z,nodefs'
13056 archive_cmds_need_lc_FC
=no
13057 hardcode_shlibpath_var_FC
=no
13058 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
13059 hardcode_libdir_separator_FC
=':'
13060 link_all_deplibs_FC
=yes
13061 export_dynamic_flag_spec_FC
='${wl}-Bexport'
13062 runpath_var
='LD_RUN_PATH'
13064 if test "$GCC" = yes; then
13065 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13066 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13068 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13069 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13074 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13075 hardcode_libdir_flag_spec_FC
='-L$libdir'
13076 hardcode_shlibpath_var_FC
=no
13084 if test x
$host_vendor = xsni
; then
13086 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13087 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
13093 echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
13094 echo "${ECHO_T}$ld_shlibs_FC" >&6
13095 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
13097 with_gnu_ld_FC
=$with_gnu_ld
13105 # Do we need to explicitly link libc?
13107 case "x$archive_cmds_need_lc_FC" in
13109 # Assume -lc should be added
13110 archive_cmds_need_lc_FC
=yes
13112 if test "$enable_shared" = yes && test "$GCC" = yes; then
13113 case $archive_cmds_FC in
13115 # FIXME: we may have to deal with multi-command sequences.
13118 # Test whether the compiler implicitly links with -lc since on some
13119 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13120 # to ld, don't add -lc before -lgcc.
13121 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13122 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13123 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then
13124 echo $ECHO_N "(cached) $ECHO_C" >&6
13127 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13130 (eval $ac_compile) 2>&5
13132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13133 (exit $ac_status); } 2>conftest.err
; then
13136 libobjs
=conftest.
$ac_objext
13138 wl
=$lt_prog_compiler_wl_FC
13139 pic_flag
=$lt_prog_compiler_pic_FC
13145 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
13146 allow_undefined_flag_FC
=
13147 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13148 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); }
13153 lt_cv_archive_cmds_need_lc_FC
=no
13155 lt_cv_archive_cmds_need_lc_FC
=yes
13157 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
13159 cat conftest.err
1>&5
13164 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13165 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_FC" >&6
13166 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
13236 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13237 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13239 library_names_spec
=
13240 libname_spec
='lib$name'
13244 postuninstall_cmds
=
13248 shlibpath_overrides_runpath
=unknown
13250 dynamic_linker
="$host_os ld.so"
13251 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13252 need_lib_prefix
=unknown
13253 hardcode_into_libs
=no
13255 # when you set need_version to no, make sure it does not cause -set_version
13256 # flags to be left without arguments
13257 need_version
=unknown
13262 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13263 shlibpath_var
=LIBPATH
13265 # AIX 3 has no versioning support, so we append a major version to the name.
13266 soname_spec
='${libname}${release}${shared_ext}$major'
13273 hardcode_into_libs
=yes
13274 if test "$host_cpu" = ia64
; then
13275 # AIX 5 supports IA64
13276 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13277 shlibpath_var
=LD_LIBRARY_PATH
13279 # With GCC up to 2.95.x, collect2 would create an import file
13280 # for dependence libraries. The import file would start with
13281 # the line `#! .'. This would cause the generated library to
13282 # depend on `.', always an invalid library. This was fixed in
13283 # development snapshots of GCC prior to 3.0.
13285 aix4 | aix4.
[01] | aix4.
[01].
*)
13286 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13288 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13291 can_build_shared
=no
13295 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13296 # soname into executable. Probably we can add versioning support to
13297 # collect2, so additional links can be useful in future.
13298 if test "$aix_use_runtimelinking" = yes; then
13299 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13300 # instead of lib<name>.a to let people know that these are not
13301 # typical AIX shared libraries.
13302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13304 # We preserve .a as extension for shared libraries through AIX4.2
13305 # and later when we are not doing run time linking.
13306 library_names_spec
='${libname}${release}.a $libname.a'
13307 soname_spec
='${libname}${release}${shared_ext}$major'
13309 shlibpath_var
=LIBPATH
13316 # Since July 2007 AmigaOS4 officially supports .so libraries.
13317 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13321 library_names_spec
='$libname.ixlibrary $libname.a'
13322 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13323 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'
13329 library_names_spec
='${libname}${shared_ext}'
13330 dynamic_linker
="$host_os ld.so"
13331 shlibpath_var
=LIBRARY_PATH
13337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13338 soname_spec
='${libname}${release}${shared_ext}$major'
13339 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13340 shlibpath_var
=LD_LIBRARY_PATH
13341 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13342 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13343 # the default ld.so.conf also contains /usr/contrib/lib and
13344 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13345 # libtool to hard-code these into programs
13348 cygwin
* | mingw
* | pw32
* | cegcc
*)
13349 version_type
=windows
13354 case $GCC,$host_os in
13355 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13356 library_names_spec
='$libname.dll.a'
13357 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13358 postinstall_cmds
='base_file=`basename \${file}`~
13359 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13360 dldir=$destdir/`dirname \$dlpath`~
13361 test -d \$dldir || mkdir -p \$dldir~
13362 $install_prog $dir/$dlname \$dldir/$dlname~
13363 chmod a+x \$dldir/$dlname~
13364 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13365 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13367 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13368 dlpath=$dir/\$dldll~
13370 shlibpath_overrides_runpath
=yes
13374 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13375 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13376 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13379 # MinGW DLLs use traditional 'lib' prefix
13380 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13381 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13382 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
13383 # It is most probably a Windows format PATH printed by
13384 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13385 # path with ; separators, and with drive letters. We can handle the
13386 # drive letters (cygwin fileutils understands them), so leave them,
13387 # especially as we might pass files found there to a mingw objdump,
13388 # which wouldn't understand a cygwinified path. Ahh.
13389 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13391 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13395 # pw32 DLLs use 'pw' prefix rather than 'lib'
13396 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13402 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13405 dynamic_linker
='Win32 ld.exe'
13406 # FIXME: first we should search . and the directory the executable is in
13410 darwin
* | rhapsody
*)
13411 dynamic_linker
="$host_os dyld"
13412 version_type
=darwin
13415 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13416 soname_spec
='${libname}${release}${major}$shared_ext'
13417 shlibpath_overrides_runpath
=yes
13418 shlibpath_var
=DYLD_LIBRARY_PATH
13419 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13421 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13429 soname_spec
='${libname}${release}${shared_ext}$major'
13430 shlibpath_var
=LD_LIBRARY_PATH
13437 freebsd
* | dragonfly
*)
13438 # DragonFly does not have aout. When/if they implement a new
13439 # versioning mechanism, adjust this.
13440 if test -x /usr
/bin
/objformat
; then
13441 objformat
=`/usr/bin/objformat`
13444 freebsd
[123]*) objformat
=aout
;;
13445 *) objformat
=elf
;;
13448 version_type
=freebsd-
$objformat
13449 case $version_type in
13451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13456 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13460 shlibpath_var
=LD_LIBRARY_PATH
13463 shlibpath_overrides_runpath
=yes
13465 freebsd3.
[01]* | freebsdelf3.
[01]*)
13466 shlibpath_overrides_runpath
=yes
13467 hardcode_into_libs
=yes
13469 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13470 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13471 shlibpath_overrides_runpath
=no
13472 hardcode_into_libs
=yes
13474 *) # from 4.6 on, and DragonFly
13475 shlibpath_overrides_runpath
=yes
13476 hardcode_into_libs
=yes
13485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13486 soname_spec
='${libname}${release}${shared_ext}$major'
13487 shlibpath_var
=LD_LIBRARY_PATH
13488 hardcode_into_libs
=yes
13491 hpux9
* | hpux10
* | hpux11
*)
13492 # Give a soname corresponding to the major version so that dld.sl refuses to
13493 # link against other versions.
13500 hardcode_into_libs
=yes
13501 dynamic_linker
="$host_os dld.so"
13502 shlibpath_var
=LD_LIBRARY_PATH
13503 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13505 soname_spec
='${libname}${release}${shared_ext}$major'
13506 if test "X$HPUX_IA64_MODE" = X32
; then
13507 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13509 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13511 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13515 hardcode_into_libs
=yes
13516 dynamic_linker
="$host_os dld.sl"
13517 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13518 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13520 soname_spec
='${libname}${release}${shared_ext}$major'
13521 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13522 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13526 dynamic_linker
="$host_os dld.sl"
13527 shlibpath_var
=SHLIB_PATH
13528 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13530 soname_spec
='${libname}${release}${shared_ext}$major'
13533 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13534 postinstall_cmds
='chmod 555 $lib'
13541 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13542 soname_spec
='${libname}${release}${shared_ext}$major'
13543 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13544 shlibpath_var
=LD_LIBRARY_PATH
13545 shlibpath_overrides_runpath
=no
13546 hardcode_into_libs
=yes
13549 irix5
* | irix6
* | nonstopux
*)
13551 nonstopux
*) version_type
=nonstopux
;;
13553 if test "$lt_cv_prog_gnu_ld" = yes; then
13561 soname_spec
='${libname}${release}${shared_ext}$major'
13562 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13564 irix5
* | nonstopux
*)
13565 libsuff
= shlibsuff
=
13568 case $LD in # libtool.m4 will add one of these switches to LD
13569 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13570 libsuff
= shlibsuff
= libmagic
=32-bit;;
13571 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13572 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13573 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13574 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13575 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13579 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13580 shlibpath_overrides_runpath
=no
13581 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13582 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13583 hardcode_into_libs
=yes
13586 # No shared lib support for Linux oldld, aout, or coff.
13587 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13591 # This must be Linux ELF.
13592 linux
* | k
*bsd
*-gnu)
13596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13597 soname_spec
='${libname}${release}${shared_ext}$major'
13598 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13599 shlibpath_var
=LD_LIBRARY_PATH
13600 shlibpath_overrides_runpath
=no
13602 # Some binutils ld are patched to set DT_RUNPATH
13603 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
13604 echo $ECHO_N "(cached) $ECHO_C" >&6
13606 lt_cv_shlibpath_overrides_runpath
=no
13607 save_LDFLAGS
=$LDFLAGS
13608 save_libdir
=$libdir
13609 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
13610 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
13611 cat >conftest.
$ac_ext <<_ACEOF
13616 rm -f conftest.
$ac_objext conftest
$ac_exeext
13617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13618 (eval $ac_link) 2>conftest.er1
13620 grep -v '^ *+' conftest.er1
>conftest.err
13622 cat conftest.err
>&5
13623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13624 (exit $ac_status); } &&
13625 { ac_try
='test -z "$ac_fc_werror_flag"
13626 || test ! -s conftest.err'
13627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13628 (eval $ac_try) 2>&5
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 (exit $ac_status); }; } &&
13632 { ac_try
='test -s conftest$ac_exeext'
13633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13634 (eval $ac_try) 2>&5
13636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13637 (exit $ac_status); }; }; then
13638 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then
13639 lt_cv_shlibpath_overrides_runpath
=yes
13643 echo "$as_me: failed program was:" >&5
13644 sed 's/^/| /' conftest.
$ac_ext >&5
13647 rm -f conftest.err conftest.
$ac_objext \
13648 conftest
$ac_exeext conftest.
$ac_ext
13649 LDFLAGS
=$save_LDFLAGS
13650 libdir
=$save_libdir
13654 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
13656 # This implies no fast_install, which is unacceptable.
13657 # Some rework will be needed to allow for fast_install
13658 # before this can be enabled.
13659 hardcode_into_libs
=yes
13661 # Append ld.so.conf contents to the search path
13662 if test -f /etc
/ld.so.conf
; then
13663 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' ' '`
13664 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13667 # We used to test for /lib/ld.so.1 and disable shared libraries on
13668 # powerpc, because MkLinux only supported shared libraries with the
13669 # GNU dynamic linker. Since this was broken with cross compilers,
13670 # most powerpc-linux boxes support dynamic linking these days and
13671 # people can always --disable-shared, the test was removed, and we
13672 # assume the GNU/Linux dynamic linker is in use.
13673 dynamic_linker
='GNU/Linux ld.so'
13680 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13682 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13683 dynamic_linker
='NetBSD (a.out) ld.so'
13685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13686 soname_spec
='${libname}${release}${shared_ext}$major'
13687 dynamic_linker
='NetBSD ld.elf_so'
13689 shlibpath_var
=LD_LIBRARY_PATH
13690 shlibpath_overrides_runpath
=yes
13691 hardcode_into_libs
=yes
13696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13697 shlibpath_var
=LD_LIBRARY_PATH
13698 shlibpath_overrides_runpath
=yes
13705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13706 soname_spec
='${libname}${release}${shared_ext}$major'
13707 shlibpath_var
=LD_LIBRARY_PATH
13708 shlibpath_overrides_runpath
=no
13709 hardcode_into_libs
=yes
13710 dynamic_linker
='ldqnx.so'
13715 sys_lib_dlsearch_path_spec
="/usr/lib"
13717 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13719 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13720 *) need_version
=no
;;
13722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13723 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13724 shlibpath_var
=LD_LIBRARY_PATH
13725 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13727 openbsd2.
[89] | openbsd2.
[89].
*)
13728 shlibpath_overrides_runpath
=no
13731 shlibpath_overrides_runpath
=yes
13735 shlibpath_overrides_runpath
=yes
13740 libname_spec
='$name'
13743 library_names_spec
='$libname${shared_ext} $libname.a'
13744 dynamic_linker
='OS/2 ld.exe'
13745 shlibpath_var
=LIBPATH
13748 osf3
* | osf4
* | osf5
*)
13752 soname_spec
='${libname}${release}${shared_ext}$major'
13753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13754 shlibpath_var
=LD_LIBRARY_PATH
13755 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13756 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13768 soname_spec
='${libname}${release}${shared_ext}$major'
13769 shlibpath_var
=LD_LIBRARY_PATH
13770 shlibpath_overrides_runpath
=yes
13771 hardcode_into_libs
=yes
13772 # ldd complains unless libraries are executable
13773 postinstall_cmds
='chmod +x $lib'
13778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13779 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13780 shlibpath_var
=LD_LIBRARY_PATH
13781 shlibpath_overrides_runpath
=yes
13782 if test "$with_gnu_ld" = yes; then
13790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13791 soname_spec
='${libname}${release}${shared_ext}$major'
13792 shlibpath_var
=LD_LIBRARY_PATH
13793 case $host_vendor in
13795 shlibpath_overrides_runpath
=no
13797 runpath_var
=LD_RUN_PATH
13805 shlibpath_overrides_runpath
=no
13806 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13812 if test -d /usr
/nec
;then
13814 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13815 soname_spec
='$libname${shared_ext}.$major'
13816 shlibpath_var
=LD_LIBRARY_PATH
13820 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13821 version_type
=freebsd-elf
13824 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13825 soname_spec
='${libname}${release}${shared_ext}$major'
13826 shlibpath_var
=LD_LIBRARY_PATH
13827 shlibpath_overrides_runpath
=yes
13828 hardcode_into_libs
=yes
13829 if test "$with_gnu_ld" = yes; then
13830 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13832 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13835 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13839 sys_lib_dlsearch_path_spec
='/usr/lib'
13843 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13848 shlibpath_var
=LD_LIBRARY_PATH
13849 shlibpath_overrides_runpath
=no
13850 hardcode_into_libs
=yes
13855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13856 soname_spec
='${libname}${release}${shared_ext}$major'
13857 shlibpath_var
=LD_LIBRARY_PATH
13864 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13865 echo "${ECHO_T}$dynamic_linker" >&6
13866 test "$dynamic_linker" = no
&& can_build_shared
=no
13868 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13869 if test "$GCC" = yes; then
13870 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13873 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13874 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13876 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13877 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13915 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13916 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13917 hardcode_action_FC
=
13918 if test -n "$hardcode_libdir_flag_spec_FC" ||
13919 test -n "$runpath_var_FC" ||
13920 test "X$hardcode_automatic_FC" = "Xyes" ; then
13922 # We can hardcode non-existent directories.
13923 if test "$hardcode_direct_FC" != no
&&
13924 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13925 # have to relink, otherwise we might link with an installed library
13926 # when we should be linking with a yet-to-be-installed one
13927 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
13928 test "$hardcode_minus_L_FC" != no
; then
13929 # Linking always hardcodes the temporary library directory.
13930 hardcode_action_FC
=relink
13932 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13933 hardcode_action_FC
=immediate
13936 # We cannot hardcode anything, or else we can only hardcode existing
13938 hardcode_action_FC
=unsupported
13940 echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
13941 echo "${ECHO_T}$hardcode_action_FC" >&6
13943 if test "$hardcode_action_FC" = relink ||
13944 test "$inherit_rpath_FC" = yes; then
13945 # Fast installation is not supported
13946 enable_fast_install
=no
13947 elif test "$shlibpath_overrides_runpath" = yes ||
13948 test "$enable_shared" = no
; then
13949 # Fast installation is not necessary
13950 enable_fast_install
=needless
13959 fi # test -n "$compiler"
13963 fi # test "$_lt_disable_FC" != yes
13966 ac_cpp
='$CPP $CPPFLAGS'
13967 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13968 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13969 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13972 FCFLAGS
="$FCFLAGS -Wall"
13974 # For libtool versioning info, format is CURRENT:REVISION:AGE
13975 libtool_VERSION
=1:0:0
13978 # Check header files.
13979 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13980 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13981 if test "${ac_cv_header_stdc+set}" = set; then
13982 echo $ECHO_N "(cached) $ECHO_C" >&6
13984 cat >conftest.
$ac_ext <<_ACEOF
13987 cat confdefs.h
>>conftest.
$ac_ext
13988 cat >>conftest.
$ac_ext <<_ACEOF
13989 /* end confdefs.h. */
13990 #include <stdlib.h>
13991 #include <stdarg.h>
13992 #include <string.h>
14003 rm -f conftest.
$ac_objext
14004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14005 (eval $ac_compile) 2>conftest.er1
14007 grep -v '^ *+' conftest.er1
>conftest.err
14009 cat conftest.err
>&5
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); } &&
14012 { ac_try
='test -z "$ac_c_werror_flag"
14013 || test ! -s conftest.err'
14014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14015 (eval $ac_try) 2>&5
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); }; } &&
14019 { ac_try
='test -s conftest.$ac_objext'
14020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14021 (eval $ac_try) 2>&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); }; }; then
14025 ac_cv_header_stdc
=yes
14027 echo "$as_me: failed program was:" >&5
14028 sed 's/^/| /' conftest.
$ac_ext >&5
14030 ac_cv_header_stdc
=no
14032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14034 if test $ac_cv_header_stdc = yes; then
14035 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14036 cat >conftest.
$ac_ext <<_ACEOF
14039 cat confdefs.h
>>conftest.
$ac_ext
14040 cat >>conftest.
$ac_ext <<_ACEOF
14041 /* end confdefs.h. */
14042 #include <string.h>
14045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14046 $EGREP "memchr" >/dev
/null
2>&1; then
14049 ac_cv_header_stdc
=no
14055 if test $ac_cv_header_stdc = yes; then
14056 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14057 cat >conftest.
$ac_ext <<_ACEOF
14060 cat confdefs.h
>>conftest.
$ac_ext
14061 cat >>conftest.
$ac_ext <<_ACEOF
14062 /* end confdefs.h. */
14063 #include <stdlib.h>
14066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14067 $EGREP "free" >/dev
/null
2>&1; then
14070 ac_cv_header_stdc
=no
14076 if test $ac_cv_header_stdc = yes; then
14077 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14078 if test "$cross_compiling" = yes; then
14081 cat >conftest.
$ac_ext <<_ACEOF
14084 cat confdefs.h
>>conftest.
$ac_ext
14085 cat >>conftest.
$ac_ext <<_ACEOF
14086 /* end confdefs.h. */
14088 #if ((' ' & 0x0FF) == 0x020)
14089 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14090 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14092 # define ISLOWER(c) \
14093 (('a' <= (c) && (c) <= 'i') \
14094 || ('j' <= (c) && (c) <= 'r') \
14095 || ('s' <= (c) && (c) <= 'z'))
14096 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14099 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14104 for (i = 0; i < 256; i++)
14105 if (XOR (islower (i), ISLOWER (i))
14106 || toupper (i) != TOUPPER (i))
14111 rm -f conftest
$ac_exeext
14112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14113 (eval $ac_link) 2>&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14118 (eval $ac_try) 2>&5
14120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14121 (exit $ac_status); }; }; then
14124 echo "$as_me: program exited with status $ac_status" >&5
14125 echo "$as_me: failed program was:" >&5
14126 sed 's/^/| /' conftest.
$ac_ext >&5
14128 ( exit $ac_status )
14129 ac_cv_header_stdc
=no
14131 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14135 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14136 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14137 if test $ac_cv_header_stdc = yes; then
14139 cat >>confdefs.h
<<\_ACEOF
14140 #define STDC_HEADERS 1
14145 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14146 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
14147 if test "${ac_cv_header_time+set}" = set; then
14148 echo $ECHO_N "(cached) $ECHO_C" >&6
14150 cat >conftest.
$ac_ext <<_ACEOF
14153 cat confdefs.h
>>conftest.
$ac_ext
14154 cat >>conftest.
$ac_ext <<_ACEOF
14155 /* end confdefs.h. */
14156 #include <sys/types.h>
14157 #include <sys/time.h>
14163 if ((struct tm *) 0)
14169 rm -f conftest.
$ac_objext
14170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14171 (eval $ac_compile) 2>conftest.er1
14173 grep -v '^ *+' conftest.er1
>conftest.err
14175 cat conftest.err
>&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); } &&
14178 { ac_try
='test -z "$ac_c_werror_flag"
14179 || test ! -s conftest.err'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; } &&
14185 { ac_try
='test -s conftest.$ac_objext'
14186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14187 (eval $ac_try) 2>&5
14189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14190 (exit $ac_status); }; }; then
14191 ac_cv_header_time
=yes
14193 echo "$as_me: failed program was:" >&5
14194 sed 's/^/| /' conftest.
$ac_ext >&5
14196 ac_cv_header_time
=no
14198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14200 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14201 echo "${ECHO_T}$ac_cv_header_time" >&6
14202 if test $ac_cv_header_time = yes; then
14204 cat >>confdefs.h
<<\_ACEOF
14205 #define TIME_WITH_SYS_TIME 1
14210 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
14211 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
14212 if test "${gcc_cv_header_string+set}" = set; then
14213 echo $ECHO_N "(cached) $ECHO_C" >&6
14215 cat >conftest.
$ac_ext <<_ACEOF
14218 cat confdefs.h
>>conftest.
$ac_ext
14219 cat >>conftest.
$ac_ext <<_ACEOF
14220 /* end confdefs.h. */
14221 #include <string.h>
14222 #include <strings.h>
14231 rm -f conftest.
$ac_objext
14232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14233 (eval $ac_compile) 2>conftest.er1
14235 grep -v '^ *+' conftest.er1
>conftest.err
14237 cat conftest.err
>&5
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); } &&
14240 { ac_try
='test -z "$ac_c_werror_flag"
14241 || test ! -s conftest.err'
14242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14243 (eval $ac_try) 2>&5
14245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14246 (exit $ac_status); }; } &&
14247 { ac_try
='test -s conftest.$ac_objext'
14248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14249 (eval $ac_try) 2>&5
14251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14252 (exit $ac_status); }; }; then
14253 gcc_cv_header_string
=yes
14255 echo "$as_me: failed program was:" >&5
14256 sed 's/^/| /' conftest.
$ac_ext >&5
14258 gcc_cv_header_string
=no
14260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14262 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
14263 echo "${ECHO_T}$gcc_cv_header_string" >&6
14264 if test $gcc_cv_header_string = yes; then
14266 cat >>confdefs.h
<<\_ACEOF
14267 #define STRING_WITH_STRINGS 1
14277 for ac_header
in unistd.h semaphore.h sys
/loadavg.h sys
/time.h sys
/time.h
14279 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14280 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14281 echo "$as_me:$LINENO: checking for $ac_header" >&5
14282 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14283 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14284 echo $ECHO_N "(cached) $ECHO_C" >&6
14286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14289 # Is the header compilable?
14290 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14291 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14292 cat >conftest.
$ac_ext <<_ACEOF
14295 cat confdefs.h
>>conftest.
$ac_ext
14296 cat >>conftest.
$ac_ext <<_ACEOF
14297 /* end confdefs.h. */
14298 $ac_includes_default
14299 #include <$ac_header>
14301 rm -f conftest.
$ac_objext
14302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14303 (eval $ac_compile) 2>conftest.er1
14305 grep -v '^ *+' conftest.er1
>conftest.err
14307 cat conftest.err
>&5
14308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14309 (exit $ac_status); } &&
14310 { ac_try
='test -z "$ac_c_werror_flag"
14311 || test ! -s conftest.err'
14312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14313 (eval $ac_try) 2>&5
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); }; } &&
14317 { ac_try
='test -s conftest.$ac_objext'
14318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14319 (eval $ac_try) 2>&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); }; }; then
14323 ac_header_compiler
=yes
14325 echo "$as_me: failed program was:" >&5
14326 sed 's/^/| /' conftest.
$ac_ext >&5
14328 ac_header_compiler
=no
14330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14331 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14332 echo "${ECHO_T}$ac_header_compiler" >&6
14334 # Is the header present?
14335 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14336 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14337 cat >conftest.
$ac_ext <<_ACEOF
14340 cat confdefs.h
>>conftest.
$ac_ext
14341 cat >>conftest.
$ac_ext <<_ACEOF
14342 /* end confdefs.h. */
14343 #include <$ac_header>
14345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14346 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14348 grep -v '^ *+' conftest.er1
>conftest.err
14350 cat conftest.err
>&5
14351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 (exit $ac_status); } >/dev
/null
; then
14353 if test -s conftest.err
; then
14354 ac_cpp_err
=$ac_c_preproc_warn_flag
14355 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14362 if test -z "$ac_cpp_err"; then
14363 ac_header_preproc
=yes
14365 echo "$as_me: failed program was:" >&5
14366 sed 's/^/| /' conftest.
$ac_ext >&5
14368 ac_header_preproc
=no
14370 rm -f conftest.err conftest.
$ac_ext
14371 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14372 echo "${ECHO_T}$ac_header_preproc" >&6
14374 # So? What about this header?
14375 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14377 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14378 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14379 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14380 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14381 ac_header_preproc
=yes
14384 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14385 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14386 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14387 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14388 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14389 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14390 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14391 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14393 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14394 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14395 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14398 ## ----------------------------------------------------- ##
14399 ## Report this to the GNU OpenMP Runtime Library lists. ##
14400 ## ----------------------------------------------------- ##
14403 sed "s/^/$as_me: WARNING: /" >&2
14406 echo "$as_me:$LINENO: checking for $ac_header" >&5
14407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14409 echo $ECHO_N "(cached) $ECHO_C" >&6
14411 eval "$as_ac_Header=\$ac_header_preproc"
14413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14414 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14417 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14418 cat >>confdefs.h
<<_ACEOF
14419 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14429 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
14431 acx_cv_header_stdint
=stddef.h
14432 acx_cv_header_stdint_kind
="(already complete)"
14433 for i
in stdint.h
$inttype_headers; do
14434 unset ac_cv_type_uintptr_t
14435 unset ac_cv_type_uintmax_t
14436 unset ac_cv_type_int_least32_t
14437 unset ac_cv_type_int_fast32_t
14438 unset ac_cv_type_uint64_t
14439 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
14440 echo "$as_me:$LINENO: checking for uintmax_t" >&5
14441 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
14442 if test "${ac_cv_type_uintmax_t+set}" = set; then
14443 echo $ECHO_N "(cached) $ECHO_C" >&6
14445 cat >conftest.
$ac_ext <<_ACEOF
14448 cat confdefs.h
>>conftest.
$ac_ext
14449 cat >>conftest.
$ac_ext <<_ACEOF
14450 /* end confdefs.h. */
14451 #include <sys/types.h>
14457 if ((uintmax_t *) 0)
14459 if (sizeof (uintmax_t))
14465 rm -f conftest.
$ac_objext
14466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14467 (eval $ac_compile) 2>conftest.er1
14469 grep -v '^ *+' conftest.er1
>conftest.err
14471 cat conftest.err
>&5
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); } &&
14474 { ac_try
='test -z "$ac_c_werror_flag"
14475 || test ! -s conftest.err'
14476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14477 (eval $ac_try) 2>&5
14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 (exit $ac_status); }; } &&
14481 { ac_try
='test -s conftest.$ac_objext'
14482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14483 (eval $ac_try) 2>&5
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); }; }; then
14487 ac_cv_type_uintmax_t
=yes
14489 echo "$as_me: failed program was:" >&5
14490 sed 's/^/| /' conftest.
$ac_ext >&5
14492 ac_cv_type_uintmax_t
=no
14494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14496 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
14497 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
14498 if test $ac_cv_type_uintmax_t = yes; then
14499 acx_cv_header_stdint
=$i
14504 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14505 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14506 if test "${ac_cv_type_uintptr_t+set}" = set; then
14507 echo $ECHO_N "(cached) $ECHO_C" >&6
14509 cat >conftest.
$ac_ext <<_ACEOF
14512 cat confdefs.h
>>conftest.
$ac_ext
14513 cat >>conftest.
$ac_ext <<_ACEOF
14514 /* end confdefs.h. */
14515 #include <sys/types.h>
14521 if ((uintptr_t *) 0)
14523 if (sizeof (uintptr_t))
14529 rm -f conftest.
$ac_objext
14530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14531 (eval $ac_compile) 2>conftest.er1
14533 grep -v '^ *+' conftest.er1
>conftest.err
14535 cat conftest.err
>&5
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); } &&
14538 { ac_try
='test -z "$ac_c_werror_flag"
14539 || test ! -s conftest.err'
14540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14541 (eval $ac_try) 2>&5
14543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14544 (exit $ac_status); }; } &&
14545 { ac_try
='test -s conftest.$ac_objext'
14546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14547 (eval $ac_try) 2>&5
14549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14550 (exit $ac_status); }; }; then
14551 ac_cv_type_uintptr_t
=yes
14553 echo "$as_me: failed program was:" >&5
14554 sed 's/^/| /' conftest.
$ac_ext >&5
14556 ac_cv_type_uintptr_t
=no
14558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14560 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14561 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14562 if test $ac_cv_type_uintptr_t = yes; then
14565 acx_cv_header_stdint_kind
="(mostly complete)"
14568 echo "$as_me:$LINENO: checking for int_least32_t" >&5
14569 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
14570 if test "${ac_cv_type_int_least32_t+set}" = set; then
14571 echo $ECHO_N "(cached) $ECHO_C" >&6
14573 cat >conftest.
$ac_ext <<_ACEOF
14576 cat confdefs.h
>>conftest.
$ac_ext
14577 cat >>conftest.
$ac_ext <<_ACEOF
14578 /* end confdefs.h. */
14579 #include <sys/types.h>
14585 if ((int_least32_t *) 0)
14587 if (sizeof (int_least32_t))
14593 rm -f conftest.
$ac_objext
14594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14595 (eval $ac_compile) 2>conftest.er1
14597 grep -v '^ *+' conftest.er1
>conftest.err
14599 cat conftest.err
>&5
14600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601 (exit $ac_status); } &&
14602 { ac_try
='test -z "$ac_c_werror_flag"
14603 || test ! -s conftest.err'
14604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14605 (eval $ac_try) 2>&5
14607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608 (exit $ac_status); }; } &&
14609 { ac_try
='test -s conftest.$ac_objext'
14610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14611 (eval $ac_try) 2>&5
14613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614 (exit $ac_status); }; }; then
14615 ac_cv_type_int_least32_t
=yes
14617 echo "$as_me: failed program was:" >&5
14618 sed 's/^/| /' conftest.
$ac_ext >&5
14620 ac_cv_type_int_least32_t
=no
14622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14624 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
14625 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
14626 if test $ac_cv_type_int_least32_t = yes; then
14629 acx_cv_header_stdint_kind
="(mostly complete)"
14632 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
14633 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
14634 if test "${ac_cv_type_int_fast32_t+set}" = set; then
14635 echo $ECHO_N "(cached) $ECHO_C" >&6
14637 cat >conftest.
$ac_ext <<_ACEOF
14640 cat confdefs.h
>>conftest.
$ac_ext
14641 cat >>conftest.
$ac_ext <<_ACEOF
14642 /* end confdefs.h. */
14643 #include <sys/types.h>
14649 if ((int_fast32_t *) 0)
14651 if (sizeof (int_fast32_t))
14657 rm -f conftest.
$ac_objext
14658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14659 (eval $ac_compile) 2>conftest.er1
14661 grep -v '^ *+' conftest.er1
>conftest.err
14663 cat conftest.err
>&5
14664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665 (exit $ac_status); } &&
14666 { ac_try
='test -z "$ac_c_werror_flag"
14667 || test ! -s conftest.err'
14668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14669 (eval $ac_try) 2>&5
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); }; } &&
14673 { ac_try
='test -s conftest.$ac_objext'
14674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14675 (eval $ac_try) 2>&5
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); }; }; then
14679 ac_cv_type_int_fast32_t
=yes
14681 echo "$as_me: failed program was:" >&5
14682 sed 's/^/| /' conftest.
$ac_ext >&5
14684 ac_cv_type_int_fast32_t
=no
14686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14688 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
14689 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
14690 if test $ac_cv_type_int_fast32_t = yes; then
14693 acx_cv_header_stdint_kind
="(mostly complete)"
14696 echo "$as_me:$LINENO: checking for uint64_t" >&5
14697 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
14698 if test "${ac_cv_type_uint64_t+set}" = set; then
14699 echo $ECHO_N "(cached) $ECHO_C" >&6
14701 cat >conftest.
$ac_ext <<_ACEOF
14704 cat confdefs.h
>>conftest.
$ac_ext
14705 cat >>conftest.
$ac_ext <<_ACEOF
14706 /* end confdefs.h. */
14707 #include <sys/types.h>
14713 if ((uint64_t *) 0)
14715 if (sizeof (uint64_t))
14721 rm -f conftest.
$ac_objext
14722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14723 (eval $ac_compile) 2>conftest.er1
14725 grep -v '^ *+' conftest.er1
>conftest.err
14727 cat conftest.err
>&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); } &&
14730 { ac_try
='test -z "$ac_c_werror_flag"
14731 || test ! -s conftest.err'
14732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14733 (eval $ac_try) 2>&5
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); }; } &&
14737 { ac_try
='test -s conftest.$ac_objext'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; }; then
14743 ac_cv_type_uint64_t
=yes
14745 echo "$as_me: failed program was:" >&5
14746 sed 's/^/| /' conftest.
$ac_ext >&5
14748 ac_cv_type_uint64_t
=no
14750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14752 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
14753 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
14754 if test $ac_cv_type_uint64_t = yes; then
14757 acx_cv_header_stdint_kind
="(lacks uint64_t)"
14762 if test "$acx_cv_header_stdint" = stddef.h
; then
14763 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
14764 for i
in stdint.h
$inttype_headers; do
14765 unset ac_cv_type_uintptr_t
14766 unset ac_cv_type_uint32_t
14767 unset ac_cv_type_uint64_t
14768 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
14769 echo "$as_me:$LINENO: checking for uint32_t" >&5
14770 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
14771 if test "${ac_cv_type_uint32_t+set}" = set; then
14772 echo $ECHO_N "(cached) $ECHO_C" >&6
14774 cat >conftest.
$ac_ext <<_ACEOF
14777 cat confdefs.h
>>conftest.
$ac_ext
14778 cat >>conftest.
$ac_ext <<_ACEOF
14779 /* end confdefs.h. */
14780 #include <sys/types.h>
14786 if ((uint32_t *) 0)
14788 if (sizeof (uint32_t))
14794 rm -f conftest.
$ac_objext
14795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14796 (eval $ac_compile) 2>conftest.er1
14798 grep -v '^ *+' conftest.er1
>conftest.err
14800 cat conftest.err
>&5
14801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14802 (exit $ac_status); } &&
14803 { ac_try
='test -z "$ac_c_werror_flag"
14804 || test ! -s conftest.err'
14805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14806 (eval $ac_try) 2>&5
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); }; } &&
14810 { ac_try
='test -s conftest.$ac_objext'
14811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14812 (eval $ac_try) 2>&5
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); }; }; then
14816 ac_cv_type_uint32_t
=yes
14818 echo "$as_me: failed program was:" >&5
14819 sed 's/^/| /' conftest.
$ac_ext >&5
14821 ac_cv_type_uint32_t
=no
14823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14825 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
14826 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
14827 if test $ac_cv_type_uint32_t = yes; then
14828 acx_cv_header_stdint
=$i
14833 echo "$as_me:$LINENO: checking for uint64_t" >&5
14834 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
14835 if test "${ac_cv_type_uint64_t+set}" = set; then
14836 echo $ECHO_N "(cached) $ECHO_C" >&6
14838 cat >conftest.
$ac_ext <<_ACEOF
14841 cat confdefs.h
>>conftest.
$ac_ext
14842 cat >>conftest.
$ac_ext <<_ACEOF
14843 /* end confdefs.h. */
14844 #include <sys/types.h>
14850 if ((uint64_t *) 0)
14852 if (sizeof (uint64_t))
14858 rm -f conftest.
$ac_objext
14859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14860 (eval $ac_compile) 2>conftest.er1
14862 grep -v '^ *+' conftest.er1
>conftest.err
14864 cat conftest.err
>&5
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); } &&
14867 { ac_try
='test -z "$ac_c_werror_flag"
14868 || test ! -s conftest.err'
14869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14870 (eval $ac_try) 2>&5
14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); }; } &&
14874 { ac_try
='test -s conftest.$ac_objext'
14875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14876 (eval $ac_try) 2>&5
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); }; }; then
14880 ac_cv_type_uint64_t
=yes
14882 echo "$as_me: failed program was:" >&5
14883 sed 's/^/| /' conftest.
$ac_ext >&5
14885 ac_cv_type_uint64_t
=no
14887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14889 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
14890 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
14892 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14893 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14894 if test "${ac_cv_type_uintptr_t+set}" = set; then
14895 echo $ECHO_N "(cached) $ECHO_C" >&6
14897 cat >conftest.
$ac_ext <<_ACEOF
14900 cat confdefs.h
>>conftest.
$ac_ext
14901 cat >>conftest.
$ac_ext <<_ACEOF
14902 /* end confdefs.h. */
14903 #include <sys/types.h>
14909 if ((uintptr_t *) 0)
14911 if (sizeof (uintptr_t))
14917 rm -f conftest.
$ac_objext
14918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14919 (eval $ac_compile) 2>conftest.er1
14921 grep -v '^ *+' conftest.er1
>conftest.err
14923 cat conftest.err
>&5
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); } &&
14926 { ac_try
='test -z "$ac_c_werror_flag"
14927 || test ! -s conftest.err'
14928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14929 (eval $ac_try) 2>&5
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 (exit $ac_status); }; } &&
14933 { ac_try
='test -s conftest.$ac_objext'
14934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14935 (eval $ac_try) 2>&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); }; }; then
14939 ac_cv_type_uintptr_t
=yes
14941 echo "$as_me: failed program was:" >&5
14942 sed 's/^/| /' conftest.
$ac_ext >&5
14944 ac_cv_type_uintptr_t
=no
14946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14948 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14949 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14954 if test "$acx_cv_header_stdint" = stddef.h
; then
14955 acx_cv_header_stdint_kind
="(u_intXX_t style)"
14956 for i
in sys
/types.h
$inttype_headers; do
14957 unset ac_cv_type_u_int32_t
14958 unset ac_cv_type_u_int64_t
14959 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
14960 echo "$as_me:$LINENO: checking for u_int32_t" >&5
14961 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
14962 if test "${ac_cv_type_u_int32_t+set}" = set; then
14963 echo $ECHO_N "(cached) $ECHO_C" >&6
14965 cat >conftest.
$ac_ext <<_ACEOF
14968 cat confdefs.h
>>conftest.
$ac_ext
14969 cat >>conftest.
$ac_ext <<_ACEOF
14970 /* end confdefs.h. */
14971 #include <sys/types.h>
14977 if ((u_int32_t *) 0)
14979 if (sizeof (u_int32_t))
14985 rm -f conftest.
$ac_objext
14986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14987 (eval $ac_compile) 2>conftest.er1
14989 grep -v '^ *+' conftest.er1
>conftest.err
14991 cat conftest.err
>&5
14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993 (exit $ac_status); } &&
14994 { ac_try
='test -z "$ac_c_werror_flag"
14995 || test ! -s conftest.err'
14996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14997 (eval $ac_try) 2>&5
14999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000 (exit $ac_status); }; } &&
15001 { ac_try
='test -s conftest.$ac_objext'
15002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15003 (eval $ac_try) 2>&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); }; }; then
15007 ac_cv_type_u_int32_t
=yes
15009 echo "$as_me: failed program was:" >&5
15010 sed 's/^/| /' conftest.
$ac_ext >&5
15012 ac_cv_type_u_int32_t
=no
15014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15016 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
15017 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
15018 if test $ac_cv_type_u_int32_t = yes; then
15019 acx_cv_header_stdint
=$i
15024 echo "$as_me:$LINENO: checking for u_int64_t" >&5
15025 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
15026 if test "${ac_cv_type_u_int64_t+set}" = set; then
15027 echo $ECHO_N "(cached) $ECHO_C" >&6
15029 cat >conftest.
$ac_ext <<_ACEOF
15032 cat confdefs.h
>>conftest.
$ac_ext
15033 cat >>conftest.
$ac_ext <<_ACEOF
15034 /* end confdefs.h. */
15035 #include <sys/types.h>
15041 if ((u_int64_t *) 0)
15043 if (sizeof (u_int64_t))
15049 rm -f conftest.
$ac_objext
15050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15051 (eval $ac_compile) 2>conftest.er1
15053 grep -v '^ *+' conftest.er1
>conftest.err
15055 cat conftest.err
>&5
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); } &&
15058 { ac_try
='test -z "$ac_c_werror_flag"
15059 || test ! -s conftest.err'
15060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15061 (eval $ac_try) 2>&5
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); }; } &&
15065 { ac_try
='test -s conftest.$ac_objext'
15066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15067 (eval $ac_try) 2>&5
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); }; }; then
15071 ac_cv_type_u_int64_t
=yes
15073 echo "$as_me: failed program was:" >&5
15074 sed 's/^/| /' conftest.
$ac_ext >&5
15076 ac_cv_type_u_int64_t
=no
15078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15080 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
15081 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
15086 if test "$acx_cv_header_stdint" = stddef.h
; then
15087 acx_cv_header_stdint_kind
="(using manual detection)"
15090 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
15091 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
15092 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
15093 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
15094 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
15096 # ----------------- Summarize what we found so far
15098 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
15099 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
15101 case `$as_basename gstdint.h ||
15102 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15103 Xgstdint.h : 'X\(//\)$' \| \
15104 Xgstdint.h : 'X\(/\)$' \| \
15105 . : '\(.\)' 2>/dev/null ||
15107 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15108 /^X\/\(\/\/\)$/{ s//\1/; q; }
15109 /^X\/\(\/\).*/{ s//\1/; q; }
15111 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15112 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15113 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15114 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15118 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15119 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
15121 # ----------------- done included file, check C basic types --------
15123 # Lacking an uintptr_t? Test size of void *
15124 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15125 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
15126 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15127 if test "${ac_cv_type_void_p+set}" = set; then
15128 echo $ECHO_N "(cached) $ECHO_C" >&6
15130 cat >conftest.
$ac_ext <<_ACEOF
15133 cat confdefs.h
>>conftest.
$ac_ext
15134 cat >>conftest.
$ac_ext <<_ACEOF
15135 /* end confdefs.h. */
15136 $ac_includes_default
15142 if (sizeof (void *))
15148 rm -f conftest.
$ac_objext
15149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15150 (eval $ac_compile) 2>conftest.er1
15152 grep -v '^ *+' conftest.er1
>conftest.err
15154 cat conftest.err
>&5
15155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15156 (exit $ac_status); } &&
15157 { ac_try
='test -z "$ac_c_werror_flag"
15158 || test ! -s conftest.err'
15159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15160 (eval $ac_try) 2>&5
15162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163 (exit $ac_status); }; } &&
15164 { ac_try
='test -s conftest.$ac_objext'
15165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15166 (eval $ac_try) 2>&5
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); }; }; then
15170 ac_cv_type_void_p
=yes
15172 echo "$as_me: failed program was:" >&5
15173 sed 's/^/| /' conftest.
$ac_ext >&5
15175 ac_cv_type_void_p
=no
15177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15179 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15180 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15182 echo "$as_me:$LINENO: checking size of void *" >&5
15183 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15184 if test "${ac_cv_sizeof_void_p+set}" = set; then
15185 echo $ECHO_N "(cached) $ECHO_C" >&6
15187 if test "$ac_cv_type_void_p" = yes; then
15188 # The cast to unsigned long works around a bug in the HP C Compiler
15189 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15190 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15191 # This bug is HP SR number 8606223364.
15192 if test "$cross_compiling" = yes; then
15193 # Depending upon the size, compute the lo and hi bounds.
15194 cat >conftest.
$ac_ext <<_ACEOF
15197 cat confdefs.h
>>conftest.
$ac_ext
15198 cat >>conftest.
$ac_ext <<_ACEOF
15199 /* end confdefs.h. */
15200 $ac_includes_default
15204 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15211 rm -f conftest.
$ac_objext
15212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15213 (eval $ac_compile) 2>conftest.er1
15215 grep -v '^ *+' conftest.er1
>conftest.err
15217 cat conftest.err
>&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } &&
15220 { ac_try
='test -z "$ac_c_werror_flag"
15221 || test ! -s conftest.err'
15222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15223 (eval $ac_try) 2>&5
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 (exit $ac_status); }; } &&
15227 { ac_try
='test -s conftest.$ac_objext'
15228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15229 (eval $ac_try) 2>&5
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); }; }; then
15235 cat >conftest.
$ac_ext <<_ACEOF
15238 cat confdefs.h
>>conftest.
$ac_ext
15239 cat >>conftest.
$ac_ext <<_ACEOF
15240 /* end confdefs.h. */
15241 $ac_includes_default
15245 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15252 rm -f conftest.
$ac_objext
15253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15254 (eval $ac_compile) 2>conftest.er1
15256 grep -v '^ *+' conftest.er1
>conftest.err
15258 cat conftest.err
>&5
15259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15260 (exit $ac_status); } &&
15261 { ac_try
='test -z "$ac_c_werror_flag"
15262 || test ! -s conftest.err'
15263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15264 (eval $ac_try) 2>&5
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); }; } &&
15268 { ac_try
='test -s conftest.$ac_objext'
15269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15270 (eval $ac_try) 2>&5
15272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15273 (exit $ac_status); }; }; then
15274 ac_hi
=$ac_mid; break
15276 echo "$as_me: failed program was:" >&5
15277 sed 's/^/| /' conftest.
$ac_ext >&5
15279 ac_lo
=`expr $ac_mid + 1`
15280 if test $ac_lo -le $ac_mid; then
15284 ac_mid
=`expr 2 '*' $ac_mid + 1`
15286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15289 echo "$as_me: failed program was:" >&5
15290 sed 's/^/| /' conftest.
$ac_ext >&5
15292 cat >conftest.
$ac_ext <<_ACEOF
15295 cat confdefs.h
>>conftest.
$ac_ext
15296 cat >>conftest.
$ac_ext <<_ACEOF
15297 /* end confdefs.h. */
15298 $ac_includes_default
15302 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15309 rm -f conftest.
$ac_objext
15310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15311 (eval $ac_compile) 2>conftest.er1
15313 grep -v '^ *+' conftest.er1
>conftest.err
15315 cat conftest.err
>&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); } &&
15318 { ac_try
='test -z "$ac_c_werror_flag"
15319 || test ! -s conftest.err'
15320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15321 (eval $ac_try) 2>&5
15323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); }; } &&
15325 { ac_try
='test -s conftest.$ac_objext'
15326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15327 (eval $ac_try) 2>&5
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); }; }; then
15333 cat >conftest.
$ac_ext <<_ACEOF
15336 cat confdefs.h
>>conftest.
$ac_ext
15337 cat >>conftest.
$ac_ext <<_ACEOF
15338 /* end confdefs.h. */
15339 $ac_includes_default
15343 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15350 rm -f conftest.
$ac_objext
15351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15352 (eval $ac_compile) 2>conftest.er1
15354 grep -v '^ *+' conftest.er1
>conftest.err
15356 cat conftest.err
>&5
15357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15358 (exit $ac_status); } &&
15359 { ac_try
='test -z "$ac_c_werror_flag"
15360 || test ! -s conftest.err'
15361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15362 (eval $ac_try) 2>&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); }; } &&
15366 { ac_try
='test -s conftest.$ac_objext'
15367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15368 (eval $ac_try) 2>&5
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); }; }; then
15372 ac_lo
=$ac_mid; break
15374 echo "$as_me: failed program was:" >&5
15375 sed 's/^/| /' conftest.
$ac_ext >&5
15377 ac_hi
=`expr '(' $ac_mid ')' - 1`
15378 if test $ac_mid -le $ac_hi; then
15382 ac_mid
=`expr 2 '*' $ac_mid`
15384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15387 echo "$as_me: failed program was:" >&5
15388 sed 's/^/| /' conftest.
$ac_ext >&5
15392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15395 # Binary search between lo and hi bounds.
15396 while test "x$ac_lo" != "x$ac_hi"; do
15397 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15398 cat >conftest.
$ac_ext <<_ACEOF
15401 cat confdefs.h
>>conftest.
$ac_ext
15402 cat >>conftest.
$ac_ext <<_ACEOF
15403 /* end confdefs.h. */
15404 $ac_includes_default
15408 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15415 rm -f conftest.
$ac_objext
15416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15417 (eval $ac_compile) 2>conftest.er1
15419 grep -v '^ *+' conftest.er1
>conftest.err
15421 cat conftest.err
>&5
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); } &&
15424 { ac_try
='test -z "$ac_c_werror_flag"
15425 || test ! -s conftest.err'
15426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15427 (eval $ac_try) 2>&5
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); }; } &&
15431 { ac_try
='test -s conftest.$ac_objext'
15432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15433 (eval $ac_try) 2>&5
15435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436 (exit $ac_status); }; }; then
15439 echo "$as_me: failed program was:" >&5
15440 sed 's/^/| /' conftest.
$ac_ext >&5
15442 ac_lo
=`expr '(' $ac_mid ')' + 1`
15444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15447 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15448 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15449 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15450 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15451 See \`config.log' for more details." >&5
15452 echo "$as_me: error: cannot compute sizeof (void *), 77
15453 See \`config.log' for more details." >&2;}
15454 { (exit 1); exit 1; }; }; } ;;
15457 if test "$cross_compiling" = yes; then
15458 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15459 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15460 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15461 See \`config.log' for more details." >&5
15462 echo "$as_me: error: cannot run test program while cross compiling
15463 See \`config.log' for more details." >&2;}
15464 { (exit 1); exit 1; }; }; }
15466 cat >conftest.
$ac_ext <<_ACEOF
15469 cat confdefs.h
>>conftest.
$ac_ext
15470 cat >>conftest.
$ac_ext <<_ACEOF
15471 /* end confdefs.h. */
15472 $ac_includes_default
15473 long longval () { return (long) (sizeof (void *)); }
15474 unsigned long ulongval () { return (long) (sizeof (void *)); }
15476 #include <stdlib.h>
15481 FILE *f = fopen ("conftest.val", "w");
15484 if (((long) (sizeof (void *))) < 0)
15486 long i = longval ();
15487 if (i != ((long) (sizeof (void *))))
15489 fprintf (f, "%ld\n", i);
15493 unsigned long i = ulongval ();
15494 if (i != ((long) (sizeof (void *))))
15496 fprintf (f, "%lu\n", i);
15498 exit (ferror (f) || fclose (f) != 0);
15504 rm -f conftest
$ac_exeext
15505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15506 (eval $ac_link) 2>&5
15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15511 (eval $ac_try) 2>&5
15513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15514 (exit $ac_status); }; }; then
15515 ac_cv_sizeof_void_p
=`cat conftest.val`
15517 echo "$as_me: program exited with status $ac_status" >&5
15518 echo "$as_me: failed program was:" >&5
15519 sed 's/^/| /' conftest.
$ac_ext >&5
15521 ( exit $ac_status )
15522 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15523 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15524 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15525 See \`config.log' for more details." >&5
15526 echo "$as_me: error: cannot compute sizeof (void *), 77
15527 See \`config.log' for more details." >&2;}
15528 { (exit 1); exit 1; }; }; }
15530 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15535 ac_cv_sizeof_void_p
=0
15538 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15539 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15540 cat >>confdefs.h
<<_ACEOF
15541 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15547 # Lacking an uint64_t? Test size of long
15548 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15549 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
15550 echo $ECHO_N "checking for long... $ECHO_C" >&6
15551 if test "${ac_cv_type_long+set}" = set; then
15552 echo $ECHO_N "(cached) $ECHO_C" >&6
15554 cat >conftest.
$ac_ext <<_ACEOF
15557 cat confdefs.h
>>conftest.
$ac_ext
15558 cat >>conftest.
$ac_ext <<_ACEOF
15559 /* end confdefs.h. */
15560 $ac_includes_default
15572 rm -f conftest.
$ac_objext
15573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15574 (eval $ac_compile) 2>conftest.er1
15576 grep -v '^ *+' conftest.er1
>conftest.err
15578 cat conftest.err
>&5
15579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15580 (exit $ac_status); } &&
15581 { ac_try
='test -z "$ac_c_werror_flag"
15582 || test ! -s conftest.err'
15583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15584 (eval $ac_try) 2>&5
15586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587 (exit $ac_status); }; } &&
15588 { ac_try
='test -s conftest.$ac_objext'
15589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15590 (eval $ac_try) 2>&5
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); }; }; then
15594 ac_cv_type_long
=yes
15596 echo "$as_me: failed program was:" >&5
15597 sed 's/^/| /' conftest.
$ac_ext >&5
15601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15603 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15604 echo "${ECHO_T}$ac_cv_type_long" >&6
15606 echo "$as_me:$LINENO: checking size of long" >&5
15607 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15608 if test "${ac_cv_sizeof_long+set}" = set; then
15609 echo $ECHO_N "(cached) $ECHO_C" >&6
15611 if test "$ac_cv_type_long" = yes; then
15612 # The cast to unsigned long works around a bug in the HP C Compiler
15613 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15614 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15615 # This bug is HP SR number 8606223364.
15616 if test "$cross_compiling" = yes; then
15617 # Depending upon the size, compute the lo and hi bounds.
15618 cat >conftest.
$ac_ext <<_ACEOF
15621 cat confdefs.h
>>conftest.
$ac_ext
15622 cat >>conftest.
$ac_ext <<_ACEOF
15623 /* end confdefs.h. */
15624 $ac_includes_default
15628 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15635 rm -f conftest.
$ac_objext
15636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15637 (eval $ac_compile) 2>conftest.er1
15639 grep -v '^ *+' conftest.er1
>conftest.err
15641 cat conftest.err
>&5
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); } &&
15644 { ac_try
='test -z "$ac_c_werror_flag"
15645 || test ! -s conftest.err'
15646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15647 (eval $ac_try) 2>&5
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); }; } &&
15651 { ac_try
='test -s conftest.$ac_objext'
15652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15653 (eval $ac_try) 2>&5
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); }; }; then
15659 cat >conftest.
$ac_ext <<_ACEOF
15662 cat confdefs.h
>>conftest.
$ac_ext
15663 cat >>conftest.
$ac_ext <<_ACEOF
15664 /* end confdefs.h. */
15665 $ac_includes_default
15669 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15676 rm -f conftest.
$ac_objext
15677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15678 (eval $ac_compile) 2>conftest.er1
15680 grep -v '^ *+' conftest.er1
>conftest.err
15682 cat conftest.err
>&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); } &&
15685 { ac_try
='test -z "$ac_c_werror_flag"
15686 || test ! -s conftest.err'
15687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688 (eval $ac_try) 2>&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); }; } &&
15692 { ac_try
='test -s conftest.$ac_objext'
15693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15694 (eval $ac_try) 2>&5
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); }; }; then
15698 ac_hi
=$ac_mid; break
15700 echo "$as_me: failed program was:" >&5
15701 sed 's/^/| /' conftest.
$ac_ext >&5
15703 ac_lo
=`expr $ac_mid + 1`
15704 if test $ac_lo -le $ac_mid; then
15708 ac_mid
=`expr 2 '*' $ac_mid + 1`
15710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15713 echo "$as_me: failed program was:" >&5
15714 sed 's/^/| /' conftest.
$ac_ext >&5
15716 cat >conftest.
$ac_ext <<_ACEOF
15719 cat confdefs.h
>>conftest.
$ac_ext
15720 cat >>conftest.
$ac_ext <<_ACEOF
15721 /* end confdefs.h. */
15722 $ac_includes_default
15726 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15733 rm -f conftest.
$ac_objext
15734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15735 (eval $ac_compile) 2>conftest.er1
15737 grep -v '^ *+' conftest.er1
>conftest.err
15739 cat conftest.err
>&5
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); } &&
15742 { ac_try
='test -z "$ac_c_werror_flag"
15743 || test ! -s conftest.err'
15744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15745 (eval $ac_try) 2>&5
15747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15748 (exit $ac_status); }; } &&
15749 { ac_try
='test -s conftest.$ac_objext'
15750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15751 (eval $ac_try) 2>&5
15753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15754 (exit $ac_status); }; }; then
15757 cat >conftest.
$ac_ext <<_ACEOF
15760 cat confdefs.h
>>conftest.
$ac_ext
15761 cat >>conftest.
$ac_ext <<_ACEOF
15762 /* end confdefs.h. */
15763 $ac_includes_default
15767 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15774 rm -f conftest.
$ac_objext
15775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15776 (eval $ac_compile) 2>conftest.er1
15778 grep -v '^ *+' conftest.er1
>conftest.err
15780 cat conftest.err
>&5
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); } &&
15783 { ac_try
='test -z "$ac_c_werror_flag"
15784 || test ! -s conftest.err'
15785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15786 (eval $ac_try) 2>&5
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); }; } &&
15790 { ac_try
='test -s conftest.$ac_objext'
15791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15792 (eval $ac_try) 2>&5
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); }; }; then
15796 ac_lo
=$ac_mid; break
15798 echo "$as_me: failed program was:" >&5
15799 sed 's/^/| /' conftest.
$ac_ext >&5
15801 ac_hi
=`expr '(' $ac_mid ')' - 1`
15802 if test $ac_mid -le $ac_hi; then
15806 ac_mid
=`expr 2 '*' $ac_mid`
15808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15811 echo "$as_me: failed program was:" >&5
15812 sed 's/^/| /' conftest.
$ac_ext >&5
15816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15819 # Binary search between lo and hi bounds.
15820 while test "x$ac_lo" != "x$ac_hi"; do
15821 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15822 cat >conftest.
$ac_ext <<_ACEOF
15825 cat confdefs.h
>>conftest.
$ac_ext
15826 cat >>conftest.
$ac_ext <<_ACEOF
15827 /* end confdefs.h. */
15828 $ac_includes_default
15832 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15839 rm -f conftest.
$ac_objext
15840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15841 (eval $ac_compile) 2>conftest.er1
15843 grep -v '^ *+' conftest.er1
>conftest.err
15845 cat conftest.err
>&5
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); } &&
15848 { ac_try
='test -z "$ac_c_werror_flag"
15849 || test ! -s conftest.err'
15850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15851 (eval $ac_try) 2>&5
15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854 (exit $ac_status); }; } &&
15855 { ac_try
='test -s conftest.$ac_objext'
15856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15857 (eval $ac_try) 2>&5
15859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15860 (exit $ac_status); }; }; then
15863 echo "$as_me: failed program was:" >&5
15864 sed 's/^/| /' conftest.
$ac_ext >&5
15866 ac_lo
=`expr '(' $ac_mid ')' + 1`
15868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15871 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15872 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15873 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15874 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15875 See \`config.log' for more details." >&5
15876 echo "$as_me: error: cannot compute sizeof (long), 77
15877 See \`config.log' for more details." >&2;}
15878 { (exit 1); exit 1; }; }; } ;;
15881 if test "$cross_compiling" = yes; then
15882 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15883 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15884 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15885 See \`config.log' for more details." >&5
15886 echo "$as_me: error: cannot run test program while cross compiling
15887 See \`config.log' for more details." >&2;}
15888 { (exit 1); exit 1; }; }; }
15890 cat >conftest.
$ac_ext <<_ACEOF
15893 cat confdefs.h
>>conftest.
$ac_ext
15894 cat >>conftest.
$ac_ext <<_ACEOF
15895 /* end confdefs.h. */
15896 $ac_includes_default
15897 long longval () { return (long) (sizeof (long)); }
15898 unsigned long ulongval () { return (long) (sizeof (long)); }
15900 #include <stdlib.h>
15905 FILE *f = fopen ("conftest.val", "w");
15908 if (((long) (sizeof (long))) < 0)
15910 long i = longval ();
15911 if (i != ((long) (sizeof (long))))
15913 fprintf (f, "%ld\n", i);
15917 unsigned long i = ulongval ();
15918 if (i != ((long) (sizeof (long))))
15920 fprintf (f, "%lu\n", i);
15922 exit (ferror (f) || fclose (f) != 0);
15928 rm -f conftest
$ac_exeext
15929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15930 (eval $ac_link) 2>&5
15932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15933 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15935 (eval $ac_try) 2>&5
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); }; }; then
15939 ac_cv_sizeof_long
=`cat conftest.val`
15941 echo "$as_me: program exited with status $ac_status" >&5
15942 echo "$as_me: failed program was:" >&5
15943 sed 's/^/| /' conftest.
$ac_ext >&5
15945 ( exit $ac_status )
15946 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15947 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15948 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15949 See \`config.log' for more details." >&5
15950 echo "$as_me: error: cannot compute sizeof (long), 77
15951 See \`config.log' for more details." >&2;}
15952 { (exit 1); exit 1; }; }; }
15954 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15959 ac_cv_sizeof_long
=0
15962 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15963 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15964 cat >>confdefs.h
<<_ACEOF
15965 #define SIZEOF_LONG $ac_cv_sizeof_long
15971 if test $acx_cv_header_stdint = stddef.h
; then
15972 # Lacking a good header? Test size of everything and deduce all types.
15973 echo "$as_me:$LINENO: checking for int" >&5
15974 echo $ECHO_N "checking for int... $ECHO_C" >&6
15975 if test "${ac_cv_type_int+set}" = set; then
15976 echo $ECHO_N "(cached) $ECHO_C" >&6
15978 cat >conftest.
$ac_ext <<_ACEOF
15981 cat confdefs.h
>>conftest.
$ac_ext
15982 cat >>conftest.
$ac_ext <<_ACEOF
15983 /* end confdefs.h. */
15984 $ac_includes_default
15996 rm -f conftest.
$ac_objext
15997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15998 (eval $ac_compile) 2>conftest.er1
16000 grep -v '^ *+' conftest.er1
>conftest.err
16002 cat conftest.err
>&5
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); } &&
16005 { ac_try
='test -z "$ac_c_werror_flag"
16006 || test ! -s conftest.err'
16007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16008 (eval $ac_try) 2>&5
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); }; } &&
16012 { ac_try
='test -s conftest.$ac_objext'
16013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16014 (eval $ac_try) 2>&5
16016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16017 (exit $ac_status); }; }; then
16020 echo "$as_me: failed program was:" >&5
16021 sed 's/^/| /' conftest.
$ac_ext >&5
16025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16027 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16028 echo "${ECHO_T}$ac_cv_type_int" >&6
16030 echo "$as_me:$LINENO: checking size of int" >&5
16031 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16032 if test "${ac_cv_sizeof_int+set}" = set; then
16033 echo $ECHO_N "(cached) $ECHO_C" >&6
16035 if test "$ac_cv_type_int" = yes; then
16036 # The cast to unsigned long works around a bug in the HP C Compiler
16037 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16038 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16039 # This bug is HP SR number 8606223364.
16040 if test "$cross_compiling" = yes; then
16041 # Depending upon the size, compute the lo and hi bounds.
16042 cat >conftest.
$ac_ext <<_ACEOF
16045 cat confdefs.h
>>conftest.
$ac_ext
16046 cat >>conftest.
$ac_ext <<_ACEOF
16047 /* end confdefs.h. */
16048 $ac_includes_default
16052 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16059 rm -f conftest.
$ac_objext
16060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16061 (eval $ac_compile) 2>conftest.er1
16063 grep -v '^ *+' conftest.er1
>conftest.err
16065 cat conftest.err
>&5
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); } &&
16068 { ac_try
='test -z "$ac_c_werror_flag"
16069 || test ! -s conftest.err'
16070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16071 (eval $ac_try) 2>&5
16073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16074 (exit $ac_status); }; } &&
16075 { ac_try
='test -s conftest.$ac_objext'
16076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16077 (eval $ac_try) 2>&5
16079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16080 (exit $ac_status); }; }; then
16083 cat >conftest.
$ac_ext <<_ACEOF
16086 cat confdefs.h
>>conftest.
$ac_ext
16087 cat >>conftest.
$ac_ext <<_ACEOF
16088 /* end confdefs.h. */
16089 $ac_includes_default
16093 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16100 rm -f conftest.
$ac_objext
16101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16102 (eval $ac_compile) 2>conftest.er1
16104 grep -v '^ *+' conftest.er1
>conftest.err
16106 cat conftest.err
>&5
16107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16108 (exit $ac_status); } &&
16109 { ac_try
='test -z "$ac_c_werror_flag"
16110 || test ! -s conftest.err'
16111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16112 (eval $ac_try) 2>&5
16114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16115 (exit $ac_status); }; } &&
16116 { ac_try
='test -s conftest.$ac_objext'
16117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16118 (eval $ac_try) 2>&5
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); }; }; then
16122 ac_hi
=$ac_mid; break
16124 echo "$as_me: failed program was:" >&5
16125 sed 's/^/| /' conftest.
$ac_ext >&5
16127 ac_lo
=`expr $ac_mid + 1`
16128 if test $ac_lo -le $ac_mid; then
16132 ac_mid
=`expr 2 '*' $ac_mid + 1`
16134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16137 echo "$as_me: failed program was:" >&5
16138 sed 's/^/| /' conftest.
$ac_ext >&5
16140 cat >conftest.
$ac_ext <<_ACEOF
16143 cat confdefs.h
>>conftest.
$ac_ext
16144 cat >>conftest.
$ac_ext <<_ACEOF
16145 /* end confdefs.h. */
16146 $ac_includes_default
16150 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16157 rm -f conftest.
$ac_objext
16158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16159 (eval $ac_compile) 2>conftest.er1
16161 grep -v '^ *+' conftest.er1
>conftest.err
16163 cat conftest.err
>&5
16164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165 (exit $ac_status); } &&
16166 { ac_try
='test -z "$ac_c_werror_flag"
16167 || test ! -s conftest.err'
16168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16169 (eval $ac_try) 2>&5
16171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16172 (exit $ac_status); }; } &&
16173 { ac_try
='test -s conftest.$ac_objext'
16174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16175 (eval $ac_try) 2>&5
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); }; }; then
16181 cat >conftest.
$ac_ext <<_ACEOF
16184 cat confdefs.h
>>conftest.
$ac_ext
16185 cat >>conftest.
$ac_ext <<_ACEOF
16186 /* end confdefs.h. */
16187 $ac_includes_default
16191 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16198 rm -f conftest.
$ac_objext
16199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16200 (eval $ac_compile) 2>conftest.er1
16202 grep -v '^ *+' conftest.er1
>conftest.err
16204 cat conftest.err
>&5
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); } &&
16207 { ac_try
='test -z "$ac_c_werror_flag"
16208 || test ! -s conftest.err'
16209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16210 (eval $ac_try) 2>&5
16212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16213 (exit $ac_status); }; } &&
16214 { ac_try
='test -s conftest.$ac_objext'
16215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16216 (eval $ac_try) 2>&5
16218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16219 (exit $ac_status); }; }; then
16220 ac_lo
=$ac_mid; break
16222 echo "$as_me: failed program was:" >&5
16223 sed 's/^/| /' conftest.
$ac_ext >&5
16225 ac_hi
=`expr '(' $ac_mid ')' - 1`
16226 if test $ac_mid -le $ac_hi; then
16230 ac_mid
=`expr 2 '*' $ac_mid`
16232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16235 echo "$as_me: failed program was:" >&5
16236 sed 's/^/| /' conftest.
$ac_ext >&5
16240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16243 # Binary search between lo and hi bounds.
16244 while test "x$ac_lo" != "x$ac_hi"; do
16245 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16246 cat >conftest.
$ac_ext <<_ACEOF
16249 cat confdefs.h
>>conftest.
$ac_ext
16250 cat >>conftest.
$ac_ext <<_ACEOF
16251 /* end confdefs.h. */
16252 $ac_includes_default
16256 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16263 rm -f conftest.
$ac_objext
16264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16265 (eval $ac_compile) 2>conftest.er1
16267 grep -v '^ *+' conftest.er1
>conftest.err
16269 cat conftest.err
>&5
16270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16271 (exit $ac_status); } &&
16272 { ac_try
='test -z "$ac_c_werror_flag"
16273 || test ! -s conftest.err'
16274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16275 (eval $ac_try) 2>&5
16277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16278 (exit $ac_status); }; } &&
16279 { ac_try
='test -s conftest.$ac_objext'
16280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16281 (eval $ac_try) 2>&5
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); }; }; then
16287 echo "$as_me: failed program was:" >&5
16288 sed 's/^/| /' conftest.
$ac_ext >&5
16290 ac_lo
=`expr '(' $ac_mid ')' + 1`
16292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16295 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16296 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16297 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16298 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16299 See \`config.log' for more details." >&5
16300 echo "$as_me: error: cannot compute sizeof (int), 77
16301 See \`config.log' for more details." >&2;}
16302 { (exit 1); exit 1; }; }; } ;;
16305 if test "$cross_compiling" = yes; then
16306 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16307 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16308 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16309 See \`config.log' for more details." >&5
16310 echo "$as_me: error: cannot run test program while cross compiling
16311 See \`config.log' for more details." >&2;}
16312 { (exit 1); exit 1; }; }; }
16314 cat >conftest.
$ac_ext <<_ACEOF
16317 cat confdefs.h
>>conftest.
$ac_ext
16318 cat >>conftest.
$ac_ext <<_ACEOF
16319 /* end confdefs.h. */
16320 $ac_includes_default
16321 long longval () { return (long) (sizeof (int)); }
16322 unsigned long ulongval () { return (long) (sizeof (int)); }
16324 #include <stdlib.h>
16329 FILE *f = fopen ("conftest.val", "w");
16332 if (((long) (sizeof (int))) < 0)
16334 long i = longval ();
16335 if (i != ((long) (sizeof (int))))
16337 fprintf (f, "%ld\n", i);
16341 unsigned long i = ulongval ();
16342 if (i != ((long) (sizeof (int))))
16344 fprintf (f, "%lu\n", i);
16346 exit (ferror (f) || fclose (f) != 0);
16352 rm -f conftest
$ac_exeext
16353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16354 (eval $ac_link) 2>&5
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16359 (eval $ac_try) 2>&5
16361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16362 (exit $ac_status); }; }; then
16363 ac_cv_sizeof_int
=`cat conftest.val`
16365 echo "$as_me: program exited with status $ac_status" >&5
16366 echo "$as_me: failed program was:" >&5
16367 sed 's/^/| /' conftest.
$ac_ext >&5
16369 ( exit $ac_status )
16370 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16371 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16372 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16373 See \`config.log' for more details." >&5
16374 echo "$as_me: error: cannot compute sizeof (int), 77
16375 See \`config.log' for more details." >&2;}
16376 { (exit 1); exit 1; }; }; }
16378 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16386 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16387 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16388 cat >>confdefs.h
<<_ACEOF
16389 #define SIZEOF_INT $ac_cv_sizeof_int
16393 echo "$as_me:$LINENO: checking for short" >&5
16394 echo $ECHO_N "checking for short... $ECHO_C" >&6
16395 if test "${ac_cv_type_short+set}" = set; then
16396 echo $ECHO_N "(cached) $ECHO_C" >&6
16398 cat >conftest.
$ac_ext <<_ACEOF
16401 cat confdefs.h
>>conftest.
$ac_ext
16402 cat >>conftest.
$ac_ext <<_ACEOF
16403 /* end confdefs.h. */
16404 $ac_includes_default
16410 if (sizeof (short))
16416 rm -f conftest.
$ac_objext
16417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16418 (eval $ac_compile) 2>conftest.er1
16420 grep -v '^ *+' conftest.er1
>conftest.err
16422 cat conftest.err
>&5
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 (exit $ac_status); } &&
16425 { ac_try
='test -z "$ac_c_werror_flag"
16426 || test ! -s conftest.err'
16427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16428 (eval $ac_try) 2>&5
16430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16431 (exit $ac_status); }; } &&
16432 { ac_try
='test -s conftest.$ac_objext'
16433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16434 (eval $ac_try) 2>&5
16436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16437 (exit $ac_status); }; }; then
16438 ac_cv_type_short
=yes
16440 echo "$as_me: failed program was:" >&5
16441 sed 's/^/| /' conftest.
$ac_ext >&5
16443 ac_cv_type_short
=no
16445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16447 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16448 echo "${ECHO_T}$ac_cv_type_short" >&6
16450 echo "$as_me:$LINENO: checking size of short" >&5
16451 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16452 if test "${ac_cv_sizeof_short+set}" = set; then
16453 echo $ECHO_N "(cached) $ECHO_C" >&6
16455 if test "$ac_cv_type_short" = yes; then
16456 # The cast to unsigned long works around a bug in the HP C Compiler
16457 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16458 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16459 # This bug is HP SR number 8606223364.
16460 if test "$cross_compiling" = yes; then
16461 # Depending upon the size, compute the lo and hi bounds.
16462 cat >conftest.
$ac_ext <<_ACEOF
16465 cat confdefs.h
>>conftest.
$ac_ext
16466 cat >>conftest.
$ac_ext <<_ACEOF
16467 /* end confdefs.h. */
16468 $ac_includes_default
16472 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16479 rm -f conftest.
$ac_objext
16480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16481 (eval $ac_compile) 2>conftest.er1
16483 grep -v '^ *+' conftest.er1
>conftest.err
16485 cat conftest.err
>&5
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); } &&
16488 { ac_try
='test -z "$ac_c_werror_flag"
16489 || test ! -s conftest.err'
16490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16491 (eval $ac_try) 2>&5
16493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494 (exit $ac_status); }; } &&
16495 { ac_try
='test -s conftest.$ac_objext'
16496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16497 (eval $ac_try) 2>&5
16499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16500 (exit $ac_status); }; }; then
16503 cat >conftest.
$ac_ext <<_ACEOF
16506 cat confdefs.h
>>conftest.
$ac_ext
16507 cat >>conftest.
$ac_ext <<_ACEOF
16508 /* end confdefs.h. */
16509 $ac_includes_default
16513 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16520 rm -f conftest.
$ac_objext
16521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16522 (eval $ac_compile) 2>conftest.er1
16524 grep -v '^ *+' conftest.er1
>conftest.err
16526 cat conftest.err
>&5
16527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16528 (exit $ac_status); } &&
16529 { ac_try
='test -z "$ac_c_werror_flag"
16530 || test ! -s conftest.err'
16531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16532 (eval $ac_try) 2>&5
16534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16535 (exit $ac_status); }; } &&
16536 { ac_try
='test -s conftest.$ac_objext'
16537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16538 (eval $ac_try) 2>&5
16540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16541 (exit $ac_status); }; }; then
16542 ac_hi
=$ac_mid; break
16544 echo "$as_me: failed program was:" >&5
16545 sed 's/^/| /' conftest.
$ac_ext >&5
16547 ac_lo
=`expr $ac_mid + 1`
16548 if test $ac_lo -le $ac_mid; then
16552 ac_mid
=`expr 2 '*' $ac_mid + 1`
16554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16557 echo "$as_me: failed program was:" >&5
16558 sed 's/^/| /' conftest.
$ac_ext >&5
16560 cat >conftest.
$ac_ext <<_ACEOF
16563 cat confdefs.h
>>conftest.
$ac_ext
16564 cat >>conftest.
$ac_ext <<_ACEOF
16565 /* end confdefs.h. */
16566 $ac_includes_default
16570 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16577 rm -f conftest.
$ac_objext
16578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16579 (eval $ac_compile) 2>conftest.er1
16581 grep -v '^ *+' conftest.er1
>conftest.err
16583 cat conftest.err
>&5
16584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585 (exit $ac_status); } &&
16586 { ac_try
='test -z "$ac_c_werror_flag"
16587 || test ! -s conftest.err'
16588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16589 (eval $ac_try) 2>&5
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); }; } &&
16593 { ac_try
='test -s conftest.$ac_objext'
16594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16595 (eval $ac_try) 2>&5
16597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); }; }; then
16601 cat >conftest.
$ac_ext <<_ACEOF
16604 cat confdefs.h
>>conftest.
$ac_ext
16605 cat >>conftest.
$ac_ext <<_ACEOF
16606 /* end confdefs.h. */
16607 $ac_includes_default
16611 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16618 rm -f conftest.
$ac_objext
16619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16620 (eval $ac_compile) 2>conftest.er1
16622 grep -v '^ *+' conftest.er1
>conftest.err
16624 cat conftest.err
>&5
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); } &&
16627 { ac_try
='test -z "$ac_c_werror_flag"
16628 || test ! -s conftest.err'
16629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16630 (eval $ac_try) 2>&5
16632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16633 (exit $ac_status); }; } &&
16634 { ac_try
='test -s conftest.$ac_objext'
16635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16636 (eval $ac_try) 2>&5
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); }; }; then
16640 ac_lo
=$ac_mid; break
16642 echo "$as_me: failed program was:" >&5
16643 sed 's/^/| /' conftest.
$ac_ext >&5
16645 ac_hi
=`expr '(' $ac_mid ')' - 1`
16646 if test $ac_mid -le $ac_hi; then
16650 ac_mid
=`expr 2 '*' $ac_mid`
16652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16655 echo "$as_me: failed program was:" >&5
16656 sed 's/^/| /' conftest.
$ac_ext >&5
16660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16663 # Binary search between lo and hi bounds.
16664 while test "x$ac_lo" != "x$ac_hi"; do
16665 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16666 cat >conftest.
$ac_ext <<_ACEOF
16669 cat confdefs.h
>>conftest.
$ac_ext
16670 cat >>conftest.
$ac_ext <<_ACEOF
16671 /* end confdefs.h. */
16672 $ac_includes_default
16676 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16683 rm -f conftest.
$ac_objext
16684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16685 (eval $ac_compile) 2>conftest.er1
16687 grep -v '^ *+' conftest.er1
>conftest.err
16689 cat conftest.err
>&5
16690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16691 (exit $ac_status); } &&
16692 { ac_try
='test -z "$ac_c_werror_flag"
16693 || test ! -s conftest.err'
16694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16695 (eval $ac_try) 2>&5
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); }; } &&
16699 { ac_try
='test -s conftest.$ac_objext'
16700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16701 (eval $ac_try) 2>&5
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); }; }; then
16707 echo "$as_me: failed program was:" >&5
16708 sed 's/^/| /' conftest.
$ac_ext >&5
16710 ac_lo
=`expr '(' $ac_mid ')' + 1`
16712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16715 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16716 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16717 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16718 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16719 See \`config.log' for more details." >&5
16720 echo "$as_me: error: cannot compute sizeof (short), 77
16721 See \`config.log' for more details." >&2;}
16722 { (exit 1); exit 1; }; }; } ;;
16725 if test "$cross_compiling" = yes; then
16726 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16727 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16728 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16729 See \`config.log' for more details." >&5
16730 echo "$as_me: error: cannot run test program while cross compiling
16731 See \`config.log' for more details." >&2;}
16732 { (exit 1); exit 1; }; }; }
16734 cat >conftest.
$ac_ext <<_ACEOF
16737 cat confdefs.h
>>conftest.
$ac_ext
16738 cat >>conftest.
$ac_ext <<_ACEOF
16739 /* end confdefs.h. */
16740 $ac_includes_default
16741 long longval () { return (long) (sizeof (short)); }
16742 unsigned long ulongval () { return (long) (sizeof (short)); }
16744 #include <stdlib.h>
16749 FILE *f = fopen ("conftest.val", "w");
16752 if (((long) (sizeof (short))) < 0)
16754 long i = longval ();
16755 if (i != ((long) (sizeof (short))))
16757 fprintf (f, "%ld\n", i);
16761 unsigned long i = ulongval ();
16762 if (i != ((long) (sizeof (short))))
16764 fprintf (f, "%lu\n", i);
16766 exit (ferror (f) || fclose (f) != 0);
16772 rm -f conftest
$ac_exeext
16773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16774 (eval $ac_link) 2>&5
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16777 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16779 (eval $ac_try) 2>&5
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); }; }; then
16783 ac_cv_sizeof_short
=`cat conftest.val`
16785 echo "$as_me: program exited with status $ac_status" >&5
16786 echo "$as_me: failed program was:" >&5
16787 sed 's/^/| /' conftest.
$ac_ext >&5
16789 ( exit $ac_status )
16790 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16791 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16792 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16793 See \`config.log' for more details." >&5
16794 echo "$as_me: error: cannot compute sizeof (short), 77
16795 See \`config.log' for more details." >&2;}
16796 { (exit 1); exit 1; }; }; }
16798 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16803 ac_cv_sizeof_short
=0
16806 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16807 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16808 cat >>confdefs.h
<<_ACEOF
16809 #define SIZEOF_SHORT $ac_cv_sizeof_short
16813 echo "$as_me:$LINENO: checking for char" >&5
16814 echo $ECHO_N "checking for char... $ECHO_C" >&6
16815 if test "${ac_cv_type_char+set}" = set; then
16816 echo $ECHO_N "(cached) $ECHO_C" >&6
16818 cat >conftest.
$ac_ext <<_ACEOF
16821 cat confdefs.h
>>conftest.
$ac_ext
16822 cat >>conftest.
$ac_ext <<_ACEOF
16823 /* end confdefs.h. */
16824 $ac_includes_default
16836 rm -f conftest.
$ac_objext
16837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16838 (eval $ac_compile) 2>conftest.er1
16840 grep -v '^ *+' conftest.er1
>conftest.err
16842 cat conftest.err
>&5
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); } &&
16845 { ac_try
='test -z "$ac_c_werror_flag"
16846 || test ! -s conftest.err'
16847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16848 (eval $ac_try) 2>&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); }; } &&
16852 { ac_try
='test -s conftest.$ac_objext'
16853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16854 (eval $ac_try) 2>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); }; }; then
16858 ac_cv_type_char
=yes
16860 echo "$as_me: failed program was:" >&5
16861 sed 's/^/| /' conftest.
$ac_ext >&5
16865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16867 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16868 echo "${ECHO_T}$ac_cv_type_char" >&6
16870 echo "$as_me:$LINENO: checking size of char" >&5
16871 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16872 if test "${ac_cv_sizeof_char+set}" = set; then
16873 echo $ECHO_N "(cached) $ECHO_C" >&6
16875 if test "$ac_cv_type_char" = yes; then
16876 # The cast to unsigned long works around a bug in the HP C Compiler
16877 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16878 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16879 # This bug is HP SR number 8606223364.
16880 if test "$cross_compiling" = yes; then
16881 # Depending upon the size, compute the lo and hi bounds.
16882 cat >conftest.
$ac_ext <<_ACEOF
16885 cat confdefs.h
>>conftest.
$ac_ext
16886 cat >>conftest.
$ac_ext <<_ACEOF
16887 /* end confdefs.h. */
16888 $ac_includes_default
16892 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16899 rm -f conftest.
$ac_objext
16900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16901 (eval $ac_compile) 2>conftest.er1
16903 grep -v '^ *+' conftest.er1
>conftest.err
16905 cat conftest.err
>&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); } &&
16908 { ac_try
='test -z "$ac_c_werror_flag"
16909 || test ! -s conftest.err'
16910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16911 (eval $ac_try) 2>&5
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914 (exit $ac_status); }; } &&
16915 { ac_try
='test -s conftest.$ac_objext'
16916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16917 (eval $ac_try) 2>&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); }; }; then
16923 cat >conftest.
$ac_ext <<_ACEOF
16926 cat confdefs.h
>>conftest.
$ac_ext
16927 cat >>conftest.
$ac_ext <<_ACEOF
16928 /* end confdefs.h. */
16929 $ac_includes_default
16933 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16940 rm -f conftest.
$ac_objext
16941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16942 (eval $ac_compile) 2>conftest.er1
16944 grep -v '^ *+' conftest.er1
>conftest.err
16946 cat conftest.err
>&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); } &&
16949 { ac_try
='test -z "$ac_c_werror_flag"
16950 || test ! -s conftest.err'
16951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16952 (eval $ac_try) 2>&5
16954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16955 (exit $ac_status); }; } &&
16956 { ac_try
='test -s conftest.$ac_objext'
16957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16958 (eval $ac_try) 2>&5
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); }; }; then
16962 ac_hi
=$ac_mid; break
16964 echo "$as_me: failed program was:" >&5
16965 sed 's/^/| /' conftest.
$ac_ext >&5
16967 ac_lo
=`expr $ac_mid + 1`
16968 if test $ac_lo -le $ac_mid; then
16972 ac_mid
=`expr 2 '*' $ac_mid + 1`
16974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16977 echo "$as_me: failed program was:" >&5
16978 sed 's/^/| /' conftest.
$ac_ext >&5
16980 cat >conftest.
$ac_ext <<_ACEOF
16983 cat confdefs.h
>>conftest.
$ac_ext
16984 cat >>conftest.
$ac_ext <<_ACEOF
16985 /* end confdefs.h. */
16986 $ac_includes_default
16990 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16997 rm -f conftest.
$ac_objext
16998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16999 (eval $ac_compile) 2>conftest.er1
17001 grep -v '^ *+' conftest.er1
>conftest.err
17003 cat conftest.err
>&5
17004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17005 (exit $ac_status); } &&
17006 { ac_try
='test -z "$ac_c_werror_flag"
17007 || test ! -s conftest.err'
17008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17009 (eval $ac_try) 2>&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); }; } &&
17013 { ac_try
='test -s conftest.$ac_objext'
17014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17015 (eval $ac_try) 2>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }; }; then
17021 cat >conftest.
$ac_ext <<_ACEOF
17024 cat confdefs.h
>>conftest.
$ac_ext
17025 cat >>conftest.
$ac_ext <<_ACEOF
17026 /* end confdefs.h. */
17027 $ac_includes_default
17031 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17038 rm -f conftest.
$ac_objext
17039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17040 (eval $ac_compile) 2>conftest.er1
17042 grep -v '^ *+' conftest.er1
>conftest.err
17044 cat conftest.err
>&5
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); } &&
17047 { ac_try
='test -z "$ac_c_werror_flag"
17048 || test ! -s conftest.err'
17049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17050 (eval $ac_try) 2>&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); }; } &&
17054 { ac_try
='test -s conftest.$ac_objext'
17055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17056 (eval $ac_try) 2>&5
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); }; }; then
17060 ac_lo
=$ac_mid; break
17062 echo "$as_me: failed program was:" >&5
17063 sed 's/^/| /' conftest.
$ac_ext >&5
17065 ac_hi
=`expr '(' $ac_mid ')' - 1`
17066 if test $ac_mid -le $ac_hi; then
17070 ac_mid
=`expr 2 '*' $ac_mid`
17072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17075 echo "$as_me: failed program was:" >&5
17076 sed 's/^/| /' conftest.
$ac_ext >&5
17080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17083 # Binary search between lo and hi bounds.
17084 while test "x$ac_lo" != "x$ac_hi"; do
17085 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17086 cat >conftest.
$ac_ext <<_ACEOF
17089 cat confdefs.h
>>conftest.
$ac_ext
17090 cat >>conftest.
$ac_ext <<_ACEOF
17091 /* end confdefs.h. */
17092 $ac_includes_default
17096 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17103 rm -f conftest.
$ac_objext
17104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17105 (eval $ac_compile) 2>conftest.er1
17107 grep -v '^ *+' conftest.er1
>conftest.err
17109 cat conftest.err
>&5
17110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17111 (exit $ac_status); } &&
17112 { ac_try
='test -z "$ac_c_werror_flag"
17113 || test ! -s conftest.err'
17114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17115 (eval $ac_try) 2>&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); }; } &&
17119 { ac_try
='test -s conftest.$ac_objext'
17120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17121 (eval $ac_try) 2>&5
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); }; }; then
17127 echo "$as_me: failed program was:" >&5
17128 sed 's/^/| /' conftest.
$ac_ext >&5
17130 ac_lo
=`expr '(' $ac_mid ')' + 1`
17132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17135 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17136 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17137 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17138 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17139 See \`config.log' for more details." >&5
17140 echo "$as_me: error: cannot compute sizeof (char), 77
17141 See \`config.log' for more details." >&2;}
17142 { (exit 1); exit 1; }; }; } ;;
17145 if test "$cross_compiling" = yes; then
17146 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17147 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17148 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17149 See \`config.log' for more details." >&5
17150 echo "$as_me: error: cannot run test program while cross compiling
17151 See \`config.log' for more details." >&2;}
17152 { (exit 1); exit 1; }; }; }
17154 cat >conftest.
$ac_ext <<_ACEOF
17157 cat confdefs.h
>>conftest.
$ac_ext
17158 cat >>conftest.
$ac_ext <<_ACEOF
17159 /* end confdefs.h. */
17160 $ac_includes_default
17161 long longval () { return (long) (sizeof (char)); }
17162 unsigned long ulongval () { return (long) (sizeof (char)); }
17164 #include <stdlib.h>
17169 FILE *f = fopen ("conftest.val", "w");
17172 if (((long) (sizeof (char))) < 0)
17174 long i = longval ();
17175 if (i != ((long) (sizeof (char))))
17177 fprintf (f, "%ld\n", i);
17181 unsigned long i = ulongval ();
17182 if (i != ((long) (sizeof (char))))
17184 fprintf (f, "%lu\n", i);
17186 exit (ferror (f) || fclose (f) != 0);
17192 rm -f conftest
$ac_exeext
17193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17194 (eval $ac_link) 2>&5
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17199 (eval $ac_try) 2>&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); }; }; then
17203 ac_cv_sizeof_char
=`cat conftest.val`
17205 echo "$as_me: program exited with status $ac_status" >&5
17206 echo "$as_me: failed program was:" >&5
17207 sed 's/^/| /' conftest.
$ac_ext >&5
17209 ( exit $ac_status )
17210 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17211 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17212 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17213 See \`config.log' for more details." >&5
17214 echo "$as_me: error: cannot compute sizeof (char), 77
17215 See \`config.log' for more details." >&2;}
17216 { (exit 1); exit 1; }; }; }
17218 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17223 ac_cv_sizeof_char
=0
17226 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17227 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17228 cat >>confdefs.h
<<_ACEOF
17229 #define SIZEOF_CHAR $ac_cv_sizeof_char
17234 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
17235 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
17236 case "$ac_cv_sizeof_char" in
17237 1) acx_cv_type_int8_t
=char
;;
17238 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
17239 echo "$as_me: error: no 8-bit type" >&2;}
17240 { (exit please report a bug
); exit please report a bug
; }; }
17242 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
17243 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
17245 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
17246 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
17247 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
17248 2:*) acx_cv_type_int16_t
=int
;;
17249 *:2) acx_cv_type_int16_t
=short
;;
17250 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
17251 echo "$as_me: error: no 16-bit type" >&2;}
17252 { (exit please report a bug
); exit please report a bug
; }; }
17254 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
17255 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
17257 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
17258 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
17259 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
17260 4:*) acx_cv_type_int32_t
=int
;;
17261 *:4) acx_cv_type_int32_t
=long
;;
17262 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
17263 echo "$as_me: error: no 32-bit type" >&2;}
17264 { (exit please report a bug
); exit please report a bug
; }; }
17266 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
17267 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
17270 # These tests are here to make the output prettier
17272 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17273 case "$ac_cv_sizeof_long" in
17274 8) acx_cv_type_int64_t
=long
;;
17276 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
17277 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
17278 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17279 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
17282 # Now we can use the above types
17284 if test "$ac_cv_type_uintptr_t" != yes; then
17285 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
17286 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
17287 case $ac_cv_sizeof_void_p in
17288 2) acx_cv_type_intptr_t
=int16_t
;;
17289 4) acx_cv_type_intptr_t
=int32_t
;;
17290 8) acx_cv_type_intptr_t
=int64_t
;;
17291 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
17292 echo "$as_me: error: no equivalent for intptr_t" >&2;}
17293 { (exit please report a bug
); exit please report a bug
; }; }
17295 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
17296 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
17299 # ----------------- done all checks, emit header -------------
17300 ac_config_commands
="$ac_config_commands gstdint.h"
17305 # Check to see if -pthread or -lpthread is needed. Prefer the former.
17306 # In case the pthread.h system header is not found, this test will fail.
17308 CFLAGS
="$CFLAGS -pthread"
17309 cat >conftest.
$ac_ext <<_ACEOF
17312 cat confdefs.h
>>conftest.
$ac_ext
17313 cat >>conftest.
$ac_ext <<_ACEOF
17314 /* end confdefs.h. */
17315 #include <pthread.h>
17316 void *g(void *d) { return NULL; }
17320 pthread_t t; pthread_create(&t,NULL,g,NULL);
17325 rm -f conftest.
$ac_objext conftest
$ac_exeext
17326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17327 (eval $ac_link) 2>conftest.er1
17329 grep -v '^ *+' conftest.er1
>conftest.err
17331 cat conftest.err
>&5
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); } &&
17334 { ac_try
='test -z "$ac_c_werror_flag"
17335 || test ! -s conftest.err'
17336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17337 (eval $ac_try) 2>&5
17339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17340 (exit $ac_status); }; } &&
17341 { ac_try
='test -s conftest$ac_exeext'
17342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17343 (eval $ac_try) 2>&5
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); }; }; then
17347 XPCFLAGS
=" -Wc,-pthread"
17349 echo "$as_me: failed program was:" >&5
17350 sed 's/^/| /' conftest.
$ac_ext >&5
17352 CFLAGS
="$save_CFLAGS" LIBS
="-lpthread $LIBS"
17353 cat >conftest.
$ac_ext <<_ACEOF
17356 cat confdefs.h
>>conftest.
$ac_ext
17357 cat >>conftest.
$ac_ext <<_ACEOF
17358 /* end confdefs.h. */
17359 #include <pthread.h>
17360 void *g(void *d) { return NULL; }
17364 pthread_t t; pthread_create(&t,NULL,g,NULL);
17369 rm -f conftest.
$ac_objext conftest
$ac_exeext
17370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17371 (eval $ac_link) 2>conftest.er1
17373 grep -v '^ *+' conftest.er1
>conftest.err
17375 cat conftest.err
>&5
17376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17377 (exit $ac_status); } &&
17378 { ac_try
='test -z "$ac_c_werror_flag"
17379 || test ! -s conftest.err'
17380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17381 (eval $ac_try) 2>&5
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); }; } &&
17385 { ac_try
='test -s conftest$ac_exeext'
17386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17387 (eval $ac_try) 2>&5
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); }; }; then
17393 echo "$as_me: failed program was:" >&5
17394 sed 's/^/| /' conftest.
$ac_ext >&5
17396 { { echo "$as_me:$LINENO: error: Pthreads are required to build libgomp" >&5
17397 echo "$as_me: error: Pthreads are required to build libgomp" >&2;}
17398 { (exit 1); exit 1; }; }
17400 rm -f conftest.err conftest.
$ac_objext \
17401 conftest
$ac_exeext conftest.
$ac_ext
17403 rm -f conftest.err conftest.
$ac_objext \
17404 conftest
$ac_exeext conftest.
$ac_ext
17406 # Check for functions needed.
17410 for ac_func
in getloadavg clock_gettime strtoull
17412 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17413 echo "$as_me:$LINENO: checking for $ac_func" >&5
17414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17415 if eval "test \"\${$as_ac_var+set}\" = set"; then
17416 echo $ECHO_N "(cached) $ECHO_C" >&6
17418 cat >conftest.
$ac_ext <<_ACEOF
17421 cat confdefs.h
>>conftest.
$ac_ext
17422 cat >>conftest.
$ac_ext <<_ACEOF
17423 /* end confdefs.h. */
17424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17426 #define $ac_func innocuous_$ac_func
17428 /* System header to define __stub macros and hopefully few prototypes,
17429 which can conflict with char $ac_func (); below.
17430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17431 <limits.h> exists even on freestanding compilers. */
17434 # include <limits.h>
17436 # include <assert.h>
17441 /* Override any gcc2 internal prototype to avoid an error. */
17446 /* We use char because int might match the return type of a gcc2
17447 builtin and then its argument prototype would still apply. */
17449 /* The GNU C library defines this for functions which it implements
17450 to always fail with ENOSYS. Some functions are actually named
17451 something starting with __ and the normal name is an alias. */
17452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17455 char (*f) () = $ac_func;
17464 return f != $ac_func;
17469 rm -f conftest.
$ac_objext conftest
$ac_exeext
17470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17471 (eval $ac_link) 2>conftest.er1
17473 grep -v '^ *+' conftest.er1
>conftest.err
17475 cat conftest.err
>&5
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); } &&
17478 { ac_try
='test -z "$ac_c_werror_flag"
17479 || test ! -s conftest.err'
17480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17481 (eval $ac_try) 2>&5
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); }; } &&
17485 { ac_try
='test -s conftest$ac_exeext'
17486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17487 (eval $ac_try) 2>&5
17489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 (exit $ac_status); }; }; then
17491 eval "$as_ac_var=yes"
17493 echo "$as_me: failed program was:" >&5
17494 sed 's/^/| /' conftest.
$ac_ext >&5
17496 eval "$as_ac_var=no"
17498 rm -f conftest.err conftest.
$ac_objext \
17499 conftest
$ac_exeext conftest.
$ac_ext
17501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17503 if test `eval echo '${'$as_ac_var'}'` = yes; then
17504 cat >>confdefs.h
<<_ACEOF
17505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17512 # Check for broken semaphore implementation on darwin.
17513 # sem_init returns: sem_init error: Function not implemented.
17517 cat >>confdefs.h
<<\_ACEOF
17518 #define HAVE_BROKEN_POSIX_SEMAPHORES 1
17524 # Check whether --enable-linux-futex or --disable-linux-futex was given.
17525 if test "${enable_linux_futex+set}" = set; then
17526 enableval
="$enable_linux_futex"
17528 case "$enableval" in
17530 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
17531 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
17532 { (exit 1); exit 1; }; } ;;
17536 enable_linux_futex
=default
17541 case "$enable_linux_futex" in
17543 # If headers don't have gettid/futex syscalls definition, then
17544 # default to no, otherwise there will be compile time failures.
17545 # Otherwise, default to yes. If we don't detect we are
17546 # compiled/linked against NPTL and not cross-compiling, check
17547 # if programs are run by default against NPTL and if not, issue
17549 enable_linux_futex
=no
17550 cat >conftest.
$ac_ext <<_ACEOF
17553 cat confdefs.h
>>conftest.
$ac_ext
17554 cat >>conftest.
$ac_ext <<_ACEOF
17555 /* end confdefs.h. */
17556 #include <sys/syscall.h>
17561 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
17566 rm -f conftest.
$ac_objext conftest
$ac_exeext
17567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17568 (eval $ac_link) 2>conftest.er1
17570 grep -v '^ *+' conftest.er1
>conftest.err
17572 cat conftest.err
>&5
17573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17574 (exit $ac_status); } &&
17575 { ac_try
='test -z "$ac_c_werror_flag"
17576 || test ! -s conftest.err'
17577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17578 (eval $ac_try) 2>&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); }; } &&
17582 { ac_try
='test -s conftest$ac_exeext'
17583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17584 (eval $ac_try) 2>&5
17586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587 (exit $ac_status); }; }; then
17589 LIBS
="-lpthread $LIBS"
17590 cat >conftest.
$ac_ext <<_ACEOF
17593 cat confdefs.h
>>conftest.
$ac_ext
17594 cat >>conftest.
$ac_ext <<_ACEOF
17595 /* end confdefs.h. */
17596 #ifndef _GNU_SOURCE
17597 #define _GNU_SOURCE 1
17599 #include <pthread.h>
17600 pthread_t th; void *status;
17604 pthread_tryjoin_np (th, &status);
17609 rm -f conftest.
$ac_objext conftest
$ac_exeext
17610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17611 (eval $ac_link) 2>conftest.er1
17613 grep -v '^ *+' conftest.er1
>conftest.err
17615 cat conftest.err
>&5
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); } &&
17618 { ac_try
='test -z "$ac_c_werror_flag"
17619 || test ! -s conftest.err'
17620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17621 (eval $ac_try) 2>&5
17623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624 (exit $ac_status); }; } &&
17625 { ac_try
='test -s conftest$ac_exeext'
17626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17627 (eval $ac_try) 2>&5
17629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17630 (exit $ac_status); }; }; then
17631 enable_linux_futex
=yes
17633 echo "$as_me: failed program was:" >&5
17634 sed 's/^/| /' conftest.
$ac_ext >&5
17636 if test x
$cross_compiling = xno
; then
17637 if getconf GNU_LIBPTHREAD_VERSION
2>/dev
/null \
17638 | LC_ALL
=C
grep -i NPTL
> /dev
/null
2>/dev
/null
; then :; else
17639 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
17640 If so, please configure with --disable-linux-futex" >&5
17641 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
17642 If so, please configure with --disable-linux-futex" >&2;}
17645 enable_linux_futex
=yes
17647 rm -f conftest.err conftest.
$ac_objext \
17648 conftest
$ac_exeext conftest.
$ac_ext
17651 echo "$as_me: failed program was:" >&5
17652 sed 's/^/| /' conftest.
$ac_ext >&5
17655 rm -f conftest.err conftest.
$ac_objext \
17656 conftest
$ac_exeext conftest.
$ac_ext
17659 cat >conftest.
$ac_ext <<_ACEOF
17662 cat confdefs.h
>>conftest.
$ac_ext
17663 cat >>conftest.
$ac_ext <<_ACEOF
17664 /* end confdefs.h. */
17665 #include <sys/syscall.h>
17670 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
17675 rm -f conftest.
$ac_objext conftest
$ac_exeext
17676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17677 (eval $ac_link) 2>conftest.er1
17679 grep -v '^ *+' conftest.er1
>conftest.err
17681 cat conftest.err
>&5
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); } &&
17684 { ac_try
='test -z "$ac_c_werror_flag"
17685 || test ! -s conftest.err'
17686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17687 (eval $ac_try) 2>&5
17689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17690 (exit $ac_status); }; } &&
17691 { ac_try
='test -s conftest$ac_exeext'
17692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17693 (eval $ac_try) 2>&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); }; }; then
17699 echo "$as_me: failed program was:" >&5
17700 sed 's/^/| /' conftest.
$ac_ext >&5
17702 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
17703 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
17704 { (exit 1); exit 1; }; }
17706 rm -f conftest.err conftest.
$ac_objext \
17707 conftest
$ac_exeext conftest.
$ac_ext
17712 enable_linux_futex
=no
17715 if test x
$enable_linux_futex = xyes
; then
17720 # Check for pthread_{,attr_}[sg]etaffinity_np.
17721 cat >conftest.
$ac_ext <<_ACEOF
17724 cat confdefs.h
>>conftest.
$ac_ext
17725 cat >>conftest.
$ac_ext <<_ACEOF
17726 /* end confdefs.h. */
17727 #define _GNU_SOURCE
17728 #include <pthread.h>
17733 pthread_attr_t attr;
17734 pthread_getaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
17735 if (CPU_ISSET (0, &cpuset))
17736 CPU_SET (1, &cpuset);
17738 CPU_ZERO (&cpuset);
17739 pthread_setaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
17740 pthread_attr_init (&attr);
17741 pthread_attr_getaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
17742 pthread_attr_setaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
17747 rm -f conftest.
$ac_objext conftest
$ac_exeext
17748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17749 (eval $ac_link) 2>conftest.er1
17751 grep -v '^ *+' conftest.er1
>conftest.err
17753 cat conftest.err
>&5
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); } &&
17756 { ac_try
='test -z "$ac_c_werror_flag"
17757 || test ! -s conftest.err'
17758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17759 (eval $ac_try) 2>&5
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); }; } &&
17763 { ac_try
='test -s conftest$ac_exeext'
17764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17765 (eval $ac_try) 2>&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }; }; then
17770 cat >>confdefs.h
<<\_ACEOF
17771 #define HAVE_PTHREAD_AFFINITY_NP 1
17775 echo "$as_me: failed program was:" >&5
17776 sed 's/^/| /' conftest.
$ac_ext >&5
17779 rm -f conftest.err conftest.
$ac_objext \
17780 conftest
$ac_exeext conftest.
$ac_ext
17782 # At least for glibc, clock_gettime is in librt. But don't pull that
17783 # in if it still doesn't give us the function we want.
17784 if test $ac_cv_func_clock_gettime = no
; then
17785 echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
17786 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
17787 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
17788 echo $ECHO_N "(cached) $ECHO_C" >&6
17790 ac_check_lib_save_LIBS
=$LIBS
17792 cat >conftest.
$ac_ext <<_ACEOF
17795 cat confdefs.h
>>conftest.
$ac_ext
17796 cat >>conftest.
$ac_ext <<_ACEOF
17797 /* end confdefs.h. */
17799 /* Override any gcc2 internal prototype to avoid an error. */
17803 /* We use char because int might match the return type of a gcc2
17804 builtin and then its argument prototype would still apply. */
17805 char clock_gettime ();
17814 rm -f conftest.
$ac_objext conftest
$ac_exeext
17815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17816 (eval $ac_link) 2>conftest.er1
17818 grep -v '^ *+' conftest.er1
>conftest.err
17820 cat conftest.err
>&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); } &&
17823 { ac_try
='test -z "$ac_c_werror_flag"
17824 || test ! -s conftest.err'
17825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17826 (eval $ac_try) 2>&5
17828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17829 (exit $ac_status); }; } &&
17830 { ac_try
='test -s conftest$ac_exeext'
17831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17832 (eval $ac_try) 2>&5
17834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17835 (exit $ac_status); }; }; then
17836 ac_cv_lib_rt_clock_gettime
=yes
17838 echo "$as_me: failed program was:" >&5
17839 sed 's/^/| /' conftest.
$ac_ext >&5
17841 ac_cv_lib_rt_clock_gettime
=no
17843 rm -f conftest.err conftest.
$ac_objext \
17844 conftest
$ac_exeext conftest.
$ac_ext
17845 LIBS
=$ac_check_lib_save_LIBS
17847 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
17848 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
17849 if test $ac_cv_lib_rt_clock_gettime = yes; then
17852 cat >>confdefs.h
<<\_ACEOF
17853 #define HAVE_CLOCK_GETTIME 1
17860 # See if we support thread-local storage.
17862 # Check whether --enable-tls or --disable-tls was given.
17863 if test "${enable_tls+set}" = set; then
17864 enableval
="$enable_tls"
17866 case "$enableval" in
17868 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
17869 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
17870 { (exit 1); exit 1; }; } ;;
17877 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
17878 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
17879 if test "${gcc_cv_have_tls+set}" = set; then
17880 echo $ECHO_N "(cached) $ECHO_C" >&6
17883 if test "$cross_compiling" = yes; then
17884 cat >conftest.
$ac_ext <<_ACEOF
17885 __thread int a; int b; int main() { return a = b; }
17887 rm -f conftest.
$ac_objext conftest
$ac_exeext
17888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17889 (eval $ac_link) 2>conftest.er1
17891 grep -v '^ *+' conftest.er1
>conftest.err
17893 cat conftest.err
>&5
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); } &&
17896 { ac_try
='test -z "$ac_c_werror_flag"
17897 || test ! -s conftest.err'
17898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17899 (eval $ac_try) 2>&5
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); }; } &&
17903 { ac_try
='test -s conftest$ac_exeext'
17904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17905 (eval $ac_try) 2>&5
17907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908 (exit $ac_status); }; }; then
17909 gcc_cv_have_tls
=yes
17911 echo "$as_me: failed program was:" >&5
17912 sed 's/^/| /' conftest.
$ac_ext >&5
17916 rm -f conftest.err conftest.
$ac_objext \
17917 conftest
$ac_exeext conftest.
$ac_ext
17921 cat >conftest.
$ac_ext <<_ACEOF
17922 __thread int a; int b; int main() { return a = b; }
17924 rm -f conftest
$ac_exeext
17925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17926 (eval $ac_link) 2>&5
17928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17929 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17931 (eval $ac_try) 2>&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); }; }; then
17935 chktls_save_LDFLAGS
="$LDFLAGS"
17936 LDFLAGS
="-static $LDFLAGS"
17937 cat >conftest.
$ac_ext <<_ACEOF
17938 int main() { return 0; }
17940 rm -f conftest.
$ac_objext conftest
$ac_exeext
17941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17942 (eval $ac_link) 2>conftest.er1
17944 grep -v '^ *+' conftest.er1
>conftest.err
17946 cat conftest.err
>&5
17947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17948 (exit $ac_status); } &&
17949 { ac_try
='test -z "$ac_c_werror_flag"
17950 || test ! -s conftest.err'
17951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17952 (eval $ac_try) 2>&5
17954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17955 (exit $ac_status); }; } &&
17956 { ac_try
='test -s conftest$ac_exeext'
17957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17958 (eval $ac_try) 2>&5
17960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17961 (exit $ac_status); }; }; then
17962 if test "$cross_compiling" = yes; then
17963 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17964 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17965 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17966 See \`config.log' for more details." >&5
17967 echo "$as_me: error: cannot run test program while cross compiling
17968 See \`config.log' for more details." >&2;}
17969 { (exit 1); exit 1; }; }; }
17971 cat >conftest.
$ac_ext <<_ACEOF
17972 __thread int a; int b; int main() { return a = b; }
17974 rm -f conftest
$ac_exeext
17975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17976 (eval $ac_link) 2>&5
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17981 (eval $ac_try) 2>&5
17983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984 (exit $ac_status); }; }; then
17985 gcc_cv_have_tls
=yes
17987 echo "$as_me: program exited with status $ac_status" >&5
17988 echo "$as_me: failed program was:" >&5
17989 sed 's/^/| /' conftest.
$ac_ext >&5
17991 ( exit $ac_status )
17994 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17997 echo "$as_me: failed program was:" >&5
17998 sed 's/^/| /' conftest.
$ac_ext >&5
18000 gcc_cv_have_tls
=yes
18002 rm -f conftest.err conftest.
$ac_objext \
18003 conftest
$ac_exeext conftest.
$ac_ext
18004 LDFLAGS
="$chktls_save_LDFLAGS"
18005 if test $gcc_cv_have_tls = yes; then
18006 chktls_save_CFLAGS
="$CFLAGS"
18007 thread_CFLAGS
=failed
18008 for flag
in '' '-pthread' '-lpthread'; do
18009 CFLAGS
="$flag $chktls_save_CFLAGS"
18010 cat >conftest.
$ac_ext <<_ACEOF
18013 cat confdefs.h
>>conftest.
$ac_ext
18014 cat >>conftest.
$ac_ext <<_ACEOF
18015 /* end confdefs.h. */
18016 #include <pthread.h>
18017 void *g(void *d) { return NULL; }
18021 pthread_t t; pthread_create(&t,NULL,g,NULL);
18026 rm -f conftest.
$ac_objext conftest
$ac_exeext
18027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18028 (eval $ac_link) 2>conftest.er1
18030 grep -v '^ *+' conftest.er1
>conftest.err
18032 cat conftest.err
>&5
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); } &&
18035 { ac_try
='test -z "$ac_c_werror_flag"
18036 || test ! -s conftest.err'
18037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18038 (eval $ac_try) 2>&5
18040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041 (exit $ac_status); }; } &&
18042 { ac_try
='test -s conftest$ac_exeext'
18043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18044 (eval $ac_try) 2>&5
18046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047 (exit $ac_status); }; }; then
18048 thread_CFLAGS
="$flag"
18050 echo "$as_me: failed program was:" >&5
18051 sed 's/^/| /' conftest.
$ac_ext >&5
18054 rm -f conftest.err conftest.
$ac_objext \
18055 conftest
$ac_exeext conftest.
$ac_ext
18056 if test "X$thread_CFLAGS" != Xfailed
; then
18060 CFLAGS
="$chktls_save_CFLAGS"
18061 if test "X$thread_CFLAGS" != Xfailed
; then
18062 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
18063 if test "$cross_compiling" = yes; then
18064 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18065 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18066 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18067 See \`config.log' for more details." >&5
18068 echo "$as_me: error: cannot run test program while cross compiling
18069 See \`config.log' for more details." >&2;}
18070 { (exit 1); exit 1; }; }; }
18072 cat >conftest.
$ac_ext <<_ACEOF
18075 cat confdefs.h
>>conftest.
$ac_ext
18076 cat >>conftest.
$ac_ext <<_ACEOF
18077 /* end confdefs.h. */
18078 #include <pthread.h>
18080 static int *a_in_other_thread;
18082 thread_func (void *arg)
18084 a_in_other_thread = &a;
18091 void *thread_retval;
18092 int *a_in_main_thread;
18093 if (pthread_create (&thread, (pthread_attr_t *)0,
18094 thread_func, (void *)0))
18096 a_in_main_thread = &a;
18097 if (pthread_join (thread, &thread_retval))
18099 return (a_in_other_thread == a_in_main_thread);
18104 rm -f conftest
$ac_exeext
18105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18106 (eval $ac_link) 2>&5
18108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18111 (eval $ac_try) 2>&5
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); }; }; then
18115 gcc_cv_have_tls
=yes
18117 echo "$as_me: program exited with status $ac_status" >&5
18118 echo "$as_me: failed program was:" >&5
18119 sed 's/^/| /' conftest.
$ac_ext >&5
18121 ( exit $ac_status )
18124 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18126 CFLAGS
="$chktls_save_CFLAGS"
18130 echo "$as_me: program exited with status $ac_status" >&5
18131 echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.
$ac_ext >&5
18134 ( exit $ac_status )
18137 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18140 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
18141 echo "${ECHO_T}$gcc_cv_have_tls" >&6
18142 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
18144 cat >>confdefs.h
<<\_ACEOF
18150 # See what sort of export controls are availible.
18152 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
18153 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
18154 if test "${libgomp_cv_have_attribute_visibility+set}" = set; then
18155 echo $ECHO_N "(cached) $ECHO_C" >&6
18158 save_CFLAGS
="$CFLAGS"
18159 CFLAGS
="$CFLAGS -Werror"
18160 cat >conftest.
$ac_ext <<_ACEOF
18163 cat confdefs.h
>>conftest.
$ac_ext
18164 cat >>conftest.
$ac_ext <<_ACEOF
18165 /* end confdefs.h. */
18166 void __attribute__((visibility("hidden"))) foo(void) { }
18175 rm -f conftest.
$ac_objext
18176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18177 (eval $ac_compile) 2>conftest.er1
18179 grep -v '^ *+' conftest.er1
>conftest.err
18181 cat conftest.err
>&5
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); } &&
18184 { ac_try
='test -z "$ac_c_werror_flag"
18185 || test ! -s conftest.err'
18186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18187 (eval $ac_try) 2>&5
18189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18190 (exit $ac_status); }; } &&
18191 { ac_try
='test -s conftest.$ac_objext'
18192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18193 (eval $ac_try) 2>&5
18195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18196 (exit $ac_status); }; }; then
18197 libgomp_cv_have_attribute_visibility
=yes
18199 echo "$as_me: failed program was:" >&5
18200 sed 's/^/| /' conftest.
$ac_ext >&5
18202 libgomp_cv_have_attribute_visibility
=no
18204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18205 CFLAGS
="$save_CFLAGS"
18207 echo "$as_me:$LINENO: result: $libgomp_cv_have_attribute_visibility" >&5
18208 echo "${ECHO_T}$libgomp_cv_have_attribute_visibility" >&6
18209 if test $libgomp_cv_have_attribute_visibility = yes; then
18211 cat >>confdefs.h
<<\_ACEOF
18212 #define HAVE_ATTRIBUTE_VISIBILITY 1
18217 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
18218 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
18219 if test "${libgomp_cv_have_attribute_dllexport+set}" = set; then
18220 echo $ECHO_N "(cached) $ECHO_C" >&6
18223 save_CFLAGS
="$CFLAGS"
18224 CFLAGS
="$CFLAGS -Werror"
18225 cat >conftest.
$ac_ext <<_ACEOF
18228 cat confdefs.h
>>conftest.
$ac_ext
18229 cat >>conftest.
$ac_ext <<_ACEOF
18230 /* end confdefs.h. */
18231 void __attribute__((dllexport)) foo(void) { }
18240 rm -f conftest.
$ac_objext
18241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18242 (eval $ac_compile) 2>conftest.er1
18244 grep -v '^ *+' conftest.er1
>conftest.err
18246 cat conftest.err
>&5
18247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18248 (exit $ac_status); } &&
18249 { ac_try
='test -z "$ac_c_werror_flag"
18250 || test ! -s conftest.err'
18251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18252 (eval $ac_try) 2>&5
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); }; } &&
18256 { ac_try
='test -s conftest.$ac_objext'
18257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18258 (eval $ac_try) 2>&5
18260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261 (exit $ac_status); }; }; then
18262 libgomp_cv_have_attribute_dllexport
=yes
18264 echo "$as_me: failed program was:" >&5
18265 sed 's/^/| /' conftest.
$ac_ext >&5
18267 libgomp_cv_have_attribute_dllexport
=no
18269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18270 CFLAGS
="$save_CFLAGS"
18272 echo "$as_me:$LINENO: result: $libgomp_cv_have_attribute_dllexport" >&5
18273 echo "${ECHO_T}$libgomp_cv_have_attribute_dllexport" >&6
18274 if test $libgomp_cv_have_attribute_dllexport = yes; then
18276 cat >>confdefs.h
<<\_ACEOF
18277 #define HAVE_ATTRIBUTE_DLLEXPORT 1
18282 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
18283 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
18284 if test "${libgomp_cv_have_attribute_alias+set}" = set; then
18285 echo $ECHO_N "(cached) $ECHO_C" >&6
18288 cat >conftest.
$ac_ext <<_ACEOF
18291 cat confdefs.h
>>conftest.
$ac_ext
18292 cat >>conftest.
$ac_ext <<_ACEOF
18293 /* end confdefs.h. */
18296 extern void bar(void) __attribute__((alias("foo")));
18305 rm -f conftest.
$ac_objext conftest
$ac_exeext
18306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18307 (eval $ac_link) 2>conftest.er1
18309 grep -v '^ *+' conftest.er1
>conftest.err
18311 cat conftest.err
>&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); } &&
18314 { ac_try
='test -z "$ac_c_werror_flag"
18315 || test ! -s conftest.err'
18316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18317 (eval $ac_try) 2>&5
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); }; } &&
18321 { ac_try
='test -s conftest$ac_exeext'
18322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18323 (eval $ac_try) 2>&5
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); }; }; then
18327 libgomp_cv_have_attribute_alias
=yes
18329 echo "$as_me: failed program was:" >&5
18330 sed 's/^/| /' conftest.
$ac_ext >&5
18332 libgomp_cv_have_attribute_alias
=no
18334 rm -f conftest.err conftest.
$ac_objext \
18335 conftest
$ac_exeext conftest.
$ac_ext
18337 echo "$as_me:$LINENO: result: $libgomp_cv_have_attribute_alias" >&5
18338 echo "${ECHO_T}$libgomp_cv_have_attribute_alias" >&6
18339 if test $libgomp_cv_have_attribute_alias = yes; then
18341 cat >>confdefs.h
<<\_ACEOF
18342 #define HAVE_ATTRIBUTE_ALIAS 1
18348 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18349 if test "${with_gnu_ld+set}" = set; then
18350 withval
="$with_gnu_ld"
18351 test "$withval" = no || with_gnu_ld
=yes
18356 if test "$GCC" = yes; then
18357 # Check if gcc -print-prog-name=ld gives a path.
18358 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18359 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
18362 # gcc leaves a trailing carriage return which upsets mingw
18363 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18365 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
18368 # Accept absolute paths.
18370 re_direlt
='/[^/][^/]*/\.\./'
18371 # Canonicalize the pathname of ld
18372 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18373 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
18374 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18376 test -z "$LD" && LD
="$ac_prog"
18379 # If it fails, then pretend we aren't using GCC.
18383 # If it is relative, then search for the first ld in PATH.
18384 with_gnu_ld
=unknown
18387 elif test "$with_gnu_ld" = yes; then
18388 echo "$as_me:$LINENO: checking for GNU ld" >&5
18389 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18391 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18392 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18394 if test "${lt_cv_path_LD+set}" = set; then
18395 echo $ECHO_N "(cached) $ECHO_C" >&6
18397 if test -z "$LD"; then
18398 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
18399 for ac_dir
in $PATH; do
18401 test -z "$ac_dir" && ac_dir
=.
18402 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
18403 lt_cv_path_LD
="$ac_dir/$ac_prog"
18404 # Check to see if the program is GNU ld. I'd rather use --version,
18405 # but apparently some variants of GNU ld only accept -v.
18406 # Break only if it was the GNU/non-GNU ld that we prefer.
18407 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18408 *GNU
* |
*'with BFD'*)
18409 test "$with_gnu_ld" != no
&& break
18412 test "$with_gnu_ld" != yes && break
18419 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
18423 LD
="$lt_cv_path_LD"
18424 if test -n "$LD"; then
18425 echo "$as_me:$LINENO: result: $LD" >&5
18426 echo "${ECHO_T}$LD" >&6
18428 echo "$as_me:$LINENO: result: no" >&5
18429 echo "${ECHO_T}no" >&6
18431 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18432 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18433 { (exit 1); exit 1; }; }
18434 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18435 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18436 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18437 echo $ECHO_N "(cached) $ECHO_C" >&6
18439 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18440 case `$LD -v 2>&1 </dev/null` in
18441 *GNU
* |
*'with BFD'*)
18442 lt_cv_prog_gnu_ld
=yes
18445 lt_cv_prog_gnu_ld
=no
18449 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18450 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
18451 with_gnu_ld
=$lt_cv_prog_gnu_ld
18459 # If we're not using GNU ld, then there's no point in even trying these
18460 # tests. Check for that first. We should have already tested for gld
18461 # by now (in libtool), but require it now just to be safe...
18462 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
18463 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
18467 # The name set by libtool depends on the version of libtool. Shame on us
18468 # for depending on an impl detail, but c'est la vie. Older versions used
18469 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
18470 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
18471 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
18472 # set (hence we're using an older libtool), then set it.
18473 if test x
${with_gnu_ld+set} != xset
; then
18474 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
18475 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
18478 with_gnu_ld
=$ac_cv_prog_gnu_ld
18482 # Start by getting the version number. I think the libtool test already
18483 # does some of this, but throws away the result.
18485 ldver
=`$LD --version 2>/dev/null | head -1 | \
18486 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
18488 libgomp_gnu_ld_version
=`echo $ldver | \
18489 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
18491 # Set --gc-sections.
18492 if test "$with_gnu_ld" = "notbroken"; then
18493 # GNU ld it is! Joy and bunny rabbits!
18495 # All these tests are for C++; save the language and the compiler flags.
18496 # Need to do this so that g++ won't try to link in libstdc++
18497 ac_test_CFLAGS
="${CFLAGS+set}"
18498 ac_save_CFLAGS
="$CFLAGS"
18499 CFLAGS
='-x c++ -Wl,--gc-sections'
18501 # Check for -Wl,--gc-sections
18502 # XXX This test is broken at the moment, as symbols required for linking
18503 # are now in libsupc++ (not built yet). In addition, this test has
18504 # cored on solaris in the past. In addition, --gc-sections doesn't
18505 # really work at the moment (keeps on discarding used sections, first
18506 # .eh_frame and now some of the glibc sections for iconv).
18507 # Bzzzzt. Thanks for playing, maybe next time.
18508 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
18509 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
18510 if test "$cross_compiling" = yes; then
18511 ac_sectionLDflags
=yes
18513 cat >conftest.
$ac_ext <<_ACEOF
18516 cat confdefs.h
>>conftest.
$ac_ext
18517 cat >>conftest.
$ac_ext <<_ACEOF
18518 /* end confdefs.h. */
18528 rm -f conftest
$ac_exeext
18529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18530 (eval $ac_link) 2>&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18535 (eval $ac_try) 2>&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); }; }; then
18539 ac_sectionLDflags
=yes
18541 echo "$as_me: program exited with status $ac_status" >&5
18542 echo "$as_me: failed program was:" >&5
18543 sed 's/^/| /' conftest.
$ac_ext >&5
18545 ( exit $ac_status )
18546 ac_sectionLDflags
=no
18548 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18550 if test "$ac_test_CFLAGS" = set; then
18551 CFLAGS
="$ac_save_CFLAGS"
18553 # this is the suspicious part
18556 if test "$ac_sectionLDflags" = "yes"; then
18557 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
18559 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
18560 echo "${ECHO_T}$ac_sectionLDflags" >&6
18563 # Set linker optimization flags.
18564 if test x
"$with_gnu_ld" = x
"yes"; then
18565 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
18573 # Check whether --enable-symvers or --disable-symvers was given.
18574 if test "${enable_symvers+set}" = set; then
18575 enableval
="$enable_symvers"
18577 case "$enableval" in
18579 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
18580 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
18581 { (exit 1); exit 1; }; } ;;
18589 # If we never went through the LIBGOMP_CHECK_LINKER_FEATURES macro, then we
18590 # don't know enough about $LD to do tricks...
18592 # FIXME The following test is too strict, in theory.
18593 if test $enable_shared = no ||
18595 test x
$libgomp_gnu_ld_version = x
; then
18599 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
18600 if test $enable_symvers != no
; then
18601 echo "$as_me:$LINENO: checking for shared libgcc" >&5
18602 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
18603 ac_save_CFLAGS
="$CFLAGS"
18605 cat >conftest.
$ac_ext <<_ACEOF
18608 cat confdefs.h
>>conftest.
$ac_ext
18609 cat >>conftest.
$ac_ext <<_ACEOF
18610 /* end confdefs.h. */
18620 rm -f conftest.
$ac_objext conftest
$ac_exeext
18621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18622 (eval $ac_link) 2>conftest.er1
18624 grep -v '^ *+' conftest.er1
>conftest.err
18626 cat conftest.err
>&5
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); } &&
18629 { ac_try
='test -z "$ac_c_werror_flag"
18630 || test ! -s conftest.err'
18631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18632 (eval $ac_try) 2>&5
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); }; } &&
18636 { ac_try
='test -s conftest$ac_exeext'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; }; then
18642 libgomp_shared_libgcc
=yes
18644 echo "$as_me: failed program was:" >&5
18645 sed 's/^/| /' conftest.
$ac_ext >&5
18647 libgomp_shared_libgcc
=no
18649 rm -f conftest.err conftest.
$ac_objext \
18650 conftest
$ac_exeext conftest.
$ac_ext
18651 CFLAGS
="$ac_save_CFLAGS"
18652 if test $libgomp_shared_libgcc = no
; then
18653 cat > conftest.c
<<EOF
18654 int main (void) { return 0; }
18656 libgomp_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
18657 -shared -shared-libgcc -o conftest.so \
18658 conftest.c -v 2>&1 >/dev/null \
18659 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
18660 rm -f conftest.c conftest.so
18661 if test x
${libgomp_libgcc_s_suffix+set} = xset
; then
18662 CFLAGS
=" -lgcc_s$libgomp_libgcc_s_suffix"
18663 cat >conftest.
$ac_ext <<_ACEOF
18666 cat confdefs.h
>>conftest.
$ac_ext
18667 cat >>conftest.
$ac_ext <<_ACEOF
18668 /* end confdefs.h. */
18678 rm -f conftest.
$ac_objext conftest
$ac_exeext
18679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18680 (eval $ac_link) 2>conftest.er1
18682 grep -v '^ *+' conftest.er1
>conftest.err
18684 cat conftest.err
>&5
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); } &&
18687 { ac_try
='test -z "$ac_c_werror_flag"
18688 || test ! -s conftest.err'
18689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18690 (eval $ac_try) 2>&5
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); }; } &&
18694 { ac_try
='test -s conftest$ac_exeext'
18695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18696 (eval $ac_try) 2>&5
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); }; }; then
18700 libgomp_shared_libgcc
=yes
18702 echo "$as_me: failed program was:" >&5
18703 sed 's/^/| /' conftest.
$ac_ext >&5
18706 rm -f conftest.err conftest.
$ac_objext \
18707 conftest
$ac_exeext conftest.
$ac_ext
18708 CFLAGS
="$ac_save_CFLAGS"
18711 echo "$as_me:$LINENO: result: $libgomp_shared_libgcc" >&5
18712 echo "${ECHO_T}$libgomp_shared_libgcc" >&6
18715 # For GNU ld, we need at least this version. The format is described in
18716 # LIBGOMP_CHECK_LINKER_FEATURES above.
18717 libgomp_min_gnu_ld_version
=21400
18718 # XXXXXXXXXXX libgomp_gnu_ld_version=21390
18720 # Check to see if unspecified "yes" value can win, given results above.
18721 # Change "yes" into either "no" or a style name.
18722 if test $enable_symvers = yes; then
18723 if test $with_gnu_ld = yes &&
18724 test $libgomp_shared_libgcc = yes;
18726 if test $libgomp_gnu_ld_version -ge $libgomp_min_gnu_ld_version ; then
18729 # The right tools, the right setup, but too old. Fallbacks?
18730 { echo "$as_me:$LINENO: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&5
18731 echo "$as_me: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&2;}
18732 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
18733 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
18734 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
18735 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
18736 { echo "$as_me:$LINENO: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&5
18737 echo "$as_me: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&2;}
18738 if test $libgomp_gnu_ld_version -ge 21200 ; then
18739 # Globbing fix is present, proper block support is not.
18740 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
18741 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
18745 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
18746 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
18751 # just fail for now
18752 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
18753 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
18754 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
18755 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
18756 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
18757 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
18758 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
18759 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
18766 if test $enable_symvers != no
; then
18767 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
=
18768 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
='#'
18770 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
='#'
18771 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
=
18774 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
18775 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
18778 if test $enable_symvers = gnu
; then
18780 cat >>confdefs.h
<<\_ACEOF
18781 #define LIBGOMP_GNU_SYMBOL_VERSIONING 1
18786 # Get target configury.
18787 .
${srcdir}/configure.tgt
18788 CFLAGS
="$save_CFLAGS $XCFLAGS"
18790 # Check for __sync_val_compare_and_swap, but only after the target has
18791 # had a chance to set XCFLAGS.
18793 echo "$as_me:$LINENO: checking whether the target supports __sync_*_compare_and_swap" >&5
18794 echo $ECHO_N "checking whether the target supports __sync_*_compare_and_swap... $ECHO_C" >&6
18795 if test "${libgomp_cv_have_sync_builtins+set}" = set; then
18796 echo $ECHO_N "(cached) $ECHO_C" >&6
18799 cat >conftest.
$ac_ext <<_ACEOF
18802 cat confdefs.h
>>conftest.
$ac_ext
18803 cat >>conftest.
$ac_ext <<_ACEOF
18804 /* end confdefs.h. */
18809 int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);
18814 rm -f conftest.
$ac_objext conftest
$ac_exeext
18815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18816 (eval $ac_link) 2>conftest.er1
18818 grep -v '^ *+' conftest.er1
>conftest.err
18820 cat conftest.err
>&5
18821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18822 (exit $ac_status); } &&
18823 { ac_try
='test -z "$ac_c_werror_flag"
18824 || test ! -s conftest.err'
18825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18826 (eval $ac_try) 2>&5
18828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829 (exit $ac_status); }; } &&
18830 { ac_try
='test -s conftest$ac_exeext'
18831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18832 (eval $ac_try) 2>&5
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); }; }; then
18836 libgomp_cv_have_sync_builtins
=yes
18838 echo "$as_me: failed program was:" >&5
18839 sed 's/^/| /' conftest.
$ac_ext >&5
18841 libgomp_cv_have_sync_builtins
=no
18843 rm -f conftest.err conftest.
$ac_objext \
18844 conftest
$ac_exeext conftest.
$ac_ext
18846 echo "$as_me:$LINENO: result: $libgomp_cv_have_sync_builtins" >&5
18847 echo "${ECHO_T}$libgomp_cv_have_sync_builtins" >&6
18848 if test $libgomp_cv_have_sync_builtins = yes; then
18850 cat >>confdefs.h
<<\_ACEOF
18851 #define HAVE_SYNC_BUILTINS 1
18856 XCFLAGS
="$XCFLAGS$XPCFLAGS"
18862 # Cleanup and exit.
18863 CFLAGS
="$save_CFLAGS"
18864 cat >confcache
<<\_ACEOF
18865 # This file is a shell script that caches the results of configure
18866 # tests run on this system so they can be shared between configure
18867 # scripts and configure runs, see configure's option --config-cache.
18868 # It is not useful on other systems. If it contains results you don't
18869 # want to keep, you may remove or edit it.
18871 # config.status only pays attention to the cache file if you give it
18872 # the --recheck option to rerun configure.
18874 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18875 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18876 # following values.
18880 # The following way of writing the cache mishandles newlines in values,
18881 # but we know of no workaround that is simple, portable, and efficient.
18882 # So, don't put newlines in cache variables' values.
18883 # Ultrix sh set writes to stderr and can't be redirected directly,
18884 # and sets the high bit in the cache file unless we assign to the vars.
18887 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18889 # `set' does not quote correctly, so add quotes (double-quote
18890 # substitution turns \\\\ into \\, and sed turns \\ into \).
18893 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18896 # `set' quotes correctly as required by POSIX, so do not add quotes.
18898 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18905 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18907 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18909 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18910 if test -w $cache_file; then
18911 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18912 cat confcache
>$cache_file
18914 echo "not updating unwritable cache $cache_file"
18919 if test ${multilib} = yes; then
18920 multilib_arg
="--enable-multilib"
18925 # Set up the set of libraries that we need to link against for libgomp.
18926 # Note that the GOMP_SELF_SPEC in gcc.c will force -pthread for -fopenmp,
18927 # which will force linkage against -lpthread (or equivalent for the system).
18928 # That's not 100% ideal, but about the best we can do easily.
18929 if test $enable_shared = yes; then
18930 link_gomp
="-lgomp %{static: $LIBS}"
18932 link_gomp
="-lgomp $LIBS"
18938 if test "$ac_cv_fc_compiler_gnu" = yes; then
18940 USE_FORTRAN_FALSE
='#'
18942 USE_FORTRAN_TRUE
='#'
18947 # ??? 2006-01-24: Paulo committed to asking autoconf folk to document
18948 # and export AC_COMPUTE_INT. If that happens, then we'll need to remove
18949 # the underscore here and update the PREREQ. If it doesn't, then we'll
18950 # need to copy this macro to our acinclude.m4.
18951 save_CFLAGS
="$CFLAGS"
18952 for i
in $config_path; do
18953 if test -f $srcdir/config
/$i/omp-lock.h
; then
18954 CFLAGS
="$CFLAGS -include confdefs.h -include $srcdir/config/$i/omp-lock.h"
18959 if test "$cross_compiling" = yes; then
18960 # Depending upon the size, compute the lo and hi bounds.
18961 cat >conftest.
$ac_ext <<_ACEOF
18964 cat confdefs.h
>>conftest.
$ac_ext
18965 cat >>conftest.
$ac_ext <<_ACEOF
18966 /* end confdefs.h. */
18971 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) >= 0)];
18978 rm -f conftest.
$ac_objext
18979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18980 (eval $ac_compile) 2>conftest.er1
18982 grep -v '^ *+' conftest.er1
>conftest.err
18984 cat conftest.err
>&5
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); } &&
18987 { ac_try
='test -z "$ac_c_werror_flag"
18988 || test ! -s conftest.err'
18989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18990 (eval $ac_try) 2>&5
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); }; } &&
18994 { ac_try
='test -s conftest.$ac_objext'
18995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18996 (eval $ac_try) 2>&5
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); }; }; then
19002 cat >conftest.
$ac_ext <<_ACEOF
19005 cat confdefs.h
>>conftest.
$ac_ext
19006 cat >>conftest.
$ac_ext <<_ACEOF
19007 /* end confdefs.h. */
19012 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) <= $ac_mid)];
19019 rm -f conftest.
$ac_objext
19020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19021 (eval $ac_compile) 2>conftest.er1
19023 grep -v '^ *+' conftest.er1
>conftest.err
19025 cat conftest.err
>&5
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); } &&
19028 { ac_try
='test -z "$ac_c_werror_flag"
19029 || test ! -s conftest.err'
19030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19031 (eval $ac_try) 2>&5
19033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19034 (exit $ac_status); }; } &&
19035 { ac_try
='test -s conftest.$ac_objext'
19036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19037 (eval $ac_try) 2>&5
19039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19040 (exit $ac_status); }; }; then
19041 ac_hi
=$ac_mid; break
19043 echo "$as_me: failed program was:" >&5
19044 sed 's/^/| /' conftest.
$ac_ext >&5
19046 ac_lo
=`expr $ac_mid + 1`
19047 if test $ac_lo -le $ac_mid; then
19051 ac_mid
=`expr 2 '*' $ac_mid + 1`
19053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19056 echo "$as_me: failed program was:" >&5
19057 sed 's/^/| /' conftest.
$ac_ext >&5
19059 cat >conftest.
$ac_ext <<_ACEOF
19062 cat confdefs.h
>>conftest.
$ac_ext
19063 cat >>conftest.
$ac_ext <<_ACEOF
19064 /* end confdefs.h. */
19069 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) < 0)];
19076 rm -f conftest.
$ac_objext
19077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19078 (eval $ac_compile) 2>conftest.er1
19080 grep -v '^ *+' conftest.er1
>conftest.err
19082 cat conftest.err
>&5
19083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084 (exit $ac_status); } &&
19085 { ac_try
='test -z "$ac_c_werror_flag"
19086 || test ! -s conftest.err'
19087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19088 (eval $ac_try) 2>&5
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); }; } &&
19092 { ac_try
='test -s conftest.$ac_objext'
19093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19094 (eval $ac_try) 2>&5
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); }; }; then
19100 cat >conftest.
$ac_ext <<_ACEOF
19103 cat confdefs.h
>>conftest.
$ac_ext
19104 cat >>conftest.
$ac_ext <<_ACEOF
19105 /* end confdefs.h. */
19110 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) >= $ac_mid)];
19117 rm -f conftest.
$ac_objext
19118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19119 (eval $ac_compile) 2>conftest.er1
19121 grep -v '^ *+' conftest.er1
>conftest.err
19123 cat conftest.err
>&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } &&
19126 { ac_try
='test -z "$ac_c_werror_flag"
19127 || test ! -s conftest.err'
19128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19129 (eval $ac_try) 2>&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); }; } &&
19133 { ac_try
='test -s conftest.$ac_objext'
19134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19135 (eval $ac_try) 2>&5
19137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138 (exit $ac_status); }; }; then
19139 ac_lo
=$ac_mid; break
19141 echo "$as_me: failed program was:" >&5
19142 sed 's/^/| /' conftest.
$ac_ext >&5
19144 ac_hi
=`expr '(' $ac_mid ')' - 1`
19145 if test $ac_mid -le $ac_hi; then
19149 ac_mid
=`expr 2 '*' $ac_mid`
19151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19154 echo "$as_me: failed program was:" >&5
19155 sed 's/^/| /' conftest.
$ac_ext >&5
19159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19161 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19162 # Binary search between lo and hi bounds.
19163 while test "x$ac_lo" != "x$ac_hi"; do
19164 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19165 cat >conftest.
$ac_ext <<_ACEOF
19168 cat confdefs.h
>>conftest.
$ac_ext
19169 cat >>conftest.
$ac_ext <<_ACEOF
19170 /* end confdefs.h. */
19175 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) <= $ac_mid)];
19182 rm -f conftest.
$ac_objext
19183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19184 (eval $ac_compile) 2>conftest.er1
19186 grep -v '^ *+' conftest.er1
>conftest.err
19188 cat conftest.err
>&5
19189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 (exit $ac_status); } &&
19191 { ac_try
='test -z "$ac_c_werror_flag"
19192 || test ! -s conftest.err'
19193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19194 (eval $ac_try) 2>&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); }; } &&
19198 { ac_try
='test -s conftest.$ac_objext'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; }; then
19206 echo "$as_me: failed program was:" >&5
19207 sed 's/^/| /' conftest.
$ac_ext >&5
19209 ac_lo
=`expr '(' $ac_mid ')' + 1`
19211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19214 ?
*) OMP_LOCK_SIZE
=$ac_lo;;
19215 '') { { echo "$as_me:$LINENO: error: unsupported system, cannot find sizeof (omp_lock_t)" >&5
19216 echo "$as_me: error: unsupported system, cannot find sizeof (omp_lock_t)" >&2;}
19217 { (exit 1); exit 1; }; } ;;
19220 if test "$cross_compiling" = yes; then
19221 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
19222 echo "$as_me: error: in \`$ac_pwd':" >&2;}
19223 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19224 See \`config.log' for more details." >&5
19225 echo "$as_me: error: cannot run test program while cross compiling
19226 See \`config.log' for more details." >&2;}
19227 { (exit 1); exit 1; }; }; }
19229 cat >conftest.
$ac_ext <<_ACEOF
19232 cat confdefs.h
>>conftest.
$ac_ext
19233 cat >>conftest.
$ac_ext <<_ACEOF
19234 /* end confdefs.h. */
19236 long longval () { return sizeof (omp_lock_t); }
19237 unsigned long ulongval () { return sizeof (omp_lock_t); }
19239 #include <stdlib.h>
19244 FILE *f = fopen ("conftest.val", "w");
19247 if ((sizeof (omp_lock_t)) < 0)
19249 long i = longval ();
19250 if (i != (sizeof (omp_lock_t)))
19252 fprintf (f, "%ld\n", i);
19256 unsigned long i = ulongval ();
19257 if (i != (sizeof (omp_lock_t)))
19259 fprintf (f, "%lu\n", i);
19261 exit (ferror (f) || fclose (f) != 0);
19267 rm -f conftest
$ac_exeext
19268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19269 (eval $ac_link) 2>&5
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19274 (eval $ac_try) 2>&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); }; }; then
19278 OMP_LOCK_SIZE
=`cat conftest.val`
19280 echo "$as_me: program exited with status $ac_status" >&5
19281 echo "$as_me: failed program was:" >&5
19282 sed 's/^/| /' conftest.
$ac_ext >&5
19284 ( exit $ac_status )
19285 { { echo "$as_me:$LINENO: error: unsupported system, cannot find sizeof (omp_lock_t)" >&5
19286 echo "$as_me: error: unsupported system, cannot find sizeof (omp_lock_t)" >&2;}
19287 { (exit 1); exit 1; }; }
19289 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19293 if test "$cross_compiling" = yes; then
19294 # Depending upon the size, compute the lo and hi bounds.
19295 cat >conftest.
$ac_ext <<_ACEOF
19298 cat confdefs.h
>>conftest.
$ac_ext
19299 cat >>conftest.
$ac_ext <<_ACEOF
19300 /* end confdefs.h. */
19305 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) >= 0)];
19312 rm -f conftest.
$ac_objext
19313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19314 (eval $ac_compile) 2>conftest.er1
19316 grep -v '^ *+' conftest.er1
>conftest.err
19318 cat conftest.err
>&5
19319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19320 (exit $ac_status); } &&
19321 { ac_try
='test -z "$ac_c_werror_flag"
19322 || test ! -s conftest.err'
19323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19324 (eval $ac_try) 2>&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); }; } &&
19328 { ac_try
='test -s conftest.$ac_objext'
19329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19330 (eval $ac_try) 2>&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); }; }; then
19336 cat >conftest.
$ac_ext <<_ACEOF
19339 cat confdefs.h
>>conftest.
$ac_ext
19340 cat >>conftest.
$ac_ext <<_ACEOF
19341 /* end confdefs.h. */
19346 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) <= $ac_mid)];
19353 rm -f conftest.
$ac_objext
19354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19355 (eval $ac_compile) 2>conftest.er1
19357 grep -v '^ *+' conftest.er1
>conftest.err
19359 cat conftest.err
>&5
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); } &&
19362 { ac_try
='test -z "$ac_c_werror_flag"
19363 || test ! -s conftest.err'
19364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19365 (eval $ac_try) 2>&5
19367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19368 (exit $ac_status); }; } &&
19369 { ac_try
='test -s conftest.$ac_objext'
19370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19371 (eval $ac_try) 2>&5
19373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19374 (exit $ac_status); }; }; then
19375 ac_hi
=$ac_mid; break
19377 echo "$as_me: failed program was:" >&5
19378 sed 's/^/| /' conftest.
$ac_ext >&5
19380 ac_lo
=`expr $ac_mid + 1`
19381 if test $ac_lo -le $ac_mid; then
19385 ac_mid
=`expr 2 '*' $ac_mid + 1`
19387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19390 echo "$as_me: failed program was:" >&5
19391 sed 's/^/| /' conftest.
$ac_ext >&5
19393 cat >conftest.
$ac_ext <<_ACEOF
19396 cat confdefs.h
>>conftest.
$ac_ext
19397 cat >>conftest.
$ac_ext <<_ACEOF
19398 /* end confdefs.h. */
19403 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) < 0)];
19410 rm -f conftest.
$ac_objext
19411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19412 (eval $ac_compile) 2>conftest.er1
19414 grep -v '^ *+' conftest.er1
>conftest.err
19416 cat conftest.err
>&5
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); } &&
19419 { ac_try
='test -z "$ac_c_werror_flag"
19420 || test ! -s conftest.err'
19421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19422 (eval $ac_try) 2>&5
19424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19425 (exit $ac_status); }; } &&
19426 { ac_try
='test -s conftest.$ac_objext'
19427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19428 (eval $ac_try) 2>&5
19430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19431 (exit $ac_status); }; }; then
19434 cat >conftest.
$ac_ext <<_ACEOF
19437 cat confdefs.h
>>conftest.
$ac_ext
19438 cat >>conftest.
$ac_ext <<_ACEOF
19439 /* end confdefs.h. */
19444 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) >= $ac_mid)];
19451 rm -f conftest.
$ac_objext
19452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19453 (eval $ac_compile) 2>conftest.er1
19455 grep -v '^ *+' conftest.er1
>conftest.err
19457 cat conftest.err
>&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); } &&
19460 { ac_try
='test -z "$ac_c_werror_flag"
19461 || test ! -s conftest.err'
19462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19463 (eval $ac_try) 2>&5
19465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 (exit $ac_status); }; } &&
19467 { ac_try
='test -s conftest.$ac_objext'
19468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19469 (eval $ac_try) 2>&5
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); }; }; then
19473 ac_lo
=$ac_mid; break
19475 echo "$as_me: failed program was:" >&5
19476 sed 's/^/| /' conftest.
$ac_ext >&5
19478 ac_hi
=`expr '(' $ac_mid ')' - 1`
19479 if test $ac_mid -le $ac_hi; then
19483 ac_mid
=`expr 2 '*' $ac_mid`
19485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19488 echo "$as_me: failed program was:" >&5
19489 sed 's/^/| /' conftest.
$ac_ext >&5
19493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19496 # Binary search between lo and hi bounds.
19497 while test "x$ac_lo" != "x$ac_hi"; do
19498 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19499 cat >conftest.
$ac_ext <<_ACEOF
19502 cat confdefs.h
>>conftest.
$ac_ext
19503 cat >>conftest.
$ac_ext <<_ACEOF
19504 /* end confdefs.h. */
19509 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) <= $ac_mid)];
19516 rm -f conftest.
$ac_objext
19517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19518 (eval $ac_compile) 2>conftest.er1
19520 grep -v '^ *+' conftest.er1
>conftest.err
19522 cat conftest.err
>&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); } &&
19525 { ac_try
='test -z "$ac_c_werror_flag"
19526 || test ! -s conftest.err'
19527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19528 (eval $ac_try) 2>&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); }; } &&
19532 { ac_try
='test -s conftest.$ac_objext'
19533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19534 (eval $ac_try) 2>&5
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); }; }; then
19540 echo "$as_me: failed program was:" >&5
19541 sed 's/^/| /' conftest.
$ac_ext >&5
19543 ac_lo
=`expr '(' $ac_mid ')' + 1`
19545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19548 ?
*) OMP_LOCK_ALIGN
=$ac_lo;;
19552 if test "$cross_compiling" = yes; then
19553 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
19554 echo "$as_me: error: in \`$ac_pwd':" >&2;}
19555 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19556 See \`config.log' for more details." >&5
19557 echo "$as_me: error: cannot run test program while cross compiling
19558 See \`config.log' for more details." >&2;}
19559 { (exit 1); exit 1; }; }; }
19561 cat >conftest.
$ac_ext <<_ACEOF
19564 cat confdefs.h
>>conftest.
$ac_ext
19565 cat >>conftest.
$ac_ext <<_ACEOF
19566 /* end confdefs.h. */
19568 long longval () { return __alignof (omp_lock_t); }
19569 unsigned long ulongval () { return __alignof (omp_lock_t); }
19571 #include <stdlib.h>
19576 FILE *f = fopen ("conftest.val", "w");
19579 if ((__alignof (omp_lock_t)) < 0)
19581 long i = longval ();
19582 if (i != (__alignof (omp_lock_t)))
19584 fprintf (f, "%ld\n", i);
19588 unsigned long i = ulongval ();
19589 if (i != (__alignof (omp_lock_t)))
19591 fprintf (f, "%lu\n", i);
19593 exit (ferror (f) || fclose (f) != 0);
19599 rm -f conftest
$ac_exeext
19600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19601 (eval $ac_link) 2>&5
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19606 (eval $ac_try) 2>&5
19608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609 (exit $ac_status); }; }; then
19610 OMP_LOCK_ALIGN
=`cat conftest.val`
19612 echo "$as_me: program exited with status $ac_status" >&5
19613 echo "$as_me: failed program was:" >&5
19614 sed 's/^/| /' conftest.
$ac_ext >&5
19617 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19621 if test "$cross_compiling" = yes; then
19622 # Depending upon the size, compute the lo and hi bounds.
19623 cat >conftest.
$ac_ext <<_ACEOF
19626 cat confdefs.h
>>conftest.
$ac_ext
19627 cat >>conftest.
$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19633 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) >= 0)];
19640 rm -f conftest.
$ac_objext
19641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19642 (eval $ac_compile) 2>conftest.er1
19644 grep -v '^ *+' conftest.er1
>conftest.err
19646 cat conftest.err
>&5
19647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19648 (exit $ac_status); } &&
19649 { ac_try
='test -z "$ac_c_werror_flag"
19650 || test ! -s conftest.err'
19651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19652 (eval $ac_try) 2>&5
19654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655 (exit $ac_status); }; } &&
19656 { ac_try
='test -s conftest.$ac_objext'
19657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19658 (eval $ac_try) 2>&5
19660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19661 (exit $ac_status); }; }; then
19664 cat >conftest.
$ac_ext <<_ACEOF
19667 cat confdefs.h
>>conftest.
$ac_ext
19668 cat >>conftest.
$ac_ext <<_ACEOF
19669 /* end confdefs.h. */
19674 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) <= $ac_mid)];
19681 rm -f conftest.
$ac_objext
19682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19683 (eval $ac_compile) 2>conftest.er1
19685 grep -v '^ *+' conftest.er1
>conftest.err
19687 cat conftest.err
>&5
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); } &&
19690 { ac_try
='test -z "$ac_c_werror_flag"
19691 || test ! -s conftest.err'
19692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19693 (eval $ac_try) 2>&5
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); }; } &&
19697 { ac_try
='test -s conftest.$ac_objext'
19698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19699 (eval $ac_try) 2>&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); }; }; then
19703 ac_hi
=$ac_mid; break
19705 echo "$as_me: failed program was:" >&5
19706 sed 's/^/| /' conftest.
$ac_ext >&5
19708 ac_lo
=`expr $ac_mid + 1`
19709 if test $ac_lo -le $ac_mid; then
19713 ac_mid
=`expr 2 '*' $ac_mid + 1`
19715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19718 echo "$as_me: failed program was:" >&5
19719 sed 's/^/| /' conftest.
$ac_ext >&5
19721 cat >conftest.
$ac_ext <<_ACEOF
19724 cat confdefs.h
>>conftest.
$ac_ext
19725 cat >>conftest.
$ac_ext <<_ACEOF
19726 /* end confdefs.h. */
19731 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) < 0)];
19738 rm -f conftest.
$ac_objext
19739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19740 (eval $ac_compile) 2>conftest.er1
19742 grep -v '^ *+' conftest.er1
>conftest.err
19744 cat conftest.err
>&5
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); } &&
19747 { ac_try
='test -z "$ac_c_werror_flag"
19748 || test ! -s conftest.err'
19749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19750 (eval $ac_try) 2>&5
19752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19753 (exit $ac_status); }; } &&
19754 { ac_try
='test -s conftest.$ac_objext'
19755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19756 (eval $ac_try) 2>&5
19758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19759 (exit $ac_status); }; }; then
19762 cat >conftest.
$ac_ext <<_ACEOF
19765 cat confdefs.h
>>conftest.
$ac_ext
19766 cat >>conftest.
$ac_ext <<_ACEOF
19767 /* end confdefs.h. */
19772 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) >= $ac_mid)];
19779 rm -f conftest.
$ac_objext
19780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19781 (eval $ac_compile) 2>conftest.er1
19783 grep -v '^ *+' conftest.er1
>conftest.err
19785 cat conftest.err
>&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); } &&
19788 { ac_try
='test -z "$ac_c_werror_flag"
19789 || test ! -s conftest.err'
19790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19791 (eval $ac_try) 2>&5
19793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19794 (exit $ac_status); }; } &&
19795 { ac_try
='test -s conftest.$ac_objext'
19796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19797 (eval $ac_try) 2>&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); }; }; then
19801 ac_lo
=$ac_mid; break
19803 echo "$as_me: failed program was:" >&5
19804 sed 's/^/| /' conftest.
$ac_ext >&5
19806 ac_hi
=`expr '(' $ac_mid ')' - 1`
19807 if test $ac_mid -le $ac_hi; then
19811 ac_mid
=`expr 2 '*' $ac_mid`
19813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19816 echo "$as_me: failed program was:" >&5
19817 sed 's/^/| /' conftest.
$ac_ext >&5
19821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19824 # Binary search between lo and hi bounds.
19825 while test "x$ac_lo" != "x$ac_hi"; do
19826 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19827 cat >conftest.
$ac_ext <<_ACEOF
19830 cat confdefs.h
>>conftest.
$ac_ext
19831 cat >>conftest.
$ac_ext <<_ACEOF
19832 /* end confdefs.h. */
19837 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) <= $ac_mid)];
19844 rm -f conftest.
$ac_objext
19845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19846 (eval $ac_compile) 2>conftest.er1
19848 grep -v '^ *+' conftest.er1
>conftest.err
19850 cat conftest.err
>&5
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); } &&
19853 { ac_try
='test -z "$ac_c_werror_flag"
19854 || test ! -s conftest.err'
19855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19856 (eval $ac_try) 2>&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); }; } &&
19860 { ac_try
='test -s conftest.$ac_objext'
19861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19862 (eval $ac_try) 2>&5
19864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19865 (exit $ac_status); }; }; then
19868 echo "$as_me: failed program was:" >&5
19869 sed 's/^/| /' conftest.
$ac_ext >&5
19871 ac_lo
=`expr '(' $ac_mid ')' + 1`
19873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19876 ?
*) OMP_NEST_LOCK_SIZE
=$ac_lo;;
19880 if test "$cross_compiling" = yes; then
19881 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
19882 echo "$as_me: error: in \`$ac_pwd':" >&2;}
19883 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19884 See \`config.log' for more details." >&5
19885 echo "$as_me: error: cannot run test program while cross compiling
19886 See \`config.log' for more details." >&2;}
19887 { (exit 1); exit 1; }; }; }
19889 cat >conftest.
$ac_ext <<_ACEOF
19892 cat confdefs.h
>>conftest.
$ac_ext
19893 cat >>conftest.
$ac_ext <<_ACEOF
19894 /* end confdefs.h. */
19896 long longval () { return sizeof (omp_nest_lock_t); }
19897 unsigned long ulongval () { return sizeof (omp_nest_lock_t); }
19899 #include <stdlib.h>
19904 FILE *f = fopen ("conftest.val", "w");
19907 if ((sizeof (omp_nest_lock_t)) < 0)
19909 long i = longval ();
19910 if (i != (sizeof (omp_nest_lock_t)))
19912 fprintf (f, "%ld\n", i);
19916 unsigned long i = ulongval ();
19917 if (i != (sizeof (omp_nest_lock_t)))
19919 fprintf (f, "%lu\n", i);
19921 exit (ferror (f) || fclose (f) != 0);
19927 rm -f conftest
$ac_exeext
19928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19929 (eval $ac_link) 2>&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19934 (eval $ac_try) 2>&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); }; }; then
19938 OMP_NEST_LOCK_SIZE
=`cat conftest.val`
19940 echo "$as_me: program exited with status $ac_status" >&5
19941 echo "$as_me: failed program was:" >&5
19942 sed 's/^/| /' conftest.
$ac_ext >&5
19945 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19949 if test "$cross_compiling" = yes; then
19950 # Depending upon the size, compute the lo and hi bounds.
19951 cat >conftest.
$ac_ext <<_ACEOF
19954 cat confdefs.h
>>conftest.
$ac_ext
19955 cat >>conftest.
$ac_ext <<_ACEOF
19956 /* end confdefs.h. */
19961 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) >= 0)];
19968 rm -f conftest.
$ac_objext
19969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19970 (eval $ac_compile) 2>conftest.er1
19972 grep -v '^ *+' conftest.er1
>conftest.err
19974 cat conftest.err
>&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); } &&
19977 { ac_try
='test -z "$ac_c_werror_flag"
19978 || test ! -s conftest.err'
19979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19980 (eval $ac_try) 2>&5
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); }; } &&
19984 { ac_try
='test -s conftest.$ac_objext'
19985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19986 (eval $ac_try) 2>&5
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); }; }; then
19992 cat >conftest.
$ac_ext <<_ACEOF
19995 cat confdefs.h
>>conftest.
$ac_ext
19996 cat >>conftest.
$ac_ext <<_ACEOF
19997 /* end confdefs.h. */
20002 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) <= $ac_mid)];
20009 rm -f conftest.
$ac_objext
20010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20011 (eval $ac_compile) 2>conftest.er1
20013 grep -v '^ *+' conftest.er1
>conftest.err
20015 cat conftest.err
>&5
20016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20017 (exit $ac_status); } &&
20018 { ac_try
='test -z "$ac_c_werror_flag"
20019 || test ! -s conftest.err'
20020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20021 (eval $ac_try) 2>&5
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); }; } &&
20025 { ac_try
='test -s conftest.$ac_objext'
20026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20027 (eval $ac_try) 2>&5
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); }; }; then
20031 ac_hi
=$ac_mid; break
20033 echo "$as_me: failed program was:" >&5
20034 sed 's/^/| /' conftest.
$ac_ext >&5
20036 ac_lo
=`expr $ac_mid + 1`
20037 if test $ac_lo -le $ac_mid; then
20041 ac_mid
=`expr 2 '*' $ac_mid + 1`
20043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20046 echo "$as_me: failed program was:" >&5
20047 sed 's/^/| /' conftest.
$ac_ext >&5
20049 cat >conftest.
$ac_ext <<_ACEOF
20052 cat confdefs.h
>>conftest.
$ac_ext
20053 cat >>conftest.
$ac_ext <<_ACEOF
20054 /* end confdefs.h. */
20059 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) < 0)];
20066 rm -f conftest.
$ac_objext
20067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20068 (eval $ac_compile) 2>conftest.er1
20070 grep -v '^ *+' conftest.er1
>conftest.err
20072 cat conftest.err
>&5
20073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20074 (exit $ac_status); } &&
20075 { ac_try
='test -z "$ac_c_werror_flag"
20076 || test ! -s conftest.err'
20077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20078 (eval $ac_try) 2>&5
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); }; } &&
20082 { ac_try
='test -s conftest.$ac_objext'
20083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20084 (eval $ac_try) 2>&5
20086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087 (exit $ac_status); }; }; then
20090 cat >conftest.
$ac_ext <<_ACEOF
20093 cat confdefs.h
>>conftest.
$ac_ext
20094 cat >>conftest.
$ac_ext <<_ACEOF
20095 /* end confdefs.h. */
20100 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) >= $ac_mid)];
20107 rm -f conftest.
$ac_objext
20108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20109 (eval $ac_compile) 2>conftest.er1
20111 grep -v '^ *+' conftest.er1
>conftest.err
20113 cat conftest.err
>&5
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); } &&
20116 { ac_try
='test -z "$ac_c_werror_flag"
20117 || test ! -s conftest.err'
20118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20119 (eval $ac_try) 2>&5
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); }; } &&
20123 { ac_try
='test -s conftest.$ac_objext'
20124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20125 (eval $ac_try) 2>&5
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); }; }; then
20129 ac_lo
=$ac_mid; break
20131 echo "$as_me: failed program was:" >&5
20132 sed 's/^/| /' conftest.
$ac_ext >&5
20134 ac_hi
=`expr '(' $ac_mid ')' - 1`
20135 if test $ac_mid -le $ac_hi; then
20139 ac_mid
=`expr 2 '*' $ac_mid`
20141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20144 echo "$as_me: failed program was:" >&5
20145 sed 's/^/| /' conftest.
$ac_ext >&5
20149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20152 # Binary search between lo and hi bounds.
20153 while test "x$ac_lo" != "x$ac_hi"; do
20154 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20155 cat >conftest.
$ac_ext <<_ACEOF
20158 cat confdefs.h
>>conftest.
$ac_ext
20159 cat >>conftest.
$ac_ext <<_ACEOF
20160 /* end confdefs.h. */
20165 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) <= $ac_mid)];
20172 rm -f conftest.
$ac_objext
20173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20174 (eval $ac_compile) 2>conftest.er1
20176 grep -v '^ *+' conftest.er1
>conftest.err
20178 cat conftest.err
>&5
20179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20180 (exit $ac_status); } &&
20181 { ac_try
='test -z "$ac_c_werror_flag"
20182 || test ! -s conftest.err'
20183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20184 (eval $ac_try) 2>&5
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); }; } &&
20188 { ac_try
='test -s conftest.$ac_objext'
20189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20190 (eval $ac_try) 2>&5
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); }; }; then
20196 echo "$as_me: failed program was:" >&5
20197 sed 's/^/| /' conftest.
$ac_ext >&5
20199 ac_lo
=`expr '(' $ac_mid ')' + 1`
20201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20204 ?
*) OMP_NEST_LOCK_ALIGN
=$ac_lo;;
20208 if test "$cross_compiling" = yes; then
20209 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
20210 echo "$as_me: error: in \`$ac_pwd':" >&2;}
20211 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20212 See \`config.log' for more details." >&5
20213 echo "$as_me: error: cannot run test program while cross compiling
20214 See \`config.log' for more details." >&2;}
20215 { (exit 1); exit 1; }; }; }
20217 cat >conftest.
$ac_ext <<_ACEOF
20220 cat confdefs.h
>>conftest.
$ac_ext
20221 cat >>conftest.
$ac_ext <<_ACEOF
20222 /* end confdefs.h. */
20224 long longval () { return __alignof (omp_nest_lock_t); }
20225 unsigned long ulongval () { return __alignof (omp_nest_lock_t); }
20227 #include <stdlib.h>
20232 FILE *f = fopen ("conftest.val", "w");
20235 if ((__alignof (omp_nest_lock_t)) < 0)
20237 long i = longval ();
20238 if (i != (__alignof (omp_nest_lock_t)))
20240 fprintf (f, "%ld\n", i);
20244 unsigned long i = ulongval ();
20245 if (i != (__alignof (omp_nest_lock_t)))
20247 fprintf (f, "%lu\n", i);
20249 exit (ferror (f) || fclose (f) != 0);
20255 rm -f conftest
$ac_exeext
20256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20257 (eval $ac_link) 2>&5
20259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20260 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20262 (eval $ac_try) 2>&5
20264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265 (exit $ac_status); }; }; then
20266 OMP_NEST_LOCK_ALIGN
=`cat conftest.val`
20268 echo "$as_me: program exited with status $ac_status" >&5
20269 echo "$as_me: failed program was:" >&5
20270 sed 's/^/| /' conftest.
$ac_ext >&5
20273 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20277 if test "$cross_compiling" = yes; then
20278 # Depending upon the size, compute the lo and hi bounds.
20279 cat >conftest.
$ac_ext <<_ACEOF
20282 cat confdefs.h
>>conftest.
$ac_ext
20283 cat >>conftest.
$ac_ext <<_ACEOF
20284 /* end confdefs.h. */
20289 static int test_array [1 - 2 * !((sizeof (omp_lock_25_t)) >= 0)];
20296 rm -f conftest.
$ac_objext
20297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20298 (eval $ac_compile) 2>conftest.er1
20300 grep -v '^ *+' conftest.er1
>conftest.err
20302 cat conftest.err
>&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); } &&
20305 { ac_try
='test -z "$ac_c_werror_flag"
20306 || test ! -s conftest.err'
20307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20308 (eval $ac_try) 2>&5
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); }; } &&
20312 { ac_try
='test -s conftest.$ac_objext'
20313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20314 (eval $ac_try) 2>&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); }; }; then
20320 cat >conftest.
$ac_ext <<_ACEOF
20323 cat confdefs.h
>>conftest.
$ac_ext
20324 cat >>conftest.
$ac_ext <<_ACEOF
20325 /* end confdefs.h. */
20330 static int test_array [1 - 2 * !((sizeof (omp_lock_25_t)) <= $ac_mid)];
20337 rm -f conftest.
$ac_objext
20338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20339 (eval $ac_compile) 2>conftest.er1
20341 grep -v '^ *+' conftest.er1
>conftest.err
20343 cat conftest.err
>&5
20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345 (exit $ac_status); } &&
20346 { ac_try
='test -z "$ac_c_werror_flag"
20347 || test ! -s conftest.err'
20348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20349 (eval $ac_try) 2>&5
20351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20352 (exit $ac_status); }; } &&
20353 { ac_try
='test -s conftest.$ac_objext'
20354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20355 (eval $ac_try) 2>&5
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); }; }; then
20359 ac_hi
=$ac_mid; break
20361 echo "$as_me: failed program was:" >&5
20362 sed 's/^/| /' conftest.
$ac_ext >&5
20364 ac_lo
=`expr $ac_mid + 1`
20365 if test $ac_lo -le $ac_mid; then
20369 ac_mid
=`expr 2 '*' $ac_mid + 1`
20371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20374 echo "$as_me: failed program was:" >&5
20375 sed 's/^/| /' conftest.
$ac_ext >&5
20377 cat >conftest.
$ac_ext <<_ACEOF
20380 cat confdefs.h
>>conftest.
$ac_ext
20381 cat >>conftest.
$ac_ext <<_ACEOF
20382 /* end confdefs.h. */
20387 static int test_array [1 - 2 * !((sizeof (omp_lock_25_t)) < 0)];
20394 rm -f conftest.
$ac_objext
20395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20396 (eval $ac_compile) 2>conftest.er1
20398 grep -v '^ *+' conftest.er1
>conftest.err
20400 cat conftest.err
>&5
20401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20402 (exit $ac_status); } &&
20403 { ac_try
='test -z "$ac_c_werror_flag"
20404 || test ! -s conftest.err'
20405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20406 (eval $ac_try) 2>&5
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); }; } &&
20410 { ac_try
='test -s conftest.$ac_objext'
20411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20412 (eval $ac_try) 2>&5
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); }; }; then
20418 cat >conftest.
$ac_ext <<_ACEOF
20421 cat confdefs.h
>>conftest.
$ac_ext
20422 cat >>conftest.
$ac_ext <<_ACEOF
20423 /* end confdefs.h. */
20428 static int test_array [1 - 2 * !((sizeof (omp_lock_25_t)) >= $ac_mid)];
20435 rm -f conftest.
$ac_objext
20436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20437 (eval $ac_compile) 2>conftest.er1
20439 grep -v '^ *+' conftest.er1
>conftest.err
20441 cat conftest.err
>&5
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); } &&
20444 { ac_try
='test -z "$ac_c_werror_flag"
20445 || test ! -s conftest.err'
20446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20447 (eval $ac_try) 2>&5
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); }; } &&
20451 { ac_try
='test -s conftest.$ac_objext'
20452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20453 (eval $ac_try) 2>&5
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); }; }; then
20457 ac_lo
=$ac_mid; break
20459 echo "$as_me: failed program was:" >&5
20460 sed 's/^/| /' conftest.
$ac_ext >&5
20462 ac_hi
=`expr '(' $ac_mid ')' - 1`
20463 if test $ac_mid -le $ac_hi; then
20467 ac_mid
=`expr 2 '*' $ac_mid`
20469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20472 echo "$as_me: failed program was:" >&5
20473 sed 's/^/| /' conftest.
$ac_ext >&5
20477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20480 # Binary search between lo and hi bounds.
20481 while test "x$ac_lo" != "x$ac_hi"; do
20482 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20483 cat >conftest.
$ac_ext <<_ACEOF
20486 cat confdefs.h
>>conftest.
$ac_ext
20487 cat >>conftest.
$ac_ext <<_ACEOF
20488 /* end confdefs.h. */
20493 static int test_array [1 - 2 * !((sizeof (omp_lock_25_t)) <= $ac_mid)];
20500 rm -f conftest.
$ac_objext
20501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20502 (eval $ac_compile) 2>conftest.er1
20504 grep -v '^ *+' conftest.er1
>conftest.err
20506 cat conftest.err
>&5
20507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20508 (exit $ac_status); } &&
20509 { ac_try
='test -z "$ac_c_werror_flag"
20510 || test ! -s conftest.err'
20511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20512 (eval $ac_try) 2>&5
20514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20515 (exit $ac_status); }; } &&
20516 { ac_try
='test -s conftest.$ac_objext'
20517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20518 (eval $ac_try) 2>&5
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); }; }; then
20524 echo "$as_me: failed program was:" >&5
20525 sed 's/^/| /' conftest.
$ac_ext >&5
20527 ac_lo
=`expr '(' $ac_mid ')' + 1`
20529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20532 ?
*) OMP_LOCK_25_SIZE
=$ac_lo;;
20533 '') { { echo "$as_me:$LINENO: error: unsupported system, cannot find sizeof (omp_lock_25_t)" >&5
20534 echo "$as_me: error: unsupported system, cannot find sizeof (omp_lock_25_t)" >&2;}
20535 { (exit 1); exit 1; }; } ;;
20538 if test "$cross_compiling" = yes; then
20539 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
20540 echo "$as_me: error: in \`$ac_pwd':" >&2;}
20541 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20542 See \`config.log' for more details." >&5
20543 echo "$as_me: error: cannot run test program while cross compiling
20544 See \`config.log' for more details." >&2;}
20545 { (exit 1); exit 1; }; }; }
20547 cat >conftest.
$ac_ext <<_ACEOF
20550 cat confdefs.h
>>conftest.
$ac_ext
20551 cat >>conftest.
$ac_ext <<_ACEOF
20552 /* end confdefs.h. */
20554 long longval () { return sizeof (omp_lock_25_t); }
20555 unsigned long ulongval () { return sizeof (omp_lock_25_t); }
20557 #include <stdlib.h>
20562 FILE *f = fopen ("conftest.val", "w");
20565 if ((sizeof (omp_lock_25_t)) < 0)
20567 long i = longval ();
20568 if (i != (sizeof (omp_lock_25_t)))
20570 fprintf (f, "%ld\n", i);
20574 unsigned long i = ulongval ();
20575 if (i != (sizeof (omp_lock_25_t)))
20577 fprintf (f, "%lu\n", i);
20579 exit (ferror (f) || fclose (f) != 0);
20585 rm -f conftest
$ac_exeext
20586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20587 (eval $ac_link) 2>&5
20589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20590 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20592 (eval $ac_try) 2>&5
20594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20595 (exit $ac_status); }; }; then
20596 OMP_LOCK_25_SIZE
=`cat conftest.val`
20598 echo "$as_me: program exited with status $ac_status" >&5
20599 echo "$as_me: failed program was:" >&5
20600 sed 's/^/| /' conftest.
$ac_ext >&5
20602 ( exit $ac_status )
20603 { { echo "$as_me:$LINENO: error: unsupported system, cannot find sizeof (omp_lock_25_t)" >&5
20604 echo "$as_me: error: unsupported system, cannot find sizeof (omp_lock_25_t)" >&2;}
20605 { (exit 1); exit 1; }; }
20607 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20611 if test "$cross_compiling" = yes; then
20612 # Depending upon the size, compute the lo and hi bounds.
20613 cat >conftest.
$ac_ext <<_ACEOF
20616 cat confdefs.h
>>conftest.
$ac_ext
20617 cat >>conftest.
$ac_ext <<_ACEOF
20618 /* end confdefs.h. */
20623 static int test_array [1 - 2 * !((__alignof (omp_lock_25_t)) >= 0)];
20630 rm -f conftest.
$ac_objext
20631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20632 (eval $ac_compile) 2>conftest.er1
20634 grep -v '^ *+' conftest.er1
>conftest.err
20636 cat conftest.err
>&5
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); } &&
20639 { ac_try
='test -z "$ac_c_werror_flag"
20640 || test ! -s conftest.err'
20641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20642 (eval $ac_try) 2>&5
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); }; } &&
20646 { ac_try
='test -s conftest.$ac_objext'
20647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20648 (eval $ac_try) 2>&5
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); }; }; then
20654 cat >conftest.
$ac_ext <<_ACEOF
20657 cat confdefs.h
>>conftest.
$ac_ext
20658 cat >>conftest.
$ac_ext <<_ACEOF
20659 /* end confdefs.h. */
20664 static int test_array [1 - 2 * !((__alignof (omp_lock_25_t)) <= $ac_mid)];
20671 rm -f conftest.
$ac_objext
20672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20673 (eval $ac_compile) 2>conftest.er1
20675 grep -v '^ *+' conftest.er1
>conftest.err
20677 cat conftest.err
>&5
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); } &&
20680 { ac_try
='test -z "$ac_c_werror_flag"
20681 || test ! -s conftest.err'
20682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20683 (eval $ac_try) 2>&5
20685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20686 (exit $ac_status); }; } &&
20687 { ac_try
='test -s conftest.$ac_objext'
20688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20689 (eval $ac_try) 2>&5
20691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 (exit $ac_status); }; }; then
20693 ac_hi
=$ac_mid; break
20695 echo "$as_me: failed program was:" >&5
20696 sed 's/^/| /' conftest.
$ac_ext >&5
20698 ac_lo
=`expr $ac_mid + 1`
20699 if test $ac_lo -le $ac_mid; then
20703 ac_mid
=`expr 2 '*' $ac_mid + 1`
20705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20708 echo "$as_me: failed program was:" >&5
20709 sed 's/^/| /' conftest.
$ac_ext >&5
20711 cat >conftest.
$ac_ext <<_ACEOF
20714 cat confdefs.h
>>conftest.
$ac_ext
20715 cat >>conftest.
$ac_ext <<_ACEOF
20716 /* end confdefs.h. */
20721 static int test_array [1 - 2 * !((__alignof (omp_lock_25_t)) < 0)];
20728 rm -f conftest.
$ac_objext
20729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20730 (eval $ac_compile) 2>conftest.er1
20732 grep -v '^ *+' conftest.er1
>conftest.err
20734 cat conftest.err
>&5
20735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20736 (exit $ac_status); } &&
20737 { ac_try
='test -z "$ac_c_werror_flag"
20738 || test ! -s conftest.err'
20739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20740 (eval $ac_try) 2>&5
20742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20743 (exit $ac_status); }; } &&
20744 { ac_try
='test -s conftest.$ac_objext'
20745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20746 (eval $ac_try) 2>&5
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); }; }; then
20752 cat >conftest.
$ac_ext <<_ACEOF
20755 cat confdefs.h
>>conftest.
$ac_ext
20756 cat >>conftest.
$ac_ext <<_ACEOF
20757 /* end confdefs.h. */
20762 static int test_array [1 - 2 * !((__alignof (omp_lock_25_t)) >= $ac_mid)];
20769 rm -f conftest.
$ac_objext
20770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20771 (eval $ac_compile) 2>conftest.er1
20773 grep -v '^ *+' conftest.er1
>conftest.err
20775 cat conftest.err
>&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); } &&
20778 { ac_try
='test -z "$ac_c_werror_flag"
20779 || test ! -s conftest.err'
20780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20781 (eval $ac_try) 2>&5
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); }; } &&
20785 { ac_try
='test -s conftest.$ac_objext'
20786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20787 (eval $ac_try) 2>&5
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); }; }; then
20791 ac_lo
=$ac_mid; break
20793 echo "$as_me: failed program was:" >&5
20794 sed 's/^/| /' conftest.
$ac_ext >&5
20796 ac_hi
=`expr '(' $ac_mid ')' - 1`
20797 if test $ac_mid -le $ac_hi; then
20801 ac_mid
=`expr 2 '*' $ac_mid`
20803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20806 echo "$as_me: failed program was:" >&5
20807 sed 's/^/| /' conftest.
$ac_ext >&5
20811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20814 # Binary search between lo and hi bounds.
20815 while test "x$ac_lo" != "x$ac_hi"; do
20816 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20817 cat >conftest.
$ac_ext <<_ACEOF
20820 cat confdefs.h
>>conftest.
$ac_ext
20821 cat >>conftest.
$ac_ext <<_ACEOF
20822 /* end confdefs.h. */
20827 static int test_array [1 - 2 * !((__alignof (omp_lock_25_t)) <= $ac_mid)];
20834 rm -f conftest.
$ac_objext
20835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20836 (eval $ac_compile) 2>conftest.er1
20838 grep -v '^ *+' conftest.er1
>conftest.err
20840 cat conftest.err
>&5
20841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20842 (exit $ac_status); } &&
20843 { ac_try
='test -z "$ac_c_werror_flag"
20844 || test ! -s conftest.err'
20845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20846 (eval $ac_try) 2>&5
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); }; } &&
20850 { ac_try
='test -s conftest.$ac_objext'
20851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20852 (eval $ac_try) 2>&5
20854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20855 (exit $ac_status); }; }; then
20858 echo "$as_me: failed program was:" >&5
20859 sed 's/^/| /' conftest.
$ac_ext >&5
20861 ac_lo
=`expr '(' $ac_mid ')' + 1`
20863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20866 ?
*) OMP_LOCK_25_ALIGN
=$ac_lo;;
20870 if test "$cross_compiling" = yes; then
20871 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
20872 echo "$as_me: error: in \`$ac_pwd':" >&2;}
20873 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20874 See \`config.log' for more details." >&5
20875 echo "$as_me: error: cannot run test program while cross compiling
20876 See \`config.log' for more details." >&2;}
20877 { (exit 1); exit 1; }; }; }
20879 cat >conftest.
$ac_ext <<_ACEOF
20882 cat confdefs.h
>>conftest.
$ac_ext
20883 cat >>conftest.
$ac_ext <<_ACEOF
20884 /* end confdefs.h. */
20886 long longval () { return __alignof (omp_lock_25_t); }
20887 unsigned long ulongval () { return __alignof (omp_lock_25_t); }
20889 #include <stdlib.h>
20894 FILE *f = fopen ("conftest.val", "w");
20897 if ((__alignof (omp_lock_25_t)) < 0)
20899 long i = longval ();
20900 if (i != (__alignof (omp_lock_25_t)))
20902 fprintf (f, "%ld\n", i);
20906 unsigned long i = ulongval ();
20907 if (i != (__alignof (omp_lock_25_t)))
20909 fprintf (f, "%lu\n", i);
20911 exit (ferror (f) || fclose (f) != 0);
20917 rm -f conftest
$ac_exeext
20918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20919 (eval $ac_link) 2>&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20924 (eval $ac_try) 2>&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); }; }; then
20928 OMP_LOCK_25_ALIGN
=`cat conftest.val`
20930 echo "$as_me: program exited with status $ac_status" >&5
20931 echo "$as_me: failed program was:" >&5
20932 sed 's/^/| /' conftest.
$ac_ext >&5
20935 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20939 if test "$cross_compiling" = yes; then
20940 # Depending upon the size, compute the lo and hi bounds.
20941 cat >conftest.
$ac_ext <<_ACEOF
20944 cat confdefs.h
>>conftest.
$ac_ext
20945 cat >>conftest.
$ac_ext <<_ACEOF
20946 /* end confdefs.h. */
20951 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_25_t)) >= 0)];
20958 rm -f conftest.
$ac_objext
20959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20960 (eval $ac_compile) 2>conftest.er1
20962 grep -v '^ *+' conftest.er1
>conftest.err
20964 cat conftest.err
>&5
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); } &&
20967 { ac_try
='test -z "$ac_c_werror_flag"
20968 || test ! -s conftest.err'
20969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20970 (eval $ac_try) 2>&5
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); }; } &&
20974 { ac_try
='test -s conftest.$ac_objext'
20975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20976 (eval $ac_try) 2>&5
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); }; }; then
20982 cat >conftest.
$ac_ext <<_ACEOF
20985 cat confdefs.h
>>conftest.
$ac_ext
20986 cat >>conftest.
$ac_ext <<_ACEOF
20987 /* end confdefs.h. */
20992 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_25_t)) <= $ac_mid)];
20999 rm -f conftest.
$ac_objext
21000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21001 (eval $ac_compile) 2>conftest.er1
21003 grep -v '^ *+' conftest.er1
>conftest.err
21005 cat conftest.err
>&5
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); } &&
21008 { ac_try
='test -z "$ac_c_werror_flag"
21009 || test ! -s conftest.err'
21010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21011 (eval $ac_try) 2>&5
21013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014 (exit $ac_status); }; } &&
21015 { ac_try
='test -s conftest.$ac_objext'
21016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21017 (eval $ac_try) 2>&5
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); }; }; then
21021 ac_hi
=$ac_mid; break
21023 echo "$as_me: failed program was:" >&5
21024 sed 's/^/| /' conftest.
$ac_ext >&5
21026 ac_lo
=`expr $ac_mid + 1`
21027 if test $ac_lo -le $ac_mid; then
21031 ac_mid
=`expr 2 '*' $ac_mid + 1`
21033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21036 echo "$as_me: failed program was:" >&5
21037 sed 's/^/| /' conftest.
$ac_ext >&5
21039 cat >conftest.
$ac_ext <<_ACEOF
21042 cat confdefs.h
>>conftest.
$ac_ext
21043 cat >>conftest.
$ac_ext <<_ACEOF
21044 /* end confdefs.h. */
21049 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_25_t)) < 0)];
21056 rm -f conftest.
$ac_objext
21057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21058 (eval $ac_compile) 2>conftest.er1
21060 grep -v '^ *+' conftest.er1
>conftest.err
21062 cat conftest.err
>&5
21063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064 (exit $ac_status); } &&
21065 { ac_try
='test -z "$ac_c_werror_flag"
21066 || test ! -s conftest.err'
21067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21068 (eval $ac_try) 2>&5
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); }; } &&
21072 { ac_try
='test -s conftest.$ac_objext'
21073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21074 (eval $ac_try) 2>&5
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); }; }; then
21080 cat >conftest.
$ac_ext <<_ACEOF
21083 cat confdefs.h
>>conftest.
$ac_ext
21084 cat >>conftest.
$ac_ext <<_ACEOF
21085 /* end confdefs.h. */
21090 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_25_t)) >= $ac_mid)];
21097 rm -f conftest.
$ac_objext
21098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21099 (eval $ac_compile) 2>conftest.er1
21101 grep -v '^ *+' conftest.er1
>conftest.err
21103 cat conftest.err
>&5
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); } &&
21106 { ac_try
='test -z "$ac_c_werror_flag"
21107 || test ! -s conftest.err'
21108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21109 (eval $ac_try) 2>&5
21111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21112 (exit $ac_status); }; } &&
21113 { ac_try
='test -s conftest.$ac_objext'
21114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21115 (eval $ac_try) 2>&5
21117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21118 (exit $ac_status); }; }; then
21119 ac_lo
=$ac_mid; break
21121 echo "$as_me: failed program was:" >&5
21122 sed 's/^/| /' conftest.
$ac_ext >&5
21124 ac_hi
=`expr '(' $ac_mid ')' - 1`
21125 if test $ac_mid -le $ac_hi; then
21129 ac_mid
=`expr 2 '*' $ac_mid`
21131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21134 echo "$as_me: failed program was:" >&5
21135 sed 's/^/| /' conftest.
$ac_ext >&5
21139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21142 # Binary search between lo and hi bounds.
21143 while test "x$ac_lo" != "x$ac_hi"; do
21144 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21145 cat >conftest.
$ac_ext <<_ACEOF
21148 cat confdefs.h
>>conftest.
$ac_ext
21149 cat >>conftest.
$ac_ext <<_ACEOF
21150 /* end confdefs.h. */
21155 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_25_t)) <= $ac_mid)];
21162 rm -f conftest.
$ac_objext
21163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21164 (eval $ac_compile) 2>conftest.er1
21166 grep -v '^ *+' conftest.er1
>conftest.err
21168 cat conftest.err
>&5
21169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21170 (exit $ac_status); } &&
21171 { ac_try
='test -z "$ac_c_werror_flag"
21172 || test ! -s conftest.err'
21173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21174 (eval $ac_try) 2>&5
21176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21177 (exit $ac_status); }; } &&
21178 { ac_try
='test -s conftest.$ac_objext'
21179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21180 (eval $ac_try) 2>&5
21182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21183 (exit $ac_status); }; }; then
21186 echo "$as_me: failed program was:" >&5
21187 sed 's/^/| /' conftest.
$ac_ext >&5
21189 ac_lo
=`expr '(' $ac_mid ')' + 1`
21191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21194 ?
*) OMP_NEST_LOCK_25_SIZE
=$ac_lo;;
21198 if test "$cross_compiling" = yes; then
21199 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21200 echo "$as_me: error: in \`$ac_pwd':" >&2;}
21201 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21202 See \`config.log' for more details." >&5
21203 echo "$as_me: error: cannot run test program while cross compiling
21204 See \`config.log' for more details." >&2;}
21205 { (exit 1); exit 1; }; }; }
21207 cat >conftest.
$ac_ext <<_ACEOF
21210 cat confdefs.h
>>conftest.
$ac_ext
21211 cat >>conftest.
$ac_ext <<_ACEOF
21212 /* end confdefs.h. */
21214 long longval () { return sizeof (omp_nest_lock_25_t); }
21215 unsigned long ulongval () { return sizeof (omp_nest_lock_25_t); }
21217 #include <stdlib.h>
21222 FILE *f = fopen ("conftest.val", "w");
21225 if ((sizeof (omp_nest_lock_25_t)) < 0)
21227 long i = longval ();
21228 if (i != (sizeof (omp_nest_lock_25_t)))
21230 fprintf (f, "%ld\n", i);
21234 unsigned long i = ulongval ();
21235 if (i != (sizeof (omp_nest_lock_25_t)))
21237 fprintf (f, "%lu\n", i);
21239 exit (ferror (f) || fclose (f) != 0);
21245 rm -f conftest
$ac_exeext
21246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21247 (eval $ac_link) 2>&5
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21252 (eval $ac_try) 2>&5
21254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255 (exit $ac_status); }; }; then
21256 OMP_NEST_LOCK_25_SIZE
=`cat conftest.val`
21258 echo "$as_me: program exited with status $ac_status" >&5
21259 echo "$as_me: failed program was:" >&5
21260 sed 's/^/| /' conftest.
$ac_ext >&5
21263 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21267 if test "$cross_compiling" = yes; then
21268 # Depending upon the size, compute the lo and hi bounds.
21269 cat >conftest.
$ac_ext <<_ACEOF
21272 cat confdefs.h
>>conftest.
$ac_ext
21273 cat >>conftest.
$ac_ext <<_ACEOF
21274 /* end confdefs.h. */
21279 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_25_t)) >= 0)];
21286 rm -f conftest.
$ac_objext
21287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21288 (eval $ac_compile) 2>conftest.er1
21290 grep -v '^ *+' conftest.er1
>conftest.err
21292 cat conftest.err
>&5
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); } &&
21295 { ac_try
='test -z "$ac_c_werror_flag"
21296 || test ! -s conftest.err'
21297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21298 (eval $ac_try) 2>&5
21300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301 (exit $ac_status); }; } &&
21302 { ac_try
='test -s conftest.$ac_objext'
21303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21304 (eval $ac_try) 2>&5
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); }; }; then
21310 cat >conftest.
$ac_ext <<_ACEOF
21313 cat confdefs.h
>>conftest.
$ac_ext
21314 cat >>conftest.
$ac_ext <<_ACEOF
21315 /* end confdefs.h. */
21320 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_25_t)) <= $ac_mid)];
21327 rm -f conftest.
$ac_objext
21328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21329 (eval $ac_compile) 2>conftest.er1
21331 grep -v '^ *+' conftest.er1
>conftest.err
21333 cat conftest.err
>&5
21334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21335 (exit $ac_status); } &&
21336 { ac_try
='test -z "$ac_c_werror_flag"
21337 || test ! -s conftest.err'
21338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21339 (eval $ac_try) 2>&5
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); }; } &&
21343 { ac_try
='test -s conftest.$ac_objext'
21344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21345 (eval $ac_try) 2>&5
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); }; }; then
21349 ac_hi
=$ac_mid; break
21351 echo "$as_me: failed program was:" >&5
21352 sed 's/^/| /' conftest.
$ac_ext >&5
21354 ac_lo
=`expr $ac_mid + 1`
21355 if test $ac_lo -le $ac_mid; then
21359 ac_mid
=`expr 2 '*' $ac_mid + 1`
21361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21364 echo "$as_me: failed program was:" >&5
21365 sed 's/^/| /' conftest.
$ac_ext >&5
21367 cat >conftest.
$ac_ext <<_ACEOF
21370 cat confdefs.h
>>conftest.
$ac_ext
21371 cat >>conftest.
$ac_ext <<_ACEOF
21372 /* end confdefs.h. */
21377 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_25_t)) < 0)];
21384 rm -f conftest.
$ac_objext
21385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21386 (eval $ac_compile) 2>conftest.er1
21388 grep -v '^ *+' conftest.er1
>conftest.err
21390 cat conftest.err
>&5
21391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392 (exit $ac_status); } &&
21393 { ac_try
='test -z "$ac_c_werror_flag"
21394 || test ! -s conftest.err'
21395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21396 (eval $ac_try) 2>&5
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); }; } &&
21400 { ac_try
='test -s conftest.$ac_objext'
21401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21402 (eval $ac_try) 2>&5
21404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405 (exit $ac_status); }; }; then
21408 cat >conftest.
$ac_ext <<_ACEOF
21411 cat confdefs.h
>>conftest.
$ac_ext
21412 cat >>conftest.
$ac_ext <<_ACEOF
21413 /* end confdefs.h. */
21418 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_25_t)) >= $ac_mid)];
21425 rm -f conftest.
$ac_objext
21426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21427 (eval $ac_compile) 2>conftest.er1
21429 grep -v '^ *+' conftest.er1
>conftest.err
21431 cat conftest.err
>&5
21432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21433 (exit $ac_status); } &&
21434 { ac_try
='test -z "$ac_c_werror_flag"
21435 || test ! -s conftest.err'
21436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21437 (eval $ac_try) 2>&5
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); }; } &&
21441 { ac_try
='test -s conftest.$ac_objext'
21442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21443 (eval $ac_try) 2>&5
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); }; }; then
21447 ac_lo
=$ac_mid; break
21449 echo "$as_me: failed program was:" >&5
21450 sed 's/^/| /' conftest.
$ac_ext >&5
21452 ac_hi
=`expr '(' $ac_mid ')' - 1`
21453 if test $ac_mid -le $ac_hi; then
21457 ac_mid
=`expr 2 '*' $ac_mid`
21459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21462 echo "$as_me: failed program was:" >&5
21463 sed 's/^/| /' conftest.
$ac_ext >&5
21467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21470 # Binary search between lo and hi bounds.
21471 while test "x$ac_lo" != "x$ac_hi"; do
21472 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21473 cat >conftest.
$ac_ext <<_ACEOF
21476 cat confdefs.h
>>conftest.
$ac_ext
21477 cat >>conftest.
$ac_ext <<_ACEOF
21478 /* end confdefs.h. */
21483 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_25_t)) <= $ac_mid)];
21490 rm -f conftest.
$ac_objext
21491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21492 (eval $ac_compile) 2>conftest.er1
21494 grep -v '^ *+' conftest.er1
>conftest.err
21496 cat conftest.err
>&5
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); } &&
21499 { ac_try
='test -z "$ac_c_werror_flag"
21500 || test ! -s conftest.err'
21501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21502 (eval $ac_try) 2>&5
21504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21505 (exit $ac_status); }; } &&
21506 { ac_try
='test -s conftest.$ac_objext'
21507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21508 (eval $ac_try) 2>&5
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); }; }; then
21514 echo "$as_me: failed program was:" >&5
21515 sed 's/^/| /' conftest.
$ac_ext >&5
21517 ac_lo
=`expr '(' $ac_mid ')' + 1`
21519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21522 ?
*) OMP_NEST_LOCK_25_ALIGN
=$ac_lo;;
21526 if test "$cross_compiling" = yes; then
21527 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21528 echo "$as_me: error: in \`$ac_pwd':" >&2;}
21529 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21530 See \`config.log' for more details." >&5
21531 echo "$as_me: error: cannot run test program while cross compiling
21532 See \`config.log' for more details." >&2;}
21533 { (exit 1); exit 1; }; }; }
21535 cat >conftest.
$ac_ext <<_ACEOF
21538 cat confdefs.h
>>conftest.
$ac_ext
21539 cat >>conftest.
$ac_ext <<_ACEOF
21540 /* end confdefs.h. */
21542 long longval () { return __alignof (omp_nest_lock_25_t); }
21543 unsigned long ulongval () { return __alignof (omp_nest_lock_25_t); }
21545 #include <stdlib.h>
21550 FILE *f = fopen ("conftest.val", "w");
21553 if ((__alignof (omp_nest_lock_25_t)) < 0)
21555 long i = longval ();
21556 if (i != (__alignof (omp_nest_lock_25_t)))
21558 fprintf (f, "%ld\n", i);
21562 unsigned long i = ulongval ();
21563 if (i != (__alignof (omp_nest_lock_25_t)))
21565 fprintf (f, "%lu\n", i);
21567 exit (ferror (f) || fclose (f) != 0);
21573 rm -f conftest
$ac_exeext
21574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21575 (eval $ac_link) 2>&5
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21580 (eval $ac_try) 2>&5
21582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583 (exit $ac_status); }; }; then
21584 OMP_NEST_LOCK_25_ALIGN
=`cat conftest.val`
21586 echo "$as_me: program exited with status $ac_status" >&5
21587 echo "$as_me: failed program was:" >&5
21588 sed 's/^/| /' conftest.
$ac_ext >&5
21591 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21596 # If the lock fits in an integer, then arrange for Fortran to use that
21597 # integer. If it doesn't, then arrange for Fortran to use a pointer.
21598 # Except that we don't have a way at present to multi-lib the installed
21599 # Fortran modules, so we assume 8 bytes for pointers, regardless of the
21601 OMP_LOCK_KIND
=$OMP_LOCK_SIZE
21602 OMP_NEST_LOCK_KIND
=$OMP_NEST_LOCK_SIZE
21603 if test $OMP_LOCK_SIZE -gt 8 ||
test $OMP_LOCK_ALIGN -gt $OMP_LOCK_SIZE; then
21606 if test $OMP_NEST_LOCK_SIZE -gt 8 ||
test $OMP_NEST_LOCK_ALIGN -gt $OMP_NEST_LOCK_SIZE; then
21607 OMP_NEST_LOCK_KIND
=8
21609 OMP_LOCK_25_KIND
=$OMP_LOCK_25_SIZE
21610 OMP_NEST_LOCK_25_KIND
=$OMP_NEST_LOCK_25_SIZE
21611 if test $OMP_LOCK_25_SIZE -gt 8 ||
test $OMP_LOCK_25_ALIGN -gt $OMP_LOCK_25_SIZE; then
21614 if test $OMP_NEST_LOCK_25_SIZE -gt 8 ||
test $OMP_NEST_LOCK_25_ALIGN -gt $OMP_NEST_LOCK_25_SIZE; then
21615 OMP_NEST_LOCK_25_KIND
=8
21630 CFLAGS
="$save_CFLAGS"
21632 ac_config_files
="$ac_config_files omp.h omp_lib.h omp_lib.f90 libgomp_f.h"
21634 ac_config_files
="$ac_config_files Makefile testsuite/Makefile libgomp.spec"
21636 cat >confcache
<<\_ACEOF
21637 # This file is a shell script that caches the results of configure
21638 # tests run on this system so they can be shared between configure
21639 # scripts and configure runs, see configure's option --config-cache.
21640 # It is not useful on other systems. If it contains results you don't
21641 # want to keep, you may remove or edit it.
21643 # config.status only pays attention to the cache file if you give it
21644 # the --recheck option to rerun configure.
21646 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21647 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21648 # following values.
21652 # The following way of writing the cache mishandles newlines in values,
21653 # but we know of no workaround that is simple, portable, and efficient.
21654 # So, don't put newlines in cache variables' values.
21655 # Ultrix sh set writes to stderr and can't be redirected directly,
21656 # and sets the high bit in the cache file unless we assign to the vars.
21659 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21661 # `set' does not quote correctly, so add quotes (double-quote
21662 # substitution turns \\\\ into \\, and sed turns \\ into \).
21665 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21668 # `set' quotes correctly as required by POSIX, so do not add quotes.
21670 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21677 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21679 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21681 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
21682 if test -w $cache_file; then
21683 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21684 cat confcache
>$cache_file
21686 echo "not updating unwritable cache $cache_file"
21691 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21692 # Let make expand exec_prefix.
21693 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21695 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21696 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21697 # trailing colons and then remove the whole line if VPATH becomes empty
21698 # (actually we leave an empty line to preserve line numbers).
21699 if test "x$srcdir" = x.
; then
21700 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21701 s/:*\$(srcdir):*/:/;
21702 s/:*\${srcdir}:*/:/;
21704 s/^\([^=]*=[ ]*\):*/\1/;
21710 DEFS
=-DHAVE_CONFIG_H
21714 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21715 # 1. Remove the extension, and $U if already installed.
21716 ac_i
=`echo "$ac_i" |
21717 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21719 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
21720 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
21722 LIBOBJS
=$ac_libobjs
21724 LTLIBOBJS
=$ac_ltlibobjs
21727 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
21728 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC\" was never defined.
21729 Usually this means the macro was only invoked conditionally." >&5
21730 echo "$as_me: error: conditional \"GENINSRC\" was never defined.
21731 Usually this means the macro was only invoked conditionally." >&2;}
21732 { (exit 1); exit 1; }; }
21734 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21735 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21736 Usually this means the macro was only invoked conditionally." >&5
21737 echo "$as_me: error: conditional \"AMDEP\" was never defined.
21738 Usually this means the macro was only invoked conditionally." >&2;}
21739 { (exit 1); exit 1; }; }
21741 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21742 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21743 Usually this means the macro was only invoked conditionally." >&5
21744 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21745 Usually this means the macro was only invoked conditionally." >&2;}
21746 { (exit 1); exit 1; }; }
21748 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
21749 { { echo "$as_me:$LINENO: error: conditional \"BUILD_INFO\" was never defined.
21750 Usually this means the macro was only invoked conditionally." >&5
21751 echo "$as_me: error: conditional \"BUILD_INFO\" was never defined.
21752 Usually this means the macro was only invoked conditionally." >&2;}
21753 { (exit 1); exit 1; }; }
21755 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21756 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
21757 Usually this means the macro was only invoked conditionally." >&5
21758 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
21759 Usually this means the macro was only invoked conditionally." >&2;}
21760 { (exit 1); exit 1; }; }
21762 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE}"; then
21763 { { echo "$as_me:$LINENO: error: conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
21764 Usually this means the macro was only invoked conditionally." >&5
21765 echo "$as_me: error: conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
21766 Usually this means the macro was only invoked conditionally." >&2;}
21767 { (exit 1); exit 1; }; }
21769 if test -z "${USE_FORTRAN_TRUE}" && test -z "${USE_FORTRAN_FALSE}"; then
21770 { { echo "$as_me:$LINENO: error: conditional \"USE_FORTRAN\" was never defined.
21771 Usually this means the macro was only invoked conditionally." >&5
21772 echo "$as_me: error: conditional \"USE_FORTRAN\" was never defined.
21773 Usually this means the macro was only invoked conditionally." >&2;}
21774 { (exit 1); exit 1; }; }
21777 : ${CONFIG_STATUS=./config.status}
21778 ac_clean_files_save
=$ac_clean_files
21779 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21780 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21781 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21782 cat >$CONFIG_STATUS <<_ACEOF
21784 # Generated by $as_me.
21785 # Run this file to recreate the current configuration.
21786 # Compiler output produced by configure, useful for debugging
21787 # configure, is in config.log if it exists.
21790 ac_cs_recheck=false
21792 SHELL=\${CONFIG_SHELL-$SHELL}
21795 cat >>$CONFIG_STATUS <<\_ACEOF
21796 ## --------------------- ##
21797 ## M4sh Initialization. ##
21798 ## --------------------- ##
21800 # Be Bourne compatible
21801 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21804 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21805 # is contrary to our usage. Disable this feature.
21806 alias -g '${1+"$@"}'='"$@"'
21807 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
21810 DUALCASE
=1; export DUALCASE
# for MKS sh
21812 # Support unset when possible.
21813 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21820 # Work around bugs in pre-3.0 UWIN ksh.
21821 $as_unset ENV MAIL MAILPATH
21828 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21829 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21830 LC_TELEPHONE LC_TIME
21832 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21833 eval $as_var=C
; export $as_var
21839 # Required to use basename.
21840 if expr a
: '\(a\)' >/dev
/null
2>&1; then
21846 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
21847 as_basename
=basename
21853 # Name of the executable.
21854 as_me
=`$as_basename "$0" ||
21855 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21856 X"$0" : 'X\(//\)$' \| \
21857 X"$0" : 'X\(/\)$' \| \
21858 . : '\(.\)' 2>/dev/null ||
21860 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21861 /^X\/\(\/\/\)$/{ s//\1/; q; }
21862 /^X\/\(\/\).*/{ s//\1/; q; }
21866 # PATH needs CR, and LINENO needs CR and PATH.
21867 # Avoid depending upon Character Ranges.
21868 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21869 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21870 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21871 as_cr_digits
='0123456789'
21872 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21874 # The user is always right.
21875 if test "${PATH_SEPARATOR+set}" != set; then
21876 echo "#! /bin/sh" >conf$$.sh
21877 echo "exit 0" >>conf$$.sh
21879 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21888 as_lineno_1
=$LINENO
21889 as_lineno_2
=$LINENO
21890 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
21891 test "x$as_lineno_1" != "x$as_lineno_2" &&
21892 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
21893 # Find who we are. Look in the path if we contain no path at all
21896 *[\\/]* ) as_myself
=$0 ;;
21897 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21898 for as_dir
in $PATH
21901 test -z "$as_dir" && as_dir
=.
21902 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21907 # We did not find ourselves, most probably we were run as `sh COMMAND'
21908 # in which case we are not to be found in the path.
21909 if test "x$as_myself" = x
; then
21912 if test ! -f "$as_myself"; then
21913 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21914 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21915 { (exit 1); exit 1; }; }
21917 case $CONFIG_SHELL in
21919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21920 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
21923 test -z "$as_dir" && as_dir
=.
21924 for as_base
in sh bash ksh sh5
; do
21927 if ("$as_dir/$as_base" -c '
21928 as_lineno_1=$LINENO
21929 as_lineno_2=$LINENO
21930 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21931 test "x$as_lineno_1" != "x$as_lineno_2" &&
21932 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
21933 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
21934 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
21935 CONFIG_SHELL
=$as_dir/$as_base
21936 export CONFIG_SHELL
21937 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21945 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21946 # uniformly replaced by the line number. The first 'sed' inserts a
21947 # line-number line before each line; the second 'sed' does the real
21948 # work. The second script uses 'N' to pair each line-number line
21949 # with the numbered line, and appends trailing '-' during
21950 # substitution so that $LINENO is not a special case at line end.
21951 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21952 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
21953 sed '=' <$as_myself |
21958 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
21961 s,^['$as_cr_digits']*\n,,
21962 ' >$as_me.lineno
&&
21963 chmod +x
$as_me.lineno ||
21964 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21965 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
21966 { (exit 1); exit 1; }; }
21968 # Don't try to exec as it changes $[0], causing all sort of problems
21969 # (the dirname of $[0] is not the place where we might find the
21970 # original and so on. Autoconf is especially sensible to this).
21972 # Exit status is that of the last command.
21977 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21978 *c
*,-n*) ECHO_N
= ECHO_C
='
21980 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
21981 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
21984 if expr a
: '\(a\)' >/dev
/null
2>&1; then
21990 rm -f conf$$ conf$$.exe conf$$.
file
21992 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21993 # We could just check for DJGPP; but this test a) works b) is more generic
21994 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21995 if test -f conf$$.exe
; then
21996 # Don't use ln at all; we don't have any links
22001 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22006 rm -f conf$$ conf$$.exe conf$$.
file
22008 if mkdir
-p .
2>/dev
/null
; then
22011 test -d .
/-p && rmdir .
/-p
22015 as_executable_p
="test -f"
22017 # Sed expression to map a string onto a valid CPP name.
22018 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22020 # Sed expression to map a string onto a valid variable name.
22021 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22025 # We need space, tab and new line, in precisely that order.
22035 # Open the log real soon, to keep \$[0] and so on meaningful, and to
22036 # report actual input values of CONFIG_FILES etc. instead of their
22037 # values after options handling. Logging --version etc. is OK.
22041 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22042 ## Running $as_me. ##
22047 This file was extended by GNU OpenMP Runtime Library $as_me 1.0, which was
22048 generated by GNU Autoconf 2.59. Invocation command line was
22050 CONFIG_FILES = $CONFIG_FILES
22051 CONFIG_HEADERS = $CONFIG_HEADERS
22052 CONFIG_LINKS = $CONFIG_LINKS
22053 CONFIG_COMMANDS = $CONFIG_COMMANDS
22057 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22061 # Files that config.status was made for.
22062 if test -n "$ac_config_files"; then
22063 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22066 if test -n "$ac_config_headers"; then
22067 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22070 if test -n "$ac_config_links"; then
22071 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22074 if test -n "$ac_config_commands"; then
22075 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22078 cat >>$CONFIG_STATUS <<\_ACEOF
22081 \`$as_me' instantiates files from templates according to the
22082 current configuration.
22084 Usage: $0 [OPTIONS] [FILE]...
22086 -h, --help print this help, then exit
22087 -V, --version print version number, then exit
22088 -q, --quiet do not print progress messages
22089 -d, --debug don't remove temporary files
22090 --recheck update $as_me by reconfiguring in the same conditions
22091 --file=FILE[:TEMPLATE]
22092 instantiate the configuration file FILE
22093 --header=FILE[:TEMPLATE]
22094 instantiate the configuration header FILE
22096 Configuration files:
22099 Configuration headers:
22102 Configuration commands:
22105 Report bugs to <bug-autoconf@gnu.org>."
22108 cat >>$CONFIG_STATUS <<_ACEOF
22110 GNU OpenMP Runtime Library config.status 1.0
22111 configured by $0, generated by GNU Autoconf 2.59,
22112 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
22114 Copyright (C) 2003 Free Software Foundation, Inc.
22115 This config.status script is free software; the Free Software Foundation
22116 gives unlimited permission to copy, distribute and modify it."
22121 cat >>$CONFIG_STATUS <<\_ACEOF
22122 # If no file are specified by the user, then we need to provide default
22123 # value. By we need to know if files were specified by the user.
22129 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
22130 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
22138 *) # This is not an option, so the user has probably given explicit
22141 ac_need_defaults
=false
;;
22145 # Handling of the options.
22147 cat >>$CONFIG_STATUS <<\_ACEOF
22148 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22150 --version |
--vers* |
-V )
22151 echo "$ac_cs_version"; exit 0 ;;
22153 # Conflict between --help and --header
22154 { { echo "$as_me:$LINENO: error: ambiguous option: $1
22155 Try \`$0 --help' for more information." >&5
22156 echo "$as_me: error: ambiguous option: $1
22157 Try \`$0 --help' for more information." >&2;}
22158 { (exit 1); exit 1; }; };;
22159 --help |
--hel |
-h )
22160 echo "$ac_cs_usage"; exit 0 ;;
22161 --debug |
--d* |
-d )
22163 --file |
--fil |
--fi |
--f )
22165 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22166 ac_need_defaults
=false
;;
22167 --header |
--heade |
--head |
--hea )
22169 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22170 ac_need_defaults
=false
;;
22171 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22172 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22175 # This is an error.
22176 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22177 Try \`$0 --help' for more information." >&5
22178 echo "$as_me: error: unrecognized option: $1
22179 Try \`$0 --help' for more information." >&2;}
22180 { (exit 1); exit 1; }; } ;;
22182 *) ac_config_targets
="$ac_config_targets $1" ;;
22188 ac_configure_extra_args
=
22190 if $ac_cs_silent; then
22192 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22196 cat >>$CONFIG_STATUS <<_ACEOF
22197 if \$ac_cs_recheck; then
22198 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22199 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22204 cat >>$CONFIG_STATUS <<_ACEOF
22206 # INIT-COMMANDS section.
22213 with_multisubdir="$with_multisubdir"
22214 with_multisrctop="$with_multisrctop"
22215 with_target_subdir="$with_target_subdir"
22216 ac_configure_args="${multilib_arg} ${ac_configure_args}"
22217 multi_basedir="$multi_basedir"
22218 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
22220 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22223 # The HP-UX ksh and POSIX shell print the target directory to stdout
22224 # if CDPATH is set.
22225 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22227 sed_quote_subst='$sed_quote_subst'
22228 double_quote_subst='$double_quote_subst'
22229 delay_variable_subst='$delay_variable_subst'
22230 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
22231 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
22232 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
22233 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
22234 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
22235 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
22236 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
22237 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
22238 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
22239 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
22240 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
22241 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
22242 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
22243 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
22244 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
22245 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
22246 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
22247 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
22248 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
22249 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
22250 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
22251 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
22252 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
22253 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
22254 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
22255 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
22256 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
22257 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22258 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
22259 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
22260 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
22261 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
22262 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
22263 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
22264 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
22265 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22266 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22267 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22268 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
22269 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
22270 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
22271 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
22272 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
22273 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
22274 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"`'
22275 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"`'
22276 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
22277 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
22278 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
22279 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
22280 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
22281 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
22282 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
22283 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
22284 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
22285 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
22286 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
22287 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
22288 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
22289 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
22290 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
22291 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
22292 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22293 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22294 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
22295 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
22296 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
22297 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
22298 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
22299 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22300 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22301 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22302 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22303 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22304 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22305 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
22306 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
22307 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
22308 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
22309 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
22310 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
22311 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
22312 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
22313 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
22314 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
22315 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
22316 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
22317 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
22318 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
22319 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
22320 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22321 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
22322 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
22323 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22324 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
22325 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
22326 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
22327 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
22328 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
22329 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
22330 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
22331 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
22332 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
22333 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
22334 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
22335 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22336 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22337 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22338 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
22339 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
22340 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
22341 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
22342 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
22343 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
22344 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
22345 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
22346 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
22347 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
22348 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
22349 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
22350 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
22351 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
22352 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
22353 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
22354 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
22355 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22356 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
22357 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
22358 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
22359 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
22360 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
22361 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
22362 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
22363 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
22364 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
22365 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
22366 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
22367 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
22368 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22369 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22370 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22371 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22372 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22373 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22374 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
22375 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
22376 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
22377 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
22378 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
22379 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
22380 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
22381 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
22382 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
22383 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
22384 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
22385 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
22386 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
22387 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
22388 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
22389 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22390 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
22391 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
22392 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
22393 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
22394 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
22395 compiler_lib_search_dirs_FC='`$ECHO "X$compiler_lib_search_dirs_FC" | $Xsed -e "$delay_single_quote_subst"`'
22396 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
22397 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
22398 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
22399 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
22400 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
22403 LTCFLAGS='$LTCFLAGS'
22404 compiler='$compiler_DEFAULT'
22406 # Quote evaled strings.
22418 deplibs_check_method \
22427 lt_cv_sys_global_symbol_pipe \
22428 lt_cv_sys_global_symbol_to_cdecl \
22429 lt_cv_sys_global_symbol_to_c_name_address \
22430 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22433 lt_prog_compiler_no_builtin_flag \
22434 lt_prog_compiler_wl \
22435 lt_prog_compiler_pic \
22436 lt_prog_compiler_static \
22437 lt_cv_prog_compiler_c_o \
22445 export_dynamic_flag_spec \
22446 whole_archive_flag_spec \
22447 compiler_needs_object \
22449 allow_undefined_flag \
22450 no_undefined_flag \
22451 hardcode_libdir_flag_spec \
22452 hardcode_libdir_flag_spec_ld \
22453 hardcode_libdir_separator \
22458 variables_saved_for_relink \
22460 library_names_spec \
22465 compiler_lib_search_dirs \
22470 compiler_lib_search_path \
22473 lt_prog_compiler_no_builtin_flag_FC \
22474 lt_prog_compiler_wl_FC \
22475 lt_prog_compiler_pic_FC \
22476 lt_prog_compiler_static_FC \
22477 lt_cv_prog_compiler_c_o_FC \
22478 export_dynamic_flag_spec_FC \
22479 whole_archive_flag_spec_FC \
22480 compiler_needs_object_FC \
22482 allow_undefined_flag_FC \
22483 no_undefined_flag_FC \
22484 hardcode_libdir_flag_spec_FC \
22485 hardcode_libdir_flag_spec_ld_FC \
22486 hardcode_libdir_separator_FC \
22487 fix_srcfile_path_FC \
22488 exclude_expsyms_FC \
22489 include_expsyms_FC \
22490 file_list_spec_FC \
22491 compiler_lib_search_dirs_FC \
22492 predep_objects_FC \
22493 postdep_objects_FC \
22496 compiler_lib_search_path_FC; do
22497 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
22498 *[\\\\\\\`\\"\\\$]*)
22499 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
22502 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22507 # Double-quote double-evaled strings.
22508 for var in reload_cmds \
22509 old_postinstall_cmds \
22510 old_postuninstall_cmds \
22512 extract_expsyms_cmds \
22513 old_archive_from_new_cmds \
22514 old_archive_from_expsyms_cmds \
22516 archive_expsym_cmds \
22518 module_expsym_cmds \
22519 export_symbols_cmds \
22522 postuninstall_cmds \
22524 sys_lib_search_path_spec \
22525 sys_lib_dlsearch_path_spec \
22526 old_archive_cmds_FC \
22527 old_archive_from_new_cmds_FC \
22528 old_archive_from_expsyms_cmds_FC \
22530 archive_expsym_cmds_FC \
22532 module_expsym_cmds_FC \
22533 export_symbols_cmds_FC \
22534 prelink_cmds_FC; do
22535 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
22536 *[\\\\\\\`\\"\\\$]*)
22537 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
22540 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22545 # Fix-up fallback echo if it was mangled by the above quoting rules.
22547 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
22551 ac_aux_dir='$ac_aux_dir'
22552 xsi_shell='$xsi_shell'
22553 lt_shell_append='$lt_shell_append'
22555 # See if we are running on zsh, and set the options which allow our
22556 # commands through without removal of \ escapes INIT.
22557 if test -n "\${ZSH_VERSION+set}" ; then
22558 setopt NO_GLOB_SUBST
22564 TIMESTAMP='$TIMESTAMP'
22575 acx_cv_header_stdint="$acx_cv_header_stdint"
22576 acx_cv_type_int8_t="$acx_cv_type_int8_t"
22577 acx_cv_type_int16_t="$acx_cv_type_int16_t"
22578 acx_cv_type_int32_t="$acx_cv_type_int32_t"
22579 acx_cv_type_int64_t="$acx_cv_type_int64_t"
22580 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
22581 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
22582 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
22583 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
22584 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
22585 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
22586 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
22587 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
22588 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
22595 cat >>$CONFIG_STATUS <<\_ACEOF
22596 for ac_config_target
in $ac_config_targets
22598 case "$ac_config_target" in
22599 # Handling of arguments.
22600 "omp.h" ) CONFIG_FILES
="$CONFIG_FILES omp.h" ;;
22601 "omp_lib.h" ) CONFIG_FILES
="$CONFIG_FILES omp_lib.h" ;;
22602 "omp_lib.f90" ) CONFIG_FILES
="$CONFIG_FILES omp_lib.f90" ;;
22603 "libgomp_f.h" ) CONFIG_FILES
="$CONFIG_FILES libgomp_f.h" ;;
22604 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22605 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
22606 "libgomp.spec" ) CONFIG_FILES
="$CONFIG_FILES libgomp.spec" ;;
22607 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
22608 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22609 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
22610 "gstdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
22611 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
22612 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22613 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22614 { (exit 1); exit 1; }; };;
22618 # If the user did not use the arguments to specify the items to instantiate,
22619 # then the envvar interface is used. Set only those that are not.
22620 # We use the long form for the default assignment because of an extremely
22621 # bizarre bug on SunOS 4.1.3.
22622 if $ac_need_defaults; then
22623 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22624 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22625 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22628 # Have a temporary directory for convenience. Make it in the build tree
22629 # simply because there is no reason to put it here, and in addition,
22630 # creating and moving files from /tmp can sometimes cause problems.
22631 # Create a temporary directory, and hook for its removal unless debugging.
22634 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
22635 trap '{ (exit 1); exit 1; }' 1 2 13 15
22638 # Create a (secure) tmp directory for tmp files.
22641 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
22642 test -n "$tmp" && test -d "$tmp"
22645 tmp
=.
/confstat$$
-$RANDOM
22646 (umask 077 && mkdir
$tmp)
22649 echo "$me: cannot create a temporary directory in ." >&2
22650 { (exit 1); exit 1; }
22655 cat >>$CONFIG_STATUS <<_ACEOF
22658 # CONFIG_FILES section.
22661 # No need to generate the scripts if there are no CONFIG_FILES.
22662 # This happens for instance when ./config.status config.h
22663 if test -n "\$CONFIG_FILES"; then
22664 # Protect against being on the right side of a sed subst in config.status.
22665 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22666 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22667 s,@SHELL@,$SHELL,;t t
22668 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22669 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22670 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22671 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22672 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22673 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22674 s,@exec_prefix@,$exec_prefix,;t t
22675 s,@prefix@,$prefix,;t t
22676 s,@program_transform_name@,$program_transform_name,;t t
22677 s,@bindir@,$bindir,;t t
22678 s,@sbindir@,$sbindir,;t t
22679 s,@libexecdir@,$libexecdir,;t t
22680 s,@datadir@,$datadir,;t t
22681 s,@sysconfdir@,$sysconfdir,;t t
22682 s,@sharedstatedir@,$sharedstatedir,;t t
22683 s,@localstatedir@,$localstatedir,;t t
22684 s,@libdir@,$libdir,;t t
22685 s,@includedir@,$includedir,;t t
22686 s,@oldincludedir@,$oldincludedir,;t t
22687 s,@infodir@,$infodir,;t t
22688 s,@mandir@,$mandir,;t t
22689 s,@build_alias@,$build_alias,;t t
22690 s,@host_alias@,$host_alias,;t t
22691 s,@target_alias@,$target_alias,;t t
22692 s,@DEFS@,$DEFS,;t t
22693 s,@ECHO_C@,$ECHO_C,;t t
22694 s,@ECHO_N@,$ECHO_N,;t t
22695 s,@ECHO_T@,$ECHO_T,;t t
22696 s,@LIBS@,$LIBS,;t t
22697 s,@GENINSRC_TRUE@,$GENINSRC_TRUE,;t t
22698 s,@GENINSRC_FALSE@,$GENINSRC_FALSE,;t t
22699 s,@build@,$build,;t t
22700 s,@build_cpu@,$build_cpu,;t t
22701 s,@build_vendor@,$build_vendor,;t t
22702 s,@build_os@,$build_os,;t t
22703 s,@host@,$host,;t t
22704 s,@host_cpu@,$host_cpu,;t t
22705 s,@host_vendor@,$host_vendor,;t t
22706 s,@host_os@,$host_os,;t t
22707 s,@target@,$target,;t t
22708 s,@target_cpu@,$target_cpu,;t t
22709 s,@target_vendor@,$target_vendor,;t t
22710 s,@target_os@,$target_os,;t t
22711 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22712 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22713 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22714 s,@CYGPATH_W@,$CYGPATH_W,;t t
22715 s,@PACKAGE@,$PACKAGE,;t t
22716 s,@VERSION@,$VERSION,;t t
22717 s,@ACLOCAL@,$ACLOCAL,;t t
22718 s,@AUTOCONF@,$AUTOCONF,;t t
22719 s,@AUTOMAKE@,$AUTOMAKE,;t t
22720 s,@AUTOHEADER@,$AUTOHEADER,;t t
22721 s,@MAKEINFO@,$MAKEINFO,;t t
22722 s,@install_sh@,$install_sh,;t t
22723 s,@STRIP@,$STRIP,;t t
22724 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
22725 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
22726 s,@mkdir_p@,$mkdir_p,;t t
22728 s,@SET_MAKE@,$SET_MAKE,;t t
22729 s,@am__leading_dot@,$am__leading_dot,;t t
22730 s,@AMTAR@,$AMTAR,;t t
22731 s,@am__tar@,$am__tar,;t t
22732 s,@am__untar@,$am__untar,;t t
22733 s,@multi_basedir@,$multi_basedir,;t t
22734 s,@toolexecdir@,$toolexecdir,;t t
22735 s,@toolexeclibdir@,$toolexeclibdir,;t t
22737 s,@ac_ct_CC@,$ac_ct_CC,;t t
22738 s,@EXEEXT@,$EXEEXT,;t t
22739 s,@OBJEXT@,$OBJEXT,;t t
22740 s,@DEPDIR@,$DEPDIR,;t t
22741 s,@am__include@,$am__include,;t t
22742 s,@am__quote@,$am__quote,;t t
22743 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
22744 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
22745 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
22746 s,@CCDEPMODE@,$CCDEPMODE,;t t
22747 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
22748 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
22749 s,@CFLAGS@,$CFLAGS,;t t
22751 s,@ac_ct_AR@,$ac_ct_AR,;t t
22752 s,@RANLIB@,$RANLIB,;t t
22753 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22754 s,@PERL@,$PERL,;t t
22755 s,@BUILD_INFO_TRUE@,$BUILD_INFO_TRUE,;t t
22756 s,@BUILD_INFO_FALSE@,$BUILD_INFO_FALSE,;t t
22757 s,@LIBTOOL@,$LIBTOOL,;t t
22759 s,@EGREP@,$EGREP,;t t
22760 s,@FGREP@,$FGREP,;t t
22761 s,@GREP@,$GREP,;t t
22763 s,@DUMPBIN@,$DUMPBIN,;t t
22764 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
22766 s,@LN_S@,$LN_S,;t t
22767 s,@OBJDUMP@,$OBJDUMP,;t t
22768 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
22769 s,@lt_ECHO@,$lt_ECHO,;t t
22770 s,@DSYMUTIL@,$DSYMUTIL,;t t
22771 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
22772 s,@NMEDIT@,$NMEDIT,;t t
22773 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
22774 s,@LIPO@,$LIPO,;t t
22775 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
22776 s,@OTOOL@,$OTOOL,;t t
22777 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
22778 s,@OTOOL64@,$OTOOL64,;t t
22779 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
22781 s,@CPPFLAGS@,$CPPFLAGS,;t t
22782 s,@enable_shared@,$enable_shared,;t t
22783 s,@enable_static@,$enable_static,;t t
22784 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
22785 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
22786 s,@MAINT@,$MAINT,;t t
22788 s,@FCFLAGS@,$FCFLAGS,;t t
22789 s,@LDFLAGS@,$LDFLAGS,;t t
22790 s,@ac_ct_FC@,$ac_ct_FC,;t t
22791 s,@libtool_VERSION@,$libtool_VERSION,;t t
22792 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
22793 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
22794 s,@LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE@,$LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE,;t t
22795 s,@LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE@,$LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE,;t t
22796 s,@config_path@,$config_path,;t t
22797 s,@XCFLAGS@,$XCFLAGS,;t t
22798 s,@XLDFLAGS@,$XLDFLAGS,;t t
22799 s,@link_gomp@,$link_gomp,;t t
22800 s,@USE_FORTRAN_TRUE@,$USE_FORTRAN_TRUE,;t t
22801 s,@USE_FORTRAN_FALSE@,$USE_FORTRAN_FALSE,;t t
22802 s,@OMP_LOCK_SIZE@,$OMP_LOCK_SIZE,;t t
22803 s,@OMP_LOCK_ALIGN@,$OMP_LOCK_ALIGN,;t t
22804 s,@OMP_NEST_LOCK_SIZE@,$OMP_NEST_LOCK_SIZE,;t t
22805 s,@OMP_NEST_LOCK_ALIGN@,$OMP_NEST_LOCK_ALIGN,;t t
22806 s,@OMP_LOCK_KIND@,$OMP_LOCK_KIND,;t t
22807 s,@OMP_NEST_LOCK_KIND@,$OMP_NEST_LOCK_KIND,;t t
22808 s,@OMP_LOCK_25_SIZE@,$OMP_LOCK_25_SIZE,;t t
22809 s,@OMP_LOCK_25_ALIGN@,$OMP_LOCK_25_ALIGN,;t t
22810 s,@OMP_NEST_LOCK_25_SIZE@,$OMP_NEST_LOCK_25_SIZE,;t t
22811 s,@OMP_NEST_LOCK_25_ALIGN@,$OMP_NEST_LOCK_25_ALIGN,;t t
22812 s,@OMP_LOCK_25_KIND@,$OMP_LOCK_25_KIND,;t t
22813 s,@OMP_NEST_LOCK_25_KIND@,$OMP_NEST_LOCK_25_KIND,;t t
22814 s,@LIBOBJS@,$LIBOBJS,;t t
22815 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22820 cat >>$CONFIG_STATUS <<\_ACEOF
22821 # Split the substitutions into bite-sized pieces for seds with
22822 # small command number limits, like on Digital OSF/1 and HP-UX.
22823 ac_max_sed_lines
=48
22824 ac_sed_frag
=1 # Number of current file.
22825 ac_beg
=1 # First line for current file.
22826 ac_end
=$ac_max_sed_lines # Line after last line for current file.
22829 while $ac_more_lines; do
22830 if test $ac_beg -gt 1; then
22831 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22833 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22835 if test ! -s $tmp/subs.frag
; then
22836 ac_more_lines
=false
22838 # The purpose of the label and of the branching condition is to
22839 # speed up the sed processing (if there are no `@' at all, there
22840 # is no need to browse any of the substitutions).
22841 # These are the two extra sed commands mentioned above.
22843 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
22844 if test -z "$ac_sed_cmds"; then
22845 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
22847 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22849 ac_sed_frag
=`expr $ac_sed_frag + 1`
22851 ac_end
=`expr $ac_end + $ac_max_sed_lines`
22854 if test -z "$ac_sed_cmds"; then
22857 fi # test -n "$CONFIG_FILES"
22860 cat >>$CONFIG_STATUS <<\_ACEOF
22861 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
22862 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22864 - |
*:- |
*:-:* ) # input from stdin
22866 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22867 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22868 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22869 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22870 * ) ac_file_in
=$ac_file.
in ;;
22873 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22874 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22875 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22876 X"$ac_file" : 'X\(//\)[^/]' \| \
22877 X"$ac_file" : 'X\(//\)$' \| \
22878 X"$ac_file" : 'X\(/\)' \| \
22879 . : '\(.\)' 2>/dev/null ||
22881 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22882 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22883 /^X\(\/\/\)$/{ s//\1/; q; }
22884 /^X\(\/\).*/{ s//\1/; q; }
22886 { if $as_mkdir_p; then
22891 while test ! -d "$as_dir"; do
22892 as_dirs
="$as_dir $as_dirs"
22893 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22894 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22895 X"$as_dir" : 'X\(//\)[^/]' \| \
22896 X"$as_dir" : 'X\(//\)$' \| \
22897 X"$as_dir" : 'X\(/\)' \| \
22898 . : '\(.\)' 2>/dev/null ||
22900 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22901 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22902 /^X\(\/\/\)$/{ s//\1/; q; }
22903 /^X\(\/\).*/{ s//\1/; q; }
22906 test ! -n "$as_dirs" || mkdir
$as_dirs
22907 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22908 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22909 { (exit 1); exit 1; }; }; }
22913 if test "$ac_dir" != .
; then
22914 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22915 # A "../" for each directory in $ac_dir_suffix.
22916 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22918 ac_dir_suffix
= ac_top_builddir
=
22922 .
) # No --srcdir option. We are building in place.
22924 if test -z "$ac_top_builddir"; then
22927 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22929 [\\/]* | ?
:[\\/]* ) # Absolute path.
22930 ac_srcdir
=$srcdir$ac_dir_suffix;
22931 ac_top_srcdir
=$srcdir ;;
22932 *) # Relative path.
22933 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
22934 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
22937 # Do not use `cd foo && pwd` to compute absolute paths, because
22938 # the directories may not exist.
22940 .
) ac_abs_builddir
="$ac_dir";;
22943 .
) ac_abs_builddir
=`pwd`;;
22944 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
22945 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
22948 case $ac_abs_builddir in
22949 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22951 case ${ac_top_builddir}.
in
22952 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
22953 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22954 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
22957 case $ac_abs_builddir in
22958 .
) ac_abs_srcdir
=$ac_srcdir;;
22961 .
) ac_abs_srcdir
=$ac_abs_builddir;;
22962 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
22963 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
22966 case $ac_abs_builddir in
22967 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
22969 case $ac_top_srcdir in
22970 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
22971 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
22972 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
22978 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22979 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
22982 if test x
"$ac_file" != x-
; then
22983 { echo "$as_me:$LINENO: creating $ac_file" >&5
22984 echo "$as_me: creating $ac_file" >&6;}
22987 # Let's still pretend it is `configure' which instantiates (i.e., don't
22988 # use $as_me), people would be surprised to read:
22989 # /* config.h. Generated by config.status. */
22990 if test x
"$ac_file" = x-
; then
22993 configure_input
="$ac_file. "
22995 configure_input
=$configure_input"Generated from `echo $ac_file_in |
22996 sed 's,.*/,,'` by configure."
22998 # First look for the input files in the build tree, otherwise in the
23000 ac_file_inputs
=`IFS=:
23001 for f in $ac_file_in; do
23003 -) echo $tmp/stdin ;;
23005 # Absolute (can't be DOS-style, as IFS=:)
23006 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23007 echo "$as_me: error: cannot find input file: $f" >&2;}
23008 { (exit 1); exit 1; }; }
23011 if test -f "$f"; then
23014 elif test -f "$srcdir/$f"; then
23019 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23020 echo "$as_me: error: cannot find input file: $f" >&2;}
23021 { (exit 1); exit 1; }; }
23024 done` ||
{ (exit 1); exit 1; }
23026 cat >>$CONFIG_STATUS <<_ACEOF
23030 cat >>$CONFIG_STATUS <<\_ACEOF
23032 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23033 s
,@configure_input@
,$configure_input,;t t
23034 s
,@srcdir@
,$ac_srcdir,;t t
23035 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
23036 s
,@top_srcdir@
,$ac_top_srcdir,;t t
23037 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
23038 s
,@builddir@
,$ac_builddir,;t t
23039 s
,@abs_builddir@
,$ac_abs_builddir,;t t
23040 s
,@top_builddir@
,$ac_top_builddir,;t t
23041 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
23042 s
,@INSTALL@
,$ac_INSTALL,;t t
23043 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23045 if test x"$ac_file" != x-; then
23046 mv $tmp/out $ac_file
23054 cat >>$CONFIG_STATUS <<\_ACEOF
23057 # CONFIG_HEADER section.
23060 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
23061 # NAME is the cpp macro being defined and VALUE is the value it is being given.
23063 # ac_d sets the value in "#define NAME VALUE" lines.
23064 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23065 ac_dB
='[ ].*$,\1#\2'
23068 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23069 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23070 ac_uB
='$,\1#\2define\3'
23074 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
23075 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23077 - |
*:- |
*:-:* ) # input from stdin
23079 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23080 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23081 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23082 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23083 * ) ac_file_in
=$ac_file.
in ;;
23086 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
23087 echo "$as_me: creating $ac_file" >&6;}
23089 # First look for the input files in the build tree, otherwise in the
23091 ac_file_inputs
=`IFS=:
23092 for f in $ac_file_in; do
23094 -) echo $tmp/stdin ;;
23096 # Absolute (can't be DOS-style, as IFS=:)
23097 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23098 echo "$as_me: error: cannot find input file: $f" >&2;}
23099 { (exit 1); exit 1; }; }
23100 # Do quote $f, to prevent DOS paths from being IFS'd.
23103 if test -f "$f"; then
23106 elif test -f "$srcdir/$f"; then
23111 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23112 echo "$as_me: error: cannot find input file: $f" >&2;}
23113 { (exit 1); exit 1; }; }
23116 done` ||
{ (exit 1); exit 1; }
23117 # Remove the trailing spaces.
23118 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
23122 # Transform confdefs.h into two sed scripts, `conftest.defines' and
23123 # `conftest.undefs', that substitutes the proper values into
23124 # config.h.in to produce config.h. The first handles `#define'
23125 # templates, and the second `#undef' templates.
23126 # And first: Protect against being on the right side of a sed subst in
23127 # config.status. Protect against being in an unquoted here document
23128 # in config.status.
23129 rm -f conftest.defines conftest.undefs
23130 # Using a here document instead of a string reduces the quoting nightmare.
23131 # Putting comments in sed scripts is not portable.
23133 # `end' is used to avoid that the second main sed command (meant for
23134 # 0-ary CPP macros) applies to n-ary macro definitions.
23135 # See the Autoconf documentation for `clear'.
23136 cat >confdef2sed.
sed <<\_ACEOF
23141 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23143 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23146 # If some macros were called several times there might be several times
23147 # the same #defines, which is useless. Nevertheless, we may not want to
23148 # sort them, since we want the *last* AC-DEFINE to be honored.
23149 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23150 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23151 rm -f confdef2sed.sed
23153 # This sed command replaces #undef with comments. This is necessary, for
23154 # example, in the case of _POSIX_SOURCE, which is predefined and required
23155 # on some systems where configure will not decide to define it.
23156 cat >>conftest.undefs <<\_ACEOF
23157 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23160 # Break up conftest.defines 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 #define templates only if necessary.' >>$CONFIG_STATUS
23163 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23164 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23165 echo ' :' >>$CONFIG_STATUS
23166 rm -f conftest.tail
23167 while grep . conftest.defines >/dev/null
23169 # Write a limited-size here document to $tmp/defines.sed.
23170 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23171 # Speed up: don't consider the non `#define' lines.
23172 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
23173 # Work around the forget-to-reset-the-flag bug.
23174 echo 't clr' >>$CONFIG_STATUS
23175 echo ': clr' >>$CONFIG_STATUS
23176 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
23178 sed -f $tmp/defines.sed $tmp/in >$tmp/out
23180 mv $tmp/out $tmp/in
23182 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
23183 rm -f conftest.defines
23184 mv conftest.
tail conftest.defines
23186 rm -f conftest.defines
23187 echo ' fi # grep' >>$CONFIG_STATUS
23188 echo >>$CONFIG_STATUS
23190 # Break up conftest.undefs because some shells have a limit on the size
23191 # of here documents, and old seds have small limits too (100 cmds).
23192 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23193 rm -f conftest.
tail
23194 while grep . conftest.undefs
>/dev
/null
23196 # Write a limited-size here document to $tmp/undefs.sed.
23197 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23198 # Speed up: don't consider the non
`#undef'
23199 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23200 # Work around the forget-to-reset-the-flag bug.
23201 echo 't clr' >>$CONFIG_STATUS
23202 echo ': clr' >>$CONFIG_STATUS
23203 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23205 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23207 mv $tmp/out $tmp/in
23209 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23210 rm -f conftest.undefs
23211 mv conftest.tail conftest.undefs
23213 rm -f conftest.undefs
23215 cat >>$CONFIG_STATUS <<\_ACEOF
23216 # Let's still pretend it is `configure
' which instantiates (i.e., don't
23217 # use $as_me), people would be surprised to read:
23218 # /* config.h. Generated by config.status. */
23219 if test x
"$ac_file" = x-
; then
23220 echo "/* Generated by configure. */" >$tmp/config.h
23222 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23224 cat $tmp/in >>$tmp/config.h
23226 if test x
"$ac_file" != x-
; then
23227 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
23228 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23229 echo "$as_me: $ac_file is unchanged" >&6;}
23231 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23232 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23233 X"$ac_file" : 'X\(//\)[^/]' \| \
23234 X"$ac_file" : 'X\(//\)$' \| \
23235 X"$ac_file" : 'X\(/\)' \| \
23236 . : '\(.\)' 2>/dev/null ||
23238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23239 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23240 /^X\(\/\/\)$/{ s//\1/; q; }
23241 /^X\(\/\).*/{ s//\1/; q; }
23243 { if $as_mkdir_p; then
23248 while test ! -d "$as_dir"; do
23249 as_dirs
="$as_dir $as_dirs"
23250 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23251 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23252 X"$as_dir" : 'X\(//\)[^/]' \| \
23253 X"$as_dir" : 'X\(//\)$' \| \
23254 X"$as_dir" : 'X\(/\)' \| \
23255 . : '\(.\)' 2>/dev/null ||
23257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23258 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23259 /^X\(\/\/\)$/{ s//\1/; q; }
23260 /^X\(\/\).*/{ s//\1/; q; }
23263 test ! -n "$as_dirs" || mkdir
$as_dirs
23264 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23265 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23266 { (exit 1); exit 1; }; }; }
23269 mv $tmp/config.h
$ac_file
23273 rm -f $tmp/config.h
23275 # Compute $ac_file's index in $config_headers.
23277 for _am_header
in $config_headers :; do
23278 case $_am_header in
23279 $ac_file |
$ac_file:* )
23282 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23285 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
23286 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23287 X$ac_file : 'X\(//\)[^/]' \| \
23288 X$ac_file : 'X\(//\)$' \| \
23289 X$ac_file : 'X\(/\)' \| \
23290 . : '\(.\)' 2>/dev/null ||
23292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23293 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23294 /^X\(\/\/\)$/{ s//\1/; q; }
23295 /^X\(\/\).*/{ s//\1/; q; }
23296 s/.*/./; q'`/stamp-h
$_am_stamp_count
23299 cat >>$CONFIG_STATUS <<\_ACEOF
23302 # CONFIG_COMMANDS section.
23304 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
23305 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
23306 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23307 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
23308 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23309 X"$ac_dest" : 'X\(//\)[^/]' \| \
23310 X"$ac_dest" : 'X\(//\)$' \| \
23311 X"$ac_dest" : 'X\(/\)' \| \
23312 . : '\(.\)' 2>/dev/null ||
23314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23315 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23316 /^X\(\/\/\)$/{ s//\1/; q; }
23317 /^X\(\/\).*/{ s//\1/; q; }
23319 { if $as_mkdir_p; then
23324 while test ! -d "$as_dir"; do
23325 as_dirs
="$as_dir $as_dirs"
23326 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23327 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23328 X"$as_dir" : 'X\(//\)[^/]' \| \
23329 X"$as_dir" : 'X\(//\)$' \| \
23330 X"$as_dir" : 'X\(/\)' \| \
23331 . : '\(.\)' 2>/dev/null ||
23333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23334 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23335 /^X\(\/\/\)$/{ s//\1/; q; }
23336 /^X\(\/\).*/{ s//\1/; q; }
23339 test ! -n "$as_dirs" || mkdir
$as_dirs
23340 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23341 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23342 { (exit 1); exit 1; }; }; }
23346 if test "$ac_dir" != .
; then
23347 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23348 # A "../" for each directory in $ac_dir_suffix.
23349 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23351 ac_dir_suffix
= ac_top_builddir
=
23355 .
) # No --srcdir option. We are building in place.
23357 if test -z "$ac_top_builddir"; then
23360 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23362 [\\/]* | ?
:[\\/]* ) # Absolute path.
23363 ac_srcdir
=$srcdir$ac_dir_suffix;
23364 ac_top_srcdir
=$srcdir ;;
23365 *) # Relative path.
23366 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23367 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23370 # Do not use `cd foo && pwd` to compute absolute paths, because
23371 # the directories may not exist.
23373 .
) ac_abs_builddir
="$ac_dir";;
23376 .
) ac_abs_builddir
=`pwd`;;
23377 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23378 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23381 case $ac_abs_builddir in
23382 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23384 case ${ac_top_builddir}.
in
23385 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23386 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23387 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23390 case $ac_abs_builddir in
23391 .
) ac_abs_srcdir
=$ac_srcdir;;
23394 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23395 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23396 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23399 case $ac_abs_builddir in
23400 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23402 case $ac_top_srcdir in
23403 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23404 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23405 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23410 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23411 echo "$as_me: executing $ac_dest commands" >&6;}
23414 # Only add multilib support code if we just rebuilt the top-level
23416 case " $CONFIG_FILES " in
23418 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
23421 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
23422 # Strip MF so we end up with the name of the file.
23423 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23424 # Check whether this is an Automake generated Makefile or not.
23425 # We used to match only the files named `Makefile.in', but
23426 # some people rename them; so instead we look at the file content.
23427 # Grep'ing the first line is not enough: some people post-process
23428 # each Makefile.in and add a new line on top of each file to say so.
23429 # So let's grep whole file.
23430 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
23431 dirpart
=`(dirname "$mf") 2>/dev/null ||
23432 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23433 X"$mf" : 'X\(//\)[^/]' \| \
23434 X"$mf" : 'X\(//\)$' \| \
23435 X"$mf" : 'X\(/\)' \| \
23436 . : '\(.\)' 2>/dev/null ||
23438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23439 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23440 /^X\(\/\/\)$/{ s//\1/; q; }
23441 /^X\(\/\).*/{ s//\1/; q; }
23446 # Extract the definition of DEPDIR, am__include, and am__quote
23447 # from the Makefile without running `make'.
23448 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23449 test -z "$DEPDIR" && continue
23450 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23451 test -z "am__include" && continue
23452 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23453 # When using ansi2knr, U may be empty or an underscore; expand it
23454 U
=`sed -n 's/^U = //p' < "$mf"`
23455 # Find all dependency output files, they are included files with
23456 # $(DEPDIR) in their names. We invoke sed twice because it is the
23457 # simplest approach to changing $(DEPDIR) to its actual value in the
23459 for file in `sed -n "
23460 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23461 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23462 # Make sure the directory exists.
23463 test -f "$dirpart/$file" && continue
23464 fdir
=`(dirname "$file") 2>/dev/null ||
23465 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23466 X"$file" : 'X\(//\)[^/]' \| \
23467 X"$file" : 'X\(//\)$' \| \
23468 X"$file" : 'X\(/\)' \| \
23469 . : '\(.\)' 2>/dev/null ||
23471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23472 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23473 /^X\(\/\/\)$/{ s//\1/; q; }
23474 /^X\(\/\).*/{ s//\1/; q; }
23476 { if $as_mkdir_p; then
23477 mkdir
-p $dirpart/$fdir
23479 as_dir
=$dirpart/$fdir
23481 while test ! -d "$as_dir"; do
23482 as_dirs
="$as_dir $as_dirs"
23483 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23484 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23485 X"$as_dir" : 'X\(//\)[^/]' \| \
23486 X"$as_dir" : 'X\(//\)$' \| \
23487 X"$as_dir" : 'X\(/\)' \| \
23488 . : '\(.\)' 2>/dev/null ||
23490 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23491 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23492 /^X\(\/\/\)$/{ s//\1/; q; }
23493 /^X\(\/\).*/{ s//\1/; q; }
23496 test ! -n "$as_dirs" || mkdir
$as_dirs
23497 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
23498 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
23499 { (exit 1); exit 1; }; }; }
23501 # echo "creating $dirpart/$file"
23502 echo '# dummy' > "$dirpart/$file"
23508 # See if we are running on zsh, and set the options which allow our
23509 # commands through without removal of \ escapes.
23510 if test -n "${ZSH_VERSION+set}" ; then
23511 setopt NO_GLOB_SUBST
23514 cfgfile
="${ofile}T"
23515 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23518 cat <<_LT_EOF >> "$cfgfile"
23521 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
23522 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
23523 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23524 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23526 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
23527 # 2006, 2007, 2008 Free Software Foundation, Inc.
23528 # Written by Gordon Matzigkeit, 1996
23530 # This file is part of GNU Libtool.
23532 # GNU Libtool is free software; you can redistribute it and/or
23533 # modify it under the terms of the GNU General Public License as
23534 # published by the Free Software Foundation; either version 2 of
23535 # the License, or (at your option) any later version.
23537 # As a special exception to the GNU General Public License,
23538 # if you distribute this file as part of a program or library that
23539 # is built using GNU Libtool, you may include this file under the
23540 # same distribution terms that you use for the rest of that program.
23542 # GNU Libtool is distributed in the hope that it will be useful,
23543 # but WITHOUT ANY WARRANTY; without even the implied warranty of
23544 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23545 # GNU General Public License for more details.
23547 # You should have received a copy of the GNU General Public License
23548 # along with GNU Libtool; see the file COPYING. If not, a copy
23549 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
23550 # obtained by writing to the Free Software Foundation, Inc.,
23551 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23554 # The names of the tagged configurations supported by this script.
23555 available_tags="FC "
23557 # ### BEGIN LIBTOOL CONFIG
23559 # Which release of libtool.m4 was used?
23560 macro_version=$macro_version
23561 macro_revision=$macro_revision
23563 # Whether or not to build shared libraries.
23564 build_libtool_libs=$enable_shared
23566 # Whether or not to build static libraries.
23567 build_old_libs=$enable_static
23569 # What type of objects to build.
23572 # Whether or not to optimize for fast installation.
23573 fast_install=$enable_fast_install
23576 host_alias=$host_alias
23580 # The build system.
23581 build_alias=$build_alias
23585 # A sed program that does not truncate output.
23588 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23589 Xsed="\$SED -e 1s/^X//"
23591 # A grep program that handles long lines.
23597 # A literal string matcher.
23600 # A BSD- or MS-compatible name lister.
23603 # Whether we need soft or hard links.
23606 # What is the maximum length of a command?
23607 max_cmd_len=$max_cmd_len
23609 # Object file suffix (normally "o").
23612 # Executable file suffix (normally "").
23615 # whether the shell understands "unset".
23618 # turn spaces into newlines.
23621 # turn newlines into spaces.
23624 # How to create reloadable object files.
23625 reload_flag=$lt_reload_flag
23626 reload_cmds=$lt_reload_cmds
23628 # An object symbol dumper.
23629 OBJDUMP=$lt_OBJDUMP
23631 # Method to check whether dependent libraries are shared objects.
23632 deplibs_check_method=$lt_deplibs_check_method
23634 # Command to use when deplibs_check_method == "file_magic".
23635 file_magic_cmd=$lt_file_magic_cmd
23639 AR_FLAGS=$lt_AR_FLAGS
23641 # A symbol stripping program.
23644 # Commands used to install an old-style archive.
23646 old_postinstall_cmds=$lt_old_postinstall_cmds
23647 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23652 # LTCC compiler flags.
23653 LTCFLAGS=$lt_CFLAGS
23655 # Take the output of nm and produce a listing of raw symbols and C names.
23656 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23658 # Transform the output of nm in a proper C declaration.
23659 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23661 # Transform the output of nm in a C name address pair.
23662 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23664 # Transform the output of nm in a C name address pair when lib prefix is needed.
23665 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23667 # The name of the directory that contains temporary libtool files.
23670 # Shell to use when invoking shell scripts.
23673 # An echo program that does not interpret backslashes.
23676 # Used to examine libraries when file_magic_cmd begins with "file".
23677 MAGIC_CMD=$MAGIC_CMD
23679 # Must we lock files when doing compilation?
23680 need_locks=$lt_need_locks
23682 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23683 DSYMUTIL=$lt_DSYMUTIL
23685 # Tool to change global to local symbols on Mac OS X.
23688 # Tool to manipulate fat objects and archives on Mac OS X.
23691 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23694 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23695 OTOOL64=$lt_OTOOL64
23697 # Old archive suffix (normally "a").
23700 # Shared library suffix (normally ".so").
23701 shrext_cmds=$lt_shrext_cmds
23703 # The commands to extract the exported symbol list from a shared archive.
23704 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23706 # Variables whose values should be saved in libtool wrapper scripts and
23707 # restored at link time.
23708 variables_saved_for_relink=$lt_variables_saved_for_relink
23710 # Do we need the "lib" prefix for modules?
23711 need_lib_prefix=$need_lib_prefix
23713 # Do we need a version for libraries?
23714 need_version=$need_version
23716 # Library versioning type.
23717 version_type=$version_type
23719 # Shared library runtime path variable.
23720 runpath_var=$runpath_var
23722 # Shared library path variable.
23723 shlibpath_var=$shlibpath_var
23725 # Is shlibpath searched before the hard-coded library search path?
23726 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23728 # Format of library name prefix.
23729 libname_spec=$lt_libname_spec
23731 # List of archive names. First name is the real one, the rest are links.
23732 # The last name is the one that the linker finds with -lNAME
23733 library_names_spec=$lt_library_names_spec
23735 # The coded name of the library, if different from the real name.
23736 soname_spec=$lt_soname_spec
23738 # Command to use after installation of a shared archive.
23739 postinstall_cmds=$lt_postinstall_cmds
23741 # Command to use after uninstallation of a shared archive.
23742 postuninstall_cmds=$lt_postuninstall_cmds
23744 # Commands used to finish a libtool library installation in a directory.
23745 finish_cmds=$lt_finish_cmds
23747 # As "finish_cmds", except a single script fragment to be evaled but
23749 finish_eval=$lt_finish_eval
23751 # Whether we should hardcode library paths into libraries.
23752 hardcode_into_libs=$hardcode_into_libs
23754 # Compile-time system search path for libraries.
23755 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23757 # Run-time system search path for libraries.
23758 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23760 # Whether dlopen is supported.
23761 dlopen_support=$enable_dlopen
23763 # Whether dlopen of programs is supported.
23764 dlopen_self=$enable_dlopen_self
23766 # Whether dlopen of statically linked programs is supported.
23767 dlopen_self_static=$enable_dlopen_self_static
23769 # Commands to strip libraries.
23770 old_striplib=$lt_old_striplib
23771 striplib=$lt_striplib
23774 # The linker used to build libraries.
23777 # Commands used to build an old-style archive.
23778 old_archive_cmds=$lt_old_archive_cmds
23780 # A language specific compiler.
23783 # Is the compiler the GNU compiler?
23786 # Compiler flag to turn off builtin functions.
23787 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23789 # How to pass a linker flag through the compiler.
23790 wl=$lt_lt_prog_compiler_wl
23792 # Additional compiler flags for building library objects.
23793 pic_flag=$lt_lt_prog_compiler_pic
23795 # Compiler flag to prevent dynamic linking.
23796 link_static_flag=$lt_lt_prog_compiler_static
23798 # Does compiler simultaneously support -c and -o options?
23799 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23801 # Whether or not to add -lc for building shared libraries.
23802 build_libtool_need_lc=$archive_cmds_need_lc
23804 # Whether or not to disallow shared libs when runtime libs are static.
23805 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23807 # Compiler flag to allow reflexive dlopens.
23808 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23810 # Compiler flag to generate shared objects directly from archives.
23811 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23813 # Whether the compiler copes with passing no objects directly.
23814 compiler_needs_object=$lt_compiler_needs_object
23816 # Create an old-style archive from a shared archive.
23817 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23819 # Create a temporary old-style archive to link instead of a shared archive.
23820 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23822 # Commands used to build a shared archive.
23823 archive_cmds=$lt_archive_cmds
23824 archive_expsym_cmds=$lt_archive_expsym_cmds
23826 # Commands used to build a loadable module if different from building
23827 # a shared archive.
23828 module_cmds=$lt_module_cmds
23829 module_expsym_cmds=$lt_module_expsym_cmds
23831 # Whether we are building with GNU ld or not.
23832 with_gnu_ld=$lt_with_gnu_ld
23834 # Flag that allows shared libraries with undefined symbols to be built.
23835 allow_undefined_flag=$lt_allow_undefined_flag
23837 # Flag that enforces no undefined symbols.
23838 no_undefined_flag=$lt_no_undefined_flag
23840 # Flag to hardcode \$libdir into a binary during linking.
23841 # This must work even if \$libdir does not exist
23842 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23844 # If ld is used when linking, flag to hardcode \$libdir into a binary
23845 # during linking. This must work even if \$libdir does not exist.
23846 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
23848 # Whether we need a single "-rpath" flag with a separated argument.
23849 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23851 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23852 # DIR into the resulting binary.
23853 hardcode_direct=$hardcode_direct
23855 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23856 # DIR into the resulting binary and the resulting library dependency is
23857 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23858 # library is relocated.
23859 hardcode_direct_absolute=$hardcode_direct_absolute
23861 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23862 # into the resulting binary.
23863 hardcode_minus_L=$hardcode_minus_L
23865 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23866 # into the resulting binary.
23867 hardcode_shlibpath_var=$hardcode_shlibpath_var
23869 # Set to "yes" if building a shared library automatically hardcodes DIR
23870 # into the library and all subsequent libraries and executables linked
23872 hardcode_automatic=$hardcode_automatic
23874 # Set to yes if linker adds runtime paths of dependent libraries
23875 # to runtime path list.
23876 inherit_rpath=$inherit_rpath
23878 # Whether libtool must link a program against all its dependency libraries.
23879 link_all_deplibs=$link_all_deplibs
23881 # Fix the shell variable \$srcfile for the compiler.
23882 fix_srcfile_path=$lt_fix_srcfile_path
23884 # Set to "yes" if exported symbols are required.
23885 always_export_symbols=$always_export_symbols
23887 # The commands to list exported symbols.
23888 export_symbols_cmds=$lt_export_symbols_cmds
23890 # Symbols that should not be listed in the preloaded symbols.
23891 exclude_expsyms=$lt_exclude_expsyms
23893 # Symbols that must always be exported.
23894 include_expsyms=$lt_include_expsyms
23896 # Commands necessary for linking programs (against libraries) with templates.
23897 prelink_cmds=$lt_prelink_cmds
23899 # Specify filename containing input files.
23900 file_list_spec=$lt_file_list_spec
23902 # How to hardcode a shared library path into an executable.
23903 hardcode_action=$hardcode_action
23905 # The directories searched by this compiler when creating a shared library.
23906 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23908 # Dependencies to place before and after the objects being linked to
23909 # create a shared library.
23910 predep_objects=$lt_predep_objects
23911 postdep_objects=$lt_postdep_objects
23912 predeps=$lt_predeps
23913 postdeps=$lt_postdeps
23915 # The library search path used internally by the compiler when linking
23916 # a shared library.
23917 compiler_lib_search_path=$lt_compiler_lib_search_path
23919 # ### END LIBTOOL CONFIG
23925 cat <<\_LT_EOF
>> "$cfgfile"
23926 # AIX sometimes has problems with the GCC collect2 program. For some
23927 # reason, if we set the COLLECT_NAMES environment variable, the problems
23928 # vanish in a puff of smoke.
23929 if test "X${COLLECT_NAMES+set}" != Xset
; then
23931 export COLLECT_NAMES
23938 ltmain
="$ac_aux_dir/ltmain.sh"
23941 # We use sed instead of cat because bash on DJGPP gets confused if
23942 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23943 # text mode, it properly converts lines to CR/LF. This bash problem
23944 # is reportedly fixed, but why not run on old versions too?
23945 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
23946 ||
(rm -f "$cfgfile"; exit 1)
23950 cat << \_LT_EOF
>> "$cfgfile"
23952 # func_dirname file append nondir_replacement
23953 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
23954 # otherwise set result to NONDIR_REPLACEMENT.
23958 */*) func_dirname_result
="${1%/*}${2}" ;;
23959 * ) func_dirname_result
="${3}" ;;
23963 # func_basename file
23966 func_basename_result
="${1##*/}"
23969 # func_dirname_and_basename file append nondir_replacement
23970 # perform func_basename and func_dirname in a single function
23972 # dirname: Compute the dirname of FILE. If nonempty,
23973 # add APPEND to the result, otherwise set result
23974 # to NONDIR_REPLACEMENT.
23975 # value returned in "$func_dirname_result"
23976 # basename: Compute filename of FILE.
23977 # value retuned in "$func_basename_result"
23978 # Implementation must be kept synchronized with func_dirname
23979 # and func_basename. For efficiency, we do not delegate to
23980 # those functions but instead duplicate the functionality here.
23981 func_dirname_and_basename
()
23984 */*) func_dirname_result
="${1%/*}${2}" ;;
23985 * ) func_dirname_result
="${3}" ;;
23987 func_basename_result
="${1##*/}"
23990 # func_stripname prefix suffix name
23991 # strip PREFIX and SUFFIX off of NAME.
23992 # PREFIX and SUFFIX must not contain globbing or regex special
23993 # characters, hashes, percent signs, but SUFFIX may contain a leading
23994 # dot (in which case that matches only a dot).
23997 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
23998 # positional parameters, so assign one to ordinary parameter first.
23999 func_stripname_result
=${3}
24000 func_stripname_result
=${func_stripname_result#"${1}"}
24001 func_stripname_result
=${func_stripname_result%"${2}"}
24007 func_opt_split_opt
=${1%%=*}
24008 func_opt_split_arg
=${1#*=}
24015 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
24016 *) func_lo2o_result
=${1} ;;
24020 # func_xform libobj-or-source
24023 func_xform_result
=${1%.*}.lo
24026 # func_arith arithmetic-term...
24029 func_arith_result
=$
(( $
* ))
24033 # STRING may not start with a hyphen.
24036 func_len_result
=${#1}
24041 *) # Bourne compatible functions.
24042 cat << \_LT_EOF
>> "$cfgfile"
24044 # func_dirname file append nondir_replacement
24045 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
24046 # otherwise set result to NONDIR_REPLACEMENT.
24049 # Extract subdirectory from the argument.
24050 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
24051 if test "X$func_dirname_result" = "X${1}"; then
24052 func_dirname_result
="${3}"
24054 func_dirname_result
="$func_dirname_result${2}"
24058 # func_basename file
24061 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
24065 # func_stripname prefix suffix name
24066 # strip PREFIX and SUFFIX off of NAME.
24067 # PREFIX and SUFFIX must not contain globbing or regex special
24068 # characters, hashes, percent signs, but SUFFIX may contain a leading
24069 # dot (in which case that matches only a dot).
24070 # func_strip_suffix prefix name
24074 .
*) func_stripname_result
=`$ECHO "X${3}" \
24075 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
24076 *) func_stripname_result
=`$ECHO "X${3}" \
24077 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
24082 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
24083 my_sed_long_arg
='1s/^-[^=]*=//'
24088 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
24089 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
24095 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
24098 # func_xform libobj-or-source
24101 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
24104 # func_arith arithmetic-term...
24107 func_arith_result
=`expr "$@"`
24111 # STRING may not start with a hyphen.
24114 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
24120 case $lt_shell_append in
24122 cat << \_LT_EOF
>> "$cfgfile"
24124 # func_append var value
24125 # Append VALUE to the end of shell variable VAR.
24133 cat << \_LT_EOF
>> "$cfgfile"
24135 # func_append var value
24136 # Append VALUE to the end of shell variable VAR.
24147 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
24148 ||
(rm -f "$cfgfile"; exit 1)
24150 mv -f "$cfgfile" "$ofile" ||
24151 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24155 cat <<_LT_EOF >> "$ofile"
24157 # ### BEGIN LIBTOOL TAG CONFIG: FC
24159 # The linker used to build libraries.
24162 # Commands used to build an old-style archive.
24163 old_archive_cmds=$lt_old_archive_cmds_FC
24165 # A language specific compiler.
24168 # Is the compiler the GNU compiler?
24171 # Compiler flag to turn off builtin functions.
24172 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
24174 # How to pass a linker flag through the compiler.
24175 wl=$lt_lt_prog_compiler_wl_FC
24177 # Additional compiler flags for building library objects.
24178 pic_flag=$lt_lt_prog_compiler_pic_FC
24180 # Compiler flag to prevent dynamic linking.
24181 link_static_flag=$lt_lt_prog_compiler_static_FC
24183 # Does compiler simultaneously support -c and -o options?
24184 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
24186 # Whether or not to add -lc for building shared libraries.
24187 build_libtool_need_lc=$archive_cmds_need_lc_FC
24189 # Whether or not to disallow shared libs when runtime libs are static.
24190 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
24192 # Compiler flag to allow reflexive dlopens.
24193 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
24195 # Compiler flag to generate shared objects directly from archives.
24196 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
24198 # Whether the compiler copes with passing no objects directly.
24199 compiler_needs_object=$lt_compiler_needs_object_FC
24201 # Create an old-style archive from a shared archive.
24202 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
24204 # Create a temporary old-style archive to link instead of a shared archive.
24205 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
24207 # Commands used to build a shared archive.
24208 archive_cmds=$lt_archive_cmds_FC
24209 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
24211 # Commands used to build a loadable module if different from building
24212 # a shared archive.
24213 module_cmds=$lt_module_cmds_FC
24214 module_expsym_cmds=$lt_module_expsym_cmds_FC
24216 # Whether we are building with GNU ld or not.
24217 with_gnu_ld=$lt_with_gnu_ld_FC
24219 # Flag that allows shared libraries with undefined symbols to be built.
24220 allow_undefined_flag=$lt_allow_undefined_flag_FC
24222 # Flag that enforces no undefined symbols.
24223 no_undefined_flag=$lt_no_undefined_flag_FC
24225 # Flag to hardcode \$libdir into a binary during linking.
24226 # This must work even if \$libdir does not exist
24227 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
24229 # If ld is used when linking, flag to hardcode \$libdir into a binary
24230 # during linking. This must work even if \$libdir does not exist.
24231 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
24233 # Whether we need a single "-rpath" flag with a separated argument.
24234 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
24236 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24237 # DIR into the resulting binary.
24238 hardcode_direct=$hardcode_direct_FC
24240 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24241 # DIR into the resulting binary and the resulting library dependency is
24242 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24243 # library is relocated.
24244 hardcode_direct_absolute=$hardcode_direct_absolute_FC
24246 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24247 # into the resulting binary.
24248 hardcode_minus_L=$hardcode_minus_L_FC
24250 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24251 # into the resulting binary.
24252 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
24254 # Set to "yes" if building a shared library automatically hardcodes DIR
24255 # into the library and all subsequent libraries and executables linked
24257 hardcode_automatic=$hardcode_automatic_FC
24259 # Set to yes if linker adds runtime paths of dependent libraries
24260 # to runtime path list.
24261 inherit_rpath=$inherit_rpath_FC
24263 # Whether libtool must link a program against all its dependency libraries.
24264 link_all_deplibs=$link_all_deplibs_FC
24266 # Fix the shell variable \$srcfile for the compiler.
24267 fix_srcfile_path=$lt_fix_srcfile_path_FC
24269 # Set to "yes" if exported symbols are required.
24270 always_export_symbols=$always_export_symbols_FC
24272 # The commands to list exported symbols.
24273 export_symbols_cmds=$lt_export_symbols_cmds_FC
24275 # Symbols that should not be listed in the preloaded symbols.
24276 exclude_expsyms=$lt_exclude_expsyms_FC
24278 # Symbols that must always be exported.
24279 include_expsyms=$lt_include_expsyms_FC
24281 # Commands necessary for linking programs (against libraries) with templates.
24282 prelink_cmds=$lt_prelink_cmds_FC
24284 # Specify filename containing input files.
24285 file_list_spec=$lt_file_list_spec_FC
24287 # How to hardcode a shared library path into an executable.
24288 hardcode_action=$hardcode_action_FC
24290 # The directories searched by this compiler when creating a shared library.
24291 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
24293 # Dependencies to place before and after the objects being linked to
24294 # create a shared library.
24295 predep_objects=$lt_predep_objects_FC
24296 postdep_objects=$lt_postdep_objects_FC
24297 predeps=$lt_predeps_FC
24298 postdeps=$lt_postdeps_FC
24300 # The library search path used internally by the compiler when linking
24301 # a shared library.
24302 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
24304 # ### END LIBTOOL TAG CONFIG: FC
24309 if test "$GCC" = yes; then
24310 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
24312 echo "/* generated for $CC */" > tmp-stdint.h
24315 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24317 #ifndef GCC_GENERATED_STDINT_H
24318 #define GCC_GENERATED_STDINT_H 1
24320 #include <sys/types.h>
24323 if test "$acx_cv_header_stdint" != stdint.h
; then
24324 echo "#include <stddef.h>" >> tmp-stdint.h
24326 if test "$acx_cv_header_stdint" != stddef.h
; then
24327 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
24330 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24331 /* glibc uses these symbols as guards to prevent redefinitions. */
24332 #ifdef __int8_t_defined
24337 #ifdef __uint32_t_defined
24343 # ----------------- done header, emit basic int types -------------
24344 if test "$acx_cv_header_stdint" = stddef.h
; then
24345 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24349 #ifndef __uint8_t_defined
24350 #define __uint8_t_defined
24351 typedef unsigned $acx_cv_type_int8_t uint8_t;
24357 #ifndef __uint16_t_defined
24358 #define __uint16_t_defined
24359 typedef unsigned $acx_cv_type_int16_t uint16_t;
24365 #ifndef __uint32_t_defined
24366 #define __uint32_t_defined
24367 typedef unsigned $acx_cv_type_int32_t uint32_t;
24373 #ifndef __int8_t_defined
24374 #define __int8_t_defined
24375 typedef $acx_cv_type_int8_t int8_t;
24381 #ifndef __int16_t_defined
24382 #define __int16_t_defined
24383 typedef $acx_cv_type_int16_t int16_t;
24389 #ifndef __int32_t_defined
24390 #define __int32_t_defined
24391 typedef $acx_cv_type_int32_t int32_t;
24395 elif test "$ac_cv_type_u_int32_t" = yes; then
24396 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24398 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
24411 #ifndef __uint8_t_defined
24412 #define __uint8_t_defined
24413 typedef u_int8_t uint8_t;
24419 #ifndef __uint16_t_defined
24420 #define __uint16_t_defined
24421 typedef u_int16_t uint16_t;
24427 #ifndef __uint32_t_defined
24428 #define __uint32_t_defined
24429 typedef u_int32_t uint32_t;
24434 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24436 /* Some systems have guard macros to prevent redefinitions, define them. */
24458 # ------------- done basic int types, emit int64_t types ------------
24459 if test "$ac_cv_type_uint64_t" = yes; then
24460 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24462 /* system headers have good uint64_t and int64_t */
24470 elif test "$ac_cv_type_u_int64_t" = yes; then
24471 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24473 /* system headers have an u_int64_t (and int64_t) */
24479 #ifndef __uint64_t_defined
24480 #define __uint64_t_defined
24481 typedef u_int64_t uint64_t;
24485 elif test -n "$acx_cv_type_int64_t"; then
24486 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24488 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
24491 typedef $acx_cv_type_int64_t int64_t;
24495 #ifndef __uint64_t_defined
24496 #define __uint64_t_defined
24497 typedef unsigned $acx_cv_type_int64_t uint64_t;
24502 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24504 /* some common heuristics for int64_t, using compiler-specific tests */
24505 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
24508 #ifndef __int64_t_defined
24509 typedef long long int64_t;
24514 typedef unsigned long long uint64_t;
24517 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
24518 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
24519 does not implement __extension__. But that compiler doesn't define
24521 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
24522 # define __extension__
24527 __extension__ typedef long long int64_t;
24531 __extension__ typedef unsigned long long uint64_t;
24534 #elif !defined __STRICT_ANSI__
24535 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
24539 typedef __int64 int64_t;
24543 typedef unsigned __int64 uint64_t;
24545 # endif /* compiler */
24547 #endif /* ANSI version */
24551 # ------------- done int64_t types, emit intptr types ------------
24552 if test "$ac_cv_type_uintptr_t" != yes; then
24553 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24555 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
24556 #ifndef __uintptr_t_defined
24557 typedef u$acx_cv_type_intptr_t uintptr_t;
24559 #ifndef __intptr_t_defined
24560 typedef $acx_cv_type_intptr_t intptr_t;
24565 # ------------- done intptr types, emit int_least types ------------
24566 if test "$ac_cv_type_int_least32_t" != yes; then
24567 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24569 /* Define int_least types */
24570 typedef int8_t int_least8_t;
24571 typedef int16_t int_least16_t;
24572 typedef int32_t int_least32_t;
24574 typedef int64_t int_least64_t;
24577 typedef uint8_t uint_least8_t;
24578 typedef uint16_t uint_least16_t;
24579 typedef uint32_t uint_least32_t;
24581 typedef uint64_t uint_least64_t;
24586 # ------------- done intptr types, emit int_fast types ------------
24587 if test "$ac_cv_type_int_fast32_t" != yes; then
24588 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24590 /* Define int_fast types. short is often slow */
24591 typedef int8_t int_fast8_t;
24592 typedef int int_fast16_t;
24593 typedef int32_t int_fast32_t;
24595 typedef int64_t int_fast64_t;
24598 typedef uint8_t uint_fast8_t;
24599 typedef unsigned int uint_fast16_t;
24600 typedef uint32_t uint_fast32_t;
24602 typedef uint64_t uint_fast64_t;
24607 if test "$ac_cv_type_uintmax_t" != yes; then
24608 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24610 /* Define intmax based on what we found */
24612 typedef int64_t intmax_t;
24614 typedef long intmax_t;
24617 typedef uint64_t uintmax_t;
24619 typedef unsigned long uintmax_t;
24624 sed 's/^ *//' >> tmp-stdint.h
<<EOF
24626 #endif /* GCC_GENERATED_STDINT_H */
24629 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
24632 mv -f tmp-stdint.h gstdint.h
24640 cat >>$CONFIG_STATUS <<\_ACEOF
24642 { (exit 0); exit 0; }
24644 chmod +x
$CONFIG_STATUS
24645 ac_clean_files
=$ac_clean_files_save
24648 # configure is writing to config.log, and then calls config.status.
24649 # config.status does its own redirection, appending to config.log.
24650 # Unfortunately, on DOS this fails, as config.log is still kept open
24651 # by configure, so config.status won't be able to write to it; its
24652 # output is simply discarded. So we exec the FD to /dev/null,
24653 # effectively closing config.log, so it can be properly (re)opened and
24654 # appended to by config.status. When coming back to configure, we
24655 # need to make the FD available again.
24656 if test "$no_create" != yes; then
24658 ac_config_status_args
=
24659 test "$silent" = yes &&
24660 ac_config_status_args
="$ac_config_status_args --quiet"
24662 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24664 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24665 # would make configure fail if this is the last instruction.
24666 $ac_cs_success ||
{ (exit 1); exit 1; }