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-linux-futex Use the Linux futex system call
1008 --enable-generated-files-in-srcdir
1009 put copies of generated files
in source dir intended
1010 for creating
source tarballs
for users without
1011 texinfo bison or flex.
[default
=no
]
1012 --enable-multilib build many library versions
(default
)
1013 --disable-dependency-tracking speeds up one-time build
1014 --enable-dependency-tracking do not reject slow dependency extractors
1015 --enable-shared[=PKGS
]
1016 build shared libraries
[default
=yes]
1017 --enable-static[=PKGS
]
1018 build static libraries
[default
=yes]
1019 --enable-fast-install[=PKGS
]
1020 optimize
for fast installation
[default
=yes]
1021 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1022 --enable-maintainer-mode enable make rules and dependencies not useful
1023 (and sometimes confusing
) to the casual installer
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 echo "$as_me:$LINENO: checking for --enable-linux-futex" >&5
1522 echo $ECHO_N "checking for --enable-linux-futex... $ECHO_C" >&6
1523 # Check whether --enable-linux-futex or --disable-linux-futex was given.
1524 if test "${enable_linux_futex+set}" = set; then
1525 enableval="$enable_linux_futex"
1527 case "$enableval" in
1529 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
1530 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
1531 { (exit 1); exit 1; }; } ;;
1535 enable_linux_futex=default
1538 echo "$as_me:$LINENO: result: $enable_linux_futex" >&5
1539 echo "${ECHO_T}$enable_linux_futex" >&6
1541 # We would like our source tree to be readonly. However when releases or
1542 # pre-releases are generated, the flex/bison generated files as well as the
1543 # various formats of manuals need to be included along with the rest of the
1544 # sources. Therefore we have --enable-generated-files-in-srcdir to do
1546 echo "$as_me:$LINENO: checking for --enable-generated-files-in-srcdir" >&5
1547 echo $ECHO_N "checking for --enable-generated-files-in-srcdir... $ECHO_C" >&6
1548 # Check whether --enable-generated-files-in-srcdir or --disable-generated-files-in-srcdir was given.
1549 if test "${enable_generated_files_in_srcdir+set}" = set; then
1550 enableval="$enable_generated_files_in_srcdir"
1552 case "$enableval" in
1554 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable generated-files-in-srcdir" >&5
1555 echo "$as_me: error: Unknown argument to enable/disable generated-files-in-srcdir" >&2;}
1556 { (exit 1); exit 1; }; } ;;
1560 enable_generated_files_in_srcdir=no
1563 echo "$as_me:$LINENO: result: $enable_generated_files_in_srcdir" >&5
1564 echo "${ECHO_T}$enable_generated_files_in_srcdir" >&6
1567 if test "$enable_generated_files_in_srcdir" = yes; then
1580 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1582 # You will slowly go insane if you do not grok the following fact: when
1583 # building this library, the top-level /target/ becomes the library's /host/.
1585 # configure then causes --target to default to --host, exactly like any
1586 # other package using autoconf. Therefore, 'target' and 'host' will
1587 # always be the same. This makes sense both for native and cross compilers
1588 # just think about it for a little while. :-)
1590 # Also, if this library is being configured as part of a cross compiler, the
1591 # top-level configure script will pass the "real" host as $with_cross_host.
1593 # Do not delete or change the following two lines. For why, see
1594 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1596 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1597 if test -f $ac_dir/install-sh
; then
1599 ac_install_sh
="$ac_aux_dir/install-sh -c"
1601 elif test -f $ac_dir/install.sh
; then
1603 ac_install_sh
="$ac_aux_dir/install.sh -c"
1605 elif test -f $ac_dir/shtool
; then
1607 ac_install_sh
="$ac_aux_dir/shtool install -c"
1611 if test -z "$ac_aux_dir"; then
1612 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1613 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1614 { (exit 1); exit 1; }; }
1616 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1617 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1618 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1620 # Make sure we can run config.sub.
1621 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1622 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1623 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1624 { (exit 1); exit 1; }; }
1626 echo "$as_me:$LINENO: checking build system type" >&5
1627 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1628 if test "${ac_cv_build+set}" = set; then
1629 echo $ECHO_N "(cached) $ECHO_C" >&6
1631 ac_cv_build_alias
=$build_alias
1632 test -z "$ac_cv_build_alias" &&
1633 ac_cv_build_alias
=`$ac_config_guess`
1634 test -z "$ac_cv_build_alias" &&
1635 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1636 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1637 { (exit 1); exit 1; }; }
1638 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1639 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1640 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1641 { (exit 1); exit 1; }; }
1644 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1645 echo "${ECHO_T}$ac_cv_build" >&6
1647 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1648 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1649 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1652 echo "$as_me:$LINENO: checking host system type" >&5
1653 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1654 if test "${ac_cv_host+set}" = set; then
1655 echo $ECHO_N "(cached) $ECHO_C" >&6
1657 ac_cv_host_alias
=$host_alias
1658 test -z "$ac_cv_host_alias" &&
1659 ac_cv_host_alias
=$ac_cv_build_alias
1660 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1661 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1662 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1663 { (exit 1); exit 1; }; }
1666 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1667 echo "${ECHO_T}$ac_cv_host" >&6
1669 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1670 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1671 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1674 echo "$as_me:$LINENO: checking target system type" >&5
1675 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1676 if test "${ac_cv_target+set}" = set; then
1677 echo $ECHO_N "(cached) $ECHO_C" >&6
1679 ac_cv_target_alias
=$target_alias
1680 test "x$ac_cv_target_alias" = "x" &&
1681 ac_cv_target_alias
=$ac_cv_host_alias
1682 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1683 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1684 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1685 { (exit 1); exit 1; }; }
1688 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1689 echo "${ECHO_T}$ac_cv_target" >&6
1690 target
=$ac_cv_target
1691 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1692 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1693 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1696 # The aliases save the names the user supplied, while $host etc.
1697 # will get canonicalized.
1698 test -n "$target_alias" &&
1699 test "$program_prefix$program_suffix$program_transform_name" = \
1701 program_prefix
=${target_alias}-
1702 target_alias
=${target_alias-$host_alias}
1704 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1705 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1706 # 1.9.0: minimum required version
1707 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1708 # of other PACKAGE_* variables will, however, and there's nothing
1709 # we can do about that; they come from AC_INIT).
1710 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1711 # file in the top srcdir, etc, etc), so stop complaining.
1712 # -Wall: turns on all automake warnings...
1713 # -Wno-portability: ...except this one, since GNU make is required.
1714 # -Wno-override: ... and this one, since we do want this in testsuite.
1715 am__api_version
="1.9"
1716 # Find a good install program. We prefer a C program (faster),
1717 # so one script is as good as another. But avoid the broken or
1718 # incompatible versions:
1719 # SysV /etc/install, /usr/sbin/install
1720 # SunOS /usr/etc/install
1721 # IRIX /sbin/install
1723 # AmigaOS /C/install, which installs bootblocks on floppy discs
1724 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1725 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1726 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1727 # OS/2's system install, which has a completely different semantic
1728 # ./install, which can be erroneously created by make from ./install.sh.
1729 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1730 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1731 if test -z "$INSTALL"; then
1732 if test "${ac_cv_path_install+set}" = set; then
1733 echo $ECHO_N "(cached) $ECHO_C" >&6
1735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1739 test -z "$as_dir" && as_dir
=.
1740 # Account for people who put trailing slashes in PATH elements.
1742 .
/ | .
// |
/cC
/* | \
1743 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1744 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1747 # OSF1 and SCO ODT 3.0 have their own names for install.
1748 # Don't use installbsd from OSF since it installs stuff as root
1750 for ac_prog
in ginstall scoinst
install; do
1751 for ac_exec_ext
in '' $ac_executable_extensions; do
1752 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1753 if test $ac_prog = install &&
1754 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1755 # AIX install. It has an incompatible calling convention.
1757 elif test $ac_prog = install &&
1758 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1759 # program-specific install script used by HP pwplus--don't use.
1762 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1774 if test "${ac_cv_path_install+set}" = set; then
1775 INSTALL
=$ac_cv_path_install
1777 # As a last resort, use the slow shell script. We don't cache a
1778 # path for INSTALL within a source directory, because that will
1779 # break other packages using the cache if that directory is
1780 # removed, or if the path is relative.
1781 INSTALL
=$ac_install_sh
1784 echo "$as_me:$LINENO: result: $INSTALL" >&5
1785 echo "${ECHO_T}$INSTALL" >&6
1787 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1788 # It thinks the first close brace ends the variable substitution.
1789 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1791 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1793 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1795 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1796 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1799 echo timestamp
> conftest.
file
1800 # Do `set' in a subshell so we don't clobber the current shell's
1801 # arguments. Must try -L first in case configure is actually a
1802 # symlink; some systems play weird games with the mod time of symlinks
1803 # (eg FreeBSD returns the mod time of the symlink's containing
1806 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1807 if test "$*" = "X"; then
1809 set X
`ls -t $srcdir/configure conftest.file`
1812 if test "$*" != "X $srcdir/configure conftest.file" \
1813 && test "$*" != "X conftest.file $srcdir/configure"; then
1815 # If neither matched, then we have a broken ls. This can happen
1816 # if, for instance, CONFIG_SHELL is bash and it inherits a
1817 # broken ls alias from the environment. This has actually
1818 # happened. Such a system could not be considered "sane".
1819 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1820 alias in your environment" >&5
1821 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1822 alias in your environment" >&2;}
1823 { (exit 1); exit 1; }; }
1826 test "$2" = conftest.
file
1832 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1833 Check your system clock" >&5
1834 echo "$as_me: error: newly created file is older than distributed files!
1835 Check your system clock" >&2;}
1836 { (exit 1); exit 1; }; }
1838 echo "$as_me:$LINENO: result: yes" >&5
1839 echo "${ECHO_T}yes" >&6
1840 test "$program_prefix" != NONE
&&
1841 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1842 # Use a double $ so make ignores it.
1843 test "$program_suffix" != NONE
&&
1844 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1845 # Double any \ or $. echo might interpret backslashes.
1846 # By default was `s,x,x', remove it if useless.
1847 cat <<\_ACEOF
>conftest.
sed
1848 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1850 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1853 # expand $ac_aux_dir to an absolute path
1854 am_aux_dir
=`cd $ac_aux_dir && pwd`
1856 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1857 # Use eval to expand $SHELL
1858 if eval "$MISSING --run true"; then
1859 am_missing_run
="$MISSING --run "
1862 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1863 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1866 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1867 # We used to keeping the `.' as first argument, in order to
1868 # allow $(mkdir_p) to be used without argument. As in
1869 # $(mkdir_p) $(somedir)
1870 # where $(somedir) is conditionally defined. However this is wrong
1872 # 1. if the package is installed by a user who cannot write `.'
1873 # make install will fail,
1874 # 2. the above comment should most certainly read
1875 # $(mkdir_p) $(DESTDIR)$(somedir)
1876 # so it does not work when $(somedir) is undefined and
1877 # $(DESTDIR) is not.
1878 # To support the latter case, we have to write
1879 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1880 # so the `.' trick is pointless.
1881 mkdir_p
='mkdir -p --'
1883 # On NextStep and OpenStep, the `mkdir' command does not
1884 # recognize any option. It will interpret all options as
1885 # directories to create, and then abort because `.' already
1887 for d
in .
/-p .
/--version;
1889 test -d $d && rmdir $d
1891 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1892 if test -f "$ac_aux_dir/mkinstalldirs"; then
1893 mkdir_p
='$(mkinstalldirs)'
1895 mkdir_p
='$(install_sh) -d'
1899 for ac_prog
in gawk mawk nawk
awk
1901 # Extract the first word of "$ac_prog", so it can be a program name with args.
1902 set dummy
$ac_prog; ac_word
=$2
1903 echo "$as_me:$LINENO: checking for $ac_word" >&5
1904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1905 if test "${ac_cv_prog_AWK+set}" = set; then
1906 echo $ECHO_N "(cached) $ECHO_C" >&6
1908 if test -n "$AWK"; then
1909 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1915 test -z "$as_dir" && as_dir
=.
1916 for ac_exec_ext
in '' $ac_executable_extensions; do
1917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1918 ac_cv_prog_AWK
="$ac_prog"
1919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1928 if test -n "$AWK"; then
1929 echo "$as_me:$LINENO: result: $AWK" >&5
1930 echo "${ECHO_T}$AWK" >&6
1932 echo "$as_me:$LINENO: result: no" >&5
1933 echo "${ECHO_T}no" >&6
1936 test -n "$AWK" && break
1939 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1940 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1941 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1942 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1943 echo $ECHO_N "(cached) $ECHO_C" >&6
1945 cat >conftest.
make <<\_ACEOF
1947 @
echo 'ac_maketemp="$(MAKE)"'
1949 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1950 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1951 if test -n "$ac_maketemp"; then
1952 eval ac_cv_prog_make_
${ac_make}_set
=yes
1954 eval ac_cv_prog_make_
${ac_make}_set
=no
1958 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1959 echo "$as_me:$LINENO: result: yes" >&5
1960 echo "${ECHO_T}yes" >&6
1963 echo "$as_me:$LINENO: result: no" >&5
1964 echo "${ECHO_T}no" >&6
1965 SET_MAKE
="MAKE=${MAKE-make}"
1968 rm -rf .tst
2>/dev
/null
1969 mkdir .tst
2>/dev
/null
1970 if test -d .tst
; then
1975 rmdir .tst
2>/dev
/null
1977 # test to see if srcdir already configured
1978 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1979 test -f $srcdir/config.status
; then
1980 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1981 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1982 { (exit 1); exit 1; }; }
1985 # test whether we have cygpath
1986 if test -z "$CYGPATH_W"; then
1987 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1988 CYGPATH_W
='cygpath -w'
1995 # Define the identity of the package.
2000 cat >>confdefs.h
<<_ACEOF
2001 #define PACKAGE "$PACKAGE"
2005 cat >>confdefs.h
<<_ACEOF
2006 #define VERSION "$VERSION"
2009 # Some tools Automake needs.
2011 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2014 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2017 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2020 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2023 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2025 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2027 # Installed binaries are usually stripped using `strip' when the user
2028 # run `make install-strip'. However `strip' might not be the right
2029 # tool to use in cross-compilation environments, therefore Automake
2030 # will honor the `STRIP' environment variable to overrule this program.
2031 if test "$cross_compiling" != no
; then
2032 if test -n "$ac_tool_prefix"; then
2033 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2034 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2035 echo "$as_me:$LINENO: checking for $ac_word" >&5
2036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2037 if test "${ac_cv_prog_STRIP+set}" = set; then
2038 echo $ECHO_N "(cached) $ECHO_C" >&6
2040 if test -n "$STRIP"; then
2041 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2047 test -z "$as_dir" && as_dir
=.
2048 for ac_exec_ext
in '' $ac_executable_extensions; do
2049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2050 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2059 STRIP
=$ac_cv_prog_STRIP
2060 if test -n "$STRIP"; then
2061 echo "$as_me:$LINENO: result: $STRIP" >&5
2062 echo "${ECHO_T}$STRIP" >&6
2064 echo "$as_me:$LINENO: result: no" >&5
2065 echo "${ECHO_T}no" >&6
2069 if test -z "$ac_cv_prog_STRIP"; then
2071 # Extract the first word of "strip", so it can be a program name with args.
2072 set dummy strip
; ac_word
=$2
2073 echo "$as_me:$LINENO: checking for $ac_word" >&5
2074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2075 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2076 echo $ECHO_N "(cached) $ECHO_C" >&6
2078 if test -n "$ac_ct_STRIP"; then
2079 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2085 test -z "$as_dir" && as_dir
=.
2086 for ac_exec_ext
in '' $ac_executable_extensions; do
2087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2088 ac_cv_prog_ac_ct_STRIP
="strip"
2089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2098 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2099 if test -n "$ac_ct_STRIP"; then
2100 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2101 echo "${ECHO_T}$ac_ct_STRIP" >&6
2103 echo "$as_me:$LINENO: result: no" >&5
2104 echo "${ECHO_T}no" >&6
2109 STRIP
="$ac_cv_prog_STRIP"
2113 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2115 # We need awk for the "check" target. The system "awk" is bad on
2117 # Always define AMTAR for backward compatibility.
2119 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2121 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2127 # Default to --enable-multilib
2128 # Check whether --enable-multilib or --disable-multilib was given.
2129 if test "${enable_multilib+set}" = set; then
2130 enableval
="$enable_multilib"
2131 case "$enableval" in
2132 yes) multilib
=yes ;;
2134 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2135 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2136 { (exit 1); exit 1; }; } ;;
2142 # We may get other options which we leave undocumented:
2143 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2144 # See config-ml.in if you want the gory details.
2146 if test "$srcdir" = "."; then
2147 if test "$with_target_subdir" != "."; then
2148 multi_basedir
="$srcdir/$with_multisrctop../.."
2150 multi_basedir
="$srcdir/$with_multisrctop.."
2153 multi_basedir
="$srcdir/.."
2157 # Even if the default multilib is not a cross compilation,
2158 # it may be that some of the other multilibs are.
2159 if test $cross_compiling = no
&& test $multilib = yes \
2160 && test "x${with_multisubdir}" != x
; then
2161 cross_compiling
=maybe
2164 ac_config_commands
="$ac_config_commands default-1"
2167 # Calculate toolexeclibdir
2168 # Also toolexecdir, though it's only used in toolexeclibdir
2169 case ${enable_version_specific_runtime_libs} in
2171 # Need the gcc compiler version to know where to install libraries
2172 # and header files if --enable-version-specific-runtime-libs option
2174 toolexecdir
='$(libdir)/gcc/$(target_alias)'
2175 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2178 if test -n "$with_cross_host" &&
2179 test x
"$with_cross_host" != x
"no"; then
2180 # Install a library built with a cross compiler in tooldir, not libdir.
2181 toolexecdir
='$(exec_prefix)/$(target_alias)'
2182 toolexeclibdir
='$(toolexecdir)/lib'
2184 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
2185 toolexeclibdir
='$(libdir)'
2187 multi_os_directory
=`$CC -print-multi-os-directory`
2188 case $multi_os_directory in
2189 .
) ;; # Avoid trailing /.
2190 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
2197 # Check the compiler.
2198 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2199 # We must force CC to /not/ be precious variables; otherwise
2200 # the wrong, non-multilib-adjusted value will be used in multilibs.
2201 # As a side effect, we have to subst CFLAGS ourselves.
2206 ac_cpp
='$CPP $CPPFLAGS'
2207 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2208 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2209 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2210 if test -n "$ac_tool_prefix"; then
2211 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2212 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2213 echo "$as_me:$LINENO: checking for $ac_word" >&5
2214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2215 if test "${ac_cv_prog_CC+set}" = set; then
2216 echo $ECHO_N "(cached) $ECHO_C" >&6
2218 if test -n "$CC"; then
2219 ac_cv_prog_CC
="$CC" # Let the user override the test.
2221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2225 test -z "$as_dir" && as_dir
=.
2226 for ac_exec_ext
in '' $ac_executable_extensions; do
2227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2228 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2238 if test -n "$CC"; then
2239 echo "$as_me:$LINENO: result: $CC" >&5
2240 echo "${ECHO_T}$CC" >&6
2242 echo "$as_me:$LINENO: result: no" >&5
2243 echo "${ECHO_T}no" >&6
2247 if test -z "$ac_cv_prog_CC"; then
2249 # Extract the first word of "gcc", so it can be a program name with args.
2250 set dummy gcc
; ac_word
=$2
2251 echo "$as_me:$LINENO: checking for $ac_word" >&5
2252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2253 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2254 echo $ECHO_N "(cached) $ECHO_C" >&6
2256 if test -n "$ac_ct_CC"; then
2257 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2263 test -z "$as_dir" && as_dir
=.
2264 for ac_exec_ext
in '' $ac_executable_extensions; do
2265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2266 ac_cv_prog_ac_ct_CC
="gcc"
2267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2275 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2276 if test -n "$ac_ct_CC"; then
2277 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2278 echo "${ECHO_T}$ac_ct_CC" >&6
2280 echo "$as_me:$LINENO: result: no" >&5
2281 echo "${ECHO_T}no" >&6
2289 if test -z "$CC"; then
2290 if test -n "$ac_tool_prefix"; then
2291 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2292 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2293 echo "$as_me:$LINENO: checking for $ac_word" >&5
2294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2295 if test "${ac_cv_prog_CC+set}" = set; then
2296 echo $ECHO_N "(cached) $ECHO_C" >&6
2298 if test -n "$CC"; then
2299 ac_cv_prog_CC
="$CC" # Let the user override the test.
2301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2305 test -z "$as_dir" && as_dir
=.
2306 for ac_exec_ext
in '' $ac_executable_extensions; do
2307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2308 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2318 if test -n "$CC"; then
2319 echo "$as_me:$LINENO: result: $CC" >&5
2320 echo "${ECHO_T}$CC" >&6
2322 echo "$as_me:$LINENO: result: no" >&5
2323 echo "${ECHO_T}no" >&6
2327 if test -z "$ac_cv_prog_CC"; then
2329 # Extract the first word of "cc", so it can be a program name with args.
2330 set dummy cc
; ac_word
=$2
2331 echo "$as_me:$LINENO: checking for $ac_word" >&5
2332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2333 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2334 echo $ECHO_N "(cached) $ECHO_C" >&6
2336 if test -n "$ac_ct_CC"; then
2337 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2343 test -z "$as_dir" && as_dir
=.
2344 for ac_exec_ext
in '' $ac_executable_extensions; do
2345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2346 ac_cv_prog_ac_ct_CC
="cc"
2347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2355 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2356 if test -n "$ac_ct_CC"; then
2357 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2358 echo "${ECHO_T}$ac_ct_CC" >&6
2360 echo "$as_me:$LINENO: result: no" >&5
2361 echo "${ECHO_T}no" >&6
2370 if test -z "$CC"; then
2371 # Extract the first word of "cc", so it can be a program name with args.
2372 set dummy cc
; ac_word
=$2
2373 echo "$as_me:$LINENO: checking for $ac_word" >&5
2374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2375 if test "${ac_cv_prog_CC+set}" = set; then
2376 echo $ECHO_N "(cached) $ECHO_C" >&6
2378 if test -n "$CC"; then
2379 ac_cv_prog_CC
="$CC" # Let the user override the test.
2382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2386 test -z "$as_dir" && as_dir
=.
2387 for ac_exec_ext
in '' $ac_executable_extensions; do
2388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2389 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2390 ac_prog_rejected
=yes
2394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2400 if test $ac_prog_rejected = yes; then
2401 # We found a bogon in the path, so make sure we never use it.
2402 set dummy
$ac_cv_prog_CC
2404 if test $# != 0; then
2405 # We chose a different compiler from the bogus one.
2406 # However, it has the same basename, so the bogon will be chosen
2407 # first if we set CC to just the basename; use the full file name.
2409 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2415 if test -n "$CC"; then
2416 echo "$as_me:$LINENO: result: $CC" >&5
2417 echo "${ECHO_T}$CC" >&6
2419 echo "$as_me:$LINENO: result: no" >&5
2420 echo "${ECHO_T}no" >&6
2424 if test -z "$CC"; then
2425 if test -n "$ac_tool_prefix"; then
2428 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2429 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2430 echo "$as_me:$LINENO: checking for $ac_word" >&5
2431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2432 if test "${ac_cv_prog_CC+set}" = set; then
2433 echo $ECHO_N "(cached) $ECHO_C" >&6
2435 if test -n "$CC"; then
2436 ac_cv_prog_CC
="$CC" # Let the user override the test.
2438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2442 test -z "$as_dir" && as_dir
=.
2443 for ac_exec_ext
in '' $ac_executable_extensions; do
2444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2445 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2455 if test -n "$CC"; then
2456 echo "$as_me:$LINENO: result: $CC" >&5
2457 echo "${ECHO_T}$CC" >&6
2459 echo "$as_me:$LINENO: result: no" >&5
2460 echo "${ECHO_T}no" >&6
2463 test -n "$CC" && break
2466 if test -z "$CC"; then
2470 # Extract the first word of "$ac_prog", so it can be a program name with args.
2471 set dummy
$ac_prog; ac_word
=$2
2472 echo "$as_me:$LINENO: checking for $ac_word" >&5
2473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2474 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2475 echo $ECHO_N "(cached) $ECHO_C" >&6
2477 if test -n "$ac_ct_CC"; then
2478 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2484 test -z "$as_dir" && as_dir
=.
2485 for ac_exec_ext
in '' $ac_executable_extensions; do
2486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2487 ac_cv_prog_ac_ct_CC
="$ac_prog"
2488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2496 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2497 if test -n "$ac_ct_CC"; then
2498 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2499 echo "${ECHO_T}$ac_ct_CC" >&6
2501 echo "$as_me:$LINENO: result: no" >&5
2502 echo "${ECHO_T}no" >&6
2505 test -n "$ac_ct_CC" && break
2514 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2515 See \`config.log' for more details." >&5
2516 echo "$as_me: error: no acceptable C compiler found in \$PATH
2517 See \`config.log' for more details." >&2;}
2518 { (exit 1); exit 1; }; }
2520 # Provide some information about the compiler.
2521 echo "$as_me:$LINENO:" \
2522 "checking for C compiler version" >&5
2523 ac_compiler
=`set X $ac_compile; echo $2`
2524 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2525 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); }
2529 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2530 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); }
2534 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2535 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538 (exit $ac_status); }
2540 cat >conftest.
$ac_ext <<_ACEOF
2543 cat confdefs.h
>>conftest.
$ac_ext
2544 cat >>conftest.
$ac_ext <<_ACEOF
2545 /* end confdefs.h. */
2555 ac_clean_files_save
=$ac_clean_files
2556 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2557 # Try to create an executable without -o first, disregard a.out.
2558 # It will help us diagnose broken compilers, and finding out an intuition
2560 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2561 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2562 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2563 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2564 (eval $ac_link_default) 2>&5
2566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567 (exit $ac_status); }; then
2568 # Find the output, starting from the most likely. This scheme is
2569 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2572 # Be careful to initialize this variable, since it used to be cached.
2573 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2575 # b.out is created by i960 compilers.
2576 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2578 test -f "$ac_file" ||
continue
2580 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2583 # This is the source file.
2586 # We found the default executable, but exeext='' is most
2590 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2591 # FIXME: I believe we export ac_cv_exeext for Libtool,
2592 # but it would be cool to find out if it's true. Does anybody
2593 # maintain Libtool? --akim.
2601 echo "$as_me: failed program was:" >&5
2602 sed 's/^/| /' conftest.
$ac_ext >&5
2604 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2605 See \`config.log' for more details." >&5
2606 echo "$as_me: error: C compiler cannot create executables
2607 See \`config.log' for more details." >&2;}
2608 { (exit 77); exit 77; }; }
2611 ac_exeext
=$ac_cv_exeext
2612 echo "$as_me:$LINENO: result: $ac_file" >&5
2613 echo "${ECHO_T}$ac_file" >&6
2615 # Check the compiler produces executables we can run. If not, either
2616 # the compiler is broken, or we cross compile.
2617 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2618 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2619 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2620 # If not cross compiling, check that we can run a simple program.
2621 if test "$cross_compiling" != yes; then
2622 if { ac_try
='./$ac_file'
2623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627 (exit $ac_status); }; }; then
2630 if test "$cross_compiling" = maybe
; then
2633 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2634 If you meant to cross compile, use \`--host'.
2635 See \`config.log' for more details." >&5
2636 echo "$as_me: error: cannot run C compiled programs.
2637 If you meant to cross compile, use \`--host'.
2638 See \`config.log' for more details." >&2;}
2639 { (exit 1); exit 1; }; }
2643 echo "$as_me:$LINENO: result: yes" >&5
2644 echo "${ECHO_T}yes" >&6
2646 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2647 ac_clean_files
=$ac_clean_files_save
2648 # Check the compiler produces executables we can run. If not, either
2649 # the compiler is broken, or we cross compile.
2650 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2651 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2652 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2653 echo "${ECHO_T}$cross_compiling" >&6
2655 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2656 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2658 (eval $ac_link) 2>&5
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; then
2662 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2663 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2664 # work properly (i.e., refer to `conftest.exe'), while it won't with
2666 for ac_file
in conftest.exe conftest conftest.
*; do
2667 test -f "$ac_file" ||
continue
2669 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2670 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2677 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2678 See \`config.log' for more details." >&5
2679 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2680 See \`config.log' for more details." >&2;}
2681 { (exit 1); exit 1; }; }
2684 rm -f conftest
$ac_cv_exeext
2685 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2686 echo "${ECHO_T}$ac_cv_exeext" >&6
2688 rm -f conftest.
$ac_ext
2689 EXEEXT
=$ac_cv_exeext
2691 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2692 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2693 if test "${ac_cv_objext+set}" = set; then
2694 echo $ECHO_N "(cached) $ECHO_C" >&6
2696 cat >conftest.
$ac_ext <<_ACEOF
2699 cat confdefs.h
>>conftest.
$ac_ext
2700 cat >>conftest.
$ac_ext <<_ACEOF
2701 /* end confdefs.h. */
2711 rm -f conftest.o conftest.obj
2712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2713 (eval $ac_compile) 2>&5
2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); }; then
2717 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2719 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2720 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2725 echo "$as_me: failed program was:" >&5
2726 sed 's/^/| /' conftest.
$ac_ext >&5
2728 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2729 See \`config.log' for more details." >&5
2730 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2731 See \`config.log' for more details." >&2;}
2732 { (exit 1); exit 1; }; }
2735 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2737 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2738 echo "${ECHO_T}$ac_cv_objext" >&6
2739 OBJEXT
=$ac_cv_objext
2741 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2742 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2743 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2744 echo $ECHO_N "(cached) $ECHO_C" >&6
2746 cat >conftest.
$ac_ext <<_ACEOF
2749 cat confdefs.h
>>conftest.
$ac_ext
2750 cat >>conftest.
$ac_ext <<_ACEOF
2751 /* end confdefs.h. */
2764 rm -f conftest.
$ac_objext
2765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2766 (eval $ac_compile) 2>conftest.er1
2768 grep -v '^ *+' conftest.er1
>conftest.err
2770 cat conftest.err
>&5
2771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772 (exit $ac_status); } &&
2773 { ac_try
='test -z "$ac_c_werror_flag"
2774 || test ! -s conftest.err'
2775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); }; } &&
2780 { ac_try
='test -s conftest.$ac_objext'
2781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785 (exit $ac_status); }; }; then
2788 echo "$as_me: failed program was:" >&5
2789 sed 's/^/| /' conftest.
$ac_ext >&5
2793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2794 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2797 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2798 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2799 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2800 ac_test_CFLAGS
=${CFLAGS+set}
2801 ac_save_CFLAGS
=$CFLAGS
2803 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2804 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2805 if test "${ac_cv_prog_cc_g+set}" = set; then
2806 echo $ECHO_N "(cached) $ECHO_C" >&6
2808 cat >conftest.
$ac_ext <<_ACEOF
2811 cat confdefs.h
>>conftest.
$ac_ext
2812 cat >>conftest.
$ac_ext <<_ACEOF
2813 /* end confdefs.h. */
2823 rm -f conftest.
$ac_objext
2824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2825 (eval $ac_compile) 2>conftest.er1
2827 grep -v '^ *+' conftest.er1
>conftest.err
2829 cat conftest.err
>&5
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); } &&
2832 { ac_try
='test -z "$ac_c_werror_flag"
2833 || test ! -s conftest.err'
2834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }; } &&
2839 { ac_try
='test -s conftest.$ac_objext'
2840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); }; }; then
2847 echo "$as_me: failed program was:" >&5
2848 sed 's/^/| /' conftest.
$ac_ext >&5
2852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2854 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2855 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2856 if test "$ac_test_CFLAGS" = set; then
2857 CFLAGS
=$ac_save_CFLAGS
2858 elif test $ac_cv_prog_cc_g = yes; then
2859 if test "$GCC" = yes; then
2865 if test "$GCC" = yes; then
2871 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2872 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2873 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2874 echo $ECHO_N "(cached) $ECHO_C" >&6
2876 ac_cv_prog_cc_stdc
=no
2878 cat >conftest.
$ac_ext <<_ACEOF
2881 cat confdefs.h
>>conftest.
$ac_ext
2882 cat >>conftest.
$ac_ext <<_ACEOF
2883 /* end confdefs.h. */
2886 #include <sys/types.h>
2887 #include <sys/stat.h>
2888 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2889 struct buf { int x; };
2890 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2891 static char *e (p, i)
2897 static char *f (char * (*g) (char **, int), char **p, ...)
2902 s = g (p, va_arg (v,int));
2907 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2908 function prototypes and stuff, but not '\xHH' hex character constants.
2909 These don't provoke an error unfortunately, instead are silently treated
2910 as 'x'. The following induces an error, until -std1 is added to get
2911 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2912 array size at least. It's necessary to write '\x00'==0 to get something
2913 that's true only with -std1. */
2914 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2916 int test (int i, double x);
2917 struct s1 {int (*f) (int a);};
2918 struct s2 {int (*f) (double a);};
2919 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2925 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2930 # Don't try gcc -ansi; that turns off useful extensions and
2931 # breaks some systems' header files.
2932 # AIX -qlanglvl=ansi
2933 # Ultrix and OSF/1 -std1
2934 # HP-UX 10.20 and later -Ae
2935 # HP-UX older versions -Aa -D_HPUX_SOURCE
2936 # SVR4 -Xc -D__EXTENSIONS__
2937 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2939 CC
="$ac_save_CC $ac_arg"
2940 rm -f conftest.
$ac_objext
2941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2942 (eval $ac_compile) 2>conftest.er1
2944 grep -v '^ *+' conftest.er1
>conftest.err
2946 cat conftest.err
>&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); } &&
2949 { ac_try
='test -z "$ac_c_werror_flag"
2950 || test ! -s conftest.err'
2951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); }; } &&
2956 { ac_try
='test -s conftest.$ac_objext'
2957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961 (exit $ac_status); }; }; then
2962 ac_cv_prog_cc_stdc
=$ac_arg
2965 echo "$as_me: failed program was:" >&5
2966 sed 's/^/| /' conftest.
$ac_ext >&5
2969 rm -f conftest.err conftest.
$ac_objext
2971 rm -f conftest.
$ac_ext conftest.
$ac_objext
2976 case "x$ac_cv_prog_cc_stdc" in
2978 echo "$as_me:$LINENO: result: none needed" >&5
2979 echo "${ECHO_T}none needed" >&6 ;;
2981 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2982 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2983 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2986 # Some people use a C++ compiler to compile C. Since we use `exit',
2987 # in C++ we need to declare it. In case someone uses the same compiler
2988 # for both compiling C and C++ we need to have the C++ compiler decide
2989 # the declaration of exit, since it's the most demanding environment.
2990 cat >conftest.
$ac_ext <<_ACEOF
2995 rm -f conftest.
$ac_objext
2996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2997 (eval $ac_compile) 2>conftest.er1
2999 grep -v '^ *+' conftest.er1
>conftest.err
3001 cat conftest.err
>&5
3002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003 (exit $ac_status); } &&
3004 { ac_try
='test -z "$ac_c_werror_flag"
3005 || test ! -s conftest.err'
3006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010 (exit $ac_status); }; } &&
3011 { ac_try
='test -s conftest.$ac_objext'
3012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); }; }; then
3017 for ac_declaration
in \
3019 'extern "C" void std::exit (int) throw (); using std::exit;' \
3020 'extern "C" void std::exit (int); using std::exit;' \
3021 'extern "C" void exit (int) throw ();' \
3022 'extern "C" void exit (int);' \
3025 cat >conftest.
$ac_ext <<_ACEOF
3028 cat confdefs.h
>>conftest.
$ac_ext
3029 cat >>conftest.
$ac_ext <<_ACEOF
3030 /* end confdefs.h. */
3041 rm -f conftest.
$ac_objext
3042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3043 (eval $ac_compile) 2>conftest.er1
3045 grep -v '^ *+' conftest.er1
>conftest.err
3047 cat conftest.err
>&5
3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049 (exit $ac_status); } &&
3050 { ac_try
='test -z "$ac_c_werror_flag"
3051 || test ! -s conftest.err'
3052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056 (exit $ac_status); }; } &&
3057 { ac_try
='test -s conftest.$ac_objext'
3058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3062 (exit $ac_status); }; }; then
3065 echo "$as_me: failed program was:" >&5
3066 sed 's/^/| /' conftest.
$ac_ext >&5
3070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3071 cat >conftest.
$ac_ext <<_ACEOF
3074 cat confdefs.h
>>conftest.
$ac_ext
3075 cat >>conftest.
$ac_ext <<_ACEOF
3076 /* end confdefs.h. */
3086 rm -f conftest.
$ac_objext
3087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3088 (eval $ac_compile) 2>conftest.er1
3090 grep -v '^ *+' conftest.er1
>conftest.err
3092 cat conftest.err
>&5
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); } &&
3095 { ac_try
='test -z "$ac_c_werror_flag"
3096 || test ! -s conftest.err'
3097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); }; } &&
3102 { ac_try
='test -s conftest.$ac_objext'
3103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); }; }; then
3110 echo "$as_me: failed program was:" >&5
3111 sed 's/^/| /' conftest.
$ac_ext >&5
3114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3117 if test -n "$ac_declaration"; then
3118 echo '#ifdef __cplusplus' >>confdefs.h
3119 echo $ac_declaration >>confdefs.h
3120 echo '#endif' >>confdefs.h
3124 echo "$as_me: failed program was:" >&5
3125 sed 's/^/| /' conftest.
$ac_ext >&5
3128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3130 ac_cpp
='$CPP $CPPFLAGS'
3131 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3132 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3133 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3134 DEPDIR
="${am__leading_dot}deps"
3136 ac_config_commands
="$ac_config_commands depfiles"
3139 am_make
=${MAKE-make}
3140 cat > confinc
<< 'END'
3145 # If we don't find an include directive, just comment out the code.
3146 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3147 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3151 # First try GNU make style include.
3152 echo "include confinc" > confmf
3153 # We grep out `Entering directory' and `Leaving directory'
3154 # messages which can occur if `w' ends up in MAKEFLAGS.
3155 # In particular we don't look at `^make:' because GNU make might
3156 # be invoked under some other name (usually "gmake"), in which
3157 # case it prints its new name instead of `make'.
3158 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3163 # Now try BSD make style include.
3164 if test "$am__include" = "#"; then
3165 echo '.include "confinc"' > confmf
3166 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3167 am__include
=.include
3174 echo "$as_me:$LINENO: result: $_am_result" >&5
3175 echo "${ECHO_T}$_am_result" >&6
3176 rm -f confinc confmf
3178 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3179 if test "${enable_dependency_tracking+set}" = set; then
3180 enableval
="$enable_dependency_tracking"
3183 if test "x$enable_dependency_tracking" != xno
; then
3184 am_depcomp
="$ac_aux_dir/depcomp"
3189 if test "x$enable_dependency_tracking" != xno; then
3200 depcc
="$CC" am_compiler_list
=
3202 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3203 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3204 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3205 echo $ECHO_N "(cached) $ECHO_C" >&6
3207 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3208 # We make a subdir and do the tests there. Otherwise we can end up
3209 # making bogus files that we don't know about and never remove. For
3210 # instance it was reported that on HP-UX the gcc test will end up
3211 # making a dummy file named `D' -- because `-MD' means `put the output
3214 # Copy depcomp to subdir because otherwise we won't find it if we're
3215 # using a relative directory.
3216 cp "$am_depcomp" conftest.dir
3218 # We will build objects and dependencies in a subdirectory because
3219 # it helps to detect inapplicable dependency modes. For instance
3220 # both Tru64's cc and ICC support -MD to output dependencies as a
3221 # side effect of compilation, but ICC will put the dependencies in
3222 # the current directory while Tru64 will put them in the object
3226 am_cv_CC_dependencies_compiler_type
=none
3227 if test "$am_compiler_list" = ""; then
3228 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3230 for depmode
in $am_compiler_list; do
3231 # Setup a source with many dependencies, because some compilers
3232 # like to wrap large dependency lists on column 80 (with \), and
3233 # we should not choose a depcomp mode which is confused by this.
3235 # We need to recreate these files for each test, as the compiler may
3236 # overwrite some of them when testing with obscure command lines.
3237 # This happens at least with the AIX C compiler.
3239 for i
in 1 2 3 4 5 6; do
3240 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3241 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3242 # Solaris 8's {/usr,}/bin/sh.
3243 touch sub
/conftst
$i.h
3245 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3249 # after this tag, mechanisms are not by side-effect, so they'll
3250 # only be used when explicitly requested
3251 if test "x$enable_dependency_tracking" = xyes
; then
3259 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3260 # mode. It turns out that the SunPro C++ compiler does not properly
3261 # handle `-M -o', and we need to detect this.
3262 if depmode
=$depmode \
3263 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3264 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3265 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3266 >/dev
/null
2>conftest.err
&&
3267 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3268 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3269 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3270 # icc doesn't choke on unknown options, it will just issue warnings
3271 # or remarks (even with -Werror). So we grep stderr for any message
3272 # that says an option was ignored or not supported.
3273 # When given -MP, icc 7.0 and 7.1 complain thusly:
3274 # icc: Command line warning: ignoring option '-M'; no argument required
3275 # The diagnosis changed in icc 8.0:
3276 # icc: Command line remark: option '-MP' not supported
3277 if (grep 'ignoring option' conftest.err ||
3278 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3279 am_cv_CC_dependencies_compiler_type
=$depmode
3288 am_cv_CC_dependencies_compiler_type
=none
3292 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3293 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3294 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3299 test "x$enable_dependency_tracking" != xno \
3300 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3302 am__fastdepCC_FALSE
='#'
3304 am__fastdepCC_TRUE
='#'
3305 am__fastdepCC_FALSE
=
3313 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
3314 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
3315 # in both places for now and restore CFLAGS at the end of config.
3316 save_CFLAGS
="$CFLAGS"
3318 # Add -Wall -Werror if we are using GCC.
3319 if test "x$GCC" = "xyes"; then
3320 XCFLAGS
="$XCFLAGS -Wall -Werror"
3323 # Find other programs we need.
3324 if test -n "$ac_tool_prefix"; then
3325 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3326 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3327 echo "$as_me:$LINENO: checking for $ac_word" >&5
3328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3329 if test "${ac_cv_prog_AR+set}" = set; then
3330 echo $ECHO_N "(cached) $ECHO_C" >&6
3332 if test -n "$AR"; then
3333 ac_cv_prog_AR
="$AR" # Let the user override the test.
3335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3339 test -z "$as_dir" && as_dir
=.
3340 for ac_exec_ext
in '' $ac_executable_extensions; do
3341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3342 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3352 if test -n "$AR"; then
3353 echo "$as_me:$LINENO: result: $AR" >&5
3354 echo "${ECHO_T}$AR" >&6
3356 echo "$as_me:$LINENO: result: no" >&5
3357 echo "${ECHO_T}no" >&6
3361 if test -z "$ac_cv_prog_AR"; then
3363 # Extract the first word of "ar", so it can be a program name with args.
3364 set dummy
ar; ac_word
=$2
3365 echo "$as_me:$LINENO: checking for $ac_word" >&5
3366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3367 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3368 echo $ECHO_N "(cached) $ECHO_C" >&6
3370 if test -n "$ac_ct_AR"; then
3371 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3377 test -z "$as_dir" && as_dir
=.
3378 for ac_exec_ext
in '' $ac_executable_extensions; do
3379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3380 ac_cv_prog_ac_ct_AR
="ar"
3381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3389 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3390 if test -n "$ac_ct_AR"; then
3391 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3392 echo "${ECHO_T}$ac_ct_AR" >&6
3394 echo "$as_me:$LINENO: result: no" >&5
3395 echo "${ECHO_T}no" >&6
3403 if test -n "$ac_tool_prefix"; then
3404 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3405 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3406 echo "$as_me:$LINENO: checking for $ac_word" >&5
3407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3408 if test "${ac_cv_prog_RANLIB+set}" = set; then
3409 echo $ECHO_N "(cached) $ECHO_C" >&6
3411 if test -n "$RANLIB"; then
3412 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3418 test -z "$as_dir" && as_dir
=.
3419 for ac_exec_ext
in '' $ac_executable_extensions; do
3420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3421 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3430 RANLIB
=$ac_cv_prog_RANLIB
3431 if test -n "$RANLIB"; then
3432 echo "$as_me:$LINENO: result: $RANLIB" >&5
3433 echo "${ECHO_T}$RANLIB" >&6
3435 echo "$as_me:$LINENO: result: no" >&5
3436 echo "${ECHO_T}no" >&6
3440 if test -z "$ac_cv_prog_RANLIB"; then
3441 ac_ct_RANLIB
=$RANLIB
3442 # Extract the first word of "ranlib", so it can be a program name with args.
3443 set dummy ranlib
; ac_word
=$2
3444 echo "$as_me:$LINENO: checking for $ac_word" >&5
3445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3446 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3447 echo $ECHO_N "(cached) $ECHO_C" >&6
3449 if test -n "$ac_ct_RANLIB"; then
3450 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3456 test -z "$as_dir" && as_dir
=.
3457 for ac_exec_ext
in '' $ac_executable_extensions; do
3458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3459 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3466 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
="ranlib-not-found-in-path-error"
3469 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3470 if test -n "$ac_ct_RANLIB"; then
3471 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3472 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3474 echo "$as_me:$LINENO: result: no" >&5
3475 echo "${ECHO_T}no" >&6
3478 RANLIB
=$ac_ct_RANLIB
3480 RANLIB
="$ac_cv_prog_RANLIB"
3483 # Extract the first word of "perl", so it can be a program name with args.
3484 set dummy perl
; ac_word
=$2
3485 echo "$as_me:$LINENO: checking for $ac_word" >&5
3486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3487 if test "${ac_cv_path_PERL+set}" = set; then
3488 echo $ECHO_N "(cached) $ECHO_C" >&6
3492 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
3495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3499 test -z "$as_dir" && as_dir
=.
3500 for ac_exec_ext
in '' $ac_executable_extensions; do
3501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3502 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
3503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3509 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="perl-not-found-in-path-error"
3513 PERL
=$ac_cv_path_PERL
3515 if test -n "$PERL"; then
3516 echo "$as_me:$LINENO: result: $PERL" >&5
3517 echo "${ECHO_T}$PERL" >&6
3519 echo "$as_me:$LINENO: result: no" >&5
3520 echo "${ECHO_T}no" >&6
3523 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3524 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3525 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3526 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3527 echo $ECHO_N "(cached) $ECHO_C" >&6
3529 cat >conftest.
make <<\_ACEOF
3531 @
echo 'ac_maketemp="$(MAKE)"'
3533 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3534 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3535 if test -n "$ac_maketemp"; then
3536 eval ac_cv_prog_make_
${ac_make}_set
=yes
3538 eval ac_cv_prog_make_
${ac_make}_set
=no
3542 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3543 echo "$as_me:$LINENO: result: yes" >&5
3544 echo "${ECHO_T}yes" >&6
3547 echo "$as_me:$LINENO: result: no" >&5
3548 echo "${ECHO_T}no" >&6
3549 SET_MAKE
="MAKE=${MAKE-make}"
3552 # Find a good install program. We prefer a C program (faster),
3553 # so one script is as good as another. But avoid the broken or
3554 # incompatible versions:
3555 # SysV /etc/install, /usr/sbin/install
3556 # SunOS /usr/etc/install
3557 # IRIX /sbin/install
3559 # AmigaOS /C/install, which installs bootblocks on floppy discs
3560 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3561 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3562 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3563 # OS/2's system install, which has a completely different semantic
3564 # ./install, which can be erroneously created by make from ./install.sh.
3565 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3566 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3567 if test -z "$INSTALL"; then
3568 if test "${ac_cv_path_install+set}" = set; then
3569 echo $ECHO_N "(cached) $ECHO_C" >&6
3571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3575 test -z "$as_dir" && as_dir
=.
3576 # Account for people who put trailing slashes in PATH elements.
3578 .
/ | .
// |
/cC
/* | \
3579 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3580 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3583 # OSF1 and SCO ODT 3.0 have their own names for install.
3584 # Don't use installbsd from OSF since it installs stuff as root
3586 for ac_prog
in ginstall scoinst
install; do
3587 for ac_exec_ext
in '' $ac_executable_extensions; do
3588 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3589 if test $ac_prog = install &&
3590 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3591 # AIX install. It has an incompatible calling convention.
3593 elif test $ac_prog = install &&
3594 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3595 # program-specific install script used by HP pwplus--don't use.
3598 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3610 if test "${ac_cv_path_install+set}" = set; then
3611 INSTALL
=$ac_cv_path_install
3613 # As a last resort, use the slow shell script. We don't cache a
3614 # path for INSTALL within a source directory, because that will
3615 # break other packages using the cache if that directory is
3616 # removed, or if the path is relative.
3617 INSTALL
=$ac_install_sh
3620 echo "$as_me:$LINENO: result: $INSTALL" >&5
3621 echo "${ECHO_T}$INSTALL" >&6
3623 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3624 # It thinks the first close brace ends the variable substitution.
3625 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3627 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3629 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3632 # See if makeinfo has been installed and is modern enough
3633 # that we can use it.
3635 # Extract the first word of "makeinfo", so it can be a program name with args.
3636 set dummy makeinfo
; ac_word
=$2
3637 echo "$as_me:$LINENO: checking for $ac_word" >&5
3638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3639 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
3640 echo $ECHO_N "(cached) $ECHO_C" >&6
3642 if test -n "$MAKEINFO"; then
3643 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
3645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3649 test -z "$as_dir" && as_dir
=.
3650 for ac_exec_ext
in '' $ac_executable_extensions; do
3651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3652 ac_cv_prog_MAKEINFO
="makeinfo"
3653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3661 MAKEINFO
=$ac_cv_prog_MAKEINFO
3662 if test -n "$MAKEINFO"; then
3663 echo "$as_me:$LINENO: result: $MAKEINFO" >&5
3664 echo "${ECHO_T}$MAKEINFO" >&6
3666 echo "$as_me:$LINENO: result: no" >&5
3667 echo "${ECHO_T}no" >&6
3670 if test -n "$MAKEINFO"; then
3671 # Found it, now check the version.
3672 echo "$as_me:$LINENO: checking for modern makeinfo" >&5
3673 echo $ECHO_N "checking for modern makeinfo... $ECHO_C" >&6
3674 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then
3675 echo $ECHO_N "(cached) $ECHO_C" >&6
3677 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
3678 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
3680 case $ac_prog_version in
3681 '') gcc_cv_prog_makeinfo_modern
=no
;;
3682 4.
[4-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
3683 *) gcc_cv_prog_makeinfo_modern
=no
;;
3687 echo "$as_me:$LINENO: result: $gcc_cv_prog_makeinfo_modern" >&5
3688 echo "${ECHO_T}$gcc_cv_prog_makeinfo_modern" >&6
3690 gcc_cv_prog_makeinfo_modern
=no
3692 if test $gcc_cv_prog_makeinfo_modern = no
; then
3693 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
3698 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
3700 BUILD_INFO_FALSE
='#'
3711 macro_version
='2.1a'
3712 macro_revision
='1.2435'
3725 ltmain
="$ac_aux_dir/ltmain.sh"
3735 # Check whether --enable-shared or --disable-shared was given.
3736 if test "${enable_shared+set}" = set; then
3737 enableval
="$enable_shared"
3738 p
=${PACKAGE-default}
3740 yes) enable_shared
=yes ;;
3741 no
) enable_shared
=no
;;
3744 # Look at the argument we got. We use all the common list separators.
3745 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3746 for pkg
in $enableval; do
3748 if test "X$pkg" = "X$p"; then
3766 # Check whether --enable-static or --disable-static was given.
3767 if test "${enable_static+set}" = set; then
3768 enableval
="$enable_static"
3769 p
=${PACKAGE-default}
3771 yes) enable_static
=yes ;;
3772 no
) enable_static
=no
;;
3775 # Look at the argument we got. We use all the common list separators.
3776 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3777 for pkg
in $enableval; do
3779 if test "X$pkg" = "X$p"; then
3798 # Check whether --with-pic or --without-pic was given.
3799 if test "${with_pic+set}" = set; then
3806 test -z "$pic_mode" && pic_mode
=default
3814 # Check whether --enable-fast-install or --disable-fast-install was given.
3815 if test "${enable_fast_install+set}" = set; then
3816 enableval
="$enable_fast_install"
3817 p
=${PACKAGE-default}
3819 yes) enable_fast_install
=yes ;;
3820 no
) enable_fast_install
=no
;;
3822 enable_fast_install
=no
3823 # Look at the argument we got. We use all the common list separators.
3824 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3825 for pkg
in $enableval; do
3827 if test "X$pkg" = "X$p"; then
3828 enable_fast_install
=yes
3835 enable_fast_install
=yes
3845 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3846 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3847 if test "${lt_cv_path_SED+set}" = set; then
3848 echo $ECHO_N "(cached) $ECHO_C" >&6
3850 # Loop through the user's path and test for sed and gsed.
3851 # Then use that list of sed's as ones to test for truncation.
3852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3856 test -z "$as_dir" && as_dir
=.
3857 for lt_ac_prog
in sed gsed
; do
3858 for ac_exec_ext
in '' $ac_executable_extensions; do
3859 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3860 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3868 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3869 # along with /bin/sed that truncates output.
3870 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3871 test ! -f $lt_ac_sed && continue
3872 cat /dev
/null
> conftest.
in
3874 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3875 # Check for GNU sed and select it if it is found.
3876 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3877 lt_cv_path_SED
=$lt_ac_sed
3881 cat conftest.
in conftest.
in >conftest.tmp
3882 mv conftest.tmp conftest.
in
3883 cp conftest.
in conftest.
nl
3885 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3886 cmp -s conftest.out conftest.
nl ||
break
3887 # 10000 chars as input seems more than enough
3888 test $lt_ac_count -gt 10 && break
3889 lt_ac_count
=`expr $lt_ac_count + 1`
3890 if test $lt_ac_count -gt $lt_ac_max; then
3891 lt_ac_max
=$lt_ac_count
3892 lt_cv_path_SED
=$lt_ac_sed
3901 echo "$as_me:$LINENO: result: $SED" >&5
3902 echo "${ECHO_T}$SED" >&6
3904 test -z "$SED" && SED
=sed
3905 Xsed
="$SED -e 1s/^X//"
3917 echo "$as_me:$LINENO: checking for egrep" >&5
3918 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3919 if test "${ac_cv_prog_egrep+set}" = set; then
3920 echo $ECHO_N "(cached) $ECHO_C" >&6
3922 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3923 then ac_cv_prog_egrep
='grep -E'
3924 else ac_cv_prog_egrep
='egrep'
3927 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3928 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3929 EGREP
=$ac_cv_prog_egrep
3932 echo "$as_me:$LINENO: checking for fgrep" >&5
3933 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
3934 if test "${ac_cv_prog_fgrep+set}" = set; then
3935 echo $ECHO_N "(cached) $ECHO_C" >&6
3937 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
3938 then ac_cv_prog_fgrep
='grep -F'
3939 else ac_cv_prog_fgrep
='fgrep'
3942 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
3943 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
3944 FGREP
=$ac_cv_prog_fgrep
3947 test -z "$GREP" && GREP
=grep
3967 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3968 if test "${with_gnu_ld+set}" = set; then
3969 withval
="$with_gnu_ld"
3970 test "$withval" = no || with_gnu_ld
=yes
3975 if test "$GCC" = yes; then
3976 # Check if gcc -print-prog-name=ld gives a path.
3977 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3978 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3981 # gcc leaves a trailing carriage return which upsets mingw
3982 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3984 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3987 # Accept absolute paths.
3989 re_direlt
='/[^/][^/]*/\.\./'
3990 # Canonicalize the pathname of ld
3991 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3992 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
3993 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3995 test -z "$LD" && LD
="$ac_prog"
3998 # If it fails, then pretend we aren't using GCC.
4002 # If it is relative, then search for the first ld in PATH.
4006 elif test "$with_gnu_ld" = yes; then
4007 echo "$as_me:$LINENO: checking for GNU ld" >&5
4008 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4010 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4011 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4013 if test "${lt_cv_path_LD+set}" = set; then
4014 echo $ECHO_N "(cached) $ECHO_C" >&6
4016 if test -z "$LD"; then
4017 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4018 for ac_dir
in $PATH; do
4020 test -z "$ac_dir" && ac_dir
=.
4021 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4022 lt_cv_path_LD
="$ac_dir/$ac_prog"
4023 # Check to see if the program is GNU ld. I'd rather use --version,
4024 # but apparently some variants of GNU ld only accept -v.
4025 # Break only if it was the GNU/non-GNU ld that we prefer.
4026 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4027 *GNU
* |
*'with BFD'*)
4028 test "$with_gnu_ld" != no
&& break
4031 test "$with_gnu_ld" != yes && break
4038 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4043 if test -n "$LD"; then
4044 echo "$as_me:$LINENO: result: $LD" >&5
4045 echo "${ECHO_T}$LD" >&6
4047 echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6
4050 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4051 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4052 { (exit 1); exit 1; }; }
4053 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4054 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4055 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4056 echo $ECHO_N "(cached) $ECHO_C" >&6
4058 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4059 case `$LD -v 2>&1 </dev/null` in
4060 *GNU
* |
*'with BFD'*)
4061 lt_cv_prog_gnu_ld
=yes
4064 lt_cv_prog_gnu_ld
=no
4068 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4069 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4070 with_gnu_ld
=$lt_cv_prog_gnu_ld
4081 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4082 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4083 if test "${lt_cv_path_NM+set}" = set; then
4084 echo $ECHO_N "(cached) $ECHO_C" >&6
4086 if test -n "$NM"; then
4087 # Let the user override the test.
4090 lt_nm_to_check
="${ac_tool_prefix}nm"
4091 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4092 lt_nm_to_check
="$lt_nm_to_check nm"
4094 for lt_tmp_nm
in $lt_nm_to_check; do
4095 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4096 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4098 test -z "$ac_dir" && ac_dir
=.
4099 tmp_nm
="$ac_dir/$lt_tmp_nm"
4100 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4101 # Check to see if the nm accepts a BSD-compat flag.
4102 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4103 # nm: unknown option "B" ignored
4104 # Tru64's nm complains that /dev/null is an invalid object file
4105 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4106 */dev
/null
* |
*'Invalid file or object type'*)
4107 lt_cv_path_NM
="$tmp_nm -B"
4111 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4113 lt_cv_path_NM
="$tmp_nm -p"
4117 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4118 continue # so that we can try to find one that supports BSD flags
4127 : ${lt_cv_path_NM=no}
4130 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4131 echo "${ECHO_T}$lt_cv_path_NM" >&6
4132 if test "$lt_cv_path_NM" != "no"; then
4135 # Didn't find any BSD compatible name lister, look for dumpbin.
4136 if test -n "$ac_tool_prefix"; then
4137 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4139 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4140 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4141 echo "$as_me:$LINENO: checking for $ac_word" >&5
4142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4143 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4144 echo $ECHO_N "(cached) $ECHO_C" >&6
4146 if test -n "$DUMPBIN"; then
4147 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4153 test -z "$as_dir" && as_dir
=.
4154 for ac_exec_ext
in '' $ac_executable_extensions; do
4155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4156 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4165 DUMPBIN
=$ac_cv_prog_DUMPBIN
4166 if test -n "$DUMPBIN"; then
4167 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4168 echo "${ECHO_T}$DUMPBIN" >&6
4170 echo "$as_me:$LINENO: result: no" >&5
4171 echo "${ECHO_T}no" >&6
4174 test -n "$DUMPBIN" && break
4177 if test -z "$DUMPBIN"; then
4178 ac_ct_DUMPBIN
=$DUMPBIN
4179 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4181 # Extract the first word of "$ac_prog", so it can be a program name with args.
4182 set dummy
$ac_prog; ac_word
=$2
4183 echo "$as_me:$LINENO: checking for $ac_word" >&5
4184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4185 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4186 echo $ECHO_N "(cached) $ECHO_C" >&6
4188 if test -n "$ac_ct_DUMPBIN"; then
4189 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4195 test -z "$as_dir" && as_dir
=.
4196 for ac_exec_ext
in '' $ac_executable_extensions; do
4197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4198 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4207 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4208 if test -n "$ac_ct_DUMPBIN"; then
4209 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4210 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4212 echo "$as_me:$LINENO: result: no" >&5
4213 echo "${ECHO_T}no" >&6
4216 test -n "$ac_ct_DUMPBIN" && break
4218 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
4220 DUMPBIN
=$ac_ct_DUMPBIN
4224 if test "$DUMPBIN" != ":"; then
4228 test -z "$NM" && NM
=nm
4235 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4236 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4237 if test "${lt_cv_nm_interface+set}" = set; then
4238 echo $ECHO_N "(cached) $ECHO_C" >&6
4240 lt_cv_nm_interface
="BSD nm"
4241 echo "int some_variable = 0;" > conftest.
$ac_ext
4242 (eval echo "\"\$as_me:4242: $ac_compile\"" >&5)
4243 (eval "$ac_compile" 2>conftest.err
)
4244 cat conftest.err
>&5
4245 (eval echo "\"\$as_me:4245: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4246 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4247 cat conftest.err
>&5
4248 (eval echo "\"\$as_me:4248: output\"" >&5)
4249 cat conftest.out
>&5
4250 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4251 lt_cv_nm_interface
="MS dumpbin"
4255 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4256 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4258 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4259 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4261 if test "$LN_S" = "ln -s"; then
4262 echo "$as_me:$LINENO: result: yes" >&5
4263 echo "${ECHO_T}yes" >&6
4265 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4266 echo "${ECHO_T}no, using $LN_S" >&6
4269 # find the maximum length of command line arguments
4270 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4271 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4272 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4273 echo $ECHO_N "(cached) $ECHO_C" >&6
4280 # On DJGPP, this test can blow up pretty badly due to problems in libc
4281 # (any single argument exceeding 2000 bytes causes a buffer overrun
4282 # during glob expansion). Even if it were fixed, the result of this
4283 # check would be larger than it should be.
4284 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4288 # Under GNU Hurd, this test is not required because there is
4289 # no limit to the length of command line arguments.
4290 # Libtool will interpret -1 as no limit whatsoever
4291 lt_cv_sys_max_cmd_len
=-1;
4295 # On Win9x/ME, this test blows up -- it succeeds, but takes
4296 # about 5 minutes as the teststring grows exponentially.
4297 # Worse, since 9x/ME are not pre-emptively multitasking,
4298 # you end up with a "frozen" computer, even though with patience
4299 # the test eventually succeeds (with a max line length of 256k).
4300 # Instead, let's just punt: use the minimum linelength reported by
4301 # all of the supported platforms: 8192 (on NT/2K/XP).
4302 lt_cv_sys_max_cmd_len
=8192;
4306 # On AmigaOS with pdksh, this test takes hours, literally.
4307 # So we just punt and use a minimum line length of 8192.
4308 lt_cv_sys_max_cmd_len
=8192;
4311 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4312 # This has been around since 386BSD, at least. Likely further.
4313 if test -x /sbin
/sysctl
; then
4314 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4315 elif test -x /usr
/sbin
/sysctl
; then
4316 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4318 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4320 # And add a safety zone
4321 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4322 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4326 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4327 lt_cv_sys_max_cmd_len
=196608
4331 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4332 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4333 # nice to cause kernel panics so lets avoid the loop below.
4334 # First set a reasonable default.
4335 lt_cv_sys_max_cmd_len
=16384
4337 if test -x /sbin
/sysconfig
; then
4338 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4339 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4344 lt_cv_sys_max_cmd_len
=102400
4346 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4347 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4348 if test -n "$kargmax"; then
4349 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4351 lt_cv_sys_max_cmd_len
=32768
4355 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
4356 if test -n $lt_cv_sys_max_cmd_len; then
4357 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4358 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4360 # Make teststring a little bigger before we do anything with it.
4361 # a 1K string should be a reasonable start.
4362 for i
in 1 2 3 4 5 6 7 8 ; do
4363 teststring
=$teststring$teststring
4365 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4366 # If test is not a shell built-in, we'll probably end up computing a
4367 # maximum length that is only half of the actual maximum length, but
4369 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4370 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4371 test $i != 17 # 1/2 MB should be enough
4374 teststring
=$teststring$teststring
4376 # Only check the string length outside the loop.
4377 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4379 # Add a significant safety factor because C++ compilers can tack on
4380 # massive amounts of additional arguments before passing them to the
4381 # linker. It appears as though 1/2 is a usable value.
4382 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4389 if test -n $lt_cv_sys_max_cmd_len ; then
4390 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4391 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4393 echo "$as_me:$LINENO: result: none" >&5
4394 echo "${ECHO_T}none" >&6
4396 max_cmd_len
=$lt_cv_sys_max_cmd_len
4408 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4409 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4410 # Try some XSI features
4413 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4414 = c,a/b,, ) >/dev/null 2>&1 \
4416 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4417 echo "${ECHO_T}$xsi_shell" >&6
4420 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4421 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
4423 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4425 && lt_shell_append=yes
4426 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4427 echo "${ECHO_T}$lt_shell_append" >&6
4430 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4440 # test EBCDIC or ASCII
4441 case `echo X|tr X '\101'` in
4442 A) # ASCII based system
4443 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4444 lt_SP2NL='tr \040 \012'
4445 lt_NL2SP='tr \015\012 \040\040'
4447 *) # EBCDIC based system
4448 lt_SP2NL='tr \100 \n'
4449 lt_NL2SP='tr \r\n \100\100'
4461 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4462 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
4463 if test "${lt_cv_ld_reload_flag+set}" = set; then
4464 echo $ECHO_N "(cached
) $ECHO_C" >&6
4466 lt_cv_ld_reload_flag='-r'
4468 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4469 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4470 reload_flag=$lt_cv_ld_reload_flag
4471 case $reload_flag in
4473 *) reload_flag=" $reload_flag" ;;
4475 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4478 if test "$GCC" = yes; then
4479 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4481 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4495 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4496 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4497 if test "${lt_cv_deplibs_check_method+set}" = set; then
4498 echo $ECHO_N "(cached
) $ECHO_C" >&6
4500 lt_cv_file_magic_cmd='$MAGIC_CMD'
4501 lt_cv_file_magic_test_file=
4502 lt_cv_deplibs_check_method='unknown'
4503 # Need to set the preceding variable on all platforms that support
4504 # interlibrary dependencies.
4505 # 'none' -- dependencies not supported.
4506 # `unknown' -- same as none, but documents that we really don't know.
4507 # 'pass_all' -- all dependencies passed with no checks.
4508 # 'test_compile' -- check by making test program.
4509 # 'file_magic [[regex]]' -- check by looking for files in library path
4510 # which responds to the $file_magic_cmd with a given extended regex.
4511 # If you have `file' or equivalent on your system and you're not sure
4512 # whether `pass_all' will *always* work, you probably want this one.
4516 lt_cv_deplibs_check_method=pass_all
4520 lt_cv_deplibs_check_method=pass_all
4524 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4525 lt_cv_file_magic_cmd='/usr/bin/file -L'
4526 lt_cv_file_magic_test_file=/shlib/libc.so
4530 # func_win32_libid is a shell function defined in ltmain.sh
4531 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4532 lt_cv_file_magic_cmd='func_win32_libid'
4536 # Base MSYS/MinGW do not provide the 'file' command needed by
4537 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4538 # unless we find 'file', for example because we are cross-compiling.
4539 if ( file / ) >/dev/null 2>&1; then
4540 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4541 lt_cv_file_magic_cmd='func_win32_libid'
4543 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4544 lt_cv_file_magic_cmd='$OBJDUMP -f'
4548 darwin* | rhapsody*)
4549 lt_cv_deplibs_check_method=pass_all
4552 freebsd* | dragonfly*)
4553 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4556 # Not sure whether the presence of OpenBSD here was a mistake.
4557 # Let's accept both of them until this is cleared up.
4558 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4559 lt_cv_file_magic_cmd=/usr/bin/file
4560 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4564 lt_cv_deplibs_check_method=pass_all
4569 lt_cv_deplibs_check_method=pass_all
4572 hpux10.20* | hpux11*)
4573 lt_cv_file_magic_cmd=/usr/bin/file
4576 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4577 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4580 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]'
4581 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4584 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4585 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4591 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4592 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4595 irix5* | irix6* | nonstopux*)
4597 *-32|*"-32 ") libmagic=32-bit;;
4598 *-n32|*"-n32 ") libmagic=N32;;
4599 *-64|*"-64 ") libmagic=64-bit;;
4600 *) libmagic=never-match;;
4602 lt_cv_deplibs_check_method=pass_all
4605 # This must be Linux ELF.
4606 linux* | k*bsd*-gnu)
4607 lt_cv_deplibs_check_method=pass_all
4611 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4612 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4614 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4619 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4620 lt_cv_file_magic_cmd=/usr/bin/file
4621 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4625 lt_cv_deplibs_check_method=pass_all
4629 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4630 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4632 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4636 osf3* | osf4* | osf5*)
4637 lt_cv_deplibs_check_method=pass_all
4641 lt_cv_deplibs_check_method=pass_all
4645 lt_cv_deplibs_check_method=pass_all
4648 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4649 lt_cv_deplibs_check_method=pass_all
4653 case $host_vendor in
4655 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]'
4656 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4659 lt_cv_deplibs_check_method=pass_all
4662 lt_cv_file_magic_cmd='/bin/file'
4663 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4666 lt_cv_file_magic_cmd='/bin/file'
4667 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4668 lt_cv_file_magic_test_file=/lib/libc.so
4671 lt_cv_deplibs_check_method=pass_all
4674 lt_cv_deplibs_check_method=pass_all
4680 lt_cv_deplibs_check_method=pass_all
4685 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4686 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4687 file_magic_cmd=$lt_cv_file_magic_cmd
4688 deplibs_check_method=$lt_cv_deplibs_check_method
4689 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4702 if test -n "$ac_tool_prefix"; then
4703 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4704 set dummy ${ac_tool_prefix}ar; ac_word=$2
4705 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4706 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4707 if test "${ac_cv_prog_AR+set}" = set; then
4708 echo $ECHO_N "(cached
) $ECHO_C" >&6
4710 if test -n "$AR"; then
4711 ac_cv_prog_AR="$AR" # Let the user override the test.
4713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4717 test -z "$as_dir" && as_dir=.
4718 for ac_exec_ext in '' $ac_executable_extensions; do
4719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4720 ac_cv_prog_AR="${ac_tool_prefix}ar"
4721 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4730 if test -n "$AR"; then
4731 echo "$as_me:$LINENO: result
: $AR" >&5
4732 echo "${ECHO_T}$AR" >&6
4734 echo "$as_me:$LINENO: result
: no
" >&5
4735 echo "${ECHO_T}no
" >&6
4739 if test -z "$ac_cv_prog_AR"; then
4741 # Extract the first word of "ar", so it can be a program name with args.
4742 set dummy ar; ac_word=$2
4743 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4744 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4745 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4746 echo $ECHO_N "(cached
) $ECHO_C" >&6
4748 if test -n "$ac_ct_AR"; then
4749 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4755 test -z "$as_dir" && as_dir=.
4756 for ac_exec_ext in '' $ac_executable_extensions; do
4757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4758 ac_cv_prog_ac_ct_AR="ar"
4759 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4765 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
4768 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4769 if test -n "$ac_ct_AR"; then
4770 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
4771 echo "${ECHO_T}$ac_ct_AR" >&6
4773 echo "$as_me:$LINENO: result
: no
" >&5
4774 echo "${ECHO_T}no
" >&6
4782 test -z "$AR" && AR=ar
4783 test -z "$AR_FLAGS" && AR_FLAGS=cru
4795 if test -n "$ac_tool_prefix"; then
4796 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
4797 set dummy ${ac_tool_prefix}strip; ac_word=$2
4798 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4799 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4800 if test "${ac_cv_prog_STRIP+set}" = set; then
4801 echo $ECHO_N "(cached
) $ECHO_C" >&6
4803 if test -n "$STRIP"; then
4804 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4810 test -z "$as_dir" && as_dir=.
4811 for ac_exec_ext in '' $ac_executable_extensions; do
4812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4813 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
4814 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4822 STRIP=$ac_cv_prog_STRIP
4823 if test -n "$STRIP"; then
4824 echo "$as_me:$LINENO: result
: $STRIP" >&5
4825 echo "${ECHO_T}$STRIP" >&6
4827 echo "$as_me:$LINENO: result
: no
" >&5
4828 echo "${ECHO_T}no
" >&6
4832 if test -z "$ac_cv_prog_STRIP"; then
4834 # Extract the first word of "strip
", so it can be a program name with args.
4835 set dummy strip; ac_word=$2
4836 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4837 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4838 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4839 echo $ECHO_N "(cached
) $ECHO_C" >&6
4841 if test -n "$ac_ct_STRIP"; then
4842 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4848 test -z "$as_dir" && as_dir=.
4849 for ac_exec_ext in '' $ac_executable_extensions; do
4850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4851 ac_cv_prog_ac_ct_STRIP="strip
"
4852 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4858 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4861 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4862 if test -n "$ac_ct_STRIP"; then
4863 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
4864 echo "${ECHO_T}$ac_ct_STRIP" >&6
4866 echo "$as_me:$LINENO: result
: no
" >&5
4867 echo "${ECHO_T}no
" >&6
4872 STRIP="$ac_cv_prog_STRIP"
4875 test -z "$STRIP" && STRIP=:
4882 if test -n "$ac_tool_prefix"; then
4883 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
4884 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4885 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4886 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4887 if test "${ac_cv_prog_RANLIB+set}" = set; then
4888 echo $ECHO_N "(cached
) $ECHO_C" >&6
4890 if test -n "$RANLIB"; then
4891 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4897 test -z "$as_dir" && as_dir=.
4898 for ac_exec_ext in '' $ac_executable_extensions; do
4899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4900 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
4901 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4909 RANLIB=$ac_cv_prog_RANLIB
4910 if test -n "$RANLIB"; then
4911 echo "$as_me:$LINENO: result
: $RANLIB" >&5
4912 echo "${ECHO_T}$RANLIB" >&6
4914 echo "$as_me:$LINENO: result
: no
" >&5
4915 echo "${ECHO_T}no
" >&6
4919 if test -z "$ac_cv_prog_RANLIB"; then
4920 ac_ct_RANLIB=$RANLIB
4921 # Extract the first word of "ranlib
", so it can be a program name with args.
4922 set dummy ranlib; ac_word=$2
4923 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4924 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4925 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4926 echo $ECHO_N "(cached
) $ECHO_C" >&6
4928 if test -n "$ac_ct_RANLIB"; then
4929 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935 test -z "$as_dir" && as_dir=.
4936 for ac_exec_ext in '' $ac_executable_extensions; do
4937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4938 ac_cv_prog_ac_ct_RANLIB="ranlib
"
4939 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4945 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4948 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4949 if test -n "$ac_ct_RANLIB"; then
4950 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
4951 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4953 echo "$as_me:$LINENO: result
: no
" >&5
4954 echo "${ECHO_T}no
" >&6
4957 RANLIB=$ac_ct_RANLIB
4959 RANLIB="$ac_cv_prog_RANLIB"
4962 test -z "$RANLIB" && RANLIB=:
4969 # Determine commands to create old-style static archives.
4970 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
4971 old_postinstall_cmds='chmod 644 $oldlib'
4972 old_postuninstall_cmds=
4974 if test -n "$RANLIB"; then
4977 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
4980 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
4983 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5019 # If no C compiler was specified, use CC.
5022 # If no C compiler flags were specified, use CFLAGS.
5023 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5025 # Allow CC to be a program name with arguments.
5029 # Check for command to grab the raw symbol name followed by C symbol from nm.
5030 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5031 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
5032 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5033 echo $ECHO_N "(cached
) $ECHO_C" >&6
5036 # These are sane defaults that work on at least a few old systems.
5037 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5039 # Character class describing NM global symbol codes.
5040 symcode='[BCDEGRST]'
5042 # Regexp to match symbols that can be accessed directly from C.
5043 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5045 # Define system-specific variables.
5050 cygwin* | mingw* | pw32*)
5051 symcode='[ABCDGISTW]'
5054 if test "$host_cpu" = ia64; then
5055 symcode='[ABCDEGRST]'
5059 symcode='[BCDEGRST]'
5062 symcode='[BCDEGQRST]'
5073 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5081 # If we're using GNU nm, then use its standard symbol codes.
5082 case `$NM -V 2>&1` in
5083 *GNU* | *'with BFD'*)
5084 symcode='[ABCDGIRSTW]' ;;
5087 # Transform an extracted symbol line into a proper C declaration.
5088 # Some systems (esp. on ia64) link data and code symbols differently,
5089 # so use this general approach.
5090 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5092 # Transform an extracted symbol line into symbol name and symbol address
5093 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5095 # Handle CRLF in mingw tool chain
5099 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5103 # Try without a prefix underscore, then with it.
5104 for ac_symprfx in "" "_
"; do
5106 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5107 symxfrm="\\1 $ac_symprfx\\2 \\2"
5109 # Write the raw and C identifiers.
5110 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5111 # Fake it for dumpbin and say T for any non-static function
5112 # and D for any global variable.
5113 # Also find C++ and __fastcall symbols from MSVC++,
5114 # which start with @ or ?.
5115 lt_cv_sys_global_symbol_pipe="$AWK '"\
5116 " {last_section=section; section=\$ 3};"\
5117 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5118 " \$ 0!~/External *\|/{next};"\
5119 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5120 " {if(hide[section]) next};"\
5121 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5122 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5123 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5124 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5125 " ' prfx
=^
$ac_symprfx"
5127 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5130 # Check to see that the pipe works correctly.
5134 cat > conftest.$ac_ext <<_LT_EOF
5139 void nm_test_func(void);
5140 void nm_test_func(void){}
5144 int main(){nm_test_var='a';nm_test_func();return(0);}
5147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5148 (eval $ac_compile) 2>&5
5150 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5151 (exit $ac_status); }; then
5152 # Now try to grab the symbols.
5154 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5155 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5157 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5158 (exit $ac_status); } && test -s "$nlist"; then
5159 # Try sorting and uniquifying the output.
5160 if sort "$nlist" | uniq > "$nlist"T; then
5161 mv -f "$nlist"T "$nlist"
5166 # Make sure that we snagged all the symbols we need.
5167 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5168 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5169 cat <<_LT_EOF > conftest.$ac_ext
5175 # Now generate the symbol file.
5176 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5178 cat <<_LT_EOF >> conftest.$ac_ext
5180 /* The mapping between symbol names and symbols. */
5185 lt__PROGRAM__LTX_preloaded_symbols[] =
5187 { "@PROGRAM@
", (void *) 0 },
5189 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5190 cat <<\_LT_EOF >> conftest.$ac_ext
5194 /* This works around a problem in FreeBSD linker */
5195 #ifdef FREEBSD_WORKAROUND
5196 static const void *lt_preloaded_setup() {
5197 return lt__PROGRAM__LTX_preloaded_symbols;
5205 # Now try linking the two files.
5206 mv conftest.$ac_objext conftstm.$ac_objext
5207 lt_save_LIBS="$LIBS"
5208 lt_save_CFLAGS="$CFLAGS"
5209 LIBS="conftstm.
$ac_objext"
5210 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5212 (eval $ac_link) 2>&5
5214 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5215 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5218 LIBS="$lt_save_LIBS"
5219 CFLAGS="$lt_save_CFLAGS"
5221 echo "cannot
find nm_test_func
in $nlist" >&5
5224 echo "cannot
find nm_test_var
in $nlist" >&5
5227 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5230 echo "$progname: failed program was
:" >&5
5231 cat conftest.$ac_ext >&5
5233 rm -f conftest* conftst*
5235 # Do not use the global_symbol_pipe unless it works.
5236 if test "$pipe_works" = yes; then
5239 lt_cv_sys_global_symbol_pipe=
5245 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5246 lt_cv_sys_global_symbol_to_cdecl=
5248 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5249 echo "$as_me:$LINENO: result
: failed
" >&5
5250 echo "${ECHO_T}failed
" >&6
5252 echo "$as_me:$LINENO: result
: ok
" >&5
5253 echo "${ECHO_T}ok
" >&6
5273 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5274 if test "${enable_libtool_lock+set}" = set; then
5275 enableval="$enable_libtool_lock"
5278 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5280 # Some flags need to be propagated to the compiler or linker for good
5284 # Find out which ABI we are using.
5285 echo 'int i;' > conftest.$ac_ext
5286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5287 (eval $ac_compile) 2>&5
5289 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5290 (exit $ac_status); }; then
5291 case `/usr/bin/file conftest.$ac_objext` in
5303 # Find out which ABI we are using.
5304 echo '#line 5304 "configure
"' > conftest.$ac_ext
5305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5306 (eval $ac_compile) 2>&5
5308 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5309 (exit $ac_status); }; then
5310 if test "$lt_cv_prog_gnu_ld" = yes; then
5311 case `/usr/bin/file conftest.$ac_objext` in
5313 LD="${LD-ld} -melf32bsmip"
5316 LD="${LD-ld} -melf32bmipn32"
5319 LD="${LD-ld} -melf64bmip"
5323 case `/usr/bin/file conftest.$ac_objext` in
5339 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5340 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5341 # Find out which ABI we are using.
5342 echo 'int i;' > conftest.$ac_ext
5343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5344 (eval $ac_compile) 2>&5
5346 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5347 (exit $ac_status); }; then
5348 case `/usr/bin/file conftest.o` in
5351 x86_64-*kfreebsd*-gnu)
5352 LD="${LD-ld} -m elf_i386_fbsd
"
5355 LD="${LD-ld} -m elf_i386
"
5357 ppc64-*linux*|powerpc64-*linux*)
5358 LD="${LD-ld} -m elf32ppclinux
"
5361 LD="${LD-ld} -m elf_s390
"
5364 LD="${LD-ld} -m elf32_sparc
"
5370 x86_64-*kfreebsd*-gnu)
5371 LD="${LD-ld} -m elf_x86_64_fbsd
"
5374 LD="${LD-ld} -m elf_x86_64
"
5376 ppc*-*linux*|powerpc*-*linux*)
5377 LD="${LD-ld} -m elf64ppc
"
5379 s390*-*linux*|s390*-*tpf*)
5380 LD="${LD-ld} -m elf64_s390
"
5383 LD="${LD-ld} -m elf64_sparc
"
5393 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5394 SAVE_CFLAGS="$CFLAGS"
5395 CFLAGS="$CFLAGS -belf"
5396 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5397 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
5398 if test "${lt_cv_cc_needs_belf+set}" = set; then
5399 echo $ECHO_N "(cached
) $ECHO_C" >&6
5402 ac_cpp='$CPP $CPPFLAGS'
5403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5407 cat >conftest.$ac_ext <<_ACEOF
5410 cat confdefs.h >>conftest.$ac_ext
5411 cat >>conftest.$ac_ext <<_ACEOF
5412 /* end confdefs.h. */
5422 rm -f conftest.$ac_objext conftest$ac_exeext
5423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5424 (eval $ac_link) 2>conftest.er1
5426 grep -v '^ *+' conftest.er1 >conftest.err
5428 cat conftest.err >&5
5429 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5430 (exit $ac_status); } &&
5431 { ac_try='test -z "$ac_c_werror_flag"
5432 || test ! -s conftest.err'
5433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5436 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5437 (exit $ac_status); }; } &&
5438 { ac_try='test -s conftest$ac_exeext'
5439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5442 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5443 (exit $ac_status); }; }; then
5444 lt_cv_cc_needs_belf=yes
5446 echo "$as_me: failed program was
:" >&5
5447 sed 's/^/| /' conftest.$ac_ext >&5
5449 lt_cv_cc_needs_belf=no
5451 rm -f conftest.err conftest.$ac_objext \
5452 conftest$ac_exeext conftest.$ac_ext
5454 ac_cpp='$CPP $CPPFLAGS'
5455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5460 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5461 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5462 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5463 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5464 CFLAGS="$SAVE_CFLAGS"
5468 # Find out which ABI we are using.
5469 echo 'int i;' > conftest.$ac_ext
5470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5471 (eval $ac_compile) 2>&5
5473 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5474 (exit $ac_status); }; then
5475 case `/usr/bin/file conftest.o` in
5477 case $lt_cv_prog_gnu_ld in
5478 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5479 *) LD="${LD-ld} -64" ;;
5488 need_locks="$enable_libtool_lock"
5491 ac_cpp='$CPP $CPPFLAGS'
5492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5495 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5496 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
5497 # On Suns, sometimes $CPP names a directory.
5498 if test -n "$CPP" && test -d "$CPP"; then
5501 if test -z "$CPP"; then
5502 if test "${ac_cv_prog_CPP+set}" = set; then
5503 echo $ECHO_N "(cached
) $ECHO_C" >&6
5505 # Double quotes because CPP needs to be expanded
5506 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5509 for ac_c_preproc_warn_flag in '' yes
5511 # Use a header file that comes with gcc, so configuring glibc
5512 # with a fresh cross-compiler works.
5513 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5514 # <limits.h> exists even on freestanding compilers.
5515 # On the NeXT, cc -E runs the code through the compiler's parser,
5516 # not just through cpp. "Syntax error
" is here to catch this case.
5517 cat >conftest.$ac_ext <<_ACEOF
5520 cat confdefs.h >>conftest.$ac_ext
5521 cat >>conftest.$ac_ext <<_ACEOF
5522 /* end confdefs.h. */
5524 # include <limits.h>
5526 # include <assert.h>
5530 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5531 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5533 grep -v '^ *+' conftest.er1 >conftest.err
5535 cat conftest.err >&5
5536 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5537 (exit $ac_status); } >/dev/null; then
5538 if test -s conftest.err; then
5539 ac_cpp_err=$ac_c_preproc_warn_flag
5540 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5547 if test -z "$ac_cpp_err"; then
5550 echo "$as_me: failed program was
:" >&5
5551 sed 's/^/| /' conftest.$ac_ext >&5
5553 # Broken: fails on valid input.
5556 rm -f conftest.err conftest.$ac_ext
5558 # OK, works on sane cases. Now check whether non-existent headers
5559 # can be detected and how.
5560 cat >conftest.$ac_ext <<_ACEOF
5563 cat confdefs.h >>conftest.$ac_ext
5564 cat >>conftest.$ac_ext <<_ACEOF
5565 /* end confdefs.h. */
5566 #include <ac_nonexistent.h>
5568 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5569 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5571 grep -v '^ *+' conftest.er1 >conftest.err
5573 cat conftest.err >&5
5574 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5575 (exit $ac_status); } >/dev/null; then
5576 if test -s conftest.err; then
5577 ac_cpp_err=$ac_c_preproc_warn_flag
5578 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5585 if test -z "$ac_cpp_err"; then
5586 # Broken: success on invalid input.
5589 echo "$as_me: failed program was
:" >&5
5590 sed 's/^/| /' conftest.$ac_ext >&5
5592 # Passes both tests.
5596 rm -f conftest.err conftest.$ac_ext
5599 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5600 rm -f conftest.err conftest.$ac_ext
5601 if $ac_preproc_ok; then
5613 echo "$as_me:$LINENO: result
: $CPP" >&5
5614 echo "${ECHO_T}$CPP" >&6
5616 for ac_c_preproc_warn_flag in '' yes
5618 # Use a header file that comes with gcc, so configuring glibc
5619 # with a fresh cross-compiler works.
5620 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5621 # <limits.h> exists even on freestanding compilers.
5622 # On the NeXT, cc -E runs the code through the compiler's parser,
5623 # not just through cpp. "Syntax error
" is here to catch this case.
5624 cat >conftest.$ac_ext <<_ACEOF
5627 cat confdefs.h >>conftest.$ac_ext
5628 cat >>conftest.$ac_ext <<_ACEOF
5629 /* end confdefs.h. */
5631 # include <limits.h>
5633 # include <assert.h>
5637 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5638 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5640 grep -v '^ *+' conftest.er1 >conftest.err
5642 cat conftest.err >&5
5643 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5644 (exit $ac_status); } >/dev/null; then
5645 if test -s conftest.err; then
5646 ac_cpp_err=$ac_c_preproc_warn_flag
5647 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5654 if test -z "$ac_cpp_err"; then
5657 echo "$as_me: failed program was
:" >&5
5658 sed 's/^/| /' conftest.$ac_ext >&5
5660 # Broken: fails on valid input.
5663 rm -f conftest.err conftest.$ac_ext
5665 # OK, works on sane cases. Now check whether non-existent headers
5666 # can be detected and how.
5667 cat >conftest.$ac_ext <<_ACEOF
5670 cat confdefs.h >>conftest.$ac_ext
5671 cat >>conftest.$ac_ext <<_ACEOF
5672 /* end confdefs.h. */
5673 #include <ac_nonexistent.h>
5675 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5676 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5678 grep -v '^ *+' conftest.er1 >conftest.err
5680 cat conftest.err >&5
5681 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5682 (exit $ac_status); } >/dev/null; then
5683 if test -s conftest.err; then
5684 ac_cpp_err=$ac_c_preproc_warn_flag
5685 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5692 if test -z "$ac_cpp_err"; then
5693 # Broken: success on invalid input.
5696 echo "$as_me: failed program was
:" >&5
5697 sed 's/^/| /' conftest.$ac_ext >&5
5699 # Passes both tests.
5703 rm -f conftest.err conftest.$ac_ext
5706 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5707 rm -f conftest.err conftest.$ac_ext
5708 if $ac_preproc_ok; then
5711 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
5712 See \
`config.log' for more details." >&5
5713 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5714 See \`config.log
' for more details." >&2;}
5715 { (exit 1); exit 1; }; }
5719 ac_cpp='$CPP $CPPFLAGS'
5720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5721 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5725 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5726 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5727 if test "${ac_cv_header_stdc+set}" = set; then
5728 echo $ECHO_N "(cached) $ECHO_C" >&6
5730 cat >conftest.$ac_ext <<_ACEOF
5733 cat confdefs.h >>conftest.$ac_ext
5734 cat >>conftest.$ac_ext <<_ACEOF
5735 /* end confdefs.h. */
5749 rm -f conftest.$ac_objext
5750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5751 (eval $ac_compile) 2>conftest.er1
5753 grep -v '^
*+' conftest.er1 >conftest.err
5755 cat conftest.err >&5
5756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5757 (exit $ac_status); } &&
5758 { ac_try='test -z "$ac_c_werror_flag"
5759 ||
test ! -s conftest.err
'
5760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); }; } &&
5765 { ac_try='test -s conftest.
$ac_objext'
5766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5770 (exit $ac_status); }; }; then
5771 ac_cv_header_stdc=yes
5773 echo "$as_me: failed program was:" >&5
5774 sed 's
/^
/|
/' conftest.$ac_ext >&5
5776 ac_cv_header_stdc=no
5778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5780 if test $ac_cv_header_stdc = yes; then
5781 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5782 cat >conftest.$ac_ext <<_ACEOF
5785 cat confdefs.h >>conftest.$ac_ext
5786 cat >>conftest.$ac_ext <<_ACEOF
5787 /* end confdefs.h. */
5791 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5792 $EGREP "memchr" >/dev/null 2>&1; then
5795 ac_cv_header_stdc=no
5801 if test $ac_cv_header_stdc = yes; then
5802 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5803 cat >conftest.$ac_ext <<_ACEOF
5806 cat confdefs.h >>conftest.$ac_ext
5807 cat >>conftest.$ac_ext <<_ACEOF
5808 /* end confdefs.h. */
5812 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5813 $EGREP "free" >/dev/null 2>&1; then
5816 ac_cv_header_stdc=no
5822 if test $ac_cv_header_stdc = yes; then
5823 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5824 if test "$cross_compiling" = yes; then
5827 cat >conftest.$ac_ext <<_ACEOF
5830 cat confdefs.h >>conftest.$ac_ext
5831 cat >>conftest.$ac_ext <<_ACEOF
5832 /* end confdefs.h. */
5834 #if ((' ' & 0x0FF) == 0x020)
5835 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
5836 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
5838 # define ISLOWER(c) \
5839 (('a
' <= (c) && (c) <= 'i
') \
5840 || ('j
' <= (c) && (c) <= 'r
') \
5841 || ('s
' <= (c) && (c) <= 'z
'))
5842 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5845 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5850 for (i = 0; i < 256; i++)
5851 if (XOR (islower (i), ISLOWER (i))
5852 || toupper (i) != TOUPPER (i))
5857 rm -f conftest$ac_exeext
5858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5859 (eval $ac_link) 2>&5
5861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
5863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867 (exit $ac_status); }; }; then
5870 echo "$as_me: program exited with status $ac_status" >&5
5871 echo "$as_me: failed program was:" >&5
5872 sed 's
/^
/|
/' conftest.$ac_ext >&5
5875 ac_cv_header_stdc=no
5877 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5881 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5882 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5883 if test $ac_cv_header_stdc = yes; then
5885 cat >>confdefs.h <<\_ACEOF
5886 #define STDC_HEADERS 1
5891 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5901 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5902 inttypes.h stdint.h unistd.h
5904 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5905 echo "$as_me:$LINENO: checking for $ac_header" >&5
5906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5908 echo $ECHO_N "(cached) $ECHO_C" >&6
5910 cat >conftest.$ac_ext <<_ACEOF
5913 cat confdefs.h >>conftest.$ac_ext
5914 cat >>conftest.$ac_ext <<_ACEOF
5915 /* end confdefs.h. */
5916 $ac_includes_default
5918 #include <$ac_header>
5920 rm -f conftest.$ac_objext
5921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5922 (eval $ac_compile) 2>conftest.er1
5924 grep -v '^
*+' conftest.er1 >conftest.err
5926 cat conftest.err >&5
5927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928 (exit $ac_status); } &&
5929 { ac_try='test -z "$ac_c_werror_flag"
5930 ||
test ! -s conftest.err
'
5931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935 (exit $ac_status); }; } &&
5936 { ac_try='test -s conftest.
$ac_objext'
5937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5941 (exit $ac_status); }; }; then
5942 eval "$as_ac_Header=yes"
5944 echo "$as_me: failed program was:" >&5
5945 sed 's
/^
/|
/' conftest.$ac_ext >&5
5947 eval "$as_ac_Header=no"
5949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5954 cat >>confdefs.h <<_ACEOF
5955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5964 for ac_header in dlfcn.h
5966 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5967 echo "$as_me:$LINENO: checking for $ac_header" >&5
5968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5970 echo $ECHO_N "(cached) $ECHO_C" >&6
5972 cat >conftest.$ac_ext <<_ACEOF
5975 cat confdefs.h >>conftest.$ac_ext
5976 cat >>conftest.$ac_ext <<_ACEOF
5977 /* end confdefs.h. */
5978 $ac_includes_default
5980 #include <$ac_header>
5982 rm -f conftest.$ac_objext
5983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5984 (eval $ac_compile) 2>conftest.er1
5986 grep -v '^
*+' conftest.er1 >conftest.err
5988 cat conftest.err >&5
5989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5990 (exit $ac_status); } &&
5991 { ac_try='test -z "$ac_c_werror_flag"
5992 ||
test ! -s conftest.err
'
5993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5997 (exit $ac_status); }; } &&
5998 { ac_try='test -s conftest.
$ac_objext'
5999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003 (exit $ac_status); }; }; then
6004 eval "$as_ac_Header=yes"
6006 echo "$as_me: failed program was:" >&5
6007 sed 's
/^
/|
/' conftest.$ac_ext >&5
6009 eval "$as_ac_Header=no"
6011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6014 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6015 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6016 cat >>confdefs.h <<_ACEOF
6017 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6026 # This can be used to rebuild libtool when needed
6027 LIBTOOL_DEPS="$ltmain"
6029 # Always use our own libtool.
6030 LIBTOOL='$
(SHELL
) $
(top_builddir
)/libtool
'
6056 test -z "$LN_S" && LN_S="ln -s"
6071 if test -n "${ZSH_VERSION+set}" ; then
6072 setopt NO_GLOB_SUBST
6075 echo "$as_me:$LINENO: checking for objdir" >&5
6076 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6077 if test "${lt_cv_objdir+set}" = set; then
6078 echo $ECHO_N "(cached) $ECHO_C" >&6
6080 rm -f .libs 2>/dev/null
6081 mkdir .libs 2>/dev/null
6082 if test -d .libs; then
6085 # MS-DOS does not allow filenames that begin with a dot.
6088 rmdir .libs 2>/dev/null
6090 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6091 echo "${ECHO_T}$lt_cv_objdir" >&6
6092 objdir=$lt_cv_objdir
6098 cat >>confdefs.h <<_ACEOF
6099 #define LT_OBJDIR "$lt_cv_objdir/"
6120 # AIX sometimes has problems with the GCC collect2 program. For some
6121 # reason, if we set the COLLECT_NAMES environment variable, the problems
6122 # vanish in a puff of smoke.
6123 if test "X${COLLECT_NAMES+set}" != Xset; then
6125 export COLLECT_NAMES
6130 # Sed substitution that helps us do robust quoting. It backslashifies
6131 # metacharacters that are still active within double-quoted strings.
6132 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
6134 # Same as above, but do not quote variable references.
6135 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6137 # Sed substitution to delay expansion of an escaped shell variable in a
6138 # double_quote_subst'ed string.
6139 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6141 # Sed substitution to delay expansion of an escaped single quote.
6142 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6144 # Sed substitution to avoid accidental globbing in evaled expressions
6145 no_glob_subst='s/\*/\\\*/g'
6149 can_build_shared=yes
6151 # All known linkers require a `.a
' archive for static linking (except MSVC,
6152 # which needs '.lib
').
6155 with_gnu_ld="$lt_cv_prog_gnu_ld"
6158 old_CFLAGS="$CFLAGS"
6160 # Set sane defaults for various variables
6161 test -z "$CC" && CC=cc
6162 test -z "$LTCC" && LTCC=$CC
6163 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6164 test -z "$LD" && LD=ld
6165 test -z "$ac_objext" && ac_objext=o
6167 for cc_temp in $compiler""; do
6169 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6170 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6175 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
6178 # Only perform the check for file, if the check method requires it
6179 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6180 case $deplibs_check_method in
6182 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6183 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6184 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6185 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6186 echo $ECHO_N "(cached) $ECHO_C" >&6
6190 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6193 lt_save_MAGIC_CMD="$MAGIC_CMD"
6194 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6195 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6196 for ac_dir in $ac_dummy; do
6198 test -z "$ac_dir" && ac_dir=.
6199 if test -f $ac_dir/${ac_tool_prefix}file; then
6200 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6201 if test -n "$file_magic_test_file"; then
6202 case $deplibs_check_method in
6204 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6205 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6206 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6207 $EGREP "$file_magic_regex" > /dev/null; then
6212 *** Warning: the command libtool uses to detect shared libraries,
6213 *** $file_magic_cmd, produces output that libtool cannot recognize.
6214 *** The result is that libtool may fail to recognize shared libraries
6215 *** as such. This will affect the creation of libtool libraries that
6216 *** depend on shared libraries, but programs linked with such libtool
6217 *** libraries will work regardless of this problem. Nevertheless, you
6218 *** may want to report the problem to your system manager and/or to
6219 *** bug-libtool@gnu.org
6229 MAGIC_CMD="$lt_save_MAGIC_CMD"
6234 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6235 if test -n "$MAGIC_CMD"; then
6236 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6237 echo "${ECHO_T}$MAGIC_CMD" >&6
6239 echo "$as_me:$LINENO: result: no" >&5
6240 echo "${ECHO_T}no" >&6
6247 if test -z "$lt_cv_path_MAGIC_CMD"; then
6248 if test -n "$ac_tool_prefix"; then
6249 echo "$as_me:$LINENO: checking for file" >&5
6250 echo $ECHO_N "checking for file... $ECHO_C" >&6
6251 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6252 echo $ECHO_N "(cached) $ECHO_C" >&6
6256 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6259 lt_save_MAGIC_CMD="$MAGIC_CMD"
6260 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6261 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6262 for ac_dir in $ac_dummy; do
6264 test -z "$ac_dir" && ac_dir=.
6265 if test -f $ac_dir/file; then
6266 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6267 if test -n "$file_magic_test_file"; then
6268 case $deplibs_check_method in
6270 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6271 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6272 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6273 $EGREP "$file_magic_regex" > /dev/null; then
6278 *** Warning: the command libtool uses to detect shared libraries,
6279 *** $file_magic_cmd, produces output that libtool cannot recognize.
6280 *** The result is that libtool may fail to recognize shared libraries
6281 *** as such. This will affect the creation of libtool libraries that
6282 *** depend on shared libraries, but programs linked with such libtool
6283 *** libraries will work regardless of this problem. Nevertheless, you
6284 *** may want to report the problem to your system manager and/or to
6285 *** bug-libtool@gnu.org
6295 MAGIC_CMD="$lt_save_MAGIC_CMD"
6300 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6301 if test -n "$MAGIC_CMD"; then
6302 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6303 echo "${ECHO_T}$MAGIC_CMD" >&6
6305 echo "$as_me:$LINENO: result: no" >&5
6306 echo "${ECHO_T}no" >&6
6319 # Use C for the default configuration in the libtool script
6323 ac_cpp='$CPP $CPPFLAGS'
6324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6325 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6329 # Source file extension for C test sources.
6332 # Object file extension for compiled C test sources.
6336 # Code to be used in simple compile tests
6337 lt_simple_compile_test_code="int some_variable = 0;"
6339 # Code to be used in simple link tests
6340 lt_simple_link_test_code='int main
(){return(0);}'
6348 # If no C compiler was specified, use CC.
6351 # If no C compiler flags were specified, use CFLAGS.
6352 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6354 # Allow CC to be a program name with arguments.
6357 # Save the default compiler, since it gets overwritten when the other
6358 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6359 compiler_DEFAULT=$CC
6361 # save warnings/boilerplate of simple test code
6362 ac_outfile=conftest.$ac_objext
6363 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6364 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6365 _lt_compiler_boilerplate=`cat conftest.err`
6368 ac_outfile=conftest.$ac_objext
6369 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6370 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6371 _lt_linker_boilerplate=`cat conftest.err`
6376 ## There is no encapsulation within the following macros, do not change
6377 ## the running order or otherwise move them around unless you know exactly
6378 ## what you are doing...
6379 if test -n "$compiler"; then
6381 lt_prog_compiler_no_builtin_flag=
6383 if test "$GCC" = yes; then
6384 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6386 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6387 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6388 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6389 echo $ECHO_N "(cached) $ECHO_C" >&6
6391 lt_cv_prog_compiler_rtti_exceptions=no
6392 ac_outfile=conftest.$ac_objext
6393 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6394 lt_compiler_flag="-fno-rtti -fno-exceptions"
6395 # Insert the option either (1) after the last *FLAGS variable, or
6396 # (2) before a word containing "conftest.", or (3) at the end.
6397 # Note that $ac_compile itself does not contain backslashes and begins
6398 # with a dollar sign (not a hyphen), so the echo should work correctly.
6399 # The option is referenced via a variable to avoid confusing sed.
6400 lt_compile=`echo "$ac_compile" | $SED \
6401 -e 's
:.
*FLAGS
}\
{0,1\
} :&$lt_compiler_flag :; t
' \
6402 -e 's
: [^
]*conftest\.
: $lt_compiler_flag&:; t
' \
6403 -e 's
:$
: $lt_compiler_flag:'`
6404 (eval echo "\"\$as_me:6404: $lt_compile\"" >&5)
6405 (eval "$lt_compile" 2>conftest.err)
6407 cat conftest.err >&5
6408 echo "$as_me:6408: \$? = $ac_status" >&5
6409 if (exit $ac_status) && test -s "$ac_outfile"; then
6410 # The compiler can only warn and ignore the option if not recognized
6411 # So say no if there are warnings other than the usual output.
6412 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$
/d
' >conftest.exp
6413 $SED '/^$
/d
; /^
*+/d
' conftest.err >conftest.er2
6414 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6415 lt_cv_prog_compiler_rtti_exceptions=yes
6421 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6422 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6424 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6425 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6437 lt_prog_compiler_wl=
6438 lt_prog_compiler_pic=
6439 lt_prog_compiler_static=
6441 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6442 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6444 if test "$GCC" = yes; then
6445 lt_prog_compiler_wl='-Wl,'
6446 lt_prog_compiler_static='-static'
6450 # All AIX code is PIC.
6451 if test "$host_cpu" = ia64; then
6452 # AIX 5 now supports IA64 processor
6453 lt_prog_compiler_static='-Bstatic'
6458 if test "$host_cpu" = m68k; then
6459 # FIXME: we need at least 68020 code to build shared libraries, but
6460 # adding the `-m68020' flag to GCC prevents building anything better
,
6462 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6466 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6467 # PIC is the default for these OSes.
6470 mingw
* | cygwin
* | pw32
* | os2
*)
6471 # This hack is so that the source file can tell whether it is being
6472 # built for inclusion in a dll (and should export symbols for example).
6473 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6474 # (--disable-auto-import) libraries
6475 lt_prog_compiler_pic
='-DDLL_EXPORT'
6478 darwin
* | rhapsody
*)
6479 # PIC is the default on this platform
6480 # Common symbols not allowed in MH_DYLIB files
6481 lt_prog_compiler_pic
='-fno-common'
6485 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6492 lt_prog_compiler_pic
='-fPIC'
6498 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6499 # Instead, we relocate shared libraries at runtime.
6503 # Just because we use GCC doesn't mean we suddenly get shared libraries
6504 # on systems that don't support them.
6505 lt_prog_compiler_can_build_shared
=no
6510 # QNX uses GNU C++, but need to define -shared option too, otherwise
6512 lt_prog_compiler_pic
='-fPIC -shared'
6516 if test -d /usr
/nec
; then
6517 lt_prog_compiler_pic
=-Kconform_pic
6522 lt_prog_compiler_pic
='-fPIC'
6526 # PORTME Check for flag to pass linker flags through the system compiler.
6529 lt_prog_compiler_wl
='-Wl,'
6530 if test "$host_cpu" = ia64
; then
6531 # AIX 5 now supports IA64 processor
6532 lt_prog_compiler_static
='-Bstatic'
6534 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6538 # PIC is the default on this platform
6539 # Common symbols not allowed in MH_DYLIB files
6540 case $cc_basename in
6542 lt_prog_compiler_pic
='-qnocommon'
6543 lt_prog_compiler_wl
='-Wl,'
6548 mingw
* | cygwin
* | pw32
* | os2
*)
6549 # This hack is so that the source file can tell whether it is being
6550 # built for inclusion in a dll (and should export symbols for example).
6551 lt_prog_compiler_pic
='-DDLL_EXPORT'
6554 hpux9
* | hpux10
* | hpux11
*)
6555 lt_prog_compiler_wl
='-Wl,'
6556 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6563 lt_prog_compiler_pic
='+Z'
6566 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6567 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6570 irix5
* | irix6
* | nonstopux
*)
6571 lt_prog_compiler_wl
='-Wl,'
6572 # PIC (with -KPIC) is the default.
6573 lt_prog_compiler_static
='-non_shared'
6576 linux
* | k
*bsd
*-gnu)
6577 case $cc_basename in
6579 lt_prog_compiler_wl
='-Wl,'
6580 lt_prog_compiler_pic
='-KPIC'
6581 lt_prog_compiler_static
='-static'
6583 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6584 # Portland Group compilers (*not* the Pentium gcc compiler,
6585 # which looks to be a dead project)
6586 lt_prog_compiler_wl
='-Wl,'
6587 lt_prog_compiler_pic
='-fpic'
6588 lt_prog_compiler_static
='-Bstatic'
6591 lt_prog_compiler_wl
='-Wl,'
6592 # All Alpha code is PIC.
6593 lt_prog_compiler_static
='-non_shared'
6596 case `$CC -V 2>&1 | sed 5q` in
6599 lt_prog_compiler_pic
='-KPIC'
6600 lt_prog_compiler_static
='-Bstatic'
6601 lt_prog_compiler_wl
='-Wl,'
6604 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6605 lt_prog_compiler_pic
='-KPIC'
6606 lt_prog_compiler_static
='-Bstatic'
6607 lt_prog_compiler_wl
=''
6615 lt_prog_compiler_pic
='-KPIC'
6616 lt_prog_compiler_static
='-Bstatic'
6620 # QNX uses GNU C++, but need to define -shared option too, otherwise
6622 lt_prog_compiler_pic
='-fPIC -shared'
6625 osf3
* | osf4
* | osf5
*)
6626 lt_prog_compiler_wl
='-Wl,'
6627 # All OSF/1 code is PIC.
6628 lt_prog_compiler_static
='-non_shared'
6632 lt_prog_compiler_static
='-non_shared'
6636 lt_prog_compiler_pic
='-KPIC'
6637 lt_prog_compiler_static
='-Bstatic'
6638 case $cc_basename in
6640 lt_prog_compiler_wl
='-Qoption ld ';;
6642 lt_prog_compiler_wl
='-Wl,';;
6647 lt_prog_compiler_wl
='-Qoption ld '
6648 lt_prog_compiler_pic
='-PIC'
6649 lt_prog_compiler_static
='-Bstatic'
6652 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6653 lt_prog_compiler_wl
='-Wl,'
6654 lt_prog_compiler_pic
='-KPIC'
6655 lt_prog_compiler_static
='-Bstatic'
6659 if test -d /usr
/nec
;then
6660 lt_prog_compiler_pic
='-Kconform_pic'
6661 lt_prog_compiler_static
='-Bstatic'
6665 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6666 lt_prog_compiler_wl
='-Wl,'
6667 lt_prog_compiler_pic
='-KPIC'
6668 lt_prog_compiler_static
='-Bstatic'
6672 lt_prog_compiler_wl
='-Wl,'
6673 lt_prog_compiler_can_build_shared
=no
6677 lt_prog_compiler_pic
='-pic'
6678 lt_prog_compiler_static
='-Bstatic'
6682 lt_prog_compiler_can_build_shared
=no
6688 # For platforms which do not support PIC, -DPIC is meaningless:
6690 lt_prog_compiler_pic
=
6693 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6696 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6697 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6705 # Check to make sure the PIC flag actually works.
6707 if test -n "$lt_prog_compiler_pic"; then
6708 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6709 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6710 if test "${lt_prog_compiler_pic_works+set}" = set; then
6711 echo $ECHO_N "(cached) $ECHO_C" >&6
6713 lt_prog_compiler_pic_works
=no
6714 ac_outfile
=conftest.
$ac_objext
6715 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6716 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6717 # Insert the option either (1) after the last *FLAGS variable, or
6718 # (2) before a word containing "conftest.", or (3) at the end.
6719 # Note that $ac_compile itself does not contain backslashes and begins
6720 # with a dollar sign (not a hyphen), so the echo should work correctly.
6721 # The option is referenced via a variable to avoid confusing sed.
6722 lt_compile
=`echo "$ac_compile" | $SED \
6723 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6724 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6725 -e 's:$: $lt_compiler_flag:'`
6726 (eval echo "\"\$as_me:6726: $lt_compile\"" >&5)
6727 (eval "$lt_compile" 2>conftest.err
)
6729 cat conftest.err
>&5
6730 echo "$as_me:6730: \$? = $ac_status" >&5
6731 if (exit $ac_status) && test -s "$ac_outfile"; then
6732 # The compiler can only warn and ignore the option if not recognized
6733 # So say no if there are warnings other than the usual output.
6734 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6735 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6736 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6737 lt_prog_compiler_pic_works
=yes
6743 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6744 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6746 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6747 case $lt_prog_compiler_pic in
6749 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6752 lt_prog_compiler_pic
=
6753 lt_prog_compiler_can_build_shared
=no
6764 # Check to make sure the static flag actually works.
6766 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
6767 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6768 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6769 if test "${lt_prog_compiler_static_works+set}" = set; then
6770 echo $ECHO_N "(cached) $ECHO_C" >&6
6772 lt_prog_compiler_static_works
=no
6773 save_LDFLAGS
="$LDFLAGS"
6774 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
6775 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
6776 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6777 # The linker can only warn and ignore the option if not recognized
6778 # So say no if there are warnings
6779 if test -s conftest.err
; then
6780 # Append any errors to the config.log.
6781 cat conftest.err
1>&5
6782 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
6783 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6784 if diff conftest.exp conftest.er2
>/dev
/null
; then
6785 lt_prog_compiler_static_works
=yes
6788 lt_prog_compiler_static_works
=yes
6792 LDFLAGS
="$save_LDFLAGS"
6795 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6796 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6798 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6801 lt_prog_compiler_static
=
6810 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6811 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6812 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6813 echo $ECHO_N "(cached) $ECHO_C" >&6
6815 lt_cv_prog_compiler_c_o
=no
6816 $RM -r conftest
2>/dev
/null
6820 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6822 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6823 # Insert the option either (1) after the last *FLAGS variable, or
6824 # (2) before a word containing "conftest.", or (3) at the end.
6825 # Note that $ac_compile itself does not contain backslashes and begins
6826 # with a dollar sign (not a hyphen), so the echo should work correctly.
6827 lt_compile
=`echo "$ac_compile" | $SED \
6828 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6829 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6830 -e 's:$: $lt_compiler_flag:'`
6831 (eval echo "\"\$as_me:6831: $lt_compile\"" >&5)
6832 (eval "$lt_compile" 2>out
/conftest.err
)
6834 cat out
/conftest.err
>&5
6835 echo "$as_me:6835: \$? = $ac_status" >&5
6836 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6838 # The compiler can only warn and ignore the option if not recognized
6839 # So say no if there are warnings
6840 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6841 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6842 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6843 lt_cv_prog_compiler_c_o
=yes
6848 # SGI C++ compiler will create directory out/ii_files/ for
6849 # template instantiation
6850 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
6851 $RM out
/* && rmdir out
6857 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6858 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6865 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6866 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6867 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6868 echo $ECHO_N "(cached) $ECHO_C" >&6
6870 lt_cv_prog_compiler_c_o
=no
6871 $RM -r conftest
2>/dev
/null
6875 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6877 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6878 # Insert the option either (1) after the last *FLAGS variable, or
6879 # (2) before a word containing "conftest.", or (3) at the end.
6880 # Note that $ac_compile itself does not contain backslashes and begins
6881 # with a dollar sign (not a hyphen), so the echo should work correctly.
6882 lt_compile
=`echo "$ac_compile" | $SED \
6883 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6884 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6885 -e 's:$: $lt_compiler_flag:'`
6886 (eval echo "\"\$as_me:6886: $lt_compile\"" >&5)
6887 (eval "$lt_compile" 2>out
/conftest.err
)
6889 cat out
/conftest.err
>&5
6890 echo "$as_me:6890: \$? = $ac_status" >&5
6891 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6893 # The compiler can only warn and ignore the option if not recognized
6894 # So say no if there are warnings
6895 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6896 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6897 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6898 lt_cv_prog_compiler_c_o
=yes
6903 # SGI C++ compiler will create directory out/ii_files/ for
6904 # template instantiation
6905 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
6906 $RM out
/* && rmdir out
6912 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6913 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6918 hard_links
="nottested"
6919 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6920 # do not overwrite the value of need_locks provided by the user
6921 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6922 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6925 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6927 ln conftest.a conftest.b
2>&5 || hard_links
=no
6928 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6929 echo "$as_me:$LINENO: result: $hard_links" >&5
6930 echo "${ECHO_T}$hard_links" >&6
6931 if test "$hard_links" = no
; then
6932 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6933 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6945 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6946 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6949 allow_undefined_flag
=
6950 always_export_symbols
=no
6952 archive_expsym_cmds
=
6953 compiler_needs_object
=no
6954 enable_shared_with_static_runtimes
=no
6955 export_dynamic_flag_spec
=
6956 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6957 hardcode_automatic
=no
6959 hardcode_direct_absolute
=no
6960 hardcode_libdir_flag_spec
=
6961 hardcode_libdir_flag_spec_ld
=
6962 hardcode_libdir_separator
=
6964 hardcode_shlibpath_var
=unsupported
6966 link_all_deplibs
=unknown
6969 old_archive_from_new_cmds
=
6970 old_archive_from_expsyms_cmds
=
6971 thread_safe_flag_spec
=
6972 whole_archive_flag_spec
=
6973 # include_expsyms should be a list of space-separated symbols to be *always*
6974 # included in the symbol list
6976 # exclude_expsyms can be an extended regexp of symbols to exclude
6977 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6978 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6979 # as well as any symbol that contains `d'.
6980 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6981 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6982 # platforms (ab)use it in PIC code, but their linkers get confused if
6983 # the symbol is explicitly referenced. Since portable code cannot
6984 # rely on this symbol name, it's probably fine to never include it in
6985 # preloaded symbol tables.
6986 extract_expsyms_cmds
=
6989 cygwin
* | mingw
* | pw32
*)
6990 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6991 # When not using gcc, we currently assume that we are using
6992 # Microsoft Visual C++.
6993 if test "$GCC" != yes; then
6998 # we just hope/assume this is gcc and not c89 (= MSVC++)
7007 if test "$with_gnu_ld" = yes; then
7008 # If archive_cmds runs LD, not CC, wlarc should be empty
7011 # Set some defaults for GNU ld with shared library support. These
7012 # are reset later if shared libraries are not supported. Putting them
7013 # here allows them to be overridden if necessary.
7014 runpath_var
=LD_RUN_PATH
7015 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7016 export_dynamic_flag_spec
='${wl}--export-dynamic'
7017 # ancient GNU ld didn't support --whole-archive et. al.
7018 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7019 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7021 whole_archive_flag_spec
=
7023 supports_anon_versioning
=no
7024 case `$LD -v 2>&1` in
7025 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7026 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7027 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7028 *\
2.11.
*) ;; # other 2.11 versions
7029 *) supports_anon_versioning
=yes ;;
7032 # See if GNU ld supports shared libraries.
7034 aix3
* | aix4
* | aix5
*)
7035 # On AIX/PPC, the GNU linker is very broken
7036 if test "$host_cpu" != ia64
; then
7040 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7041 *** to be unable to reliably create shared libraries on AIX.
7042 *** Therefore, libtool is disabling shared libraries support. If you
7043 *** really care for shared libraries, you may want to modify your PATH
7044 *** so that a non-GNU linker is found, and then restart.
7051 if test "$host_cpu" = m68k
; then
7052 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)'
7053 hardcode_libdir_flag_spec
='-L$libdir'
7054 hardcode_minus_L
=yes
7057 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7058 # that the semantics of dynamic libraries on AmigaOS, at least up
7059 # to version 4, is to share data among multiple programs linked
7060 # with the same dynamic library. Since this doesn't match the
7061 # behavior of shared libraries on other platforms, we can't use
7067 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7068 allow_undefined_flag
=unsupported
7069 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7070 # support --undefined. This deserves some investigation. FIXME
7071 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7077 cygwin
* | mingw
* | pw32
*)
7078 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7079 # as there is no search path for DLLs.
7080 hardcode_libdir_flag_spec
='-L$libdir'
7081 allow_undefined_flag
=unsupported
7082 always_export_symbols
=no
7083 enable_shared_with_static_runtimes
=yes
7084 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7086 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7087 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7088 # If the export-symbols file already is a .def file (1st line
7089 # is EXPORTS), use it as is; otherwise, prepend...
7090 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7091 cp $export_symbols $output_objdir/$soname.def;
7093 echo EXPORTS > $output_objdir/$soname.def;
7094 cat $export_symbols >> $output_objdir/$soname.def;
7096 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7104 hardcode_shlibpath_var
=no
7105 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7106 export_dynamic_flag_spec
='${wl}-E'
7107 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7108 # Instead, shared libraries are loaded at an image base (0x10000000 by
7109 # default) and relocated if they conflict, which is a slow very memory
7110 # consuming and fragmenting process. To avoid this, we pick a random,
7111 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7112 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7113 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7114 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'
7117 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7119 if test "$host_os" = linux-dietlibc
; then
7120 case $cc_basename in
7121 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7124 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7125 && test "$tmp_diet" = no
7128 case $cc_basename,$host_cpu in
7129 pgcc
*) # Portland Group C compiler
7130 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'
7131 tmp_addflag
=' $pic_flag'
7133 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7134 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'
7135 tmp_addflag
=' $pic_flag -Mnomain' ;;
7136 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7137 tmp_addflag
=' -i_dynamic' ;;
7138 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7139 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7140 ifc
* | ifort
*) # Intel Fortran compiler
7141 tmp_addflag
=' -nofor_main' ;;
7143 case `$CC -V 2>&1 | sed 5q` in
7144 *Sun\ C
*) # Sun C 5.9
7145 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'
7146 compiler_needs_object
=yes
7147 tmp_sharedflag
='-G' ;;
7148 *Sun\ F
*) # Sun Fortran 8.3
7149 tmp_sharedflag
='-G' ;;
7151 tmp_sharedflag
='-shared' ;;
7153 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7155 if test "x$supports_anon_versioning" = xyes
; then
7156 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7157 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7158 echo "local: *; };" >> $output_objdir/$libname.ver~
7159 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7167 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7168 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7171 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7172 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7177 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7181 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7182 *** create shared libraries on Solaris systems. Therefore, libtool
7183 *** is disabling shared libraries support. We urge you to upgrade GNU
7184 *** binutils to release 2.9.1 or newer. Another option is to modify
7185 *** your PATH or compiler configuration so that the native linker is
7186 *** used, and then restart.
7189 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7190 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7191 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7197 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7198 case `$LD -v 2>&1` in
7199 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7203 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7204 *** reliably create shared libraries on SCO systems. Therefore, libtool
7205 *** is disabling shared libraries support. We urge you to upgrade GNU
7206 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7207 *** your PATH or compiler configuration so that the native linker is
7208 *** used, and then restart.
7213 # For security reasons, it is highly recommended that you always
7214 # use absolute paths for naming shared libraries, and exclude the
7215 # DT_RUNPATH tag from executables and libraries. But doing so
7216 # requires that you compile everything twice, which is a pain.
7217 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7218 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7219 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7220 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7229 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7232 hardcode_shlibpath_var
=no
7236 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7237 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7238 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7245 if test "$ld_shlibs" = no
; then
7247 hardcode_libdir_flag_spec
=
7248 export_dynamic_flag_spec
=
7249 whole_archive_flag_spec
=
7252 # PORTME fill in a description of your system's linker (not GNU ld)
7255 allow_undefined_flag
=unsupported
7256 always_export_symbols
=yes
7257 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'
7258 # Note: this linker hardcodes the directories in LIBPATH if there
7259 # are no directories specified by -L.
7260 hardcode_minus_L
=yes
7261 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7262 # Neither direct hardcoding nor static linking is supported with a
7264 hardcode_direct
=unsupported
7269 if test "$host_cpu" = ia64
; then
7270 # On IA64, the linker does run time linking by default, so we don't
7271 # have to do anything special.
7272 aix_use_runtimelinking
=no
7273 exp_sym_flag
='-Bexport'
7276 # If we're using GNU nm, then we don't want the "-C" option.
7277 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7278 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7279 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'
7281 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'
7283 aix_use_runtimelinking
=no
7285 # Test if we are trying to use run time linking or normal
7286 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7287 # need to do runtime linking.
7288 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7289 for ld_flag
in $LDFLAGS; do
7290 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7291 aix_use_runtimelinking
=yes
7298 exp_sym_flag
='-bexport'
7299 no_entry_flag
='-bnoentry'
7302 # When large executables or shared objects are built, AIX ld can
7303 # have problems creating the table of contents. If linking a library
7304 # or program results in "error TOC overflow" add -mminimal-toc to
7305 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7306 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7310 hardcode_direct_absolute
=yes
7311 hardcode_libdir_separator
=':'
7312 link_all_deplibs
=yes
7313 file_list_spec
='${wl}-f,'
7315 if test "$GCC" = yes; then
7316 case $host_os in aix4.
[012]|aix4.
[012].
*)
7317 # We only want to do this on AIX 4.2 and lower, the check
7318 # below for broken collect2 doesn't work under 4.3+
7319 collect2name
=`${CC} -print-prog-name=collect2`
7320 if test -f "$collect2name" &&
7321 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7323 # We have reworked collect2
7326 # We have old collect2
7327 hardcode_direct
=unsupported
7328 # It fails to find uninstalled libraries when the uninstalled
7329 # path is not listed in the libpath. Setting hardcode_minus_L
7330 # to unsupported forces relinking
7331 hardcode_minus_L
=yes
7332 hardcode_libdir_flag_spec
='-L$libdir'
7333 hardcode_libdir_separator
=
7337 shared_flag
='-shared'
7338 if test "$aix_use_runtimelinking" = yes; then
7339 shared_flag
="$shared_flag "'${wl}-G'
7343 if test "$host_cpu" = ia64
; then
7344 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7345 # chokes on -Wl,-G. The following line is correct:
7348 if test "$aix_use_runtimelinking" = yes; then
7349 shared_flag
='${wl}-G'
7351 shared_flag
='${wl}-bM:SRE'
7356 # It seems that -bexpall does not export symbols beginning with
7357 # underscore (_), so it is better to generate a list of symbols to export.
7358 always_export_symbols
=yes
7359 if test "$aix_use_runtimelinking" = yes; then
7360 # Warning - without using the other runtime loading flags (-brtl),
7361 # -berok will link without error, but may produce a broken library.
7362 allow_undefined_flag
='-berok'
7363 # Determine the default libpath from the value encoded in an
7365 cat >conftest.
$ac_ext <<_ACEOF
7368 cat confdefs.h
>>conftest.
$ac_ext
7369 cat >>conftest.
$ac_ext <<_ACEOF
7370 /* end confdefs.h. */
7380 rm -f conftest.
$ac_objext conftest
$ac_exeext
7381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7382 (eval $ac_link) 2>conftest.er1
7384 grep -v '^ *+' conftest.er1
>conftest.err
7386 cat conftest.err
>&5
7387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7388 (exit $ac_status); } &&
7389 { ac_try
='test -z "$ac_c_werror_flag"
7390 || test ! -s conftest.err'
7391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7395 (exit $ac_status); }; } &&
7396 { ac_try
='test -s conftest$ac_exeext'
7397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7401 (exit $ac_status); }; }; then
7403 lt_aix_libpath_sed
='
7404 /Import File Strings/,/^$/ {
7410 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7411 # Check for a 64-bit object if we didn't find anything.
7412 if test -z "$aix_libpath"; then
7413 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7416 echo "$as_me: failed program was:" >&5
7417 sed 's/^/| /' conftest.
$ac_ext >&5
7420 rm -f conftest.err conftest.
$ac_objext \
7421 conftest
$ac_exeext conftest.
$ac_ext
7422 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7424 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7425 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"
7427 if test "$host_cpu" = ia64
; then
7428 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7429 allow_undefined_flag
="-z nodefs"
7430 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"
7432 # Determine the default libpath from the value encoded in an
7434 cat >conftest.
$ac_ext <<_ACEOF
7437 cat confdefs.h
>>conftest.
$ac_ext
7438 cat >>conftest.
$ac_ext <<_ACEOF
7439 /* end confdefs.h. */
7449 rm -f conftest.
$ac_objext conftest
$ac_exeext
7450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7451 (eval $ac_link) 2>conftest.er1
7453 grep -v '^ *+' conftest.er1
>conftest.err
7455 cat conftest.err
>&5
7456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7457 (exit $ac_status); } &&
7458 { ac_try
='test -z "$ac_c_werror_flag"
7459 || test ! -s conftest.err'
7460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7464 (exit $ac_status); }; } &&
7465 { ac_try
='test -s conftest$ac_exeext'
7466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7470 (exit $ac_status); }; }; then
7472 lt_aix_libpath_sed
='
7473 /Import File Strings/,/^$/ {
7479 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7480 # Check for a 64-bit object if we didn't find anything.
7481 if test -z "$aix_libpath"; then
7482 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7485 echo "$as_me: failed program was:" >&5
7486 sed 's/^/| /' conftest.
$ac_ext >&5
7489 rm -f conftest.err conftest.
$ac_objext \
7490 conftest
$ac_exeext conftest.
$ac_ext
7491 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7493 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7494 # Warning - without using the other run time loading flags,
7495 # -berok will link without error, but may produce a broken library.
7496 no_undefined_flag
=' ${wl}-bernotok'
7497 allow_undefined_flag
=' ${wl}-berok'
7498 # Exported symbols can be pulled into shared objects from archives
7499 whole_archive_flag_spec
='$convenience'
7500 archive_cmds_need_lc
=yes
7501 # This is similar to how AIX traditionally builds its shared libraries.
7502 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'
7508 if test "$host_cpu" = m68k
; then
7509 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)'
7510 hardcode_libdir_flag_spec
='-L$libdir'
7511 hardcode_minus_L
=yes
7513 # see comment about different semantics on the GNU ld section
7518 export_dynamic_flag_spec
=-rdynamic
7521 cygwin
* | mingw
* | pw32
*)
7522 # When not using gcc, we currently assume that we are using
7523 # Microsoft Visual C++.
7524 # hardcode_libdir_flag_spec is actually meaningless, as there is
7525 # no search path for DLLs.
7526 hardcode_libdir_flag_spec
=' '
7527 allow_undefined_flag
=unsupported
7528 # Tell ltmain to make .lib files, not .a files.
7530 # Tell ltmain to make .dll files, not .so files.
7532 # FIXME: Setting linknames here is a bad hack.
7533 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7534 # The linker will automatically build a .lib file if we build a DLL.
7535 old_archive_from_new_cmds
='true'
7536 # FIXME: Should let the user specify the lib program.
7537 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7538 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7539 enable_shared_with_static_runtimes
=yes
7542 darwin
* | rhapsody
*)
7544 rhapsody
* | darwin1.
[012])
7545 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7548 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7550 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7553 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7558 archive_cmds_need_lc
=no
7560 hardcode_automatic
=yes
7561 hardcode_shlibpath_var
=unsupported
7562 whole_archive_flag_spec
=''
7563 link_all_deplibs
=yes
7564 if test "$GCC" = yes ; then
7565 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7566 echo $ECHO_N "(cached) $ECHO_C" >&6
7568 lt_cv_apple_cc_single_mod
=no
7569 if test -z "${LT_MULTI_MODULE}"; then
7570 # By default we will add the -single_module flag. You can override
7571 # by either setting the environment variable LT_MULTI_MODULE
7572 # non-empty at configure time, or by adding -multi-module to the
7574 echo "int foo(void){return 1;}" > conftest.c
7575 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7576 -dynamiclib ${wl}-single_module conftest.c
7577 if test -f libconftest.dylib
; then
7578 lt_cv_apple_cc_single_mod
=yes
7579 rm libconftest.dylib
7585 output_verbose_link_cmd
=echo
7586 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
7587 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7588 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}'
7590 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7591 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}'
7593 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7594 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}'
7596 case $cc_basename in
7598 output_verbose_link_cmd
=echo
7599 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7600 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7601 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7602 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}'
7603 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}'
7613 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7614 hardcode_libdir_flag_spec
='-L$libdir'
7615 hardcode_shlibpath_var
=no
7622 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7623 # support. Future versions do this automatically, but an explicit c++rt0.o
7624 # does not break anything, and helps significantly (at the cost of a little
7627 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7628 hardcode_libdir_flag_spec
='-R$libdir'
7630 hardcode_shlibpath_var
=no
7633 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7635 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7637 hardcode_minus_L
=yes
7638 hardcode_shlibpath_var
=no
7641 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7642 freebsd
* | dragonfly
*)
7643 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7644 hardcode_libdir_flag_spec
='-R$libdir'
7646 hardcode_shlibpath_var
=no
7650 if test "$GCC" = yes; then
7651 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'
7653 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'
7655 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7656 hardcode_libdir_separator
=:
7659 # hardcode_minus_L: Not really in the search PATH,
7660 # but as the default location of the library.
7661 hardcode_minus_L
=yes
7662 export_dynamic_flag_spec
='${wl}-E'
7666 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7667 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7669 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7671 if test "$with_gnu_ld" = no
; then
7672 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7673 hardcode_libdir_flag_spec_ld
='+b $libdir'
7674 hardcode_libdir_separator
=:
7676 hardcode_direct_absolute
=yes
7677 export_dynamic_flag_spec
='${wl}-E'
7678 # hardcode_minus_L: Not really in the search PATH,
7679 # but as the default location of the library.
7680 hardcode_minus_L
=yes
7685 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7688 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7691 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7694 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7700 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7703 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7706 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7710 if test "$with_gnu_ld" = no
; then
7711 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7712 hardcode_libdir_separator
=:
7717 hardcode_shlibpath_var
=no
7721 hardcode_direct_absolute
=yes
7722 export_dynamic_flag_spec
='${wl}-E'
7724 # hardcode_minus_L: Not really in the search PATH,
7725 # but as the default location of the library.
7726 hardcode_minus_L
=yes
7732 irix5
* | irix6
* | nonstopux
*)
7733 if test "$GCC" = yes; then
7734 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'
7735 # Try to use the -exported_symbol ld option, if it does not
7736 # work, assume that -exports_file does not work either and
7737 # implicitly export all symbols.
7738 save_LDFLAGS
="$LDFLAGS"
7739 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7740 cat >conftest.
$ac_ext <<_ACEOF
7743 rm -f conftest.
$ac_objext conftest
$ac_exeext
7744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7745 (eval $ac_link) 2>conftest.er1
7747 grep -v '^ *+' conftest.er1
>conftest.err
7749 cat conftest.err
>&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); } &&
7752 { ac_try
='test -z "$ac_c_werror_flag"
7753 || test ! -s conftest.err'
7754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7758 (exit $ac_status); }; } &&
7759 { ac_try
='test -s conftest$ac_exeext'
7760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7764 (exit $ac_status); }; }; then
7765 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'
7768 echo "$as_me: failed program was:" >&5
7769 sed 's/^/| /' conftest.
$ac_ext >&5
7772 rm -f conftest.err conftest.
$ac_objext \
7773 conftest
$ac_exeext conftest.
$ac_ext
7774 LDFLAGS
="$save_LDFLAGS"
7776 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'
7777 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'
7779 archive_cmds_need_lc
='no'
7780 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7781 hardcode_libdir_separator
=:
7783 link_all_deplibs
=yes
7787 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7788 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7790 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7792 hardcode_libdir_flag_spec
='-R$libdir'
7794 hardcode_shlibpath_var
=no
7798 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7800 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7801 hardcode_libdir_separator
=:
7802 hardcode_shlibpath_var
=no
7810 hardcode_shlibpath_var
=no
7811 hardcode_direct_absolute
=yes
7812 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7813 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7814 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7815 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7816 export_dynamic_flag_spec
='${wl}-E'
7819 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7820 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7821 hardcode_libdir_flag_spec
='-R$libdir'
7824 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7825 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7832 hardcode_libdir_flag_spec
='-L$libdir'
7833 hardcode_minus_L
=yes
7834 allow_undefined_flag
=unsupported
7835 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'
7836 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7840 if test "$GCC" = yes; then
7841 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7842 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'
7844 allow_undefined_flag
=' -expect_unresolved \*'
7845 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'
7847 archive_cmds_need_lc
='no'
7848 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7849 hardcode_libdir_separator
=:
7852 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7853 if test "$GCC" = yes; then
7854 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7855 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'
7856 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7858 allow_undefined_flag
=' -expect_unresolved \*'
7859 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'
7860 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~
7861 $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'
7863 # Both c and cxx compiler support -rpath directly
7864 hardcode_libdir_flag_spec
='-rpath $libdir'
7866 archive_cmds_need_lc
='no'
7867 hardcode_libdir_separator
=:
7871 no_undefined_flag
=' -z defs'
7872 if test "$GCC" = yes; then
7874 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7875 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7876 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7878 case `$CC -V 2>&1` in
7881 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7882 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7883 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
7887 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
7888 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7889 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7893 hardcode_libdir_flag_spec
='-R$libdir'
7894 hardcode_shlibpath_var
=no
7896 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7898 # The compiler driver will combine and reorder linker options,
7899 # but understands `-z linker_flag'. GCC discards it without `$wl',
7900 # but is careful enough not to reorder.
7901 # Supported since Solaris 2.6 (maybe 2.5.1?)
7902 if test "$GCC" = yes; then
7903 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
7905 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
7909 link_all_deplibs
=yes
7913 if test "x$host_vendor" = xsequent
; then
7914 # Use $CC to link under sequent, because it throws in some extra .o
7915 # files that make .init and .fini sections work.
7916 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7918 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7920 hardcode_libdir_flag_spec
='-L$libdir'
7922 hardcode_minus_L
=yes
7923 hardcode_shlibpath_var
=no
7927 case $host_vendor in
7929 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7930 hardcode_direct
=yes # is this really true???
7933 ## LD is ld it makes a PLAMLIB
7934 ## CC just makes a GrossModule.
7935 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7936 reload_cmds
='$CC -r -o $output$reload_objs'
7940 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7941 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7944 runpath_var
='LD_RUN_PATH'
7945 hardcode_shlibpath_var
=no
7949 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7950 hardcode_shlibpath_var
=no
7951 export_dynamic_flag_spec
='-Bexport'
7955 if test -d /usr
/nec
; then
7956 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7957 hardcode_shlibpath_var
=no
7958 runpath_var
=LD_RUN_PATH
7959 hardcode_runpath_var
=yes
7964 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
7965 no_undefined_flag
='${wl}-z,text'
7966 archive_cmds_need_lc
=no
7967 hardcode_shlibpath_var
=no
7968 runpath_var
='LD_RUN_PATH'
7970 if test "$GCC" = yes; then
7971 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7972 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7974 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7975 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7979 sysv5
* | sco3.2v5
* | sco5v6
*)
7980 # Note: We can NOT use -z defs as we might desire, because we do not
7981 # link with -lc, and that would cause any symbols used from libc to
7982 # always be unresolved, which means just about no library would
7983 # ever link correctly. If we're not using GNU ld we use -z text
7984 # though, which does catch some bad symbols but isn't as heavy-handed
7986 no_undefined_flag
='${wl}-z,text'
7987 allow_undefined_flag
='${wl}-z,nodefs'
7988 archive_cmds_need_lc
=no
7989 hardcode_shlibpath_var
=no
7990 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
7991 hardcode_libdir_separator
=':'
7992 link_all_deplibs
=yes
7993 export_dynamic_flag_spec
='${wl}-Bexport'
7994 runpath_var
='LD_RUN_PATH'
7996 if test "$GCC" = yes; then
7997 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7998 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8000 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8001 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8006 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8007 hardcode_libdir_flag_spec
='-L$libdir'
8008 hardcode_shlibpath_var
=no
8016 if test x
$host_vendor = xsni
; then
8018 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8019 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8025 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8026 echo "${ECHO_T}$ld_shlibs" >&6
8027 test "$ld_shlibs" = no
&& can_build_shared
=no
8029 with_gnu_ld
=$with_gnu_ld
8046 # Do we need to explicitly link libc?
8048 case "x$archive_cmds_need_lc" in
8050 # Assume -lc should be added
8051 archive_cmds_need_lc
=yes
8053 if test "$enable_shared" = yes && test "$GCC" = yes; then
8054 case $archive_cmds in
8056 # FIXME: we may have to deal with multi-command sequences.
8059 # Test whether the compiler implicitly links with -lc since on some
8060 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8061 # to ld, don't add -lc before -lgcc.
8062 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8063 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8065 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8068 (eval $ac_compile) 2>&5
8070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8071 (exit $ac_status); } 2>conftest.err
; then
8074 libobjs
=conftest.
$ac_objext
8076 wl
=$lt_prog_compiler_wl
8077 pic_flag
=$lt_prog_compiler_pic
8083 lt_save_allow_undefined_flag
=$allow_undefined_flag
8084 allow_undefined_flag
=
8085 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8086 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8089 (exit $ac_status); }
8091 archive_cmds_need_lc
=no
8093 archive_cmds_need_lc
=yes
8095 allow_undefined_flag
=$lt_save_allow_undefined_flag
8097 cat conftest.err
1>&5
8100 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8101 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8264 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8265 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8267 if test "$withGCC" = yes; then
8269 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8270 *) lt_awk_arg
="/^libraries:/" ;;
8272 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8273 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8274 # if the path contains ";" then we assume it to be the separator
8275 # otherwise default to the standard path separator (i.e. ":") - it is
8276 # assumed that no part of a normal pathname contains ";" but that should
8277 # okay in the real world where ";" in dirpaths is itself problematic.
8278 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8280 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8282 # Ok, now we have the path, separated by spaces, we can step through it
8283 # and add multilib dir if necessary.
8284 lt_tmp_lt_search_path_spec
=
8285 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8286 for lt_sys_path
in $lt_search_path_spec; do
8287 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8288 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8290 test -d "$lt_sys_path" && \
8291 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8294 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8295 BEGIN {RS=" "; FS="/|\n";} {
8298 for (lt_i = NF; lt_i > 0; lt_i--) {
8299 if ($lt_i != "" && $lt_i != ".") {
8300 if ($lt_i == "..") {
8303 if (lt_count == 0) {
8304 lt_foo="/" $lt_i lt_foo;
8311 if (lt_foo != "") { lt_freq[lt_foo]++; }
8312 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8314 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8316 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8319 libname_spec
='lib$name'
8327 shlibpath_overrides_runpath
=unknown
8329 dynamic_linker
="$host_os ld.so"
8330 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8331 need_lib_prefix
=unknown
8332 hardcode_into_libs
=no
8334 # when you set need_version to no, make sure it does not cause -set_version
8335 # flags to be left without arguments
8336 need_version
=unknown
8341 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8342 shlibpath_var
=LIBPATH
8344 # AIX 3 has no versioning support, so we append a major version to the name.
8345 soname_spec
='${libname}${release}${shared_ext}$major'
8352 hardcode_into_libs
=yes
8353 if test "$host_cpu" = ia64
; then
8354 # AIX 5 supports IA64
8355 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8356 shlibpath_var
=LD_LIBRARY_PATH
8358 # With GCC up to 2.95.x, collect2 would create an import file
8359 # for dependence libraries. The import file would start with
8360 # the line `#! .'. This would cause the generated library to
8361 # depend on `.', always an invalid library. This was fixed in
8362 # development snapshots of GCC prior to 3.0.
8364 aix4 | aix4.
[01] | aix4.
[01].
*)
8365 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8367 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8374 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8375 # soname into executable. Probably we can add versioning support to
8376 # collect2, so additional links can be useful in future.
8377 if test "$aix_use_runtimelinking" = yes; then
8378 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8379 # instead of lib<name>.a to let people know that these are not
8380 # typical AIX shared libraries.
8381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8383 # We preserve .a as extension for shared libraries through AIX4.2
8384 # and later when we are not doing run time linking.
8385 library_names_spec
='${libname}${release}.a $libname.a'
8386 soname_spec
='${libname}${release}${shared_ext}$major'
8388 shlibpath_var
=LIBPATH
8393 if test "$host_cpu" = m68k
; then
8394 library_names_spec
='$libname.ixlibrary $libname.a'
8395 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8396 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'
8403 library_names_spec
='${libname}${shared_ext}'
8404 dynamic_linker
="$host_os ld.so"
8405 shlibpath_var
=LIBRARY_PATH
8411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8412 soname_spec
='${libname}${release}${shared_ext}$major'
8413 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8414 shlibpath_var
=LD_LIBRARY_PATH
8415 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8416 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8417 # the default ld.so.conf also contains /usr/contrib/lib and
8418 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8419 # libtool to hard-code these into programs
8422 cygwin
* | mingw
* | pw32
*)
8423 version_type
=windows
8428 case $withGCC,$host_os in
8429 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8430 library_names_spec
='$libname.dll.a'
8431 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8432 postinstall_cmds
='base_file=`basename \${file}`~
8433 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8434 dldir=$destdir/`dirname \$dlpath`~
8435 test -d \$dldir || mkdir -p \$dldir~
8436 $install_prog $dir/$dlname \$dldir/$dlname~
8437 chmod a+x \$dldir/$dlname~
8438 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8439 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8441 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8442 dlpath=$dir/\$dldll~
8444 shlibpath_overrides_runpath
=yes
8448 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8449 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8450 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8453 # MinGW DLLs use traditional 'lib' prefix
8454 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8455 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8456 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8457 # It is most probably a Windows format PATH printed by
8458 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8459 # path with ; separators, and with drive letters. We can handle the
8460 # drive letters (cygwin fileutils understands them), so leave them,
8461 # especially as we might pass files found there to a mingw objdump,
8462 # which wouldn't understand a cygwinified path. Ahh.
8463 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8465 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8469 # pw32 DLLs use 'pw' prefix rather than 'lib'
8470 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8476 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8479 dynamic_linker
='Win32 ld.exe'
8480 # FIXME: first we should search . and the directory the executable is in
8484 darwin
* | rhapsody
*)
8485 dynamic_linker
="$host_os dyld"
8489 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8490 soname_spec
='${libname}${release}${major}$shared_ext'
8491 shlibpath_overrides_runpath
=yes
8492 shlibpath_var
=DYLD_LIBRARY_PATH
8493 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8495 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8496 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8504 soname_spec
='${libname}${release}${shared_ext}$major'
8505 shlibpath_var
=LD_LIBRARY_PATH
8512 freebsd
* | dragonfly
*)
8513 # DragonFly does not have aout. When/if they implement a new
8514 # versioning mechanism, adjust this.
8515 if test -x /usr
/bin
/objformat
; then
8516 objformat
=`/usr/bin/objformat`
8519 freebsd
[123]*) objformat
=aout
;;
8523 version_type
=freebsd-
$objformat
8524 case $version_type in
8526 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8531 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8535 shlibpath_var
=LD_LIBRARY_PATH
8538 shlibpath_overrides_runpath
=yes
8540 freebsd3.
[01]* | freebsdelf3.
[01]*)
8541 shlibpath_overrides_runpath
=yes
8542 hardcode_into_libs
=yes
8544 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8545 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8546 shlibpath_overrides_runpath
=no
8547 hardcode_into_libs
=yes
8549 *) # from 4.6 on, and DragonFly
8550 shlibpath_overrides_runpath
=yes
8551 hardcode_into_libs
=yes
8560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8561 soname_spec
='${libname}${release}${shared_ext}$major'
8562 shlibpath_var
=LD_LIBRARY_PATH
8563 hardcode_into_libs
=yes
8566 hpux9
* | hpux10
* | hpux11
*)
8567 # Give a soname corresponding to the major version so that dld.sl refuses to
8568 # link against other versions.
8575 hardcode_into_libs
=yes
8576 dynamic_linker
="$host_os dld.so"
8577 shlibpath_var
=LD_LIBRARY_PATH
8578 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8580 soname_spec
='${libname}${release}${shared_ext}$major'
8581 if test "X$HPUX_IA64_MODE" = X32
; then
8582 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8584 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8586 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8590 hardcode_into_libs
=yes
8591 dynamic_linker
="$host_os dld.sl"
8592 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8593 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8595 soname_spec
='${libname}${release}${shared_ext}$major'
8596 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8597 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8601 dynamic_linker
="$host_os dld.sl"
8602 shlibpath_var
=SHLIB_PATH
8603 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8605 soname_spec
='${libname}${release}${shared_ext}$major'
8608 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8609 postinstall_cmds
='chmod 555 $lib'
8616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8617 soname_spec
='${libname}${release}${shared_ext}$major'
8618 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8619 shlibpath_var
=LD_LIBRARY_PATH
8620 shlibpath_overrides_runpath
=no
8621 hardcode_into_libs
=yes
8624 irix5
* | irix6
* | nonstopux
*)
8626 nonstopux
*) version_type
=nonstopux
;;
8628 if test "$lt_cv_prog_gnu_ld" = yes; then
8636 soname_spec
='${libname}${release}${shared_ext}$major'
8637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8639 irix5
* | nonstopux
*)
8643 case $LD in # libtool.m4 will add one of these switches to LD
8644 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8645 libsuff
= shlibsuff
= libmagic
=32-bit;;
8646 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8647 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8648 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8649 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8650 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8654 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8655 shlibpath_overrides_runpath
=no
8656 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8657 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8658 hardcode_into_libs
=yes
8661 # No shared lib support for Linux oldld, aout, or coff.
8662 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8666 # This must be Linux ELF.
8667 linux
* | k
*bsd
*-gnu)
8671 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8672 soname_spec
='${libname}${release}${shared_ext}$major'
8673 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8674 shlibpath_var
=LD_LIBRARY_PATH
8675 shlibpath_overrides_runpath
=no
8676 # Some binutils ld are patched to set DT_RUNPATH
8677 save_LDFLAGS
=$LDFLAGS
8679 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8680 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8681 cat >conftest.
$ac_ext <<_ACEOF
8684 cat confdefs.h
>>conftest.
$ac_ext
8685 cat >>conftest.
$ac_ext <<_ACEOF
8686 /* end confdefs.h. */
8696 rm -f conftest.
$ac_objext conftest
$ac_exeext
8697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8698 (eval $ac_link) 2>conftest.er1
8700 grep -v '^ *+' conftest.er1
>conftest.err
8702 cat conftest.err
>&5
8703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704 (exit $ac_status); } &&
8705 { ac_try
='test -z "$ac_c_werror_flag"
8706 || test ! -s conftest.err'
8707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); }; } &&
8712 { ac_try
='test -s conftest$ac_exeext'
8713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); }; }; then
8718 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
8719 shlibpath_overrides_runpath
=yes
8723 echo "$as_me: failed program was:" >&5
8724 sed 's/^/| /' conftest.
$ac_ext >&5
8727 rm -f conftest.err conftest.
$ac_objext \
8728 conftest
$ac_exeext conftest.
$ac_ext
8729 LDFLAGS
=$save_LDFLAGS
8732 # This implies no fast_install, which is unacceptable.
8733 # Some rework will be needed to allow for fast_install
8734 # before this can be enabled.
8735 hardcode_into_libs
=yes
8737 # Append ld.so.conf contents to the search path
8738 if test -f /etc
/ld.so.conf
; then
8739 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' ' '`
8740 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8743 # We used to test for /lib/ld.so.1 and disable shared libraries on
8744 # powerpc, because MkLinux only supported shared libraries with the
8745 # GNU dynamic linker. Since this was broken with cross compilers,
8746 # most powerpc-linux boxes support dynamic linking these days and
8747 # people can always --disable-shared, the test was removed, and we
8748 # assume the GNU/Linux dynamic linker is in use.
8749 dynamic_linker
='GNU/Linux ld.so'
8756 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8757 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8758 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8759 dynamic_linker
='NetBSD (a.out) ld.so'
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 dynamic_linker
='NetBSD ld.elf_so'
8765 shlibpath_var
=LD_LIBRARY_PATH
8766 shlibpath_overrides_runpath
=yes
8767 hardcode_into_libs
=yes
8772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8773 shlibpath_var
=LD_LIBRARY_PATH
8774 shlibpath_overrides_runpath
=yes
8781 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8782 soname_spec
='${libname}${release}${shared_ext}$major'
8783 shlibpath_var
=LD_LIBRARY_PATH
8784 shlibpath_overrides_runpath
=no
8785 hardcode_into_libs
=yes
8786 dynamic_linker
='ldqnx.so'
8791 sys_lib_dlsearch_path_spec
="/usr/lib"
8793 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8795 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8796 *) need_version
=no
;;
8798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8799 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8800 shlibpath_var
=LD_LIBRARY_PATH
8801 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8803 openbsd2.
[89] | openbsd2.
[89].
*)
8804 shlibpath_overrides_runpath
=no
8807 shlibpath_overrides_runpath
=yes
8811 shlibpath_overrides_runpath
=yes
8816 libname_spec
='$name'
8819 library_names_spec
='$libname${shared_ext} $libname.a'
8820 dynamic_linker
='OS/2 ld.exe'
8821 shlibpath_var
=LIBPATH
8824 osf3
* | osf4
* | osf5
*)
8828 soname_spec
='${libname}${release}${shared_ext}$major'
8829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8830 shlibpath_var
=LD_LIBRARY_PATH
8831 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8832 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8844 soname_spec
='${libname}${release}${shared_ext}$major'
8845 shlibpath_var
=LD_LIBRARY_PATH
8846 shlibpath_overrides_runpath
=yes
8847 hardcode_into_libs
=yes
8848 # ldd complains unless libraries are executable
8849 postinstall_cmds
='chmod +x $lib'
8854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8855 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8856 shlibpath_var
=LD_LIBRARY_PATH
8857 shlibpath_overrides_runpath
=yes
8858 if test "$with_gnu_ld" = yes; then
8866 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8867 soname_spec
='${libname}${release}${shared_ext}$major'
8868 shlibpath_var
=LD_LIBRARY_PATH
8869 case $host_vendor in
8871 shlibpath_overrides_runpath
=no
8873 runpath_var
=LD_RUN_PATH
8881 shlibpath_overrides_runpath
=no
8882 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8888 if test -d /usr
/nec
;then
8890 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8891 soname_spec
='$libname${shared_ext}.$major'
8892 shlibpath_var
=LD_LIBRARY_PATH
8896 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8897 version_type
=freebsd-elf
8900 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8901 soname_spec
='${libname}${release}${shared_ext}$major'
8902 shlibpath_var
=LD_LIBRARY_PATH
8903 shlibpath_overrides_runpath
=yes
8904 hardcode_into_libs
=yes
8905 if test "$with_gnu_ld" = yes; then
8906 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8908 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
8911 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
8915 sys_lib_dlsearch_path_spec
='/usr/lib'
8919 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
8923 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8924 shlibpath_var
=LD_LIBRARY_PATH
8925 shlibpath_overrides_runpath
=no
8926 hardcode_into_libs
=yes
8931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8932 soname_spec
='${libname}${release}${shared_ext}$major'
8933 shlibpath_var
=LD_LIBRARY_PATH
8940 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8941 echo "${ECHO_T}$dynamic_linker" >&6
8942 test "$dynamic_linker" = no
&& can_build_shared
=no
8944 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8945 if test "$GCC" = yes; then
8946 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9035 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9036 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9038 if test -n "$hardcode_libdir_flag_spec" ||
9039 test -n "$runpath_var" ||
9040 test "X$hardcode_automatic" = "Xyes" ; then
9042 # We can hardcode non-existent directories.
9043 if test "$hardcode_direct" != no
&&
9044 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9045 # have to relink, otherwise we might link with an installed library
9046 # when we should be linking with a yet-to-be-installed one
9047 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9048 test "$hardcode_minus_L" != no
; then
9049 # Linking always hardcodes the temporary library directory.
9050 hardcode_action
=relink
9052 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9053 hardcode_action
=immediate
9056 # We cannot hardcode anything, or else we can only hardcode existing
9058 hardcode_action
=unsupported
9060 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9061 echo "${ECHO_T}$hardcode_action" >&6
9063 if test "$hardcode_action" = relink ||
9064 test "$inherit_rpath" = yes; then
9065 # Fast installation is not supported
9066 enable_fast_install
=no
9067 elif test "$shlibpath_overrides_runpath" = yes ||
9068 test "$enable_shared" = no
; then
9069 # Fast installation is not necessary
9070 enable_fast_install
=needless
9078 if test "x$enable_dlopen" != xyes
; then
9079 enable_dlopen
=unknown
9080 enable_dlopen_self
=unknown
9081 enable_dlopen_self_static
=unknown
9088 lt_cv_dlopen
="load_add_on"
9090 lt_cv_dlopen_self
=yes
9094 lt_cv_dlopen
="LoadLibrary"
9099 lt_cv_dlopen
="dlopen"
9104 # if libdl is installed we need to link against it
9105 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9106 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9107 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9108 echo $ECHO_N "(cached) $ECHO_C" >&6
9110 ac_check_lib_save_LIBS
=$LIBS
9112 cat >conftest.
$ac_ext <<_ACEOF
9115 cat confdefs.h
>>conftest.
$ac_ext
9116 cat >>conftest.
$ac_ext <<_ACEOF
9117 /* end confdefs.h. */
9119 /* Override any gcc2 internal prototype to avoid an error. */
9123 /* We use char because int might match the return type of a gcc2
9124 builtin and then its argument prototype would still apply. */
9134 rm -f conftest.
$ac_objext conftest
$ac_exeext
9135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9136 (eval $ac_link) 2>conftest.er1
9138 grep -v '^ *+' conftest.er1
>conftest.err
9140 cat conftest.err
>&5
9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 (exit $ac_status); } &&
9143 { ac_try
='test -z "$ac_c_werror_flag"
9144 || test ! -s conftest.err'
9145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9149 (exit $ac_status); }; } &&
9150 { ac_try
='test -s conftest$ac_exeext'
9151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155 (exit $ac_status); }; }; then
9156 ac_cv_lib_dl_dlopen
=yes
9158 echo "$as_me: failed program was:" >&5
9159 sed 's/^/| /' conftest.
$ac_ext >&5
9161 ac_cv_lib_dl_dlopen
=no
9163 rm -f conftest.err conftest.
$ac_objext \
9164 conftest
$ac_exeext conftest.
$ac_ext
9165 LIBS
=$ac_check_lib_save_LIBS
9167 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9168 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9169 if test $ac_cv_lib_dl_dlopen = yes; then
9170 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9175 lt_cv_dlopen_self
=yes
9182 echo "$as_me:$LINENO: checking for shl_load" >&5
9183 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9184 if test "${ac_cv_func_shl_load+set}" = set; then
9185 echo $ECHO_N "(cached) $ECHO_C" >&6
9187 cat >conftest.
$ac_ext <<_ACEOF
9190 cat confdefs.h
>>conftest.
$ac_ext
9191 cat >>conftest.
$ac_ext <<_ACEOF
9192 /* end confdefs.h. */
9193 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9195 #define shl_load innocuous_shl_load
9197 /* System header to define __stub macros and hopefully few prototypes,
9198 which can conflict with char shl_load (); below.
9199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9200 <limits.h> exists even on freestanding compilers. */
9203 # include <limits.h>
9205 # include <assert.h>
9210 /* Override any gcc2 internal prototype to avoid an error. */
9215 /* We use char because int might match the return type of a gcc2
9216 builtin and then its argument prototype would still apply. */
9218 /* The GNU C library defines this for functions which it implements
9219 to always fail with ENOSYS. Some functions are actually named
9220 something starting with __ and the normal name is an alias. */
9221 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9224 char (*f) () = shl_load;
9233 return f != shl_load;
9238 rm -f conftest.
$ac_objext conftest
$ac_exeext
9239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9240 (eval $ac_link) 2>conftest.er1
9242 grep -v '^ *+' conftest.er1
>conftest.err
9244 cat conftest.err
>&5
9245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9246 (exit $ac_status); } &&
9247 { ac_try
='test -z "$ac_c_werror_flag"
9248 || test ! -s conftest.err'
9249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9253 (exit $ac_status); }; } &&
9254 { ac_try
='test -s conftest$ac_exeext'
9255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9259 (exit $ac_status); }; }; then
9260 ac_cv_func_shl_load
=yes
9262 echo "$as_me: failed program was:" >&5
9263 sed 's/^/| /' conftest.
$ac_ext >&5
9265 ac_cv_func_shl_load
=no
9267 rm -f conftest.err conftest.
$ac_objext \
9268 conftest
$ac_exeext conftest.
$ac_ext
9270 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9271 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9272 if test $ac_cv_func_shl_load = yes; then
9273 lt_cv_dlopen
="shl_load"
9275 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9276 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9277 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9278 echo $ECHO_N "(cached) $ECHO_C" >&6
9280 ac_check_lib_save_LIBS
=$LIBS
9282 cat >conftest.
$ac_ext <<_ACEOF
9285 cat confdefs.h
>>conftest.
$ac_ext
9286 cat >>conftest.
$ac_ext <<_ACEOF
9287 /* end confdefs.h. */
9289 /* Override any gcc2 internal prototype to avoid an error. */
9293 /* We use char because int might match the return type of a gcc2
9294 builtin and then its argument prototype would still apply. */
9304 rm -f conftest.
$ac_objext conftest
$ac_exeext
9305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9306 (eval $ac_link) 2>conftest.er1
9308 grep -v '^ *+' conftest.er1
>conftest.err
9310 cat conftest.err
>&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); } &&
9313 { ac_try
='test -z "$ac_c_werror_flag"
9314 || test ! -s conftest.err'
9315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9319 (exit $ac_status); }; } &&
9320 { ac_try
='test -s conftest$ac_exeext'
9321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9325 (exit $ac_status); }; }; then
9326 ac_cv_lib_dld_shl_load
=yes
9328 echo "$as_me: failed program was:" >&5
9329 sed 's/^/| /' conftest.
$ac_ext >&5
9331 ac_cv_lib_dld_shl_load
=no
9333 rm -f conftest.err conftest.
$ac_objext \
9334 conftest
$ac_exeext conftest.
$ac_ext
9335 LIBS
=$ac_check_lib_save_LIBS
9337 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9338 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9339 if test $ac_cv_lib_dld_shl_load = yes; then
9340 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
9342 echo "$as_me:$LINENO: checking for dlopen" >&5
9343 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9344 if test "${ac_cv_func_dlopen+set}" = set; then
9345 echo $ECHO_N "(cached) $ECHO_C" >&6
9347 cat >conftest.
$ac_ext <<_ACEOF
9350 cat confdefs.h
>>conftest.
$ac_ext
9351 cat >>conftest.
$ac_ext <<_ACEOF
9352 /* end confdefs.h. */
9353 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9355 #define dlopen innocuous_dlopen
9357 /* System header to define __stub macros and hopefully few prototypes,
9358 which can conflict with char dlopen (); below.
9359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9360 <limits.h> exists even on freestanding compilers. */
9363 # include <limits.h>
9365 # include <assert.h>
9370 /* Override any gcc2 internal prototype to avoid an error. */
9375 /* We use char because int might match the return type of a gcc2
9376 builtin and then its argument prototype would still apply. */
9378 /* The GNU C library defines this for functions which it implements
9379 to always fail with ENOSYS. Some functions are actually named
9380 something starting with __ and the normal name is an alias. */
9381 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9384 char (*f) () = dlopen;
9398 rm -f conftest.
$ac_objext conftest
$ac_exeext
9399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9400 (eval $ac_link) 2>conftest.er1
9402 grep -v '^ *+' conftest.er1
>conftest.err
9404 cat conftest.err
>&5
9405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9406 (exit $ac_status); } &&
9407 { ac_try
='test -z "$ac_c_werror_flag"
9408 || test ! -s conftest.err'
9409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9413 (exit $ac_status); }; } &&
9414 { ac_try
='test -s conftest$ac_exeext'
9415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9419 (exit $ac_status); }; }; then
9420 ac_cv_func_dlopen
=yes
9422 echo "$as_me: failed program was:" >&5
9423 sed 's/^/| /' conftest.
$ac_ext >&5
9425 ac_cv_func_dlopen
=no
9427 rm -f conftest.err conftest.
$ac_objext \
9428 conftest
$ac_exeext conftest.
$ac_ext
9430 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9431 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9432 if test $ac_cv_func_dlopen = yes; then
9433 lt_cv_dlopen
="dlopen"
9435 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9436 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9437 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9438 echo $ECHO_N "(cached) $ECHO_C" >&6
9440 ac_check_lib_save_LIBS
=$LIBS
9442 cat >conftest.
$ac_ext <<_ACEOF
9445 cat confdefs.h
>>conftest.
$ac_ext
9446 cat >>conftest.
$ac_ext <<_ACEOF
9447 /* end confdefs.h. */
9449 /* Override any gcc2 internal prototype to avoid an error. */
9453 /* We use char because int might match the return type of a gcc2
9454 builtin and then its argument prototype would still apply. */
9464 rm -f conftest.
$ac_objext conftest
$ac_exeext
9465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9466 (eval $ac_link) 2>conftest.er1
9468 grep -v '^ *+' conftest.er1
>conftest.err
9470 cat conftest.err
>&5
9471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9472 (exit $ac_status); } &&
9473 { ac_try
='test -z "$ac_c_werror_flag"
9474 || test ! -s conftest.err'
9475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9479 (exit $ac_status); }; } &&
9480 { ac_try
='test -s conftest$ac_exeext'
9481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9485 (exit $ac_status); }; }; then
9486 ac_cv_lib_dl_dlopen
=yes
9488 echo "$as_me: failed program was:" >&5
9489 sed 's/^/| /' conftest.
$ac_ext >&5
9491 ac_cv_lib_dl_dlopen
=no
9493 rm -f conftest.err conftest.
$ac_objext \
9494 conftest
$ac_exeext conftest.
$ac_ext
9495 LIBS
=$ac_check_lib_save_LIBS
9497 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9498 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9499 if test $ac_cv_lib_dl_dlopen = yes; then
9500 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9502 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9503 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9504 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9505 echo $ECHO_N "(cached) $ECHO_C" >&6
9507 ac_check_lib_save_LIBS
=$LIBS
9509 cat >conftest.
$ac_ext <<_ACEOF
9512 cat confdefs.h
>>conftest.
$ac_ext
9513 cat >>conftest.
$ac_ext <<_ACEOF
9514 /* end confdefs.h. */
9516 /* Override any gcc2 internal prototype to avoid an error. */
9520 /* We use char because int might match the return type of a gcc2
9521 builtin and then its argument prototype would still apply. */
9531 rm -f conftest.
$ac_objext conftest
$ac_exeext
9532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9533 (eval $ac_link) 2>conftest.er1
9535 grep -v '^ *+' conftest.er1
>conftest.err
9537 cat conftest.err
>&5
9538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9539 (exit $ac_status); } &&
9540 { ac_try
='test -z "$ac_c_werror_flag"
9541 || test ! -s conftest.err'
9542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9546 (exit $ac_status); }; } &&
9547 { ac_try
='test -s conftest$ac_exeext'
9548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9552 (exit $ac_status); }; }; then
9553 ac_cv_lib_svld_dlopen
=yes
9555 echo "$as_me: failed program was:" >&5
9556 sed 's/^/| /' conftest.
$ac_ext >&5
9558 ac_cv_lib_svld_dlopen
=no
9560 rm -f conftest.err conftest.
$ac_objext \
9561 conftest
$ac_exeext conftest.
$ac_ext
9562 LIBS
=$ac_check_lib_save_LIBS
9564 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9565 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9566 if test $ac_cv_lib_svld_dlopen = yes; then
9567 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9569 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9570 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9571 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9572 echo $ECHO_N "(cached) $ECHO_C" >&6
9574 ac_check_lib_save_LIBS
=$LIBS
9576 cat >conftest.
$ac_ext <<_ACEOF
9579 cat confdefs.h
>>conftest.
$ac_ext
9580 cat >>conftest.
$ac_ext <<_ACEOF
9581 /* end confdefs.h. */
9583 /* Override any gcc2 internal prototype to avoid an error. */
9587 /* We use char because int might match the return type of a gcc2
9588 builtin and then its argument prototype would still apply. */
9598 rm -f conftest.
$ac_objext conftest
$ac_exeext
9599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9600 (eval $ac_link) 2>conftest.er1
9602 grep -v '^ *+' conftest.er1
>conftest.err
9604 cat conftest.err
>&5
9605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9606 (exit $ac_status); } &&
9607 { ac_try
='test -z "$ac_c_werror_flag"
9608 || test ! -s conftest.err'
9609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9613 (exit $ac_status); }; } &&
9614 { ac_try
='test -s conftest$ac_exeext'
9615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9619 (exit $ac_status); }; }; then
9620 ac_cv_lib_dld_dld_link
=yes
9622 echo "$as_me: failed program was:" >&5
9623 sed 's/^/| /' conftest.
$ac_ext >&5
9625 ac_cv_lib_dld_dld_link
=no
9627 rm -f conftest.err conftest.
$ac_objext \
9628 conftest
$ac_exeext conftest.
$ac_ext
9629 LIBS
=$ac_check_lib_save_LIBS
9631 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9632 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9633 if test $ac_cv_lib_dld_dld_link = yes; then
9634 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9655 if test "x$lt_cv_dlopen" != xno
; then
9661 case $lt_cv_dlopen in
9663 save_CPPFLAGS
="$CPPFLAGS"
9664 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9666 save_LDFLAGS
="$LDFLAGS"
9667 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9670 LIBS
="$lt_cv_dlopen_libs $LIBS"
9672 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9673 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9674 if test "${lt_cv_dlopen_self+set}" = set; then
9675 echo $ECHO_N "(cached) $ECHO_C" >&6
9677 if test "$cross_compiling" = yes; then :
9678 lt_cv_dlopen_self
=cross
9680 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9681 lt_status
=$lt_dlunknown
9682 cat > conftest.
$ac_ext <<_LT_EOF
9683 #line 9683 "configure"
9684 #include "confdefs.h"
9693 # define LT_DLGLOBAL RTLD_GLOBAL
9696 # define LT_DLGLOBAL DL_GLOBAL
9698 # define LT_DLGLOBAL 0
9702 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9703 find out it does not work in some platform. */
9704 #ifndef LT_DLLAZY_OR_NOW
9706 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9709 # define LT_DLLAZY_OR_NOW DL_LAZY
9712 # define LT_DLLAZY_OR_NOW RTLD_NOW
9715 # define LT_DLLAZY_OR_NOW DL_NOW
9717 # define LT_DLLAZY_OR_NOW 0
9725 extern "C" void exit (int);
9728 void fnord() { int i=42;}
9731 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9732 int status = $lt_dlunknown;
9736 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9737 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9738 /* dlclose (self); */
9746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9747 (eval $ac_link) 2>&5
9749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9750 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9751 (.
/conftest
; exit; ) >&5 2>/dev
/null
9754 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9755 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9756 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9759 # compilation failed
9760 lt_cv_dlopen_self
=no
9767 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9768 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9770 if test "x$lt_cv_dlopen_self" = xyes
; then
9771 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9772 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9773 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9774 if test "${lt_cv_dlopen_self_static+set}" = set; then
9775 echo $ECHO_N "(cached) $ECHO_C" >&6
9777 if test "$cross_compiling" = yes; then :
9778 lt_cv_dlopen_self_static
=cross
9780 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9781 lt_status
=$lt_dlunknown
9782 cat > conftest.
$ac_ext <<_LT_EOF
9783 #line 9783 "configure"
9784 #include "confdefs.h"
9793 # define LT_DLGLOBAL RTLD_GLOBAL
9796 # define LT_DLGLOBAL DL_GLOBAL
9798 # define LT_DLGLOBAL 0
9802 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9803 find out it does not work in some platform. */
9804 #ifndef LT_DLLAZY_OR_NOW
9806 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9809 # define LT_DLLAZY_OR_NOW DL_LAZY
9812 # define LT_DLLAZY_OR_NOW RTLD_NOW
9815 # define LT_DLLAZY_OR_NOW DL_NOW
9817 # define LT_DLLAZY_OR_NOW 0
9825 extern "C" void exit (int);
9828 void fnord() { int i=42;}
9831 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9832 int status = $lt_dlunknown;
9836 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9837 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9838 /* dlclose (self); */
9846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9847 (eval $ac_link) 2>&5
9849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9850 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9851 (.
/conftest
; exit; ) >&5 2>/dev
/null
9854 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9855 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9856 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9859 # compilation failed
9860 lt_cv_dlopen_self_static
=no
9867 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9868 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9871 CPPFLAGS
="$save_CPPFLAGS"
9872 LDFLAGS
="$save_LDFLAGS"
9877 case $lt_cv_dlopen_self in
9878 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9879 *) enable_dlopen_self
=unknown
;;
9882 case $lt_cv_dlopen_self_static in
9883 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9884 *) enable_dlopen_self_static
=unknown
;;
9906 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9907 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9908 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
9909 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9910 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9911 echo "$as_me:$LINENO: result: yes" >&5
9912 echo "${ECHO_T}yes" >&6
9914 # FIXME - insert some real tests, host_os isn't really good enough
9917 if test -n "$STRIP" ; then
9918 striplib
="$STRIP -x"
9919 old_striplib
="$STRIP -S"
9920 echo "$as_me:$LINENO: result: yes" >&5
9921 echo "${ECHO_T}yes" >&6
9923 echo "$as_me:$LINENO: result: no" >&5
9924 echo "${ECHO_T}no" >&6
9928 echo "$as_me:$LINENO: result: no" >&5
9929 echo "${ECHO_T}no" >&6
9945 # Report which library types will actually be built
9946 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9947 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9948 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9949 echo "${ECHO_T}$can_build_shared" >&6
9951 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9952 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9953 test "$can_build_shared" = "no" && enable_shared
=no
9955 # On AIX, shared libraries and static libraries use the same namespace, and
9956 # are all built from PIC.
9959 test "$enable_shared" = yes && enable_static
=no
9960 if test -n "$RANLIB"; then
9961 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9962 postinstall_cmds
='$RANLIB $lib'
9967 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9968 test "$enable_shared" = yes && enable_static
=no
9972 echo "$as_me:$LINENO: result: $enable_shared" >&5
9973 echo "${ECHO_T}$enable_shared" >&6
9975 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9976 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9977 # Make sure either enable_shared or enable_static is yes.
9978 test "$enable_shared" = yes || enable_static
=yes
9979 echo "$as_me:$LINENO: result: $enable_static" >&5
9980 echo "${ECHO_T}$enable_static" >&6
9987 ac_cpp
='$CPP $CPPFLAGS'
9988 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9989 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9990 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10006 ac_config_commands
="$ac_config_commands libtool"
10011 # Only expand once:
10017 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
10018 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
10019 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
10020 if test "${enable_maintainer_mode+set}" = set; then
10021 enableval
="$enable_maintainer_mode"
10022 USE_MAINTAINER_MODE
=$enableval
10024 USE_MAINTAINER_MODE
=no
10026 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
10027 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
10030 if test $USE_MAINTAINER_MODE = yes; then
10031 MAINTAINER_MODE_TRUE
=
10032 MAINTAINER_MODE_FALSE
='#'
10034 MAINTAINER_MODE_TRUE
='#'
10035 MAINTAINER_MODE_FALSE
=
10038 MAINT
=$MAINTAINER_MODE_TRUE
10042 # We need gfortran to compile parts of the library
10043 # We can't use AC_PROG_FC because it expects a fully working gfortran.
10044 #AC_PROG_FC(gfortran)
10046 ac_ext
=${FC_SRCEXT-f}
10047 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10048 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10049 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
10050 if test -n "$ac_tool_prefix"; then
10051 for ac_prog
in gfortran
10053 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10054 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10055 echo "$as_me:$LINENO: checking for $ac_word" >&5
10056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10057 if test "${ac_cv_prog_FC+set}" = set; then
10058 echo $ECHO_N "(cached) $ECHO_C" >&6
10060 if test -n "$FC"; then
10061 ac_cv_prog_FC
="$FC" # Let the user override the test.
10063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10064 for as_dir
in $PATH
10067 test -z "$as_dir" && as_dir
=.
10068 for ac_exec_ext
in '' $ac_executable_extensions; do
10069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10070 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
10071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10080 if test -n "$FC"; then
10081 echo "$as_me:$LINENO: result: $FC" >&5
10082 echo "${ECHO_T}$FC" >&6
10084 echo "$as_me:$LINENO: result: no" >&5
10085 echo "${ECHO_T}no" >&6
10088 test -n "$FC" && break
10091 if test -z "$FC"; then
10093 for ac_prog
in gfortran
10095 # Extract the first word of "$ac_prog", so it can be a program name with args.
10096 set dummy
$ac_prog; ac_word
=$2
10097 echo "$as_me:$LINENO: checking for $ac_word" >&5
10098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10099 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10100 echo $ECHO_N "(cached) $ECHO_C" >&6
10102 if test -n "$ac_ct_FC"; then
10103 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
10105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10106 for as_dir
in $PATH
10109 test -z "$as_dir" && as_dir
=.
10110 for ac_exec_ext
in '' $ac_executable_extensions; do
10111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10112 ac_cv_prog_ac_ct_FC
="$ac_prog"
10113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10121 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
10122 if test -n "$ac_ct_FC"; then
10123 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10124 echo "${ECHO_T}$ac_ct_FC" >&6
10126 echo "$as_me:$LINENO: result: no" >&5
10127 echo "${ECHO_T}no" >&6
10130 test -n "$ac_ct_FC" && break
10137 # Provide some information about the compiler.
10138 echo "$as_me:10138:" \
10139 "checking for Fortran compiler version" >&5
10140 ac_compiler
=`set X $ac_compile; echo $2`
10141 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10142 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10145 (exit $ac_status); }
10146 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10147 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10150 (exit $ac_status); }
10151 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10152 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10155 (exit $ac_status); }
10158 # If we don't use `.F' as extension, the preprocessor is not run on the
10159 # input file. (Note that this only needs to work for GNU compilers.)
10160 ac_save_ext
=$ac_ext
10162 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10163 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10164 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10165 echo $ECHO_N "(cached) $ECHO_C" >&6
10167 cat >conftest.
$ac_ext <<_ACEOF
10175 rm -f conftest.
$ac_objext
10176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10177 (eval $ac_compile) 2>conftest.er1
10179 grep -v '^ *+' conftest.er1
>conftest.err
10181 cat conftest.err
>&5
10182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10183 (exit $ac_status); } &&
10184 { ac_try
='test -z "$ac_fc_werror_flag"
10185 || test ! -s conftest.err'
10186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10187 (eval $ac_try) 2>&5
10189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10190 (exit $ac_status); }; } &&
10191 { ac_try
='test -s conftest.$ac_objext'
10192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10193 (eval $ac_try) 2>&5
10195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10196 (exit $ac_status); }; }; then
10197 ac_compiler_gnu
=yes
10199 echo "$as_me: failed program was:" >&5
10200 sed 's/^/| /' conftest.
$ac_ext >&5
10204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10205 ac_cv_fc_compiler_gnu
=$ac_compiler_gnu
10208 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10209 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10210 ac_ext
=$ac_save_ext
10211 ac_test_FFLAGS
=${FCFLAGS+set}
10212 ac_save_FFLAGS
=$FCFLAGS
10214 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10215 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10216 if test "${ac_cv_prog_fc_g+set}" = set; then
10217 echo $ECHO_N "(cached) $ECHO_C" >&6
10220 cat >conftest.
$ac_ext <<_ACEOF
10225 rm -f conftest.
$ac_objext
10226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10227 (eval $ac_compile) 2>conftest.er1
10229 grep -v '^ *+' conftest.er1
>conftest.err
10231 cat conftest.err
>&5
10232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10233 (exit $ac_status); } &&
10234 { ac_try
='test -z "$ac_fc_werror_flag"
10235 || test ! -s conftest.err'
10236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10237 (eval $ac_try) 2>&5
10239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10240 (exit $ac_status); }; } &&
10241 { ac_try
='test -s conftest.$ac_objext'
10242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10243 (eval $ac_try) 2>&5
10245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10246 (exit $ac_status); }; }; then
10247 ac_cv_prog_fc_g
=yes
10249 echo "$as_me: failed program was:" >&5
10250 sed 's/^/| /' conftest.
$ac_ext >&5
10254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10257 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10258 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10259 if test "$ac_test_FFLAGS" = set; then
10260 FCFLAGS
=$ac_save_FFLAGS
10261 elif test $ac_cv_prog_fc_g = yes; then
10262 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
10268 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
10276 ac_cpp
='$CPP $CPPFLAGS'
10277 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10278 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10279 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10282 ac_ext
=${FC_SRCEXT-f}
10283 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10284 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10285 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
10286 if test -n "$ac_tool_prefix"; then
10287 for ac_prog
in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10289 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10290 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10291 echo "$as_me:$LINENO: checking for $ac_word" >&5
10292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10293 if test "${ac_cv_prog_FC+set}" = set; then
10294 echo $ECHO_N "(cached) $ECHO_C" >&6
10296 if test -n "$FC"; then
10297 ac_cv_prog_FC
="$FC" # Let the user override the test.
10299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10300 for as_dir
in $PATH
10303 test -z "$as_dir" && as_dir
=.
10304 for ac_exec_ext
in '' $ac_executable_extensions; do
10305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10306 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
10307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10316 if test -n "$FC"; then
10317 echo "$as_me:$LINENO: result: $FC" >&5
10318 echo "${ECHO_T}$FC" >&6
10320 echo "$as_me:$LINENO: result: no" >&5
10321 echo "${ECHO_T}no" >&6
10324 test -n "$FC" && break
10327 if test -z "$FC"; then
10329 for ac_prog
in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10331 # Extract the first word of "$ac_prog", so it can be a program name with args.
10332 set dummy
$ac_prog; ac_word
=$2
10333 echo "$as_me:$LINENO: checking for $ac_word" >&5
10334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10335 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10336 echo $ECHO_N "(cached) $ECHO_C" >&6
10338 if test -n "$ac_ct_FC"; then
10339 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
10341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10342 for as_dir
in $PATH
10345 test -z "$as_dir" && as_dir
=.
10346 for ac_exec_ext
in '' $ac_executable_extensions; do
10347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10348 ac_cv_prog_ac_ct_FC
="$ac_prog"
10349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10357 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
10358 if test -n "$ac_ct_FC"; then
10359 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10360 echo "${ECHO_T}$ac_ct_FC" >&6
10362 echo "$as_me:$LINENO: result: no" >&5
10363 echo "${ECHO_T}no" >&6
10366 test -n "$ac_ct_FC" && break
10373 # Provide some information about the compiler.
10374 echo "$as_me:10374:" \
10375 "checking for Fortran compiler version" >&5
10376 ac_compiler
=`set X $ac_compile; echo $2`
10377 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10378 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10381 (exit $ac_status); }
10382 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10383 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10386 (exit $ac_status); }
10387 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10388 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10391 (exit $ac_status); }
10394 # If we don't use `.F' as extension, the preprocessor is not run on the
10395 # input file. (Note that this only needs to work for GNU compilers.)
10396 ac_save_ext
=$ac_ext
10398 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10399 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10400 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10401 echo $ECHO_N "(cached) $ECHO_C" >&6
10403 cat >conftest.
$ac_ext <<_ACEOF
10411 rm -f conftest.
$ac_objext
10412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10413 (eval $ac_compile) 2>conftest.er1
10415 grep -v '^ *+' conftest.er1
>conftest.err
10417 cat conftest.err
>&5
10418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10419 (exit $ac_status); } &&
10420 { ac_try
='test -z "$ac_fc_werror_flag"
10421 || test ! -s conftest.err'
10422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10423 (eval $ac_try) 2>&5
10425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10426 (exit $ac_status); }; } &&
10427 { ac_try
='test -s conftest.$ac_objext'
10428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10429 (eval $ac_try) 2>&5
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); }; }; then
10433 ac_compiler_gnu
=yes
10435 echo "$as_me: failed program was:" >&5
10436 sed 's/^/| /' conftest.
$ac_ext >&5
10440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10441 ac_cv_fc_compiler_gnu
=$ac_compiler_gnu
10444 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10445 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10446 ac_ext
=$ac_save_ext
10447 ac_test_FFLAGS
=${FCFLAGS+set}
10448 ac_save_FFLAGS
=$FCFLAGS
10450 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10451 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10452 if test "${ac_cv_prog_fc_g+set}" = set; then
10453 echo $ECHO_N "(cached) $ECHO_C" >&6
10456 cat >conftest.
$ac_ext <<_ACEOF
10461 rm -f conftest.
$ac_objext
10462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10463 (eval $ac_compile) 2>conftest.er1
10465 grep -v '^ *+' conftest.er1
>conftest.err
10467 cat conftest.err
>&5
10468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10469 (exit $ac_status); } &&
10470 { ac_try
='test -z "$ac_fc_werror_flag"
10471 || test ! -s conftest.err'
10472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10473 (eval $ac_try) 2>&5
10475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10476 (exit $ac_status); }; } &&
10477 { ac_try
='test -s conftest.$ac_objext'
10478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10479 (eval $ac_try) 2>&5
10481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10482 (exit $ac_status); }; }; then
10483 ac_cv_prog_fc_g
=yes
10485 echo "$as_me: failed program was:" >&5
10486 sed 's/^/| /' conftest.
$ac_ext >&5
10490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10493 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10494 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10495 if test "$ac_test_FFLAGS" = set; then
10496 FCFLAGS
=$ac_save_FFLAGS
10497 elif test $ac_cv_prog_fc_g = yes; then
10498 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
10504 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
10512 ac_cpp
='$CPP $CPPFLAGS'
10513 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10514 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10515 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10517 if test -z "$FC" ||
test "X$FC" = "Xno"; then
10523 ac_ext
=${FC_SRCEXT-f}
10524 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10525 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10526 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
10529 archive_cmds_need_lc_FC
=no
10530 allow_undefined_flag_FC
=
10531 always_export_symbols_FC
=no
10532 archive_expsym_cmds_FC
=
10533 export_dynamic_flag_spec_FC
=
10534 hardcode_direct_FC
=no
10535 hardcode_direct_absolute_FC
=no
10536 hardcode_libdir_flag_spec_FC
=
10537 hardcode_libdir_flag_spec_ld_FC
=
10538 hardcode_libdir_separator_FC
=
10539 hardcode_minus_L_FC
=no
10540 hardcode_automatic_FC
=no
10541 inherit_rpath_FC
=no
10543 module_expsym_cmds_FC
=
10544 link_all_deplibs_FC
=unknown
10545 old_archive_cmds_FC
=$old_archive_cmds
10546 no_undefined_flag_FC
=
10547 whole_archive_flag_spec_FC
=
10548 enable_shared_with_static_runtimes_FC
=no
10550 # Source file extension for fc test sources.
10551 ac_ext
=${ac_fc_srcext-f}
10553 # Object file extension for compiled fc test sources.
10557 # No sense in running all these tests if we already determined that
10558 # the FC compiler isn't working. Some variables (like enable_shared)
10559 # are currently assumed to apply to all compilers on this platform,
10560 # and will be corrupted by setting them based on a non-working compiler.
10561 if test "$_lt_disable_FC" != yes; then
10562 # Code to be used in simple compile tests
10563 lt_simple_compile_test_code
="\
10569 # Code to be used in simple link tests
10570 lt_simple_link_test_code
="\
10575 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10582 # If no C compiler was specified, use CC.
10585 # If no C compiler flags were specified, use CFLAGS.
10586 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10588 # Allow CC to be a program name with arguments.
10592 # save warnings/boilerplate of simple test code
10593 ac_outfile
=conftest.
$ac_objext
10594 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10595 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10596 _lt_compiler_boilerplate
=`cat conftest.err`
10599 ac_outfile
=conftest.
$ac_objext
10600 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10601 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10602 _lt_linker_boilerplate
=`cat conftest.err`
10606 # Allow CC to be a program name with arguments.
10611 for cc_temp
in $compiler""; do
10613 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10614 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10619 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10622 if test -n "$compiler"; then
10623 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10624 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10625 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10626 echo "${ECHO_T}$can_build_shared" >&6
10628 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10629 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10630 test "$can_build_shared" = "no" && enable_shared
=no
10632 # On AIX, shared libraries and static libraries use the same namespace, and
10633 # are all built from PIC.
10636 test "$enable_shared" = yes && enable_static
=no
10637 if test -n "$RANLIB"; then
10638 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10639 postinstall_cmds
='$RANLIB $lib'
10643 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10644 test "$enable_shared" = yes && enable_static
=no
10648 echo "$as_me:$LINENO: result: $enable_shared" >&5
10649 echo "${ECHO_T}$enable_shared" >&6
10651 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10652 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10653 # Make sure either enable_shared or enable_static is yes.
10654 test "$enable_shared" = yes || enable_static
=yes
10655 echo "$as_me:$LINENO: result: $enable_static" >&5
10656 echo "${ECHO_T}$enable_static" >&6
10658 GCC_FC
="$ac_cv_fc_compiler_gnu"
10662 ## There is no encapsulation within the following macros, do not change
10663 ## the running order or otherwise move them around unless you know exactly
10664 ## what you are doing...
10665 # Dependencies to place before and after the object being linked:
10667 postdep_objects_FC
=
10670 compiler_lib_search_path_FC
=
10672 cat > conftest.
$ac_ext <<_LT_EOF
10681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10682 (eval $ac_compile) 2>&5
10684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10685 (exit $ac_status); }; then
10686 # Parse the compiler output and extract the necessary
10687 # objects, libraries and library flags.
10689 # Sentinel used to keep track of whether or not we are before
10690 # the conftest object file.
10691 pre_test_object_deps_done
=no
10693 # The `*' in the case matches for architectures that use `case' in
10694 # $output_verbose_cmd can trigger glob expansion during the loop
10695 # eval without this substitution.
10696 output_verbose_link_cmd
=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10698 for p
in `eval $output_verbose_link_cmd`; do
10702 # Some compilers place space between "-{L,R}" and the path.
10703 # Remove the space.
10704 if test $p = "-L" ||
10705 test $p = "-R"; then
10712 if test "$pre_test_object_deps_done" = no
; then
10715 # Internal compiler library paths should come after those
10716 # provided the user. The postdeps already come after the
10717 # user supplied libs so there is no need to process them.
10718 if test -z "$compiler_lib_search_path_FC"; then
10719 compiler_lib_search_path_FC
="${prev}${p}"
10721 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
10724 # The "-l" case would never come before the object being
10725 # linked, so don't bother handling this case.
10728 if test -z "$postdeps_FC"; then
10729 postdeps_FC
="${prev}${p}"
10731 postdeps_FC
="${postdeps_FC} ${prev}${p}"
10737 # This assumes that the test object file only shows up
10738 # once in the compiler output.
10739 if test "$p" = "conftest.$objext"; then
10740 pre_test_object_deps_done
=yes
10744 if test "$pre_test_object_deps_done" = no
; then
10745 if test -z "$predep_objects_FC"; then
10746 predep_objects_FC
="$p"
10748 predep_objects_FC
="$predep_objects_FC $p"
10751 if test -z "$postdep_objects_FC"; then
10752 postdep_objects_FC
="$p"
10754 postdep_objects_FC
="$postdep_objects_FC $p"
10759 *) ;; # Ignore the rest.
10767 echo "libtool.m4: error: problem compiling FC test program"
10770 $RM -f confest.
$objext
10772 # PORTME: override above test on systems where it is broken
10775 case " $postdeps_FC " in
10776 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
10804 lt_prog_compiler_wl_FC
=
10805 lt_prog_compiler_pic_FC
=
10806 lt_prog_compiler_static_FC
=
10808 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10809 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10811 if test "$GCC" = yes; then
10812 lt_prog_compiler_wl_FC
='-Wl,'
10813 lt_prog_compiler_static_FC
='-static'
10817 # All AIX code is PIC.
10818 if test "$host_cpu" = ia64
; then
10819 # AIX 5 now supports IA64 processor
10820 lt_prog_compiler_static_FC
='-Bstatic'
10825 if test "$host_cpu" = m68k
; then
10826 # FIXME: we need at least 68020 code to build shared libraries, but
10827 # adding the `-m68020' flag to GCC prevents building anything better,
10829 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
10833 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10834 # PIC is the default for these OSes.
10837 mingw
* | cygwin
* | pw32
* | os2
*)
10838 # This hack is so that the source file can tell whether it is being
10839 # built for inclusion in a dll (and should export symbols for example).
10840 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10841 # (--disable-auto-import) libraries
10842 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
10845 darwin
* | rhapsody
*)
10846 # PIC is the default on this platform
10847 # Common symbols not allowed in MH_DYLIB files
10848 lt_prog_compiler_pic_FC
='-fno-common'
10852 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10853 # not for PA HP-UX.
10859 lt_prog_compiler_pic_FC
='-fPIC'
10865 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10866 # Instead, we relocate shared libraries at runtime.
10870 # Just because we use GCC doesn't mean we suddenly get shared libraries
10871 # on systems that don't support them.
10872 lt_prog_compiler_can_build_shared_FC
=no
10877 # QNX uses GNU C++, but need to define -shared option too, otherwise
10878 # it will coredump.
10879 lt_prog_compiler_pic_FC
='-fPIC -shared'
10883 if test -d /usr
/nec
; then
10884 lt_prog_compiler_pic_FC
=-Kconform_pic
10889 lt_prog_compiler_pic_FC
='-fPIC'
10893 # PORTME Check for flag to pass linker flags through the system compiler.
10896 lt_prog_compiler_wl_FC
='-Wl,'
10897 if test "$host_cpu" = ia64
; then
10898 # AIX 5 now supports IA64 processor
10899 lt_prog_compiler_static_FC
='-Bstatic'
10901 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
10905 # PIC is the default on this platform
10906 # Common symbols not allowed in MH_DYLIB files
10907 case $cc_basename in
10909 lt_prog_compiler_pic_FC
='-qnocommon'
10910 lt_prog_compiler_wl_FC
='-Wl,'
10915 mingw
* | cygwin
* | pw32
* | os2
*)
10916 # This hack is so that the source file can tell whether it is being
10917 # built for inclusion in a dll (and should export symbols for example).
10918 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
10921 hpux9
* | hpux10
* | hpux11
*)
10922 lt_prog_compiler_wl_FC
='-Wl,'
10923 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10924 # not for PA HP-UX.
10930 lt_prog_compiler_pic_FC
='+Z'
10933 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10934 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
10937 irix5
* | irix6
* | nonstopux
*)
10938 lt_prog_compiler_wl_FC
='-Wl,'
10939 # PIC (with -KPIC) is the default.
10940 lt_prog_compiler_static_FC
='-non_shared'
10943 linux
* | k
*bsd
*-gnu)
10944 case $cc_basename in
10946 lt_prog_compiler_wl_FC
='-Wl,'
10947 lt_prog_compiler_pic_FC
='-KPIC'
10948 lt_prog_compiler_static_FC
='-static'
10950 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
10951 # Portland Group compilers (*not* the Pentium gcc compiler,
10952 # which looks to be a dead project)
10953 lt_prog_compiler_wl_FC
='-Wl,'
10954 lt_prog_compiler_pic_FC
='-fpic'
10955 lt_prog_compiler_static_FC
='-Bstatic'
10958 lt_prog_compiler_wl_FC
='-Wl,'
10959 # All Alpha code is PIC.
10960 lt_prog_compiler_static_FC
='-non_shared'
10963 case `$CC -V 2>&1 | sed 5q` in
10966 lt_prog_compiler_pic_FC
='-KPIC'
10967 lt_prog_compiler_static_FC
='-Bstatic'
10968 lt_prog_compiler_wl_FC
='-Wl,'
10971 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10972 lt_prog_compiler_pic_FC
='-KPIC'
10973 lt_prog_compiler_static_FC
='-Bstatic'
10974 lt_prog_compiler_wl_FC
=''
10982 lt_prog_compiler_pic_FC
='-KPIC'
10983 lt_prog_compiler_static_FC
='-Bstatic'
10987 # QNX uses GNU C++, but need to define -shared option too, otherwise
10988 # it will coredump.
10989 lt_prog_compiler_pic_FC
='-fPIC -shared'
10992 osf3
* | osf4
* | osf5
*)
10993 lt_prog_compiler_wl_FC
='-Wl,'
10994 # All OSF/1 code is PIC.
10995 lt_prog_compiler_static_FC
='-non_shared'
10999 lt_prog_compiler_static_FC
='-non_shared'
11003 lt_prog_compiler_pic_FC
='-KPIC'
11004 lt_prog_compiler_static_FC
='-Bstatic'
11005 case $cc_basename in
11006 f77
* | f90
* | f95
*)
11007 lt_prog_compiler_wl_FC
='-Qoption ld ';;
11009 lt_prog_compiler_wl_FC
='-Wl,';;
11014 lt_prog_compiler_wl_FC
='-Qoption ld '
11015 lt_prog_compiler_pic_FC
='-PIC'
11016 lt_prog_compiler_static_FC
='-Bstatic'
11019 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11020 lt_prog_compiler_wl_FC
='-Wl,'
11021 lt_prog_compiler_pic_FC
='-KPIC'
11022 lt_prog_compiler_static_FC
='-Bstatic'
11026 if test -d /usr
/nec
;then
11027 lt_prog_compiler_pic_FC
='-Kconform_pic'
11028 lt_prog_compiler_static_FC
='-Bstatic'
11032 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11033 lt_prog_compiler_wl_FC
='-Wl,'
11034 lt_prog_compiler_pic_FC
='-KPIC'
11035 lt_prog_compiler_static_FC
='-Bstatic'
11039 lt_prog_compiler_wl_FC
='-Wl,'
11040 lt_prog_compiler_can_build_shared_FC
=no
11044 lt_prog_compiler_pic_FC
='-pic'
11045 lt_prog_compiler_static_FC
='-Bstatic'
11049 lt_prog_compiler_can_build_shared_FC
=no
11055 # For platforms which do not support PIC, -DPIC is meaningless:
11057 lt_prog_compiler_pic_FC
=
11060 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
11063 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
11064 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6
11069 # Check to make sure the PIC flag actually works.
11071 if test -n "$lt_prog_compiler_pic_FC"; then
11072 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
11073 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6
11074 if test "${lt_prog_compiler_pic_works_FC+set}" = set; then
11075 echo $ECHO_N "(cached) $ECHO_C" >&6
11077 lt_prog_compiler_pic_works_FC
=no
11078 ac_outfile
=conftest.
$ac_objext
11079 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11080 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
11081 # Insert the option either (1) after the last *FLAGS variable, or
11082 # (2) before a word containing "conftest.", or (3) at the end.
11083 # Note that $ac_compile itself does not contain backslashes and begins
11084 # with a dollar sign (not a hyphen), so the echo should work correctly.
11085 # The option is referenced via a variable to avoid confusing sed.
11086 lt_compile
=`echo "$ac_compile" | $SED \
11087 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11088 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11089 -e 's:$: $lt_compiler_flag:'`
11090 (eval echo "\"\$as_me:11090: $lt_compile\"" >&5)
11091 (eval "$lt_compile" 2>conftest.err
)
11093 cat conftest.err
>&5
11094 echo "$as_me:11094: \$? = $ac_status" >&5
11095 if (exit $ac_status) && test -s "$ac_outfile"; then
11096 # The compiler can only warn and ignore the option if not recognized
11097 # So say no if there are warnings other than the usual output.
11098 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
11099 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11100 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11101 lt_prog_compiler_pic_works_FC
=yes
11107 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_FC" >&5
11108 echo "${ECHO_T}$lt_prog_compiler_pic_works_FC" >&6
11110 if test x
"$lt_prog_compiler_pic_works_FC" = xyes
; then
11111 case $lt_prog_compiler_pic_FC in
11113 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
11116 lt_prog_compiler_pic_FC
=
11117 lt_prog_compiler_can_build_shared_FC
=no
11125 # Check to make sure the static flag actually works.
11127 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
11128 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11129 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11130 if test "${lt_prog_compiler_static_works_FC+set}" = set; then
11131 echo $ECHO_N "(cached) $ECHO_C" >&6
11133 lt_prog_compiler_static_works_FC
=no
11134 save_LDFLAGS
="$LDFLAGS"
11135 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11136 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11137 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11138 # The linker can only warn and ignore the option if not recognized
11139 # So say no if there are warnings
11140 if test -s conftest.err
; then
11141 # Append any errors to the config.log.
11142 cat conftest.err
1>&5
11143 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
11144 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11145 if diff conftest.exp conftest.er2
>/dev
/null
; then
11146 lt_prog_compiler_static_works_FC
=yes
11149 lt_prog_compiler_static_works_FC
=yes
11153 LDFLAGS
="$save_LDFLAGS"
11156 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_FC" >&5
11157 echo "${ECHO_T}$lt_prog_compiler_static_works_FC" >&6
11159 if test x
"$lt_prog_compiler_static_works_FC" = xyes
; then
11162 lt_prog_compiler_static_FC
=
11168 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11169 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11170 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11171 echo $ECHO_N "(cached) $ECHO_C" >&6
11173 lt_cv_prog_compiler_c_o_FC
=no
11174 $RM -r conftest
2>/dev
/null
11178 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11180 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11181 # Insert the option either (1) after the last *FLAGS variable, or
11182 # (2) before a word containing "conftest.", or (3) at the end.
11183 # Note that $ac_compile itself does not contain backslashes and begins
11184 # with a dollar sign (not a hyphen), so the echo should work correctly.
11185 lt_compile
=`echo "$ac_compile" | $SED \
11186 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11187 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11188 -e 's:$: $lt_compiler_flag:'`
11189 (eval echo "\"\$as_me:11189: $lt_compile\"" >&5)
11190 (eval "$lt_compile" 2>out
/conftest.err
)
11192 cat out
/conftest.err
>&5
11193 echo "$as_me:11193: \$? = $ac_status" >&5
11194 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11196 # The compiler can only warn and ignore the option if not recognized
11197 # So say no if there are warnings
11198 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11199 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11200 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11201 lt_cv_prog_compiler_c_o_FC
=yes
11206 # SGI C++ compiler will create directory out/ii_files/ for
11207 # template instantiation
11208 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11209 $RM out
/* && rmdir out
11215 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11216 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11220 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11221 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11222 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11223 echo $ECHO_N "(cached) $ECHO_C" >&6
11225 lt_cv_prog_compiler_c_o_FC
=no
11226 $RM -r conftest
2>/dev
/null
11230 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11232 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11233 # Insert the option either (1) after the last *FLAGS variable, or
11234 # (2) before a word containing "conftest.", or (3) at the end.
11235 # Note that $ac_compile itself does not contain backslashes and begins
11236 # with a dollar sign (not a hyphen), so the echo should work correctly.
11237 lt_compile
=`echo "$ac_compile" | $SED \
11238 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11239 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11240 -e 's:$: $lt_compiler_flag:'`
11241 (eval echo "\"\$as_me:11241: $lt_compile\"" >&5)
11242 (eval "$lt_compile" 2>out
/conftest.err
)
11244 cat out
/conftest.err
>&5
11245 echo "$as_me:11245: \$? = $ac_status" >&5
11246 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11248 # The compiler can only warn and ignore the option if not recognized
11249 # So say no if there are warnings
11250 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11251 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11252 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11253 lt_cv_prog_compiler_c_o_FC
=yes
11258 # SGI C++ compiler will create directory out/ii_files/ for
11259 # template instantiation
11260 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11261 $RM out
/* && rmdir out
11267 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11268 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11273 hard_links
="nottested"
11274 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
11275 # do not overwrite the value of need_locks provided by the user
11276 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11277 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11280 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11282 ln conftest.a conftest.b
2>&5 || hard_links
=no
11283 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11284 echo "$as_me:$LINENO: result: $hard_links" >&5
11285 echo "${ECHO_T}$hard_links" >&6
11286 if test "$hard_links" = no
; then
11287 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11288 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11297 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11298 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11301 allow_undefined_flag_FC
=
11302 always_export_symbols_FC
=no
11304 archive_expsym_cmds_FC
=
11305 compiler_needs_object_FC
=no
11306 enable_shared_with_static_runtimes_FC
=no
11307 export_dynamic_flag_spec_FC
=
11308 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11309 hardcode_automatic_FC
=no
11310 hardcode_direct_FC
=no
11311 hardcode_direct_absolute_FC
=no
11312 hardcode_libdir_flag_spec_FC
=
11313 hardcode_libdir_flag_spec_ld_FC
=
11314 hardcode_libdir_separator_FC
=
11315 hardcode_minus_L_FC
=no
11316 hardcode_shlibpath_var_FC
=unsupported
11317 inherit_rpath_FC
=no
11318 link_all_deplibs_FC
=unknown
11320 module_expsym_cmds_FC
=
11321 old_archive_from_new_cmds_FC
=
11322 old_archive_from_expsyms_cmds_FC
=
11323 thread_safe_flag_spec_FC
=
11324 whole_archive_flag_spec_FC
=
11325 # include_expsyms should be a list of space-separated symbols to be *always*
11326 # included in the symbol list
11327 include_expsyms_FC
=
11328 # exclude_expsyms can be an extended regexp of symbols to exclude
11329 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11330 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11331 # as well as any symbol that contains `d'.
11332 exclude_expsyms_FC
="_GLOBAL_OFFSET_TABLE_"
11333 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11334 # platforms (ab)use it in PIC code, but their linkers get confused if
11335 # the symbol is explicitly referenced. Since portable code cannot
11336 # rely on this symbol name, it's probably fine to never include it in
11337 # preloaded symbol tables.
11338 extract_expsyms_cmds
=
11341 cygwin
* | mingw
* | pw32
*)
11342 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11343 # When not using gcc, we currently assume that we are using
11344 # Microsoft Visual C++.
11345 if test "$GCC" != yes; then
11350 # we just hope/assume this is gcc and not c89 (= MSVC++)
11359 if test "$with_gnu_ld" = yes; then
11360 # If archive_cmds runs LD, not CC, wlarc should be empty
11363 # Set some defaults for GNU ld with shared library support. These
11364 # are reset later if shared libraries are not supported. Putting them
11365 # here allows them to be overridden if necessary.
11366 runpath_var
=LD_RUN_PATH
11367 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
11368 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
11369 # ancient GNU ld didn't support --whole-archive et. al.
11370 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
11371 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11373 whole_archive_flag_spec_FC
=
11375 supports_anon_versioning
=no
11376 case `$LD -v 2>&1` in
11377 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
11378 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
11379 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
11380 *\
2.11.
*) ;; # other 2.11 versions
11381 *) supports_anon_versioning
=yes ;;
11384 # See if GNU ld supports shared libraries.
11386 aix3
* | aix4
* | aix5
*)
11387 # On AIX/PPC, the GNU linker is very broken
11388 if test "$host_cpu" != ia64
; then
11392 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
11393 *** to be unable to reliably create shared libraries on AIX.
11394 *** Therefore, libtool is disabling shared libraries support. If you
11395 *** really care for shared libraries, you may want to modify your PATH
11396 *** so that a non-GNU linker is found, and then restart.
11403 if test "$host_cpu" = m68k
; then
11404 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)'
11405 hardcode_libdir_flag_spec_FC
='-L$libdir'
11406 hardcode_minus_L_FC
=yes
11409 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
11410 # that the semantics of dynamic libraries on AmigaOS, at least up
11411 # to version 4, is to share data among multiple programs linked
11412 # with the same dynamic library. Since this doesn't match the
11413 # behavior of shared libraries on other platforms, we can't use
11419 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11420 allow_undefined_flag_FC
=unsupported
11421 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11422 # support --undefined. This deserves some investigation. FIXME
11423 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11429 cygwin
* | mingw
* | pw32
*)
11430 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
11431 # as there is no search path for DLLs.
11432 hardcode_libdir_flag_spec_FC
='-L$libdir'
11433 allow_undefined_flag_FC
=unsupported
11434 always_export_symbols_FC
=no
11435 enable_shared_with_static_runtimes_FC
=yes
11436 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11438 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11439 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11440 # If the export-symbols file already is a .def file (1st line
11441 # is EXPORTS), use it as is; otherwise, prepend...
11442 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11443 cp $export_symbols $output_objdir/$soname.def;
11445 echo EXPORTS > $output_objdir/$soname.def;
11446 cat $export_symbols >> $output_objdir/$soname.def;
11448 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11455 hardcode_direct_FC
=no
11456 hardcode_shlibpath_var_FC
=no
11457 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
11458 export_dynamic_flag_spec_FC
='${wl}-E'
11459 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11460 # Instead, shared libraries are loaded at an image base (0x10000000 by
11461 # default) and relocated if they conflict, which is a slow very memory
11462 # consuming and fragmenting process. To avoid this, we pick a random,
11463 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11464 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11465 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'
11466 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'
11469 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
11471 if test "$host_os" = linux-dietlibc
; then
11472 case $cc_basename in
11473 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
11476 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
11477 && test "$tmp_diet" = no
11480 case $cc_basename,$host_cpu in
11481 pgcc
*) # Portland Group C compiler
11482 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'
11483 tmp_addflag
=' $pic_flag'
11485 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
11486 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'
11487 tmp_addflag
=' $pic_flag -Mnomain' ;;
11488 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
11489 tmp_addflag
=' -i_dynamic' ;;
11490 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
11491 tmp_addflag
=' -i_dynamic -nofor_main' ;;
11492 ifc
* | ifort
*) # Intel Fortran compiler
11493 tmp_addflag
=' -nofor_main' ;;
11495 case `$CC -V 2>&1 | sed 5q` in
11496 *Sun\ C
*) # Sun C 5.9
11497 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'
11498 compiler_needs_object_FC
=yes
11499 tmp_sharedflag
='-G' ;;
11500 *Sun\ F
*) # Sun Fortran 8.3
11501 tmp_sharedflag
='-G' ;;
11503 tmp_sharedflag
='-shared' ;;
11505 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11507 if test "x$supports_anon_versioning" = xyes
; then
11508 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
11509 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11510 echo "local: *; };" >> $output_objdir/$libname.ver~
11511 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11519 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11520 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11523 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11524 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11529 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
11533 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11534 *** create shared libraries on Solaris systems. Therefore, libtool
11535 *** is disabling shared libraries support. We urge you to upgrade GNU
11536 *** binutils to release 2.9.1 or newer. Another option is to modify
11537 *** your PATH or compiler configuration so that the native linker is
11538 *** used, and then restart.
11541 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11542 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11543 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11549 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11550 case `$LD -v 2>&1` in
11551 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11555 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11556 *** reliably create shared libraries on SCO systems. Therefore, libtool
11557 *** is disabling shared libraries support. We urge you to upgrade GNU
11558 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11559 *** your PATH or compiler configuration so that the native linker is
11560 *** used, and then restart.
11565 # For security reasons, it is highly recommended that you always
11566 # use absolute paths for naming shared libraries, and exclude the
11567 # DT_RUNPATH tag from executables and libraries. But doing so
11568 # requires that you compile everything twice, which is a pain.
11569 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11570 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
11571 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11572 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11581 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11583 hardcode_direct_FC
=yes
11584 hardcode_shlibpath_var_FC
=no
11588 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11589 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11590 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11597 if test "$ld_shlibs_FC" = no
; then
11599 hardcode_libdir_flag_spec_FC
=
11600 export_dynamic_flag_spec_FC
=
11601 whole_archive_flag_spec_FC
=
11604 # PORTME fill in a description of your system's linker (not GNU ld)
11607 allow_undefined_flag_FC
=unsupported
11608 always_export_symbols_FC
=yes
11609 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'
11610 # Note: this linker hardcodes the directories in LIBPATH if there
11611 # are no directories specified by -L.
11612 hardcode_minus_L_FC
=yes
11613 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11614 # Neither direct hardcoding nor static linking is supported with a
11616 hardcode_direct_FC
=unsupported
11621 if test "$host_cpu" = ia64
; then
11622 # On IA64, the linker does run time linking by default, so we don't
11623 # have to do anything special.
11624 aix_use_runtimelinking
=no
11625 exp_sym_flag
='-Bexport'
11628 # If we're using GNU nm, then we don't want the "-C" option.
11629 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11630 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
11631 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'
11633 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'
11635 aix_use_runtimelinking
=no
11637 # Test if we are trying to use run time linking or normal
11638 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11639 # need to do runtime linking.
11640 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
11641 for ld_flag
in $LDFLAGS; do
11642 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
11643 aix_use_runtimelinking
=yes
11650 exp_sym_flag
='-bexport'
11651 no_entry_flag
='-bnoentry'
11654 # When large executables or shared objects are built, AIX ld can
11655 # have problems creating the table of contents. If linking a library
11656 # or program results in "error TOC overflow" add -mminimal-toc to
11657 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11658 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11661 hardcode_direct_FC
=yes
11662 hardcode_direct_absolute_FC
=yes
11663 hardcode_libdir_separator_FC
=':'
11664 link_all_deplibs_FC
=yes
11665 file_list_spec_FC
='${wl}-f,'
11667 if test "$GCC" = yes; then
11668 case $host_os in aix4.
[012]|aix4.
[012].
*)
11669 # We only want to do this on AIX 4.2 and lower, the check
11670 # below for broken collect2 doesn't work under 4.3+
11671 collect2name
=`${CC} -print-prog-name=collect2`
11672 if test -f "$collect2name" &&
11673 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11675 # We have reworked collect2
11678 # We have old collect2
11679 hardcode_direct_FC
=unsupported
11680 # It fails to find uninstalled libraries when the uninstalled
11681 # path is not listed in the libpath. Setting hardcode_minus_L
11682 # to unsupported forces relinking
11683 hardcode_minus_L_FC
=yes
11684 hardcode_libdir_flag_spec_FC
='-L$libdir'
11685 hardcode_libdir_separator_FC
=
11689 shared_flag
='-shared'
11690 if test "$aix_use_runtimelinking" = yes; then
11691 shared_flag
="$shared_flag "'${wl}-G'
11695 if test "$host_cpu" = ia64
; then
11696 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11697 # chokes on -Wl,-G. The following line is correct:
11700 if test "$aix_use_runtimelinking" = yes; then
11701 shared_flag
='${wl}-G'
11703 shared_flag
='${wl}-bM:SRE'
11708 # It seems that -bexpall does not export symbols beginning with
11709 # underscore (_), so it is better to generate a list of symbols to export.
11710 always_export_symbols_FC
=yes
11711 if test "$aix_use_runtimelinking" = yes; then
11712 # Warning - without using the other runtime loading flags (-brtl),
11713 # -berok will link without error, but may produce a broken library.
11714 allow_undefined_flag_FC
='-berok'
11715 # Determine the default libpath from the value encoded in an
11716 # empty executable.
11717 cat >conftest.
$ac_ext <<_ACEOF
11722 rm -f conftest.
$ac_objext conftest
$ac_exeext
11723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11724 (eval $ac_link) 2>conftest.er1
11726 grep -v '^ *+' conftest.er1
>conftest.err
11728 cat conftest.err
>&5
11729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11730 (exit $ac_status); } &&
11731 { ac_try
='test -z "$ac_fc_werror_flag"
11732 || test ! -s conftest.err'
11733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11734 (eval $ac_try) 2>&5
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737 (exit $ac_status); }; } &&
11738 { ac_try
='test -s conftest$ac_exeext'
11739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11740 (eval $ac_try) 2>&5
11742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11743 (exit $ac_status); }; }; then
11745 lt_aix_libpath_sed
='
11746 /Import File Strings/,/^$/ {
11752 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11753 # Check for a 64-bit object if we didn't find anything.
11754 if test -z "$aix_libpath"; then
11755 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11758 echo "$as_me: failed program was:" >&5
11759 sed 's/^/| /' conftest.
$ac_ext >&5
11762 rm -f conftest.err conftest.
$ac_objext \
11763 conftest
$ac_exeext conftest.
$ac_ext
11764 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11766 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
11767 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"
11769 if test "$host_cpu" = ia64
; then
11770 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
11771 allow_undefined_flag_FC
="-z nodefs"
11772 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"
11774 # Determine the default libpath from the value encoded in an
11775 # empty executable.
11776 cat >conftest.
$ac_ext <<_ACEOF
11781 rm -f conftest.
$ac_objext conftest
$ac_exeext
11782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11783 (eval $ac_link) 2>conftest.er1
11785 grep -v '^ *+' conftest.er1
>conftest.err
11787 cat conftest.err
>&5
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); } &&
11790 { ac_try
='test -z "$ac_fc_werror_flag"
11791 || test ! -s conftest.err'
11792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11793 (eval $ac_try) 2>&5
11795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11796 (exit $ac_status); }; } &&
11797 { ac_try
='test -s conftest$ac_exeext'
11798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11799 (eval $ac_try) 2>&5
11801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11802 (exit $ac_status); }; }; then
11804 lt_aix_libpath_sed
='
11805 /Import File Strings/,/^$/ {
11811 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11812 # Check for a 64-bit object if we didn't find anything.
11813 if test -z "$aix_libpath"; then
11814 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11817 echo "$as_me: failed program was:" >&5
11818 sed 's/^/| /' conftest.
$ac_ext >&5
11821 rm -f conftest.err conftest.
$ac_objext \
11822 conftest
$ac_exeext conftest.
$ac_ext
11823 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11825 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
11826 # Warning - without using the other run time loading flags,
11827 # -berok will link without error, but may produce a broken library.
11828 no_undefined_flag_FC
=' ${wl}-bernotok'
11829 allow_undefined_flag_FC
=' ${wl}-berok'
11830 # Exported symbols can be pulled into shared objects from archives
11831 whole_archive_flag_spec_FC
='$convenience'
11832 archive_cmds_need_lc_FC
=yes
11833 # This is similar to how AIX traditionally builds its shared libraries.
11834 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'
11840 if test "$host_cpu" = m68k
; then
11841 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)'
11842 hardcode_libdir_flag_spec_FC
='-L$libdir'
11843 hardcode_minus_L_FC
=yes
11845 # see comment about different semantics on the GNU ld section
11850 export_dynamic_flag_spec_FC
=-rdynamic
11853 cygwin
* | mingw
* | pw32
*)
11854 # When not using gcc, we currently assume that we are using
11855 # Microsoft Visual C++.
11856 # hardcode_libdir_flag_spec is actually meaningless, as there is
11857 # no search path for DLLs.
11858 hardcode_libdir_flag_spec_FC
=' '
11859 allow_undefined_flag_FC
=unsupported
11860 # Tell ltmain to make .lib files, not .a files.
11862 # Tell ltmain to make .dll files, not .so files.
11864 # FIXME: Setting linknames here is a bad hack.
11865 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
11866 # The linker will automatically build a .lib file if we build a DLL.
11867 old_archive_from_new_cmds_FC
='true'
11868 # FIXME: Should let the user specify the lib program.
11869 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11870 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
11871 enable_shared_with_static_runtimes_FC
=yes
11874 darwin
* | rhapsody
*)
11876 rhapsody
* | darwin1.
[012])
11877 allow_undefined_flag_FC
='${wl}-undefined ${wl}suppress'
11880 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11882 allow_undefined_flag_FC
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11885 allow_undefined_flag_FC
='${wl}-undefined ${wl}dynamic_lookup'
11890 archive_cmds_need_lc_FC
=no
11891 hardcode_direct_FC
=no
11892 hardcode_automatic_FC
=yes
11893 hardcode_shlibpath_var_FC
=unsupported
11894 whole_archive_flag_spec_FC
=''
11895 link_all_deplibs_FC
=yes
11896 if test "$GCC" = yes ; then
11897 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11898 echo $ECHO_N "(cached) $ECHO_C" >&6
11900 lt_cv_apple_cc_single_mod
=no
11901 if test -z "${LT_MULTI_MODULE}"; then
11902 # By default we will add the -single_module flag. You can override
11903 # by either setting the environment variable LT_MULTI_MODULE
11904 # non-empty at configure time, or by adding -multi-module to the
11906 echo "int foo(void){return 1;}" > conftest.c
11907 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11908 -dynamiclib ${wl}-single_module conftest.c
11909 if test -f libconftest.dylib
; then
11910 lt_cv_apple_cc_single_mod
=yes
11911 rm libconftest.dylib
11913 rm conftest.
$ac_ext
11917 output_verbose_link_cmd
=echo
11918 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
11919 archive_cmds_FC
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11920 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}'
11922 archive_cmds_FC
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11923 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}'
11925 module_cmds_FC
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11926 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}'
11928 case $cc_basename in
11930 output_verbose_link_cmd
=echo
11931 archive_cmds_FC
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
11932 module_cmds_FC
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11933 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11934 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}'
11935 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}'
11945 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11946 hardcode_libdir_flag_spec_FC
='-L$libdir'
11947 hardcode_shlibpath_var_FC
=no
11954 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11955 # support. Future versions do this automatically, but an explicit c++rt0.o
11956 # does not break anything, and helps significantly (at the cost of a little
11959 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11960 hardcode_libdir_flag_spec_FC
='-R$libdir'
11961 hardcode_direct_FC
=yes
11962 hardcode_shlibpath_var_FC
=no
11965 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11967 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11968 hardcode_direct_FC
=yes
11969 hardcode_minus_L_FC
=yes
11970 hardcode_shlibpath_var_FC
=no
11973 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11974 freebsd
* | dragonfly
*)
11975 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11976 hardcode_libdir_flag_spec_FC
='-R$libdir'
11977 hardcode_direct_FC
=yes
11978 hardcode_shlibpath_var_FC
=no
11982 if test "$GCC" = yes; then
11983 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'
11985 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'
11987 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
11988 hardcode_libdir_separator_FC
=:
11989 hardcode_direct_FC
=yes
11991 # hardcode_minus_L: Not really in the search PATH,
11992 # but as the default location of the library.
11993 hardcode_minus_L_FC
=yes
11994 export_dynamic_flag_spec_FC
='${wl}-E'
11998 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
11999 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12001 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12003 if test "$with_gnu_ld" = no
; then
12004 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
12005 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
12006 hardcode_libdir_separator_FC
=:
12007 hardcode_direct_FC
=yes
12008 hardcode_direct_absolute_FC
=yes
12009 export_dynamic_flag_spec_FC
='${wl}-E'
12010 # hardcode_minus_L: Not really in the search PATH,
12011 # but as the default location of the library.
12012 hardcode_minus_L_FC
=yes
12017 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
12020 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12023 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12026 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12032 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12035 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12038 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12042 if test "$with_gnu_ld" = no
; then
12043 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
12044 hardcode_libdir_separator_FC
=:
12048 hardcode_direct_FC
=no
12049 hardcode_shlibpath_var_FC
=no
12052 hardcode_direct_FC
=yes
12053 hardcode_direct_absolute_FC
=yes
12054 export_dynamic_flag_spec_FC
='${wl}-E'
12056 # hardcode_minus_L: Not really in the search PATH,
12057 # but as the default location of the library.
12058 hardcode_minus_L_FC
=yes
12064 irix5
* | irix6
* | nonstopux
*)
12065 if test "$GCC" = yes; then
12066 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'
12067 # Try to use the -exported_symbol ld option, if it does not
12068 # work, assume that -exports_file does not work either and
12069 # implicitly export all symbols.
12070 save_LDFLAGS
="$LDFLAGS"
12071 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12072 cat >conftest.
$ac_ext <<_ACEOF
12075 rm -f conftest.
$ac_objext conftest
$ac_exeext
12076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12077 (eval $ac_link) 2>conftest.er1
12079 grep -v '^ *+' conftest.er1
>conftest.err
12081 cat conftest.err
>&5
12082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12083 (exit $ac_status); } &&
12084 { ac_try
='test -z "$ac_fc_werror_flag"
12085 || test ! -s conftest.err'
12086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12087 (eval $ac_try) 2>&5
12089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12090 (exit $ac_status); }; } &&
12091 { ac_try
='test -s conftest$ac_exeext'
12092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12093 (eval $ac_try) 2>&5
12095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12096 (exit $ac_status); }; }; then
12097 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'
12100 echo "$as_me: failed program was:" >&5
12101 sed 's/^/| /' conftest.
$ac_ext >&5
12104 rm -f conftest.err conftest.
$ac_objext \
12105 conftest
$ac_exeext conftest.
$ac_ext
12106 LDFLAGS
="$save_LDFLAGS"
12108 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'
12109 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'
12111 archive_cmds_need_lc_FC
='no'
12112 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12113 hardcode_libdir_separator_FC
=:
12114 inherit_rpath_FC
=yes
12115 link_all_deplibs_FC
=yes
12119 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12120 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12122 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12124 hardcode_libdir_flag_spec_FC
='-R$libdir'
12125 hardcode_direct_FC
=yes
12126 hardcode_shlibpath_var_FC
=no
12130 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12131 hardcode_direct_FC
=yes
12132 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12133 hardcode_libdir_separator_FC
=:
12134 hardcode_shlibpath_var_FC
=no
12141 hardcode_direct_FC
=yes
12142 hardcode_shlibpath_var_FC
=no
12143 hardcode_direct_absolute_FC
=yes
12144 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12145 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12146 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12147 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12148 export_dynamic_flag_spec_FC
='${wl}-E'
12151 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12152 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12153 hardcode_libdir_flag_spec_FC
='-R$libdir'
12156 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12157 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12164 hardcode_libdir_flag_spec_FC
='-L$libdir'
12165 hardcode_minus_L_FC
=yes
12166 allow_undefined_flag_FC
=unsupported
12167 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'
12168 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12172 if test "$GCC" = yes; then
12173 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
12174 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'
12176 allow_undefined_flag_FC
=' -expect_unresolved \*'
12177 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'
12179 archive_cmds_need_lc_FC
='no'
12180 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12181 hardcode_libdir_separator_FC
=:
12184 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12185 if test "$GCC" = yes; then
12186 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
12187 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'
12188 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12190 allow_undefined_flag_FC
=' -expect_unresolved \*'
12191 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'
12192 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~
12193 $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'
12195 # Both c and cxx compiler support -rpath directly
12196 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
12198 archive_cmds_need_lc_FC
='no'
12199 hardcode_libdir_separator_FC
=:
12203 no_undefined_flag_FC
=' -z defs'
12204 if test "$GCC" = yes; then
12206 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12207 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12208 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12210 case `$CC -V 2>&1` in
12213 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12214 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12215 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12219 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12220 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12221 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12225 hardcode_libdir_flag_spec_FC
='-R$libdir'
12226 hardcode_shlibpath_var_FC
=no
12228 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12230 # The compiler driver will combine and reorder linker options,
12231 # but understands `-z linker_flag'. GCC discards it without `$wl',
12232 # but is careful enough not to reorder.
12233 # Supported since Solaris 2.6 (maybe 2.5.1?)
12234 if test "$GCC" = yes; then
12235 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12237 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
12241 link_all_deplibs_FC
=yes
12245 if test "x$host_vendor" = xsequent
; then
12246 # Use $CC to link under sequent, because it throws in some extra .o
12247 # files that make .init and .fini sections work.
12248 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12250 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12252 hardcode_libdir_flag_spec_FC
='-L$libdir'
12253 hardcode_direct_FC
=yes
12254 hardcode_minus_L_FC
=yes
12255 hardcode_shlibpath_var_FC
=no
12259 case $host_vendor in
12261 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12262 hardcode_direct_FC
=yes # is this really true???
12265 ## LD is ld it makes a PLAMLIB
12266 ## CC just makes a GrossModule.
12267 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12268 reload_cmds_FC
='$CC -r -o $output$reload_objs'
12269 hardcode_direct_FC
=no
12272 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12273 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
12276 runpath_var
='LD_RUN_PATH'
12277 hardcode_shlibpath_var_FC
=no
12281 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12282 hardcode_shlibpath_var_FC
=no
12283 export_dynamic_flag_spec_FC
='-Bexport'
12287 if test -d /usr
/nec
; then
12288 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12289 hardcode_shlibpath_var_FC
=no
12290 runpath_var
=LD_RUN_PATH
12291 hardcode_runpath_var
=yes
12296 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12297 no_undefined_flag_FC
='${wl}-z,text'
12298 archive_cmds_need_lc_FC
=no
12299 hardcode_shlibpath_var_FC
=no
12300 runpath_var
='LD_RUN_PATH'
12302 if test "$GCC" = yes; then
12303 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12304 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12306 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12307 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12311 sysv5
* | sco3.2v5
* | sco5v6
*)
12312 # Note: We can NOT use -z defs as we might desire, because we do not
12313 # link with -lc, and that would cause any symbols used from libc to
12314 # always be unresolved, which means just about no library would
12315 # ever link correctly. If we're not using GNU ld we use -z text
12316 # though, which does catch some bad symbols but isn't as heavy-handed
12318 no_undefined_flag_FC
='${wl}-z,text'
12319 allow_undefined_flag_FC
='${wl}-z,nodefs'
12320 archive_cmds_need_lc_FC
=no
12321 hardcode_shlibpath_var_FC
=no
12322 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
12323 hardcode_libdir_separator_FC
=':'
12324 link_all_deplibs_FC
=yes
12325 export_dynamic_flag_spec_FC
='${wl}-Bexport'
12326 runpath_var
='LD_RUN_PATH'
12328 if test "$GCC" = yes; then
12329 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12330 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12332 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12333 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12338 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12339 hardcode_libdir_flag_spec_FC
='-L$libdir'
12340 hardcode_shlibpath_var_FC
=no
12348 if test x
$host_vendor = xsni
; then
12350 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12351 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
12357 echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
12358 echo "${ECHO_T}$ld_shlibs_FC" >&6
12359 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
12361 with_gnu_ld_FC
=$with_gnu_ld
12369 # Do we need to explicitly link libc?
12371 case "x$archive_cmds_need_lc_FC" in
12373 # Assume -lc should be added
12374 archive_cmds_need_lc_FC
=yes
12376 if test "$enable_shared" = yes && test "$GCC" = yes; then
12377 case $archive_cmds_FC in
12379 # FIXME: we may have to deal with multi-command sequences.
12382 # Test whether the compiler implicitly links with -lc since on some
12383 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12384 # to ld, don't add -lc before -lgcc.
12385 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12386 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12388 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12391 (eval $ac_compile) 2>&5
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); } 2>conftest.err
; then
12397 libobjs
=conftest.
$ac_objext
12399 wl
=$lt_prog_compiler_wl_FC
12400 pic_flag
=$lt_prog_compiler_pic_FC
12406 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
12407 allow_undefined_flag_FC
=
12408 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12409 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412 (exit $ac_status); }
12414 archive_cmds_need_lc_FC
=no
12416 archive_cmds_need_lc_FC
=yes
12418 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
12420 cat conftest.err
1>&5
12423 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_FC" >&5
12424 echo "${ECHO_T}$archive_cmds_need_lc_FC" >&6
12494 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12495 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12496 withGCC
=$ac_cv_fc_compiler_gnu
12497 library_names_spec
=
12498 libname_spec
='lib$name'
12502 postuninstall_cmds
=
12506 shlibpath_overrides_runpath
=unknown
12508 dynamic_linker
="$host_os ld.so"
12509 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12510 need_lib_prefix
=unknown
12511 hardcode_into_libs
=no
12513 # when you set need_version to no, make sure it does not cause -set_version
12514 # flags to be left without arguments
12515 need_version
=unknown
12520 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12521 shlibpath_var
=LIBPATH
12523 # AIX 3 has no versioning support, so we append a major version to the name.
12524 soname_spec
='${libname}${release}${shared_ext}$major'
12531 hardcode_into_libs
=yes
12532 if test "$host_cpu" = ia64
; then
12533 # AIX 5 supports IA64
12534 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12535 shlibpath_var
=LD_LIBRARY_PATH
12537 # With GCC up to 2.95.x, collect2 would create an import file
12538 # for dependence libraries. The import file would start with
12539 # the line `#! .'. This would cause the generated library to
12540 # depend on `.', always an invalid library. This was fixed in
12541 # development snapshots of GCC prior to 3.0.
12543 aix4 | aix4.
[01] | aix4.
[01].
*)
12544 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12546 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
12549 can_build_shared
=no
12553 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12554 # soname into executable. Probably we can add versioning support to
12555 # collect2, so additional links can be useful in future.
12556 if test "$aix_use_runtimelinking" = yes; then
12557 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12558 # instead of lib<name>.a to let people know that these are not
12559 # typical AIX shared libraries.
12560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12562 # We preserve .a as extension for shared libraries through AIX4.2
12563 # and later when we are not doing run time linking.
12564 library_names_spec
='${libname}${release}.a $libname.a'
12565 soname_spec
='${libname}${release}${shared_ext}$major'
12567 shlibpath_var
=LIBPATH
12572 if test "$host_cpu" = m68k
; then
12573 library_names_spec
='$libname.ixlibrary $libname.a'
12574 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12575 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'
12582 library_names_spec
='${libname}${shared_ext}'
12583 dynamic_linker
="$host_os ld.so"
12584 shlibpath_var
=LIBRARY_PATH
12590 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12591 soname_spec
='${libname}${release}${shared_ext}$major'
12592 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12593 shlibpath_var
=LD_LIBRARY_PATH
12594 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12595 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12596 # the default ld.so.conf also contains /usr/contrib/lib and
12597 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12598 # libtool to hard-code these into programs
12601 cygwin
* | mingw
* | pw32
*)
12602 version_type
=windows
12607 case $withGCC,$host_os in
12608 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12609 library_names_spec
='$libname.dll.a'
12610 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12611 postinstall_cmds
='base_file=`basename \${file}`~
12612 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12613 dldir=$destdir/`dirname \$dlpath`~
12614 test -d \$dldir || mkdir -p \$dldir~
12615 $install_prog $dir/$dlname \$dldir/$dlname~
12616 chmod a+x \$dldir/$dlname~
12617 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12618 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12620 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12621 dlpath=$dir/\$dldll~
12623 shlibpath_overrides_runpath
=yes
12627 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12628 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12629 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12632 # MinGW DLLs use traditional 'lib' prefix
12633 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12634 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12635 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12636 # It is most probably a Windows format PATH printed by
12637 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12638 # path with ; separators, and with drive letters. We can handle the
12639 # drive letters (cygwin fileutils understands them), so leave them,
12640 # especially as we might pass files found there to a mingw objdump,
12641 # which wouldn't understand a cygwinified path. Ahh.
12642 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12644 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12648 # pw32 DLLs use 'pw' prefix rather than 'lib'
12649 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12655 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12658 dynamic_linker
='Win32 ld.exe'
12659 # FIXME: first we should search . and the directory the executable is in
12663 darwin
* | rhapsody
*)
12664 dynamic_linker
="$host_os dyld"
12665 version_type
=darwin
12668 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12669 soname_spec
='${libname}${release}${major}$shared_ext'
12670 shlibpath_overrides_runpath
=yes
12671 shlibpath_var
=DYLD_LIBRARY_PATH
12672 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12674 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12682 soname_spec
='${libname}${release}${shared_ext}$major'
12683 shlibpath_var
=LD_LIBRARY_PATH
12690 freebsd
* | dragonfly
*)
12691 # DragonFly does not have aout. When/if they implement a new
12692 # versioning mechanism, adjust this.
12693 if test -x /usr
/bin
/objformat
; then
12694 objformat
=`/usr/bin/objformat`
12697 freebsd
[123]*) objformat
=aout
;;
12698 *) objformat
=elf
;;
12701 version_type
=freebsd-
$objformat
12702 case $version_type in
12704 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12709 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12713 shlibpath_var
=LD_LIBRARY_PATH
12716 shlibpath_overrides_runpath
=yes
12718 freebsd3.
[01]* | freebsdelf3.
[01]*)
12719 shlibpath_overrides_runpath
=yes
12720 hardcode_into_libs
=yes
12722 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12723 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12724 shlibpath_overrides_runpath
=no
12725 hardcode_into_libs
=yes
12727 *) # from 4.6 on, and DragonFly
12728 shlibpath_overrides_runpath
=yes
12729 hardcode_into_libs
=yes
12738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12739 soname_spec
='${libname}${release}${shared_ext}$major'
12740 shlibpath_var
=LD_LIBRARY_PATH
12741 hardcode_into_libs
=yes
12744 hpux9
* | hpux10
* | hpux11
*)
12745 # Give a soname corresponding to the major version so that dld.sl refuses to
12746 # link against other versions.
12753 hardcode_into_libs
=yes
12754 dynamic_linker
="$host_os dld.so"
12755 shlibpath_var
=LD_LIBRARY_PATH
12756 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12757 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12758 soname_spec
='${libname}${release}${shared_ext}$major'
12759 if test "X$HPUX_IA64_MODE" = X32
; then
12760 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12762 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12764 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12768 hardcode_into_libs
=yes
12769 dynamic_linker
="$host_os dld.sl"
12770 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12771 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12773 soname_spec
='${libname}${release}${shared_ext}$major'
12774 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12775 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12779 dynamic_linker
="$host_os dld.sl"
12780 shlibpath_var
=SHLIB_PATH
12781 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12783 soname_spec
='${libname}${release}${shared_ext}$major'
12786 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12787 postinstall_cmds
='chmod 555 $lib'
12794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12795 soname_spec
='${libname}${release}${shared_ext}$major'
12796 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12797 shlibpath_var
=LD_LIBRARY_PATH
12798 shlibpath_overrides_runpath
=no
12799 hardcode_into_libs
=yes
12802 irix5
* | irix6
* | nonstopux
*)
12804 nonstopux
*) version_type
=nonstopux
;;
12806 if test "$lt_cv_prog_gnu_ld" = yes; then
12814 soname_spec
='${libname}${release}${shared_ext}$major'
12815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12817 irix5
* | nonstopux
*)
12818 libsuff
= shlibsuff
=
12821 case $LD in # libtool.m4 will add one of these switches to LD
12822 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12823 libsuff
= shlibsuff
= libmagic
=32-bit;;
12824 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12825 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12826 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12827 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12828 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12832 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12833 shlibpath_overrides_runpath
=no
12834 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12835 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12836 hardcode_into_libs
=yes
12839 # No shared lib support for Linux oldld, aout, or coff.
12840 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12844 # This must be Linux ELF.
12845 linux
* | k
*bsd
*-gnu)
12849 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12850 soname_spec
='${libname}${release}${shared_ext}$major'
12851 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12852 shlibpath_var
=LD_LIBRARY_PATH
12853 shlibpath_overrides_runpath
=no
12854 # Some binutils ld are patched to set DT_RUNPATH
12855 save_LDFLAGS
=$LDFLAGS
12856 save_libdir
=$libdir
12857 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
12858 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
12859 cat >conftest.
$ac_ext <<_ACEOF
12864 rm -f conftest.
$ac_objext conftest
$ac_exeext
12865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12866 (eval $ac_link) 2>conftest.er1
12868 grep -v '^ *+' conftest.er1
>conftest.err
12870 cat conftest.err
>&5
12871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12872 (exit $ac_status); } &&
12873 { ac_try
='test -z "$ac_fc_werror_flag"
12874 || test ! -s conftest.err'
12875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12876 (eval $ac_try) 2>&5
12878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12879 (exit $ac_status); }; } &&
12880 { ac_try
='test -s conftest$ac_exeext'
12881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12882 (eval $ac_try) 2>&5
12884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12885 (exit $ac_status); }; }; then
12886 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
12887 shlibpath_overrides_runpath
=yes
12891 echo "$as_me: failed program was:" >&5
12892 sed 's/^/| /' conftest.
$ac_ext >&5
12895 rm -f conftest.err conftest.
$ac_objext \
12896 conftest
$ac_exeext conftest.
$ac_ext
12897 LDFLAGS
=$save_LDFLAGS
12898 libdir
=$save_libdir
12900 # This implies no fast_install, which is unacceptable.
12901 # Some rework will be needed to allow for fast_install
12902 # before this can be enabled.
12903 hardcode_into_libs
=yes
12905 # Append ld.so.conf contents to the search path
12906 if test -f /etc
/ld.so.conf
; then
12907 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' ' '`
12908 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12911 # We used to test for /lib/ld.so.1 and disable shared libraries on
12912 # powerpc, because MkLinux only supported shared libraries with the
12913 # GNU dynamic linker. Since this was broken with cross compilers,
12914 # most powerpc-linux boxes support dynamic linking these days and
12915 # people can always --disable-shared, the test was removed, and we
12916 # assume the GNU/Linux dynamic linker is in use.
12917 dynamic_linker
='GNU/Linux ld.so'
12924 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12926 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12927 dynamic_linker
='NetBSD (a.out) ld.so'
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 dynamic_linker
='NetBSD ld.elf_so'
12933 shlibpath_var
=LD_LIBRARY_PATH
12934 shlibpath_overrides_runpath
=yes
12935 hardcode_into_libs
=yes
12940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12941 shlibpath_var
=LD_LIBRARY_PATH
12942 shlibpath_overrides_runpath
=yes
12949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12950 soname_spec
='${libname}${release}${shared_ext}$major'
12951 shlibpath_var
=LD_LIBRARY_PATH
12952 shlibpath_overrides_runpath
=no
12953 hardcode_into_libs
=yes
12954 dynamic_linker
='ldqnx.so'
12959 sys_lib_dlsearch_path_spec
="/usr/lib"
12961 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12963 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12964 *) need_version
=no
;;
12966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12967 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12968 shlibpath_var
=LD_LIBRARY_PATH
12969 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12971 openbsd2.
[89] | openbsd2.
[89].
*)
12972 shlibpath_overrides_runpath
=no
12975 shlibpath_overrides_runpath
=yes
12979 shlibpath_overrides_runpath
=yes
12984 libname_spec
='$name'
12987 library_names_spec
='$libname${shared_ext} $libname.a'
12988 dynamic_linker
='OS/2 ld.exe'
12989 shlibpath_var
=LIBPATH
12992 osf3
* | osf4
* | osf5
*)
12996 soname_spec
='${libname}${release}${shared_ext}$major'
12997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12998 shlibpath_var
=LD_LIBRARY_PATH
12999 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13000 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13012 soname_spec
='${libname}${release}${shared_ext}$major'
13013 shlibpath_var
=LD_LIBRARY_PATH
13014 shlibpath_overrides_runpath
=yes
13015 hardcode_into_libs
=yes
13016 # ldd complains unless libraries are executable
13017 postinstall_cmds
='chmod +x $lib'
13022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13023 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13024 shlibpath_var
=LD_LIBRARY_PATH
13025 shlibpath_overrides_runpath
=yes
13026 if test "$with_gnu_ld" = yes; then
13034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13035 soname_spec
='${libname}${release}${shared_ext}$major'
13036 shlibpath_var
=LD_LIBRARY_PATH
13037 case $host_vendor in
13039 shlibpath_overrides_runpath
=no
13041 runpath_var
=LD_RUN_PATH
13049 shlibpath_overrides_runpath
=no
13050 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13056 if test -d /usr
/nec
;then
13058 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13059 soname_spec
='$libname${shared_ext}.$major'
13060 shlibpath_var
=LD_LIBRARY_PATH
13064 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13065 version_type
=freebsd-elf
13068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13069 soname_spec
='${libname}${release}${shared_ext}$major'
13070 shlibpath_var
=LD_LIBRARY_PATH
13071 shlibpath_overrides_runpath
=yes
13072 hardcode_into_libs
=yes
13073 if test "$with_gnu_ld" = yes; then
13074 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13076 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13079 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13083 sys_lib_dlsearch_path_spec
='/usr/lib'
13087 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13091 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13092 shlibpath_var
=LD_LIBRARY_PATH
13093 shlibpath_overrides_runpath
=no
13094 hardcode_into_libs
=yes
13099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13100 soname_spec
='${libname}${release}${shared_ext}$major'
13101 shlibpath_var
=LD_LIBRARY_PATH
13108 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13109 echo "${ECHO_T}$dynamic_linker" >&6
13110 test "$dynamic_linker" = no
&& can_build_shared
=no
13112 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13113 if test "$GCC" = yes; then
13114 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13152 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13153 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13154 hardcode_action_FC
=
13155 if test -n "$hardcode_libdir_flag_spec_FC" ||
13156 test -n "$runpath_var_FC" ||
13157 test "X$hardcode_automatic_FC" = "Xyes" ; then
13159 # We can hardcode non-existent directories.
13160 if test "$hardcode_direct_FC" != no
&&
13161 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13162 # have to relink, otherwise we might link with an installed library
13163 # when we should be linking with a yet-to-be-installed one
13164 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
13165 test "$hardcode_minus_L_FC" != no
; then
13166 # Linking always hardcodes the temporary library directory.
13167 hardcode_action_FC
=relink
13169 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13170 hardcode_action_FC
=immediate
13173 # We cannot hardcode anything, or else we can only hardcode existing
13175 hardcode_action_FC
=unsupported
13177 echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
13178 echo "${ECHO_T}$hardcode_action_FC" >&6
13180 if test "$hardcode_action_FC" = relink ||
13181 test "$inherit_rpath_FC" = yes; then
13182 # Fast installation is not supported
13183 enable_fast_install
=no
13184 elif test "$shlibpath_overrides_runpath" = yes ||
13185 test "$enable_shared" = no
; then
13186 # Fast installation is not necessary
13187 enable_fast_install
=needless
13196 fi # test -n "$compiler"
13199 fi # test "$_lt_disable_FC" != yes
13202 ac_cpp
='$CPP $CPPFLAGS'
13203 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13204 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13205 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13208 FCFLAGS
="$FCFLAGS -Wall"
13210 # For libtool versioning info, format is CURRENT:REVISION:AGE
13211 libtool_VERSION
=1:0:0
13214 # Check header files.
13215 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13216 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13217 if test "${ac_cv_header_stdc+set}" = set; then
13218 echo $ECHO_N "(cached) $ECHO_C" >&6
13220 cat >conftest.
$ac_ext <<_ACEOF
13223 cat confdefs.h
>>conftest.
$ac_ext
13224 cat >>conftest.
$ac_ext <<_ACEOF
13225 /* end confdefs.h. */
13226 #include <stdlib.h>
13227 #include <stdarg.h>
13228 #include <string.h>
13239 rm -f conftest.
$ac_objext
13240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13241 (eval $ac_compile) 2>conftest.er1
13243 grep -v '^ *+' conftest.er1
>conftest.err
13245 cat conftest.err
>&5
13246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13247 (exit $ac_status); } &&
13248 { ac_try
='test -z "$ac_c_werror_flag"
13249 || test ! -s conftest.err'
13250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13251 (eval $ac_try) 2>&5
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }; } &&
13255 { ac_try
='test -s conftest.$ac_objext'
13256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13257 (eval $ac_try) 2>&5
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); }; }; then
13261 ac_cv_header_stdc
=yes
13263 echo "$as_me: failed program was:" >&5
13264 sed 's/^/| /' conftest.
$ac_ext >&5
13266 ac_cv_header_stdc
=no
13268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13270 if test $ac_cv_header_stdc = yes; then
13271 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13272 cat >conftest.
$ac_ext <<_ACEOF
13275 cat confdefs.h
>>conftest.
$ac_ext
13276 cat >>conftest.
$ac_ext <<_ACEOF
13277 /* end confdefs.h. */
13278 #include <string.h>
13281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13282 $EGREP "memchr" >/dev
/null
2>&1; then
13285 ac_cv_header_stdc
=no
13291 if test $ac_cv_header_stdc = yes; then
13292 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13293 cat >conftest.
$ac_ext <<_ACEOF
13296 cat confdefs.h
>>conftest.
$ac_ext
13297 cat >>conftest.
$ac_ext <<_ACEOF
13298 /* end confdefs.h. */
13299 #include <stdlib.h>
13302 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13303 $EGREP "free" >/dev
/null
2>&1; then
13306 ac_cv_header_stdc
=no
13312 if test $ac_cv_header_stdc = yes; then
13313 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13314 if test "$cross_compiling" = yes; then
13317 cat >conftest.
$ac_ext <<_ACEOF
13320 cat confdefs.h
>>conftest.
$ac_ext
13321 cat >>conftest.
$ac_ext <<_ACEOF
13322 /* end confdefs.h. */
13324 #if ((' ' & 0x0FF) == 0x020)
13325 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13326 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13328 # define ISLOWER(c) \
13329 (('a' <= (c) && (c) <= 'i') \
13330 || ('j' <= (c) && (c) <= 'r') \
13331 || ('s' <= (c) && (c) <= 'z'))
13332 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13335 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13340 for (i = 0; i < 256; i++)
13341 if (XOR (islower (i), ISLOWER (i))
13342 || toupper (i) != TOUPPER (i))
13347 rm -f conftest
$ac_exeext
13348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13349 (eval $ac_link) 2>&5
13351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13352 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13354 (eval $ac_try) 2>&5
13356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357 (exit $ac_status); }; }; then
13360 echo "$as_me: program exited with status $ac_status" >&5
13361 echo "$as_me: failed program was:" >&5
13362 sed 's/^/| /' conftest.
$ac_ext >&5
13364 ( exit $ac_status )
13365 ac_cv_header_stdc
=no
13367 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13371 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13372 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13373 if test $ac_cv_header_stdc = yes; then
13375 cat >>confdefs.h
<<\_ACEOF
13376 #define STDC_HEADERS 1
13381 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
13382 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
13383 if test "${ac_cv_header_time+set}" = set; then
13384 echo $ECHO_N "(cached) $ECHO_C" >&6
13386 cat >conftest.
$ac_ext <<_ACEOF
13389 cat confdefs.h
>>conftest.
$ac_ext
13390 cat >>conftest.
$ac_ext <<_ACEOF
13391 /* end confdefs.h. */
13392 #include <sys/types.h>
13393 #include <sys/time.h>
13399 if ((struct tm *) 0)
13405 rm -f conftest.
$ac_objext
13406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13407 (eval $ac_compile) 2>conftest.er1
13409 grep -v '^ *+' conftest.er1
>conftest.err
13411 cat conftest.err
>&5
13412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13413 (exit $ac_status); } &&
13414 { ac_try
='test -z "$ac_c_werror_flag"
13415 || test ! -s conftest.err'
13416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13417 (eval $ac_try) 2>&5
13419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13420 (exit $ac_status); }; } &&
13421 { ac_try
='test -s conftest.$ac_objext'
13422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13423 (eval $ac_try) 2>&5
13425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13426 (exit $ac_status); }; }; then
13427 ac_cv_header_time
=yes
13429 echo "$as_me: failed program was:" >&5
13430 sed 's/^/| /' conftest.
$ac_ext >&5
13432 ac_cv_header_time
=no
13434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13436 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
13437 echo "${ECHO_T}$ac_cv_header_time" >&6
13438 if test $ac_cv_header_time = yes; then
13440 cat >>confdefs.h
<<\_ACEOF
13441 #define TIME_WITH_SYS_TIME 1
13450 for ac_header
in unistd.h semaphore.h sys
/loadavg.h sys
/time.h
13452 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13454 echo "$as_me:$LINENO: checking for $ac_header" >&5
13455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13457 echo $ECHO_N "(cached) $ECHO_C" >&6
13459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13462 # Is the header compilable?
13463 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13464 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13465 cat >conftest.
$ac_ext <<_ACEOF
13468 cat confdefs.h
>>conftest.
$ac_ext
13469 cat >>conftest.
$ac_ext <<_ACEOF
13470 /* end confdefs.h. */
13471 $ac_includes_default
13472 #include <$ac_header>
13474 rm -f conftest.
$ac_objext
13475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13476 (eval $ac_compile) 2>conftest.er1
13478 grep -v '^ *+' conftest.er1
>conftest.err
13480 cat conftest.err
>&5
13481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13482 (exit $ac_status); } &&
13483 { ac_try
='test -z "$ac_c_werror_flag"
13484 || test ! -s conftest.err'
13485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13486 (eval $ac_try) 2>&5
13488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13489 (exit $ac_status); }; } &&
13490 { ac_try
='test -s conftest.$ac_objext'
13491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13492 (eval $ac_try) 2>&5
13494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13495 (exit $ac_status); }; }; then
13496 ac_header_compiler
=yes
13498 echo "$as_me: failed program was:" >&5
13499 sed 's/^/| /' conftest.
$ac_ext >&5
13501 ac_header_compiler
=no
13503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13504 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13505 echo "${ECHO_T}$ac_header_compiler" >&6
13507 # Is the header present?
13508 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13509 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13510 cat >conftest.
$ac_ext <<_ACEOF
13513 cat confdefs.h
>>conftest.
$ac_ext
13514 cat >>conftest.
$ac_ext <<_ACEOF
13515 /* end confdefs.h. */
13516 #include <$ac_header>
13518 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13519 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13521 grep -v '^ *+' conftest.er1
>conftest.err
13523 cat conftest.err
>&5
13524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13525 (exit $ac_status); } >/dev
/null
; then
13526 if test -s conftest.err
; then
13527 ac_cpp_err
=$ac_c_preproc_warn_flag
13528 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13535 if test -z "$ac_cpp_err"; then
13536 ac_header_preproc
=yes
13538 echo "$as_me: failed program was:" >&5
13539 sed 's/^/| /' conftest.
$ac_ext >&5
13541 ac_header_preproc
=no
13543 rm -f conftest.err conftest.
$ac_ext
13544 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13545 echo "${ECHO_T}$ac_header_preproc" >&6
13547 # So? What about this header?
13548 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13550 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13551 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13552 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13553 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13554 ac_header_preproc
=yes
13557 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13558 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13559 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13560 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13561 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13562 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13563 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13564 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13566 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13567 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13568 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13571 ## ----------------------------------------------------- ##
13572 ## Report this to the GNU OpenMP Runtime Library lists. ##
13573 ## ----------------------------------------------------- ##
13576 sed "s/^/$as_me: WARNING: /" >&2
13579 echo "$as_me:$LINENO: checking for $ac_header" >&5
13580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13582 echo $ECHO_N "(cached) $ECHO_C" >&6
13584 eval "$as_ac_Header=\$ac_header_preproc"
13586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13590 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13591 cat >>confdefs.h
<<_ACEOF
13592 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13602 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
13604 acx_cv_header_stdint
=stddef.h
13605 acx_cv_header_stdint_kind
="(already complete)"
13606 for i
in stdint.h
$inttype_headers; do
13607 unset ac_cv_type_uintptr_t
13608 unset ac_cv_type_uintmax_t
13609 unset ac_cv_type_int_least32_t
13610 unset ac_cv_type_int_fast32_t
13611 unset ac_cv_type_uint64_t
13612 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
13613 echo "$as_me:$LINENO: checking for uintmax_t" >&5
13614 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
13615 if test "${ac_cv_type_uintmax_t+set}" = set; then
13616 echo $ECHO_N "(cached) $ECHO_C" >&6
13618 cat >conftest.
$ac_ext <<_ACEOF
13621 cat confdefs.h
>>conftest.
$ac_ext
13622 cat >>conftest.
$ac_ext <<_ACEOF
13623 /* end confdefs.h. */
13624 #include <sys/types.h>
13630 if ((uintmax_t *) 0)
13632 if (sizeof (uintmax_t))
13638 rm -f conftest.
$ac_objext
13639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13640 (eval $ac_compile) 2>conftest.er1
13642 grep -v '^ *+' conftest.er1
>conftest.err
13644 cat conftest.err
>&5
13645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13646 (exit $ac_status); } &&
13647 { ac_try
='test -z "$ac_c_werror_flag"
13648 || test ! -s conftest.err'
13649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13650 (eval $ac_try) 2>&5
13652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13653 (exit $ac_status); }; } &&
13654 { ac_try
='test -s conftest.$ac_objext'
13655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13656 (eval $ac_try) 2>&5
13658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13659 (exit $ac_status); }; }; then
13660 ac_cv_type_uintmax_t
=yes
13662 echo "$as_me: failed program was:" >&5
13663 sed 's/^/| /' conftest.
$ac_ext >&5
13665 ac_cv_type_uintmax_t
=no
13667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13669 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
13670 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
13671 if test $ac_cv_type_uintmax_t = yes; then
13672 acx_cv_header_stdint
=$i
13677 echo "$as_me:$LINENO: checking for uintptr_t" >&5
13678 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
13679 if test "${ac_cv_type_uintptr_t+set}" = set; then
13680 echo $ECHO_N "(cached) $ECHO_C" >&6
13682 cat >conftest.
$ac_ext <<_ACEOF
13685 cat confdefs.h
>>conftest.
$ac_ext
13686 cat >>conftest.
$ac_ext <<_ACEOF
13687 /* end confdefs.h. */
13688 #include <sys/types.h>
13694 if ((uintptr_t *) 0)
13696 if (sizeof (uintptr_t))
13702 rm -f conftest.
$ac_objext
13703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13704 (eval $ac_compile) 2>conftest.er1
13706 grep -v '^ *+' conftest.er1
>conftest.err
13708 cat conftest.err
>&5
13709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13710 (exit $ac_status); } &&
13711 { ac_try
='test -z "$ac_c_werror_flag"
13712 || test ! -s conftest.err'
13713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13714 (eval $ac_try) 2>&5
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); }; } &&
13718 { ac_try
='test -s conftest.$ac_objext'
13719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13720 (eval $ac_try) 2>&5
13722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 (exit $ac_status); }; }; then
13724 ac_cv_type_uintptr_t
=yes
13726 echo "$as_me: failed program was:" >&5
13727 sed 's/^/| /' conftest.
$ac_ext >&5
13729 ac_cv_type_uintptr_t
=no
13731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13733 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
13734 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
13735 if test $ac_cv_type_uintptr_t = yes; then
13738 acx_cv_header_stdint_kind
="(mostly complete)"
13741 echo "$as_me:$LINENO: checking for int_least32_t" >&5
13742 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
13743 if test "${ac_cv_type_int_least32_t+set}" = set; then
13744 echo $ECHO_N "(cached) $ECHO_C" >&6
13746 cat >conftest.
$ac_ext <<_ACEOF
13749 cat confdefs.h
>>conftest.
$ac_ext
13750 cat >>conftest.
$ac_ext <<_ACEOF
13751 /* end confdefs.h. */
13752 #include <sys/types.h>
13758 if ((int_least32_t *) 0)
13760 if (sizeof (int_least32_t))
13766 rm -f conftest.
$ac_objext
13767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13768 (eval $ac_compile) 2>conftest.er1
13770 grep -v '^ *+' conftest.er1
>conftest.err
13772 cat conftest.err
>&5
13773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774 (exit $ac_status); } &&
13775 { ac_try
='test -z "$ac_c_werror_flag"
13776 || test ! -s conftest.err'
13777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13778 (eval $ac_try) 2>&5
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); }; } &&
13782 { ac_try
='test -s conftest.$ac_objext'
13783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13784 (eval $ac_try) 2>&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); }; }; then
13788 ac_cv_type_int_least32_t
=yes
13790 echo "$as_me: failed program was:" >&5
13791 sed 's/^/| /' conftest.
$ac_ext >&5
13793 ac_cv_type_int_least32_t
=no
13795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13797 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
13798 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
13799 if test $ac_cv_type_int_least32_t = yes; then
13802 acx_cv_header_stdint_kind
="(mostly complete)"
13805 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
13806 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
13807 if test "${ac_cv_type_int_fast32_t+set}" = set; then
13808 echo $ECHO_N "(cached) $ECHO_C" >&6
13810 cat >conftest.
$ac_ext <<_ACEOF
13813 cat confdefs.h
>>conftest.
$ac_ext
13814 cat >>conftest.
$ac_ext <<_ACEOF
13815 /* end confdefs.h. */
13816 #include <sys/types.h>
13822 if ((int_fast32_t *) 0)
13824 if (sizeof (int_fast32_t))
13830 rm -f conftest.
$ac_objext
13831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13832 (eval $ac_compile) 2>conftest.er1
13834 grep -v '^ *+' conftest.er1
>conftest.err
13836 cat conftest.err
>&5
13837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13838 (exit $ac_status); } &&
13839 { ac_try
='test -z "$ac_c_werror_flag"
13840 || test ! -s conftest.err'
13841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13842 (eval $ac_try) 2>&5
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); }; } &&
13846 { ac_try
='test -s conftest.$ac_objext'
13847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13848 (eval $ac_try) 2>&5
13850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851 (exit $ac_status); }; }; then
13852 ac_cv_type_int_fast32_t
=yes
13854 echo "$as_me: failed program was:" >&5
13855 sed 's/^/| /' conftest.
$ac_ext >&5
13857 ac_cv_type_int_fast32_t
=no
13859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13861 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
13862 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
13863 if test $ac_cv_type_int_fast32_t = yes; then
13866 acx_cv_header_stdint_kind
="(mostly complete)"
13869 echo "$as_me:$LINENO: checking for uint64_t" >&5
13870 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
13871 if test "${ac_cv_type_uint64_t+set}" = set; then
13872 echo $ECHO_N "(cached) $ECHO_C" >&6
13874 cat >conftest.
$ac_ext <<_ACEOF
13877 cat confdefs.h
>>conftest.
$ac_ext
13878 cat >>conftest.
$ac_ext <<_ACEOF
13879 /* end confdefs.h. */
13880 #include <sys/types.h>
13886 if ((uint64_t *) 0)
13888 if (sizeof (uint64_t))
13894 rm -f conftest.
$ac_objext
13895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13896 (eval $ac_compile) 2>conftest.er1
13898 grep -v '^ *+' conftest.er1
>conftest.err
13900 cat conftest.err
>&5
13901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902 (exit $ac_status); } &&
13903 { ac_try
='test -z "$ac_c_werror_flag"
13904 || test ! -s conftest.err'
13905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13906 (eval $ac_try) 2>&5
13908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13909 (exit $ac_status); }; } &&
13910 { ac_try
='test -s conftest.$ac_objext'
13911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13912 (eval $ac_try) 2>&5
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); }; }; then
13916 ac_cv_type_uint64_t
=yes
13918 echo "$as_me: failed program was:" >&5
13919 sed 's/^/| /' conftest.
$ac_ext >&5
13921 ac_cv_type_uint64_t
=no
13923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13925 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
13926 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
13927 if test $ac_cv_type_uint64_t = yes; then
13930 acx_cv_header_stdint_kind
="(lacks uint64_t)"
13935 if test "$acx_cv_header_stdint" = stddef.h
; then
13936 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
13937 for i
in stdint.h
$inttype_headers; do
13938 unset ac_cv_type_uintptr_t
13939 unset ac_cv_type_uint32_t
13940 unset ac_cv_type_uint64_t
13941 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
13942 echo "$as_me:$LINENO: checking for uint32_t" >&5
13943 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
13944 if test "${ac_cv_type_uint32_t+set}" = set; then
13945 echo $ECHO_N "(cached) $ECHO_C" >&6
13947 cat >conftest.
$ac_ext <<_ACEOF
13950 cat confdefs.h
>>conftest.
$ac_ext
13951 cat >>conftest.
$ac_ext <<_ACEOF
13952 /* end confdefs.h. */
13953 #include <sys/types.h>
13959 if ((uint32_t *) 0)
13961 if (sizeof (uint32_t))
13967 rm -f conftest.
$ac_objext
13968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13969 (eval $ac_compile) 2>conftest.er1
13971 grep -v '^ *+' conftest.er1
>conftest.err
13973 cat conftest.err
>&5
13974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975 (exit $ac_status); } &&
13976 { ac_try
='test -z "$ac_c_werror_flag"
13977 || test ! -s conftest.err'
13978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13979 (eval $ac_try) 2>&5
13981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982 (exit $ac_status); }; } &&
13983 { ac_try
='test -s conftest.$ac_objext'
13984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13985 (eval $ac_try) 2>&5
13987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988 (exit $ac_status); }; }; then
13989 ac_cv_type_uint32_t
=yes
13991 echo "$as_me: failed program was:" >&5
13992 sed 's/^/| /' conftest.
$ac_ext >&5
13994 ac_cv_type_uint32_t
=no
13996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13998 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
13999 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
14000 if test $ac_cv_type_uint32_t = yes; then
14001 acx_cv_header_stdint
=$i
14006 echo "$as_me:$LINENO: checking for uint64_t" >&5
14007 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
14008 if test "${ac_cv_type_uint64_t+set}" = set; then
14009 echo $ECHO_N "(cached) $ECHO_C" >&6
14011 cat >conftest.
$ac_ext <<_ACEOF
14014 cat confdefs.h
>>conftest.
$ac_ext
14015 cat >>conftest.
$ac_ext <<_ACEOF
14016 /* end confdefs.h. */
14017 #include <sys/types.h>
14023 if ((uint64_t *) 0)
14025 if (sizeof (uint64_t))
14031 rm -f conftest.
$ac_objext
14032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14033 (eval $ac_compile) 2>conftest.er1
14035 grep -v '^ *+' conftest.er1
>conftest.err
14037 cat conftest.err
>&5
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); } &&
14040 { ac_try
='test -z "$ac_c_werror_flag"
14041 || test ! -s conftest.err'
14042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14043 (eval $ac_try) 2>&5
14045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14046 (exit $ac_status); }; } &&
14047 { ac_try
='test -s conftest.$ac_objext'
14048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14049 (eval $ac_try) 2>&5
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); }; }; then
14053 ac_cv_type_uint64_t
=yes
14055 echo "$as_me: failed program was:" >&5
14056 sed 's/^/| /' conftest.
$ac_ext >&5
14058 ac_cv_type_uint64_t
=no
14060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14062 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
14063 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
14065 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14066 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14067 if test "${ac_cv_type_uintptr_t+set}" = set; then
14068 echo $ECHO_N "(cached) $ECHO_C" >&6
14070 cat >conftest.
$ac_ext <<_ACEOF
14073 cat confdefs.h
>>conftest.
$ac_ext
14074 cat >>conftest.
$ac_ext <<_ACEOF
14075 /* end confdefs.h. */
14076 #include <sys/types.h>
14082 if ((uintptr_t *) 0)
14084 if (sizeof (uintptr_t))
14090 rm -f conftest.
$ac_objext
14091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14092 (eval $ac_compile) 2>conftest.er1
14094 grep -v '^ *+' conftest.er1
>conftest.err
14096 cat conftest.err
>&5
14097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14098 (exit $ac_status); } &&
14099 { ac_try
='test -z "$ac_c_werror_flag"
14100 || test ! -s conftest.err'
14101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14102 (eval $ac_try) 2>&5
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); }; } &&
14106 { ac_try
='test -s conftest.$ac_objext'
14107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14108 (eval $ac_try) 2>&5
14110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14111 (exit $ac_status); }; }; then
14112 ac_cv_type_uintptr_t
=yes
14114 echo "$as_me: failed program was:" >&5
14115 sed 's/^/| /' conftest.
$ac_ext >&5
14117 ac_cv_type_uintptr_t
=no
14119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14121 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14122 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14127 if test "$acx_cv_header_stdint" = stddef.h
; then
14128 acx_cv_header_stdint_kind
="(u_intXX_t style)"
14129 for i
in sys
/types.h
$inttype_headers; do
14130 unset ac_cv_type_u_int32_t
14131 unset ac_cv_type_u_int64_t
14132 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
14133 echo "$as_me:$LINENO: checking for u_int32_t" >&5
14134 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
14135 if test "${ac_cv_type_u_int32_t+set}" = set; then
14136 echo $ECHO_N "(cached) $ECHO_C" >&6
14138 cat >conftest.
$ac_ext <<_ACEOF
14141 cat confdefs.h
>>conftest.
$ac_ext
14142 cat >>conftest.
$ac_ext <<_ACEOF
14143 /* end confdefs.h. */
14144 #include <sys/types.h>
14150 if ((u_int32_t *) 0)
14152 if (sizeof (u_int32_t))
14158 rm -f conftest.
$ac_objext
14159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14160 (eval $ac_compile) 2>conftest.er1
14162 grep -v '^ *+' conftest.er1
>conftest.err
14164 cat conftest.err
>&5
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); } &&
14167 { ac_try
='test -z "$ac_c_werror_flag"
14168 || test ! -s conftest.err'
14169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170 (eval $ac_try) 2>&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; } &&
14174 { ac_try
='test -s conftest.$ac_objext'
14175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176 (eval $ac_try) 2>&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); }; }; then
14180 ac_cv_type_u_int32_t
=yes
14182 echo "$as_me: failed program was:" >&5
14183 sed 's/^/| /' conftest.
$ac_ext >&5
14185 ac_cv_type_u_int32_t
=no
14187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14189 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
14190 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
14191 if test $ac_cv_type_u_int32_t = yes; then
14192 acx_cv_header_stdint
=$i
14197 echo "$as_me:$LINENO: checking for u_int64_t" >&5
14198 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
14199 if test "${ac_cv_type_u_int64_t+set}" = set; then
14200 echo $ECHO_N "(cached) $ECHO_C" >&6
14202 cat >conftest.
$ac_ext <<_ACEOF
14205 cat confdefs.h
>>conftest.
$ac_ext
14206 cat >>conftest.
$ac_ext <<_ACEOF
14207 /* end confdefs.h. */
14208 #include <sys/types.h>
14214 if ((u_int64_t *) 0)
14216 if (sizeof (u_int64_t))
14222 rm -f conftest.
$ac_objext
14223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14224 (eval $ac_compile) 2>conftest.er1
14226 grep -v '^ *+' conftest.er1
>conftest.err
14228 cat conftest.err
>&5
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); } &&
14231 { ac_try
='test -z "$ac_c_werror_flag"
14232 || test ! -s conftest.err'
14233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14234 (eval $ac_try) 2>&5
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); }; } &&
14238 { ac_try
='test -s conftest.$ac_objext'
14239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14240 (eval $ac_try) 2>&5
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); }; }; then
14244 ac_cv_type_u_int64_t
=yes
14246 echo "$as_me: failed program was:" >&5
14247 sed 's/^/| /' conftest.
$ac_ext >&5
14249 ac_cv_type_u_int64_t
=no
14251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14253 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
14254 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
14259 if test "$acx_cv_header_stdint" = stddef.h
; then
14260 acx_cv_header_stdint_kind
="(using manual detection)"
14263 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
14264 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
14265 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
14266 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
14267 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
14269 # ----------------- Summarize what we found so far
14271 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
14272 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
14274 case `$as_basename gstdint.h ||
14275 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
14276 Xgstdint.h : 'X\(//\)$' \| \
14277 Xgstdint.h : 'X\(/\)$' \| \
14278 . : '\(.\)' 2>/dev/null ||
14280 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14281 /^X\/\(\/\/\)$/{ s//\1/; q; }
14282 /^X\/\(\/\).*/{ s//\1/; q; }
14284 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
14285 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
14286 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
14287 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
14291 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
14292 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
14294 # ----------------- done included file, check C basic types --------
14296 # Lacking an uintptr_t? Test size of void *
14297 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
14298 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
14299 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14300 if test "${ac_cv_type_void_p+set}" = set; then
14301 echo $ECHO_N "(cached) $ECHO_C" >&6
14303 cat >conftest.
$ac_ext <<_ACEOF
14306 cat confdefs.h
>>conftest.
$ac_ext
14307 cat >>conftest.
$ac_ext <<_ACEOF
14308 /* end confdefs.h. */
14309 $ac_includes_default
14315 if (sizeof (void *))
14321 rm -f conftest.
$ac_objext
14322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14323 (eval $ac_compile) 2>conftest.er1
14325 grep -v '^ *+' conftest.er1
>conftest.err
14327 cat conftest.err
>&5
14328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329 (exit $ac_status); } &&
14330 { ac_try
='test -z "$ac_c_werror_flag"
14331 || test ! -s conftest.err'
14332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14333 (eval $ac_try) 2>&5
14335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336 (exit $ac_status); }; } &&
14337 { ac_try
='test -s conftest.$ac_objext'
14338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14339 (eval $ac_try) 2>&5
14341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14342 (exit $ac_status); }; }; then
14343 ac_cv_type_void_p
=yes
14345 echo "$as_me: failed program was:" >&5
14346 sed 's/^/| /' conftest.
$ac_ext >&5
14348 ac_cv_type_void_p
=no
14350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14352 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14353 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14355 echo "$as_me:$LINENO: checking size of void *" >&5
14356 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14357 if test "${ac_cv_sizeof_void_p+set}" = set; then
14358 echo $ECHO_N "(cached) $ECHO_C" >&6
14360 if test "$ac_cv_type_void_p" = yes; then
14361 # The cast to unsigned long works around a bug in the HP C Compiler
14362 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14363 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14364 # This bug is HP SR number 8606223364.
14365 if test "$cross_compiling" = yes; then
14366 # Depending upon the size, compute the lo and hi bounds.
14367 cat >conftest.
$ac_ext <<_ACEOF
14370 cat confdefs.h
>>conftest.
$ac_ext
14371 cat >>conftest.
$ac_ext <<_ACEOF
14372 /* end confdefs.h. */
14373 $ac_includes_default
14377 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14384 rm -f conftest.
$ac_objext
14385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14386 (eval $ac_compile) 2>conftest.er1
14388 grep -v '^ *+' conftest.er1
>conftest.err
14390 cat conftest.err
>&5
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); } &&
14393 { ac_try
='test -z "$ac_c_werror_flag"
14394 || test ! -s conftest.err'
14395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14396 (eval $ac_try) 2>&5
14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399 (exit $ac_status); }; } &&
14400 { ac_try
='test -s conftest.$ac_objext'
14401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14402 (eval $ac_try) 2>&5
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); }; }; then
14408 cat >conftest.
$ac_ext <<_ACEOF
14411 cat confdefs.h
>>conftest.
$ac_ext
14412 cat >>conftest.
$ac_ext <<_ACEOF
14413 /* end confdefs.h. */
14414 $ac_includes_default
14418 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14425 rm -f conftest.
$ac_objext
14426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14427 (eval $ac_compile) 2>conftest.er1
14429 grep -v '^ *+' conftest.er1
>conftest.err
14431 cat conftest.err
>&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); } &&
14434 { ac_try
='test -z "$ac_c_werror_flag"
14435 || test ! -s conftest.err'
14436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14437 (eval $ac_try) 2>&5
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); }; } &&
14441 { ac_try
='test -s conftest.$ac_objext'
14442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14443 (eval $ac_try) 2>&5
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); }; }; then
14447 ac_hi
=$ac_mid; break
14449 echo "$as_me: failed program was:" >&5
14450 sed 's/^/| /' conftest.
$ac_ext >&5
14452 ac_lo
=`expr $ac_mid + 1`
14453 if test $ac_lo -le $ac_mid; then
14457 ac_mid
=`expr 2 '*' $ac_mid + 1`
14459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14462 echo "$as_me: failed program was:" >&5
14463 sed 's/^/| /' conftest.
$ac_ext >&5
14465 cat >conftest.
$ac_ext <<_ACEOF
14468 cat confdefs.h
>>conftest.
$ac_ext
14469 cat >>conftest.
$ac_ext <<_ACEOF
14470 /* end confdefs.h. */
14471 $ac_includes_default
14475 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14482 rm -f conftest.
$ac_objext
14483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14484 (eval $ac_compile) 2>conftest.er1
14486 grep -v '^ *+' conftest.er1
>conftest.err
14488 cat conftest.err
>&5
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); } &&
14491 { ac_try
='test -z "$ac_c_werror_flag"
14492 || test ! -s conftest.err'
14493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14494 (eval $ac_try) 2>&5
14496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14497 (exit $ac_status); }; } &&
14498 { ac_try
='test -s conftest.$ac_objext'
14499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14500 (eval $ac_try) 2>&5
14502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14503 (exit $ac_status); }; }; then
14506 cat >conftest.
$ac_ext <<_ACEOF
14509 cat confdefs.h
>>conftest.
$ac_ext
14510 cat >>conftest.
$ac_ext <<_ACEOF
14511 /* end confdefs.h. */
14512 $ac_includes_default
14516 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14523 rm -f conftest.
$ac_objext
14524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14525 (eval $ac_compile) 2>conftest.er1
14527 grep -v '^ *+' conftest.er1
>conftest.err
14529 cat conftest.err
>&5
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); } &&
14532 { ac_try
='test -z "$ac_c_werror_flag"
14533 || test ! -s conftest.err'
14534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14535 (eval $ac_try) 2>&5
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); }; } &&
14539 { ac_try
='test -s conftest.$ac_objext'
14540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14541 (eval $ac_try) 2>&5
14543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14544 (exit $ac_status); }; }; then
14545 ac_lo
=$ac_mid; break
14547 echo "$as_me: failed program was:" >&5
14548 sed 's/^/| /' conftest.
$ac_ext >&5
14550 ac_hi
=`expr '(' $ac_mid ')' - 1`
14551 if test $ac_mid -le $ac_hi; then
14555 ac_mid
=`expr 2 '*' $ac_mid`
14557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14560 echo "$as_me: failed program was:" >&5
14561 sed 's/^/| /' conftest.
$ac_ext >&5
14565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14568 # Binary search between lo and hi bounds.
14569 while test "x$ac_lo" != "x$ac_hi"; do
14570 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14571 cat >conftest.
$ac_ext <<_ACEOF
14574 cat confdefs.h
>>conftest.
$ac_ext
14575 cat >>conftest.
$ac_ext <<_ACEOF
14576 /* end confdefs.h. */
14577 $ac_includes_default
14581 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14588 rm -f conftest.
$ac_objext
14589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14590 (eval $ac_compile) 2>conftest.er1
14592 grep -v '^ *+' conftest.er1
>conftest.err
14594 cat conftest.err
>&5
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); } &&
14597 { ac_try
='test -z "$ac_c_werror_flag"
14598 || test ! -s conftest.err'
14599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14600 (eval $ac_try) 2>&5
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; } &&
14604 { ac_try
='test -s conftest.$ac_objext'
14605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14606 (eval $ac_try) 2>&5
14608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14609 (exit $ac_status); }; }; then
14612 echo "$as_me: failed program was:" >&5
14613 sed 's/^/| /' conftest.
$ac_ext >&5
14615 ac_lo
=`expr '(' $ac_mid ')' + 1`
14617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14620 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14621 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14622 See \`config.log' for more details." >&5
14623 echo "$as_me: error: cannot compute sizeof (void *), 77
14624 See \`config.log' for more details." >&2;}
14625 { (exit 1); exit 1; }; } ;;
14628 if test "$cross_compiling" = yes; then
14629 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14630 See \`config.log' for more details." >&5
14631 echo "$as_me: error: cannot run test program while cross compiling
14632 See \`config.log' for more details." >&2;}
14633 { (exit 1); exit 1; }; }
14635 cat >conftest.
$ac_ext <<_ACEOF
14638 cat confdefs.h
>>conftest.
$ac_ext
14639 cat >>conftest.
$ac_ext <<_ACEOF
14640 /* end confdefs.h. */
14641 $ac_includes_default
14642 long longval () { return (long) (sizeof (void *)); }
14643 unsigned long ulongval () { return (long) (sizeof (void *)); }
14645 #include <stdlib.h>
14650 FILE *f = fopen ("conftest.val", "w");
14653 if (((long) (sizeof (void *))) < 0)
14655 long i = longval ();
14656 if (i != ((long) (sizeof (void *))))
14658 fprintf (f, "%ld\n", i);
14662 unsigned long i = ulongval ();
14663 if (i != ((long) (sizeof (void *))))
14665 fprintf (f, "%lu\n", i);
14667 exit (ferror (f) || fclose (f) != 0);
14673 rm -f conftest
$ac_exeext
14674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14675 (eval $ac_link) 2>&5
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14680 (eval $ac_try) 2>&5
14682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14683 (exit $ac_status); }; }; then
14684 ac_cv_sizeof_void_p
=`cat conftest.val`
14686 echo "$as_me: program exited with status $ac_status" >&5
14687 echo "$as_me: failed program was:" >&5
14688 sed 's/^/| /' conftest.
$ac_ext >&5
14690 ( exit $ac_status )
14691 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14692 See \`config.log' for more details." >&5
14693 echo "$as_me: error: cannot compute sizeof (void *), 77
14694 See \`config.log' for more details." >&2;}
14695 { (exit 1); exit 1; }; }
14697 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14702 ac_cv_sizeof_void_p
=0
14705 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14706 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14707 cat >>confdefs.h
<<_ACEOF
14708 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14714 # Lacking an uint64_t? Test size of long
14715 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
14716 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
14717 echo $ECHO_N "checking for long... $ECHO_C" >&6
14718 if test "${ac_cv_type_long+set}" = set; then
14719 echo $ECHO_N "(cached) $ECHO_C" >&6
14721 cat >conftest.
$ac_ext <<_ACEOF
14724 cat confdefs.h
>>conftest.
$ac_ext
14725 cat >>conftest.
$ac_ext <<_ACEOF
14726 /* end confdefs.h. */
14727 $ac_includes_default
14739 rm -f conftest.
$ac_objext
14740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14741 (eval $ac_compile) 2>conftest.er1
14743 grep -v '^ *+' conftest.er1
>conftest.err
14745 cat conftest.err
>&5
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); } &&
14748 { ac_try
='test -z "$ac_c_werror_flag"
14749 || test ! -s conftest.err'
14750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14751 (eval $ac_try) 2>&5
14753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14754 (exit $ac_status); }; } &&
14755 { ac_try
='test -s conftest.$ac_objext'
14756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14757 (eval $ac_try) 2>&5
14759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760 (exit $ac_status); }; }; then
14761 ac_cv_type_long
=yes
14763 echo "$as_me: failed program was:" >&5
14764 sed 's/^/| /' conftest.
$ac_ext >&5
14768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14770 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
14771 echo "${ECHO_T}$ac_cv_type_long" >&6
14773 echo "$as_me:$LINENO: checking size of long" >&5
14774 echo $ECHO_N "checking size of long... $ECHO_C" >&6
14775 if test "${ac_cv_sizeof_long+set}" = set; then
14776 echo $ECHO_N "(cached) $ECHO_C" >&6
14778 if test "$ac_cv_type_long" = yes; then
14779 # The cast to unsigned long works around a bug in the HP C Compiler
14780 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14781 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14782 # This bug is HP SR number 8606223364.
14783 if test "$cross_compiling" = yes; then
14784 # Depending upon the size, compute the lo and hi bounds.
14785 cat >conftest.
$ac_ext <<_ACEOF
14788 cat confdefs.h
>>conftest.
$ac_ext
14789 cat >>conftest.
$ac_ext <<_ACEOF
14790 /* end confdefs.h. */
14791 $ac_includes_default
14795 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
14802 rm -f conftest.
$ac_objext
14803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14804 (eval $ac_compile) 2>conftest.er1
14806 grep -v '^ *+' conftest.er1
>conftest.err
14808 cat conftest.err
>&5
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); } &&
14811 { ac_try
='test -z "$ac_c_werror_flag"
14812 || test ! -s conftest.err'
14813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14814 (eval $ac_try) 2>&5
14816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817 (exit $ac_status); }; } &&
14818 { ac_try
='test -s conftest.$ac_objext'
14819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14820 (eval $ac_try) 2>&5
14822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14823 (exit $ac_status); }; }; then
14826 cat >conftest.
$ac_ext <<_ACEOF
14829 cat confdefs.h
>>conftest.
$ac_ext
14830 cat >>conftest.
$ac_ext <<_ACEOF
14831 /* end confdefs.h. */
14832 $ac_includes_default
14836 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
14843 rm -f conftest.
$ac_objext
14844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14845 (eval $ac_compile) 2>conftest.er1
14847 grep -v '^ *+' conftest.er1
>conftest.err
14849 cat conftest.err
>&5
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); } &&
14852 { ac_try
='test -z "$ac_c_werror_flag"
14853 || test ! -s conftest.err'
14854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14855 (eval $ac_try) 2>&5
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); }; } &&
14859 { ac_try
='test -s conftest.$ac_objext'
14860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14861 (eval $ac_try) 2>&5
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); }; }; then
14865 ac_hi
=$ac_mid; break
14867 echo "$as_me: failed program was:" >&5
14868 sed 's/^/| /' conftest.
$ac_ext >&5
14870 ac_lo
=`expr $ac_mid + 1`
14871 if test $ac_lo -le $ac_mid; then
14875 ac_mid
=`expr 2 '*' $ac_mid + 1`
14877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14880 echo "$as_me: failed program was:" >&5
14881 sed 's/^/| /' conftest.
$ac_ext >&5
14883 cat >conftest.
$ac_ext <<_ACEOF
14886 cat confdefs.h
>>conftest.
$ac_ext
14887 cat >>conftest.
$ac_ext <<_ACEOF
14888 /* end confdefs.h. */
14889 $ac_includes_default
14893 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
14900 rm -f conftest.
$ac_objext
14901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14902 (eval $ac_compile) 2>conftest.er1
14904 grep -v '^ *+' conftest.er1
>conftest.err
14906 cat conftest.err
>&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); } &&
14909 { ac_try
='test -z "$ac_c_werror_flag"
14910 || test ! -s conftest.err'
14911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14912 (eval $ac_try) 2>&5
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); }; } &&
14916 { ac_try
='test -s conftest.$ac_objext'
14917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14918 (eval $ac_try) 2>&5
14920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921 (exit $ac_status); }; }; then
14924 cat >conftest.
$ac_ext <<_ACEOF
14927 cat confdefs.h
>>conftest.
$ac_ext
14928 cat >>conftest.
$ac_ext <<_ACEOF
14929 /* end confdefs.h. */
14930 $ac_includes_default
14934 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
14941 rm -f conftest.
$ac_objext
14942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14943 (eval $ac_compile) 2>conftest.er1
14945 grep -v '^ *+' conftest.er1
>conftest.err
14947 cat conftest.err
>&5
14948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14949 (exit $ac_status); } &&
14950 { ac_try
='test -z "$ac_c_werror_flag"
14951 || test ! -s conftest.err'
14952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14953 (eval $ac_try) 2>&5
14955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956 (exit $ac_status); }; } &&
14957 { ac_try
='test -s conftest.$ac_objext'
14958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14959 (eval $ac_try) 2>&5
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); }; }; then
14963 ac_lo
=$ac_mid; break
14965 echo "$as_me: failed program was:" >&5
14966 sed 's/^/| /' conftest.
$ac_ext >&5
14968 ac_hi
=`expr '(' $ac_mid ')' - 1`
14969 if test $ac_mid -le $ac_hi; then
14973 ac_mid
=`expr 2 '*' $ac_mid`
14975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14978 echo "$as_me: failed program was:" >&5
14979 sed 's/^/| /' conftest.
$ac_ext >&5
14983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14986 # Binary search between lo and hi bounds.
14987 while test "x$ac_lo" != "x$ac_hi"; do
14988 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14989 cat >conftest.
$ac_ext <<_ACEOF
14992 cat confdefs.h
>>conftest.
$ac_ext
14993 cat >>conftest.
$ac_ext <<_ACEOF
14994 /* end confdefs.h. */
14995 $ac_includes_default
14999 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15006 rm -f conftest.
$ac_objext
15007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15008 (eval $ac_compile) 2>conftest.er1
15010 grep -v '^ *+' conftest.er1
>conftest.err
15012 cat conftest.err
>&5
15013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15014 (exit $ac_status); } &&
15015 { ac_try
='test -z "$ac_c_werror_flag"
15016 || test ! -s conftest.err'
15017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15018 (eval $ac_try) 2>&5
15020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15021 (exit $ac_status); }; } &&
15022 { ac_try
='test -s conftest.$ac_objext'
15023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15024 (eval $ac_try) 2>&5
15026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027 (exit $ac_status); }; }; then
15030 echo "$as_me: failed program was:" >&5
15031 sed 's/^/| /' conftest.
$ac_ext >&5
15033 ac_lo
=`expr '(' $ac_mid ')' + 1`
15035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15038 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15039 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15040 See \`config.log' for more details." >&5
15041 echo "$as_me: error: cannot compute sizeof (long), 77
15042 See \`config.log' for more details." >&2;}
15043 { (exit 1); exit 1; }; } ;;
15046 if test "$cross_compiling" = yes; then
15047 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15048 See \`config.log' for more details." >&5
15049 echo "$as_me: error: cannot run test program while cross compiling
15050 See \`config.log' for more details." >&2;}
15051 { (exit 1); exit 1; }; }
15053 cat >conftest.
$ac_ext <<_ACEOF
15056 cat confdefs.h
>>conftest.
$ac_ext
15057 cat >>conftest.
$ac_ext <<_ACEOF
15058 /* end confdefs.h. */
15059 $ac_includes_default
15060 long longval () { return (long) (sizeof (long)); }
15061 unsigned long ulongval () { return (long) (sizeof (long)); }
15063 #include <stdlib.h>
15068 FILE *f = fopen ("conftest.val", "w");
15071 if (((long) (sizeof (long))) < 0)
15073 long i = longval ();
15074 if (i != ((long) (sizeof (long))))
15076 fprintf (f, "%ld\n", i);
15080 unsigned long i = ulongval ();
15081 if (i != ((long) (sizeof (long))))
15083 fprintf (f, "%lu\n", i);
15085 exit (ferror (f) || fclose (f) != 0);
15091 rm -f conftest
$ac_exeext
15092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15093 (eval $ac_link) 2>&5
15095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15098 (eval $ac_try) 2>&5
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); }; }; then
15102 ac_cv_sizeof_long
=`cat conftest.val`
15104 echo "$as_me: program exited with status $ac_status" >&5
15105 echo "$as_me: failed program was:" >&5
15106 sed 's/^/| /' conftest.
$ac_ext >&5
15108 ( exit $ac_status )
15109 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15110 See \`config.log' for more details." >&5
15111 echo "$as_me: error: cannot compute sizeof (long), 77
15112 See \`config.log' for more details." >&2;}
15113 { (exit 1); exit 1; }; }
15115 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15120 ac_cv_sizeof_long
=0
15123 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15124 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15125 cat >>confdefs.h
<<_ACEOF
15126 #define SIZEOF_LONG $ac_cv_sizeof_long
15132 if test $acx_cv_header_stdint = stddef.h
; then
15133 # Lacking a good header? Test size of everything and deduce all types.
15134 echo "$as_me:$LINENO: checking for int" >&5
15135 echo $ECHO_N "checking for int... $ECHO_C" >&6
15136 if test "${ac_cv_type_int+set}" = set; then
15137 echo $ECHO_N "(cached) $ECHO_C" >&6
15139 cat >conftest.
$ac_ext <<_ACEOF
15142 cat confdefs.h
>>conftest.
$ac_ext
15143 cat >>conftest.
$ac_ext <<_ACEOF
15144 /* end confdefs.h. */
15145 $ac_includes_default
15157 rm -f conftest.
$ac_objext
15158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15159 (eval $ac_compile) 2>conftest.er1
15161 grep -v '^ *+' conftest.er1
>conftest.err
15163 cat conftest.err
>&5
15164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15165 (exit $ac_status); } &&
15166 { ac_try
='test -z "$ac_c_werror_flag"
15167 || test ! -s conftest.err'
15168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15169 (eval $ac_try) 2>&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); }; } &&
15173 { ac_try
='test -s conftest.$ac_objext'
15174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15175 (eval $ac_try) 2>&5
15177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15178 (exit $ac_status); }; }; then
15181 echo "$as_me: failed program was:" >&5
15182 sed 's/^/| /' conftest.
$ac_ext >&5
15186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15188 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15189 echo "${ECHO_T}$ac_cv_type_int" >&6
15191 echo "$as_me:$LINENO: checking size of int" >&5
15192 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15193 if test "${ac_cv_sizeof_int+set}" = set; then
15194 echo $ECHO_N "(cached) $ECHO_C" >&6
15196 if test "$ac_cv_type_int" = yes; then
15197 # The cast to unsigned long works around a bug in the HP C Compiler
15198 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15199 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15200 # This bug is HP SR number 8606223364.
15201 if test "$cross_compiling" = yes; then
15202 # Depending upon the size, compute the lo and hi bounds.
15203 cat >conftest.
$ac_ext <<_ACEOF
15206 cat confdefs.h
>>conftest.
$ac_ext
15207 cat >>conftest.
$ac_ext <<_ACEOF
15208 /* end confdefs.h. */
15209 $ac_includes_default
15213 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15220 rm -f conftest.
$ac_objext
15221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15222 (eval $ac_compile) 2>conftest.er1
15224 grep -v '^ *+' conftest.er1
>conftest.err
15226 cat conftest.err
>&5
15227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15228 (exit $ac_status); } &&
15229 { ac_try
='test -z "$ac_c_werror_flag"
15230 || test ! -s conftest.err'
15231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15232 (eval $ac_try) 2>&5
15234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15235 (exit $ac_status); }; } &&
15236 { ac_try
='test -s conftest.$ac_objext'
15237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15238 (eval $ac_try) 2>&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); }; }; then
15244 cat >conftest.
$ac_ext <<_ACEOF
15247 cat confdefs.h
>>conftest.
$ac_ext
15248 cat >>conftest.
$ac_ext <<_ACEOF
15249 /* end confdefs.h. */
15250 $ac_includes_default
15254 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15261 rm -f conftest.
$ac_objext
15262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15263 (eval $ac_compile) 2>conftest.er1
15265 grep -v '^ *+' conftest.er1
>conftest.err
15267 cat conftest.err
>&5
15268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15269 (exit $ac_status); } &&
15270 { ac_try
='test -z "$ac_c_werror_flag"
15271 || test ! -s conftest.err'
15272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15273 (eval $ac_try) 2>&5
15275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15276 (exit $ac_status); }; } &&
15277 { ac_try
='test -s conftest.$ac_objext'
15278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15279 (eval $ac_try) 2>&5
15281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15282 (exit $ac_status); }; }; then
15283 ac_hi
=$ac_mid; break
15285 echo "$as_me: failed program was:" >&5
15286 sed 's/^/| /' conftest.
$ac_ext >&5
15288 ac_lo
=`expr $ac_mid + 1`
15289 if test $ac_lo -le $ac_mid; then
15293 ac_mid
=`expr 2 '*' $ac_mid + 1`
15295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15298 echo "$as_me: failed program was:" >&5
15299 sed 's/^/| /' conftest.
$ac_ext >&5
15301 cat >conftest.
$ac_ext <<_ACEOF
15304 cat confdefs.h
>>conftest.
$ac_ext
15305 cat >>conftest.
$ac_ext <<_ACEOF
15306 /* end confdefs.h. */
15307 $ac_includes_default
15311 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15318 rm -f conftest.
$ac_objext
15319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15320 (eval $ac_compile) 2>conftest.er1
15322 grep -v '^ *+' conftest.er1
>conftest.err
15324 cat conftest.err
>&5
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); } &&
15327 { ac_try
='test -z "$ac_c_werror_flag"
15328 || test ! -s conftest.err'
15329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15330 (eval $ac_try) 2>&5
15332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333 (exit $ac_status); }; } &&
15334 { ac_try
='test -s conftest.$ac_objext'
15335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15336 (eval $ac_try) 2>&5
15338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15339 (exit $ac_status); }; }; then
15342 cat >conftest.
$ac_ext <<_ACEOF
15345 cat confdefs.h
>>conftest.
$ac_ext
15346 cat >>conftest.
$ac_ext <<_ACEOF
15347 /* end confdefs.h. */
15348 $ac_includes_default
15352 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15359 rm -f conftest.
$ac_objext
15360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15361 (eval $ac_compile) 2>conftest.er1
15363 grep -v '^ *+' conftest.er1
>conftest.err
15365 cat conftest.err
>&5
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); } &&
15368 { ac_try
='test -z "$ac_c_werror_flag"
15369 || test ! -s conftest.err'
15370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15371 (eval $ac_try) 2>&5
15373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15374 (exit $ac_status); }; } &&
15375 { ac_try
='test -s conftest.$ac_objext'
15376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15377 (eval $ac_try) 2>&5
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); }; }; then
15381 ac_lo
=$ac_mid; break
15383 echo "$as_me: failed program was:" >&5
15384 sed 's/^/| /' conftest.
$ac_ext >&5
15386 ac_hi
=`expr '(' $ac_mid ')' - 1`
15387 if test $ac_mid -le $ac_hi; then
15391 ac_mid
=`expr 2 '*' $ac_mid`
15393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15396 echo "$as_me: failed program was:" >&5
15397 sed 's/^/| /' conftest.
$ac_ext >&5
15401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15404 # Binary search between lo and hi bounds.
15405 while test "x$ac_lo" != "x$ac_hi"; do
15406 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15407 cat >conftest.
$ac_ext <<_ACEOF
15410 cat confdefs.h
>>conftest.
$ac_ext
15411 cat >>conftest.
$ac_ext <<_ACEOF
15412 /* end confdefs.h. */
15413 $ac_includes_default
15417 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15424 rm -f conftest.
$ac_objext
15425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15426 (eval $ac_compile) 2>conftest.er1
15428 grep -v '^ *+' conftest.er1
>conftest.err
15430 cat conftest.err
>&5
15431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15432 (exit $ac_status); } &&
15433 { ac_try
='test -z "$ac_c_werror_flag"
15434 || test ! -s conftest.err'
15435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15436 (eval $ac_try) 2>&5
15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); }; } &&
15440 { ac_try
='test -s conftest.$ac_objext'
15441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15442 (eval $ac_try) 2>&5
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); }; }; then
15448 echo "$as_me: failed program was:" >&5
15449 sed 's/^/| /' conftest.
$ac_ext >&5
15451 ac_lo
=`expr '(' $ac_mid ')' + 1`
15453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15456 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15457 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15458 See \`config.log' for more details." >&5
15459 echo "$as_me: error: cannot compute sizeof (int), 77
15460 See \`config.log' for more details." >&2;}
15461 { (exit 1); exit 1; }; } ;;
15464 if test "$cross_compiling" = yes; then
15465 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15466 See \`config.log' for more details." >&5
15467 echo "$as_me: error: cannot run test program while cross compiling
15468 See \`config.log' for more details." >&2;}
15469 { (exit 1); exit 1; }; }
15471 cat >conftest.
$ac_ext <<_ACEOF
15474 cat confdefs.h
>>conftest.
$ac_ext
15475 cat >>conftest.
$ac_ext <<_ACEOF
15476 /* end confdefs.h. */
15477 $ac_includes_default
15478 long longval () { return (long) (sizeof (int)); }
15479 unsigned long ulongval () { return (long) (sizeof (int)); }
15481 #include <stdlib.h>
15486 FILE *f = fopen ("conftest.val", "w");
15489 if (((long) (sizeof (int))) < 0)
15491 long i = longval ();
15492 if (i != ((long) (sizeof (int))))
15494 fprintf (f, "%ld\n", i);
15498 unsigned long i = ulongval ();
15499 if (i != ((long) (sizeof (int))))
15501 fprintf (f, "%lu\n", i);
15503 exit (ferror (f) || fclose (f) != 0);
15509 rm -f conftest
$ac_exeext
15510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15511 (eval $ac_link) 2>&5
15513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15514 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15516 (eval $ac_try) 2>&5
15518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15519 (exit $ac_status); }; }; then
15520 ac_cv_sizeof_int
=`cat conftest.val`
15522 echo "$as_me: program exited with status $ac_status" >&5
15523 echo "$as_me: failed program was:" >&5
15524 sed 's/^/| /' conftest.
$ac_ext >&5
15526 ( exit $ac_status )
15527 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15528 See \`config.log' for more details." >&5
15529 echo "$as_me: error: cannot compute sizeof (int), 77
15530 See \`config.log' for more details." >&2;}
15531 { (exit 1); exit 1; }; }
15533 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15541 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15542 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15543 cat >>confdefs.h
<<_ACEOF
15544 #define SIZEOF_INT $ac_cv_sizeof_int
15548 echo "$as_me:$LINENO: checking for short" >&5
15549 echo $ECHO_N "checking for short... $ECHO_C" >&6
15550 if test "${ac_cv_type_short+set}" = set; then
15551 echo $ECHO_N "(cached) $ECHO_C" >&6
15553 cat >conftest.
$ac_ext <<_ACEOF
15556 cat confdefs.h
>>conftest.
$ac_ext
15557 cat >>conftest.
$ac_ext <<_ACEOF
15558 /* end confdefs.h. */
15559 $ac_includes_default
15565 if (sizeof (short))
15571 rm -f conftest.
$ac_objext
15572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15573 (eval $ac_compile) 2>conftest.er1
15575 grep -v '^ *+' conftest.er1
>conftest.err
15577 cat conftest.err
>&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } &&
15580 { ac_try
='test -z "$ac_c_werror_flag"
15581 || test ! -s conftest.err'
15582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15583 (eval $ac_try) 2>&5
15585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15586 (exit $ac_status); }; } &&
15587 { ac_try
='test -s conftest.$ac_objext'
15588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15589 (eval $ac_try) 2>&5
15591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15592 (exit $ac_status); }; }; then
15593 ac_cv_type_short
=yes
15595 echo "$as_me: failed program was:" >&5
15596 sed 's/^/| /' conftest.
$ac_ext >&5
15598 ac_cv_type_short
=no
15600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15602 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15603 echo "${ECHO_T}$ac_cv_type_short" >&6
15605 echo "$as_me:$LINENO: checking size of short" >&5
15606 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15607 if test "${ac_cv_sizeof_short+set}" = set; then
15608 echo $ECHO_N "(cached) $ECHO_C" >&6
15610 if test "$ac_cv_type_short" = yes; then
15611 # The cast to unsigned long works around a bug in the HP C Compiler
15612 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15613 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15614 # This bug is HP SR number 8606223364.
15615 if test "$cross_compiling" = yes; then
15616 # Depending upon the size, compute the lo and hi bounds.
15617 cat >conftest.
$ac_ext <<_ACEOF
15620 cat confdefs.h
>>conftest.
$ac_ext
15621 cat >>conftest.
$ac_ext <<_ACEOF
15622 /* end confdefs.h. */
15623 $ac_includes_default
15627 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15634 rm -f conftest.
$ac_objext
15635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15636 (eval $ac_compile) 2>conftest.er1
15638 grep -v '^ *+' conftest.er1
>conftest.err
15640 cat conftest.err
>&5
15641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15642 (exit $ac_status); } &&
15643 { ac_try
='test -z "$ac_c_werror_flag"
15644 || test ! -s conftest.err'
15645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15646 (eval $ac_try) 2>&5
15648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15649 (exit $ac_status); }; } &&
15650 { ac_try
='test -s conftest.$ac_objext'
15651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15652 (eval $ac_try) 2>&5
15654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15655 (exit $ac_status); }; }; then
15658 cat >conftest.
$ac_ext <<_ACEOF
15661 cat confdefs.h
>>conftest.
$ac_ext
15662 cat >>conftest.
$ac_ext <<_ACEOF
15663 /* end confdefs.h. */
15664 $ac_includes_default
15668 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15675 rm -f conftest.
$ac_objext
15676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15677 (eval $ac_compile) 2>conftest.er1
15679 grep -v '^ *+' conftest.er1
>conftest.err
15681 cat conftest.err
>&5
15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 (exit $ac_status); } &&
15684 { ac_try
='test -z "$ac_c_werror_flag"
15685 || test ! -s conftest.err'
15686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15687 (eval $ac_try) 2>&5
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); }; } &&
15691 { ac_try
='test -s conftest.$ac_objext'
15692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15693 (eval $ac_try) 2>&5
15695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15696 (exit $ac_status); }; }; then
15697 ac_hi
=$ac_mid; break
15699 echo "$as_me: failed program was:" >&5
15700 sed 's/^/| /' conftest.
$ac_ext >&5
15702 ac_lo
=`expr $ac_mid + 1`
15703 if test $ac_lo -le $ac_mid; then
15707 ac_mid
=`expr 2 '*' $ac_mid + 1`
15709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15712 echo "$as_me: failed program was:" >&5
15713 sed 's/^/| /' conftest.
$ac_ext >&5
15715 cat >conftest.
$ac_ext <<_ACEOF
15718 cat confdefs.h
>>conftest.
$ac_ext
15719 cat >>conftest.
$ac_ext <<_ACEOF
15720 /* end confdefs.h. */
15721 $ac_includes_default
15725 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15732 rm -f conftest.
$ac_objext
15733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15734 (eval $ac_compile) 2>conftest.er1
15736 grep -v '^ *+' conftest.er1
>conftest.err
15738 cat conftest.err
>&5
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); } &&
15741 { ac_try
='test -z "$ac_c_werror_flag"
15742 || test ! -s conftest.err'
15743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15744 (eval $ac_try) 2>&5
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); }; } &&
15748 { ac_try
='test -s conftest.$ac_objext'
15749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15750 (eval $ac_try) 2>&5
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); }; }; then
15756 cat >conftest.
$ac_ext <<_ACEOF
15759 cat confdefs.h
>>conftest.
$ac_ext
15760 cat >>conftest.
$ac_ext <<_ACEOF
15761 /* end confdefs.h. */
15762 $ac_includes_default
15766 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15773 rm -f conftest.
$ac_objext
15774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15775 (eval $ac_compile) 2>conftest.er1
15777 grep -v '^ *+' conftest.er1
>conftest.err
15779 cat conftest.err
>&5
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); } &&
15782 { ac_try
='test -z "$ac_c_werror_flag"
15783 || test ! -s conftest.err'
15784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15785 (eval $ac_try) 2>&5
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); }; } &&
15789 { ac_try
='test -s conftest.$ac_objext'
15790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15791 (eval $ac_try) 2>&5
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); }; }; then
15795 ac_lo
=$ac_mid; break
15797 echo "$as_me: failed program was:" >&5
15798 sed 's/^/| /' conftest.
$ac_ext >&5
15800 ac_hi
=`expr '(' $ac_mid ')' - 1`
15801 if test $ac_mid -le $ac_hi; then
15805 ac_mid
=`expr 2 '*' $ac_mid`
15807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15810 echo "$as_me: failed program was:" >&5
15811 sed 's/^/| /' conftest.
$ac_ext >&5
15815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15818 # Binary search between lo and hi bounds.
15819 while test "x$ac_lo" != "x$ac_hi"; do
15820 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15821 cat >conftest.
$ac_ext <<_ACEOF
15824 cat confdefs.h
>>conftest.
$ac_ext
15825 cat >>conftest.
$ac_ext <<_ACEOF
15826 /* end confdefs.h. */
15827 $ac_includes_default
15831 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15838 rm -f conftest.
$ac_objext
15839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15840 (eval $ac_compile) 2>conftest.er1
15842 grep -v '^ *+' conftest.er1
>conftest.err
15844 cat conftest.err
>&5
15845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15846 (exit $ac_status); } &&
15847 { ac_try
='test -z "$ac_c_werror_flag"
15848 || test ! -s conftest.err'
15849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15850 (eval $ac_try) 2>&5
15852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 (exit $ac_status); }; } &&
15854 { ac_try
='test -s conftest.$ac_objext'
15855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15856 (eval $ac_try) 2>&5
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); }; }; then
15862 echo "$as_me: failed program was:" >&5
15863 sed 's/^/| /' conftest.
$ac_ext >&5
15865 ac_lo
=`expr '(' $ac_mid ')' + 1`
15867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15870 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15871 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15872 See \`config.log' for more details." >&5
15873 echo "$as_me: error: cannot compute sizeof (short), 77
15874 See \`config.log' for more details." >&2;}
15875 { (exit 1); exit 1; }; } ;;
15878 if test "$cross_compiling" = yes; then
15879 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15880 See \`config.log' for more details." >&5
15881 echo "$as_me: error: cannot run test program while cross compiling
15882 See \`config.log' for more details." >&2;}
15883 { (exit 1); exit 1; }; }
15885 cat >conftest.
$ac_ext <<_ACEOF
15888 cat confdefs.h
>>conftest.
$ac_ext
15889 cat >>conftest.
$ac_ext <<_ACEOF
15890 /* end confdefs.h. */
15891 $ac_includes_default
15892 long longval () { return (long) (sizeof (short)); }
15893 unsigned long ulongval () { return (long) (sizeof (short)); }
15895 #include <stdlib.h>
15900 FILE *f = fopen ("conftest.val", "w");
15903 if (((long) (sizeof (short))) < 0)
15905 long i = longval ();
15906 if (i != ((long) (sizeof (short))))
15908 fprintf (f, "%ld\n", i);
15912 unsigned long i = ulongval ();
15913 if (i != ((long) (sizeof (short))))
15915 fprintf (f, "%lu\n", i);
15917 exit (ferror (f) || fclose (f) != 0);
15923 rm -f conftest
$ac_exeext
15924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15925 (eval $ac_link) 2>&5
15927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15930 (eval $ac_try) 2>&5
15932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15933 (exit $ac_status); }; }; then
15934 ac_cv_sizeof_short
=`cat conftest.val`
15936 echo "$as_me: program exited with status $ac_status" >&5
15937 echo "$as_me: failed program was:" >&5
15938 sed 's/^/| /' conftest.
$ac_ext >&5
15940 ( exit $ac_status )
15941 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15942 See \`config.log' for more details." >&5
15943 echo "$as_me: error: cannot compute sizeof (short), 77
15944 See \`config.log' for more details." >&2;}
15945 { (exit 1); exit 1; }; }
15947 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15952 ac_cv_sizeof_short
=0
15955 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15956 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15957 cat >>confdefs.h
<<_ACEOF
15958 #define SIZEOF_SHORT $ac_cv_sizeof_short
15962 echo "$as_me:$LINENO: checking for char" >&5
15963 echo $ECHO_N "checking for char... $ECHO_C" >&6
15964 if test "${ac_cv_type_char+set}" = set; then
15965 echo $ECHO_N "(cached) $ECHO_C" >&6
15967 cat >conftest.
$ac_ext <<_ACEOF
15970 cat confdefs.h
>>conftest.
$ac_ext
15971 cat >>conftest.
$ac_ext <<_ACEOF
15972 /* end confdefs.h. */
15973 $ac_includes_default
15985 rm -f conftest.
$ac_objext
15986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15987 (eval $ac_compile) 2>conftest.er1
15989 grep -v '^ *+' conftest.er1
>conftest.err
15991 cat conftest.err
>&5
15992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15993 (exit $ac_status); } &&
15994 { ac_try
='test -z "$ac_c_werror_flag"
15995 || test ! -s conftest.err'
15996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15997 (eval $ac_try) 2>&5
15999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 (exit $ac_status); }; } &&
16001 { ac_try
='test -s conftest.$ac_objext'
16002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16003 (eval $ac_try) 2>&5
16005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006 (exit $ac_status); }; }; then
16007 ac_cv_type_char
=yes
16009 echo "$as_me: failed program was:" >&5
16010 sed 's/^/| /' conftest.
$ac_ext >&5
16014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16016 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16017 echo "${ECHO_T}$ac_cv_type_char" >&6
16019 echo "$as_me:$LINENO: checking size of char" >&5
16020 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16021 if test "${ac_cv_sizeof_char+set}" = set; then
16022 echo $ECHO_N "(cached) $ECHO_C" >&6
16024 if test "$ac_cv_type_char" = yes; then
16025 # The cast to unsigned long works around a bug in the HP C Compiler
16026 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16027 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16028 # This bug is HP SR number 8606223364.
16029 if test "$cross_compiling" = yes; then
16030 # Depending upon the size, compute the lo and hi bounds.
16031 cat >conftest.
$ac_ext <<_ACEOF
16034 cat confdefs.h
>>conftest.
$ac_ext
16035 cat >>conftest.
$ac_ext <<_ACEOF
16036 /* end confdefs.h. */
16037 $ac_includes_default
16041 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16048 rm -f conftest.
$ac_objext
16049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16050 (eval $ac_compile) 2>conftest.er1
16052 grep -v '^ *+' conftest.er1
>conftest.err
16054 cat conftest.err
>&5
16055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16056 (exit $ac_status); } &&
16057 { ac_try
='test -z "$ac_c_werror_flag"
16058 || test ! -s conftest.err'
16059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16060 (eval $ac_try) 2>&5
16062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16063 (exit $ac_status); }; } &&
16064 { ac_try
='test -s conftest.$ac_objext'
16065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16066 (eval $ac_try) 2>&5
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); }; }; then
16072 cat >conftest.
$ac_ext <<_ACEOF
16075 cat confdefs.h
>>conftest.
$ac_ext
16076 cat >>conftest.
$ac_ext <<_ACEOF
16077 /* end confdefs.h. */
16078 $ac_includes_default
16082 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16089 rm -f conftest.
$ac_objext
16090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16091 (eval $ac_compile) 2>conftest.er1
16093 grep -v '^ *+' conftest.er1
>conftest.err
16095 cat conftest.err
>&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); } &&
16098 { ac_try
='test -z "$ac_c_werror_flag"
16099 || test ! -s conftest.err'
16100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16101 (eval $ac_try) 2>&5
16103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16104 (exit $ac_status); }; } &&
16105 { ac_try
='test -s conftest.$ac_objext'
16106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16107 (eval $ac_try) 2>&5
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); }; }; then
16111 ac_hi
=$ac_mid; break
16113 echo "$as_me: failed program was:" >&5
16114 sed 's/^/| /' conftest.
$ac_ext >&5
16116 ac_lo
=`expr $ac_mid + 1`
16117 if test $ac_lo -le $ac_mid; then
16121 ac_mid
=`expr 2 '*' $ac_mid + 1`
16123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16126 echo "$as_me: failed program was:" >&5
16127 sed 's/^/| /' conftest.
$ac_ext >&5
16129 cat >conftest.
$ac_ext <<_ACEOF
16132 cat confdefs.h
>>conftest.
$ac_ext
16133 cat >>conftest.
$ac_ext <<_ACEOF
16134 /* end confdefs.h. */
16135 $ac_includes_default
16139 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16146 rm -f conftest.
$ac_objext
16147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16148 (eval $ac_compile) 2>conftest.er1
16150 grep -v '^ *+' conftest.er1
>conftest.err
16152 cat conftest.err
>&5
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); } &&
16155 { ac_try
='test -z "$ac_c_werror_flag"
16156 || test ! -s conftest.err'
16157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16158 (eval $ac_try) 2>&5
16160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 (exit $ac_status); }; } &&
16162 { ac_try
='test -s conftest.$ac_objext'
16163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16164 (eval $ac_try) 2>&5
16166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16167 (exit $ac_status); }; }; then
16170 cat >conftest.
$ac_ext <<_ACEOF
16173 cat confdefs.h
>>conftest.
$ac_ext
16174 cat >>conftest.
$ac_ext <<_ACEOF
16175 /* end confdefs.h. */
16176 $ac_includes_default
16180 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16187 rm -f conftest.
$ac_objext
16188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16189 (eval $ac_compile) 2>conftest.er1
16191 grep -v '^ *+' conftest.er1
>conftest.err
16193 cat conftest.err
>&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); } &&
16196 { ac_try
='test -z "$ac_c_werror_flag"
16197 || test ! -s conftest.err'
16198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16199 (eval $ac_try) 2>&5
16201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16202 (exit $ac_status); }; } &&
16203 { ac_try
='test -s conftest.$ac_objext'
16204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16205 (eval $ac_try) 2>&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); }; }; then
16209 ac_lo
=$ac_mid; break
16211 echo "$as_me: failed program was:" >&5
16212 sed 's/^/| /' conftest.
$ac_ext >&5
16214 ac_hi
=`expr '(' $ac_mid ')' - 1`
16215 if test $ac_mid -le $ac_hi; then
16219 ac_mid
=`expr 2 '*' $ac_mid`
16221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16224 echo "$as_me: failed program was:" >&5
16225 sed 's/^/| /' conftest.
$ac_ext >&5
16229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16232 # Binary search between lo and hi bounds.
16233 while test "x$ac_lo" != "x$ac_hi"; do
16234 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16235 cat >conftest.
$ac_ext <<_ACEOF
16238 cat confdefs.h
>>conftest.
$ac_ext
16239 cat >>conftest.
$ac_ext <<_ACEOF
16240 /* end confdefs.h. */
16241 $ac_includes_default
16245 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16252 rm -f conftest.
$ac_objext
16253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16254 (eval $ac_compile) 2>conftest.er1
16256 grep -v '^ *+' conftest.er1
>conftest.err
16258 cat conftest.err
>&5
16259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16260 (exit $ac_status); } &&
16261 { ac_try
='test -z "$ac_c_werror_flag"
16262 || test ! -s conftest.err'
16263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16264 (eval $ac_try) 2>&5
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); }; } &&
16268 { ac_try
='test -s conftest.$ac_objext'
16269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16270 (eval $ac_try) 2>&5
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); }; }; then
16276 echo "$as_me: failed program was:" >&5
16277 sed 's/^/| /' conftest.
$ac_ext >&5
16279 ac_lo
=`expr '(' $ac_mid ')' + 1`
16281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16284 ?
*) ac_cv_sizeof_char
=$ac_lo;;
16285 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16286 See \`config.log' for more details." >&5
16287 echo "$as_me: error: cannot compute sizeof (char), 77
16288 See \`config.log' for more details." >&2;}
16289 { (exit 1); exit 1; }; } ;;
16292 if test "$cross_compiling" = yes; then
16293 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16294 See \`config.log' for more details." >&5
16295 echo "$as_me: error: cannot run test program while cross compiling
16296 See \`config.log' for more details." >&2;}
16297 { (exit 1); exit 1; }; }
16299 cat >conftest.
$ac_ext <<_ACEOF
16302 cat confdefs.h
>>conftest.
$ac_ext
16303 cat >>conftest.
$ac_ext <<_ACEOF
16304 /* end confdefs.h. */
16305 $ac_includes_default
16306 long longval () { return (long) (sizeof (char)); }
16307 unsigned long ulongval () { return (long) (sizeof (char)); }
16309 #include <stdlib.h>
16314 FILE *f = fopen ("conftest.val", "w");
16317 if (((long) (sizeof (char))) < 0)
16319 long i = longval ();
16320 if (i != ((long) (sizeof (char))))
16322 fprintf (f, "%ld\n", i);
16326 unsigned long i = ulongval ();
16327 if (i != ((long) (sizeof (char))))
16329 fprintf (f, "%lu\n", i);
16331 exit (ferror (f) || fclose (f) != 0);
16337 rm -f conftest
$ac_exeext
16338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16339 (eval $ac_link) 2>&5
16341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16342 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16344 (eval $ac_try) 2>&5
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); }; }; then
16348 ac_cv_sizeof_char
=`cat conftest.val`
16350 echo "$as_me: program exited with status $ac_status" >&5
16351 echo "$as_me: failed program was:" >&5
16352 sed 's/^/| /' conftest.
$ac_ext >&5
16354 ( exit $ac_status )
16355 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16356 See \`config.log' for more details." >&5
16357 echo "$as_me: error: cannot compute sizeof (char), 77
16358 See \`config.log' for more details." >&2;}
16359 { (exit 1); exit 1; }; }
16361 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16366 ac_cv_sizeof_char
=0
16369 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16370 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16371 cat >>confdefs.h
<<_ACEOF
16372 #define SIZEOF_CHAR $ac_cv_sizeof_char
16377 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
16378 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
16379 case "$ac_cv_sizeof_char" in
16380 1) acx_cv_type_int8_t
=char
;;
16381 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
16382 echo "$as_me: error: no 8-bit type" >&2;}
16383 { (exit please report a bug
); exit please report a bug
; }; }
16385 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
16386 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
16388 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
16389 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
16390 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16391 2:*) acx_cv_type_int16_t
=int
;;
16392 *:2) acx_cv_type_int16_t
=short
;;
16393 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
16394 echo "$as_me: error: no 16-bit type" >&2;}
16395 { (exit please report a bug
); exit please report a bug
; }; }
16397 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
16398 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
16400 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
16401 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
16402 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16403 4:*) acx_cv_type_int32_t
=int
;;
16404 *:4) acx_cv_type_int32_t
=long
;;
16405 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
16406 echo "$as_me: error: no 32-bit type" >&2;}
16407 { (exit please report a bug
); exit please report a bug
; }; }
16409 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
16410 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
16413 # These tests are here to make the output prettier
16415 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16416 case "$ac_cv_sizeof_long" in
16417 8) acx_cv_type_int64_t
=long
;;
16419 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
16420 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
16421 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16422 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
16425 # Now we can use the above types
16427 if test "$ac_cv_type_uintptr_t" != yes; then
16428 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
16429 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
16430 case $ac_cv_sizeof_void_p in
16431 2) acx_cv_type_intptr_t
=int16_t
;;
16432 4) acx_cv_type_intptr_t
=int32_t
;;
16433 8) acx_cv_type_intptr_t
=int64_t
;;
16434 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
16435 echo "$as_me: error: no equivalent for intptr_t" >&2;}
16436 { (exit please report a bug
); exit please report a bug
; }; }
16438 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
16439 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
16442 # ----------------- done all checks, emit header -------------
16443 ac_config_commands
="$ac_config_commands gstdint.h"
16448 # Check to see if -pthread or -lpthread is needed. Prefer the former.
16449 # In case the pthread.h system header is not found, this test will fail.
16451 CFLAGS
="$CFLAGS -pthread"
16452 cat >conftest.
$ac_ext <<_ACEOF
16455 cat confdefs.h
>>conftest.
$ac_ext
16456 cat >>conftest.
$ac_ext <<_ACEOF
16457 /* end confdefs.h. */
16458 #include <pthread.h>
16459 void *g(void *d) { return NULL; }
16463 pthread_t t; pthread_create(&t,NULL,g,NULL);
16468 rm -f conftest.
$ac_objext conftest
$ac_exeext
16469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16470 (eval $ac_link) 2>conftest.er1
16472 grep -v '^ *+' conftest.er1
>conftest.err
16474 cat conftest.err
>&5
16475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 (exit $ac_status); } &&
16477 { ac_try
='test -z "$ac_c_werror_flag"
16478 || test ! -s conftest.err'
16479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16480 (eval $ac_try) 2>&5
16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483 (exit $ac_status); }; } &&
16484 { ac_try
='test -s conftest$ac_exeext'
16485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16486 (eval $ac_try) 2>&5
16488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16489 (exit $ac_status); }; }; then
16490 XPCFLAGS
=" -Wc,-pthread"
16492 echo "$as_me: failed program was:" >&5
16493 sed 's/^/| /' conftest.
$ac_ext >&5
16495 CFLAGS
="$save_CFLAGS" LIBS
="-lpthread $LIBS"
16496 cat >conftest.
$ac_ext <<_ACEOF
16499 cat confdefs.h
>>conftest.
$ac_ext
16500 cat >>conftest.
$ac_ext <<_ACEOF
16501 /* end confdefs.h. */
16502 #include <pthread.h>
16503 void *g(void *d) { return NULL; }
16507 pthread_t t; pthread_create(&t,NULL,g,NULL);
16512 rm -f conftest.
$ac_objext conftest
$ac_exeext
16513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16514 (eval $ac_link) 2>conftest.er1
16516 grep -v '^ *+' conftest.er1
>conftest.err
16518 cat conftest.err
>&5
16519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520 (exit $ac_status); } &&
16521 { ac_try
='test -z "$ac_c_werror_flag"
16522 || test ! -s conftest.err'
16523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16524 (eval $ac_try) 2>&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }; } &&
16528 { ac_try
='test -s conftest$ac_exeext'
16529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16530 (eval $ac_try) 2>&5
16532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533 (exit $ac_status); }; }; then
16536 echo "$as_me: failed program was:" >&5
16537 sed 's/^/| /' conftest.
$ac_ext >&5
16539 { { echo "$as_me:$LINENO: error: Pthreads are required to build libgomp" >&5
16540 echo "$as_me: error: Pthreads are required to build libgomp" >&2;}
16541 { (exit 1); exit 1; }; }
16543 rm -f conftest.err conftest.
$ac_objext \
16544 conftest
$ac_exeext conftest.
$ac_ext
16546 rm -f conftest.err conftest.
$ac_objext \
16547 conftest
$ac_exeext conftest.
$ac_ext
16549 # Check for functions needed.
16552 for ac_func
in getloadavg clock_gettime
16554 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16555 echo "$as_me:$LINENO: checking for $ac_func" >&5
16556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16557 if eval "test \"\${$as_ac_var+set}\" = set"; then
16558 echo $ECHO_N "(cached) $ECHO_C" >&6
16560 cat >conftest.
$ac_ext <<_ACEOF
16563 cat confdefs.h
>>conftest.
$ac_ext
16564 cat >>conftest.
$ac_ext <<_ACEOF
16565 /* end confdefs.h. */
16566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16568 #define $ac_func innocuous_$ac_func
16570 /* System header to define __stub macros and hopefully few prototypes,
16571 which can conflict with char $ac_func (); below.
16572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16573 <limits.h> exists even on freestanding compilers. */
16576 # include <limits.h>
16578 # include <assert.h>
16583 /* Override any gcc2 internal prototype to avoid an error. */
16588 /* We use char because int might match the return type of a gcc2
16589 builtin and then its argument prototype would still apply. */
16591 /* The GNU C library defines this for functions which it implements
16592 to always fail with ENOSYS. Some functions are actually named
16593 something starting with __ and the normal name is an alias. */
16594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16597 char (*f) () = $ac_func;
16606 return f != $ac_func;
16611 rm -f conftest.
$ac_objext conftest
$ac_exeext
16612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16613 (eval $ac_link) 2>conftest.er1
16615 grep -v '^ *+' conftest.er1
>conftest.err
16617 cat conftest.err
>&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); } &&
16620 { ac_try
='test -z "$ac_c_werror_flag"
16621 || test ! -s conftest.err'
16622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16623 (eval $ac_try) 2>&5
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); }; } &&
16627 { ac_try
='test -s conftest$ac_exeext'
16628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16629 (eval $ac_try) 2>&5
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); }; }; then
16633 eval "$as_ac_var=yes"
16635 echo "$as_me: failed program was:" >&5
16636 sed 's/^/| /' conftest.
$ac_ext >&5
16638 eval "$as_ac_var=no"
16640 rm -f conftest.err conftest.
$ac_objext \
16641 conftest
$ac_exeext conftest.
$ac_ext
16643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16645 if test `eval echo '${'$as_ac_var'}'` = yes; then
16646 cat >>confdefs.h
<<_ACEOF
16647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16654 # Check for broken semaphore implementation on darwin.
16655 # sem_init returns: sem_init error: Function not implemented.
16659 cat >>confdefs.h
<<\_ACEOF
16660 #define HAVE_BROKEN_POSIX_SEMAPHORES 1
16665 case "$enable_linux_futex" in
16667 # If headers don't have gettid/futex syscalls definition, then
16668 # default to no, otherwise there will be compile time failures.
16669 # Otherwise, default to yes. If we don't detect we are
16670 # compiled/linked against NPTL and not cross-compiling, check
16671 # if programs are run by default against NPTL and if not, issue
16673 enable_linux_futex
=no
16674 cat >conftest.
$ac_ext <<_ACEOF
16677 cat confdefs.h
>>conftest.
$ac_ext
16678 cat >>conftest.
$ac_ext <<_ACEOF
16679 /* end confdefs.h. */
16680 #include <sys/syscall.h>
16685 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
16690 rm -f conftest.
$ac_objext conftest
$ac_exeext
16691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16692 (eval $ac_link) 2>conftest.er1
16694 grep -v '^ *+' conftest.er1
>conftest.err
16696 cat conftest.err
>&5
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); } &&
16699 { ac_try
='test -z "$ac_c_werror_flag"
16700 || test ! -s conftest.err'
16701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16702 (eval $ac_try) 2>&5
16704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705 (exit $ac_status); }; } &&
16706 { ac_try
='test -s conftest$ac_exeext'
16707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16708 (eval $ac_try) 2>&5
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); }; }; then
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
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
16772 echo "$as_me: failed program was:" >&5
16773 sed 's/^/| /' conftest.
$ac_ext >&5
16776 rm -f conftest.err conftest.
$ac_objext \
16777 conftest
$ac_exeext conftest.
$ac_ext
16780 cat >conftest.
$ac_ext <<_ACEOF
16783 cat confdefs.h
>>conftest.
$ac_ext
16784 cat >>conftest.
$ac_ext <<_ACEOF
16785 /* end confdefs.h. */
16786 #include <sys/syscall.h>
16791 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
16796 rm -f conftest.
$ac_objext conftest
$ac_exeext
16797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16798 (eval $ac_link) 2>conftest.er1
16800 grep -v '^ *+' conftest.er1
>conftest.err
16802 cat conftest.err
>&5
16803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); } &&
16805 { ac_try
='test -z "$ac_c_werror_flag"
16806 || test ! -s conftest.err'
16807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16808 (eval $ac_try) 2>&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); }; } &&
16812 { ac_try
='test -s conftest$ac_exeext'
16813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16814 (eval $ac_try) 2>&5
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); }; }; then
16820 echo "$as_me: failed program was:" >&5
16821 sed 's/^/| /' conftest.
$ac_ext >&5
16823 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
16824 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
16825 { (exit 1); exit 1; }; }
16827 rm -f conftest.err conftest.
$ac_objext \
16828 conftest
$ac_exeext conftest.
$ac_ext
16834 # Check for pthread_{,attr_}[sg]etaffinity_np.
16835 cat >conftest.
$ac_ext <<_ACEOF
16838 cat confdefs.h
>>conftest.
$ac_ext
16839 cat >>conftest.
$ac_ext <<_ACEOF
16840 /* end confdefs.h. */
16841 #define _GNU_SOURCE
16842 #include <pthread.h>
16847 pthread_attr_t attr;
16848 pthread_getaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
16849 if (CPU_ISSET (0, &cpuset))
16850 CPU_SET (1, &cpuset);
16852 CPU_ZERO (&cpuset);
16853 pthread_setaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
16854 pthread_attr_init (&attr);
16855 pthread_attr_getaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
16856 pthread_attr_setaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
16861 rm -f conftest.
$ac_objext conftest
$ac_exeext
16862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16863 (eval $ac_link) 2>conftest.er1
16865 grep -v '^ *+' conftest.er1
>conftest.err
16867 cat conftest.err
>&5
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); } &&
16870 { ac_try
='test -z "$ac_c_werror_flag"
16871 || test ! -s conftest.err'
16872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16873 (eval $ac_try) 2>&5
16875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16876 (exit $ac_status); }; } &&
16877 { ac_try
='test -s conftest$ac_exeext'
16878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16879 (eval $ac_try) 2>&5
16881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); }; }; then
16884 cat >>confdefs.h
<<\_ACEOF
16885 #define HAVE_PTHREAD_AFFINITY_NP 1
16889 echo "$as_me: failed program was:" >&5
16890 sed 's/^/| /' conftest.
$ac_ext >&5
16893 rm -f conftest.err conftest.
$ac_objext \
16894 conftest
$ac_exeext conftest.
$ac_ext
16896 # At least for glibc, clock_gettime is in librt. But don't pull that
16897 # in if it still doesn't give us the function we want.
16898 if test $ac_cv_func_clock_gettime = no
; then
16899 echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
16900 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
16901 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
16902 echo $ECHO_N "(cached) $ECHO_C" >&6
16904 ac_check_lib_save_LIBS
=$LIBS
16906 cat >conftest.
$ac_ext <<_ACEOF
16909 cat confdefs.h
>>conftest.
$ac_ext
16910 cat >>conftest.
$ac_ext <<_ACEOF
16911 /* end confdefs.h. */
16913 /* Override any gcc2 internal prototype to avoid an error. */
16917 /* We use char because int might match the return type of a gcc2
16918 builtin and then its argument prototype would still apply. */
16919 char clock_gettime ();
16928 rm -f conftest.
$ac_objext conftest
$ac_exeext
16929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16930 (eval $ac_link) 2>conftest.er1
16932 grep -v '^ *+' conftest.er1
>conftest.err
16934 cat conftest.err
>&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); } &&
16937 { ac_try
='test -z "$ac_c_werror_flag"
16938 || test ! -s conftest.err'
16939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16940 (eval $ac_try) 2>&5
16942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16943 (exit $ac_status); }; } &&
16944 { ac_try
='test -s conftest$ac_exeext'
16945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16946 (eval $ac_try) 2>&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); }; }; then
16950 ac_cv_lib_rt_clock_gettime
=yes
16952 echo "$as_me: failed program was:" >&5
16953 sed 's/^/| /' conftest.
$ac_ext >&5
16955 ac_cv_lib_rt_clock_gettime
=no
16957 rm -f conftest.err conftest.
$ac_objext \
16958 conftest
$ac_exeext conftest.
$ac_ext
16959 LIBS
=$ac_check_lib_save_LIBS
16961 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
16962 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
16963 if test $ac_cv_lib_rt_clock_gettime = yes; then
16966 cat >>confdefs.h
<<\_ACEOF
16967 #define HAVE_CLOCK_GETTIME 1
16974 # See if we support thread-local storage.
16976 # Check whether --enable-tls or --disable-tls was given.
16977 if test "${enable_tls+set}" = set; then
16978 enableval
="$enable_tls"
16980 case "$enableval" in
16982 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
16983 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
16984 { (exit 1); exit 1; }; } ;;
16991 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
16992 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
16993 if test "${have_tls+set}" = set; then
16994 echo $ECHO_N "(cached) $ECHO_C" >&6
16997 if test "$cross_compiling" = yes; then
16998 cat >conftest.
$ac_ext <<_ACEOF
16999 __thread int a; int b; int main() { return a = b; }
17001 rm -f conftest.
$ac_objext conftest
$ac_exeext
17002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17003 (eval $ac_link) 2>conftest.er1
17005 grep -v '^ *+' conftest.er1
>conftest.err
17007 cat conftest.err
>&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); } &&
17010 { ac_try
='test -z "$ac_c_werror_flag"
17011 || test ! -s conftest.err'
17012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17013 (eval $ac_try) 2>&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); }; } &&
17017 { ac_try
='test -s conftest$ac_exeext'
17018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17019 (eval $ac_try) 2>&5
17021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17022 (exit $ac_status); }; }; then
17025 echo "$as_me: failed program was:" >&5
17026 sed 's/^/| /' conftest.
$ac_ext >&5
17030 rm -f conftest.err conftest.
$ac_objext \
17031 conftest
$ac_exeext conftest.
$ac_ext
17035 cat >conftest.
$ac_ext <<_ACEOF
17036 __thread int a; int b; int main() { return a = b; }
17038 rm -f conftest
$ac_exeext
17039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17040 (eval $ac_link) 2>&5
17042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17045 (eval $ac_try) 2>&5
17047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048 (exit $ac_status); }; }; then
17049 chktls_save_LDFLAGS
="$LDFLAGS"
17050 LDFLAGS
="-static $LDFLAGS"
17051 cat >conftest.
$ac_ext <<_ACEOF
17052 int main() { return 0; }
17054 rm -f conftest.
$ac_objext conftest
$ac_exeext
17055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17056 (eval $ac_link) 2>conftest.er1
17058 grep -v '^ *+' conftest.er1
>conftest.err
17060 cat conftest.err
>&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); } &&
17063 { ac_try
='test -z "$ac_c_werror_flag"
17064 || test ! -s conftest.err'
17065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17066 (eval $ac_try) 2>&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); }; } &&
17070 { ac_try
='test -s conftest$ac_exeext'
17071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17072 (eval $ac_try) 2>&5
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); }; }; then
17076 if test "$cross_compiling" = yes; then
17077 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17078 See \`config.log' for more details." >&5
17079 echo "$as_me: error: cannot run test program while cross compiling
17080 See \`config.log' for more details." >&2;}
17081 { (exit 1); exit 1; }; }
17083 cat >conftest.
$ac_ext <<_ACEOF
17084 __thread int a; int b; int main() { return a = b; }
17086 rm -f conftest
$ac_exeext
17087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17088 (eval $ac_link) 2>&5
17090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17091 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17093 (eval $ac_try) 2>&5
17095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17096 (exit $ac_status); }; }; then
17099 echo "$as_me: program exited with status $ac_status" >&5
17100 echo "$as_me: failed program was:" >&5
17101 sed 's/^/| /' conftest.
$ac_ext >&5
17103 ( exit $ac_status )
17106 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17109 echo "$as_me: failed program was:" >&5
17110 sed 's/^/| /' conftest.
$ac_ext >&5
17114 rm -f conftest.err conftest.
$ac_objext \
17115 conftest
$ac_exeext conftest.
$ac_ext
17116 LDFLAGS
="$chktls_save_LDFLAGS"
17117 if test $have_tls = yes; then
17118 chktls_save_CFLAGS
="$CFLAGS"
17119 thread_CFLAGS
=failed
17120 for flag
in '' '-pthread' '-lpthread'; do
17121 CFLAGS
="$flag $chktls_save_CFLAGS"
17122 cat >conftest.
$ac_ext <<_ACEOF
17125 cat confdefs.h
>>conftest.
$ac_ext
17126 cat >>conftest.
$ac_ext <<_ACEOF
17127 /* end confdefs.h. */
17128 #include <pthread.h>
17129 void *g(void *d) { return NULL; }
17133 pthread_t t; pthread_create(&t,NULL,g,NULL);
17138 rm -f conftest.
$ac_objext conftest
$ac_exeext
17139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17140 (eval $ac_link) 2>conftest.er1
17142 grep -v '^ *+' conftest.er1
>conftest.err
17144 cat conftest.err
>&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); } &&
17147 { ac_try
='test -z "$ac_c_werror_flag"
17148 || test ! -s conftest.err'
17149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17150 (eval $ac_try) 2>&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); }; } &&
17154 { ac_try
='test -s conftest$ac_exeext'
17155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17156 (eval $ac_try) 2>&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); }; }; then
17160 thread_CFLAGS
="$flag"
17162 echo "$as_me: failed program was:" >&5
17163 sed 's/^/| /' conftest.
$ac_ext >&5
17166 rm -f conftest.err conftest.
$ac_objext \
17167 conftest
$ac_exeext conftest.
$ac_ext
17168 if test "X$thread_CFLAGS" != Xfailed
; then
17172 CFLAGS
="$chktls_save_CFLAGS"
17173 if test "X$thread_CFLAGS" != Xfailed
; then
17174 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
17175 if test "$cross_compiling" = yes; then
17176 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17177 See \`config.log' for more details." >&5
17178 echo "$as_me: error: cannot run test program while cross compiling
17179 See \`config.log' for more details." >&2;}
17180 { (exit 1); exit 1; }; }
17182 cat >conftest.
$ac_ext <<_ACEOF
17185 cat confdefs.h
>>conftest.
$ac_ext
17186 cat >>conftest.
$ac_ext <<_ACEOF
17187 /* end confdefs.h. */
17188 #include <pthread.h>
17190 static int *a_in_other_thread;
17192 thread_func (void *arg)
17194 a_in_other_thread = &a;
17201 void *thread_retval;
17202 int *a_in_main_thread;
17203 if (pthread_create (&thread, (pthread_attr_t *)0,
17204 thread_func, (void *)0))
17206 a_in_main_thread = &a;
17207 if (pthread_join (thread, &thread_retval))
17209 return (a_in_other_thread == a_in_main_thread);
17214 rm -f conftest
$ac_exeext
17215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17216 (eval $ac_link) 2>&5
17218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17221 (eval $ac_try) 2>&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); }; }; then
17227 echo "$as_me: program exited with status $ac_status" >&5
17228 echo "$as_me: failed program was:" >&5
17229 sed 's/^/| /' conftest.
$ac_ext >&5
17231 ( exit $ac_status )
17234 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17236 CFLAGS
="$chktls_save_CFLAGS"
17240 echo "$as_me: program exited with status $ac_status" >&5
17241 echo "$as_me: failed program was:" >&5
17242 sed 's/^/| /' conftest.
$ac_ext >&5
17244 ( exit $ac_status )
17247 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17250 echo "$as_me:$LINENO: result: $have_tls" >&5
17251 echo "${ECHO_T}$have_tls" >&6
17252 if test "$enable_tls $have_tls" = "yes yes"; then
17254 cat >>confdefs.h
<<\_ACEOF
17260 # See what sort of export controls are availible.
17262 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
17263 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
17264 if test "${have_attribute_visibility+set}" = set; then
17265 echo $ECHO_N "(cached) $ECHO_C" >&6
17268 save_CFLAGS
="$CFLAGS"
17269 CFLAGS
="$CFLAGS -Werror"
17270 cat >conftest.
$ac_ext <<_ACEOF
17273 cat confdefs.h
>>conftest.
$ac_ext
17274 cat >>conftest.
$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17276 void __attribute__((visibility("hidden"))) foo(void) { }
17285 rm -f conftest.
$ac_objext
17286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17287 (eval $ac_compile) 2>conftest.er1
17289 grep -v '^ *+' conftest.er1
>conftest.err
17291 cat conftest.err
>&5
17292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17293 (exit $ac_status); } &&
17294 { ac_try
='test -z "$ac_c_werror_flag"
17295 || test ! -s conftest.err'
17296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17297 (eval $ac_try) 2>&5
17299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17300 (exit $ac_status); }; } &&
17301 { ac_try
='test -s conftest.$ac_objext'
17302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17303 (eval $ac_try) 2>&5
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); }; }; then
17307 have_attribute_visibility
=yes
17309 echo "$as_me: failed program was:" >&5
17310 sed 's/^/| /' conftest.
$ac_ext >&5
17312 have_attribute_visibility
=no
17314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17315 CFLAGS
="$save_CFLAGS"
17317 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
17318 echo "${ECHO_T}$have_attribute_visibility" >&6
17319 if test $have_attribute_visibility = yes; then
17321 cat >>confdefs.h
<<\_ACEOF
17322 #define HAVE_ATTRIBUTE_VISIBILITY 1
17327 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
17328 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
17329 if test "${have_attribute_dllexport+set}" = set; then
17330 echo $ECHO_N "(cached) $ECHO_C" >&6
17333 save_CFLAGS
="$CFLAGS"
17334 CFLAGS
="$CFLAGS -Werror"
17335 cat >conftest.
$ac_ext <<_ACEOF
17338 cat confdefs.h
>>conftest.
$ac_ext
17339 cat >>conftest.
$ac_ext <<_ACEOF
17340 /* end confdefs.h. */
17341 void __attribute__((dllexport)) foo(void) { }
17350 rm -f conftest.
$ac_objext
17351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17352 (eval $ac_compile) 2>conftest.er1
17354 grep -v '^ *+' conftest.er1
>conftest.err
17356 cat conftest.err
>&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); } &&
17359 { ac_try
='test -z "$ac_c_werror_flag"
17360 || test ! -s conftest.err'
17361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17362 (eval $ac_try) 2>&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); }; } &&
17366 { ac_try
='test -s conftest.$ac_objext'
17367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17368 (eval $ac_try) 2>&5
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); }; }; then
17372 have_attribute_dllexport
=yes
17374 echo "$as_me: failed program was:" >&5
17375 sed 's/^/| /' conftest.
$ac_ext >&5
17377 have_attribute_dllexport
=no
17379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17380 CFLAGS
="$save_CFLAGS"
17382 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
17383 echo "${ECHO_T}$have_attribute_dllexport" >&6
17384 if test $have_attribute_dllexport = yes; then
17386 cat >>confdefs.h
<<\_ACEOF
17387 #define HAVE_ATTRIBUTE_DLLEXPORT 1
17392 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
17393 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
17394 if test "${have_attribute_alias+set}" = set; then
17395 echo $ECHO_N "(cached) $ECHO_C" >&6
17398 cat >conftest.
$ac_ext <<_ACEOF
17401 cat confdefs.h
>>conftest.
$ac_ext
17402 cat >>conftest.
$ac_ext <<_ACEOF
17403 /* end confdefs.h. */
17406 extern void bar(void) __attribute__((alias("foo")));
17415 rm -f conftest.
$ac_objext conftest
$ac_exeext
17416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17417 (eval $ac_link) 2>conftest.er1
17419 grep -v '^ *+' conftest.er1
>conftest.err
17421 cat conftest.err
>&5
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); } &&
17424 { ac_try
='test -z "$ac_c_werror_flag"
17425 || test ! -s conftest.err'
17426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17427 (eval $ac_try) 2>&5
17429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430 (exit $ac_status); }; } &&
17431 { ac_try
='test -s conftest$ac_exeext'
17432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17433 (eval $ac_try) 2>&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); }; }; then
17437 have_attribute_alias
=yes
17439 echo "$as_me: failed program was:" >&5
17440 sed 's/^/| /' conftest.
$ac_ext >&5
17442 have_attribute_alias
=no
17444 rm -f conftest.err conftest.
$ac_objext \
17445 conftest
$ac_exeext conftest.
$ac_ext
17447 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
17448 echo "${ECHO_T}$have_attribute_alias" >&6
17449 if test $have_attribute_alias = yes; then
17451 cat >>confdefs.h
<<\_ACEOF
17452 #define HAVE_ATTRIBUTE_ALIAS 1
17458 # Check whether --with-gnu-ld or --without-gnu-ld was given.
17459 if test "${with_gnu_ld+set}" = set; then
17460 withval
="$with_gnu_ld"
17461 test "$withval" = no || with_gnu_ld
=yes
17466 if test "$GCC" = yes; then
17467 # Check if gcc -print-prog-name=ld gives a path.
17468 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
17469 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
17472 # gcc leaves a trailing carriage return which upsets mingw
17473 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17475 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
17478 # Accept absolute paths.
17480 re_direlt
='/[^/][^/]*/\.\./'
17481 # Canonicalize the pathname of ld
17482 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
17483 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
17484 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
17486 test -z "$LD" && LD
="$ac_prog"
17489 # If it fails, then pretend we aren't using GCC.
17493 # If it is relative, then search for the first ld in PATH.
17494 with_gnu_ld
=unknown
17497 elif test "$with_gnu_ld" = yes; then
17498 echo "$as_me:$LINENO: checking for GNU ld" >&5
17499 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
17501 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
17502 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
17504 if test "${lt_cv_path_LD+set}" = set; then
17505 echo $ECHO_N "(cached) $ECHO_C" >&6
17507 if test -z "$LD"; then
17508 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
17509 for ac_dir
in $PATH; do
17511 test -z "$ac_dir" && ac_dir
=.
17512 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
17513 lt_cv_path_LD
="$ac_dir/$ac_prog"
17514 # Check to see if the program is GNU ld. I'd rather use --version,
17515 # but apparently some variants of GNU ld only accept -v.
17516 # Break only if it was the GNU/non-GNU ld that we prefer.
17517 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
17518 *GNU
* |
*'with BFD'*)
17519 test "$with_gnu_ld" != no
&& break
17522 test "$with_gnu_ld" != yes && break
17529 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
17533 LD
="$lt_cv_path_LD"
17534 if test -n "$LD"; then
17535 echo "$as_me:$LINENO: result: $LD" >&5
17536 echo "${ECHO_T}$LD" >&6
17538 echo "$as_me:$LINENO: result: no" >&5
17539 echo "${ECHO_T}no" >&6
17541 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
17542 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
17543 { (exit 1); exit 1; }; }
17544 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
17545 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
17546 if test "${lt_cv_prog_gnu_ld+set}" = set; then
17547 echo $ECHO_N "(cached) $ECHO_C" >&6
17549 # I'd rather use --version here, but apparently some GNU lds only accept -v.
17550 case `$LD -v 2>&1 </dev/null` in
17551 *GNU
* |
*'with BFD'*)
17552 lt_cv_prog_gnu_ld
=yes
17555 lt_cv_prog_gnu_ld
=no
17559 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
17560 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
17561 with_gnu_ld
=$lt_cv_prog_gnu_ld
17569 # If we're not using GNU ld, then there's no point in even trying these
17570 # tests. Check for that first. We should have already tested for gld
17571 # by now (in libtool), but require it now just to be safe...
17572 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
17573 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
17577 # The name set by libtool depends on the version of libtool. Shame on us
17578 # for depending on an impl detail, but c'est la vie. Older versions used
17579 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
17580 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
17581 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
17582 # set (hence we're using an older libtool), then set it.
17583 if test x
${with_gnu_ld+set} != xset
; then
17584 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
17585 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
17588 with_gnu_ld
=$ac_cv_prog_gnu_ld
17592 # Start by getting the version number. I think the libtool test already
17593 # does some of this, but throws away the result.
17595 ldver
=`$LD --version 2>/dev/null | head -1 | \
17596 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
17598 libgomp_gnu_ld_version
=`echo $ldver | \
17599 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
17601 # Set --gc-sections.
17602 if test "$with_gnu_ld" = "notbroken"; then
17603 # GNU ld it is! Joy and bunny rabbits!
17605 # All these tests are for C++; save the language and the compiler flags.
17606 # Need to do this so that g++ won't try to link in libstdc++
17607 ac_test_CFLAGS
="${CFLAGS+set}"
17608 ac_save_CFLAGS
="$CFLAGS"
17609 CFLAGS
='-x c++ -Wl,--gc-sections'
17611 # Check for -Wl,--gc-sections
17612 # XXX This test is broken at the moment, as symbols required for linking
17613 # are now in libsupc++ (not built yet). In addition, this test has
17614 # cored on solaris in the past. In addition, --gc-sections doesn't
17615 # really work at the moment (keeps on discarding used sections, first
17616 # .eh_frame and now some of the glibc sections for iconv).
17617 # Bzzzzt. Thanks for playing, maybe next time.
17618 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
17619 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
17620 if test "$cross_compiling" = yes; then
17621 ac_sectionLDflags
=yes
17623 cat >conftest.
$ac_ext <<_ACEOF
17626 cat confdefs.h
>>conftest.
$ac_ext
17627 cat >>conftest.
$ac_ext <<_ACEOF
17628 /* end confdefs.h. */
17638 rm -f conftest
$ac_exeext
17639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17640 (eval $ac_link) 2>&5
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17645 (eval $ac_try) 2>&5
17647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); }; }; then
17649 ac_sectionLDflags
=yes
17651 echo "$as_me: program exited with status $ac_status" >&5
17652 echo "$as_me: failed program was:" >&5
17653 sed 's/^/| /' conftest.
$ac_ext >&5
17655 ( exit $ac_status )
17656 ac_sectionLDflags
=no
17658 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17660 if test "$ac_test_CFLAGS" = set; then
17661 CFLAGS
="$ac_save_CFLAGS"
17663 # this is the suspicious part
17666 if test "$ac_sectionLDflags" = "yes"; then
17667 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
17669 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
17670 echo "${ECHO_T}$ac_sectionLDflags" >&6
17673 # Set linker optimization flags.
17674 if test x
"$with_gnu_ld" = x
"yes"; then
17675 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
17683 # Check whether --enable-symvers or --disable-symvers was given.
17684 if test "${enable_symvers+set}" = set; then
17685 enableval
="$enable_symvers"
17687 case "$enableval" in
17689 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
17690 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
17691 { (exit 1); exit 1; }; } ;;
17699 # If we never went through the LIBGOMP_CHECK_LINKER_FEATURES macro, then we
17700 # don't know enough about $LD to do tricks...
17702 # FIXME The following test is too strict, in theory.
17703 if test $enable_shared = no ||
17705 test x
$libgomp_gnu_ld_version = x
; then
17709 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
17710 if test $enable_symvers != no
; then
17711 echo "$as_me:$LINENO: checking for shared libgcc" >&5
17712 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
17713 ac_save_CFLAGS
="$CFLAGS"
17715 cat >conftest.
$ac_ext <<_ACEOF
17718 cat confdefs.h
>>conftest.
$ac_ext
17719 cat >>conftest.
$ac_ext <<_ACEOF
17720 /* end confdefs.h. */
17730 rm -f conftest.
$ac_objext conftest
$ac_exeext
17731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17732 (eval $ac_link) 2>conftest.er1
17734 grep -v '^ *+' conftest.er1
>conftest.err
17736 cat conftest.err
>&5
17737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17738 (exit $ac_status); } &&
17739 { ac_try
='test -z "$ac_c_werror_flag"
17740 || test ! -s conftest.err'
17741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17742 (eval $ac_try) 2>&5
17744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); }; } &&
17746 { ac_try
='test -s conftest$ac_exeext'
17747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17748 (eval $ac_try) 2>&5
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); }; }; then
17752 libgomp_shared_libgcc
=yes
17754 echo "$as_me: failed program was:" >&5
17755 sed 's/^/| /' conftest.
$ac_ext >&5
17757 libgomp_shared_libgcc
=no
17759 rm -f conftest.err conftest.
$ac_objext \
17760 conftest
$ac_exeext conftest.
$ac_ext
17761 CFLAGS
="$ac_save_CFLAGS"
17762 if test $libgomp_shared_libgcc = no
; then
17763 cat > conftest.c
<<EOF
17764 int main (void) { return 0; }
17766 libgomp_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
17767 -shared -shared-libgcc -o conftest.so \
17768 conftest.c -v 2>&1 >/dev/null \
17769 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
17770 rm -f conftest.c conftest.so
17771 if test x
${libgomp_libgcc_s_suffix+set} = xset
; then
17772 CFLAGS
=" -lgcc_s$libgomp_libgcc_s_suffix"
17773 cat >conftest.
$ac_ext <<_ACEOF
17776 cat confdefs.h
>>conftest.
$ac_ext
17777 cat >>conftest.
$ac_ext <<_ACEOF
17778 /* end confdefs.h. */
17788 rm -f conftest.
$ac_objext conftest
$ac_exeext
17789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17790 (eval $ac_link) 2>conftest.er1
17792 grep -v '^ *+' conftest.er1
>conftest.err
17794 cat conftest.err
>&5
17795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17796 (exit $ac_status); } &&
17797 { ac_try
='test -z "$ac_c_werror_flag"
17798 || test ! -s conftest.err'
17799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17800 (eval $ac_try) 2>&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); }; } &&
17804 { ac_try
='test -s conftest$ac_exeext'
17805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17806 (eval $ac_try) 2>&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); }; }; then
17810 libgomp_shared_libgcc
=yes
17812 echo "$as_me: failed program was:" >&5
17813 sed 's/^/| /' conftest.
$ac_ext >&5
17816 rm -f conftest.err conftest.
$ac_objext \
17817 conftest
$ac_exeext conftest.
$ac_ext
17818 CFLAGS
="$ac_save_CFLAGS"
17821 echo "$as_me:$LINENO: result: $libgomp_shared_libgcc" >&5
17822 echo "${ECHO_T}$libgomp_shared_libgcc" >&6
17825 # For GNU ld, we need at least this version. The format is described in
17826 # LIBGOMP_CHECK_LINKER_FEATURES above.
17827 libgomp_min_gnu_ld_version
=21400
17828 # XXXXXXXXXXX libgomp_gnu_ld_version=21390
17830 # Check to see if unspecified "yes" value can win, given results above.
17831 # Change "yes" into either "no" or a style name.
17832 if test $enable_symvers = yes; then
17833 if test $with_gnu_ld = yes &&
17834 test $libgomp_shared_libgcc = yes;
17836 if test $libgomp_gnu_ld_version -ge $libgomp_min_gnu_ld_version ; then
17839 # The right tools, the right setup, but too old. Fallbacks?
17840 { echo "$as_me:$LINENO: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&5
17841 echo "$as_me: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&2;}
17842 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
17843 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
17844 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
17845 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
17846 { echo "$as_me:$LINENO: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&5
17847 echo "$as_me: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&2;}
17848 if test $libgomp_gnu_ld_version -ge 21200 ; then
17849 # Globbing fix is present, proper block support is not.
17850 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
17851 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
17855 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
17856 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
17861 # just fail for now
17862 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
17863 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
17864 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
17865 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
17866 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
17867 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
17868 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
17869 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
17876 if test $enable_symvers != no
; then
17877 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
=
17878 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
='#'
17880 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
='#'
17881 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
=
17884 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
17885 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
17888 # Get target configury.
17889 .
${srcdir}/configure.tgt
17890 CFLAGS
="$save_CFLAGS $XCFLAGS"
17892 # Check for __sync_val_compare_and_swap, but only after the target has
17893 # had a chance to set XCFLAGS.
17895 echo "$as_me:$LINENO: checking whether the target supports __sync_*_compare_and_swap" >&5
17896 echo $ECHO_N "checking whether the target supports __sync_*_compare_and_swap... $ECHO_C" >&6
17897 if test "${have_sync_builtins+set}" = set; then
17898 echo $ECHO_N "(cached) $ECHO_C" >&6
17901 cat >conftest.
$ac_ext <<_ACEOF
17904 cat confdefs.h
>>conftest.
$ac_ext
17905 cat >>conftest.
$ac_ext <<_ACEOF
17906 /* end confdefs.h. */
17911 int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);
17916 rm -f conftest.
$ac_objext conftest
$ac_exeext
17917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17918 (eval $ac_link) 2>conftest.er1
17920 grep -v '^ *+' conftest.er1
>conftest.err
17922 cat conftest.err
>&5
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); } &&
17925 { ac_try
='test -z "$ac_c_werror_flag"
17926 || test ! -s conftest.err'
17927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17928 (eval $ac_try) 2>&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); }; } &&
17932 { ac_try
='test -s conftest$ac_exeext'
17933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17934 (eval $ac_try) 2>&5
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); }; }; then
17938 have_sync_builtins
=yes
17940 echo "$as_me: failed program was:" >&5
17941 sed 's/^/| /' conftest.
$ac_ext >&5
17943 have_sync_builtins
=no
17945 rm -f conftest.err conftest.
$ac_objext \
17946 conftest
$ac_exeext conftest.
$ac_ext
17948 echo "$as_me:$LINENO: result: $have_sync_builtins" >&5
17949 echo "${ECHO_T}$have_sync_builtins" >&6
17950 if test $have_sync_builtins = yes; then
17952 cat >>confdefs.h
<<\_ACEOF
17953 #define HAVE_SYNC_BUILTINS 1
17958 XCFLAGS
="$XCFLAGS$XPCFLAGS"
17964 # Cleanup and exit.
17965 CFLAGS
="$save_CFLAGS"
17966 cat >confcache
<<\_ACEOF
17967 # This file is a shell script that caches the results of configure
17968 # tests run on this system so they can be shared between configure
17969 # scripts and configure runs, see configure's option --config-cache.
17970 # It is not useful on other systems. If it contains results you don't
17971 # want to keep, you may remove or edit it.
17973 # config.status only pays attention to the cache file if you give it
17974 # the --recheck option to rerun configure.
17976 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17977 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17978 # following values.
17982 # The following way of writing the cache mishandles newlines in values,
17983 # but we know of no workaround that is simple, portable, and efficient.
17984 # So, don't put newlines in cache variables' values.
17985 # Ultrix sh set writes to stderr and can't be redirected directly,
17986 # and sets the high bit in the cache file unless we assign to the vars.
17989 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17991 # `set' does not quote correctly, so add quotes (double-quote
17992 # substitution turns \\\\ into \\, and sed turns \\ into \).
17995 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17998 # `set' quotes correctly as required by POSIX, so do not add quotes.
18000 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18007 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18009 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18011 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18012 if test -w $cache_file; then
18013 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18014 cat confcache
>$cache_file
18016 echo "not updating unwritable cache $cache_file"
18021 if test ${multilib} = yes; then
18022 multilib_arg
="--enable-multilib"
18027 # Set up the set of libraries that we need to link against for libgomp.
18028 # Note that the GOMP_SELF_SPEC in gcc.c will force -pthread for -fopenmp,
18029 # which will force linkage against -lpthread (or equivalent for the system).
18030 # That's not 100% ideal, but about the best we can do easily.
18031 if test $enable_shared = yes; then
18032 link_gomp
="-lgomp %{static: $LIBS}"
18034 link_gomp
="-lgomp $LIBS"
18040 if test "$ac_cv_fc_compiler_gnu" = yes; then
18042 USE_FORTRAN_FALSE
='#'
18044 USE_FORTRAN_TRUE
='#'
18049 # ??? 2006-01-24: Paulo committed to asking autoconf folk to document
18050 # and export AC_COMPUTE_INT. If that happens, then we'll need to remove
18051 # the underscore here and update the PREREQ. If it doesn't, then we'll
18052 # need to copy this macro to our acinclude.m4.
18053 save_CFLAGS
="$CFLAGS"
18054 for i
in $config_path; do
18055 if test -f $srcdir/config
/$i/omp-lock.h
; then
18056 CFLAGS
="$CFLAGS -include $srcdir/config/$i/omp-lock.h"
18061 if test "$cross_compiling" = yes; then
18062 # Depending upon the size, compute the lo and hi bounds.
18063 cat >conftest.
$ac_ext <<_ACEOF
18066 cat confdefs.h
>>conftest.
$ac_ext
18067 cat >>conftest.
$ac_ext <<_ACEOF
18068 /* end confdefs.h. */
18073 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) >= 0)];
18080 rm -f conftest.
$ac_objext
18081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18082 (eval $ac_compile) 2>conftest.er1
18084 grep -v '^ *+' conftest.er1
>conftest.err
18086 cat conftest.err
>&5
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); } &&
18089 { ac_try
='test -z "$ac_c_werror_flag"
18090 || test ! -s conftest.err'
18091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18092 (eval $ac_try) 2>&5
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); }; } &&
18096 { ac_try
='test -s conftest.$ac_objext'
18097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18098 (eval $ac_try) 2>&5
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); }; }; then
18104 cat >conftest.
$ac_ext <<_ACEOF
18107 cat confdefs.h
>>conftest.
$ac_ext
18108 cat >>conftest.
$ac_ext <<_ACEOF
18109 /* end confdefs.h. */
18114 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) <= $ac_mid)];
18121 rm -f conftest.
$ac_objext
18122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18123 (eval $ac_compile) 2>conftest.er1
18125 grep -v '^ *+' conftest.er1
>conftest.err
18127 cat conftest.err
>&5
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); } &&
18130 { ac_try
='test -z "$ac_c_werror_flag"
18131 || test ! -s conftest.err'
18132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18133 (eval $ac_try) 2>&5
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); }; } &&
18137 { ac_try
='test -s conftest.$ac_objext'
18138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18139 (eval $ac_try) 2>&5
18141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); }; }; then
18143 ac_hi
=$ac_mid; break
18145 echo "$as_me: failed program was:" >&5
18146 sed 's/^/| /' conftest.
$ac_ext >&5
18148 ac_lo
=`expr $ac_mid + 1`
18149 if test $ac_lo -le $ac_mid; then
18153 ac_mid
=`expr 2 '*' $ac_mid + 1`
18155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18158 echo "$as_me: failed program was:" >&5
18159 sed 's/^/| /' conftest.
$ac_ext >&5
18161 cat >conftest.
$ac_ext <<_ACEOF
18164 cat confdefs.h
>>conftest.
$ac_ext
18165 cat >>conftest.
$ac_ext <<_ACEOF
18166 /* end confdefs.h. */
18171 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) < 0)];
18178 rm -f conftest.
$ac_objext
18179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18180 (eval $ac_compile) 2>conftest.er1
18182 grep -v '^ *+' conftest.er1
>conftest.err
18184 cat conftest.err
>&5
18185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18186 (exit $ac_status); } &&
18187 { ac_try
='test -z "$ac_c_werror_flag"
18188 || test ! -s conftest.err'
18189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18190 (eval $ac_try) 2>&5
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); }; } &&
18194 { ac_try
='test -s conftest.$ac_objext'
18195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18196 (eval $ac_try) 2>&5
18198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18199 (exit $ac_status); }; }; then
18202 cat >conftest.
$ac_ext <<_ACEOF
18205 cat confdefs.h
>>conftest.
$ac_ext
18206 cat >>conftest.
$ac_ext <<_ACEOF
18207 /* end confdefs.h. */
18212 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) >= $ac_mid)];
18219 rm -f conftest.
$ac_objext
18220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18221 (eval $ac_compile) 2>conftest.er1
18223 grep -v '^ *+' conftest.er1
>conftest.err
18225 cat conftest.err
>&5
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); } &&
18228 { ac_try
='test -z "$ac_c_werror_flag"
18229 || test ! -s conftest.err'
18230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18231 (eval $ac_try) 2>&5
18233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18234 (exit $ac_status); }; } &&
18235 { ac_try
='test -s conftest.$ac_objext'
18236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18237 (eval $ac_try) 2>&5
18239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18240 (exit $ac_status); }; }; then
18241 ac_lo
=$ac_mid; break
18243 echo "$as_me: failed program was:" >&5
18244 sed 's/^/| /' conftest.
$ac_ext >&5
18246 ac_hi
=`expr '(' $ac_mid ')' - 1`
18247 if test $ac_mid -le $ac_hi; then
18251 ac_mid
=`expr 2 '*' $ac_mid`
18253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18256 echo "$as_me: failed program was:" >&5
18257 sed 's/^/| /' conftest.
$ac_ext >&5
18261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18264 # Binary search between lo and hi bounds.
18265 while test "x$ac_lo" != "x$ac_hi"; do
18266 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18267 cat >conftest.
$ac_ext <<_ACEOF
18270 cat confdefs.h
>>conftest.
$ac_ext
18271 cat >>conftest.
$ac_ext <<_ACEOF
18272 /* end confdefs.h. */
18277 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) <= $ac_mid)];
18284 rm -f conftest.
$ac_objext
18285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18286 (eval $ac_compile) 2>conftest.er1
18288 grep -v '^ *+' conftest.er1
>conftest.err
18290 cat conftest.err
>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); } &&
18293 { ac_try
='test -z "$ac_c_werror_flag"
18294 || test ! -s conftest.err'
18295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18296 (eval $ac_try) 2>&5
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); }; } &&
18300 { ac_try
='test -s conftest.$ac_objext'
18301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18302 (eval $ac_try) 2>&5
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); }; }; then
18308 echo "$as_me: failed program was:" >&5
18309 sed 's/^/| /' conftest.
$ac_ext >&5
18311 ac_lo
=`expr '(' $ac_mid ')' + 1`
18313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18316 ?
*) OMP_LOCK_SIZE
=$ac_lo;;
18317 '') { { echo "$as_me:$LINENO: error: unsupported system, cannot find sizeof (omp_lock_t)" >&5
18318 echo "$as_me: error: unsupported system, cannot find sizeof (omp_lock_t)" >&2;}
18319 { (exit 1); exit 1; }; } ;;
18322 if test "$cross_compiling" = yes; then
18323 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18324 See \`config.log' for more details." >&5
18325 echo "$as_me: error: cannot run test program while cross compiling
18326 See \`config.log' for more details." >&2;}
18327 { (exit 1); exit 1; }; }
18329 cat >conftest.
$ac_ext <<_ACEOF
18332 cat confdefs.h
>>conftest.
$ac_ext
18333 cat >>conftest.
$ac_ext <<_ACEOF
18334 /* end confdefs.h. */
18336 long longval () { return sizeof (omp_lock_t); }
18337 unsigned long ulongval () { return sizeof (omp_lock_t); }
18339 #include <stdlib.h>
18344 FILE *f = fopen ("conftest.val", "w");
18347 if ((sizeof (omp_lock_t)) < 0)
18349 long i = longval ();
18350 if (i != (sizeof (omp_lock_t)))
18352 fprintf (f, "%ld\n", i);
18356 unsigned long i = ulongval ();
18357 if (i != (sizeof (omp_lock_t)))
18359 fprintf (f, "%lu\n", i);
18361 exit (ferror (f) || fclose (f) != 0);
18367 rm -f conftest
$ac_exeext
18368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18369 (eval $ac_link) 2>&5
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18374 (eval $ac_try) 2>&5
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); }; }; then
18378 OMP_LOCK_SIZE
=`cat conftest.val`
18380 echo "$as_me: program exited with status $ac_status" >&5
18381 echo "$as_me: failed program was:" >&5
18382 sed 's/^/| /' conftest.
$ac_ext >&5
18384 ( exit $ac_status )
18385 { { echo "$as_me:$LINENO: error: unsupported system, cannot find sizeof (omp_lock_t)" >&5
18386 echo "$as_me: error: unsupported system, cannot find sizeof (omp_lock_t)" >&2;}
18387 { (exit 1); exit 1; }; }
18389 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18393 if test "$cross_compiling" = yes; then
18394 # Depending upon the size, compute the lo and hi bounds.
18395 cat >conftest.
$ac_ext <<_ACEOF
18398 cat confdefs.h
>>conftest.
$ac_ext
18399 cat >>conftest.
$ac_ext <<_ACEOF
18400 /* end confdefs.h. */
18405 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) >= 0)];
18412 rm -f conftest.
$ac_objext
18413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18414 (eval $ac_compile) 2>conftest.er1
18416 grep -v '^ *+' conftest.er1
>conftest.err
18418 cat conftest.err
>&5
18419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420 (exit $ac_status); } &&
18421 { ac_try
='test -z "$ac_c_werror_flag"
18422 || test ! -s conftest.err'
18423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18424 (eval $ac_try) 2>&5
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); }; } &&
18428 { ac_try
='test -s conftest.$ac_objext'
18429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18430 (eval $ac_try) 2>&5
18432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18433 (exit $ac_status); }; }; then
18436 cat >conftest.
$ac_ext <<_ACEOF
18439 cat confdefs.h
>>conftest.
$ac_ext
18440 cat >>conftest.
$ac_ext <<_ACEOF
18441 /* end confdefs.h. */
18446 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) <= $ac_mid)];
18453 rm -f conftest.
$ac_objext
18454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18455 (eval $ac_compile) 2>conftest.er1
18457 grep -v '^ *+' conftest.er1
>conftest.err
18459 cat conftest.err
>&5
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); } &&
18462 { ac_try
='test -z "$ac_c_werror_flag"
18463 || test ! -s conftest.err'
18464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18465 (eval $ac_try) 2>&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); }; } &&
18469 { ac_try
='test -s conftest.$ac_objext'
18470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18471 (eval $ac_try) 2>&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); }; }; then
18475 ac_hi
=$ac_mid; break
18477 echo "$as_me: failed program was:" >&5
18478 sed 's/^/| /' conftest.
$ac_ext >&5
18480 ac_lo
=`expr $ac_mid + 1`
18481 if test $ac_lo -le $ac_mid; then
18485 ac_mid
=`expr 2 '*' $ac_mid + 1`
18487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18490 echo "$as_me: failed program was:" >&5
18491 sed 's/^/| /' conftest.
$ac_ext >&5
18493 cat >conftest.
$ac_ext <<_ACEOF
18496 cat confdefs.h
>>conftest.
$ac_ext
18497 cat >>conftest.
$ac_ext <<_ACEOF
18498 /* end confdefs.h. */
18503 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) < 0)];
18510 rm -f conftest.
$ac_objext
18511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18512 (eval $ac_compile) 2>conftest.er1
18514 grep -v '^ *+' conftest.er1
>conftest.err
18516 cat conftest.err
>&5
18517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18518 (exit $ac_status); } &&
18519 { ac_try
='test -z "$ac_c_werror_flag"
18520 || test ! -s conftest.err'
18521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18522 (eval $ac_try) 2>&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); }; } &&
18526 { ac_try
='test -s conftest.$ac_objext'
18527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18528 (eval $ac_try) 2>&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); }; }; then
18534 cat >conftest.
$ac_ext <<_ACEOF
18537 cat confdefs.h
>>conftest.
$ac_ext
18538 cat >>conftest.
$ac_ext <<_ACEOF
18539 /* end confdefs.h. */
18544 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) >= $ac_mid)];
18551 rm -f conftest.
$ac_objext
18552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18553 (eval $ac_compile) 2>conftest.er1
18555 grep -v '^ *+' conftest.er1
>conftest.err
18557 cat conftest.err
>&5
18558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18559 (exit $ac_status); } &&
18560 { ac_try
='test -z "$ac_c_werror_flag"
18561 || test ! -s conftest.err'
18562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18563 (eval $ac_try) 2>&5
18565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566 (exit $ac_status); }; } &&
18567 { ac_try
='test -s conftest.$ac_objext'
18568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18569 (eval $ac_try) 2>&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); }; }; then
18573 ac_lo
=$ac_mid; break
18575 echo "$as_me: failed program was:" >&5
18576 sed 's/^/| /' conftest.
$ac_ext >&5
18578 ac_hi
=`expr '(' $ac_mid ')' - 1`
18579 if test $ac_mid -le $ac_hi; then
18583 ac_mid
=`expr 2 '*' $ac_mid`
18585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18588 echo "$as_me: failed program was:" >&5
18589 sed 's/^/| /' conftest.
$ac_ext >&5
18593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18596 # Binary search between lo and hi bounds.
18597 while test "x$ac_lo" != "x$ac_hi"; do
18598 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18599 cat >conftest.
$ac_ext <<_ACEOF
18602 cat confdefs.h
>>conftest.
$ac_ext
18603 cat >>conftest.
$ac_ext <<_ACEOF
18604 /* end confdefs.h. */
18609 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) <= $ac_mid)];
18616 rm -f conftest.
$ac_objext
18617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18618 (eval $ac_compile) 2>conftest.er1
18620 grep -v '^ *+' conftest.er1
>conftest.err
18622 cat conftest.err
>&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); } &&
18625 { ac_try
='test -z "$ac_c_werror_flag"
18626 || test ! -s conftest.err'
18627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18628 (eval $ac_try) 2>&5
18630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18631 (exit $ac_status); }; } &&
18632 { ac_try
='test -s conftest.$ac_objext'
18633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18634 (eval $ac_try) 2>&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); }; }; then
18640 echo "$as_me: failed program was:" >&5
18641 sed 's/^/| /' conftest.
$ac_ext >&5
18643 ac_lo
=`expr '(' $ac_mid ')' + 1`
18645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18648 ?
*) OMP_LOCK_ALIGN
=$ac_lo;;
18652 if test "$cross_compiling" = yes; then
18653 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18654 See \`config.log' for more details." >&5
18655 echo "$as_me: error: cannot run test program while cross compiling
18656 See \`config.log' for more details." >&2;}
18657 { (exit 1); exit 1; }; }
18659 cat >conftest.
$ac_ext <<_ACEOF
18662 cat confdefs.h
>>conftest.
$ac_ext
18663 cat >>conftest.
$ac_ext <<_ACEOF
18664 /* end confdefs.h. */
18666 long longval () { return __alignof (omp_lock_t); }
18667 unsigned long ulongval () { return __alignof (omp_lock_t); }
18669 #include <stdlib.h>
18674 FILE *f = fopen ("conftest.val", "w");
18677 if ((__alignof (omp_lock_t)) < 0)
18679 long i = longval ();
18680 if (i != (__alignof (omp_lock_t)))
18682 fprintf (f, "%ld\n", i);
18686 unsigned long i = ulongval ();
18687 if (i != (__alignof (omp_lock_t)))
18689 fprintf (f, "%lu\n", i);
18691 exit (ferror (f) || fclose (f) != 0);
18697 rm -f conftest
$ac_exeext
18698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18699 (eval $ac_link) 2>&5
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18704 (eval $ac_try) 2>&5
18706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707 (exit $ac_status); }; }; then
18708 OMP_LOCK_ALIGN
=`cat conftest.val`
18710 echo "$as_me: program exited with status $ac_status" >&5
18711 echo "$as_me: failed program was:" >&5
18712 sed 's/^/| /' conftest.
$ac_ext >&5
18715 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18719 if test "$cross_compiling" = yes; then
18720 # Depending upon the size, compute the lo and hi bounds.
18721 cat >conftest.
$ac_ext <<_ACEOF
18724 cat confdefs.h
>>conftest.
$ac_ext
18725 cat >>conftest.
$ac_ext <<_ACEOF
18726 /* end confdefs.h. */
18731 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) >= 0)];
18738 rm -f conftest.
$ac_objext
18739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18740 (eval $ac_compile) 2>conftest.er1
18742 grep -v '^ *+' conftest.er1
>conftest.err
18744 cat conftest.err
>&5
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); } &&
18747 { ac_try
='test -z "$ac_c_werror_flag"
18748 || test ! -s conftest.err'
18749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18750 (eval $ac_try) 2>&5
18752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18753 (exit $ac_status); }; } &&
18754 { ac_try
='test -s conftest.$ac_objext'
18755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18756 (eval $ac_try) 2>&5
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); }; }; then
18762 cat >conftest.
$ac_ext <<_ACEOF
18765 cat confdefs.h
>>conftest.
$ac_ext
18766 cat >>conftest.
$ac_ext <<_ACEOF
18767 /* end confdefs.h. */
18772 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) <= $ac_mid)];
18779 rm -f conftest.
$ac_objext
18780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18781 (eval $ac_compile) 2>conftest.er1
18783 grep -v '^ *+' conftest.er1
>conftest.err
18785 cat conftest.err
>&5
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); } &&
18788 { ac_try
='test -z "$ac_c_werror_flag"
18789 || test ! -s conftest.err'
18790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18791 (eval $ac_try) 2>&5
18793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794 (exit $ac_status); }; } &&
18795 { ac_try
='test -s conftest.$ac_objext'
18796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18797 (eval $ac_try) 2>&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); }; }; then
18801 ac_hi
=$ac_mid; break
18803 echo "$as_me: failed program was:" >&5
18804 sed 's/^/| /' conftest.
$ac_ext >&5
18806 ac_lo
=`expr $ac_mid + 1`
18807 if test $ac_lo -le $ac_mid; then
18811 ac_mid
=`expr 2 '*' $ac_mid + 1`
18813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18816 echo "$as_me: failed program was:" >&5
18817 sed 's/^/| /' conftest.
$ac_ext >&5
18819 cat >conftest.
$ac_ext <<_ACEOF
18822 cat confdefs.h
>>conftest.
$ac_ext
18823 cat >>conftest.
$ac_ext <<_ACEOF
18824 /* end confdefs.h. */
18829 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) < 0)];
18836 rm -f conftest.
$ac_objext
18837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18838 (eval $ac_compile) 2>conftest.er1
18840 grep -v '^ *+' conftest.er1
>conftest.err
18842 cat conftest.err
>&5
18843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); } &&
18845 { ac_try
='test -z "$ac_c_werror_flag"
18846 || test ! -s conftest.err'
18847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18848 (eval $ac_try) 2>&5
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); }; } &&
18852 { ac_try
='test -s conftest.$ac_objext'
18853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18854 (eval $ac_try) 2>&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); }; }; then
18860 cat >conftest.
$ac_ext <<_ACEOF
18863 cat confdefs.h
>>conftest.
$ac_ext
18864 cat >>conftest.
$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18870 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) >= $ac_mid)];
18877 rm -f conftest.
$ac_objext
18878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18879 (eval $ac_compile) 2>conftest.er1
18881 grep -v '^ *+' conftest.er1
>conftest.err
18883 cat conftest.err
>&5
18884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18885 (exit $ac_status); } &&
18886 { ac_try
='test -z "$ac_c_werror_flag"
18887 || test ! -s conftest.err'
18888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18889 (eval $ac_try) 2>&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); }; } &&
18893 { ac_try
='test -s conftest.$ac_objext'
18894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18895 (eval $ac_try) 2>&5
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); }; }; then
18899 ac_lo
=$ac_mid; break
18901 echo "$as_me: failed program was:" >&5
18902 sed 's/^/| /' conftest.
$ac_ext >&5
18904 ac_hi
=`expr '(' $ac_mid ')' - 1`
18905 if test $ac_mid -le $ac_hi; then
18909 ac_mid
=`expr 2 '*' $ac_mid`
18911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18914 echo "$as_me: failed program was:" >&5
18915 sed 's/^/| /' conftest.
$ac_ext >&5
18919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18922 # Binary search between lo and hi bounds.
18923 while test "x$ac_lo" != "x$ac_hi"; do
18924 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18925 cat >conftest.
$ac_ext <<_ACEOF
18928 cat confdefs.h
>>conftest.
$ac_ext
18929 cat >>conftest.
$ac_ext <<_ACEOF
18930 /* end confdefs.h. */
18935 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) <= $ac_mid)];
18942 rm -f conftest.
$ac_objext
18943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18944 (eval $ac_compile) 2>conftest.er1
18946 grep -v '^ *+' conftest.er1
>conftest.err
18948 cat conftest.err
>&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); } &&
18951 { ac_try
='test -z "$ac_c_werror_flag"
18952 || test ! -s conftest.err'
18953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18954 (eval $ac_try) 2>&5
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); }; } &&
18958 { ac_try
='test -s conftest.$ac_objext'
18959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18960 (eval $ac_try) 2>&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); }; }; then
18966 echo "$as_me: failed program was:" >&5
18967 sed 's/^/| /' conftest.
$ac_ext >&5
18969 ac_lo
=`expr '(' $ac_mid ')' + 1`
18971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18974 ?
*) OMP_NEST_LOCK_SIZE
=$ac_lo;;
18978 if test "$cross_compiling" = yes; then
18979 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18980 See \`config.log' for more details." >&5
18981 echo "$as_me: error: cannot run test program while cross compiling
18982 See \`config.log' for more details." >&2;}
18983 { (exit 1); exit 1; }; }
18985 cat >conftest.
$ac_ext <<_ACEOF
18988 cat confdefs.h
>>conftest.
$ac_ext
18989 cat >>conftest.
$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18992 long longval () { return sizeof (omp_nest_lock_t); }
18993 unsigned long ulongval () { return sizeof (omp_nest_lock_t); }
18995 #include <stdlib.h>
19000 FILE *f = fopen ("conftest.val", "w");
19003 if ((sizeof (omp_nest_lock_t)) < 0)
19005 long i = longval ();
19006 if (i != (sizeof (omp_nest_lock_t)))
19008 fprintf (f, "%ld\n", i);
19012 unsigned long i = ulongval ();
19013 if (i != (sizeof (omp_nest_lock_t)))
19015 fprintf (f, "%lu\n", i);
19017 exit (ferror (f) || fclose (f) != 0);
19023 rm -f conftest
$ac_exeext
19024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19025 (eval $ac_link) 2>&5
19027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19028 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19030 (eval $ac_try) 2>&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); }; }; then
19034 OMP_NEST_LOCK_SIZE
=`cat conftest.val`
19036 echo "$as_me: program exited with status $ac_status" >&5
19037 echo "$as_me: failed program was:" >&5
19038 sed 's/^/| /' conftest.
$ac_ext >&5
19041 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19045 if test "$cross_compiling" = yes; then
19046 # Depending upon the size, compute the lo and hi bounds.
19047 cat >conftest.
$ac_ext <<_ACEOF
19050 cat confdefs.h
>>conftest.
$ac_ext
19051 cat >>conftest.
$ac_ext <<_ACEOF
19052 /* end confdefs.h. */
19057 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) >= 0)];
19064 rm -f conftest.
$ac_objext
19065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19066 (eval $ac_compile) 2>conftest.er1
19068 grep -v '^ *+' conftest.er1
>conftest.err
19070 cat conftest.err
>&5
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); } &&
19073 { ac_try
='test -z "$ac_c_werror_flag"
19074 || test ! -s conftest.err'
19075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19076 (eval $ac_try) 2>&5
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); }; } &&
19080 { ac_try
='test -s conftest.$ac_objext'
19081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19082 (eval $ac_try) 2>&5
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); }; }; then
19088 cat >conftest.
$ac_ext <<_ACEOF
19091 cat confdefs.h
>>conftest.
$ac_ext
19092 cat >>conftest.
$ac_ext <<_ACEOF
19093 /* end confdefs.h. */
19098 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) <= $ac_mid)];
19105 rm -f conftest.
$ac_objext
19106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19107 (eval $ac_compile) 2>conftest.er1
19109 grep -v '^ *+' conftest.er1
>conftest.err
19111 cat conftest.err
>&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); } &&
19114 { ac_try
='test -z "$ac_c_werror_flag"
19115 || test ! -s conftest.err'
19116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19117 (eval $ac_try) 2>&5
19119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120 (exit $ac_status); }; } &&
19121 { ac_try
='test -s conftest.$ac_objext'
19122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19123 (eval $ac_try) 2>&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); }; }; then
19127 ac_hi
=$ac_mid; break
19129 echo "$as_me: failed program was:" >&5
19130 sed 's/^/| /' conftest.
$ac_ext >&5
19132 ac_lo
=`expr $ac_mid + 1`
19133 if test $ac_lo -le $ac_mid; then
19137 ac_mid
=`expr 2 '*' $ac_mid + 1`
19139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19142 echo "$as_me: failed program was:" >&5
19143 sed 's/^/| /' conftest.
$ac_ext >&5
19145 cat >conftest.
$ac_ext <<_ACEOF
19148 cat confdefs.h
>>conftest.
$ac_ext
19149 cat >>conftest.
$ac_ext <<_ACEOF
19150 /* end confdefs.h. */
19155 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) < 0)];
19162 rm -f conftest.
$ac_objext
19163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19164 (eval $ac_compile) 2>conftest.er1
19166 grep -v '^ *+' conftest.er1
>conftest.err
19168 cat conftest.err
>&5
19169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19170 (exit $ac_status); } &&
19171 { ac_try
='test -z "$ac_c_werror_flag"
19172 || test ! -s conftest.err'
19173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19174 (eval $ac_try) 2>&5
19176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177 (exit $ac_status); }; } &&
19178 { ac_try
='test -s conftest.$ac_objext'
19179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19180 (eval $ac_try) 2>&5
19182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19183 (exit $ac_status); }; }; then
19186 cat >conftest.
$ac_ext <<_ACEOF
19189 cat confdefs.h
>>conftest.
$ac_ext
19190 cat >>conftest.
$ac_ext <<_ACEOF
19191 /* end confdefs.h. */
19196 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) >= $ac_mid)];
19203 rm -f conftest.
$ac_objext
19204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19205 (eval $ac_compile) 2>conftest.er1
19207 grep -v '^ *+' conftest.er1
>conftest.err
19209 cat conftest.err
>&5
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); } &&
19212 { ac_try
='test -z "$ac_c_werror_flag"
19213 || test ! -s conftest.err'
19214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19215 (eval $ac_try) 2>&5
19217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19218 (exit $ac_status); }; } &&
19219 { ac_try
='test -s conftest.$ac_objext'
19220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19221 (eval $ac_try) 2>&5
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); }; }; then
19225 ac_lo
=$ac_mid; break
19227 echo "$as_me: failed program was:" >&5
19228 sed 's/^/| /' conftest.
$ac_ext >&5
19230 ac_hi
=`expr '(' $ac_mid ')' - 1`
19231 if test $ac_mid -le $ac_hi; then
19235 ac_mid
=`expr 2 '*' $ac_mid`
19237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19240 echo "$as_me: failed program was:" >&5
19241 sed 's/^/| /' conftest.
$ac_ext >&5
19245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19248 # Binary search between lo and hi bounds.
19249 while test "x$ac_lo" != "x$ac_hi"; do
19250 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19251 cat >conftest.
$ac_ext <<_ACEOF
19254 cat confdefs.h
>>conftest.
$ac_ext
19255 cat >>conftest.
$ac_ext <<_ACEOF
19256 /* end confdefs.h. */
19261 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) <= $ac_mid)];
19268 rm -f conftest.
$ac_objext
19269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19270 (eval $ac_compile) 2>conftest.er1
19272 grep -v '^ *+' conftest.er1
>conftest.err
19274 cat conftest.err
>&5
19275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); } &&
19277 { ac_try
='test -z "$ac_c_werror_flag"
19278 || test ! -s conftest.err'
19279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19280 (eval $ac_try) 2>&5
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); }; } &&
19284 { ac_try
='test -s conftest.$ac_objext'
19285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19286 (eval $ac_try) 2>&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); }; }; then
19292 echo "$as_me: failed program was:" >&5
19293 sed 's/^/| /' conftest.
$ac_ext >&5
19295 ac_lo
=`expr '(' $ac_mid ')' + 1`
19297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19300 ?
*) OMP_NEST_LOCK_ALIGN
=$ac_lo;;
19304 if test "$cross_compiling" = yes; then
19305 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19306 See \`config.log' for more details." >&5
19307 echo "$as_me: error: cannot run test program while cross compiling
19308 See \`config.log' for more details." >&2;}
19309 { (exit 1); exit 1; }; }
19311 cat >conftest.
$ac_ext <<_ACEOF
19314 cat confdefs.h
>>conftest.
$ac_ext
19315 cat >>conftest.
$ac_ext <<_ACEOF
19316 /* end confdefs.h. */
19318 long longval () { return __alignof (omp_nest_lock_t); }
19319 unsigned long ulongval () { return __alignof (omp_nest_lock_t); }
19321 #include <stdlib.h>
19326 FILE *f = fopen ("conftest.val", "w");
19329 if ((__alignof (omp_nest_lock_t)) < 0)
19331 long i = longval ();
19332 if (i != (__alignof (omp_nest_lock_t)))
19334 fprintf (f, "%ld\n", i);
19338 unsigned long i = ulongval ();
19339 if (i != (__alignof (omp_nest_lock_t)))
19341 fprintf (f, "%lu\n", i);
19343 exit (ferror (f) || fclose (f) != 0);
19349 rm -f conftest
$ac_exeext
19350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19351 (eval $ac_link) 2>&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19356 (eval $ac_try) 2>&5
19358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19359 (exit $ac_status); }; }; then
19360 OMP_NEST_LOCK_ALIGN
=`cat conftest.val`
19362 echo "$as_me: program exited with status $ac_status" >&5
19363 echo "$as_me: failed program was:" >&5
19364 sed 's/^/| /' conftest.
$ac_ext >&5
19367 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19372 # If the lock fits in an integer, then arrange for Fortran to use that
19373 # integer. If it doesn't, then arrange for Fortran to use a pointer.
19374 # Except that we don't have a way at present to multi-lib the installed
19375 # Fortran modules, so we assume 8 bytes for pointers, regardless of the
19377 OMP_LOCK_KIND
=$OMP_LOCK_SIZE
19378 OMP_NEST_LOCK_KIND
=$OMP_NEST_LOCK_SIZE
19379 if test $OMP_LOCK_SIZE -gt 8 ||
test $OMP_LOCK_ALIGN -gt $OMP_LOCK_SIZE; then
19382 if test $OMP_NEST_LOCK_SIZE -gt 8 ||
test $OMP_NEST_LOCK_ALIGN -gt $OMP_NEST_LOCK_SIZE; then
19383 OMP_NEST_LOCK_KIND
=8
19392 CFLAGS
="$save_CFLAGS"
19394 ac_config_files
="$ac_config_files omp.h omp_lib.h omp_lib.f90 libgomp_f.h"
19396 ac_config_files
="$ac_config_files Makefile testsuite/Makefile libgomp.spec"
19398 cat >confcache
<<\_ACEOF
19399 # This file is a shell script that caches the results of configure
19400 # tests run on this system so they can be shared between configure
19401 # scripts and configure runs, see configure's option --config-cache.
19402 # It is not useful on other systems. If it contains results you don't
19403 # want to keep, you may remove or edit it.
19405 # config.status only pays attention to the cache file if you give it
19406 # the --recheck option to rerun configure.
19408 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19409 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19410 # following values.
19414 # The following way of writing the cache mishandles newlines in values,
19415 # but we know of no workaround that is simple, portable, and efficient.
19416 # So, don't put newlines in cache variables' values.
19417 # Ultrix sh set writes to stderr and can't be redirected directly,
19418 # and sets the high bit in the cache file unless we assign to the vars.
19421 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19423 # `set' does not quote correctly, so add quotes (double-quote
19424 # substitution turns \\\\ into \\, and sed turns \\ into \).
19427 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19430 # `set' quotes correctly as required by POSIX, so do not add quotes.
19432 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19439 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19441 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19443 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19444 if test -w $cache_file; then
19445 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19446 cat confcache
>$cache_file
19448 echo "not updating unwritable cache $cache_file"
19453 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19454 # Let make expand exec_prefix.
19455 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19457 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19458 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19459 # trailing colons and then remove the whole line if VPATH becomes empty
19460 # (actually we leave an empty line to preserve line numbers).
19461 if test "x$srcdir" = x.
; then
19462 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19463 s/:*\$(srcdir):*/:/;
19464 s/:*\${srcdir}:*/:/;
19466 s/^\([^=]*=[ ]*\):*/\1/;
19472 DEFS
=-DHAVE_CONFIG_H
19476 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19477 # 1. Remove the extension, and $U if already installed.
19478 ac_i
=`echo "$ac_i" |
19479 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19481 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
19482 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
19484 LIBOBJS
=$ac_libobjs
19486 LTLIBOBJS
=$ac_ltlibobjs
19489 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
19490 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC\" was never defined.
19491 Usually this means the macro was only invoked conditionally." >&5
19492 echo "$as_me: error: conditional \"GENINSRC\" was never defined.
19493 Usually this means the macro was only invoked conditionally." >&2;}
19494 { (exit 1); exit 1; }; }
19496 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19497 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19498 Usually this means the macro was only invoked conditionally." >&5
19499 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19500 Usually this means the macro was only invoked conditionally." >&2;}
19501 { (exit 1); exit 1; }; }
19503 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19504 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19505 Usually this means the macro was only invoked conditionally." >&5
19506 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19507 Usually this means the macro was only invoked conditionally." >&2;}
19508 { (exit 1); exit 1; }; }
19510 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
19511 { { echo "$as_me:$LINENO: error: conditional \"BUILD_INFO\" was never defined.
19512 Usually this means the macro was only invoked conditionally." >&5
19513 echo "$as_me: error: conditional \"BUILD_INFO\" was never defined.
19514 Usually this means the macro was only invoked conditionally." >&2;}
19515 { (exit 1); exit 1; }; }
19517 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19518 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
19519 Usually this means the macro was only invoked conditionally." >&5
19520 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
19521 Usually this means the macro was only invoked conditionally." >&2;}
19522 { (exit 1); exit 1; }; }
19524 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE}"; then
19525 { { echo "$as_me:$LINENO: error: conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
19526 Usually this means the macro was only invoked conditionally." >&5
19527 echo "$as_me: error: conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
19528 Usually this means the macro was only invoked conditionally." >&2;}
19529 { (exit 1); exit 1; }; }
19531 if test -z "${USE_FORTRAN_TRUE}" && test -z "${USE_FORTRAN_FALSE}"; then
19532 { { echo "$as_me:$LINENO: error: conditional \"USE_FORTRAN\" was never defined.
19533 Usually this means the macro was only invoked conditionally." >&5
19534 echo "$as_me: error: conditional \"USE_FORTRAN\" was never defined.
19535 Usually this means the macro was only invoked conditionally." >&2;}
19536 { (exit 1); exit 1; }; }
19539 : ${CONFIG_STATUS=./config.status}
19540 ac_clean_files_save
=$ac_clean_files
19541 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19542 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19543 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19544 cat >$CONFIG_STATUS <<_ACEOF
19546 # Generated by $as_me.
19547 # Run this file to recreate the current configuration.
19548 # Compiler output produced by configure, useful for debugging
19549 # configure, is in config.log if it exists.
19552 ac_cs_recheck=false
19554 SHELL=\${CONFIG_SHELL-$SHELL}
19557 cat >>$CONFIG_STATUS <<\_ACEOF
19558 ## --------------------- ##
19559 ## M4sh Initialization. ##
19560 ## --------------------- ##
19562 # Be Bourne compatible
19563 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19566 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19567 # is contrary to our usage. Disable this feature.
19568 alias -g '${1+"$@"}'='"$@"'
19569 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
19572 DUALCASE
=1; export DUALCASE
# for MKS sh
19574 # Support unset when possible.
19575 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19582 # Work around bugs in pre-3.0 UWIN ksh.
19583 $as_unset ENV MAIL MAILPATH
19590 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19591 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19592 LC_TELEPHONE LC_TIME
19594 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19595 eval $as_var=C
; export $as_var
19601 # Required to use basename.
19602 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19608 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
19609 as_basename
=basename
19615 # Name of the executable.
19616 as_me
=`$as_basename "$0" ||
19617 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19618 X"$0" : 'X\(//\)$' \| \
19619 X"$0" : 'X\(/\)$' \| \
19620 . : '\(.\)' 2>/dev/null ||
19622 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19623 /^X\/\(\/\/\)$/{ s//\1/; q; }
19624 /^X\/\(\/\).*/{ s//\1/; q; }
19628 # PATH needs CR, and LINENO needs CR and PATH.
19629 # Avoid depending upon Character Ranges.
19630 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19631 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19632 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19633 as_cr_digits
='0123456789'
19634 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19636 # The user is always right.
19637 if test "${PATH_SEPARATOR+set}" != set; then
19638 echo "#! /bin/sh" >conf$$.sh
19639 echo "exit 0" >>conf$$.sh
19641 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19650 as_lineno_1
=$LINENO
19651 as_lineno_2
=$LINENO
19652 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
19653 test "x$as_lineno_1" != "x$as_lineno_2" &&
19654 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
19655 # Find who we are. Look in the path if we contain no path at all
19658 *[\\/]* ) as_myself
=$0 ;;
19659 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19660 for as_dir
in $PATH
19663 test -z "$as_dir" && as_dir
=.
19664 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19669 # We did not find ourselves, most probably we were run as `sh COMMAND'
19670 # in which case we are not to be found in the path.
19671 if test "x$as_myself" = x
; then
19674 if test ! -f "$as_myself"; then
19675 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19676 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19677 { (exit 1); exit 1; }; }
19679 case $CONFIG_SHELL in
19681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19682 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
19685 test -z "$as_dir" && as_dir
=.
19686 for as_base
in sh bash ksh sh5
; do
19689 if ("$as_dir/$as_base" -c '
19690 as_lineno_1=$LINENO
19691 as_lineno_2=$LINENO
19692 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19693 test "x$as_lineno_1" != "x$as_lineno_2" &&
19694 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
19695 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
19696 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
19697 CONFIG_SHELL
=$as_dir/$as_base
19698 export CONFIG_SHELL
19699 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19707 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19708 # uniformly replaced by the line number. The first 'sed' inserts a
19709 # line-number line before each line; the second 'sed' does the real
19710 # work. The second script uses 'N' to pair each line-number line
19711 # with the numbered line, and appends trailing '-' during
19712 # substitution so that $LINENO is not a special case at line end.
19713 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19714 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
19715 sed '=' <$as_myself |
19720 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19723 s,^['$as_cr_digits']*\n,,
19724 ' >$as_me.lineno
&&
19725 chmod +x
$as_me.lineno ||
19726 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19727 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
19728 { (exit 1); exit 1; }; }
19730 # Don't try to exec as it changes $[0], causing all sort of problems
19731 # (the dirname of $[0] is not the place where we might find the
19732 # original and so on. Autoconf is especially sensible to this).
19734 # Exit status is that of the last command.
19739 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19740 *c
*,-n*) ECHO_N
= ECHO_C
='
19742 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
19743 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
19746 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19752 rm -f conf$$ conf$$.exe conf$$.
file
19754 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19755 # We could just check for DJGPP; but this test a) works b) is more generic
19756 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19757 if test -f conf$$.exe
; then
19758 # Don't use ln at all; we don't have any links
19763 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19768 rm -f conf$$ conf$$.exe conf$$.
file
19770 if mkdir
-p .
2>/dev
/null
; then
19773 test -d .
/-p && rmdir .
/-p
19777 as_executable_p
="test -f"
19779 # Sed expression to map a string onto a valid CPP name.
19780 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19782 # Sed expression to map a string onto a valid variable name.
19783 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19787 # We need space, tab and new line, in precisely that order.
19797 # Open the log real soon, to keep \$[0] and so on meaningful, and to
19798 # report actual input values of CONFIG_FILES etc. instead of their
19799 # values after options handling. Logging --version etc. is OK.
19803 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19804 ## Running $as_me. ##
19809 This file was extended by GNU OpenMP Runtime Library $as_me 1.0, which was
19810 generated by GNU Autoconf 2.59. Invocation command line was
19812 CONFIG_FILES = $CONFIG_FILES
19813 CONFIG_HEADERS = $CONFIG_HEADERS
19814 CONFIG_LINKS = $CONFIG_LINKS
19815 CONFIG_COMMANDS = $CONFIG_COMMANDS
19819 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19823 # Files that config.status was made for.
19824 if test -n "$ac_config_files"; then
19825 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19828 if test -n "$ac_config_headers"; then
19829 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19832 if test -n "$ac_config_links"; then
19833 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19836 if test -n "$ac_config_commands"; then
19837 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19840 cat >>$CONFIG_STATUS <<\_ACEOF
19843 \`$as_me' instantiates files from templates according to the
19844 current configuration.
19846 Usage: $0 [OPTIONS] [FILE]...
19848 -h, --help print this help, then exit
19849 -V, --version print version number, then exit
19850 -q, --quiet do not print progress messages
19851 -d, --debug don't remove temporary files
19852 --recheck update $as_me by reconfiguring in the same conditions
19853 --file=FILE[:TEMPLATE]
19854 instantiate the configuration file FILE
19855 --header=FILE[:TEMPLATE]
19856 instantiate the configuration header FILE
19858 Configuration files:
19861 Configuration headers:
19864 Configuration commands:
19867 Report bugs to <bug-autoconf@gnu.org>."
19870 cat >>$CONFIG_STATUS <<_ACEOF
19872 GNU OpenMP Runtime Library config.status 1.0
19873 configured by $0, generated by GNU Autoconf 2.59,
19874 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19876 Copyright (C) 2003 Free Software Foundation, Inc.
19877 This config.status script is free software; the Free Software Foundation
19878 gives unlimited permission to copy, distribute and modify it."
19883 cat >>$CONFIG_STATUS <<\_ACEOF
19884 # If no file are specified by the user, then we need to provide default
19885 # value. By we need to know if files were specified by the user.
19891 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
19892 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
19900 *) # This is not an option, so the user has probably given explicit
19903 ac_need_defaults
=false
;;
19907 # Handling of the options.
19909 cat >>$CONFIG_STATUS <<\_ACEOF
19910 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19912 --version |
--vers* |
-V )
19913 echo "$ac_cs_version"; exit 0 ;;
19915 # Conflict between --help and --header
19916 { { echo "$as_me:$LINENO: error: ambiguous option: $1
19917 Try \`$0 --help' for more information." >&5
19918 echo "$as_me: error: ambiguous option: $1
19919 Try \`$0 --help' for more information." >&2;}
19920 { (exit 1); exit 1; }; };;
19921 --help |
--hel |
-h )
19922 echo "$ac_cs_usage"; exit 0 ;;
19923 --debug |
--d* |
-d )
19925 --file |
--fil |
--fi |
--f )
19927 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
19928 ac_need_defaults
=false
;;
19929 --header |
--heade |
--head |
--hea )
19931 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
19932 ac_need_defaults
=false
;;
19933 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19934 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19937 # This is an error.
19938 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
19939 Try \`$0 --help' for more information." >&5
19940 echo "$as_me: error: unrecognized option: $1
19941 Try \`$0 --help' for more information." >&2;}
19942 { (exit 1); exit 1; }; } ;;
19944 *) ac_config_targets
="$ac_config_targets $1" ;;
19950 ac_configure_extra_args
=
19952 if $ac_cs_silent; then
19954 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19958 cat >>$CONFIG_STATUS <<_ACEOF
19959 if \$ac_cs_recheck; then
19960 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19961 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19966 cat >>$CONFIG_STATUS <<_ACEOF
19968 # INIT-COMMANDS section.
19975 with_multisubdir="$with_multisubdir"
19976 with_multisrctop="$with_multisrctop"
19977 with_target_subdir="$with_target_subdir"
19978 ac_configure_args="${multilib_arg} ${ac_configure_args}"
19979 multi_basedir="$multi_basedir"
19980 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
19982 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19985 # The HP-UX ksh and POSIX shell print the target directory to stdout
19986 # if CDPATH is set.
19987 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19989 sed_quote_subst='$sed_quote_subst'
19990 double_quote_subst='$double_quote_subst'
19991 delay_variable_subst='$delay_variable_subst'
19992 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
19993 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
19994 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
19995 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
19996 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
19997 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
19998 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
19999 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
20000 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
20001 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
20002 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
20003 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
20004 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
20005 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
20006 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
20007 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
20008 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
20009 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
20010 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
20011 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
20012 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
20013 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
20014 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
20015 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
20016 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
20017 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
20018 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
20019 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20020 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
20021 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
20022 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
20023 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20024 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
20025 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
20026 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20027 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20028 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20029 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
20030 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20031 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
20032 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
20033 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20034 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20035 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"`'
20036 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20037 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20038 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20039 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20040 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20041 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20042 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20043 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20044 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20045 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20046 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
20047 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20048 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20049 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20050 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20051 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20052 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20053 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
20054 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20055 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20056 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20057 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20058 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20059 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20060 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20061 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20062 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20063 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20064 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20065 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20066 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20067 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
20068 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20069 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20070 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20071 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20072 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20073 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20074 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20075 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20076 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20077 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20078 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20079 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20080 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20081 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20082 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20083 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20084 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20085 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20086 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20087 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20088 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20089 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20090 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20091 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20092 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20093 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20094 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20095 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20096 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20097 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20098 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20099 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20100 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20101 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20102 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20103 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20104 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20105 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
20106 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
20107 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
20108 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
20109 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20110 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
20111 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
20112 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
20113 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
20114 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
20115 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
20116 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
20117 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
20118 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
20119 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
20120 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
20121 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
20122 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20123 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20124 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20125 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20126 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20127 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20128 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
20129 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
20130 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
20131 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
20132 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
20133 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
20134 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
20135 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
20136 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
20137 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
20138 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
20139 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
20140 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
20141 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
20142 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
20143 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20144 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
20145 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
20146 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20147 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
20148 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
20149 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
20150 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
20151 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
20152 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
20153 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
20156 LTCFLAGS='$LTCFLAGS'
20157 compiler='$compiler_DEFAULT'
20159 # Quote evaled strings.
20170 deplibs_check_method \
20179 lt_cv_sys_global_symbol_pipe \
20180 lt_cv_sys_global_symbol_to_cdecl \
20181 lt_cv_sys_global_symbol_to_c_name_address \
20184 lt_prog_compiler_no_builtin_flag \
20185 lt_prog_compiler_wl \
20186 lt_prog_compiler_pic \
20187 lt_prog_compiler_static \
20188 lt_cv_prog_compiler_c_o \
20191 export_dynamic_flag_spec \
20192 whole_archive_flag_spec \
20193 compiler_needs_object \
20195 allow_undefined_flag \
20196 no_undefined_flag \
20197 hardcode_libdir_flag_spec \
20198 hardcode_libdir_flag_spec_ld \
20199 hardcode_libdir_separator \
20204 variables_saved_for_relink \
20206 library_names_spec \
20215 compiler_lib_search_path \
20218 lt_prog_compiler_no_builtin_flag_FC \
20219 lt_prog_compiler_wl_FC \
20220 lt_prog_compiler_pic_FC \
20221 lt_prog_compiler_static_FC \
20222 lt_cv_prog_compiler_c_o_FC \
20223 export_dynamic_flag_spec_FC \
20224 whole_archive_flag_spec_FC \
20225 compiler_needs_object_FC \
20227 allow_undefined_flag_FC \
20228 no_undefined_flag_FC \
20229 hardcode_libdir_flag_spec_FC \
20230 hardcode_libdir_flag_spec_ld_FC \
20231 hardcode_libdir_separator_FC \
20232 fix_srcfile_path_FC \
20233 exclude_expsyms_FC \
20234 include_expsyms_FC \
20235 file_list_spec_FC \
20236 predep_objects_FC \
20237 postdep_objects_FC \
20240 compiler_lib_search_path_FC; do
20241 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20242 *[\\\\\\\`\\"\\\$]*)
20243 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20246 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20251 # Double-quote double-evaled strings.
20252 for var in reload_cmds \
20253 old_postinstall_cmds \
20254 old_postuninstall_cmds \
20256 extract_expsyms_cmds \
20257 old_archive_from_new_cmds \
20258 old_archive_from_expsyms_cmds \
20260 archive_expsym_cmds \
20262 module_expsym_cmds \
20263 export_symbols_cmds \
20266 postuninstall_cmds \
20268 sys_lib_search_path_spec \
20269 sys_lib_dlsearch_path_spec \
20270 old_archive_cmds_FC \
20271 old_archive_from_new_cmds_FC \
20272 old_archive_from_expsyms_cmds_FC \
20274 archive_expsym_cmds_FC \
20276 module_expsym_cmds_FC \
20277 export_symbols_cmds_FC \
20278 prelink_cmds_FC; do
20279 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20280 *[\\\\\\\`\\"\\\$]*)
20281 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20284 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20289 # Fix-up fallback echo if it was mangled by the above quoting rules.
20291 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
20295 ac_aux_dir='$ac_aux_dir'
20296 xsi_shell='$xsi_shell'
20297 lt_shell_append='$lt_shell_append'
20299 # See if we are running on zsh, and set the options which allow our
20300 # commands through without removal of \ escapes INIT.
20301 if test -n "\${ZSH_VERSION+set}" ; then
20302 setopt NO_GLOB_SUBST
20308 TIMESTAMP='$TIMESTAMP'
20319 acx_cv_header_stdint="$acx_cv_header_stdint"
20320 acx_cv_type_int8_t="$acx_cv_type_int8_t"
20321 acx_cv_type_int16_t="$acx_cv_type_int16_t"
20322 acx_cv_type_int32_t="$acx_cv_type_int32_t"
20323 acx_cv_type_int64_t="$acx_cv_type_int64_t"
20324 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
20325 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
20326 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
20327 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
20328 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
20329 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
20330 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
20331 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
20332 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
20339 cat >>$CONFIG_STATUS <<\_ACEOF
20340 for ac_config_target
in $ac_config_targets
20342 case "$ac_config_target" in
20343 # Handling of arguments.
20344 "omp.h" ) CONFIG_FILES
="$CONFIG_FILES omp.h" ;;
20345 "omp_lib.h" ) CONFIG_FILES
="$CONFIG_FILES omp_lib.h" ;;
20346 "omp_lib.f90" ) CONFIG_FILES
="$CONFIG_FILES omp_lib.f90" ;;
20347 "libgomp_f.h" ) CONFIG_FILES
="$CONFIG_FILES libgomp_f.h" ;;
20348 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20349 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
20350 "libgomp.spec" ) CONFIG_FILES
="$CONFIG_FILES libgomp.spec" ;;
20351 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
20352 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20353 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20354 "gstdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
20355 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20356 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20357 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20358 { (exit 1); exit 1; }; };;
20362 # If the user did not use the arguments to specify the items to instantiate,
20363 # then the envvar interface is used. Set only those that are not.
20364 # We use the long form for the default assignment because of an extremely
20365 # bizarre bug on SunOS 4.1.3.
20366 if $ac_need_defaults; then
20367 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20368 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20369 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20372 # Have a temporary directory for convenience. Make it in the build tree
20373 # simply because there is no reason to put it here, and in addition,
20374 # creating and moving files from /tmp can sometimes cause problems.
20375 # Create a temporary directory, and hook for its removal unless debugging.
20378 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20379 trap '{ (exit 1); exit 1; }' 1 2 13 15
20382 # Create a (secure) tmp directory for tmp files.
20385 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20386 test -n "$tmp" && test -d "$tmp"
20389 tmp
=.
/confstat$$
-$RANDOM
20390 (umask 077 && mkdir
$tmp)
20393 echo "$me: cannot create a temporary directory in ." >&2
20394 { (exit 1); exit 1; }
20399 cat >>$CONFIG_STATUS <<_ACEOF
20402 # CONFIG_FILES section.
20405 # No need to generate the scripts if there are no CONFIG_FILES.
20406 # This happens for instance when ./config.status config.h
20407 if test -n "\$CONFIG_FILES"; then
20408 # Protect against being on the right side of a sed subst in config.status.
20409 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20410 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20411 s,@SHELL@,$SHELL,;t t
20412 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20413 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20414 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20415 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20416 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20417 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20418 s,@exec_prefix@,$exec_prefix,;t t
20419 s,@prefix@,$prefix,;t t
20420 s,@program_transform_name@,$program_transform_name,;t t
20421 s,@bindir@,$bindir,;t t
20422 s,@sbindir@,$sbindir,;t t
20423 s,@libexecdir@,$libexecdir,;t t
20424 s,@datadir@,$datadir,;t t
20425 s,@sysconfdir@,$sysconfdir,;t t
20426 s,@sharedstatedir@,$sharedstatedir,;t t
20427 s,@localstatedir@,$localstatedir,;t t
20428 s,@libdir@,$libdir,;t t
20429 s,@includedir@,$includedir,;t t
20430 s,@oldincludedir@,$oldincludedir,;t t
20431 s,@infodir@,$infodir,;t t
20432 s,@mandir@,$mandir,;t t
20433 s,@build_alias@,$build_alias,;t t
20434 s,@host_alias@,$host_alias,;t t
20435 s,@target_alias@,$target_alias,;t t
20436 s,@DEFS@,$DEFS,;t t
20437 s,@ECHO_C@,$ECHO_C,;t t
20438 s,@ECHO_N@,$ECHO_N,;t t
20439 s,@ECHO_T@,$ECHO_T,;t t
20440 s,@LIBS@,$LIBS,;t t
20441 s,@GENINSRC_TRUE@,$GENINSRC_TRUE,;t t
20442 s,@GENINSRC_FALSE@,$GENINSRC_FALSE,;t t
20443 s,@build@,$build,;t t
20444 s,@build_cpu@,$build_cpu,;t t
20445 s,@build_vendor@,$build_vendor,;t t
20446 s,@build_os@,$build_os,;t t
20447 s,@host@,$host,;t t
20448 s,@host_cpu@,$host_cpu,;t t
20449 s,@host_vendor@,$host_vendor,;t t
20450 s,@host_os@,$host_os,;t t
20451 s,@target@,$target,;t t
20452 s,@target_cpu@,$target_cpu,;t t
20453 s,@target_vendor@,$target_vendor,;t t
20454 s,@target_os@,$target_os,;t t
20455 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20456 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20457 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20458 s,@CYGPATH_W@,$CYGPATH_W,;t t
20459 s,@PACKAGE@,$PACKAGE,;t t
20460 s,@VERSION@,$VERSION,;t t
20461 s,@ACLOCAL@,$ACLOCAL,;t t
20462 s,@AUTOCONF@,$AUTOCONF,;t t
20463 s,@AUTOMAKE@,$AUTOMAKE,;t t
20464 s,@AUTOHEADER@,$AUTOHEADER,;t t
20465 s,@MAKEINFO@,$MAKEINFO,;t t
20466 s,@install_sh@,$install_sh,;t t
20467 s,@STRIP@,$STRIP,;t t
20468 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20469 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20470 s,@mkdir_p@,$mkdir_p,;t t
20472 s,@SET_MAKE@,$SET_MAKE,;t t
20473 s,@am__leading_dot@,$am__leading_dot,;t t
20474 s,@AMTAR@,$AMTAR,;t t
20475 s,@am__tar@,$am__tar,;t t
20476 s,@am__untar@,$am__untar,;t t
20477 s,@multi_basedir@,$multi_basedir,;t t
20478 s,@toolexecdir@,$toolexecdir,;t t
20479 s,@toolexeclibdir@,$toolexeclibdir,;t t
20481 s,@ac_ct_CC@,$ac_ct_CC,;t t
20482 s,@EXEEXT@,$EXEEXT,;t t
20483 s,@OBJEXT@,$OBJEXT,;t t
20484 s,@DEPDIR@,$DEPDIR,;t t
20485 s,@am__include@,$am__include,;t t
20486 s,@am__quote@,$am__quote,;t t
20487 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20488 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20489 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20490 s,@CCDEPMODE@,$CCDEPMODE,;t t
20491 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20492 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20493 s,@CFLAGS@,$CFLAGS,;t t
20495 s,@ac_ct_AR@,$ac_ct_AR,;t t
20496 s,@RANLIB@,$RANLIB,;t t
20497 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20498 s,@PERL@,$PERL,;t t
20499 s,@BUILD_INFO_TRUE@,$BUILD_INFO_TRUE,;t t
20500 s,@BUILD_INFO_FALSE@,$BUILD_INFO_FALSE,;t t
20501 s,@LIBTOOL@,$LIBTOOL,;t t
20503 s,@EGREP@,$EGREP,;t t
20504 s,@FGREP@,$FGREP,;t t
20505 s,@GREP@,$GREP,;t t
20507 s,@DUMPBIN@,$DUMPBIN,;t t
20508 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
20510 s,@LN_S@,$LN_S,;t t
20511 s,@lt_ECHO@,$lt_ECHO,;t t
20513 s,@CPPFLAGS@,$CPPFLAGS,;t t
20514 s,@enable_shared@,$enable_shared,;t t
20515 s,@enable_static@,$enable_static,;t t
20516 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
20517 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
20518 s,@MAINT@,$MAINT,;t t
20520 s,@FCFLAGS@,$FCFLAGS,;t t
20521 s,@LDFLAGS@,$LDFLAGS,;t t
20522 s,@ac_ct_FC@,$ac_ct_FC,;t t
20523 s,@libtool_VERSION@,$libtool_VERSION,;t t
20524 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
20525 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
20526 s,@LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE@,$LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE,;t t
20527 s,@LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE@,$LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE,;t t
20528 s,@config_path@,$config_path,;t t
20529 s,@XCFLAGS@,$XCFLAGS,;t t
20530 s,@XLDFLAGS@,$XLDFLAGS,;t t
20531 s,@link_gomp@,$link_gomp,;t t
20532 s,@USE_FORTRAN_TRUE@,$USE_FORTRAN_TRUE,;t t
20533 s,@USE_FORTRAN_FALSE@,$USE_FORTRAN_FALSE,;t t
20534 s,@OMP_LOCK_SIZE@,$OMP_LOCK_SIZE,;t t
20535 s,@OMP_LOCK_ALIGN@,$OMP_LOCK_ALIGN,;t t
20536 s,@OMP_NEST_LOCK_SIZE@,$OMP_NEST_LOCK_SIZE,;t t
20537 s,@OMP_NEST_LOCK_ALIGN@,$OMP_NEST_LOCK_ALIGN,;t t
20538 s,@OMP_LOCK_KIND@,$OMP_LOCK_KIND,;t t
20539 s,@OMP_NEST_LOCK_KIND@,$OMP_NEST_LOCK_KIND,;t t
20540 s,@LIBOBJS@,$LIBOBJS,;t t
20541 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20546 cat >>$CONFIG_STATUS <<\_ACEOF
20547 # Split the substitutions into bite-sized pieces for seds with
20548 # small command number limits, like on Digital OSF/1 and HP-UX.
20549 ac_max_sed_lines
=48
20550 ac_sed_frag
=1 # Number of current file.
20551 ac_beg
=1 # First line for current file.
20552 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20555 while $ac_more_lines; do
20556 if test $ac_beg -gt 1; then
20557 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20559 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20561 if test ! -s $tmp/subs.frag
; then
20562 ac_more_lines
=false
20564 # The purpose of the label and of the branching condition is to
20565 # speed up the sed processing (if there are no `@' at all, there
20566 # is no need to browse any of the substitutions).
20567 # These are the two extra sed commands mentioned above.
20569 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20570 if test -z "$ac_sed_cmds"; then
20571 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20573 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20575 ac_sed_frag
=`expr $ac_sed_frag + 1`
20577 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20580 if test -z "$ac_sed_cmds"; then
20583 fi # test -n "$CONFIG_FILES"
20586 cat >>$CONFIG_STATUS <<\_ACEOF
20587 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20588 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20590 - |
*:- |
*:-:* ) # input from stdin
20592 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20593 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20594 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20595 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20596 * ) ac_file_in
=$ac_file.
in ;;
20599 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20600 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20601 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20602 X"$ac_file" : 'X\(//\)[^/]' \| \
20603 X"$ac_file" : 'X\(//\)$' \| \
20604 X"$ac_file" : 'X\(/\)' \| \
20605 . : '\(.\)' 2>/dev/null ||
20607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20608 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20609 /^X\(\/\/\)$/{ s//\1/; q; }
20610 /^X\(\/\).*/{ s//\1/; q; }
20612 { if $as_mkdir_p; then
20617 while test ! -d "$as_dir"; do
20618 as_dirs
="$as_dir $as_dirs"
20619 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20620 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20621 X"$as_dir" : 'X\(//\)[^/]' \| \
20622 X"$as_dir" : 'X\(//\)$' \| \
20623 X"$as_dir" : 'X\(/\)' \| \
20624 . : '\(.\)' 2>/dev/null ||
20626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20627 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20628 /^X\(\/\/\)$/{ s//\1/; q; }
20629 /^X\(\/\).*/{ s//\1/; q; }
20632 test ! -n "$as_dirs" || mkdir
$as_dirs
20633 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20634 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20635 { (exit 1); exit 1; }; }; }
20639 if test "$ac_dir" != .
; then
20640 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20641 # A "../" for each directory in $ac_dir_suffix.
20642 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20644 ac_dir_suffix
= ac_top_builddir
=
20648 .
) # No --srcdir option. We are building in place.
20650 if test -z "$ac_top_builddir"; then
20653 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20655 [\\/]* | ?
:[\\/]* ) # Absolute path.
20656 ac_srcdir
=$srcdir$ac_dir_suffix;
20657 ac_top_srcdir
=$srcdir ;;
20658 *) # Relative path.
20659 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20660 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20663 # Do not use `cd foo && pwd` to compute absolute paths, because
20664 # the directories may not exist.
20666 .
) ac_abs_builddir
="$ac_dir";;
20669 .
) ac_abs_builddir
=`pwd`;;
20670 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20671 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20674 case $ac_abs_builddir in
20675 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20677 case ${ac_top_builddir}.
in
20678 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20679 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20680 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20683 case $ac_abs_builddir in
20684 .
) ac_abs_srcdir
=$ac_srcdir;;
20687 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20688 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20689 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20692 case $ac_abs_builddir in
20693 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20695 case $ac_top_srcdir in
20696 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20697 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20698 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20704 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20705 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
20708 if test x
"$ac_file" != x-
; then
20709 { echo "$as_me:$LINENO: creating $ac_file" >&5
20710 echo "$as_me: creating $ac_file" >&6;}
20713 # Let's still pretend it is `configure' which instantiates (i.e., don't
20714 # use $as_me), people would be surprised to read:
20715 # /* config.h. Generated by config.status. */
20716 if test x
"$ac_file" = x-
; then
20719 configure_input
="$ac_file. "
20721 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20722 sed 's,.*/,,'` by configure."
20724 # First look for the input files in the build tree, otherwise in the
20726 ac_file_inputs
=`IFS=:
20727 for f in $ac_file_in; do
20729 -) echo $tmp/stdin ;;
20731 # Absolute (can't be DOS-style, as IFS=:)
20732 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20733 echo "$as_me: error: cannot find input file: $f" >&2;}
20734 { (exit 1); exit 1; }; }
20737 if test -f "$f"; then
20740 elif test -f "$srcdir/$f"; then
20745 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20746 echo "$as_me: error: cannot find input file: $f" >&2;}
20747 { (exit 1); exit 1; }; }
20750 done` ||
{ (exit 1); exit 1; }
20752 cat >>$CONFIG_STATUS <<_ACEOF
20756 cat >>$CONFIG_STATUS <<\_ACEOF
20758 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20759 s
,@configure_input@
,$configure_input,;t t
20760 s
,@srcdir@
,$ac_srcdir,;t t
20761 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20762 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20763 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20764 s
,@builddir@
,$ac_builddir,;t t
20765 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20766 s
,@top_builddir@
,$ac_top_builddir,;t t
20767 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20768 s
,@INSTALL@
,$ac_INSTALL,;t t
20769 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20771 if test x"$ac_file" != x-; then
20772 mv $tmp/out $ac_file
20780 cat >>$CONFIG_STATUS <<\_ACEOF
20783 # CONFIG_HEADER section.
20786 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
20787 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20789 # ac_d sets the value in "#define NAME VALUE" lines.
20790 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20791 ac_dB
='[ ].*$,\1#\2'
20794 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20795 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20796 ac_uB
='$,\1#\2define\3'
20800 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
20801 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20803 - |
*:- |
*:-:* ) # input from stdin
20805 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20806 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20807 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20808 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20809 * ) ac_file_in
=$ac_file.
in ;;
20812 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
20813 echo "$as_me: creating $ac_file" >&6;}
20815 # First look for the input files in the build tree, otherwise in the
20817 ac_file_inputs
=`IFS=:
20818 for f in $ac_file_in; do
20820 -) echo $tmp/stdin ;;
20822 # Absolute (can't be DOS-style, as IFS=:)
20823 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20824 echo "$as_me: error: cannot find input file: $f" >&2;}
20825 { (exit 1); exit 1; }; }
20826 # Do quote $f, to prevent DOS paths from being IFS'd.
20829 if test -f "$f"; then
20832 elif test -f "$srcdir/$f"; then
20837 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20838 echo "$as_me: error: cannot find input file: $f" >&2;}
20839 { (exit 1); exit 1; }; }
20842 done` ||
{ (exit 1); exit 1; }
20843 # Remove the trailing spaces.
20844 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
20848 # Transform confdefs.h into two sed scripts, `conftest.defines' and
20849 # `conftest.undefs', that substitutes the proper values into
20850 # config.h.in to produce config.h. The first handles `#define'
20851 # templates, and the second `#undef' templates.
20852 # And first: Protect against being on the right side of a sed subst in
20853 # config.status. Protect against being in an unquoted here document
20854 # in config.status.
20855 rm -f conftest.defines conftest.undefs
20856 # Using a here document instead of a string reduces the quoting nightmare.
20857 # Putting comments in sed scripts is not portable.
20859 # `end' is used to avoid that the second main sed command (meant for
20860 # 0-ary CPP macros) applies to n-ary macro definitions.
20861 # See the Autoconf documentation for `clear'.
20862 cat >confdef2sed.
sed <<\_ACEOF
20867 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20869 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20872 # If some macros were called several times there might be several times
20873 # the same #defines, which is useless. Nevertheless, we may not want to
20874 # sort them, since we want the *last* AC-DEFINE to be honored.
20875 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20876 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20877 rm -f confdef2sed.sed
20879 # This sed command replaces #undef with comments. This is necessary, for
20880 # example, in the case of _POSIX_SOURCE, which is predefined and required
20881 # on some systems where configure will not decide to define it.
20882 cat >>conftest.undefs <<\_ACEOF
20883 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
20886 # Break up conftest.defines because some shells have a limit on the size
20887 # of here documents, and old seds have small limits too (100 cmds).
20888 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20889 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20890 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20891 echo ' :' >>$CONFIG_STATUS
20892 rm -f conftest.tail
20893 while grep . conftest.defines >/dev/null
20895 # Write a limited-size here document to $tmp/defines.sed.
20896 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20897 # Speed up: don't consider the non `#define' lines.
20898 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
20899 # Work around the forget-to-reset-the-flag bug.
20900 echo 't clr' >>$CONFIG_STATUS
20901 echo ': clr' >>$CONFIG_STATUS
20902 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
20904 sed -f $tmp/defines.sed $tmp/in >$tmp/out
20906 mv $tmp/out $tmp/in
20908 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
20909 rm -f conftest.defines
20910 mv conftest.
tail conftest.defines
20912 rm -f conftest.defines
20913 echo ' fi # grep' >>$CONFIG_STATUS
20914 echo >>$CONFIG_STATUS
20916 # Break up conftest.undefs because some shells have a limit on the size
20917 # of here documents, and old seds have small limits too (100 cmds).
20918 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
20919 rm -f conftest.
tail
20920 while grep . conftest.undefs
>/dev
/null
20922 # Write a limited-size here document to $tmp/undefs.sed.
20923 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20924 # Speed up: don't consider the non
`#undef'
20925 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
20926 # Work around the forget-to-reset-the-flag bug.
20927 echo 't clr' >>$CONFIG_STATUS
20928 echo ': clr' >>$CONFIG_STATUS
20929 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20931 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20933 mv $tmp/out $tmp/in
20935 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20936 rm -f conftest.undefs
20937 mv conftest.tail conftest.undefs
20939 rm -f conftest.undefs
20941 cat >>$CONFIG_STATUS <<\_ACEOF
20942 # Let's still pretend it is `configure
' which instantiates (i.e., don't
20943 # use $as_me), people would be surprised to read:
20944 # /* config.h. Generated by config.status. */
20945 if test x
"$ac_file" = x-
; then
20946 echo "/* Generated by configure. */" >$tmp/config.h
20948 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
20950 cat $tmp/in >>$tmp/config.h
20952 if test x
"$ac_file" != x-
; then
20953 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
20954 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20955 echo "$as_me: $ac_file is unchanged" >&6;}
20957 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20958 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20959 X"$ac_file" : 'X\(//\)[^/]' \| \
20960 X"$ac_file" : 'X\(//\)$' \| \
20961 X"$ac_file" : 'X\(/\)' \| \
20962 . : '\(.\)' 2>/dev/null ||
20964 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20965 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20966 /^X\(\/\/\)$/{ s//\1/; q; }
20967 /^X\(\/\).*/{ s//\1/; q; }
20969 { if $as_mkdir_p; then
20974 while test ! -d "$as_dir"; do
20975 as_dirs
="$as_dir $as_dirs"
20976 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20977 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20978 X"$as_dir" : 'X\(//\)[^/]' \| \
20979 X"$as_dir" : 'X\(//\)$' \| \
20980 X"$as_dir" : 'X\(/\)' \| \
20981 . : '\(.\)' 2>/dev/null ||
20983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20984 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20985 /^X\(\/\/\)$/{ s//\1/; q; }
20986 /^X\(\/\).*/{ s//\1/; q; }
20989 test ! -n "$as_dirs" || mkdir
$as_dirs
20990 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20991 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20992 { (exit 1); exit 1; }; }; }
20995 mv $tmp/config.h
$ac_file
20999 rm -f $tmp/config.h
21001 # Compute $ac_file's index in $config_headers.
21003 for _am_header
in $config_headers :; do
21004 case $_am_header in
21005 $ac_file |
$ac_file:* )
21008 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21011 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21012 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21013 X$ac_file : 'X\(//\)[^/]' \| \
21014 X$ac_file : 'X\(//\)$' \| \
21015 X$ac_file : 'X\(/\)' \| \
21016 . : '\(.\)' 2>/dev/null ||
21018 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21019 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21020 /^X\(\/\/\)$/{ s//\1/; q; }
21021 /^X\(\/\).*/{ s//\1/; q; }
21022 s/.*/./; q'`/stamp-h
$_am_stamp_count
21025 cat >>$CONFIG_STATUS <<\_ACEOF
21028 # CONFIG_COMMANDS section.
21030 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21031 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21032 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21033 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21034 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21035 X"$ac_dest" : 'X\(//\)[^/]' \| \
21036 X"$ac_dest" : 'X\(//\)$' \| \
21037 X"$ac_dest" : 'X\(/\)' \| \
21038 . : '\(.\)' 2>/dev/null ||
21040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21041 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21042 /^X\(\/\/\)$/{ s//\1/; q; }
21043 /^X\(\/\).*/{ s//\1/; q; }
21045 { if $as_mkdir_p; then
21050 while test ! -d "$as_dir"; do
21051 as_dirs
="$as_dir $as_dirs"
21052 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21053 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21054 X"$as_dir" : 'X\(//\)[^/]' \| \
21055 X"$as_dir" : 'X\(//\)$' \| \
21056 X"$as_dir" : 'X\(/\)' \| \
21057 . : '\(.\)' 2>/dev/null ||
21059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21060 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21061 /^X\(\/\/\)$/{ s//\1/; q; }
21062 /^X\(\/\).*/{ s//\1/; q; }
21065 test ! -n "$as_dirs" || mkdir
$as_dirs
21066 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21067 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21068 { (exit 1); exit 1; }; }; }
21072 if test "$ac_dir" != .
; then
21073 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21074 # A "../" for each directory in $ac_dir_suffix.
21075 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21077 ac_dir_suffix
= ac_top_builddir
=
21081 .
) # No --srcdir option. We are building in place.
21083 if test -z "$ac_top_builddir"; then
21086 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21088 [\\/]* | ?
:[\\/]* ) # Absolute path.
21089 ac_srcdir
=$srcdir$ac_dir_suffix;
21090 ac_top_srcdir
=$srcdir ;;
21091 *) # Relative path.
21092 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21093 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21096 # Do not use `cd foo && pwd` to compute absolute paths, because
21097 # the directories may not exist.
21099 .
) ac_abs_builddir
="$ac_dir";;
21102 .
) ac_abs_builddir
=`pwd`;;
21103 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21104 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21107 case $ac_abs_builddir in
21108 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21110 case ${ac_top_builddir}.
in
21111 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21112 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21113 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21116 case $ac_abs_builddir in
21117 .
) ac_abs_srcdir
=$ac_srcdir;;
21120 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21121 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21122 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21125 case $ac_abs_builddir in
21126 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21128 case $ac_top_srcdir in
21129 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21130 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21131 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21136 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21137 echo "$as_me: executing $ac_dest commands" >&6;}
21140 # Only add multilib support code if we just rebuilt the top-level
21142 case " $CONFIG_FILES " in
21144 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
21147 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21148 # Strip MF so we end up with the name of the file.
21149 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21150 # Check whether this is an Automake generated Makefile or not.
21151 # We used to match only the files named `Makefile.in', but
21152 # some people rename them; so instead we look at the file content.
21153 # Grep'ing the first line is not enough: some people post-process
21154 # each Makefile.in and add a new line on top of each file to say so.
21155 # So let's grep whole file.
21156 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
21157 dirpart
=`(dirname "$mf") 2>/dev/null ||
21158 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21159 X"$mf" : 'X\(//\)[^/]' \| \
21160 X"$mf" : 'X\(//\)$' \| \
21161 X"$mf" : 'X\(/\)' \| \
21162 . : '\(.\)' 2>/dev/null ||
21164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21165 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21166 /^X\(\/\/\)$/{ s//\1/; q; }
21167 /^X\(\/\).*/{ s//\1/; q; }
21172 # Extract the definition of DEPDIR, am__include, and am__quote
21173 # from the Makefile without running `make'.
21174 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21175 test -z "$DEPDIR" && continue
21176 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21177 test -z "am__include" && continue
21178 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21179 # When using ansi2knr, U may be empty or an underscore; expand it
21180 U
=`sed -n 's/^U = //p' < "$mf"`
21181 # Find all dependency output files, they are included files with
21182 # $(DEPDIR) in their names. We invoke sed twice because it is the
21183 # simplest approach to changing $(DEPDIR) to its actual value in the
21185 for file in `sed -n "
21186 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21187 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21188 # Make sure the directory exists.
21189 test -f "$dirpart/$file" && continue
21190 fdir
=`(dirname "$file") 2>/dev/null ||
21191 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21192 X"$file" : 'X\(//\)[^/]' \| \
21193 X"$file" : 'X\(//\)$' \| \
21194 X"$file" : 'X\(/\)' \| \
21195 . : '\(.\)' 2>/dev/null ||
21197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21198 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21199 /^X\(\/\/\)$/{ s//\1/; q; }
21200 /^X\(\/\).*/{ s//\1/; q; }
21202 { if $as_mkdir_p; then
21203 mkdir
-p $dirpart/$fdir
21205 as_dir
=$dirpart/$fdir
21207 while test ! -d "$as_dir"; do
21208 as_dirs
="$as_dir $as_dirs"
21209 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21210 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21211 X"$as_dir" : 'X\(//\)[^/]' \| \
21212 X"$as_dir" : 'X\(//\)$' \| \
21213 X"$as_dir" : 'X\(/\)' \| \
21214 . : '\(.\)' 2>/dev/null ||
21216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21217 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21218 /^X\(\/\/\)$/{ s//\1/; q; }
21219 /^X\(\/\).*/{ s//\1/; q; }
21222 test ! -n "$as_dirs" || mkdir
$as_dirs
21223 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21224 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21225 { (exit 1); exit 1; }; }; }
21227 # echo "creating $dirpart/$file"
21228 echo '# dummy' > "$dirpart/$file"
21234 # See if we are running on zsh, and set the options which allow our
21235 # commands through without removal of \ escapes.
21236 if test -n "${ZSH_VERSION+set}" ; then
21237 setopt NO_GLOB_SUBST
21240 cfgfile
="${ofile}T"
21241 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21244 cat <<_LT_EOF >> "$cfgfile"
21247 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21248 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
21249 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21250 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21252 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21253 # 2006, 2007 Free Software Foundation, Inc.
21255 # This file is part of GNU Libtool:
21256 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
21258 # This program is free software; you can redistribute it and/or modify
21259 # it under the terms of the GNU General Public License as published by
21260 # the Free Software Foundation; either version 2 of the License, or
21261 # (at your option) any later version.
21263 # This program is distributed in the hope that it will be useful, but
21264 # WITHOUT ANY WARRANTY; without even the implied warranty of
21265 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21266 # General Public License for more details.
21268 # You should have received a copy of the GNU General Public License
21269 # along with this program; if not, a copy can be downloaded from
21270 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
21271 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21272 # MA 02110-1301, USA.
21274 # As a special exception to the GNU General Public License, if you
21275 # distribute this file as part of a program that contains a
21276 # configuration script generated by Autoconf, you may include it under
21277 # the same distribution terms that you use for the rest of that program.
21280 # The names of the tagged configurations supported by this script.
21281 available_tags="FC "
21283 # ### BEGIN LIBTOOL CONFIG
21285 # Which release of libtool.m4 was used?
21286 macro_version=$macro_version
21287 macro_revision=$macro_revision
21289 # Whether or not to build shared libraries.
21290 build_libtool_libs=$enable_shared
21292 # Whether or not to build static libraries.
21293 build_old_libs=$enable_static
21295 # What type of objects to build.
21298 # Whether or not to optimize for fast installation.
21299 fast_install=$enable_fast_install
21302 host_alias=$host_alias
21306 # The build system.
21307 build_alias=$build_alias
21311 # A sed program that does not truncate output.
21314 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21315 Xsed="\$SED -e 1s/^X//"
21317 # A grep program that handles long lines.
21323 # A literal string matcher.
21326 # A BSD- or MS-compatible name lister.
21329 # Whether we need soft or hard links.
21332 # What is the maximum length of a command?
21333 max_cmd_len=$max_cmd_len
21335 # Object file suffix (normally "o").
21338 # Executable file suffix (normally "").
21341 # whether the shell understands "unset".
21344 # turn spaces into newlines.
21347 # turn newlines into spaces.
21350 # How to create reloadable object files.
21351 reload_flag=$lt_reload_flag
21352 reload_cmds=$lt_reload_cmds
21354 # Method to check whether dependent libraries are shared objects.
21355 deplibs_check_method=$lt_deplibs_check_method
21357 # Command to use when deplibs_check_method == "file_magic".
21358 file_magic_cmd=$lt_file_magic_cmd
21362 AR_FLAGS=$lt_AR_FLAGS
21364 # A symbol stripping program.
21367 # Commands used to install an old-style archive.
21369 old_postinstall_cmds=$lt_old_postinstall_cmds
21370 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21375 # LTCC compiler flags.
21376 LTCFLAGS=$lt_CFLAGS
21378 # Take the output of nm and produce a listing of raw symbols and C names.
21379 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21381 # Transform the output of nm in a proper C declaration.
21382 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21384 # Transform the output of nm in a C name address pair.
21385 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21387 # The name of the directory that contains temporary libtool files.
21390 # Shell to use when invoking shell scripts.
21393 # An echo program that does not interpret backslashes.
21396 # Used to examine libraries when file_magic_cmd begins with "file".
21397 MAGIC_CMD=$MAGIC_CMD
21399 # Must we lock files when doing compilation?
21400 need_locks=$lt_need_locks
21402 # Old archive suffix (normally "a").
21405 # Shared library suffix (normally ".so").
21406 shrext_cmds=$lt_shrext_cmds
21408 # The commands to extract the exported symbol list from a shared archive.
21409 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21411 # Variables whose values should be saved in libtool wrapper scripts and
21412 # restored at link time.
21413 variables_saved_for_relink=$lt_variables_saved_for_relink
21415 # Do we need the "lib" prefix for modules?
21416 need_lib_prefix=$need_lib_prefix
21418 # Do we need a version for libraries?
21419 need_version=$need_version
21421 # Library versioning type.
21422 version_type=$version_type
21424 # Shared library runtime path variable.
21425 runpath_var=$runpath_var
21427 # Shared library path variable.
21428 shlibpath_var=$shlibpath_var
21430 # Is shlibpath searched before the hard-coded library search path?
21431 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21433 # Format of library name prefix.
21434 libname_spec=$lt_libname_spec
21436 # List of archive names. First name is the real one, the rest are links.
21437 # The last name is the one that the linker finds with -lNAME
21438 library_names_spec=$lt_library_names_spec
21440 # The coded name of the library, if different from the real name.
21441 soname_spec=$lt_soname_spec
21443 # Command to use after installation of a shared archive.
21444 postinstall_cmds=$lt_postinstall_cmds
21446 # Command to use after uninstallation of a shared archive.
21447 postuninstall_cmds=$lt_postuninstall_cmds
21449 # Commands used to finish a libtool library installation in a directory.
21450 finish_cmds=$lt_finish_cmds
21452 # As "finish_cmds", except a single script fragment to be evaled but
21454 finish_eval=$lt_finish_eval
21456 # Whether we should hardcode library paths into libraries.
21457 hardcode_into_libs=$hardcode_into_libs
21459 # Compile-time system search path for libraries.
21460 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21462 # Run-time system search path for libraries.
21463 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21465 # Whether dlopen is supported.
21466 dlopen_support=$enable_dlopen
21468 # Whether dlopen of programs is supported.
21469 dlopen_self=$enable_dlopen_self
21471 # Whether dlopen of statically linked programs is supported.
21472 dlopen_self_static=$enable_dlopen_self_static
21474 # Commands to strip libraries.
21475 old_striplib=$lt_old_striplib
21476 striplib=$lt_striplib
21479 # The linker used to build libraries.
21482 # Commands used to build an old-style archive.
21483 old_archive_cmds=$lt_old_archive_cmds
21485 # A language specific compiler.
21488 # Is the compiler the GNU compiler?
21491 # Compiler flag to turn off builtin functions.
21492 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21494 # How to pass a linker flag through the compiler.
21495 wl=$lt_lt_prog_compiler_wl
21497 # Additional compiler flags for building library objects.
21498 pic_flag=$lt_lt_prog_compiler_pic
21500 # Compiler flag to prevent dynamic linking.
21501 link_static_flag=$lt_lt_prog_compiler_static
21503 # Does compiler simultaneously support -c and -o options?
21504 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21506 # Whether or not to add -lc for building shared libraries.
21507 build_libtool_need_lc=$archive_cmds_need_lc
21509 # Whether or not to disallow shared libs when runtime libs are static.
21510 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21512 # Compiler flag to allow reflexive dlopens.
21513 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21515 # Compiler flag to generate shared objects directly from archives.
21516 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21518 # Whether the compiler copes with passing no objects directly.
21519 compiler_needs_object=$lt_compiler_needs_object
21521 # Create an old-style archive from a shared archive.
21522 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21524 # Create a temporary old-style archive to link instead of a shared archive.
21525 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21527 # Commands used to build a shared archive.
21528 archive_cmds=$lt_archive_cmds
21529 archive_expsym_cmds=$lt_archive_expsym_cmds
21531 # Commands used to build a loadable module if different from building
21532 # a shared archive.
21533 module_cmds=$lt_module_cmds
21534 module_expsym_cmds=$lt_module_expsym_cmds
21536 # Whether we are building with GNU ld or not.
21537 with_gnu_ld=$lt_with_gnu_ld
21539 # Flag that allows shared libraries with undefined symbols to be built.
21540 allow_undefined_flag=$lt_allow_undefined_flag
21542 # Flag that enforces no undefined symbols.
21543 no_undefined_flag=$lt_no_undefined_flag
21545 # Flag to hardcode \$libdir into a binary during linking.
21546 # This must work even if \$libdir does not exist
21547 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21549 # If ld is used when linking, flag to hardcode \$libdir into a binary
21550 # during linking. This must work even if \$libdir does not exist.
21551 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21553 # Whether we need a single "-rpath" flag with a separated argument.
21554 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21556 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21557 # DIR into the resulting binary.
21558 hardcode_direct=$hardcode_direct
21560 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21561 # DIR into the resulting binary and the resulting library dependency is
21562 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21563 # library is relocated.
21564 hardcode_direct_absolute=$hardcode_direct_absolute
21566 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21567 # into the resulting binary.
21568 hardcode_minus_L=$hardcode_minus_L
21570 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21571 # into the resulting binary.
21572 hardcode_shlibpath_var=$hardcode_shlibpath_var
21574 # Set to "yes" if building a shared library automatically hardcodes DIR
21575 # into the library and all subsequent libraries and executables linked
21577 hardcode_automatic=$hardcode_automatic
21579 # Set to yes if linker adds runtime paths of dependent libraries
21580 # to runtime path list.
21581 inherit_rpath=$inherit_rpath
21583 # Whether libtool must link a program against all its dependency libraries.
21584 link_all_deplibs=$link_all_deplibs
21586 # Fix the shell variable \$srcfile for the compiler.
21587 fix_srcfile_path=$lt_fix_srcfile_path
21589 # Set to "yes" if exported symbols are required.
21590 always_export_symbols=$always_export_symbols
21592 # The commands to list exported symbols.
21593 export_symbols_cmds=$lt_export_symbols_cmds
21595 # Symbols that should not be listed in the preloaded symbols.
21596 exclude_expsyms=$lt_exclude_expsyms
21598 # Symbols that must always be exported.
21599 include_expsyms=$lt_include_expsyms
21601 # Commands necessary for linking programs (against libraries) with templates.
21602 prelink_cmds=$lt_prelink_cmds
21604 # Specify filename containing input files.
21605 file_list_spec=$lt_file_list_spec
21607 # How to hardcode a shared library path into an executable.
21608 hardcode_action=$hardcode_action
21610 # Dependencies to place before and after the objects being linked to
21611 # create a shared library.
21612 predep_objects=$lt_predep_objects
21613 postdep_objects=$lt_postdep_objects
21614 predeps=$lt_predeps
21615 postdeps=$lt_postdeps
21617 # The library search path used internally by the compiler when linking
21618 # a shared library.
21619 compiler_lib_search_path=$lt_compiler_lib_search_path
21621 # ### END LIBTOOL CONFIG
21627 cat <<\_LT_EOF
>> "$cfgfile"
21628 # AIX sometimes has problems with the GCC collect2 program. For some
21629 # reason, if we set the COLLECT_NAMES environment variable, the problems
21630 # vanish in a puff of smoke.
21631 if test "X${COLLECT_NAMES+set}" != Xset
; then
21633 export COLLECT_NAMES
21640 ltmain
="$ac_aux_dir/ltmain.sh"
21643 # We use sed instead of cat because bash on DJGPP gets confused if
21644 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21645 # text mode, it properly converts lines to CR/LF. This bash problem
21646 # is reportedly fixed, but why not run on old versions too?
21647 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21648 ||
(rm -f "$cfgfile"; exit 1)
21652 cat << \_LT_EOF
>> "$cfgfile"
21653 # func_dirname file append nondir_replacement
21654 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21655 # otherwise set result to NONDIR_REPLACEMENT.
21659 */*) func_dirname_result
="${1%/*}${2}" ;;
21660 * ) func_dirname_result
="${3}" ;;
21664 # func_basename file
21667 func_basename_result
="${1##*/}"
21670 # func_stripname prefix suffix name
21671 # strip PREFIX and SUFFIX off of NAME.
21672 # PREFIX and SUFFIX must not contain globbing or regex special
21673 # characters, hashes, percent signs, but SUFFIX may contain a leading
21674 # dot (in which case that matches only a dot).
21677 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
21678 # positional parameters, so assign one to ordinary parameter first.
21679 func_stripname_result
=${3}
21680 func_stripname_result
=${func_stripname_result#"${1}"}
21681 func_stripname_result
=${func_stripname_result%"${2}"}
21687 func_opt_split_opt
=${1%%=*}
21688 func_opt_split_arg
=${1#*=}
21695 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
21696 *) func_lo2o_result
=${1} ;;
21701 *) # Bourne compatible functions.
21702 cat << \_LT_EOF
>> "$cfgfile"
21703 # func_dirname file append nondir_replacement
21704 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21705 # otherwise set result to NONDIR_REPLACEMENT.
21708 # Extract subdirectory from the argument.
21709 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
21710 if test "X$func_dirname_result" = "X${1}"; then
21711 func_dirname_result
="${3}"
21713 func_dirname_result
="$func_dirname_result${2}"
21717 # func_basename file
21720 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
21723 # func_stripname prefix suffix name
21724 # strip PREFIX and SUFFIX off of NAME.
21725 # PREFIX and SUFFIX must not contain globbing or regex special
21726 # characters, hashes, percent signs, but SUFFIX may contain a leading
21727 # dot (in which case that matches only a dot).
21728 # func_strip_suffix prefix name
21732 .
*) func_stripname_result
=`$ECHO "X${3}" \
21733 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
21734 *) func_stripname_result
=`$ECHO "X${3}" \
21735 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
21740 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
21741 my_sed_long_arg
='1s/^-[^=]*=//'
21746 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
21747 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
21753 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
21758 case $lt_shell_append in
21760 cat << \_LT_EOF
>> "$cfgfile"
21762 # func_append var value
21763 # Append VALUE to the end of shell variable VAR.
21771 cat << \_LT_EOF
>> "$cfgfile"
21773 # func_append var value
21774 # Append VALUE to the end of shell variable VAR.
21784 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
21785 ||
(rm -f "$cfgfile"; exit 1)
21787 mv -f "$cfgfile" "$ofile" ||
21788 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21792 cat <<_LT_EOF >> "$ofile"
21794 # ### BEGIN LIBTOOL TAG CONFIG: FC
21796 # The linker used to build libraries.
21799 # Commands used to build an old-style archive.
21800 old_archive_cmds=$lt_old_archive_cmds_FC
21802 # A language specific compiler.
21805 # Is the compiler the GNU compiler?
21808 # Compiler flag to turn off builtin functions.
21809 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
21811 # How to pass a linker flag through the compiler.
21812 wl=$lt_lt_prog_compiler_wl_FC
21814 # Additional compiler flags for building library objects.
21815 pic_flag=$lt_lt_prog_compiler_pic_FC
21817 # Compiler flag to prevent dynamic linking.
21818 link_static_flag=$lt_lt_prog_compiler_static_FC
21820 # Does compiler simultaneously support -c and -o options?
21821 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
21823 # Whether or not to add -lc for building shared libraries.
21824 build_libtool_need_lc=$archive_cmds_need_lc_FC
21826 # Whether or not to disallow shared libs when runtime libs are static.
21827 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
21829 # Compiler flag to allow reflexive dlopens.
21830 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
21832 # Compiler flag to generate shared objects directly from archives.
21833 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
21835 # Whether the compiler copes with passing no objects directly.
21836 compiler_needs_object=$lt_compiler_needs_object_FC
21838 # Create an old-style archive from a shared archive.
21839 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
21841 # Create a temporary old-style archive to link instead of a shared archive.
21842 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
21844 # Commands used to build a shared archive.
21845 archive_cmds=$lt_archive_cmds_FC
21846 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
21848 # Commands used to build a loadable module if different from building
21849 # a shared archive.
21850 module_cmds=$lt_module_cmds_FC
21851 module_expsym_cmds=$lt_module_expsym_cmds_FC
21853 # Whether we are building with GNU ld or not.
21854 with_gnu_ld=$lt_with_gnu_ld_FC
21856 # Flag that allows shared libraries with undefined symbols to be built.
21857 allow_undefined_flag=$lt_allow_undefined_flag_FC
21859 # Flag that enforces no undefined symbols.
21860 no_undefined_flag=$lt_no_undefined_flag_FC
21862 # Flag to hardcode \$libdir into a binary during linking.
21863 # This must work even if \$libdir does not exist
21864 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
21866 # If ld is used when linking, flag to hardcode \$libdir into a binary
21867 # during linking. This must work even if \$libdir does not exist.
21868 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
21870 # Whether we need a single "-rpath" flag with a separated argument.
21871 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
21873 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21874 # DIR into the resulting binary.
21875 hardcode_direct=$hardcode_direct_FC
21877 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21878 # DIR into the resulting binary and the resulting library dependency is
21879 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21880 # library is relocated.
21881 hardcode_direct_absolute=$hardcode_direct_absolute_FC
21883 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21884 # into the resulting binary.
21885 hardcode_minus_L=$hardcode_minus_L_FC
21887 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21888 # into the resulting binary.
21889 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
21891 # Set to "yes" if building a shared library automatically hardcodes DIR
21892 # into the library and all subsequent libraries and executables linked
21894 hardcode_automatic=$hardcode_automatic_FC
21896 # Set to yes if linker adds runtime paths of dependent libraries
21897 # to runtime path list.
21898 inherit_rpath=$inherit_rpath_FC
21900 # Whether libtool must link a program against all its dependency libraries.
21901 link_all_deplibs=$link_all_deplibs_FC
21903 # Fix the shell variable \$srcfile for the compiler.
21904 fix_srcfile_path=$lt_fix_srcfile_path_FC
21906 # Set to "yes" if exported symbols are required.
21907 always_export_symbols=$always_export_symbols_FC
21909 # The commands to list exported symbols.
21910 export_symbols_cmds=$lt_export_symbols_cmds_FC
21912 # Symbols that should not be listed in the preloaded symbols.
21913 exclude_expsyms=$lt_exclude_expsyms_FC
21915 # Symbols that must always be exported.
21916 include_expsyms=$lt_include_expsyms_FC
21918 # Commands necessary for linking programs (against libraries) with templates.
21919 prelink_cmds=$lt_prelink_cmds_FC
21921 # Specify filename containing input files.
21922 file_list_spec=$lt_file_list_spec_FC
21924 # How to hardcode a shared library path into an executable.
21925 hardcode_action=$hardcode_action_FC
21927 # Dependencies to place before and after the objects being linked to
21928 # create a shared library.
21929 predep_objects=$lt_predep_objects_FC
21930 postdep_objects=$lt_postdep_objects_FC
21931 predeps=$lt_predeps_FC
21932 postdeps=$lt_postdeps_FC
21934 # The library search path used internally by the compiler when linking
21935 # a shared library.
21936 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
21938 # ### END LIBTOOL TAG CONFIG: FC
21943 if test "$GCC" = yes; then
21944 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
21946 echo "/* generated for $CC */" > tmp-stdint.h
21949 sed 's/^ *//' >> tmp-stdint.h
<<EOF
21951 #ifndef GCC_GENERATED_STDINT_H
21952 #define GCC_GENERATED_STDINT_H 1
21954 #include <sys/types.h>
21957 if test "$acx_cv_header_stdint" != stdint.h
; then
21958 echo "#include <stddef.h>" >> tmp-stdint.h
21960 if test "$acx_cv_header_stdint" != stddef.h
; then
21961 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
21964 sed 's/^ *//' >> tmp-stdint.h
<<EOF
21965 /* glibc uses these symbols as guards to prevent redefinitions. */
21966 #ifdef __int8_t_defined
21971 #ifdef __uint32_t_defined
21977 # ----------------- done header, emit basic int types -------------
21978 if test "$acx_cv_header_stdint" = stddef.h
; then
21979 sed 's/^ *//' >> tmp-stdint.h
<<EOF
21983 #ifndef __uint8_t_defined
21984 #define __uint8_t_defined
21985 typedef unsigned $acx_cv_type_int8_t uint8_t;
21991 #ifndef __uint16_t_defined
21992 #define __uint16_t_defined
21993 typedef unsigned $acx_cv_type_int16_t uint16_t;
21999 #ifndef __uint32_t_defined
22000 #define __uint32_t_defined
22001 typedef unsigned $acx_cv_type_int32_t uint32_t;
22007 #ifndef __int8_t_defined
22008 #define __int8_t_defined
22009 typedef $acx_cv_type_int8_t int8_t;
22015 #ifndef __int16_t_defined
22016 #define __int16_t_defined
22017 typedef $acx_cv_type_int16_t int16_t;
22023 #ifndef __int32_t_defined
22024 #define __int32_t_defined
22025 typedef $acx_cv_type_int32_t int32_t;
22029 elif test "$ac_cv_type_u_int32_t" = yes; then
22030 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22032 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
22045 #ifndef __uint8_t_defined
22046 #define __uint8_t_defined
22047 typedef u_int8_t uint8_t;
22053 #ifndef __uint16_t_defined
22054 #define __uint16_t_defined
22055 typedef u_int16_t uint16_t;
22061 #ifndef __uint32_t_defined
22062 #define __uint32_t_defined
22063 typedef u_int32_t uint32_t;
22068 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22070 /* Some systems have guard macros to prevent redefinitions, define them. */
22092 # ------------- done basic int types, emit int64_t types ------------
22093 if test "$ac_cv_type_uint64_t" = yes; then
22094 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22096 /* system headers have good uint64_t and int64_t */
22104 elif test "$ac_cv_type_u_int64_t" = yes; then
22105 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22107 /* system headers have an u_int64_t (and int64_t) */
22113 #ifndef __uint64_t_defined
22114 #define __uint64_t_defined
22115 typedef u_int64_t uint64_t;
22119 elif test -n "$acx_cv_type_int64_t"; then
22120 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22122 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
22125 typedef $acx_cv_type_int64_t int64_t;
22129 #ifndef __uint64_t_defined
22130 #define __uint64_t_defined
22131 typedef unsigned $acx_cv_type_int64_t uint64_t;
22136 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22138 /* some common heuristics for int64_t, using compiler-specific tests */
22139 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
22142 #ifndef __int64_t_defined
22143 typedef long long int64_t;
22148 typedef unsigned long long uint64_t;
22151 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
22152 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
22153 does not implement __extension__. But that compiler doesn't define
22155 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
22156 # define __extension__
22161 __extension__ typedef long long int64_t;
22165 __extension__ typedef unsigned long long uint64_t;
22168 #elif !defined __STRICT_ANSI__
22169 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
22173 typedef __int64 int64_t;
22177 typedef unsigned __int64 uint64_t;
22179 # endif /* compiler */
22181 #endif /* ANSI version */
22185 # ------------- done int64_t types, emit intptr types ------------
22186 if test "$ac_cv_type_uintptr_t" != yes; then
22187 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22189 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
22190 #ifndef __uintptr_t_defined
22191 typedef u$acx_cv_type_intptr_t uintptr_t;
22193 #ifndef __intptr_t_defined
22194 typedef $acx_cv_type_intptr_t intptr_t;
22199 # ------------- done intptr types, emit int_least types ------------
22200 if test "$ac_cv_type_int_least32_t" != yes; then
22201 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22203 /* Define int_least types */
22204 typedef int8_t int_least8_t;
22205 typedef int16_t int_least16_t;
22206 typedef int32_t int_least32_t;
22208 typedef int64_t int_least64_t;
22211 typedef uint8_t uint_least8_t;
22212 typedef uint16_t uint_least16_t;
22213 typedef uint32_t uint_least32_t;
22215 typedef uint64_t uint_least64_t;
22220 # ------------- done intptr types, emit int_fast types ------------
22221 if test "$ac_cv_type_int_fast32_t" != yes; then
22222 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22224 /* Define int_fast types. short is often slow */
22225 typedef int8_t int_fast8_t;
22226 typedef int int_fast16_t;
22227 typedef int32_t int_fast32_t;
22229 typedef int64_t int_fast64_t;
22232 typedef uint8_t uint_fast8_t;
22233 typedef unsigned int uint_fast16_t;
22234 typedef uint32_t uint_fast32_t;
22236 typedef uint64_t uint_fast64_t;
22241 if test "$ac_cv_type_uintmax_t" != yes; then
22242 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22244 /* Define intmax based on what we found */
22246 typedef int64_t intmax_t;
22248 typedef long intmax_t;
22251 typedef uint64_t uintmax_t;
22253 typedef unsigned long uintmax_t;
22258 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22260 #endif /* GCC_GENERATED_STDINT_H */
22263 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
22266 mv -f tmp-stdint.h gstdint.h
22274 cat >>$CONFIG_STATUS <<\_ACEOF
22276 { (exit 0); exit 0; }
22278 chmod +x
$CONFIG_STATUS
22279 ac_clean_files
=$ac_clean_files_save
22282 # configure is writing to config.log, and then calls config.status.
22283 # config.status does its own redirection, appending to config.log.
22284 # Unfortunately, on DOS this fails, as config.log is still kept open
22285 # by configure, so config.status won't be able to write to it; its
22286 # output is simply discarded. So we exec the FD to /dev/null,
22287 # effectively closing config.log, so it can be properly (re)opened and
22288 # appended to by config.status. When coming back to configure, we
22289 # need to make the FD available again.
22290 if test "$no_create" != yes; then
22292 ac_config_status_args
=
22293 test "$silent" = yes &&
22294 ac_config_status_args
="$ac_config_status_args --quiet"
22296 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22298 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22299 # would make configure fail if this is the last instruction.
22300 $ac_cs_success ||
{ (exit 1); exit 1; }