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 lt_ECHO 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 LIBOBJS LTLIBOBJS'
463 # Initialize some variables set by options.
465 ac_init_version
=false
466 # The variables have the same names as the options, with
467 # dashes changed to underlines.
475 program_transform_name
=s
,x
,x
,
483 # Installation directory options.
484 # These are left unexpanded so users can "make install exec_prefix=/foo"
485 # and all the variables that are supposed to be based on exec_prefix
486 # by default will actually change.
487 # Use braces instead of parens because sh, perl, etc. also accept them.
488 bindir
='${exec_prefix}/bin'
489 sbindir
='${exec_prefix}/sbin'
490 libexecdir
='${exec_prefix}/libexec'
491 datadir
='${prefix}/share'
492 sysconfdir
='${prefix}/etc'
493 sharedstatedir
='${prefix}/com'
494 localstatedir
='${prefix}/var'
495 libdir
='${exec_prefix}/lib'
496 includedir
='${prefix}/include'
497 oldincludedir
='/usr/include'
498 infodir
='${prefix}/info'
499 mandir
='${prefix}/man'
504 # If the previous option needs an argument, assign it.
505 if test -n "$ac_prev"; then
506 eval "$ac_prev=\$ac_option"
511 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
513 # Accept the important Cygnus configure options, so we can diagnose typos.
517 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
519 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
522 -build |
--build |
--buil |
--bui |
--bu)
523 ac_prev
=build_alias
;;
524 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
525 build_alias
=$ac_optarg ;;
527 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
528 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
529 ac_prev
=cache_file
;;
530 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
531 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
532 cache_file
=$ac_optarg ;;
535 cache_file
=config.cache
;;
537 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
539 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
541 datadir
=$ac_optarg ;;
543 -disable-* |
--disable-*)
544 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
545 # Reject names that are not valid shell variable names.
546 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
547 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
548 { (exit 1); exit 1; }; }
549 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
550 eval "enable_$ac_feature=no" ;;
552 -enable-* |
--enable-*)
553 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
554 # Reject names that are not valid shell variable names.
555 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
556 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
557 { (exit 1); exit 1; }; }
558 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
560 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
563 eval "enable_$ac_feature='$ac_optarg'" ;;
565 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
566 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
567 |
--exec |
--exe |
--ex)
568 ac_prev
=exec_prefix
;;
569 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
570 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
571 |
--exec=* |
--exe=* |
--ex=*)
572 exec_prefix
=$ac_optarg ;;
574 -gas |
--gas |
--ga |
--g)
575 # Obsolete; use --with-gas.
578 -help |
--help |
--hel |
--he |
-h)
580 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
581 ac_init_help
=recursive
;;
582 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
583 ac_init_help
=short
;;
585 -host |
--host |
--hos |
--ho)
586 ac_prev
=host_alias
;;
587 -host=* |
--host=* |
--hos=* |
--ho=*)
588 host_alias
=$ac_optarg ;;
590 -includedir |
--includedir |
--includedi |
--included |
--include \
591 |
--includ |
--inclu |
--incl |
--inc)
592 ac_prev
=includedir
;;
593 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
594 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
595 includedir
=$ac_optarg ;;
597 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
599 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
600 infodir
=$ac_optarg ;;
602 -libdir |
--libdir |
--libdi |
--libd)
604 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
607 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
608 |
--libexe |
--libex |
--libe)
609 ac_prev
=libexecdir
;;
610 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
611 |
--libexe=* |
--libex=* |
--libe=*)
612 libexecdir
=$ac_optarg ;;
614 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
615 |
--localstate |
--localstat |
--localsta |
--localst \
616 |
--locals |
--local |
--loca |
--loc |
--lo)
617 ac_prev
=localstatedir
;;
618 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
619 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
620 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
621 localstatedir
=$ac_optarg ;;
623 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
625 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
629 # Obsolete; use --without-fp.
632 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
633 |
--no-cr |
--no-c |
-n)
636 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
637 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
640 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
641 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
642 |
--oldin |
--oldi |
--old |
--ol |
--o)
643 ac_prev
=oldincludedir
;;
644 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
645 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
646 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
647 oldincludedir
=$ac_optarg ;;
649 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
651 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
654 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
655 |
--program-pre |
--program-pr |
--program-p)
656 ac_prev
=program_prefix
;;
657 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
658 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
659 program_prefix
=$ac_optarg ;;
661 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
662 |
--program-suf |
--program-su |
--program-s)
663 ac_prev
=program_suffix
;;
664 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
665 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
666 program_suffix
=$ac_optarg ;;
668 -program-transform-name |
--program-transform-name \
669 |
--program-transform-nam |
--program-transform-na \
670 |
--program-transform-n |
--program-transform- \
671 |
--program-transform |
--program-transfor \
672 |
--program-transfo |
--program-transf \
673 |
--program-trans |
--program-tran \
674 |
--progr-tra |
--program-tr |
--program-t)
675 ac_prev
=program_transform_name
;;
676 -program-transform-name=* |
--program-transform-name=* \
677 |
--program-transform-nam=* |
--program-transform-na=* \
678 |
--program-transform-n=* |
--program-transform-=* \
679 |
--program-transform=* |
--program-transfor=* \
680 |
--program-transfo=* |
--program-transf=* \
681 |
--program-trans=* |
--program-tran=* \
682 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
683 program_transform_name
=$ac_optarg ;;
685 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
686 |
-silent |
--silent |
--silen |
--sile |
--sil)
689 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
691 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
693 sbindir
=$ac_optarg ;;
695 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
696 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
697 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
699 ac_prev
=sharedstatedir
;;
700 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
701 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
702 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
704 sharedstatedir
=$ac_optarg ;;
706 -site |
--site |
--sit)
708 -site=* |
--site=* |
--sit=*)
711 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
713 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
716 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
717 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
718 ac_prev
=sysconfdir
;;
719 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
720 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
721 sysconfdir
=$ac_optarg ;;
723 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
724 ac_prev
=target_alias
;;
725 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
726 target_alias
=$ac_optarg ;;
728 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
731 -version |
--version |
--versio |
--versi |
--vers |
-V)
735 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
736 # Reject names that are not valid shell variable names.
737 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
738 { echo "$as_me: error: invalid package name: $ac_package" >&2
739 { (exit 1); exit 1; }; }
740 ac_package
=`echo $ac_package| sed 's/-/_/g'`
742 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
745 eval "with_$ac_package='$ac_optarg'" ;;
747 -without-* |
--without-*)
748 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
749 # Reject names that are not valid shell variable names.
750 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
751 { echo "$as_me: error: invalid package name: $ac_package" >&2
752 { (exit 1); exit 1; }; }
753 ac_package
=`echo $ac_package | sed 's/-/_/g'`
754 eval "with_$ac_package=no" ;;
757 # Obsolete; use --with-x.
760 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
761 |
--x-incl |
--x-inc |
--x-in |
--x-i)
762 ac_prev
=x_includes
;;
763 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
764 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
765 x_includes
=$ac_optarg ;;
767 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
768 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
769 ac_prev
=x_libraries
;;
770 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
771 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
772 x_libraries
=$ac_optarg ;;
774 -*) { echo "$as_me: error: unrecognized option: $ac_option
775 Try \`$0 --help' for more information." >&2
776 { (exit 1); exit 1; }; }
780 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
781 # Reject names that are not valid shell variable names.
782 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
783 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
784 { (exit 1); exit 1; }; }
785 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
786 eval "$ac_envvar='$ac_optarg'"
790 # FIXME: should be removed in autoconf 3.0.
791 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
792 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
793 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
794 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
800 if test -n "$ac_prev"; then
801 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
802 { echo "$as_me: error: missing argument to $ac_option" >&2
803 { (exit 1); exit 1; }; }
806 # Be sure to have absolute paths.
807 for ac_var
in exec_prefix prefix
809 eval ac_val
=$
`echo $ac_var`
811 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
812 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
813 { (exit 1); exit 1; }; };;
817 # Be sure to have absolute paths.
818 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
819 localstatedir libdir includedir oldincludedir infodir mandir
821 eval ac_val
=$
`echo $ac_var`
823 [\\/$
]* | ?
:[\\/]* ) ;;
824 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
825 { (exit 1); exit 1; }; };;
829 # There might be people who depend on the old broken behavior: `$host'
830 # used to hold the argument of --host etc.
831 # FIXME: To remove some day.
836 # FIXME: To remove some day.
837 if test "x$host_alias" != x
; then
838 if test "x$build_alias" = x
; then
839 cross_compiling
=maybe
840 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
841 If a cross compiler is detected then cross compile mode will be used." >&2
842 elif test "x$build_alias" != "x$host_alias"; then
848 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
850 test "$silent" = yes && exec 6>/dev
/null
853 # Find the source files, if location was not specified.
854 if test -z "$srcdir"; then
855 ac_srcdir_defaulted
=yes
856 # Try the directory containing this script, then its parent.
857 ac_confdir
=`(dirname "$0") 2>/dev/null ||
858 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
859 X"$0" : 'X\(//\)[^/]' \| \
860 X"$0" : 'X\(//\)$' \| \
861 X"$0" : 'X\(/\)' \| \
862 . : '\(.\)' 2>/dev/null ||
864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
865 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
866 /^X\(\/\/\)$/{ s//\1/; q; }
867 /^X\(\/\).*/{ s//\1/; q; }
870 if test ! -r $srcdir/$ac_unique_file; then
874 ac_srcdir_defaulted
=no
876 if test ! -r $srcdir/$ac_unique_file; then
877 if test "$ac_srcdir_defaulted" = yes; then
878 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
879 { (exit 1); exit 1; }; }
881 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
882 { (exit 1); exit 1; }; }
885 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
886 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
887 { (exit 1); exit 1; }; }
888 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
889 ac_env_build_alias_set
=${build_alias+set}
890 ac_env_build_alias_value
=$build_alias
891 ac_cv_env_build_alias_set
=${build_alias+set}
892 ac_cv_env_build_alias_value
=$build_alias
893 ac_env_host_alias_set
=${host_alias+set}
894 ac_env_host_alias_value
=$host_alias
895 ac_cv_env_host_alias_set
=${host_alias+set}
896 ac_cv_env_host_alias_value
=$host_alias
897 ac_env_target_alias_set
=${target_alias+set}
898 ac_env_target_alias_value
=$target_alias
899 ac_cv_env_target_alias_set
=${target_alias+set}
900 ac_cv_env_target_alias_value
=$target_alias
901 ac_env_CPP_set
=${CPP+set}
902 ac_env_CPP_value
=$CPP
903 ac_cv_env_CPP_set
=${CPP+set}
904 ac_cv_env_CPP_value
=$CPP
905 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
906 ac_env_CPPFLAGS_value
=$CPPFLAGS
907 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
908 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
909 ac_env_FC_set
=${FC+set}
911 ac_cv_env_FC_set
=${FC+set}
912 ac_cv_env_FC_value
=$FC
913 ac_env_FCFLAGS_set
=${FCFLAGS+set}
914 ac_env_FCFLAGS_value
=$FCFLAGS
915 ac_cv_env_FCFLAGS_set
=${FCFLAGS+set}
916 ac_cv_env_FCFLAGS_value
=$FCFLAGS
917 ac_env_LDFLAGS_set
=${LDFLAGS+set}
918 ac_env_LDFLAGS_value
=$LDFLAGS
919 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
920 ac_cv_env_LDFLAGS_value
=$LDFLAGS
923 # Report the --help message.
925 if test "$ac_init_help" = "long"; then
926 # Omit some internal or obsolete options to make the list less imposing.
927 # This message is too long to be a string in the A/UX 3.1 sh.
929 \`configure' configures GNU OpenMP Runtime Library 1.0 to adapt to many kinds of systems.
931 Usage: $0 [OPTION]... [VAR=VALUE]...
933 To assign environment variables (e.g., CC, CFLAGS...), specify them as
934 VAR=VALUE. See below for descriptions of some of the useful variables.
936 Defaults for the options are specified in brackets.
939 -h, --help display this help and exit
940 --help=short display options specific to this package
941 --help=recursive display the short help of all the included packages
942 -V, --version display version information and exit
943 -q, --quiet, --silent do not print \`checking...' messages
944 --cache-file=FILE cache test results in FILE [disabled]
945 -C, --config-cache alias for \`--cache-file=config.cache'
946 -n, --no-create do not create output files
947 --srcdir=DIR find the sources in DIR [configure dir or \`..']
952 Installation directories:
953 --prefix=PREFIX install architecture-independent files in PREFIX
955 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
958 By default, \`make install' will install all the files in
959 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
960 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
961 for instance \`--prefix=\$HOME'.
963 For better control, use the options below.
965 Fine tuning of the installation directories:
966 --bindir=DIR user executables [EPREFIX/bin]
967 --sbindir=DIR system admin executables [EPREFIX/sbin]
968 --libexecdir=DIR program executables [EPREFIX/libexec]
969 --datadir=DIR read-only architecture-independent data [PREFIX/share]
970 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
971 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
972 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
973 --libdir=DIR object code libraries [EPREFIX/lib]
974 --includedir=DIR C header files [PREFIX/include]
975 --oldincludedir=DIR C header files for non-gcc [/usr/include]
976 --infodir=DIR info documentation [PREFIX/info]
977 --mandir=DIR man documentation [PREFIX/man]
983 --program-prefix=PREFIX prepend PREFIX to installed program names
984 --program-suffix=SUFFIX append SUFFIX to installed program names
985 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
988 --build=BUILD configure
for building on BUILD
[guessed
]
989 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
990 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
994 if test -n "$ac_init_help"; then
995 case $ac_init_help in
996 short | recursive
) echo "Configuration of GNU OpenMP Runtime Library 1.0:";;
1001 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1002 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1003 --enable-version-specific-runtime-libs
1004 Specify that runtime libraries should be installed
1005 in a compiler-specific directory
[default
=no
]
1006 --enable-generated-files-in-srcdir
1007 put copies of generated files
in source dir intended
1008 for creating
source tarballs
for users without
1009 texinfo bison or flex.
[default
=no
]
1010 --enable-multilib build many library versions
(default
)
1011 --disable-dependency-tracking speeds up one-time build
1012 --enable-dependency-tracking do not reject slow dependency extractors
1013 --enable-shared[=PKGS
]
1014 build shared libraries
[default
=yes]
1015 --enable-static[=PKGS
]
1016 build static libraries
[default
=yes]
1017 --enable-fast-install[=PKGS
]
1018 optimize
for fast installation
[default
=yes]
1019 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1020 --enable-maintainer-mode enable make rules and dependencies not useful
1021 (and sometimes confusing
) to the casual installer
1022 --enable-linux-futex use the Linux futex system call
1024 --enable-tls Use thread-local storage
[default
=yes]
1025 --enable-symvers=STYLE enables symbol versioning of the shared library
1029 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1030 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1031 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1033 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1035 Some influential environment variables
:
1036 CC C compiler
command
1037 CFLAGS C compiler flags
1038 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1039 nonstandard directory
<lib dir
>
1040 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1041 headers
in a nonstandard directory
<include dir
>
1043 FC Fortran compiler
command
1044 FCFLAGS Fortran compiler flags
1046 Use these variables to override the choices made by
`configure' or to help
1047 it to find libraries and programs with nonstandard names/locations.
1052 if test "$ac_init_help" = "recursive"; then
1053 # If there are subdirs, report their specific --help.
1055 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1056 test -d $ac_dir || continue
1059 if test "$ac_dir" != .; then
1060 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1061 # A "../" for each directory in $ac_dir_suffix.
1062 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1064 ac_dir_suffix= ac_top_builddir=
1068 .) # No --srcdir option. We are building in place.
1070 if test -z "$ac_top_builddir"; then
1073 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1075 [\\/]* | ?:[\\/]* ) # Absolute path.
1076 ac_srcdir=$srcdir$ac_dir_suffix;
1077 ac_top_srcdir=$srcdir ;;
1079 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1080 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1083 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1084 # the directories may not exist.
1086 .) ac_abs_builddir="$ac_dir";;
1089 .) ac_abs_builddir=`pwd`;;
1090 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1091 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1094 case $ac_abs_builddir in
1095 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1097 case ${ac_top_builddir}. in
1098 .) ac_abs_top_builddir=$ac_abs_builddir;;
1099 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1100 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1103 case $ac_abs_builddir in
1104 .) ac_abs_srcdir=$ac_srcdir;;
1107 .) ac_abs_srcdir=$ac_abs_builddir;;
1108 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1109 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1112 case $ac_abs_builddir in
1113 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1115 case $ac_top_srcdir in
1116 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1117 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1118 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1123 # Check for guested configure; otherwise get Cygnus style configure.
1124 if test -f $ac_srcdir/configure.gnu; then
1126 $SHELL $ac_srcdir/configure.gnu --help=recursive
1127 elif test -f $ac_srcdir/configure; then
1129 $SHELL $ac_srcdir/configure --help=recursive
1130 elif test -f $ac_srcdir/configure.ac ||
1131 test -f $ac_srcdir/configure.in; then
1133 $ac_configure --help
1135 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1141 test -n "$ac_init_help" && exit 0
1142 if $ac_init_version; then
1144 GNU OpenMP Runtime Library configure 1.0
1145 generated by GNU Autoconf 2.59
1147 Copyright (C) 2003 Free Software Foundation, Inc.
1148 This configure script is free software; the Free Software Foundation
1149 gives unlimited permission to copy, distribute and modify it.
1155 This file contains any messages produced by compilers while
1156 running configure, to aid debugging if configure makes a mistake.
1158 It was created by GNU OpenMP Runtime Library $as_me 1.0, which was
1159 generated by GNU Autoconf 2.59. Invocation command line was
1170 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1171 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1172 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1173 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1174 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1176 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1177 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1179 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1180 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1181 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1182 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1183 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1184 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1185 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1193 test -z "$as_dir" && as_dir=.
1194 echo "PATH: $as_dir"
1209 # Keep a trace of the command line.
1210 # Strip out --no-create and --no-recursion so they do not pile up.
1211 # Strip out --silent because we don't want to record it for future runs.
1212 # Also quote any args containing shell meta-characters.
1213 # Make two passes to allow for proper duplicate-argument suppression.
1218 ac_must_keep_next=false
1224 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1225 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1226 | -silent | --silent | --silen | --sile | --sil)
1228 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1229 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1232 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1234 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1235 if test $ac_must_keep_next = true; then
1236 ac_must_keep_next=false # Got value, back to normal.
1239 *=* | --config-cache | -C | -disable-* | --disable-* \
1240 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1241 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1242 | -with-* | --with-* | -without-* | --without-* | --x)
1243 case "$ac_configure_args0 " in
1244 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1247 -* ) ac_must_keep_next=true ;;
1250 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1251 # Get rid of the leading space.
1257 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1258 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1260 # When interrupted or exit'd, cleanup temporary files, and complete
1261 # config.log. We remove comments because anyway the quotes in there
1262 # would cause problems or look ugly.
1263 # WARNING: Be sure not to use single quotes in there, as some shells,
1264 # such as our DU 5.0 friend, will then `close
' the trap.
1265 trap 'exit_status
=$?
1266 # Save into config.log some information that might help in debugging.
1271 ## ---------------- ##
1272 ## Cache variables. ##
1273 ## ---------------- ##
1276 # The following way of writing the cache mishandles newlines in values,
1279 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1282 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1283 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1287 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1294 ## ----------------- ##
1295 ## Output variables. ##
1296 ## ----------------- ##
1299 for ac_var
in $ac_subst_vars
1301 eval ac_val
=$
`echo $ac_var`
1302 echo "$ac_var='"'"'$ac_val'"'"'"
1306 if test -n "$ac_subst_files"; then
1313 for ac_var
in $ac_subst_files
1315 eval ac_val
=$
`echo $ac_var`
1316 echo "$ac_var='"'"'$ac_val'"'"'"
1321 if test -s confdefs.h
; then
1328 sed "/^$/d" confdefs.h |
sort
1331 test "$ac_signal" != 0 &&
1332 echo "$as_me: caught signal $ac_signal"
1333 echo "$as_me: exit $exit_status"
1335 rm -f core
*.core
&&
1336 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1339 for ac_signal in 1 2 13 15; do
1340 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1344 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1345 rm -rf conftest* confdefs.h
1346 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1349 # Predefined preprocessor variables.
1351 cat >>confdefs.h <<_ACEOF
1352 #define PACKAGE_NAME "$PACKAGE_NAME"
1356 cat >>confdefs.h <<_ACEOF
1357 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1361 cat >>confdefs.h <<_ACEOF
1362 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1366 cat >>confdefs.h <<_ACEOF
1367 #define PACKAGE_STRING "$PACKAGE_STRING"
1371 cat >>confdefs.h <<_ACEOF
1372 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1376 # Let the site file select an alternate cache file if it wants to.
1377 # Prefer explicitly selected file to automatically selected ones.
1378 if test -z "$CONFIG_SITE"; then
1379 if test "x$prefix" != xNONE; then
1380 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1382 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1385 for ac_site_file in $CONFIG_SITE; do
1386 if test -r "$ac_site_file"; then
1387 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1388 echo "$as_me: loading site script $ac_site_file" >&6;}
1389 sed 's
/^
/|
/' "$ac_site_file" >&5
1394 if test -r "$cache_file"; then
1395 # Some versions of bash will fail to source /dev/null (special
1396 # files actually), so we avoid doing that.
1397 if test -f "$cache_file"; then
1398 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1399 echo "$as_me: loading cache $cache_file" >&6;}
1401 [\\/]* | ?:[\\/]* ) . $cache_file;;
1402 *) . ./$cache_file;;
1406 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1407 echo "$as_me: creating cache $cache_file" >&6;}
1411 # Check that the precious variables saved in the cache have kept the same
1413 ac_cache_corrupted=false
1414 for ac_var in `(set) 2>&1 |
1415 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1416 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1417 eval ac_new_set=\$ac_env_${ac_var}_set
1418 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1419 eval ac_new_val="\$ac_env_${ac_var}_value"
1420 case $ac_old_set,$ac_new_set in
1422 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1423 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1424 ac_cache_corrupted=: ;;
1426 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1427 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1428 ac_cache_corrupted=: ;;
1431 if test "x$ac_old_val" != "x$ac_new_val"; then
1432 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1433 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1434 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1435 echo "$as_me: former value: $ac_old_val" >&2;}
1436 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1437 echo "$as_me: current value: $ac_new_val" >&2;}
1438 ac_cache_corrupted=:
1441 # Pass precious variables to config.status.
1442 if test "$ac_new_set" = set; then
1444 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1445 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1446 *) ac_arg=$ac_var=$ac_new_val ;;
1448 case " $ac_configure_args " in
1449 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1450 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1454 if $ac_cache_corrupted; then
1455 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1456 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1457 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1458 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1459 { (exit 1); exit 1; }; }
1463 ac_cpp='$CPP $CPPFLAGS'
1464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1465 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1494 ac_config_headers="$ac_config_headers config.h"
1501 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1502 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1503 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1504 if test "${enable_version_specific_runtime_libs+set}" = set; then
1505 enableval="$enable_version_specific_runtime_libs"
1507 case "$enableval" in
1509 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific-runtime-libs" >&5
1510 echo "$as_me: error: Unknown argument to enable/disable version-specific-runtime-libs" >&2;}
1511 { (exit 1); exit 1; }; } ;;
1515 enable_version_specific_runtime_libs=no
1518 echo "$as_me:$LINENO: result: $enable_version_specific_runtime_libs" >&5
1519 echo "${ECHO_T}$enable_version_specific_runtime_libs" >&6
1521 # We would like our source tree to be readonly. However when releases or
1522 # pre-releases are generated, the flex/bison generated files as well as the
1523 # various formats of manuals need to be included along with the rest of the
1524 # sources. Therefore we have --enable-generated-files-in-srcdir to do
1526 echo "$as_me:$LINENO: checking for --enable-generated-files-in-srcdir" >&5
1527 echo $ECHO_N "checking for --enable-generated-files-in-srcdir... $ECHO_C" >&6
1528 # Check whether --enable-generated-files-in-srcdir or --disable-generated-files-in-srcdir was given.
1529 if test "${enable_generated_files_in_srcdir+set}" = set; then
1530 enableval="$enable_generated_files_in_srcdir"
1532 case "$enableval" in
1534 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable generated-files-in-srcdir" >&5
1535 echo "$as_me: error: Unknown argument to enable/disable generated-files-in-srcdir" >&2;}
1536 { (exit 1); exit 1; }; } ;;
1540 enable_generated_files_in_srcdir=no
1543 echo "$as_me:$LINENO: result: $enable_generated_files_in_srcdir" >&5
1544 echo "${ECHO_T}$enable_generated_files_in_srcdir" >&6
1547 if test "$enable_generated_files_in_srcdir" = yes; then
1560 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1562 # You will slowly go insane if you do not grok the following fact: when
1563 # building this library, the top-level /target/ becomes the library's /host/.
1565 # configure then causes --target to default to --host, exactly like any
1566 # other package using autoconf. Therefore, 'target' and 'host' will
1567 # always be the same. This makes sense both for native and cross compilers
1568 # just think about it for a little while. :-)
1570 # Also, if this library is being configured as part of a cross compiler, the
1571 # top-level configure script will pass the "real" host as $with_cross_host.
1573 # Do not delete or change the following two lines. For why, see
1574 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1576 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1577 if test -f $ac_dir/install-sh
; then
1579 ac_install_sh
="$ac_aux_dir/install-sh -c"
1581 elif test -f $ac_dir/install.sh
; then
1583 ac_install_sh
="$ac_aux_dir/install.sh -c"
1585 elif test -f $ac_dir/shtool
; then
1587 ac_install_sh
="$ac_aux_dir/shtool install -c"
1591 if test -z "$ac_aux_dir"; then
1592 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1593 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1594 { (exit 1); exit 1; }; }
1596 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1597 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1598 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1600 # Make sure we can run config.sub.
1601 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1602 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1603 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1604 { (exit 1); exit 1; }; }
1606 echo "$as_me:$LINENO: checking build system type" >&5
1607 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1608 if test "${ac_cv_build+set}" = set; then
1609 echo $ECHO_N "(cached) $ECHO_C" >&6
1611 ac_cv_build_alias
=$build_alias
1612 test -z "$ac_cv_build_alias" &&
1613 ac_cv_build_alias
=`$ac_config_guess`
1614 test -z "$ac_cv_build_alias" &&
1615 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1616 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1617 { (exit 1); exit 1; }; }
1618 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1619 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1620 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1621 { (exit 1); exit 1; }; }
1624 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1625 echo "${ECHO_T}$ac_cv_build" >&6
1627 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1628 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1629 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1632 echo "$as_me:$LINENO: checking host system type" >&5
1633 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1634 if test "${ac_cv_host+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 ac_cv_host_alias
=$host_alias
1638 test -z "$ac_cv_host_alias" &&
1639 ac_cv_host_alias
=$ac_cv_build_alias
1640 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1641 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1642 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1643 { (exit 1); exit 1; }; }
1646 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1647 echo "${ECHO_T}$ac_cv_host" >&6
1649 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1650 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1651 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1654 echo "$as_me:$LINENO: checking target system type" >&5
1655 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1656 if test "${ac_cv_target+set}" = set; then
1657 echo $ECHO_N "(cached) $ECHO_C" >&6
1659 ac_cv_target_alias
=$target_alias
1660 test "x$ac_cv_target_alias" = "x" &&
1661 ac_cv_target_alias
=$ac_cv_host_alias
1662 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1663 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1664 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1665 { (exit 1); exit 1; }; }
1668 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1669 echo "${ECHO_T}$ac_cv_target" >&6
1670 target
=$ac_cv_target
1671 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1672 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1673 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1676 # The aliases save the names the user supplied, while $host etc.
1677 # will get canonicalized.
1678 test -n "$target_alias" &&
1679 test "$program_prefix$program_suffix$program_transform_name" = \
1681 program_prefix
=${target_alias}-
1682 target_alias
=${target_alias-$host_alias}
1684 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1685 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1686 # 1.9.0: minimum required version
1687 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1688 # of other PACKAGE_* variables will, however, and there's nothing
1689 # we can do about that; they come from AC_INIT).
1690 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1691 # file in the top srcdir, etc, etc), so stop complaining.
1692 # -Wall: turns on all automake warnings...
1693 # -Wno-portability: ...except this one, since GNU make is required.
1694 # -Wno-override: ... and this one, since we do want this in testsuite.
1695 am__api_version
="1.9"
1696 # Find a good install program. We prefer a C program (faster),
1697 # so one script is as good as another. But avoid the broken or
1698 # incompatible versions:
1699 # SysV /etc/install, /usr/sbin/install
1700 # SunOS /usr/etc/install
1701 # IRIX /sbin/install
1703 # AmigaOS /C/install, which installs bootblocks on floppy discs
1704 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1705 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1706 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1707 # OS/2's system install, which has a completely different semantic
1708 # ./install, which can be erroneously created by make from ./install.sh.
1709 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1710 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1711 if test -z "$INSTALL"; then
1712 if test "${ac_cv_path_install+set}" = set; then
1713 echo $ECHO_N "(cached) $ECHO_C" >&6
1715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1719 test -z "$as_dir" && as_dir
=.
1720 # Account for people who put trailing slashes in PATH elements.
1722 .
/ | .
// |
/cC
/* | \
1723 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1724 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1727 # OSF1 and SCO ODT 3.0 have their own names for install.
1728 # Don't use installbsd from OSF since it installs stuff as root
1730 for ac_prog
in ginstall scoinst
install; do
1731 for ac_exec_ext
in '' $ac_executable_extensions; do
1732 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1733 if test $ac_prog = install &&
1734 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1735 # AIX install. It has an incompatible calling convention.
1737 elif test $ac_prog = install &&
1738 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1739 # program-specific install script used by HP pwplus--don't use.
1742 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1754 if test "${ac_cv_path_install+set}" = set; then
1755 INSTALL
=$ac_cv_path_install
1757 # As a last resort, use the slow shell script. We don't cache a
1758 # path for INSTALL within a source directory, because that will
1759 # break other packages using the cache if that directory is
1760 # removed, or if the path is relative.
1761 INSTALL
=$ac_install_sh
1764 echo "$as_me:$LINENO: result: $INSTALL" >&5
1765 echo "${ECHO_T}$INSTALL" >&6
1767 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1768 # It thinks the first close brace ends the variable substitution.
1769 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1771 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1773 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1775 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1776 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1779 echo timestamp
> conftest.
file
1780 # Do `set' in a subshell so we don't clobber the current shell's
1781 # arguments. Must try -L first in case configure is actually a
1782 # symlink; some systems play weird games with the mod time of symlinks
1783 # (eg FreeBSD returns the mod time of the symlink's containing
1786 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1787 if test "$*" = "X"; then
1789 set X
`ls -t $srcdir/configure conftest.file`
1792 if test "$*" != "X $srcdir/configure conftest.file" \
1793 && test "$*" != "X conftest.file $srcdir/configure"; then
1795 # If neither matched, then we have a broken ls. This can happen
1796 # if, for instance, CONFIG_SHELL is bash and it inherits a
1797 # broken ls alias from the environment. This has actually
1798 # happened. Such a system could not be considered "sane".
1799 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1800 alias in your environment" >&5
1801 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1802 alias in your environment" >&2;}
1803 { (exit 1); exit 1; }; }
1806 test "$2" = conftest.
file
1812 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1813 Check your system clock" >&5
1814 echo "$as_me: error: newly created file is older than distributed files!
1815 Check your system clock" >&2;}
1816 { (exit 1); exit 1; }; }
1818 echo "$as_me:$LINENO: result: yes" >&5
1819 echo "${ECHO_T}yes" >&6
1820 test "$program_prefix" != NONE
&&
1821 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1822 # Use a double $ so make ignores it.
1823 test "$program_suffix" != NONE
&&
1824 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1825 # Double any \ or $. echo might interpret backslashes.
1826 # By default was `s,x,x', remove it if useless.
1827 cat <<\_ACEOF
>conftest.
sed
1828 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1830 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1833 # expand $ac_aux_dir to an absolute path
1834 am_aux_dir
=`cd $ac_aux_dir && pwd`
1836 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1837 # Use eval to expand $SHELL
1838 if eval "$MISSING --run true"; then
1839 am_missing_run
="$MISSING --run "
1842 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1843 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1846 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1847 # We used to keeping the `.' as first argument, in order to
1848 # allow $(mkdir_p) to be used without argument. As in
1849 # $(mkdir_p) $(somedir)
1850 # where $(somedir) is conditionally defined. However this is wrong
1852 # 1. if the package is installed by a user who cannot write `.'
1853 # make install will fail,
1854 # 2. the above comment should most certainly read
1855 # $(mkdir_p) $(DESTDIR)$(somedir)
1856 # so it does not work when $(somedir) is undefined and
1857 # $(DESTDIR) is not.
1858 # To support the latter case, we have to write
1859 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1860 # so the `.' trick is pointless.
1861 mkdir_p
='mkdir -p --'
1863 # On NextStep and OpenStep, the `mkdir' command does not
1864 # recognize any option. It will interpret all options as
1865 # directories to create, and then abort because `.' already
1867 for d
in .
/-p .
/--version;
1869 test -d $d && rmdir $d
1871 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1872 if test -f "$ac_aux_dir/mkinstalldirs"; then
1873 mkdir_p
='$(mkinstalldirs)'
1875 mkdir_p
='$(install_sh) -d'
1879 for ac_prog
in gawk mawk nawk
awk
1881 # Extract the first word of "$ac_prog", so it can be a program name with args.
1882 set dummy
$ac_prog; ac_word
=$2
1883 echo "$as_me:$LINENO: checking for $ac_word" >&5
1884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1885 if test "${ac_cv_prog_AWK+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1888 if test -n "$AWK"; then
1889 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1895 test -z "$as_dir" && as_dir
=.
1896 for ac_exec_ext
in '' $ac_executable_extensions; do
1897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1898 ac_cv_prog_AWK
="$ac_prog"
1899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 if test -n "$AWK"; then
1909 echo "$as_me:$LINENO: result: $AWK" >&5
1910 echo "${ECHO_T}$AWK" >&6
1912 echo "$as_me:$LINENO: result: no" >&5
1913 echo "${ECHO_T}no" >&6
1916 test -n "$AWK" && break
1919 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1920 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1921 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1922 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1923 echo $ECHO_N "(cached) $ECHO_C" >&6
1925 cat >conftest.
make <<\_ACEOF
1927 @
echo 'ac_maketemp="$(MAKE)"'
1929 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1930 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1931 if test -n "$ac_maketemp"; then
1932 eval ac_cv_prog_make_
${ac_make}_set
=yes
1934 eval ac_cv_prog_make_
${ac_make}_set
=no
1938 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1939 echo "$as_me:$LINENO: result: yes" >&5
1940 echo "${ECHO_T}yes" >&6
1943 echo "$as_me:$LINENO: result: no" >&5
1944 echo "${ECHO_T}no" >&6
1945 SET_MAKE
="MAKE=${MAKE-make}"
1948 rm -rf .tst
2>/dev
/null
1949 mkdir .tst
2>/dev
/null
1950 if test -d .tst
; then
1955 rmdir .tst
2>/dev
/null
1957 # test to see if srcdir already configured
1958 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1959 test -f $srcdir/config.status
; then
1960 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1961 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1962 { (exit 1); exit 1; }; }
1965 # test whether we have cygpath
1966 if test -z "$CYGPATH_W"; then
1967 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1968 CYGPATH_W
='cygpath -w'
1975 # Define the identity of the package.
1980 cat >>confdefs.h
<<_ACEOF
1981 #define PACKAGE "$PACKAGE"
1985 cat >>confdefs.h
<<_ACEOF
1986 #define VERSION "$VERSION"
1989 # Some tools Automake needs.
1991 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1994 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1997 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2000 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2003 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2005 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2007 # Installed binaries are usually stripped using `strip' when the user
2008 # run `make install-strip'. However `strip' might not be the right
2009 # tool to use in cross-compilation environments, therefore Automake
2010 # will honor the `STRIP' environment variable to overrule this program.
2011 if test "$cross_compiling" != no
; then
2012 if test -n "$ac_tool_prefix"; then
2013 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2014 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2015 echo "$as_me:$LINENO: checking for $ac_word" >&5
2016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2017 if test "${ac_cv_prog_STRIP+set}" = set; then
2018 echo $ECHO_N "(cached) $ECHO_C" >&6
2020 if test -n "$STRIP"; then
2021 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2027 test -z "$as_dir" && as_dir
=.
2028 for ac_exec_ext
in '' $ac_executable_extensions; do
2029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2030 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2039 STRIP
=$ac_cv_prog_STRIP
2040 if test -n "$STRIP"; then
2041 echo "$as_me:$LINENO: result: $STRIP" >&5
2042 echo "${ECHO_T}$STRIP" >&6
2044 echo "$as_me:$LINENO: result: no" >&5
2045 echo "${ECHO_T}no" >&6
2049 if test -z "$ac_cv_prog_STRIP"; then
2051 # Extract the first word of "strip", so it can be a program name with args.
2052 set dummy strip
; ac_word
=$2
2053 echo "$as_me:$LINENO: checking for $ac_word" >&5
2054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2055 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2056 echo $ECHO_N "(cached) $ECHO_C" >&6
2058 if test -n "$ac_ct_STRIP"; then
2059 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2065 test -z "$as_dir" && as_dir
=.
2066 for ac_exec_ext
in '' $ac_executable_extensions; do
2067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2068 ac_cv_prog_ac_ct_STRIP
="strip"
2069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2075 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2078 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2079 if test -n "$ac_ct_STRIP"; then
2080 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2081 echo "${ECHO_T}$ac_ct_STRIP" >&6
2083 echo "$as_me:$LINENO: result: no" >&5
2084 echo "${ECHO_T}no" >&6
2089 STRIP
="$ac_cv_prog_STRIP"
2093 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2095 # We need awk for the "check" target. The system "awk" is bad on
2097 # Always define AMTAR for backward compatibility.
2099 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2101 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2107 # Default to --enable-multilib
2108 # Check whether --enable-multilib or --disable-multilib was given.
2109 if test "${enable_multilib+set}" = set; then
2110 enableval
="$enable_multilib"
2111 case "$enableval" in
2112 yes) multilib
=yes ;;
2114 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2115 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2116 { (exit 1); exit 1; }; } ;;
2122 # We may get other options which we leave undocumented:
2123 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2124 # See config-ml.in if you want the gory details.
2126 if test "$srcdir" = "."; then
2127 if test "$with_target_subdir" != "."; then
2128 multi_basedir
="$srcdir/$with_multisrctop../.."
2130 multi_basedir
="$srcdir/$with_multisrctop.."
2133 multi_basedir
="$srcdir/.."
2137 # Even if the default multilib is not a cross compilation,
2138 # it may be that some of the other multilibs are.
2139 if test $cross_compiling = no
&& test $multilib = yes \
2140 && test "x${with_multisubdir}" != x
; then
2141 cross_compiling
=maybe
2144 ac_config_commands
="$ac_config_commands default-1"
2147 # Calculate toolexeclibdir
2148 # Also toolexecdir, though it's only used in toolexeclibdir
2149 case ${enable_version_specific_runtime_libs} in
2151 # Need the gcc compiler version to know where to install libraries
2152 # and header files if --enable-version-specific-runtime-libs option
2154 toolexecdir
='$(libdir)/gcc/$(target_alias)'
2155 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2158 if test -n "$with_cross_host" &&
2159 test x
"$with_cross_host" != x
"no"; then
2160 # Install a library built with a cross compiler in tooldir, not libdir.
2161 toolexecdir
='$(exec_prefix)/$(target_alias)'
2162 toolexeclibdir
='$(toolexecdir)/lib'
2164 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
2165 toolexeclibdir
='$(libdir)'
2167 multi_os_directory
=`$CC -print-multi-os-directory`
2168 case $multi_os_directory in
2169 .
) ;; # Avoid trailing /.
2170 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
2177 # Check the compiler.
2178 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2179 # We must force CC to /not/ be precious variables; otherwise
2180 # the wrong, non-multilib-adjusted value will be used in multilibs.
2181 # As a side effect, we have to subst CFLAGS ourselves.
2186 ac_cpp
='$CPP $CPPFLAGS'
2187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2190 if test -n "$ac_tool_prefix"; then
2191 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2192 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2193 echo "$as_me:$LINENO: checking for $ac_word" >&5
2194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2195 if test "${ac_cv_prog_CC+set}" = set; then
2196 echo $ECHO_N "(cached) $ECHO_C" >&6
2198 if test -n "$CC"; then
2199 ac_cv_prog_CC
="$CC" # Let the user override the test.
2201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2205 test -z "$as_dir" && as_dir
=.
2206 for ac_exec_ext
in '' $ac_executable_extensions; do
2207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2208 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2218 if test -n "$CC"; then
2219 echo "$as_me:$LINENO: result: $CC" >&5
2220 echo "${ECHO_T}$CC" >&6
2222 echo "$as_me:$LINENO: result: no" >&5
2223 echo "${ECHO_T}no" >&6
2227 if test -z "$ac_cv_prog_CC"; then
2229 # Extract the first word of "gcc", so it can be a program name with args.
2230 set dummy gcc
; ac_word
=$2
2231 echo "$as_me:$LINENO: checking for $ac_word" >&5
2232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2233 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2234 echo $ECHO_N "(cached) $ECHO_C" >&6
2236 if test -n "$ac_ct_CC"; then
2237 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2243 test -z "$as_dir" && as_dir
=.
2244 for ac_exec_ext
in '' $ac_executable_extensions; do
2245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2246 ac_cv_prog_ac_ct_CC
="gcc"
2247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2255 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2256 if test -n "$ac_ct_CC"; then
2257 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2258 echo "${ECHO_T}$ac_ct_CC" >&6
2260 echo "$as_me:$LINENO: result: no" >&5
2261 echo "${ECHO_T}no" >&6
2269 if test -z "$CC"; then
2270 if test -n "$ac_tool_prefix"; then
2271 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2272 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2273 echo "$as_me:$LINENO: checking for $ac_word" >&5
2274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2275 if test "${ac_cv_prog_CC+set}" = set; then
2276 echo $ECHO_N "(cached) $ECHO_C" >&6
2278 if test -n "$CC"; then
2279 ac_cv_prog_CC
="$CC" # Let the user override the test.
2281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2285 test -z "$as_dir" && as_dir
=.
2286 for ac_exec_ext
in '' $ac_executable_extensions; do
2287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2288 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2298 if test -n "$CC"; then
2299 echo "$as_me:$LINENO: result: $CC" >&5
2300 echo "${ECHO_T}$CC" >&6
2302 echo "$as_me:$LINENO: result: no" >&5
2303 echo "${ECHO_T}no" >&6
2307 if test -z "$ac_cv_prog_CC"; then
2309 # Extract the first word of "cc", so it can be a program name with args.
2310 set dummy cc
; ac_word
=$2
2311 echo "$as_me:$LINENO: checking for $ac_word" >&5
2312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2313 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2314 echo $ECHO_N "(cached) $ECHO_C" >&6
2316 if test -n "$ac_ct_CC"; then
2317 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2323 test -z "$as_dir" && as_dir
=.
2324 for ac_exec_ext
in '' $ac_executable_extensions; do
2325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2326 ac_cv_prog_ac_ct_CC
="cc"
2327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2335 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2336 if test -n "$ac_ct_CC"; then
2337 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2338 echo "${ECHO_T}$ac_ct_CC" >&6
2340 echo "$as_me:$LINENO: result: no" >&5
2341 echo "${ECHO_T}no" >&6
2350 if test -z "$CC"; then
2351 # Extract the first word of "cc", so it can be a program name with args.
2352 set dummy cc
; ac_word
=$2
2353 echo "$as_me:$LINENO: checking for $ac_word" >&5
2354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2355 if test "${ac_cv_prog_CC+set}" = set; then
2356 echo $ECHO_N "(cached) $ECHO_C" >&6
2358 if test -n "$CC"; then
2359 ac_cv_prog_CC
="$CC" # Let the user override the test.
2362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2366 test -z "$as_dir" && as_dir
=.
2367 for ac_exec_ext
in '' $ac_executable_extensions; do
2368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2369 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2370 ac_prog_rejected
=yes
2374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2380 if test $ac_prog_rejected = yes; then
2381 # We found a bogon in the path, so make sure we never use it.
2382 set dummy
$ac_cv_prog_CC
2384 if test $# != 0; then
2385 # We chose a different compiler from the bogus one.
2386 # However, it has the same basename, so the bogon will be chosen
2387 # first if we set CC to just the basename; use the full file name.
2389 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2395 if test -n "$CC"; then
2396 echo "$as_me:$LINENO: result: $CC" >&5
2397 echo "${ECHO_T}$CC" >&6
2399 echo "$as_me:$LINENO: result: no" >&5
2400 echo "${ECHO_T}no" >&6
2404 if test -z "$CC"; then
2405 if test -n "$ac_tool_prefix"; then
2408 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2409 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2410 echo "$as_me:$LINENO: checking for $ac_word" >&5
2411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2412 if test "${ac_cv_prog_CC+set}" = set; then
2413 echo $ECHO_N "(cached) $ECHO_C" >&6
2415 if test -n "$CC"; then
2416 ac_cv_prog_CC
="$CC" # Let the user override the test.
2418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2422 test -z "$as_dir" && as_dir
=.
2423 for ac_exec_ext
in '' $ac_executable_extensions; do
2424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2425 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2435 if test -n "$CC"; then
2436 echo "$as_me:$LINENO: result: $CC" >&5
2437 echo "${ECHO_T}$CC" >&6
2439 echo "$as_me:$LINENO: result: no" >&5
2440 echo "${ECHO_T}no" >&6
2443 test -n "$CC" && break
2446 if test -z "$CC"; then
2450 # Extract the first word of "$ac_prog", so it can be a program name with args.
2451 set dummy
$ac_prog; ac_word
=$2
2452 echo "$as_me:$LINENO: checking for $ac_word" >&5
2453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2454 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2455 echo $ECHO_N "(cached) $ECHO_C" >&6
2457 if test -n "$ac_ct_CC"; then
2458 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2464 test -z "$as_dir" && as_dir
=.
2465 for ac_exec_ext
in '' $ac_executable_extensions; do
2466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2467 ac_cv_prog_ac_ct_CC
="$ac_prog"
2468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2476 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2477 if test -n "$ac_ct_CC"; then
2478 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2479 echo "${ECHO_T}$ac_ct_CC" >&6
2481 echo "$as_me:$LINENO: result: no" >&5
2482 echo "${ECHO_T}no" >&6
2485 test -n "$ac_ct_CC" && break
2494 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2495 See \`config.log' for more details." >&5
2496 echo "$as_me: error: no acceptable C compiler found in \$PATH
2497 See \`config.log' for more details." >&2;}
2498 { (exit 1); exit 1; }; }
2500 # Provide some information about the compiler.
2501 echo "$as_me:$LINENO:" \
2502 "checking for C compiler version" >&5
2503 ac_compiler
=`set X $ac_compile; echo $2`
2504 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2505 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); }
2509 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2510 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2513 (exit $ac_status); }
2514 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2515 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); }
2520 cat >conftest.
$ac_ext <<_ACEOF
2523 cat confdefs.h
>>conftest.
$ac_ext
2524 cat >>conftest.
$ac_ext <<_ACEOF
2525 /* end confdefs.h. */
2535 ac_clean_files_save
=$ac_clean_files
2536 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2537 # Try to create an executable without -o first, disregard a.out.
2538 # It will help us diagnose broken compilers, and finding out an intuition
2540 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2541 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2542 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2543 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2544 (eval $ac_link_default) 2>&5
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }; then
2548 # Find the output, starting from the most likely. This scheme is
2549 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2552 # Be careful to initialize this variable, since it used to be cached.
2553 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2555 # b.out is created by i960 compilers.
2556 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2558 test -f "$ac_file" ||
continue
2560 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2563 # This is the source file.
2566 # We found the default executable, but exeext='' is most
2570 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2571 # FIXME: I believe we export ac_cv_exeext for Libtool,
2572 # but it would be cool to find out if it's true. Does anybody
2573 # maintain Libtool? --akim.
2581 echo "$as_me: failed program was:" >&5
2582 sed 's/^/| /' conftest.
$ac_ext >&5
2584 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2585 See \`config.log' for more details." >&5
2586 echo "$as_me: error: C compiler cannot create executables
2587 See \`config.log' for more details." >&2;}
2588 { (exit 77); exit 77; }; }
2591 ac_exeext
=$ac_cv_exeext
2592 echo "$as_me:$LINENO: result: $ac_file" >&5
2593 echo "${ECHO_T}$ac_file" >&6
2595 # Check the compiler produces executables we can run. If not, either
2596 # the compiler is broken, or we cross compile.
2597 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2598 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2599 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2600 # If not cross compiling, check that we can run a simple program.
2601 if test "$cross_compiling" != yes; then
2602 if { ac_try
='./$ac_file'
2603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }; }; then
2610 if test "$cross_compiling" = maybe
; then
2613 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2614 If you meant to cross compile, use \`--host'.
2615 See \`config.log' for more details." >&5
2616 echo "$as_me: error: cannot run C compiled programs.
2617 If you meant to cross compile, use \`--host'.
2618 See \`config.log' for more details." >&2;}
2619 { (exit 1); exit 1; }; }
2623 echo "$as_me:$LINENO: result: yes" >&5
2624 echo "${ECHO_T}yes" >&6
2626 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2627 ac_clean_files
=$ac_clean_files_save
2628 # Check the compiler produces executables we can run. If not, either
2629 # the compiler is broken, or we cross compile.
2630 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2631 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2632 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2633 echo "${ECHO_T}$cross_compiling" >&6
2635 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2636 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2638 (eval $ac_link) 2>&5
2640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641 (exit $ac_status); }; then
2642 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2643 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2644 # work properly (i.e., refer to `conftest.exe'), while it won't with
2646 for ac_file
in conftest.exe conftest conftest.
*; do
2647 test -f "$ac_file" ||
continue
2649 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2650 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2657 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2658 See \`config.log' for more details." >&5
2659 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2660 See \`config.log' for more details." >&2;}
2661 { (exit 1); exit 1; }; }
2664 rm -f conftest
$ac_cv_exeext
2665 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2666 echo "${ECHO_T}$ac_cv_exeext" >&6
2668 rm -f conftest.
$ac_ext
2669 EXEEXT
=$ac_cv_exeext
2671 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2672 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2673 if test "${ac_cv_objext+set}" = set; then
2674 echo $ECHO_N "(cached) $ECHO_C" >&6
2676 cat >conftest.
$ac_ext <<_ACEOF
2679 cat confdefs.h
>>conftest.
$ac_ext
2680 cat >>conftest.
$ac_ext <<_ACEOF
2681 /* end confdefs.h. */
2691 rm -f conftest.o conftest.obj
2692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2693 (eval $ac_compile) 2>&5
2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); }; then
2697 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2699 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2700 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2705 echo "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.
$ac_ext >&5
2708 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2709 See \`config.log' for more details." >&5
2710 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2711 See \`config.log' for more details." >&2;}
2712 { (exit 1); exit 1; }; }
2715 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2717 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2718 echo "${ECHO_T}$ac_cv_objext" >&6
2719 OBJEXT
=$ac_cv_objext
2721 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2722 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2723 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2724 echo $ECHO_N "(cached) $ECHO_C" >&6
2726 cat >conftest.
$ac_ext <<_ACEOF
2729 cat confdefs.h
>>conftest.
$ac_ext
2730 cat >>conftest.
$ac_ext <<_ACEOF
2731 /* end confdefs.h. */
2744 rm -f conftest.
$ac_objext
2745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2746 (eval $ac_compile) 2>conftest.er1
2748 grep -v '^ *+' conftest.er1
>conftest.err
2750 cat conftest.err
>&5
2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752 (exit $ac_status); } &&
2753 { ac_try
='test -z "$ac_c_werror_flag"
2754 || test ! -s conftest.err'
2755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); }; } &&
2760 { ac_try
='test -s conftest.$ac_objext'
2761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); }; }; then
2768 echo "$as_me: failed program was:" >&5
2769 sed 's/^/| /' conftest.
$ac_ext >&5
2773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2774 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2777 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2778 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2779 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2780 ac_test_CFLAGS
=${CFLAGS+set}
2781 ac_save_CFLAGS
=$CFLAGS
2783 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2784 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2785 if test "${ac_cv_prog_cc_g+set}" = set; then
2786 echo $ECHO_N "(cached) $ECHO_C" >&6
2788 cat >conftest.
$ac_ext <<_ACEOF
2791 cat confdefs.h
>>conftest.
$ac_ext
2792 cat >>conftest.
$ac_ext <<_ACEOF
2793 /* end confdefs.h. */
2803 rm -f conftest.
$ac_objext
2804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2805 (eval $ac_compile) 2>conftest.er1
2807 grep -v '^ *+' conftest.er1
>conftest.err
2809 cat conftest.err
>&5
2810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811 (exit $ac_status); } &&
2812 { ac_try
='test -z "$ac_c_werror_flag"
2813 || test ! -s conftest.err'
2814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); }; } &&
2819 { ac_try
='test -s conftest.$ac_objext'
2820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); }; }; then
2827 echo "$as_me: failed program was:" >&5
2828 sed 's/^/| /' conftest.
$ac_ext >&5
2832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2834 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2835 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2836 if test "$ac_test_CFLAGS" = set; then
2837 CFLAGS
=$ac_save_CFLAGS
2838 elif test $ac_cv_prog_cc_g = yes; then
2839 if test "$GCC" = yes; then
2845 if test "$GCC" = yes; then
2851 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2852 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2853 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2854 echo $ECHO_N "(cached) $ECHO_C" >&6
2856 ac_cv_prog_cc_stdc
=no
2858 cat >conftest.
$ac_ext <<_ACEOF
2861 cat confdefs.h
>>conftest.
$ac_ext
2862 cat >>conftest.
$ac_ext <<_ACEOF
2863 /* end confdefs.h. */
2866 #include <sys/types.h>
2867 #include <sys/stat.h>
2868 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2869 struct buf { int x; };
2870 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2871 static char *e (p, i)
2877 static char *f (char * (*g) (char **, int), char **p, ...)
2882 s = g (p, va_arg (v,int));
2887 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2888 function prototypes and stuff, but not '\xHH' hex character constants.
2889 These don't provoke an error unfortunately, instead are silently treated
2890 as 'x'. The following induces an error, until -std1 is added to get
2891 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2892 array size at least. It's necessary to write '\x00'==0 to get something
2893 that's true only with -std1. */
2894 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2896 int test (int i, double x);
2897 struct s1 {int (*f) (int a);};
2898 struct s2 {int (*f) (double a);};
2899 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2905 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2910 # Don't try gcc -ansi; that turns off useful extensions and
2911 # breaks some systems' header files.
2912 # AIX -qlanglvl=ansi
2913 # Ultrix and OSF/1 -std1
2914 # HP-UX 10.20 and later -Ae
2915 # HP-UX older versions -Aa -D_HPUX_SOURCE
2916 # SVR4 -Xc -D__EXTENSIONS__
2917 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2919 CC
="$ac_save_CC $ac_arg"
2920 rm -f conftest.
$ac_objext
2921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2922 (eval $ac_compile) 2>conftest.er1
2924 grep -v '^ *+' conftest.er1
>conftest.err
2926 cat conftest.err
>&5
2927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928 (exit $ac_status); } &&
2929 { ac_try
='test -z "$ac_c_werror_flag"
2930 || test ! -s conftest.err'
2931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); }; } &&
2936 { ac_try
='test -s conftest.$ac_objext'
2937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); }; }; then
2942 ac_cv_prog_cc_stdc
=$ac_arg
2945 echo "$as_me: failed program was:" >&5
2946 sed 's/^/| /' conftest.
$ac_ext >&5
2949 rm -f conftest.err conftest.
$ac_objext
2951 rm -f conftest.
$ac_ext conftest.
$ac_objext
2956 case "x$ac_cv_prog_cc_stdc" in
2958 echo "$as_me:$LINENO: result: none needed" >&5
2959 echo "${ECHO_T}none needed" >&6 ;;
2961 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2962 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2963 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2966 # Some people use a C++ compiler to compile C. Since we use `exit',
2967 # in C++ we need to declare it. In case someone uses the same compiler
2968 # for both compiling C and C++ we need to have the C++ compiler decide
2969 # the declaration of exit, since it's the most demanding environment.
2970 cat >conftest.
$ac_ext <<_ACEOF
2975 rm -f conftest.
$ac_objext
2976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2977 (eval $ac_compile) 2>conftest.er1
2979 grep -v '^ *+' conftest.er1
>conftest.err
2981 cat conftest.err
>&5
2982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); } &&
2984 { ac_try
='test -z "$ac_c_werror_flag"
2985 || test ! -s conftest.err'
2986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990 (exit $ac_status); }; } &&
2991 { ac_try
='test -s conftest.$ac_objext'
2992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996 (exit $ac_status); }; }; then
2997 for ac_declaration
in \
2999 'extern "C" void std::exit (int) throw (); using std::exit;' \
3000 'extern "C" void std::exit (int); using std::exit;' \
3001 'extern "C" void exit (int) throw ();' \
3002 'extern "C" void exit (int);' \
3005 cat >conftest.
$ac_ext <<_ACEOF
3008 cat confdefs.h
>>conftest.
$ac_ext
3009 cat >>conftest.
$ac_ext <<_ACEOF
3010 /* end confdefs.h. */
3021 rm -f conftest.
$ac_objext
3022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3023 (eval $ac_compile) 2>conftest.er1
3025 grep -v '^ *+' conftest.er1
>conftest.err
3027 cat conftest.err
>&5
3028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 (exit $ac_status); } &&
3030 { ac_try
='test -z "$ac_c_werror_flag"
3031 || test ! -s conftest.err'
3032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036 (exit $ac_status); }; } &&
3037 { ac_try
='test -s conftest.$ac_objext'
3038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3042 (exit $ac_status); }; }; then
3045 echo "$as_me: failed program was:" >&5
3046 sed 's/^/| /' conftest.
$ac_ext >&5
3050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3051 cat >conftest.
$ac_ext <<_ACEOF
3054 cat confdefs.h
>>conftest.
$ac_ext
3055 cat >>conftest.
$ac_ext <<_ACEOF
3056 /* end confdefs.h. */
3066 rm -f conftest.
$ac_objext
3067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3068 (eval $ac_compile) 2>conftest.er1
3070 grep -v '^ *+' conftest.er1
>conftest.err
3072 cat conftest.err
>&5
3073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3074 (exit $ac_status); } &&
3075 { ac_try
='test -z "$ac_c_werror_flag"
3076 || test ! -s conftest.err'
3077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); }; } &&
3082 { ac_try
='test -s conftest.$ac_objext'
3083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); }; }; then
3090 echo "$as_me: failed program was:" >&5
3091 sed 's/^/| /' conftest.
$ac_ext >&5
3094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3097 if test -n "$ac_declaration"; then
3098 echo '#ifdef __cplusplus' >>confdefs.h
3099 echo $ac_declaration >>confdefs.h
3100 echo '#endif' >>confdefs.h
3104 echo "$as_me: failed program was:" >&5
3105 sed 's/^/| /' conftest.
$ac_ext >&5
3108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3110 ac_cpp
='$CPP $CPPFLAGS'
3111 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3112 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3113 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3114 DEPDIR
="${am__leading_dot}deps"
3116 ac_config_commands
="$ac_config_commands depfiles"
3119 am_make
=${MAKE-make}
3120 cat > confinc
<< 'END'
3125 # If we don't find an include directive, just comment out the code.
3126 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3127 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3131 # First try GNU make style include.
3132 echo "include confinc" > confmf
3133 # We grep out `Entering directory' and `Leaving directory'
3134 # messages which can occur if `w' ends up in MAKEFLAGS.
3135 # In particular we don't look at `^make:' because GNU make might
3136 # be invoked under some other name (usually "gmake"), in which
3137 # case it prints its new name instead of `make'.
3138 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3143 # Now try BSD make style include.
3144 if test "$am__include" = "#"; then
3145 echo '.include "confinc"' > confmf
3146 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3147 am__include
=.include
3154 echo "$as_me:$LINENO: result: $_am_result" >&5
3155 echo "${ECHO_T}$_am_result" >&6
3156 rm -f confinc confmf
3158 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3159 if test "${enable_dependency_tracking+set}" = set; then
3160 enableval
="$enable_dependency_tracking"
3163 if test "x$enable_dependency_tracking" != xno
; then
3164 am_depcomp
="$ac_aux_dir/depcomp"
3169 if test "x$enable_dependency_tracking" != xno; then
3180 depcc
="$CC" am_compiler_list
=
3182 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3183 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3184 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3185 echo $ECHO_N "(cached) $ECHO_C" >&6
3187 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3188 # We make a subdir and do the tests there. Otherwise we can end up
3189 # making bogus files that we don't know about and never remove. For
3190 # instance it was reported that on HP-UX the gcc test will end up
3191 # making a dummy file named `D' -- because `-MD' means `put the output
3194 # Copy depcomp to subdir because otherwise we won't find it if we're
3195 # using a relative directory.
3196 cp "$am_depcomp" conftest.dir
3198 # We will build objects and dependencies in a subdirectory because
3199 # it helps to detect inapplicable dependency modes. For instance
3200 # both Tru64's cc and ICC support -MD to output dependencies as a
3201 # side effect of compilation, but ICC will put the dependencies in
3202 # the current directory while Tru64 will put them in the object
3206 am_cv_CC_dependencies_compiler_type
=none
3207 if test "$am_compiler_list" = ""; then
3208 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3210 for depmode
in $am_compiler_list; do
3211 # Setup a source with many dependencies, because some compilers
3212 # like to wrap large dependency lists on column 80 (with \), and
3213 # we should not choose a depcomp mode which is confused by this.
3215 # We need to recreate these files for each test, as the compiler may
3216 # overwrite some of them when testing with obscure command lines.
3217 # This happens at least with the AIX C compiler.
3219 for i
in 1 2 3 4 5 6; do
3220 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3221 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3222 # Solaris 8's {/usr,}/bin/sh.
3223 touch sub
/conftst
$i.h
3225 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3229 # after this tag, mechanisms are not by side-effect, so they'll
3230 # only be used when explicitly requested
3231 if test "x$enable_dependency_tracking" = xyes
; then
3239 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3240 # mode. It turns out that the SunPro C++ compiler does not properly
3241 # handle `-M -o', and we need to detect this.
3242 if depmode
=$depmode \
3243 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3244 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3245 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3246 >/dev
/null
2>conftest.err
&&
3247 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3248 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3249 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3250 # icc doesn't choke on unknown options, it will just issue warnings
3251 # or remarks (even with -Werror). So we grep stderr for any message
3252 # that says an option was ignored or not supported.
3253 # When given -MP, icc 7.0 and 7.1 complain thusly:
3254 # icc: Command line warning: ignoring option '-M'; no argument required
3255 # The diagnosis changed in icc 8.0:
3256 # icc: Command line remark: option '-MP' not supported
3257 if (grep 'ignoring option' conftest.err ||
3258 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3259 am_cv_CC_dependencies_compiler_type
=$depmode
3268 am_cv_CC_dependencies_compiler_type
=none
3272 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3273 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3274 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3279 test "x$enable_dependency_tracking" != xno \
3280 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3282 am__fastdepCC_FALSE
='#'
3284 am__fastdepCC_TRUE
='#'
3285 am__fastdepCC_FALSE
=
3293 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
3294 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
3295 # in both places for now and restore CFLAGS at the end of config.
3296 save_CFLAGS
="$CFLAGS"
3298 # Add -Wall -Werror if we are using GCC.
3299 if test "x$GCC" = "xyes"; then
3300 XCFLAGS
="$XCFLAGS -Wall -Werror"
3303 # Find other programs we need.
3304 if test -n "$ac_tool_prefix"; then
3305 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3306 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3307 echo "$as_me:$LINENO: checking for $ac_word" >&5
3308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3309 if test "${ac_cv_prog_AR+set}" = set; then
3310 echo $ECHO_N "(cached) $ECHO_C" >&6
3312 if test -n "$AR"; then
3313 ac_cv_prog_AR
="$AR" # Let the user override the test.
3315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3319 test -z "$as_dir" && as_dir
=.
3320 for ac_exec_ext
in '' $ac_executable_extensions; do
3321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3322 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3332 if test -n "$AR"; then
3333 echo "$as_me:$LINENO: result: $AR" >&5
3334 echo "${ECHO_T}$AR" >&6
3336 echo "$as_me:$LINENO: result: no" >&5
3337 echo "${ECHO_T}no" >&6
3341 if test -z "$ac_cv_prog_AR"; then
3343 # Extract the first word of "ar", so it can be a program name with args.
3344 set dummy
ar; ac_word
=$2
3345 echo "$as_me:$LINENO: checking for $ac_word" >&5
3346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3347 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3348 echo $ECHO_N "(cached) $ECHO_C" >&6
3350 if test -n "$ac_ct_AR"; then
3351 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3357 test -z "$as_dir" && as_dir
=.
3358 for ac_exec_ext
in '' $ac_executable_extensions; do
3359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3360 ac_cv_prog_ac_ct_AR
="ar"
3361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3369 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3370 if test -n "$ac_ct_AR"; then
3371 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3372 echo "${ECHO_T}$ac_ct_AR" >&6
3374 echo "$as_me:$LINENO: result: no" >&5
3375 echo "${ECHO_T}no" >&6
3383 if test -n "$ac_tool_prefix"; then
3384 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3385 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3386 echo "$as_me:$LINENO: checking for $ac_word" >&5
3387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3388 if test "${ac_cv_prog_RANLIB+set}" = set; then
3389 echo $ECHO_N "(cached) $ECHO_C" >&6
3391 if test -n "$RANLIB"; then
3392 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3398 test -z "$as_dir" && as_dir
=.
3399 for ac_exec_ext
in '' $ac_executable_extensions; do
3400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3401 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3410 RANLIB
=$ac_cv_prog_RANLIB
3411 if test -n "$RANLIB"; then
3412 echo "$as_me:$LINENO: result: $RANLIB" >&5
3413 echo "${ECHO_T}$RANLIB" >&6
3415 echo "$as_me:$LINENO: result: no" >&5
3416 echo "${ECHO_T}no" >&6
3420 if test -z "$ac_cv_prog_RANLIB"; then
3421 ac_ct_RANLIB
=$RANLIB
3422 # Extract the first word of "ranlib", so it can be a program name with args.
3423 set dummy ranlib
; ac_word
=$2
3424 echo "$as_me:$LINENO: checking for $ac_word" >&5
3425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3426 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3427 echo $ECHO_N "(cached) $ECHO_C" >&6
3429 if test -n "$ac_ct_RANLIB"; then
3430 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3436 test -z "$as_dir" && as_dir
=.
3437 for ac_exec_ext
in '' $ac_executable_extensions; do
3438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3439 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3446 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
="ranlib-not-found-in-path-error"
3449 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3450 if test -n "$ac_ct_RANLIB"; then
3451 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3452 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3454 echo "$as_me:$LINENO: result: no" >&5
3455 echo "${ECHO_T}no" >&6
3458 RANLIB
=$ac_ct_RANLIB
3460 RANLIB
="$ac_cv_prog_RANLIB"
3463 # Extract the first word of "perl", so it can be a program name with args.
3464 set dummy perl
; ac_word
=$2
3465 echo "$as_me:$LINENO: checking for $ac_word" >&5
3466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3467 if test "${ac_cv_path_PERL+set}" = set; then
3468 echo $ECHO_N "(cached) $ECHO_C" >&6
3472 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
3475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3479 test -z "$as_dir" && as_dir
=.
3480 for ac_exec_ext
in '' $ac_executable_extensions; do
3481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3482 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
3483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3489 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="perl-not-found-in-path-error"
3493 PERL
=$ac_cv_path_PERL
3495 if test -n "$PERL"; then
3496 echo "$as_me:$LINENO: result: $PERL" >&5
3497 echo "${ECHO_T}$PERL" >&6
3499 echo "$as_me:$LINENO: result: no" >&5
3500 echo "${ECHO_T}no" >&6
3503 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3504 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3505 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3506 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3507 echo $ECHO_N "(cached) $ECHO_C" >&6
3509 cat >conftest.
make <<\_ACEOF
3511 @
echo 'ac_maketemp="$(MAKE)"'
3513 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3514 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3515 if test -n "$ac_maketemp"; then
3516 eval ac_cv_prog_make_
${ac_make}_set
=yes
3518 eval ac_cv_prog_make_
${ac_make}_set
=no
3522 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3523 echo "$as_me:$LINENO: result: yes" >&5
3524 echo "${ECHO_T}yes" >&6
3527 echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6
3529 SET_MAKE
="MAKE=${MAKE-make}"
3532 # Find a good install program. We prefer a C program (faster),
3533 # so one script is as good as another. But avoid the broken or
3534 # incompatible versions:
3535 # SysV /etc/install, /usr/sbin/install
3536 # SunOS /usr/etc/install
3537 # IRIX /sbin/install
3539 # AmigaOS /C/install, which installs bootblocks on floppy discs
3540 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3541 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3542 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3543 # OS/2's system install, which has a completely different semantic
3544 # ./install, which can be erroneously created by make from ./install.sh.
3545 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3546 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3547 if test -z "$INSTALL"; then
3548 if test "${ac_cv_path_install+set}" = set; then
3549 echo $ECHO_N "(cached) $ECHO_C" >&6
3551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3555 test -z "$as_dir" && as_dir
=.
3556 # Account for people who put trailing slashes in PATH elements.
3558 .
/ | .
// |
/cC
/* | \
3559 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3560 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3563 # OSF1 and SCO ODT 3.0 have their own names for install.
3564 # Don't use installbsd from OSF since it installs stuff as root
3566 for ac_prog
in ginstall scoinst
install; do
3567 for ac_exec_ext
in '' $ac_executable_extensions; do
3568 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3569 if test $ac_prog = install &&
3570 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3571 # AIX install. It has an incompatible calling convention.
3573 elif test $ac_prog = install &&
3574 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3575 # program-specific install script used by HP pwplus--don't use.
3578 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3590 if test "${ac_cv_path_install+set}" = set; then
3591 INSTALL
=$ac_cv_path_install
3593 # As a last resort, use the slow shell script. We don't cache a
3594 # path for INSTALL within a source directory, because that will
3595 # break other packages using the cache if that directory is
3596 # removed, or if the path is relative.
3597 INSTALL
=$ac_install_sh
3600 echo "$as_me:$LINENO: result: $INSTALL" >&5
3601 echo "${ECHO_T}$INSTALL" >&6
3603 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3604 # It thinks the first close brace ends the variable substitution.
3605 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3607 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3609 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3612 # See if makeinfo has been installed and is modern enough
3613 # that we can use it.
3615 # Extract the first word of "makeinfo", so it can be a program name with args.
3616 set dummy makeinfo
; ac_word
=$2
3617 echo "$as_me:$LINENO: checking for $ac_word" >&5
3618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3619 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
3620 echo $ECHO_N "(cached) $ECHO_C" >&6
3622 if test -n "$MAKEINFO"; then
3623 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
3625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3629 test -z "$as_dir" && as_dir
=.
3630 for ac_exec_ext
in '' $ac_executable_extensions; do
3631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3632 ac_cv_prog_MAKEINFO
="makeinfo"
3633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3641 MAKEINFO
=$ac_cv_prog_MAKEINFO
3642 if test -n "$MAKEINFO"; then
3643 echo "$as_me:$LINENO: result: $MAKEINFO" >&5
3644 echo "${ECHO_T}$MAKEINFO" >&6
3646 echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6
3650 if test -n "$MAKEINFO"; then
3651 # Found it, now check the version.
3652 echo "$as_me:$LINENO: checking for modern makeinfo" >&5
3653 echo $ECHO_N "checking for modern makeinfo... $ECHO_C" >&6
3654 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then
3655 echo $ECHO_N "(cached) $ECHO_C" >&6
3657 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
3658 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
3660 case $ac_prog_version in
3661 '') gcc_cv_prog_makeinfo_modern
=no
;;
3662 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
3663 *) gcc_cv_prog_makeinfo_modern
=no
;;
3667 echo "$as_me:$LINENO: result: $gcc_cv_prog_makeinfo_modern" >&5
3668 echo "${ECHO_T}$gcc_cv_prog_makeinfo_modern" >&6
3670 gcc_cv_prog_makeinfo_modern
=no
3672 if test $gcc_cv_prog_makeinfo_modern = no
; then
3673 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
3678 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
3680 BUILD_INFO_FALSE
='#'
3691 macro_version
='2.1a'
3692 macro_revision
='1.2435'
3705 ltmain
="$ac_aux_dir/ltmain.sh"
3715 # Check whether --enable-shared or --disable-shared was given.
3716 if test "${enable_shared+set}" = set; then
3717 enableval
="$enable_shared"
3718 p
=${PACKAGE-default}
3720 yes) enable_shared
=yes ;;
3721 no
) enable_shared
=no
;;
3724 # Look at the argument we got. We use all the common list separators.
3725 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3726 for pkg
in $enableval; do
3728 if test "X$pkg" = "X$p"; then
3746 # Check whether --enable-static or --disable-static was given.
3747 if test "${enable_static+set}" = set; then
3748 enableval
="$enable_static"
3749 p
=${PACKAGE-default}
3751 yes) enable_static
=yes ;;
3752 no
) enable_static
=no
;;
3755 # Look at the argument we got. We use all the common list separators.
3756 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3757 for pkg
in $enableval; do
3759 if test "X$pkg" = "X$p"; then
3778 # Check whether --with-pic or --without-pic was given.
3779 if test "${with_pic+set}" = set; then
3786 test -z "$pic_mode" && pic_mode
=default
3794 # Check whether --enable-fast-install or --disable-fast-install was given.
3795 if test "${enable_fast_install+set}" = set; then
3796 enableval
="$enable_fast_install"
3797 p
=${PACKAGE-default}
3799 yes) enable_fast_install
=yes ;;
3800 no
) enable_fast_install
=no
;;
3802 enable_fast_install
=no
3803 # Look at the argument we got. We use all the common list separators.
3804 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3805 for pkg
in $enableval; do
3807 if test "X$pkg" = "X$p"; then
3808 enable_fast_install
=yes
3815 enable_fast_install
=yes
3825 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3826 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3827 if test "${lt_cv_path_SED+set}" = set; then
3828 echo $ECHO_N "(cached) $ECHO_C" >&6
3830 # Loop through the user's path and test for sed and gsed.
3831 # Then use that list of sed's as ones to test for truncation.
3832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3836 test -z "$as_dir" && as_dir
=.
3837 for lt_ac_prog
in sed gsed
; do
3838 for ac_exec_ext
in '' $ac_executable_extensions; do
3839 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3840 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3848 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3849 # along with /bin/sed that truncates output.
3850 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3851 test ! -f $lt_ac_sed && continue
3852 cat /dev
/null
> conftest.
in
3854 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3855 # Check for GNU sed and select it if it is found.
3856 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3857 lt_cv_path_SED
=$lt_ac_sed
3861 cat conftest.
in conftest.
in >conftest.tmp
3862 mv conftest.tmp conftest.
in
3863 cp conftest.
in conftest.
nl
3865 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3866 cmp -s conftest.out conftest.
nl ||
break
3867 # 10000 chars as input seems more than enough
3868 test $lt_ac_count -gt 10 && break
3869 lt_ac_count
=`expr $lt_ac_count + 1`
3870 if test $lt_ac_count -gt $lt_ac_max; then
3871 lt_ac_max
=$lt_ac_count
3872 lt_cv_path_SED
=$lt_ac_sed
3881 echo "$as_me:$LINENO: result: $SED" >&5
3882 echo "${ECHO_T}$SED" >&6
3884 test -z "$SED" && SED
=sed
3885 Xsed
="$SED -e 1s/^X//"
3897 echo "$as_me:$LINENO: checking for egrep" >&5
3898 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3899 if test "${ac_cv_prog_egrep+set}" = set; then
3900 echo $ECHO_N "(cached) $ECHO_C" >&6
3902 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3903 then ac_cv_prog_egrep
='grep -E'
3904 else ac_cv_prog_egrep
='egrep'
3907 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3908 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3909 EGREP
=$ac_cv_prog_egrep
3912 echo "$as_me:$LINENO: checking for fgrep" >&5
3913 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
3914 if test "${ac_cv_prog_fgrep+set}" = set; then
3915 echo $ECHO_N "(cached) $ECHO_C" >&6
3917 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
3918 then ac_cv_prog_fgrep
='grep -F'
3919 else ac_cv_prog_fgrep
='fgrep'
3922 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
3923 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
3924 FGREP
=$ac_cv_prog_fgrep
3927 test -z "$GREP" && GREP
=grep
3947 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3948 if test "${with_gnu_ld+set}" = set; then
3949 withval
="$with_gnu_ld"
3950 test "$withval" = no || with_gnu_ld
=yes
3955 if test "$GCC" = yes; then
3956 # Check if gcc -print-prog-name=ld gives a path.
3957 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3958 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3961 # gcc leaves a trailing carriage return which upsets mingw
3962 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3964 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3967 # Accept absolute paths.
3969 re_direlt
='/[^/][^/]*/\.\./'
3970 # Canonicalize the pathname of ld
3971 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3972 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
3973 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3975 test -z "$LD" && LD
="$ac_prog"
3978 # If it fails, then pretend we aren't using GCC.
3982 # If it is relative, then search for the first ld in PATH.
3986 elif test "$with_gnu_ld" = yes; then
3987 echo "$as_me:$LINENO: checking for GNU ld" >&5
3988 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3990 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3991 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3993 if test "${lt_cv_path_LD+set}" = set; then
3994 echo $ECHO_N "(cached) $ECHO_C" >&6
3996 if test -z "$LD"; then
3997 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3998 for ac_dir
in $PATH; do
4000 test -z "$ac_dir" && ac_dir
=.
4001 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4002 lt_cv_path_LD
="$ac_dir/$ac_prog"
4003 # Check to see if the program is GNU ld. I'd rather use --version,
4004 # but apparently some variants of GNU ld only accept -v.
4005 # Break only if it was the GNU/non-GNU ld that we prefer.
4006 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4007 *GNU
* |
*'with BFD'*)
4008 test "$with_gnu_ld" != no
&& break
4011 test "$with_gnu_ld" != yes && break
4018 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4023 if test -n "$LD"; then
4024 echo "$as_me:$LINENO: result: $LD" >&5
4025 echo "${ECHO_T}$LD" >&6
4027 echo "$as_me:$LINENO: result: no" >&5
4028 echo "${ECHO_T}no" >&6
4030 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4031 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4032 { (exit 1); exit 1; }; }
4033 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4034 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4035 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4036 echo $ECHO_N "(cached) $ECHO_C" >&6
4038 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4039 case `$LD -v 2>&1 </dev/null` in
4040 *GNU
* |
*'with BFD'*)
4041 lt_cv_prog_gnu_ld
=yes
4044 lt_cv_prog_gnu_ld
=no
4048 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4049 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4050 with_gnu_ld
=$lt_cv_prog_gnu_ld
4061 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4062 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4063 if test "${lt_cv_path_NM+set}" = set; then
4064 echo $ECHO_N "(cached) $ECHO_C" >&6
4066 if test -n "$NM"; then
4067 # Let the user override the test.
4070 lt_nm_to_check
="${ac_tool_prefix}nm"
4071 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4072 lt_nm_to_check
="$lt_nm_to_check nm"
4074 for lt_tmp_nm
in $lt_nm_to_check; do
4075 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4076 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4078 test -z "$ac_dir" && ac_dir
=.
4079 tmp_nm
="$ac_dir/$lt_tmp_nm"
4080 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4081 # Check to see if the nm accepts a BSD-compat flag.
4082 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4083 # nm: unknown option "B" ignored
4084 # Tru64's nm complains that /dev/null is an invalid object file
4085 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4086 */dev
/null
* |
*'Invalid file or object type'*)
4087 lt_cv_path_NM
="$tmp_nm -B"
4091 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4093 lt_cv_path_NM
="$tmp_nm -p"
4097 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4098 continue # so that we can try to find one that supports BSD flags
4107 : ${lt_cv_path_NM=no}
4110 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4111 echo "${ECHO_T}$lt_cv_path_NM" >&6
4112 if test "$lt_cv_path_NM" != "no"; then
4115 # Didn't find any BSD compatible name lister, look for dumpbin.
4116 if test -n "$ac_tool_prefix"; then
4117 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4119 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4120 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4121 echo "$as_me:$LINENO: checking for $ac_word" >&5
4122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4123 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4124 echo $ECHO_N "(cached) $ECHO_C" >&6
4126 if test -n "$DUMPBIN"; then
4127 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4133 test -z "$as_dir" && as_dir
=.
4134 for ac_exec_ext
in '' $ac_executable_extensions; do
4135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4136 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4145 DUMPBIN
=$ac_cv_prog_DUMPBIN
4146 if test -n "$DUMPBIN"; then
4147 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4148 echo "${ECHO_T}$DUMPBIN" >&6
4150 echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6
4154 test -n "$DUMPBIN" && break
4157 if test -z "$DUMPBIN"; then
4158 ac_ct_DUMPBIN
=$DUMPBIN
4159 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4161 # Extract the first word of "$ac_prog", so it can be a program name with args.
4162 set dummy
$ac_prog; ac_word
=$2
4163 echo "$as_me:$LINENO: checking for $ac_word" >&5
4164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4165 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4166 echo $ECHO_N "(cached) $ECHO_C" >&6
4168 if test -n "$ac_ct_DUMPBIN"; then
4169 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4175 test -z "$as_dir" && as_dir
=.
4176 for ac_exec_ext
in '' $ac_executable_extensions; do
4177 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4178 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4187 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4188 if test -n "$ac_ct_DUMPBIN"; then
4189 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4190 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4192 echo "$as_me:$LINENO: result: no" >&5
4193 echo "${ECHO_T}no" >&6
4196 test -n "$ac_ct_DUMPBIN" && break
4198 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
4200 DUMPBIN
=$ac_ct_DUMPBIN
4204 if test "$DUMPBIN" != ":"; then
4208 test -z "$NM" && NM
=nm
4215 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4216 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4217 if test "${lt_cv_nm_interface+set}" = set; then
4218 echo $ECHO_N "(cached) $ECHO_C" >&6
4220 lt_cv_nm_interface
="BSD nm"
4221 echo "int some_variable = 0;" > conftest.
$ac_ext
4222 (eval echo "\"\$as_me:4242: $ac_compile\"" >&5)
4223 (eval "$ac_compile" 2>conftest.err
)
4224 cat conftest.err
>&5
4225 (eval echo "\"\$as_me:4245: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4226 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4227 cat conftest.err
>&5
4228 (eval echo "\"\$as_me:4248: output\"" >&5)
4229 cat conftest.out
>&5
4230 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4231 lt_cv_nm_interface
="MS dumpbin"
4235 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4236 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4238 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4239 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4241 if test "$LN_S" = "ln -s"; then
4242 echo "$as_me:$LINENO: result: yes" >&5
4243 echo "${ECHO_T}yes" >&6
4245 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4246 echo "${ECHO_T}no, using $LN_S" >&6
4249 # find the maximum length of command line arguments
4250 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4251 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4252 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4253 echo $ECHO_N "(cached) $ECHO_C" >&6
4260 # On DJGPP, this test can blow up pretty badly due to problems in libc
4261 # (any single argument exceeding 2000 bytes causes a buffer overrun
4262 # during glob expansion). Even if it were fixed, the result of this
4263 # check would be larger than it should be.
4264 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4268 # Under GNU Hurd, this test is not required because there is
4269 # no limit to the length of command line arguments.
4270 # Libtool will interpret -1 as no limit whatsoever
4271 lt_cv_sys_max_cmd_len
=-1;
4275 # On Win9x/ME, this test blows up -- it succeeds, but takes
4276 # about 5 minutes as the teststring grows exponentially.
4277 # Worse, since 9x/ME are not pre-emptively multitasking,
4278 # you end up with a "frozen" computer, even though with patience
4279 # the test eventually succeeds (with a max line length of 256k).
4280 # Instead, let's just punt: use the minimum linelength reported by
4281 # all of the supported platforms: 8192 (on NT/2K/XP).
4282 lt_cv_sys_max_cmd_len
=8192;
4286 # On AmigaOS with pdksh, this test takes hours, literally.
4287 # So we just punt and use a minimum line length of 8192.
4288 lt_cv_sys_max_cmd_len
=8192;
4291 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4292 # This has been around since 386BSD, at least. Likely further.
4293 if test -x /sbin
/sysctl
; then
4294 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4295 elif test -x /usr
/sbin
/sysctl
; then
4296 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4298 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4300 # And add a safety zone
4301 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4302 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4306 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4307 lt_cv_sys_max_cmd_len
=196608
4311 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4312 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4313 # nice to cause kernel panics so lets avoid the loop below.
4314 # First set a reasonable default.
4315 lt_cv_sys_max_cmd_len
=16384
4317 if test -x /sbin
/sysconfig
; then
4318 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4319 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4324 lt_cv_sys_max_cmd_len
=102400
4326 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4327 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4328 if test -n "$kargmax"; then
4329 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4331 lt_cv_sys_max_cmd_len
=32768
4335 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
4336 if test -n $lt_cv_sys_max_cmd_len; then
4337 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4338 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4340 # Make teststring a little bigger before we do anything with it.
4341 # a 1K string should be a reasonable start.
4342 for i
in 1 2 3 4 5 6 7 8 ; do
4343 teststring
=$teststring$teststring
4345 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4346 # If test is not a shell built-in, we'll probably end up computing a
4347 # maximum length that is only half of the actual maximum length, but
4349 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4350 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4351 test $i != 17 # 1/2 MB should be enough
4354 teststring
=$teststring$teststring
4356 # Only check the string length outside the loop.
4357 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4359 # Add a significant safety factor because C++ compilers can tack on
4360 # massive amounts of additional arguments before passing them to the
4361 # linker. It appears as though 1/2 is a usable value.
4362 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4369 if test -n $lt_cv_sys_max_cmd_len ; then
4370 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4371 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4373 echo "$as_me:$LINENO: result: none" >&5
4374 echo "${ECHO_T}none" >&6
4376 max_cmd_len
=$lt_cv_sys_max_cmd_len
4388 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4389 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4390 # Try some XSI features
4393 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4394 = c,a/b,, ) >/dev/null 2>&1 \
4396 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4397 echo "${ECHO_T}$xsi_shell" >&6
4400 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4401 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
4403 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4405 && lt_shell_append=yes
4406 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4407 echo "${ECHO_T}$lt_shell_append" >&6
4410 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4420 # test EBCDIC or ASCII
4421 case `echo X|tr X '\101'` in
4422 A) # ASCII based system
4423 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4424 lt_SP2NL='tr \040 \012'
4425 lt_NL2SP='tr \015\012 \040\040'
4427 *) # EBCDIC based system
4428 lt_SP2NL='tr \100 \n'
4429 lt_NL2SP='tr \r\n \100\100'
4441 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4442 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
4443 if test "${lt_cv_ld_reload_flag+set}" = set; then
4444 echo $ECHO_N "(cached
) $ECHO_C" >&6
4446 lt_cv_ld_reload_flag='-r'
4448 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4449 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4450 reload_flag=$lt_cv_ld_reload_flag
4451 case $reload_flag in
4453 *) reload_flag=" $reload_flag" ;;
4455 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4458 if test "$GCC" = yes; then
4459 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4461 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4475 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4476 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4477 if test "${lt_cv_deplibs_check_method+set}" = set; then
4478 echo $ECHO_N "(cached
) $ECHO_C" >&6
4480 lt_cv_file_magic_cmd='$MAGIC_CMD'
4481 lt_cv_file_magic_test_file=
4482 lt_cv_deplibs_check_method='unknown'
4483 # Need to set the preceding variable on all platforms that support
4484 # interlibrary dependencies.
4485 # 'none' -- dependencies not supported.
4486 # `unknown' -- same as none, but documents that we really don't know.
4487 # 'pass_all' -- all dependencies passed with no checks.
4488 # 'test_compile' -- check by making test program.
4489 # 'file_magic [[regex]]' -- check by looking for files in library path
4490 # which responds to the $file_magic_cmd with a given extended regex.
4491 # If you have `file' or equivalent on your system and you're not sure
4492 # whether `pass_all' will *always* work, you probably want this one.
4496 lt_cv_deplibs_check_method=pass_all
4500 lt_cv_deplibs_check_method=pass_all
4504 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4505 lt_cv_file_magic_cmd='/usr/bin/file -L'
4506 lt_cv_file_magic_test_file=/shlib/libc.so
4510 # func_win32_libid is a shell function defined in ltmain.sh
4511 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4512 lt_cv_file_magic_cmd='func_win32_libid'
4516 # Base MSYS/MinGW do not provide the 'file' command needed by
4517 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4518 # unless we find 'file', for example because we are cross-compiling.
4519 if ( file / ) >/dev/null 2>&1; then
4520 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4521 lt_cv_file_magic_cmd='func_win32_libid'
4523 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4524 lt_cv_file_magic_cmd='$OBJDUMP -f'
4528 darwin* | rhapsody*)
4529 lt_cv_deplibs_check_method=pass_all
4532 freebsd* | dragonfly*)
4533 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4536 # Not sure whether the presence of OpenBSD here was a mistake.
4537 # Let's accept both of them until this is cleared up.
4538 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4539 lt_cv_file_magic_cmd=/usr/bin/file
4540 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4544 lt_cv_deplibs_check_method=pass_all
4549 lt_cv_deplibs_check_method=pass_all
4552 hpux10.20* | hpux11*)
4553 lt_cv_file_magic_cmd=/usr/bin/file
4556 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4557 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4560 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]'
4561 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4564 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4565 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4571 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4572 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4575 irix5* | irix6* | nonstopux*)
4577 *-32|*"-32 ") libmagic=32-bit;;
4578 *-n32|*"-n32 ") libmagic=N32;;
4579 *-64|*"-64 ") libmagic=64-bit;;
4580 *) libmagic=never-match;;
4582 lt_cv_deplibs_check_method=pass_all
4585 # This must be Linux ELF.
4586 linux* | k*bsd*-gnu)
4587 lt_cv_deplibs_check_method=pass_all
4591 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4592 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4594 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4599 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4600 lt_cv_file_magic_cmd=/usr/bin/file
4601 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4605 lt_cv_deplibs_check_method=pass_all
4609 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4610 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4612 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4616 osf3* | osf4* | osf5*)
4617 lt_cv_deplibs_check_method=pass_all
4621 lt_cv_deplibs_check_method=pass_all
4625 lt_cv_deplibs_check_method=pass_all
4628 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4629 lt_cv_deplibs_check_method=pass_all
4633 case $host_vendor in
4635 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]'
4636 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4639 lt_cv_deplibs_check_method=pass_all
4642 lt_cv_file_magic_cmd='/bin/file'
4643 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4646 lt_cv_file_magic_cmd='/bin/file'
4647 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4648 lt_cv_file_magic_test_file=/lib/libc.so
4651 lt_cv_deplibs_check_method=pass_all
4654 lt_cv_deplibs_check_method=pass_all
4660 lt_cv_deplibs_check_method=pass_all
4665 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4666 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4667 file_magic_cmd=$lt_cv_file_magic_cmd
4668 deplibs_check_method=$lt_cv_deplibs_check_method
4669 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4682 if test -n "$ac_tool_prefix"; then
4683 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4684 set dummy ${ac_tool_prefix}ar; ac_word=$2
4685 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4686 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4687 if test "${ac_cv_prog_AR+set}" = set; then
4688 echo $ECHO_N "(cached
) $ECHO_C" >&6
4690 if test -n "$AR"; then
4691 ac_cv_prog_AR="$AR" # Let the user override the test.
4693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4697 test -z "$as_dir" && as_dir=.
4698 for ac_exec_ext in '' $ac_executable_extensions; do
4699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4700 ac_cv_prog_AR="${ac_tool_prefix}ar"
4701 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4710 if test -n "$AR"; then
4711 echo "$as_me:$LINENO: result
: $AR" >&5
4712 echo "${ECHO_T}$AR" >&6
4714 echo "$as_me:$LINENO: result
: no
" >&5
4715 echo "${ECHO_T}no
" >&6
4719 if test -z "$ac_cv_prog_AR"; then
4721 # Extract the first word of "ar", so it can be a program name with args.
4722 set dummy ar; ac_word=$2
4723 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4724 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4725 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4726 echo $ECHO_N "(cached
) $ECHO_C" >&6
4728 if test -n "$ac_ct_AR"; then
4729 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4735 test -z "$as_dir" && as_dir=.
4736 for ac_exec_ext in '' $ac_executable_extensions; do
4737 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4738 ac_cv_prog_ac_ct_AR="ar"
4739 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4745 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
4748 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4749 if test -n "$ac_ct_AR"; then
4750 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
4751 echo "${ECHO_T}$ac_ct_AR" >&6
4753 echo "$as_me:$LINENO: result
: no
" >&5
4754 echo "${ECHO_T}no
" >&6
4762 test -z "$AR" && AR=ar
4763 test -z "$AR_FLAGS" && AR_FLAGS=cru
4775 if test -n "$ac_tool_prefix"; then
4776 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
4777 set dummy ${ac_tool_prefix}strip; ac_word=$2
4778 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4779 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4780 if test "${ac_cv_prog_STRIP+set}" = set; then
4781 echo $ECHO_N "(cached
) $ECHO_C" >&6
4783 if test -n "$STRIP"; then
4784 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4790 test -z "$as_dir" && as_dir=.
4791 for ac_exec_ext in '' $ac_executable_extensions; do
4792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4793 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
4794 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4802 STRIP=$ac_cv_prog_STRIP
4803 if test -n "$STRIP"; then
4804 echo "$as_me:$LINENO: result
: $STRIP" >&5
4805 echo "${ECHO_T}$STRIP" >&6
4807 echo "$as_me:$LINENO: result
: no
" >&5
4808 echo "${ECHO_T}no
" >&6
4812 if test -z "$ac_cv_prog_STRIP"; then
4814 # Extract the first word of "strip
", so it can be a program name with args.
4815 set dummy strip; ac_word=$2
4816 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4817 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4818 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4819 echo $ECHO_N "(cached
) $ECHO_C" >&6
4821 if test -n "$ac_ct_STRIP"; then
4822 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4828 test -z "$as_dir" && as_dir=.
4829 for ac_exec_ext in '' $ac_executable_extensions; do
4830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4831 ac_cv_prog_ac_ct_STRIP="strip
"
4832 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4838 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4841 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4842 if test -n "$ac_ct_STRIP"; then
4843 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
4844 echo "${ECHO_T}$ac_ct_STRIP" >&6
4846 echo "$as_me:$LINENO: result
: no
" >&5
4847 echo "${ECHO_T}no
" >&6
4852 STRIP="$ac_cv_prog_STRIP"
4855 test -z "$STRIP" && STRIP=:
4862 if test -n "$ac_tool_prefix"; then
4863 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
4864 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4865 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4866 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4867 if test "${ac_cv_prog_RANLIB+set}" = set; then
4868 echo $ECHO_N "(cached
) $ECHO_C" >&6
4870 if test -n "$RANLIB"; then
4871 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4877 test -z "$as_dir" && as_dir=.
4878 for ac_exec_ext in '' $ac_executable_extensions; do
4879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4880 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
4881 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4889 RANLIB=$ac_cv_prog_RANLIB
4890 if test -n "$RANLIB"; then
4891 echo "$as_me:$LINENO: result
: $RANLIB" >&5
4892 echo "${ECHO_T}$RANLIB" >&6
4894 echo "$as_me:$LINENO: result
: no
" >&5
4895 echo "${ECHO_T}no
" >&6
4899 if test -z "$ac_cv_prog_RANLIB"; then
4900 ac_ct_RANLIB=$RANLIB
4901 # Extract the first word of "ranlib
", so it can be a program name with args.
4902 set dummy ranlib; ac_word=$2
4903 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4904 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4905 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4906 echo $ECHO_N "(cached
) $ECHO_C" >&6
4908 if test -n "$ac_ct_RANLIB"; then
4909 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4915 test -z "$as_dir" && as_dir=.
4916 for ac_exec_ext in '' $ac_executable_extensions; do
4917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4918 ac_cv_prog_ac_ct_RANLIB="ranlib
"
4919 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4925 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4928 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4929 if test -n "$ac_ct_RANLIB"; then
4930 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
4931 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4933 echo "$as_me:$LINENO: result
: no
" >&5
4934 echo "${ECHO_T}no
" >&6
4937 RANLIB=$ac_ct_RANLIB
4939 RANLIB="$ac_cv_prog_RANLIB"
4942 test -z "$RANLIB" && RANLIB=:
4949 # Determine commands to create old-style static archives.
4950 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
4951 old_postinstall_cmds='chmod 644 $oldlib'
4952 old_postuninstall_cmds=
4954 if test -n "$RANLIB"; then
4957 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
4960 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
4963 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
4999 # If no C compiler was specified, use CC.
5002 # If no C compiler flags were specified, use CFLAGS.
5003 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5005 # Allow CC to be a program name with arguments.
5009 # Check for command to grab the raw symbol name followed by C symbol from nm.
5010 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5011 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
5012 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5013 echo $ECHO_N "(cached
) $ECHO_C" >&6
5016 # These are sane defaults that work on at least a few old systems.
5017 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5019 # Character class describing NM global symbol codes.
5020 symcode='[BCDEGRST]'
5022 # Regexp to match symbols that can be accessed directly from C.
5023 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5025 # Define system-specific variables.
5030 cygwin* | mingw* | pw32*)
5031 symcode='[ABCDGISTW]'
5034 if test "$host_cpu" = ia64; then
5035 symcode='[ABCDEGRST]'
5039 symcode='[BCDEGRST]'
5042 symcode='[BCDEGQRST]'
5053 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5061 # If we're using GNU nm, then use its standard symbol codes.
5062 case `$NM -V 2>&1` in
5063 *GNU* | *'with BFD'*)
5064 symcode='[ABCDGIRSTW]' ;;
5067 # Transform an extracted symbol line into a proper C declaration.
5068 # Some systems (esp. on ia64) link data and code symbols differently,
5069 # so use this general approach.
5070 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5072 # Transform an extracted symbol line into symbol name and symbol address
5073 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5075 # Handle CRLF in mingw tool chain
5079 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5083 # Try without a prefix underscore, then with it.
5084 for ac_symprfx in "" "_
"; do
5086 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5087 symxfrm="\\1 $ac_symprfx\\2 \\2"
5089 # Write the raw and C identifiers.
5090 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5091 # Fake it for dumpbin and say T for any non-static function
5092 # and D for any global variable.
5093 # Also find C++ and __fastcall symbols from MSVC++,
5094 # which start with @ or ?.
5095 lt_cv_sys_global_symbol_pipe="$AWK '"\
5096 " {last_section=section; section=\$ 3};"\
5097 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5098 " \$ 0!~/External *\|/{next};"\
5099 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5100 " {if(hide[section]) next};"\
5101 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5102 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5103 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5104 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5105 " ' prfx
=^
$ac_symprfx"
5107 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5110 # Check to see that the pipe works correctly.
5114 cat > conftest.$ac_ext <<_LT_EOF
5119 void nm_test_func(void);
5120 void nm_test_func(void){}
5124 int main(){nm_test_var='a';nm_test_func();return(0);}
5127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5128 (eval $ac_compile) 2>&5
5130 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5131 (exit $ac_status); }; then
5132 # Now try to grab the symbols.
5134 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5135 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5137 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5138 (exit $ac_status); } && test -s "$nlist"; then
5139 # Try sorting and uniquifying the output.
5140 if sort "$nlist" | uniq > "$nlist"T; then
5141 mv -f "$nlist"T "$nlist"
5146 # Make sure that we snagged all the symbols we need.
5147 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5148 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5149 cat <<_LT_EOF > conftest.$ac_ext
5155 # Now generate the symbol file.
5156 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5158 cat <<_LT_EOF >> conftest.$ac_ext
5160 /* The mapping between symbol names and symbols. */
5165 lt__PROGRAM__LTX_preloaded_symbols[] =
5167 { "@PROGRAM@
", (void *) 0 },
5169 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5170 cat <<\_LT_EOF >> conftest.$ac_ext
5174 /* This works around a problem in FreeBSD linker */
5175 #ifdef FREEBSD_WORKAROUND
5176 static const void *lt_preloaded_setup() {
5177 return lt__PROGRAM__LTX_preloaded_symbols;
5185 # Now try linking the two files.
5186 mv conftest.$ac_objext conftstm.$ac_objext
5187 lt_save_LIBS="$LIBS"
5188 lt_save_CFLAGS="$CFLAGS"
5189 LIBS="conftstm.
$ac_objext"
5190 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5192 (eval $ac_link) 2>&5
5194 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5195 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5198 LIBS="$lt_save_LIBS"
5199 CFLAGS="$lt_save_CFLAGS"
5201 echo "cannot
find nm_test_func
in $nlist" >&5
5204 echo "cannot
find nm_test_var
in $nlist" >&5
5207 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5210 echo "$progname: failed program was
:" >&5
5211 cat conftest.$ac_ext >&5
5213 rm -f conftest* conftst*
5215 # Do not use the global_symbol_pipe unless it works.
5216 if test "$pipe_works" = yes; then
5219 lt_cv_sys_global_symbol_pipe=
5225 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5226 lt_cv_sys_global_symbol_to_cdecl=
5228 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5229 echo "$as_me:$LINENO: result
: failed
" >&5
5230 echo "${ECHO_T}failed
" >&6
5232 echo "$as_me:$LINENO: result
: ok
" >&5
5233 echo "${ECHO_T}ok
" >&6
5253 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5254 if test "${enable_libtool_lock+set}" = set; then
5255 enableval="$enable_libtool_lock"
5258 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5260 # Some flags need to be propagated to the compiler or linker for good
5264 # Find out which ABI we are using.
5265 echo 'int i;' > conftest.$ac_ext
5266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5267 (eval $ac_compile) 2>&5
5269 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5270 (exit $ac_status); }; then
5271 case `/usr/bin/file conftest.$ac_objext` in
5283 # Find out which ABI we are using.
5284 echo '#line 5304 "configure
"' > conftest.$ac_ext
5285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5286 (eval $ac_compile) 2>&5
5288 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5289 (exit $ac_status); }; then
5290 if test "$lt_cv_prog_gnu_ld" = yes; then
5291 case `/usr/bin/file conftest.$ac_objext` in
5293 LD="${LD-ld} -melf32bsmip"
5296 LD="${LD-ld} -melf32bmipn32"
5299 LD="${LD-ld} -melf64bmip"
5303 case `/usr/bin/file conftest.$ac_objext` in
5319 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5320 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5321 # Find out which ABI we are using.
5322 echo 'int i;' > conftest.$ac_ext
5323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5324 (eval $ac_compile) 2>&5
5326 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5327 (exit $ac_status); }; then
5328 case `/usr/bin/file conftest.o` in
5331 x86_64-*kfreebsd*-gnu)
5332 LD="${LD-ld} -m elf_i386_fbsd
"
5335 LD="${LD-ld} -m elf_i386
"
5337 ppc64-*linux*|powerpc64-*linux*)
5338 LD="${LD-ld} -m elf32ppclinux
"
5341 LD="${LD-ld} -m elf_s390
"
5344 LD="${LD-ld} -m elf32_sparc
"
5350 x86_64-*kfreebsd*-gnu)
5351 LD="${LD-ld} -m elf_x86_64_fbsd
"
5354 LD="${LD-ld} -m elf_x86_64
"
5356 ppc*-*linux*|powerpc*-*linux*)
5357 LD="${LD-ld} -m elf64ppc
"
5359 s390*-*linux*|s390*-*tpf*)
5360 LD="${LD-ld} -m elf64_s390
"
5363 LD="${LD-ld} -m elf64_sparc
"
5373 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5374 SAVE_CFLAGS="$CFLAGS"
5375 CFLAGS="$CFLAGS -belf"
5376 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5377 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
5378 if test "${lt_cv_cc_needs_belf+set}" = set; then
5379 echo $ECHO_N "(cached
) $ECHO_C" >&6
5382 ac_cpp='$CPP $CPPFLAGS'
5383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5387 cat >conftest.$ac_ext <<_ACEOF
5390 cat confdefs.h >>conftest.$ac_ext
5391 cat >>conftest.$ac_ext <<_ACEOF
5392 /* end confdefs.h. */
5402 rm -f conftest.$ac_objext conftest$ac_exeext
5403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5404 (eval $ac_link) 2>conftest.er1
5406 grep -v '^ *+' conftest.er1 >conftest.err
5408 cat conftest.err >&5
5409 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5410 (exit $ac_status); } &&
5411 { ac_try='test -z "$ac_c_werror_flag"
5412 || test ! -s conftest.err'
5413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5416 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5417 (exit $ac_status); }; } &&
5418 { ac_try='test -s conftest$ac_exeext'
5419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5422 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5423 (exit $ac_status); }; }; then
5424 lt_cv_cc_needs_belf=yes
5426 echo "$as_me: failed program was
:" >&5
5427 sed 's/^/| /' conftest.$ac_ext >&5
5429 lt_cv_cc_needs_belf=no
5431 rm -f conftest.err conftest.$ac_objext \
5432 conftest$ac_exeext conftest.$ac_ext
5434 ac_cpp='$CPP $CPPFLAGS'
5435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5440 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5441 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5442 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5443 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5444 CFLAGS="$SAVE_CFLAGS"
5448 # Find out which ABI we are using.
5449 echo 'int i;' > conftest.$ac_ext
5450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5451 (eval $ac_compile) 2>&5
5453 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5454 (exit $ac_status); }; then
5455 case `/usr/bin/file conftest.o` in
5457 case $lt_cv_prog_gnu_ld in
5458 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5459 *) LD="${LD-ld} -64" ;;
5468 need_locks="$enable_libtool_lock"
5471 ac_cpp='$CPP $CPPFLAGS'
5472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5475 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5476 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
5477 # On Suns, sometimes $CPP names a directory.
5478 if test -n "$CPP" && test -d "$CPP"; then
5481 if test -z "$CPP"; then
5482 if test "${ac_cv_prog_CPP+set}" = set; then
5483 echo $ECHO_N "(cached
) $ECHO_C" >&6
5485 # Double quotes because CPP needs to be expanded
5486 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5489 for ac_c_preproc_warn_flag in '' yes
5491 # Use a header file that comes with gcc, so configuring glibc
5492 # with a fresh cross-compiler works.
5493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5494 # <limits.h> exists even on freestanding compilers.
5495 # On the NeXT, cc -E runs the code through the compiler's parser,
5496 # not just through cpp. "Syntax error
" is here to catch this case.
5497 cat >conftest.$ac_ext <<_ACEOF
5500 cat confdefs.h >>conftest.$ac_ext
5501 cat >>conftest.$ac_ext <<_ACEOF
5502 /* end confdefs.h. */
5504 # include <limits.h>
5506 # include <assert.h>
5510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5511 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5513 grep -v '^ *+' conftest.er1 >conftest.err
5515 cat conftest.err >&5
5516 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5517 (exit $ac_status); } >/dev/null; then
5518 if test -s conftest.err; then
5519 ac_cpp_err=$ac_c_preproc_warn_flag
5520 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5527 if test -z "$ac_cpp_err"; then
5530 echo "$as_me: failed program was
:" >&5
5531 sed 's/^/| /' conftest.$ac_ext >&5
5533 # Broken: fails on valid input.
5536 rm -f conftest.err conftest.$ac_ext
5538 # OK, works on sane cases. Now check whether non-existent headers
5539 # can be detected and how.
5540 cat >conftest.$ac_ext <<_ACEOF
5543 cat confdefs.h >>conftest.$ac_ext
5544 cat >>conftest.$ac_ext <<_ACEOF
5545 /* end confdefs.h. */
5546 #include <ac_nonexistent.h>
5548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5549 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5551 grep -v '^ *+' conftest.er1 >conftest.err
5553 cat conftest.err >&5
5554 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5555 (exit $ac_status); } >/dev/null; then
5556 if test -s conftest.err; then
5557 ac_cpp_err=$ac_c_preproc_warn_flag
5558 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5565 if test -z "$ac_cpp_err"; then
5566 # Broken: success on invalid input.
5569 echo "$as_me: failed program was
:" >&5
5570 sed 's/^/| /' conftest.$ac_ext >&5
5572 # Passes both tests.
5576 rm -f conftest.err conftest.$ac_ext
5579 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5580 rm -f conftest.err conftest.$ac_ext
5581 if $ac_preproc_ok; then
5593 echo "$as_me:$LINENO: result
: $CPP" >&5
5594 echo "${ECHO_T}$CPP" >&6
5596 for ac_c_preproc_warn_flag in '' yes
5598 # Use a header file that comes with gcc, so configuring glibc
5599 # with a fresh cross-compiler works.
5600 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5601 # <limits.h> exists even on freestanding compilers.
5602 # On the NeXT, cc -E runs the code through the compiler's parser,
5603 # not just through cpp. "Syntax error
" is here to catch this case.
5604 cat >conftest.$ac_ext <<_ACEOF
5607 cat confdefs.h >>conftest.$ac_ext
5608 cat >>conftest.$ac_ext <<_ACEOF
5609 /* end confdefs.h. */
5611 # include <limits.h>
5613 # include <assert.h>
5617 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5618 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5620 grep -v '^ *+' conftest.er1 >conftest.err
5622 cat conftest.err >&5
5623 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5624 (exit $ac_status); } >/dev/null; then
5625 if test -s conftest.err; then
5626 ac_cpp_err=$ac_c_preproc_warn_flag
5627 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5634 if test -z "$ac_cpp_err"; then
5637 echo "$as_me: failed program was
:" >&5
5638 sed 's/^/| /' conftest.$ac_ext >&5
5640 # Broken: fails on valid input.
5643 rm -f conftest.err conftest.$ac_ext
5645 # OK, works on sane cases. Now check whether non-existent headers
5646 # can be detected and how.
5647 cat >conftest.$ac_ext <<_ACEOF
5650 cat confdefs.h >>conftest.$ac_ext
5651 cat >>conftest.$ac_ext <<_ACEOF
5652 /* end confdefs.h. */
5653 #include <ac_nonexistent.h>
5655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5658 grep -v '^ *+' conftest.er1 >conftest.err
5660 cat conftest.err >&5
5661 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5662 (exit $ac_status); } >/dev/null; then
5663 if test -s conftest.err; then
5664 ac_cpp_err=$ac_c_preproc_warn_flag
5665 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5672 if test -z "$ac_cpp_err"; then
5673 # Broken: success on invalid input.
5676 echo "$as_me: failed program was
:" >&5
5677 sed 's/^/| /' conftest.$ac_ext >&5
5679 # Passes both tests.
5683 rm -f conftest.err conftest.$ac_ext
5686 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5687 rm -f conftest.err conftest.$ac_ext
5688 if $ac_preproc_ok; then
5691 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
5692 See \
`config.log' for more details." >&5
5693 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5694 See \`config.log
' for more details." >&2;}
5695 { (exit 1); exit 1; }; }
5699 ac_cpp='$CPP $CPPFLAGS'
5700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5701 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5705 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5706 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5707 if test "${ac_cv_header_stdc+set}" = set; then
5708 echo $ECHO_N "(cached) $ECHO_C" >&6
5710 cat >conftest.$ac_ext <<_ACEOF
5713 cat confdefs.h >>conftest.$ac_ext
5714 cat >>conftest.$ac_ext <<_ACEOF
5715 /* end confdefs.h. */
5729 rm -f conftest.$ac_objext
5730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5731 (eval $ac_compile) 2>conftest.er1
5733 grep -v '^
*+' conftest.er1 >conftest.err
5735 cat conftest.err >&5
5736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 (exit $ac_status); } &&
5738 { ac_try='test -z "$ac_c_werror_flag"
5739 ||
test ! -s conftest.err
'
5740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 (exit $ac_status); }; } &&
5745 { ac_try='test -s conftest.
$ac_objext'
5746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5750 (exit $ac_status); }; }; then
5751 ac_cv_header_stdc=yes
5753 echo "$as_me: failed program was:" >&5
5754 sed 's
/^
/|
/' conftest.$ac_ext >&5
5756 ac_cv_header_stdc=no
5758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5760 if test $ac_cv_header_stdc = yes; then
5761 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5762 cat >conftest.$ac_ext <<_ACEOF
5765 cat confdefs.h >>conftest.$ac_ext
5766 cat >>conftest.$ac_ext <<_ACEOF
5767 /* end confdefs.h. */
5771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5772 $EGREP "memchr" >/dev/null 2>&1; then
5775 ac_cv_header_stdc=no
5781 if test $ac_cv_header_stdc = yes; then
5782 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5783 cat >conftest.$ac_ext <<_ACEOF
5786 cat confdefs.h >>conftest.$ac_ext
5787 cat >>conftest.$ac_ext <<_ACEOF
5788 /* end confdefs.h. */
5792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5793 $EGREP "free" >/dev/null 2>&1; then
5796 ac_cv_header_stdc=no
5802 if test $ac_cv_header_stdc = yes; then
5803 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5804 if test "$cross_compiling" = yes; then
5807 cat >conftest.$ac_ext <<_ACEOF
5810 cat confdefs.h >>conftest.$ac_ext
5811 cat >>conftest.$ac_ext <<_ACEOF
5812 /* end confdefs.h. */
5814 #if ((' ' & 0x0FF) == 0x020)
5815 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
5816 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
5818 # define ISLOWER(c) \
5819 (('a
' <= (c) && (c) <= 'i
') \
5820 || ('j
' <= (c) && (c) <= 'r
') \
5821 || ('s
' <= (c) && (c) <= 'z
'))
5822 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5825 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5830 for (i = 0; i < 256; i++)
5831 if (XOR (islower (i), ISLOWER (i))
5832 || toupper (i) != TOUPPER (i))
5837 rm -f conftest$ac_exeext
5838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5839 (eval $ac_link) 2>&5
5841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
5843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5847 (exit $ac_status); }; }; then
5850 echo "$as_me: program exited with status $ac_status" >&5
5851 echo "$as_me: failed program was:" >&5
5852 sed 's
/^
/|
/' conftest.$ac_ext >&5
5855 ac_cv_header_stdc=no
5857 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5861 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5862 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5863 if test $ac_cv_header_stdc = yes; then
5865 cat >>confdefs.h <<\_ACEOF
5866 #define STDC_HEADERS 1
5871 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5881 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5882 inttypes.h stdint.h unistd.h
5884 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5885 echo "$as_me:$LINENO: checking for $ac_header" >&5
5886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5888 echo $ECHO_N "(cached) $ECHO_C" >&6
5890 cat >conftest.$ac_ext <<_ACEOF
5893 cat confdefs.h >>conftest.$ac_ext
5894 cat >>conftest.$ac_ext <<_ACEOF
5895 /* end confdefs.h. */
5896 $ac_includes_default
5898 #include <$ac_header>
5900 rm -f conftest.$ac_objext
5901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5902 (eval $ac_compile) 2>conftest.er1
5904 grep -v '^
*+' conftest.er1 >conftest.err
5906 cat conftest.err >&5
5907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5908 (exit $ac_status); } &&
5909 { ac_try='test -z "$ac_c_werror_flag"
5910 ||
test ! -s conftest.err
'
5911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5915 (exit $ac_status); }; } &&
5916 { ac_try='test -s conftest.
$ac_objext'
5917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5921 (exit $ac_status); }; }; then
5922 eval "$as_ac_Header=yes"
5924 echo "$as_me: failed program was:" >&5
5925 sed 's
/^
/|
/' conftest.$ac_ext >&5
5927 eval "$as_ac_Header=no"
5929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5934 cat >>confdefs.h <<_ACEOF
5935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5944 for ac_header in dlfcn.h
5946 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5947 echo "$as_me:$LINENO: checking for $ac_header" >&5
5948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5950 echo $ECHO_N "(cached) $ECHO_C" >&6
5952 cat >conftest.$ac_ext <<_ACEOF
5955 cat confdefs.h >>conftest.$ac_ext
5956 cat >>conftest.$ac_ext <<_ACEOF
5957 /* end confdefs.h. */
5958 $ac_includes_default
5960 #include <$ac_header>
5962 rm -f conftest.$ac_objext
5963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5964 (eval $ac_compile) 2>conftest.er1
5966 grep -v '^
*+' conftest.er1 >conftest.err
5968 cat conftest.err >&5
5969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5970 (exit $ac_status); } &&
5971 { ac_try='test -z "$ac_c_werror_flag"
5972 ||
test ! -s conftest.err
'
5973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977 (exit $ac_status); }; } &&
5978 { ac_try='test -s conftest.
$ac_objext'
5979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5983 (exit $ac_status); }; }; then
5984 eval "$as_ac_Header=yes"
5986 echo "$as_me: failed program was:" >&5
5987 sed 's
/^
/|
/' conftest.$ac_ext >&5
5989 eval "$as_ac_Header=no"
5991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5994 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5996 cat >>confdefs.h <<_ACEOF
5997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6006 # This can be used to rebuild libtool when needed
6007 LIBTOOL_DEPS="$ltmain"
6009 # Always use our own libtool.
6010 LIBTOOL='$
(SHELL
) $
(top_builddir
)/libtool
'
6036 test -z "$LN_S" && LN_S="ln -s"
6051 if test -n "${ZSH_VERSION+set}" ; then
6052 setopt NO_GLOB_SUBST
6055 echo "$as_me:$LINENO: checking for objdir" >&5
6056 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6057 if test "${lt_cv_objdir+set}" = set; then
6058 echo $ECHO_N "(cached) $ECHO_C" >&6
6060 rm -f .libs 2>/dev/null
6061 mkdir .libs 2>/dev/null
6062 if test -d .libs; then
6065 # MS-DOS does not allow filenames that begin with a dot.
6068 rmdir .libs 2>/dev/null
6070 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6071 echo "${ECHO_T}$lt_cv_objdir" >&6
6072 objdir=$lt_cv_objdir
6078 cat >>confdefs.h <<_ACEOF
6079 #define LT_OBJDIR "$lt_cv_objdir/"
6100 # AIX sometimes has problems with the GCC collect2 program. For some
6101 # reason, if we set the COLLECT_NAMES environment variable, the problems
6102 # vanish in a puff of smoke.
6103 if test "X${COLLECT_NAMES+set}" != Xset; then
6105 export COLLECT_NAMES
6110 # Sed substitution that helps us do robust quoting. It backslashifies
6111 # metacharacters that are still active within double-quoted strings.
6112 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
6114 # Same as above, but do not quote variable references.
6115 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6117 # Sed substitution to delay expansion of an escaped shell variable in a
6118 # double_quote_subst'ed string.
6119 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6121 # Sed substitution to delay expansion of an escaped single quote.
6122 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6124 # Sed substitution to avoid accidental globbing in evaled expressions
6125 no_glob_subst='s/\*/\\\*/g'
6129 can_build_shared=yes
6131 # All known linkers require a `.a
' archive for static linking (except MSVC,
6132 # which needs '.lib
').
6135 with_gnu_ld="$lt_cv_prog_gnu_ld"
6138 old_CFLAGS="$CFLAGS"
6140 # Set sane defaults for various variables
6141 test -z "$CC" && CC=cc
6142 test -z "$LTCC" && LTCC=$CC
6143 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6144 test -z "$LD" && LD=ld
6145 test -z "$ac_objext" && ac_objext=o
6147 for cc_temp in $compiler""; do
6149 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6150 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6155 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
6158 # Only perform the check for file, if the check method requires it
6159 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6160 case $deplibs_check_method in
6162 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6163 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6164 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6165 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6166 echo $ECHO_N "(cached) $ECHO_C" >&6
6170 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6173 lt_save_MAGIC_CMD="$MAGIC_CMD"
6174 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6175 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6176 for ac_dir in $ac_dummy; do
6178 test -z "$ac_dir" && ac_dir=.
6179 if test -f $ac_dir/${ac_tool_prefix}file; then
6180 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6181 if test -n "$file_magic_test_file"; then
6182 case $deplibs_check_method in
6184 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6185 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6186 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6187 $EGREP "$file_magic_regex" > /dev/null; then
6192 *** Warning: the command libtool uses to detect shared libraries,
6193 *** $file_magic_cmd, produces output that libtool cannot recognize.
6194 *** The result is that libtool may fail to recognize shared libraries
6195 *** as such. This will affect the creation of libtool libraries that
6196 *** depend on shared libraries, but programs linked with such libtool
6197 *** libraries will work regardless of this problem. Nevertheless, you
6198 *** may want to report the problem to your system manager and/or to
6199 *** bug-libtool@gnu.org
6209 MAGIC_CMD="$lt_save_MAGIC_CMD"
6214 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6215 if test -n "$MAGIC_CMD"; then
6216 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6217 echo "${ECHO_T}$MAGIC_CMD" >&6
6219 echo "$as_me:$LINENO: result: no" >&5
6220 echo "${ECHO_T}no" >&6
6227 if test -z "$lt_cv_path_MAGIC_CMD"; then
6228 if test -n "$ac_tool_prefix"; then
6229 echo "$as_me:$LINENO: checking for file" >&5
6230 echo $ECHO_N "checking for file... $ECHO_C" >&6
6231 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6232 echo $ECHO_N "(cached) $ECHO_C" >&6
6236 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6239 lt_save_MAGIC_CMD="$MAGIC_CMD"
6240 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6241 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6242 for ac_dir in $ac_dummy; do
6244 test -z "$ac_dir" && ac_dir=.
6245 if test -f $ac_dir/file; then
6246 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6247 if test -n "$file_magic_test_file"; then
6248 case $deplibs_check_method in
6250 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6251 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6252 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6253 $EGREP "$file_magic_regex" > /dev/null; then
6258 *** Warning: the command libtool uses to detect shared libraries,
6259 *** $file_magic_cmd, produces output that libtool cannot recognize.
6260 *** The result is that libtool may fail to recognize shared libraries
6261 *** as such. This will affect the creation of libtool libraries that
6262 *** depend on shared libraries, but programs linked with such libtool
6263 *** libraries will work regardless of this problem. Nevertheless, you
6264 *** may want to report the problem to your system manager and/or to
6265 *** bug-libtool@gnu.org
6275 MAGIC_CMD="$lt_save_MAGIC_CMD"
6280 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6281 if test -n "$MAGIC_CMD"; then
6282 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6283 echo "${ECHO_T}$MAGIC_CMD" >&6
6285 echo "$as_me:$LINENO: result: no" >&5
6286 echo "${ECHO_T}no" >&6
6299 # Use C for the default configuration in the libtool script
6303 ac_cpp='$CPP $CPPFLAGS'
6304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6305 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6309 # Source file extension for C test sources.
6312 # Object file extension for compiled C test sources.
6316 # Code to be used in simple compile tests
6317 lt_simple_compile_test_code="int some_variable = 0;"
6319 # Code to be used in simple link tests
6320 lt_simple_link_test_code='int main
(){return(0);}'
6328 # If no C compiler was specified, use CC.
6331 # If no C compiler flags were specified, use CFLAGS.
6332 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6334 # Allow CC to be a program name with arguments.
6337 # Save the default compiler, since it gets overwritten when the other
6338 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6339 compiler_DEFAULT=$CC
6341 # save warnings/boilerplate of simple test code
6342 ac_outfile=conftest.$ac_objext
6343 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6344 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6345 _lt_compiler_boilerplate=`cat conftest.err`
6348 ac_outfile=conftest.$ac_objext
6349 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6350 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6351 _lt_linker_boilerplate=`cat conftest.err`
6356 ## There is no encapsulation within the following macros, do not change
6357 ## the running order or otherwise move them around unless you know exactly
6358 ## what you are doing...
6359 if test -n "$compiler"; then
6361 lt_prog_compiler_no_builtin_flag=
6363 if test "$GCC" = yes; then
6364 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6366 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6367 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6368 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6369 echo $ECHO_N "(cached) $ECHO_C" >&6
6371 lt_cv_prog_compiler_rtti_exceptions=no
6372 ac_outfile=conftest.$ac_objext
6373 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6374 lt_compiler_flag="-fno-rtti -fno-exceptions"
6375 # Insert the option either (1) after the last *FLAGS variable, or
6376 # (2) before a word containing "conftest.", or (3) at the end.
6377 # Note that $ac_compile itself does not contain backslashes and begins
6378 # with a dollar sign (not a hyphen), so the echo should work correctly.
6379 # The option is referenced via a variable to avoid confusing sed.
6380 lt_compile=`echo "$ac_compile" | $SED \
6381 -e 's
:.
*FLAGS
}\
{0,1\
} :&$lt_compiler_flag :; t
' \
6382 -e 's
: [^
]*conftest\.
: $lt_compiler_flag&:; t
' \
6383 -e 's
:$
: $lt_compiler_flag:'`
6384 (eval echo "\"\$as_me:6404: $lt_compile\"" >&5)
6385 (eval "$lt_compile" 2>conftest.err)
6387 cat conftest.err >&5
6388 echo "$as_me:6408: \$? = $ac_status" >&5
6389 if (exit $ac_status) && test -s "$ac_outfile"; then
6390 # The compiler can only warn and ignore the option if not recognized
6391 # So say no if there are warnings other than the usual output.
6392 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$
/d
' >conftest.exp
6393 $SED '/^$
/d
; /^
*+/d
' conftest.err >conftest.er2
6394 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6395 lt_cv_prog_compiler_rtti_exceptions=yes
6401 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6402 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6404 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6405 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6417 lt_prog_compiler_wl=
6418 lt_prog_compiler_pic=
6419 lt_prog_compiler_static=
6421 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6422 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6424 if test "$GCC" = yes; then
6425 lt_prog_compiler_wl='-Wl,'
6426 lt_prog_compiler_static='-static'
6430 # All AIX code is PIC.
6431 if test "$host_cpu" = ia64; then
6432 # AIX 5 now supports IA64 processor
6433 lt_prog_compiler_static='-Bstatic'
6438 if test "$host_cpu" = m68k; then
6439 # FIXME: we need at least 68020 code to build shared libraries, but
6440 # adding the `-m68020' flag to GCC prevents building anything better
,
6442 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6446 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6447 # PIC is the default for these OSes.
6450 mingw
* | cygwin
* | pw32
* | os2
*)
6451 # This hack is so that the source file can tell whether it is being
6452 # built for inclusion in a dll (and should export symbols for example).
6453 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6454 # (--disable-auto-import) libraries
6455 lt_prog_compiler_pic
='-DDLL_EXPORT'
6458 darwin
* | rhapsody
*)
6459 # PIC is the default on this platform
6460 # Common symbols not allowed in MH_DYLIB files
6461 lt_prog_compiler_pic
='-fno-common'
6465 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6472 lt_prog_compiler_pic
='-fPIC'
6478 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6479 # Instead, we relocate shared libraries at runtime.
6483 # Just because we use GCC doesn't mean we suddenly get shared libraries
6484 # on systems that don't support them.
6485 lt_prog_compiler_can_build_shared
=no
6490 # QNX uses GNU C++, but need to define -shared option too, otherwise
6492 lt_prog_compiler_pic
='-fPIC -shared'
6496 if test -d /usr
/nec
; then
6497 lt_prog_compiler_pic
=-Kconform_pic
6502 lt_prog_compiler_pic
='-fPIC'
6506 # PORTME Check for flag to pass linker flags through the system compiler.
6509 lt_prog_compiler_wl
='-Wl,'
6510 if test "$host_cpu" = ia64
; then
6511 # AIX 5 now supports IA64 processor
6512 lt_prog_compiler_static
='-Bstatic'
6514 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6518 # PIC is the default on this platform
6519 # Common symbols not allowed in MH_DYLIB files
6520 case $cc_basename in
6522 lt_prog_compiler_pic
='-qnocommon'
6523 lt_prog_compiler_wl
='-Wl,'
6528 mingw
* | cygwin
* | pw32
* | os2
*)
6529 # This hack is so that the source file can tell whether it is being
6530 # built for inclusion in a dll (and should export symbols for example).
6531 lt_prog_compiler_pic
='-DDLL_EXPORT'
6534 hpux9
* | hpux10
* | hpux11
*)
6535 lt_prog_compiler_wl
='-Wl,'
6536 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6543 lt_prog_compiler_pic
='+Z'
6546 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6547 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6550 irix5
* | irix6
* | nonstopux
*)
6551 lt_prog_compiler_wl
='-Wl,'
6552 # PIC (with -KPIC) is the default.
6553 lt_prog_compiler_static
='-non_shared'
6556 linux
* | k
*bsd
*-gnu)
6557 case $cc_basename in
6559 lt_prog_compiler_wl
='-Wl,'
6560 lt_prog_compiler_pic
='-KPIC'
6561 lt_prog_compiler_static
='-static'
6563 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6564 # Portland Group compilers (*not* the Pentium gcc compiler,
6565 # which looks to be a dead project)
6566 lt_prog_compiler_wl
='-Wl,'
6567 lt_prog_compiler_pic
='-fpic'
6568 lt_prog_compiler_static
='-Bstatic'
6571 lt_prog_compiler_wl
='-Wl,'
6572 # All Alpha code is PIC.
6573 lt_prog_compiler_static
='-non_shared'
6576 case `$CC -V 2>&1 | sed 5q` in
6579 lt_prog_compiler_pic
='-KPIC'
6580 lt_prog_compiler_static
='-Bstatic'
6581 lt_prog_compiler_wl
='-Wl,'
6584 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6585 lt_prog_compiler_pic
='-KPIC'
6586 lt_prog_compiler_static
='-Bstatic'
6587 lt_prog_compiler_wl
=''
6595 lt_prog_compiler_pic
='-KPIC'
6596 lt_prog_compiler_static
='-Bstatic'
6600 # QNX uses GNU C++, but need to define -shared option too, otherwise
6602 lt_prog_compiler_pic
='-fPIC -shared'
6605 osf3
* | osf4
* | osf5
*)
6606 lt_prog_compiler_wl
='-Wl,'
6607 # All OSF/1 code is PIC.
6608 lt_prog_compiler_static
='-non_shared'
6612 lt_prog_compiler_static
='-non_shared'
6616 lt_prog_compiler_pic
='-KPIC'
6617 lt_prog_compiler_static
='-Bstatic'
6618 case $cc_basename in
6620 lt_prog_compiler_wl
='-Qoption ld ';;
6622 lt_prog_compiler_wl
='-Wl,';;
6627 lt_prog_compiler_wl
='-Qoption ld '
6628 lt_prog_compiler_pic
='-PIC'
6629 lt_prog_compiler_static
='-Bstatic'
6632 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6633 lt_prog_compiler_wl
='-Wl,'
6634 lt_prog_compiler_pic
='-KPIC'
6635 lt_prog_compiler_static
='-Bstatic'
6639 if test -d /usr
/nec
;then
6640 lt_prog_compiler_pic
='-Kconform_pic'
6641 lt_prog_compiler_static
='-Bstatic'
6645 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6646 lt_prog_compiler_wl
='-Wl,'
6647 lt_prog_compiler_pic
='-KPIC'
6648 lt_prog_compiler_static
='-Bstatic'
6652 lt_prog_compiler_wl
='-Wl,'
6653 lt_prog_compiler_can_build_shared
=no
6657 lt_prog_compiler_pic
='-pic'
6658 lt_prog_compiler_static
='-Bstatic'
6662 lt_prog_compiler_can_build_shared
=no
6668 # For platforms which do not support PIC, -DPIC is meaningless:
6670 lt_prog_compiler_pic
=
6673 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6676 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6677 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6685 # Check to make sure the PIC flag actually works.
6687 if test -n "$lt_prog_compiler_pic"; then
6688 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6689 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6690 if test "${lt_prog_compiler_pic_works+set}" = set; then
6691 echo $ECHO_N "(cached) $ECHO_C" >&6
6693 lt_prog_compiler_pic_works
=no
6694 ac_outfile
=conftest.
$ac_objext
6695 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6696 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6697 # Insert the option either (1) after the last *FLAGS variable, or
6698 # (2) before a word containing "conftest.", or (3) at the end.
6699 # Note that $ac_compile itself does not contain backslashes and begins
6700 # with a dollar sign (not a hyphen), so the echo should work correctly.
6701 # The option is referenced via a variable to avoid confusing sed.
6702 lt_compile
=`echo "$ac_compile" | $SED \
6703 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6704 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6705 -e 's:$: $lt_compiler_flag:'`
6706 (eval echo "\"\$as_me:6726: $lt_compile\"" >&5)
6707 (eval "$lt_compile" 2>conftest.err
)
6709 cat conftest.err
>&5
6710 echo "$as_me:6730: \$? = $ac_status" >&5
6711 if (exit $ac_status) && test -s "$ac_outfile"; then
6712 # The compiler can only warn and ignore the option if not recognized
6713 # So say no if there are warnings other than the usual output.
6714 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6715 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6716 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6717 lt_prog_compiler_pic_works
=yes
6723 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6724 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6726 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6727 case $lt_prog_compiler_pic in
6729 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6732 lt_prog_compiler_pic
=
6733 lt_prog_compiler_can_build_shared
=no
6744 # Check to make sure the static flag actually works.
6746 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
6747 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6748 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6749 if test "${lt_prog_compiler_static_works+set}" = set; then
6750 echo $ECHO_N "(cached) $ECHO_C" >&6
6752 lt_prog_compiler_static_works
=no
6753 save_LDFLAGS
="$LDFLAGS"
6754 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
6755 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
6756 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6757 # The linker can only warn and ignore the option if not recognized
6758 # So say no if there are warnings
6759 if test -s conftest.err
; then
6760 # Append any errors to the config.log.
6761 cat conftest.err
1>&5
6762 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
6763 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6764 if diff conftest.exp conftest.er2
>/dev
/null
; then
6765 lt_prog_compiler_static_works
=yes
6768 lt_prog_compiler_static_works
=yes
6772 LDFLAGS
="$save_LDFLAGS"
6775 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6776 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6778 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6781 lt_prog_compiler_static
=
6790 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6791 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6792 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6793 echo $ECHO_N "(cached) $ECHO_C" >&6
6795 lt_cv_prog_compiler_c_o
=no
6796 $RM -r conftest
2>/dev
/null
6800 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6802 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6803 # Insert the option either (1) after the last *FLAGS variable, or
6804 # (2) before a word containing "conftest.", or (3) at the end.
6805 # Note that $ac_compile itself does not contain backslashes and begins
6806 # with a dollar sign (not a hyphen), so the echo should work correctly.
6807 lt_compile
=`echo "$ac_compile" | $SED \
6808 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6809 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6810 -e 's:$: $lt_compiler_flag:'`
6811 (eval echo "\"\$as_me:6831: $lt_compile\"" >&5)
6812 (eval "$lt_compile" 2>out
/conftest.err
)
6814 cat out
/conftest.err
>&5
6815 echo "$as_me:6835: \$? = $ac_status" >&5
6816 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6818 # The compiler can only warn and ignore the option if not recognized
6819 # So say no if there are warnings
6820 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6821 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6822 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6823 lt_cv_prog_compiler_c_o
=yes
6828 # SGI C++ compiler will create directory out/ii_files/ for
6829 # template instantiation
6830 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
6831 $RM out
/* && rmdir out
6837 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6838 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6845 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6846 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6847 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6848 echo $ECHO_N "(cached) $ECHO_C" >&6
6850 lt_cv_prog_compiler_c_o
=no
6851 $RM -r conftest
2>/dev
/null
6855 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6857 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6858 # Insert the option either (1) after the last *FLAGS variable, or
6859 # (2) before a word containing "conftest.", or (3) at the end.
6860 # Note that $ac_compile itself does not contain backslashes and begins
6861 # with a dollar sign (not a hyphen), so the echo should work correctly.
6862 lt_compile
=`echo "$ac_compile" | $SED \
6863 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6864 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6865 -e 's:$: $lt_compiler_flag:'`
6866 (eval echo "\"\$as_me:6886: $lt_compile\"" >&5)
6867 (eval "$lt_compile" 2>out
/conftest.err
)
6869 cat out
/conftest.err
>&5
6870 echo "$as_me:6890: \$? = $ac_status" >&5
6871 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6873 # The compiler can only warn and ignore the option if not recognized
6874 # So say no if there are warnings
6875 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6876 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6877 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6878 lt_cv_prog_compiler_c_o
=yes
6883 # SGI C++ compiler will create directory out/ii_files/ for
6884 # template instantiation
6885 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
6886 $RM out
/* && rmdir out
6892 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6893 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6898 hard_links
="nottested"
6899 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6900 # do not overwrite the value of need_locks provided by the user
6901 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6902 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6905 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6907 ln conftest.a conftest.b
2>&5 || hard_links
=no
6908 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6909 echo "$as_me:$LINENO: result: $hard_links" >&5
6910 echo "${ECHO_T}$hard_links" >&6
6911 if test "$hard_links" = no
; then
6912 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6913 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6925 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6926 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6929 allow_undefined_flag
=
6930 always_export_symbols
=no
6932 archive_expsym_cmds
=
6933 compiler_needs_object
=no
6934 enable_shared_with_static_runtimes
=no
6935 export_dynamic_flag_spec
=
6936 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6937 hardcode_automatic
=no
6939 hardcode_direct_absolute
=no
6940 hardcode_libdir_flag_spec
=
6941 hardcode_libdir_flag_spec_ld
=
6942 hardcode_libdir_separator
=
6944 hardcode_shlibpath_var
=unsupported
6946 link_all_deplibs
=unknown
6949 old_archive_from_new_cmds
=
6950 old_archive_from_expsyms_cmds
=
6951 thread_safe_flag_spec
=
6952 whole_archive_flag_spec
=
6953 # include_expsyms should be a list of space-separated symbols to be *always*
6954 # included in the symbol list
6956 # exclude_expsyms can be an extended regexp of symbols to exclude
6957 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6958 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6959 # as well as any symbol that contains `d'.
6960 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6961 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6962 # platforms (ab)use it in PIC code, but their linkers get confused if
6963 # the symbol is explicitly referenced. Since portable code cannot
6964 # rely on this symbol name, it's probably fine to never include it in
6965 # preloaded symbol tables.
6966 extract_expsyms_cmds
=
6969 cygwin
* | mingw
* | pw32
*)
6970 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6971 # When not using gcc, we currently assume that we are using
6972 # Microsoft Visual C++.
6973 if test "$GCC" != yes; then
6978 # we just hope/assume this is gcc and not c89 (= MSVC++)
6987 if test "$with_gnu_ld" = yes; then
6988 # If archive_cmds runs LD, not CC, wlarc should be empty
6991 # Set some defaults for GNU ld with shared library support. These
6992 # are reset later if shared libraries are not supported. Putting them
6993 # here allows them to be overridden if necessary.
6994 runpath_var
=LD_RUN_PATH
6995 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
6996 export_dynamic_flag_spec
='${wl}--export-dynamic'
6997 # ancient GNU ld didn't support --whole-archive et. al.
6998 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
6999 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7001 whole_archive_flag_spec
=
7003 supports_anon_versioning
=no
7004 case `$LD -v 2>&1` in
7005 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7006 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7007 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7008 *\
2.11.
*) ;; # other 2.11 versions
7009 *) supports_anon_versioning
=yes ;;
7012 # See if GNU ld supports shared libraries.
7014 aix3
* | aix4
* | aix5
*)
7015 # On AIX/PPC, the GNU linker is very broken
7016 if test "$host_cpu" != ia64
; then
7020 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7021 *** to be unable to reliably create shared libraries on AIX.
7022 *** Therefore, libtool is disabling shared libraries support. If you
7023 *** really care for shared libraries, you may want to modify your PATH
7024 *** so that a non-GNU linker is found, and then restart.
7031 if test "$host_cpu" = m68k
; then
7032 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)'
7033 hardcode_libdir_flag_spec
='-L$libdir'
7034 hardcode_minus_L
=yes
7037 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7038 # that the semantics of dynamic libraries on AmigaOS, at least up
7039 # to version 4, is to share data among multiple programs linked
7040 # with the same dynamic library. Since this doesn't match the
7041 # behavior of shared libraries on other platforms, we can't use
7047 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7048 allow_undefined_flag
=unsupported
7049 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7050 # support --undefined. This deserves some investigation. FIXME
7051 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7057 cygwin
* | mingw
* | pw32
*)
7058 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7059 # as there is no search path for DLLs.
7060 hardcode_libdir_flag_spec
='-L$libdir'
7061 allow_undefined_flag
=unsupported
7062 always_export_symbols
=no
7063 enable_shared_with_static_runtimes
=yes
7064 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7066 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7067 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7068 # If the export-symbols file already is a .def file (1st line
7069 # is EXPORTS), use it as is; otherwise, prepend...
7070 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7071 cp $export_symbols $output_objdir/$soname.def;
7073 echo EXPORTS > $output_objdir/$soname.def;
7074 cat $export_symbols >> $output_objdir/$soname.def;
7076 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7084 hardcode_shlibpath_var
=no
7085 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7086 export_dynamic_flag_spec
='${wl}-E'
7087 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7088 # Instead, shared libraries are loaded at an image base (0x10000000 by
7089 # default) and relocated if they conflict, which is a slow very memory
7090 # consuming and fragmenting process. To avoid this, we pick a random,
7091 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7092 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7093 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7094 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'
7097 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7099 if test "$host_os" = linux-dietlibc
; then
7100 case $cc_basename in
7101 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7104 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7105 && test "$tmp_diet" = no
7108 case $cc_basename,$host_cpu in
7109 pgcc
*) # Portland Group C compiler
7110 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'
7111 tmp_addflag
=' $pic_flag'
7113 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7114 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'
7115 tmp_addflag
=' $pic_flag -Mnomain' ;;
7116 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7117 tmp_addflag
=' -i_dynamic' ;;
7118 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7119 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7120 ifc
* | ifort
*) # Intel Fortran compiler
7121 tmp_addflag
=' -nofor_main' ;;
7123 case `$CC -V 2>&1 | sed 5q` in
7124 *Sun\ C
*) # Sun C 5.9
7125 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'
7126 compiler_needs_object
=yes
7127 tmp_sharedflag
='-G' ;;
7128 *Sun\ F
*) # Sun Fortran 8.3
7129 tmp_sharedflag
='-G' ;;
7131 tmp_sharedflag
='-shared' ;;
7133 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7135 if test "x$supports_anon_versioning" = xyes
; then
7136 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7137 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7138 echo "local: *; };" >> $output_objdir/$libname.ver~
7139 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7147 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7148 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7151 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7152 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7157 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7161 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7162 *** create shared libraries on Solaris systems. Therefore, libtool
7163 *** is disabling shared libraries support. We urge you to upgrade GNU
7164 *** binutils to release 2.9.1 or newer. Another option is to modify
7165 *** your PATH or compiler configuration so that the native linker is
7166 *** used, and then restart.
7169 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7170 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7171 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7177 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7178 case `$LD -v 2>&1` in
7179 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7183 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7184 *** reliably create shared libraries on SCO systems. Therefore, libtool
7185 *** is disabling shared libraries support. We urge you to upgrade GNU
7186 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7187 *** your PATH or compiler configuration so that the native linker is
7188 *** used, and then restart.
7193 # For security reasons, it is highly recommended that you always
7194 # use absolute paths for naming shared libraries, and exclude the
7195 # DT_RUNPATH tag from executables and libraries. But doing so
7196 # requires that you compile everything twice, which is a pain.
7197 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7198 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7199 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7200 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7209 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7212 hardcode_shlibpath_var
=no
7216 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7217 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7218 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7225 if test "$ld_shlibs" = no
; then
7227 hardcode_libdir_flag_spec
=
7228 export_dynamic_flag_spec
=
7229 whole_archive_flag_spec
=
7232 # PORTME fill in a description of your system's linker (not GNU ld)
7235 allow_undefined_flag
=unsupported
7236 always_export_symbols
=yes
7237 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'
7238 # Note: this linker hardcodes the directories in LIBPATH if there
7239 # are no directories specified by -L.
7240 hardcode_minus_L
=yes
7241 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7242 # Neither direct hardcoding nor static linking is supported with a
7244 hardcode_direct
=unsupported
7249 if test "$host_cpu" = ia64
; then
7250 # On IA64, the linker does run time linking by default, so we don't
7251 # have to do anything special.
7252 aix_use_runtimelinking
=no
7253 exp_sym_flag
='-Bexport'
7256 # If we're using GNU nm, then we don't want the "-C" option.
7257 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7258 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7259 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'
7261 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'
7263 aix_use_runtimelinking
=no
7265 # Test if we are trying to use run time linking or normal
7266 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7267 # need to do runtime linking.
7268 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7269 for ld_flag
in $LDFLAGS; do
7270 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7271 aix_use_runtimelinking
=yes
7278 exp_sym_flag
='-bexport'
7279 no_entry_flag
='-bnoentry'
7282 # When large executables or shared objects are built, AIX ld can
7283 # have problems creating the table of contents. If linking a library
7284 # or program results in "error TOC overflow" add -mminimal-toc to
7285 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7286 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7290 hardcode_direct_absolute
=yes
7291 hardcode_libdir_separator
=':'
7292 link_all_deplibs
=yes
7293 file_list_spec
='${wl}-f,'
7295 if test "$GCC" = yes; then
7296 case $host_os in aix4.
[012]|aix4.
[012].
*)
7297 # We only want to do this on AIX 4.2 and lower, the check
7298 # below for broken collect2 doesn't work under 4.3+
7299 collect2name
=`${CC} -print-prog-name=collect2`
7300 if test -f "$collect2name" &&
7301 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7303 # We have reworked collect2
7306 # We have old collect2
7307 hardcode_direct
=unsupported
7308 # It fails to find uninstalled libraries when the uninstalled
7309 # path is not listed in the libpath. Setting hardcode_minus_L
7310 # to unsupported forces relinking
7311 hardcode_minus_L
=yes
7312 hardcode_libdir_flag_spec
='-L$libdir'
7313 hardcode_libdir_separator
=
7317 shared_flag
='-shared'
7318 if test "$aix_use_runtimelinking" = yes; then
7319 shared_flag
="$shared_flag "'${wl}-G'
7323 if test "$host_cpu" = ia64
; then
7324 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7325 # chokes on -Wl,-G. The following line is correct:
7328 if test "$aix_use_runtimelinking" = yes; then
7329 shared_flag
='${wl}-G'
7331 shared_flag
='${wl}-bM:SRE'
7336 # It seems that -bexpall does not export symbols beginning with
7337 # underscore (_), so it is better to generate a list of symbols to export.
7338 always_export_symbols
=yes
7339 if test "$aix_use_runtimelinking" = yes; then
7340 # Warning - without using the other runtime loading flags (-brtl),
7341 # -berok will link without error, but may produce a broken library.
7342 allow_undefined_flag
='-berok'
7343 # Determine the default libpath from the value encoded in an
7345 cat >conftest.
$ac_ext <<_ACEOF
7348 cat confdefs.h
>>conftest.
$ac_ext
7349 cat >>conftest.
$ac_ext <<_ACEOF
7350 /* end confdefs.h. */
7360 rm -f conftest.
$ac_objext conftest
$ac_exeext
7361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7362 (eval $ac_link) 2>conftest.er1
7364 grep -v '^ *+' conftest.er1
>conftest.err
7366 cat conftest.err
>&5
7367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7368 (exit $ac_status); } &&
7369 { ac_try
='test -z "$ac_c_werror_flag"
7370 || test ! -s conftest.err'
7371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7375 (exit $ac_status); }; } &&
7376 { ac_try
='test -s conftest$ac_exeext'
7377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7381 (exit $ac_status); }; }; then
7383 lt_aix_libpath_sed
='
7384 /Import File Strings/,/^$/ {
7390 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7391 # Check for a 64-bit object if we didn't find anything.
7392 if test -z "$aix_libpath"; then
7393 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7396 echo "$as_me: failed program was:" >&5
7397 sed 's/^/| /' conftest.
$ac_ext >&5
7400 rm -f conftest.err conftest.
$ac_objext \
7401 conftest
$ac_exeext conftest.
$ac_ext
7402 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7404 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7405 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"
7407 if test "$host_cpu" = ia64
; then
7408 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7409 allow_undefined_flag
="-z nodefs"
7410 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"
7412 # Determine the default libpath from the value encoded in an
7414 cat >conftest.
$ac_ext <<_ACEOF
7417 cat confdefs.h
>>conftest.
$ac_ext
7418 cat >>conftest.
$ac_ext <<_ACEOF
7419 /* end confdefs.h. */
7429 rm -f conftest.
$ac_objext conftest
$ac_exeext
7430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7431 (eval $ac_link) 2>conftest.er1
7433 grep -v '^ *+' conftest.er1
>conftest.err
7435 cat conftest.err
>&5
7436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437 (exit $ac_status); } &&
7438 { ac_try
='test -z "$ac_c_werror_flag"
7439 || test ! -s conftest.err'
7440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); }; } &&
7445 { ac_try
='test -s conftest$ac_exeext'
7446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 (exit $ac_status); }; }; then
7452 lt_aix_libpath_sed
='
7453 /Import File Strings/,/^$/ {
7459 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7460 # Check for a 64-bit object if we didn't find anything.
7461 if test -z "$aix_libpath"; then
7462 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7465 echo "$as_me: failed program was:" >&5
7466 sed 's/^/| /' conftest.
$ac_ext >&5
7469 rm -f conftest.err conftest.
$ac_objext \
7470 conftest
$ac_exeext conftest.
$ac_ext
7471 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7473 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7474 # Warning - without using the other run time loading flags,
7475 # -berok will link without error, but may produce a broken library.
7476 no_undefined_flag
=' ${wl}-bernotok'
7477 allow_undefined_flag
=' ${wl}-berok'
7478 # Exported symbols can be pulled into shared objects from archives
7479 whole_archive_flag_spec
='$convenience'
7480 archive_cmds_need_lc
=yes
7481 # This is similar to how AIX traditionally builds its shared libraries.
7482 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'
7488 if test "$host_cpu" = m68k
; then
7489 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)'
7490 hardcode_libdir_flag_spec
='-L$libdir'
7491 hardcode_minus_L
=yes
7493 # see comment about different semantics on the GNU ld section
7498 export_dynamic_flag_spec
=-rdynamic
7501 cygwin
* | mingw
* | pw32
*)
7502 # When not using gcc, we currently assume that we are using
7503 # Microsoft Visual C++.
7504 # hardcode_libdir_flag_spec is actually meaningless, as there is
7505 # no search path for DLLs.
7506 hardcode_libdir_flag_spec
=' '
7507 allow_undefined_flag
=unsupported
7508 # Tell ltmain to make .lib files, not .a files.
7510 # Tell ltmain to make .dll files, not .so files.
7512 # FIXME: Setting linknames here is a bad hack.
7513 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7514 # The linker will automatically build a .lib file if we build a DLL.
7515 old_archive_from_new_cmds
='true'
7516 # FIXME: Should let the user specify the lib program.
7517 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7518 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7519 enable_shared_with_static_runtimes
=yes
7522 darwin
* | rhapsody
*)
7524 rhapsody
* | darwin1.
[012])
7525 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7528 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7530 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7533 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7538 archive_cmds_need_lc
=no
7540 hardcode_automatic
=yes
7541 hardcode_shlibpath_var
=unsupported
7542 whole_archive_flag_spec
=''
7543 link_all_deplibs
=yes
7544 if test "$GCC" = yes ; then
7545 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7546 echo $ECHO_N "(cached) $ECHO_C" >&6
7548 lt_cv_apple_cc_single_mod
=no
7549 if test -z "${LT_MULTI_MODULE}"; then
7550 # By default we will add the -single_module flag. You can override
7551 # by either setting the environment variable LT_MULTI_MODULE
7552 # non-empty at configure time, or by adding -multi-module to the
7554 echo "int foo(void){return 1;}" > conftest.c
7555 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7556 -dynamiclib ${wl}-single_module conftest.c
7557 if test -f libconftest.dylib
; then
7558 lt_cv_apple_cc_single_mod
=yes
7559 rm libconftest.dylib
7565 output_verbose_link_cmd
=echo
7566 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
7567 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7568 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7570 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7571 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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7573 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7574 module_expsym_cmds
='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7576 case $cc_basename in
7578 output_verbose_link_cmd
=echo
7579 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7580 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7581 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7582 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7583 module_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7593 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7594 hardcode_libdir_flag_spec
='-L$libdir'
7595 hardcode_shlibpath_var
=no
7602 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7603 # support. Future versions do this automatically, but an explicit c++rt0.o
7604 # does not break anything, and helps significantly (at the cost of a little
7607 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7608 hardcode_libdir_flag_spec
='-R$libdir'
7610 hardcode_shlibpath_var
=no
7613 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7615 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7617 hardcode_minus_L
=yes
7618 hardcode_shlibpath_var
=no
7621 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7622 freebsd
* | dragonfly
*)
7623 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7624 hardcode_libdir_flag_spec
='-R$libdir'
7626 hardcode_shlibpath_var
=no
7630 if test "$GCC" = yes; then
7631 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'
7633 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'
7635 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7636 hardcode_libdir_separator
=:
7639 # hardcode_minus_L: Not really in the search PATH,
7640 # but as the default location of the library.
7641 hardcode_minus_L
=yes
7642 export_dynamic_flag_spec
='${wl}-E'
7646 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7647 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7649 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7651 if test "$with_gnu_ld" = no
; then
7652 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7653 hardcode_libdir_flag_spec_ld
='+b $libdir'
7654 hardcode_libdir_separator
=:
7656 hardcode_direct_absolute
=yes
7657 export_dynamic_flag_spec
='${wl}-E'
7658 # hardcode_minus_L: Not really in the search PATH,
7659 # but as the default location of the library.
7660 hardcode_minus_L
=yes
7665 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7668 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7671 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7674 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7680 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7683 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7686 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7690 if test "$with_gnu_ld" = no
; then
7691 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7692 hardcode_libdir_separator
=:
7697 hardcode_shlibpath_var
=no
7701 hardcode_direct_absolute
=yes
7702 export_dynamic_flag_spec
='${wl}-E'
7704 # hardcode_minus_L: Not really in the search PATH,
7705 # but as the default location of the library.
7706 hardcode_minus_L
=yes
7712 irix5
* | irix6
* | nonstopux
*)
7713 if test "$GCC" = yes; then
7714 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'
7715 # Try to use the -exported_symbol ld option, if it does not
7716 # work, assume that -exports_file does not work either and
7717 # implicitly export all symbols.
7718 save_LDFLAGS
="$LDFLAGS"
7719 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7720 cat >conftest.
$ac_ext <<_ACEOF
7723 rm -f conftest.
$ac_objext conftest
$ac_exeext
7724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7725 (eval $ac_link) 2>conftest.er1
7727 grep -v '^ *+' conftest.er1
>conftest.err
7729 cat conftest.err
>&5
7730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731 (exit $ac_status); } &&
7732 { ac_try
='test -z "$ac_c_werror_flag"
7733 || test ! -s conftest.err'
7734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7738 (exit $ac_status); }; } &&
7739 { ac_try
='test -s conftest$ac_exeext'
7740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7744 (exit $ac_status); }; }; then
7745 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'
7748 echo "$as_me: failed program was:" >&5
7749 sed 's/^/| /' conftest.
$ac_ext >&5
7752 rm -f conftest.err conftest.
$ac_objext \
7753 conftest
$ac_exeext conftest.
$ac_ext
7754 LDFLAGS
="$save_LDFLAGS"
7756 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'
7757 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'
7759 archive_cmds_need_lc
='no'
7760 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7761 hardcode_libdir_separator
=:
7763 link_all_deplibs
=yes
7767 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7768 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7770 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7772 hardcode_libdir_flag_spec
='-R$libdir'
7774 hardcode_shlibpath_var
=no
7778 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7780 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7781 hardcode_libdir_separator
=:
7782 hardcode_shlibpath_var
=no
7790 hardcode_shlibpath_var
=no
7791 hardcode_direct_absolute
=yes
7792 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7793 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7794 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7795 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7796 export_dynamic_flag_spec
='${wl}-E'
7799 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7800 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7801 hardcode_libdir_flag_spec
='-R$libdir'
7804 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7805 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7812 hardcode_libdir_flag_spec
='-L$libdir'
7813 hardcode_minus_L
=yes
7814 allow_undefined_flag
=unsupported
7815 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'
7816 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7820 if test "$GCC" = yes; then
7821 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7822 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'
7824 allow_undefined_flag
=' -expect_unresolved \*'
7825 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'
7827 archive_cmds_need_lc
='no'
7828 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7829 hardcode_libdir_separator
=:
7832 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7833 if test "$GCC" = yes; then
7834 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7835 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'
7836 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7838 allow_undefined_flag
=' -expect_unresolved \*'
7839 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'
7840 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~
7841 $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'
7843 # Both c and cxx compiler support -rpath directly
7844 hardcode_libdir_flag_spec
='-rpath $libdir'
7846 archive_cmds_need_lc
='no'
7847 hardcode_libdir_separator
=:
7851 no_undefined_flag
=' -z defs'
7852 if test "$GCC" = yes; then
7854 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7855 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7856 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7858 case `$CC -V 2>&1` in
7861 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7862 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7863 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
7867 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
7868 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7869 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7873 hardcode_libdir_flag_spec
='-R$libdir'
7874 hardcode_shlibpath_var
=no
7876 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7878 # The compiler driver will combine and reorder linker options,
7879 # but understands `-z linker_flag'. GCC discards it without `$wl',
7880 # but is careful enough not to reorder.
7881 # Supported since Solaris 2.6 (maybe 2.5.1?)
7882 if test "$GCC" = yes; then
7883 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
7885 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
7889 link_all_deplibs
=yes
7893 if test "x$host_vendor" = xsequent
; then
7894 # Use $CC to link under sequent, because it throws in some extra .o
7895 # files that make .init and .fini sections work.
7896 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7898 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7900 hardcode_libdir_flag_spec
='-L$libdir'
7902 hardcode_minus_L
=yes
7903 hardcode_shlibpath_var
=no
7907 case $host_vendor in
7909 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7910 hardcode_direct
=yes # is this really true???
7913 ## LD is ld it makes a PLAMLIB
7914 ## CC just makes a GrossModule.
7915 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7916 reload_cmds
='$CC -r -o $output$reload_objs'
7920 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7921 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7924 runpath_var
='LD_RUN_PATH'
7925 hardcode_shlibpath_var
=no
7929 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7930 hardcode_shlibpath_var
=no
7931 export_dynamic_flag_spec
='-Bexport'
7935 if test -d /usr
/nec
; then
7936 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7937 hardcode_shlibpath_var
=no
7938 runpath_var
=LD_RUN_PATH
7939 hardcode_runpath_var
=yes
7944 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
7945 no_undefined_flag
='${wl}-z,text'
7946 archive_cmds_need_lc
=no
7947 hardcode_shlibpath_var
=no
7948 runpath_var
='LD_RUN_PATH'
7950 if test "$GCC" = yes; then
7951 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7952 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7954 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7955 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7959 sysv5
* | sco3.2v5
* | sco5v6
*)
7960 # Note: We can NOT use -z defs as we might desire, because we do not
7961 # link with -lc, and that would cause any symbols used from libc to
7962 # always be unresolved, which means just about no library would
7963 # ever link correctly. If we're not using GNU ld we use -z text
7964 # though, which does catch some bad symbols but isn't as heavy-handed
7966 no_undefined_flag
='${wl}-z,text'
7967 allow_undefined_flag
='${wl}-z,nodefs'
7968 archive_cmds_need_lc
=no
7969 hardcode_shlibpath_var
=no
7970 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
7971 hardcode_libdir_separator
=':'
7972 link_all_deplibs
=yes
7973 export_dynamic_flag_spec
='${wl}-Bexport'
7974 runpath_var
='LD_RUN_PATH'
7976 if test "$GCC" = yes; then
7977 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7978 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7980 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7981 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7986 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7987 hardcode_libdir_flag_spec
='-L$libdir'
7988 hardcode_shlibpath_var
=no
7996 if test x
$host_vendor = xsni
; then
7998 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
7999 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8005 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8006 echo "${ECHO_T}$ld_shlibs" >&6
8007 test "$ld_shlibs" = no
&& can_build_shared
=no
8009 with_gnu_ld
=$with_gnu_ld
8026 # Do we need to explicitly link libc?
8028 case "x$archive_cmds_need_lc" in
8030 # Assume -lc should be added
8031 archive_cmds_need_lc
=yes
8033 if test "$enable_shared" = yes && test "$GCC" = yes; then
8034 case $archive_cmds in
8036 # FIXME: we may have to deal with multi-command sequences.
8039 # Test whether the compiler implicitly links with -lc since on some
8040 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8041 # to ld, don't add -lc before -lgcc.
8042 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8043 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8045 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8048 (eval $ac_compile) 2>&5
8050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051 (exit $ac_status); } 2>conftest.err
; then
8054 libobjs
=conftest.
$ac_objext
8056 wl
=$lt_prog_compiler_wl
8057 pic_flag
=$lt_prog_compiler_pic
8063 lt_save_allow_undefined_flag
=$allow_undefined_flag
8064 allow_undefined_flag
=
8065 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8066 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); }
8071 archive_cmds_need_lc
=no
8073 archive_cmds_need_lc
=yes
8075 allow_undefined_flag
=$lt_save_allow_undefined_flag
8077 cat conftest.err
1>&5
8080 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8081 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8244 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8245 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8247 if test "$withGCC" = yes; then
8249 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8250 *) lt_awk_arg
="/^libraries:/" ;;
8252 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8253 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8254 # if the path contains ";" then we assume it to be the separator
8255 # otherwise default to the standard path separator (i.e. ":") - it is
8256 # assumed that no part of a normal pathname contains ";" but that should
8257 # okay in the real world where ";" in dirpaths is itself problematic.
8258 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8260 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8262 # Ok, now we have the path, separated by spaces, we can step through it
8263 # and add multilib dir if necessary.
8264 lt_tmp_lt_search_path_spec
=
8265 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8266 for lt_sys_path
in $lt_search_path_spec; do
8267 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8268 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8270 test -d "$lt_sys_path" && \
8271 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8274 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8275 BEGIN {RS=" "; FS="/|\n";} {
8278 for (lt_i = NF; lt_i > 0; lt_i--) {
8279 if ($lt_i != "" && $lt_i != ".") {
8280 if ($lt_i == "..") {
8283 if (lt_count == 0) {
8284 lt_foo="/" $lt_i lt_foo;
8291 if (lt_foo != "") { lt_freq[lt_foo]++; }
8292 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8294 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8296 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8299 libname_spec
='lib$name'
8307 shlibpath_overrides_runpath
=unknown
8309 dynamic_linker
="$host_os ld.so"
8310 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8311 need_lib_prefix
=unknown
8312 hardcode_into_libs
=no
8314 # when you set need_version to no, make sure it does not cause -set_version
8315 # flags to be left without arguments
8316 need_version
=unknown
8321 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8322 shlibpath_var
=LIBPATH
8324 # AIX 3 has no versioning support, so we append a major version to the name.
8325 soname_spec
='${libname}${release}${shared_ext}$major'
8332 hardcode_into_libs
=yes
8333 if test "$host_cpu" = ia64
; then
8334 # AIX 5 supports IA64
8335 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8336 shlibpath_var
=LD_LIBRARY_PATH
8338 # With GCC up to 2.95.x, collect2 would create an import file
8339 # for dependence libraries. The import file would start with
8340 # the line `#! .'. This would cause the generated library to
8341 # depend on `.', always an invalid library. This was fixed in
8342 # development snapshots of GCC prior to 3.0.
8344 aix4 | aix4.
[01] | aix4.
[01].
*)
8345 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8347 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8354 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8355 # soname into executable. Probably we can add versioning support to
8356 # collect2, so additional links can be useful in future.
8357 if test "$aix_use_runtimelinking" = yes; then
8358 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8359 # instead of lib<name>.a to let people know that these are not
8360 # typical AIX shared libraries.
8361 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8363 # We preserve .a as extension for shared libraries through AIX4.2
8364 # and later when we are not doing run time linking.
8365 library_names_spec
='${libname}${release}.a $libname.a'
8366 soname_spec
='${libname}${release}${shared_ext}$major'
8368 shlibpath_var
=LIBPATH
8373 if test "$host_cpu" = m68k
; then
8374 library_names_spec
='$libname.ixlibrary $libname.a'
8375 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8376 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'
8383 library_names_spec
='${libname}${shared_ext}'
8384 dynamic_linker
="$host_os ld.so"
8385 shlibpath_var
=LIBRARY_PATH
8391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8392 soname_spec
='${libname}${release}${shared_ext}$major'
8393 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8394 shlibpath_var
=LD_LIBRARY_PATH
8395 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8396 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8397 # the default ld.so.conf also contains /usr/contrib/lib and
8398 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8399 # libtool to hard-code these into programs
8402 cygwin
* | mingw
* | pw32
*)
8403 version_type
=windows
8408 case $withGCC,$host_os in
8409 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8410 library_names_spec
='$libname.dll.a'
8411 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8412 postinstall_cmds
='base_file=`basename \${file}`~
8413 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8414 dldir=$destdir/`dirname \$dlpath`~
8415 test -d \$dldir || mkdir -p \$dldir~
8416 $install_prog $dir/$dlname \$dldir/$dlname~
8417 chmod a+x \$dldir/$dlname~
8418 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8419 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8421 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8422 dlpath=$dir/\$dldll~
8424 shlibpath_overrides_runpath
=yes
8428 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8429 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8430 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8433 # MinGW DLLs use traditional 'lib' prefix
8434 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8435 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8436 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8437 # It is most probably a Windows format PATH printed by
8438 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8439 # path with ; separators, and with drive letters. We can handle the
8440 # drive letters (cygwin fileutils understands them), so leave them,
8441 # especially as we might pass files found there to a mingw objdump,
8442 # which wouldn't understand a cygwinified path. Ahh.
8443 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8445 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8449 # pw32 DLLs use 'pw' prefix rather than 'lib'
8450 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8456 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8459 dynamic_linker
='Win32 ld.exe'
8460 # FIXME: first we should search . and the directory the executable is in
8464 darwin
* | rhapsody
*)
8465 dynamic_linker
="$host_os dyld"
8469 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8470 soname_spec
='${libname}${release}${major}$shared_ext'
8471 shlibpath_overrides_runpath
=yes
8472 shlibpath_var
=DYLD_LIBRARY_PATH
8473 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8475 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8476 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8484 soname_spec
='${libname}${release}${shared_ext}$major'
8485 shlibpath_var
=LD_LIBRARY_PATH
8492 freebsd
* | dragonfly
*)
8493 # DragonFly does not have aout. When/if they implement a new
8494 # versioning mechanism, adjust this.
8495 if test -x /usr
/bin
/objformat
; then
8496 objformat
=`/usr/bin/objformat`
8499 freebsd
[123]*) objformat
=aout
;;
8503 version_type
=freebsd-
$objformat
8504 case $version_type in
8506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8511 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8515 shlibpath_var
=LD_LIBRARY_PATH
8518 shlibpath_overrides_runpath
=yes
8520 freebsd3.
[01]* | freebsdelf3.
[01]*)
8521 shlibpath_overrides_runpath
=yes
8522 hardcode_into_libs
=yes
8524 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8525 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8526 shlibpath_overrides_runpath
=no
8527 hardcode_into_libs
=yes
8529 *) # from 4.6 on, and DragonFly
8530 shlibpath_overrides_runpath
=yes
8531 hardcode_into_libs
=yes
8540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8541 soname_spec
='${libname}${release}${shared_ext}$major'
8542 shlibpath_var
=LD_LIBRARY_PATH
8543 hardcode_into_libs
=yes
8546 hpux9
* | hpux10
* | hpux11
*)
8547 # Give a soname corresponding to the major version so that dld.sl refuses to
8548 # link against other versions.
8555 hardcode_into_libs
=yes
8556 dynamic_linker
="$host_os dld.so"
8557 shlibpath_var
=LD_LIBRARY_PATH
8558 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8560 soname_spec
='${libname}${release}${shared_ext}$major'
8561 if test "X$HPUX_IA64_MODE" = X32
; then
8562 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8564 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8566 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8570 hardcode_into_libs
=yes
8571 dynamic_linker
="$host_os dld.sl"
8572 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8573 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8575 soname_spec
='${libname}${release}${shared_ext}$major'
8576 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8577 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8581 dynamic_linker
="$host_os dld.sl"
8582 shlibpath_var
=SHLIB_PATH
8583 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8585 soname_spec
='${libname}${release}${shared_ext}$major'
8588 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8589 postinstall_cmds
='chmod 555 $lib'
8596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8597 soname_spec
='${libname}${release}${shared_ext}$major'
8598 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8599 shlibpath_var
=LD_LIBRARY_PATH
8600 shlibpath_overrides_runpath
=no
8601 hardcode_into_libs
=yes
8604 irix5
* | irix6
* | nonstopux
*)
8606 nonstopux
*) version_type
=nonstopux
;;
8608 if test "$lt_cv_prog_gnu_ld" = yes; then
8616 soname_spec
='${libname}${release}${shared_ext}$major'
8617 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8619 irix5
* | nonstopux
*)
8623 case $LD in # libtool.m4 will add one of these switches to LD
8624 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8625 libsuff
= shlibsuff
= libmagic
=32-bit;;
8626 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8627 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8628 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8629 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8630 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8634 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8635 shlibpath_overrides_runpath
=no
8636 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8637 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8638 hardcode_into_libs
=yes
8641 # No shared lib support for Linux oldld, aout, or coff.
8642 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8646 # This must be Linux ELF.
8647 linux
* | k
*bsd
*-gnu)
8651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8652 soname_spec
='${libname}${release}${shared_ext}$major'
8653 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8654 shlibpath_var
=LD_LIBRARY_PATH
8655 shlibpath_overrides_runpath
=no
8656 # Some binutils ld are patched to set DT_RUNPATH
8657 save_LDFLAGS
=$LDFLAGS
8659 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8660 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8661 cat >conftest.
$ac_ext <<_ACEOF
8664 cat confdefs.h
>>conftest.
$ac_ext
8665 cat >>conftest.
$ac_ext <<_ACEOF
8666 /* end confdefs.h. */
8676 rm -f conftest.
$ac_objext conftest
$ac_exeext
8677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8678 (eval $ac_link) 2>conftest.er1
8680 grep -v '^ *+' conftest.er1
>conftest.err
8682 cat conftest.err
>&5
8683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684 (exit $ac_status); } &&
8685 { ac_try
='test -z "$ac_c_werror_flag"
8686 || test ! -s conftest.err'
8687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691 (exit $ac_status); }; } &&
8692 { ac_try
='test -s conftest$ac_exeext'
8693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8697 (exit $ac_status); }; }; then
8698 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
8699 shlibpath_overrides_runpath
=yes
8703 echo "$as_me: failed program was:" >&5
8704 sed 's/^/| /' conftest.
$ac_ext >&5
8707 rm -f conftest.err conftest.
$ac_objext \
8708 conftest
$ac_exeext conftest.
$ac_ext
8709 LDFLAGS
=$save_LDFLAGS
8712 # This implies no fast_install, which is unacceptable.
8713 # Some rework will be needed to allow for fast_install
8714 # before this can be enabled.
8715 hardcode_into_libs
=yes
8717 # Append ld.so.conf contents to the search path
8718 if test -f /etc
/ld.so.conf
; then
8719 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8720 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8723 # We used to test for /lib/ld.so.1 and disable shared libraries on
8724 # powerpc, because MkLinux only supported shared libraries with the
8725 # GNU dynamic linker. Since this was broken with cross compilers,
8726 # most powerpc-linux boxes support dynamic linking these days and
8727 # people can always --disable-shared, the test was removed, and we
8728 # assume the GNU/Linux dynamic linker is in use.
8729 dynamic_linker
='GNU/Linux ld.so'
8736 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8738 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8739 dynamic_linker
='NetBSD (a.out) ld.so'
8741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8742 soname_spec
='${libname}${release}${shared_ext}$major'
8743 dynamic_linker
='NetBSD ld.elf_so'
8745 shlibpath_var
=LD_LIBRARY_PATH
8746 shlibpath_overrides_runpath
=yes
8747 hardcode_into_libs
=yes
8752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8753 shlibpath_var
=LD_LIBRARY_PATH
8754 shlibpath_overrides_runpath
=yes
8761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8762 soname_spec
='${libname}${release}${shared_ext}$major'
8763 shlibpath_var
=LD_LIBRARY_PATH
8764 shlibpath_overrides_runpath
=no
8765 hardcode_into_libs
=yes
8766 dynamic_linker
='ldqnx.so'
8771 sys_lib_dlsearch_path_spec
="/usr/lib"
8773 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8775 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8776 *) need_version
=no
;;
8778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8779 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8780 shlibpath_var
=LD_LIBRARY_PATH
8781 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8783 openbsd2.
[89] | openbsd2.
[89].
*)
8784 shlibpath_overrides_runpath
=no
8787 shlibpath_overrides_runpath
=yes
8791 shlibpath_overrides_runpath
=yes
8796 libname_spec
='$name'
8799 library_names_spec
='$libname${shared_ext} $libname.a'
8800 dynamic_linker
='OS/2 ld.exe'
8801 shlibpath_var
=LIBPATH
8804 osf3
* | osf4
* | osf5
*)
8808 soname_spec
='${libname}${release}${shared_ext}$major'
8809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8810 shlibpath_var
=LD_LIBRARY_PATH
8811 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8812 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8824 soname_spec
='${libname}${release}${shared_ext}$major'
8825 shlibpath_var
=LD_LIBRARY_PATH
8826 shlibpath_overrides_runpath
=yes
8827 hardcode_into_libs
=yes
8828 # ldd complains unless libraries are executable
8829 postinstall_cmds
='chmod +x $lib'
8834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8835 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8836 shlibpath_var
=LD_LIBRARY_PATH
8837 shlibpath_overrides_runpath
=yes
8838 if test "$with_gnu_ld" = yes; then
8846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8847 soname_spec
='${libname}${release}${shared_ext}$major'
8848 shlibpath_var
=LD_LIBRARY_PATH
8849 case $host_vendor in
8851 shlibpath_overrides_runpath
=no
8853 runpath_var
=LD_RUN_PATH
8861 shlibpath_overrides_runpath
=no
8862 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8868 if test -d /usr
/nec
;then
8870 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8871 soname_spec
='$libname${shared_ext}.$major'
8872 shlibpath_var
=LD_LIBRARY_PATH
8876 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8877 version_type
=freebsd-elf
8880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8881 soname_spec
='${libname}${release}${shared_ext}$major'
8882 shlibpath_var
=LD_LIBRARY_PATH
8883 shlibpath_overrides_runpath
=yes
8884 hardcode_into_libs
=yes
8885 if test "$with_gnu_ld" = yes; then
8886 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8888 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
8891 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
8895 sys_lib_dlsearch_path_spec
='/usr/lib'
8899 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
8903 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8904 shlibpath_var
=LD_LIBRARY_PATH
8905 shlibpath_overrides_runpath
=no
8906 hardcode_into_libs
=yes
8911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8912 soname_spec
='${libname}${release}${shared_ext}$major'
8913 shlibpath_var
=LD_LIBRARY_PATH
8920 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8921 echo "${ECHO_T}$dynamic_linker" >&6
8922 test "$dynamic_linker" = no
&& can_build_shared
=no
8924 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8925 if test "$GCC" = yes; then
8926 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9015 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9016 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9018 if test -n "$hardcode_libdir_flag_spec" ||
9019 test -n "$runpath_var" ||
9020 test "X$hardcode_automatic" = "Xyes" ; then
9022 # We can hardcode non-existent directories.
9023 if test "$hardcode_direct" != no
&&
9024 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9025 # have to relink, otherwise we might link with an installed library
9026 # when we should be linking with a yet-to-be-installed one
9027 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9028 test "$hardcode_minus_L" != no
; then
9029 # Linking always hardcodes the temporary library directory.
9030 hardcode_action
=relink
9032 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9033 hardcode_action
=immediate
9036 # We cannot hardcode anything, or else we can only hardcode existing
9038 hardcode_action
=unsupported
9040 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9041 echo "${ECHO_T}$hardcode_action" >&6
9043 if test "$hardcode_action" = relink ||
9044 test "$inherit_rpath" = yes; then
9045 # Fast installation is not supported
9046 enable_fast_install
=no
9047 elif test "$shlibpath_overrides_runpath" = yes ||
9048 test "$enable_shared" = no
; then
9049 # Fast installation is not necessary
9050 enable_fast_install
=needless
9058 if test "x$enable_dlopen" != xyes
; then
9059 enable_dlopen
=unknown
9060 enable_dlopen_self
=unknown
9061 enable_dlopen_self_static
=unknown
9068 lt_cv_dlopen
="load_add_on"
9070 lt_cv_dlopen_self
=yes
9074 lt_cv_dlopen
="LoadLibrary"
9079 lt_cv_dlopen
="dlopen"
9084 # if libdl is installed we need to link against it
9085 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9086 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9087 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9088 echo $ECHO_N "(cached) $ECHO_C" >&6
9090 ac_check_lib_save_LIBS
=$LIBS
9092 cat >conftest.
$ac_ext <<_ACEOF
9095 cat confdefs.h
>>conftest.
$ac_ext
9096 cat >>conftest.
$ac_ext <<_ACEOF
9097 /* end confdefs.h. */
9099 /* Override any gcc2 internal prototype to avoid an error. */
9103 /* We use char because int might match the return type of a gcc2
9104 builtin and then its argument prototype would still apply. */
9114 rm -f conftest.
$ac_objext conftest
$ac_exeext
9115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9116 (eval $ac_link) 2>conftest.er1
9118 grep -v '^ *+' conftest.er1
>conftest.err
9120 cat conftest.err
>&5
9121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122 (exit $ac_status); } &&
9123 { ac_try
='test -z "$ac_c_werror_flag"
9124 || test ! -s conftest.err'
9125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9129 (exit $ac_status); }; } &&
9130 { ac_try
='test -s conftest$ac_exeext'
9131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9135 (exit $ac_status); }; }; then
9136 ac_cv_lib_dl_dlopen
=yes
9138 echo "$as_me: failed program was:" >&5
9139 sed 's/^/| /' conftest.
$ac_ext >&5
9141 ac_cv_lib_dl_dlopen
=no
9143 rm -f conftest.err conftest.
$ac_objext \
9144 conftest
$ac_exeext conftest.
$ac_ext
9145 LIBS
=$ac_check_lib_save_LIBS
9147 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9148 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9149 if test $ac_cv_lib_dl_dlopen = yes; then
9150 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9155 lt_cv_dlopen_self
=yes
9162 echo "$as_me:$LINENO: checking for shl_load" >&5
9163 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9164 if test "${ac_cv_func_shl_load+set}" = set; then
9165 echo $ECHO_N "(cached) $ECHO_C" >&6
9167 cat >conftest.
$ac_ext <<_ACEOF
9170 cat confdefs.h
>>conftest.
$ac_ext
9171 cat >>conftest.
$ac_ext <<_ACEOF
9172 /* end confdefs.h. */
9173 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9175 #define shl_load innocuous_shl_load
9177 /* System header to define __stub macros and hopefully few prototypes,
9178 which can conflict with char shl_load (); below.
9179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9180 <limits.h> exists even on freestanding compilers. */
9183 # include <limits.h>
9185 # include <assert.h>
9190 /* Override any gcc2 internal prototype to avoid an error. */
9195 /* We use char because int might match the return type of a gcc2
9196 builtin and then its argument prototype would still apply. */
9198 /* The GNU C library defines this for functions which it implements
9199 to always fail with ENOSYS. Some functions are actually named
9200 something starting with __ and the normal name is an alias. */
9201 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9204 char (*f) () = shl_load;
9213 return f != shl_load;
9218 rm -f conftest.
$ac_objext conftest
$ac_exeext
9219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9220 (eval $ac_link) 2>conftest.er1
9222 grep -v '^ *+' conftest.er1
>conftest.err
9224 cat conftest.err
>&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); } &&
9227 { ac_try
='test -z "$ac_c_werror_flag"
9228 || test ! -s conftest.err'
9229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233 (exit $ac_status); }; } &&
9234 { ac_try
='test -s conftest$ac_exeext'
9235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9239 (exit $ac_status); }; }; then
9240 ac_cv_func_shl_load
=yes
9242 echo "$as_me: failed program was:" >&5
9243 sed 's/^/| /' conftest.
$ac_ext >&5
9245 ac_cv_func_shl_load
=no
9247 rm -f conftest.err conftest.
$ac_objext \
9248 conftest
$ac_exeext conftest.
$ac_ext
9250 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9251 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9252 if test $ac_cv_func_shl_load = yes; then
9253 lt_cv_dlopen
="shl_load"
9255 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9256 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9257 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9258 echo $ECHO_N "(cached) $ECHO_C" >&6
9260 ac_check_lib_save_LIBS
=$LIBS
9262 cat >conftest.
$ac_ext <<_ACEOF
9265 cat confdefs.h
>>conftest.
$ac_ext
9266 cat >>conftest.
$ac_ext <<_ACEOF
9267 /* end confdefs.h. */
9269 /* Override any gcc2 internal prototype to avoid an error. */
9273 /* We use char because int might match the return type of a gcc2
9274 builtin and then its argument prototype would still apply. */
9284 rm -f conftest.
$ac_objext conftest
$ac_exeext
9285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9286 (eval $ac_link) 2>conftest.er1
9288 grep -v '^ *+' conftest.er1
>conftest.err
9290 cat conftest.err
>&5
9291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9292 (exit $ac_status); } &&
9293 { ac_try
='test -z "$ac_c_werror_flag"
9294 || test ! -s conftest.err'
9295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); }; } &&
9300 { ac_try
='test -s conftest$ac_exeext'
9301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9305 (exit $ac_status); }; }; then
9306 ac_cv_lib_dld_shl_load
=yes
9308 echo "$as_me: failed program was:" >&5
9309 sed 's/^/| /' conftest.
$ac_ext >&5
9311 ac_cv_lib_dld_shl_load
=no
9313 rm -f conftest.err conftest.
$ac_objext \
9314 conftest
$ac_exeext conftest.
$ac_ext
9315 LIBS
=$ac_check_lib_save_LIBS
9317 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9318 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9319 if test $ac_cv_lib_dld_shl_load = yes; then
9320 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
9322 echo "$as_me:$LINENO: checking for dlopen" >&5
9323 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9324 if test "${ac_cv_func_dlopen+set}" = set; then
9325 echo $ECHO_N "(cached) $ECHO_C" >&6
9327 cat >conftest.
$ac_ext <<_ACEOF
9330 cat confdefs.h
>>conftest.
$ac_ext
9331 cat >>conftest.
$ac_ext <<_ACEOF
9332 /* end confdefs.h. */
9333 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9335 #define dlopen innocuous_dlopen
9337 /* System header to define __stub macros and hopefully few prototypes,
9338 which can conflict with char dlopen (); below.
9339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9340 <limits.h> exists even on freestanding compilers. */
9343 # include <limits.h>
9345 # include <assert.h>
9350 /* Override any gcc2 internal prototype to avoid an error. */
9355 /* We use char because int might match the return type of a gcc2
9356 builtin and then its argument prototype would still apply. */
9358 /* The GNU C library defines this for functions which it implements
9359 to always fail with ENOSYS. Some functions are actually named
9360 something starting with __ and the normal name is an alias. */
9361 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9364 char (*f) () = dlopen;
9378 rm -f conftest.
$ac_objext conftest
$ac_exeext
9379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9380 (eval $ac_link) 2>conftest.er1
9382 grep -v '^ *+' conftest.er1
>conftest.err
9384 cat conftest.err
>&5
9385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9386 (exit $ac_status); } &&
9387 { ac_try
='test -z "$ac_c_werror_flag"
9388 || test ! -s conftest.err'
9389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9393 (exit $ac_status); }; } &&
9394 { ac_try
='test -s conftest$ac_exeext'
9395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9399 (exit $ac_status); }; }; then
9400 ac_cv_func_dlopen
=yes
9402 echo "$as_me: failed program was:" >&5
9403 sed 's/^/| /' conftest.
$ac_ext >&5
9405 ac_cv_func_dlopen
=no
9407 rm -f conftest.err conftest.
$ac_objext \
9408 conftest
$ac_exeext conftest.
$ac_ext
9410 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9411 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9412 if test $ac_cv_func_dlopen = yes; then
9413 lt_cv_dlopen
="dlopen"
9415 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9416 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9417 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9418 echo $ECHO_N "(cached) $ECHO_C" >&6
9420 ac_check_lib_save_LIBS
=$LIBS
9422 cat >conftest.
$ac_ext <<_ACEOF
9425 cat confdefs.h
>>conftest.
$ac_ext
9426 cat >>conftest.
$ac_ext <<_ACEOF
9427 /* end confdefs.h. */
9429 /* Override any gcc2 internal prototype to avoid an error. */
9433 /* We use char because int might match the return type of a gcc2
9434 builtin and then its argument prototype would still apply. */
9444 rm -f conftest.
$ac_objext conftest
$ac_exeext
9445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9446 (eval $ac_link) 2>conftest.er1
9448 grep -v '^ *+' conftest.er1
>conftest.err
9450 cat conftest.err
>&5
9451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9452 (exit $ac_status); } &&
9453 { ac_try
='test -z "$ac_c_werror_flag"
9454 || test ! -s conftest.err'
9455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9459 (exit $ac_status); }; } &&
9460 { ac_try
='test -s conftest$ac_exeext'
9461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9465 (exit $ac_status); }; }; then
9466 ac_cv_lib_dl_dlopen
=yes
9468 echo "$as_me: failed program was:" >&5
9469 sed 's/^/| /' conftest.
$ac_ext >&5
9471 ac_cv_lib_dl_dlopen
=no
9473 rm -f conftest.err conftest.
$ac_objext \
9474 conftest
$ac_exeext conftest.
$ac_ext
9475 LIBS
=$ac_check_lib_save_LIBS
9477 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9478 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9479 if test $ac_cv_lib_dl_dlopen = yes; then
9480 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9482 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9483 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9484 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9485 echo $ECHO_N "(cached) $ECHO_C" >&6
9487 ac_check_lib_save_LIBS
=$LIBS
9489 cat >conftest.
$ac_ext <<_ACEOF
9492 cat confdefs.h
>>conftest.
$ac_ext
9493 cat >>conftest.
$ac_ext <<_ACEOF
9494 /* end confdefs.h. */
9496 /* Override any gcc2 internal prototype to avoid an error. */
9500 /* We use char because int might match the return type of a gcc2
9501 builtin and then its argument prototype would still apply. */
9511 rm -f conftest.
$ac_objext conftest
$ac_exeext
9512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9513 (eval $ac_link) 2>conftest.er1
9515 grep -v '^ *+' conftest.er1
>conftest.err
9517 cat conftest.err
>&5
9518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9519 (exit $ac_status); } &&
9520 { ac_try
='test -z "$ac_c_werror_flag"
9521 || test ! -s conftest.err'
9522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9526 (exit $ac_status); }; } &&
9527 { ac_try
='test -s conftest$ac_exeext'
9528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 (exit $ac_status); }; }; then
9533 ac_cv_lib_svld_dlopen
=yes
9535 echo "$as_me: failed program was:" >&5
9536 sed 's/^/| /' conftest.
$ac_ext >&5
9538 ac_cv_lib_svld_dlopen
=no
9540 rm -f conftest.err conftest.
$ac_objext \
9541 conftest
$ac_exeext conftest.
$ac_ext
9542 LIBS
=$ac_check_lib_save_LIBS
9544 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9545 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9546 if test $ac_cv_lib_svld_dlopen = yes; then
9547 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9549 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9550 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9551 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9552 echo $ECHO_N "(cached) $ECHO_C" >&6
9554 ac_check_lib_save_LIBS
=$LIBS
9556 cat >conftest.
$ac_ext <<_ACEOF
9559 cat confdefs.h
>>conftest.
$ac_ext
9560 cat >>conftest.
$ac_ext <<_ACEOF
9561 /* end confdefs.h. */
9563 /* Override any gcc2 internal prototype to avoid an error. */
9567 /* We use char because int might match the return type of a gcc2
9568 builtin and then its argument prototype would still apply. */
9578 rm -f conftest.
$ac_objext conftest
$ac_exeext
9579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9580 (eval $ac_link) 2>conftest.er1
9582 grep -v '^ *+' conftest.er1
>conftest.err
9584 cat conftest.err
>&5
9585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9586 (exit $ac_status); } &&
9587 { ac_try
='test -z "$ac_c_werror_flag"
9588 || test ! -s conftest.err'
9589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9593 (exit $ac_status); }; } &&
9594 { ac_try
='test -s conftest$ac_exeext'
9595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 (exit $ac_status); }; }; then
9600 ac_cv_lib_dld_dld_link
=yes
9602 echo "$as_me: failed program was:" >&5
9603 sed 's/^/| /' conftest.
$ac_ext >&5
9605 ac_cv_lib_dld_dld_link
=no
9607 rm -f conftest.err conftest.
$ac_objext \
9608 conftest
$ac_exeext conftest.
$ac_ext
9609 LIBS
=$ac_check_lib_save_LIBS
9611 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9612 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9613 if test $ac_cv_lib_dld_dld_link = yes; then
9614 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9635 if test "x$lt_cv_dlopen" != xno
; then
9641 case $lt_cv_dlopen in
9643 save_CPPFLAGS
="$CPPFLAGS"
9644 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9646 save_LDFLAGS
="$LDFLAGS"
9647 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9650 LIBS
="$lt_cv_dlopen_libs $LIBS"
9652 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9653 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9654 if test "${lt_cv_dlopen_self+set}" = set; then
9655 echo $ECHO_N "(cached) $ECHO_C" >&6
9657 if test "$cross_compiling" = yes; then :
9658 lt_cv_dlopen_self
=cross
9660 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9661 lt_status
=$lt_dlunknown
9662 cat > conftest.
$ac_ext <<_LT_EOF
9663 #line 9683 "configure"
9664 #include "confdefs.h"
9673 # define LT_DLGLOBAL RTLD_GLOBAL
9676 # define LT_DLGLOBAL DL_GLOBAL
9678 # define LT_DLGLOBAL 0
9682 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9683 find out it does not work in some platform. */
9684 #ifndef LT_DLLAZY_OR_NOW
9686 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9689 # define LT_DLLAZY_OR_NOW DL_LAZY
9692 # define LT_DLLAZY_OR_NOW RTLD_NOW
9695 # define LT_DLLAZY_OR_NOW DL_NOW
9697 # define LT_DLLAZY_OR_NOW 0
9705 extern "C" void exit (int);
9708 void fnord() { int i=42;}
9711 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9712 int status = $lt_dlunknown;
9716 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9717 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9718 /* dlclose (self); */
9726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9727 (eval $ac_link) 2>&5
9729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9730 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9731 (.
/conftest
; exit; ) >&5 2>/dev
/null
9734 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9735 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9736 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9739 # compilation failed
9740 lt_cv_dlopen_self
=no
9747 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9748 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9750 if test "x$lt_cv_dlopen_self" = xyes
; then
9751 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9752 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9753 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9754 if test "${lt_cv_dlopen_self_static+set}" = set; then
9755 echo $ECHO_N "(cached) $ECHO_C" >&6
9757 if test "$cross_compiling" = yes; then :
9758 lt_cv_dlopen_self_static
=cross
9760 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9761 lt_status
=$lt_dlunknown
9762 cat > conftest.
$ac_ext <<_LT_EOF
9763 #line 9783 "configure"
9764 #include "confdefs.h"
9773 # define LT_DLGLOBAL RTLD_GLOBAL
9776 # define LT_DLGLOBAL DL_GLOBAL
9778 # define LT_DLGLOBAL 0
9782 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9783 find out it does not work in some platform. */
9784 #ifndef LT_DLLAZY_OR_NOW
9786 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9789 # define LT_DLLAZY_OR_NOW DL_LAZY
9792 # define LT_DLLAZY_OR_NOW RTLD_NOW
9795 # define LT_DLLAZY_OR_NOW DL_NOW
9797 # define LT_DLLAZY_OR_NOW 0
9805 extern "C" void exit (int);
9808 void fnord() { int i=42;}
9811 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9812 int status = $lt_dlunknown;
9816 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9817 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9818 /* dlclose (self); */
9826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9827 (eval $ac_link) 2>&5
9829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9830 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9831 (.
/conftest
; exit; ) >&5 2>/dev
/null
9834 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9835 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9836 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9839 # compilation failed
9840 lt_cv_dlopen_self_static
=no
9847 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9848 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9851 CPPFLAGS
="$save_CPPFLAGS"
9852 LDFLAGS
="$save_LDFLAGS"
9857 case $lt_cv_dlopen_self in
9858 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9859 *) enable_dlopen_self
=unknown
;;
9862 case $lt_cv_dlopen_self_static in
9863 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9864 *) enable_dlopen_self_static
=unknown
;;
9886 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9887 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9888 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
9889 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9890 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9891 echo "$as_me:$LINENO: result: yes" >&5
9892 echo "${ECHO_T}yes" >&6
9894 # FIXME - insert some real tests, host_os isn't really good enough
9897 if test -n "$STRIP" ; then
9898 striplib
="$STRIP -x"
9899 old_striplib
="$STRIP -S"
9900 echo "$as_me:$LINENO: result: yes" >&5
9901 echo "${ECHO_T}yes" >&6
9903 echo "$as_me:$LINENO: result: no" >&5
9904 echo "${ECHO_T}no" >&6
9908 echo "$as_me:$LINENO: result: no" >&5
9909 echo "${ECHO_T}no" >&6
9925 # Report which library types will actually be built
9926 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9927 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9928 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9929 echo "${ECHO_T}$can_build_shared" >&6
9931 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9932 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9933 test "$can_build_shared" = "no" && enable_shared
=no
9935 # On AIX, shared libraries and static libraries use the same namespace, and
9936 # are all built from PIC.
9939 test "$enable_shared" = yes && enable_static
=no
9940 if test -n "$RANLIB"; then
9941 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9942 postinstall_cmds
='$RANLIB $lib'
9947 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9948 test "$enable_shared" = yes && enable_static
=no
9952 echo "$as_me:$LINENO: result: $enable_shared" >&5
9953 echo "${ECHO_T}$enable_shared" >&6
9955 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9956 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9957 # Make sure either enable_shared or enable_static is yes.
9958 test "$enable_shared" = yes || enable_static
=yes
9959 echo "$as_me:$LINENO: result: $enable_static" >&5
9960 echo "${ECHO_T}$enable_static" >&6
9967 ac_cpp
='$CPP $CPPFLAGS'
9968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9986 ac_config_commands
="$ac_config_commands libtool"
9997 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
9998 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
9999 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
10000 if test "${enable_maintainer_mode+set}" = set; then
10001 enableval
="$enable_maintainer_mode"
10002 USE_MAINTAINER_MODE
=$enableval
10004 USE_MAINTAINER_MODE
=no
10006 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
10007 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
10010 if test $USE_MAINTAINER_MODE = yes; then
10011 MAINTAINER_MODE_TRUE
=
10012 MAINTAINER_MODE_FALSE
='#'
10014 MAINTAINER_MODE_TRUE
='#'
10015 MAINTAINER_MODE_FALSE
=
10018 MAINT
=$MAINTAINER_MODE_TRUE
10022 # We need gfortran to compile parts of the library
10023 # We can't use AC_PROG_FC because it expects a fully working gfortran.
10024 #AC_PROG_FC(gfortran)
10026 ac_ext
=${FC_SRCEXT-f}
10027 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10028 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10029 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
10030 if test -n "$ac_tool_prefix"; then
10031 for ac_prog
in gfortran
10033 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10034 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10035 echo "$as_me:$LINENO: checking for $ac_word" >&5
10036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10037 if test "${ac_cv_prog_FC+set}" = set; then
10038 echo $ECHO_N "(cached) $ECHO_C" >&6
10040 if test -n "$FC"; then
10041 ac_cv_prog_FC
="$FC" # Let the user override the test.
10043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10044 for as_dir
in $PATH
10047 test -z "$as_dir" && as_dir
=.
10048 for ac_exec_ext
in '' $ac_executable_extensions; do
10049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10050 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
10051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10060 if test -n "$FC"; then
10061 echo "$as_me:$LINENO: result: $FC" >&5
10062 echo "${ECHO_T}$FC" >&6
10064 echo "$as_me:$LINENO: result: no" >&5
10065 echo "${ECHO_T}no" >&6
10068 test -n "$FC" && break
10071 if test -z "$FC"; then
10073 for ac_prog
in gfortran
10075 # Extract the first word of "$ac_prog", so it can be a program name with args.
10076 set dummy
$ac_prog; ac_word
=$2
10077 echo "$as_me:$LINENO: checking for $ac_word" >&5
10078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10079 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10080 echo $ECHO_N "(cached) $ECHO_C" >&6
10082 if test -n "$ac_ct_FC"; then
10083 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
10085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10086 for as_dir
in $PATH
10089 test -z "$as_dir" && as_dir
=.
10090 for ac_exec_ext
in '' $ac_executable_extensions; do
10091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10092 ac_cv_prog_ac_ct_FC
="$ac_prog"
10093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10101 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
10102 if test -n "$ac_ct_FC"; then
10103 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10104 echo "${ECHO_T}$ac_ct_FC" >&6
10106 echo "$as_me:$LINENO: result: no" >&5
10107 echo "${ECHO_T}no" >&6
10110 test -n "$ac_ct_FC" && break
10117 # Provide some information about the compiler.
10118 echo "$as_me:10138:" \
10119 "checking for Fortran compiler version" >&5
10120 ac_compiler
=`set X $ac_compile; echo $2`
10121 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10122 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10125 (exit $ac_status); }
10126 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10127 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10130 (exit $ac_status); }
10131 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10132 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10135 (exit $ac_status); }
10138 # If we don't use `.F' as extension, the preprocessor is not run on the
10139 # input file. (Note that this only needs to work for GNU compilers.)
10140 ac_save_ext
=$ac_ext
10142 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10143 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10144 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10145 echo $ECHO_N "(cached) $ECHO_C" >&6
10147 cat >conftest.
$ac_ext <<_ACEOF
10155 rm -f conftest.
$ac_objext
10156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10157 (eval $ac_compile) 2>conftest.er1
10159 grep -v '^ *+' conftest.er1
>conftest.err
10161 cat conftest.err
>&5
10162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10163 (exit $ac_status); } &&
10164 { ac_try
='test -z "$ac_fc_werror_flag"
10165 || test ! -s conftest.err'
10166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10167 (eval $ac_try) 2>&5
10169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10170 (exit $ac_status); }; } &&
10171 { ac_try
='test -s conftest.$ac_objext'
10172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10173 (eval $ac_try) 2>&5
10175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10176 (exit $ac_status); }; }; then
10177 ac_compiler_gnu
=yes
10179 echo "$as_me: failed program was:" >&5
10180 sed 's/^/| /' conftest.
$ac_ext >&5
10184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10185 ac_cv_fc_compiler_gnu
=$ac_compiler_gnu
10188 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10189 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10190 ac_ext
=$ac_save_ext
10191 ac_test_FFLAGS
=${FCFLAGS+set}
10192 ac_save_FFLAGS
=$FCFLAGS
10194 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10195 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10196 if test "${ac_cv_prog_fc_g+set}" = set; then
10197 echo $ECHO_N "(cached) $ECHO_C" >&6
10200 cat >conftest.
$ac_ext <<_ACEOF
10205 rm -f conftest.
$ac_objext
10206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10207 (eval $ac_compile) 2>conftest.er1
10209 grep -v '^ *+' conftest.er1
>conftest.err
10211 cat conftest.err
>&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); } &&
10214 { ac_try
='test -z "$ac_fc_werror_flag"
10215 || test ! -s conftest.err'
10216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10217 (eval $ac_try) 2>&5
10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220 (exit $ac_status); }; } &&
10221 { ac_try
='test -s conftest.$ac_objext'
10222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10223 (eval $ac_try) 2>&5
10225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226 (exit $ac_status); }; }; then
10227 ac_cv_prog_fc_g
=yes
10229 echo "$as_me: failed program was:" >&5
10230 sed 's/^/| /' conftest.
$ac_ext >&5
10234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10237 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10238 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10239 if test "$ac_test_FFLAGS" = set; then
10240 FCFLAGS
=$ac_save_FFLAGS
10241 elif test $ac_cv_prog_fc_g = yes; then
10242 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
10248 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
10256 ac_cpp
='$CPP $CPPFLAGS'
10257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10262 ac_ext
=${FC_SRCEXT-f}
10263 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10264 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10265 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
10266 if test -n "$ac_tool_prefix"; then
10267 for ac_prog
in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10269 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10270 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10271 echo "$as_me:$LINENO: checking for $ac_word" >&5
10272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10273 if test "${ac_cv_prog_FC+set}" = set; then
10274 echo $ECHO_N "(cached) $ECHO_C" >&6
10276 if test -n "$FC"; then
10277 ac_cv_prog_FC
="$FC" # Let the user override the test.
10279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10280 for as_dir
in $PATH
10283 test -z "$as_dir" && as_dir
=.
10284 for ac_exec_ext
in '' $ac_executable_extensions; do
10285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10286 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
10287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10296 if test -n "$FC"; then
10297 echo "$as_me:$LINENO: result: $FC" >&5
10298 echo "${ECHO_T}$FC" >&6
10300 echo "$as_me:$LINENO: result: no" >&5
10301 echo "${ECHO_T}no" >&6
10304 test -n "$FC" && break
10307 if test -z "$FC"; then
10309 for ac_prog
in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10311 # Extract the first word of "$ac_prog", so it can be a program name with args.
10312 set dummy
$ac_prog; ac_word
=$2
10313 echo "$as_me:$LINENO: checking for $ac_word" >&5
10314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10315 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10316 echo $ECHO_N "(cached) $ECHO_C" >&6
10318 if test -n "$ac_ct_FC"; then
10319 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
10321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10322 for as_dir
in $PATH
10325 test -z "$as_dir" && as_dir
=.
10326 for ac_exec_ext
in '' $ac_executable_extensions; do
10327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10328 ac_cv_prog_ac_ct_FC
="$ac_prog"
10329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10337 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
10338 if test -n "$ac_ct_FC"; then
10339 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10340 echo "${ECHO_T}$ac_ct_FC" >&6
10342 echo "$as_me:$LINENO: result: no" >&5
10343 echo "${ECHO_T}no" >&6
10346 test -n "$ac_ct_FC" && break
10353 # Provide some information about the compiler.
10354 echo "$as_me:10374:" \
10355 "checking for Fortran compiler version" >&5
10356 ac_compiler
=`set X $ac_compile; echo $2`
10357 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10358 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10361 (exit $ac_status); }
10362 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10363 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10366 (exit $ac_status); }
10367 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10368 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10371 (exit $ac_status); }
10374 # If we don't use `.F' as extension, the preprocessor is not run on the
10375 # input file. (Note that this only needs to work for GNU compilers.)
10376 ac_save_ext
=$ac_ext
10378 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10379 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10380 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10381 echo $ECHO_N "(cached) $ECHO_C" >&6
10383 cat >conftest.
$ac_ext <<_ACEOF
10391 rm -f conftest.
$ac_objext
10392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10393 (eval $ac_compile) 2>conftest.er1
10395 grep -v '^ *+' conftest.er1
>conftest.err
10397 cat conftest.err
>&5
10398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10399 (exit $ac_status); } &&
10400 { ac_try
='test -z "$ac_fc_werror_flag"
10401 || test ! -s conftest.err'
10402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10403 (eval $ac_try) 2>&5
10405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10406 (exit $ac_status); }; } &&
10407 { ac_try
='test -s conftest.$ac_objext'
10408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10409 (eval $ac_try) 2>&5
10411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412 (exit $ac_status); }; }; then
10413 ac_compiler_gnu
=yes
10415 echo "$as_me: failed program was:" >&5
10416 sed 's/^/| /' conftest.
$ac_ext >&5
10420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10421 ac_cv_fc_compiler_gnu
=$ac_compiler_gnu
10424 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10425 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10426 ac_ext
=$ac_save_ext
10427 ac_test_FFLAGS
=${FCFLAGS+set}
10428 ac_save_FFLAGS
=$FCFLAGS
10430 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10431 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10432 if test "${ac_cv_prog_fc_g+set}" = set; then
10433 echo $ECHO_N "(cached) $ECHO_C" >&6
10436 cat >conftest.
$ac_ext <<_ACEOF
10441 rm -f conftest.
$ac_objext
10442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10443 (eval $ac_compile) 2>conftest.er1
10445 grep -v '^ *+' conftest.er1
>conftest.err
10447 cat conftest.err
>&5
10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10449 (exit $ac_status); } &&
10450 { ac_try
='test -z "$ac_fc_werror_flag"
10451 || test ! -s conftest.err'
10452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10453 (eval $ac_try) 2>&5
10455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10456 (exit $ac_status); }; } &&
10457 { ac_try
='test -s conftest.$ac_objext'
10458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10459 (eval $ac_try) 2>&5
10461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462 (exit $ac_status); }; }; then
10463 ac_cv_prog_fc_g
=yes
10465 echo "$as_me: failed program was:" >&5
10466 sed 's/^/| /' conftest.
$ac_ext >&5
10470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10473 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10474 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10475 if test "$ac_test_FFLAGS" = set; then
10476 FCFLAGS
=$ac_save_FFLAGS
10477 elif test $ac_cv_prog_fc_g = yes; then
10478 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
10484 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
10492 ac_cpp
='$CPP $CPPFLAGS'
10493 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10494 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10495 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10497 if test -z "$FC" ||
test "X$FC" = "Xno"; then
10503 ac_ext
=${FC_SRCEXT-f}
10504 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10505 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10506 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
10509 archive_cmds_need_lc_FC
=no
10510 allow_undefined_flag_FC
=
10511 always_export_symbols_FC
=no
10512 archive_expsym_cmds_FC
=
10513 export_dynamic_flag_spec_FC
=
10514 hardcode_direct_FC
=no
10515 hardcode_direct_absolute_FC
=no
10516 hardcode_libdir_flag_spec_FC
=
10517 hardcode_libdir_flag_spec_ld_FC
=
10518 hardcode_libdir_separator_FC
=
10519 hardcode_minus_L_FC
=no
10520 hardcode_automatic_FC
=no
10521 inherit_rpath_FC
=no
10523 module_expsym_cmds_FC
=
10524 link_all_deplibs_FC
=unknown
10525 old_archive_cmds_FC
=$old_archive_cmds
10526 no_undefined_flag_FC
=
10527 whole_archive_flag_spec_FC
=
10528 enable_shared_with_static_runtimes_FC
=no
10530 # Source file extension for fc test sources.
10531 ac_ext
=${ac_fc_srcext-f}
10533 # Object file extension for compiled fc test sources.
10537 # No sense in running all these tests if we already determined that
10538 # the FC compiler isn't working. Some variables (like enable_shared)
10539 # are currently assumed to apply to all compilers on this platform,
10540 # and will be corrupted by setting them based on a non-working compiler.
10541 if test "$_lt_disable_FC" != yes; then
10542 # Code to be used in simple compile tests
10543 lt_simple_compile_test_code
="\
10549 # Code to be used in simple link tests
10550 lt_simple_link_test_code
="\
10555 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10562 # If no C compiler was specified, use CC.
10565 # If no C compiler flags were specified, use CFLAGS.
10566 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10568 # Allow CC to be a program name with arguments.
10572 # save warnings/boilerplate of simple test code
10573 ac_outfile
=conftest.
$ac_objext
10574 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10575 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10576 _lt_compiler_boilerplate
=`cat conftest.err`
10579 ac_outfile
=conftest.
$ac_objext
10580 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10581 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10582 _lt_linker_boilerplate
=`cat conftest.err`
10586 # Allow CC to be a program name with arguments.
10591 for cc_temp
in $compiler""; do
10593 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10594 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10599 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10602 if test -n "$compiler"; then
10603 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10604 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10605 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10606 echo "${ECHO_T}$can_build_shared" >&6
10608 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10609 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10610 test "$can_build_shared" = "no" && enable_shared
=no
10612 # On AIX, shared libraries and static libraries use the same namespace, and
10613 # are all built from PIC.
10616 test "$enable_shared" = yes && enable_static
=no
10617 if test -n "$RANLIB"; then
10618 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10619 postinstall_cmds
='$RANLIB $lib'
10623 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10624 test "$enable_shared" = yes && enable_static
=no
10628 echo "$as_me:$LINENO: result: $enable_shared" >&5
10629 echo "${ECHO_T}$enable_shared" >&6
10631 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10632 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10633 # Make sure either enable_shared or enable_static is yes.
10634 test "$enable_shared" = yes || enable_static
=yes
10635 echo "$as_me:$LINENO: result: $enable_static" >&5
10636 echo "${ECHO_T}$enable_static" >&6
10638 GCC_FC
="$ac_cv_fc_compiler_gnu"
10642 ## There is no encapsulation within the following macros, do not change
10643 ## the running order or otherwise move them around unless you know exactly
10644 ## what you are doing...
10645 # Dependencies to place before and after the object being linked:
10647 postdep_objects_FC
=
10650 compiler_lib_search_path_FC
=
10652 cat > conftest.
$ac_ext <<_LT_EOF
10661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10662 (eval $ac_compile) 2>&5
10664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 (exit $ac_status); }; then
10666 # Parse the compiler output and extract the necessary
10667 # objects, libraries and library flags.
10669 # Sentinel used to keep track of whether or not we are before
10670 # the conftest object file.
10671 pre_test_object_deps_done
=no
10673 # The `*' in the case matches for architectures that use `case' in
10674 # $output_verbose_cmd can trigger glob expansion during the loop
10675 # eval without this substitution.
10676 output_verbose_link_cmd
=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10678 for p
in `eval $output_verbose_link_cmd`; do
10682 # Some compilers place space between "-{L,R}" and the path.
10683 # Remove the space.
10684 if test $p = "-L" ||
10685 test $p = "-R"; then
10692 if test "$pre_test_object_deps_done" = no
; then
10695 # Internal compiler library paths should come after those
10696 # provided the user. The postdeps already come after the
10697 # user supplied libs so there is no need to process them.
10698 if test -z "$compiler_lib_search_path_FC"; then
10699 compiler_lib_search_path_FC
="${prev}${p}"
10701 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
10704 # The "-l" case would never come before the object being
10705 # linked, so don't bother handling this case.
10708 if test -z "$postdeps_FC"; then
10709 postdeps_FC
="${prev}${p}"
10711 postdeps_FC
="${postdeps_FC} ${prev}${p}"
10717 # This assumes that the test object file only shows up
10718 # once in the compiler output.
10719 if test "$p" = "conftest.$objext"; then
10720 pre_test_object_deps_done
=yes
10724 if test "$pre_test_object_deps_done" = no
; then
10725 if test -z "$predep_objects_FC"; then
10726 predep_objects_FC
="$p"
10728 predep_objects_FC
="$predep_objects_FC $p"
10731 if test -z "$postdep_objects_FC"; then
10732 postdep_objects_FC
="$p"
10734 postdep_objects_FC
="$postdep_objects_FC $p"
10739 *) ;; # Ignore the rest.
10747 echo "libtool.m4: error: problem compiling FC test program"
10750 $RM -f confest.
$objext
10752 # PORTME: override above test on systems where it is broken
10755 case " $postdeps_FC " in
10756 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
10784 lt_prog_compiler_wl_FC
=
10785 lt_prog_compiler_pic_FC
=
10786 lt_prog_compiler_static_FC
=
10788 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10789 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10791 if test "$GCC" = yes; then
10792 lt_prog_compiler_wl_FC
='-Wl,'
10793 lt_prog_compiler_static_FC
='-static'
10797 # All AIX code is PIC.
10798 if test "$host_cpu" = ia64
; then
10799 # AIX 5 now supports IA64 processor
10800 lt_prog_compiler_static_FC
='-Bstatic'
10805 if test "$host_cpu" = m68k
; then
10806 # FIXME: we need at least 68020 code to build shared libraries, but
10807 # adding the `-m68020' flag to GCC prevents building anything better,
10809 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
10813 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10814 # PIC is the default for these OSes.
10817 mingw
* | cygwin
* | pw32
* | os2
*)
10818 # This hack is so that the source file can tell whether it is being
10819 # built for inclusion in a dll (and should export symbols for example).
10820 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10821 # (--disable-auto-import) libraries
10822 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
10825 darwin
* | rhapsody
*)
10826 # PIC is the default on this platform
10827 # Common symbols not allowed in MH_DYLIB files
10828 lt_prog_compiler_pic_FC
='-fno-common'
10832 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10833 # not for PA HP-UX.
10839 lt_prog_compiler_pic_FC
='-fPIC'
10845 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10846 # Instead, we relocate shared libraries at runtime.
10850 # Just because we use GCC doesn't mean we suddenly get shared libraries
10851 # on systems that don't support them.
10852 lt_prog_compiler_can_build_shared_FC
=no
10857 # QNX uses GNU C++, but need to define -shared option too, otherwise
10858 # it will coredump.
10859 lt_prog_compiler_pic_FC
='-fPIC -shared'
10863 if test -d /usr
/nec
; then
10864 lt_prog_compiler_pic_FC
=-Kconform_pic
10869 lt_prog_compiler_pic_FC
='-fPIC'
10873 # PORTME Check for flag to pass linker flags through the system compiler.
10876 lt_prog_compiler_wl_FC
='-Wl,'
10877 if test "$host_cpu" = ia64
; then
10878 # AIX 5 now supports IA64 processor
10879 lt_prog_compiler_static_FC
='-Bstatic'
10881 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
10885 # PIC is the default on this platform
10886 # Common symbols not allowed in MH_DYLIB files
10887 case $cc_basename in
10889 lt_prog_compiler_pic_FC
='-qnocommon'
10890 lt_prog_compiler_wl_FC
='-Wl,'
10895 mingw
* | cygwin
* | pw32
* | os2
*)
10896 # This hack is so that the source file can tell whether it is being
10897 # built for inclusion in a dll (and should export symbols for example).
10898 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
10901 hpux9
* | hpux10
* | hpux11
*)
10902 lt_prog_compiler_wl_FC
='-Wl,'
10903 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10904 # not for PA HP-UX.
10910 lt_prog_compiler_pic_FC
='+Z'
10913 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10914 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
10917 irix5
* | irix6
* | nonstopux
*)
10918 lt_prog_compiler_wl_FC
='-Wl,'
10919 # PIC (with -KPIC) is the default.
10920 lt_prog_compiler_static_FC
='-non_shared'
10923 linux
* | k
*bsd
*-gnu)
10924 case $cc_basename in
10926 lt_prog_compiler_wl_FC
='-Wl,'
10927 lt_prog_compiler_pic_FC
='-KPIC'
10928 lt_prog_compiler_static_FC
='-static'
10930 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
10931 # Portland Group compilers (*not* the Pentium gcc compiler,
10932 # which looks to be a dead project)
10933 lt_prog_compiler_wl_FC
='-Wl,'
10934 lt_prog_compiler_pic_FC
='-fpic'
10935 lt_prog_compiler_static_FC
='-Bstatic'
10938 lt_prog_compiler_wl_FC
='-Wl,'
10939 # All Alpha code is PIC.
10940 lt_prog_compiler_static_FC
='-non_shared'
10943 case `$CC -V 2>&1 | sed 5q` in
10946 lt_prog_compiler_pic_FC
='-KPIC'
10947 lt_prog_compiler_static_FC
='-Bstatic'
10948 lt_prog_compiler_wl_FC
='-Wl,'
10951 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10952 lt_prog_compiler_pic_FC
='-KPIC'
10953 lt_prog_compiler_static_FC
='-Bstatic'
10954 lt_prog_compiler_wl_FC
=''
10962 lt_prog_compiler_pic_FC
='-KPIC'
10963 lt_prog_compiler_static_FC
='-Bstatic'
10967 # QNX uses GNU C++, but need to define -shared option too, otherwise
10968 # it will coredump.
10969 lt_prog_compiler_pic_FC
='-fPIC -shared'
10972 osf3
* | osf4
* | osf5
*)
10973 lt_prog_compiler_wl_FC
='-Wl,'
10974 # All OSF/1 code is PIC.
10975 lt_prog_compiler_static_FC
='-non_shared'
10979 lt_prog_compiler_static_FC
='-non_shared'
10983 lt_prog_compiler_pic_FC
='-KPIC'
10984 lt_prog_compiler_static_FC
='-Bstatic'
10985 case $cc_basename in
10986 f77
* | f90
* | f95
*)
10987 lt_prog_compiler_wl_FC
='-Qoption ld ';;
10989 lt_prog_compiler_wl_FC
='-Wl,';;
10994 lt_prog_compiler_wl_FC
='-Qoption ld '
10995 lt_prog_compiler_pic_FC
='-PIC'
10996 lt_prog_compiler_static_FC
='-Bstatic'
10999 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11000 lt_prog_compiler_wl_FC
='-Wl,'
11001 lt_prog_compiler_pic_FC
='-KPIC'
11002 lt_prog_compiler_static_FC
='-Bstatic'
11006 if test -d /usr
/nec
;then
11007 lt_prog_compiler_pic_FC
='-Kconform_pic'
11008 lt_prog_compiler_static_FC
='-Bstatic'
11012 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11013 lt_prog_compiler_wl_FC
='-Wl,'
11014 lt_prog_compiler_pic_FC
='-KPIC'
11015 lt_prog_compiler_static_FC
='-Bstatic'
11019 lt_prog_compiler_wl_FC
='-Wl,'
11020 lt_prog_compiler_can_build_shared_FC
=no
11024 lt_prog_compiler_pic_FC
='-pic'
11025 lt_prog_compiler_static_FC
='-Bstatic'
11029 lt_prog_compiler_can_build_shared_FC
=no
11035 # For platforms which do not support PIC, -DPIC is meaningless:
11037 lt_prog_compiler_pic_FC
=
11040 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
11043 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
11044 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6
11049 # Check to make sure the PIC flag actually works.
11051 if test -n "$lt_prog_compiler_pic_FC"; then
11052 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
11053 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6
11054 if test "${lt_prog_compiler_pic_works_FC+set}" = set; then
11055 echo $ECHO_N "(cached) $ECHO_C" >&6
11057 lt_prog_compiler_pic_works_FC
=no
11058 ac_outfile
=conftest.
$ac_objext
11059 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11060 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
11061 # Insert the option either (1) after the last *FLAGS variable, or
11062 # (2) before a word containing "conftest.", or (3) at the end.
11063 # Note that $ac_compile itself does not contain backslashes and begins
11064 # with a dollar sign (not a hyphen), so the echo should work correctly.
11065 # The option is referenced via a variable to avoid confusing sed.
11066 lt_compile
=`echo "$ac_compile" | $SED \
11067 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11068 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11069 -e 's:$: $lt_compiler_flag:'`
11070 (eval echo "\"\$as_me:11090: $lt_compile\"" >&5)
11071 (eval "$lt_compile" 2>conftest.err
)
11073 cat conftest.err
>&5
11074 echo "$as_me:11094: \$? = $ac_status" >&5
11075 if (exit $ac_status) && test -s "$ac_outfile"; then
11076 # The compiler can only warn and ignore the option if not recognized
11077 # So say no if there are warnings other than the usual output.
11078 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
11079 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11080 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11081 lt_prog_compiler_pic_works_FC
=yes
11087 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_FC" >&5
11088 echo "${ECHO_T}$lt_prog_compiler_pic_works_FC" >&6
11090 if test x
"$lt_prog_compiler_pic_works_FC" = xyes
; then
11091 case $lt_prog_compiler_pic_FC in
11093 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
11096 lt_prog_compiler_pic_FC
=
11097 lt_prog_compiler_can_build_shared_FC
=no
11105 # Check to make sure the static flag actually works.
11107 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
11108 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11109 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11110 if test "${lt_prog_compiler_static_works_FC+set}" = set; then
11111 echo $ECHO_N "(cached) $ECHO_C" >&6
11113 lt_prog_compiler_static_works_FC
=no
11114 save_LDFLAGS
="$LDFLAGS"
11115 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11116 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11117 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11118 # The linker can only warn and ignore the option if not recognized
11119 # So say no if there are warnings
11120 if test -s conftest.err
; then
11121 # Append any errors to the config.log.
11122 cat conftest.err
1>&5
11123 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
11124 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11125 if diff conftest.exp conftest.er2
>/dev
/null
; then
11126 lt_prog_compiler_static_works_FC
=yes
11129 lt_prog_compiler_static_works_FC
=yes
11133 LDFLAGS
="$save_LDFLAGS"
11136 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_FC" >&5
11137 echo "${ECHO_T}$lt_prog_compiler_static_works_FC" >&6
11139 if test x
"$lt_prog_compiler_static_works_FC" = xyes
; then
11142 lt_prog_compiler_static_FC
=
11148 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11149 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11150 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11151 echo $ECHO_N "(cached) $ECHO_C" >&6
11153 lt_cv_prog_compiler_c_o_FC
=no
11154 $RM -r conftest
2>/dev
/null
11158 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11160 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11161 # Insert the option either (1) after the last *FLAGS variable, or
11162 # (2) before a word containing "conftest.", or (3) at the end.
11163 # Note that $ac_compile itself does not contain backslashes and begins
11164 # with a dollar sign (not a hyphen), so the echo should work correctly.
11165 lt_compile
=`echo "$ac_compile" | $SED \
11166 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11167 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11168 -e 's:$: $lt_compiler_flag:'`
11169 (eval echo "\"\$as_me:11189: $lt_compile\"" >&5)
11170 (eval "$lt_compile" 2>out
/conftest.err
)
11172 cat out
/conftest.err
>&5
11173 echo "$as_me:11193: \$? = $ac_status" >&5
11174 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11176 # The compiler can only warn and ignore the option if not recognized
11177 # So say no if there are warnings
11178 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11179 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11180 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11181 lt_cv_prog_compiler_c_o_FC
=yes
11186 # SGI C++ compiler will create directory out/ii_files/ for
11187 # template instantiation
11188 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11189 $RM out
/* && rmdir out
11195 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11196 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11200 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11201 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11202 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11203 echo $ECHO_N "(cached) $ECHO_C" >&6
11205 lt_cv_prog_compiler_c_o_FC
=no
11206 $RM -r conftest
2>/dev
/null
11210 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11212 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11213 # Insert the option either (1) after the last *FLAGS variable, or
11214 # (2) before a word containing "conftest.", or (3) at the end.
11215 # Note that $ac_compile itself does not contain backslashes and begins
11216 # with a dollar sign (not a hyphen), so the echo should work correctly.
11217 lt_compile
=`echo "$ac_compile" | $SED \
11218 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11219 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11220 -e 's:$: $lt_compiler_flag:'`
11221 (eval echo "\"\$as_me:11241: $lt_compile\"" >&5)
11222 (eval "$lt_compile" 2>out
/conftest.err
)
11224 cat out
/conftest.err
>&5
11225 echo "$as_me:11245: \$? = $ac_status" >&5
11226 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11228 # The compiler can only warn and ignore the option if not recognized
11229 # So say no if there are warnings
11230 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11231 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11232 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11233 lt_cv_prog_compiler_c_o_FC
=yes
11238 # SGI C++ compiler will create directory out/ii_files/ for
11239 # template instantiation
11240 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11241 $RM out
/* && rmdir out
11247 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11248 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11253 hard_links
="nottested"
11254 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
11255 # do not overwrite the value of need_locks provided by the user
11256 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11257 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11260 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11262 ln conftest.a conftest.b
2>&5 || hard_links
=no
11263 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11264 echo "$as_me:$LINENO: result: $hard_links" >&5
11265 echo "${ECHO_T}$hard_links" >&6
11266 if test "$hard_links" = no
; then
11267 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11268 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11277 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11278 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11281 allow_undefined_flag_FC
=
11282 always_export_symbols_FC
=no
11284 archive_expsym_cmds_FC
=
11285 compiler_needs_object_FC
=no
11286 enable_shared_with_static_runtimes_FC
=no
11287 export_dynamic_flag_spec_FC
=
11288 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11289 hardcode_automatic_FC
=no
11290 hardcode_direct_FC
=no
11291 hardcode_direct_absolute_FC
=no
11292 hardcode_libdir_flag_spec_FC
=
11293 hardcode_libdir_flag_spec_ld_FC
=
11294 hardcode_libdir_separator_FC
=
11295 hardcode_minus_L_FC
=no
11296 hardcode_shlibpath_var_FC
=unsupported
11297 inherit_rpath_FC
=no
11298 link_all_deplibs_FC
=unknown
11300 module_expsym_cmds_FC
=
11301 old_archive_from_new_cmds_FC
=
11302 old_archive_from_expsyms_cmds_FC
=
11303 thread_safe_flag_spec_FC
=
11304 whole_archive_flag_spec_FC
=
11305 # include_expsyms should be a list of space-separated symbols to be *always*
11306 # included in the symbol list
11307 include_expsyms_FC
=
11308 # exclude_expsyms can be an extended regexp of symbols to exclude
11309 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11310 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11311 # as well as any symbol that contains `d'.
11312 exclude_expsyms_FC
="_GLOBAL_OFFSET_TABLE_"
11313 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11314 # platforms (ab)use it in PIC code, but their linkers get confused if
11315 # the symbol is explicitly referenced. Since portable code cannot
11316 # rely on this symbol name, it's probably fine to never include it in
11317 # preloaded symbol tables.
11318 extract_expsyms_cmds
=
11321 cygwin
* | mingw
* | pw32
*)
11322 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11323 # When not using gcc, we currently assume that we are using
11324 # Microsoft Visual C++.
11325 if test "$GCC" != yes; then
11330 # we just hope/assume this is gcc and not c89 (= MSVC++)
11339 if test "$with_gnu_ld" = yes; then
11340 # If archive_cmds runs LD, not CC, wlarc should be empty
11343 # Set some defaults for GNU ld with shared library support. These
11344 # are reset later if shared libraries are not supported. Putting them
11345 # here allows them to be overridden if necessary.
11346 runpath_var
=LD_RUN_PATH
11347 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
11348 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
11349 # ancient GNU ld didn't support --whole-archive et. al.
11350 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
11351 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11353 whole_archive_flag_spec_FC
=
11355 supports_anon_versioning
=no
11356 case `$LD -v 2>&1` in
11357 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
11358 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
11359 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
11360 *\
2.11.
*) ;; # other 2.11 versions
11361 *) supports_anon_versioning
=yes ;;
11364 # See if GNU ld supports shared libraries.
11366 aix3
* | aix4
* | aix5
*)
11367 # On AIX/PPC, the GNU linker is very broken
11368 if test "$host_cpu" != ia64
; then
11372 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
11373 *** to be unable to reliably create shared libraries on AIX.
11374 *** Therefore, libtool is disabling shared libraries support. If you
11375 *** really care for shared libraries, you may want to modify your PATH
11376 *** so that a non-GNU linker is found, and then restart.
11383 if test "$host_cpu" = m68k
; then
11384 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)'
11385 hardcode_libdir_flag_spec_FC
='-L$libdir'
11386 hardcode_minus_L_FC
=yes
11389 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
11390 # that the semantics of dynamic libraries on AmigaOS, at least up
11391 # to version 4, is to share data among multiple programs linked
11392 # with the same dynamic library. Since this doesn't match the
11393 # behavior of shared libraries on other platforms, we can't use
11399 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11400 allow_undefined_flag_FC
=unsupported
11401 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11402 # support --undefined. This deserves some investigation. FIXME
11403 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11409 cygwin
* | mingw
* | pw32
*)
11410 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
11411 # as there is no search path for DLLs.
11412 hardcode_libdir_flag_spec_FC
='-L$libdir'
11413 allow_undefined_flag_FC
=unsupported
11414 always_export_symbols_FC
=no
11415 enable_shared_with_static_runtimes_FC
=yes
11416 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11418 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11419 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11420 # If the export-symbols file already is a .def file (1st line
11421 # is EXPORTS), use it as is; otherwise, prepend...
11422 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11423 cp $export_symbols $output_objdir/$soname.def;
11425 echo EXPORTS > $output_objdir/$soname.def;
11426 cat $export_symbols >> $output_objdir/$soname.def;
11428 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11435 hardcode_direct_FC
=no
11436 hardcode_shlibpath_var_FC
=no
11437 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
11438 export_dynamic_flag_spec_FC
='${wl}-E'
11439 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11440 # Instead, shared libraries are loaded at an image base (0x10000000 by
11441 # default) and relocated if they conflict, which is a slow very memory
11442 # consuming and fragmenting process. To avoid this, we pick a random,
11443 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11444 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11445 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'
11446 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'
11449 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
11451 if test "$host_os" = linux-dietlibc
; then
11452 case $cc_basename in
11453 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
11456 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
11457 && test "$tmp_diet" = no
11460 case $cc_basename,$host_cpu in
11461 pgcc
*) # Portland Group C compiler
11462 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'
11463 tmp_addflag
=' $pic_flag'
11465 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
11466 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'
11467 tmp_addflag
=' $pic_flag -Mnomain' ;;
11468 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
11469 tmp_addflag
=' -i_dynamic' ;;
11470 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
11471 tmp_addflag
=' -i_dynamic -nofor_main' ;;
11472 ifc
* | ifort
*) # Intel Fortran compiler
11473 tmp_addflag
=' -nofor_main' ;;
11475 case `$CC -V 2>&1 | sed 5q` in
11476 *Sun\ C
*) # Sun C 5.9
11477 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'
11478 compiler_needs_object_FC
=yes
11479 tmp_sharedflag
='-G' ;;
11480 *Sun\ F
*) # Sun Fortran 8.3
11481 tmp_sharedflag
='-G' ;;
11483 tmp_sharedflag
='-shared' ;;
11485 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11487 if test "x$supports_anon_versioning" = xyes
; then
11488 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
11489 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11490 echo "local: *; };" >> $output_objdir/$libname.ver~
11491 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11499 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11500 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11503 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11504 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11509 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
11513 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11514 *** create shared libraries on Solaris systems. Therefore, libtool
11515 *** is disabling shared libraries support. We urge you to upgrade GNU
11516 *** binutils to release 2.9.1 or newer. Another option is to modify
11517 *** your PATH or compiler configuration so that the native linker is
11518 *** used, and then restart.
11521 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11522 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11523 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11529 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11530 case `$LD -v 2>&1` in
11531 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11535 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11536 *** reliably create shared libraries on SCO systems. Therefore, libtool
11537 *** is disabling shared libraries support. We urge you to upgrade GNU
11538 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11539 *** your PATH or compiler configuration so that the native linker is
11540 *** used, and then restart.
11545 # For security reasons, it is highly recommended that you always
11546 # use absolute paths for naming shared libraries, and exclude the
11547 # DT_RUNPATH tag from executables and libraries. But doing so
11548 # requires that you compile everything twice, which is a pain.
11549 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11550 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
11551 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11552 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11561 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11563 hardcode_direct_FC
=yes
11564 hardcode_shlibpath_var_FC
=no
11568 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11569 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11570 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11577 if test "$ld_shlibs_FC" = no
; then
11579 hardcode_libdir_flag_spec_FC
=
11580 export_dynamic_flag_spec_FC
=
11581 whole_archive_flag_spec_FC
=
11584 # PORTME fill in a description of your system's linker (not GNU ld)
11587 allow_undefined_flag_FC
=unsupported
11588 always_export_symbols_FC
=yes
11589 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'
11590 # Note: this linker hardcodes the directories in LIBPATH if there
11591 # are no directories specified by -L.
11592 hardcode_minus_L_FC
=yes
11593 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11594 # Neither direct hardcoding nor static linking is supported with a
11596 hardcode_direct_FC
=unsupported
11601 if test "$host_cpu" = ia64
; then
11602 # On IA64, the linker does run time linking by default, so we don't
11603 # have to do anything special.
11604 aix_use_runtimelinking
=no
11605 exp_sym_flag
='-Bexport'
11608 # If we're using GNU nm, then we don't want the "-C" option.
11609 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11610 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
11611 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'
11613 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'
11615 aix_use_runtimelinking
=no
11617 # Test if we are trying to use run time linking or normal
11618 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11619 # need to do runtime linking.
11620 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
11621 for ld_flag
in $LDFLAGS; do
11622 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
11623 aix_use_runtimelinking
=yes
11630 exp_sym_flag
='-bexport'
11631 no_entry_flag
='-bnoentry'
11634 # When large executables or shared objects are built, AIX ld can
11635 # have problems creating the table of contents. If linking a library
11636 # or program results in "error TOC overflow" add -mminimal-toc to
11637 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11638 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11641 hardcode_direct_FC
=yes
11642 hardcode_direct_absolute_FC
=yes
11643 hardcode_libdir_separator_FC
=':'
11644 link_all_deplibs_FC
=yes
11645 file_list_spec_FC
='${wl}-f,'
11647 if test "$GCC" = yes; then
11648 case $host_os in aix4.
[012]|aix4.
[012].
*)
11649 # We only want to do this on AIX 4.2 and lower, the check
11650 # below for broken collect2 doesn't work under 4.3+
11651 collect2name
=`${CC} -print-prog-name=collect2`
11652 if test -f "$collect2name" &&
11653 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11655 # We have reworked collect2
11658 # We have old collect2
11659 hardcode_direct_FC
=unsupported
11660 # It fails to find uninstalled libraries when the uninstalled
11661 # path is not listed in the libpath. Setting hardcode_minus_L
11662 # to unsupported forces relinking
11663 hardcode_minus_L_FC
=yes
11664 hardcode_libdir_flag_spec_FC
='-L$libdir'
11665 hardcode_libdir_separator_FC
=
11669 shared_flag
='-shared'
11670 if test "$aix_use_runtimelinking" = yes; then
11671 shared_flag
="$shared_flag "'${wl}-G'
11675 if test "$host_cpu" = ia64
; then
11676 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11677 # chokes on -Wl,-G. The following line is correct:
11680 if test "$aix_use_runtimelinking" = yes; then
11681 shared_flag
='${wl}-G'
11683 shared_flag
='${wl}-bM:SRE'
11688 # It seems that -bexpall does not export symbols beginning with
11689 # underscore (_), so it is better to generate a list of symbols to export.
11690 always_export_symbols_FC
=yes
11691 if test "$aix_use_runtimelinking" = yes; then
11692 # Warning - without using the other runtime loading flags (-brtl),
11693 # -berok will link without error, but may produce a broken library.
11694 allow_undefined_flag_FC
='-berok'
11695 # Determine the default libpath from the value encoded in an
11696 # empty executable.
11697 cat >conftest.
$ac_ext <<_ACEOF
11702 rm -f conftest.
$ac_objext conftest
$ac_exeext
11703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11704 (eval $ac_link) 2>conftest.er1
11706 grep -v '^ *+' conftest.er1
>conftest.err
11708 cat conftest.err
>&5
11709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710 (exit $ac_status); } &&
11711 { ac_try
='test -z "$ac_fc_werror_flag"
11712 || test ! -s conftest.err'
11713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11714 (eval $ac_try) 2>&5
11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717 (exit $ac_status); }; } &&
11718 { ac_try
='test -s conftest$ac_exeext'
11719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11720 (eval $ac_try) 2>&5
11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723 (exit $ac_status); }; }; then
11725 lt_aix_libpath_sed
='
11726 /Import File Strings/,/^$/ {
11732 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11733 # Check for a 64-bit object if we didn't find anything.
11734 if test -z "$aix_libpath"; then
11735 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11738 echo "$as_me: failed program was:" >&5
11739 sed 's/^/| /' conftest.
$ac_ext >&5
11742 rm -f conftest.err conftest.
$ac_objext \
11743 conftest
$ac_exeext conftest.
$ac_ext
11744 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11746 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
11747 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"
11749 if test "$host_cpu" = ia64
; then
11750 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
11751 allow_undefined_flag_FC
="-z nodefs"
11752 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"
11754 # Determine the default libpath from the value encoded in an
11755 # empty executable.
11756 cat >conftest.
$ac_ext <<_ACEOF
11761 rm -f conftest.
$ac_objext conftest
$ac_exeext
11762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11763 (eval $ac_link) 2>conftest.er1
11765 grep -v '^ *+' conftest.er1
>conftest.err
11767 cat conftest.err
>&5
11768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); } &&
11770 { ac_try
='test -z "$ac_fc_werror_flag"
11771 || test ! -s conftest.err'
11772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11773 (eval $ac_try) 2>&5
11775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776 (exit $ac_status); }; } &&
11777 { ac_try
='test -s conftest$ac_exeext'
11778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11779 (eval $ac_try) 2>&5
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); }; }; then
11784 lt_aix_libpath_sed
='
11785 /Import File Strings/,/^$/ {
11791 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11792 # Check for a 64-bit object if we didn't find anything.
11793 if test -z "$aix_libpath"; then
11794 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11797 echo "$as_me: failed program was:" >&5
11798 sed 's/^/| /' conftest.
$ac_ext >&5
11801 rm -f conftest.err conftest.
$ac_objext \
11802 conftest
$ac_exeext conftest.
$ac_ext
11803 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11805 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
11806 # Warning - without using the other run time loading flags,
11807 # -berok will link without error, but may produce a broken library.
11808 no_undefined_flag_FC
=' ${wl}-bernotok'
11809 allow_undefined_flag_FC
=' ${wl}-berok'
11810 # Exported symbols can be pulled into shared objects from archives
11811 whole_archive_flag_spec_FC
='$convenience'
11812 archive_cmds_need_lc_FC
=yes
11813 # This is similar to how AIX traditionally builds its shared libraries.
11814 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'
11820 if test "$host_cpu" = m68k
; then
11821 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)'
11822 hardcode_libdir_flag_spec_FC
='-L$libdir'
11823 hardcode_minus_L_FC
=yes
11825 # see comment about different semantics on the GNU ld section
11830 export_dynamic_flag_spec_FC
=-rdynamic
11833 cygwin
* | mingw
* | pw32
*)
11834 # When not using gcc, we currently assume that we are using
11835 # Microsoft Visual C++.
11836 # hardcode_libdir_flag_spec is actually meaningless, as there is
11837 # no search path for DLLs.
11838 hardcode_libdir_flag_spec_FC
=' '
11839 allow_undefined_flag_FC
=unsupported
11840 # Tell ltmain to make .lib files, not .a files.
11842 # Tell ltmain to make .dll files, not .so files.
11844 # FIXME: Setting linknames here is a bad hack.
11845 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
11846 # The linker will automatically build a .lib file if we build a DLL.
11847 old_archive_from_new_cmds_FC
='true'
11848 # FIXME: Should let the user specify the lib program.
11849 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11850 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
11851 enable_shared_with_static_runtimes_FC
=yes
11854 darwin
* | rhapsody
*)
11856 rhapsody
* | darwin1.
[012])
11857 allow_undefined_flag_FC
='${wl}-undefined ${wl}suppress'
11860 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11862 allow_undefined_flag_FC
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11865 allow_undefined_flag_FC
='${wl}-undefined ${wl}dynamic_lookup'
11870 archive_cmds_need_lc_FC
=no
11871 hardcode_direct_FC
=no
11872 hardcode_automatic_FC
=yes
11873 hardcode_shlibpath_var_FC
=unsupported
11874 whole_archive_flag_spec_FC
=''
11875 link_all_deplibs_FC
=yes
11876 if test "$GCC" = yes ; then
11877 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11878 echo $ECHO_N "(cached) $ECHO_C" >&6
11880 lt_cv_apple_cc_single_mod
=no
11881 if test -z "${LT_MULTI_MODULE}"; then
11882 # By default we will add the -single_module flag. You can override
11883 # by either setting the environment variable LT_MULTI_MODULE
11884 # non-empty at configure time, or by adding -multi-module to the
11886 echo "int foo(void){return 1;}" > conftest.c
11887 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11888 -dynamiclib ${wl}-single_module conftest.c
11889 if test -f libconftest.dylib
; then
11890 lt_cv_apple_cc_single_mod
=yes
11891 rm libconftest.dylib
11893 rm conftest.
$ac_ext
11897 output_verbose_link_cmd
=echo
11898 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
11899 archive_cmds_FC
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11900 archive_expsym_cmds_FC
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11902 archive_cmds_FC
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11903 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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11905 module_cmds_FC
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11906 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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11908 case $cc_basename in
11910 output_verbose_link_cmd
=echo
11911 archive_cmds_FC
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
11912 module_cmds_FC
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11913 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11914 archive_expsym_cmds_FC
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11915 module_expsym_cmds_FC
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11925 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11926 hardcode_libdir_flag_spec_FC
='-L$libdir'
11927 hardcode_shlibpath_var_FC
=no
11934 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11935 # support. Future versions do this automatically, but an explicit c++rt0.o
11936 # does not break anything, and helps significantly (at the cost of a little
11939 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11940 hardcode_libdir_flag_spec_FC
='-R$libdir'
11941 hardcode_direct_FC
=yes
11942 hardcode_shlibpath_var_FC
=no
11945 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11947 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11948 hardcode_direct_FC
=yes
11949 hardcode_minus_L_FC
=yes
11950 hardcode_shlibpath_var_FC
=no
11953 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11954 freebsd
* | dragonfly
*)
11955 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11956 hardcode_libdir_flag_spec_FC
='-R$libdir'
11957 hardcode_direct_FC
=yes
11958 hardcode_shlibpath_var_FC
=no
11962 if test "$GCC" = yes; then
11963 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'
11965 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'
11967 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
11968 hardcode_libdir_separator_FC
=:
11969 hardcode_direct_FC
=yes
11971 # hardcode_minus_L: Not really in the search PATH,
11972 # but as the default location of the library.
11973 hardcode_minus_L_FC
=yes
11974 export_dynamic_flag_spec_FC
='${wl}-E'
11978 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
11979 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11981 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11983 if test "$with_gnu_ld" = no
; then
11984 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
11985 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
11986 hardcode_libdir_separator_FC
=:
11987 hardcode_direct_FC
=yes
11988 hardcode_direct_absolute_FC
=yes
11989 export_dynamic_flag_spec_FC
='${wl}-E'
11990 # hardcode_minus_L: Not really in the search PATH,
11991 # but as the default location of the library.
11992 hardcode_minus_L_FC
=yes
11997 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
12000 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12003 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12006 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12012 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12015 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12018 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12022 if test "$with_gnu_ld" = no
; then
12023 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
12024 hardcode_libdir_separator_FC
=:
12028 hardcode_direct_FC
=no
12029 hardcode_shlibpath_var_FC
=no
12032 hardcode_direct_FC
=yes
12033 hardcode_direct_absolute_FC
=yes
12034 export_dynamic_flag_spec_FC
='${wl}-E'
12036 # hardcode_minus_L: Not really in the search PATH,
12037 # but as the default location of the library.
12038 hardcode_minus_L_FC
=yes
12044 irix5
* | irix6
* | nonstopux
*)
12045 if test "$GCC" = yes; then
12046 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'
12047 # Try to use the -exported_symbol ld option, if it does not
12048 # work, assume that -exports_file does not work either and
12049 # implicitly export all symbols.
12050 save_LDFLAGS
="$LDFLAGS"
12051 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12052 cat >conftest.
$ac_ext <<_ACEOF
12055 rm -f conftest.
$ac_objext conftest
$ac_exeext
12056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12057 (eval $ac_link) 2>conftest.er1
12059 grep -v '^ *+' conftest.er1
>conftest.err
12061 cat conftest.err
>&5
12062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12063 (exit $ac_status); } &&
12064 { ac_try
='test -z "$ac_fc_werror_flag"
12065 || test ! -s conftest.err'
12066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12067 (eval $ac_try) 2>&5
12069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12070 (exit $ac_status); }; } &&
12071 { ac_try
='test -s conftest$ac_exeext'
12072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12073 (eval $ac_try) 2>&5
12075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076 (exit $ac_status); }; }; then
12077 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'
12080 echo "$as_me: failed program was:" >&5
12081 sed 's/^/| /' conftest.
$ac_ext >&5
12084 rm -f conftest.err conftest.
$ac_objext \
12085 conftest
$ac_exeext conftest.
$ac_ext
12086 LDFLAGS
="$save_LDFLAGS"
12088 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'
12089 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'
12091 archive_cmds_need_lc_FC
='no'
12092 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12093 hardcode_libdir_separator_FC
=:
12094 inherit_rpath_FC
=yes
12095 link_all_deplibs_FC
=yes
12099 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12100 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12102 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12104 hardcode_libdir_flag_spec_FC
='-R$libdir'
12105 hardcode_direct_FC
=yes
12106 hardcode_shlibpath_var_FC
=no
12110 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12111 hardcode_direct_FC
=yes
12112 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12113 hardcode_libdir_separator_FC
=:
12114 hardcode_shlibpath_var_FC
=no
12121 hardcode_direct_FC
=yes
12122 hardcode_shlibpath_var_FC
=no
12123 hardcode_direct_absolute_FC
=yes
12124 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12125 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12126 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12127 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12128 export_dynamic_flag_spec_FC
='${wl}-E'
12131 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12132 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12133 hardcode_libdir_flag_spec_FC
='-R$libdir'
12136 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12137 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12144 hardcode_libdir_flag_spec_FC
='-L$libdir'
12145 hardcode_minus_L_FC
=yes
12146 allow_undefined_flag_FC
=unsupported
12147 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'
12148 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12152 if test "$GCC" = yes; then
12153 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
12154 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'
12156 allow_undefined_flag_FC
=' -expect_unresolved \*'
12157 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'
12159 archive_cmds_need_lc_FC
='no'
12160 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12161 hardcode_libdir_separator_FC
=:
12164 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12165 if test "$GCC" = yes; then
12166 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
12167 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'
12168 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12170 allow_undefined_flag_FC
=' -expect_unresolved \*'
12171 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'
12172 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~
12173 $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'
12175 # Both c and cxx compiler support -rpath directly
12176 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
12178 archive_cmds_need_lc_FC
='no'
12179 hardcode_libdir_separator_FC
=:
12183 no_undefined_flag_FC
=' -z defs'
12184 if test "$GCC" = yes; then
12186 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12187 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12188 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12190 case `$CC -V 2>&1` in
12193 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12194 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12195 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12199 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12200 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12201 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12205 hardcode_libdir_flag_spec_FC
='-R$libdir'
12206 hardcode_shlibpath_var_FC
=no
12208 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12210 # The compiler driver will combine and reorder linker options,
12211 # but understands `-z linker_flag'. GCC discards it without `$wl',
12212 # but is careful enough not to reorder.
12213 # Supported since Solaris 2.6 (maybe 2.5.1?)
12214 if test "$GCC" = yes; then
12215 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12217 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
12221 link_all_deplibs_FC
=yes
12225 if test "x$host_vendor" = xsequent
; then
12226 # Use $CC to link under sequent, because it throws in some extra .o
12227 # files that make .init and .fini sections work.
12228 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12230 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12232 hardcode_libdir_flag_spec_FC
='-L$libdir'
12233 hardcode_direct_FC
=yes
12234 hardcode_minus_L_FC
=yes
12235 hardcode_shlibpath_var_FC
=no
12239 case $host_vendor in
12241 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12242 hardcode_direct_FC
=yes # is this really true???
12245 ## LD is ld it makes a PLAMLIB
12246 ## CC just makes a GrossModule.
12247 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12248 reload_cmds_FC
='$CC -r -o $output$reload_objs'
12249 hardcode_direct_FC
=no
12252 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12253 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
12256 runpath_var
='LD_RUN_PATH'
12257 hardcode_shlibpath_var_FC
=no
12261 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12262 hardcode_shlibpath_var_FC
=no
12263 export_dynamic_flag_spec_FC
='-Bexport'
12267 if test -d /usr
/nec
; then
12268 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12269 hardcode_shlibpath_var_FC
=no
12270 runpath_var
=LD_RUN_PATH
12271 hardcode_runpath_var
=yes
12276 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12277 no_undefined_flag_FC
='${wl}-z,text'
12278 archive_cmds_need_lc_FC
=no
12279 hardcode_shlibpath_var_FC
=no
12280 runpath_var
='LD_RUN_PATH'
12282 if test "$GCC" = yes; then
12283 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12284 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12286 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12287 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12291 sysv5
* | sco3.2v5
* | sco5v6
*)
12292 # Note: We can NOT use -z defs as we might desire, because we do not
12293 # link with -lc, and that would cause any symbols used from libc to
12294 # always be unresolved, which means just about no library would
12295 # ever link correctly. If we're not using GNU ld we use -z text
12296 # though, which does catch some bad symbols but isn't as heavy-handed
12298 no_undefined_flag_FC
='${wl}-z,text'
12299 allow_undefined_flag_FC
='${wl}-z,nodefs'
12300 archive_cmds_need_lc_FC
=no
12301 hardcode_shlibpath_var_FC
=no
12302 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
12303 hardcode_libdir_separator_FC
=':'
12304 link_all_deplibs_FC
=yes
12305 export_dynamic_flag_spec_FC
='${wl}-Bexport'
12306 runpath_var
='LD_RUN_PATH'
12308 if test "$GCC" = yes; then
12309 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12310 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12312 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12313 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12318 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12319 hardcode_libdir_flag_spec_FC
='-L$libdir'
12320 hardcode_shlibpath_var_FC
=no
12328 if test x
$host_vendor = xsni
; then
12330 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12331 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
12337 echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
12338 echo "${ECHO_T}$ld_shlibs_FC" >&6
12339 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
12341 with_gnu_ld_FC
=$with_gnu_ld
12349 # Do we need to explicitly link libc?
12351 case "x$archive_cmds_need_lc_FC" in
12353 # Assume -lc should be added
12354 archive_cmds_need_lc_FC
=yes
12356 if test "$enable_shared" = yes && test "$GCC" = yes; then
12357 case $archive_cmds_FC in
12359 # FIXME: we may have to deal with multi-command sequences.
12362 # Test whether the compiler implicitly links with -lc since on some
12363 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12364 # to ld, don't add -lc before -lgcc.
12365 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12366 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12368 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12371 (eval $ac_compile) 2>&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); } 2>conftest.err
; then
12377 libobjs
=conftest.
$ac_objext
12379 wl
=$lt_prog_compiler_wl_FC
12380 pic_flag
=$lt_prog_compiler_pic_FC
12386 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
12387 allow_undefined_flag_FC
=
12388 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12389 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); }
12394 archive_cmds_need_lc_FC
=no
12396 archive_cmds_need_lc_FC
=yes
12398 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
12400 cat conftest.err
1>&5
12403 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_FC" >&5
12404 echo "${ECHO_T}$archive_cmds_need_lc_FC" >&6
12474 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12475 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12476 withGCC
=$ac_cv_fc_compiler_gnu
12477 library_names_spec
=
12478 libname_spec
='lib$name'
12482 postuninstall_cmds
=
12486 shlibpath_overrides_runpath
=unknown
12488 dynamic_linker
="$host_os ld.so"
12489 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12490 need_lib_prefix
=unknown
12491 hardcode_into_libs
=no
12493 # when you set need_version to no, make sure it does not cause -set_version
12494 # flags to be left without arguments
12495 need_version
=unknown
12500 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12501 shlibpath_var
=LIBPATH
12503 # AIX 3 has no versioning support, so we append a major version to the name.
12504 soname_spec
='${libname}${release}${shared_ext}$major'
12511 hardcode_into_libs
=yes
12512 if test "$host_cpu" = ia64
; then
12513 # AIX 5 supports IA64
12514 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12515 shlibpath_var
=LD_LIBRARY_PATH
12517 # With GCC up to 2.95.x, collect2 would create an import file
12518 # for dependence libraries. The import file would start with
12519 # the line `#! .'. This would cause the generated library to
12520 # depend on `.', always an invalid library. This was fixed in
12521 # development snapshots of GCC prior to 3.0.
12523 aix4 | aix4.
[01] | aix4.
[01].
*)
12524 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12526 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
12529 can_build_shared
=no
12533 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12534 # soname into executable. Probably we can add versioning support to
12535 # collect2, so additional links can be useful in future.
12536 if test "$aix_use_runtimelinking" = yes; then
12537 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12538 # instead of lib<name>.a to let people know that these are not
12539 # typical AIX shared libraries.
12540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12542 # We preserve .a as extension for shared libraries through AIX4.2
12543 # and later when we are not doing run time linking.
12544 library_names_spec
='${libname}${release}.a $libname.a'
12545 soname_spec
='${libname}${release}${shared_ext}$major'
12547 shlibpath_var
=LIBPATH
12552 if test "$host_cpu" = m68k
; then
12553 library_names_spec
='$libname.ixlibrary $libname.a'
12554 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12555 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'
12562 library_names_spec
='${libname}${shared_ext}'
12563 dynamic_linker
="$host_os ld.so"
12564 shlibpath_var
=LIBRARY_PATH
12570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12571 soname_spec
='${libname}${release}${shared_ext}$major'
12572 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12573 shlibpath_var
=LD_LIBRARY_PATH
12574 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12575 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12576 # the default ld.so.conf also contains /usr/contrib/lib and
12577 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12578 # libtool to hard-code these into programs
12581 cygwin
* | mingw
* | pw32
*)
12582 version_type
=windows
12587 case $withGCC,$host_os in
12588 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12589 library_names_spec
='$libname.dll.a'
12590 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12591 postinstall_cmds
='base_file=`basename \${file}`~
12592 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12593 dldir=$destdir/`dirname \$dlpath`~
12594 test -d \$dldir || mkdir -p \$dldir~
12595 $install_prog $dir/$dlname \$dldir/$dlname~
12596 chmod a+x \$dldir/$dlname~
12597 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12598 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12600 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12601 dlpath=$dir/\$dldll~
12603 shlibpath_overrides_runpath
=yes
12607 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12608 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12609 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12612 # MinGW DLLs use traditional 'lib' prefix
12613 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12614 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12615 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12616 # It is most probably a Windows format PATH printed by
12617 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12618 # path with ; separators, and with drive letters. We can handle the
12619 # drive letters (cygwin fileutils understands them), so leave them,
12620 # especially as we might pass files found there to a mingw objdump,
12621 # which wouldn't understand a cygwinified path. Ahh.
12622 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12624 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12628 # pw32 DLLs use 'pw' prefix rather than 'lib'
12629 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12635 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12638 dynamic_linker
='Win32 ld.exe'
12639 # FIXME: first we should search . and the directory the executable is in
12643 darwin
* | rhapsody
*)
12644 dynamic_linker
="$host_os dyld"
12645 version_type
=darwin
12648 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12649 soname_spec
='${libname}${release}${major}$shared_ext'
12650 shlibpath_overrides_runpath
=yes
12651 shlibpath_var
=DYLD_LIBRARY_PATH
12652 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12654 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12662 soname_spec
='${libname}${release}${shared_ext}$major'
12663 shlibpath_var
=LD_LIBRARY_PATH
12670 freebsd
* | dragonfly
*)
12671 # DragonFly does not have aout. When/if they implement a new
12672 # versioning mechanism, adjust this.
12673 if test -x /usr
/bin
/objformat
; then
12674 objformat
=`/usr/bin/objformat`
12677 freebsd
[123]*) objformat
=aout
;;
12678 *) objformat
=elf
;;
12681 version_type
=freebsd-
$objformat
12682 case $version_type in
12684 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12689 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12693 shlibpath_var
=LD_LIBRARY_PATH
12696 shlibpath_overrides_runpath
=yes
12698 freebsd3.
[01]* | freebsdelf3.
[01]*)
12699 shlibpath_overrides_runpath
=yes
12700 hardcode_into_libs
=yes
12702 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12703 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12704 shlibpath_overrides_runpath
=no
12705 hardcode_into_libs
=yes
12707 *) # from 4.6 on, and DragonFly
12708 shlibpath_overrides_runpath
=yes
12709 hardcode_into_libs
=yes
12718 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12719 soname_spec
='${libname}${release}${shared_ext}$major'
12720 shlibpath_var
=LD_LIBRARY_PATH
12721 hardcode_into_libs
=yes
12724 hpux9
* | hpux10
* | hpux11
*)
12725 # Give a soname corresponding to the major version so that dld.sl refuses to
12726 # link against other versions.
12733 hardcode_into_libs
=yes
12734 dynamic_linker
="$host_os dld.so"
12735 shlibpath_var
=LD_LIBRARY_PATH
12736 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12738 soname_spec
='${libname}${release}${shared_ext}$major'
12739 if test "X$HPUX_IA64_MODE" = X32
; then
12740 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12742 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12744 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12748 hardcode_into_libs
=yes
12749 dynamic_linker
="$host_os dld.sl"
12750 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12751 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12753 soname_spec
='${libname}${release}${shared_ext}$major'
12754 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12755 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12759 dynamic_linker
="$host_os dld.sl"
12760 shlibpath_var
=SHLIB_PATH
12761 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12763 soname_spec
='${libname}${release}${shared_ext}$major'
12766 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12767 postinstall_cmds
='chmod 555 $lib'
12774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12775 soname_spec
='${libname}${release}${shared_ext}$major'
12776 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12777 shlibpath_var
=LD_LIBRARY_PATH
12778 shlibpath_overrides_runpath
=no
12779 hardcode_into_libs
=yes
12782 irix5
* | irix6
* | nonstopux
*)
12784 nonstopux
*) version_type
=nonstopux
;;
12786 if test "$lt_cv_prog_gnu_ld" = yes; then
12794 soname_spec
='${libname}${release}${shared_ext}$major'
12795 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12797 irix5
* | nonstopux
*)
12798 libsuff
= shlibsuff
=
12801 case $LD in # libtool.m4 will add one of these switches to LD
12802 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12803 libsuff
= shlibsuff
= libmagic
=32-bit;;
12804 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12805 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12806 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12807 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12808 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12812 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12813 shlibpath_overrides_runpath
=no
12814 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12815 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12816 hardcode_into_libs
=yes
12819 # No shared lib support for Linux oldld, aout, or coff.
12820 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12824 # This must be Linux ELF.
12825 linux
* | k
*bsd
*-gnu)
12829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12830 soname_spec
='${libname}${release}${shared_ext}$major'
12831 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12832 shlibpath_var
=LD_LIBRARY_PATH
12833 shlibpath_overrides_runpath
=no
12834 # Some binutils ld are patched to set DT_RUNPATH
12835 save_LDFLAGS
=$LDFLAGS
12836 save_libdir
=$libdir
12837 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
12838 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
12839 cat >conftest.
$ac_ext <<_ACEOF
12844 rm -f conftest.
$ac_objext conftest
$ac_exeext
12845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12846 (eval $ac_link) 2>conftest.er1
12848 grep -v '^ *+' conftest.er1
>conftest.err
12850 cat conftest.err
>&5
12851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12852 (exit $ac_status); } &&
12853 { ac_try
='test -z "$ac_fc_werror_flag"
12854 || test ! -s conftest.err'
12855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12856 (eval $ac_try) 2>&5
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); }; } &&
12860 { ac_try
='test -s conftest$ac_exeext'
12861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12862 (eval $ac_try) 2>&5
12864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12865 (exit $ac_status); }; }; then
12866 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
12867 shlibpath_overrides_runpath
=yes
12871 echo "$as_me: failed program was:" >&5
12872 sed 's/^/| /' conftest.
$ac_ext >&5
12875 rm -f conftest.err conftest.
$ac_objext \
12876 conftest
$ac_exeext conftest.
$ac_ext
12877 LDFLAGS
=$save_LDFLAGS
12878 libdir
=$save_libdir
12880 # This implies no fast_install, which is unacceptable.
12881 # Some rework will be needed to allow for fast_install
12882 # before this can be enabled.
12883 hardcode_into_libs
=yes
12885 # Append ld.so.conf contents to the search path
12886 if test -f /etc
/ld.so.conf
; then
12887 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12888 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12891 # We used to test for /lib/ld.so.1 and disable shared libraries on
12892 # powerpc, because MkLinux only supported shared libraries with the
12893 # GNU dynamic linker. Since this was broken with cross compilers,
12894 # most powerpc-linux boxes support dynamic linking these days and
12895 # people can always --disable-shared, the test was removed, and we
12896 # assume the GNU/Linux dynamic linker is in use.
12897 dynamic_linker
='GNU/Linux ld.so'
12904 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12905 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12906 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12907 dynamic_linker
='NetBSD (a.out) ld.so'
12909 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12910 soname_spec
='${libname}${release}${shared_ext}$major'
12911 dynamic_linker
='NetBSD ld.elf_so'
12913 shlibpath_var
=LD_LIBRARY_PATH
12914 shlibpath_overrides_runpath
=yes
12915 hardcode_into_libs
=yes
12920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12921 shlibpath_var
=LD_LIBRARY_PATH
12922 shlibpath_overrides_runpath
=yes
12929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12930 soname_spec
='${libname}${release}${shared_ext}$major'
12931 shlibpath_var
=LD_LIBRARY_PATH
12932 shlibpath_overrides_runpath
=no
12933 hardcode_into_libs
=yes
12934 dynamic_linker
='ldqnx.so'
12939 sys_lib_dlsearch_path_spec
="/usr/lib"
12941 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12943 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12944 *) need_version
=no
;;
12946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12947 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12948 shlibpath_var
=LD_LIBRARY_PATH
12949 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12951 openbsd2.
[89] | openbsd2.
[89].
*)
12952 shlibpath_overrides_runpath
=no
12955 shlibpath_overrides_runpath
=yes
12959 shlibpath_overrides_runpath
=yes
12964 libname_spec
='$name'
12967 library_names_spec
='$libname${shared_ext} $libname.a'
12968 dynamic_linker
='OS/2 ld.exe'
12969 shlibpath_var
=LIBPATH
12972 osf3
* | osf4
* | osf5
*)
12976 soname_spec
='${libname}${release}${shared_ext}$major'
12977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12978 shlibpath_var
=LD_LIBRARY_PATH
12979 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12980 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12992 soname_spec
='${libname}${release}${shared_ext}$major'
12993 shlibpath_var
=LD_LIBRARY_PATH
12994 shlibpath_overrides_runpath
=yes
12995 hardcode_into_libs
=yes
12996 # ldd complains unless libraries are executable
12997 postinstall_cmds
='chmod +x $lib'
13002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13003 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13004 shlibpath_var
=LD_LIBRARY_PATH
13005 shlibpath_overrides_runpath
=yes
13006 if test "$with_gnu_ld" = yes; then
13014 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13015 soname_spec
='${libname}${release}${shared_ext}$major'
13016 shlibpath_var
=LD_LIBRARY_PATH
13017 case $host_vendor in
13019 shlibpath_overrides_runpath
=no
13021 runpath_var
=LD_RUN_PATH
13029 shlibpath_overrides_runpath
=no
13030 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13036 if test -d /usr
/nec
;then
13038 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13039 soname_spec
='$libname${shared_ext}.$major'
13040 shlibpath_var
=LD_LIBRARY_PATH
13044 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13045 version_type
=freebsd-elf
13048 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13049 soname_spec
='${libname}${release}${shared_ext}$major'
13050 shlibpath_var
=LD_LIBRARY_PATH
13051 shlibpath_overrides_runpath
=yes
13052 hardcode_into_libs
=yes
13053 if test "$with_gnu_ld" = yes; then
13054 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13056 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13059 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13063 sys_lib_dlsearch_path_spec
='/usr/lib'
13067 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13071 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13072 shlibpath_var
=LD_LIBRARY_PATH
13073 shlibpath_overrides_runpath
=no
13074 hardcode_into_libs
=yes
13079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13080 soname_spec
='${libname}${release}${shared_ext}$major'
13081 shlibpath_var
=LD_LIBRARY_PATH
13088 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13089 echo "${ECHO_T}$dynamic_linker" >&6
13090 test "$dynamic_linker" = no
&& can_build_shared
=no
13092 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13093 if test "$GCC" = yes; then
13094 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13132 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13133 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13134 hardcode_action_FC
=
13135 if test -n "$hardcode_libdir_flag_spec_FC" ||
13136 test -n "$runpath_var_FC" ||
13137 test "X$hardcode_automatic_FC" = "Xyes" ; then
13139 # We can hardcode non-existent directories.
13140 if test "$hardcode_direct_FC" != no
&&
13141 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13142 # have to relink, otherwise we might link with an installed library
13143 # when we should be linking with a yet-to-be-installed one
13144 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
13145 test "$hardcode_minus_L_FC" != no
; then
13146 # Linking always hardcodes the temporary library directory.
13147 hardcode_action_FC
=relink
13149 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13150 hardcode_action_FC
=immediate
13153 # We cannot hardcode anything, or else we can only hardcode existing
13155 hardcode_action_FC
=unsupported
13157 echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
13158 echo "${ECHO_T}$hardcode_action_FC" >&6
13160 if test "$hardcode_action_FC" = relink ||
13161 test "$inherit_rpath_FC" = yes; then
13162 # Fast installation is not supported
13163 enable_fast_install
=no
13164 elif test "$shlibpath_overrides_runpath" = yes ||
13165 test "$enable_shared" = no
; then
13166 # Fast installation is not necessary
13167 enable_fast_install
=needless
13176 fi # test -n "$compiler"
13179 fi # test "$_lt_disable_FC" != yes
13182 ac_cpp
='$CPP $CPPFLAGS'
13183 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13184 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13185 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13188 FCFLAGS
="$FCFLAGS -Wall"
13190 # For libtool versioning info, format is CURRENT:REVISION:AGE
13191 libtool_VERSION
=1:0:0
13194 # Check header files.
13195 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13196 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13197 if test "${ac_cv_header_stdc+set}" = set; then
13198 echo $ECHO_N "(cached) $ECHO_C" >&6
13200 cat >conftest.
$ac_ext <<_ACEOF
13203 cat confdefs.h
>>conftest.
$ac_ext
13204 cat >>conftest.
$ac_ext <<_ACEOF
13205 /* end confdefs.h. */
13206 #include <stdlib.h>
13207 #include <stdarg.h>
13208 #include <string.h>
13219 rm -f conftest.
$ac_objext
13220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13221 (eval $ac_compile) 2>conftest.er1
13223 grep -v '^ *+' conftest.er1
>conftest.err
13225 cat conftest.err
>&5
13226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); } &&
13228 { ac_try
='test -z "$ac_c_werror_flag"
13229 || test ! -s conftest.err'
13230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13231 (eval $ac_try) 2>&5
13233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13234 (exit $ac_status); }; } &&
13235 { ac_try
='test -s conftest.$ac_objext'
13236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13237 (eval $ac_try) 2>&5
13239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13240 (exit $ac_status); }; }; then
13241 ac_cv_header_stdc
=yes
13243 echo "$as_me: failed program was:" >&5
13244 sed 's/^/| /' conftest.
$ac_ext >&5
13246 ac_cv_header_stdc
=no
13248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13250 if test $ac_cv_header_stdc = yes; then
13251 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13252 cat >conftest.
$ac_ext <<_ACEOF
13255 cat confdefs.h
>>conftest.
$ac_ext
13256 cat >>conftest.
$ac_ext <<_ACEOF
13257 /* end confdefs.h. */
13258 #include <string.h>
13261 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13262 $EGREP "memchr" >/dev
/null
2>&1; then
13265 ac_cv_header_stdc
=no
13271 if test $ac_cv_header_stdc = yes; then
13272 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13273 cat >conftest.
$ac_ext <<_ACEOF
13276 cat confdefs.h
>>conftest.
$ac_ext
13277 cat >>conftest.
$ac_ext <<_ACEOF
13278 /* end confdefs.h. */
13279 #include <stdlib.h>
13282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13283 $EGREP "free" >/dev
/null
2>&1; then
13286 ac_cv_header_stdc
=no
13292 if test $ac_cv_header_stdc = yes; then
13293 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13294 if test "$cross_compiling" = yes; then
13297 cat >conftest.
$ac_ext <<_ACEOF
13300 cat confdefs.h
>>conftest.
$ac_ext
13301 cat >>conftest.
$ac_ext <<_ACEOF
13302 /* end confdefs.h. */
13304 #if ((' ' & 0x0FF) == 0x020)
13305 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13306 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13308 # define ISLOWER(c) \
13309 (('a' <= (c) && (c) <= 'i') \
13310 || ('j' <= (c) && (c) <= 'r') \
13311 || ('s' <= (c) && (c) <= 'z'))
13312 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13315 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13320 for (i = 0; i < 256; i++)
13321 if (XOR (islower (i), ISLOWER (i))
13322 || toupper (i) != TOUPPER (i))
13327 rm -f conftest
$ac_exeext
13328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13329 (eval $ac_link) 2>&5
13331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13334 (eval $ac_try) 2>&5
13336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13337 (exit $ac_status); }; }; then
13340 echo "$as_me: program exited with status $ac_status" >&5
13341 echo "$as_me: failed program was:" >&5
13342 sed 's/^/| /' conftest.
$ac_ext >&5
13344 ( exit $ac_status )
13345 ac_cv_header_stdc
=no
13347 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13351 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13352 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13353 if test $ac_cv_header_stdc = yes; then
13355 cat >>confdefs.h
<<\_ACEOF
13356 #define STDC_HEADERS 1
13361 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
13362 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
13363 if test "${ac_cv_header_time+set}" = set; then
13364 echo $ECHO_N "(cached) $ECHO_C" >&6
13366 cat >conftest.
$ac_ext <<_ACEOF
13369 cat confdefs.h
>>conftest.
$ac_ext
13370 cat >>conftest.
$ac_ext <<_ACEOF
13371 /* end confdefs.h. */
13372 #include <sys/types.h>
13373 #include <sys/time.h>
13379 if ((struct tm *) 0)
13385 rm -f conftest.
$ac_objext
13386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13387 (eval $ac_compile) 2>conftest.er1
13389 grep -v '^ *+' conftest.er1
>conftest.err
13391 cat conftest.err
>&5
13392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13393 (exit $ac_status); } &&
13394 { ac_try
='test -z "$ac_c_werror_flag"
13395 || test ! -s conftest.err'
13396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13397 (eval $ac_try) 2>&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); }; } &&
13401 { ac_try
='test -s conftest.$ac_objext'
13402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13403 (eval $ac_try) 2>&5
13405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406 (exit $ac_status); }; }; then
13407 ac_cv_header_time
=yes
13409 echo "$as_me: failed program was:" >&5
13410 sed 's/^/| /' conftest.
$ac_ext >&5
13412 ac_cv_header_time
=no
13414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13416 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
13417 echo "${ECHO_T}$ac_cv_header_time" >&6
13418 if test $ac_cv_header_time = yes; then
13420 cat >>confdefs.h
<<\_ACEOF
13421 #define TIME_WITH_SYS_TIME 1
13430 for ac_header
in unistd.h semaphore.h sys
/loadavg.h sys
/time.h
13432 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13434 echo "$as_me:$LINENO: checking for $ac_header" >&5
13435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13437 echo $ECHO_N "(cached) $ECHO_C" >&6
13439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13442 # Is the header compilable?
13443 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13444 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13445 cat >conftest.
$ac_ext <<_ACEOF
13448 cat confdefs.h
>>conftest.
$ac_ext
13449 cat >>conftest.
$ac_ext <<_ACEOF
13450 /* end confdefs.h. */
13451 $ac_includes_default
13452 #include <$ac_header>
13454 rm -f conftest.
$ac_objext
13455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13456 (eval $ac_compile) 2>conftest.er1
13458 grep -v '^ *+' conftest.er1
>conftest.err
13460 cat conftest.err
>&5
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); } &&
13463 { ac_try
='test -z "$ac_c_werror_flag"
13464 || test ! -s conftest.err'
13465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13466 (eval $ac_try) 2>&5
13468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13469 (exit $ac_status); }; } &&
13470 { ac_try
='test -s conftest.$ac_objext'
13471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13472 (eval $ac_try) 2>&5
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); }; }; then
13476 ac_header_compiler
=yes
13478 echo "$as_me: failed program was:" >&5
13479 sed 's/^/| /' conftest.
$ac_ext >&5
13481 ac_header_compiler
=no
13483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13484 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13485 echo "${ECHO_T}$ac_header_compiler" >&6
13487 # Is the header present?
13488 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13489 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13490 cat >conftest.
$ac_ext <<_ACEOF
13493 cat confdefs.h
>>conftest.
$ac_ext
13494 cat >>conftest.
$ac_ext <<_ACEOF
13495 /* end confdefs.h. */
13496 #include <$ac_header>
13498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13499 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13501 grep -v '^ *+' conftest.er1
>conftest.err
13503 cat conftest.err
>&5
13504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13505 (exit $ac_status); } >/dev
/null
; then
13506 if test -s conftest.err
; then
13507 ac_cpp_err
=$ac_c_preproc_warn_flag
13508 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13515 if test -z "$ac_cpp_err"; then
13516 ac_header_preproc
=yes
13518 echo "$as_me: failed program was:" >&5
13519 sed 's/^/| /' conftest.
$ac_ext >&5
13521 ac_header_preproc
=no
13523 rm -f conftest.err conftest.
$ac_ext
13524 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13525 echo "${ECHO_T}$ac_header_preproc" >&6
13527 # So? What about this header?
13528 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13530 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13531 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13533 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13534 ac_header_preproc
=yes
13537 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13538 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13539 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13540 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13541 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13542 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13543 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13544 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13545 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13546 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13547 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13548 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13551 ## ----------------------------------------------------- ##
13552 ## Report this to the GNU OpenMP Runtime Library lists. ##
13553 ## ----------------------------------------------------- ##
13556 sed "s/^/$as_me: WARNING: /" >&2
13559 echo "$as_me:$LINENO: checking for $ac_header" >&5
13560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13562 echo $ECHO_N "(cached) $ECHO_C" >&6
13564 eval "$as_ac_Header=\$ac_header_preproc"
13566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13567 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13570 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13571 cat >>confdefs.h
<<_ACEOF
13572 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13582 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
13584 acx_cv_header_stdint
=stddef.h
13585 acx_cv_header_stdint_kind
="(already complete)"
13586 for i
in stdint.h
$inttype_headers; do
13587 unset ac_cv_type_uintptr_t
13588 unset ac_cv_type_uintmax_t
13589 unset ac_cv_type_int_least32_t
13590 unset ac_cv_type_int_fast32_t
13591 unset ac_cv_type_uint64_t
13592 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
13593 echo "$as_me:$LINENO: checking for uintmax_t" >&5
13594 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
13595 if test "${ac_cv_type_uintmax_t+set}" = set; then
13596 echo $ECHO_N "(cached) $ECHO_C" >&6
13598 cat >conftest.
$ac_ext <<_ACEOF
13601 cat confdefs.h
>>conftest.
$ac_ext
13602 cat >>conftest.
$ac_ext <<_ACEOF
13603 /* end confdefs.h. */
13604 #include <sys/types.h>
13610 if ((uintmax_t *) 0)
13612 if (sizeof (uintmax_t))
13618 rm -f conftest.
$ac_objext
13619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13620 (eval $ac_compile) 2>conftest.er1
13622 grep -v '^ *+' conftest.er1
>conftest.err
13624 cat conftest.err
>&5
13625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13626 (exit $ac_status); } &&
13627 { ac_try
='test -z "$ac_c_werror_flag"
13628 || test ! -s conftest.err'
13629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13630 (eval $ac_try) 2>&5
13632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13633 (exit $ac_status); }; } &&
13634 { ac_try
='test -s conftest.$ac_objext'
13635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13636 (eval $ac_try) 2>&5
13638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13639 (exit $ac_status); }; }; then
13640 ac_cv_type_uintmax_t
=yes
13642 echo "$as_me: failed program was:" >&5
13643 sed 's/^/| /' conftest.
$ac_ext >&5
13645 ac_cv_type_uintmax_t
=no
13647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13649 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
13650 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
13651 if test $ac_cv_type_uintmax_t = yes; then
13652 acx_cv_header_stdint
=$i
13657 echo "$as_me:$LINENO: checking for uintptr_t" >&5
13658 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
13659 if test "${ac_cv_type_uintptr_t+set}" = set; then
13660 echo $ECHO_N "(cached) $ECHO_C" >&6
13662 cat >conftest.
$ac_ext <<_ACEOF
13665 cat confdefs.h
>>conftest.
$ac_ext
13666 cat >>conftest.
$ac_ext <<_ACEOF
13667 /* end confdefs.h. */
13668 #include <sys/types.h>
13674 if ((uintptr_t *) 0)
13676 if (sizeof (uintptr_t))
13682 rm -f conftest.
$ac_objext
13683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13684 (eval $ac_compile) 2>conftest.er1
13686 grep -v '^ *+' conftest.er1
>conftest.err
13688 cat conftest.err
>&5
13689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13690 (exit $ac_status); } &&
13691 { ac_try
='test -z "$ac_c_werror_flag"
13692 || test ! -s conftest.err'
13693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13694 (eval $ac_try) 2>&5
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 (exit $ac_status); }; } &&
13698 { ac_try
='test -s conftest.$ac_objext'
13699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13700 (eval $ac_try) 2>&5
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); }; }; then
13704 ac_cv_type_uintptr_t
=yes
13706 echo "$as_me: failed program was:" >&5
13707 sed 's/^/| /' conftest.
$ac_ext >&5
13709 ac_cv_type_uintptr_t
=no
13711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13713 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
13714 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
13715 if test $ac_cv_type_uintptr_t = yes; then
13718 acx_cv_header_stdint_kind
="(mostly complete)"
13721 echo "$as_me:$LINENO: checking for int_least32_t" >&5
13722 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
13723 if test "${ac_cv_type_int_least32_t+set}" = set; then
13724 echo $ECHO_N "(cached) $ECHO_C" >&6
13726 cat >conftest.
$ac_ext <<_ACEOF
13729 cat confdefs.h
>>conftest.
$ac_ext
13730 cat >>conftest.
$ac_ext <<_ACEOF
13731 /* end confdefs.h. */
13732 #include <sys/types.h>
13738 if ((int_least32_t *) 0)
13740 if (sizeof (int_least32_t))
13746 rm -f conftest.
$ac_objext
13747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13748 (eval $ac_compile) 2>conftest.er1
13750 grep -v '^ *+' conftest.er1
>conftest.err
13752 cat conftest.err
>&5
13753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13754 (exit $ac_status); } &&
13755 { ac_try
='test -z "$ac_c_werror_flag"
13756 || test ! -s conftest.err'
13757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13758 (eval $ac_try) 2>&5
13760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13761 (exit $ac_status); }; } &&
13762 { ac_try
='test -s conftest.$ac_objext'
13763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13764 (eval $ac_try) 2>&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); }; }; then
13768 ac_cv_type_int_least32_t
=yes
13770 echo "$as_me: failed program was:" >&5
13771 sed 's/^/| /' conftest.
$ac_ext >&5
13773 ac_cv_type_int_least32_t
=no
13775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13777 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
13778 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
13779 if test $ac_cv_type_int_least32_t = yes; then
13782 acx_cv_header_stdint_kind
="(mostly complete)"
13785 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
13786 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
13787 if test "${ac_cv_type_int_fast32_t+set}" = set; then
13788 echo $ECHO_N "(cached) $ECHO_C" >&6
13790 cat >conftest.
$ac_ext <<_ACEOF
13793 cat confdefs.h
>>conftest.
$ac_ext
13794 cat >>conftest.
$ac_ext <<_ACEOF
13795 /* end confdefs.h. */
13796 #include <sys/types.h>
13802 if ((int_fast32_t *) 0)
13804 if (sizeof (int_fast32_t))
13810 rm -f conftest.
$ac_objext
13811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13812 (eval $ac_compile) 2>conftest.er1
13814 grep -v '^ *+' conftest.er1
>conftest.err
13816 cat conftest.err
>&5
13817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818 (exit $ac_status); } &&
13819 { ac_try
='test -z "$ac_c_werror_flag"
13820 || test ! -s conftest.err'
13821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13822 (eval $ac_try) 2>&5
13824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825 (exit $ac_status); }; } &&
13826 { ac_try
='test -s conftest.$ac_objext'
13827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13828 (eval $ac_try) 2>&5
13830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13831 (exit $ac_status); }; }; then
13832 ac_cv_type_int_fast32_t
=yes
13834 echo "$as_me: failed program was:" >&5
13835 sed 's/^/| /' conftest.
$ac_ext >&5
13837 ac_cv_type_int_fast32_t
=no
13839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13841 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
13842 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
13843 if test $ac_cv_type_int_fast32_t = yes; then
13846 acx_cv_header_stdint_kind
="(mostly complete)"
13849 echo "$as_me:$LINENO: checking for uint64_t" >&5
13850 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
13851 if test "${ac_cv_type_uint64_t+set}" = set; then
13852 echo $ECHO_N "(cached) $ECHO_C" >&6
13854 cat >conftest.
$ac_ext <<_ACEOF
13857 cat confdefs.h
>>conftest.
$ac_ext
13858 cat >>conftest.
$ac_ext <<_ACEOF
13859 /* end confdefs.h. */
13860 #include <sys/types.h>
13866 if ((uint64_t *) 0)
13868 if (sizeof (uint64_t))
13874 rm -f conftest.
$ac_objext
13875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13876 (eval $ac_compile) 2>conftest.er1
13878 grep -v '^ *+' conftest.er1
>conftest.err
13880 cat conftest.err
>&5
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 (exit $ac_status); } &&
13883 { ac_try
='test -z "$ac_c_werror_flag"
13884 || test ! -s conftest.err'
13885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13886 (eval $ac_try) 2>&5
13888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 (exit $ac_status); }; } &&
13890 { ac_try
='test -s conftest.$ac_objext'
13891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13892 (eval $ac_try) 2>&5
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); }; }; then
13896 ac_cv_type_uint64_t
=yes
13898 echo "$as_me: failed program was:" >&5
13899 sed 's/^/| /' conftest.
$ac_ext >&5
13901 ac_cv_type_uint64_t
=no
13903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13905 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
13906 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
13907 if test $ac_cv_type_uint64_t = yes; then
13910 acx_cv_header_stdint_kind
="(lacks uint64_t)"
13915 if test "$acx_cv_header_stdint" = stddef.h
; then
13916 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
13917 for i
in stdint.h
$inttype_headers; do
13918 unset ac_cv_type_uintptr_t
13919 unset ac_cv_type_uint32_t
13920 unset ac_cv_type_uint64_t
13921 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
13922 echo "$as_me:$LINENO: checking for uint32_t" >&5
13923 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
13924 if test "${ac_cv_type_uint32_t+set}" = set; then
13925 echo $ECHO_N "(cached) $ECHO_C" >&6
13927 cat >conftest.
$ac_ext <<_ACEOF
13930 cat confdefs.h
>>conftest.
$ac_ext
13931 cat >>conftest.
$ac_ext <<_ACEOF
13932 /* end confdefs.h. */
13933 #include <sys/types.h>
13939 if ((uint32_t *) 0)
13941 if (sizeof (uint32_t))
13947 rm -f conftest.
$ac_objext
13948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13949 (eval $ac_compile) 2>conftest.er1
13951 grep -v '^ *+' conftest.er1
>conftest.err
13953 cat conftest.err
>&5
13954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13955 (exit $ac_status); } &&
13956 { ac_try
='test -z "$ac_c_werror_flag"
13957 || test ! -s conftest.err'
13958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13959 (eval $ac_try) 2>&5
13961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13962 (exit $ac_status); }; } &&
13963 { ac_try
='test -s conftest.$ac_objext'
13964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13965 (eval $ac_try) 2>&5
13967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13968 (exit $ac_status); }; }; then
13969 ac_cv_type_uint32_t
=yes
13971 echo "$as_me: failed program was:" >&5
13972 sed 's/^/| /' conftest.
$ac_ext >&5
13974 ac_cv_type_uint32_t
=no
13976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13978 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
13979 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
13980 if test $ac_cv_type_uint32_t = yes; then
13981 acx_cv_header_stdint
=$i
13986 echo "$as_me:$LINENO: checking for uint64_t" >&5
13987 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
13988 if test "${ac_cv_type_uint64_t+set}" = set; then
13989 echo $ECHO_N "(cached) $ECHO_C" >&6
13991 cat >conftest.
$ac_ext <<_ACEOF
13994 cat confdefs.h
>>conftest.
$ac_ext
13995 cat >>conftest.
$ac_ext <<_ACEOF
13996 /* end confdefs.h. */
13997 #include <sys/types.h>
14003 if ((uint64_t *) 0)
14005 if (sizeof (uint64_t))
14011 rm -f conftest.
$ac_objext
14012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14013 (eval $ac_compile) 2>conftest.er1
14015 grep -v '^ *+' conftest.er1
>conftest.err
14017 cat conftest.err
>&5
14018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 (exit $ac_status); } &&
14020 { ac_try
='test -z "$ac_c_werror_flag"
14021 || test ! -s conftest.err'
14022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14023 (eval $ac_try) 2>&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); }; } &&
14027 { ac_try
='test -s conftest.$ac_objext'
14028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14029 (eval $ac_try) 2>&5
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); }; }; then
14033 ac_cv_type_uint64_t
=yes
14035 echo "$as_me: failed program was:" >&5
14036 sed 's/^/| /' conftest.
$ac_ext >&5
14038 ac_cv_type_uint64_t
=no
14040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14042 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
14043 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
14045 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14046 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14047 if test "${ac_cv_type_uintptr_t+set}" = set; then
14048 echo $ECHO_N "(cached) $ECHO_C" >&6
14050 cat >conftest.
$ac_ext <<_ACEOF
14053 cat confdefs.h
>>conftest.
$ac_ext
14054 cat >>conftest.
$ac_ext <<_ACEOF
14055 /* end confdefs.h. */
14056 #include <sys/types.h>
14062 if ((uintptr_t *) 0)
14064 if (sizeof (uintptr_t))
14070 rm -f conftest.
$ac_objext
14071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14072 (eval $ac_compile) 2>conftest.er1
14074 grep -v '^ *+' conftest.er1
>conftest.err
14076 cat conftest.err
>&5
14077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14078 (exit $ac_status); } &&
14079 { ac_try
='test -z "$ac_c_werror_flag"
14080 || test ! -s conftest.err'
14081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14082 (eval $ac_try) 2>&5
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); }; } &&
14086 { ac_try
='test -s conftest.$ac_objext'
14087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14088 (eval $ac_try) 2>&5
14090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14091 (exit $ac_status); }; }; then
14092 ac_cv_type_uintptr_t
=yes
14094 echo "$as_me: failed program was:" >&5
14095 sed 's/^/| /' conftest.
$ac_ext >&5
14097 ac_cv_type_uintptr_t
=no
14099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14101 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14102 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14107 if test "$acx_cv_header_stdint" = stddef.h
; then
14108 acx_cv_header_stdint_kind
="(u_intXX_t style)"
14109 for i
in sys
/types.h
$inttype_headers; do
14110 unset ac_cv_type_u_int32_t
14111 unset ac_cv_type_u_int64_t
14112 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
14113 echo "$as_me:$LINENO: checking for u_int32_t" >&5
14114 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
14115 if test "${ac_cv_type_u_int32_t+set}" = set; then
14116 echo $ECHO_N "(cached) $ECHO_C" >&6
14118 cat >conftest.
$ac_ext <<_ACEOF
14121 cat confdefs.h
>>conftest.
$ac_ext
14122 cat >>conftest.
$ac_ext <<_ACEOF
14123 /* end confdefs.h. */
14124 #include <sys/types.h>
14130 if ((u_int32_t *) 0)
14132 if (sizeof (u_int32_t))
14138 rm -f conftest.
$ac_objext
14139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14140 (eval $ac_compile) 2>conftest.er1
14142 grep -v '^ *+' conftest.er1
>conftest.err
14144 cat conftest.err
>&5
14145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14146 (exit $ac_status); } &&
14147 { ac_try
='test -z "$ac_c_werror_flag"
14148 || test ! -s conftest.err'
14149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14150 (eval $ac_try) 2>&5
14152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14153 (exit $ac_status); }; } &&
14154 { ac_try
='test -s conftest.$ac_objext'
14155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14156 (eval $ac_try) 2>&5
14158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14159 (exit $ac_status); }; }; then
14160 ac_cv_type_u_int32_t
=yes
14162 echo "$as_me: failed program was:" >&5
14163 sed 's/^/| /' conftest.
$ac_ext >&5
14165 ac_cv_type_u_int32_t
=no
14167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14169 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
14170 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
14171 if test $ac_cv_type_u_int32_t = yes; then
14172 acx_cv_header_stdint
=$i
14177 echo "$as_me:$LINENO: checking for u_int64_t" >&5
14178 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
14179 if test "${ac_cv_type_u_int64_t+set}" = set; then
14180 echo $ECHO_N "(cached) $ECHO_C" >&6
14182 cat >conftest.
$ac_ext <<_ACEOF
14185 cat confdefs.h
>>conftest.
$ac_ext
14186 cat >>conftest.
$ac_ext <<_ACEOF
14187 /* end confdefs.h. */
14188 #include <sys/types.h>
14194 if ((u_int64_t *) 0)
14196 if (sizeof (u_int64_t))
14202 rm -f conftest.
$ac_objext
14203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14204 (eval $ac_compile) 2>conftest.er1
14206 grep -v '^ *+' conftest.er1
>conftest.err
14208 cat conftest.err
>&5
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); } &&
14211 { ac_try
='test -z "$ac_c_werror_flag"
14212 || test ! -s conftest.err'
14213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14214 (eval $ac_try) 2>&5
14216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217 (exit $ac_status); }; } &&
14218 { ac_try
='test -s conftest.$ac_objext'
14219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14220 (eval $ac_try) 2>&5
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); }; }; then
14224 ac_cv_type_u_int64_t
=yes
14226 echo "$as_me: failed program was:" >&5
14227 sed 's/^/| /' conftest.
$ac_ext >&5
14229 ac_cv_type_u_int64_t
=no
14231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14233 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
14234 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
14239 if test "$acx_cv_header_stdint" = stddef.h
; then
14240 acx_cv_header_stdint_kind
="(using manual detection)"
14243 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
14244 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
14245 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
14246 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
14247 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
14249 # ----------------- Summarize what we found so far
14251 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
14252 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
14254 case `$as_basename gstdint.h ||
14255 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
14256 Xgstdint.h : 'X\(//\)$' \| \
14257 Xgstdint.h : 'X\(/\)$' \| \
14258 . : '\(.\)' 2>/dev/null ||
14260 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14261 /^X\/\(\/\/\)$/{ s//\1/; q; }
14262 /^X\/\(\/\).*/{ s//\1/; q; }
14264 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
14265 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
14266 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
14267 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
14271 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
14272 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
14274 # ----------------- done included file, check C basic types --------
14276 # Lacking an uintptr_t? Test size of void *
14277 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
14278 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
14279 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14280 if test "${ac_cv_type_void_p+set}" = set; then
14281 echo $ECHO_N "(cached) $ECHO_C" >&6
14283 cat >conftest.
$ac_ext <<_ACEOF
14286 cat confdefs.h
>>conftest.
$ac_ext
14287 cat >>conftest.
$ac_ext <<_ACEOF
14288 /* end confdefs.h. */
14289 $ac_includes_default
14295 if (sizeof (void *))
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_cv_type_void_p
=yes
14325 echo "$as_me: failed program was:" >&5
14326 sed 's/^/| /' conftest.
$ac_ext >&5
14328 ac_cv_type_void_p
=no
14330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14332 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14333 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14335 echo "$as_me:$LINENO: checking size of void *" >&5
14336 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14337 if test "${ac_cv_sizeof_void_p+set}" = set; then
14338 echo $ECHO_N "(cached) $ECHO_C" >&6
14340 if test "$ac_cv_type_void_p" = yes; then
14341 # The cast to unsigned long works around a bug in the HP C Compiler
14342 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14343 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14344 # This bug is HP SR number 8606223364.
14345 if test "$cross_compiling" = yes; then
14346 # Depending upon the size, compute the lo and hi bounds.
14347 cat >conftest.
$ac_ext <<_ACEOF
14350 cat confdefs.h
>>conftest.
$ac_ext
14351 cat >>conftest.
$ac_ext <<_ACEOF
14352 /* end confdefs.h. */
14353 $ac_includes_default
14357 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14364 rm -f conftest.
$ac_objext
14365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14366 (eval $ac_compile) 2>conftest.er1
14368 grep -v '^ *+' conftest.er1
>conftest.err
14370 cat conftest.err
>&5
14371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); } &&
14373 { ac_try
='test -z "$ac_c_werror_flag"
14374 || test ! -s conftest.err'
14375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14376 (eval $ac_try) 2>&5
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379 (exit $ac_status); }; } &&
14380 { ac_try
='test -s conftest.$ac_objext'
14381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14382 (eval $ac_try) 2>&5
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); }; }; then
14388 cat >conftest.
$ac_ext <<_ACEOF
14391 cat confdefs.h
>>conftest.
$ac_ext
14392 cat >>conftest.
$ac_ext <<_ACEOF
14393 /* end confdefs.h. */
14394 $ac_includes_default
14398 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14405 rm -f conftest.
$ac_objext
14406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14407 (eval $ac_compile) 2>conftest.er1
14409 grep -v '^ *+' conftest.er1
>conftest.err
14411 cat conftest.err
>&5
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); } &&
14414 { ac_try
='test -z "$ac_c_werror_flag"
14415 || test ! -s conftest.err'
14416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14417 (eval $ac_try) 2>&5
14419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14420 (exit $ac_status); }; } &&
14421 { ac_try
='test -s conftest.$ac_objext'
14422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14423 (eval $ac_try) 2>&5
14425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14426 (exit $ac_status); }; }; then
14427 ac_hi
=$ac_mid; break
14429 echo "$as_me: failed program was:" >&5
14430 sed 's/^/| /' conftest.
$ac_ext >&5
14432 ac_lo
=`expr $ac_mid + 1`
14433 if test $ac_lo -le $ac_mid; then
14437 ac_mid
=`expr 2 '*' $ac_mid + 1`
14439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14442 echo "$as_me: failed program was:" >&5
14443 sed 's/^/| /' conftest.
$ac_ext >&5
14445 cat >conftest.
$ac_ext <<_ACEOF
14448 cat confdefs.h
>>conftest.
$ac_ext
14449 cat >>conftest.
$ac_ext <<_ACEOF
14450 /* end confdefs.h. */
14451 $ac_includes_default
14455 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14462 rm -f conftest.
$ac_objext
14463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14464 (eval $ac_compile) 2>conftest.er1
14466 grep -v '^ *+' conftest.er1
>conftest.err
14468 cat conftest.err
>&5
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); } &&
14471 { ac_try
='test -z "$ac_c_werror_flag"
14472 || test ! -s conftest.err'
14473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14474 (eval $ac_try) 2>&5
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); }; } &&
14478 { ac_try
='test -s conftest.$ac_objext'
14479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14480 (eval $ac_try) 2>&5
14482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14483 (exit $ac_status); }; }; then
14486 cat >conftest.
$ac_ext <<_ACEOF
14489 cat confdefs.h
>>conftest.
$ac_ext
14490 cat >>conftest.
$ac_ext <<_ACEOF
14491 /* end confdefs.h. */
14492 $ac_includes_default
14496 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14503 rm -f conftest.
$ac_objext
14504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14505 (eval $ac_compile) 2>conftest.er1
14507 grep -v '^ *+' conftest.er1
>conftest.err
14509 cat conftest.err
>&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); } &&
14512 { ac_try
='test -z "$ac_c_werror_flag"
14513 || test ! -s conftest.err'
14514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14515 (eval $ac_try) 2>&5
14517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518 (exit $ac_status); }; } &&
14519 { ac_try
='test -s conftest.$ac_objext'
14520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14521 (eval $ac_try) 2>&5
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); }; }; then
14525 ac_lo
=$ac_mid; break
14527 echo "$as_me: failed program was:" >&5
14528 sed 's/^/| /' conftest.
$ac_ext >&5
14530 ac_hi
=`expr '(' $ac_mid ')' - 1`
14531 if test $ac_mid -le $ac_hi; then
14535 ac_mid
=`expr 2 '*' $ac_mid`
14537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14540 echo "$as_me: failed program was:" >&5
14541 sed 's/^/| /' conftest.
$ac_ext >&5
14545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14548 # Binary search between lo and hi bounds.
14549 while test "x$ac_lo" != "x$ac_hi"; do
14550 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14551 cat >conftest.
$ac_ext <<_ACEOF
14554 cat confdefs.h
>>conftest.
$ac_ext
14555 cat >>conftest.
$ac_ext <<_ACEOF
14556 /* end confdefs.h. */
14557 $ac_includes_default
14561 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14568 rm -f conftest.
$ac_objext
14569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14570 (eval $ac_compile) 2>conftest.er1
14572 grep -v '^ *+' conftest.er1
>conftest.err
14574 cat conftest.err
>&5
14575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14576 (exit $ac_status); } &&
14577 { ac_try
='test -z "$ac_c_werror_flag"
14578 || test ! -s conftest.err'
14579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14580 (eval $ac_try) 2>&5
14582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583 (exit $ac_status); }; } &&
14584 { ac_try
='test -s conftest.$ac_objext'
14585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14586 (eval $ac_try) 2>&5
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); }; }; then
14592 echo "$as_me: failed program was:" >&5
14593 sed 's/^/| /' conftest.
$ac_ext >&5
14595 ac_lo
=`expr '(' $ac_mid ')' + 1`
14597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14600 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14601 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14602 See \`config.log' for more details." >&5
14603 echo "$as_me: error: cannot compute sizeof (void *), 77
14604 See \`config.log' for more details." >&2;}
14605 { (exit 1); exit 1; }; } ;;
14608 if test "$cross_compiling" = yes; then
14609 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14610 See \`config.log' for more details." >&5
14611 echo "$as_me: error: cannot run test program while cross compiling
14612 See \`config.log' for more details." >&2;}
14613 { (exit 1); exit 1; }; }
14615 cat >conftest.
$ac_ext <<_ACEOF
14618 cat confdefs.h
>>conftest.
$ac_ext
14619 cat >>conftest.
$ac_ext <<_ACEOF
14620 /* end confdefs.h. */
14621 $ac_includes_default
14622 long longval () { return (long) (sizeof (void *)); }
14623 unsigned long ulongval () { return (long) (sizeof (void *)); }
14625 #include <stdlib.h>
14630 FILE *f = fopen ("conftest.val", "w");
14633 if (((long) (sizeof (void *))) < 0)
14635 long i = longval ();
14636 if (i != ((long) (sizeof (void *))))
14638 fprintf (f, "%ld\n", i);
14642 unsigned long i = ulongval ();
14643 if (i != ((long) (sizeof (void *))))
14645 fprintf (f, "%lu\n", i);
14647 exit (ferror (f) || fclose (f) != 0);
14653 rm -f conftest
$ac_exeext
14654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14655 (eval $ac_link) 2>&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14660 (eval $ac_try) 2>&5
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; }; then
14664 ac_cv_sizeof_void_p
=`cat conftest.val`
14666 echo "$as_me: program exited with status $ac_status" >&5
14667 echo "$as_me: failed program was:" >&5
14668 sed 's/^/| /' conftest.
$ac_ext >&5
14670 ( exit $ac_status )
14671 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14672 See \`config.log' for more details." >&5
14673 echo "$as_me: error: cannot compute sizeof (void *), 77
14674 See \`config.log' for more details." >&2;}
14675 { (exit 1); exit 1; }; }
14677 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14682 ac_cv_sizeof_void_p
=0
14685 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14686 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14687 cat >>confdefs.h
<<_ACEOF
14688 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14694 # Lacking an uint64_t? Test size of long
14695 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
14696 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
14697 echo $ECHO_N "checking for long... $ECHO_C" >&6
14698 if test "${ac_cv_type_long+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 $ac_includes_default
14719 rm -f conftest.
$ac_objext
14720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14721 (eval $ac_compile) 2>conftest.er1
14723 grep -v '^ *+' conftest.er1
>conftest.err
14725 cat conftest.err
>&5
14726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14727 (exit $ac_status); } &&
14728 { ac_try
='test -z "$ac_c_werror_flag"
14729 || test ! -s conftest.err'
14730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14731 (eval $ac_try) 2>&5
14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734 (exit $ac_status); }; } &&
14735 { ac_try
='test -s conftest.$ac_objext'
14736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14737 (eval $ac_try) 2>&5
14739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14740 (exit $ac_status); }; }; then
14741 ac_cv_type_long
=yes
14743 echo "$as_me: failed program was:" >&5
14744 sed 's/^/| /' conftest.
$ac_ext >&5
14748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14750 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
14751 echo "${ECHO_T}$ac_cv_type_long" >&6
14753 echo "$as_me:$LINENO: checking size of long" >&5
14754 echo $ECHO_N "checking size of long... $ECHO_C" >&6
14755 if test "${ac_cv_sizeof_long+set}" = set; then
14756 echo $ECHO_N "(cached) $ECHO_C" >&6
14758 if test "$ac_cv_type_long" = yes; then
14759 # The cast to unsigned long works around a bug in the HP C Compiler
14760 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14761 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14762 # This bug is HP SR number 8606223364.
14763 if test "$cross_compiling" = yes; then
14764 # Depending upon the size, compute the lo and hi bounds.
14765 cat >conftest.
$ac_ext <<_ACEOF
14768 cat confdefs.h
>>conftest.
$ac_ext
14769 cat >>conftest.
$ac_ext <<_ACEOF
14770 /* end confdefs.h. */
14771 $ac_includes_default
14775 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
14782 rm -f conftest.
$ac_objext
14783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14784 (eval $ac_compile) 2>conftest.er1
14786 grep -v '^ *+' conftest.er1
>conftest.err
14788 cat conftest.err
>&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); } &&
14791 { ac_try
='test -z "$ac_c_werror_flag"
14792 || test ! -s conftest.err'
14793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14794 (eval $ac_try) 2>&5
14796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14797 (exit $ac_status); }; } &&
14798 { ac_try
='test -s conftest.$ac_objext'
14799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14800 (eval $ac_try) 2>&5
14802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14803 (exit $ac_status); }; }; then
14806 cat >conftest.
$ac_ext <<_ACEOF
14809 cat confdefs.h
>>conftest.
$ac_ext
14810 cat >>conftest.
$ac_ext <<_ACEOF
14811 /* end confdefs.h. */
14812 $ac_includes_default
14816 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
14823 rm -f conftest.
$ac_objext
14824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14825 (eval $ac_compile) 2>conftest.er1
14827 grep -v '^ *+' conftest.er1
>conftest.err
14829 cat conftest.err
>&5
14830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14831 (exit $ac_status); } &&
14832 { ac_try
='test -z "$ac_c_werror_flag"
14833 || test ! -s conftest.err'
14834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14835 (eval $ac_try) 2>&5
14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); }; } &&
14839 { ac_try
='test -s conftest.$ac_objext'
14840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14841 (eval $ac_try) 2>&5
14843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14844 (exit $ac_status); }; }; then
14845 ac_hi
=$ac_mid; break
14847 echo "$as_me: failed program was:" >&5
14848 sed 's/^/| /' conftest.
$ac_ext >&5
14850 ac_lo
=`expr $ac_mid + 1`
14851 if test $ac_lo -le $ac_mid; then
14855 ac_mid
=`expr 2 '*' $ac_mid + 1`
14857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14860 echo "$as_me: failed program was:" >&5
14861 sed 's/^/| /' conftest.
$ac_ext >&5
14863 cat >conftest.
$ac_ext <<_ACEOF
14866 cat confdefs.h
>>conftest.
$ac_ext
14867 cat >>conftest.
$ac_ext <<_ACEOF
14868 /* end confdefs.h. */
14869 $ac_includes_default
14873 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
14880 rm -f conftest.
$ac_objext
14881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14882 (eval $ac_compile) 2>conftest.er1
14884 grep -v '^ *+' conftest.er1
>conftest.err
14886 cat conftest.err
>&5
14887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14888 (exit $ac_status); } &&
14889 { ac_try
='test -z "$ac_c_werror_flag"
14890 || test ! -s conftest.err'
14891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14892 (eval $ac_try) 2>&5
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); }; } &&
14896 { ac_try
='test -s conftest.$ac_objext'
14897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14898 (eval $ac_try) 2>&5
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); }; }; then
14904 cat >conftest.
$ac_ext <<_ACEOF
14907 cat confdefs.h
>>conftest.
$ac_ext
14908 cat >>conftest.
$ac_ext <<_ACEOF
14909 /* end confdefs.h. */
14910 $ac_includes_default
14914 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
14921 rm -f conftest.
$ac_objext
14922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14923 (eval $ac_compile) 2>conftest.er1
14925 grep -v '^ *+' conftest.er1
>conftest.err
14927 cat conftest.err
>&5
14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 (exit $ac_status); } &&
14930 { ac_try
='test -z "$ac_c_werror_flag"
14931 || test ! -s conftest.err'
14932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14933 (eval $ac_try) 2>&5
14935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14936 (exit $ac_status); }; } &&
14937 { ac_try
='test -s conftest.$ac_objext'
14938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14939 (eval $ac_try) 2>&5
14941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942 (exit $ac_status); }; }; then
14943 ac_lo
=$ac_mid; break
14945 echo "$as_me: failed program was:" >&5
14946 sed 's/^/| /' conftest.
$ac_ext >&5
14948 ac_hi
=`expr '(' $ac_mid ')' - 1`
14949 if test $ac_mid -le $ac_hi; then
14953 ac_mid
=`expr 2 '*' $ac_mid`
14955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14958 echo "$as_me: failed program was:" >&5
14959 sed 's/^/| /' conftest.
$ac_ext >&5
14963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14966 # Binary search between lo and hi bounds.
14967 while test "x$ac_lo" != "x$ac_hi"; do
14968 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14969 cat >conftest.
$ac_ext <<_ACEOF
14972 cat confdefs.h
>>conftest.
$ac_ext
14973 cat >>conftest.
$ac_ext <<_ACEOF
14974 /* end confdefs.h. */
14975 $ac_includes_default
14979 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
14986 rm -f conftest.
$ac_objext
14987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14988 (eval $ac_compile) 2>conftest.er1
14990 grep -v '^ *+' conftest.er1
>conftest.err
14992 cat conftest.err
>&5
14993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14994 (exit $ac_status); } &&
14995 { ac_try
='test -z "$ac_c_werror_flag"
14996 || test ! -s conftest.err'
14997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14998 (eval $ac_try) 2>&5
15000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); }; } &&
15002 { ac_try
='test -s conftest.$ac_objext'
15003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15004 (eval $ac_try) 2>&5
15006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007 (exit $ac_status); }; }; then
15010 echo "$as_me: failed program was:" >&5
15011 sed 's/^/| /' conftest.
$ac_ext >&5
15013 ac_lo
=`expr '(' $ac_mid ')' + 1`
15015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15018 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15019 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15020 See \`config.log' for more details." >&5
15021 echo "$as_me: error: cannot compute sizeof (long), 77
15022 See \`config.log' for more details." >&2;}
15023 { (exit 1); exit 1; }; } ;;
15026 if test "$cross_compiling" = yes; then
15027 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15028 See \`config.log' for more details." >&5
15029 echo "$as_me: error: cannot run test program while cross compiling
15030 See \`config.log' for more details." >&2;}
15031 { (exit 1); exit 1; }; }
15033 cat >conftest.
$ac_ext <<_ACEOF
15036 cat confdefs.h
>>conftest.
$ac_ext
15037 cat >>conftest.
$ac_ext <<_ACEOF
15038 /* end confdefs.h. */
15039 $ac_includes_default
15040 long longval () { return (long) (sizeof (long)); }
15041 unsigned long ulongval () { return (long) (sizeof (long)); }
15043 #include <stdlib.h>
15048 FILE *f = fopen ("conftest.val", "w");
15051 if (((long) (sizeof (long))) < 0)
15053 long i = longval ();
15054 if (i != ((long) (sizeof (long))))
15056 fprintf (f, "%ld\n", i);
15060 unsigned long i = ulongval ();
15061 if (i != ((long) (sizeof (long))))
15063 fprintf (f, "%lu\n", i);
15065 exit (ferror (f) || fclose (f) != 0);
15071 rm -f conftest
$ac_exeext
15072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15073 (eval $ac_link) 2>&5
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15078 (eval $ac_try) 2>&5
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); }; }; then
15082 ac_cv_sizeof_long
=`cat conftest.val`
15084 echo "$as_me: program exited with status $ac_status" >&5
15085 echo "$as_me: failed program was:" >&5
15086 sed 's/^/| /' conftest.
$ac_ext >&5
15088 ( exit $ac_status )
15089 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15090 See \`config.log' for more details." >&5
15091 echo "$as_me: error: cannot compute sizeof (long), 77
15092 See \`config.log' for more details." >&2;}
15093 { (exit 1); exit 1; }; }
15095 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15100 ac_cv_sizeof_long
=0
15103 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15104 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15105 cat >>confdefs.h
<<_ACEOF
15106 #define SIZEOF_LONG $ac_cv_sizeof_long
15112 if test $acx_cv_header_stdint = stddef.h
; then
15113 # Lacking a good header? Test size of everything and deduce all types.
15114 echo "$as_me:$LINENO: checking for int" >&5
15115 echo $ECHO_N "checking for int... $ECHO_C" >&6
15116 if test "${ac_cv_type_int+set}" = set; then
15117 echo $ECHO_N "(cached) $ECHO_C" >&6
15119 cat >conftest.
$ac_ext <<_ACEOF
15122 cat confdefs.h
>>conftest.
$ac_ext
15123 cat >>conftest.
$ac_ext <<_ACEOF
15124 /* end confdefs.h. */
15125 $ac_includes_default
15137 rm -f conftest.
$ac_objext
15138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15139 (eval $ac_compile) 2>conftest.er1
15141 grep -v '^ *+' conftest.er1
>conftest.err
15143 cat conftest.err
>&5
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); } &&
15146 { ac_try
='test -z "$ac_c_werror_flag"
15147 || test ! -s conftest.err'
15148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15149 (eval $ac_try) 2>&5
15151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15152 (exit $ac_status); }; } &&
15153 { ac_try
='test -s conftest.$ac_objext'
15154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15155 (eval $ac_try) 2>&5
15157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158 (exit $ac_status); }; }; then
15161 echo "$as_me: failed program was:" >&5
15162 sed 's/^/| /' conftest.
$ac_ext >&5
15166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15168 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15169 echo "${ECHO_T}$ac_cv_type_int" >&6
15171 echo "$as_me:$LINENO: checking size of int" >&5
15172 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15173 if test "${ac_cv_sizeof_int+set}" = set; then
15174 echo $ECHO_N "(cached) $ECHO_C" >&6
15176 if test "$ac_cv_type_int" = yes; then
15177 # The cast to unsigned long works around a bug in the HP C Compiler
15178 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15179 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15180 # This bug is HP SR number 8606223364.
15181 if test "$cross_compiling" = yes; then
15182 # Depending upon the size, compute the lo and hi bounds.
15183 cat >conftest.
$ac_ext <<_ACEOF
15186 cat confdefs.h
>>conftest.
$ac_ext
15187 cat >>conftest.
$ac_ext <<_ACEOF
15188 /* end confdefs.h. */
15189 $ac_includes_default
15193 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15200 rm -f conftest.
$ac_objext
15201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15202 (eval $ac_compile) 2>conftest.er1
15204 grep -v '^ *+' conftest.er1
>conftest.err
15206 cat conftest.err
>&5
15207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15208 (exit $ac_status); } &&
15209 { ac_try
='test -z "$ac_c_werror_flag"
15210 || test ! -s conftest.err'
15211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15212 (eval $ac_try) 2>&5
15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215 (exit $ac_status); }; } &&
15216 { ac_try
='test -s conftest.$ac_objext'
15217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15218 (eval $ac_try) 2>&5
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); }; }; then
15224 cat >conftest.
$ac_ext <<_ACEOF
15227 cat confdefs.h
>>conftest.
$ac_ext
15228 cat >>conftest.
$ac_ext <<_ACEOF
15229 /* end confdefs.h. */
15230 $ac_includes_default
15234 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15241 rm -f conftest.
$ac_objext
15242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15243 (eval $ac_compile) 2>conftest.er1
15245 grep -v '^ *+' conftest.er1
>conftest.err
15247 cat conftest.err
>&5
15248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 (exit $ac_status); } &&
15250 { ac_try
='test -z "$ac_c_werror_flag"
15251 || test ! -s conftest.err'
15252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15253 (eval $ac_try) 2>&5
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); }; } &&
15257 { ac_try
='test -s conftest.$ac_objext'
15258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15259 (eval $ac_try) 2>&5
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); }; }; then
15263 ac_hi
=$ac_mid; break
15265 echo "$as_me: failed program was:" >&5
15266 sed 's/^/| /' conftest.
$ac_ext >&5
15268 ac_lo
=`expr $ac_mid + 1`
15269 if test $ac_lo -le $ac_mid; then
15273 ac_mid
=`expr 2 '*' $ac_mid + 1`
15275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15278 echo "$as_me: failed program was:" >&5
15279 sed 's/^/| /' conftest.
$ac_ext >&5
15281 cat >conftest.
$ac_ext <<_ACEOF
15284 cat confdefs.h
>>conftest.
$ac_ext
15285 cat >>conftest.
$ac_ext <<_ACEOF
15286 /* end confdefs.h. */
15287 $ac_includes_default
15291 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15298 rm -f conftest.
$ac_objext
15299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15300 (eval $ac_compile) 2>conftest.er1
15302 grep -v '^ *+' conftest.er1
>conftest.err
15304 cat conftest.err
>&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); } &&
15307 { ac_try
='test -z "$ac_c_werror_flag"
15308 || test ! -s conftest.err'
15309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15310 (eval $ac_try) 2>&5
15312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); }; } &&
15314 { ac_try
='test -s conftest.$ac_objext'
15315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15316 (eval $ac_try) 2>&5
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); }; }; then
15322 cat >conftest.
$ac_ext <<_ACEOF
15325 cat confdefs.h
>>conftest.
$ac_ext
15326 cat >>conftest.
$ac_ext <<_ACEOF
15327 /* end confdefs.h. */
15328 $ac_includes_default
15332 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15339 rm -f conftest.
$ac_objext
15340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15341 (eval $ac_compile) 2>conftest.er1
15343 grep -v '^ *+' conftest.er1
>conftest.err
15345 cat conftest.err
>&5
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); } &&
15348 { ac_try
='test -z "$ac_c_werror_flag"
15349 || test ! -s conftest.err'
15350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15351 (eval $ac_try) 2>&5
15353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15354 (exit $ac_status); }; } &&
15355 { ac_try
='test -s conftest.$ac_objext'
15356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15357 (eval $ac_try) 2>&5
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); }; }; then
15361 ac_lo
=$ac_mid; break
15363 echo "$as_me: failed program was:" >&5
15364 sed 's/^/| /' conftest.
$ac_ext >&5
15366 ac_hi
=`expr '(' $ac_mid ')' - 1`
15367 if test $ac_mid -le $ac_hi; then
15371 ac_mid
=`expr 2 '*' $ac_mid`
15373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15376 echo "$as_me: failed program was:" >&5
15377 sed 's/^/| /' conftest.
$ac_ext >&5
15381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15384 # Binary search between lo and hi bounds.
15385 while test "x$ac_lo" != "x$ac_hi"; do
15386 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15387 cat >conftest.
$ac_ext <<_ACEOF
15390 cat confdefs.h
>>conftest.
$ac_ext
15391 cat >>conftest.
$ac_ext <<_ACEOF
15392 /* end confdefs.h. */
15393 $ac_includes_default
15397 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15404 rm -f conftest.
$ac_objext
15405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15406 (eval $ac_compile) 2>conftest.er1
15408 grep -v '^ *+' conftest.er1
>conftest.err
15410 cat conftest.err
>&5
15411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15412 (exit $ac_status); } &&
15413 { ac_try
='test -z "$ac_c_werror_flag"
15414 || test ! -s conftest.err'
15415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15416 (eval $ac_try) 2>&5
15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15419 (exit $ac_status); }; } &&
15420 { ac_try
='test -s conftest.$ac_objext'
15421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15422 (eval $ac_try) 2>&5
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); }; }; then
15428 echo "$as_me: failed program was:" >&5
15429 sed 's/^/| /' conftest.
$ac_ext >&5
15431 ac_lo
=`expr '(' $ac_mid ')' + 1`
15433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15436 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15437 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15438 See \`config.log' for more details." >&5
15439 echo "$as_me: error: cannot compute sizeof (int), 77
15440 See \`config.log' for more details." >&2;}
15441 { (exit 1); exit 1; }; } ;;
15444 if test "$cross_compiling" = yes; then
15445 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15446 See \`config.log' for more details." >&5
15447 echo "$as_me: error: cannot run test program while cross compiling
15448 See \`config.log' for more details." >&2;}
15449 { (exit 1); exit 1; }; }
15451 cat >conftest.
$ac_ext <<_ACEOF
15454 cat confdefs.h
>>conftest.
$ac_ext
15455 cat >>conftest.
$ac_ext <<_ACEOF
15456 /* end confdefs.h. */
15457 $ac_includes_default
15458 long longval () { return (long) (sizeof (int)); }
15459 unsigned long ulongval () { return (long) (sizeof (int)); }
15461 #include <stdlib.h>
15466 FILE *f = fopen ("conftest.val", "w");
15469 if (((long) (sizeof (int))) < 0)
15471 long i = longval ();
15472 if (i != ((long) (sizeof (int))))
15474 fprintf (f, "%ld\n", i);
15478 unsigned long i = ulongval ();
15479 if (i != ((long) (sizeof (int))))
15481 fprintf (f, "%lu\n", i);
15483 exit (ferror (f) || fclose (f) != 0);
15489 rm -f conftest
$ac_exeext
15490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15491 (eval $ac_link) 2>&5
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; }; then
15500 ac_cv_sizeof_int
=`cat conftest.val`
15502 echo "$as_me: program exited with status $ac_status" >&5
15503 echo "$as_me: failed program was:" >&5
15504 sed 's/^/| /' conftest.
$ac_ext >&5
15506 ( exit $ac_status )
15507 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15508 See \`config.log' for more details." >&5
15509 echo "$as_me: error: cannot compute sizeof (int), 77
15510 See \`config.log' for more details." >&2;}
15511 { (exit 1); exit 1; }; }
15513 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15521 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15522 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15523 cat >>confdefs.h
<<_ACEOF
15524 #define SIZEOF_INT $ac_cv_sizeof_int
15528 echo "$as_me:$LINENO: checking for short" >&5
15529 echo $ECHO_N "checking for short... $ECHO_C" >&6
15530 if test "${ac_cv_type_short+set}" = set; then
15531 echo $ECHO_N "(cached) $ECHO_C" >&6
15533 cat >conftest.
$ac_ext <<_ACEOF
15536 cat confdefs.h
>>conftest.
$ac_ext
15537 cat >>conftest.
$ac_ext <<_ACEOF
15538 /* end confdefs.h. */
15539 $ac_includes_default
15545 if (sizeof (short))
15551 rm -f conftest.
$ac_objext
15552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15553 (eval $ac_compile) 2>conftest.er1
15555 grep -v '^ *+' conftest.er1
>conftest.err
15557 cat conftest.err
>&5
15558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559 (exit $ac_status); } &&
15560 { ac_try
='test -z "$ac_c_werror_flag"
15561 || test ! -s conftest.err'
15562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15563 (eval $ac_try) 2>&5
15565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566 (exit $ac_status); }; } &&
15567 { ac_try
='test -s conftest.$ac_objext'
15568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15569 (eval $ac_try) 2>&5
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); }; }; then
15573 ac_cv_type_short
=yes
15575 echo "$as_me: failed program was:" >&5
15576 sed 's/^/| /' conftest.
$ac_ext >&5
15578 ac_cv_type_short
=no
15580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15582 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15583 echo "${ECHO_T}$ac_cv_type_short" >&6
15585 echo "$as_me:$LINENO: checking size of short" >&5
15586 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15587 if test "${ac_cv_sizeof_short+set}" = set; then
15588 echo $ECHO_N "(cached) $ECHO_C" >&6
15590 if test "$ac_cv_type_short" = yes; then
15591 # The cast to unsigned long works around a bug in the HP C Compiler
15592 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15593 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15594 # This bug is HP SR number 8606223364.
15595 if test "$cross_compiling" = yes; then
15596 # Depending upon the size, compute the lo and hi bounds.
15597 cat >conftest.
$ac_ext <<_ACEOF
15600 cat confdefs.h
>>conftest.
$ac_ext
15601 cat >>conftest.
$ac_ext <<_ACEOF
15602 /* end confdefs.h. */
15603 $ac_includes_default
15607 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15614 rm -f conftest.
$ac_objext
15615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15616 (eval $ac_compile) 2>conftest.er1
15618 grep -v '^ *+' conftest.er1
>conftest.err
15620 cat conftest.err
>&5
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 (exit $ac_status); } &&
15623 { ac_try
='test -z "$ac_c_werror_flag"
15624 || test ! -s conftest.err'
15625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15626 (eval $ac_try) 2>&5
15628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15629 (exit $ac_status); }; } &&
15630 { ac_try
='test -s conftest.$ac_objext'
15631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15632 (eval $ac_try) 2>&5
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); }; }; then
15638 cat >conftest.
$ac_ext <<_ACEOF
15641 cat confdefs.h
>>conftest.
$ac_ext
15642 cat >>conftest.
$ac_ext <<_ACEOF
15643 /* end confdefs.h. */
15644 $ac_includes_default
15648 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15655 rm -f conftest.
$ac_objext
15656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15657 (eval $ac_compile) 2>conftest.er1
15659 grep -v '^ *+' conftest.er1
>conftest.err
15661 cat conftest.err
>&5
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); } &&
15664 { ac_try
='test -z "$ac_c_werror_flag"
15665 || test ! -s conftest.err'
15666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15667 (eval $ac_try) 2>&5
15669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15670 (exit $ac_status); }; } &&
15671 { ac_try
='test -s conftest.$ac_objext'
15672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15673 (eval $ac_try) 2>&5
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); }; }; then
15677 ac_hi
=$ac_mid; break
15679 echo "$as_me: failed program was:" >&5
15680 sed 's/^/| /' conftest.
$ac_ext >&5
15682 ac_lo
=`expr $ac_mid + 1`
15683 if test $ac_lo -le $ac_mid; then
15687 ac_mid
=`expr 2 '*' $ac_mid + 1`
15689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15692 echo "$as_me: failed program was:" >&5
15693 sed 's/^/| /' conftest.
$ac_ext >&5
15695 cat >conftest.
$ac_ext <<_ACEOF
15698 cat confdefs.h
>>conftest.
$ac_ext
15699 cat >>conftest.
$ac_ext <<_ACEOF
15700 /* end confdefs.h. */
15701 $ac_includes_default
15705 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15712 rm -f conftest.
$ac_objext
15713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15714 (eval $ac_compile) 2>conftest.er1
15716 grep -v '^ *+' conftest.er1
>conftest.err
15718 cat conftest.err
>&5
15719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15720 (exit $ac_status); } &&
15721 { ac_try
='test -z "$ac_c_werror_flag"
15722 || test ! -s conftest.err'
15723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15724 (eval $ac_try) 2>&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); }; } &&
15728 { ac_try
='test -s conftest.$ac_objext'
15729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15730 (eval $ac_try) 2>&5
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); }; }; then
15736 cat >conftest.
$ac_ext <<_ACEOF
15739 cat confdefs.h
>>conftest.
$ac_ext
15740 cat >>conftest.
$ac_ext <<_ACEOF
15741 /* end confdefs.h. */
15742 $ac_includes_default
15746 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15753 rm -f conftest.
$ac_objext
15754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15755 (eval $ac_compile) 2>conftest.er1
15757 grep -v '^ *+' conftest.er1
>conftest.err
15759 cat conftest.err
>&5
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); } &&
15762 { ac_try
='test -z "$ac_c_werror_flag"
15763 || test ! -s conftest.err'
15764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15765 (eval $ac_try) 2>&5
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); }; } &&
15769 { ac_try
='test -s conftest.$ac_objext'
15770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15771 (eval $ac_try) 2>&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); }; }; then
15775 ac_lo
=$ac_mid; break
15777 echo "$as_me: failed program was:" >&5
15778 sed 's/^/| /' conftest.
$ac_ext >&5
15780 ac_hi
=`expr '(' $ac_mid ')' - 1`
15781 if test $ac_mid -le $ac_hi; then
15785 ac_mid
=`expr 2 '*' $ac_mid`
15787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15790 echo "$as_me: failed program was:" >&5
15791 sed 's/^/| /' conftest.
$ac_ext >&5
15795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15798 # Binary search between lo and hi bounds.
15799 while test "x$ac_lo" != "x$ac_hi"; do
15800 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15801 cat >conftest.
$ac_ext <<_ACEOF
15804 cat confdefs.h
>>conftest.
$ac_ext
15805 cat >>conftest.
$ac_ext <<_ACEOF
15806 /* end confdefs.h. */
15807 $ac_includes_default
15811 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15818 rm -f conftest.
$ac_objext
15819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15820 (eval $ac_compile) 2>conftest.er1
15822 grep -v '^ *+' conftest.er1
>conftest.err
15824 cat conftest.err
>&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); } &&
15827 { ac_try
='test -z "$ac_c_werror_flag"
15828 || test ! -s conftest.err'
15829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15830 (eval $ac_try) 2>&5
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); }; } &&
15834 { ac_try
='test -s conftest.$ac_objext'
15835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15836 (eval $ac_try) 2>&5
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); }; }; then
15842 echo "$as_me: failed program was:" >&5
15843 sed 's/^/| /' conftest.
$ac_ext >&5
15845 ac_lo
=`expr '(' $ac_mid ')' + 1`
15847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15850 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15851 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15852 See \`config.log' for more details." >&5
15853 echo "$as_me: error: cannot compute sizeof (short), 77
15854 See \`config.log' for more details." >&2;}
15855 { (exit 1); exit 1; }; } ;;
15858 if test "$cross_compiling" = yes; then
15859 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15860 See \`config.log' for more details." >&5
15861 echo "$as_me: error: cannot run test program while cross compiling
15862 See \`config.log' for more details." >&2;}
15863 { (exit 1); exit 1; }; }
15865 cat >conftest.
$ac_ext <<_ACEOF
15868 cat confdefs.h
>>conftest.
$ac_ext
15869 cat >>conftest.
$ac_ext <<_ACEOF
15870 /* end confdefs.h. */
15871 $ac_includes_default
15872 long longval () { return (long) (sizeof (short)); }
15873 unsigned long ulongval () { return (long) (sizeof (short)); }
15875 #include <stdlib.h>
15880 FILE *f = fopen ("conftest.val", "w");
15883 if (((long) (sizeof (short))) < 0)
15885 long i = longval ();
15886 if (i != ((long) (sizeof (short))))
15888 fprintf (f, "%ld\n", i);
15892 unsigned long i = ulongval ();
15893 if (i != ((long) (sizeof (short))))
15895 fprintf (f, "%lu\n", i);
15897 exit (ferror (f) || fclose (f) != 0);
15903 rm -f conftest
$ac_exeext
15904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15905 (eval $ac_link) 2>&5
15907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15910 (eval $ac_try) 2>&5
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); }; }; then
15914 ac_cv_sizeof_short
=`cat conftest.val`
15916 echo "$as_me: program exited with status $ac_status" >&5
15917 echo "$as_me: failed program was:" >&5
15918 sed 's/^/| /' conftest.
$ac_ext >&5
15920 ( exit $ac_status )
15921 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15922 See \`config.log' for more details." >&5
15923 echo "$as_me: error: cannot compute sizeof (short), 77
15924 See \`config.log' for more details." >&2;}
15925 { (exit 1); exit 1; }; }
15927 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15932 ac_cv_sizeof_short
=0
15935 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15936 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15937 cat >>confdefs.h
<<_ACEOF
15938 #define SIZEOF_SHORT $ac_cv_sizeof_short
15942 echo "$as_me:$LINENO: checking for char" >&5
15943 echo $ECHO_N "checking for char... $ECHO_C" >&6
15944 if test "${ac_cv_type_char+set}" = set; then
15945 echo $ECHO_N "(cached) $ECHO_C" >&6
15947 cat >conftest.
$ac_ext <<_ACEOF
15950 cat confdefs.h
>>conftest.
$ac_ext
15951 cat >>conftest.
$ac_ext <<_ACEOF
15952 /* end confdefs.h. */
15953 $ac_includes_default
15965 rm -f conftest.
$ac_objext
15966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15967 (eval $ac_compile) 2>conftest.er1
15969 grep -v '^ *+' conftest.er1
>conftest.err
15971 cat conftest.err
>&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); } &&
15974 { ac_try
='test -z "$ac_c_werror_flag"
15975 || test ! -s conftest.err'
15976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15977 (eval $ac_try) 2>&5
15979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15980 (exit $ac_status); }; } &&
15981 { ac_try
='test -s conftest.$ac_objext'
15982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15983 (eval $ac_try) 2>&5
15985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15986 (exit $ac_status); }; }; then
15987 ac_cv_type_char
=yes
15989 echo "$as_me: failed program was:" >&5
15990 sed 's/^/| /' conftest.
$ac_ext >&5
15994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15996 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15997 echo "${ECHO_T}$ac_cv_type_char" >&6
15999 echo "$as_me:$LINENO: checking size of char" >&5
16000 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16001 if test "${ac_cv_sizeof_char+set}" = set; then
16002 echo $ECHO_N "(cached) $ECHO_C" >&6
16004 if test "$ac_cv_type_char" = yes; then
16005 # The cast to unsigned long works around a bug in the HP C Compiler
16006 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16007 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16008 # This bug is HP SR number 8606223364.
16009 if test "$cross_compiling" = yes; then
16010 # Depending upon the size, compute the lo and hi bounds.
16011 cat >conftest.
$ac_ext <<_ACEOF
16014 cat confdefs.h
>>conftest.
$ac_ext
16015 cat >>conftest.
$ac_ext <<_ACEOF
16016 /* end confdefs.h. */
16017 $ac_includes_default
16021 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16028 rm -f conftest.
$ac_objext
16029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16030 (eval $ac_compile) 2>conftest.er1
16032 grep -v '^ *+' conftest.er1
>conftest.err
16034 cat conftest.err
>&5
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); } &&
16037 { ac_try
='test -z "$ac_c_werror_flag"
16038 || test ! -s conftest.err'
16039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16040 (eval $ac_try) 2>&5
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }; } &&
16044 { ac_try
='test -s conftest.$ac_objext'
16045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16046 (eval $ac_try) 2>&5
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); }; }; then
16052 cat >conftest.
$ac_ext <<_ACEOF
16055 cat confdefs.h
>>conftest.
$ac_ext
16056 cat >>conftest.
$ac_ext <<_ACEOF
16057 /* end confdefs.h. */
16058 $ac_includes_default
16062 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16069 rm -f conftest.
$ac_objext
16070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16071 (eval $ac_compile) 2>conftest.er1
16073 grep -v '^ *+' conftest.er1
>conftest.err
16075 cat conftest.err
>&5
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); } &&
16078 { ac_try
='test -z "$ac_c_werror_flag"
16079 || test ! -s conftest.err'
16080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16081 (eval $ac_try) 2>&5
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); }; } &&
16085 { ac_try
='test -s conftest.$ac_objext'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; }; then
16091 ac_hi
=$ac_mid; break
16093 echo "$as_me: failed program was:" >&5
16094 sed 's/^/| /' conftest.
$ac_ext >&5
16096 ac_lo
=`expr $ac_mid + 1`
16097 if test $ac_lo -le $ac_mid; then
16101 ac_mid
=`expr 2 '*' $ac_mid + 1`
16103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16106 echo "$as_me: failed program was:" >&5
16107 sed 's/^/| /' conftest.
$ac_ext >&5
16109 cat >conftest.
$ac_ext <<_ACEOF
16112 cat confdefs.h
>>conftest.
$ac_ext
16113 cat >>conftest.
$ac_ext <<_ACEOF
16114 /* end confdefs.h. */
16115 $ac_includes_default
16119 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16126 rm -f conftest.
$ac_objext
16127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16128 (eval $ac_compile) 2>conftest.er1
16130 grep -v '^ *+' conftest.er1
>conftest.err
16132 cat conftest.err
>&5
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 (exit $ac_status); } &&
16135 { ac_try
='test -z "$ac_c_werror_flag"
16136 || test ! -s conftest.err'
16137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16138 (eval $ac_try) 2>&5
16140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141 (exit $ac_status); }; } &&
16142 { ac_try
='test -s conftest.$ac_objext'
16143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16144 (eval $ac_try) 2>&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); }; }; then
16150 cat >conftest.
$ac_ext <<_ACEOF
16153 cat confdefs.h
>>conftest.
$ac_ext
16154 cat >>conftest.
$ac_ext <<_ACEOF
16155 /* end confdefs.h. */
16156 $ac_includes_default
16160 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16167 rm -f conftest.
$ac_objext
16168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16169 (eval $ac_compile) 2>conftest.er1
16171 grep -v '^ *+' conftest.er1
>conftest.err
16173 cat conftest.err
>&5
16174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175 (exit $ac_status); } &&
16176 { ac_try
='test -z "$ac_c_werror_flag"
16177 || test ! -s conftest.err'
16178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16179 (eval $ac_try) 2>&5
16181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16182 (exit $ac_status); }; } &&
16183 { ac_try
='test -s conftest.$ac_objext'
16184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16185 (eval $ac_try) 2>&5
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); }; }; then
16189 ac_lo
=$ac_mid; break
16191 echo "$as_me: failed program was:" >&5
16192 sed 's/^/| /' conftest.
$ac_ext >&5
16194 ac_hi
=`expr '(' $ac_mid ')' - 1`
16195 if test $ac_mid -le $ac_hi; then
16199 ac_mid
=`expr 2 '*' $ac_mid`
16201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16204 echo "$as_me: failed program was:" >&5
16205 sed 's/^/| /' conftest.
$ac_ext >&5
16209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16212 # Binary search between lo and hi bounds.
16213 while test "x$ac_lo" != "x$ac_hi"; do
16214 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16215 cat >conftest.
$ac_ext <<_ACEOF
16218 cat confdefs.h
>>conftest.
$ac_ext
16219 cat >>conftest.
$ac_ext <<_ACEOF
16220 /* end confdefs.h. */
16221 $ac_includes_default
16225 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16232 rm -f conftest.
$ac_objext
16233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16234 (eval $ac_compile) 2>conftest.er1
16236 grep -v '^ *+' conftest.er1
>conftest.err
16238 cat conftest.err
>&5
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); } &&
16241 { ac_try
='test -z "$ac_c_werror_flag"
16242 || test ! -s conftest.err'
16243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244 (eval $ac_try) 2>&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; } &&
16248 { ac_try
='test -s conftest.$ac_objext'
16249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250 (eval $ac_try) 2>&5
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }; }; then
16256 echo "$as_me: failed program was:" >&5
16257 sed 's/^/| /' conftest.
$ac_ext >&5
16259 ac_lo
=`expr '(' $ac_mid ')' + 1`
16261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16264 ?
*) ac_cv_sizeof_char
=$ac_lo;;
16265 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16266 See \`config.log' for more details." >&5
16267 echo "$as_me: error: cannot compute sizeof (char), 77
16268 See \`config.log' for more details." >&2;}
16269 { (exit 1); exit 1; }; } ;;
16272 if test "$cross_compiling" = yes; then
16273 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16274 See \`config.log' for more details." >&5
16275 echo "$as_me: error: cannot run test program while cross compiling
16276 See \`config.log' for more details." >&2;}
16277 { (exit 1); exit 1; }; }
16279 cat >conftest.
$ac_ext <<_ACEOF
16282 cat confdefs.h
>>conftest.
$ac_ext
16283 cat >>conftest.
$ac_ext <<_ACEOF
16284 /* end confdefs.h. */
16285 $ac_includes_default
16286 long longval () { return (long) (sizeof (char)); }
16287 unsigned long ulongval () { return (long) (sizeof (char)); }
16289 #include <stdlib.h>
16294 FILE *f = fopen ("conftest.val", "w");
16297 if (((long) (sizeof (char))) < 0)
16299 long i = longval ();
16300 if (i != ((long) (sizeof (char))))
16302 fprintf (f, "%ld\n", i);
16306 unsigned long i = ulongval ();
16307 if (i != ((long) (sizeof (char))))
16309 fprintf (f, "%lu\n", i);
16311 exit (ferror (f) || fclose (f) != 0);
16317 rm -f conftest
$ac_exeext
16318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16319 (eval $ac_link) 2>&5
16321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16322 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16324 (eval $ac_try) 2>&5
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); }; }; then
16328 ac_cv_sizeof_char
=`cat conftest.val`
16330 echo "$as_me: program exited with status $ac_status" >&5
16331 echo "$as_me: failed program was:" >&5
16332 sed 's/^/| /' conftest.
$ac_ext >&5
16334 ( exit $ac_status )
16335 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16336 See \`config.log' for more details." >&5
16337 echo "$as_me: error: cannot compute sizeof (char), 77
16338 See \`config.log' for more details." >&2;}
16339 { (exit 1); exit 1; }; }
16341 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16346 ac_cv_sizeof_char
=0
16349 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16350 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16351 cat >>confdefs.h
<<_ACEOF
16352 #define SIZEOF_CHAR $ac_cv_sizeof_char
16357 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
16358 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
16359 case "$ac_cv_sizeof_char" in
16360 1) acx_cv_type_int8_t
=char
;;
16361 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
16362 echo "$as_me: error: no 8-bit type" >&2;}
16363 { (exit please report a bug
); exit please report a bug
; }; }
16365 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
16366 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
16368 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
16369 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
16370 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16371 2:*) acx_cv_type_int16_t
=int
;;
16372 *:2) acx_cv_type_int16_t
=short
;;
16373 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
16374 echo "$as_me: error: no 16-bit type" >&2;}
16375 { (exit please report a bug
); exit please report a bug
; }; }
16377 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
16378 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
16380 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
16381 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
16382 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16383 4:*) acx_cv_type_int32_t
=int
;;
16384 *:4) acx_cv_type_int32_t
=long
;;
16385 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
16386 echo "$as_me: error: no 32-bit type" >&2;}
16387 { (exit please report a bug
); exit please report a bug
; }; }
16389 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
16390 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
16393 # These tests are here to make the output prettier
16395 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16396 case "$ac_cv_sizeof_long" in
16397 8) acx_cv_type_int64_t
=long
;;
16399 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
16400 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
16401 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16402 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
16405 # Now we can use the above types
16407 if test "$ac_cv_type_uintptr_t" != yes; then
16408 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
16409 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
16410 case $ac_cv_sizeof_void_p in
16411 2) acx_cv_type_intptr_t
=int16_t
;;
16412 4) acx_cv_type_intptr_t
=int32_t
;;
16413 8) acx_cv_type_intptr_t
=int64_t
;;
16414 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
16415 echo "$as_me: error: no equivalent for intptr_t" >&2;}
16416 { (exit please report a bug
); exit please report a bug
; }; }
16418 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
16419 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
16422 # ----------------- done all checks, emit header -------------
16423 ac_config_commands
="$ac_config_commands gstdint.h"
16428 # Check to see if -pthread or -lpthread is needed. Prefer the former.
16429 # In case the pthread.h system header is not found, this test will fail.
16431 CFLAGS
="$CFLAGS -pthread"
16432 cat >conftest.
$ac_ext <<_ACEOF
16435 cat confdefs.h
>>conftest.
$ac_ext
16436 cat >>conftest.
$ac_ext <<_ACEOF
16437 /* end confdefs.h. */
16438 #include <pthread.h>
16439 void *g(void *d) { return NULL; }
16443 pthread_t t; pthread_create(&t,NULL,g,NULL);
16448 rm -f conftest.
$ac_objext conftest
$ac_exeext
16449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16450 (eval $ac_link) 2>conftest.er1
16452 grep -v '^ *+' conftest.er1
>conftest.err
16454 cat conftest.err
>&5
16455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16456 (exit $ac_status); } &&
16457 { ac_try
='test -z "$ac_c_werror_flag"
16458 || test ! -s conftest.err'
16459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16460 (eval $ac_try) 2>&5
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); }; } &&
16464 { ac_try
='test -s conftest$ac_exeext'
16465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16466 (eval $ac_try) 2>&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); }; }; then
16470 XPCFLAGS
=" -Wc,-pthread"
16472 echo "$as_me: failed program was:" >&5
16473 sed 's/^/| /' conftest.
$ac_ext >&5
16475 CFLAGS
="$save_CFLAGS" LIBS
="-lpthread $LIBS"
16476 cat >conftest.
$ac_ext <<_ACEOF
16479 cat confdefs.h
>>conftest.
$ac_ext
16480 cat >>conftest.
$ac_ext <<_ACEOF
16481 /* end confdefs.h. */
16482 #include <pthread.h>
16483 void *g(void *d) { return NULL; }
16487 pthread_t t; pthread_create(&t,NULL,g,NULL);
16492 rm -f conftest.
$ac_objext conftest
$ac_exeext
16493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16494 (eval $ac_link) 2>conftest.er1
16496 grep -v '^ *+' conftest.er1
>conftest.err
16498 cat conftest.err
>&5
16499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16500 (exit $ac_status); } &&
16501 { ac_try
='test -z "$ac_c_werror_flag"
16502 || test ! -s conftest.err'
16503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16504 (eval $ac_try) 2>&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); }; } &&
16508 { ac_try
='test -s conftest$ac_exeext'
16509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510 (eval $ac_try) 2>&5
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); }; }; then
16516 echo "$as_me: failed program was:" >&5
16517 sed 's/^/| /' conftest.
$ac_ext >&5
16519 { { echo "$as_me:$LINENO: error: Pthreads are required to build libgomp" >&5
16520 echo "$as_me: error: Pthreads are required to build libgomp" >&2;}
16521 { (exit 1); exit 1; }; }
16523 rm -f conftest.err conftest.
$ac_objext \
16524 conftest
$ac_exeext conftest.
$ac_ext
16526 rm -f conftest.err conftest.
$ac_objext \
16527 conftest
$ac_exeext conftest.
$ac_ext
16529 # Check for functions needed.
16532 for ac_func
in getloadavg clock_gettime
16534 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16535 echo "$as_me:$LINENO: checking for $ac_func" >&5
16536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16537 if eval "test \"\${$as_ac_var+set}\" = set"; then
16538 echo $ECHO_N "(cached) $ECHO_C" >&6
16540 cat >conftest.
$ac_ext <<_ACEOF
16543 cat confdefs.h
>>conftest.
$ac_ext
16544 cat >>conftest.
$ac_ext <<_ACEOF
16545 /* end confdefs.h. */
16546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16548 #define $ac_func innocuous_$ac_func
16550 /* System header to define __stub macros and hopefully few prototypes,
16551 which can conflict with char $ac_func (); below.
16552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16553 <limits.h> exists even on freestanding compilers. */
16556 # include <limits.h>
16558 # include <assert.h>
16563 /* Override any gcc2 internal prototype to avoid an error. */
16568 /* We use char because int might match the return type of a gcc2
16569 builtin and then its argument prototype would still apply. */
16571 /* The GNU C library defines this for functions which it implements
16572 to always fail with ENOSYS. Some functions are actually named
16573 something starting with __ and the normal name is an alias. */
16574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16577 char (*f) () = $ac_func;
16586 return f != $ac_func;
16591 rm -f conftest.
$ac_objext conftest
$ac_exeext
16592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16593 (eval $ac_link) 2>conftest.er1
16595 grep -v '^ *+' conftest.er1
>conftest.err
16597 cat conftest.err
>&5
16598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599 (exit $ac_status); } &&
16600 { ac_try
='test -z "$ac_c_werror_flag"
16601 || test ! -s conftest.err'
16602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16603 (eval $ac_try) 2>&5
16605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16606 (exit $ac_status); }; } &&
16607 { ac_try
='test -s conftest$ac_exeext'
16608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16609 (eval $ac_try) 2>&5
16611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16612 (exit $ac_status); }; }; then
16613 eval "$as_ac_var=yes"
16615 echo "$as_me: failed program was:" >&5
16616 sed 's/^/| /' conftest.
$ac_ext >&5
16618 eval "$as_ac_var=no"
16620 rm -f conftest.err conftest.
$ac_objext \
16621 conftest
$ac_exeext conftest.
$ac_ext
16623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16625 if test `eval echo '${'$as_ac_var'}'` = yes; then
16626 cat >>confdefs.h
<<_ACEOF
16627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16634 # Check for broken semaphore implementation on darwin.
16635 # sem_init returns: sem_init error: Function not implemented.
16639 cat >>confdefs.h
<<\_ACEOF
16640 #define HAVE_BROKEN_POSIX_SEMAPHORES 1
16646 # Check whether --enable-linux-futex or --disable-linux-futex was given.
16647 if test "${enable_linux_futex+set}" = set; then
16648 enableval
="$enable_linux_futex"
16650 case "$enableval" in
16652 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
16653 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
16654 { (exit 1); exit 1; }; } ;;
16658 enable_linux_futex
=default
16663 case "$enable_linux_futex" in
16665 # If headers don't have gettid/futex syscalls definition, then
16666 # default to no, otherwise there will be compile time failures.
16667 # Otherwise, default to yes. If we don't detect we are
16668 # compiled/linked against NPTL and not cross-compiling, check
16669 # if programs are run by default against NPTL and if not, issue
16671 enable_linux_futex
=no
16672 cat >conftest.
$ac_ext <<_ACEOF
16675 cat confdefs.h
>>conftest.
$ac_ext
16676 cat >>conftest.
$ac_ext <<_ACEOF
16677 /* end confdefs.h. */
16678 #include <sys/syscall.h>
16683 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
16688 rm -f conftest.
$ac_objext conftest
$ac_exeext
16689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16690 (eval $ac_link) 2>conftest.er1
16692 grep -v '^ *+' conftest.er1
>conftest.err
16694 cat conftest.err
>&5
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); } &&
16697 { ac_try
='test -z "$ac_c_werror_flag"
16698 || test ! -s conftest.err'
16699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16700 (eval $ac_try) 2>&5
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); }; } &&
16704 { ac_try
='test -s conftest$ac_exeext'
16705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16706 (eval $ac_try) 2>&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); }; }; then
16711 LIBS
="-lpthread $LIBS"
16712 cat >conftest.
$ac_ext <<_ACEOF
16715 cat confdefs.h
>>conftest.
$ac_ext
16716 cat >>conftest.
$ac_ext <<_ACEOF
16717 /* end confdefs.h. */
16718 #ifndef _GNU_SOURCE
16719 #define _GNU_SOURCE 1
16721 #include <pthread.h>
16722 pthread_t th; void *status;
16726 pthread_tryjoin_np (th, &status);
16731 rm -f conftest.
$ac_objext conftest
$ac_exeext
16732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16733 (eval $ac_link) 2>conftest.er1
16735 grep -v '^ *+' conftest.er1
>conftest.err
16737 cat conftest.err
>&5
16738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); } &&
16740 { ac_try
='test -z "$ac_c_werror_flag"
16741 || test ! -s conftest.err'
16742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16743 (eval $ac_try) 2>&5
16745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16746 (exit $ac_status); }; } &&
16747 { ac_try
='test -s conftest$ac_exeext'
16748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16749 (eval $ac_try) 2>&5
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); }; }; then
16753 enable_linux_futex
=yes
16755 echo "$as_me: failed program was:" >&5
16756 sed 's/^/| /' conftest.
$ac_ext >&5
16758 if test x
$cross_compiling = xno
; then
16759 if getconf GNU_LIBPTHREAD_VERSION
2>/dev
/null \
16760 | LC_ALL
=C
grep -i NPTL
> /dev
/null
2>/dev
/null
; then :; else
16761 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
16762 If so, please configure with --disable-linux-futex" >&5
16763 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
16764 If so, please configure with --disable-linux-futex" >&2;}
16767 enable_linux_futex
=yes
16769 rm -f conftest.err conftest.
$ac_objext \
16770 conftest
$ac_exeext conftest.
$ac_ext
16773 echo "$as_me: failed program was:" >&5
16774 sed 's/^/| /' conftest.
$ac_ext >&5
16777 rm -f conftest.err conftest.
$ac_objext \
16778 conftest
$ac_exeext conftest.
$ac_ext
16781 cat >conftest.
$ac_ext <<_ACEOF
16784 cat confdefs.h
>>conftest.
$ac_ext
16785 cat >>conftest.
$ac_ext <<_ACEOF
16786 /* end confdefs.h. */
16787 #include <sys/syscall.h>
16792 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
16797 rm -f conftest.
$ac_objext conftest
$ac_exeext
16798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16799 (eval $ac_link) 2>conftest.er1
16801 grep -v '^ *+' conftest.er1
>conftest.err
16803 cat conftest.err
>&5
16804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16805 (exit $ac_status); } &&
16806 { ac_try
='test -z "$ac_c_werror_flag"
16807 || test ! -s conftest.err'
16808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16809 (eval $ac_try) 2>&5
16811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 (exit $ac_status); }; } &&
16813 { ac_try
='test -s conftest$ac_exeext'
16814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16815 (eval $ac_try) 2>&5
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); }; }; then
16821 echo "$as_me: failed program was:" >&5
16822 sed 's/^/| /' conftest.
$ac_ext >&5
16824 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
16825 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
16826 { (exit 1); exit 1; }; }
16828 rm -f conftest.err conftest.
$ac_objext \
16829 conftest
$ac_exeext conftest.
$ac_ext
16834 enable_linux_futex
=no
16837 if test x
$enable_linux_futex = xyes
; then
16842 # Check for pthread_{,attr_}[sg]etaffinity_np.
16843 cat >conftest.
$ac_ext <<_ACEOF
16846 cat confdefs.h
>>conftest.
$ac_ext
16847 cat >>conftest.
$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16849 #define _GNU_SOURCE
16850 #include <pthread.h>
16855 pthread_attr_t attr;
16856 pthread_getaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
16857 if (CPU_ISSET (0, &cpuset))
16858 CPU_SET (1, &cpuset);
16860 CPU_ZERO (&cpuset);
16861 pthread_setaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
16862 pthread_attr_init (&attr);
16863 pthread_attr_getaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
16864 pthread_attr_setaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
16869 rm -f conftest.
$ac_objext conftest
$ac_exeext
16870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16871 (eval $ac_link) 2>conftest.er1
16873 grep -v '^ *+' conftest.er1
>conftest.err
16875 cat conftest.err
>&5
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); } &&
16878 { ac_try
='test -z "$ac_c_werror_flag"
16879 || test ! -s conftest.err'
16880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16881 (eval $ac_try) 2>&5
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); }; } &&
16885 { ac_try
='test -s conftest$ac_exeext'
16886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16887 (eval $ac_try) 2>&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); }; }; then
16892 cat >>confdefs.h
<<\_ACEOF
16893 #define HAVE_PTHREAD_AFFINITY_NP 1
16897 echo "$as_me: failed program was:" >&5
16898 sed 's/^/| /' conftest.
$ac_ext >&5
16901 rm -f conftest.err conftest.
$ac_objext \
16902 conftest
$ac_exeext conftest.
$ac_ext
16904 # At least for glibc, clock_gettime is in librt. But don't pull that
16905 # in if it still doesn't give us the function we want.
16906 if test $ac_cv_func_clock_gettime = no
; then
16907 echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
16908 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
16909 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
16910 echo $ECHO_N "(cached) $ECHO_C" >&6
16912 ac_check_lib_save_LIBS
=$LIBS
16914 cat >conftest.
$ac_ext <<_ACEOF
16917 cat confdefs.h
>>conftest.
$ac_ext
16918 cat >>conftest.
$ac_ext <<_ACEOF
16919 /* end confdefs.h. */
16921 /* Override any gcc2 internal prototype to avoid an error. */
16925 /* We use char because int might match the return type of a gcc2
16926 builtin and then its argument prototype would still apply. */
16927 char clock_gettime ();
16936 rm -f conftest.
$ac_objext conftest
$ac_exeext
16937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16938 (eval $ac_link) 2>conftest.er1
16940 grep -v '^ *+' conftest.er1
>conftest.err
16942 cat conftest.err
>&5
16943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16944 (exit $ac_status); } &&
16945 { ac_try
='test -z "$ac_c_werror_flag"
16946 || test ! -s conftest.err'
16947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16948 (eval $ac_try) 2>&5
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }; } &&
16952 { ac_try
='test -s conftest$ac_exeext'
16953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16954 (eval $ac_try) 2>&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); }; }; then
16958 ac_cv_lib_rt_clock_gettime
=yes
16960 echo "$as_me: failed program was:" >&5
16961 sed 's/^/| /' conftest.
$ac_ext >&5
16963 ac_cv_lib_rt_clock_gettime
=no
16965 rm -f conftest.err conftest.
$ac_objext \
16966 conftest
$ac_exeext conftest.
$ac_ext
16967 LIBS
=$ac_check_lib_save_LIBS
16969 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
16970 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
16971 if test $ac_cv_lib_rt_clock_gettime = yes; then
16974 cat >>confdefs.h
<<\_ACEOF
16975 #define HAVE_CLOCK_GETTIME 1
16982 # See if we support thread-local storage.
16984 # Check whether --enable-tls or --disable-tls was given.
16985 if test "${enable_tls+set}" = set; then
16986 enableval
="$enable_tls"
16988 case "$enableval" in
16990 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
16991 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
16992 { (exit 1); exit 1; }; } ;;
16999 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
17000 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
17001 if test "${gcc_cv_have_tls+set}" = set; then
17002 echo $ECHO_N "(cached) $ECHO_C" >&6
17005 if test "$cross_compiling" = yes; then
17006 cat >conftest.
$ac_ext <<_ACEOF
17007 __thread int a; int b; int main() { return a = b; }
17009 rm -f conftest.
$ac_objext conftest
$ac_exeext
17010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17011 (eval $ac_link) 2>conftest.er1
17013 grep -v '^ *+' conftest.er1
>conftest.err
17015 cat conftest.err
>&5
17016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017 (exit $ac_status); } &&
17018 { ac_try
='test -z "$ac_c_werror_flag"
17019 || test ! -s conftest.err'
17020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17021 (eval $ac_try) 2>&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; } &&
17025 { ac_try
='test -s conftest$ac_exeext'
17026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17027 (eval $ac_try) 2>&5
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); }; }; then
17031 gcc_cv_have_tls
=yes
17033 echo "$as_me: failed program was:" >&5
17034 sed 's/^/| /' conftest.
$ac_ext >&5
17038 rm -f conftest.err conftest.
$ac_objext \
17039 conftest
$ac_exeext conftest.
$ac_ext
17043 cat >conftest.
$ac_ext <<_ACEOF
17044 __thread int a; int b; int main() { return a = b; }
17046 rm -f conftest
$ac_exeext
17047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17048 (eval $ac_link) 2>&5
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17053 (eval $ac_try) 2>&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); }; }; then
17057 chktls_save_LDFLAGS
="$LDFLAGS"
17058 LDFLAGS
="-static $LDFLAGS"
17059 cat >conftest.
$ac_ext <<_ACEOF
17060 int main() { return 0; }
17062 rm -f conftest.
$ac_objext conftest
$ac_exeext
17063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17064 (eval $ac_link) 2>conftest.er1
17066 grep -v '^ *+' conftest.er1
>conftest.err
17068 cat conftest.err
>&5
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); } &&
17071 { ac_try
='test -z "$ac_c_werror_flag"
17072 || test ! -s conftest.err'
17073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17074 (eval $ac_try) 2>&5
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); }; } &&
17078 { ac_try
='test -s conftest$ac_exeext'
17079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17080 (eval $ac_try) 2>&5
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); }; }; then
17084 if test "$cross_compiling" = yes; then
17085 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17086 See \`config.log' for more details." >&5
17087 echo "$as_me: error: cannot run test program while cross compiling
17088 See \`config.log' for more details." >&2;}
17089 { (exit 1); exit 1; }; }
17091 cat >conftest.
$ac_ext <<_ACEOF
17092 __thread int a; int b; int main() { return a = b; }
17094 rm -f conftest
$ac_exeext
17095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17096 (eval $ac_link) 2>&5
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17101 (eval $ac_try) 2>&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); }; }; then
17105 gcc_cv_have_tls
=yes
17107 echo "$as_me: program exited with status $ac_status" >&5
17108 echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.
$ac_ext >&5
17111 ( exit $ac_status )
17114 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17117 echo "$as_me: failed program was:" >&5
17118 sed 's/^/| /' conftest.
$ac_ext >&5
17120 gcc_cv_have_tls
=yes
17122 rm -f conftest.err conftest.
$ac_objext \
17123 conftest
$ac_exeext conftest.
$ac_ext
17124 LDFLAGS
="$chktls_save_LDFLAGS"
17125 if test $gcc_cv_have_tls = yes; then
17126 chktls_save_CFLAGS
="$CFLAGS"
17127 thread_CFLAGS
=failed
17128 for flag
in '' '-pthread' '-lpthread'; do
17129 CFLAGS
="$flag $chktls_save_CFLAGS"
17130 cat >conftest.
$ac_ext <<_ACEOF
17133 cat confdefs.h
>>conftest.
$ac_ext
17134 cat >>conftest.
$ac_ext <<_ACEOF
17135 /* end confdefs.h. */
17136 #include <pthread.h>
17137 void *g(void *d) { return NULL; }
17141 pthread_t t; pthread_create(&t,NULL,g,NULL);
17146 rm -f conftest.
$ac_objext conftest
$ac_exeext
17147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17148 (eval $ac_link) 2>conftest.er1
17150 grep -v '^ *+' conftest.er1
>conftest.err
17152 cat conftest.err
>&5
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); } &&
17155 { ac_try
='test -z "$ac_c_werror_flag"
17156 || test ! -s conftest.err'
17157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17158 (eval $ac_try) 2>&5
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); }; } &&
17162 { ac_try
='test -s conftest$ac_exeext'
17163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17164 (eval $ac_try) 2>&5
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; }; then
17168 thread_CFLAGS
="$flag"
17170 echo "$as_me: failed program was:" >&5
17171 sed 's/^/| /' conftest.
$ac_ext >&5
17174 rm -f conftest.err conftest.
$ac_objext \
17175 conftest
$ac_exeext conftest.
$ac_ext
17176 if test "X$thread_CFLAGS" != Xfailed
; then
17180 CFLAGS
="$chktls_save_CFLAGS"
17181 if test "X$thread_CFLAGS" != Xfailed
; then
17182 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
17183 if test "$cross_compiling" = yes; then
17184 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17185 See \`config.log' for more details." >&5
17186 echo "$as_me: error: cannot run test program while cross compiling
17187 See \`config.log' for more details." >&2;}
17188 { (exit 1); exit 1; }; }
17190 cat >conftest.
$ac_ext <<_ACEOF
17193 cat confdefs.h
>>conftest.
$ac_ext
17194 cat >>conftest.
$ac_ext <<_ACEOF
17195 /* end confdefs.h. */
17196 #include <pthread.h>
17198 static int *a_in_other_thread;
17200 thread_func (void *arg)
17202 a_in_other_thread = &a;
17209 void *thread_retval;
17210 int *a_in_main_thread;
17211 if (pthread_create (&thread, (pthread_attr_t *)0,
17212 thread_func, (void *)0))
17214 a_in_main_thread = &a;
17215 if (pthread_join (thread, &thread_retval))
17217 return (a_in_other_thread == a_in_main_thread);
17222 rm -f conftest
$ac_exeext
17223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17224 (eval $ac_link) 2>&5
17226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17227 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17229 (eval $ac_try) 2>&5
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); }; }; then
17233 gcc_cv_have_tls
=yes
17235 echo "$as_me: program exited with status $ac_status" >&5
17236 echo "$as_me: failed program was:" >&5
17237 sed 's/^/| /' conftest.
$ac_ext >&5
17239 ( exit $ac_status )
17242 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17244 CFLAGS
="$chktls_save_CFLAGS"
17248 echo "$as_me: program exited with status $ac_status" >&5
17249 echo "$as_me: failed program was:" >&5
17250 sed 's/^/| /' conftest.
$ac_ext >&5
17252 ( exit $ac_status )
17255 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17258 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
17259 echo "${ECHO_T}$gcc_cv_have_tls" >&6
17260 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
17262 cat >>confdefs.h
<<\_ACEOF
17268 # See what sort of export controls are availible.
17270 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
17271 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
17272 if test "${have_attribute_visibility+set}" = set; then
17273 echo $ECHO_N "(cached) $ECHO_C" >&6
17276 save_CFLAGS
="$CFLAGS"
17277 CFLAGS
="$CFLAGS -Werror"
17278 cat >conftest.
$ac_ext <<_ACEOF
17281 cat confdefs.h
>>conftest.
$ac_ext
17282 cat >>conftest.
$ac_ext <<_ACEOF
17283 /* end confdefs.h. */
17284 void __attribute__((visibility("hidden"))) foo(void) { }
17293 rm -f conftest.
$ac_objext
17294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17295 (eval $ac_compile) 2>conftest.er1
17297 grep -v '^ *+' conftest.er1
>conftest.err
17299 cat conftest.err
>&5
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); } &&
17302 { ac_try
='test -z "$ac_c_werror_flag"
17303 || test ! -s conftest.err'
17304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305 (eval $ac_try) 2>&5
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); }; } &&
17309 { ac_try
='test -s conftest.$ac_objext'
17310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17311 (eval $ac_try) 2>&5
17313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314 (exit $ac_status); }; }; then
17315 have_attribute_visibility
=yes
17317 echo "$as_me: failed program was:" >&5
17318 sed 's/^/| /' conftest.
$ac_ext >&5
17320 have_attribute_visibility
=no
17322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17323 CFLAGS
="$save_CFLAGS"
17325 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
17326 echo "${ECHO_T}$have_attribute_visibility" >&6
17327 if test $have_attribute_visibility = yes; then
17329 cat >>confdefs.h
<<\_ACEOF
17330 #define HAVE_ATTRIBUTE_VISIBILITY 1
17335 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
17336 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
17337 if test "${have_attribute_dllexport+set}" = set; then
17338 echo $ECHO_N "(cached) $ECHO_C" >&6
17341 save_CFLAGS
="$CFLAGS"
17342 CFLAGS
="$CFLAGS -Werror"
17343 cat >conftest.
$ac_ext <<_ACEOF
17346 cat confdefs.h
>>conftest.
$ac_ext
17347 cat >>conftest.
$ac_ext <<_ACEOF
17348 /* end confdefs.h. */
17349 void __attribute__((dllexport)) foo(void) { }
17358 rm -f conftest.
$ac_objext
17359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17360 (eval $ac_compile) 2>conftest.er1
17362 grep -v '^ *+' conftest.er1
>conftest.err
17364 cat conftest.err
>&5
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); } &&
17367 { ac_try
='test -z "$ac_c_werror_flag"
17368 || test ! -s conftest.err'
17369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17370 (eval $ac_try) 2>&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); }; } &&
17374 { ac_try
='test -s conftest.$ac_objext'
17375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17376 (eval $ac_try) 2>&5
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); }; }; then
17380 have_attribute_dllexport
=yes
17382 echo "$as_me: failed program was:" >&5
17383 sed 's/^/| /' conftest.
$ac_ext >&5
17385 have_attribute_dllexport
=no
17387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17388 CFLAGS
="$save_CFLAGS"
17390 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
17391 echo "${ECHO_T}$have_attribute_dllexport" >&6
17392 if test $have_attribute_dllexport = yes; then
17394 cat >>confdefs.h
<<\_ACEOF
17395 #define HAVE_ATTRIBUTE_DLLEXPORT 1
17400 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
17401 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
17402 if test "${have_attribute_alias+set}" = set; then
17403 echo $ECHO_N "(cached) $ECHO_C" >&6
17406 cat >conftest.
$ac_ext <<_ACEOF
17409 cat confdefs.h
>>conftest.
$ac_ext
17410 cat >>conftest.
$ac_ext <<_ACEOF
17411 /* end confdefs.h. */
17414 extern void bar(void) __attribute__((alias("foo")));
17423 rm -f conftest.
$ac_objext conftest
$ac_exeext
17424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17425 (eval $ac_link) 2>conftest.er1
17427 grep -v '^ *+' conftest.er1
>conftest.err
17429 cat conftest.err
>&5
17430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17431 (exit $ac_status); } &&
17432 { ac_try
='test -z "$ac_c_werror_flag"
17433 || test ! -s conftest.err'
17434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17435 (eval $ac_try) 2>&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); }; } &&
17439 { ac_try
='test -s conftest$ac_exeext'
17440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17441 (eval $ac_try) 2>&5
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); }; }; then
17445 have_attribute_alias
=yes
17447 echo "$as_me: failed program was:" >&5
17448 sed 's/^/| /' conftest.
$ac_ext >&5
17450 have_attribute_alias
=no
17452 rm -f conftest.err conftest.
$ac_objext \
17453 conftest
$ac_exeext conftest.
$ac_ext
17455 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
17456 echo "${ECHO_T}$have_attribute_alias" >&6
17457 if test $have_attribute_alias = yes; then
17459 cat >>confdefs.h
<<\_ACEOF
17460 #define HAVE_ATTRIBUTE_ALIAS 1
17466 # Check whether --with-gnu-ld or --without-gnu-ld was given.
17467 if test "${with_gnu_ld+set}" = set; then
17468 withval
="$with_gnu_ld"
17469 test "$withval" = no || with_gnu_ld
=yes
17474 if test "$GCC" = yes; then
17475 # Check if gcc -print-prog-name=ld gives a path.
17476 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
17477 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
17480 # gcc leaves a trailing carriage return which upsets mingw
17481 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17483 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
17486 # Accept absolute paths.
17488 re_direlt
='/[^/][^/]*/\.\./'
17489 # Canonicalize the pathname of ld
17490 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
17491 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
17492 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
17494 test -z "$LD" && LD
="$ac_prog"
17497 # If it fails, then pretend we aren't using GCC.
17501 # If it is relative, then search for the first ld in PATH.
17502 with_gnu_ld
=unknown
17505 elif test "$with_gnu_ld" = yes; then
17506 echo "$as_me:$LINENO: checking for GNU ld" >&5
17507 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
17509 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
17510 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
17512 if test "${lt_cv_path_LD+set}" = set; then
17513 echo $ECHO_N "(cached) $ECHO_C" >&6
17515 if test -z "$LD"; then
17516 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
17517 for ac_dir
in $PATH; do
17519 test -z "$ac_dir" && ac_dir
=.
17520 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
17521 lt_cv_path_LD
="$ac_dir/$ac_prog"
17522 # Check to see if the program is GNU ld. I'd rather use --version,
17523 # but apparently some variants of GNU ld only accept -v.
17524 # Break only if it was the GNU/non-GNU ld that we prefer.
17525 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
17526 *GNU
* |
*'with BFD'*)
17527 test "$with_gnu_ld" != no
&& break
17530 test "$with_gnu_ld" != yes && break
17537 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
17541 LD
="$lt_cv_path_LD"
17542 if test -n "$LD"; then
17543 echo "$as_me:$LINENO: result: $LD" >&5
17544 echo "${ECHO_T}$LD" >&6
17546 echo "$as_me:$LINENO: result: no" >&5
17547 echo "${ECHO_T}no" >&6
17549 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
17550 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
17551 { (exit 1); exit 1; }; }
17552 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
17553 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
17554 if test "${lt_cv_prog_gnu_ld+set}" = set; then
17555 echo $ECHO_N "(cached) $ECHO_C" >&6
17557 # I'd rather use --version here, but apparently some GNU lds only accept -v.
17558 case `$LD -v 2>&1 </dev/null` in
17559 *GNU
* |
*'with BFD'*)
17560 lt_cv_prog_gnu_ld
=yes
17563 lt_cv_prog_gnu_ld
=no
17567 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
17568 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
17569 with_gnu_ld
=$lt_cv_prog_gnu_ld
17577 # If we're not using GNU ld, then there's no point in even trying these
17578 # tests. Check for that first. We should have already tested for gld
17579 # by now (in libtool), but require it now just to be safe...
17580 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
17581 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
17585 # The name set by libtool depends on the version of libtool. Shame on us
17586 # for depending on an impl detail, but c'est la vie. Older versions used
17587 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
17588 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
17589 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
17590 # set (hence we're using an older libtool), then set it.
17591 if test x
${with_gnu_ld+set} != xset
; then
17592 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
17593 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
17596 with_gnu_ld
=$ac_cv_prog_gnu_ld
17600 # Start by getting the version number. I think the libtool test already
17601 # does some of this, but throws away the result.
17603 ldver
=`$LD --version 2>/dev/null | head -1 | \
17604 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
17606 libgomp_gnu_ld_version
=`echo $ldver | \
17607 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
17609 # Set --gc-sections.
17610 if test "$with_gnu_ld" = "notbroken"; then
17611 # GNU ld it is! Joy and bunny rabbits!
17613 # All these tests are for C++; save the language and the compiler flags.
17614 # Need to do this so that g++ won't try to link in libstdc++
17615 ac_test_CFLAGS
="${CFLAGS+set}"
17616 ac_save_CFLAGS
="$CFLAGS"
17617 CFLAGS
='-x c++ -Wl,--gc-sections'
17619 # Check for -Wl,--gc-sections
17620 # XXX This test is broken at the moment, as symbols required for linking
17621 # are now in libsupc++ (not built yet). In addition, this test has
17622 # cored on solaris in the past. In addition, --gc-sections doesn't
17623 # really work at the moment (keeps on discarding used sections, first
17624 # .eh_frame and now some of the glibc sections for iconv).
17625 # Bzzzzt. Thanks for playing, maybe next time.
17626 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
17627 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
17628 if test "$cross_compiling" = yes; then
17629 ac_sectionLDflags
=yes
17631 cat >conftest.
$ac_ext <<_ACEOF
17634 cat confdefs.h
>>conftest.
$ac_ext
17635 cat >>conftest.
$ac_ext <<_ACEOF
17636 /* end confdefs.h. */
17646 rm -f conftest
$ac_exeext
17647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17648 (eval $ac_link) 2>&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17653 (eval $ac_try) 2>&5
17655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17656 (exit $ac_status); }; }; then
17657 ac_sectionLDflags
=yes
17659 echo "$as_me: program exited with status $ac_status" >&5
17660 echo "$as_me: failed program was:" >&5
17661 sed 's/^/| /' conftest.
$ac_ext >&5
17663 ( exit $ac_status )
17664 ac_sectionLDflags
=no
17666 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17668 if test "$ac_test_CFLAGS" = set; then
17669 CFLAGS
="$ac_save_CFLAGS"
17671 # this is the suspicious part
17674 if test "$ac_sectionLDflags" = "yes"; then
17675 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
17677 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
17678 echo "${ECHO_T}$ac_sectionLDflags" >&6
17681 # Set linker optimization flags.
17682 if test x
"$with_gnu_ld" = x
"yes"; then
17683 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
17691 # Check whether --enable-symvers or --disable-symvers was given.
17692 if test "${enable_symvers+set}" = set; then
17693 enableval
="$enable_symvers"
17695 case "$enableval" in
17697 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
17698 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
17699 { (exit 1); exit 1; }; } ;;
17707 # If we never went through the LIBGOMP_CHECK_LINKER_FEATURES macro, then we
17708 # don't know enough about $LD to do tricks...
17710 # FIXME The following test is too strict, in theory.
17711 if test $enable_shared = no ||
17713 test x
$libgomp_gnu_ld_version = x
; then
17717 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
17718 if test $enable_symvers != no
; then
17719 echo "$as_me:$LINENO: checking for shared libgcc" >&5
17720 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
17721 ac_save_CFLAGS
="$CFLAGS"
17723 cat >conftest.
$ac_ext <<_ACEOF
17726 cat confdefs.h
>>conftest.
$ac_ext
17727 cat >>conftest.
$ac_ext <<_ACEOF
17728 /* end confdefs.h. */
17738 rm -f conftest.
$ac_objext conftest
$ac_exeext
17739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17740 (eval $ac_link) 2>conftest.er1
17742 grep -v '^ *+' conftest.er1
>conftest.err
17744 cat conftest.err
>&5
17745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746 (exit $ac_status); } &&
17747 { ac_try
='test -z "$ac_c_werror_flag"
17748 || test ! -s conftest.err'
17749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17750 (eval $ac_try) 2>&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); }; } &&
17754 { ac_try
='test -s conftest$ac_exeext'
17755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17756 (eval $ac_try) 2>&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); }; }; then
17760 libgomp_shared_libgcc
=yes
17762 echo "$as_me: failed program was:" >&5
17763 sed 's/^/| /' conftest.
$ac_ext >&5
17765 libgomp_shared_libgcc
=no
17767 rm -f conftest.err conftest.
$ac_objext \
17768 conftest
$ac_exeext conftest.
$ac_ext
17769 CFLAGS
="$ac_save_CFLAGS"
17770 if test $libgomp_shared_libgcc = no
; then
17771 cat > conftest.c
<<EOF
17772 int main (void) { return 0; }
17774 libgomp_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
17775 -shared -shared-libgcc -o conftest.so \
17776 conftest.c -v 2>&1 >/dev/null \
17777 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
17778 rm -f conftest.c conftest.so
17779 if test x
${libgomp_libgcc_s_suffix+set} = xset
; then
17780 CFLAGS
=" -lgcc_s$libgomp_libgcc_s_suffix"
17781 cat >conftest.
$ac_ext <<_ACEOF
17784 cat confdefs.h
>>conftest.
$ac_ext
17785 cat >>conftest.
$ac_ext <<_ACEOF
17786 /* end confdefs.h. */
17796 rm -f conftest.
$ac_objext conftest
$ac_exeext
17797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17798 (eval $ac_link) 2>conftest.er1
17800 grep -v '^ *+' conftest.er1
>conftest.err
17802 cat conftest.err
>&5
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); } &&
17805 { ac_try
='test -z "$ac_c_werror_flag"
17806 || test ! -s conftest.err'
17807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17808 (eval $ac_try) 2>&5
17810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 (exit $ac_status); }; } &&
17812 { ac_try
='test -s conftest$ac_exeext'
17813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17814 (eval $ac_try) 2>&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); }; }; then
17818 libgomp_shared_libgcc
=yes
17820 echo "$as_me: failed program was:" >&5
17821 sed 's/^/| /' conftest.
$ac_ext >&5
17824 rm -f conftest.err conftest.
$ac_objext \
17825 conftest
$ac_exeext conftest.
$ac_ext
17826 CFLAGS
="$ac_save_CFLAGS"
17829 echo "$as_me:$LINENO: result: $libgomp_shared_libgcc" >&5
17830 echo "${ECHO_T}$libgomp_shared_libgcc" >&6
17833 # For GNU ld, we need at least this version. The format is described in
17834 # LIBGOMP_CHECK_LINKER_FEATURES above.
17835 libgomp_min_gnu_ld_version
=21400
17836 # XXXXXXXXXXX libgomp_gnu_ld_version=21390
17838 # Check to see if unspecified "yes" value can win, given results above.
17839 # Change "yes" into either "no" or a style name.
17840 if test $enable_symvers = yes; then
17841 if test $with_gnu_ld = yes &&
17842 test $libgomp_shared_libgcc = yes;
17844 if test $libgomp_gnu_ld_version -ge $libgomp_min_gnu_ld_version ; then
17847 # The right tools, the right setup, but too old. Fallbacks?
17848 { echo "$as_me:$LINENO: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&5
17849 echo "$as_me: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&2;}
17850 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
17851 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
17852 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
17853 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
17854 { echo "$as_me:$LINENO: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&5
17855 echo "$as_me: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&2;}
17856 if test $libgomp_gnu_ld_version -ge 21200 ; then
17857 # Globbing fix is present, proper block support is not.
17858 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
17859 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
17863 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
17864 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
17869 # just fail for now
17870 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
17871 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
17872 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
17873 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
17874 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
17875 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
17876 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
17877 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
17884 if test $enable_symvers != no
; then
17885 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
=
17886 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
='#'
17888 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
='#'
17889 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
=
17892 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
17893 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
17896 # Get target configury.
17897 .
${srcdir}/configure.tgt
17898 CFLAGS
="$save_CFLAGS $XCFLAGS"
17900 # Check for __sync_val_compare_and_swap, but only after the target has
17901 # had a chance to set XCFLAGS.
17903 echo "$as_me:$LINENO: checking whether the target supports __sync_*_compare_and_swap" >&5
17904 echo $ECHO_N "checking whether the target supports __sync_*_compare_and_swap... $ECHO_C" >&6
17905 if test "${have_sync_builtins+set}" = set; then
17906 echo $ECHO_N "(cached) $ECHO_C" >&6
17909 cat >conftest.
$ac_ext <<_ACEOF
17912 cat confdefs.h
>>conftest.
$ac_ext
17913 cat >>conftest.
$ac_ext <<_ACEOF
17914 /* end confdefs.h. */
17919 int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);
17924 rm -f conftest.
$ac_objext conftest
$ac_exeext
17925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17926 (eval $ac_link) 2>conftest.er1
17928 grep -v '^ *+' conftest.er1
>conftest.err
17930 cat conftest.err
>&5
17931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17932 (exit $ac_status); } &&
17933 { ac_try
='test -z "$ac_c_werror_flag"
17934 || test ! -s conftest.err'
17935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17936 (eval $ac_try) 2>&5
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); }; } &&
17940 { ac_try
='test -s conftest$ac_exeext'
17941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17942 (eval $ac_try) 2>&5
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); }; }; then
17946 have_sync_builtins
=yes
17948 echo "$as_me: failed program was:" >&5
17949 sed 's/^/| /' conftest.
$ac_ext >&5
17951 have_sync_builtins
=no
17953 rm -f conftest.err conftest.
$ac_objext \
17954 conftest
$ac_exeext conftest.
$ac_ext
17956 echo "$as_me:$LINENO: result: $have_sync_builtins" >&5
17957 echo "${ECHO_T}$have_sync_builtins" >&6
17958 if test $have_sync_builtins = yes; then
17960 cat >>confdefs.h
<<\_ACEOF
17961 #define HAVE_SYNC_BUILTINS 1
17966 XCFLAGS
="$XCFLAGS$XPCFLAGS"
17972 # Cleanup and exit.
17973 CFLAGS
="$save_CFLAGS"
17974 cat >confcache
<<\_ACEOF
17975 # This file is a shell script that caches the results of configure
17976 # tests run on this system so they can be shared between configure
17977 # scripts and configure runs, see configure's option --config-cache.
17978 # It is not useful on other systems. If it contains results you don't
17979 # want to keep, you may remove or edit it.
17981 # config.status only pays attention to the cache file if you give it
17982 # the --recheck option to rerun configure.
17984 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17985 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17986 # following values.
17990 # The following way of writing the cache mishandles newlines in values,
17991 # but we know of no workaround that is simple, portable, and efficient.
17992 # So, don't put newlines in cache variables' values.
17993 # Ultrix sh set writes to stderr and can't be redirected directly,
17994 # and sets the high bit in the cache file unless we assign to the vars.
17997 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17999 # `set' does not quote correctly, so add quotes (double-quote
18000 # substitution turns \\\\ into \\, and sed turns \\ into \).
18003 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18006 # `set' quotes correctly as required by POSIX, so do not add quotes.
18008 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18015 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18017 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18019 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18020 if test -w $cache_file; then
18021 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18022 cat confcache
>$cache_file
18024 echo "not updating unwritable cache $cache_file"
18029 if test ${multilib} = yes; then
18030 multilib_arg
="--enable-multilib"
18035 # Set up the set of libraries that we need to link against for libgomp.
18036 # Note that the GOMP_SELF_SPEC in gcc.c will force -pthread for -fopenmp,
18037 # which will force linkage against -lpthread (or equivalent for the system).
18038 # That's not 100% ideal, but about the best we can do easily.
18039 if test $enable_shared = yes; then
18040 link_gomp
="-lgomp %{static: $LIBS}"
18042 link_gomp
="-lgomp $LIBS"
18048 if test "$ac_cv_fc_compiler_gnu" = yes; then
18050 USE_FORTRAN_FALSE
='#'
18052 USE_FORTRAN_TRUE
='#'
18057 # ??? 2006-01-24: Paulo committed to asking autoconf folk to document
18058 # and export AC_COMPUTE_INT. If that happens, then we'll need to remove
18059 # the underscore here and update the PREREQ. If it doesn't, then we'll
18060 # need to copy this macro to our acinclude.m4.
18061 save_CFLAGS
="$CFLAGS"
18062 for i
in $config_path; do
18063 if test -f $srcdir/config
/$i/omp-lock.h
; then
18064 CFLAGS
="$CFLAGS -include $srcdir/config/$i/omp-lock.h"
18069 if test "$cross_compiling" = yes; then
18070 # Depending upon the size, compute the lo and hi bounds.
18071 cat >conftest.
$ac_ext <<_ACEOF
18074 cat confdefs.h
>>conftest.
$ac_ext
18075 cat >>conftest.
$ac_ext <<_ACEOF
18076 /* end confdefs.h. */
18081 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) >= 0)];
18088 rm -f conftest.
$ac_objext
18089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18090 (eval $ac_compile) 2>conftest.er1
18092 grep -v '^ *+' conftest.er1
>conftest.err
18094 cat conftest.err
>&5
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); } &&
18097 { ac_try
='test -z "$ac_c_werror_flag"
18098 || test ! -s conftest.err'
18099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18100 (eval $ac_try) 2>&5
18102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103 (exit $ac_status); }; } &&
18104 { ac_try
='test -s conftest.$ac_objext'
18105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18106 (eval $ac_try) 2>&5
18108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109 (exit $ac_status); }; }; then
18112 cat >conftest.
$ac_ext <<_ACEOF
18115 cat confdefs.h
>>conftest.
$ac_ext
18116 cat >>conftest.
$ac_ext <<_ACEOF
18117 /* end confdefs.h. */
18122 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) <= $ac_mid)];
18129 rm -f conftest.
$ac_objext
18130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18131 (eval $ac_compile) 2>conftest.er1
18133 grep -v '^ *+' conftest.er1
>conftest.err
18135 cat conftest.err
>&5
18136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18137 (exit $ac_status); } &&
18138 { ac_try
='test -z "$ac_c_werror_flag"
18139 || test ! -s conftest.err'
18140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18141 (eval $ac_try) 2>&5
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); }; } &&
18145 { ac_try
='test -s conftest.$ac_objext'
18146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18147 (eval $ac_try) 2>&5
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); }; }; then
18151 ac_hi
=$ac_mid; break
18153 echo "$as_me: failed program was:" >&5
18154 sed 's/^/| /' conftest.
$ac_ext >&5
18156 ac_lo
=`expr $ac_mid + 1`
18157 if test $ac_lo -le $ac_mid; then
18161 ac_mid
=`expr 2 '*' $ac_mid + 1`
18163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18166 echo "$as_me: failed program was:" >&5
18167 sed 's/^/| /' conftest.
$ac_ext >&5
18169 cat >conftest.
$ac_ext <<_ACEOF
18172 cat confdefs.h
>>conftest.
$ac_ext
18173 cat >>conftest.
$ac_ext <<_ACEOF
18174 /* end confdefs.h. */
18179 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) < 0)];
18186 rm -f conftest.
$ac_objext
18187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18188 (eval $ac_compile) 2>conftest.er1
18190 grep -v '^ *+' conftest.er1
>conftest.err
18192 cat conftest.err
>&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); } &&
18195 { ac_try
='test -z "$ac_c_werror_flag"
18196 || test ! -s conftest.err'
18197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18198 (eval $ac_try) 2>&5
18200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201 (exit $ac_status); }; } &&
18202 { ac_try
='test -s conftest.$ac_objext'
18203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18204 (eval $ac_try) 2>&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); }; }; then
18210 cat >conftest.
$ac_ext <<_ACEOF
18213 cat confdefs.h
>>conftest.
$ac_ext
18214 cat >>conftest.
$ac_ext <<_ACEOF
18215 /* end confdefs.h. */
18220 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) >= $ac_mid)];
18227 rm -f conftest.
$ac_objext
18228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18229 (eval $ac_compile) 2>conftest.er1
18231 grep -v '^ *+' conftest.er1
>conftest.err
18233 cat conftest.err
>&5
18234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235 (exit $ac_status); } &&
18236 { ac_try
='test -z "$ac_c_werror_flag"
18237 || test ! -s conftest.err'
18238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18239 (eval $ac_try) 2>&5
18241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242 (exit $ac_status); }; } &&
18243 { ac_try
='test -s conftest.$ac_objext'
18244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18245 (eval $ac_try) 2>&5
18247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18248 (exit $ac_status); }; }; then
18249 ac_lo
=$ac_mid; break
18251 echo "$as_me: failed program was:" >&5
18252 sed 's/^/| /' conftest.
$ac_ext >&5
18254 ac_hi
=`expr '(' $ac_mid ')' - 1`
18255 if test $ac_mid -le $ac_hi; then
18259 ac_mid
=`expr 2 '*' $ac_mid`
18261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18264 echo "$as_me: failed program was:" >&5
18265 sed 's/^/| /' conftest.
$ac_ext >&5
18269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18272 # Binary search between lo and hi bounds.
18273 while test "x$ac_lo" != "x$ac_hi"; do
18274 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18275 cat >conftest.
$ac_ext <<_ACEOF
18278 cat confdefs.h
>>conftest.
$ac_ext
18279 cat >>conftest.
$ac_ext <<_ACEOF
18280 /* end confdefs.h. */
18285 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) <= $ac_mid)];
18292 rm -f conftest.
$ac_objext
18293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18294 (eval $ac_compile) 2>conftest.er1
18296 grep -v '^ *+' conftest.er1
>conftest.err
18298 cat conftest.err
>&5
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); } &&
18301 { ac_try
='test -z "$ac_c_werror_flag"
18302 || test ! -s conftest.err'
18303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18304 (eval $ac_try) 2>&5
18306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18307 (exit $ac_status); }; } &&
18308 { ac_try
='test -s conftest.$ac_objext'
18309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18310 (eval $ac_try) 2>&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); }; }; then
18316 echo "$as_me: failed program was:" >&5
18317 sed 's/^/| /' conftest.
$ac_ext >&5
18319 ac_lo
=`expr '(' $ac_mid ')' + 1`
18321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18324 ?
*) OMP_LOCK_SIZE
=$ac_lo;;
18325 '') { { echo "$as_me:$LINENO: error: unsupported system, cannot find sizeof (omp_lock_t)" >&5
18326 echo "$as_me: error: unsupported system, cannot find sizeof (omp_lock_t)" >&2;}
18327 { (exit 1); exit 1; }; } ;;
18330 if test "$cross_compiling" = yes; then
18331 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18332 See \`config.log' for more details." >&5
18333 echo "$as_me: error: cannot run test program while cross compiling
18334 See \`config.log' for more details." >&2;}
18335 { (exit 1); exit 1; }; }
18337 cat >conftest.
$ac_ext <<_ACEOF
18340 cat confdefs.h
>>conftest.
$ac_ext
18341 cat >>conftest.
$ac_ext <<_ACEOF
18342 /* end confdefs.h. */
18344 long longval () { return sizeof (omp_lock_t); }
18345 unsigned long ulongval () { return sizeof (omp_lock_t); }
18347 #include <stdlib.h>
18352 FILE *f = fopen ("conftest.val", "w");
18355 if ((sizeof (omp_lock_t)) < 0)
18357 long i = longval ();
18358 if (i != (sizeof (omp_lock_t)))
18360 fprintf (f, "%ld\n", i);
18364 unsigned long i = ulongval ();
18365 if (i != (sizeof (omp_lock_t)))
18367 fprintf (f, "%lu\n", i);
18369 exit (ferror (f) || fclose (f) != 0);
18375 rm -f conftest
$ac_exeext
18376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18377 (eval $ac_link) 2>&5
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18382 (eval $ac_try) 2>&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); }; }; then
18386 OMP_LOCK_SIZE
=`cat conftest.val`
18388 echo "$as_me: program exited with status $ac_status" >&5
18389 echo "$as_me: failed program was:" >&5
18390 sed 's/^/| /' conftest.
$ac_ext >&5
18392 ( exit $ac_status )
18393 { { echo "$as_me:$LINENO: error: unsupported system, cannot find sizeof (omp_lock_t)" >&5
18394 echo "$as_me: error: unsupported system, cannot find sizeof (omp_lock_t)" >&2;}
18395 { (exit 1); exit 1; }; }
18397 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18401 if test "$cross_compiling" = yes; then
18402 # Depending upon the size, compute the lo and hi bounds.
18403 cat >conftest.
$ac_ext <<_ACEOF
18406 cat confdefs.h
>>conftest.
$ac_ext
18407 cat >>conftest.
$ac_ext <<_ACEOF
18408 /* end confdefs.h. */
18413 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) >= 0)];
18420 rm -f conftest.
$ac_objext
18421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18422 (eval $ac_compile) 2>conftest.er1
18424 grep -v '^ *+' conftest.er1
>conftest.err
18426 cat conftest.err
>&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); } &&
18429 { ac_try
='test -z "$ac_c_werror_flag"
18430 || test ! -s conftest.err'
18431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432 (eval $ac_try) 2>&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); }; } &&
18436 { ac_try
='test -s conftest.$ac_objext'
18437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18438 (eval $ac_try) 2>&5
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); }; }; then
18444 cat >conftest.
$ac_ext <<_ACEOF
18447 cat confdefs.h
>>conftest.
$ac_ext
18448 cat >>conftest.
$ac_ext <<_ACEOF
18449 /* end confdefs.h. */
18454 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) <= $ac_mid)];
18461 rm -f conftest.
$ac_objext
18462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18463 (eval $ac_compile) 2>conftest.er1
18465 grep -v '^ *+' conftest.er1
>conftest.err
18467 cat conftest.err
>&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); } &&
18470 { ac_try
='test -z "$ac_c_werror_flag"
18471 || test ! -s conftest.err'
18472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18473 (eval $ac_try) 2>&5
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); }; } &&
18477 { ac_try
='test -s conftest.$ac_objext'
18478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18479 (eval $ac_try) 2>&5
18481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18482 (exit $ac_status); }; }; then
18483 ac_hi
=$ac_mid; break
18485 echo "$as_me: failed program was:" >&5
18486 sed 's/^/| /' conftest.
$ac_ext >&5
18488 ac_lo
=`expr $ac_mid + 1`
18489 if test $ac_lo -le $ac_mid; then
18493 ac_mid
=`expr 2 '*' $ac_mid + 1`
18495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18498 echo "$as_me: failed program was:" >&5
18499 sed 's/^/| /' conftest.
$ac_ext >&5
18501 cat >conftest.
$ac_ext <<_ACEOF
18504 cat confdefs.h
>>conftest.
$ac_ext
18505 cat >>conftest.
$ac_ext <<_ACEOF
18506 /* end confdefs.h. */
18511 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) < 0)];
18518 rm -f conftest.
$ac_objext
18519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18520 (eval $ac_compile) 2>conftest.er1
18522 grep -v '^ *+' conftest.er1
>conftest.err
18524 cat conftest.err
>&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); } &&
18527 { ac_try
='test -z "$ac_c_werror_flag"
18528 || test ! -s conftest.err'
18529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18530 (eval $ac_try) 2>&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); }; } &&
18534 { ac_try
='test -s conftest.$ac_objext'
18535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18536 (eval $ac_try) 2>&5
18538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18539 (exit $ac_status); }; }; then
18542 cat >conftest.
$ac_ext <<_ACEOF
18545 cat confdefs.h
>>conftest.
$ac_ext
18546 cat >>conftest.
$ac_ext <<_ACEOF
18547 /* end confdefs.h. */
18552 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) >= $ac_mid)];
18559 rm -f conftest.
$ac_objext
18560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18561 (eval $ac_compile) 2>conftest.er1
18563 grep -v '^ *+' conftest.er1
>conftest.err
18565 cat conftest.err
>&5
18566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18567 (exit $ac_status); } &&
18568 { ac_try
='test -z "$ac_c_werror_flag"
18569 || test ! -s conftest.err'
18570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18571 (eval $ac_try) 2>&5
18573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18574 (exit $ac_status); }; } &&
18575 { ac_try
='test -s conftest.$ac_objext'
18576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18577 (eval $ac_try) 2>&5
18579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580 (exit $ac_status); }; }; then
18581 ac_lo
=$ac_mid; break
18583 echo "$as_me: failed program was:" >&5
18584 sed 's/^/| /' conftest.
$ac_ext >&5
18586 ac_hi
=`expr '(' $ac_mid ')' - 1`
18587 if test $ac_mid -le $ac_hi; then
18591 ac_mid
=`expr 2 '*' $ac_mid`
18593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18596 echo "$as_me: failed program was:" >&5
18597 sed 's/^/| /' conftest.
$ac_ext >&5
18601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18604 # Binary search between lo and hi bounds.
18605 while test "x$ac_lo" != "x$ac_hi"; do
18606 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18607 cat >conftest.
$ac_ext <<_ACEOF
18610 cat confdefs.h
>>conftest.
$ac_ext
18611 cat >>conftest.
$ac_ext <<_ACEOF
18612 /* end confdefs.h. */
18617 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) <= $ac_mid)];
18624 rm -f conftest.
$ac_objext
18625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18626 (eval $ac_compile) 2>conftest.er1
18628 grep -v '^ *+' conftest.er1
>conftest.err
18630 cat conftest.err
>&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); } &&
18633 { ac_try
='test -z "$ac_c_werror_flag"
18634 || test ! -s conftest.err'
18635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18636 (eval $ac_try) 2>&5
18638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18639 (exit $ac_status); }; } &&
18640 { ac_try
='test -s conftest.$ac_objext'
18641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18642 (eval $ac_try) 2>&5
18644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18645 (exit $ac_status); }; }; then
18648 echo "$as_me: failed program was:" >&5
18649 sed 's/^/| /' conftest.
$ac_ext >&5
18651 ac_lo
=`expr '(' $ac_mid ')' + 1`
18653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18656 ?
*) OMP_LOCK_ALIGN
=$ac_lo;;
18660 if test "$cross_compiling" = yes; then
18661 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18662 See \`config.log' for more details." >&5
18663 echo "$as_me: error: cannot run test program while cross compiling
18664 See \`config.log' for more details." >&2;}
18665 { (exit 1); exit 1; }; }
18667 cat >conftest.
$ac_ext <<_ACEOF
18670 cat confdefs.h
>>conftest.
$ac_ext
18671 cat >>conftest.
$ac_ext <<_ACEOF
18672 /* end confdefs.h. */
18674 long longval () { return __alignof (omp_lock_t); }
18675 unsigned long ulongval () { return __alignof (omp_lock_t); }
18677 #include <stdlib.h>
18682 FILE *f = fopen ("conftest.val", "w");
18685 if ((__alignof (omp_lock_t)) < 0)
18687 long i = longval ();
18688 if (i != (__alignof (omp_lock_t)))
18690 fprintf (f, "%ld\n", i);
18694 unsigned long i = ulongval ();
18695 if (i != (__alignof (omp_lock_t)))
18697 fprintf (f, "%lu\n", i);
18699 exit (ferror (f) || fclose (f) != 0);
18705 rm -f conftest
$ac_exeext
18706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18707 (eval $ac_link) 2>&5
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18712 (eval $ac_try) 2>&5
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); }; }; then
18716 OMP_LOCK_ALIGN
=`cat conftest.val`
18718 echo "$as_me: program exited with status $ac_status" >&5
18719 echo "$as_me: failed program was:" >&5
18720 sed 's/^/| /' conftest.
$ac_ext >&5
18723 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18727 if test "$cross_compiling" = yes; then
18728 # Depending upon the size, compute the lo and hi bounds.
18729 cat >conftest.
$ac_ext <<_ACEOF
18732 cat confdefs.h
>>conftest.
$ac_ext
18733 cat >>conftest.
$ac_ext <<_ACEOF
18734 /* end confdefs.h. */
18739 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) >= 0)];
18746 rm -f conftest.
$ac_objext
18747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18748 (eval $ac_compile) 2>conftest.er1
18750 grep -v '^ *+' conftest.er1
>conftest.err
18752 cat conftest.err
>&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); } &&
18755 { ac_try
='test -z "$ac_c_werror_flag"
18756 || test ! -s conftest.err'
18757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18758 (eval $ac_try) 2>&5
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); }; } &&
18762 { ac_try
='test -s conftest.$ac_objext'
18763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18764 (eval $ac_try) 2>&5
18766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767 (exit $ac_status); }; }; then
18770 cat >conftest.
$ac_ext <<_ACEOF
18773 cat confdefs.h
>>conftest.
$ac_ext
18774 cat >>conftest.
$ac_ext <<_ACEOF
18775 /* end confdefs.h. */
18780 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) <= $ac_mid)];
18787 rm -f conftest.
$ac_objext
18788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18789 (eval $ac_compile) 2>conftest.er1
18791 grep -v '^ *+' conftest.er1
>conftest.err
18793 cat conftest.err
>&5
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); } &&
18796 { ac_try
='test -z "$ac_c_werror_flag"
18797 || test ! -s conftest.err'
18798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18799 (eval $ac_try) 2>&5
18801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18802 (exit $ac_status); }; } &&
18803 { ac_try
='test -s conftest.$ac_objext'
18804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18805 (eval $ac_try) 2>&5
18807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18808 (exit $ac_status); }; }; then
18809 ac_hi
=$ac_mid; break
18811 echo "$as_me: failed program was:" >&5
18812 sed 's/^/| /' conftest.
$ac_ext >&5
18814 ac_lo
=`expr $ac_mid + 1`
18815 if test $ac_lo -le $ac_mid; then
18819 ac_mid
=`expr 2 '*' $ac_mid + 1`
18821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18824 echo "$as_me: failed program was:" >&5
18825 sed 's/^/| /' conftest.
$ac_ext >&5
18827 cat >conftest.
$ac_ext <<_ACEOF
18830 cat confdefs.h
>>conftest.
$ac_ext
18831 cat >>conftest.
$ac_ext <<_ACEOF
18832 /* end confdefs.h. */
18837 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) < 0)];
18844 rm -f conftest.
$ac_objext
18845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18846 (eval $ac_compile) 2>conftest.er1
18848 grep -v '^ *+' conftest.er1
>conftest.err
18850 cat conftest.err
>&5
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); } &&
18853 { ac_try
='test -z "$ac_c_werror_flag"
18854 || test ! -s conftest.err'
18855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18856 (eval $ac_try) 2>&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); }; } &&
18860 { ac_try
='test -s conftest.$ac_objext'
18861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18862 (eval $ac_try) 2>&5
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); }; }; then
18868 cat >conftest.
$ac_ext <<_ACEOF
18871 cat confdefs.h
>>conftest.
$ac_ext
18872 cat >>conftest.
$ac_ext <<_ACEOF
18873 /* end confdefs.h. */
18878 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) >= $ac_mid)];
18885 rm -f conftest.
$ac_objext
18886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18887 (eval $ac_compile) 2>conftest.er1
18889 grep -v '^ *+' conftest.er1
>conftest.err
18891 cat conftest.err
>&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); } &&
18894 { ac_try
='test -z "$ac_c_werror_flag"
18895 || test ! -s conftest.err'
18896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18897 (eval $ac_try) 2>&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); }; } &&
18901 { ac_try
='test -s conftest.$ac_objext'
18902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18903 (eval $ac_try) 2>&5
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); }; }; then
18907 ac_lo
=$ac_mid; break
18909 echo "$as_me: failed program was:" >&5
18910 sed 's/^/| /' conftest.
$ac_ext >&5
18912 ac_hi
=`expr '(' $ac_mid ')' - 1`
18913 if test $ac_mid -le $ac_hi; then
18917 ac_mid
=`expr 2 '*' $ac_mid`
18919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18922 echo "$as_me: failed program was:" >&5
18923 sed 's/^/| /' conftest.
$ac_ext >&5
18927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18930 # Binary search between lo and hi bounds.
18931 while test "x$ac_lo" != "x$ac_hi"; do
18932 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18933 cat >conftest.
$ac_ext <<_ACEOF
18936 cat confdefs.h
>>conftest.
$ac_ext
18937 cat >>conftest.
$ac_ext <<_ACEOF
18938 /* end confdefs.h. */
18943 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) <= $ac_mid)];
18950 rm -f conftest.
$ac_objext
18951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18952 (eval $ac_compile) 2>conftest.er1
18954 grep -v '^ *+' conftest.er1
>conftest.err
18956 cat conftest.err
>&5
18957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18958 (exit $ac_status); } &&
18959 { ac_try
='test -z "$ac_c_werror_flag"
18960 || test ! -s conftest.err'
18961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18962 (eval $ac_try) 2>&5
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); }; } &&
18966 { ac_try
='test -s conftest.$ac_objext'
18967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18968 (eval $ac_try) 2>&5
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); }; }; then
18974 echo "$as_me: failed program was:" >&5
18975 sed 's/^/| /' conftest.
$ac_ext >&5
18977 ac_lo
=`expr '(' $ac_mid ')' + 1`
18979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18982 ?
*) OMP_NEST_LOCK_SIZE
=$ac_lo;;
18986 if test "$cross_compiling" = yes; then
18987 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18988 See \`config.log' for more details." >&5
18989 echo "$as_me: error: cannot run test program while cross compiling
18990 See \`config.log' for more details." >&2;}
18991 { (exit 1); exit 1; }; }
18993 cat >conftest.
$ac_ext <<_ACEOF
18996 cat confdefs.h
>>conftest.
$ac_ext
18997 cat >>conftest.
$ac_ext <<_ACEOF
18998 /* end confdefs.h. */
19000 long longval () { return sizeof (omp_nest_lock_t); }
19001 unsigned long ulongval () { return sizeof (omp_nest_lock_t); }
19003 #include <stdlib.h>
19008 FILE *f = fopen ("conftest.val", "w");
19011 if ((sizeof (omp_nest_lock_t)) < 0)
19013 long i = longval ();
19014 if (i != (sizeof (omp_nest_lock_t)))
19016 fprintf (f, "%ld\n", i);
19020 unsigned long i = ulongval ();
19021 if (i != (sizeof (omp_nest_lock_t)))
19023 fprintf (f, "%lu\n", i);
19025 exit (ferror (f) || fclose (f) != 0);
19031 rm -f conftest
$ac_exeext
19032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19033 (eval $ac_link) 2>&5
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19038 (eval $ac_try) 2>&5
19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19041 (exit $ac_status); }; }; then
19042 OMP_NEST_LOCK_SIZE
=`cat conftest.val`
19044 echo "$as_me: program exited with status $ac_status" >&5
19045 echo "$as_me: failed program was:" >&5
19046 sed 's/^/| /' conftest.
$ac_ext >&5
19049 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19053 if test "$cross_compiling" = yes; then
19054 # Depending upon the size, compute the lo and hi bounds.
19055 cat >conftest.
$ac_ext <<_ACEOF
19058 cat confdefs.h
>>conftest.
$ac_ext
19059 cat >>conftest.
$ac_ext <<_ACEOF
19060 /* end confdefs.h. */
19065 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) >= 0)];
19072 rm -f conftest.
$ac_objext
19073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19074 (eval $ac_compile) 2>conftest.er1
19076 grep -v '^ *+' conftest.er1
>conftest.err
19078 cat conftest.err
>&5
19079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080 (exit $ac_status); } &&
19081 { ac_try
='test -z "$ac_c_werror_flag"
19082 || test ! -s conftest.err'
19083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19084 (eval $ac_try) 2>&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); }; } &&
19088 { ac_try
='test -s conftest.$ac_objext'
19089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19090 (eval $ac_try) 2>&5
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); }; }; then
19096 cat >conftest.
$ac_ext <<_ACEOF
19099 cat confdefs.h
>>conftest.
$ac_ext
19100 cat >>conftest.
$ac_ext <<_ACEOF
19101 /* end confdefs.h. */
19106 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) <= $ac_mid)];
19113 rm -f conftest.
$ac_objext
19114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19115 (eval $ac_compile) 2>conftest.er1
19117 grep -v '^ *+' conftest.er1
>conftest.err
19119 cat conftest.err
>&5
19120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19121 (exit $ac_status); } &&
19122 { ac_try
='test -z "$ac_c_werror_flag"
19123 || test ! -s conftest.err'
19124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19125 (eval $ac_try) 2>&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); }; } &&
19129 { ac_try
='test -s conftest.$ac_objext'
19130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19131 (eval $ac_try) 2>&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); }; }; then
19135 ac_hi
=$ac_mid; break
19137 echo "$as_me: failed program was:" >&5
19138 sed 's/^/| /' conftest.
$ac_ext >&5
19140 ac_lo
=`expr $ac_mid + 1`
19141 if test $ac_lo -le $ac_mid; then
19145 ac_mid
=`expr 2 '*' $ac_mid + 1`
19147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19150 echo "$as_me: failed program was:" >&5
19151 sed 's/^/| /' conftest.
$ac_ext >&5
19153 cat >conftest.
$ac_ext <<_ACEOF
19156 cat confdefs.h
>>conftest.
$ac_ext
19157 cat >>conftest.
$ac_ext <<_ACEOF
19158 /* end confdefs.h. */
19163 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) < 0)];
19170 rm -f conftest.
$ac_objext
19171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19172 (eval $ac_compile) 2>conftest.er1
19174 grep -v '^ *+' conftest.er1
>conftest.err
19176 cat conftest.err
>&5
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); } &&
19179 { ac_try
='test -z "$ac_c_werror_flag"
19180 || test ! -s conftest.err'
19181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19182 (eval $ac_try) 2>&5
19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185 (exit $ac_status); }; } &&
19186 { ac_try
='test -s conftest.$ac_objext'
19187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19188 (eval $ac_try) 2>&5
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); }; }; then
19194 cat >conftest.
$ac_ext <<_ACEOF
19197 cat confdefs.h
>>conftest.
$ac_ext
19198 cat >>conftest.
$ac_ext <<_ACEOF
19199 /* end confdefs.h. */
19204 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) >= $ac_mid)];
19211 rm -f conftest.
$ac_objext
19212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19213 (eval $ac_compile) 2>conftest.er1
19215 grep -v '^ *+' conftest.er1
>conftest.err
19217 cat conftest.err
>&5
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); } &&
19220 { ac_try
='test -z "$ac_c_werror_flag"
19221 || test ! -s conftest.err'
19222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19223 (eval $ac_try) 2>&5
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); }; } &&
19227 { ac_try
='test -s conftest.$ac_objext'
19228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19229 (eval $ac_try) 2>&5
19231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19232 (exit $ac_status); }; }; then
19233 ac_lo
=$ac_mid; break
19235 echo "$as_me: failed program was:" >&5
19236 sed 's/^/| /' conftest.
$ac_ext >&5
19238 ac_hi
=`expr '(' $ac_mid ')' - 1`
19239 if test $ac_mid -le $ac_hi; then
19243 ac_mid
=`expr 2 '*' $ac_mid`
19245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19248 echo "$as_me: failed program was:" >&5
19249 sed 's/^/| /' conftest.
$ac_ext >&5
19253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19256 # Binary search between lo and hi bounds.
19257 while test "x$ac_lo" != "x$ac_hi"; do
19258 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19259 cat >conftest.
$ac_ext <<_ACEOF
19262 cat confdefs.h
>>conftest.
$ac_ext
19263 cat >>conftest.
$ac_ext <<_ACEOF
19264 /* end confdefs.h. */
19269 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) <= $ac_mid)];
19276 rm -f conftest.
$ac_objext
19277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19278 (eval $ac_compile) 2>conftest.er1
19280 grep -v '^ *+' conftest.er1
>conftest.err
19282 cat conftest.err
>&5
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); } &&
19285 { ac_try
='test -z "$ac_c_werror_flag"
19286 || test ! -s conftest.err'
19287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19288 (eval $ac_try) 2>&5
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); }; } &&
19292 { ac_try
='test -s conftest.$ac_objext'
19293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19294 (eval $ac_try) 2>&5
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); }; }; then
19300 echo "$as_me: failed program was:" >&5
19301 sed 's/^/| /' conftest.
$ac_ext >&5
19303 ac_lo
=`expr '(' $ac_mid ')' + 1`
19305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19308 ?
*) OMP_NEST_LOCK_ALIGN
=$ac_lo;;
19312 if test "$cross_compiling" = yes; then
19313 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19314 See \`config.log' for more details." >&5
19315 echo "$as_me: error: cannot run test program while cross compiling
19316 See \`config.log' for more details." >&2;}
19317 { (exit 1); exit 1; }; }
19319 cat >conftest.
$ac_ext <<_ACEOF
19322 cat confdefs.h
>>conftest.
$ac_ext
19323 cat >>conftest.
$ac_ext <<_ACEOF
19324 /* end confdefs.h. */
19326 long longval () { return __alignof (omp_nest_lock_t); }
19327 unsigned long ulongval () { return __alignof (omp_nest_lock_t); }
19329 #include <stdlib.h>
19334 FILE *f = fopen ("conftest.val", "w");
19337 if ((__alignof (omp_nest_lock_t)) < 0)
19339 long i = longval ();
19340 if (i != (__alignof (omp_nest_lock_t)))
19342 fprintf (f, "%ld\n", i);
19346 unsigned long i = ulongval ();
19347 if (i != (__alignof (omp_nest_lock_t)))
19349 fprintf (f, "%lu\n", i);
19351 exit (ferror (f) || fclose (f) != 0);
19357 rm -f conftest
$ac_exeext
19358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19359 (eval $ac_link) 2>&5
19361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19364 (eval $ac_try) 2>&5
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); }; }; then
19368 OMP_NEST_LOCK_ALIGN
=`cat conftest.val`
19370 echo "$as_me: program exited with status $ac_status" >&5
19371 echo "$as_me: failed program was:" >&5
19372 sed 's/^/| /' conftest.
$ac_ext >&5
19375 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19380 # If the lock fits in an integer, then arrange for Fortran to use that
19381 # integer. If it doesn't, then arrange for Fortran to use a pointer.
19382 # Except that we don't have a way at present to multi-lib the installed
19383 # Fortran modules, so we assume 8 bytes for pointers, regardless of the
19385 OMP_LOCK_KIND
=$OMP_LOCK_SIZE
19386 OMP_NEST_LOCK_KIND
=$OMP_NEST_LOCK_SIZE
19387 if test $OMP_LOCK_SIZE -gt 8 ||
test $OMP_LOCK_ALIGN -gt $OMP_LOCK_SIZE; then
19390 if test $OMP_NEST_LOCK_SIZE -gt 8 ||
test $OMP_NEST_LOCK_ALIGN -gt $OMP_NEST_LOCK_SIZE; then
19391 OMP_NEST_LOCK_KIND
=8
19400 CFLAGS
="$save_CFLAGS"
19402 ac_config_files
="$ac_config_files omp.h omp_lib.h omp_lib.f90 libgomp_f.h"
19404 ac_config_files
="$ac_config_files Makefile testsuite/Makefile libgomp.spec"
19406 cat >confcache
<<\_ACEOF
19407 # This file is a shell script that caches the results of configure
19408 # tests run on this system so they can be shared between configure
19409 # scripts and configure runs, see configure's option --config-cache.
19410 # It is not useful on other systems. If it contains results you don't
19411 # want to keep, you may remove or edit it.
19413 # config.status only pays attention to the cache file if you give it
19414 # the --recheck option to rerun configure.
19416 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19417 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19418 # following values.
19422 # The following way of writing the cache mishandles newlines in values,
19423 # but we know of no workaround that is simple, portable, and efficient.
19424 # So, don't put newlines in cache variables' values.
19425 # Ultrix sh set writes to stderr and can't be redirected directly,
19426 # and sets the high bit in the cache file unless we assign to the vars.
19429 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19431 # `set' does not quote correctly, so add quotes (double-quote
19432 # substitution turns \\\\ into \\, and sed turns \\ into \).
19435 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19438 # `set' quotes correctly as required by POSIX, so do not add quotes.
19440 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19447 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19449 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19451 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19452 if test -w $cache_file; then
19453 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19454 cat confcache
>$cache_file
19456 echo "not updating unwritable cache $cache_file"
19461 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19462 # Let make expand exec_prefix.
19463 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19465 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19466 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19467 # trailing colons and then remove the whole line if VPATH becomes empty
19468 # (actually we leave an empty line to preserve line numbers).
19469 if test "x$srcdir" = x.
; then
19470 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19471 s/:*\$(srcdir):*/:/;
19472 s/:*\${srcdir}:*/:/;
19474 s/^\([^=]*=[ ]*\):*/\1/;
19480 DEFS
=-DHAVE_CONFIG_H
19484 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19485 # 1. Remove the extension, and $U if already installed.
19486 ac_i
=`echo "$ac_i" |
19487 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19489 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
19490 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
19492 LIBOBJS
=$ac_libobjs
19494 LTLIBOBJS
=$ac_ltlibobjs
19497 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
19498 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC\" was never defined.
19499 Usually this means the macro was only invoked conditionally." >&5
19500 echo "$as_me: error: conditional \"GENINSRC\" was never defined.
19501 Usually this means the macro was only invoked conditionally." >&2;}
19502 { (exit 1); exit 1; }; }
19504 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19505 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19506 Usually this means the macro was only invoked conditionally." >&5
19507 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19508 Usually this means the macro was only invoked conditionally." >&2;}
19509 { (exit 1); exit 1; }; }
19511 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19512 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19513 Usually this means the macro was only invoked conditionally." >&5
19514 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19515 Usually this means the macro was only invoked conditionally." >&2;}
19516 { (exit 1); exit 1; }; }
19518 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
19519 { { echo "$as_me:$LINENO: error: conditional \"BUILD_INFO\" was never defined.
19520 Usually this means the macro was only invoked conditionally." >&5
19521 echo "$as_me: error: conditional \"BUILD_INFO\" was never defined.
19522 Usually this means the macro was only invoked conditionally." >&2;}
19523 { (exit 1); exit 1; }; }
19525 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19526 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
19527 Usually this means the macro was only invoked conditionally." >&5
19528 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
19529 Usually this means the macro was only invoked conditionally." >&2;}
19530 { (exit 1); exit 1; }; }
19532 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE}"; then
19533 { { echo "$as_me:$LINENO: error: conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
19534 Usually this means the macro was only invoked conditionally." >&5
19535 echo "$as_me: error: conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
19536 Usually this means the macro was only invoked conditionally." >&2;}
19537 { (exit 1); exit 1; }; }
19539 if test -z "${USE_FORTRAN_TRUE}" && test -z "${USE_FORTRAN_FALSE}"; then
19540 { { echo "$as_me:$LINENO: error: conditional \"USE_FORTRAN\" was never defined.
19541 Usually this means the macro was only invoked conditionally." >&5
19542 echo "$as_me: error: conditional \"USE_FORTRAN\" was never defined.
19543 Usually this means the macro was only invoked conditionally." >&2;}
19544 { (exit 1); exit 1; }; }
19547 : ${CONFIG_STATUS=./config.status}
19548 ac_clean_files_save
=$ac_clean_files
19549 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19550 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19551 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19552 cat >$CONFIG_STATUS <<_ACEOF
19554 # Generated by $as_me.
19555 # Run this file to recreate the current configuration.
19556 # Compiler output produced by configure, useful for debugging
19557 # configure, is in config.log if it exists.
19560 ac_cs_recheck=false
19562 SHELL=\${CONFIG_SHELL-$SHELL}
19565 cat >>$CONFIG_STATUS <<\_ACEOF
19566 ## --------------------- ##
19567 ## M4sh Initialization. ##
19568 ## --------------------- ##
19570 # Be Bourne compatible
19571 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19574 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19575 # is contrary to our usage. Disable this feature.
19576 alias -g '${1+"$@"}'='"$@"'
19577 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
19580 DUALCASE
=1; export DUALCASE
# for MKS sh
19582 # Support unset when possible.
19583 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19590 # Work around bugs in pre-3.0 UWIN ksh.
19591 $as_unset ENV MAIL MAILPATH
19598 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19599 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19600 LC_TELEPHONE LC_TIME
19602 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19603 eval $as_var=C
; export $as_var
19609 # Required to use basename.
19610 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19616 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
19617 as_basename
=basename
19623 # Name of the executable.
19624 as_me
=`$as_basename "$0" ||
19625 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19626 X"$0" : 'X\(//\)$' \| \
19627 X"$0" : 'X\(/\)$' \| \
19628 . : '\(.\)' 2>/dev/null ||
19630 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19631 /^X\/\(\/\/\)$/{ s//\1/; q; }
19632 /^X\/\(\/\).*/{ s//\1/; q; }
19636 # PATH needs CR, and LINENO needs CR and PATH.
19637 # Avoid depending upon Character Ranges.
19638 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19639 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19640 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19641 as_cr_digits
='0123456789'
19642 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19644 # The user is always right.
19645 if test "${PATH_SEPARATOR+set}" != set; then
19646 echo "#! /bin/sh" >conf$$.sh
19647 echo "exit 0" >>conf$$.sh
19649 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19658 as_lineno_1
=$LINENO
19659 as_lineno_2
=$LINENO
19660 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
19661 test "x$as_lineno_1" != "x$as_lineno_2" &&
19662 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
19663 # Find who we are. Look in the path if we contain no path at all
19666 *[\\/]* ) as_myself
=$0 ;;
19667 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19668 for as_dir
in $PATH
19671 test -z "$as_dir" && as_dir
=.
19672 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19677 # We did not find ourselves, most probably we were run as `sh COMMAND'
19678 # in which case we are not to be found in the path.
19679 if test "x$as_myself" = x
; then
19682 if test ! -f "$as_myself"; then
19683 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19684 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19685 { (exit 1); exit 1; }; }
19687 case $CONFIG_SHELL in
19689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19690 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
19693 test -z "$as_dir" && as_dir
=.
19694 for as_base
in sh bash ksh sh5
; do
19697 if ("$as_dir/$as_base" -c '
19698 as_lineno_1=$LINENO
19699 as_lineno_2=$LINENO
19700 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19701 test "x$as_lineno_1" != "x$as_lineno_2" &&
19702 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
19703 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
19704 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
19705 CONFIG_SHELL
=$as_dir/$as_base
19706 export CONFIG_SHELL
19707 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19715 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19716 # uniformly replaced by the line number. The first 'sed' inserts a
19717 # line-number line before each line; the second 'sed' does the real
19718 # work. The second script uses 'N' to pair each line-number line
19719 # with the numbered line, and appends trailing '-' during
19720 # substitution so that $LINENO is not a special case at line end.
19721 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19722 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
19723 sed '=' <$as_myself |
19728 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19731 s,^['$as_cr_digits']*\n,,
19732 ' >$as_me.lineno
&&
19733 chmod +x
$as_me.lineno ||
19734 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19735 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
19736 { (exit 1); exit 1; }; }
19738 # Don't try to exec as it changes $[0], causing all sort of problems
19739 # (the dirname of $[0] is not the place where we might find the
19740 # original and so on. Autoconf is especially sensible to this).
19742 # Exit status is that of the last command.
19747 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19748 *c
*,-n*) ECHO_N
= ECHO_C
='
19750 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
19751 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
19754 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19760 rm -f conf$$ conf$$.exe conf$$.
file
19762 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19763 # We could just check for DJGPP; but this test a) works b) is more generic
19764 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19765 if test -f conf$$.exe
; then
19766 # Don't use ln at all; we don't have any links
19771 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19776 rm -f conf$$ conf$$.exe conf$$.
file
19778 if mkdir
-p .
2>/dev
/null
; then
19781 test -d .
/-p && rmdir .
/-p
19785 as_executable_p
="test -f"
19787 # Sed expression to map a string onto a valid CPP name.
19788 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19790 # Sed expression to map a string onto a valid variable name.
19791 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19795 # We need space, tab and new line, in precisely that order.
19805 # Open the log real soon, to keep \$[0] and so on meaningful, and to
19806 # report actual input values of CONFIG_FILES etc. instead of their
19807 # values after options handling. Logging --version etc. is OK.
19811 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19812 ## Running $as_me. ##
19817 This file was extended by GNU OpenMP Runtime Library $as_me 1.0, which was
19818 generated by GNU Autoconf 2.59. Invocation command line was
19820 CONFIG_FILES = $CONFIG_FILES
19821 CONFIG_HEADERS = $CONFIG_HEADERS
19822 CONFIG_LINKS = $CONFIG_LINKS
19823 CONFIG_COMMANDS = $CONFIG_COMMANDS
19827 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19831 # Files that config.status was made for.
19832 if test -n "$ac_config_files"; then
19833 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19836 if test -n "$ac_config_headers"; then
19837 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19840 if test -n "$ac_config_links"; then
19841 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19844 if test -n "$ac_config_commands"; then
19845 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19848 cat >>$CONFIG_STATUS <<\_ACEOF
19851 \`$as_me' instantiates files from templates according to the
19852 current configuration.
19854 Usage: $0 [OPTIONS] [FILE]...
19856 -h, --help print this help, then exit
19857 -V, --version print version number, then exit
19858 -q, --quiet do not print progress messages
19859 -d, --debug don't remove temporary files
19860 --recheck update $as_me by reconfiguring in the same conditions
19861 --file=FILE[:TEMPLATE]
19862 instantiate the configuration file FILE
19863 --header=FILE[:TEMPLATE]
19864 instantiate the configuration header FILE
19866 Configuration files:
19869 Configuration headers:
19872 Configuration commands:
19875 Report bugs to <bug-autoconf@gnu.org>."
19878 cat >>$CONFIG_STATUS <<_ACEOF
19880 GNU OpenMP Runtime Library config.status 1.0
19881 configured by $0, generated by GNU Autoconf 2.59,
19882 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19884 Copyright (C) 2003 Free Software Foundation, Inc.
19885 This config.status script is free software; the Free Software Foundation
19886 gives unlimited permission to copy, distribute and modify it."
19891 cat >>$CONFIG_STATUS <<\_ACEOF
19892 # If no file are specified by the user, then we need to provide default
19893 # value. By we need to know if files were specified by the user.
19899 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
19900 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
19908 *) # This is not an option, so the user has probably given explicit
19911 ac_need_defaults
=false
;;
19915 # Handling of the options.
19917 cat >>$CONFIG_STATUS <<\_ACEOF
19918 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19920 --version |
--vers* |
-V )
19921 echo "$ac_cs_version"; exit 0 ;;
19923 # Conflict between --help and --header
19924 { { echo "$as_me:$LINENO: error: ambiguous option: $1
19925 Try \`$0 --help' for more information." >&5
19926 echo "$as_me: error: ambiguous option: $1
19927 Try \`$0 --help' for more information." >&2;}
19928 { (exit 1); exit 1; }; };;
19929 --help |
--hel |
-h )
19930 echo "$ac_cs_usage"; exit 0 ;;
19931 --debug |
--d* |
-d )
19933 --file |
--fil |
--fi |
--f )
19935 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
19936 ac_need_defaults
=false
;;
19937 --header |
--heade |
--head |
--hea )
19939 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
19940 ac_need_defaults
=false
;;
19941 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19942 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19945 # This is an error.
19946 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
19947 Try \`$0 --help' for more information." >&5
19948 echo "$as_me: error: unrecognized option: $1
19949 Try \`$0 --help' for more information." >&2;}
19950 { (exit 1); exit 1; }; } ;;
19952 *) ac_config_targets
="$ac_config_targets $1" ;;
19958 ac_configure_extra_args
=
19960 if $ac_cs_silent; then
19962 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19966 cat >>$CONFIG_STATUS <<_ACEOF
19967 if \$ac_cs_recheck; then
19968 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19969 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19974 cat >>$CONFIG_STATUS <<_ACEOF
19976 # INIT-COMMANDS section.
19983 with_multisubdir="$with_multisubdir"
19984 with_multisrctop="$with_multisrctop"
19985 with_target_subdir="$with_target_subdir"
19986 ac_configure_args="${multilib_arg} ${ac_configure_args}"
19987 multi_basedir="$multi_basedir"
19988 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
19990 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19993 # The HP-UX ksh and POSIX shell print the target directory to stdout
19994 # if CDPATH is set.
19995 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19997 sed_quote_subst='$sed_quote_subst'
19998 double_quote_subst='$double_quote_subst'
19999 delay_variable_subst='$delay_variable_subst'
20000 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
20001 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
20002 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
20003 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
20004 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
20005 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
20006 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
20007 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
20008 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
20009 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
20010 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
20011 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
20012 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
20013 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
20014 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
20015 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
20016 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
20017 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
20018 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
20019 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
20020 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
20021 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
20022 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
20023 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
20024 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
20025 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
20026 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
20027 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20028 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
20029 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
20030 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
20031 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20032 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
20033 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
20034 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20035 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20036 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20037 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
20038 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20039 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
20040 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
20041 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20042 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20043 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"`'
20044 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20045 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20046 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20047 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20048 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20049 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20050 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20051 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20052 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20053 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20054 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
20055 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20056 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20057 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20058 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20059 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20060 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20061 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
20062 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20063 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20064 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20065 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20066 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20067 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20068 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20069 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20070 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20071 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20072 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20073 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20074 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20075 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
20076 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20077 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20078 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20079 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20080 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20081 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20082 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20083 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20084 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20085 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20086 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20087 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20088 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20089 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20090 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20091 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20092 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20093 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20094 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20095 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20096 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20097 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20098 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20099 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20100 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20101 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20102 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20103 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20104 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20105 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20106 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20107 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20108 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20109 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20110 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20111 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20112 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20113 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
20114 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
20115 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
20116 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
20117 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20118 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
20119 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
20120 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
20121 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
20122 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
20123 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
20124 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
20125 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
20126 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
20127 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
20128 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
20129 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
20130 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20131 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20132 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20133 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20134 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20135 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20136 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
20137 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
20138 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
20139 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
20140 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
20141 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
20142 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
20143 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
20144 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
20145 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
20146 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
20147 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
20148 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
20149 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
20150 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
20151 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20152 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
20153 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
20154 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20155 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
20156 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
20157 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
20158 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
20159 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
20160 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
20161 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
20164 LTCFLAGS='$LTCFLAGS'
20165 compiler='$compiler_DEFAULT'
20167 # Quote evaled strings.
20178 deplibs_check_method \
20187 lt_cv_sys_global_symbol_pipe \
20188 lt_cv_sys_global_symbol_to_cdecl \
20189 lt_cv_sys_global_symbol_to_c_name_address \
20192 lt_prog_compiler_no_builtin_flag \
20193 lt_prog_compiler_wl \
20194 lt_prog_compiler_pic \
20195 lt_prog_compiler_static \
20196 lt_cv_prog_compiler_c_o \
20199 export_dynamic_flag_spec \
20200 whole_archive_flag_spec \
20201 compiler_needs_object \
20203 allow_undefined_flag \
20204 no_undefined_flag \
20205 hardcode_libdir_flag_spec \
20206 hardcode_libdir_flag_spec_ld \
20207 hardcode_libdir_separator \
20212 variables_saved_for_relink \
20214 library_names_spec \
20223 compiler_lib_search_path \
20226 lt_prog_compiler_no_builtin_flag_FC \
20227 lt_prog_compiler_wl_FC \
20228 lt_prog_compiler_pic_FC \
20229 lt_prog_compiler_static_FC \
20230 lt_cv_prog_compiler_c_o_FC \
20231 export_dynamic_flag_spec_FC \
20232 whole_archive_flag_spec_FC \
20233 compiler_needs_object_FC \
20235 allow_undefined_flag_FC \
20236 no_undefined_flag_FC \
20237 hardcode_libdir_flag_spec_FC \
20238 hardcode_libdir_flag_spec_ld_FC \
20239 hardcode_libdir_separator_FC \
20240 fix_srcfile_path_FC \
20241 exclude_expsyms_FC \
20242 include_expsyms_FC \
20243 file_list_spec_FC \
20244 predep_objects_FC \
20245 postdep_objects_FC \
20248 compiler_lib_search_path_FC; do
20249 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20250 *[\\\\\\\`\\"\\\$]*)
20251 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20254 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20259 # Double-quote double-evaled strings.
20260 for var in reload_cmds \
20261 old_postinstall_cmds \
20262 old_postuninstall_cmds \
20264 extract_expsyms_cmds \
20265 old_archive_from_new_cmds \
20266 old_archive_from_expsyms_cmds \
20268 archive_expsym_cmds \
20270 module_expsym_cmds \
20271 export_symbols_cmds \
20274 postuninstall_cmds \
20276 sys_lib_search_path_spec \
20277 sys_lib_dlsearch_path_spec \
20278 old_archive_cmds_FC \
20279 old_archive_from_new_cmds_FC \
20280 old_archive_from_expsyms_cmds_FC \
20282 archive_expsym_cmds_FC \
20284 module_expsym_cmds_FC \
20285 export_symbols_cmds_FC \
20286 prelink_cmds_FC; do
20287 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20288 *[\\\\\\\`\\"\\\$]*)
20289 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20292 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20297 # Fix-up fallback echo if it was mangled by the above quoting rules.
20299 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
20303 ac_aux_dir='$ac_aux_dir'
20304 xsi_shell='$xsi_shell'
20305 lt_shell_append='$lt_shell_append'
20307 # See if we are running on zsh, and set the options which allow our
20308 # commands through without removal of \ escapes INIT.
20309 if test -n "\${ZSH_VERSION+set}" ; then
20310 setopt NO_GLOB_SUBST
20316 TIMESTAMP='$TIMESTAMP'
20327 acx_cv_header_stdint="$acx_cv_header_stdint"
20328 acx_cv_type_int8_t="$acx_cv_type_int8_t"
20329 acx_cv_type_int16_t="$acx_cv_type_int16_t"
20330 acx_cv_type_int32_t="$acx_cv_type_int32_t"
20331 acx_cv_type_int64_t="$acx_cv_type_int64_t"
20332 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
20333 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
20334 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
20335 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
20336 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
20337 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
20338 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
20339 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
20340 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
20347 cat >>$CONFIG_STATUS <<\_ACEOF
20348 for ac_config_target
in $ac_config_targets
20350 case "$ac_config_target" in
20351 # Handling of arguments.
20352 "omp.h" ) CONFIG_FILES
="$CONFIG_FILES omp.h" ;;
20353 "omp_lib.h" ) CONFIG_FILES
="$CONFIG_FILES omp_lib.h" ;;
20354 "omp_lib.f90" ) CONFIG_FILES
="$CONFIG_FILES omp_lib.f90" ;;
20355 "libgomp_f.h" ) CONFIG_FILES
="$CONFIG_FILES libgomp_f.h" ;;
20356 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20357 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
20358 "libgomp.spec" ) CONFIG_FILES
="$CONFIG_FILES libgomp.spec" ;;
20359 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
20360 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20361 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20362 "gstdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
20363 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20364 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20365 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20366 { (exit 1); exit 1; }; };;
20370 # If the user did not use the arguments to specify the items to instantiate,
20371 # then the envvar interface is used. Set only those that are not.
20372 # We use the long form for the default assignment because of an extremely
20373 # bizarre bug on SunOS 4.1.3.
20374 if $ac_need_defaults; then
20375 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20376 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20377 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20380 # Have a temporary directory for convenience. Make it in the build tree
20381 # simply because there is no reason to put it here, and in addition,
20382 # creating and moving files from /tmp can sometimes cause problems.
20383 # Create a temporary directory, and hook for its removal unless debugging.
20386 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20387 trap '{ (exit 1); exit 1; }' 1 2 13 15
20390 # Create a (secure) tmp directory for tmp files.
20393 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20394 test -n "$tmp" && test -d "$tmp"
20397 tmp
=.
/confstat$$
-$RANDOM
20398 (umask 077 && mkdir
$tmp)
20401 echo "$me: cannot create a temporary directory in ." >&2
20402 { (exit 1); exit 1; }
20407 cat >>$CONFIG_STATUS <<_ACEOF
20410 # CONFIG_FILES section.
20413 # No need to generate the scripts if there are no CONFIG_FILES.
20414 # This happens for instance when ./config.status config.h
20415 if test -n "\$CONFIG_FILES"; then
20416 # Protect against being on the right side of a sed subst in config.status.
20417 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20418 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20419 s,@SHELL@,$SHELL,;t t
20420 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20421 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20422 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20423 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20424 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20425 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20426 s,@exec_prefix@,$exec_prefix,;t t
20427 s,@prefix@,$prefix,;t t
20428 s,@program_transform_name@,$program_transform_name,;t t
20429 s,@bindir@,$bindir,;t t
20430 s,@sbindir@,$sbindir,;t t
20431 s,@libexecdir@,$libexecdir,;t t
20432 s,@datadir@,$datadir,;t t
20433 s,@sysconfdir@,$sysconfdir,;t t
20434 s,@sharedstatedir@,$sharedstatedir,;t t
20435 s,@localstatedir@,$localstatedir,;t t
20436 s,@libdir@,$libdir,;t t
20437 s,@includedir@,$includedir,;t t
20438 s,@oldincludedir@,$oldincludedir,;t t
20439 s,@infodir@,$infodir,;t t
20440 s,@mandir@,$mandir,;t t
20441 s,@build_alias@,$build_alias,;t t
20442 s,@host_alias@,$host_alias,;t t
20443 s,@target_alias@,$target_alias,;t t
20444 s,@DEFS@,$DEFS,;t t
20445 s,@ECHO_C@,$ECHO_C,;t t
20446 s,@ECHO_N@,$ECHO_N,;t t
20447 s,@ECHO_T@,$ECHO_T,;t t
20448 s,@LIBS@,$LIBS,;t t
20449 s,@GENINSRC_TRUE@,$GENINSRC_TRUE,;t t
20450 s,@GENINSRC_FALSE@,$GENINSRC_FALSE,;t t
20451 s,@build@,$build,;t t
20452 s,@build_cpu@,$build_cpu,;t t
20453 s,@build_vendor@,$build_vendor,;t t
20454 s,@build_os@,$build_os,;t t
20455 s,@host@,$host,;t t
20456 s,@host_cpu@,$host_cpu,;t t
20457 s,@host_vendor@,$host_vendor,;t t
20458 s,@host_os@,$host_os,;t t
20459 s,@target@,$target,;t t
20460 s,@target_cpu@,$target_cpu,;t t
20461 s,@target_vendor@,$target_vendor,;t t
20462 s,@target_os@,$target_os,;t t
20463 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20464 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20465 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20466 s,@CYGPATH_W@,$CYGPATH_W,;t t
20467 s,@PACKAGE@,$PACKAGE,;t t
20468 s,@VERSION@,$VERSION,;t t
20469 s,@ACLOCAL@,$ACLOCAL,;t t
20470 s,@AUTOCONF@,$AUTOCONF,;t t
20471 s,@AUTOMAKE@,$AUTOMAKE,;t t
20472 s,@AUTOHEADER@,$AUTOHEADER,;t t
20473 s,@MAKEINFO@,$MAKEINFO,;t t
20474 s,@install_sh@,$install_sh,;t t
20475 s,@STRIP@,$STRIP,;t t
20476 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20477 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20478 s,@mkdir_p@,$mkdir_p,;t t
20480 s,@SET_MAKE@,$SET_MAKE,;t t
20481 s,@am__leading_dot@,$am__leading_dot,;t t
20482 s,@AMTAR@,$AMTAR,;t t
20483 s,@am__tar@,$am__tar,;t t
20484 s,@am__untar@,$am__untar,;t t
20485 s,@multi_basedir@,$multi_basedir,;t t
20486 s,@toolexecdir@,$toolexecdir,;t t
20487 s,@toolexeclibdir@,$toolexeclibdir,;t t
20489 s,@ac_ct_CC@,$ac_ct_CC,;t t
20490 s,@EXEEXT@,$EXEEXT,;t t
20491 s,@OBJEXT@,$OBJEXT,;t t
20492 s,@DEPDIR@,$DEPDIR,;t t
20493 s,@am__include@,$am__include,;t t
20494 s,@am__quote@,$am__quote,;t t
20495 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20496 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20497 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20498 s,@CCDEPMODE@,$CCDEPMODE,;t t
20499 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20500 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20501 s,@CFLAGS@,$CFLAGS,;t t
20503 s,@ac_ct_AR@,$ac_ct_AR,;t t
20504 s,@RANLIB@,$RANLIB,;t t
20505 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20506 s,@PERL@,$PERL,;t t
20507 s,@BUILD_INFO_TRUE@,$BUILD_INFO_TRUE,;t t
20508 s,@BUILD_INFO_FALSE@,$BUILD_INFO_FALSE,;t t
20509 s,@LIBTOOL@,$LIBTOOL,;t t
20511 s,@EGREP@,$EGREP,;t t
20512 s,@FGREP@,$FGREP,;t t
20513 s,@GREP@,$GREP,;t t
20515 s,@DUMPBIN@,$DUMPBIN,;t t
20516 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
20518 s,@LN_S@,$LN_S,;t t
20519 s,@lt_ECHO@,$lt_ECHO,;t t
20521 s,@CPPFLAGS@,$CPPFLAGS,;t t
20522 s,@enable_shared@,$enable_shared,;t t
20523 s,@enable_static@,$enable_static,;t t
20524 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
20525 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
20526 s,@MAINT@,$MAINT,;t t
20528 s,@FCFLAGS@,$FCFLAGS,;t t
20529 s,@LDFLAGS@,$LDFLAGS,;t t
20530 s,@ac_ct_FC@,$ac_ct_FC,;t t
20531 s,@libtool_VERSION@,$libtool_VERSION,;t t
20532 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
20533 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
20534 s,@LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE@,$LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE,;t t
20535 s,@LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE@,$LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE,;t t
20536 s,@config_path@,$config_path,;t t
20537 s,@XCFLAGS@,$XCFLAGS,;t t
20538 s,@XLDFLAGS@,$XLDFLAGS,;t t
20539 s,@link_gomp@,$link_gomp,;t t
20540 s,@USE_FORTRAN_TRUE@,$USE_FORTRAN_TRUE,;t t
20541 s,@USE_FORTRAN_FALSE@,$USE_FORTRAN_FALSE,;t t
20542 s,@OMP_LOCK_SIZE@,$OMP_LOCK_SIZE,;t t
20543 s,@OMP_LOCK_ALIGN@,$OMP_LOCK_ALIGN,;t t
20544 s,@OMP_NEST_LOCK_SIZE@,$OMP_NEST_LOCK_SIZE,;t t
20545 s,@OMP_NEST_LOCK_ALIGN@,$OMP_NEST_LOCK_ALIGN,;t t
20546 s,@OMP_LOCK_KIND@,$OMP_LOCK_KIND,;t t
20547 s,@OMP_NEST_LOCK_KIND@,$OMP_NEST_LOCK_KIND,;t t
20548 s,@LIBOBJS@,$LIBOBJS,;t t
20549 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20554 cat >>$CONFIG_STATUS <<\_ACEOF
20555 # Split the substitutions into bite-sized pieces for seds with
20556 # small command number limits, like on Digital OSF/1 and HP-UX.
20557 ac_max_sed_lines
=48
20558 ac_sed_frag
=1 # Number of current file.
20559 ac_beg
=1 # First line for current file.
20560 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20563 while $ac_more_lines; do
20564 if test $ac_beg -gt 1; then
20565 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20567 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20569 if test ! -s $tmp/subs.frag
; then
20570 ac_more_lines
=false
20572 # The purpose of the label and of the branching condition is to
20573 # speed up the sed processing (if there are no `@' at all, there
20574 # is no need to browse any of the substitutions).
20575 # These are the two extra sed commands mentioned above.
20577 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20578 if test -z "$ac_sed_cmds"; then
20579 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20581 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20583 ac_sed_frag
=`expr $ac_sed_frag + 1`
20585 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20588 if test -z "$ac_sed_cmds"; then
20591 fi # test -n "$CONFIG_FILES"
20594 cat >>$CONFIG_STATUS <<\_ACEOF
20595 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20596 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20598 - |
*:- |
*:-:* ) # input from stdin
20600 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20601 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20602 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20603 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20604 * ) ac_file_in
=$ac_file.
in ;;
20607 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20608 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20609 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20610 X"$ac_file" : 'X\(//\)[^/]' \| \
20611 X"$ac_file" : 'X\(//\)$' \| \
20612 X"$ac_file" : 'X\(/\)' \| \
20613 . : '\(.\)' 2>/dev/null ||
20615 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20616 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20617 /^X\(\/\/\)$/{ s//\1/; q; }
20618 /^X\(\/\).*/{ s//\1/; q; }
20620 { if $as_mkdir_p; then
20625 while test ! -d "$as_dir"; do
20626 as_dirs
="$as_dir $as_dirs"
20627 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20628 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20629 X"$as_dir" : 'X\(//\)[^/]' \| \
20630 X"$as_dir" : 'X\(//\)$' \| \
20631 X"$as_dir" : 'X\(/\)' \| \
20632 . : '\(.\)' 2>/dev/null ||
20634 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20635 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20636 /^X\(\/\/\)$/{ s//\1/; q; }
20637 /^X\(\/\).*/{ s//\1/; q; }
20640 test ! -n "$as_dirs" || mkdir
$as_dirs
20641 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20642 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20643 { (exit 1); exit 1; }; }; }
20647 if test "$ac_dir" != .
; then
20648 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20649 # A "../" for each directory in $ac_dir_suffix.
20650 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20652 ac_dir_suffix
= ac_top_builddir
=
20656 .
) # No --srcdir option. We are building in place.
20658 if test -z "$ac_top_builddir"; then
20661 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20663 [\\/]* | ?
:[\\/]* ) # Absolute path.
20664 ac_srcdir
=$srcdir$ac_dir_suffix;
20665 ac_top_srcdir
=$srcdir ;;
20666 *) # Relative path.
20667 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20668 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20671 # Do not use `cd foo && pwd` to compute absolute paths, because
20672 # the directories may not exist.
20674 .
) ac_abs_builddir
="$ac_dir";;
20677 .
) ac_abs_builddir
=`pwd`;;
20678 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20679 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20682 case $ac_abs_builddir in
20683 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20685 case ${ac_top_builddir}.
in
20686 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20687 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20688 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20691 case $ac_abs_builddir in
20692 .
) ac_abs_srcdir
=$ac_srcdir;;
20695 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20696 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20697 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20700 case $ac_abs_builddir in
20701 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20703 case $ac_top_srcdir in
20704 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20705 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20706 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20712 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20713 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
20716 if test x
"$ac_file" != x-
; then
20717 { echo "$as_me:$LINENO: creating $ac_file" >&5
20718 echo "$as_me: creating $ac_file" >&6;}
20721 # Let's still pretend it is `configure' which instantiates (i.e., don't
20722 # use $as_me), people would be surprised to read:
20723 # /* config.h. Generated by config.status. */
20724 if test x
"$ac_file" = x-
; then
20727 configure_input
="$ac_file. "
20729 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20730 sed 's,.*/,,'` by configure."
20732 # First look for the input files in the build tree, otherwise in the
20734 ac_file_inputs
=`IFS=:
20735 for f in $ac_file_in; do
20737 -) echo $tmp/stdin ;;
20739 # Absolute (can't be DOS-style, as IFS=:)
20740 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20741 echo "$as_me: error: cannot find input file: $f" >&2;}
20742 { (exit 1); exit 1; }; }
20745 if test -f "$f"; then
20748 elif test -f "$srcdir/$f"; then
20753 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20754 echo "$as_me: error: cannot find input file: $f" >&2;}
20755 { (exit 1); exit 1; }; }
20758 done` ||
{ (exit 1); exit 1; }
20760 cat >>$CONFIG_STATUS <<_ACEOF
20764 cat >>$CONFIG_STATUS <<\_ACEOF
20766 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20767 s
,@configure_input@
,$configure_input,;t t
20768 s
,@srcdir@
,$ac_srcdir,;t t
20769 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20770 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20771 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20772 s
,@builddir@
,$ac_builddir,;t t
20773 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20774 s
,@top_builddir@
,$ac_top_builddir,;t t
20775 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20776 s
,@INSTALL@
,$ac_INSTALL,;t t
20777 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20779 if test x"$ac_file" != x-; then
20780 mv $tmp/out $ac_file
20788 cat >>$CONFIG_STATUS <<\_ACEOF
20791 # CONFIG_HEADER section.
20794 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
20795 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20797 # ac_d sets the value in "#define NAME VALUE" lines.
20798 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20799 ac_dB
='[ ].*$,\1#\2'
20802 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20803 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20804 ac_uB
='$,\1#\2define\3'
20808 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
20809 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20811 - |
*:- |
*:-:* ) # input from stdin
20813 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20814 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20815 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20816 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20817 * ) ac_file_in
=$ac_file.
in ;;
20820 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
20821 echo "$as_me: creating $ac_file" >&6;}
20823 # First look for the input files in the build tree, otherwise in the
20825 ac_file_inputs
=`IFS=:
20826 for f in $ac_file_in; do
20828 -) echo $tmp/stdin ;;
20830 # Absolute (can't be DOS-style, as IFS=:)
20831 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20832 echo "$as_me: error: cannot find input file: $f" >&2;}
20833 { (exit 1); exit 1; }; }
20834 # Do quote $f, to prevent DOS paths from being IFS'd.
20837 if test -f "$f"; then
20840 elif test -f "$srcdir/$f"; then
20845 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20846 echo "$as_me: error: cannot find input file: $f" >&2;}
20847 { (exit 1); exit 1; }; }
20850 done` ||
{ (exit 1); exit 1; }
20851 # Remove the trailing spaces.
20852 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
20856 # Transform confdefs.h into two sed scripts, `conftest.defines' and
20857 # `conftest.undefs', that substitutes the proper values into
20858 # config.h.in to produce config.h. The first handles `#define'
20859 # templates, and the second `#undef' templates.
20860 # And first: Protect against being on the right side of a sed subst in
20861 # config.status. Protect against being in an unquoted here document
20862 # in config.status.
20863 rm -f conftest.defines conftest.undefs
20864 # Using a here document instead of a string reduces the quoting nightmare.
20865 # Putting comments in sed scripts is not portable.
20867 # `end' is used to avoid that the second main sed command (meant for
20868 # 0-ary CPP macros) applies to n-ary macro definitions.
20869 # See the Autoconf documentation for `clear'.
20870 cat >confdef2sed.
sed <<\_ACEOF
20875 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20877 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20880 # If some macros were called several times there might be several times
20881 # the same #defines, which is useless. Nevertheless, we may not want to
20882 # sort them, since we want the *last* AC-DEFINE to be honored.
20883 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20884 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20885 rm -f confdef2sed.sed
20887 # This sed command replaces #undef with comments. This is necessary, for
20888 # example, in the case of _POSIX_SOURCE, which is predefined and required
20889 # on some systems where configure will not decide to define it.
20890 cat >>conftest.undefs <<\_ACEOF
20891 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
20894 # Break up conftest.defines because some shells have a limit on the size
20895 # of here documents, and old seds have small limits too (100 cmds).
20896 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20897 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20898 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20899 echo ' :' >>$CONFIG_STATUS
20900 rm -f conftest.tail
20901 while grep . conftest.defines >/dev/null
20903 # Write a limited-size here document to $tmp/defines.sed.
20904 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20905 # Speed up: don't consider the non `#define' lines.
20906 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
20907 # Work around the forget-to-reset-the-flag bug.
20908 echo 't clr' >>$CONFIG_STATUS
20909 echo ': clr' >>$CONFIG_STATUS
20910 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
20912 sed -f $tmp/defines.sed $tmp/in >$tmp/out
20914 mv $tmp/out $tmp/in
20916 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
20917 rm -f conftest.defines
20918 mv conftest.
tail conftest.defines
20920 rm -f conftest.defines
20921 echo ' fi # grep' >>$CONFIG_STATUS
20922 echo >>$CONFIG_STATUS
20924 # Break up conftest.undefs because some shells have a limit on the size
20925 # of here documents, and old seds have small limits too (100 cmds).
20926 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
20927 rm -f conftest.
tail
20928 while grep . conftest.undefs
>/dev
/null
20930 # Write a limited-size here document to $tmp/undefs.sed.
20931 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20932 # Speed up: don't consider the non
`#undef'
20933 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
20934 # Work around the forget-to-reset-the-flag bug.
20935 echo 't clr' >>$CONFIG_STATUS
20936 echo ': clr' >>$CONFIG_STATUS
20937 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20939 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20941 mv $tmp/out $tmp/in
20943 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20944 rm -f conftest.undefs
20945 mv conftest.tail conftest.undefs
20947 rm -f conftest.undefs
20949 cat >>$CONFIG_STATUS <<\_ACEOF
20950 # Let's still pretend it is `configure
' which instantiates (i.e., don't
20951 # use $as_me), people would be surprised to read:
20952 # /* config.h. Generated by config.status. */
20953 if test x
"$ac_file" = x-
; then
20954 echo "/* Generated by configure. */" >$tmp/config.h
20956 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
20958 cat $tmp/in >>$tmp/config.h
20960 if test x
"$ac_file" != x-
; then
20961 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
20962 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20963 echo "$as_me: $ac_file is unchanged" >&6;}
20965 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20966 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20967 X"$ac_file" : 'X\(//\)[^/]' \| \
20968 X"$ac_file" : 'X\(//\)$' \| \
20969 X"$ac_file" : 'X\(/\)' \| \
20970 . : '\(.\)' 2>/dev/null ||
20972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20973 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20974 /^X\(\/\/\)$/{ s//\1/; q; }
20975 /^X\(\/\).*/{ s//\1/; q; }
20977 { if $as_mkdir_p; then
20982 while test ! -d "$as_dir"; do
20983 as_dirs
="$as_dir $as_dirs"
20984 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20985 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20986 X"$as_dir" : 'X\(//\)[^/]' \| \
20987 X"$as_dir" : 'X\(//\)$' \| \
20988 X"$as_dir" : 'X\(/\)' \| \
20989 . : '\(.\)' 2>/dev/null ||
20991 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20992 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20993 /^X\(\/\/\)$/{ s//\1/; q; }
20994 /^X\(\/\).*/{ s//\1/; q; }
20997 test ! -n "$as_dirs" || mkdir
$as_dirs
20998 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20999 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21000 { (exit 1); exit 1; }; }; }
21003 mv $tmp/config.h
$ac_file
21007 rm -f $tmp/config.h
21009 # Compute $ac_file's index in $config_headers.
21011 for _am_header
in $config_headers :; do
21012 case $_am_header in
21013 $ac_file |
$ac_file:* )
21016 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21019 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21020 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21021 X$ac_file : 'X\(//\)[^/]' \| \
21022 X$ac_file : 'X\(//\)$' \| \
21023 X$ac_file : 'X\(/\)' \| \
21024 . : '\(.\)' 2>/dev/null ||
21026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21027 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21028 /^X\(\/\/\)$/{ s//\1/; q; }
21029 /^X\(\/\).*/{ s//\1/; q; }
21030 s/.*/./; q'`/stamp-h
$_am_stamp_count
21033 cat >>$CONFIG_STATUS <<\_ACEOF
21036 # CONFIG_COMMANDS section.
21038 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21039 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21040 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21041 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21042 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21043 X"$ac_dest" : 'X\(//\)[^/]' \| \
21044 X"$ac_dest" : 'X\(//\)$' \| \
21045 X"$ac_dest" : 'X\(/\)' \| \
21046 . : '\(.\)' 2>/dev/null ||
21048 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21049 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21050 /^X\(\/\/\)$/{ s//\1/; q; }
21051 /^X\(\/\).*/{ s//\1/; q; }
21053 { if $as_mkdir_p; then
21058 while test ! -d "$as_dir"; do
21059 as_dirs
="$as_dir $as_dirs"
21060 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21061 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21062 X"$as_dir" : 'X\(//\)[^/]' \| \
21063 X"$as_dir" : 'X\(//\)$' \| \
21064 X"$as_dir" : 'X\(/\)' \| \
21065 . : '\(.\)' 2>/dev/null ||
21067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21068 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21069 /^X\(\/\/\)$/{ s//\1/; q; }
21070 /^X\(\/\).*/{ s//\1/; q; }
21073 test ! -n "$as_dirs" || mkdir
$as_dirs
21074 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21075 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21076 { (exit 1); exit 1; }; }; }
21080 if test "$ac_dir" != .
; then
21081 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21082 # A "../" for each directory in $ac_dir_suffix.
21083 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21085 ac_dir_suffix
= ac_top_builddir
=
21089 .
) # No --srcdir option. We are building in place.
21091 if test -z "$ac_top_builddir"; then
21094 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21096 [\\/]* | ?
:[\\/]* ) # Absolute path.
21097 ac_srcdir
=$srcdir$ac_dir_suffix;
21098 ac_top_srcdir
=$srcdir ;;
21099 *) # Relative path.
21100 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21101 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21104 # Do not use `cd foo && pwd` to compute absolute paths, because
21105 # the directories may not exist.
21107 .
) ac_abs_builddir
="$ac_dir";;
21110 .
) ac_abs_builddir
=`pwd`;;
21111 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21112 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21115 case $ac_abs_builddir in
21116 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21118 case ${ac_top_builddir}.
in
21119 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21120 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21121 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21124 case $ac_abs_builddir in
21125 .
) ac_abs_srcdir
=$ac_srcdir;;
21128 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21129 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21130 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21133 case $ac_abs_builddir in
21134 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21136 case $ac_top_srcdir in
21137 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21138 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21139 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21144 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21145 echo "$as_me: executing $ac_dest commands" >&6;}
21148 # Only add multilib support code if we just rebuilt the top-level
21150 case " $CONFIG_FILES " in
21152 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
21155 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21156 # Strip MF so we end up with the name of the file.
21157 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21158 # Check whether this is an Automake generated Makefile or not.
21159 # We used to match only the files named `Makefile.in', but
21160 # some people rename them; so instead we look at the file content.
21161 # Grep'ing the first line is not enough: some people post-process
21162 # each Makefile.in and add a new line on top of each file to say so.
21163 # So let's grep whole file.
21164 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
21165 dirpart
=`(dirname "$mf") 2>/dev/null ||
21166 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21167 X"$mf" : 'X\(//\)[^/]' \| \
21168 X"$mf" : 'X\(//\)$' \| \
21169 X"$mf" : 'X\(/\)' \| \
21170 . : '\(.\)' 2>/dev/null ||
21172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21173 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21174 /^X\(\/\/\)$/{ s//\1/; q; }
21175 /^X\(\/\).*/{ s//\1/; q; }
21180 # Extract the definition of DEPDIR, am__include, and am__quote
21181 # from the Makefile without running `make'.
21182 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21183 test -z "$DEPDIR" && continue
21184 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21185 test -z "am__include" && continue
21186 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21187 # When using ansi2knr, U may be empty or an underscore; expand it
21188 U
=`sed -n 's/^U = //p' < "$mf"`
21189 # Find all dependency output files, they are included files with
21190 # $(DEPDIR) in their names. We invoke sed twice because it is the
21191 # simplest approach to changing $(DEPDIR) to its actual value in the
21193 for file in `sed -n "
21194 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21195 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21196 # Make sure the directory exists.
21197 test -f "$dirpart/$file" && continue
21198 fdir
=`(dirname "$file") 2>/dev/null ||
21199 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21200 X"$file" : 'X\(//\)[^/]' \| \
21201 X"$file" : 'X\(//\)$' \| \
21202 X"$file" : 'X\(/\)' \| \
21203 . : '\(.\)' 2>/dev/null ||
21205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21206 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21207 /^X\(\/\/\)$/{ s//\1/; q; }
21208 /^X\(\/\).*/{ s//\1/; q; }
21210 { if $as_mkdir_p; then
21211 mkdir
-p $dirpart/$fdir
21213 as_dir
=$dirpart/$fdir
21215 while test ! -d "$as_dir"; do
21216 as_dirs
="$as_dir $as_dirs"
21217 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21218 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21219 X"$as_dir" : 'X\(//\)[^/]' \| \
21220 X"$as_dir" : 'X\(//\)$' \| \
21221 X"$as_dir" : 'X\(/\)' \| \
21222 . : '\(.\)' 2>/dev/null ||
21224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21225 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21226 /^X\(\/\/\)$/{ s//\1/; q; }
21227 /^X\(\/\).*/{ s//\1/; q; }
21230 test ! -n "$as_dirs" || mkdir
$as_dirs
21231 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21232 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21233 { (exit 1); exit 1; }; }; }
21235 # echo "creating $dirpart/$file"
21236 echo '# dummy' > "$dirpart/$file"
21242 # See if we are running on zsh, and set the options which allow our
21243 # commands through without removal of \ escapes.
21244 if test -n "${ZSH_VERSION+set}" ; then
21245 setopt NO_GLOB_SUBST
21248 cfgfile
="${ofile}T"
21249 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21252 cat <<_LT_EOF >> "$cfgfile"
21255 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21256 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
21257 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21258 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21260 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21261 # 2006, 2007 Free Software Foundation, Inc.
21263 # This file is part of GNU Libtool:
21264 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
21266 # This program is free software; you can redistribute it and/or modify
21267 # it under the terms of the GNU General Public License as published by
21268 # the Free Software Foundation; either version 2 of the License, or
21269 # (at your option) any later version.
21271 # This program is distributed in the hope that it will be useful, but
21272 # WITHOUT ANY WARRANTY; without even the implied warranty of
21273 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21274 # General Public License for more details.
21276 # You should have received a copy of the GNU General Public License
21277 # along with this program; if not, a copy can be downloaded from
21278 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
21279 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21280 # MA 02110-1301, USA.
21282 # As a special exception to the GNU General Public License, if you
21283 # distribute this file as part of a program that contains a
21284 # configuration script generated by Autoconf, you may include it under
21285 # the same distribution terms that you use for the rest of that program.
21288 # The names of the tagged configurations supported by this script.
21289 available_tags="FC "
21291 # ### BEGIN LIBTOOL CONFIG
21293 # Which release of libtool.m4 was used?
21294 macro_version=$macro_version
21295 macro_revision=$macro_revision
21297 # Whether or not to build shared libraries.
21298 build_libtool_libs=$enable_shared
21300 # Whether or not to build static libraries.
21301 build_old_libs=$enable_static
21303 # What type of objects to build.
21306 # Whether or not to optimize for fast installation.
21307 fast_install=$enable_fast_install
21310 host_alias=$host_alias
21314 # The build system.
21315 build_alias=$build_alias
21319 # A sed program that does not truncate output.
21322 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21323 Xsed="\$SED -e 1s/^X//"
21325 # A grep program that handles long lines.
21331 # A literal string matcher.
21334 # A BSD- or MS-compatible name lister.
21337 # Whether we need soft or hard links.
21340 # What is the maximum length of a command?
21341 max_cmd_len=$max_cmd_len
21343 # Object file suffix (normally "o").
21346 # Executable file suffix (normally "").
21349 # whether the shell understands "unset".
21352 # turn spaces into newlines.
21355 # turn newlines into spaces.
21358 # How to create reloadable object files.
21359 reload_flag=$lt_reload_flag
21360 reload_cmds=$lt_reload_cmds
21362 # Method to check whether dependent libraries are shared objects.
21363 deplibs_check_method=$lt_deplibs_check_method
21365 # Command to use when deplibs_check_method == "file_magic".
21366 file_magic_cmd=$lt_file_magic_cmd
21370 AR_FLAGS=$lt_AR_FLAGS
21372 # A symbol stripping program.
21375 # Commands used to install an old-style archive.
21377 old_postinstall_cmds=$lt_old_postinstall_cmds
21378 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21383 # LTCC compiler flags.
21384 LTCFLAGS=$lt_CFLAGS
21386 # Take the output of nm and produce a listing of raw symbols and C names.
21387 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21389 # Transform the output of nm in a proper C declaration.
21390 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21392 # Transform the output of nm in a C name address pair.
21393 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21395 # The name of the directory that contains temporary libtool files.
21398 # Shell to use when invoking shell scripts.
21401 # An echo program that does not interpret backslashes.
21404 # Used to examine libraries when file_magic_cmd begins with "file".
21405 MAGIC_CMD=$MAGIC_CMD
21407 # Must we lock files when doing compilation?
21408 need_locks=$lt_need_locks
21410 # Old archive suffix (normally "a").
21413 # Shared library suffix (normally ".so").
21414 shrext_cmds=$lt_shrext_cmds
21416 # The commands to extract the exported symbol list from a shared archive.
21417 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21419 # Variables whose values should be saved in libtool wrapper scripts and
21420 # restored at link time.
21421 variables_saved_for_relink=$lt_variables_saved_for_relink
21423 # Do we need the "lib" prefix for modules?
21424 need_lib_prefix=$need_lib_prefix
21426 # Do we need a version for libraries?
21427 need_version=$need_version
21429 # Library versioning type.
21430 version_type=$version_type
21432 # Shared library runtime path variable.
21433 runpath_var=$runpath_var
21435 # Shared library path variable.
21436 shlibpath_var=$shlibpath_var
21438 # Is shlibpath searched before the hard-coded library search path?
21439 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21441 # Format of library name prefix.
21442 libname_spec=$lt_libname_spec
21444 # List of archive names. First name is the real one, the rest are links.
21445 # The last name is the one that the linker finds with -lNAME
21446 library_names_spec=$lt_library_names_spec
21448 # The coded name of the library, if different from the real name.
21449 soname_spec=$lt_soname_spec
21451 # Command to use after installation of a shared archive.
21452 postinstall_cmds=$lt_postinstall_cmds
21454 # Command to use after uninstallation of a shared archive.
21455 postuninstall_cmds=$lt_postuninstall_cmds
21457 # Commands used to finish a libtool library installation in a directory.
21458 finish_cmds=$lt_finish_cmds
21460 # As "finish_cmds", except a single script fragment to be evaled but
21462 finish_eval=$lt_finish_eval
21464 # Whether we should hardcode library paths into libraries.
21465 hardcode_into_libs=$hardcode_into_libs
21467 # Compile-time system search path for libraries.
21468 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21470 # Run-time system search path for libraries.
21471 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21473 # Whether dlopen is supported.
21474 dlopen_support=$enable_dlopen
21476 # Whether dlopen of programs is supported.
21477 dlopen_self=$enable_dlopen_self
21479 # Whether dlopen of statically linked programs is supported.
21480 dlopen_self_static=$enable_dlopen_self_static
21482 # Commands to strip libraries.
21483 old_striplib=$lt_old_striplib
21484 striplib=$lt_striplib
21487 # The linker used to build libraries.
21490 # Commands used to build an old-style archive.
21491 old_archive_cmds=$lt_old_archive_cmds
21493 # A language specific compiler.
21496 # Is the compiler the GNU compiler?
21499 # Compiler flag to turn off builtin functions.
21500 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21502 # How to pass a linker flag through the compiler.
21503 wl=$lt_lt_prog_compiler_wl
21505 # Additional compiler flags for building library objects.
21506 pic_flag=$lt_lt_prog_compiler_pic
21508 # Compiler flag to prevent dynamic linking.
21509 link_static_flag=$lt_lt_prog_compiler_static
21511 # Does compiler simultaneously support -c and -o options?
21512 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21514 # Whether or not to add -lc for building shared libraries.
21515 build_libtool_need_lc=$archive_cmds_need_lc
21517 # Whether or not to disallow shared libs when runtime libs are static.
21518 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21520 # Compiler flag to allow reflexive dlopens.
21521 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21523 # Compiler flag to generate shared objects directly from archives.
21524 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21526 # Whether the compiler copes with passing no objects directly.
21527 compiler_needs_object=$lt_compiler_needs_object
21529 # Create an old-style archive from a shared archive.
21530 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21532 # Create a temporary old-style archive to link instead of a shared archive.
21533 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21535 # Commands used to build a shared archive.
21536 archive_cmds=$lt_archive_cmds
21537 archive_expsym_cmds=$lt_archive_expsym_cmds
21539 # Commands used to build a loadable module if different from building
21540 # a shared archive.
21541 module_cmds=$lt_module_cmds
21542 module_expsym_cmds=$lt_module_expsym_cmds
21544 # Whether we are building with GNU ld or not.
21545 with_gnu_ld=$lt_with_gnu_ld
21547 # Flag that allows shared libraries with undefined symbols to be built.
21548 allow_undefined_flag=$lt_allow_undefined_flag
21550 # Flag that enforces no undefined symbols.
21551 no_undefined_flag=$lt_no_undefined_flag
21553 # Flag to hardcode \$libdir into a binary during linking.
21554 # This must work even if \$libdir does not exist
21555 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21557 # If ld is used when linking, flag to hardcode \$libdir into a binary
21558 # during linking. This must work even if \$libdir does not exist.
21559 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21561 # Whether we need a single "-rpath" flag with a separated argument.
21562 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21564 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21565 # DIR into the resulting binary.
21566 hardcode_direct=$hardcode_direct
21568 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21569 # DIR into the resulting binary and the resulting library dependency is
21570 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21571 # library is relocated.
21572 hardcode_direct_absolute=$hardcode_direct_absolute
21574 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21575 # into the resulting binary.
21576 hardcode_minus_L=$hardcode_minus_L
21578 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21579 # into the resulting binary.
21580 hardcode_shlibpath_var=$hardcode_shlibpath_var
21582 # Set to "yes" if building a shared library automatically hardcodes DIR
21583 # into the library and all subsequent libraries and executables linked
21585 hardcode_automatic=$hardcode_automatic
21587 # Set to yes if linker adds runtime paths of dependent libraries
21588 # to runtime path list.
21589 inherit_rpath=$inherit_rpath
21591 # Whether libtool must link a program against all its dependency libraries.
21592 link_all_deplibs=$link_all_deplibs
21594 # Fix the shell variable \$srcfile for the compiler.
21595 fix_srcfile_path=$lt_fix_srcfile_path
21597 # Set to "yes" if exported symbols are required.
21598 always_export_symbols=$always_export_symbols
21600 # The commands to list exported symbols.
21601 export_symbols_cmds=$lt_export_symbols_cmds
21603 # Symbols that should not be listed in the preloaded symbols.
21604 exclude_expsyms=$lt_exclude_expsyms
21606 # Symbols that must always be exported.
21607 include_expsyms=$lt_include_expsyms
21609 # Commands necessary for linking programs (against libraries) with templates.
21610 prelink_cmds=$lt_prelink_cmds
21612 # Specify filename containing input files.
21613 file_list_spec=$lt_file_list_spec
21615 # How to hardcode a shared library path into an executable.
21616 hardcode_action=$hardcode_action
21618 # Dependencies to place before and after the objects being linked to
21619 # create a shared library.
21620 predep_objects=$lt_predep_objects
21621 postdep_objects=$lt_postdep_objects
21622 predeps=$lt_predeps
21623 postdeps=$lt_postdeps
21625 # The library search path used internally by the compiler when linking
21626 # a shared library.
21627 compiler_lib_search_path=$lt_compiler_lib_search_path
21629 # ### END LIBTOOL CONFIG
21635 cat <<\_LT_EOF
>> "$cfgfile"
21636 # AIX sometimes has problems with the GCC collect2 program. For some
21637 # reason, if we set the COLLECT_NAMES environment variable, the problems
21638 # vanish in a puff of smoke.
21639 if test "X${COLLECT_NAMES+set}" != Xset
; then
21641 export COLLECT_NAMES
21648 ltmain
="$ac_aux_dir/ltmain.sh"
21651 # We use sed instead of cat because bash on DJGPP gets confused if
21652 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21653 # text mode, it properly converts lines to CR/LF. This bash problem
21654 # is reportedly fixed, but why not run on old versions too?
21655 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21656 ||
(rm -f "$cfgfile"; exit 1)
21660 cat << \_LT_EOF
>> "$cfgfile"
21661 # func_dirname file append nondir_replacement
21662 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21663 # otherwise set result to NONDIR_REPLACEMENT.
21667 */*) func_dirname_result
="${1%/*}${2}" ;;
21668 * ) func_dirname_result
="${3}" ;;
21672 # func_basename file
21675 func_basename_result
="${1##*/}"
21678 # func_stripname prefix suffix name
21679 # strip PREFIX and SUFFIX off of NAME.
21680 # PREFIX and SUFFIX must not contain globbing or regex special
21681 # characters, hashes, percent signs, but SUFFIX may contain a leading
21682 # dot (in which case that matches only a dot).
21685 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
21686 # positional parameters, so assign one to ordinary parameter first.
21687 func_stripname_result
=${3}
21688 func_stripname_result
=${func_stripname_result#"${1}"}
21689 func_stripname_result
=${func_stripname_result%"${2}"}
21695 func_opt_split_opt
=${1%%=*}
21696 func_opt_split_arg
=${1#*=}
21703 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
21704 *) func_lo2o_result
=${1} ;;
21709 *) # Bourne compatible functions.
21710 cat << \_LT_EOF
>> "$cfgfile"
21711 # func_dirname file append nondir_replacement
21712 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21713 # otherwise set result to NONDIR_REPLACEMENT.
21716 # Extract subdirectory from the argument.
21717 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
21718 if test "X$func_dirname_result" = "X${1}"; then
21719 func_dirname_result
="${3}"
21721 func_dirname_result
="$func_dirname_result${2}"
21725 # func_basename file
21728 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
21731 # func_stripname prefix suffix name
21732 # strip PREFIX and SUFFIX off of NAME.
21733 # PREFIX and SUFFIX must not contain globbing or regex special
21734 # characters, hashes, percent signs, but SUFFIX may contain a leading
21735 # dot (in which case that matches only a dot).
21736 # func_strip_suffix prefix name
21740 .
*) func_stripname_result
=`$ECHO "X${3}" \
21741 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
21742 *) func_stripname_result
=`$ECHO "X${3}" \
21743 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
21748 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
21749 my_sed_long_arg
='1s/^-[^=]*=//'
21754 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
21755 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
21761 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
21766 case $lt_shell_append in
21768 cat << \_LT_EOF
>> "$cfgfile"
21770 # func_append var value
21771 # Append VALUE to the end of shell variable VAR.
21779 cat << \_LT_EOF
>> "$cfgfile"
21781 # func_append var value
21782 # Append VALUE to the end of shell variable VAR.
21792 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
21793 ||
(rm -f "$cfgfile"; exit 1)
21795 mv -f "$cfgfile" "$ofile" ||
21796 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21800 cat <<_LT_EOF >> "$ofile"
21802 # ### BEGIN LIBTOOL TAG CONFIG: FC
21804 # The linker used to build libraries.
21807 # Commands used to build an old-style archive.
21808 old_archive_cmds=$lt_old_archive_cmds_FC
21810 # A language specific compiler.
21813 # Is the compiler the GNU compiler?
21816 # Compiler flag to turn off builtin functions.
21817 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
21819 # How to pass a linker flag through the compiler.
21820 wl=$lt_lt_prog_compiler_wl_FC
21822 # Additional compiler flags for building library objects.
21823 pic_flag=$lt_lt_prog_compiler_pic_FC
21825 # Compiler flag to prevent dynamic linking.
21826 link_static_flag=$lt_lt_prog_compiler_static_FC
21828 # Does compiler simultaneously support -c and -o options?
21829 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
21831 # Whether or not to add -lc for building shared libraries.
21832 build_libtool_need_lc=$archive_cmds_need_lc_FC
21834 # Whether or not to disallow shared libs when runtime libs are static.
21835 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
21837 # Compiler flag to allow reflexive dlopens.
21838 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
21840 # Compiler flag to generate shared objects directly from archives.
21841 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
21843 # Whether the compiler copes with passing no objects directly.
21844 compiler_needs_object=$lt_compiler_needs_object_FC
21846 # Create an old-style archive from a shared archive.
21847 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
21849 # Create a temporary old-style archive to link instead of a shared archive.
21850 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
21852 # Commands used to build a shared archive.
21853 archive_cmds=$lt_archive_cmds_FC
21854 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
21856 # Commands used to build a loadable module if different from building
21857 # a shared archive.
21858 module_cmds=$lt_module_cmds_FC
21859 module_expsym_cmds=$lt_module_expsym_cmds_FC
21861 # Whether we are building with GNU ld or not.
21862 with_gnu_ld=$lt_with_gnu_ld_FC
21864 # Flag that allows shared libraries with undefined symbols to be built.
21865 allow_undefined_flag=$lt_allow_undefined_flag_FC
21867 # Flag that enforces no undefined symbols.
21868 no_undefined_flag=$lt_no_undefined_flag_FC
21870 # Flag to hardcode \$libdir into a binary during linking.
21871 # This must work even if \$libdir does not exist
21872 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
21874 # If ld is used when linking, flag to hardcode \$libdir into a binary
21875 # during linking. This must work even if \$libdir does not exist.
21876 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
21878 # Whether we need a single "-rpath" flag with a separated argument.
21879 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
21881 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21882 # DIR into the resulting binary.
21883 hardcode_direct=$hardcode_direct_FC
21885 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21886 # DIR into the resulting binary and the resulting library dependency is
21887 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21888 # library is relocated.
21889 hardcode_direct_absolute=$hardcode_direct_absolute_FC
21891 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21892 # into the resulting binary.
21893 hardcode_minus_L=$hardcode_minus_L_FC
21895 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21896 # into the resulting binary.
21897 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
21899 # Set to "yes" if building a shared library automatically hardcodes DIR
21900 # into the library and all subsequent libraries and executables linked
21902 hardcode_automatic=$hardcode_automatic_FC
21904 # Set to yes if linker adds runtime paths of dependent libraries
21905 # to runtime path list.
21906 inherit_rpath=$inherit_rpath_FC
21908 # Whether libtool must link a program against all its dependency libraries.
21909 link_all_deplibs=$link_all_deplibs_FC
21911 # Fix the shell variable \$srcfile for the compiler.
21912 fix_srcfile_path=$lt_fix_srcfile_path_FC
21914 # Set to "yes" if exported symbols are required.
21915 always_export_symbols=$always_export_symbols_FC
21917 # The commands to list exported symbols.
21918 export_symbols_cmds=$lt_export_symbols_cmds_FC
21920 # Symbols that should not be listed in the preloaded symbols.
21921 exclude_expsyms=$lt_exclude_expsyms_FC
21923 # Symbols that must always be exported.
21924 include_expsyms=$lt_include_expsyms_FC
21926 # Commands necessary for linking programs (against libraries) with templates.
21927 prelink_cmds=$lt_prelink_cmds_FC
21929 # Specify filename containing input files.
21930 file_list_spec=$lt_file_list_spec_FC
21932 # How to hardcode a shared library path into an executable.
21933 hardcode_action=$hardcode_action_FC
21935 # Dependencies to place before and after the objects being linked to
21936 # create a shared library.
21937 predep_objects=$lt_predep_objects_FC
21938 postdep_objects=$lt_postdep_objects_FC
21939 predeps=$lt_predeps_FC
21940 postdeps=$lt_postdeps_FC
21942 # The library search path used internally by the compiler when linking
21943 # a shared library.
21944 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
21946 # ### END LIBTOOL TAG CONFIG: FC
21951 if test "$GCC" = yes; then
21952 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
21954 echo "/* generated for $CC */" > tmp-stdint.h
21957 sed 's/^ *//' >> tmp-stdint.h
<<EOF
21959 #ifndef GCC_GENERATED_STDINT_H
21960 #define GCC_GENERATED_STDINT_H 1
21962 #include <sys/types.h>
21965 if test "$acx_cv_header_stdint" != stdint.h
; then
21966 echo "#include <stddef.h>" >> tmp-stdint.h
21968 if test "$acx_cv_header_stdint" != stddef.h
; then
21969 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
21972 sed 's/^ *//' >> tmp-stdint.h
<<EOF
21973 /* glibc uses these symbols as guards to prevent redefinitions. */
21974 #ifdef __int8_t_defined
21979 #ifdef __uint32_t_defined
21985 # ----------------- done header, emit basic int types -------------
21986 if test "$acx_cv_header_stdint" = stddef.h
; then
21987 sed 's/^ *//' >> tmp-stdint.h
<<EOF
21991 #ifndef __uint8_t_defined
21992 #define __uint8_t_defined
21993 typedef unsigned $acx_cv_type_int8_t uint8_t;
21999 #ifndef __uint16_t_defined
22000 #define __uint16_t_defined
22001 typedef unsigned $acx_cv_type_int16_t uint16_t;
22007 #ifndef __uint32_t_defined
22008 #define __uint32_t_defined
22009 typedef unsigned $acx_cv_type_int32_t uint32_t;
22015 #ifndef __int8_t_defined
22016 #define __int8_t_defined
22017 typedef $acx_cv_type_int8_t int8_t;
22023 #ifndef __int16_t_defined
22024 #define __int16_t_defined
22025 typedef $acx_cv_type_int16_t int16_t;
22031 #ifndef __int32_t_defined
22032 #define __int32_t_defined
22033 typedef $acx_cv_type_int32_t int32_t;
22037 elif test "$ac_cv_type_u_int32_t" = yes; then
22038 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22040 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
22053 #ifndef __uint8_t_defined
22054 #define __uint8_t_defined
22055 typedef u_int8_t uint8_t;
22061 #ifndef __uint16_t_defined
22062 #define __uint16_t_defined
22063 typedef u_int16_t uint16_t;
22069 #ifndef __uint32_t_defined
22070 #define __uint32_t_defined
22071 typedef u_int32_t uint32_t;
22076 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22078 /* Some systems have guard macros to prevent redefinitions, define them. */
22100 # ------------- done basic int types, emit int64_t types ------------
22101 if test "$ac_cv_type_uint64_t" = yes; then
22102 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22104 /* system headers have good uint64_t and int64_t */
22112 elif test "$ac_cv_type_u_int64_t" = yes; then
22113 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22115 /* system headers have an u_int64_t (and int64_t) */
22121 #ifndef __uint64_t_defined
22122 #define __uint64_t_defined
22123 typedef u_int64_t uint64_t;
22127 elif test -n "$acx_cv_type_int64_t"; then
22128 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22130 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
22133 typedef $acx_cv_type_int64_t int64_t;
22137 #ifndef __uint64_t_defined
22138 #define __uint64_t_defined
22139 typedef unsigned $acx_cv_type_int64_t uint64_t;
22144 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22146 /* some common heuristics for int64_t, using compiler-specific tests */
22147 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
22150 #ifndef __int64_t_defined
22151 typedef long long int64_t;
22156 typedef unsigned long long uint64_t;
22159 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
22160 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
22161 does not implement __extension__. But that compiler doesn't define
22163 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
22164 # define __extension__
22169 __extension__ typedef long long int64_t;
22173 __extension__ typedef unsigned long long uint64_t;
22176 #elif !defined __STRICT_ANSI__
22177 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
22181 typedef __int64 int64_t;
22185 typedef unsigned __int64 uint64_t;
22187 # endif /* compiler */
22189 #endif /* ANSI version */
22193 # ------------- done int64_t types, emit intptr types ------------
22194 if test "$ac_cv_type_uintptr_t" != yes; then
22195 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22197 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
22198 #ifndef __uintptr_t_defined
22199 typedef u$acx_cv_type_intptr_t uintptr_t;
22201 #ifndef __intptr_t_defined
22202 typedef $acx_cv_type_intptr_t intptr_t;
22207 # ------------- done intptr types, emit int_least types ------------
22208 if test "$ac_cv_type_int_least32_t" != yes; then
22209 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22211 /* Define int_least types */
22212 typedef int8_t int_least8_t;
22213 typedef int16_t int_least16_t;
22214 typedef int32_t int_least32_t;
22216 typedef int64_t int_least64_t;
22219 typedef uint8_t uint_least8_t;
22220 typedef uint16_t uint_least16_t;
22221 typedef uint32_t uint_least32_t;
22223 typedef uint64_t uint_least64_t;
22228 # ------------- done intptr types, emit int_fast types ------------
22229 if test "$ac_cv_type_int_fast32_t" != yes; then
22230 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22232 /* Define int_fast types. short is often slow */
22233 typedef int8_t int_fast8_t;
22234 typedef int int_fast16_t;
22235 typedef int32_t int_fast32_t;
22237 typedef int64_t int_fast64_t;
22240 typedef uint8_t uint_fast8_t;
22241 typedef unsigned int uint_fast16_t;
22242 typedef uint32_t uint_fast32_t;
22244 typedef uint64_t uint_fast64_t;
22249 if test "$ac_cv_type_uintmax_t" != yes; then
22250 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22252 /* Define intmax based on what we found */
22254 typedef int64_t intmax_t;
22256 typedef long intmax_t;
22259 typedef uint64_t uintmax_t;
22261 typedef unsigned long uintmax_t;
22266 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22268 #endif /* GCC_GENERATED_STDINT_H */
22271 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
22274 mv -f tmp-stdint.h gstdint.h
22282 cat >>$CONFIG_STATUS <<\_ACEOF
22284 { (exit 0); exit 0; }
22286 chmod +x
$CONFIG_STATUS
22287 ac_clean_files
=$ac_clean_files_save
22290 # configure is writing to config.log, and then calls config.status.
22291 # config.status does its own redirection, appending to config.log.
22292 # Unfortunately, on DOS this fails, as config.log is still kept open
22293 # by configure, so config.status won't be able to write to it; its
22294 # output is simply discarded. So we exec the FD to /dev/null,
22295 # effectively closing config.log, so it can be properly (re)opened and
22296 # appended to by config.status. When coming back to configure, we
22297 # need to make the FD available again.
22298 if test "$no_create" != yes; then
22300 ac_config_status_args
=
22301 test "$silent" = yes &&
22302 ac_config_status_args
="$ac_config_status_args --quiet"
22304 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22306 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22307 # would make configure fail if this is the last instruction.
22308 $ac_cs_success ||
{ (exit 1); exit 1; }