2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU OpenMP Runtime Library 1.0.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
308 for dir
in $PATH /usr
/ucb
; do
310 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
320 if test "X$ECHO" = Xecho
; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
327 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL
=/bin
/ksh
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
343 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
349 SHELL
="$CONFIG_SHELL"
351 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
358 # maybe with a smaller string...
361 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string
=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 # Oops. We lost completely, so just stick with echo.
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
403 ac_default_prefix
=/usr
/local
404 ac_config_libobj_dir
=.
409 SHELL
=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
417 PACKAGE_NAME
='GNU OpenMP Runtime Library'
418 PACKAGE_TARNAME
='libgomp'
419 PACKAGE_VERSION
='1.0'
420 PACKAGE_STRING
='GNU OpenMP Runtime Library 1.0'
423 # Factoring default headers for most tests.
424 ac_includes_default
="\
427 # include <sys/types.h>
430 # include <sys/stat.h>
441 # if !STDC_HEADERS && HAVE_MEMORY_H
447 # include <strings.h>
450 # include <inttypes.h>
460 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS GENINSRC_TRUE GENINSRC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CFLAGS AR ac_ct_AR RANLIB ac_ct_RANLIB PERL BUILD_INFO_TRUE BUILD_INFO_FALSE LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S lt_ECHO CPP CPPFLAGS enable_shared enable_static MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT FC FCFLAGS LDFLAGS ac_ct_FC libtool_VERSION SECTION_LDFLAGS OPT_LDFLAGS LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE config_path XCFLAGS XLDFLAGS link_gomp USE_FORTRAN_TRUE USE_FORTRAN_FALSE OMP_LOCK_SIZE OMP_LOCK_ALIGN OMP_NEST_LOCK_SIZE OMP_NEST_LOCK_ALIGN OMP_LOCK_KIND OMP_NEST_LOCK_KIND LIBOBJS LTLIBOBJS'
463 # Initialize some variables set by options.
465 ac_init_version
=false
466 # The variables have the same names as the options, with
467 # dashes changed to underlines.
475 program_transform_name
=s
,x
,x
,
483 # Installation directory options.
484 # These are left unexpanded so users can "make install exec_prefix=/foo"
485 # and all the variables that are supposed to be based on exec_prefix
486 # by default will actually change.
487 # Use braces instead of parens because sh, perl, etc. also accept them.
488 bindir
='${exec_prefix}/bin'
489 sbindir
='${exec_prefix}/sbin'
490 libexecdir
='${exec_prefix}/libexec'
491 datadir
='${prefix}/share'
492 sysconfdir
='${prefix}/etc'
493 sharedstatedir
='${prefix}/com'
494 localstatedir
='${prefix}/var'
495 libdir
='${exec_prefix}/lib'
496 includedir
='${prefix}/include'
497 oldincludedir
='/usr/include'
498 infodir
='${prefix}/info'
499 mandir
='${prefix}/man'
504 # If the previous option needs an argument, assign it.
505 if test -n "$ac_prev"; then
506 eval "$ac_prev=\$ac_option"
511 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
513 # Accept the important Cygnus configure options, so we can diagnose typos.
517 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
519 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
522 -build |
--build |
--buil |
--bui |
--bu)
523 ac_prev
=build_alias
;;
524 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
525 build_alias
=$ac_optarg ;;
527 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
528 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
529 ac_prev
=cache_file
;;
530 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
531 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
532 cache_file
=$ac_optarg ;;
535 cache_file
=config.cache
;;
537 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
539 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
541 datadir
=$ac_optarg ;;
543 -disable-* |
--disable-*)
544 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
545 # Reject names that are not valid shell variable names.
546 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
547 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
548 { (exit 1); exit 1; }; }
549 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
550 eval "enable_$ac_feature=no" ;;
552 -enable-* |
--enable-*)
553 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
554 # Reject names that are not valid shell variable names.
555 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
556 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
557 { (exit 1); exit 1; }; }
558 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
560 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
563 eval "enable_$ac_feature='$ac_optarg'" ;;
565 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
566 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
567 |
--exec |
--exe |
--ex)
568 ac_prev
=exec_prefix
;;
569 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
570 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
571 |
--exec=* |
--exe=* |
--ex=*)
572 exec_prefix
=$ac_optarg ;;
574 -gas |
--gas |
--ga |
--g)
575 # Obsolete; use --with-gas.
578 -help |
--help |
--hel |
--he |
-h)
580 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
581 ac_init_help
=recursive
;;
582 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
583 ac_init_help
=short
;;
585 -host |
--host |
--hos |
--ho)
586 ac_prev
=host_alias
;;
587 -host=* |
--host=* |
--hos=* |
--ho=*)
588 host_alias
=$ac_optarg ;;
590 -includedir |
--includedir |
--includedi |
--included |
--include \
591 |
--includ |
--inclu |
--incl |
--inc)
592 ac_prev
=includedir
;;
593 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
594 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
595 includedir
=$ac_optarg ;;
597 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
599 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
600 infodir
=$ac_optarg ;;
602 -libdir |
--libdir |
--libdi |
--libd)
604 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
607 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
608 |
--libexe |
--libex |
--libe)
609 ac_prev
=libexecdir
;;
610 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
611 |
--libexe=* |
--libex=* |
--libe=*)
612 libexecdir
=$ac_optarg ;;
614 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
615 |
--localstate |
--localstat |
--localsta |
--localst \
616 |
--locals |
--local |
--loca |
--loc |
--lo)
617 ac_prev
=localstatedir
;;
618 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
619 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
620 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
621 localstatedir
=$ac_optarg ;;
623 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
625 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
629 # Obsolete; use --without-fp.
632 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
633 |
--no-cr |
--no-c |
-n)
636 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
637 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
640 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
641 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
642 |
--oldin |
--oldi |
--old |
--ol |
--o)
643 ac_prev
=oldincludedir
;;
644 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
645 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
646 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
647 oldincludedir
=$ac_optarg ;;
649 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
651 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
654 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
655 |
--program-pre |
--program-pr |
--program-p)
656 ac_prev
=program_prefix
;;
657 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
658 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
659 program_prefix
=$ac_optarg ;;
661 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
662 |
--program-suf |
--program-su |
--program-s)
663 ac_prev
=program_suffix
;;
664 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
665 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
666 program_suffix
=$ac_optarg ;;
668 -program-transform-name |
--program-transform-name \
669 |
--program-transform-nam |
--program-transform-na \
670 |
--program-transform-n |
--program-transform- \
671 |
--program-transform |
--program-transfor \
672 |
--program-transfo |
--program-transf \
673 |
--program-trans |
--program-tran \
674 |
--progr-tra |
--program-tr |
--program-t)
675 ac_prev
=program_transform_name
;;
676 -program-transform-name=* |
--program-transform-name=* \
677 |
--program-transform-nam=* |
--program-transform-na=* \
678 |
--program-transform-n=* |
--program-transform-=* \
679 |
--program-transform=* |
--program-transfor=* \
680 |
--program-transfo=* |
--program-transf=* \
681 |
--program-trans=* |
--program-tran=* \
682 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
683 program_transform_name
=$ac_optarg ;;
685 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
686 |
-silent |
--silent |
--silen |
--sile |
--sil)
689 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
691 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
693 sbindir
=$ac_optarg ;;
695 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
696 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
697 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
699 ac_prev
=sharedstatedir
;;
700 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
701 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
702 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
704 sharedstatedir
=$ac_optarg ;;
706 -site |
--site |
--sit)
708 -site=* |
--site=* |
--sit=*)
711 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
713 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
716 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
717 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
718 ac_prev
=sysconfdir
;;
719 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
720 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
721 sysconfdir
=$ac_optarg ;;
723 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
724 ac_prev
=target_alias
;;
725 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
726 target_alias
=$ac_optarg ;;
728 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
731 -version |
--version |
--versio |
--versi |
--vers |
-V)
735 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
736 # Reject names that are not valid shell variable names.
737 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
738 { echo "$as_me: error: invalid package name: $ac_package" >&2
739 { (exit 1); exit 1; }; }
740 ac_package
=`echo $ac_package| sed 's/-/_/g'`
742 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
745 eval "with_$ac_package='$ac_optarg'" ;;
747 -without-* |
--without-*)
748 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
749 # Reject names that are not valid shell variable names.
750 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
751 { echo "$as_me: error: invalid package name: $ac_package" >&2
752 { (exit 1); exit 1; }; }
753 ac_package
=`echo $ac_package | sed 's/-/_/g'`
754 eval "with_$ac_package=no" ;;
757 # Obsolete; use --with-x.
760 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
761 |
--x-incl |
--x-inc |
--x-in |
--x-i)
762 ac_prev
=x_includes
;;
763 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
764 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
765 x_includes
=$ac_optarg ;;
767 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
768 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
769 ac_prev
=x_libraries
;;
770 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
771 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
772 x_libraries
=$ac_optarg ;;
774 -*) { echo "$as_me: error: unrecognized option: $ac_option
775 Try \`$0 --help' for more information." >&2
776 { (exit 1); exit 1; }; }
780 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
781 # Reject names that are not valid shell variable names.
782 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
783 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
784 { (exit 1); exit 1; }; }
785 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
786 eval "$ac_envvar='$ac_optarg'"
790 # FIXME: should be removed in autoconf 3.0.
791 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
792 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
793 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
794 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
800 if test -n "$ac_prev"; then
801 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
802 { echo "$as_me: error: missing argument to $ac_option" >&2
803 { (exit 1); exit 1; }; }
806 # Be sure to have absolute paths.
807 for ac_var
in exec_prefix prefix
809 eval ac_val
=$
`echo $ac_var`
811 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
812 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
813 { (exit 1); exit 1; }; };;
817 # Be sure to have absolute paths.
818 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
819 localstatedir libdir includedir oldincludedir infodir mandir
821 eval ac_val
=$
`echo $ac_var`
823 [\\/$
]* | ?
:[\\/]* ) ;;
824 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
825 { (exit 1); exit 1; }; };;
829 # There might be people who depend on the old broken behavior: `$host'
830 # used to hold the argument of --host etc.
831 # FIXME: To remove some day.
836 # FIXME: To remove some day.
837 if test "x$host_alias" != x
; then
838 if test "x$build_alias" = x
; then
839 cross_compiling
=maybe
840 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
841 If a cross compiler is detected then cross compile mode will be used." >&2
842 elif test "x$build_alias" != "x$host_alias"; then
848 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
850 test "$silent" = yes && exec 6>/dev
/null
853 # Find the source files, if location was not specified.
854 if test -z "$srcdir"; then
855 ac_srcdir_defaulted
=yes
856 # Try the directory containing this script, then its parent.
857 ac_confdir
=`(dirname "$0") 2>/dev/null ||
858 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
859 X"$0" : 'X\(//\)[^/]' \| \
860 X"$0" : 'X\(//\)$' \| \
861 X"$0" : 'X\(/\)' \| \
862 . : '\(.\)' 2>/dev/null ||
864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
865 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
866 /^X\(\/\/\)$/{ s//\1/; q; }
867 /^X\(\/\).*/{ s//\1/; q; }
870 if test ! -r $srcdir/$ac_unique_file; then
874 ac_srcdir_defaulted
=no
876 if test ! -r $srcdir/$ac_unique_file; then
877 if test "$ac_srcdir_defaulted" = yes; then
878 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
879 { (exit 1); exit 1; }; }
881 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
882 { (exit 1); exit 1; }; }
885 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
886 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
887 { (exit 1); exit 1; }; }
888 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
889 ac_env_build_alias_set
=${build_alias+set}
890 ac_env_build_alias_value
=$build_alias
891 ac_cv_env_build_alias_set
=${build_alias+set}
892 ac_cv_env_build_alias_value
=$build_alias
893 ac_env_host_alias_set
=${host_alias+set}
894 ac_env_host_alias_value
=$host_alias
895 ac_cv_env_host_alias_set
=${host_alias+set}
896 ac_cv_env_host_alias_value
=$host_alias
897 ac_env_target_alias_set
=${target_alias+set}
898 ac_env_target_alias_value
=$target_alias
899 ac_cv_env_target_alias_set
=${target_alias+set}
900 ac_cv_env_target_alias_value
=$target_alias
901 ac_env_CPP_set
=${CPP+set}
902 ac_env_CPP_value
=$CPP
903 ac_cv_env_CPP_set
=${CPP+set}
904 ac_cv_env_CPP_value
=$CPP
905 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
906 ac_env_CPPFLAGS_value
=$CPPFLAGS
907 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
908 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
909 ac_env_FC_set
=${FC+set}
911 ac_cv_env_FC_set
=${FC+set}
912 ac_cv_env_FC_value
=$FC
913 ac_env_FCFLAGS_set
=${FCFLAGS+set}
914 ac_env_FCFLAGS_value
=$FCFLAGS
915 ac_cv_env_FCFLAGS_set
=${FCFLAGS+set}
916 ac_cv_env_FCFLAGS_value
=$FCFLAGS
917 ac_env_LDFLAGS_set
=${LDFLAGS+set}
918 ac_env_LDFLAGS_value
=$LDFLAGS
919 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
920 ac_cv_env_LDFLAGS_value
=$LDFLAGS
923 # Report the --help message.
925 if test "$ac_init_help" = "long"; then
926 # Omit some internal or obsolete options to make the list less imposing.
927 # This message is too long to be a string in the A/UX 3.1 sh.
929 \`configure' configures GNU OpenMP Runtime Library 1.0 to adapt to many kinds of systems.
931 Usage: $0 [OPTION]... [VAR=VALUE]...
933 To assign environment variables (e.g., CC, CFLAGS...), specify them as
934 VAR=VALUE. See below for descriptions of some of the useful variables.
936 Defaults for the options are specified in brackets.
939 -h, --help display this help and exit
940 --help=short display options specific to this package
941 --help=recursive display the short help of all the included packages
942 -V, --version display version information and exit
943 -q, --quiet, --silent do not print \`checking...' messages
944 --cache-file=FILE cache test results in FILE [disabled]
945 -C, --config-cache alias for \`--cache-file=config.cache'
946 -n, --no-create do not create output files
947 --srcdir=DIR find the sources in DIR [configure dir or \`..']
952 Installation directories:
953 --prefix=PREFIX install architecture-independent files in PREFIX
955 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
958 By default, \`make install' will install all the files in
959 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
960 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
961 for instance \`--prefix=\$HOME'.
963 For better control, use the options below.
965 Fine tuning of the installation directories:
966 --bindir=DIR user executables [EPREFIX/bin]
967 --sbindir=DIR system admin executables [EPREFIX/sbin]
968 --libexecdir=DIR program executables [EPREFIX/libexec]
969 --datadir=DIR read-only architecture-independent data [PREFIX/share]
970 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
971 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
972 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
973 --libdir=DIR object code libraries [EPREFIX/lib]
974 --includedir=DIR C header files [PREFIX/include]
975 --oldincludedir=DIR C header files for non-gcc [/usr/include]
976 --infodir=DIR info documentation [PREFIX/info]
977 --mandir=DIR man documentation [PREFIX/man]
983 --program-prefix=PREFIX prepend PREFIX to installed program names
984 --program-suffix=SUFFIX append SUFFIX to installed program names
985 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
988 --build=BUILD configure
for building on BUILD
[guessed
]
989 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
990 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
994 if test -n "$ac_init_help"; then
995 case $ac_init_help in
996 short | recursive
) echo "Configuration of GNU OpenMP Runtime Library 1.0:";;
1001 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1002 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1003 --enable-version-specific-runtime-libs
1004 Specify that runtime libraries should be installed
1005 in a compiler-specific directory
[default
=no
]
1006 --enable-generated-files-in-srcdir
1007 put copies of generated files
in source dir intended
1008 for creating
source tarballs
for users without
1009 texinfo bison or flex.
[default
=no
]
1010 --enable-multilib build many library versions
(default
)
1011 --disable-dependency-tracking speeds up one-time build
1012 --enable-dependency-tracking do not reject slow dependency extractors
1013 --enable-shared[=PKGS
]
1014 build shared libraries
[default
=yes]
1015 --enable-static[=PKGS
]
1016 build static libraries
[default
=yes]
1017 --enable-fast-install[=PKGS
]
1018 optimize
for fast installation
[default
=yes]
1019 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1020 --enable-maintainer-mode enable make rules and dependencies not useful
1021 (and sometimes confusing
) to the casual installer
1022 --enable-linux-futex use the Linux futex system call
1024 --enable-tls Use thread-local storage
[default
=yes]
1025 --enable-symvers=STYLE enables symbol versioning of the shared library
1029 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1030 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1031 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1033 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1035 Some influential environment variables
:
1036 CC C compiler
command
1037 CFLAGS C compiler flags
1038 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1039 nonstandard directory
<lib dir
>
1040 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1041 headers
in a nonstandard directory
<include dir
>
1043 FC Fortran compiler
command
1044 FCFLAGS Fortran compiler flags
1046 Use these variables to override the choices made by
`configure' or to help
1047 it to find libraries and programs with nonstandard names/locations.
1052 if test "$ac_init_help" = "recursive"; then
1053 # If there are subdirs, report their specific --help.
1055 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1056 test -d $ac_dir || continue
1059 if test "$ac_dir" != .; then
1060 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1061 # A "../" for each directory in $ac_dir_suffix.
1062 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1064 ac_dir_suffix= ac_top_builddir=
1068 .) # No --srcdir option. We are building in place.
1070 if test -z "$ac_top_builddir"; then
1073 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1075 [\\/]* | ?:[\\/]* ) # Absolute path.
1076 ac_srcdir=$srcdir$ac_dir_suffix;
1077 ac_top_srcdir=$srcdir ;;
1079 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1080 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1083 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1084 # the directories may not exist.
1086 .) ac_abs_builddir="$ac_dir";;
1089 .) ac_abs_builddir=`pwd`;;
1090 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1091 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1094 case $ac_abs_builddir in
1095 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1097 case ${ac_top_builddir}. in
1098 .) ac_abs_top_builddir=$ac_abs_builddir;;
1099 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1100 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1103 case $ac_abs_builddir in
1104 .) ac_abs_srcdir=$ac_srcdir;;
1107 .) ac_abs_srcdir=$ac_abs_builddir;;
1108 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1109 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1112 case $ac_abs_builddir in
1113 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1115 case $ac_top_srcdir in
1116 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1117 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1118 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1123 # Check for guested configure; otherwise get Cygnus style configure.
1124 if test -f $ac_srcdir/configure.gnu; then
1126 $SHELL $ac_srcdir/configure.gnu --help=recursive
1127 elif test -f $ac_srcdir/configure; then
1129 $SHELL $ac_srcdir/configure --help=recursive
1130 elif test -f $ac_srcdir/configure.ac ||
1131 test -f $ac_srcdir/configure.in; then
1133 $ac_configure --help
1135 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1141 test -n "$ac_init_help" && exit 0
1142 if $ac_init_version; then
1144 GNU OpenMP Runtime Library configure 1.0
1145 generated by GNU Autoconf 2.59
1147 Copyright (C) 2003 Free Software Foundation, Inc.
1148 This configure script is free software; the Free Software Foundation
1149 gives unlimited permission to copy, distribute and modify it.
1155 This file contains any messages produced by compilers while
1156 running configure, to aid debugging if configure makes a mistake.
1158 It was created by GNU OpenMP Runtime Library $as_me 1.0, which was
1159 generated by GNU Autoconf 2.59. Invocation command line was
1170 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1171 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1172 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1173 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1174 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1176 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1177 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1179 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1180 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1181 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1182 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1183 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1184 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1185 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1193 test -z "$as_dir" && as_dir=.
1194 echo "PATH: $as_dir"
1209 # Keep a trace of the command line.
1210 # Strip out --no-create and --no-recursion so they do not pile up.
1211 # Strip out --silent because we don't want to record it for future runs.
1212 # Also quote any args containing shell meta-characters.
1213 # Make two passes to allow for proper duplicate-argument suppression.
1218 ac_must_keep_next=false
1224 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1225 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1226 | -silent | --silent | --silen | --sile | --sil)
1228 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1229 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1232 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1234 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1235 if test $ac_must_keep_next = true; then
1236 ac_must_keep_next=false # Got value, back to normal.
1239 *=* | --config-cache | -C | -disable-* | --disable-* \
1240 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1241 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1242 | -with-* | --with-* | -without-* | --without-* | --x)
1243 case "$ac_configure_args0 " in
1244 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1247 -* ) ac_must_keep_next=true ;;
1250 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1251 # Get rid of the leading space.
1257 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1258 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1260 # When interrupted or exit'd, cleanup temporary files, and complete
1261 # config.log. We remove comments because anyway the quotes in there
1262 # would cause problems or look ugly.
1263 # WARNING: Be sure not to use single quotes in there, as some shells,
1264 # such as our DU 5.0 friend, will then `close
' the trap.
1265 trap 'exit_status
=$?
1266 # Save into config.log some information that might help in debugging.
1271 ## ---------------- ##
1272 ## Cache variables. ##
1273 ## ---------------- ##
1276 # The following way of writing the cache mishandles newlines in values,
1279 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1282 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1283 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1287 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1294 ## ----------------- ##
1295 ## Output variables. ##
1296 ## ----------------- ##
1299 for ac_var
in $ac_subst_vars
1301 eval ac_val
=$
`echo $ac_var`
1302 echo "$ac_var='"'"'$ac_val'"'"'"
1306 if test -n "$ac_subst_files"; then
1313 for ac_var
in $ac_subst_files
1315 eval ac_val
=$
`echo $ac_var`
1316 echo "$ac_var='"'"'$ac_val'"'"'"
1321 if test -s confdefs.h
; then
1328 sed "/^$/d" confdefs.h |
sort
1331 test "$ac_signal" != 0 &&
1332 echo "$as_me: caught signal $ac_signal"
1333 echo "$as_me: exit $exit_status"
1335 rm -f core
*.core
&&
1336 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1339 for ac_signal in 1 2 13 15; do
1340 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1344 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1345 rm -rf conftest* confdefs.h
1346 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1349 # Predefined preprocessor variables.
1351 cat >>confdefs.h <<_ACEOF
1352 #define PACKAGE_NAME "$PACKAGE_NAME"
1356 cat >>confdefs.h <<_ACEOF
1357 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1361 cat >>confdefs.h <<_ACEOF
1362 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1366 cat >>confdefs.h <<_ACEOF
1367 #define PACKAGE_STRING "$PACKAGE_STRING"
1371 cat >>confdefs.h <<_ACEOF
1372 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1376 # Let the site file select an alternate cache file if it wants to.
1377 # Prefer explicitly selected file to automatically selected ones.
1378 if test -z "$CONFIG_SITE"; then
1379 if test "x$prefix" != xNONE; then
1380 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1382 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1385 for ac_site_file in $CONFIG_SITE; do
1386 if test -r "$ac_site_file"; then
1387 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1388 echo "$as_me: loading site script $ac_site_file" >&6;}
1389 sed 's
/^
/|
/' "$ac_site_file" >&5
1394 if test -r "$cache_file"; then
1395 # Some versions of bash will fail to source /dev/null (special
1396 # files actually), so we avoid doing that.
1397 if test -f "$cache_file"; then
1398 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1399 echo "$as_me: loading cache $cache_file" >&6;}
1401 [\\/]* | ?:[\\/]* ) . $cache_file;;
1402 *) . ./$cache_file;;
1406 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1407 echo "$as_me: creating cache $cache_file" >&6;}
1411 # Check that the precious variables saved in the cache have kept the same
1413 ac_cache_corrupted=false
1414 for ac_var in `(set) 2>&1 |
1415 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1416 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1417 eval ac_new_set=\$ac_env_${ac_var}_set
1418 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1419 eval ac_new_val="\$ac_env_${ac_var}_value"
1420 case $ac_old_set,$ac_new_set in
1422 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1423 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1424 ac_cache_corrupted=: ;;
1426 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1427 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1428 ac_cache_corrupted=: ;;
1431 if test "x$ac_old_val" != "x$ac_new_val"; then
1432 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1433 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1434 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1435 echo "$as_me: former value: $ac_old_val" >&2;}
1436 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1437 echo "$as_me: current value: $ac_new_val" >&2;}
1438 ac_cache_corrupted=:
1441 # Pass precious variables to config.status.
1442 if test "$ac_new_set" = set; then
1444 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1445 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1446 *) ac_arg=$ac_var=$ac_new_val ;;
1448 case " $ac_configure_args " in
1449 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1450 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1454 if $ac_cache_corrupted; then
1455 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1456 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1457 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1458 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1459 { (exit 1); exit 1; }; }
1463 ac_cpp='$CPP $CPPFLAGS'
1464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1465 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1494 ac_config_headers="$ac_config_headers config.h"
1501 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1502 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1503 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1504 if test "${enable_version_specific_runtime_libs+set}" = set; then
1505 enableval="$enable_version_specific_runtime_libs"
1507 case "$enableval" in
1509 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific-runtime-libs" >&5
1510 echo "$as_me: error: Unknown argument to enable/disable version-specific-runtime-libs" >&2;}
1511 { (exit 1); exit 1; }; } ;;
1515 enable_version_specific_runtime_libs=no
1518 echo "$as_me:$LINENO: result: $enable_version_specific_runtime_libs" >&5
1519 echo "${ECHO_T}$enable_version_specific_runtime_libs" >&6
1521 # We would like our source tree to be readonly. However when releases or
1522 # pre-releases are generated, the flex/bison generated files as well as the
1523 # various formats of manuals need to be included along with the rest of the
1524 # sources. Therefore we have --enable-generated-files-in-srcdir to do
1526 echo "$as_me:$LINENO: checking for --enable-generated-files-in-srcdir" >&5
1527 echo $ECHO_N "checking for --enable-generated-files-in-srcdir... $ECHO_C" >&6
1528 # Check whether --enable-generated-files-in-srcdir or --disable-generated-files-in-srcdir was given.
1529 if test "${enable_generated_files_in_srcdir+set}" = set; then
1530 enableval="$enable_generated_files_in_srcdir"
1532 case "$enableval" in
1534 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable generated-files-in-srcdir" >&5
1535 echo "$as_me: error: Unknown argument to enable/disable generated-files-in-srcdir" >&2;}
1536 { (exit 1); exit 1; }; } ;;
1540 enable_generated_files_in_srcdir=no
1543 echo "$as_me:$LINENO: result: $enable_generated_files_in_srcdir" >&5
1544 echo "${ECHO_T}$enable_generated_files_in_srcdir" >&6
1547 if test "$enable_generated_files_in_srcdir" = yes; then
1560 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1562 # You will slowly go insane if you do not grok the following fact: when
1563 # building this library, the top-level /target/ becomes the library's /host/.
1565 # configure then causes --target to default to --host, exactly like any
1566 # other package using autoconf. Therefore, 'target' and 'host' will
1567 # always be the same. This makes sense both for native and cross compilers
1568 # just think about it for a little while. :-)
1570 # Also, if this library is being configured as part of a cross compiler, the
1571 # top-level configure script will pass the "real" host as $with_cross_host.
1573 # Do not delete or change the following two lines. For why, see
1574 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1576 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1577 if test -f $ac_dir/install-sh
; then
1579 ac_install_sh
="$ac_aux_dir/install-sh -c"
1581 elif test -f $ac_dir/install.sh
; then
1583 ac_install_sh
="$ac_aux_dir/install.sh -c"
1585 elif test -f $ac_dir/shtool
; then
1587 ac_install_sh
="$ac_aux_dir/shtool install -c"
1591 if test -z "$ac_aux_dir"; then
1592 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1593 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1594 { (exit 1); exit 1; }; }
1596 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1597 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1598 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1600 # Make sure we can run config.sub.
1601 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1602 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1603 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1604 { (exit 1); exit 1; }; }
1606 echo "$as_me:$LINENO: checking build system type" >&5
1607 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1608 if test "${ac_cv_build+set}" = set; then
1609 echo $ECHO_N "(cached) $ECHO_C" >&6
1611 ac_cv_build_alias
=$build_alias
1612 test -z "$ac_cv_build_alias" &&
1613 ac_cv_build_alias
=`$ac_config_guess`
1614 test -z "$ac_cv_build_alias" &&
1615 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1616 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1617 { (exit 1); exit 1; }; }
1618 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1619 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1620 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1621 { (exit 1); exit 1; }; }
1624 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1625 echo "${ECHO_T}$ac_cv_build" >&6
1627 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1628 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1629 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1632 echo "$as_me:$LINENO: checking host system type" >&5
1633 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1634 if test "${ac_cv_host+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 ac_cv_host_alias
=$host_alias
1638 test -z "$ac_cv_host_alias" &&
1639 ac_cv_host_alias
=$ac_cv_build_alias
1640 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1641 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1642 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1643 { (exit 1); exit 1; }; }
1646 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1647 echo "${ECHO_T}$ac_cv_host" >&6
1649 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1650 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1651 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1654 echo "$as_me:$LINENO: checking target system type" >&5
1655 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1656 if test "${ac_cv_target+set}" = set; then
1657 echo $ECHO_N "(cached) $ECHO_C" >&6
1659 ac_cv_target_alias
=$target_alias
1660 test "x$ac_cv_target_alias" = "x" &&
1661 ac_cv_target_alias
=$ac_cv_host_alias
1662 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1663 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1664 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1665 { (exit 1); exit 1; }; }
1668 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1669 echo "${ECHO_T}$ac_cv_target" >&6
1670 target
=$ac_cv_target
1671 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1672 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1673 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1676 # The aliases save the names the user supplied, while $host etc.
1677 # will get canonicalized.
1678 test -n "$target_alias" &&
1679 test "$program_prefix$program_suffix$program_transform_name" = \
1681 program_prefix
=${target_alias}-
1682 target_alias
=${target_alias-$host_alias}
1684 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1685 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1686 # 1.9.0: minimum required version
1687 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1688 # of other PACKAGE_* variables will, however, and there's nothing
1689 # we can do about that; they come from AC_INIT).
1690 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1691 # file in the top srcdir, etc, etc), so stop complaining.
1692 # -Wall: turns on all automake warnings...
1693 # -Wno-portability: ...except this one, since GNU make is required.
1694 # -Wno-override: ... and this one, since we do want this in testsuite.
1695 am__api_version
="1.9"
1696 # Find a good install program. We prefer a C program (faster),
1697 # so one script is as good as another. But avoid the broken or
1698 # incompatible versions:
1699 # SysV /etc/install, /usr/sbin/install
1700 # SunOS /usr/etc/install
1701 # IRIX /sbin/install
1703 # AmigaOS /C/install, which installs bootblocks on floppy discs
1704 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1705 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1706 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1707 # OS/2's system install, which has a completely different semantic
1708 # ./install, which can be erroneously created by make from ./install.sh.
1709 # Reject install programs that cannot install multiple files.
1710 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1711 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1712 if test -z "$INSTALL"; then
1713 if test "${ac_cv_path_install+set}" = set; then
1714 echo $ECHO_N "(cached) $ECHO_C" >&6
1716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1720 test -z "$as_dir" && as_dir
=.
1721 # Account for people who put trailing slashes in PATH elements.
1723 .
/ | .
// |
/cC
/* | \
1724 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1725 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1728 # OSF1 and SCO ODT 3.0 have their own names for install.
1729 # Don't use installbsd from OSF since it installs stuff as root
1731 for ac_prog
in ginstall scoinst
install; do
1732 for ac_exec_ext
in '' $ac_executable_extensions; do
1733 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1734 if test $ac_prog = install &&
1735 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1736 # AIX install. It has an incompatible calling convention.
1738 elif test $ac_prog = install &&
1739 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1740 # program-specific install script used by HP pwplus--don't use.
1743 rm -rf conftest.one conftest.two conftest.dir
1744 echo one
> conftest.one
1745 echo two
> conftest.two
1747 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1748 test -s conftest.one
&& test -s conftest.two
&&
1749 test -s conftest.dir
/conftest.one
&&
1750 test -s conftest.dir
/conftest.two
1752 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1763 rm -rf conftest.one conftest.two conftest.dir
1766 if test "${ac_cv_path_install+set}" = set; then
1767 INSTALL
=$ac_cv_path_install
1769 # As a last resort, use the slow shell script. Don't cache a
1770 # value for INSTALL within a source directory, because that will
1771 # break other packages using the cache if that directory is
1772 # removed, or if the value is a relative name.
1773 INSTALL
=$ac_install_sh
1776 echo "$as_me:$LINENO: result: $INSTALL" >&5
1777 echo "${ECHO_T}$INSTALL" >&6
1779 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1780 # It thinks the first close brace ends the variable substitution.
1781 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1783 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1785 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1787 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1788 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1791 echo timestamp
> conftest.
file
1792 # Do `set' in a subshell so we don't clobber the current shell's
1793 # arguments. Must try -L first in case configure is actually a
1794 # symlink; some systems play weird games with the mod time of symlinks
1795 # (eg FreeBSD returns the mod time of the symlink's containing
1798 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1799 if test "$*" = "X"; then
1801 set X
`ls -t $srcdir/configure conftest.file`
1804 if test "$*" != "X $srcdir/configure conftest.file" \
1805 && test "$*" != "X conftest.file $srcdir/configure"; then
1807 # If neither matched, then we have a broken ls. This can happen
1808 # if, for instance, CONFIG_SHELL is bash and it inherits a
1809 # broken ls alias from the environment. This has actually
1810 # happened. Such a system could not be considered "sane".
1811 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1812 alias in your environment" >&5
1813 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1814 alias in your environment" >&2;}
1815 { (exit 1); exit 1; }; }
1818 test "$2" = conftest.
file
1824 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1825 Check your system clock" >&5
1826 echo "$as_me: error: newly created file is older than distributed files!
1827 Check your system clock" >&2;}
1828 { (exit 1); exit 1; }; }
1830 echo "$as_me:$LINENO: result: yes" >&5
1831 echo "${ECHO_T}yes" >&6
1832 test "$program_prefix" != NONE
&&
1833 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1834 # Use a double $ so make ignores it.
1835 test "$program_suffix" != NONE
&&
1836 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1837 # Double any \ or $. echo might interpret backslashes.
1838 # By default was `s,x,x', remove it if useless.
1839 cat <<\_ACEOF
>conftest.
sed
1840 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1842 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1845 # expand $ac_aux_dir to an absolute path
1846 am_aux_dir
=`cd $ac_aux_dir && pwd`
1848 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1849 # Use eval to expand $SHELL
1850 if eval "$MISSING --run true"; then
1851 am_missing_run
="$MISSING --run "
1854 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1855 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1858 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1859 # We used to keeping the `.' as first argument, in order to
1860 # allow $(mkdir_p) to be used without argument. As in
1861 # $(mkdir_p) $(somedir)
1862 # where $(somedir) is conditionally defined. However this is wrong
1864 # 1. if the package is installed by a user who cannot write `.'
1865 # make install will fail,
1866 # 2. the above comment should most certainly read
1867 # $(mkdir_p) $(DESTDIR)$(somedir)
1868 # so it does not work when $(somedir) is undefined and
1869 # $(DESTDIR) is not.
1870 # To support the latter case, we have to write
1871 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1872 # so the `.' trick is pointless.
1873 mkdir_p
='mkdir -p --'
1875 # On NextStep and OpenStep, the `mkdir' command does not
1876 # recognize any option. It will interpret all options as
1877 # directories to create, and then abort because `.' already
1879 for d
in .
/-p .
/--version;
1881 test -d $d && rmdir $d
1883 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1884 if test -f "$ac_aux_dir/mkinstalldirs"; then
1885 mkdir_p
='$(mkinstalldirs)'
1887 mkdir_p
='$(install_sh) -d'
1891 for ac_prog
in gawk mawk nawk
awk
1893 # Extract the first word of "$ac_prog", so it can be a program name with args.
1894 set dummy
$ac_prog; ac_word
=$2
1895 echo "$as_me:$LINENO: checking for $ac_word" >&5
1896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1897 if test "${ac_cv_prog_AWK+set}" = set; then
1898 echo $ECHO_N "(cached) $ECHO_C" >&6
1900 if test -n "$AWK"; then
1901 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1907 test -z "$as_dir" && as_dir
=.
1908 for ac_exec_ext
in '' $ac_executable_extensions; do
1909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1910 ac_cv_prog_AWK
="$ac_prog"
1911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1920 if test -n "$AWK"; then
1921 echo "$as_me:$LINENO: result: $AWK" >&5
1922 echo "${ECHO_T}$AWK" >&6
1924 echo "$as_me:$LINENO: result: no" >&5
1925 echo "${ECHO_T}no" >&6
1928 test -n "$AWK" && break
1931 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1932 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1933 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1934 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1935 echo $ECHO_N "(cached) $ECHO_C" >&6
1937 cat >conftest.
make <<\_ACEOF
1939 @
echo 'ac_maketemp="$(MAKE)"'
1941 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1942 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1943 if test -n "$ac_maketemp"; then
1944 eval ac_cv_prog_make_
${ac_make}_set
=yes
1946 eval ac_cv_prog_make_
${ac_make}_set
=no
1950 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1951 echo "$as_me:$LINENO: result: yes" >&5
1952 echo "${ECHO_T}yes" >&6
1955 echo "$as_me:$LINENO: result: no" >&5
1956 echo "${ECHO_T}no" >&6
1957 SET_MAKE
="MAKE=${MAKE-make}"
1960 rm -rf .tst
2>/dev
/null
1961 mkdir .tst
2>/dev
/null
1962 if test -d .tst
; then
1967 rmdir .tst
2>/dev
/null
1969 # test to see if srcdir already configured
1970 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1971 test -f $srcdir/config.status
; then
1972 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1973 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1974 { (exit 1); exit 1; }; }
1977 # test whether we have cygpath
1978 if test -z "$CYGPATH_W"; then
1979 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1980 CYGPATH_W
='cygpath -w'
1987 # Define the identity of the package.
1992 cat >>confdefs.h
<<_ACEOF
1993 #define PACKAGE "$PACKAGE"
1997 cat >>confdefs.h
<<_ACEOF
1998 #define VERSION "$VERSION"
2001 # Some tools Automake needs.
2003 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2006 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2009 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2012 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2015 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2017 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2019 # Installed binaries are usually stripped using `strip' when the user
2020 # run `make install-strip'. However `strip' might not be the right
2021 # tool to use in cross-compilation environments, therefore Automake
2022 # will honor the `STRIP' environment variable to overrule this program.
2023 if test "$cross_compiling" != no
; then
2024 if test -n "$ac_tool_prefix"; then
2025 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2026 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2027 echo "$as_me:$LINENO: checking for $ac_word" >&5
2028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2029 if test "${ac_cv_prog_STRIP+set}" = set; then
2030 echo $ECHO_N "(cached) $ECHO_C" >&6
2032 if test -n "$STRIP"; then
2033 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2039 test -z "$as_dir" && as_dir
=.
2040 for ac_exec_ext
in '' $ac_executable_extensions; do
2041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2042 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2051 STRIP
=$ac_cv_prog_STRIP
2052 if test -n "$STRIP"; then
2053 echo "$as_me:$LINENO: result: $STRIP" >&5
2054 echo "${ECHO_T}$STRIP" >&6
2056 echo "$as_me:$LINENO: result: no" >&5
2057 echo "${ECHO_T}no" >&6
2061 if test -z "$ac_cv_prog_STRIP"; then
2063 # Extract the first word of "strip", so it can be a program name with args.
2064 set dummy strip
; ac_word
=$2
2065 echo "$as_me:$LINENO: checking for $ac_word" >&5
2066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2067 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2068 echo $ECHO_N "(cached) $ECHO_C" >&6
2070 if test -n "$ac_ct_STRIP"; then
2071 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2077 test -z "$as_dir" && as_dir
=.
2078 for ac_exec_ext
in '' $ac_executable_extensions; do
2079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2080 ac_cv_prog_ac_ct_STRIP
="strip"
2081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2087 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2090 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2091 if test -n "$ac_ct_STRIP"; then
2092 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2093 echo "${ECHO_T}$ac_ct_STRIP" >&6
2095 echo "$as_me:$LINENO: result: no" >&5
2096 echo "${ECHO_T}no" >&6
2101 STRIP
="$ac_cv_prog_STRIP"
2105 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2107 # We need awk for the "check" target. The system "awk" is bad on
2109 # Always define AMTAR for backward compatibility.
2111 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2113 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2119 # Default to --enable-multilib
2120 # Check whether --enable-multilib or --disable-multilib was given.
2121 if test "${enable_multilib+set}" = set; then
2122 enableval
="$enable_multilib"
2123 case "$enableval" in
2124 yes) multilib
=yes ;;
2126 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2127 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2128 { (exit 1); exit 1; }; } ;;
2134 # We may get other options which we leave undocumented:
2135 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2136 # See config-ml.in if you want the gory details.
2138 if test "$srcdir" = "."; then
2139 if test "$with_target_subdir" != "."; then
2140 multi_basedir
="$srcdir/$with_multisrctop../.."
2142 multi_basedir
="$srcdir/$with_multisrctop.."
2145 multi_basedir
="$srcdir/.."
2149 # Even if the default multilib is not a cross compilation,
2150 # it may be that some of the other multilibs are.
2151 if test $cross_compiling = no
&& test $multilib = yes \
2152 && test "x${with_multisubdir}" != x
; then
2153 cross_compiling
=maybe
2156 ac_config_commands
="$ac_config_commands default-1"
2159 # Calculate toolexeclibdir
2160 # Also toolexecdir, though it's only used in toolexeclibdir
2161 case ${enable_version_specific_runtime_libs} in
2163 # Need the gcc compiler version to know where to install libraries
2164 # and header files if --enable-version-specific-runtime-libs option
2166 toolexecdir
='$(libdir)/gcc/$(target_alias)'
2167 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2170 if test -n "$with_cross_host" &&
2171 test x
"$with_cross_host" != x
"no"; then
2172 # Install a library built with a cross compiler in tooldir, not libdir.
2173 toolexecdir
='$(exec_prefix)/$(target_alias)'
2174 toolexeclibdir
='$(toolexecdir)/lib'
2176 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
2177 toolexeclibdir
='$(libdir)'
2179 multi_os_directory
=`$CC -print-multi-os-directory`
2180 case $multi_os_directory in
2181 .
) ;; # Avoid trailing /.
2182 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
2189 # Check the compiler.
2190 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2191 # We must force CC to /not/ be precious variables; otherwise
2192 # the wrong, non-multilib-adjusted value will be used in multilibs.
2193 # As a side effect, we have to subst CFLAGS ourselves.
2198 ac_cpp
='$CPP $CPPFLAGS'
2199 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2200 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2201 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2202 if test -n "$ac_tool_prefix"; then
2203 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2204 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2205 echo "$as_me:$LINENO: checking for $ac_word" >&5
2206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2207 if test "${ac_cv_prog_CC+set}" = set; then
2208 echo $ECHO_N "(cached) $ECHO_C" >&6
2210 if test -n "$CC"; then
2211 ac_cv_prog_CC
="$CC" # Let the user override the test.
2213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2217 test -z "$as_dir" && as_dir
=.
2218 for ac_exec_ext
in '' $ac_executable_extensions; do
2219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2220 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2230 if test -n "$CC"; then
2231 echo "$as_me:$LINENO: result: $CC" >&5
2232 echo "${ECHO_T}$CC" >&6
2234 echo "$as_me:$LINENO: result: no" >&5
2235 echo "${ECHO_T}no" >&6
2239 if test -z "$ac_cv_prog_CC"; then
2241 # Extract the first word of "gcc", so it can be a program name with args.
2242 set dummy gcc
; ac_word
=$2
2243 echo "$as_me:$LINENO: checking for $ac_word" >&5
2244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2245 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2248 if test -n "$ac_ct_CC"; then
2249 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2255 test -z "$as_dir" && as_dir
=.
2256 for ac_exec_ext
in '' $ac_executable_extensions; do
2257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2258 ac_cv_prog_ac_ct_CC
="gcc"
2259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2267 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2268 if test -n "$ac_ct_CC"; then
2269 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2270 echo "${ECHO_T}$ac_ct_CC" >&6
2272 echo "$as_me:$LINENO: result: no" >&5
2273 echo "${ECHO_T}no" >&6
2281 if test -z "$CC"; then
2282 if test -n "$ac_tool_prefix"; then
2283 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2284 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2285 echo "$as_me:$LINENO: checking for $ac_word" >&5
2286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2287 if test "${ac_cv_prog_CC+set}" = set; then
2288 echo $ECHO_N "(cached) $ECHO_C" >&6
2290 if test -n "$CC"; then
2291 ac_cv_prog_CC
="$CC" # Let the user override the test.
2293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2297 test -z "$as_dir" && as_dir
=.
2298 for ac_exec_ext
in '' $ac_executable_extensions; do
2299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2300 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2310 if test -n "$CC"; then
2311 echo "$as_me:$LINENO: result: $CC" >&5
2312 echo "${ECHO_T}$CC" >&6
2314 echo "$as_me:$LINENO: result: no" >&5
2315 echo "${ECHO_T}no" >&6
2319 if test -z "$ac_cv_prog_CC"; then
2321 # Extract the first word of "cc", so it can be a program name with args.
2322 set dummy cc
; ac_word
=$2
2323 echo "$as_me:$LINENO: checking for $ac_word" >&5
2324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2325 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2326 echo $ECHO_N "(cached) $ECHO_C" >&6
2328 if test -n "$ac_ct_CC"; then
2329 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2335 test -z "$as_dir" && as_dir
=.
2336 for ac_exec_ext
in '' $ac_executable_extensions; do
2337 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2338 ac_cv_prog_ac_ct_CC
="cc"
2339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2347 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2348 if test -n "$ac_ct_CC"; then
2349 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2350 echo "${ECHO_T}$ac_ct_CC" >&6
2352 echo "$as_me:$LINENO: result: no" >&5
2353 echo "${ECHO_T}no" >&6
2362 if test -z "$CC"; then
2363 # Extract the first word of "cc", so it can be a program name with args.
2364 set dummy cc
; ac_word
=$2
2365 echo "$as_me:$LINENO: checking for $ac_word" >&5
2366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2367 if test "${ac_cv_prog_CC+set}" = set; then
2368 echo $ECHO_N "(cached) $ECHO_C" >&6
2370 if test -n "$CC"; then
2371 ac_cv_prog_CC
="$CC" # Let the user override the test.
2374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2378 test -z "$as_dir" && as_dir
=.
2379 for ac_exec_ext
in '' $ac_executable_extensions; do
2380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2381 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2382 ac_prog_rejected
=yes
2386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2392 if test $ac_prog_rejected = yes; then
2393 # We found a bogon in the path, so make sure we never use it.
2394 set dummy
$ac_cv_prog_CC
2396 if test $# != 0; then
2397 # We chose a different compiler from the bogus one.
2398 # However, it has the same basename, so the bogon will be chosen
2399 # first if we set CC to just the basename; use the full file name.
2401 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2407 if test -n "$CC"; then
2408 echo "$as_me:$LINENO: result: $CC" >&5
2409 echo "${ECHO_T}$CC" >&6
2411 echo "$as_me:$LINENO: result: no" >&5
2412 echo "${ECHO_T}no" >&6
2416 if test -z "$CC"; then
2417 if test -n "$ac_tool_prefix"; then
2420 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2421 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2422 echo "$as_me:$LINENO: checking for $ac_word" >&5
2423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2424 if test "${ac_cv_prog_CC+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 if test -n "$CC"; then
2428 ac_cv_prog_CC
="$CC" # Let the user override the test.
2430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2434 test -z "$as_dir" && as_dir
=.
2435 for ac_exec_ext
in '' $ac_executable_extensions; do
2436 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2437 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2447 if test -n "$CC"; then
2448 echo "$as_me:$LINENO: result: $CC" >&5
2449 echo "${ECHO_T}$CC" >&6
2451 echo "$as_me:$LINENO: result: no" >&5
2452 echo "${ECHO_T}no" >&6
2455 test -n "$CC" && break
2458 if test -z "$CC"; then
2462 # Extract the first word of "$ac_prog", so it can be a program name with args.
2463 set dummy
$ac_prog; ac_word
=$2
2464 echo "$as_me:$LINENO: checking for $ac_word" >&5
2465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2466 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 if test -n "$ac_ct_CC"; then
2470 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2476 test -z "$as_dir" && as_dir
=.
2477 for ac_exec_ext
in '' $ac_executable_extensions; do
2478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2479 ac_cv_prog_ac_ct_CC
="$ac_prog"
2480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2488 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2489 if test -n "$ac_ct_CC"; then
2490 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2491 echo "${ECHO_T}$ac_ct_CC" >&6
2493 echo "$as_me:$LINENO: result: no" >&5
2494 echo "${ECHO_T}no" >&6
2497 test -n "$ac_ct_CC" && break
2506 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2507 See \`config.log' for more details." >&5
2508 echo "$as_me: error: no acceptable C compiler found in \$PATH
2509 See \`config.log' for more details." >&2;}
2510 { (exit 1); exit 1; }; }
2512 # Provide some information about the compiler.
2513 echo "$as_me:$LINENO:" \
2514 "checking for C compiler version" >&5
2515 ac_compiler
=`set X $ac_compile; echo $2`
2516 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2517 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }
2521 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2522 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); }
2526 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2527 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2530 (exit $ac_status); }
2532 cat >conftest.
$ac_ext <<_ACEOF
2535 cat confdefs.h
>>conftest.
$ac_ext
2536 cat >>conftest.
$ac_ext <<_ACEOF
2537 /* end confdefs.h. */
2547 ac_clean_files_save
=$ac_clean_files
2548 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2549 # Try to create an executable without -o first, disregard a.out.
2550 # It will help us diagnose broken compilers, and finding out an intuition
2552 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2553 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2554 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2555 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2556 (eval $ac_link_default) 2>&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }; then
2560 # Find the output, starting from the most likely. This scheme is
2561 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2564 # Be careful to initialize this variable, since it used to be cached.
2565 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2567 # b.out is created by i960 compilers.
2568 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2570 test -f "$ac_file" ||
continue
2572 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2575 # This is the source file.
2578 # We found the default executable, but exeext='' is most
2582 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2583 # FIXME: I believe we export ac_cv_exeext for Libtool,
2584 # but it would be cool to find out if it's true. Does anybody
2585 # maintain Libtool? --akim.
2593 echo "$as_me: failed program was:" >&5
2594 sed 's/^/| /' conftest.
$ac_ext >&5
2596 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2597 See \`config.log' for more details." >&5
2598 echo "$as_me: error: C compiler cannot create executables
2599 See \`config.log' for more details." >&2;}
2600 { (exit 77); exit 77; }; }
2603 ac_exeext
=$ac_cv_exeext
2604 echo "$as_me:$LINENO: result: $ac_file" >&5
2605 echo "${ECHO_T}$ac_file" >&6
2607 # Check the compiler produces executables we can run. If not, either
2608 # the compiler is broken, or we cross compile.
2609 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2610 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2611 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2612 # If not cross compiling, check that we can run a simple program.
2613 if test "$cross_compiling" != yes; then
2614 if { ac_try
='./$ac_file'
2615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2619 (exit $ac_status); }; }; then
2622 if test "$cross_compiling" = maybe
; then
2625 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2626 If you meant to cross compile, use \`--host'.
2627 See \`config.log' for more details." >&5
2628 echo "$as_me: error: cannot run C compiled programs.
2629 If you meant to cross compile, use \`--host'.
2630 See \`config.log' for more details." >&2;}
2631 { (exit 1); exit 1; }; }
2635 echo "$as_me:$LINENO: result: yes" >&5
2636 echo "${ECHO_T}yes" >&6
2638 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2639 ac_clean_files
=$ac_clean_files_save
2640 # Check the compiler produces executables we can run. If not, either
2641 # the compiler is broken, or we cross compile.
2642 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2643 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2644 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2645 echo "${ECHO_T}$cross_compiling" >&6
2647 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2648 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2650 (eval $ac_link) 2>&5
2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 (exit $ac_status); }; then
2654 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2655 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2656 # work properly (i.e., refer to `conftest.exe'), while it won't with
2658 for ac_file
in conftest.exe conftest conftest.
*; do
2659 test -f "$ac_file" ||
continue
2661 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2662 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2669 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2670 See \`config.log' for more details." >&5
2671 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2672 See \`config.log' for more details." >&2;}
2673 { (exit 1); exit 1; }; }
2676 rm -f conftest
$ac_cv_exeext
2677 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2678 echo "${ECHO_T}$ac_cv_exeext" >&6
2680 rm -f conftest.
$ac_ext
2681 EXEEXT
=$ac_cv_exeext
2683 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2684 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2685 if test "${ac_cv_objext+set}" = set; then
2686 echo $ECHO_N "(cached) $ECHO_C" >&6
2688 cat >conftest.
$ac_ext <<_ACEOF
2691 cat confdefs.h
>>conftest.
$ac_ext
2692 cat >>conftest.
$ac_ext <<_ACEOF
2693 /* end confdefs.h. */
2703 rm -f conftest.o conftest.obj
2704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2705 (eval $ac_compile) 2>&5
2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); }; then
2709 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2711 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2712 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2717 echo "$as_me: failed program was:" >&5
2718 sed 's/^/| /' conftest.
$ac_ext >&5
2720 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2721 See \`config.log' for more details." >&5
2722 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2723 See \`config.log' for more details." >&2;}
2724 { (exit 1); exit 1; }; }
2727 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2729 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2730 echo "${ECHO_T}$ac_cv_objext" >&6
2731 OBJEXT
=$ac_cv_objext
2733 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2734 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2735 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2736 echo $ECHO_N "(cached) $ECHO_C" >&6
2738 cat >conftest.
$ac_ext <<_ACEOF
2741 cat confdefs.h
>>conftest.
$ac_ext
2742 cat >>conftest.
$ac_ext <<_ACEOF
2743 /* end confdefs.h. */
2756 rm -f conftest.
$ac_objext
2757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2758 (eval $ac_compile) 2>conftest.er1
2760 grep -v '^ *+' conftest.er1
>conftest.err
2762 cat conftest.err
>&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); } &&
2765 { ac_try
='test -z "$ac_c_werror_flag"
2766 || test ! -s conftest.err'
2767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; } &&
2772 { ac_try
='test -s conftest.$ac_objext'
2773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; }; then
2780 echo "$as_me: failed program was:" >&5
2781 sed 's/^/| /' conftest.
$ac_ext >&5
2785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2786 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2789 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2790 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2791 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2792 ac_test_CFLAGS
=${CFLAGS+set}
2793 ac_save_CFLAGS
=$CFLAGS
2795 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2796 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2797 if test "${ac_cv_prog_cc_g+set}" = set; then
2798 echo $ECHO_N "(cached) $ECHO_C" >&6
2800 cat >conftest.
$ac_ext <<_ACEOF
2803 cat confdefs.h
>>conftest.
$ac_ext
2804 cat >>conftest.
$ac_ext <<_ACEOF
2805 /* end confdefs.h. */
2815 rm -f conftest.
$ac_objext
2816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2817 (eval $ac_compile) 2>conftest.er1
2819 grep -v '^ *+' conftest.er1
>conftest.err
2821 cat conftest.err
>&5
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); } &&
2824 { ac_try
='test -z "$ac_c_werror_flag"
2825 || test ! -s conftest.err'
2826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830 (exit $ac_status); }; } &&
2831 { ac_try
='test -s conftest.$ac_objext'
2832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); }; }; then
2839 echo "$as_me: failed program was:" >&5
2840 sed 's/^/| /' conftest.
$ac_ext >&5
2844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2846 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2847 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2848 if test "$ac_test_CFLAGS" = set; then
2849 CFLAGS
=$ac_save_CFLAGS
2850 elif test $ac_cv_prog_cc_g = yes; then
2851 if test "$GCC" = yes; then
2857 if test "$GCC" = yes; then
2863 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2864 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2865 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2866 echo $ECHO_N "(cached) $ECHO_C" >&6
2868 ac_cv_prog_cc_stdc
=no
2870 cat >conftest.
$ac_ext <<_ACEOF
2873 cat confdefs.h
>>conftest.
$ac_ext
2874 cat >>conftest.
$ac_ext <<_ACEOF
2875 /* end confdefs.h. */
2878 #include <sys/types.h>
2879 #include <sys/stat.h>
2880 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2881 struct buf { int x; };
2882 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2883 static char *e (p, i)
2889 static char *f (char * (*g) (char **, int), char **p, ...)
2894 s = g (p, va_arg (v,int));
2899 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2900 function prototypes and stuff, but not '\xHH' hex character constants.
2901 These don't provoke an error unfortunately, instead are silently treated
2902 as 'x'. The following induces an error, until -std1 is added to get
2903 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2904 array size at least. It's necessary to write '\x00'==0 to get something
2905 that's true only with -std1. */
2906 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2908 int test (int i, double x);
2909 struct s1 {int (*f) (int a);};
2910 struct s2 {int (*f) (double a);};
2911 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2917 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2922 # Don't try gcc -ansi; that turns off useful extensions and
2923 # breaks some systems' header files.
2924 # AIX -qlanglvl=ansi
2925 # Ultrix and OSF/1 -std1
2926 # HP-UX 10.20 and later -Ae
2927 # HP-UX older versions -Aa -D_HPUX_SOURCE
2928 # SVR4 -Xc -D__EXTENSIONS__
2929 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2931 CC
="$ac_save_CC $ac_arg"
2932 rm -f conftest.
$ac_objext
2933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2934 (eval $ac_compile) 2>conftest.er1
2936 grep -v '^ *+' conftest.er1
>conftest.err
2938 cat conftest.err
>&5
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); } &&
2941 { ac_try
='test -z "$ac_c_werror_flag"
2942 || test ! -s conftest.err'
2943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }; } &&
2948 { ac_try
='test -s conftest.$ac_objext'
2949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953 (exit $ac_status); }; }; then
2954 ac_cv_prog_cc_stdc
=$ac_arg
2957 echo "$as_me: failed program was:" >&5
2958 sed 's/^/| /' conftest.
$ac_ext >&5
2961 rm -f conftest.err conftest.
$ac_objext
2963 rm -f conftest.
$ac_ext conftest.
$ac_objext
2968 case "x$ac_cv_prog_cc_stdc" in
2970 echo "$as_me:$LINENO: result: none needed" >&5
2971 echo "${ECHO_T}none needed" >&6 ;;
2973 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2974 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2975 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2978 # Some people use a C++ compiler to compile C. Since we use `exit',
2979 # in C++ we need to declare it. In case someone uses the same compiler
2980 # for both compiling C and C++ we need to have the C++ compiler decide
2981 # the declaration of exit, since it's the most demanding environment.
2982 cat >conftest.
$ac_ext <<_ACEOF
2987 rm -f conftest.
$ac_objext
2988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2989 (eval $ac_compile) 2>conftest.er1
2991 grep -v '^ *+' conftest.er1
>conftest.err
2993 cat conftest.err
>&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); } &&
2996 { ac_try
='test -z "$ac_c_werror_flag"
2997 || test ! -s conftest.err'
2998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); }; } &&
3003 { ac_try
='test -s conftest.$ac_objext'
3004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); }; }; then
3009 for ac_declaration
in \
3011 'extern "C" void std::exit (int) throw (); using std::exit;' \
3012 'extern "C" void std::exit (int); using std::exit;' \
3013 'extern "C" void exit (int) throw ();' \
3014 'extern "C" void exit (int);' \
3017 cat >conftest.
$ac_ext <<_ACEOF
3020 cat confdefs.h
>>conftest.
$ac_ext
3021 cat >>conftest.
$ac_ext <<_ACEOF
3022 /* end confdefs.h. */
3033 rm -f conftest.
$ac_objext
3034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3035 (eval $ac_compile) 2>conftest.er1
3037 grep -v '^ *+' conftest.er1
>conftest.err
3039 cat conftest.err
>&5
3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); } &&
3042 { ac_try
='test -z "$ac_c_werror_flag"
3043 || test ! -s conftest.err'
3044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3048 (exit $ac_status); }; } &&
3049 { ac_try
='test -s conftest.$ac_objext'
3050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); }; }; then
3057 echo "$as_me: failed program was:" >&5
3058 sed 's/^/| /' conftest.
$ac_ext >&5
3062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3063 cat >conftest.
$ac_ext <<_ACEOF
3066 cat confdefs.h
>>conftest.
$ac_ext
3067 cat >>conftest.
$ac_ext <<_ACEOF
3068 /* end confdefs.h. */
3078 rm -f conftest.
$ac_objext
3079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3080 (eval $ac_compile) 2>conftest.er1
3082 grep -v '^ *+' conftest.er1
>conftest.err
3084 cat conftest.err
>&5
3085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086 (exit $ac_status); } &&
3087 { ac_try
='test -z "$ac_c_werror_flag"
3088 || test ! -s conftest.err'
3089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); }; } &&
3094 { ac_try
='test -s conftest.$ac_objext'
3095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); }; }; then
3102 echo "$as_me: failed program was:" >&5
3103 sed 's/^/| /' conftest.
$ac_ext >&5
3106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3109 if test -n "$ac_declaration"; then
3110 echo '#ifdef __cplusplus' >>confdefs.h
3111 echo $ac_declaration >>confdefs.h
3112 echo '#endif' >>confdefs.h
3116 echo "$as_me: failed program was:" >&5
3117 sed 's/^/| /' conftest.
$ac_ext >&5
3120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3122 ac_cpp
='$CPP $CPPFLAGS'
3123 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3124 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3125 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3126 DEPDIR
="${am__leading_dot}deps"
3128 ac_config_commands
="$ac_config_commands depfiles"
3131 am_make
=${MAKE-make}
3132 cat > confinc
<< 'END'
3137 # If we don't find an include directive, just comment out the code.
3138 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3139 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3143 # First try GNU make style include.
3144 echo "include confinc" > confmf
3145 # We grep out `Entering directory' and `Leaving directory'
3146 # messages which can occur if `w' ends up in MAKEFLAGS.
3147 # In particular we don't look at `^make:' because GNU make might
3148 # be invoked under some other name (usually "gmake"), in which
3149 # case it prints its new name instead of `make'.
3150 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3155 # Now try BSD make style include.
3156 if test "$am__include" = "#"; then
3157 echo '.include "confinc"' > confmf
3158 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3159 am__include
=.include
3166 echo "$as_me:$LINENO: result: $_am_result" >&5
3167 echo "${ECHO_T}$_am_result" >&6
3168 rm -f confinc confmf
3170 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3171 if test "${enable_dependency_tracking+set}" = set; then
3172 enableval
="$enable_dependency_tracking"
3175 if test "x$enable_dependency_tracking" != xno
; then
3176 am_depcomp
="$ac_aux_dir/depcomp"
3181 if test "x$enable_dependency_tracking" != xno; then
3192 depcc
="$CC" am_compiler_list
=
3194 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3195 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3196 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3197 echo $ECHO_N "(cached) $ECHO_C" >&6
3199 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3200 # We make a subdir and do the tests there. Otherwise we can end up
3201 # making bogus files that we don't know about and never remove. For
3202 # instance it was reported that on HP-UX the gcc test will end up
3203 # making a dummy file named `D' -- because `-MD' means `put the output
3206 # Copy depcomp to subdir because otherwise we won't find it if we're
3207 # using a relative directory.
3208 cp "$am_depcomp" conftest.dir
3210 # We will build objects and dependencies in a subdirectory because
3211 # it helps to detect inapplicable dependency modes. For instance
3212 # both Tru64's cc and ICC support -MD to output dependencies as a
3213 # side effect of compilation, but ICC will put the dependencies in
3214 # the current directory while Tru64 will put them in the object
3218 am_cv_CC_dependencies_compiler_type
=none
3219 if test "$am_compiler_list" = ""; then
3220 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3222 for depmode
in $am_compiler_list; do
3223 # Setup a source with many dependencies, because some compilers
3224 # like to wrap large dependency lists on column 80 (with \), and
3225 # we should not choose a depcomp mode which is confused by this.
3227 # We need to recreate these files for each test, as the compiler may
3228 # overwrite some of them when testing with obscure command lines.
3229 # This happens at least with the AIX C compiler.
3231 for i
in 1 2 3 4 5 6; do
3232 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3233 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3234 # Solaris 8's {/usr,}/bin/sh.
3235 touch sub
/conftst
$i.h
3237 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3241 # after this tag, mechanisms are not by side-effect, so they'll
3242 # only be used when explicitly requested
3243 if test "x$enable_dependency_tracking" = xyes
; then
3251 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3252 # mode. It turns out that the SunPro C++ compiler does not properly
3253 # handle `-M -o', and we need to detect this.
3254 if depmode
=$depmode \
3255 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3256 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3257 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3258 >/dev
/null
2>conftest.err
&&
3259 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3260 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3261 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3262 # icc doesn't choke on unknown options, it will just issue warnings
3263 # or remarks (even with -Werror). So we grep stderr for any message
3264 # that says an option was ignored or not supported.
3265 # When given -MP, icc 7.0 and 7.1 complain thusly:
3266 # icc: Command line warning: ignoring option '-M'; no argument required
3267 # The diagnosis changed in icc 8.0:
3268 # icc: Command line remark: option '-MP' not supported
3269 if (grep 'ignoring option' conftest.err ||
3270 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3271 am_cv_CC_dependencies_compiler_type
=$depmode
3280 am_cv_CC_dependencies_compiler_type
=none
3284 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3285 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3286 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3291 test "x$enable_dependency_tracking" != xno \
3292 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3294 am__fastdepCC_FALSE
='#'
3296 am__fastdepCC_TRUE
='#'
3297 am__fastdepCC_FALSE
=
3305 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
3306 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
3307 # in both places for now and restore CFLAGS at the end of config.
3308 save_CFLAGS
="$CFLAGS"
3310 # Add -Wall -Werror if we are using GCC.
3311 if test "x$GCC" = "xyes"; then
3312 XCFLAGS
="$XCFLAGS -Wall -Werror"
3315 # Find other programs we need.
3316 if test -n "$ac_tool_prefix"; then
3317 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3318 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3319 echo "$as_me:$LINENO: checking for $ac_word" >&5
3320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3321 if test "${ac_cv_prog_AR+set}" = set; then
3322 echo $ECHO_N "(cached) $ECHO_C" >&6
3324 if test -n "$AR"; then
3325 ac_cv_prog_AR
="$AR" # Let the user override the test.
3327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3331 test -z "$as_dir" && as_dir
=.
3332 for ac_exec_ext
in '' $ac_executable_extensions; do
3333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3334 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3344 if test -n "$AR"; then
3345 echo "$as_me:$LINENO: result: $AR" >&5
3346 echo "${ECHO_T}$AR" >&6
3348 echo "$as_me:$LINENO: result: no" >&5
3349 echo "${ECHO_T}no" >&6
3353 if test -z "$ac_cv_prog_AR"; then
3355 # Extract the first word of "ar", so it can be a program name with args.
3356 set dummy
ar; ac_word
=$2
3357 echo "$as_me:$LINENO: checking for $ac_word" >&5
3358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3359 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3360 echo $ECHO_N "(cached) $ECHO_C" >&6
3362 if test -n "$ac_ct_AR"; then
3363 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3369 test -z "$as_dir" && as_dir
=.
3370 for ac_exec_ext
in '' $ac_executable_extensions; do
3371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3372 ac_cv_prog_ac_ct_AR
="ar"
3373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3381 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3382 if test -n "$ac_ct_AR"; then
3383 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3384 echo "${ECHO_T}$ac_ct_AR" >&6
3386 echo "$as_me:$LINENO: result: no" >&5
3387 echo "${ECHO_T}no" >&6
3395 if test -n "$ac_tool_prefix"; then
3396 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3397 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3398 echo "$as_me:$LINENO: checking for $ac_word" >&5
3399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3400 if test "${ac_cv_prog_RANLIB+set}" = set; then
3401 echo $ECHO_N "(cached) $ECHO_C" >&6
3403 if test -n "$RANLIB"; then
3404 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3410 test -z "$as_dir" && as_dir
=.
3411 for ac_exec_ext
in '' $ac_executable_extensions; do
3412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3413 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3422 RANLIB
=$ac_cv_prog_RANLIB
3423 if test -n "$RANLIB"; then
3424 echo "$as_me:$LINENO: result: $RANLIB" >&5
3425 echo "${ECHO_T}$RANLIB" >&6
3427 echo "$as_me:$LINENO: result: no" >&5
3428 echo "${ECHO_T}no" >&6
3432 if test -z "$ac_cv_prog_RANLIB"; then
3433 ac_ct_RANLIB
=$RANLIB
3434 # Extract the first word of "ranlib", so it can be a program name with args.
3435 set dummy ranlib
; ac_word
=$2
3436 echo "$as_me:$LINENO: checking for $ac_word" >&5
3437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3438 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3439 echo $ECHO_N "(cached) $ECHO_C" >&6
3441 if test -n "$ac_ct_RANLIB"; then
3442 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3448 test -z "$as_dir" && as_dir
=.
3449 for ac_exec_ext
in '' $ac_executable_extensions; do
3450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3451 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3458 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
="ranlib-not-found-in-path-error"
3461 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3462 if test -n "$ac_ct_RANLIB"; then
3463 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3464 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3466 echo "$as_me:$LINENO: result: no" >&5
3467 echo "${ECHO_T}no" >&6
3470 RANLIB
=$ac_ct_RANLIB
3472 RANLIB
="$ac_cv_prog_RANLIB"
3475 # Extract the first word of "perl", so it can be a program name with args.
3476 set dummy perl
; ac_word
=$2
3477 echo "$as_me:$LINENO: checking for $ac_word" >&5
3478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3479 if test "${ac_cv_path_PERL+set}" = set; then
3480 echo $ECHO_N "(cached) $ECHO_C" >&6
3484 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
3487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3491 test -z "$as_dir" && as_dir
=.
3492 for ac_exec_ext
in '' $ac_executable_extensions; do
3493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3494 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
3495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3501 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="perl-not-found-in-path-error"
3505 PERL
=$ac_cv_path_PERL
3507 if test -n "$PERL"; then
3508 echo "$as_me:$LINENO: result: $PERL" >&5
3509 echo "${ECHO_T}$PERL" >&6
3511 echo "$as_me:$LINENO: result: no" >&5
3512 echo "${ECHO_T}no" >&6
3515 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3516 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3517 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3518 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3519 echo $ECHO_N "(cached) $ECHO_C" >&6
3521 cat >conftest.
make <<\_ACEOF
3523 @
echo 'ac_maketemp="$(MAKE)"'
3525 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3526 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3527 if test -n "$ac_maketemp"; then
3528 eval ac_cv_prog_make_
${ac_make}_set
=yes
3530 eval ac_cv_prog_make_
${ac_make}_set
=no
3534 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3535 echo "$as_me:$LINENO: result: yes" >&5
3536 echo "${ECHO_T}yes" >&6
3539 echo "$as_me:$LINENO: result: no" >&5
3540 echo "${ECHO_T}no" >&6
3541 SET_MAKE
="MAKE=${MAKE-make}"
3544 # Find a good install program. We prefer a C program (faster),
3545 # so one script is as good as another. But avoid the broken or
3546 # incompatible versions:
3547 # SysV /etc/install, /usr/sbin/install
3548 # SunOS /usr/etc/install
3549 # IRIX /sbin/install
3551 # AmigaOS /C/install, which installs bootblocks on floppy discs
3552 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3553 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3554 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3555 # OS/2's system install, which has a completely different semantic
3556 # ./install, which can be erroneously created by make from ./install.sh.
3557 # Reject install programs that cannot install multiple files.
3558 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3559 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3560 if test -z "$INSTALL"; then
3561 if test "${ac_cv_path_install+set}" = set; then
3562 echo $ECHO_N "(cached) $ECHO_C" >&6
3564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3568 test -z "$as_dir" && as_dir
=.
3569 # Account for people who put trailing slashes in PATH elements.
3571 .
/ | .
// |
/cC
/* | \
3572 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3573 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3576 # OSF1 and SCO ODT 3.0 have their own names for install.
3577 # Don't use installbsd from OSF since it installs stuff as root
3579 for ac_prog
in ginstall scoinst
install; do
3580 for ac_exec_ext
in '' $ac_executable_extensions; do
3581 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3582 if test $ac_prog = install &&
3583 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3584 # AIX install. It has an incompatible calling convention.
3586 elif test $ac_prog = install &&
3587 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3588 # program-specific install script used by HP pwplus--don't use.
3591 rm -rf conftest.one conftest.two conftest.dir
3592 echo one
> conftest.one
3593 echo two
> conftest.two
3595 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3596 test -s conftest.one
&& test -s conftest.two
&&
3597 test -s conftest.dir
/conftest.one
&&
3598 test -s conftest.dir
/conftest.two
3600 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3611 rm -rf conftest.one conftest.two conftest.dir
3614 if test "${ac_cv_path_install+set}" = set; then
3615 INSTALL
=$ac_cv_path_install
3617 # As a last resort, use the slow shell script. Don't cache a
3618 # value for INSTALL within a source directory, because that will
3619 # break other packages using the cache if that directory is
3620 # removed, or if the value is a relative name.
3621 INSTALL
=$ac_install_sh
3624 echo "$as_me:$LINENO: result: $INSTALL" >&5
3625 echo "${ECHO_T}$INSTALL" >&6
3627 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3628 # It thinks the first close brace ends the variable substitution.
3629 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3631 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3633 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3636 # See if makeinfo has been installed and is modern enough
3637 # that we can use it.
3639 # Extract the first word of "makeinfo", so it can be a program name with args.
3640 set dummy makeinfo
; ac_word
=$2
3641 echo "$as_me:$LINENO: checking for $ac_word" >&5
3642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3643 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
3644 echo $ECHO_N "(cached) $ECHO_C" >&6
3646 if test -n "$MAKEINFO"; then
3647 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
3649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3653 test -z "$as_dir" && as_dir
=.
3654 for ac_exec_ext
in '' $ac_executable_extensions; do
3655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3656 ac_cv_prog_MAKEINFO
="makeinfo"
3657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3665 MAKEINFO
=$ac_cv_prog_MAKEINFO
3666 if test -n "$MAKEINFO"; then
3667 echo "$as_me:$LINENO: result: $MAKEINFO" >&5
3668 echo "${ECHO_T}$MAKEINFO" >&6
3670 echo "$as_me:$LINENO: result: no" >&5
3671 echo "${ECHO_T}no" >&6
3674 if test -n "$MAKEINFO"; then
3675 # Found it, now check the version.
3676 echo "$as_me:$LINENO: checking for modern makeinfo" >&5
3677 echo $ECHO_N "checking for modern makeinfo... $ECHO_C" >&6
3678 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then
3679 echo $ECHO_N "(cached) $ECHO_C" >&6
3681 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
3682 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
3684 case $ac_prog_version in
3685 '') gcc_cv_prog_makeinfo_modern
=no
;;
3686 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
3687 *) gcc_cv_prog_makeinfo_modern
=no
;;
3691 echo "$as_me:$LINENO: result: $gcc_cv_prog_makeinfo_modern" >&5
3692 echo "${ECHO_T}$gcc_cv_prog_makeinfo_modern" >&6
3694 gcc_cv_prog_makeinfo_modern
=no
3696 if test $gcc_cv_prog_makeinfo_modern = no
; then
3697 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
3702 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
3704 BUILD_INFO_FALSE
='#'
3715 macro_version
='2.1a'
3716 macro_revision
='1.2435'
3729 ltmain
="$ac_aux_dir/ltmain.sh"
3739 # Check whether --enable-shared or --disable-shared was given.
3740 if test "${enable_shared+set}" = set; then
3741 enableval
="$enable_shared"
3742 p
=${PACKAGE-default}
3744 yes) enable_shared
=yes ;;
3745 no
) enable_shared
=no
;;
3748 # Look at the argument we got. We use all the common list separators.
3749 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3750 for pkg
in $enableval; do
3752 if test "X$pkg" = "X$p"; then
3770 # Check whether --enable-static or --disable-static was given.
3771 if test "${enable_static+set}" = set; then
3772 enableval
="$enable_static"
3773 p
=${PACKAGE-default}
3775 yes) enable_static
=yes ;;
3776 no
) enable_static
=no
;;
3779 # Look at the argument we got. We use all the common list separators.
3780 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3781 for pkg
in $enableval; do
3783 if test "X$pkg" = "X$p"; then
3802 # Check whether --with-pic or --without-pic was given.
3803 if test "${with_pic+set}" = set; then
3810 test -z "$pic_mode" && pic_mode
=default
3818 # Check whether --enable-fast-install or --disable-fast-install was given.
3819 if test "${enable_fast_install+set}" = set; then
3820 enableval
="$enable_fast_install"
3821 p
=${PACKAGE-default}
3823 yes) enable_fast_install
=yes ;;
3824 no
) enable_fast_install
=no
;;
3826 enable_fast_install
=no
3827 # Look at the argument we got. We use all the common list separators.
3828 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3829 for pkg
in $enableval; do
3831 if test "X$pkg" = "X$p"; then
3832 enable_fast_install
=yes
3839 enable_fast_install
=yes
3849 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3850 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3851 if test "${lt_cv_path_SED+set}" = set; then
3852 echo $ECHO_N "(cached) $ECHO_C" >&6
3854 # Loop through the user's path and test for sed and gsed.
3855 # Then use that list of sed's as ones to test for truncation.
3856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3860 test -z "$as_dir" && as_dir
=.
3861 for lt_ac_prog
in sed gsed
; do
3862 for ac_exec_ext
in '' $ac_executable_extensions; do
3863 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3864 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3872 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3873 # along with /bin/sed that truncates output.
3874 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3875 test ! -f $lt_ac_sed && continue
3876 cat /dev
/null
> conftest.
in
3878 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3879 # Check for GNU sed and select it if it is found.
3880 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3881 lt_cv_path_SED
=$lt_ac_sed
3885 cat conftest.
in conftest.
in >conftest.tmp
3886 mv conftest.tmp conftest.
in
3887 cp conftest.
in conftest.
nl
3889 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3890 cmp -s conftest.out conftest.
nl ||
break
3891 # 10000 chars as input seems more than enough
3892 test $lt_ac_count -gt 10 && break
3893 lt_ac_count
=`expr $lt_ac_count + 1`
3894 if test $lt_ac_count -gt $lt_ac_max; then
3895 lt_ac_max
=$lt_ac_count
3896 lt_cv_path_SED
=$lt_ac_sed
3905 echo "$as_me:$LINENO: result: $SED" >&5
3906 echo "${ECHO_T}$SED" >&6
3908 test -z "$SED" && SED
=sed
3909 Xsed
="$SED -e 1s/^X//"
3921 echo "$as_me:$LINENO: checking for egrep" >&5
3922 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3923 if test "${ac_cv_prog_egrep+set}" = set; then
3924 echo $ECHO_N "(cached) $ECHO_C" >&6
3926 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3927 then ac_cv_prog_egrep
='grep -E'
3928 else ac_cv_prog_egrep
='egrep'
3931 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3932 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3933 EGREP
=$ac_cv_prog_egrep
3936 echo "$as_me:$LINENO: checking for fgrep" >&5
3937 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
3938 if test "${ac_cv_prog_fgrep+set}" = set; then
3939 echo $ECHO_N "(cached) $ECHO_C" >&6
3941 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
3942 then ac_cv_prog_fgrep
='grep -F'
3943 else ac_cv_prog_fgrep
='fgrep'
3946 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
3947 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
3948 FGREP
=$ac_cv_prog_fgrep
3951 test -z "$GREP" && GREP
=grep
3971 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3972 if test "${with_gnu_ld+set}" = set; then
3973 withval
="$with_gnu_ld"
3974 test "$withval" = no || with_gnu_ld
=yes
3979 if test "$GCC" = yes; then
3980 # Check if gcc -print-prog-name=ld gives a path.
3981 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3982 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3985 # gcc leaves a trailing carriage return which upsets mingw
3986 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3988 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3991 # Accept absolute paths.
3993 re_direlt
='/[^/][^/]*/\.\./'
3994 # Canonicalize the pathname of ld
3995 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3996 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
3997 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3999 test -z "$LD" && LD
="$ac_prog"
4002 # If it fails, then pretend we aren't using GCC.
4006 # If it is relative, then search for the first ld in PATH.
4010 elif test "$with_gnu_ld" = yes; then
4011 echo "$as_me:$LINENO: checking for GNU ld" >&5
4012 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4014 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4015 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4017 if test "${lt_cv_path_LD+set}" = set; then
4018 echo $ECHO_N "(cached) $ECHO_C" >&6
4020 if test -z "$LD"; then
4021 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4022 for ac_dir
in $PATH; do
4024 test -z "$ac_dir" && ac_dir
=.
4025 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4026 lt_cv_path_LD
="$ac_dir/$ac_prog"
4027 # Check to see if the program is GNU ld. I'd rather use --version,
4028 # but apparently some variants of GNU ld only accept -v.
4029 # Break only if it was the GNU/non-GNU ld that we prefer.
4030 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4031 *GNU
* |
*'with BFD'*)
4032 test "$with_gnu_ld" != no
&& break
4035 test "$with_gnu_ld" != yes && break
4042 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4047 if test -n "$LD"; then
4048 echo "$as_me:$LINENO: result: $LD" >&5
4049 echo "${ECHO_T}$LD" >&6
4051 echo "$as_me:$LINENO: result: no" >&5
4052 echo "${ECHO_T}no" >&6
4054 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4055 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4056 { (exit 1); exit 1; }; }
4057 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4058 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4059 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4060 echo $ECHO_N "(cached) $ECHO_C" >&6
4062 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4063 case `$LD -v 2>&1 </dev/null` in
4064 *GNU
* |
*'with BFD'*)
4065 lt_cv_prog_gnu_ld
=yes
4068 lt_cv_prog_gnu_ld
=no
4072 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4073 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4074 with_gnu_ld
=$lt_cv_prog_gnu_ld
4085 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4086 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4087 if test "${lt_cv_path_NM+set}" = set; then
4088 echo $ECHO_N "(cached) $ECHO_C" >&6
4090 if test -n "$NM"; then
4091 # Let the user override the test.
4094 lt_nm_to_check
="${ac_tool_prefix}nm"
4095 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4096 lt_nm_to_check
="$lt_nm_to_check nm"
4098 for lt_tmp_nm
in $lt_nm_to_check; do
4099 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4100 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4102 test -z "$ac_dir" && ac_dir
=.
4103 tmp_nm
="$ac_dir/$lt_tmp_nm"
4104 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4105 # Check to see if the nm accepts a BSD-compat flag.
4106 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4107 # nm: unknown option "B" ignored
4108 # Tru64's nm complains that /dev/null is an invalid object file
4109 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4110 */dev
/null
* |
*'Invalid file or object type'*)
4111 lt_cv_path_NM
="$tmp_nm -B"
4115 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4117 lt_cv_path_NM
="$tmp_nm -p"
4121 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4122 continue # so that we can try to find one that supports BSD flags
4131 : ${lt_cv_path_NM=no}
4134 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4135 echo "${ECHO_T}$lt_cv_path_NM" >&6
4136 if test "$lt_cv_path_NM" != "no"; then
4139 # Didn't find any BSD compatible name lister, look for dumpbin.
4140 if test -n "$ac_tool_prefix"; then
4141 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4143 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4144 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4145 echo "$as_me:$LINENO: checking for $ac_word" >&5
4146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4147 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4148 echo $ECHO_N "(cached) $ECHO_C" >&6
4150 if test -n "$DUMPBIN"; then
4151 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4157 test -z "$as_dir" && as_dir
=.
4158 for ac_exec_ext
in '' $ac_executable_extensions; do
4159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4160 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4169 DUMPBIN
=$ac_cv_prog_DUMPBIN
4170 if test -n "$DUMPBIN"; then
4171 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4172 echo "${ECHO_T}$DUMPBIN" >&6
4174 echo "$as_me:$LINENO: result: no" >&5
4175 echo "${ECHO_T}no" >&6
4178 test -n "$DUMPBIN" && break
4181 if test -z "$DUMPBIN"; then
4182 ac_ct_DUMPBIN
=$DUMPBIN
4183 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4185 # Extract the first word of "$ac_prog", so it can be a program name with args.
4186 set dummy
$ac_prog; ac_word
=$2
4187 echo "$as_me:$LINENO: checking for $ac_word" >&5
4188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4189 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4190 echo $ECHO_N "(cached) $ECHO_C" >&6
4192 if test -n "$ac_ct_DUMPBIN"; then
4193 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4199 test -z "$as_dir" && as_dir
=.
4200 for ac_exec_ext
in '' $ac_executable_extensions; do
4201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4202 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4211 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4212 if test -n "$ac_ct_DUMPBIN"; then
4213 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4214 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4216 echo "$as_me:$LINENO: result: no" >&5
4217 echo "${ECHO_T}no" >&6
4220 test -n "$ac_ct_DUMPBIN" && break
4222 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
4224 DUMPBIN
=$ac_ct_DUMPBIN
4228 if test "$DUMPBIN" != ":"; then
4232 test -z "$NM" && NM
=nm
4239 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4240 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4241 if test "${lt_cv_nm_interface+set}" = set; then
4242 echo $ECHO_N "(cached) $ECHO_C" >&6
4244 lt_cv_nm_interface
="BSD nm"
4245 echo "int some_variable = 0;" > conftest.
$ac_ext
4246 (eval echo "\"\$as_me:4246: $ac_compile\"" >&5)
4247 (eval "$ac_compile" 2>conftest.err
)
4248 cat conftest.err
>&5
4249 (eval echo "\"\$as_me:4249: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4250 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4251 cat conftest.err
>&5
4252 (eval echo "\"\$as_me:4252: output\"" >&5)
4253 cat conftest.out
>&5
4254 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4255 lt_cv_nm_interface
="MS dumpbin"
4259 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4260 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4262 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4263 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4265 if test "$LN_S" = "ln -s"; then
4266 echo "$as_me:$LINENO: result: yes" >&5
4267 echo "${ECHO_T}yes" >&6
4269 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4270 echo "${ECHO_T}no, using $LN_S" >&6
4273 # find the maximum length of command line arguments
4274 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4275 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4276 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4277 echo $ECHO_N "(cached) $ECHO_C" >&6
4284 # On DJGPP, this test can blow up pretty badly due to problems in libc
4285 # (any single argument exceeding 2000 bytes causes a buffer overrun
4286 # during glob expansion). Even if it were fixed, the result of this
4287 # check would be larger than it should be.
4288 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4292 # Under GNU Hurd, this test is not required because there is
4293 # no limit to the length of command line arguments.
4294 # Libtool will interpret -1 as no limit whatsoever
4295 lt_cv_sys_max_cmd_len
=-1;
4299 # On Win9x/ME, this test blows up -- it succeeds, but takes
4300 # about 5 minutes as the teststring grows exponentially.
4301 # Worse, since 9x/ME are not pre-emptively multitasking,
4302 # you end up with a "frozen" computer, even though with patience
4303 # the test eventually succeeds (with a max line length of 256k).
4304 # Instead, let's just punt: use the minimum linelength reported by
4305 # all of the supported platforms: 8192 (on NT/2K/XP).
4306 lt_cv_sys_max_cmd_len
=8192;
4310 # On AmigaOS with pdksh, this test takes hours, literally.
4311 # So we just punt and use a minimum line length of 8192.
4312 lt_cv_sys_max_cmd_len
=8192;
4315 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4316 # This has been around since 386BSD, at least. Likely further.
4317 if test -x /sbin
/sysctl
; then
4318 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4319 elif test -x /usr
/sbin
/sysctl
; then
4320 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4322 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4324 # And add a safety zone
4325 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4326 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4330 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4331 lt_cv_sys_max_cmd_len
=196608
4335 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4336 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4337 # nice to cause kernel panics so lets avoid the loop below.
4338 # First set a reasonable default.
4339 lt_cv_sys_max_cmd_len
=16384
4341 if test -x /sbin
/sysconfig
; then
4342 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4343 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4348 lt_cv_sys_max_cmd_len
=102400
4350 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4351 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4352 if test -n "$kargmax"; then
4353 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4355 lt_cv_sys_max_cmd_len
=32768
4359 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
4360 if test -n $lt_cv_sys_max_cmd_len; then
4361 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4362 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4364 # Make teststring a little bigger before we do anything with it.
4365 # a 1K string should be a reasonable start.
4366 for i
in 1 2 3 4 5 6 7 8 ; do
4367 teststring
=$teststring$teststring
4369 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4370 # If test is not a shell built-in, we'll probably end up computing a
4371 # maximum length that is only half of the actual maximum length, but
4373 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4374 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4375 test $i != 17 # 1/2 MB should be enough
4378 teststring
=$teststring$teststring
4380 # Only check the string length outside the loop.
4381 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4383 # Add a significant safety factor because C++ compilers can tack on
4384 # massive amounts of additional arguments before passing them to the
4385 # linker. It appears as though 1/2 is a usable value.
4386 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4393 if test -n $lt_cv_sys_max_cmd_len ; then
4394 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4395 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4397 echo "$as_me:$LINENO: result: none" >&5
4398 echo "${ECHO_T}none" >&6
4400 max_cmd_len
=$lt_cv_sys_max_cmd_len
4412 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4413 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4414 # Try some XSI features
4417 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4418 = c,a/b,, ) >/dev/null 2>&1 \
4420 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4421 echo "${ECHO_T}$xsi_shell" >&6
4424 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4425 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
4427 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4429 && lt_shell_append=yes
4430 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4431 echo "${ECHO_T}$lt_shell_append" >&6
4434 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4444 # test EBCDIC or ASCII
4445 case `echo X|tr X '\101'` in
4446 A) # ASCII based system
4447 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4448 lt_SP2NL='tr \040 \012'
4449 lt_NL2SP='tr \015\012 \040\040'
4451 *) # EBCDIC based system
4452 lt_SP2NL='tr \100 \n'
4453 lt_NL2SP='tr \r\n \100\100'
4465 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4466 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
4467 if test "${lt_cv_ld_reload_flag+set}" = set; then
4468 echo $ECHO_N "(cached
) $ECHO_C" >&6
4470 lt_cv_ld_reload_flag='-r'
4472 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4473 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4474 reload_flag=$lt_cv_ld_reload_flag
4475 case $reload_flag in
4477 *) reload_flag=" $reload_flag" ;;
4479 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4482 if test "$GCC" = yes; then
4483 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4485 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4499 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4500 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4501 if test "${lt_cv_deplibs_check_method+set}" = set; then
4502 echo $ECHO_N "(cached
) $ECHO_C" >&6
4504 lt_cv_file_magic_cmd='$MAGIC_CMD'
4505 lt_cv_file_magic_test_file=
4506 lt_cv_deplibs_check_method='unknown'
4507 # Need to set the preceding variable on all platforms that support
4508 # interlibrary dependencies.
4509 # 'none' -- dependencies not supported.
4510 # `unknown' -- same as none, but documents that we really don't know.
4511 # 'pass_all' -- all dependencies passed with no checks.
4512 # 'test_compile' -- check by making test program.
4513 # 'file_magic [[regex]]' -- check by looking for files in library path
4514 # which responds to the $file_magic_cmd with a given extended regex.
4515 # If you have `file' or equivalent on your system and you're not sure
4516 # whether `pass_all' will *always* work, you probably want this one.
4520 lt_cv_deplibs_check_method=pass_all
4524 lt_cv_deplibs_check_method=pass_all
4528 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4529 lt_cv_file_magic_cmd='/usr/bin/file -L'
4530 lt_cv_file_magic_test_file=/shlib/libc.so
4534 # func_win32_libid is a shell function defined in ltmain.sh
4535 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4536 lt_cv_file_magic_cmd='func_win32_libid'
4540 # Base MSYS/MinGW do not provide the 'file' command needed by
4541 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4542 # unless we find 'file', for example because we are cross-compiling.
4543 if ( file / ) >/dev/null 2>&1; then
4544 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4545 lt_cv_file_magic_cmd='func_win32_libid'
4547 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4548 lt_cv_file_magic_cmd='$OBJDUMP -f'
4552 darwin* | rhapsody*)
4553 lt_cv_deplibs_check_method=pass_all
4556 freebsd* | dragonfly*)
4557 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4560 # Not sure whether the presence of OpenBSD here was a mistake.
4561 # Let's accept both of them until this is cleared up.
4562 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4563 lt_cv_file_magic_cmd=/usr/bin/file
4564 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4568 lt_cv_deplibs_check_method=pass_all
4573 lt_cv_deplibs_check_method=pass_all
4576 hpux10.20* | hpux11*)
4577 lt_cv_file_magic_cmd=/usr/bin/file
4580 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4581 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4584 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]'
4585 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4588 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4589 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4595 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4596 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4599 irix5* | irix6* | nonstopux*)
4601 *-32|*"-32 ") libmagic=32-bit;;
4602 *-n32|*"-n32 ") libmagic=N32;;
4603 *-64|*"-64 ") libmagic=64-bit;;
4604 *) libmagic=never-match;;
4606 lt_cv_deplibs_check_method=pass_all
4609 # This must be Linux ELF.
4610 linux* | k*bsd*-gnu)
4611 lt_cv_deplibs_check_method=pass_all
4615 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4616 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4618 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4623 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4624 lt_cv_file_magic_cmd=/usr/bin/file
4625 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4629 lt_cv_deplibs_check_method=pass_all
4633 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4634 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4636 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4640 osf3* | osf4* | osf5*)
4641 lt_cv_deplibs_check_method=pass_all
4645 lt_cv_deplibs_check_method=pass_all
4649 lt_cv_deplibs_check_method=pass_all
4652 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4653 lt_cv_deplibs_check_method=pass_all
4657 case $host_vendor in
4659 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]'
4660 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4663 lt_cv_deplibs_check_method=pass_all
4666 lt_cv_file_magic_cmd='/bin/file'
4667 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4670 lt_cv_file_magic_cmd='/bin/file'
4671 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4672 lt_cv_file_magic_test_file=/lib/libc.so
4675 lt_cv_deplibs_check_method=pass_all
4678 lt_cv_deplibs_check_method=pass_all
4684 lt_cv_deplibs_check_method=pass_all
4689 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4690 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4691 file_magic_cmd=$lt_cv_file_magic_cmd
4692 deplibs_check_method=$lt_cv_deplibs_check_method
4693 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4706 if test -n "$ac_tool_prefix"; then
4707 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4708 set dummy ${ac_tool_prefix}ar; ac_word=$2
4709 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4710 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4711 if test "${ac_cv_prog_AR+set}" = set; then
4712 echo $ECHO_N "(cached
) $ECHO_C" >&6
4714 if test -n "$AR"; then
4715 ac_cv_prog_AR="$AR" # Let the user override the test.
4717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4721 test -z "$as_dir" && as_dir=.
4722 for ac_exec_ext in '' $ac_executable_extensions; do
4723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4724 ac_cv_prog_AR="${ac_tool_prefix}ar"
4725 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4734 if test -n "$AR"; then
4735 echo "$as_me:$LINENO: result
: $AR" >&5
4736 echo "${ECHO_T}$AR" >&6
4738 echo "$as_me:$LINENO: result
: no
" >&5
4739 echo "${ECHO_T}no
" >&6
4743 if test -z "$ac_cv_prog_AR"; then
4745 # Extract the first word of "ar", so it can be a program name with args.
4746 set dummy ar; ac_word=$2
4747 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4748 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4749 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4750 echo $ECHO_N "(cached
) $ECHO_C" >&6
4752 if test -n "$ac_ct_AR"; then
4753 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4759 test -z "$as_dir" && as_dir=.
4760 for ac_exec_ext in '' $ac_executable_extensions; do
4761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4762 ac_cv_prog_ac_ct_AR="ar"
4763 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4769 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
4772 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4773 if test -n "$ac_ct_AR"; then
4774 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
4775 echo "${ECHO_T}$ac_ct_AR" >&6
4777 echo "$as_me:$LINENO: result
: no
" >&5
4778 echo "${ECHO_T}no
" >&6
4786 test -z "$AR" && AR=ar
4787 test -z "$AR_FLAGS" && AR_FLAGS=cru
4799 if test -n "$ac_tool_prefix"; then
4800 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
4801 set dummy ${ac_tool_prefix}strip; ac_word=$2
4802 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4803 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4804 if test "${ac_cv_prog_STRIP+set}" = set; then
4805 echo $ECHO_N "(cached
) $ECHO_C" >&6
4807 if test -n "$STRIP"; then
4808 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4814 test -z "$as_dir" && as_dir=.
4815 for ac_exec_ext in '' $ac_executable_extensions; do
4816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4817 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
4818 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4826 STRIP=$ac_cv_prog_STRIP
4827 if test -n "$STRIP"; then
4828 echo "$as_me:$LINENO: result
: $STRIP" >&5
4829 echo "${ECHO_T}$STRIP" >&6
4831 echo "$as_me:$LINENO: result
: no
" >&5
4832 echo "${ECHO_T}no
" >&6
4836 if test -z "$ac_cv_prog_STRIP"; then
4838 # Extract the first word of "strip
", so it can be a program name with args.
4839 set dummy strip; ac_word=$2
4840 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4841 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4842 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4843 echo $ECHO_N "(cached
) $ECHO_C" >&6
4845 if test -n "$ac_ct_STRIP"; then
4846 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4852 test -z "$as_dir" && as_dir=.
4853 for ac_exec_ext in '' $ac_executable_extensions; do
4854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4855 ac_cv_prog_ac_ct_STRIP="strip
"
4856 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4862 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4865 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4866 if test -n "$ac_ct_STRIP"; then
4867 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
4868 echo "${ECHO_T}$ac_ct_STRIP" >&6
4870 echo "$as_me:$LINENO: result
: no
" >&5
4871 echo "${ECHO_T}no
" >&6
4876 STRIP="$ac_cv_prog_STRIP"
4879 test -z "$STRIP" && STRIP=:
4886 if test -n "$ac_tool_prefix"; then
4887 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
4888 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4889 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4890 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4891 if test "${ac_cv_prog_RANLIB+set}" = set; then
4892 echo $ECHO_N "(cached
) $ECHO_C" >&6
4894 if test -n "$RANLIB"; then
4895 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4901 test -z "$as_dir" && as_dir=.
4902 for ac_exec_ext in '' $ac_executable_extensions; do
4903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4904 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
4905 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4913 RANLIB=$ac_cv_prog_RANLIB
4914 if test -n "$RANLIB"; then
4915 echo "$as_me:$LINENO: result
: $RANLIB" >&5
4916 echo "${ECHO_T}$RANLIB" >&6
4918 echo "$as_me:$LINENO: result
: no
" >&5
4919 echo "${ECHO_T}no
" >&6
4923 if test -z "$ac_cv_prog_RANLIB"; then
4924 ac_ct_RANLIB=$RANLIB
4925 # Extract the first word of "ranlib
", so it can be a program name with args.
4926 set dummy ranlib; ac_word=$2
4927 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4928 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4929 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4930 echo $ECHO_N "(cached
) $ECHO_C" >&6
4932 if test -n "$ac_ct_RANLIB"; then
4933 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4939 test -z "$as_dir" && as_dir=.
4940 for ac_exec_ext in '' $ac_executable_extensions; do
4941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4942 ac_cv_prog_ac_ct_RANLIB="ranlib
"
4943 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4949 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4952 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4953 if test -n "$ac_ct_RANLIB"; then
4954 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
4955 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4957 echo "$as_me:$LINENO: result
: no
" >&5
4958 echo "${ECHO_T}no
" >&6
4961 RANLIB=$ac_ct_RANLIB
4963 RANLIB="$ac_cv_prog_RANLIB"
4966 test -z "$RANLIB" && RANLIB=:
4973 # Determine commands to create old-style static archives.
4974 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
4975 old_postinstall_cmds='chmod 644 $oldlib'
4976 old_postuninstall_cmds=
4978 if test -n "$RANLIB"; then
4981 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
4984 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
4987 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5023 # If no C compiler was specified, use CC.
5026 # If no C compiler flags were specified, use CFLAGS.
5027 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5029 # Allow CC to be a program name with arguments.
5033 # Check for command to grab the raw symbol name followed by C symbol from nm.
5034 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5035 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
5036 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5037 echo $ECHO_N "(cached
) $ECHO_C" >&6
5040 # These are sane defaults that work on at least a few old systems.
5041 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5043 # Character class describing NM global symbol codes.
5044 symcode='[BCDEGRST]'
5046 # Regexp to match symbols that can be accessed directly from C.
5047 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5049 # Define system-specific variables.
5054 cygwin* | mingw* | pw32*)
5055 symcode='[ABCDGISTW]'
5058 if test "$host_cpu" = ia64; then
5059 symcode='[ABCDEGRST]'
5063 symcode='[BCDEGRST]'
5066 symcode='[BCDEGQRST]'
5077 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5085 # If we're using GNU nm, then use its standard symbol codes.
5086 case `$NM -V 2>&1` in
5087 *GNU* | *'with BFD'*)
5088 symcode='[ABCDGIRSTW]' ;;
5091 # Transform an extracted symbol line into a proper C declaration.
5092 # Some systems (esp. on ia64) link data and code symbols differently,
5093 # so use this general approach.
5094 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5096 # Transform an extracted symbol line into symbol name and symbol address
5097 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5099 # Handle CRLF in mingw tool chain
5103 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5107 # Try without a prefix underscore, then with it.
5108 for ac_symprfx in "" "_
"; do
5110 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5111 symxfrm="\\1 $ac_symprfx\\2 \\2"
5113 # Write the raw and C identifiers.
5114 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5115 # Fake it for dumpbin and say T for any non-static function
5116 # and D for any global variable.
5117 # Also find C++ and __fastcall symbols from MSVC++,
5118 # which start with @ or ?.
5119 lt_cv_sys_global_symbol_pipe="$AWK '"\
5120 " {last_section=section; section=\$ 3};"\
5121 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5122 " \$ 0!~/External *\|/{next};"\
5123 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5124 " {if(hide[section]) next};"\
5125 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5126 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5127 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5128 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5129 " ' prfx
=^
$ac_symprfx"
5131 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5134 # Check to see that the pipe works correctly.
5138 cat > conftest.$ac_ext <<_LT_EOF
5143 void nm_test_func(void);
5144 void nm_test_func(void){}
5148 int main(){nm_test_var='a';nm_test_func();return(0);}
5151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5152 (eval $ac_compile) 2>&5
5154 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5155 (exit $ac_status); }; then
5156 # Now try to grab the symbols.
5158 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5159 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5161 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5162 (exit $ac_status); } && test -s "$nlist"; then
5163 # Try sorting and uniquifying the output.
5164 if sort "$nlist" | uniq > "$nlist"T; then
5165 mv -f "$nlist"T "$nlist"
5170 # Make sure that we snagged all the symbols we need.
5171 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5172 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5173 cat <<_LT_EOF > conftest.$ac_ext
5179 # Now generate the symbol file.
5180 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5182 cat <<_LT_EOF >> conftest.$ac_ext
5184 /* The mapping between symbol names and symbols. */
5189 lt__PROGRAM__LTX_preloaded_symbols[] =
5191 { "@PROGRAM@
", (void *) 0 },
5193 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5194 cat <<\_LT_EOF >> conftest.$ac_ext
5198 /* This works around a problem in FreeBSD linker */
5199 #ifdef FREEBSD_WORKAROUND
5200 static const void *lt_preloaded_setup() {
5201 return lt__PROGRAM__LTX_preloaded_symbols;
5209 # Now try linking the two files.
5210 mv conftest.$ac_objext conftstm.$ac_objext
5211 lt_save_LIBS="$LIBS"
5212 lt_save_CFLAGS="$CFLAGS"
5213 LIBS="conftstm.
$ac_objext"
5214 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5216 (eval $ac_link) 2>&5
5218 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5219 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5222 LIBS="$lt_save_LIBS"
5223 CFLAGS="$lt_save_CFLAGS"
5225 echo "cannot
find nm_test_func
in $nlist" >&5
5228 echo "cannot
find nm_test_var
in $nlist" >&5
5231 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5234 echo "$progname: failed program was
:" >&5
5235 cat conftest.$ac_ext >&5
5237 rm -f conftest* conftst*
5239 # Do not use the global_symbol_pipe unless it works.
5240 if test "$pipe_works" = yes; then
5243 lt_cv_sys_global_symbol_pipe=
5249 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5250 lt_cv_sys_global_symbol_to_cdecl=
5252 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5253 echo "$as_me:$LINENO: result
: failed
" >&5
5254 echo "${ECHO_T}failed
" >&6
5256 echo "$as_me:$LINENO: result
: ok
" >&5
5257 echo "${ECHO_T}ok
" >&6
5277 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5278 if test "${enable_libtool_lock+set}" = set; then
5279 enableval="$enable_libtool_lock"
5282 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5284 # Some flags need to be propagated to the compiler or linker for good
5288 # Find out which ABI we are using.
5289 echo 'int i;' > conftest.$ac_ext
5290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5291 (eval $ac_compile) 2>&5
5293 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5294 (exit $ac_status); }; then
5295 case `/usr/bin/file conftest.$ac_objext` in
5307 # Find out which ABI we are using.
5308 echo '#line 5308 "configure
"' > conftest.$ac_ext
5309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5310 (eval $ac_compile) 2>&5
5312 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5313 (exit $ac_status); }; then
5314 if test "$lt_cv_prog_gnu_ld" = yes; then
5315 case `/usr/bin/file conftest.$ac_objext` in
5317 LD="${LD-ld} -melf32bsmip"
5320 LD="${LD-ld} -melf32bmipn32"
5323 LD="${LD-ld} -melf64bmip"
5327 case `/usr/bin/file conftest.$ac_objext` in
5343 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5344 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5345 # Find out which ABI we are using.
5346 echo 'int i;' > conftest.$ac_ext
5347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5348 (eval $ac_compile) 2>&5
5350 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5351 (exit $ac_status); }; then
5352 case `/usr/bin/file conftest.o` in
5355 x86_64-*kfreebsd*-gnu)
5356 LD="${LD-ld} -m elf_i386_fbsd
"
5359 LD="${LD-ld} -m elf_i386
"
5361 ppc64-*linux*|powerpc64-*linux*)
5362 LD="${LD-ld} -m elf32ppclinux
"
5365 LD="${LD-ld} -m elf_s390
"
5368 LD="${LD-ld} -m elf32_sparc
"
5374 x86_64-*kfreebsd*-gnu)
5375 LD="${LD-ld} -m elf_x86_64_fbsd
"
5378 LD="${LD-ld} -m elf_x86_64
"
5380 ppc*-*linux*|powerpc*-*linux*)
5381 LD="${LD-ld} -m elf64ppc
"
5383 s390*-*linux*|s390*-*tpf*)
5384 LD="${LD-ld} -m elf64_s390
"
5387 LD="${LD-ld} -m elf64_sparc
"
5397 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5398 SAVE_CFLAGS="$CFLAGS"
5399 CFLAGS="$CFLAGS -belf"
5400 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5401 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
5402 if test "${lt_cv_cc_needs_belf+set}" = set; then
5403 echo $ECHO_N "(cached
) $ECHO_C" >&6
5406 ac_cpp='$CPP $CPPFLAGS'
5407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5411 cat >conftest.$ac_ext <<_ACEOF
5414 cat confdefs.h >>conftest.$ac_ext
5415 cat >>conftest.$ac_ext <<_ACEOF
5416 /* end confdefs.h. */
5426 rm -f conftest.$ac_objext conftest$ac_exeext
5427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5428 (eval $ac_link) 2>conftest.er1
5430 grep -v '^ *+' conftest.er1 >conftest.err
5432 cat conftest.err >&5
5433 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5434 (exit $ac_status); } &&
5435 { ac_try='test -z "$ac_c_werror_flag"
5436 || test ! -s conftest.err'
5437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5440 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5441 (exit $ac_status); }; } &&
5442 { ac_try='test -s conftest$ac_exeext'
5443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5446 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5447 (exit $ac_status); }; }; then
5448 lt_cv_cc_needs_belf=yes
5450 echo "$as_me: failed program was
:" >&5
5451 sed 's/^/| /' conftest.$ac_ext >&5
5453 lt_cv_cc_needs_belf=no
5455 rm -f conftest.err conftest.$ac_objext \
5456 conftest$ac_exeext conftest.$ac_ext
5458 ac_cpp='$CPP $CPPFLAGS'
5459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5464 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5465 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5466 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5467 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5468 CFLAGS="$SAVE_CFLAGS"
5472 # Find out which ABI we are using.
5473 echo 'int i;' > conftest.$ac_ext
5474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5475 (eval $ac_compile) 2>&5
5477 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5478 (exit $ac_status); }; then
5479 case `/usr/bin/file conftest.o` in
5481 case $lt_cv_prog_gnu_ld in
5482 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5483 *) LD="${LD-ld} -64" ;;
5492 need_locks="$enable_libtool_lock"
5495 ac_cpp='$CPP $CPPFLAGS'
5496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5499 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5500 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
5501 # On Suns, sometimes $CPP names a directory.
5502 if test -n "$CPP" && test -d "$CPP"; then
5505 if test -z "$CPP"; then
5506 if test "${ac_cv_prog_CPP+set}" = set; then
5507 echo $ECHO_N "(cached
) $ECHO_C" >&6
5509 # Double quotes because CPP needs to be expanded
5510 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5513 for ac_c_preproc_warn_flag in '' yes
5515 # Use a header file that comes with gcc, so configuring glibc
5516 # with a fresh cross-compiler works.
5517 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5518 # <limits.h> exists even on freestanding compilers.
5519 # On the NeXT, cc -E runs the code through the compiler's parser,
5520 # not just through cpp. "Syntax error
" is here to catch this case.
5521 cat >conftest.$ac_ext <<_ACEOF
5524 cat confdefs.h >>conftest.$ac_ext
5525 cat >>conftest.$ac_ext <<_ACEOF
5526 /* end confdefs.h. */
5528 # include <limits.h>
5530 # include <assert.h>
5534 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5535 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5537 grep -v '^ *+' conftest.er1 >conftest.err
5539 cat conftest.err >&5
5540 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5541 (exit $ac_status); } >/dev/null; then
5542 if test -s conftest.err; then
5543 ac_cpp_err=$ac_c_preproc_warn_flag
5544 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5551 if test -z "$ac_cpp_err"; then
5554 echo "$as_me: failed program was
:" >&5
5555 sed 's/^/| /' conftest.$ac_ext >&5
5557 # Broken: fails on valid input.
5560 rm -f conftest.err conftest.$ac_ext
5562 # OK, works on sane cases. Now check whether non-existent headers
5563 # can be detected and how.
5564 cat >conftest.$ac_ext <<_ACEOF
5567 cat confdefs.h >>conftest.$ac_ext
5568 cat >>conftest.$ac_ext <<_ACEOF
5569 /* end confdefs.h. */
5570 #include <ac_nonexistent.h>
5572 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5573 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5575 grep -v '^ *+' conftest.er1 >conftest.err
5577 cat conftest.err >&5
5578 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5579 (exit $ac_status); } >/dev/null; then
5580 if test -s conftest.err; then
5581 ac_cpp_err=$ac_c_preproc_warn_flag
5582 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5589 if test -z "$ac_cpp_err"; then
5590 # Broken: success on invalid input.
5593 echo "$as_me: failed program was
:" >&5
5594 sed 's/^/| /' conftest.$ac_ext >&5
5596 # Passes both tests.
5600 rm -f conftest.err conftest.$ac_ext
5603 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5604 rm -f conftest.err conftest.$ac_ext
5605 if $ac_preproc_ok; then
5617 echo "$as_me:$LINENO: result
: $CPP" >&5
5618 echo "${ECHO_T}$CPP" >&6
5620 for ac_c_preproc_warn_flag in '' yes
5622 # Use a header file that comes with gcc, so configuring glibc
5623 # with a fresh cross-compiler works.
5624 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5625 # <limits.h> exists even on freestanding compilers.
5626 # On the NeXT, cc -E runs the code through the compiler's parser,
5627 # not just through cpp. "Syntax error
" is here to catch this case.
5628 cat >conftest.$ac_ext <<_ACEOF
5631 cat confdefs.h >>conftest.$ac_ext
5632 cat >>conftest.$ac_ext <<_ACEOF
5633 /* end confdefs.h. */
5635 # include <limits.h>
5637 # include <assert.h>
5641 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5642 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5644 grep -v '^ *+' conftest.er1 >conftest.err
5646 cat conftest.err >&5
5647 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5648 (exit $ac_status); } >/dev/null; then
5649 if test -s conftest.err; then
5650 ac_cpp_err=$ac_c_preproc_warn_flag
5651 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5658 if test -z "$ac_cpp_err"; then
5661 echo "$as_me: failed program was
:" >&5
5662 sed 's/^/| /' conftest.$ac_ext >&5
5664 # Broken: fails on valid input.
5667 rm -f conftest.err conftest.$ac_ext
5669 # OK, works on sane cases. Now check whether non-existent headers
5670 # can be detected and how.
5671 cat >conftest.$ac_ext <<_ACEOF
5674 cat confdefs.h >>conftest.$ac_ext
5675 cat >>conftest.$ac_ext <<_ACEOF
5676 /* end confdefs.h. */
5677 #include <ac_nonexistent.h>
5679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5680 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5682 grep -v '^ *+' conftest.er1 >conftest.err
5684 cat conftest.err >&5
5685 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5686 (exit $ac_status); } >/dev/null; then
5687 if test -s conftest.err; then
5688 ac_cpp_err=$ac_c_preproc_warn_flag
5689 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5696 if test -z "$ac_cpp_err"; then
5697 # Broken: success on invalid input.
5700 echo "$as_me: failed program was
:" >&5
5701 sed 's/^/| /' conftest.$ac_ext >&5
5703 # Passes both tests.
5707 rm -f conftest.err conftest.$ac_ext
5710 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5711 rm -f conftest.err conftest.$ac_ext
5712 if $ac_preproc_ok; then
5715 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
5716 See \
`config.log' for more details." >&5
5717 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5718 See \`config.log
' for more details." >&2;}
5719 { (exit 1); exit 1; }; }
5723 ac_cpp='$CPP $CPPFLAGS'
5724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5725 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5729 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5730 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5731 if test "${ac_cv_header_stdc+set}" = set; then
5732 echo $ECHO_N "(cached) $ECHO_C" >&6
5734 cat >conftest.$ac_ext <<_ACEOF
5737 cat confdefs.h >>conftest.$ac_ext
5738 cat >>conftest.$ac_ext <<_ACEOF
5739 /* end confdefs.h. */
5753 rm -f conftest.$ac_objext
5754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5755 (eval $ac_compile) 2>conftest.er1
5757 grep -v '^
*+' conftest.er1 >conftest.err
5759 cat conftest.err >&5
5760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5761 (exit $ac_status); } &&
5762 { ac_try='test -z "$ac_c_werror_flag"
5763 ||
test ! -s conftest.err
'
5764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); }; } &&
5769 { ac_try='test -s conftest.
$ac_objext'
5770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); }; }; then
5775 ac_cv_header_stdc=yes
5777 echo "$as_me: failed program was:" >&5
5778 sed 's
/^
/|
/' conftest.$ac_ext >&5
5780 ac_cv_header_stdc=no
5782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5784 if test $ac_cv_header_stdc = yes; then
5785 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5786 cat >conftest.$ac_ext <<_ACEOF
5789 cat confdefs.h >>conftest.$ac_ext
5790 cat >>conftest.$ac_ext <<_ACEOF
5791 /* end confdefs.h. */
5795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5796 $EGREP "memchr" >/dev/null 2>&1; then
5799 ac_cv_header_stdc=no
5805 if test $ac_cv_header_stdc = yes; then
5806 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5807 cat >conftest.$ac_ext <<_ACEOF
5810 cat confdefs.h >>conftest.$ac_ext
5811 cat >>conftest.$ac_ext <<_ACEOF
5812 /* end confdefs.h. */
5816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5817 $EGREP "free" >/dev/null 2>&1; then
5820 ac_cv_header_stdc=no
5826 if test $ac_cv_header_stdc = yes; then
5827 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5828 if test "$cross_compiling" = yes; then
5831 cat >conftest.$ac_ext <<_ACEOF
5834 cat confdefs.h >>conftest.$ac_ext
5835 cat >>conftest.$ac_ext <<_ACEOF
5836 /* end confdefs.h. */
5838 #if ((' ' & 0x0FF) == 0x020)
5839 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
5840 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
5842 # define ISLOWER(c) \
5843 (('a
' <= (c) && (c) <= 'i
') \
5844 || ('j
' <= (c) && (c) <= 'r
') \
5845 || ('s
' <= (c) && (c) <= 'z
'))
5846 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5849 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5854 for (i = 0; i < 256; i++)
5855 if (XOR (islower (i), ISLOWER (i))
5856 || toupper (i) != TOUPPER (i))
5861 rm -f conftest$ac_exeext
5862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5863 (eval $ac_link) 2>&5
5865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
5867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; }; then
5874 echo "$as_me: program exited with status $ac_status" >&5
5875 echo "$as_me: failed program was:" >&5
5876 sed 's
/^
/|
/' conftest.$ac_ext >&5
5879 ac_cv_header_stdc=no
5881 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5885 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5886 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5887 if test $ac_cv_header_stdc = yes; then
5889 cat >>confdefs.h <<\_ACEOF
5890 #define STDC_HEADERS 1
5895 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5905 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5906 inttypes.h stdint.h unistd.h
5908 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5909 echo "$as_me:$LINENO: checking for $ac_header" >&5
5910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5912 echo $ECHO_N "(cached) $ECHO_C" >&6
5914 cat >conftest.$ac_ext <<_ACEOF
5917 cat confdefs.h >>conftest.$ac_ext
5918 cat >>conftest.$ac_ext <<_ACEOF
5919 /* end confdefs.h. */
5920 $ac_includes_default
5922 #include <$ac_header>
5924 rm -f conftest.$ac_objext
5925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5926 (eval $ac_compile) 2>conftest.er1
5928 grep -v '^
*+' conftest.er1 >conftest.err
5930 cat conftest.err >&5
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); } &&
5933 { ac_try='test -z "$ac_c_werror_flag"
5934 ||
test ! -s conftest.err
'
5935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5939 (exit $ac_status); }; } &&
5940 { ac_try='test -s conftest.
$ac_objext'
5941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5945 (exit $ac_status); }; }; then
5946 eval "$as_ac_Header=yes"
5948 echo "$as_me: failed program was:" >&5
5949 sed 's
/^
/|
/' conftest.$ac_ext >&5
5951 eval "$as_ac_Header=no"
5953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5957 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5958 cat >>confdefs.h <<_ACEOF
5959 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5968 for ac_header in dlfcn.h
5970 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5971 echo "$as_me:$LINENO: checking for $ac_header" >&5
5972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5974 echo $ECHO_N "(cached) $ECHO_C" >&6
5976 cat >conftest.$ac_ext <<_ACEOF
5979 cat confdefs.h >>conftest.$ac_ext
5980 cat >>conftest.$ac_ext <<_ACEOF
5981 /* end confdefs.h. */
5982 $ac_includes_default
5984 #include <$ac_header>
5986 rm -f conftest.$ac_objext
5987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5988 (eval $ac_compile) 2>conftest.er1
5990 grep -v '^
*+' conftest.er1 >conftest.err
5992 cat conftest.err >&5
5993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5994 (exit $ac_status); } &&
5995 { ac_try='test -z "$ac_c_werror_flag"
5996 ||
test ! -s conftest.err
'
5997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6001 (exit $ac_status); }; } &&
6002 { ac_try='test -s conftest.
$ac_objext'
6003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007 (exit $ac_status); }; }; then
6008 eval "$as_ac_Header=yes"
6010 echo "$as_me: failed program was:" >&5
6011 sed 's
/^
/|
/' conftest.$ac_ext >&5
6013 eval "$as_ac_Header=no"
6015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6018 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6019 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6020 cat >>confdefs.h <<_ACEOF
6021 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6030 # This can be used to rebuild libtool when needed
6031 LIBTOOL_DEPS="$ltmain"
6033 # Always use our own libtool.
6034 LIBTOOL='$
(SHELL
) $
(top_builddir
)/libtool
'
6060 test -z "$LN_S" && LN_S="ln -s"
6075 if test -n "${ZSH_VERSION+set}" ; then
6076 setopt NO_GLOB_SUBST
6079 echo "$as_me:$LINENO: checking for objdir" >&5
6080 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6081 if test "${lt_cv_objdir+set}" = set; then
6082 echo $ECHO_N "(cached) $ECHO_C" >&6
6084 rm -f .libs 2>/dev/null
6085 mkdir .libs 2>/dev/null
6086 if test -d .libs; then
6089 # MS-DOS does not allow filenames that begin with a dot.
6092 rmdir .libs 2>/dev/null
6094 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6095 echo "${ECHO_T}$lt_cv_objdir" >&6
6096 objdir=$lt_cv_objdir
6102 cat >>confdefs.h <<_ACEOF
6103 #define LT_OBJDIR "$lt_cv_objdir/"
6124 # AIX sometimes has problems with the GCC collect2 program. For some
6125 # reason, if we set the COLLECT_NAMES environment variable, the problems
6126 # vanish in a puff of smoke.
6127 if test "X${COLLECT_NAMES+set}" != Xset; then
6129 export COLLECT_NAMES
6134 # Sed substitution that helps us do robust quoting. It backslashifies
6135 # metacharacters that are still active within double-quoted strings.
6136 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
6138 # Same as above, but do not quote variable references.
6139 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6141 # Sed substitution to delay expansion of an escaped shell variable in a
6142 # double_quote_subst'ed string.
6143 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6145 # Sed substitution to delay expansion of an escaped single quote.
6146 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6148 # Sed substitution to avoid accidental globbing in evaled expressions
6149 no_glob_subst='s/\*/\\\*/g'
6153 can_build_shared=yes
6155 # All known linkers require a `.a
' archive for static linking (except MSVC,
6156 # which needs '.lib
').
6159 with_gnu_ld="$lt_cv_prog_gnu_ld"
6162 old_CFLAGS="$CFLAGS"
6164 # Set sane defaults for various variables
6165 test -z "$CC" && CC=cc
6166 test -z "$LTCC" && LTCC=$CC
6167 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6168 test -z "$LD" && LD=ld
6169 test -z "$ac_objext" && ac_objext=o
6171 for cc_temp in $compiler""; do
6173 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6174 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6179 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
6182 # Only perform the check for file, if the check method requires it
6183 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6184 case $deplibs_check_method in
6186 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6187 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6188 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6189 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6190 echo $ECHO_N "(cached) $ECHO_C" >&6
6194 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6197 lt_save_MAGIC_CMD="$MAGIC_CMD"
6198 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6199 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6200 for ac_dir in $ac_dummy; do
6202 test -z "$ac_dir" && ac_dir=.
6203 if test -f $ac_dir/${ac_tool_prefix}file; then
6204 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6205 if test -n "$file_magic_test_file"; then
6206 case $deplibs_check_method in
6208 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6209 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6210 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6211 $EGREP "$file_magic_regex" > /dev/null; then
6216 *** Warning: the command libtool uses to detect shared libraries,
6217 *** $file_magic_cmd, produces output that libtool cannot recognize.
6218 *** The result is that libtool may fail to recognize shared libraries
6219 *** as such. This will affect the creation of libtool libraries that
6220 *** depend on shared libraries, but programs linked with such libtool
6221 *** libraries will work regardless of this problem. Nevertheless, you
6222 *** may want to report the problem to your system manager and/or to
6223 *** bug-libtool@gnu.org
6233 MAGIC_CMD="$lt_save_MAGIC_CMD"
6238 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6239 if test -n "$MAGIC_CMD"; then
6240 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6241 echo "${ECHO_T}$MAGIC_CMD" >&6
6243 echo "$as_me:$LINENO: result: no" >&5
6244 echo "${ECHO_T}no" >&6
6251 if test -z "$lt_cv_path_MAGIC_CMD"; then
6252 if test -n "$ac_tool_prefix"; then
6253 echo "$as_me:$LINENO: checking for file" >&5
6254 echo $ECHO_N "checking for file... $ECHO_C" >&6
6255 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6256 echo $ECHO_N "(cached) $ECHO_C" >&6
6260 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6263 lt_save_MAGIC_CMD="$MAGIC_CMD"
6264 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6265 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6266 for ac_dir in $ac_dummy; do
6268 test -z "$ac_dir" && ac_dir=.
6269 if test -f $ac_dir/file; then
6270 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6271 if test -n "$file_magic_test_file"; then
6272 case $deplibs_check_method in
6274 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6275 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6276 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6277 $EGREP "$file_magic_regex" > /dev/null; then
6282 *** Warning: the command libtool uses to detect shared libraries,
6283 *** $file_magic_cmd, produces output that libtool cannot recognize.
6284 *** The result is that libtool may fail to recognize shared libraries
6285 *** as such. This will affect the creation of libtool libraries that
6286 *** depend on shared libraries, but programs linked with such libtool
6287 *** libraries will work regardless of this problem. Nevertheless, you
6288 *** may want to report the problem to your system manager and/or to
6289 *** bug-libtool@gnu.org
6299 MAGIC_CMD="$lt_save_MAGIC_CMD"
6304 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6305 if test -n "$MAGIC_CMD"; then
6306 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6307 echo "${ECHO_T}$MAGIC_CMD" >&6
6309 echo "$as_me:$LINENO: result: no" >&5
6310 echo "${ECHO_T}no" >&6
6323 # Use C for the default configuration in the libtool script
6327 ac_cpp='$CPP $CPPFLAGS'
6328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6329 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6333 # Source file extension for C test sources.
6336 # Object file extension for compiled C test sources.
6340 # Code to be used in simple compile tests
6341 lt_simple_compile_test_code="int some_variable = 0;"
6343 # Code to be used in simple link tests
6344 lt_simple_link_test_code='int main
(){return(0);}'
6352 # If no C compiler was specified, use CC.
6355 # If no C compiler flags were specified, use CFLAGS.
6356 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6358 # Allow CC to be a program name with arguments.
6361 # Save the default compiler, since it gets overwritten when the other
6362 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6363 compiler_DEFAULT=$CC
6365 # save warnings/boilerplate of simple test code
6366 ac_outfile=conftest.$ac_objext
6367 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6368 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6369 _lt_compiler_boilerplate=`cat conftest.err`
6372 ac_outfile=conftest.$ac_objext
6373 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6374 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6375 _lt_linker_boilerplate=`cat conftest.err`
6380 ## There is no encapsulation within the following macros, do not change
6381 ## the running order or otherwise move them around unless you know exactly
6382 ## what you are doing...
6383 if test -n "$compiler"; then
6385 lt_prog_compiler_no_builtin_flag=
6387 if test "$GCC" = yes; then
6388 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6390 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6391 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6392 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6393 echo $ECHO_N "(cached) $ECHO_C" >&6
6395 lt_cv_prog_compiler_rtti_exceptions=no
6396 ac_outfile=conftest.$ac_objext
6397 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6398 lt_compiler_flag="-fno-rtti -fno-exceptions"
6399 # Insert the option either (1) after the last *FLAGS variable, or
6400 # (2) before a word containing "conftest.", or (3) at the end.
6401 # Note that $ac_compile itself does not contain backslashes and begins
6402 # with a dollar sign (not a hyphen), so the echo should work correctly.
6403 # The option is referenced via a variable to avoid confusing sed.
6404 lt_compile=`echo "$ac_compile" | $SED \
6405 -e 's
:.
*FLAGS
}\
{0,1\
} :&$lt_compiler_flag :; t
' \
6406 -e 's
: [^
]*conftest\.
: $lt_compiler_flag&:; t
' \
6407 -e 's
:$
: $lt_compiler_flag:'`
6408 (eval echo "\"\$as_me:6408: $lt_compile\"" >&5)
6409 (eval "$lt_compile" 2>conftest.err)
6411 cat conftest.err >&5
6412 echo "$as_me:6412: \$? = $ac_status" >&5
6413 if (exit $ac_status) && test -s "$ac_outfile"; then
6414 # The compiler can only warn and ignore the option if not recognized
6415 # So say no if there are warnings other than the usual output.
6416 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$
/d
' >conftest.exp
6417 $SED '/^$
/d
; /^
*+/d
' conftest.err >conftest.er2
6418 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6419 lt_cv_prog_compiler_rtti_exceptions=yes
6425 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6426 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6428 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6429 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6441 lt_prog_compiler_wl=
6442 lt_prog_compiler_pic=
6443 lt_prog_compiler_static=
6445 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6446 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6448 if test "$GCC" = yes; then
6449 lt_prog_compiler_wl='-Wl,'
6450 lt_prog_compiler_static='-static'
6454 # All AIX code is PIC.
6455 if test "$host_cpu" = ia64; then
6456 # AIX 5 now supports IA64 processor
6457 lt_prog_compiler_static='-Bstatic'
6462 if test "$host_cpu" = m68k; then
6463 # FIXME: we need at least 68020 code to build shared libraries, but
6464 # adding the `-m68020' flag to GCC prevents building anything better
,
6466 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6470 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6471 # PIC is the default for these OSes.
6474 mingw
* | cygwin
* | pw32
* | os2
*)
6475 # This hack is so that the source file can tell whether it is being
6476 # built for inclusion in a dll (and should export symbols for example).
6477 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6478 # (--disable-auto-import) libraries
6479 lt_prog_compiler_pic
='-DDLL_EXPORT'
6482 darwin
* | rhapsody
*)
6483 # PIC is the default on this platform
6484 # Common symbols not allowed in MH_DYLIB files
6485 lt_prog_compiler_pic
='-fno-common'
6489 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6496 lt_prog_compiler_pic
='-fPIC'
6502 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6503 # Instead, we relocate shared libraries at runtime.
6507 # Just because we use GCC doesn't mean we suddenly get shared libraries
6508 # on systems that don't support them.
6509 lt_prog_compiler_can_build_shared
=no
6514 # QNX uses GNU C++, but need to define -shared option too, otherwise
6516 lt_prog_compiler_pic
='-fPIC -shared'
6520 if test -d /usr
/nec
; then
6521 lt_prog_compiler_pic
=-Kconform_pic
6526 lt_prog_compiler_pic
='-fPIC'
6530 # PORTME Check for flag to pass linker flags through the system compiler.
6533 lt_prog_compiler_wl
='-Wl,'
6534 if test "$host_cpu" = ia64
; then
6535 # AIX 5 now supports IA64 processor
6536 lt_prog_compiler_static
='-Bstatic'
6538 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6542 # PIC is the default on this platform
6543 # Common symbols not allowed in MH_DYLIB files
6544 case $cc_basename in
6546 lt_prog_compiler_pic
='-qnocommon'
6547 lt_prog_compiler_wl
='-Wl,'
6552 mingw
* | cygwin
* | pw32
* | os2
*)
6553 # This hack is so that the source file can tell whether it is being
6554 # built for inclusion in a dll (and should export symbols for example).
6555 lt_prog_compiler_pic
='-DDLL_EXPORT'
6558 hpux9
* | hpux10
* | hpux11
*)
6559 lt_prog_compiler_wl
='-Wl,'
6560 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6567 lt_prog_compiler_pic
='+Z'
6570 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6571 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6574 irix5
* | irix6
* | nonstopux
*)
6575 lt_prog_compiler_wl
='-Wl,'
6576 # PIC (with -KPIC) is the default.
6577 lt_prog_compiler_static
='-non_shared'
6580 linux
* | k
*bsd
*-gnu)
6581 case $cc_basename in
6583 lt_prog_compiler_wl
='-Wl,'
6584 lt_prog_compiler_pic
='-KPIC'
6585 lt_prog_compiler_static
='-static'
6587 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6588 # Portland Group compilers (*not* the Pentium gcc compiler,
6589 # which looks to be a dead project)
6590 lt_prog_compiler_wl
='-Wl,'
6591 lt_prog_compiler_pic
='-fpic'
6592 lt_prog_compiler_static
='-Bstatic'
6595 lt_prog_compiler_wl
='-Wl,'
6596 # All Alpha code is PIC.
6597 lt_prog_compiler_static
='-non_shared'
6600 case `$CC -V 2>&1 | sed 5q` in
6603 lt_prog_compiler_pic
='-KPIC'
6604 lt_prog_compiler_static
='-Bstatic'
6605 lt_prog_compiler_wl
='-Wl,'
6608 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6609 lt_prog_compiler_pic
='-KPIC'
6610 lt_prog_compiler_static
='-Bstatic'
6611 lt_prog_compiler_wl
=''
6619 lt_prog_compiler_pic
='-KPIC'
6620 lt_prog_compiler_static
='-Bstatic'
6624 # QNX uses GNU C++, but need to define -shared option too, otherwise
6626 lt_prog_compiler_pic
='-fPIC -shared'
6629 osf3
* | osf4
* | osf5
*)
6630 lt_prog_compiler_wl
='-Wl,'
6631 # All OSF/1 code is PIC.
6632 lt_prog_compiler_static
='-non_shared'
6636 lt_prog_compiler_static
='-non_shared'
6640 lt_prog_compiler_pic
='-KPIC'
6641 lt_prog_compiler_static
='-Bstatic'
6642 case $cc_basename in
6644 lt_prog_compiler_wl
='-Qoption ld ';;
6646 lt_prog_compiler_wl
='-Wl,';;
6651 lt_prog_compiler_wl
='-Qoption ld '
6652 lt_prog_compiler_pic
='-PIC'
6653 lt_prog_compiler_static
='-Bstatic'
6656 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6657 lt_prog_compiler_wl
='-Wl,'
6658 lt_prog_compiler_pic
='-KPIC'
6659 lt_prog_compiler_static
='-Bstatic'
6663 if test -d /usr
/nec
;then
6664 lt_prog_compiler_pic
='-Kconform_pic'
6665 lt_prog_compiler_static
='-Bstatic'
6669 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6670 lt_prog_compiler_wl
='-Wl,'
6671 lt_prog_compiler_pic
='-KPIC'
6672 lt_prog_compiler_static
='-Bstatic'
6676 lt_prog_compiler_wl
='-Wl,'
6677 lt_prog_compiler_can_build_shared
=no
6681 lt_prog_compiler_pic
='-pic'
6682 lt_prog_compiler_static
='-Bstatic'
6686 lt_prog_compiler_can_build_shared
=no
6692 # For platforms which do not support PIC, -DPIC is meaningless:
6694 lt_prog_compiler_pic
=
6697 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6700 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6701 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6709 # Check to make sure the PIC flag actually works.
6711 if test -n "$lt_prog_compiler_pic"; then
6712 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6713 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6714 if test "${lt_prog_compiler_pic_works+set}" = set; then
6715 echo $ECHO_N "(cached) $ECHO_C" >&6
6717 lt_prog_compiler_pic_works
=no
6718 ac_outfile
=conftest.
$ac_objext
6719 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6720 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6721 # Insert the option either (1) after the last *FLAGS variable, or
6722 # (2) before a word containing "conftest.", or (3) at the end.
6723 # Note that $ac_compile itself does not contain backslashes and begins
6724 # with a dollar sign (not a hyphen), so the echo should work correctly.
6725 # The option is referenced via a variable to avoid confusing sed.
6726 lt_compile
=`echo "$ac_compile" | $SED \
6727 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6728 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6729 -e 's:$: $lt_compiler_flag:'`
6730 (eval echo "\"\$as_me:6730: $lt_compile\"" >&5)
6731 (eval "$lt_compile" 2>conftest.err
)
6733 cat conftest.err
>&5
6734 echo "$as_me:6734: \$? = $ac_status" >&5
6735 if (exit $ac_status) && test -s "$ac_outfile"; then
6736 # The compiler can only warn and ignore the option if not recognized
6737 # So say no if there are warnings other than the usual output.
6738 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6739 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6740 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6741 lt_prog_compiler_pic_works
=yes
6747 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6748 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6750 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6751 case $lt_prog_compiler_pic in
6753 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6756 lt_prog_compiler_pic
=
6757 lt_prog_compiler_can_build_shared
=no
6768 # Check to make sure the static flag actually works.
6770 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
6771 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6772 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6773 if test "${lt_prog_compiler_static_works+set}" = set; then
6774 echo $ECHO_N "(cached) $ECHO_C" >&6
6776 lt_prog_compiler_static_works
=no
6777 save_LDFLAGS
="$LDFLAGS"
6778 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
6779 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
6780 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6781 # The linker can only warn and ignore the option if not recognized
6782 # So say no if there are warnings
6783 if test -s conftest.err
; then
6784 # Append any errors to the config.log.
6785 cat conftest.err
1>&5
6786 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
6787 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6788 if diff conftest.exp conftest.er2
>/dev
/null
; then
6789 lt_prog_compiler_static_works
=yes
6792 lt_prog_compiler_static_works
=yes
6796 LDFLAGS
="$save_LDFLAGS"
6799 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6800 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6802 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6805 lt_prog_compiler_static
=
6814 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6815 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6816 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6817 echo $ECHO_N "(cached) $ECHO_C" >&6
6819 lt_cv_prog_compiler_c_o
=no
6820 $RM -r conftest
2>/dev
/null
6824 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6826 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6827 # Insert the option either (1) after the last *FLAGS variable, or
6828 # (2) before a word containing "conftest.", or (3) at the end.
6829 # Note that $ac_compile itself does not contain backslashes and begins
6830 # with a dollar sign (not a hyphen), so the echo should work correctly.
6831 lt_compile
=`echo "$ac_compile" | $SED \
6832 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6833 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6834 -e 's:$: $lt_compiler_flag:'`
6835 (eval echo "\"\$as_me:6835: $lt_compile\"" >&5)
6836 (eval "$lt_compile" 2>out
/conftest.err
)
6838 cat out
/conftest.err
>&5
6839 echo "$as_me:6839: \$? = $ac_status" >&5
6840 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6842 # The compiler can only warn and ignore the option if not recognized
6843 # So say no if there are warnings
6844 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6845 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6846 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6847 lt_cv_prog_compiler_c_o
=yes
6852 # SGI C++ compiler will create directory out/ii_files/ for
6853 # template instantiation
6854 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
6855 $RM out
/* && rmdir out
6861 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6862 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6869 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6870 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6871 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6872 echo $ECHO_N "(cached) $ECHO_C" >&6
6874 lt_cv_prog_compiler_c_o
=no
6875 $RM -r conftest
2>/dev
/null
6879 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6881 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6882 # Insert the option either (1) after the last *FLAGS variable, or
6883 # (2) before a word containing "conftest.", or (3) at the end.
6884 # Note that $ac_compile itself does not contain backslashes and begins
6885 # with a dollar sign (not a hyphen), so the echo should work correctly.
6886 lt_compile
=`echo "$ac_compile" | $SED \
6887 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6888 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6889 -e 's:$: $lt_compiler_flag:'`
6890 (eval echo "\"\$as_me:6890: $lt_compile\"" >&5)
6891 (eval "$lt_compile" 2>out
/conftest.err
)
6893 cat out
/conftest.err
>&5
6894 echo "$as_me:6894: \$? = $ac_status" >&5
6895 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6897 # The compiler can only warn and ignore the option if not recognized
6898 # So say no if there are warnings
6899 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6900 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6901 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6902 lt_cv_prog_compiler_c_o
=yes
6907 # SGI C++ compiler will create directory out/ii_files/ for
6908 # template instantiation
6909 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
6910 $RM out
/* && rmdir out
6916 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6917 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6922 hard_links
="nottested"
6923 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6924 # do not overwrite the value of need_locks provided by the user
6925 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6926 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6929 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6931 ln conftest.a conftest.b
2>&5 || hard_links
=no
6932 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6933 echo "$as_me:$LINENO: result: $hard_links" >&5
6934 echo "${ECHO_T}$hard_links" >&6
6935 if test "$hard_links" = no
; then
6936 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6937 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6949 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6950 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6953 allow_undefined_flag
=
6954 always_export_symbols
=no
6956 archive_expsym_cmds
=
6957 compiler_needs_object
=no
6958 enable_shared_with_static_runtimes
=no
6959 export_dynamic_flag_spec
=
6960 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6961 hardcode_automatic
=no
6963 hardcode_direct_absolute
=no
6964 hardcode_libdir_flag_spec
=
6965 hardcode_libdir_flag_spec_ld
=
6966 hardcode_libdir_separator
=
6968 hardcode_shlibpath_var
=unsupported
6970 link_all_deplibs
=unknown
6973 old_archive_from_new_cmds
=
6974 old_archive_from_expsyms_cmds
=
6975 thread_safe_flag_spec
=
6976 whole_archive_flag_spec
=
6977 # include_expsyms should be a list of space-separated symbols to be *always*
6978 # included in the symbol list
6980 # exclude_expsyms can be an extended regexp of symbols to exclude
6981 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6982 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6983 # as well as any symbol that contains `d'.
6984 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6985 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6986 # platforms (ab)use it in PIC code, but their linkers get confused if
6987 # the symbol is explicitly referenced. Since portable code cannot
6988 # rely on this symbol name, it's probably fine to never include it in
6989 # preloaded symbol tables.
6990 extract_expsyms_cmds
=
6993 cygwin
* | mingw
* | pw32
*)
6994 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6995 # When not using gcc, we currently assume that we are using
6996 # Microsoft Visual C++.
6997 if test "$GCC" != yes; then
7002 # we just hope/assume this is gcc and not c89 (= MSVC++)
7011 if test "$with_gnu_ld" = yes; then
7012 # If archive_cmds runs LD, not CC, wlarc should be empty
7015 # Set some defaults for GNU ld with shared library support. These
7016 # are reset later if shared libraries are not supported. Putting them
7017 # here allows them to be overridden if necessary.
7018 runpath_var
=LD_RUN_PATH
7019 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7020 export_dynamic_flag_spec
='${wl}--export-dynamic'
7021 # ancient GNU ld didn't support --whole-archive et. al.
7022 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7023 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7025 whole_archive_flag_spec
=
7027 supports_anon_versioning
=no
7028 case `$LD -v 2>&1` in
7029 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7030 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7031 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7032 *\
2.11.
*) ;; # other 2.11 versions
7033 *) supports_anon_versioning
=yes ;;
7036 # See if GNU ld supports shared libraries.
7039 # On AIX/PPC, the GNU linker is very broken
7040 if test "$host_cpu" != ia64
; then
7044 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7045 *** to be unable to reliably create shared libraries on AIX.
7046 *** Therefore, libtool is disabling shared libraries support. If you
7047 *** really care for shared libraries, you may want to modify your PATH
7048 *** so that a non-GNU linker is found, and then restart.
7055 if test "$host_cpu" = m68k
; then
7056 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)'
7057 hardcode_libdir_flag_spec
='-L$libdir'
7058 hardcode_minus_L
=yes
7061 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7062 # that the semantics of dynamic libraries on AmigaOS, at least up
7063 # to version 4, is to share data among multiple programs linked
7064 # with the same dynamic library. Since this doesn't match the
7065 # behavior of shared libraries on other platforms, we can't use
7071 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7072 allow_undefined_flag
=unsupported
7073 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7074 # support --undefined. This deserves some investigation. FIXME
7075 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7081 cygwin
* | mingw
* | pw32
*)
7082 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7083 # as there is no search path for DLLs.
7084 hardcode_libdir_flag_spec
='-L$libdir'
7085 allow_undefined_flag
=unsupported
7086 always_export_symbols
=no
7087 enable_shared_with_static_runtimes
=yes
7088 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7090 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7091 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7092 # If the export-symbols file already is a .def file (1st line
7093 # is EXPORTS), use it as is; otherwise, prepend...
7094 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7095 cp $export_symbols $output_objdir/$soname.def;
7097 echo EXPORTS > $output_objdir/$soname.def;
7098 cat $export_symbols >> $output_objdir/$soname.def;
7100 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7108 hardcode_shlibpath_var
=no
7109 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7110 export_dynamic_flag_spec
='${wl}-E'
7111 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7112 # Instead, shared libraries are loaded at an image base (0x10000000 by
7113 # default) and relocated if they conflict, which is a slow very memory
7114 # consuming and fragmenting process. To avoid this, we pick a random,
7115 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7116 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7117 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7118 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'
7121 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7123 if test "$host_os" = linux-dietlibc
; then
7124 case $cc_basename in
7125 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7128 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7129 && test "$tmp_diet" = no
7132 case $cc_basename,$host_cpu in
7133 pgcc
*) # Portland Group C compiler
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'
7137 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7138 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'
7139 tmp_addflag
=' $pic_flag -Mnomain' ;;
7140 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7141 tmp_addflag
=' -i_dynamic' ;;
7142 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7143 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7144 ifc
* | ifort
*) # Intel Fortran compiler
7145 tmp_addflag
=' -nofor_main' ;;
7147 case `$CC -V 2>&1 | sed 5q` in
7148 *Sun\ C
*) # Sun C 5.9
7149 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'
7150 compiler_needs_object
=yes
7151 tmp_sharedflag
='-G' ;;
7152 *Sun\ F
*) # Sun Fortran 8.3
7153 tmp_sharedflag
='-G' ;;
7155 tmp_sharedflag
='-shared' ;;
7157 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7159 if test "x$supports_anon_versioning" = xyes
; then
7160 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7161 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7162 echo "local: *; };" >> $output_objdir/$libname.ver~
7163 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7171 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7172 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7175 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7176 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7181 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7185 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7186 *** create shared libraries on Solaris systems. Therefore, libtool
7187 *** is disabling shared libraries support. We urge you to upgrade GNU
7188 *** binutils to release 2.9.1 or newer. Another option is to modify
7189 *** your PATH or compiler configuration so that the native linker is
7190 *** used, and then restart.
7193 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7194 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7195 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7201 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7202 case `$LD -v 2>&1` in
7203 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7207 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7208 *** reliably create shared libraries on SCO systems. Therefore, libtool
7209 *** is disabling shared libraries support. We urge you to upgrade GNU
7210 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7211 *** your PATH or compiler configuration so that the native linker is
7212 *** used, and then restart.
7217 # For security reasons, it is highly recommended that you always
7218 # use absolute paths for naming shared libraries, and exclude the
7219 # DT_RUNPATH tag from executables and libraries. But doing so
7220 # requires that you compile everything twice, which is a pain.
7221 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7222 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7223 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7224 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7233 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7236 hardcode_shlibpath_var
=no
7240 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7241 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7242 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7249 if test "$ld_shlibs" = no
; then
7251 hardcode_libdir_flag_spec
=
7252 export_dynamic_flag_spec
=
7253 whole_archive_flag_spec
=
7256 # PORTME fill in a description of your system's linker (not GNU ld)
7259 allow_undefined_flag
=unsupported
7260 always_export_symbols
=yes
7261 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'
7262 # Note: this linker hardcodes the directories in LIBPATH if there
7263 # are no directories specified by -L.
7264 hardcode_minus_L
=yes
7265 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7266 # Neither direct hardcoding nor static linking is supported with a
7268 hardcode_direct
=unsupported
7273 if test "$host_cpu" = ia64
; then
7274 # On IA64, the linker does run time linking by default, so we don't
7275 # have to do anything special.
7276 aix_use_runtimelinking
=no
7277 exp_sym_flag
='-Bexport'
7280 # If we're using GNU nm, then we don't want the "-C" option.
7281 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7282 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7283 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'
7285 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'
7287 aix_use_runtimelinking
=no
7289 # Test if we are trying to use run time linking or normal
7290 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7291 # need to do runtime linking.
7292 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7293 for ld_flag
in $LDFLAGS; do
7294 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7295 aix_use_runtimelinking
=yes
7302 exp_sym_flag
='-bexport'
7303 no_entry_flag
='-bnoentry'
7306 # When large executables or shared objects are built, AIX ld can
7307 # have problems creating the table of contents. If linking a library
7308 # or program results in "error TOC overflow" add -mminimal-toc to
7309 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7310 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7314 hardcode_direct_absolute
=yes
7315 hardcode_libdir_separator
=':'
7316 link_all_deplibs
=yes
7317 file_list_spec
='${wl}-f,'
7319 if test "$GCC" = yes; then
7320 case $host_os in aix4.
[012]|aix4.
[012].
*)
7321 # We only want to do this on AIX 4.2 and lower, the check
7322 # below for broken collect2 doesn't work under 4.3+
7323 collect2name
=`${CC} -print-prog-name=collect2`
7324 if test -f "$collect2name" &&
7325 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7327 # We have reworked collect2
7330 # We have old collect2
7331 hardcode_direct
=unsupported
7332 # It fails to find uninstalled libraries when the uninstalled
7333 # path is not listed in the libpath. Setting hardcode_minus_L
7334 # to unsupported forces relinking
7335 hardcode_minus_L
=yes
7336 hardcode_libdir_flag_spec
='-L$libdir'
7337 hardcode_libdir_separator
=
7341 shared_flag
='-shared'
7342 if test "$aix_use_runtimelinking" = yes; then
7343 shared_flag
="$shared_flag "'${wl}-G'
7347 if test "$host_cpu" = ia64
; then
7348 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7349 # chokes on -Wl,-G. The following line is correct:
7352 if test "$aix_use_runtimelinking" = yes; then
7353 shared_flag
='${wl}-G'
7355 shared_flag
='${wl}-bM:SRE'
7360 # It seems that -bexpall does not export symbols beginning with
7361 # underscore (_), so it is better to generate a list of symbols to export.
7362 always_export_symbols
=yes
7363 if test "$aix_use_runtimelinking" = yes; then
7364 # Warning - without using the other runtime loading flags (-brtl),
7365 # -berok will link without error, but may produce a broken library.
7366 allow_undefined_flag
='-berok'
7367 # Determine the default libpath from the value encoded in an
7369 cat >conftest.
$ac_ext <<_ACEOF
7372 cat confdefs.h
>>conftest.
$ac_ext
7373 cat >>conftest.
$ac_ext <<_ACEOF
7374 /* end confdefs.h. */
7384 rm -f conftest.
$ac_objext conftest
$ac_exeext
7385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7386 (eval $ac_link) 2>conftest.er1
7388 grep -v '^ *+' conftest.er1
>conftest.err
7390 cat conftest.err
>&5
7391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7392 (exit $ac_status); } &&
7393 { ac_try
='test -z "$ac_c_werror_flag"
7394 || test ! -s conftest.err'
7395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7399 (exit $ac_status); }; } &&
7400 { ac_try
='test -s conftest$ac_exeext'
7401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405 (exit $ac_status); }; }; then
7407 lt_aix_libpath_sed
='
7408 /Import File Strings/,/^$/ {
7414 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7415 # Check for a 64-bit object if we didn't find anything.
7416 if test -z "$aix_libpath"; then
7417 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7420 echo "$as_me: failed program was:" >&5
7421 sed 's/^/| /' conftest.
$ac_ext >&5
7424 rm -f conftest.err conftest.
$ac_objext \
7425 conftest
$ac_exeext conftest.
$ac_ext
7426 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7428 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7429 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"
7431 if test "$host_cpu" = ia64
; then
7432 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7433 allow_undefined_flag
="-z nodefs"
7434 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"
7436 # Determine the default libpath from the value encoded in an
7438 cat >conftest.
$ac_ext <<_ACEOF
7441 cat confdefs.h
>>conftest.
$ac_ext
7442 cat >>conftest.
$ac_ext <<_ACEOF
7443 /* end confdefs.h. */
7453 rm -f conftest.
$ac_objext conftest
$ac_exeext
7454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7455 (eval $ac_link) 2>conftest.er1
7457 grep -v '^ *+' conftest.er1
>conftest.err
7459 cat conftest.err
>&5
7460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7461 (exit $ac_status); } &&
7462 { ac_try
='test -z "$ac_c_werror_flag"
7463 || test ! -s conftest.err'
7464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7468 (exit $ac_status); }; } &&
7469 { ac_try
='test -s conftest$ac_exeext'
7470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7474 (exit $ac_status); }; }; then
7476 lt_aix_libpath_sed
='
7477 /Import File Strings/,/^$/ {
7483 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7484 # Check for a 64-bit object if we didn't find anything.
7485 if test -z "$aix_libpath"; then
7486 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7489 echo "$as_me: failed program was:" >&5
7490 sed 's/^/| /' conftest.
$ac_ext >&5
7493 rm -f conftest.err conftest.
$ac_objext \
7494 conftest
$ac_exeext conftest.
$ac_ext
7495 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7497 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7498 # Warning - without using the other run time loading flags,
7499 # -berok will link without error, but may produce a broken library.
7500 no_undefined_flag
=' ${wl}-bernotok'
7501 allow_undefined_flag
=' ${wl}-berok'
7502 # Exported symbols can be pulled into shared objects from archives
7503 whole_archive_flag_spec
='$convenience'
7504 archive_cmds_need_lc
=yes
7505 # This is similar to how AIX traditionally builds its shared libraries.
7506 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'
7512 if test "$host_cpu" = m68k
; then
7513 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)'
7514 hardcode_libdir_flag_spec
='-L$libdir'
7515 hardcode_minus_L
=yes
7517 # see comment about different semantics on the GNU ld section
7522 export_dynamic_flag_spec
=-rdynamic
7525 cygwin
* | mingw
* | pw32
*)
7526 # When not using gcc, we currently assume that we are using
7527 # Microsoft Visual C++.
7528 # hardcode_libdir_flag_spec is actually meaningless, as there is
7529 # no search path for DLLs.
7530 hardcode_libdir_flag_spec
=' '
7531 allow_undefined_flag
=unsupported
7532 # Tell ltmain to make .lib files, not .a files.
7534 # Tell ltmain to make .dll files, not .so files.
7536 # FIXME: Setting linknames here is a bad hack.
7537 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7538 # The linker will automatically build a .lib file if we build a DLL.
7539 old_archive_from_new_cmds
='true'
7540 # FIXME: Should let the user specify the lib program.
7541 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7542 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7543 enable_shared_with_static_runtimes
=yes
7546 darwin
* | rhapsody
*)
7548 rhapsody
* | darwin1.
[012])
7549 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7552 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7554 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7557 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7562 archive_cmds_need_lc
=no
7564 hardcode_automatic
=yes
7565 hardcode_shlibpath_var
=unsupported
7566 whole_archive_flag_spec
=''
7567 link_all_deplibs
=yes
7568 if test "$GCC" = yes ; then
7569 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7570 echo $ECHO_N "(cached) $ECHO_C" >&6
7572 lt_cv_apple_cc_single_mod
=no
7573 if test -z "${LT_MULTI_MODULE}"; then
7574 # By default we will add the -single_module flag. You can override
7575 # by either setting the environment variable LT_MULTI_MODULE
7576 # non-empty at configure time, or by adding -multi-module to the
7578 echo "int foo(void){return 1;}" > conftest.c
7579 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7580 -dynamiclib ${wl}-single_module conftest.c
7581 if test -f libconftest.dylib
; then
7582 lt_cv_apple_cc_single_mod
=yes
7583 rm libconftest.dylib
7589 output_verbose_link_cmd
=echo
7590 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
7591 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7592 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}'
7594 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7595 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}'
7597 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7598 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}'
7600 case $cc_basename in
7602 output_verbose_link_cmd
=echo
7603 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7604 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7605 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7606 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}'
7607 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}'
7617 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7618 hardcode_libdir_flag_spec
='-L$libdir'
7619 hardcode_shlibpath_var
=no
7626 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7627 # support. Future versions do this automatically, but an explicit c++rt0.o
7628 # does not break anything, and helps significantly (at the cost of a little
7631 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7632 hardcode_libdir_flag_spec
='-R$libdir'
7634 hardcode_shlibpath_var
=no
7637 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7639 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7641 hardcode_minus_L
=yes
7642 hardcode_shlibpath_var
=no
7645 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7646 freebsd
* | dragonfly
*)
7647 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7648 hardcode_libdir_flag_spec
='-R$libdir'
7650 hardcode_shlibpath_var
=no
7654 if test "$GCC" = yes; then
7655 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'
7657 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'
7659 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7660 hardcode_libdir_separator
=:
7663 # hardcode_minus_L: Not really in the search PATH,
7664 # but as the default location of the library.
7665 hardcode_minus_L
=yes
7666 export_dynamic_flag_spec
='${wl}-E'
7670 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7671 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7673 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7675 if test "$with_gnu_ld" = no
; then
7676 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7677 hardcode_libdir_flag_spec_ld
='+b $libdir'
7678 hardcode_libdir_separator
=:
7680 hardcode_direct_absolute
=yes
7681 export_dynamic_flag_spec
='${wl}-E'
7682 # hardcode_minus_L: Not really in the search PATH,
7683 # but as the default location of the library.
7684 hardcode_minus_L
=yes
7689 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7692 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7695 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7698 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7704 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7707 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7710 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7714 if test "$with_gnu_ld" = no
; then
7715 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7716 hardcode_libdir_separator
=:
7721 hardcode_shlibpath_var
=no
7725 hardcode_direct_absolute
=yes
7726 export_dynamic_flag_spec
='${wl}-E'
7728 # hardcode_minus_L: Not really in the search PATH,
7729 # but as the default location of the library.
7730 hardcode_minus_L
=yes
7736 irix5
* | irix6
* | nonstopux
*)
7737 if test "$GCC" = yes; then
7738 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'
7739 # Try to use the -exported_symbol ld option, if it does not
7740 # work, assume that -exports_file does not work either and
7741 # implicitly export all symbols.
7742 save_LDFLAGS
="$LDFLAGS"
7743 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7744 cat >conftest.
$ac_ext <<_ACEOF
7747 rm -f conftest.
$ac_objext conftest
$ac_exeext
7748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7749 (eval $ac_link) 2>conftest.er1
7751 grep -v '^ *+' conftest.er1
>conftest.err
7753 cat conftest.err
>&5
7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7755 (exit $ac_status); } &&
7756 { ac_try
='test -z "$ac_c_werror_flag"
7757 || test ! -s conftest.err'
7758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7762 (exit $ac_status); }; } &&
7763 { ac_try
='test -s conftest$ac_exeext'
7764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7768 (exit $ac_status); }; }; then
7769 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'
7772 echo "$as_me: failed program was:" >&5
7773 sed 's/^/| /' conftest.
$ac_ext >&5
7776 rm -f conftest.err conftest.
$ac_objext \
7777 conftest
$ac_exeext conftest.
$ac_ext
7778 LDFLAGS
="$save_LDFLAGS"
7780 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'
7781 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'
7783 archive_cmds_need_lc
='no'
7784 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7785 hardcode_libdir_separator
=:
7787 link_all_deplibs
=yes
7791 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7792 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7794 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7796 hardcode_libdir_flag_spec
='-R$libdir'
7798 hardcode_shlibpath_var
=no
7802 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7804 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7805 hardcode_libdir_separator
=:
7806 hardcode_shlibpath_var
=no
7814 hardcode_shlibpath_var
=no
7815 hardcode_direct_absolute
=yes
7816 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7817 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7818 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7819 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7820 export_dynamic_flag_spec
='${wl}-E'
7823 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7824 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7825 hardcode_libdir_flag_spec
='-R$libdir'
7828 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7829 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7836 hardcode_libdir_flag_spec
='-L$libdir'
7837 hardcode_minus_L
=yes
7838 allow_undefined_flag
=unsupported
7839 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'
7840 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7844 if test "$GCC" = yes; then
7845 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7846 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'
7848 allow_undefined_flag
=' -expect_unresolved \*'
7849 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'
7851 archive_cmds_need_lc
='no'
7852 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7853 hardcode_libdir_separator
=:
7856 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7857 if test "$GCC" = yes; then
7858 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7859 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'
7860 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7862 allow_undefined_flag
=' -expect_unresolved \*'
7863 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'
7864 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~
7865 $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'
7867 # Both c and cxx compiler support -rpath directly
7868 hardcode_libdir_flag_spec
='-rpath $libdir'
7870 archive_cmds_need_lc
='no'
7871 hardcode_libdir_separator
=:
7875 no_undefined_flag
=' -z defs'
7876 if test "$GCC" = yes; then
7878 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7879 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7880 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7882 case `$CC -V 2>&1` in
7885 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7886 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7887 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
7891 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
7892 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7893 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7897 hardcode_libdir_flag_spec
='-R$libdir'
7898 hardcode_shlibpath_var
=no
7900 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7902 # The compiler driver will combine and reorder linker options,
7903 # but understands `-z linker_flag'. GCC discards it without `$wl',
7904 # but is careful enough not to reorder.
7905 # Supported since Solaris 2.6 (maybe 2.5.1?)
7906 if test "$GCC" = yes; then
7907 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
7909 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
7913 link_all_deplibs
=yes
7917 if test "x$host_vendor" = xsequent
; then
7918 # Use $CC to link under sequent, because it throws in some extra .o
7919 # files that make .init and .fini sections work.
7920 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7922 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7924 hardcode_libdir_flag_spec
='-L$libdir'
7926 hardcode_minus_L
=yes
7927 hardcode_shlibpath_var
=no
7931 case $host_vendor in
7933 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7934 hardcode_direct
=yes # is this really true???
7937 ## LD is ld it makes a PLAMLIB
7938 ## CC just makes a GrossModule.
7939 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7940 reload_cmds
='$CC -r -o $output$reload_objs'
7944 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7945 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7948 runpath_var
='LD_RUN_PATH'
7949 hardcode_shlibpath_var
=no
7953 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7954 hardcode_shlibpath_var
=no
7955 export_dynamic_flag_spec
='-Bexport'
7959 if test -d /usr
/nec
; then
7960 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7961 hardcode_shlibpath_var
=no
7962 runpath_var
=LD_RUN_PATH
7963 hardcode_runpath_var
=yes
7968 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
7969 no_undefined_flag
='${wl}-z,text'
7970 archive_cmds_need_lc
=no
7971 hardcode_shlibpath_var
=no
7972 runpath_var
='LD_RUN_PATH'
7974 if test "$GCC" = yes; then
7975 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7976 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7978 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7979 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7983 sysv5
* | sco3.2v5
* | sco5v6
*)
7984 # Note: We can NOT use -z defs as we might desire, because we do not
7985 # link with -lc, and that would cause any symbols used from libc to
7986 # always be unresolved, which means just about no library would
7987 # ever link correctly. If we're not using GNU ld we use -z text
7988 # though, which does catch some bad symbols but isn't as heavy-handed
7990 no_undefined_flag
='${wl}-z,text'
7991 allow_undefined_flag
='${wl}-z,nodefs'
7992 archive_cmds_need_lc
=no
7993 hardcode_shlibpath_var
=no
7994 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
7995 hardcode_libdir_separator
=':'
7996 link_all_deplibs
=yes
7997 export_dynamic_flag_spec
='${wl}-Bexport'
7998 runpath_var
='LD_RUN_PATH'
8000 if test "$GCC" = yes; then
8001 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8002 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8004 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8005 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8010 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8011 hardcode_libdir_flag_spec
='-L$libdir'
8012 hardcode_shlibpath_var
=no
8020 if test x
$host_vendor = xsni
; then
8022 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8023 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8029 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8030 echo "${ECHO_T}$ld_shlibs" >&6
8031 test "$ld_shlibs" = no
&& can_build_shared
=no
8033 with_gnu_ld
=$with_gnu_ld
8050 # Do we need to explicitly link libc?
8052 case "x$archive_cmds_need_lc" in
8054 # Assume -lc should be added
8055 archive_cmds_need_lc
=yes
8057 if test "$enable_shared" = yes && test "$GCC" = yes; then
8058 case $archive_cmds in
8060 # FIXME: we may have to deal with multi-command sequences.
8063 # Test whether the compiler implicitly links with -lc since on some
8064 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8065 # to ld, don't add -lc before -lgcc.
8066 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8067 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8069 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8072 (eval $ac_compile) 2>&5
8074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8075 (exit $ac_status); } 2>conftest.err
; then
8078 libobjs
=conftest.
$ac_objext
8080 wl
=$lt_prog_compiler_wl
8081 pic_flag
=$lt_prog_compiler_pic
8087 lt_save_allow_undefined_flag
=$allow_undefined_flag
8088 allow_undefined_flag
=
8089 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8090 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8093 (exit $ac_status); }
8095 archive_cmds_need_lc
=no
8097 archive_cmds_need_lc
=yes
8099 allow_undefined_flag
=$lt_save_allow_undefined_flag
8101 cat conftest.err
1>&5
8104 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8105 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8268 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8269 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8271 if test "$withGCC" = yes; then
8273 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8274 *) lt_awk_arg
="/^libraries:/" ;;
8276 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8277 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8278 # if the path contains ";" then we assume it to be the separator
8279 # otherwise default to the standard path separator (i.e. ":") - it is
8280 # assumed that no part of a normal pathname contains ";" but that should
8281 # okay in the real world where ";" in dirpaths is itself problematic.
8282 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8284 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8286 # Ok, now we have the path, separated by spaces, we can step through it
8287 # and add multilib dir if necessary.
8288 lt_tmp_lt_search_path_spec
=
8289 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8290 for lt_sys_path
in $lt_search_path_spec; do
8291 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8292 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8294 test -d "$lt_sys_path" && \
8295 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8298 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8299 BEGIN {RS=" "; FS="/|\n";} {
8302 for (lt_i = NF; lt_i > 0; lt_i--) {
8303 if ($lt_i != "" && $lt_i != ".") {
8304 if ($lt_i == "..") {
8307 if (lt_count == 0) {
8308 lt_foo="/" $lt_i lt_foo;
8315 if (lt_foo != "") { lt_freq[lt_foo]++; }
8316 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8318 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8320 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8323 libname_spec
='lib$name'
8331 shlibpath_overrides_runpath
=unknown
8333 dynamic_linker
="$host_os ld.so"
8334 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8335 need_lib_prefix
=unknown
8336 hardcode_into_libs
=no
8338 # when you set need_version to no, make sure it does not cause -set_version
8339 # flags to be left without arguments
8340 need_version
=unknown
8345 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8346 shlibpath_var
=LIBPATH
8348 # AIX 3 has no versioning support, so we append a major version to the name.
8349 soname_spec
='${libname}${release}${shared_ext}$major'
8356 hardcode_into_libs
=yes
8357 if test "$host_cpu" = ia64
; then
8358 # AIX 5 supports IA64
8359 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8360 shlibpath_var
=LD_LIBRARY_PATH
8362 # With GCC up to 2.95.x, collect2 would create an import file
8363 # for dependence libraries. The import file would start with
8364 # the line `#! .'. This would cause the generated library to
8365 # depend on `.', always an invalid library. This was fixed in
8366 # development snapshots of GCC prior to 3.0.
8368 aix4 | aix4.
[01] | aix4.
[01].
*)
8369 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8371 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8378 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8379 # soname into executable. Probably we can add versioning support to
8380 # collect2, so additional links can be useful in future.
8381 if test "$aix_use_runtimelinking" = yes; then
8382 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8383 # instead of lib<name>.a to let people know that these are not
8384 # typical AIX shared libraries.
8385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8387 # We preserve .a as extension for shared libraries through AIX4.2
8388 # and later when we are not doing run time linking.
8389 library_names_spec
='${libname}${release}.a $libname.a'
8390 soname_spec
='${libname}${release}${shared_ext}$major'
8392 shlibpath_var
=LIBPATH
8397 if test "$host_cpu" = m68k
; then
8398 library_names_spec
='$libname.ixlibrary $libname.a'
8399 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8400 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'
8407 library_names_spec
='${libname}${shared_ext}'
8408 dynamic_linker
="$host_os ld.so"
8409 shlibpath_var
=LIBRARY_PATH
8415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8416 soname_spec
='${libname}${release}${shared_ext}$major'
8417 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8418 shlibpath_var
=LD_LIBRARY_PATH
8419 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8420 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8421 # the default ld.so.conf also contains /usr/contrib/lib and
8422 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8423 # libtool to hard-code these into programs
8426 cygwin
* | mingw
* | pw32
*)
8427 version_type
=windows
8432 case $withGCC,$host_os in
8433 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8434 library_names_spec
='$libname.dll.a'
8435 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8436 postinstall_cmds
='base_file=`basename \${file}`~
8437 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8438 dldir=$destdir/`dirname \$dlpath`~
8439 test -d \$dldir || mkdir -p \$dldir~
8440 $install_prog $dir/$dlname \$dldir/$dlname~
8441 chmod a+x \$dldir/$dlname~
8442 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8443 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8445 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8446 dlpath=$dir/\$dldll~
8448 shlibpath_overrides_runpath
=yes
8452 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8453 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8454 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8457 # MinGW DLLs use traditional 'lib' prefix
8458 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8459 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8460 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8461 # It is most probably a Windows format PATH printed by
8462 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8463 # path with ; separators, and with drive letters. We can handle the
8464 # drive letters (cygwin fileutils understands them), so leave them,
8465 # especially as we might pass files found there to a mingw objdump,
8466 # which wouldn't understand a cygwinified path. Ahh.
8467 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8469 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8473 # pw32 DLLs use 'pw' prefix rather than 'lib'
8474 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8480 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8483 dynamic_linker
='Win32 ld.exe'
8484 # FIXME: first we should search . and the directory the executable is in
8488 darwin
* | rhapsody
*)
8489 dynamic_linker
="$host_os dyld"
8493 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8494 soname_spec
='${libname}${release}${major}$shared_ext'
8495 shlibpath_overrides_runpath
=yes
8496 shlibpath_var
=DYLD_LIBRARY_PATH
8497 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8499 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8500 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8507 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8508 soname_spec
='${libname}${release}${shared_ext}$major'
8509 shlibpath_var
=LD_LIBRARY_PATH
8516 freebsd
* | dragonfly
*)
8517 # DragonFly does not have aout. When/if they implement a new
8518 # versioning mechanism, adjust this.
8519 if test -x /usr
/bin
/objformat
; then
8520 objformat
=`/usr/bin/objformat`
8523 freebsd
[123]*) objformat
=aout
;;
8527 version_type
=freebsd-
$objformat
8528 case $version_type in
8530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8535 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8539 shlibpath_var
=LD_LIBRARY_PATH
8542 shlibpath_overrides_runpath
=yes
8544 freebsd3.
[01]* | freebsdelf3.
[01]*)
8545 shlibpath_overrides_runpath
=yes
8546 hardcode_into_libs
=yes
8548 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8549 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8550 shlibpath_overrides_runpath
=no
8551 hardcode_into_libs
=yes
8553 *) # from 4.6 on, and DragonFly
8554 shlibpath_overrides_runpath
=yes
8555 hardcode_into_libs
=yes
8564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8565 soname_spec
='${libname}${release}${shared_ext}$major'
8566 shlibpath_var
=LD_LIBRARY_PATH
8567 hardcode_into_libs
=yes
8570 hpux9
* | hpux10
* | hpux11
*)
8571 # Give a soname corresponding to the major version so that dld.sl refuses to
8572 # link against other versions.
8579 hardcode_into_libs
=yes
8580 dynamic_linker
="$host_os dld.so"
8581 shlibpath_var
=LD_LIBRARY_PATH
8582 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8583 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8584 soname_spec
='${libname}${release}${shared_ext}$major'
8585 if test "X$HPUX_IA64_MODE" = X32
; then
8586 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8588 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8590 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8594 hardcode_into_libs
=yes
8595 dynamic_linker
="$host_os dld.sl"
8596 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8597 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8599 soname_spec
='${libname}${release}${shared_ext}$major'
8600 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8601 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8605 dynamic_linker
="$host_os dld.sl"
8606 shlibpath_var
=SHLIB_PATH
8607 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8609 soname_spec
='${libname}${release}${shared_ext}$major'
8612 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8613 postinstall_cmds
='chmod 555 $lib'
8620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8621 soname_spec
='${libname}${release}${shared_ext}$major'
8622 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8623 shlibpath_var
=LD_LIBRARY_PATH
8624 shlibpath_overrides_runpath
=no
8625 hardcode_into_libs
=yes
8628 irix5
* | irix6
* | nonstopux
*)
8630 nonstopux
*) version_type
=nonstopux
;;
8632 if test "$lt_cv_prog_gnu_ld" = yes; then
8640 soname_spec
='${libname}${release}${shared_ext}$major'
8641 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8643 irix5
* | nonstopux
*)
8647 case $LD in # libtool.m4 will add one of these switches to LD
8648 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8649 libsuff
= shlibsuff
= libmagic
=32-bit;;
8650 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8651 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8652 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8653 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8654 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8658 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8659 shlibpath_overrides_runpath
=no
8660 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8661 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8662 hardcode_into_libs
=yes
8665 # No shared lib support for Linux oldld, aout, or coff.
8666 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8670 # This must be Linux ELF.
8671 linux
* | k
*bsd
*-gnu)
8675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8676 soname_spec
='${libname}${release}${shared_ext}$major'
8677 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8678 shlibpath_var
=LD_LIBRARY_PATH
8679 shlibpath_overrides_runpath
=no
8680 # Some binutils ld are patched to set DT_RUNPATH
8681 save_LDFLAGS
=$LDFLAGS
8683 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8684 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8685 cat >conftest.
$ac_ext <<_ACEOF
8688 cat confdefs.h
>>conftest.
$ac_ext
8689 cat >>conftest.
$ac_ext <<_ACEOF
8690 /* end confdefs.h. */
8700 rm -f conftest.
$ac_objext conftest
$ac_exeext
8701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8702 (eval $ac_link) 2>conftest.er1
8704 grep -v '^ *+' conftest.er1
>conftest.err
8706 cat conftest.err
>&5
8707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708 (exit $ac_status); } &&
8709 { ac_try
='test -z "$ac_c_werror_flag"
8710 || test ! -s conftest.err'
8711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 (exit $ac_status); }; } &&
8716 { ac_try
='test -s conftest$ac_exeext'
8717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721 (exit $ac_status); }; }; then
8722 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
8723 shlibpath_overrides_runpath
=yes
8727 echo "$as_me: failed program was:" >&5
8728 sed 's/^/| /' conftest.
$ac_ext >&5
8731 rm -f conftest.err conftest.
$ac_objext \
8732 conftest
$ac_exeext conftest.
$ac_ext
8733 LDFLAGS
=$save_LDFLAGS
8736 # This implies no fast_install, which is unacceptable.
8737 # Some rework will be needed to allow for fast_install
8738 # before this can be enabled.
8739 hardcode_into_libs
=yes
8741 # Append ld.so.conf contents to the search path
8742 if test -f /etc
/ld.so.conf
; then
8743 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' ' '`
8744 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8747 # We used to test for /lib/ld.so.1 and disable shared libraries on
8748 # powerpc, because MkLinux only supported shared libraries with the
8749 # GNU dynamic linker. Since this was broken with cross compilers,
8750 # most powerpc-linux boxes support dynamic linking these days and
8751 # people can always --disable-shared, the test was removed, and we
8752 # assume the GNU/Linux dynamic linker is in use.
8753 dynamic_linker
='GNU/Linux ld.so'
8760 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8762 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8763 dynamic_linker
='NetBSD (a.out) ld.so'
8765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8766 soname_spec
='${libname}${release}${shared_ext}$major'
8767 dynamic_linker
='NetBSD ld.elf_so'
8769 shlibpath_var
=LD_LIBRARY_PATH
8770 shlibpath_overrides_runpath
=yes
8771 hardcode_into_libs
=yes
8776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8777 shlibpath_var
=LD_LIBRARY_PATH
8778 shlibpath_overrides_runpath
=yes
8785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8786 soname_spec
='${libname}${release}${shared_ext}$major'
8787 shlibpath_var
=LD_LIBRARY_PATH
8788 shlibpath_overrides_runpath
=no
8789 hardcode_into_libs
=yes
8790 dynamic_linker
='ldqnx.so'
8795 sys_lib_dlsearch_path_spec
="/usr/lib"
8797 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8799 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8800 *) need_version
=no
;;
8802 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8803 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8804 shlibpath_var
=LD_LIBRARY_PATH
8805 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8807 openbsd2.
[89] | openbsd2.
[89].
*)
8808 shlibpath_overrides_runpath
=no
8811 shlibpath_overrides_runpath
=yes
8815 shlibpath_overrides_runpath
=yes
8820 libname_spec
='$name'
8823 library_names_spec
='$libname${shared_ext} $libname.a'
8824 dynamic_linker
='OS/2 ld.exe'
8825 shlibpath_var
=LIBPATH
8828 osf3
* | osf4
* | osf5
*)
8832 soname_spec
='${libname}${release}${shared_ext}$major'
8833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8834 shlibpath_var
=LD_LIBRARY_PATH
8835 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8836 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8848 soname_spec
='${libname}${release}${shared_ext}$major'
8849 shlibpath_var
=LD_LIBRARY_PATH
8850 shlibpath_overrides_runpath
=yes
8851 hardcode_into_libs
=yes
8852 # ldd complains unless libraries are executable
8853 postinstall_cmds
='chmod +x $lib'
8858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8859 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8860 shlibpath_var
=LD_LIBRARY_PATH
8861 shlibpath_overrides_runpath
=yes
8862 if test "$with_gnu_ld" = yes; then
8870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8871 soname_spec
='${libname}${release}${shared_ext}$major'
8872 shlibpath_var
=LD_LIBRARY_PATH
8873 case $host_vendor in
8875 shlibpath_overrides_runpath
=no
8877 runpath_var
=LD_RUN_PATH
8885 shlibpath_overrides_runpath
=no
8886 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8892 if test -d /usr
/nec
;then
8894 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8895 soname_spec
='$libname${shared_ext}.$major'
8896 shlibpath_var
=LD_LIBRARY_PATH
8900 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8901 version_type
=freebsd-elf
8904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8905 soname_spec
='${libname}${release}${shared_ext}$major'
8906 shlibpath_var
=LD_LIBRARY_PATH
8907 shlibpath_overrides_runpath
=yes
8908 hardcode_into_libs
=yes
8909 if test "$with_gnu_ld" = yes; then
8910 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8912 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
8915 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
8919 sys_lib_dlsearch_path_spec
='/usr/lib'
8923 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
8927 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8928 shlibpath_var
=LD_LIBRARY_PATH
8929 shlibpath_overrides_runpath
=no
8930 hardcode_into_libs
=yes
8935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8936 soname_spec
='${libname}${release}${shared_ext}$major'
8937 shlibpath_var
=LD_LIBRARY_PATH
8944 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8945 echo "${ECHO_T}$dynamic_linker" >&6
8946 test "$dynamic_linker" = no
&& can_build_shared
=no
8948 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8949 if test "$GCC" = yes; then
8950 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9039 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9040 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9042 if test -n "$hardcode_libdir_flag_spec" ||
9043 test -n "$runpath_var" ||
9044 test "X$hardcode_automatic" = "Xyes" ; then
9046 # We can hardcode non-existent directories.
9047 if test "$hardcode_direct" != no
&&
9048 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9049 # have to relink, otherwise we might link with an installed library
9050 # when we should be linking with a yet-to-be-installed one
9051 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9052 test "$hardcode_minus_L" != no
; then
9053 # Linking always hardcodes the temporary library directory.
9054 hardcode_action
=relink
9056 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9057 hardcode_action
=immediate
9060 # We cannot hardcode anything, or else we can only hardcode existing
9062 hardcode_action
=unsupported
9064 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9065 echo "${ECHO_T}$hardcode_action" >&6
9067 if test "$hardcode_action" = relink ||
9068 test "$inherit_rpath" = yes; then
9069 # Fast installation is not supported
9070 enable_fast_install
=no
9071 elif test "$shlibpath_overrides_runpath" = yes ||
9072 test "$enable_shared" = no
; then
9073 # Fast installation is not necessary
9074 enable_fast_install
=needless
9082 if test "x$enable_dlopen" != xyes
; then
9083 enable_dlopen
=unknown
9084 enable_dlopen_self
=unknown
9085 enable_dlopen_self_static
=unknown
9092 lt_cv_dlopen
="load_add_on"
9094 lt_cv_dlopen_self
=yes
9098 lt_cv_dlopen
="LoadLibrary"
9103 lt_cv_dlopen
="dlopen"
9108 # if libdl is installed we need to link against it
9109 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9110 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9111 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9112 echo $ECHO_N "(cached) $ECHO_C" >&6
9114 ac_check_lib_save_LIBS
=$LIBS
9116 cat >conftest.
$ac_ext <<_ACEOF
9119 cat confdefs.h
>>conftest.
$ac_ext
9120 cat >>conftest.
$ac_ext <<_ACEOF
9121 /* end confdefs.h. */
9123 /* Override any gcc2 internal prototype to avoid an error. */
9127 /* We use char because int might match the return type of a gcc2
9128 builtin and then its argument prototype would still apply. */
9138 rm -f conftest.
$ac_objext conftest
$ac_exeext
9139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9140 (eval $ac_link) 2>conftest.er1
9142 grep -v '^ *+' conftest.er1
>conftest.err
9144 cat conftest.err
>&5
9145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9146 (exit $ac_status); } &&
9147 { ac_try
='test -z "$ac_c_werror_flag"
9148 || test ! -s conftest.err'
9149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153 (exit $ac_status); }; } &&
9154 { ac_try
='test -s conftest$ac_exeext'
9155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159 (exit $ac_status); }; }; then
9160 ac_cv_lib_dl_dlopen
=yes
9162 echo "$as_me: failed program was:" >&5
9163 sed 's/^/| /' conftest.
$ac_ext >&5
9165 ac_cv_lib_dl_dlopen
=no
9167 rm -f conftest.err conftest.
$ac_objext \
9168 conftest
$ac_exeext conftest.
$ac_ext
9169 LIBS
=$ac_check_lib_save_LIBS
9171 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9172 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9173 if test $ac_cv_lib_dl_dlopen = yes; then
9174 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9179 lt_cv_dlopen_self
=yes
9186 echo "$as_me:$LINENO: checking for shl_load" >&5
9187 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9188 if test "${ac_cv_func_shl_load+set}" = set; then
9189 echo $ECHO_N "(cached) $ECHO_C" >&6
9191 cat >conftest.
$ac_ext <<_ACEOF
9194 cat confdefs.h
>>conftest.
$ac_ext
9195 cat >>conftest.
$ac_ext <<_ACEOF
9196 /* end confdefs.h. */
9197 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9199 #define shl_load innocuous_shl_load
9201 /* System header to define __stub macros and hopefully few prototypes,
9202 which can conflict with char shl_load (); below.
9203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9204 <limits.h> exists even on freestanding compilers. */
9207 # include <limits.h>
9209 # include <assert.h>
9214 /* Override any gcc2 internal prototype to avoid an error. */
9219 /* We use char because int might match the return type of a gcc2
9220 builtin and then its argument prototype would still apply. */
9222 /* The GNU C library defines this for functions which it implements
9223 to always fail with ENOSYS. Some functions are actually named
9224 something starting with __ and the normal name is an alias. */
9225 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9228 char (*f) () = shl_load;
9237 return f != shl_load;
9242 rm -f conftest.
$ac_objext conftest
$ac_exeext
9243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9244 (eval $ac_link) 2>conftest.er1
9246 grep -v '^ *+' conftest.er1
>conftest.err
9248 cat conftest.err
>&5
9249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9250 (exit $ac_status); } &&
9251 { ac_try
='test -z "$ac_c_werror_flag"
9252 || test ! -s conftest.err'
9253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9257 (exit $ac_status); }; } &&
9258 { ac_try
='test -s conftest$ac_exeext'
9259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9263 (exit $ac_status); }; }; then
9264 ac_cv_func_shl_load
=yes
9266 echo "$as_me: failed program was:" >&5
9267 sed 's/^/| /' conftest.
$ac_ext >&5
9269 ac_cv_func_shl_load
=no
9271 rm -f conftest.err conftest.
$ac_objext \
9272 conftest
$ac_exeext conftest.
$ac_ext
9274 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9275 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9276 if test $ac_cv_func_shl_load = yes; then
9277 lt_cv_dlopen
="shl_load"
9279 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9280 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9281 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9282 echo $ECHO_N "(cached) $ECHO_C" >&6
9284 ac_check_lib_save_LIBS
=$LIBS
9286 cat >conftest.
$ac_ext <<_ACEOF
9289 cat confdefs.h
>>conftest.
$ac_ext
9290 cat >>conftest.
$ac_ext <<_ACEOF
9291 /* end confdefs.h. */
9293 /* Override any gcc2 internal prototype to avoid an error. */
9297 /* We use char because int might match the return type of a gcc2
9298 builtin and then its argument prototype would still apply. */
9308 rm -f conftest.
$ac_objext conftest
$ac_exeext
9309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9310 (eval $ac_link) 2>conftest.er1
9312 grep -v '^ *+' conftest.er1
>conftest.err
9314 cat conftest.err
>&5
9315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9316 (exit $ac_status); } &&
9317 { ac_try
='test -z "$ac_c_werror_flag"
9318 || test ! -s conftest.err'
9319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 (exit $ac_status); }; } &&
9324 { ac_try
='test -s conftest$ac_exeext'
9325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329 (exit $ac_status); }; }; then
9330 ac_cv_lib_dld_shl_load
=yes
9332 echo "$as_me: failed program was:" >&5
9333 sed 's/^/| /' conftest.
$ac_ext >&5
9335 ac_cv_lib_dld_shl_load
=no
9337 rm -f conftest.err conftest.
$ac_objext \
9338 conftest
$ac_exeext conftest.
$ac_ext
9339 LIBS
=$ac_check_lib_save_LIBS
9341 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9342 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9343 if test $ac_cv_lib_dld_shl_load = yes; then
9344 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
9346 echo "$as_me:$LINENO: checking for dlopen" >&5
9347 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9348 if test "${ac_cv_func_dlopen+set}" = set; then
9349 echo $ECHO_N "(cached) $ECHO_C" >&6
9351 cat >conftest.
$ac_ext <<_ACEOF
9354 cat confdefs.h
>>conftest.
$ac_ext
9355 cat >>conftest.
$ac_ext <<_ACEOF
9356 /* end confdefs.h. */
9357 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9359 #define dlopen innocuous_dlopen
9361 /* System header to define __stub macros and hopefully few prototypes,
9362 which can conflict with char dlopen (); below.
9363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9364 <limits.h> exists even on freestanding compilers. */
9367 # include <limits.h>
9369 # include <assert.h>
9374 /* Override any gcc2 internal prototype to avoid an error. */
9379 /* We use char because int might match the return type of a gcc2
9380 builtin and then its argument prototype would still apply. */
9382 /* The GNU C library defines this for functions which it implements
9383 to always fail with ENOSYS. Some functions are actually named
9384 something starting with __ and the normal name is an alias. */
9385 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9388 char (*f) () = dlopen;
9402 rm -f conftest.
$ac_objext conftest
$ac_exeext
9403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9404 (eval $ac_link) 2>conftest.er1
9406 grep -v '^ *+' conftest.er1
>conftest.err
9408 cat conftest.err
>&5
9409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9410 (exit $ac_status); } &&
9411 { ac_try
='test -z "$ac_c_werror_flag"
9412 || test ! -s conftest.err'
9413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9417 (exit $ac_status); }; } &&
9418 { ac_try
='test -s conftest$ac_exeext'
9419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9423 (exit $ac_status); }; }; then
9424 ac_cv_func_dlopen
=yes
9426 echo "$as_me: failed program was:" >&5
9427 sed 's/^/| /' conftest.
$ac_ext >&5
9429 ac_cv_func_dlopen
=no
9431 rm -f conftest.err conftest.
$ac_objext \
9432 conftest
$ac_exeext conftest.
$ac_ext
9434 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9435 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9436 if test $ac_cv_func_dlopen = yes; then
9437 lt_cv_dlopen
="dlopen"
9439 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9440 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9441 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9442 echo $ECHO_N "(cached) $ECHO_C" >&6
9444 ac_check_lib_save_LIBS
=$LIBS
9446 cat >conftest.
$ac_ext <<_ACEOF
9449 cat confdefs.h
>>conftest.
$ac_ext
9450 cat >>conftest.
$ac_ext <<_ACEOF
9451 /* end confdefs.h. */
9453 /* Override any gcc2 internal prototype to avoid an error. */
9457 /* We use char because int might match the return type of a gcc2
9458 builtin and then its argument prototype would still apply. */
9468 rm -f conftest.
$ac_objext conftest
$ac_exeext
9469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9470 (eval $ac_link) 2>conftest.er1
9472 grep -v '^ *+' conftest.er1
>conftest.err
9474 cat conftest.err
>&5
9475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476 (exit $ac_status); } &&
9477 { ac_try
='test -z "$ac_c_werror_flag"
9478 || test ! -s conftest.err'
9479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9483 (exit $ac_status); }; } &&
9484 { ac_try
='test -s conftest$ac_exeext'
9485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9489 (exit $ac_status); }; }; then
9490 ac_cv_lib_dl_dlopen
=yes
9492 echo "$as_me: failed program was:" >&5
9493 sed 's/^/| /' conftest.
$ac_ext >&5
9495 ac_cv_lib_dl_dlopen
=no
9497 rm -f conftest.err conftest.
$ac_objext \
9498 conftest
$ac_exeext conftest.
$ac_ext
9499 LIBS
=$ac_check_lib_save_LIBS
9501 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9502 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9503 if test $ac_cv_lib_dl_dlopen = yes; then
9504 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9506 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9507 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9508 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9509 echo $ECHO_N "(cached) $ECHO_C" >&6
9511 ac_check_lib_save_LIBS
=$LIBS
9513 cat >conftest.
$ac_ext <<_ACEOF
9516 cat confdefs.h
>>conftest.
$ac_ext
9517 cat >>conftest.
$ac_ext <<_ACEOF
9518 /* end confdefs.h. */
9520 /* Override any gcc2 internal prototype to avoid an error. */
9524 /* We use char because int might match the return type of a gcc2
9525 builtin and then its argument prototype would still apply. */
9535 rm -f conftest.
$ac_objext conftest
$ac_exeext
9536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9537 (eval $ac_link) 2>conftest.er1
9539 grep -v '^ *+' conftest.er1
>conftest.err
9541 cat conftest.err
>&5
9542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9543 (exit $ac_status); } &&
9544 { ac_try
='test -z "$ac_c_werror_flag"
9545 || test ! -s conftest.err'
9546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9550 (exit $ac_status); }; } &&
9551 { ac_try
='test -s conftest$ac_exeext'
9552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9556 (exit $ac_status); }; }; then
9557 ac_cv_lib_svld_dlopen
=yes
9559 echo "$as_me: failed program was:" >&5
9560 sed 's/^/| /' conftest.
$ac_ext >&5
9562 ac_cv_lib_svld_dlopen
=no
9564 rm -f conftest.err conftest.
$ac_objext \
9565 conftest
$ac_exeext conftest.
$ac_ext
9566 LIBS
=$ac_check_lib_save_LIBS
9568 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9569 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9570 if test $ac_cv_lib_svld_dlopen = yes; then
9571 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9573 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9574 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9575 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9576 echo $ECHO_N "(cached) $ECHO_C" >&6
9578 ac_check_lib_save_LIBS
=$LIBS
9580 cat >conftest.
$ac_ext <<_ACEOF
9583 cat confdefs.h
>>conftest.
$ac_ext
9584 cat >>conftest.
$ac_ext <<_ACEOF
9585 /* end confdefs.h. */
9587 /* Override any gcc2 internal prototype to avoid an error. */
9591 /* We use char because int might match the return type of a gcc2
9592 builtin and then its argument prototype would still apply. */
9602 rm -f conftest.
$ac_objext conftest
$ac_exeext
9603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9604 (eval $ac_link) 2>conftest.er1
9606 grep -v '^ *+' conftest.er1
>conftest.err
9608 cat conftest.err
>&5
9609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9610 (exit $ac_status); } &&
9611 { ac_try
='test -z "$ac_c_werror_flag"
9612 || test ! -s conftest.err'
9613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617 (exit $ac_status); }; } &&
9618 { ac_try
='test -s conftest$ac_exeext'
9619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); }; }; then
9624 ac_cv_lib_dld_dld_link
=yes
9626 echo "$as_me: failed program was:" >&5
9627 sed 's/^/| /' conftest.
$ac_ext >&5
9629 ac_cv_lib_dld_dld_link
=no
9631 rm -f conftest.err conftest.
$ac_objext \
9632 conftest
$ac_exeext conftest.
$ac_ext
9633 LIBS
=$ac_check_lib_save_LIBS
9635 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9636 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9637 if test $ac_cv_lib_dld_dld_link = yes; then
9638 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9659 if test "x$lt_cv_dlopen" != xno
; then
9665 case $lt_cv_dlopen in
9667 save_CPPFLAGS
="$CPPFLAGS"
9668 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9670 save_LDFLAGS
="$LDFLAGS"
9671 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9674 LIBS
="$lt_cv_dlopen_libs $LIBS"
9676 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9677 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9678 if test "${lt_cv_dlopen_self+set}" = set; then
9679 echo $ECHO_N "(cached) $ECHO_C" >&6
9681 if test "$cross_compiling" = yes; then :
9682 lt_cv_dlopen_self
=cross
9684 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9685 lt_status
=$lt_dlunknown
9686 cat > conftest.
$ac_ext <<_LT_EOF
9687 #line 9687 "configure"
9688 #include "confdefs.h"
9697 # define LT_DLGLOBAL RTLD_GLOBAL
9700 # define LT_DLGLOBAL DL_GLOBAL
9702 # define LT_DLGLOBAL 0
9706 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9707 find out it does not work in some platform. */
9708 #ifndef LT_DLLAZY_OR_NOW
9710 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9713 # define LT_DLLAZY_OR_NOW DL_LAZY
9716 # define LT_DLLAZY_OR_NOW RTLD_NOW
9719 # define LT_DLLAZY_OR_NOW DL_NOW
9721 # define LT_DLLAZY_OR_NOW 0
9729 extern "C" void exit (int);
9732 void fnord() { int i=42;}
9735 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9736 int status = $lt_dlunknown;
9740 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9741 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9742 /* dlclose (self); */
9750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9751 (eval $ac_link) 2>&5
9753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9755 (.
/conftest
; exit; ) >&5 2>/dev
/null
9758 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9759 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9760 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9763 # compilation failed
9764 lt_cv_dlopen_self
=no
9771 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9772 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9774 if test "x$lt_cv_dlopen_self" = xyes
; then
9775 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9776 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9777 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9778 if test "${lt_cv_dlopen_self_static+set}" = set; then
9779 echo $ECHO_N "(cached) $ECHO_C" >&6
9781 if test "$cross_compiling" = yes; then :
9782 lt_cv_dlopen_self_static
=cross
9784 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9785 lt_status
=$lt_dlunknown
9786 cat > conftest.
$ac_ext <<_LT_EOF
9787 #line 9787 "configure"
9788 #include "confdefs.h"
9797 # define LT_DLGLOBAL RTLD_GLOBAL
9800 # define LT_DLGLOBAL DL_GLOBAL
9802 # define LT_DLGLOBAL 0
9806 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9807 find out it does not work in some platform. */
9808 #ifndef LT_DLLAZY_OR_NOW
9810 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9813 # define LT_DLLAZY_OR_NOW DL_LAZY
9816 # define LT_DLLAZY_OR_NOW RTLD_NOW
9819 # define LT_DLLAZY_OR_NOW DL_NOW
9821 # define LT_DLLAZY_OR_NOW 0
9829 extern "C" void exit (int);
9832 void fnord() { int i=42;}
9835 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9836 int status = $lt_dlunknown;
9840 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9841 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9842 /* dlclose (self); */
9850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9851 (eval $ac_link) 2>&5
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9855 (.
/conftest
; exit; ) >&5 2>/dev
/null
9858 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9859 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9860 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9863 # compilation failed
9864 lt_cv_dlopen_self_static
=no
9871 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9872 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9875 CPPFLAGS
="$save_CPPFLAGS"
9876 LDFLAGS
="$save_LDFLAGS"
9881 case $lt_cv_dlopen_self in
9882 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9883 *) enable_dlopen_self
=unknown
;;
9886 case $lt_cv_dlopen_self_static in
9887 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9888 *) enable_dlopen_self_static
=unknown
;;
9910 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9911 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9912 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
9913 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9914 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9915 echo "$as_me:$LINENO: result: yes" >&5
9916 echo "${ECHO_T}yes" >&6
9918 # FIXME - insert some real tests, host_os isn't really good enough
9921 if test -n "$STRIP" ; then
9922 striplib
="$STRIP -x"
9923 old_striplib
="$STRIP -S"
9924 echo "$as_me:$LINENO: result: yes" >&5
9925 echo "${ECHO_T}yes" >&6
9927 echo "$as_me:$LINENO: result: no" >&5
9928 echo "${ECHO_T}no" >&6
9932 echo "$as_me:$LINENO: result: no" >&5
9933 echo "${ECHO_T}no" >&6
9949 # Report which library types will actually be built
9950 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9951 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9952 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9953 echo "${ECHO_T}$can_build_shared" >&6
9955 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9956 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9957 test "$can_build_shared" = "no" && enable_shared
=no
9959 # On AIX, shared libraries and static libraries use the same namespace, and
9960 # are all built from PIC.
9963 test "$enable_shared" = yes && enable_static
=no
9964 if test -n "$RANLIB"; then
9965 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9966 postinstall_cmds
='$RANLIB $lib'
9971 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9972 test "$enable_shared" = yes && enable_static
=no
9976 echo "$as_me:$LINENO: result: $enable_shared" >&5
9977 echo "${ECHO_T}$enable_shared" >&6
9979 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9980 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9981 # Make sure either enable_shared or enable_static is yes.
9982 test "$enable_shared" = yes || enable_static
=yes
9983 echo "$as_me:$LINENO: result: $enable_static" >&5
9984 echo "${ECHO_T}$enable_static" >&6
9991 ac_cpp
='$CPP $CPPFLAGS'
9992 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9993 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9994 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10010 ac_config_commands
="$ac_config_commands libtool"
10015 # Only expand once:
10021 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
10022 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
10023 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
10024 if test "${enable_maintainer_mode+set}" = set; then
10025 enableval
="$enable_maintainer_mode"
10026 USE_MAINTAINER_MODE
=$enableval
10028 USE_MAINTAINER_MODE
=no
10030 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
10031 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
10034 if test $USE_MAINTAINER_MODE = yes; then
10035 MAINTAINER_MODE_TRUE
=
10036 MAINTAINER_MODE_FALSE
='#'
10038 MAINTAINER_MODE_TRUE
='#'
10039 MAINTAINER_MODE_FALSE
=
10042 MAINT
=$MAINTAINER_MODE_TRUE
10046 # We need gfortran to compile parts of the library
10047 # We can't use AC_PROG_FC because it expects a fully working gfortran.
10048 #AC_PROG_FC(gfortran)
10050 ac_ext
=${FC_SRCEXT-f}
10051 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10052 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10053 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
10054 if test -n "$ac_tool_prefix"; then
10055 for ac_prog
in gfortran
10057 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10058 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10059 echo "$as_me:$LINENO: checking for $ac_word" >&5
10060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10061 if test "${ac_cv_prog_FC+set}" = set; then
10062 echo $ECHO_N "(cached) $ECHO_C" >&6
10064 if test -n "$FC"; then
10065 ac_cv_prog_FC
="$FC" # Let the user override the test.
10067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10068 for as_dir
in $PATH
10071 test -z "$as_dir" && as_dir
=.
10072 for ac_exec_ext
in '' $ac_executable_extensions; do
10073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10074 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
10075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10084 if test -n "$FC"; then
10085 echo "$as_me:$LINENO: result: $FC" >&5
10086 echo "${ECHO_T}$FC" >&6
10088 echo "$as_me:$LINENO: result: no" >&5
10089 echo "${ECHO_T}no" >&6
10092 test -n "$FC" && break
10095 if test -z "$FC"; then
10097 for ac_prog
in gfortran
10099 # Extract the first word of "$ac_prog", so it can be a program name with args.
10100 set dummy
$ac_prog; ac_word
=$2
10101 echo "$as_me:$LINENO: checking for $ac_word" >&5
10102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10103 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10104 echo $ECHO_N "(cached) $ECHO_C" >&6
10106 if test -n "$ac_ct_FC"; then
10107 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
10109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10110 for as_dir
in $PATH
10113 test -z "$as_dir" && as_dir
=.
10114 for ac_exec_ext
in '' $ac_executable_extensions; do
10115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10116 ac_cv_prog_ac_ct_FC
="$ac_prog"
10117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10125 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
10126 if test -n "$ac_ct_FC"; then
10127 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10128 echo "${ECHO_T}$ac_ct_FC" >&6
10130 echo "$as_me:$LINENO: result: no" >&5
10131 echo "${ECHO_T}no" >&6
10134 test -n "$ac_ct_FC" && break
10141 # Provide some information about the compiler.
10142 echo "$as_me:10142:" \
10143 "checking for Fortran compiler version" >&5
10144 ac_compiler
=`set X $ac_compile; echo $2`
10145 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10146 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10149 (exit $ac_status); }
10150 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10151 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10154 (exit $ac_status); }
10155 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10156 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10159 (exit $ac_status); }
10162 # If we don't use `.F' as extension, the preprocessor is not run on the
10163 # input file. (Note that this only needs to work for GNU compilers.)
10164 ac_save_ext
=$ac_ext
10166 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10167 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10168 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10169 echo $ECHO_N "(cached) $ECHO_C" >&6
10171 cat >conftest.
$ac_ext <<_ACEOF
10179 rm -f conftest.
$ac_objext
10180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10181 (eval $ac_compile) 2>conftest.er1
10183 grep -v '^ *+' conftest.er1
>conftest.err
10185 cat conftest.err
>&5
10186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10187 (exit $ac_status); } &&
10188 { ac_try
='test -z "$ac_fc_werror_flag"
10189 || test ! -s conftest.err'
10190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10191 (eval $ac_try) 2>&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); }; } &&
10195 { ac_try
='test -s conftest.$ac_objext'
10196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10197 (eval $ac_try) 2>&5
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); }; }; then
10201 ac_compiler_gnu
=yes
10203 echo "$as_me: failed program was:" >&5
10204 sed 's/^/| /' conftest.
$ac_ext >&5
10208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10209 ac_cv_fc_compiler_gnu
=$ac_compiler_gnu
10212 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10213 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10214 ac_ext
=$ac_save_ext
10215 ac_test_FFLAGS
=${FCFLAGS+set}
10216 ac_save_FFLAGS
=$FCFLAGS
10218 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10219 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10220 if test "${ac_cv_prog_fc_g+set}" = set; then
10221 echo $ECHO_N "(cached) $ECHO_C" >&6
10224 cat >conftest.
$ac_ext <<_ACEOF
10229 rm -f conftest.
$ac_objext
10230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10231 (eval $ac_compile) 2>conftest.er1
10233 grep -v '^ *+' conftest.er1
>conftest.err
10235 cat conftest.err
>&5
10236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10237 (exit $ac_status); } &&
10238 { ac_try
='test -z "$ac_fc_werror_flag"
10239 || test ! -s conftest.err'
10240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10241 (eval $ac_try) 2>&5
10243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244 (exit $ac_status); }; } &&
10245 { ac_try
='test -s conftest.$ac_objext'
10246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10247 (eval $ac_try) 2>&5
10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250 (exit $ac_status); }; }; then
10251 ac_cv_prog_fc_g
=yes
10253 echo "$as_me: failed program was:" >&5
10254 sed 's/^/| /' conftest.
$ac_ext >&5
10258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10261 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10262 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10263 if test "$ac_test_FFLAGS" = set; then
10264 FCFLAGS
=$ac_save_FFLAGS
10265 elif test $ac_cv_prog_fc_g = yes; then
10266 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
10272 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
10280 ac_cpp
='$CPP $CPPFLAGS'
10281 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10282 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10283 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10286 ac_ext
=${FC_SRCEXT-f}
10287 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10288 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10289 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
10290 if test -n "$ac_tool_prefix"; then
10291 for ac_prog
in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10293 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10294 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10295 echo "$as_me:$LINENO: checking for $ac_word" >&5
10296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10297 if test "${ac_cv_prog_FC+set}" = set; then
10298 echo $ECHO_N "(cached) $ECHO_C" >&6
10300 if test -n "$FC"; then
10301 ac_cv_prog_FC
="$FC" # Let the user override the test.
10303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10304 for as_dir
in $PATH
10307 test -z "$as_dir" && as_dir
=.
10308 for ac_exec_ext
in '' $ac_executable_extensions; do
10309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10310 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
10311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10320 if test -n "$FC"; then
10321 echo "$as_me:$LINENO: result: $FC" >&5
10322 echo "${ECHO_T}$FC" >&6
10324 echo "$as_me:$LINENO: result: no" >&5
10325 echo "${ECHO_T}no" >&6
10328 test -n "$FC" && break
10331 if test -z "$FC"; then
10333 for ac_prog
in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10335 # Extract the first word of "$ac_prog", so it can be a program name with args.
10336 set dummy
$ac_prog; ac_word
=$2
10337 echo "$as_me:$LINENO: checking for $ac_word" >&5
10338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10339 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10340 echo $ECHO_N "(cached) $ECHO_C" >&6
10342 if test -n "$ac_ct_FC"; then
10343 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
10345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10346 for as_dir
in $PATH
10349 test -z "$as_dir" && as_dir
=.
10350 for ac_exec_ext
in '' $ac_executable_extensions; do
10351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10352 ac_cv_prog_ac_ct_FC
="$ac_prog"
10353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10361 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
10362 if test -n "$ac_ct_FC"; then
10363 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10364 echo "${ECHO_T}$ac_ct_FC" >&6
10366 echo "$as_me:$LINENO: result: no" >&5
10367 echo "${ECHO_T}no" >&6
10370 test -n "$ac_ct_FC" && break
10377 # Provide some information about the compiler.
10378 echo "$as_me:10378:" \
10379 "checking for Fortran compiler version" >&5
10380 ac_compiler
=`set X $ac_compile; echo $2`
10381 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10382 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); }
10386 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10387 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390 (exit $ac_status); }
10391 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10392 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10395 (exit $ac_status); }
10398 # If we don't use `.F' as extension, the preprocessor is not run on the
10399 # input file. (Note that this only needs to work for GNU compilers.)
10400 ac_save_ext
=$ac_ext
10402 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10403 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10404 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10405 echo $ECHO_N "(cached) $ECHO_C" >&6
10407 cat >conftest.
$ac_ext <<_ACEOF
10415 rm -f conftest.
$ac_objext
10416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10417 (eval $ac_compile) 2>conftest.er1
10419 grep -v '^ *+' conftest.er1
>conftest.err
10421 cat conftest.err
>&5
10422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10423 (exit $ac_status); } &&
10424 { ac_try
='test -z "$ac_fc_werror_flag"
10425 || test ! -s conftest.err'
10426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10427 (eval $ac_try) 2>&5
10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); }; } &&
10431 { ac_try
='test -s conftest.$ac_objext'
10432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10433 (eval $ac_try) 2>&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; }; then
10437 ac_compiler_gnu
=yes
10439 echo "$as_me: failed program was:" >&5
10440 sed 's/^/| /' conftest.
$ac_ext >&5
10444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10445 ac_cv_fc_compiler_gnu
=$ac_compiler_gnu
10448 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10449 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10450 ac_ext
=$ac_save_ext
10451 ac_test_FFLAGS
=${FCFLAGS+set}
10452 ac_save_FFLAGS
=$FCFLAGS
10454 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10455 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10456 if test "${ac_cv_prog_fc_g+set}" = set; then
10457 echo $ECHO_N "(cached) $ECHO_C" >&6
10460 cat >conftest.
$ac_ext <<_ACEOF
10465 rm -f conftest.
$ac_objext
10466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10467 (eval $ac_compile) 2>conftest.er1
10469 grep -v '^ *+' conftest.er1
>conftest.err
10471 cat conftest.err
>&5
10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 (exit $ac_status); } &&
10474 { ac_try
='test -z "$ac_fc_werror_flag"
10475 || test ! -s conftest.err'
10476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10477 (eval $ac_try) 2>&5
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); }; } &&
10481 { ac_try
='test -s conftest.$ac_objext'
10482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10483 (eval $ac_try) 2>&5
10485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10486 (exit $ac_status); }; }; then
10487 ac_cv_prog_fc_g
=yes
10489 echo "$as_me: failed program was:" >&5
10490 sed 's/^/| /' conftest.
$ac_ext >&5
10494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10497 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10498 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10499 if test "$ac_test_FFLAGS" = set; then
10500 FCFLAGS
=$ac_save_FFLAGS
10501 elif test $ac_cv_prog_fc_g = yes; then
10502 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
10508 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
10516 ac_cpp
='$CPP $CPPFLAGS'
10517 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10518 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10519 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10521 if test -z "$FC" ||
test "X$FC" = "Xno"; then
10527 ac_ext
=${FC_SRCEXT-f}
10528 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10529 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10530 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
10533 archive_cmds_need_lc_FC
=no
10534 allow_undefined_flag_FC
=
10535 always_export_symbols_FC
=no
10536 archive_expsym_cmds_FC
=
10537 export_dynamic_flag_spec_FC
=
10538 hardcode_direct_FC
=no
10539 hardcode_direct_absolute_FC
=no
10540 hardcode_libdir_flag_spec_FC
=
10541 hardcode_libdir_flag_spec_ld_FC
=
10542 hardcode_libdir_separator_FC
=
10543 hardcode_minus_L_FC
=no
10544 hardcode_automatic_FC
=no
10545 inherit_rpath_FC
=no
10547 module_expsym_cmds_FC
=
10548 link_all_deplibs_FC
=unknown
10549 old_archive_cmds_FC
=$old_archive_cmds
10550 no_undefined_flag_FC
=
10551 whole_archive_flag_spec_FC
=
10552 enable_shared_with_static_runtimes_FC
=no
10554 # Source file extension for fc test sources.
10555 ac_ext
=${ac_fc_srcext-f}
10557 # Object file extension for compiled fc test sources.
10561 # No sense in running all these tests if we already determined that
10562 # the FC compiler isn't working. Some variables (like enable_shared)
10563 # are currently assumed to apply to all compilers on this platform,
10564 # and will be corrupted by setting them based on a non-working compiler.
10565 if test "$_lt_disable_FC" != yes; then
10566 # Code to be used in simple compile tests
10567 lt_simple_compile_test_code
="\
10573 # Code to be used in simple link tests
10574 lt_simple_link_test_code
="\
10579 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10586 # If no C compiler was specified, use CC.
10589 # If no C compiler flags were specified, use CFLAGS.
10590 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10592 # Allow CC to be a program name with arguments.
10596 # save warnings/boilerplate of simple test code
10597 ac_outfile
=conftest.
$ac_objext
10598 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10599 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10600 _lt_compiler_boilerplate
=`cat conftest.err`
10603 ac_outfile
=conftest.
$ac_objext
10604 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10605 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10606 _lt_linker_boilerplate
=`cat conftest.err`
10610 # Allow CC to be a program name with arguments.
10615 for cc_temp
in $compiler""; do
10617 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10618 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10623 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10626 if test -n "$compiler"; then
10627 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10628 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10629 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10630 echo "${ECHO_T}$can_build_shared" >&6
10632 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10633 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10634 test "$can_build_shared" = "no" && enable_shared
=no
10636 # On AIX, shared libraries and static libraries use the same namespace, and
10637 # are all built from PIC.
10640 test "$enable_shared" = yes && enable_static
=no
10641 if test -n "$RANLIB"; then
10642 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10643 postinstall_cmds
='$RANLIB $lib'
10647 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10648 test "$enable_shared" = yes && enable_static
=no
10652 echo "$as_me:$LINENO: result: $enable_shared" >&5
10653 echo "${ECHO_T}$enable_shared" >&6
10655 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10656 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10657 # Make sure either enable_shared or enable_static is yes.
10658 test "$enable_shared" = yes || enable_static
=yes
10659 echo "$as_me:$LINENO: result: $enable_static" >&5
10660 echo "${ECHO_T}$enable_static" >&6
10662 GCC_FC
="$ac_cv_fc_compiler_gnu"
10666 ## There is no encapsulation within the following macros, do not change
10667 ## the running order or otherwise move them around unless you know exactly
10668 ## what you are doing...
10669 # Dependencies to place before and after the object being linked:
10671 postdep_objects_FC
=
10674 compiler_lib_search_path_FC
=
10676 cat > conftest.
$ac_ext <<_LT_EOF
10685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10686 (eval $ac_compile) 2>&5
10688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689 (exit $ac_status); }; then
10690 # Parse the compiler output and extract the necessary
10691 # objects, libraries and library flags.
10693 # Sentinel used to keep track of whether or not we are before
10694 # the conftest object file.
10695 pre_test_object_deps_done
=no
10697 # The `*' in the case matches for architectures that use `case' in
10698 # $output_verbose_cmd can trigger glob expansion during the loop
10699 # eval without this substitution.
10700 output_verbose_link_cmd
=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10702 for p
in `eval $output_verbose_link_cmd`; do
10706 # Some compilers place space between "-{L,R}" and the path.
10707 # Remove the space.
10708 if test $p = "-L" ||
10709 test $p = "-R"; then
10716 if test "$pre_test_object_deps_done" = no
; then
10719 # Internal compiler library paths should come after those
10720 # provided the user. The postdeps already come after the
10721 # user supplied libs so there is no need to process them.
10722 if test -z "$compiler_lib_search_path_FC"; then
10723 compiler_lib_search_path_FC
="${prev}${p}"
10725 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
10728 # The "-l" case would never come before the object being
10729 # linked, so don't bother handling this case.
10732 if test -z "$postdeps_FC"; then
10733 postdeps_FC
="${prev}${p}"
10735 postdeps_FC
="${postdeps_FC} ${prev}${p}"
10741 # This assumes that the test object file only shows up
10742 # once in the compiler output.
10743 if test "$p" = "conftest.$objext"; then
10744 pre_test_object_deps_done
=yes
10748 if test "$pre_test_object_deps_done" = no
; then
10749 if test -z "$predep_objects_FC"; then
10750 predep_objects_FC
="$p"
10752 predep_objects_FC
="$predep_objects_FC $p"
10755 if test -z "$postdep_objects_FC"; then
10756 postdep_objects_FC
="$p"
10758 postdep_objects_FC
="$postdep_objects_FC $p"
10763 *) ;; # Ignore the rest.
10771 echo "libtool.m4: error: problem compiling FC test program"
10774 $RM -f confest.
$objext
10776 # PORTME: override above test on systems where it is broken
10779 case " $postdeps_FC " in
10780 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
10808 lt_prog_compiler_wl_FC
=
10809 lt_prog_compiler_pic_FC
=
10810 lt_prog_compiler_static_FC
=
10812 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10813 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10815 if test "$GCC" = yes; then
10816 lt_prog_compiler_wl_FC
='-Wl,'
10817 lt_prog_compiler_static_FC
='-static'
10821 # All AIX code is PIC.
10822 if test "$host_cpu" = ia64
; then
10823 # AIX 5 now supports IA64 processor
10824 lt_prog_compiler_static_FC
='-Bstatic'
10829 if test "$host_cpu" = m68k
; then
10830 # FIXME: we need at least 68020 code to build shared libraries, but
10831 # adding the `-m68020' flag to GCC prevents building anything better,
10833 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
10837 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10838 # PIC is the default for these OSes.
10841 mingw
* | cygwin
* | pw32
* | os2
*)
10842 # This hack is so that the source file can tell whether it is being
10843 # built for inclusion in a dll (and should export symbols for example).
10844 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10845 # (--disable-auto-import) libraries
10846 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
10849 darwin
* | rhapsody
*)
10850 # PIC is the default on this platform
10851 # Common symbols not allowed in MH_DYLIB files
10852 lt_prog_compiler_pic_FC
='-fno-common'
10856 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10857 # not for PA HP-UX.
10863 lt_prog_compiler_pic_FC
='-fPIC'
10869 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10870 # Instead, we relocate shared libraries at runtime.
10874 # Just because we use GCC doesn't mean we suddenly get shared libraries
10875 # on systems that don't support them.
10876 lt_prog_compiler_can_build_shared_FC
=no
10881 # QNX uses GNU C++, but need to define -shared option too, otherwise
10882 # it will coredump.
10883 lt_prog_compiler_pic_FC
='-fPIC -shared'
10887 if test -d /usr
/nec
; then
10888 lt_prog_compiler_pic_FC
=-Kconform_pic
10893 lt_prog_compiler_pic_FC
='-fPIC'
10897 # PORTME Check for flag to pass linker flags through the system compiler.
10900 lt_prog_compiler_wl_FC
='-Wl,'
10901 if test "$host_cpu" = ia64
; then
10902 # AIX 5 now supports IA64 processor
10903 lt_prog_compiler_static_FC
='-Bstatic'
10905 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
10909 # PIC is the default on this platform
10910 # Common symbols not allowed in MH_DYLIB files
10911 case $cc_basename in
10913 lt_prog_compiler_pic_FC
='-qnocommon'
10914 lt_prog_compiler_wl_FC
='-Wl,'
10919 mingw
* | cygwin
* | pw32
* | os2
*)
10920 # This hack is so that the source file can tell whether it is being
10921 # built for inclusion in a dll (and should export symbols for example).
10922 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
10925 hpux9
* | hpux10
* | hpux11
*)
10926 lt_prog_compiler_wl_FC
='-Wl,'
10927 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10928 # not for PA HP-UX.
10934 lt_prog_compiler_pic_FC
='+Z'
10937 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10938 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
10941 irix5
* | irix6
* | nonstopux
*)
10942 lt_prog_compiler_wl_FC
='-Wl,'
10943 # PIC (with -KPIC) is the default.
10944 lt_prog_compiler_static_FC
='-non_shared'
10947 linux
* | k
*bsd
*-gnu)
10948 case $cc_basename in
10950 lt_prog_compiler_wl_FC
='-Wl,'
10951 lt_prog_compiler_pic_FC
='-KPIC'
10952 lt_prog_compiler_static_FC
='-static'
10954 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
10955 # Portland Group compilers (*not* the Pentium gcc compiler,
10956 # which looks to be a dead project)
10957 lt_prog_compiler_wl_FC
='-Wl,'
10958 lt_prog_compiler_pic_FC
='-fpic'
10959 lt_prog_compiler_static_FC
='-Bstatic'
10962 lt_prog_compiler_wl_FC
='-Wl,'
10963 # All Alpha code is PIC.
10964 lt_prog_compiler_static_FC
='-non_shared'
10967 case `$CC -V 2>&1 | sed 5q` in
10970 lt_prog_compiler_pic_FC
='-KPIC'
10971 lt_prog_compiler_static_FC
='-Bstatic'
10972 lt_prog_compiler_wl_FC
='-Wl,'
10975 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10976 lt_prog_compiler_pic_FC
='-KPIC'
10977 lt_prog_compiler_static_FC
='-Bstatic'
10978 lt_prog_compiler_wl_FC
=''
10986 lt_prog_compiler_pic_FC
='-KPIC'
10987 lt_prog_compiler_static_FC
='-Bstatic'
10991 # QNX uses GNU C++, but need to define -shared option too, otherwise
10992 # it will coredump.
10993 lt_prog_compiler_pic_FC
='-fPIC -shared'
10996 osf3
* | osf4
* | osf5
*)
10997 lt_prog_compiler_wl_FC
='-Wl,'
10998 # All OSF/1 code is PIC.
10999 lt_prog_compiler_static_FC
='-non_shared'
11003 lt_prog_compiler_static_FC
='-non_shared'
11007 lt_prog_compiler_pic_FC
='-KPIC'
11008 lt_prog_compiler_static_FC
='-Bstatic'
11009 case $cc_basename in
11010 f77
* | f90
* | f95
*)
11011 lt_prog_compiler_wl_FC
='-Qoption ld ';;
11013 lt_prog_compiler_wl_FC
='-Wl,';;
11018 lt_prog_compiler_wl_FC
='-Qoption ld '
11019 lt_prog_compiler_pic_FC
='-PIC'
11020 lt_prog_compiler_static_FC
='-Bstatic'
11023 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11024 lt_prog_compiler_wl_FC
='-Wl,'
11025 lt_prog_compiler_pic_FC
='-KPIC'
11026 lt_prog_compiler_static_FC
='-Bstatic'
11030 if test -d /usr
/nec
;then
11031 lt_prog_compiler_pic_FC
='-Kconform_pic'
11032 lt_prog_compiler_static_FC
='-Bstatic'
11036 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11037 lt_prog_compiler_wl_FC
='-Wl,'
11038 lt_prog_compiler_pic_FC
='-KPIC'
11039 lt_prog_compiler_static_FC
='-Bstatic'
11043 lt_prog_compiler_wl_FC
='-Wl,'
11044 lt_prog_compiler_can_build_shared_FC
=no
11048 lt_prog_compiler_pic_FC
='-pic'
11049 lt_prog_compiler_static_FC
='-Bstatic'
11053 lt_prog_compiler_can_build_shared_FC
=no
11059 # For platforms which do not support PIC, -DPIC is meaningless:
11061 lt_prog_compiler_pic_FC
=
11064 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
11067 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
11068 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6
11073 # Check to make sure the PIC flag actually works.
11075 if test -n "$lt_prog_compiler_pic_FC"; then
11076 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
11077 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6
11078 if test "${lt_prog_compiler_pic_works_FC+set}" = set; then
11079 echo $ECHO_N "(cached) $ECHO_C" >&6
11081 lt_prog_compiler_pic_works_FC
=no
11082 ac_outfile
=conftest.
$ac_objext
11083 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11084 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
11085 # Insert the option either (1) after the last *FLAGS variable, or
11086 # (2) before a word containing "conftest.", or (3) at the end.
11087 # Note that $ac_compile itself does not contain backslashes and begins
11088 # with a dollar sign (not a hyphen), so the echo should work correctly.
11089 # The option is referenced via a variable to avoid confusing sed.
11090 lt_compile
=`echo "$ac_compile" | $SED \
11091 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11092 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11093 -e 's:$: $lt_compiler_flag:'`
11094 (eval echo "\"\$as_me:11094: $lt_compile\"" >&5)
11095 (eval "$lt_compile" 2>conftest.err
)
11097 cat conftest.err
>&5
11098 echo "$as_me:11098: \$? = $ac_status" >&5
11099 if (exit $ac_status) && test -s "$ac_outfile"; then
11100 # The compiler can only warn and ignore the option if not recognized
11101 # So say no if there are warnings other than the usual output.
11102 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
11103 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11104 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11105 lt_prog_compiler_pic_works_FC
=yes
11111 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_FC" >&5
11112 echo "${ECHO_T}$lt_prog_compiler_pic_works_FC" >&6
11114 if test x
"$lt_prog_compiler_pic_works_FC" = xyes
; then
11115 case $lt_prog_compiler_pic_FC in
11117 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
11120 lt_prog_compiler_pic_FC
=
11121 lt_prog_compiler_can_build_shared_FC
=no
11129 # Check to make sure the static flag actually works.
11131 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
11132 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11133 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11134 if test "${lt_prog_compiler_static_works_FC+set}" = set; then
11135 echo $ECHO_N "(cached) $ECHO_C" >&6
11137 lt_prog_compiler_static_works_FC
=no
11138 save_LDFLAGS
="$LDFLAGS"
11139 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11140 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11141 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11142 # The linker can only warn and ignore the option if not recognized
11143 # So say no if there are warnings
11144 if test -s conftest.err
; then
11145 # Append any errors to the config.log.
11146 cat conftest.err
1>&5
11147 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
11148 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11149 if diff conftest.exp conftest.er2
>/dev
/null
; then
11150 lt_prog_compiler_static_works_FC
=yes
11153 lt_prog_compiler_static_works_FC
=yes
11157 LDFLAGS
="$save_LDFLAGS"
11160 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_FC" >&5
11161 echo "${ECHO_T}$lt_prog_compiler_static_works_FC" >&6
11163 if test x
"$lt_prog_compiler_static_works_FC" = xyes
; then
11166 lt_prog_compiler_static_FC
=
11172 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11173 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11174 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11175 echo $ECHO_N "(cached) $ECHO_C" >&6
11177 lt_cv_prog_compiler_c_o_FC
=no
11178 $RM -r conftest
2>/dev
/null
11182 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11184 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11185 # Insert the option either (1) after the last *FLAGS variable, or
11186 # (2) before a word containing "conftest.", or (3) at the end.
11187 # Note that $ac_compile itself does not contain backslashes and begins
11188 # with a dollar sign (not a hyphen), so the echo should work correctly.
11189 lt_compile
=`echo "$ac_compile" | $SED \
11190 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11191 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11192 -e 's:$: $lt_compiler_flag:'`
11193 (eval echo "\"\$as_me:11193: $lt_compile\"" >&5)
11194 (eval "$lt_compile" 2>out
/conftest.err
)
11196 cat out
/conftest.err
>&5
11197 echo "$as_me:11197: \$? = $ac_status" >&5
11198 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11200 # The compiler can only warn and ignore the option if not recognized
11201 # So say no if there are warnings
11202 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11203 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11204 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11205 lt_cv_prog_compiler_c_o_FC
=yes
11210 # SGI C++ compiler will create directory out/ii_files/ for
11211 # template instantiation
11212 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11213 $RM out
/* && rmdir out
11219 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11220 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11224 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11225 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11226 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11227 echo $ECHO_N "(cached) $ECHO_C" >&6
11229 lt_cv_prog_compiler_c_o_FC
=no
11230 $RM -r conftest
2>/dev
/null
11234 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11236 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11237 # Insert the option either (1) after the last *FLAGS variable, or
11238 # (2) before a word containing "conftest.", or (3) at the end.
11239 # Note that $ac_compile itself does not contain backslashes and begins
11240 # with a dollar sign (not a hyphen), so the echo should work correctly.
11241 lt_compile
=`echo "$ac_compile" | $SED \
11242 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11243 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11244 -e 's:$: $lt_compiler_flag:'`
11245 (eval echo "\"\$as_me:11245: $lt_compile\"" >&5)
11246 (eval "$lt_compile" 2>out
/conftest.err
)
11248 cat out
/conftest.err
>&5
11249 echo "$as_me:11249: \$? = $ac_status" >&5
11250 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11252 # The compiler can only warn and ignore the option if not recognized
11253 # So say no if there are warnings
11254 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11255 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11256 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11257 lt_cv_prog_compiler_c_o_FC
=yes
11262 # SGI C++ compiler will create directory out/ii_files/ for
11263 # template instantiation
11264 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11265 $RM out
/* && rmdir out
11271 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11272 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11277 hard_links
="nottested"
11278 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
11279 # do not overwrite the value of need_locks provided by the user
11280 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11281 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11284 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11286 ln conftest.a conftest.b
2>&5 || hard_links
=no
11287 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11288 echo "$as_me:$LINENO: result: $hard_links" >&5
11289 echo "${ECHO_T}$hard_links" >&6
11290 if test "$hard_links" = no
; then
11291 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11292 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11301 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11302 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11305 allow_undefined_flag_FC
=
11306 always_export_symbols_FC
=no
11308 archive_expsym_cmds_FC
=
11309 compiler_needs_object_FC
=no
11310 enable_shared_with_static_runtimes_FC
=no
11311 export_dynamic_flag_spec_FC
=
11312 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11313 hardcode_automatic_FC
=no
11314 hardcode_direct_FC
=no
11315 hardcode_direct_absolute_FC
=no
11316 hardcode_libdir_flag_spec_FC
=
11317 hardcode_libdir_flag_spec_ld_FC
=
11318 hardcode_libdir_separator_FC
=
11319 hardcode_minus_L_FC
=no
11320 hardcode_shlibpath_var_FC
=unsupported
11321 inherit_rpath_FC
=no
11322 link_all_deplibs_FC
=unknown
11324 module_expsym_cmds_FC
=
11325 old_archive_from_new_cmds_FC
=
11326 old_archive_from_expsyms_cmds_FC
=
11327 thread_safe_flag_spec_FC
=
11328 whole_archive_flag_spec_FC
=
11329 # include_expsyms should be a list of space-separated symbols to be *always*
11330 # included in the symbol list
11331 include_expsyms_FC
=
11332 # exclude_expsyms can be an extended regexp of symbols to exclude
11333 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11334 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11335 # as well as any symbol that contains `d'.
11336 exclude_expsyms_FC
="_GLOBAL_OFFSET_TABLE_"
11337 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11338 # platforms (ab)use it in PIC code, but their linkers get confused if
11339 # the symbol is explicitly referenced. Since portable code cannot
11340 # rely on this symbol name, it's probably fine to never include it in
11341 # preloaded symbol tables.
11342 extract_expsyms_cmds
=
11345 cygwin
* | mingw
* | pw32
*)
11346 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11347 # When not using gcc, we currently assume that we are using
11348 # Microsoft Visual C++.
11349 if test "$GCC" != yes; then
11354 # we just hope/assume this is gcc and not c89 (= MSVC++)
11363 if test "$with_gnu_ld" = yes; then
11364 # If archive_cmds runs LD, not CC, wlarc should be empty
11367 # Set some defaults for GNU ld with shared library support. These
11368 # are reset later if shared libraries are not supported. Putting them
11369 # here allows them to be overridden if necessary.
11370 runpath_var
=LD_RUN_PATH
11371 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
11372 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
11373 # ancient GNU ld didn't support --whole-archive et. al.
11374 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
11375 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11377 whole_archive_flag_spec_FC
=
11379 supports_anon_versioning
=no
11380 case `$LD -v 2>&1` in
11381 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
11382 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
11383 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
11384 *\
2.11.
*) ;; # other 2.11 versions
11385 *) supports_anon_versioning
=yes ;;
11388 # See if GNU ld supports shared libraries.
11391 # On AIX/PPC, the GNU linker is very broken
11392 if test "$host_cpu" != ia64
; then
11396 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
11397 *** to be unable to reliably create shared libraries on AIX.
11398 *** Therefore, libtool is disabling shared libraries support. If you
11399 *** really care for shared libraries, you may want to modify your PATH
11400 *** so that a non-GNU linker is found, and then restart.
11407 if test "$host_cpu" = m68k
; then
11408 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)'
11409 hardcode_libdir_flag_spec_FC
='-L$libdir'
11410 hardcode_minus_L_FC
=yes
11413 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
11414 # that the semantics of dynamic libraries on AmigaOS, at least up
11415 # to version 4, is to share data among multiple programs linked
11416 # with the same dynamic library. Since this doesn't match the
11417 # behavior of shared libraries on other platforms, we can't use
11423 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11424 allow_undefined_flag_FC
=unsupported
11425 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11426 # support --undefined. This deserves some investigation. FIXME
11427 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11433 cygwin
* | mingw
* | pw32
*)
11434 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
11435 # as there is no search path for DLLs.
11436 hardcode_libdir_flag_spec_FC
='-L$libdir'
11437 allow_undefined_flag_FC
=unsupported
11438 always_export_symbols_FC
=no
11439 enable_shared_with_static_runtimes_FC
=yes
11440 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11442 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11443 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11444 # If the export-symbols file already is a .def file (1st line
11445 # is EXPORTS), use it as is; otherwise, prepend...
11446 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11447 cp $export_symbols $output_objdir/$soname.def;
11449 echo EXPORTS > $output_objdir/$soname.def;
11450 cat $export_symbols >> $output_objdir/$soname.def;
11452 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11459 hardcode_direct_FC
=no
11460 hardcode_shlibpath_var_FC
=no
11461 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
11462 export_dynamic_flag_spec_FC
='${wl}-E'
11463 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11464 # Instead, shared libraries are loaded at an image base (0x10000000 by
11465 # default) and relocated if they conflict, which is a slow very memory
11466 # consuming and fragmenting process. To avoid this, we pick a random,
11467 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11468 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11469 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'
11470 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'
11473 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
11475 if test "$host_os" = linux-dietlibc
; then
11476 case $cc_basename in
11477 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
11480 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
11481 && test "$tmp_diet" = no
11484 case $cc_basename,$host_cpu in
11485 pgcc
*) # Portland Group C compiler
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'
11489 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
11490 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'
11491 tmp_addflag
=' $pic_flag -Mnomain' ;;
11492 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
11493 tmp_addflag
=' -i_dynamic' ;;
11494 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
11495 tmp_addflag
=' -i_dynamic -nofor_main' ;;
11496 ifc
* | ifort
*) # Intel Fortran compiler
11497 tmp_addflag
=' -nofor_main' ;;
11499 case `$CC -V 2>&1 | sed 5q` in
11500 *Sun\ C
*) # Sun C 5.9
11501 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'
11502 compiler_needs_object_FC
=yes
11503 tmp_sharedflag
='-G' ;;
11504 *Sun\ F
*) # Sun Fortran 8.3
11505 tmp_sharedflag
='-G' ;;
11507 tmp_sharedflag
='-shared' ;;
11509 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11511 if test "x$supports_anon_versioning" = xyes
; then
11512 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
11513 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11514 echo "local: *; };" >> $output_objdir/$libname.ver~
11515 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11523 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11524 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11527 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11528 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11533 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
11537 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11538 *** create shared libraries on Solaris systems. Therefore, libtool
11539 *** is disabling shared libraries support. We urge you to upgrade GNU
11540 *** binutils to release 2.9.1 or newer. Another option is to modify
11541 *** your PATH or compiler configuration so that the native linker is
11542 *** used, and then restart.
11545 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11546 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11547 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11553 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11554 case `$LD -v 2>&1` in
11555 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11559 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11560 *** reliably create shared libraries on SCO systems. Therefore, libtool
11561 *** is disabling shared libraries support. We urge you to upgrade GNU
11562 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11563 *** your PATH or compiler configuration so that the native linker is
11564 *** used, and then restart.
11569 # For security reasons, it is highly recommended that you always
11570 # use absolute paths for naming shared libraries, and exclude the
11571 # DT_RUNPATH tag from executables and libraries. But doing so
11572 # requires that you compile everything twice, which is a pain.
11573 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11574 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
11575 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11576 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11585 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11587 hardcode_direct_FC
=yes
11588 hardcode_shlibpath_var_FC
=no
11592 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11593 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11594 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11601 if test "$ld_shlibs_FC" = no
; then
11603 hardcode_libdir_flag_spec_FC
=
11604 export_dynamic_flag_spec_FC
=
11605 whole_archive_flag_spec_FC
=
11608 # PORTME fill in a description of your system's linker (not GNU ld)
11611 allow_undefined_flag_FC
=unsupported
11612 always_export_symbols_FC
=yes
11613 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'
11614 # Note: this linker hardcodes the directories in LIBPATH if there
11615 # are no directories specified by -L.
11616 hardcode_minus_L_FC
=yes
11617 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11618 # Neither direct hardcoding nor static linking is supported with a
11620 hardcode_direct_FC
=unsupported
11625 if test "$host_cpu" = ia64
; then
11626 # On IA64, the linker does run time linking by default, so we don't
11627 # have to do anything special.
11628 aix_use_runtimelinking
=no
11629 exp_sym_flag
='-Bexport'
11632 # If we're using GNU nm, then we don't want the "-C" option.
11633 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11634 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
11635 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'
11637 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'
11639 aix_use_runtimelinking
=no
11641 # Test if we are trying to use run time linking or normal
11642 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11643 # need to do runtime linking.
11644 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11645 for ld_flag
in $LDFLAGS; do
11646 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
11647 aix_use_runtimelinking
=yes
11654 exp_sym_flag
='-bexport'
11655 no_entry_flag
='-bnoentry'
11658 # When large executables or shared objects are built, AIX ld can
11659 # have problems creating the table of contents. If linking a library
11660 # or program results in "error TOC overflow" add -mminimal-toc to
11661 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11662 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11665 hardcode_direct_FC
=yes
11666 hardcode_direct_absolute_FC
=yes
11667 hardcode_libdir_separator_FC
=':'
11668 link_all_deplibs_FC
=yes
11669 file_list_spec_FC
='${wl}-f,'
11671 if test "$GCC" = yes; then
11672 case $host_os in aix4.
[012]|aix4.
[012].
*)
11673 # We only want to do this on AIX 4.2 and lower, the check
11674 # below for broken collect2 doesn't work under 4.3+
11675 collect2name
=`${CC} -print-prog-name=collect2`
11676 if test -f "$collect2name" &&
11677 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11679 # We have reworked collect2
11682 # We have old collect2
11683 hardcode_direct_FC
=unsupported
11684 # It fails to find uninstalled libraries when the uninstalled
11685 # path is not listed in the libpath. Setting hardcode_minus_L
11686 # to unsupported forces relinking
11687 hardcode_minus_L_FC
=yes
11688 hardcode_libdir_flag_spec_FC
='-L$libdir'
11689 hardcode_libdir_separator_FC
=
11693 shared_flag
='-shared'
11694 if test "$aix_use_runtimelinking" = yes; then
11695 shared_flag
="$shared_flag "'${wl}-G'
11699 if test "$host_cpu" = ia64
; then
11700 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11701 # chokes on -Wl,-G. The following line is correct:
11704 if test "$aix_use_runtimelinking" = yes; then
11705 shared_flag
='${wl}-G'
11707 shared_flag
='${wl}-bM:SRE'
11712 # It seems that -bexpall does not export symbols beginning with
11713 # underscore (_), so it is better to generate a list of symbols to export.
11714 always_export_symbols_FC
=yes
11715 if test "$aix_use_runtimelinking" = yes; then
11716 # Warning - without using the other runtime loading flags (-brtl),
11717 # -berok will link without error, but may produce a broken library.
11718 allow_undefined_flag_FC
='-berok'
11719 # Determine the default libpath from the value encoded in an
11720 # empty executable.
11721 cat >conftest.
$ac_ext <<_ACEOF
11726 rm -f conftest.
$ac_objext conftest
$ac_exeext
11727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11728 (eval $ac_link) 2>conftest.er1
11730 grep -v '^ *+' conftest.er1
>conftest.err
11732 cat conftest.err
>&5
11733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734 (exit $ac_status); } &&
11735 { ac_try
='test -z "$ac_fc_werror_flag"
11736 || test ! -s conftest.err'
11737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11738 (eval $ac_try) 2>&5
11740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741 (exit $ac_status); }; } &&
11742 { ac_try
='test -s conftest$ac_exeext'
11743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11744 (eval $ac_try) 2>&5
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); }; }; then
11749 lt_aix_libpath_sed
='
11750 /Import File Strings/,/^$/ {
11756 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11757 # Check for a 64-bit object if we didn't find anything.
11758 if test -z "$aix_libpath"; then
11759 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11762 echo "$as_me: failed program was:" >&5
11763 sed 's/^/| /' conftest.
$ac_ext >&5
11766 rm -f conftest.err conftest.
$ac_objext \
11767 conftest
$ac_exeext conftest.
$ac_ext
11768 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11770 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
11771 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"
11773 if test "$host_cpu" = ia64
; then
11774 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
11775 allow_undefined_flag_FC
="-z nodefs"
11776 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"
11778 # Determine the default libpath from the value encoded in an
11779 # empty executable.
11780 cat >conftest.
$ac_ext <<_ACEOF
11785 rm -f conftest.
$ac_objext conftest
$ac_exeext
11786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11787 (eval $ac_link) 2>conftest.er1
11789 grep -v '^ *+' conftest.er1
>conftest.err
11791 cat conftest.err
>&5
11792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11793 (exit $ac_status); } &&
11794 { ac_try
='test -z "$ac_fc_werror_flag"
11795 || test ! -s conftest.err'
11796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11797 (eval $ac_try) 2>&5
11799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11800 (exit $ac_status); }; } &&
11801 { ac_try
='test -s conftest$ac_exeext'
11802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11803 (eval $ac_try) 2>&5
11805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806 (exit $ac_status); }; }; then
11808 lt_aix_libpath_sed
='
11809 /Import File Strings/,/^$/ {
11815 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11816 # Check for a 64-bit object if we didn't find anything.
11817 if test -z "$aix_libpath"; then
11818 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11821 echo "$as_me: failed program was:" >&5
11822 sed 's/^/| /' conftest.
$ac_ext >&5
11825 rm -f conftest.err conftest.
$ac_objext \
11826 conftest
$ac_exeext conftest.
$ac_ext
11827 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11829 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
11830 # Warning - without using the other run time loading flags,
11831 # -berok will link without error, but may produce a broken library.
11832 no_undefined_flag_FC
=' ${wl}-bernotok'
11833 allow_undefined_flag_FC
=' ${wl}-berok'
11834 # Exported symbols can be pulled into shared objects from archives
11835 whole_archive_flag_spec_FC
='$convenience'
11836 archive_cmds_need_lc_FC
=yes
11837 # This is similar to how AIX traditionally builds its shared libraries.
11838 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'
11844 if test "$host_cpu" = m68k
; then
11845 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)'
11846 hardcode_libdir_flag_spec_FC
='-L$libdir'
11847 hardcode_minus_L_FC
=yes
11849 # see comment about different semantics on the GNU ld section
11854 export_dynamic_flag_spec_FC
=-rdynamic
11857 cygwin
* | mingw
* | pw32
*)
11858 # When not using gcc, we currently assume that we are using
11859 # Microsoft Visual C++.
11860 # hardcode_libdir_flag_spec is actually meaningless, as there is
11861 # no search path for DLLs.
11862 hardcode_libdir_flag_spec_FC
=' '
11863 allow_undefined_flag_FC
=unsupported
11864 # Tell ltmain to make .lib files, not .a files.
11866 # Tell ltmain to make .dll files, not .so files.
11868 # FIXME: Setting linknames here is a bad hack.
11869 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
11870 # The linker will automatically build a .lib file if we build a DLL.
11871 old_archive_from_new_cmds_FC
='true'
11872 # FIXME: Should let the user specify the lib program.
11873 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11874 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
11875 enable_shared_with_static_runtimes_FC
=yes
11878 darwin
* | rhapsody
*)
11880 rhapsody
* | darwin1.
[012])
11881 allow_undefined_flag_FC
='${wl}-undefined ${wl}suppress'
11884 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11886 allow_undefined_flag_FC
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11889 allow_undefined_flag_FC
='${wl}-undefined ${wl}dynamic_lookup'
11894 archive_cmds_need_lc_FC
=no
11895 hardcode_direct_FC
=no
11896 hardcode_automatic_FC
=yes
11897 hardcode_shlibpath_var_FC
=unsupported
11898 whole_archive_flag_spec_FC
=''
11899 link_all_deplibs_FC
=yes
11900 if test "$GCC" = yes ; then
11901 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11902 echo $ECHO_N "(cached) $ECHO_C" >&6
11904 lt_cv_apple_cc_single_mod
=no
11905 if test -z "${LT_MULTI_MODULE}"; then
11906 # By default we will add the -single_module flag. You can override
11907 # by either setting the environment variable LT_MULTI_MODULE
11908 # non-empty at configure time, or by adding -multi-module to the
11910 echo "int foo(void){return 1;}" > conftest.c
11911 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11912 -dynamiclib ${wl}-single_module conftest.c
11913 if test -f libconftest.dylib
; then
11914 lt_cv_apple_cc_single_mod
=yes
11915 rm libconftest.dylib
11917 rm conftest.
$ac_ext
11921 output_verbose_link_cmd
=echo
11922 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
11923 archive_cmds_FC
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11924 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}'
11926 archive_cmds_FC
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11927 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}'
11929 module_cmds_FC
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11930 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}'
11932 case $cc_basename in
11934 output_verbose_link_cmd
=echo
11935 archive_cmds_FC
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
11936 module_cmds_FC
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11937 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11938 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}'
11939 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}'
11949 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11950 hardcode_libdir_flag_spec_FC
='-L$libdir'
11951 hardcode_shlibpath_var_FC
=no
11958 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11959 # support. Future versions do this automatically, but an explicit c++rt0.o
11960 # does not break anything, and helps significantly (at the cost of a little
11963 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11964 hardcode_libdir_flag_spec_FC
='-R$libdir'
11965 hardcode_direct_FC
=yes
11966 hardcode_shlibpath_var_FC
=no
11969 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11971 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11972 hardcode_direct_FC
=yes
11973 hardcode_minus_L_FC
=yes
11974 hardcode_shlibpath_var_FC
=no
11977 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11978 freebsd
* | dragonfly
*)
11979 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11980 hardcode_libdir_flag_spec_FC
='-R$libdir'
11981 hardcode_direct_FC
=yes
11982 hardcode_shlibpath_var_FC
=no
11986 if test "$GCC" = yes; then
11987 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'
11989 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'
11991 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
11992 hardcode_libdir_separator_FC
=:
11993 hardcode_direct_FC
=yes
11995 # hardcode_minus_L: Not really in the search PATH,
11996 # but as the default location of the library.
11997 hardcode_minus_L_FC
=yes
11998 export_dynamic_flag_spec_FC
='${wl}-E'
12002 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
12003 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12005 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12007 if test "$with_gnu_ld" = no
; then
12008 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
12009 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
12010 hardcode_libdir_separator_FC
=:
12011 hardcode_direct_FC
=yes
12012 hardcode_direct_absolute_FC
=yes
12013 export_dynamic_flag_spec_FC
='${wl}-E'
12014 # hardcode_minus_L: Not really in the search PATH,
12015 # but as the default location of the library.
12016 hardcode_minus_L_FC
=yes
12021 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
12024 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12027 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12030 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12036 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12039 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12042 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12046 if test "$with_gnu_ld" = no
; then
12047 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
12048 hardcode_libdir_separator_FC
=:
12052 hardcode_direct_FC
=no
12053 hardcode_shlibpath_var_FC
=no
12056 hardcode_direct_FC
=yes
12057 hardcode_direct_absolute_FC
=yes
12058 export_dynamic_flag_spec_FC
='${wl}-E'
12060 # hardcode_minus_L: Not really in the search PATH,
12061 # but as the default location of the library.
12062 hardcode_minus_L_FC
=yes
12068 irix5
* | irix6
* | nonstopux
*)
12069 if test "$GCC" = yes; then
12070 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'
12071 # Try to use the -exported_symbol ld option, if it does not
12072 # work, assume that -exports_file does not work either and
12073 # implicitly export all symbols.
12074 save_LDFLAGS
="$LDFLAGS"
12075 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12076 cat >conftest.
$ac_ext <<_ACEOF
12079 rm -f conftest.
$ac_objext conftest
$ac_exeext
12080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12081 (eval $ac_link) 2>conftest.er1
12083 grep -v '^ *+' conftest.er1
>conftest.err
12085 cat conftest.err
>&5
12086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087 (exit $ac_status); } &&
12088 { ac_try
='test -z "$ac_fc_werror_flag"
12089 || test ! -s conftest.err'
12090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12091 (eval $ac_try) 2>&5
12093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12094 (exit $ac_status); }; } &&
12095 { ac_try
='test -s conftest$ac_exeext'
12096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12097 (eval $ac_try) 2>&5
12099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12100 (exit $ac_status); }; }; then
12101 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'
12104 echo "$as_me: failed program was:" >&5
12105 sed 's/^/| /' conftest.
$ac_ext >&5
12108 rm -f conftest.err conftest.
$ac_objext \
12109 conftest
$ac_exeext conftest.
$ac_ext
12110 LDFLAGS
="$save_LDFLAGS"
12112 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'
12113 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'
12115 archive_cmds_need_lc_FC
='no'
12116 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12117 hardcode_libdir_separator_FC
=:
12118 inherit_rpath_FC
=yes
12119 link_all_deplibs_FC
=yes
12123 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12124 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12126 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12128 hardcode_libdir_flag_spec_FC
='-R$libdir'
12129 hardcode_direct_FC
=yes
12130 hardcode_shlibpath_var_FC
=no
12134 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12135 hardcode_direct_FC
=yes
12136 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12137 hardcode_libdir_separator_FC
=:
12138 hardcode_shlibpath_var_FC
=no
12145 hardcode_direct_FC
=yes
12146 hardcode_shlibpath_var_FC
=no
12147 hardcode_direct_absolute_FC
=yes
12148 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12149 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12150 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12151 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12152 export_dynamic_flag_spec_FC
='${wl}-E'
12155 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12156 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12157 hardcode_libdir_flag_spec_FC
='-R$libdir'
12160 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12161 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12168 hardcode_libdir_flag_spec_FC
='-L$libdir'
12169 hardcode_minus_L_FC
=yes
12170 allow_undefined_flag_FC
=unsupported
12171 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'
12172 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12176 if test "$GCC" = yes; then
12177 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
12178 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'
12180 allow_undefined_flag_FC
=' -expect_unresolved \*'
12181 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'
12183 archive_cmds_need_lc_FC
='no'
12184 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12185 hardcode_libdir_separator_FC
=:
12188 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12189 if test "$GCC" = yes; then
12190 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
12191 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'
12192 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12194 allow_undefined_flag_FC
=' -expect_unresolved \*'
12195 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'
12196 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~
12197 $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'
12199 # Both c and cxx compiler support -rpath directly
12200 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
12202 archive_cmds_need_lc_FC
='no'
12203 hardcode_libdir_separator_FC
=:
12207 no_undefined_flag_FC
=' -z defs'
12208 if test "$GCC" = yes; then
12210 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12211 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12212 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12214 case `$CC -V 2>&1` in
12217 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12218 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12219 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12223 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12224 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12225 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12229 hardcode_libdir_flag_spec_FC
='-R$libdir'
12230 hardcode_shlibpath_var_FC
=no
12232 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12234 # The compiler driver will combine and reorder linker options,
12235 # but understands `-z linker_flag'. GCC discards it without `$wl',
12236 # but is careful enough not to reorder.
12237 # Supported since Solaris 2.6 (maybe 2.5.1?)
12238 if test "$GCC" = yes; then
12239 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12241 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
12245 link_all_deplibs_FC
=yes
12249 if test "x$host_vendor" = xsequent
; then
12250 # Use $CC to link under sequent, because it throws in some extra .o
12251 # files that make .init and .fini sections work.
12252 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12254 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12256 hardcode_libdir_flag_spec_FC
='-L$libdir'
12257 hardcode_direct_FC
=yes
12258 hardcode_minus_L_FC
=yes
12259 hardcode_shlibpath_var_FC
=no
12263 case $host_vendor in
12265 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12266 hardcode_direct_FC
=yes # is this really true???
12269 ## LD is ld it makes a PLAMLIB
12270 ## CC just makes a GrossModule.
12271 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12272 reload_cmds_FC
='$CC -r -o $output$reload_objs'
12273 hardcode_direct_FC
=no
12276 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12277 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
12280 runpath_var
='LD_RUN_PATH'
12281 hardcode_shlibpath_var_FC
=no
12285 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12286 hardcode_shlibpath_var_FC
=no
12287 export_dynamic_flag_spec_FC
='-Bexport'
12291 if test -d /usr
/nec
; then
12292 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12293 hardcode_shlibpath_var_FC
=no
12294 runpath_var
=LD_RUN_PATH
12295 hardcode_runpath_var
=yes
12300 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12301 no_undefined_flag_FC
='${wl}-z,text'
12302 archive_cmds_need_lc_FC
=no
12303 hardcode_shlibpath_var_FC
=no
12304 runpath_var
='LD_RUN_PATH'
12306 if test "$GCC" = yes; then
12307 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12308 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12310 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12311 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12315 sysv5
* | sco3.2v5
* | sco5v6
*)
12316 # Note: We can NOT use -z defs as we might desire, because we do not
12317 # link with -lc, and that would cause any symbols used from libc to
12318 # always be unresolved, which means just about no library would
12319 # ever link correctly. If we're not using GNU ld we use -z text
12320 # though, which does catch some bad symbols but isn't as heavy-handed
12322 no_undefined_flag_FC
='${wl}-z,text'
12323 allow_undefined_flag_FC
='${wl}-z,nodefs'
12324 archive_cmds_need_lc_FC
=no
12325 hardcode_shlibpath_var_FC
=no
12326 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
12327 hardcode_libdir_separator_FC
=':'
12328 link_all_deplibs_FC
=yes
12329 export_dynamic_flag_spec_FC
='${wl}-Bexport'
12330 runpath_var
='LD_RUN_PATH'
12332 if test "$GCC" = yes; then
12333 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12334 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12336 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12337 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12342 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12343 hardcode_libdir_flag_spec_FC
='-L$libdir'
12344 hardcode_shlibpath_var_FC
=no
12352 if test x
$host_vendor = xsni
; then
12354 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12355 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
12361 echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
12362 echo "${ECHO_T}$ld_shlibs_FC" >&6
12363 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
12365 with_gnu_ld_FC
=$with_gnu_ld
12373 # Do we need to explicitly link libc?
12375 case "x$archive_cmds_need_lc_FC" in
12377 # Assume -lc should be added
12378 archive_cmds_need_lc_FC
=yes
12380 if test "$enable_shared" = yes && test "$GCC" = yes; then
12381 case $archive_cmds_FC in
12383 # FIXME: we may have to deal with multi-command sequences.
12386 # Test whether the compiler implicitly links with -lc since on some
12387 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12388 # to ld, don't add -lc before -lgcc.
12389 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12390 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12392 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12395 (eval $ac_compile) 2>&5
12397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12398 (exit $ac_status); } 2>conftest.err
; then
12401 libobjs
=conftest.
$ac_objext
12403 wl
=$lt_prog_compiler_wl_FC
12404 pic_flag
=$lt_prog_compiler_pic_FC
12410 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
12411 allow_undefined_flag_FC
=
12412 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12413 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416 (exit $ac_status); }
12418 archive_cmds_need_lc_FC
=no
12420 archive_cmds_need_lc_FC
=yes
12422 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
12424 cat conftest.err
1>&5
12427 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_FC" >&5
12428 echo "${ECHO_T}$archive_cmds_need_lc_FC" >&6
12498 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12499 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12500 withGCC
=$ac_cv_fc_compiler_gnu
12501 library_names_spec
=
12502 libname_spec
='lib$name'
12506 postuninstall_cmds
=
12510 shlibpath_overrides_runpath
=unknown
12512 dynamic_linker
="$host_os ld.so"
12513 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12514 need_lib_prefix
=unknown
12515 hardcode_into_libs
=no
12517 # when you set need_version to no, make sure it does not cause -set_version
12518 # flags to be left without arguments
12519 need_version
=unknown
12524 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12525 shlibpath_var
=LIBPATH
12527 # AIX 3 has no versioning support, so we append a major version to the name.
12528 soname_spec
='${libname}${release}${shared_ext}$major'
12535 hardcode_into_libs
=yes
12536 if test "$host_cpu" = ia64
; then
12537 # AIX 5 supports IA64
12538 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12539 shlibpath_var
=LD_LIBRARY_PATH
12541 # With GCC up to 2.95.x, collect2 would create an import file
12542 # for dependence libraries. The import file would start with
12543 # the line `#! .'. This would cause the generated library to
12544 # depend on `.', always an invalid library. This was fixed in
12545 # development snapshots of GCC prior to 3.0.
12547 aix4 | aix4.
[01] | aix4.
[01].
*)
12548 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12550 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
12553 can_build_shared
=no
12557 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12558 # soname into executable. Probably we can add versioning support to
12559 # collect2, so additional links can be useful in future.
12560 if test "$aix_use_runtimelinking" = yes; then
12561 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12562 # instead of lib<name>.a to let people know that these are not
12563 # typical AIX shared libraries.
12564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12566 # We preserve .a as extension for shared libraries through AIX4.2
12567 # and later when we are not doing run time linking.
12568 library_names_spec
='${libname}${release}.a $libname.a'
12569 soname_spec
='${libname}${release}${shared_ext}$major'
12571 shlibpath_var
=LIBPATH
12576 if test "$host_cpu" = m68k
; then
12577 library_names_spec
='$libname.ixlibrary $libname.a'
12578 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12579 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'
12586 library_names_spec
='${libname}${shared_ext}'
12587 dynamic_linker
="$host_os ld.so"
12588 shlibpath_var
=LIBRARY_PATH
12594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12595 soname_spec
='${libname}${release}${shared_ext}$major'
12596 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12597 shlibpath_var
=LD_LIBRARY_PATH
12598 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12599 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12600 # the default ld.so.conf also contains /usr/contrib/lib and
12601 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12602 # libtool to hard-code these into programs
12605 cygwin
* | mingw
* | pw32
*)
12606 version_type
=windows
12611 case $withGCC,$host_os in
12612 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12613 library_names_spec
='$libname.dll.a'
12614 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12615 postinstall_cmds
='base_file=`basename \${file}`~
12616 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12617 dldir=$destdir/`dirname \$dlpath`~
12618 test -d \$dldir || mkdir -p \$dldir~
12619 $install_prog $dir/$dlname \$dldir/$dlname~
12620 chmod a+x \$dldir/$dlname~
12621 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12622 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12624 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12625 dlpath=$dir/\$dldll~
12627 shlibpath_overrides_runpath
=yes
12631 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12632 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12633 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12636 # MinGW DLLs use traditional 'lib' prefix
12637 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12638 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12639 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12640 # It is most probably a Windows format PATH printed by
12641 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12642 # path with ; separators, and with drive letters. We can handle the
12643 # drive letters (cygwin fileutils understands them), so leave them,
12644 # especially as we might pass files found there to a mingw objdump,
12645 # which wouldn't understand a cygwinified path. Ahh.
12646 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12648 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12652 # pw32 DLLs use 'pw' prefix rather than 'lib'
12653 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12659 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12662 dynamic_linker
='Win32 ld.exe'
12663 # FIXME: first we should search . and the directory the executable is in
12667 darwin
* | rhapsody
*)
12668 dynamic_linker
="$host_os dyld"
12669 version_type
=darwin
12672 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12673 soname_spec
='${libname}${release}${major}$shared_ext'
12674 shlibpath_overrides_runpath
=yes
12675 shlibpath_var
=DYLD_LIBRARY_PATH
12676 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12678 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12686 soname_spec
='${libname}${release}${shared_ext}$major'
12687 shlibpath_var
=LD_LIBRARY_PATH
12694 freebsd
* | dragonfly
*)
12695 # DragonFly does not have aout. When/if they implement a new
12696 # versioning mechanism, adjust this.
12697 if test -x /usr
/bin
/objformat
; then
12698 objformat
=`/usr/bin/objformat`
12701 freebsd
[123]*) objformat
=aout
;;
12702 *) objformat
=elf
;;
12705 version_type
=freebsd-
$objformat
12706 case $version_type in
12708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12713 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12717 shlibpath_var
=LD_LIBRARY_PATH
12720 shlibpath_overrides_runpath
=yes
12722 freebsd3.
[01]* | freebsdelf3.
[01]*)
12723 shlibpath_overrides_runpath
=yes
12724 hardcode_into_libs
=yes
12726 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12727 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12728 shlibpath_overrides_runpath
=no
12729 hardcode_into_libs
=yes
12731 *) # from 4.6 on, and DragonFly
12732 shlibpath_overrides_runpath
=yes
12733 hardcode_into_libs
=yes
12742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12743 soname_spec
='${libname}${release}${shared_ext}$major'
12744 shlibpath_var
=LD_LIBRARY_PATH
12745 hardcode_into_libs
=yes
12748 hpux9
* | hpux10
* | hpux11
*)
12749 # Give a soname corresponding to the major version so that dld.sl refuses to
12750 # link against other versions.
12757 hardcode_into_libs
=yes
12758 dynamic_linker
="$host_os dld.so"
12759 shlibpath_var
=LD_LIBRARY_PATH
12760 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12762 soname_spec
='${libname}${release}${shared_ext}$major'
12763 if test "X$HPUX_IA64_MODE" = X32
; then
12764 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12766 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12768 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12772 hardcode_into_libs
=yes
12773 dynamic_linker
="$host_os dld.sl"
12774 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12775 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12777 soname_spec
='${libname}${release}${shared_ext}$major'
12778 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12779 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12783 dynamic_linker
="$host_os dld.sl"
12784 shlibpath_var
=SHLIB_PATH
12785 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12787 soname_spec
='${libname}${release}${shared_ext}$major'
12790 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12791 postinstall_cmds
='chmod 555 $lib'
12798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12799 soname_spec
='${libname}${release}${shared_ext}$major'
12800 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12801 shlibpath_var
=LD_LIBRARY_PATH
12802 shlibpath_overrides_runpath
=no
12803 hardcode_into_libs
=yes
12806 irix5
* | irix6
* | nonstopux
*)
12808 nonstopux
*) version_type
=nonstopux
;;
12810 if test "$lt_cv_prog_gnu_ld" = yes; then
12818 soname_spec
='${libname}${release}${shared_ext}$major'
12819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12821 irix5
* | nonstopux
*)
12822 libsuff
= shlibsuff
=
12825 case $LD in # libtool.m4 will add one of these switches to LD
12826 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12827 libsuff
= shlibsuff
= libmagic
=32-bit;;
12828 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12829 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12830 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12831 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12832 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12836 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12837 shlibpath_overrides_runpath
=no
12838 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12839 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12840 hardcode_into_libs
=yes
12843 # No shared lib support for Linux oldld, aout, or coff.
12844 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12848 # This must be Linux ELF.
12849 linux
* | k
*bsd
*-gnu)
12853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12854 soname_spec
='${libname}${release}${shared_ext}$major'
12855 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12856 shlibpath_var
=LD_LIBRARY_PATH
12857 shlibpath_overrides_runpath
=no
12858 # Some binutils ld are patched to set DT_RUNPATH
12859 save_LDFLAGS
=$LDFLAGS
12860 save_libdir
=$libdir
12861 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
12862 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
12863 cat >conftest.
$ac_ext <<_ACEOF
12868 rm -f conftest.
$ac_objext conftest
$ac_exeext
12869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12870 (eval $ac_link) 2>conftest.er1
12872 grep -v '^ *+' conftest.er1
>conftest.err
12874 cat conftest.err
>&5
12875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12876 (exit $ac_status); } &&
12877 { ac_try
='test -z "$ac_fc_werror_flag"
12878 || test ! -s conftest.err'
12879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12880 (eval $ac_try) 2>&5
12882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12883 (exit $ac_status); }; } &&
12884 { ac_try
='test -s conftest$ac_exeext'
12885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12886 (eval $ac_try) 2>&5
12888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12889 (exit $ac_status); }; }; then
12890 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
12891 shlibpath_overrides_runpath
=yes
12895 echo "$as_me: failed program was:" >&5
12896 sed 's/^/| /' conftest.
$ac_ext >&5
12899 rm -f conftest.err conftest.
$ac_objext \
12900 conftest
$ac_exeext conftest.
$ac_ext
12901 LDFLAGS
=$save_LDFLAGS
12902 libdir
=$save_libdir
12904 # This implies no fast_install, which is unacceptable.
12905 # Some rework will be needed to allow for fast_install
12906 # before this can be enabled.
12907 hardcode_into_libs
=yes
12909 # Append ld.so.conf contents to the search path
12910 if test -f /etc
/ld.so.conf
; then
12911 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' ' '`
12912 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12915 # We used to test for /lib/ld.so.1 and disable shared libraries on
12916 # powerpc, because MkLinux only supported shared libraries with the
12917 # GNU dynamic linker. Since this was broken with cross compilers,
12918 # most powerpc-linux boxes support dynamic linking these days and
12919 # people can always --disable-shared, the test was removed, and we
12920 # assume the GNU/Linux dynamic linker is in use.
12921 dynamic_linker
='GNU/Linux ld.so'
12928 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12930 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12931 dynamic_linker
='NetBSD (a.out) ld.so'
12933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12934 soname_spec
='${libname}${release}${shared_ext}$major'
12935 dynamic_linker
='NetBSD ld.elf_so'
12937 shlibpath_var
=LD_LIBRARY_PATH
12938 shlibpath_overrides_runpath
=yes
12939 hardcode_into_libs
=yes
12944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12945 shlibpath_var
=LD_LIBRARY_PATH
12946 shlibpath_overrides_runpath
=yes
12953 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12954 soname_spec
='${libname}${release}${shared_ext}$major'
12955 shlibpath_var
=LD_LIBRARY_PATH
12956 shlibpath_overrides_runpath
=no
12957 hardcode_into_libs
=yes
12958 dynamic_linker
='ldqnx.so'
12963 sys_lib_dlsearch_path_spec
="/usr/lib"
12965 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12967 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12968 *) need_version
=no
;;
12970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12971 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12972 shlibpath_var
=LD_LIBRARY_PATH
12973 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12975 openbsd2.
[89] | openbsd2.
[89].
*)
12976 shlibpath_overrides_runpath
=no
12979 shlibpath_overrides_runpath
=yes
12983 shlibpath_overrides_runpath
=yes
12988 libname_spec
='$name'
12991 library_names_spec
='$libname${shared_ext} $libname.a'
12992 dynamic_linker
='OS/2 ld.exe'
12993 shlibpath_var
=LIBPATH
12996 osf3
* | osf4
* | osf5
*)
13000 soname_spec
='${libname}${release}${shared_ext}$major'
13001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13002 shlibpath_var
=LD_LIBRARY_PATH
13003 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13004 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13015 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13016 soname_spec
='${libname}${release}${shared_ext}$major'
13017 shlibpath_var
=LD_LIBRARY_PATH
13018 shlibpath_overrides_runpath
=yes
13019 hardcode_into_libs
=yes
13020 # ldd complains unless libraries are executable
13021 postinstall_cmds
='chmod +x $lib'
13026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13027 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13028 shlibpath_var
=LD_LIBRARY_PATH
13029 shlibpath_overrides_runpath
=yes
13030 if test "$with_gnu_ld" = yes; then
13038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13039 soname_spec
='${libname}${release}${shared_ext}$major'
13040 shlibpath_var
=LD_LIBRARY_PATH
13041 case $host_vendor in
13043 shlibpath_overrides_runpath
=no
13045 runpath_var
=LD_RUN_PATH
13053 shlibpath_overrides_runpath
=no
13054 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13060 if test -d /usr
/nec
;then
13062 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13063 soname_spec
='$libname${shared_ext}.$major'
13064 shlibpath_var
=LD_LIBRARY_PATH
13068 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13069 version_type
=freebsd-elf
13072 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13073 soname_spec
='${libname}${release}${shared_ext}$major'
13074 shlibpath_var
=LD_LIBRARY_PATH
13075 shlibpath_overrides_runpath
=yes
13076 hardcode_into_libs
=yes
13077 if test "$with_gnu_ld" = yes; then
13078 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13080 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13083 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13087 sys_lib_dlsearch_path_spec
='/usr/lib'
13091 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13095 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13096 shlibpath_var
=LD_LIBRARY_PATH
13097 shlibpath_overrides_runpath
=no
13098 hardcode_into_libs
=yes
13103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13104 soname_spec
='${libname}${release}${shared_ext}$major'
13105 shlibpath_var
=LD_LIBRARY_PATH
13112 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13113 echo "${ECHO_T}$dynamic_linker" >&6
13114 test "$dynamic_linker" = no
&& can_build_shared
=no
13116 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13117 if test "$GCC" = yes; then
13118 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13156 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13157 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13158 hardcode_action_FC
=
13159 if test -n "$hardcode_libdir_flag_spec_FC" ||
13160 test -n "$runpath_var_FC" ||
13161 test "X$hardcode_automatic_FC" = "Xyes" ; then
13163 # We can hardcode non-existent directories.
13164 if test "$hardcode_direct_FC" != no
&&
13165 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13166 # have to relink, otherwise we might link with an installed library
13167 # when we should be linking with a yet-to-be-installed one
13168 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
13169 test "$hardcode_minus_L_FC" != no
; then
13170 # Linking always hardcodes the temporary library directory.
13171 hardcode_action_FC
=relink
13173 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13174 hardcode_action_FC
=immediate
13177 # We cannot hardcode anything, or else we can only hardcode existing
13179 hardcode_action_FC
=unsupported
13181 echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
13182 echo "${ECHO_T}$hardcode_action_FC" >&6
13184 if test "$hardcode_action_FC" = relink ||
13185 test "$inherit_rpath_FC" = yes; then
13186 # Fast installation is not supported
13187 enable_fast_install
=no
13188 elif test "$shlibpath_overrides_runpath" = yes ||
13189 test "$enable_shared" = no
; then
13190 # Fast installation is not necessary
13191 enable_fast_install
=needless
13200 fi # test -n "$compiler"
13203 fi # test "$_lt_disable_FC" != yes
13206 ac_cpp
='$CPP $CPPFLAGS'
13207 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13208 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13209 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13212 FCFLAGS
="$FCFLAGS -Wall"
13214 # For libtool versioning info, format is CURRENT:REVISION:AGE
13215 libtool_VERSION
=1:0:0
13218 # Check header files.
13219 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13220 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13221 if test "${ac_cv_header_stdc+set}" = set; then
13222 echo $ECHO_N "(cached) $ECHO_C" >&6
13224 cat >conftest.
$ac_ext <<_ACEOF
13227 cat confdefs.h
>>conftest.
$ac_ext
13228 cat >>conftest.
$ac_ext <<_ACEOF
13229 /* end confdefs.h. */
13230 #include <stdlib.h>
13231 #include <stdarg.h>
13232 #include <string.h>
13243 rm -f conftest.
$ac_objext
13244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13245 (eval $ac_compile) 2>conftest.er1
13247 grep -v '^ *+' conftest.er1
>conftest.err
13249 cat conftest.err
>&5
13250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251 (exit $ac_status); } &&
13252 { ac_try
='test -z "$ac_c_werror_flag"
13253 || test ! -s conftest.err'
13254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13255 (eval $ac_try) 2>&5
13257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13258 (exit $ac_status); }; } &&
13259 { ac_try
='test -s conftest.$ac_objext'
13260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13261 (eval $ac_try) 2>&5
13263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 (exit $ac_status); }; }; then
13265 ac_cv_header_stdc
=yes
13267 echo "$as_me: failed program was:" >&5
13268 sed 's/^/| /' conftest.
$ac_ext >&5
13270 ac_cv_header_stdc
=no
13272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13274 if test $ac_cv_header_stdc = yes; then
13275 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13276 cat >conftest.
$ac_ext <<_ACEOF
13279 cat confdefs.h
>>conftest.
$ac_ext
13280 cat >>conftest.
$ac_ext <<_ACEOF
13281 /* end confdefs.h. */
13282 #include <string.h>
13285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13286 $EGREP "memchr" >/dev
/null
2>&1; then
13289 ac_cv_header_stdc
=no
13295 if test $ac_cv_header_stdc = yes; then
13296 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13297 cat >conftest.
$ac_ext <<_ACEOF
13300 cat confdefs.h
>>conftest.
$ac_ext
13301 cat >>conftest.
$ac_ext <<_ACEOF
13302 /* end confdefs.h. */
13303 #include <stdlib.h>
13306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13307 $EGREP "free" >/dev
/null
2>&1; then
13310 ac_cv_header_stdc
=no
13316 if test $ac_cv_header_stdc = yes; then
13317 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13318 if test "$cross_compiling" = yes; then
13321 cat >conftest.
$ac_ext <<_ACEOF
13324 cat confdefs.h
>>conftest.
$ac_ext
13325 cat >>conftest.
$ac_ext <<_ACEOF
13326 /* end confdefs.h. */
13328 #if ((' ' & 0x0FF) == 0x020)
13329 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13330 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13332 # define ISLOWER(c) \
13333 (('a' <= (c) && (c) <= 'i') \
13334 || ('j' <= (c) && (c) <= 'r') \
13335 || ('s' <= (c) && (c) <= 'z'))
13336 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13339 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13344 for (i = 0; i < 256; i++)
13345 if (XOR (islower (i), ISLOWER (i))
13346 || toupper (i) != TOUPPER (i))
13351 rm -f conftest
$ac_exeext
13352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13353 (eval $ac_link) 2>&5
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13358 (eval $ac_try) 2>&5
13360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); }; }; then
13364 echo "$as_me: program exited with status $ac_status" >&5
13365 echo "$as_me: failed program was:" >&5
13366 sed 's/^/| /' conftest.
$ac_ext >&5
13368 ( exit $ac_status )
13369 ac_cv_header_stdc
=no
13371 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13375 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13376 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13377 if test $ac_cv_header_stdc = yes; then
13379 cat >>confdefs.h
<<\_ACEOF
13380 #define STDC_HEADERS 1
13385 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
13386 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
13387 if test "${ac_cv_header_time+set}" = set; then
13388 echo $ECHO_N "(cached) $ECHO_C" >&6
13390 cat >conftest.
$ac_ext <<_ACEOF
13393 cat confdefs.h
>>conftest.
$ac_ext
13394 cat >>conftest.
$ac_ext <<_ACEOF
13395 /* end confdefs.h. */
13396 #include <sys/types.h>
13397 #include <sys/time.h>
13403 if ((struct tm *) 0)
13409 rm -f conftest.
$ac_objext
13410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13411 (eval $ac_compile) 2>conftest.er1
13413 grep -v '^ *+' conftest.er1
>conftest.err
13415 cat conftest.err
>&5
13416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13417 (exit $ac_status); } &&
13418 { ac_try
='test -z "$ac_c_werror_flag"
13419 || test ! -s conftest.err'
13420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13421 (eval $ac_try) 2>&5
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); }; } &&
13425 { ac_try
='test -s conftest.$ac_objext'
13426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13427 (eval $ac_try) 2>&5
13429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13430 (exit $ac_status); }; }; then
13431 ac_cv_header_time
=yes
13433 echo "$as_me: failed program was:" >&5
13434 sed 's/^/| /' conftest.
$ac_ext >&5
13436 ac_cv_header_time
=no
13438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13440 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
13441 echo "${ECHO_T}$ac_cv_header_time" >&6
13442 if test $ac_cv_header_time = yes; then
13444 cat >>confdefs.h
<<\_ACEOF
13445 #define TIME_WITH_SYS_TIME 1
13450 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
13451 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
13452 if test "${gcc_cv_header_string+set}" = set; then
13453 echo $ECHO_N "(cached) $ECHO_C" >&6
13455 cat >conftest.
$ac_ext <<_ACEOF
13458 cat confdefs.h
>>conftest.
$ac_ext
13459 cat >>conftest.
$ac_ext <<_ACEOF
13460 /* end confdefs.h. */
13461 #include <string.h>
13462 #include <strings.h>
13471 rm -f conftest.
$ac_objext
13472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13473 (eval $ac_compile) 2>conftest.er1
13475 grep -v '^ *+' conftest.er1
>conftest.err
13477 cat conftest.err
>&5
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); } &&
13480 { ac_try
='test -z "$ac_c_werror_flag"
13481 || test ! -s conftest.err'
13482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13483 (eval $ac_try) 2>&5
13485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13486 (exit $ac_status); }; } &&
13487 { ac_try
='test -s conftest.$ac_objext'
13488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13489 (eval $ac_try) 2>&5
13491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492 (exit $ac_status); }; }; then
13493 gcc_cv_header_string
=yes
13495 echo "$as_me: failed program was:" >&5
13496 sed 's/^/| /' conftest.
$ac_ext >&5
13498 gcc_cv_header_string
=no
13500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13502 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
13503 echo "${ECHO_T}$gcc_cv_header_string" >&6
13504 if test $gcc_cv_header_string = yes; then
13506 cat >>confdefs.h
<<\_ACEOF
13507 #define STRING_WITH_STRINGS 1
13516 for ac_header
in unistd.h semaphore.h sys
/loadavg.h sys
/time.h
13518 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13520 echo "$as_me:$LINENO: checking for $ac_header" >&5
13521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13523 echo $ECHO_N "(cached) $ECHO_C" >&6
13525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13526 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13528 # Is the header compilable?
13529 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13530 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13531 cat >conftest.
$ac_ext <<_ACEOF
13534 cat confdefs.h
>>conftest.
$ac_ext
13535 cat >>conftest.
$ac_ext <<_ACEOF
13536 /* end confdefs.h. */
13537 $ac_includes_default
13538 #include <$ac_header>
13540 rm -f conftest.
$ac_objext
13541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13542 (eval $ac_compile) 2>conftest.er1
13544 grep -v '^ *+' conftest.er1
>conftest.err
13546 cat conftest.err
>&5
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); } &&
13549 { ac_try
='test -z "$ac_c_werror_flag"
13550 || test ! -s conftest.err'
13551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13552 (eval $ac_try) 2>&5
13554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13555 (exit $ac_status); }; } &&
13556 { ac_try
='test -s conftest.$ac_objext'
13557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13558 (eval $ac_try) 2>&5
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); }; }; then
13562 ac_header_compiler
=yes
13564 echo "$as_me: failed program was:" >&5
13565 sed 's/^/| /' conftest.
$ac_ext >&5
13567 ac_header_compiler
=no
13569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13570 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13571 echo "${ECHO_T}$ac_header_compiler" >&6
13573 # Is the header present?
13574 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13575 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13576 cat >conftest.
$ac_ext <<_ACEOF
13579 cat confdefs.h
>>conftest.
$ac_ext
13580 cat >>conftest.
$ac_ext <<_ACEOF
13581 /* end confdefs.h. */
13582 #include <$ac_header>
13584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13585 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13587 grep -v '^ *+' conftest.er1
>conftest.err
13589 cat conftest.err
>&5
13590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591 (exit $ac_status); } >/dev
/null
; then
13592 if test -s conftest.err
; then
13593 ac_cpp_err
=$ac_c_preproc_warn_flag
13594 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13601 if test -z "$ac_cpp_err"; then
13602 ac_header_preproc
=yes
13604 echo "$as_me: failed program was:" >&5
13605 sed 's/^/| /' conftest.
$ac_ext >&5
13607 ac_header_preproc
=no
13609 rm -f conftest.err conftest.
$ac_ext
13610 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13611 echo "${ECHO_T}$ac_header_preproc" >&6
13613 # So? What about this header?
13614 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13616 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13617 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13618 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13619 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13620 ac_header_preproc
=yes
13623 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13624 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13625 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13626 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13627 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13628 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13629 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13630 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13632 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13633 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13634 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13637 ## ----------------------------------------------------- ##
13638 ## Report this to the GNU OpenMP Runtime Library lists. ##
13639 ## ----------------------------------------------------- ##
13642 sed "s/^/$as_me: WARNING: /" >&2
13645 echo "$as_me:$LINENO: checking for $ac_header" >&5
13646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13648 echo $ECHO_N "(cached) $ECHO_C" >&6
13650 eval "$as_ac_Header=\$ac_header_preproc"
13652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13653 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13657 cat >>confdefs.h
<<_ACEOF
13658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13668 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
13670 acx_cv_header_stdint
=stddef.h
13671 acx_cv_header_stdint_kind
="(already complete)"
13672 for i
in stdint.h
$inttype_headers; do
13673 unset ac_cv_type_uintptr_t
13674 unset ac_cv_type_uintmax_t
13675 unset ac_cv_type_int_least32_t
13676 unset ac_cv_type_int_fast32_t
13677 unset ac_cv_type_uint64_t
13678 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
13679 echo "$as_me:$LINENO: checking for uintmax_t" >&5
13680 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
13681 if test "${ac_cv_type_uintmax_t+set}" = set; then
13682 echo $ECHO_N "(cached) $ECHO_C" >&6
13684 cat >conftest.
$ac_ext <<_ACEOF
13687 cat confdefs.h
>>conftest.
$ac_ext
13688 cat >>conftest.
$ac_ext <<_ACEOF
13689 /* end confdefs.h. */
13690 #include <sys/types.h>
13696 if ((uintmax_t *) 0)
13698 if (sizeof (uintmax_t))
13704 rm -f conftest.
$ac_objext
13705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13706 (eval $ac_compile) 2>conftest.er1
13708 grep -v '^ *+' conftest.er1
>conftest.err
13710 cat conftest.err
>&5
13711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 (exit $ac_status); } &&
13713 { ac_try
='test -z "$ac_c_werror_flag"
13714 || test ! -s conftest.err'
13715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13716 (eval $ac_try) 2>&5
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); }; } &&
13720 { ac_try
='test -s conftest.$ac_objext'
13721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13722 (eval $ac_try) 2>&5
13724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13725 (exit $ac_status); }; }; then
13726 ac_cv_type_uintmax_t
=yes
13728 echo "$as_me: failed program was:" >&5
13729 sed 's/^/| /' conftest.
$ac_ext >&5
13731 ac_cv_type_uintmax_t
=no
13733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13735 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
13736 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
13737 if test $ac_cv_type_uintmax_t = yes; then
13738 acx_cv_header_stdint
=$i
13743 echo "$as_me:$LINENO: checking for uintptr_t" >&5
13744 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
13745 if test "${ac_cv_type_uintptr_t+set}" = set; then
13746 echo $ECHO_N "(cached) $ECHO_C" >&6
13748 cat >conftest.
$ac_ext <<_ACEOF
13751 cat confdefs.h
>>conftest.
$ac_ext
13752 cat >>conftest.
$ac_ext <<_ACEOF
13753 /* end confdefs.h. */
13754 #include <sys/types.h>
13760 if ((uintptr_t *) 0)
13762 if (sizeof (uintptr_t))
13768 rm -f conftest.
$ac_objext
13769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13770 (eval $ac_compile) 2>conftest.er1
13772 grep -v '^ *+' conftest.er1
>conftest.err
13774 cat conftest.err
>&5
13775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13776 (exit $ac_status); } &&
13777 { ac_try
='test -z "$ac_c_werror_flag"
13778 || test ! -s conftest.err'
13779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13780 (eval $ac_try) 2>&5
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 (exit $ac_status); }; } &&
13784 { ac_try
='test -s conftest.$ac_objext'
13785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13786 (eval $ac_try) 2>&5
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); }; }; then
13790 ac_cv_type_uintptr_t
=yes
13792 echo "$as_me: failed program was:" >&5
13793 sed 's/^/| /' conftest.
$ac_ext >&5
13795 ac_cv_type_uintptr_t
=no
13797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13799 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
13800 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
13801 if test $ac_cv_type_uintptr_t = yes; then
13804 acx_cv_header_stdint_kind
="(mostly complete)"
13807 echo "$as_me:$LINENO: checking for int_least32_t" >&5
13808 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
13809 if test "${ac_cv_type_int_least32_t+set}" = set; then
13810 echo $ECHO_N "(cached) $ECHO_C" >&6
13812 cat >conftest.
$ac_ext <<_ACEOF
13815 cat confdefs.h
>>conftest.
$ac_ext
13816 cat >>conftest.
$ac_ext <<_ACEOF
13817 /* end confdefs.h. */
13818 #include <sys/types.h>
13824 if ((int_least32_t *) 0)
13826 if (sizeof (int_least32_t))
13832 rm -f conftest.
$ac_objext
13833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13834 (eval $ac_compile) 2>conftest.er1
13836 grep -v '^ *+' conftest.er1
>conftest.err
13838 cat conftest.err
>&5
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); } &&
13841 { ac_try
='test -z "$ac_c_werror_flag"
13842 || test ! -s conftest.err'
13843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13844 (eval $ac_try) 2>&5
13846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847 (exit $ac_status); }; } &&
13848 { ac_try
='test -s conftest.$ac_objext'
13849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13850 (eval $ac_try) 2>&5
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 (exit $ac_status); }; }; then
13854 ac_cv_type_int_least32_t
=yes
13856 echo "$as_me: failed program was:" >&5
13857 sed 's/^/| /' conftest.
$ac_ext >&5
13859 ac_cv_type_int_least32_t
=no
13861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13863 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
13864 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
13865 if test $ac_cv_type_int_least32_t = yes; then
13868 acx_cv_header_stdint_kind
="(mostly complete)"
13871 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
13872 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
13873 if test "${ac_cv_type_int_fast32_t+set}" = set; then
13874 echo $ECHO_N "(cached) $ECHO_C" >&6
13876 cat >conftest.
$ac_ext <<_ACEOF
13879 cat confdefs.h
>>conftest.
$ac_ext
13880 cat >>conftest.
$ac_ext <<_ACEOF
13881 /* end confdefs.h. */
13882 #include <sys/types.h>
13888 if ((int_fast32_t *) 0)
13890 if (sizeof (int_fast32_t))
13896 rm -f conftest.
$ac_objext
13897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13898 (eval $ac_compile) 2>conftest.er1
13900 grep -v '^ *+' conftest.er1
>conftest.err
13902 cat conftest.err
>&5
13903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13904 (exit $ac_status); } &&
13905 { ac_try
='test -z "$ac_c_werror_flag"
13906 || test ! -s conftest.err'
13907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13908 (eval $ac_try) 2>&5
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); }; } &&
13912 { ac_try
='test -s conftest.$ac_objext'
13913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13914 (eval $ac_try) 2>&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); }; }; then
13918 ac_cv_type_int_fast32_t
=yes
13920 echo "$as_me: failed program was:" >&5
13921 sed 's/^/| /' conftest.
$ac_ext >&5
13923 ac_cv_type_int_fast32_t
=no
13925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13927 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
13928 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
13929 if test $ac_cv_type_int_fast32_t = yes; then
13932 acx_cv_header_stdint_kind
="(mostly complete)"
13935 echo "$as_me:$LINENO: checking for uint64_t" >&5
13936 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
13937 if test "${ac_cv_type_uint64_t+set}" = set; then
13938 echo $ECHO_N "(cached) $ECHO_C" >&6
13940 cat >conftest.
$ac_ext <<_ACEOF
13943 cat confdefs.h
>>conftest.
$ac_ext
13944 cat >>conftest.
$ac_ext <<_ACEOF
13945 /* end confdefs.h. */
13946 #include <sys/types.h>
13952 if ((uint64_t *) 0)
13954 if (sizeof (uint64_t))
13960 rm -f conftest.
$ac_objext
13961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13962 (eval $ac_compile) 2>conftest.er1
13964 grep -v '^ *+' conftest.er1
>conftest.err
13966 cat conftest.err
>&5
13967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13968 (exit $ac_status); } &&
13969 { ac_try
='test -z "$ac_c_werror_flag"
13970 || test ! -s conftest.err'
13971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13972 (eval $ac_try) 2>&5
13974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975 (exit $ac_status); }; } &&
13976 { ac_try
='test -s conftest.$ac_objext'
13977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13978 (eval $ac_try) 2>&5
13980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981 (exit $ac_status); }; }; then
13982 ac_cv_type_uint64_t
=yes
13984 echo "$as_me: failed program was:" >&5
13985 sed 's/^/| /' conftest.
$ac_ext >&5
13987 ac_cv_type_uint64_t
=no
13989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13991 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
13992 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
13993 if test $ac_cv_type_uint64_t = yes; then
13996 acx_cv_header_stdint_kind
="(lacks uint64_t)"
14001 if test "$acx_cv_header_stdint" = stddef.h
; then
14002 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
14003 for i
in stdint.h
$inttype_headers; do
14004 unset ac_cv_type_uintptr_t
14005 unset ac_cv_type_uint32_t
14006 unset ac_cv_type_uint64_t
14007 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
14008 echo "$as_me:$LINENO: checking for uint32_t" >&5
14009 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
14010 if test "${ac_cv_type_uint32_t+set}" = set; then
14011 echo $ECHO_N "(cached) $ECHO_C" >&6
14013 cat >conftest.
$ac_ext <<_ACEOF
14016 cat confdefs.h
>>conftest.
$ac_ext
14017 cat >>conftest.
$ac_ext <<_ACEOF
14018 /* end confdefs.h. */
14019 #include <sys/types.h>
14025 if ((uint32_t *) 0)
14027 if (sizeof (uint32_t))
14033 rm -f conftest.
$ac_objext
14034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14035 (eval $ac_compile) 2>conftest.er1
14037 grep -v '^ *+' conftest.er1
>conftest.err
14039 cat conftest.err
>&5
14040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14041 (exit $ac_status); } &&
14042 { ac_try
='test -z "$ac_c_werror_flag"
14043 || test ! -s conftest.err'
14044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14045 (eval $ac_try) 2>&5
14047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14048 (exit $ac_status); }; } &&
14049 { ac_try
='test -s conftest.$ac_objext'
14050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14051 (eval $ac_try) 2>&5
14053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14054 (exit $ac_status); }; }; then
14055 ac_cv_type_uint32_t
=yes
14057 echo "$as_me: failed program was:" >&5
14058 sed 's/^/| /' conftest.
$ac_ext >&5
14060 ac_cv_type_uint32_t
=no
14062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14064 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
14065 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
14066 if test $ac_cv_type_uint32_t = yes; then
14067 acx_cv_header_stdint
=$i
14072 echo "$as_me:$LINENO: checking for uint64_t" >&5
14073 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
14074 if test "${ac_cv_type_uint64_t+set}" = set; then
14075 echo $ECHO_N "(cached) $ECHO_C" >&6
14077 cat >conftest.
$ac_ext <<_ACEOF
14080 cat confdefs.h
>>conftest.
$ac_ext
14081 cat >>conftest.
$ac_ext <<_ACEOF
14082 /* end confdefs.h. */
14083 #include <sys/types.h>
14089 if ((uint64_t *) 0)
14091 if (sizeof (uint64_t))
14097 rm -f conftest.
$ac_objext
14098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14099 (eval $ac_compile) 2>conftest.er1
14101 grep -v '^ *+' conftest.er1
>conftest.err
14103 cat conftest.err
>&5
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); } &&
14106 { ac_try
='test -z "$ac_c_werror_flag"
14107 || test ! -s conftest.err'
14108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14109 (eval $ac_try) 2>&5
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); }; } &&
14113 { ac_try
='test -s conftest.$ac_objext'
14114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14115 (eval $ac_try) 2>&5
14117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118 (exit $ac_status); }; }; then
14119 ac_cv_type_uint64_t
=yes
14121 echo "$as_me: failed program was:" >&5
14122 sed 's/^/| /' conftest.
$ac_ext >&5
14124 ac_cv_type_uint64_t
=no
14126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14128 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
14129 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
14131 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14132 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14133 if test "${ac_cv_type_uintptr_t+set}" = set; then
14134 echo $ECHO_N "(cached) $ECHO_C" >&6
14136 cat >conftest.
$ac_ext <<_ACEOF
14139 cat confdefs.h
>>conftest.
$ac_ext
14140 cat >>conftest.
$ac_ext <<_ACEOF
14141 /* end confdefs.h. */
14142 #include <sys/types.h>
14148 if ((uintptr_t *) 0)
14150 if (sizeof (uintptr_t))
14156 rm -f conftest.
$ac_objext
14157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14158 (eval $ac_compile) 2>conftest.er1
14160 grep -v '^ *+' conftest.er1
>conftest.err
14162 cat conftest.err
>&5
14163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14164 (exit $ac_status); } &&
14165 { ac_try
='test -z "$ac_c_werror_flag"
14166 || test ! -s conftest.err'
14167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14168 (eval $ac_try) 2>&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); }; } &&
14172 { ac_try
='test -s conftest.$ac_objext'
14173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14174 (eval $ac_try) 2>&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }; }; then
14178 ac_cv_type_uintptr_t
=yes
14180 echo "$as_me: failed program was:" >&5
14181 sed 's/^/| /' conftest.
$ac_ext >&5
14183 ac_cv_type_uintptr_t
=no
14185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14187 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14188 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14193 if test "$acx_cv_header_stdint" = stddef.h
; then
14194 acx_cv_header_stdint_kind
="(u_intXX_t style)"
14195 for i
in sys
/types.h
$inttype_headers; do
14196 unset ac_cv_type_u_int32_t
14197 unset ac_cv_type_u_int64_t
14198 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
14199 echo "$as_me:$LINENO: checking for u_int32_t" >&5
14200 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
14201 if test "${ac_cv_type_u_int32_t+set}" = set; then
14202 echo $ECHO_N "(cached) $ECHO_C" >&6
14204 cat >conftest.
$ac_ext <<_ACEOF
14207 cat confdefs.h
>>conftest.
$ac_ext
14208 cat >>conftest.
$ac_ext <<_ACEOF
14209 /* end confdefs.h. */
14210 #include <sys/types.h>
14216 if ((u_int32_t *) 0)
14218 if (sizeof (u_int32_t))
14224 rm -f conftest.
$ac_objext
14225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14226 (eval $ac_compile) 2>conftest.er1
14228 grep -v '^ *+' conftest.er1
>conftest.err
14230 cat conftest.err
>&5
14231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14232 (exit $ac_status); } &&
14233 { ac_try
='test -z "$ac_c_werror_flag"
14234 || test ! -s conftest.err'
14235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14236 (eval $ac_try) 2>&5
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); }; } &&
14240 { ac_try
='test -s conftest.$ac_objext'
14241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14242 (eval $ac_try) 2>&5
14244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14245 (exit $ac_status); }; }; then
14246 ac_cv_type_u_int32_t
=yes
14248 echo "$as_me: failed program was:" >&5
14249 sed 's/^/| /' conftest.
$ac_ext >&5
14251 ac_cv_type_u_int32_t
=no
14253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14255 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
14256 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
14257 if test $ac_cv_type_u_int32_t = yes; then
14258 acx_cv_header_stdint
=$i
14263 echo "$as_me:$LINENO: checking for u_int64_t" >&5
14264 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
14265 if test "${ac_cv_type_u_int64_t+set}" = set; then
14266 echo $ECHO_N "(cached) $ECHO_C" >&6
14268 cat >conftest.
$ac_ext <<_ACEOF
14271 cat confdefs.h
>>conftest.
$ac_ext
14272 cat >>conftest.
$ac_ext <<_ACEOF
14273 /* end confdefs.h. */
14274 #include <sys/types.h>
14280 if ((u_int64_t *) 0)
14282 if (sizeof (u_int64_t))
14288 rm -f conftest.
$ac_objext
14289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14290 (eval $ac_compile) 2>conftest.er1
14292 grep -v '^ *+' conftest.er1
>conftest.err
14294 cat conftest.err
>&5
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); } &&
14297 { ac_try
='test -z "$ac_c_werror_flag"
14298 || test ! -s conftest.err'
14299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14300 (eval $ac_try) 2>&5
14302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14303 (exit $ac_status); }; } &&
14304 { ac_try
='test -s conftest.$ac_objext'
14305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14306 (eval $ac_try) 2>&5
14308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14309 (exit $ac_status); }; }; then
14310 ac_cv_type_u_int64_t
=yes
14312 echo "$as_me: failed program was:" >&5
14313 sed 's/^/| /' conftest.
$ac_ext >&5
14315 ac_cv_type_u_int64_t
=no
14317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14319 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
14320 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
14325 if test "$acx_cv_header_stdint" = stddef.h
; then
14326 acx_cv_header_stdint_kind
="(using manual detection)"
14329 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
14330 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
14331 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
14332 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
14333 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
14335 # ----------------- Summarize what we found so far
14337 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
14338 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
14340 case `$as_basename gstdint.h ||
14341 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
14342 Xgstdint.h : 'X\(//\)$' \| \
14343 Xgstdint.h : 'X\(/\)$' \| \
14344 . : '\(.\)' 2>/dev/null ||
14346 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14347 /^X\/\(\/\/\)$/{ s//\1/; q; }
14348 /^X\/\(\/\).*/{ s//\1/; q; }
14350 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
14351 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
14352 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
14353 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
14357 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
14358 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
14360 # ----------------- done included file, check C basic types --------
14362 # Lacking an uintptr_t? Test size of void *
14363 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
14364 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
14365 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14366 if test "${ac_cv_type_void_p+set}" = set; then
14367 echo $ECHO_N "(cached) $ECHO_C" >&6
14369 cat >conftest.
$ac_ext <<_ACEOF
14372 cat confdefs.h
>>conftest.
$ac_ext
14373 cat >>conftest.
$ac_ext <<_ACEOF
14374 /* end confdefs.h. */
14375 $ac_includes_default
14381 if (sizeof (void *))
14387 rm -f conftest.
$ac_objext
14388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14389 (eval $ac_compile) 2>conftest.er1
14391 grep -v '^ *+' conftest.er1
>conftest.err
14393 cat conftest.err
>&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); } &&
14396 { ac_try
='test -z "$ac_c_werror_flag"
14397 || test ! -s conftest.err'
14398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14399 (eval $ac_try) 2>&5
14401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14402 (exit $ac_status); }; } &&
14403 { ac_try
='test -s conftest.$ac_objext'
14404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14405 (eval $ac_try) 2>&5
14407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14408 (exit $ac_status); }; }; then
14409 ac_cv_type_void_p
=yes
14411 echo "$as_me: failed program was:" >&5
14412 sed 's/^/| /' conftest.
$ac_ext >&5
14414 ac_cv_type_void_p
=no
14416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14418 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14419 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14421 echo "$as_me:$LINENO: checking size of void *" >&5
14422 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14423 if test "${ac_cv_sizeof_void_p+set}" = set; then
14424 echo $ECHO_N "(cached) $ECHO_C" >&6
14426 if test "$ac_cv_type_void_p" = yes; then
14427 # The cast to unsigned long works around a bug in the HP C Compiler
14428 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14429 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14430 # This bug is HP SR number 8606223364.
14431 if test "$cross_compiling" = yes; then
14432 # Depending upon the size, compute the lo and hi bounds.
14433 cat >conftest.
$ac_ext <<_ACEOF
14436 cat confdefs.h
>>conftest.
$ac_ext
14437 cat >>conftest.
$ac_ext <<_ACEOF
14438 /* end confdefs.h. */
14439 $ac_includes_default
14443 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14450 rm -f conftest.
$ac_objext
14451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14452 (eval $ac_compile) 2>conftest.er1
14454 grep -v '^ *+' conftest.er1
>conftest.err
14456 cat conftest.err
>&5
14457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14458 (exit $ac_status); } &&
14459 { ac_try
='test -z "$ac_c_werror_flag"
14460 || test ! -s conftest.err'
14461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14462 (eval $ac_try) 2>&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); }; } &&
14466 { ac_try
='test -s conftest.$ac_objext'
14467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14468 (eval $ac_try) 2>&5
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); }; }; then
14474 cat >conftest.
$ac_ext <<_ACEOF
14477 cat confdefs.h
>>conftest.
$ac_ext
14478 cat >>conftest.
$ac_ext <<_ACEOF
14479 /* end confdefs.h. */
14480 $ac_includes_default
14484 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14491 rm -f conftest.
$ac_objext
14492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14493 (eval $ac_compile) 2>conftest.er1
14495 grep -v '^ *+' conftest.er1
>conftest.err
14497 cat conftest.err
>&5
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); } &&
14500 { ac_try
='test -z "$ac_c_werror_flag"
14501 || test ! -s conftest.err'
14502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14503 (eval $ac_try) 2>&5
14505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 (exit $ac_status); }; } &&
14507 { ac_try
='test -s conftest.$ac_objext'
14508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14509 (eval $ac_try) 2>&5
14511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); }; }; then
14513 ac_hi
=$ac_mid; break
14515 echo "$as_me: failed program was:" >&5
14516 sed 's/^/| /' conftest.
$ac_ext >&5
14518 ac_lo
=`expr $ac_mid + 1`
14519 if test $ac_lo -le $ac_mid; then
14523 ac_mid
=`expr 2 '*' $ac_mid + 1`
14525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14528 echo "$as_me: failed program was:" >&5
14529 sed 's/^/| /' conftest.
$ac_ext >&5
14531 cat >conftest.
$ac_ext <<_ACEOF
14534 cat confdefs.h
>>conftest.
$ac_ext
14535 cat >>conftest.
$ac_ext <<_ACEOF
14536 /* end confdefs.h. */
14537 $ac_includes_default
14541 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14548 rm -f conftest.
$ac_objext
14549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14550 (eval $ac_compile) 2>conftest.er1
14552 grep -v '^ *+' conftest.er1
>conftest.err
14554 cat conftest.err
>&5
14555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14556 (exit $ac_status); } &&
14557 { ac_try
='test -z "$ac_c_werror_flag"
14558 || test ! -s conftest.err'
14559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14560 (eval $ac_try) 2>&5
14562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14563 (exit $ac_status); }; } &&
14564 { ac_try
='test -s conftest.$ac_objext'
14565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14566 (eval $ac_try) 2>&5
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); }; }; then
14572 cat >conftest.
$ac_ext <<_ACEOF
14575 cat confdefs.h
>>conftest.
$ac_ext
14576 cat >>conftest.
$ac_ext <<_ACEOF
14577 /* end confdefs.h. */
14578 $ac_includes_default
14582 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14589 rm -f conftest.
$ac_objext
14590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14591 (eval $ac_compile) 2>conftest.er1
14593 grep -v '^ *+' conftest.er1
>conftest.err
14595 cat conftest.err
>&5
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); } &&
14598 { ac_try
='test -z "$ac_c_werror_flag"
14599 || test ! -s conftest.err'
14600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14601 (eval $ac_try) 2>&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); }; } &&
14605 { ac_try
='test -s conftest.$ac_objext'
14606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14607 (eval $ac_try) 2>&5
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); }; }; then
14611 ac_lo
=$ac_mid; break
14613 echo "$as_me: failed program was:" >&5
14614 sed 's/^/| /' conftest.
$ac_ext >&5
14616 ac_hi
=`expr '(' $ac_mid ')' - 1`
14617 if test $ac_mid -le $ac_hi; then
14621 ac_mid
=`expr 2 '*' $ac_mid`
14623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14626 echo "$as_me: failed program was:" >&5
14627 sed 's/^/| /' conftest.
$ac_ext >&5
14631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14634 # Binary search between lo and hi bounds.
14635 while test "x$ac_lo" != "x$ac_hi"; do
14636 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14637 cat >conftest.
$ac_ext <<_ACEOF
14640 cat confdefs.h
>>conftest.
$ac_ext
14641 cat >>conftest.
$ac_ext <<_ACEOF
14642 /* end confdefs.h. */
14643 $ac_includes_default
14647 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14654 rm -f conftest.
$ac_objext
14655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14656 (eval $ac_compile) 2>conftest.er1
14658 grep -v '^ *+' conftest.er1
>conftest.err
14660 cat conftest.err
>&5
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); } &&
14663 { ac_try
='test -z "$ac_c_werror_flag"
14664 || test ! -s conftest.err'
14665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14666 (eval $ac_try) 2>&5
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); }; } &&
14670 { ac_try
='test -s conftest.$ac_objext'
14671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14672 (eval $ac_try) 2>&5
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); }; }; then
14678 echo "$as_me: failed program was:" >&5
14679 sed 's/^/| /' conftest.
$ac_ext >&5
14681 ac_lo
=`expr '(' $ac_mid ')' + 1`
14683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14686 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14687 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14688 See \`config.log' for more details." >&5
14689 echo "$as_me: error: cannot compute sizeof (void *), 77
14690 See \`config.log' for more details." >&2;}
14691 { (exit 1); exit 1; }; } ;;
14694 if test "$cross_compiling" = yes; then
14695 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14696 See \`config.log' for more details." >&5
14697 echo "$as_me: error: cannot run test program while cross compiling
14698 See \`config.log' for more details." >&2;}
14699 { (exit 1); exit 1; }; }
14701 cat >conftest.
$ac_ext <<_ACEOF
14704 cat confdefs.h
>>conftest.
$ac_ext
14705 cat >>conftest.
$ac_ext <<_ACEOF
14706 /* end confdefs.h. */
14707 $ac_includes_default
14708 long longval () { return (long) (sizeof (void *)); }
14709 unsigned long ulongval () { return (long) (sizeof (void *)); }
14711 #include <stdlib.h>
14716 FILE *f = fopen ("conftest.val", "w");
14719 if (((long) (sizeof (void *))) < 0)
14721 long i = longval ();
14722 if (i != ((long) (sizeof (void *))))
14724 fprintf (f, "%ld\n", i);
14728 unsigned long i = ulongval ();
14729 if (i != ((long) (sizeof (void *))))
14731 fprintf (f, "%lu\n", i);
14733 exit (ferror (f) || fclose (f) != 0);
14739 rm -f conftest
$ac_exeext
14740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14741 (eval $ac_link) 2>&5
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14746 (eval $ac_try) 2>&5
14748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749 (exit $ac_status); }; }; then
14750 ac_cv_sizeof_void_p
=`cat conftest.val`
14752 echo "$as_me: program exited with status $ac_status" >&5
14753 echo "$as_me: failed program was:" >&5
14754 sed 's/^/| /' conftest.
$ac_ext >&5
14756 ( exit $ac_status )
14757 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14758 See \`config.log' for more details." >&5
14759 echo "$as_me: error: cannot compute sizeof (void *), 77
14760 See \`config.log' for more details." >&2;}
14761 { (exit 1); exit 1; }; }
14763 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14768 ac_cv_sizeof_void_p
=0
14771 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14772 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14773 cat >>confdefs.h
<<_ACEOF
14774 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14780 # Lacking an uint64_t? Test size of long
14781 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
14782 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
14783 echo $ECHO_N "checking for long... $ECHO_C" >&6
14784 if test "${ac_cv_type_long+set}" = set; then
14785 echo $ECHO_N "(cached) $ECHO_C" >&6
14787 cat >conftest.
$ac_ext <<_ACEOF
14790 cat confdefs.h
>>conftest.
$ac_ext
14791 cat >>conftest.
$ac_ext <<_ACEOF
14792 /* end confdefs.h. */
14793 $ac_includes_default
14805 rm -f conftest.
$ac_objext
14806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14807 (eval $ac_compile) 2>conftest.er1
14809 grep -v '^ *+' conftest.er1
>conftest.err
14811 cat conftest.err
>&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); } &&
14814 { ac_try
='test -z "$ac_c_werror_flag"
14815 || test ! -s conftest.err'
14816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14817 (eval $ac_try) 2>&5
14819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820 (exit $ac_status); }; } &&
14821 { ac_try
='test -s conftest.$ac_objext'
14822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14823 (eval $ac_try) 2>&5
14825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14826 (exit $ac_status); }; }; then
14827 ac_cv_type_long
=yes
14829 echo "$as_me: failed program was:" >&5
14830 sed 's/^/| /' conftest.
$ac_ext >&5
14834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14836 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
14837 echo "${ECHO_T}$ac_cv_type_long" >&6
14839 echo "$as_me:$LINENO: checking size of long" >&5
14840 echo $ECHO_N "checking size of long... $ECHO_C" >&6
14841 if test "${ac_cv_sizeof_long+set}" = set; then
14842 echo $ECHO_N "(cached) $ECHO_C" >&6
14844 if test "$ac_cv_type_long" = yes; then
14845 # The cast to unsigned long works around a bug in the HP C Compiler
14846 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14847 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14848 # This bug is HP SR number 8606223364.
14849 if test "$cross_compiling" = yes; then
14850 # Depending upon the size, compute the lo and hi bounds.
14851 cat >conftest.
$ac_ext <<_ACEOF
14854 cat confdefs.h
>>conftest.
$ac_ext
14855 cat >>conftest.
$ac_ext <<_ACEOF
14856 /* end confdefs.h. */
14857 $ac_includes_default
14861 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
14868 rm -f conftest.
$ac_objext
14869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14870 (eval $ac_compile) 2>conftest.er1
14872 grep -v '^ *+' conftest.er1
>conftest.err
14874 cat conftest.err
>&5
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); } &&
14877 { ac_try
='test -z "$ac_c_werror_flag"
14878 || test ! -s conftest.err'
14879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14880 (eval $ac_try) 2>&5
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); }; } &&
14884 { ac_try
='test -s conftest.$ac_objext'
14885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14886 (eval $ac_try) 2>&5
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; }; then
14892 cat >conftest.
$ac_ext <<_ACEOF
14895 cat confdefs.h
>>conftest.
$ac_ext
14896 cat >>conftest.
$ac_ext <<_ACEOF
14897 /* end confdefs.h. */
14898 $ac_includes_default
14902 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
14909 rm -f conftest.
$ac_objext
14910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14911 (eval $ac_compile) 2>conftest.er1
14913 grep -v '^ *+' conftest.er1
>conftest.err
14915 cat conftest.err
>&5
14916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14917 (exit $ac_status); } &&
14918 { ac_try
='test -z "$ac_c_werror_flag"
14919 || test ! -s conftest.err'
14920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14921 (eval $ac_try) 2>&5
14923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14924 (exit $ac_status); }; } &&
14925 { ac_try
='test -s conftest.$ac_objext'
14926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14927 (eval $ac_try) 2>&5
14929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14930 (exit $ac_status); }; }; then
14931 ac_hi
=$ac_mid; break
14933 echo "$as_me: failed program was:" >&5
14934 sed 's/^/| /' conftest.
$ac_ext >&5
14936 ac_lo
=`expr $ac_mid + 1`
14937 if test $ac_lo -le $ac_mid; then
14941 ac_mid
=`expr 2 '*' $ac_mid + 1`
14943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14946 echo "$as_me: failed program was:" >&5
14947 sed 's/^/| /' conftest.
$ac_ext >&5
14949 cat >conftest.
$ac_ext <<_ACEOF
14952 cat confdefs.h
>>conftest.
$ac_ext
14953 cat >>conftest.
$ac_ext <<_ACEOF
14954 /* end confdefs.h. */
14955 $ac_includes_default
14959 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
14966 rm -f conftest.
$ac_objext
14967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14968 (eval $ac_compile) 2>conftest.er1
14970 grep -v '^ *+' conftest.er1
>conftest.err
14972 cat conftest.err
>&5
14973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14974 (exit $ac_status); } &&
14975 { ac_try
='test -z "$ac_c_werror_flag"
14976 || test ! -s conftest.err'
14977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14978 (eval $ac_try) 2>&5
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); }; } &&
14982 { ac_try
='test -s conftest.$ac_objext'
14983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14984 (eval $ac_try) 2>&5
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); }; }; then
14990 cat >conftest.
$ac_ext <<_ACEOF
14993 cat confdefs.h
>>conftest.
$ac_ext
14994 cat >>conftest.
$ac_ext <<_ACEOF
14995 /* end confdefs.h. */
14996 $ac_includes_default
15000 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15007 rm -f conftest.
$ac_objext
15008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15009 (eval $ac_compile) 2>conftest.er1
15011 grep -v '^ *+' conftest.er1
>conftest.err
15013 cat conftest.err
>&5
15014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15015 (exit $ac_status); } &&
15016 { ac_try
='test -z "$ac_c_werror_flag"
15017 || test ! -s conftest.err'
15018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15019 (eval $ac_try) 2>&5
15021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15022 (exit $ac_status); }; } &&
15023 { ac_try
='test -s conftest.$ac_objext'
15024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15025 (eval $ac_try) 2>&5
15027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028 (exit $ac_status); }; }; then
15029 ac_lo
=$ac_mid; break
15031 echo "$as_me: failed program was:" >&5
15032 sed 's/^/| /' conftest.
$ac_ext >&5
15034 ac_hi
=`expr '(' $ac_mid ')' - 1`
15035 if test $ac_mid -le $ac_hi; then
15039 ac_mid
=`expr 2 '*' $ac_mid`
15041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15044 echo "$as_me: failed program was:" >&5
15045 sed 's/^/| /' conftest.
$ac_ext >&5
15049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15052 # Binary search between lo and hi bounds.
15053 while test "x$ac_lo" != "x$ac_hi"; do
15054 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15055 cat >conftest.
$ac_ext <<_ACEOF
15058 cat confdefs.h
>>conftest.
$ac_ext
15059 cat >>conftest.
$ac_ext <<_ACEOF
15060 /* end confdefs.h. */
15061 $ac_includes_default
15065 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15072 rm -f conftest.
$ac_objext
15073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15074 (eval $ac_compile) 2>conftest.er1
15076 grep -v '^ *+' conftest.er1
>conftest.err
15078 cat conftest.err
>&5
15079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15080 (exit $ac_status); } &&
15081 { ac_try
='test -z "$ac_c_werror_flag"
15082 || test ! -s conftest.err'
15083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15084 (eval $ac_try) 2>&5
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); }; } &&
15088 { ac_try
='test -s conftest.$ac_objext'
15089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15090 (eval $ac_try) 2>&5
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); }; }; then
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.
$ac_ext >&5
15099 ac_lo
=`expr '(' $ac_mid ')' + 1`
15101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15104 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15105 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15106 See \`config.log' for more details." >&5
15107 echo "$as_me: error: cannot compute sizeof (long), 77
15108 See \`config.log' for more details." >&2;}
15109 { (exit 1); exit 1; }; } ;;
15112 if test "$cross_compiling" = yes; then
15113 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15114 See \`config.log' for more details." >&5
15115 echo "$as_me: error: cannot run test program while cross compiling
15116 See \`config.log' for more details." >&2;}
15117 { (exit 1); exit 1; }; }
15119 cat >conftest.
$ac_ext <<_ACEOF
15122 cat confdefs.h
>>conftest.
$ac_ext
15123 cat >>conftest.
$ac_ext <<_ACEOF
15124 /* end confdefs.h. */
15125 $ac_includes_default
15126 long longval () { return (long) (sizeof (long)); }
15127 unsigned long ulongval () { return (long) (sizeof (long)); }
15129 #include <stdlib.h>
15134 FILE *f = fopen ("conftest.val", "w");
15137 if (((long) (sizeof (long))) < 0)
15139 long i = longval ();
15140 if (i != ((long) (sizeof (long))))
15142 fprintf (f, "%ld\n", i);
15146 unsigned long i = ulongval ();
15147 if (i != ((long) (sizeof (long))))
15149 fprintf (f, "%lu\n", i);
15151 exit (ferror (f) || fclose (f) != 0);
15157 rm -f conftest
$ac_exeext
15158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15159 (eval $ac_link) 2>&5
15161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15162 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15164 (eval $ac_try) 2>&5
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); }; }; then
15168 ac_cv_sizeof_long
=`cat conftest.val`
15170 echo "$as_me: program exited with status $ac_status" >&5
15171 echo "$as_me: failed program was:" >&5
15172 sed 's/^/| /' conftest.
$ac_ext >&5
15174 ( exit $ac_status )
15175 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15176 See \`config.log' for more details." >&5
15177 echo "$as_me: error: cannot compute sizeof (long), 77
15178 See \`config.log' for more details." >&2;}
15179 { (exit 1); exit 1; }; }
15181 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15186 ac_cv_sizeof_long
=0
15189 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15190 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15191 cat >>confdefs.h
<<_ACEOF
15192 #define SIZEOF_LONG $ac_cv_sizeof_long
15198 if test $acx_cv_header_stdint = stddef.h
; then
15199 # Lacking a good header? Test size of everything and deduce all types.
15200 echo "$as_me:$LINENO: checking for int" >&5
15201 echo $ECHO_N "checking for int... $ECHO_C" >&6
15202 if test "${ac_cv_type_int+set}" = set; then
15203 echo $ECHO_N "(cached) $ECHO_C" >&6
15205 cat >conftest.
$ac_ext <<_ACEOF
15208 cat confdefs.h
>>conftest.
$ac_ext
15209 cat >>conftest.
$ac_ext <<_ACEOF
15210 /* end confdefs.h. */
15211 $ac_includes_default
15223 rm -f conftest.
$ac_objext
15224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15225 (eval $ac_compile) 2>conftest.er1
15227 grep -v '^ *+' conftest.er1
>conftest.err
15229 cat conftest.err
>&5
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); } &&
15232 { ac_try
='test -z "$ac_c_werror_flag"
15233 || test ! -s conftest.err'
15234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15235 (eval $ac_try) 2>&5
15237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15238 (exit $ac_status); }; } &&
15239 { ac_try
='test -s conftest.$ac_objext'
15240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15241 (eval $ac_try) 2>&5
15243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15244 (exit $ac_status); }; }; then
15247 echo "$as_me: failed program was:" >&5
15248 sed 's/^/| /' conftest.
$ac_ext >&5
15252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15254 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15255 echo "${ECHO_T}$ac_cv_type_int" >&6
15257 echo "$as_me:$LINENO: checking size of int" >&5
15258 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15259 if test "${ac_cv_sizeof_int+set}" = set; then
15260 echo $ECHO_N "(cached) $ECHO_C" >&6
15262 if test "$ac_cv_type_int" = yes; then
15263 # The cast to unsigned long works around a bug in the HP C Compiler
15264 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15265 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15266 # This bug is HP SR number 8606223364.
15267 if test "$cross_compiling" = yes; then
15268 # Depending upon the size, compute the lo and hi bounds.
15269 cat >conftest.
$ac_ext <<_ACEOF
15272 cat confdefs.h
>>conftest.
$ac_ext
15273 cat >>conftest.
$ac_ext <<_ACEOF
15274 /* end confdefs.h. */
15275 $ac_includes_default
15279 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15286 rm -f conftest.
$ac_objext
15287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15288 (eval $ac_compile) 2>conftest.er1
15290 grep -v '^ *+' conftest.er1
>conftest.err
15292 cat conftest.err
>&5
15293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15294 (exit $ac_status); } &&
15295 { ac_try
='test -z "$ac_c_werror_flag"
15296 || test ! -s conftest.err'
15297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15298 (eval $ac_try) 2>&5
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); }; } &&
15302 { ac_try
='test -s conftest.$ac_objext'
15303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15304 (eval $ac_try) 2>&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); }; }; then
15310 cat >conftest.
$ac_ext <<_ACEOF
15313 cat confdefs.h
>>conftest.
$ac_ext
15314 cat >>conftest.
$ac_ext <<_ACEOF
15315 /* end confdefs.h. */
15316 $ac_includes_default
15320 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15327 rm -f conftest.
$ac_objext
15328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15329 (eval $ac_compile) 2>conftest.er1
15331 grep -v '^ *+' conftest.er1
>conftest.err
15333 cat conftest.err
>&5
15334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335 (exit $ac_status); } &&
15336 { ac_try
='test -z "$ac_c_werror_flag"
15337 || test ! -s conftest.err'
15338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15339 (eval $ac_try) 2>&5
15341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15342 (exit $ac_status); }; } &&
15343 { ac_try
='test -s conftest.$ac_objext'
15344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15345 (eval $ac_try) 2>&5
15347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15348 (exit $ac_status); }; }; then
15349 ac_hi
=$ac_mid; break
15351 echo "$as_me: failed program was:" >&5
15352 sed 's/^/| /' conftest.
$ac_ext >&5
15354 ac_lo
=`expr $ac_mid + 1`
15355 if test $ac_lo -le $ac_mid; then
15359 ac_mid
=`expr 2 '*' $ac_mid + 1`
15361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15364 echo "$as_me: failed program was:" >&5
15365 sed 's/^/| /' conftest.
$ac_ext >&5
15367 cat >conftest.
$ac_ext <<_ACEOF
15370 cat confdefs.h
>>conftest.
$ac_ext
15371 cat >>conftest.
$ac_ext <<_ACEOF
15372 /* end confdefs.h. */
15373 $ac_includes_default
15377 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15384 rm -f conftest.
$ac_objext
15385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15386 (eval $ac_compile) 2>conftest.er1
15388 grep -v '^ *+' conftest.er1
>conftest.err
15390 cat conftest.err
>&5
15391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15392 (exit $ac_status); } &&
15393 { ac_try
='test -z "$ac_c_werror_flag"
15394 || test ! -s conftest.err'
15395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15396 (eval $ac_try) 2>&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); }; } &&
15400 { ac_try
='test -s conftest.$ac_objext'
15401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15402 (eval $ac_try) 2>&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); }; }; then
15408 cat >conftest.
$ac_ext <<_ACEOF
15411 cat confdefs.h
>>conftest.
$ac_ext
15412 cat >>conftest.
$ac_ext <<_ACEOF
15413 /* end confdefs.h. */
15414 $ac_includes_default
15418 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15425 rm -f conftest.
$ac_objext
15426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15427 (eval $ac_compile) 2>conftest.er1
15429 grep -v '^ *+' conftest.er1
>conftest.err
15431 cat conftest.err
>&5
15432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15433 (exit $ac_status); } &&
15434 { ac_try
='test -z "$ac_c_werror_flag"
15435 || test ! -s conftest.err'
15436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15437 (eval $ac_try) 2>&5
15439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15440 (exit $ac_status); }; } &&
15441 { ac_try
='test -s conftest.$ac_objext'
15442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15443 (eval $ac_try) 2>&5
15445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15446 (exit $ac_status); }; }; then
15447 ac_lo
=$ac_mid; break
15449 echo "$as_me: failed program was:" >&5
15450 sed 's/^/| /' conftest.
$ac_ext >&5
15452 ac_hi
=`expr '(' $ac_mid ')' - 1`
15453 if test $ac_mid -le $ac_hi; then
15457 ac_mid
=`expr 2 '*' $ac_mid`
15459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15462 echo "$as_me: failed program was:" >&5
15463 sed 's/^/| /' conftest.
$ac_ext >&5
15467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15470 # Binary search between lo and hi bounds.
15471 while test "x$ac_lo" != "x$ac_hi"; do
15472 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15473 cat >conftest.
$ac_ext <<_ACEOF
15476 cat confdefs.h
>>conftest.
$ac_ext
15477 cat >>conftest.
$ac_ext <<_ACEOF
15478 /* end confdefs.h. */
15479 $ac_includes_default
15483 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15490 rm -f conftest.
$ac_objext
15491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15492 (eval $ac_compile) 2>conftest.er1
15494 grep -v '^ *+' conftest.er1
>conftest.err
15496 cat conftest.err
>&5
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); } &&
15499 { ac_try
='test -z "$ac_c_werror_flag"
15500 || test ! -s conftest.err'
15501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15502 (eval $ac_try) 2>&5
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); }; } &&
15506 { ac_try
='test -s conftest.$ac_objext'
15507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15508 (eval $ac_try) 2>&5
15510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15511 (exit $ac_status); }; }; then
15514 echo "$as_me: failed program was:" >&5
15515 sed 's/^/| /' conftest.
$ac_ext >&5
15517 ac_lo
=`expr '(' $ac_mid ')' + 1`
15519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15522 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15523 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15524 See \`config.log' for more details." >&5
15525 echo "$as_me: error: cannot compute sizeof (int), 77
15526 See \`config.log' for more details." >&2;}
15527 { (exit 1); exit 1; }; } ;;
15530 if test "$cross_compiling" = yes; then
15531 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15532 See \`config.log' for more details." >&5
15533 echo "$as_me: error: cannot run test program while cross compiling
15534 See \`config.log' for more details." >&2;}
15535 { (exit 1); exit 1; }; }
15537 cat >conftest.
$ac_ext <<_ACEOF
15540 cat confdefs.h
>>conftest.
$ac_ext
15541 cat >>conftest.
$ac_ext <<_ACEOF
15542 /* end confdefs.h. */
15543 $ac_includes_default
15544 long longval () { return (long) (sizeof (int)); }
15545 unsigned long ulongval () { return (long) (sizeof (int)); }
15547 #include <stdlib.h>
15552 FILE *f = fopen ("conftest.val", "w");
15555 if (((long) (sizeof (int))) < 0)
15557 long i = longval ();
15558 if (i != ((long) (sizeof (int))))
15560 fprintf (f, "%ld\n", i);
15564 unsigned long i = ulongval ();
15565 if (i != ((long) (sizeof (int))))
15567 fprintf (f, "%lu\n", i);
15569 exit (ferror (f) || fclose (f) != 0);
15575 rm -f conftest
$ac_exeext
15576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15577 (eval $ac_link) 2>&5
15579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15580 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15582 (eval $ac_try) 2>&5
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); }; }; then
15586 ac_cv_sizeof_int
=`cat conftest.val`
15588 echo "$as_me: program exited with status $ac_status" >&5
15589 echo "$as_me: failed program was:" >&5
15590 sed 's/^/| /' conftest.
$ac_ext >&5
15592 ( exit $ac_status )
15593 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15594 See \`config.log' for more details." >&5
15595 echo "$as_me: error: cannot compute sizeof (int), 77
15596 See \`config.log' for more details." >&2;}
15597 { (exit 1); exit 1; }; }
15599 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15607 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15608 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15609 cat >>confdefs.h
<<_ACEOF
15610 #define SIZEOF_INT $ac_cv_sizeof_int
15614 echo "$as_me:$LINENO: checking for short" >&5
15615 echo $ECHO_N "checking for short... $ECHO_C" >&6
15616 if test "${ac_cv_type_short+set}" = set; then
15617 echo $ECHO_N "(cached) $ECHO_C" >&6
15619 cat >conftest.
$ac_ext <<_ACEOF
15622 cat confdefs.h
>>conftest.
$ac_ext
15623 cat >>conftest.
$ac_ext <<_ACEOF
15624 /* end confdefs.h. */
15625 $ac_includes_default
15631 if (sizeof (short))
15637 rm -f conftest.
$ac_objext
15638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15639 (eval $ac_compile) 2>conftest.er1
15641 grep -v '^ *+' conftest.er1
>conftest.err
15643 cat conftest.err
>&5
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); } &&
15646 { ac_try
='test -z "$ac_c_werror_flag"
15647 || test ! -s conftest.err'
15648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15649 (eval $ac_try) 2>&5
15651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652 (exit $ac_status); }; } &&
15653 { ac_try
='test -s conftest.$ac_objext'
15654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15655 (eval $ac_try) 2>&5
15657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15658 (exit $ac_status); }; }; then
15659 ac_cv_type_short
=yes
15661 echo "$as_me: failed program was:" >&5
15662 sed 's/^/| /' conftest.
$ac_ext >&5
15664 ac_cv_type_short
=no
15666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15668 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15669 echo "${ECHO_T}$ac_cv_type_short" >&6
15671 echo "$as_me:$LINENO: checking size of short" >&5
15672 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15673 if test "${ac_cv_sizeof_short+set}" = set; then
15674 echo $ECHO_N "(cached) $ECHO_C" >&6
15676 if test "$ac_cv_type_short" = yes; then
15677 # The cast to unsigned long works around a bug in the HP C Compiler
15678 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15679 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15680 # This bug is HP SR number 8606223364.
15681 if test "$cross_compiling" = yes; then
15682 # Depending upon the size, compute the lo and hi bounds.
15683 cat >conftest.
$ac_ext <<_ACEOF
15686 cat confdefs.h
>>conftest.
$ac_ext
15687 cat >>conftest.
$ac_ext <<_ACEOF
15688 /* end confdefs.h. */
15689 $ac_includes_default
15693 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15700 rm -f conftest.
$ac_objext
15701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15702 (eval $ac_compile) 2>conftest.er1
15704 grep -v '^ *+' conftest.er1
>conftest.err
15706 cat conftest.err
>&5
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); } &&
15709 { ac_try
='test -z "$ac_c_werror_flag"
15710 || test ! -s conftest.err'
15711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15712 (eval $ac_try) 2>&5
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); }; } &&
15716 { ac_try
='test -s conftest.$ac_objext'
15717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15718 (eval $ac_try) 2>&5
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); }; }; then
15724 cat >conftest.
$ac_ext <<_ACEOF
15727 cat confdefs.h
>>conftest.
$ac_ext
15728 cat >>conftest.
$ac_ext <<_ACEOF
15729 /* end confdefs.h. */
15730 $ac_includes_default
15734 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15741 rm -f conftest.
$ac_objext
15742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15743 (eval $ac_compile) 2>conftest.er1
15745 grep -v '^ *+' conftest.er1
>conftest.err
15747 cat conftest.err
>&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); } &&
15750 { ac_try
='test -z "$ac_c_werror_flag"
15751 || test ! -s conftest.err'
15752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15753 (eval $ac_try) 2>&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); }; } &&
15757 { ac_try
='test -s conftest.$ac_objext'
15758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15759 (eval $ac_try) 2>&5
15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 (exit $ac_status); }; }; then
15763 ac_hi
=$ac_mid; break
15765 echo "$as_me: failed program was:" >&5
15766 sed 's/^/| /' conftest.
$ac_ext >&5
15768 ac_lo
=`expr $ac_mid + 1`
15769 if test $ac_lo -le $ac_mid; then
15773 ac_mid
=`expr 2 '*' $ac_mid + 1`
15775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15778 echo "$as_me: failed program was:" >&5
15779 sed 's/^/| /' conftest.
$ac_ext >&5
15781 cat >conftest.
$ac_ext <<_ACEOF
15784 cat confdefs.h
>>conftest.
$ac_ext
15785 cat >>conftest.
$ac_ext <<_ACEOF
15786 /* end confdefs.h. */
15787 $ac_includes_default
15791 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15798 rm -f conftest.
$ac_objext
15799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15800 (eval $ac_compile) 2>conftest.er1
15802 grep -v '^ *+' conftest.er1
>conftest.err
15804 cat conftest.err
>&5
15805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15806 (exit $ac_status); } &&
15807 { ac_try
='test -z "$ac_c_werror_flag"
15808 || test ! -s conftest.err'
15809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15810 (eval $ac_try) 2>&5
15812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15813 (exit $ac_status); }; } &&
15814 { ac_try
='test -s conftest.$ac_objext'
15815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15816 (eval $ac_try) 2>&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); }; }; then
15822 cat >conftest.
$ac_ext <<_ACEOF
15825 cat confdefs.h
>>conftest.
$ac_ext
15826 cat >>conftest.
$ac_ext <<_ACEOF
15827 /* end confdefs.h. */
15828 $ac_includes_default
15832 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15839 rm -f conftest.
$ac_objext
15840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15841 (eval $ac_compile) 2>conftest.er1
15843 grep -v '^ *+' conftest.er1
>conftest.err
15845 cat conftest.err
>&5
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); } &&
15848 { ac_try
='test -z "$ac_c_werror_flag"
15849 || test ! -s conftest.err'
15850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15851 (eval $ac_try) 2>&5
15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854 (exit $ac_status); }; } &&
15855 { ac_try
='test -s conftest.$ac_objext'
15856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15857 (eval $ac_try) 2>&5
15859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15860 (exit $ac_status); }; }; then
15861 ac_lo
=$ac_mid; break
15863 echo "$as_me: failed program was:" >&5
15864 sed 's/^/| /' conftest.
$ac_ext >&5
15866 ac_hi
=`expr '(' $ac_mid ')' - 1`
15867 if test $ac_mid -le $ac_hi; then
15871 ac_mid
=`expr 2 '*' $ac_mid`
15873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15876 echo "$as_me: failed program was:" >&5
15877 sed 's/^/| /' conftest.
$ac_ext >&5
15881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15884 # Binary search between lo and hi bounds.
15885 while test "x$ac_lo" != "x$ac_hi"; do
15886 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15887 cat >conftest.
$ac_ext <<_ACEOF
15890 cat confdefs.h
>>conftest.
$ac_ext
15891 cat >>conftest.
$ac_ext <<_ACEOF
15892 /* end confdefs.h. */
15893 $ac_includes_default
15897 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15904 rm -f conftest.
$ac_objext
15905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15906 (eval $ac_compile) 2>conftest.er1
15908 grep -v '^ *+' conftest.er1
>conftest.err
15910 cat conftest.err
>&5
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); } &&
15913 { ac_try
='test -z "$ac_c_werror_flag"
15914 || test ! -s conftest.err'
15915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15916 (eval $ac_try) 2>&5
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); }; } &&
15920 { ac_try
='test -s conftest.$ac_objext'
15921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15922 (eval $ac_try) 2>&5
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); }; }; then
15928 echo "$as_me: failed program was:" >&5
15929 sed 's/^/| /' conftest.
$ac_ext >&5
15931 ac_lo
=`expr '(' $ac_mid ')' + 1`
15933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15936 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15937 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15938 See \`config.log' for more details." >&5
15939 echo "$as_me: error: cannot compute sizeof (short), 77
15940 See \`config.log' for more details." >&2;}
15941 { (exit 1); exit 1; }; } ;;
15944 if test "$cross_compiling" = yes; then
15945 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15946 See \`config.log' for more details." >&5
15947 echo "$as_me: error: cannot run test program while cross compiling
15948 See \`config.log' for more details." >&2;}
15949 { (exit 1); exit 1; }; }
15951 cat >conftest.
$ac_ext <<_ACEOF
15954 cat confdefs.h
>>conftest.
$ac_ext
15955 cat >>conftest.
$ac_ext <<_ACEOF
15956 /* end confdefs.h. */
15957 $ac_includes_default
15958 long longval () { return (long) (sizeof (short)); }
15959 unsigned long ulongval () { return (long) (sizeof (short)); }
15961 #include <stdlib.h>
15966 FILE *f = fopen ("conftest.val", "w");
15969 if (((long) (sizeof (short))) < 0)
15971 long i = longval ();
15972 if (i != ((long) (sizeof (short))))
15974 fprintf (f, "%ld\n", i);
15978 unsigned long i = ulongval ();
15979 if (i != ((long) (sizeof (short))))
15981 fprintf (f, "%lu\n", i);
15983 exit (ferror (f) || fclose (f) != 0);
15989 rm -f conftest
$ac_exeext
15990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15991 (eval $ac_link) 2>&5
15993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15994 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15996 (eval $ac_try) 2>&5
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); }; }; then
16000 ac_cv_sizeof_short
=`cat conftest.val`
16002 echo "$as_me: program exited with status $ac_status" >&5
16003 echo "$as_me: failed program was:" >&5
16004 sed 's/^/| /' conftest.
$ac_ext >&5
16006 ( exit $ac_status )
16007 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16008 See \`config.log' for more details." >&5
16009 echo "$as_me: error: cannot compute sizeof (short), 77
16010 See \`config.log' for more details." >&2;}
16011 { (exit 1); exit 1; }; }
16013 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16018 ac_cv_sizeof_short
=0
16021 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16022 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16023 cat >>confdefs.h
<<_ACEOF
16024 #define SIZEOF_SHORT $ac_cv_sizeof_short
16028 echo "$as_me:$LINENO: checking for char" >&5
16029 echo $ECHO_N "checking for char... $ECHO_C" >&6
16030 if test "${ac_cv_type_char+set}" = set; then
16031 echo $ECHO_N "(cached) $ECHO_C" >&6
16033 cat >conftest.
$ac_ext <<_ACEOF
16036 cat confdefs.h
>>conftest.
$ac_ext
16037 cat >>conftest.
$ac_ext <<_ACEOF
16038 /* end confdefs.h. */
16039 $ac_includes_default
16051 rm -f conftest.
$ac_objext
16052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16053 (eval $ac_compile) 2>conftest.er1
16055 grep -v '^ *+' conftest.er1
>conftest.err
16057 cat conftest.err
>&5
16058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16059 (exit $ac_status); } &&
16060 { ac_try
='test -z "$ac_c_werror_flag"
16061 || test ! -s conftest.err'
16062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16063 (eval $ac_try) 2>&5
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); }; } &&
16067 { ac_try
='test -s conftest.$ac_objext'
16068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16069 (eval $ac_try) 2>&5
16071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16072 (exit $ac_status); }; }; then
16073 ac_cv_type_char
=yes
16075 echo "$as_me: failed program was:" >&5
16076 sed 's/^/| /' conftest.
$ac_ext >&5
16080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16082 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16083 echo "${ECHO_T}$ac_cv_type_char" >&6
16085 echo "$as_me:$LINENO: checking size of char" >&5
16086 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16087 if test "${ac_cv_sizeof_char+set}" = set; then
16088 echo $ECHO_N "(cached) $ECHO_C" >&6
16090 if test "$ac_cv_type_char" = yes; then
16091 # The cast to unsigned long works around a bug in the HP C Compiler
16092 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16093 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16094 # This bug is HP SR number 8606223364.
16095 if test "$cross_compiling" = yes; then
16096 # Depending upon the size, compute the lo and hi bounds.
16097 cat >conftest.
$ac_ext <<_ACEOF
16100 cat confdefs.h
>>conftest.
$ac_ext
16101 cat >>conftest.
$ac_ext <<_ACEOF
16102 /* end confdefs.h. */
16103 $ac_includes_default
16107 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16114 rm -f conftest.
$ac_objext
16115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16116 (eval $ac_compile) 2>conftest.er1
16118 grep -v '^ *+' conftest.er1
>conftest.err
16120 cat conftest.err
>&5
16121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122 (exit $ac_status); } &&
16123 { ac_try
='test -z "$ac_c_werror_flag"
16124 || test ! -s conftest.err'
16125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16126 (eval $ac_try) 2>&5
16128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16129 (exit $ac_status); }; } &&
16130 { ac_try
='test -s conftest.$ac_objext'
16131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16132 (eval $ac_try) 2>&5
16134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16135 (exit $ac_status); }; }; then
16138 cat >conftest.
$ac_ext <<_ACEOF
16141 cat confdefs.h
>>conftest.
$ac_ext
16142 cat >>conftest.
$ac_ext <<_ACEOF
16143 /* end confdefs.h. */
16144 $ac_includes_default
16148 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16155 rm -f conftest.
$ac_objext
16156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16157 (eval $ac_compile) 2>conftest.er1
16159 grep -v '^ *+' conftest.er1
>conftest.err
16161 cat conftest.err
>&5
16162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16163 (exit $ac_status); } &&
16164 { ac_try
='test -z "$ac_c_werror_flag"
16165 || test ! -s conftest.err'
16166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16167 (eval $ac_try) 2>&5
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); }; } &&
16171 { ac_try
='test -s conftest.$ac_objext'
16172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16173 (eval $ac_try) 2>&5
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); }; }; then
16177 ac_hi
=$ac_mid; break
16179 echo "$as_me: failed program was:" >&5
16180 sed 's/^/| /' conftest.
$ac_ext >&5
16182 ac_lo
=`expr $ac_mid + 1`
16183 if test $ac_lo -le $ac_mid; then
16187 ac_mid
=`expr 2 '*' $ac_mid + 1`
16189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16192 echo "$as_me: failed program was:" >&5
16193 sed 's/^/| /' conftest.
$ac_ext >&5
16195 cat >conftest.
$ac_ext <<_ACEOF
16198 cat confdefs.h
>>conftest.
$ac_ext
16199 cat >>conftest.
$ac_ext <<_ACEOF
16200 /* end confdefs.h. */
16201 $ac_includes_default
16205 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16212 rm -f conftest.
$ac_objext
16213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16214 (eval $ac_compile) 2>conftest.er1
16216 grep -v '^ *+' conftest.er1
>conftest.err
16218 cat conftest.err
>&5
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); } &&
16221 { ac_try
='test -z "$ac_c_werror_flag"
16222 || test ! -s conftest.err'
16223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16224 (eval $ac_try) 2>&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); }; } &&
16228 { ac_try
='test -s conftest.$ac_objext'
16229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16230 (eval $ac_try) 2>&5
16232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 (exit $ac_status); }; }; then
16236 cat >conftest.
$ac_ext <<_ACEOF
16239 cat confdefs.h
>>conftest.
$ac_ext
16240 cat >>conftest.
$ac_ext <<_ACEOF
16241 /* end confdefs.h. */
16242 $ac_includes_default
16246 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16253 rm -f conftest.
$ac_objext
16254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16255 (eval $ac_compile) 2>conftest.er1
16257 grep -v '^ *+' conftest.er1
>conftest.err
16259 cat conftest.err
>&5
16260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16261 (exit $ac_status); } &&
16262 { ac_try
='test -z "$ac_c_werror_flag"
16263 || test ! -s conftest.err'
16264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16265 (eval $ac_try) 2>&5
16267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268 (exit $ac_status); }; } &&
16269 { ac_try
='test -s conftest.$ac_objext'
16270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16271 (eval $ac_try) 2>&5
16273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16274 (exit $ac_status); }; }; then
16275 ac_lo
=$ac_mid; break
16277 echo "$as_me: failed program was:" >&5
16278 sed 's/^/| /' conftest.
$ac_ext >&5
16280 ac_hi
=`expr '(' $ac_mid ')' - 1`
16281 if test $ac_mid -le $ac_hi; then
16285 ac_mid
=`expr 2 '*' $ac_mid`
16287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16290 echo "$as_me: failed program was:" >&5
16291 sed 's/^/| /' conftest.
$ac_ext >&5
16295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16298 # Binary search between lo and hi bounds.
16299 while test "x$ac_lo" != "x$ac_hi"; do
16300 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16301 cat >conftest.
$ac_ext <<_ACEOF
16304 cat confdefs.h
>>conftest.
$ac_ext
16305 cat >>conftest.
$ac_ext <<_ACEOF
16306 /* end confdefs.h. */
16307 $ac_includes_default
16311 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16318 rm -f conftest.
$ac_objext
16319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16320 (eval $ac_compile) 2>conftest.er1
16322 grep -v '^ *+' conftest.er1
>conftest.err
16324 cat conftest.err
>&5
16325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326 (exit $ac_status); } &&
16327 { ac_try
='test -z "$ac_c_werror_flag"
16328 || test ! -s conftest.err'
16329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16330 (eval $ac_try) 2>&5
16332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333 (exit $ac_status); }; } &&
16334 { ac_try
='test -s conftest.$ac_objext'
16335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16336 (eval $ac_try) 2>&5
16338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16339 (exit $ac_status); }; }; then
16342 echo "$as_me: failed program was:" >&5
16343 sed 's/^/| /' conftest.
$ac_ext >&5
16345 ac_lo
=`expr '(' $ac_mid ')' + 1`
16347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16350 ?
*) ac_cv_sizeof_char
=$ac_lo;;
16351 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16352 See \`config.log' for more details." >&5
16353 echo "$as_me: error: cannot compute sizeof (char), 77
16354 See \`config.log' for more details." >&2;}
16355 { (exit 1); exit 1; }; } ;;
16358 if test "$cross_compiling" = yes; then
16359 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16360 See \`config.log' for more details." >&5
16361 echo "$as_me: error: cannot run test program while cross compiling
16362 See \`config.log' for more details." >&2;}
16363 { (exit 1); exit 1; }; }
16365 cat >conftest.
$ac_ext <<_ACEOF
16368 cat confdefs.h
>>conftest.
$ac_ext
16369 cat >>conftest.
$ac_ext <<_ACEOF
16370 /* end confdefs.h. */
16371 $ac_includes_default
16372 long longval () { return (long) (sizeof (char)); }
16373 unsigned long ulongval () { return (long) (sizeof (char)); }
16375 #include <stdlib.h>
16380 FILE *f = fopen ("conftest.val", "w");
16383 if (((long) (sizeof (char))) < 0)
16385 long i = longval ();
16386 if (i != ((long) (sizeof (char))))
16388 fprintf (f, "%ld\n", i);
16392 unsigned long i = ulongval ();
16393 if (i != ((long) (sizeof (char))))
16395 fprintf (f, "%lu\n", i);
16397 exit (ferror (f) || fclose (f) != 0);
16403 rm -f conftest
$ac_exeext
16404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16405 (eval $ac_link) 2>&5
16407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16408 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16410 (eval $ac_try) 2>&5
16412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16413 (exit $ac_status); }; }; then
16414 ac_cv_sizeof_char
=`cat conftest.val`
16416 echo "$as_me: program exited with status $ac_status" >&5
16417 echo "$as_me: failed program was:" >&5
16418 sed 's/^/| /' conftest.
$ac_ext >&5
16420 ( exit $ac_status )
16421 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16422 See \`config.log' for more details." >&5
16423 echo "$as_me: error: cannot compute sizeof (char), 77
16424 See \`config.log' for more details." >&2;}
16425 { (exit 1); exit 1; }; }
16427 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16432 ac_cv_sizeof_char
=0
16435 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16436 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16437 cat >>confdefs.h
<<_ACEOF
16438 #define SIZEOF_CHAR $ac_cv_sizeof_char
16443 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
16444 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
16445 case "$ac_cv_sizeof_char" in
16446 1) acx_cv_type_int8_t
=char
;;
16447 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
16448 echo "$as_me: error: no 8-bit type" >&2;}
16449 { (exit please report a bug
); exit please report a bug
; }; }
16451 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
16452 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
16454 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
16455 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
16456 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16457 2:*) acx_cv_type_int16_t
=int
;;
16458 *:2) acx_cv_type_int16_t
=short
;;
16459 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
16460 echo "$as_me: error: no 16-bit type" >&2;}
16461 { (exit please report a bug
); exit please report a bug
; }; }
16463 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
16464 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
16466 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
16467 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
16468 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16469 4:*) acx_cv_type_int32_t
=int
;;
16470 *:4) acx_cv_type_int32_t
=long
;;
16471 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
16472 echo "$as_me: error: no 32-bit type" >&2;}
16473 { (exit please report a bug
); exit please report a bug
; }; }
16475 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
16476 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
16479 # These tests are here to make the output prettier
16481 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16482 case "$ac_cv_sizeof_long" in
16483 8) acx_cv_type_int64_t
=long
;;
16485 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
16486 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
16487 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16488 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
16491 # Now we can use the above types
16493 if test "$ac_cv_type_uintptr_t" != yes; then
16494 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
16495 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
16496 case $ac_cv_sizeof_void_p in
16497 2) acx_cv_type_intptr_t
=int16_t
;;
16498 4) acx_cv_type_intptr_t
=int32_t
;;
16499 8) acx_cv_type_intptr_t
=int64_t
;;
16500 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
16501 echo "$as_me: error: no equivalent for intptr_t" >&2;}
16502 { (exit please report a bug
); exit please report a bug
; }; }
16504 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
16505 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
16508 # ----------------- done all checks, emit header -------------
16509 ac_config_commands
="$ac_config_commands gstdint.h"
16514 # Check to see if -pthread or -lpthread is needed. Prefer the former.
16515 # In case the pthread.h system header is not found, this test will fail.
16517 CFLAGS
="$CFLAGS -pthread"
16518 cat >conftest.
$ac_ext <<_ACEOF
16521 cat confdefs.h
>>conftest.
$ac_ext
16522 cat >>conftest.
$ac_ext <<_ACEOF
16523 /* end confdefs.h. */
16524 #include <pthread.h>
16525 void *g(void *d) { return NULL; }
16529 pthread_t t; pthread_create(&t,NULL,g,NULL);
16534 rm -f conftest.
$ac_objext conftest
$ac_exeext
16535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16536 (eval $ac_link) 2>conftest.er1
16538 grep -v '^ *+' conftest.er1
>conftest.err
16540 cat conftest.err
>&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); } &&
16543 { ac_try
='test -z "$ac_c_werror_flag"
16544 || test ! -s conftest.err'
16545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16546 (eval $ac_try) 2>&5
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); }; } &&
16550 { ac_try
='test -s conftest$ac_exeext'
16551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16552 (eval $ac_try) 2>&5
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); }; }; then
16556 XPCFLAGS
=" -Wc,-pthread"
16558 echo "$as_me: failed program was:" >&5
16559 sed 's/^/| /' conftest.
$ac_ext >&5
16561 CFLAGS
="$save_CFLAGS" LIBS
="-lpthread $LIBS"
16562 cat >conftest.
$ac_ext <<_ACEOF
16565 cat confdefs.h
>>conftest.
$ac_ext
16566 cat >>conftest.
$ac_ext <<_ACEOF
16567 /* end confdefs.h. */
16568 #include <pthread.h>
16569 void *g(void *d) { return NULL; }
16573 pthread_t t; pthread_create(&t,NULL,g,NULL);
16578 rm -f conftest.
$ac_objext conftest
$ac_exeext
16579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16580 (eval $ac_link) 2>conftest.er1
16582 grep -v '^ *+' conftest.er1
>conftest.err
16584 cat conftest.err
>&5
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); } &&
16587 { ac_try
='test -z "$ac_c_werror_flag"
16588 || test ! -s conftest.err'
16589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16590 (eval $ac_try) 2>&5
16592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16593 (exit $ac_status); }; } &&
16594 { ac_try
='test -s conftest$ac_exeext'
16595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16596 (eval $ac_try) 2>&5
16598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599 (exit $ac_status); }; }; then
16602 echo "$as_me: failed program was:" >&5
16603 sed 's/^/| /' conftest.
$ac_ext >&5
16605 { { echo "$as_me:$LINENO: error: Pthreads are required to build libgomp" >&5
16606 echo "$as_me: error: Pthreads are required to build libgomp" >&2;}
16607 { (exit 1); exit 1; }; }
16609 rm -f conftest.err conftest.
$ac_objext \
16610 conftest
$ac_exeext conftest.
$ac_ext
16612 rm -f conftest.err conftest.
$ac_objext \
16613 conftest
$ac_exeext conftest.
$ac_ext
16615 # Check for functions needed.
16618 for ac_func
in getloadavg clock_gettime
16620 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16621 echo "$as_me:$LINENO: checking for $ac_func" >&5
16622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16623 if eval "test \"\${$as_ac_var+set}\" = set"; then
16624 echo $ECHO_N "(cached) $ECHO_C" >&6
16626 cat >conftest.
$ac_ext <<_ACEOF
16629 cat confdefs.h
>>conftest.
$ac_ext
16630 cat >>conftest.
$ac_ext <<_ACEOF
16631 /* end confdefs.h. */
16632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16634 #define $ac_func innocuous_$ac_func
16636 /* System header to define __stub macros and hopefully few prototypes,
16637 which can conflict with char $ac_func (); below.
16638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16639 <limits.h> exists even on freestanding compilers. */
16642 # include <limits.h>
16644 # include <assert.h>
16649 /* Override any gcc2 internal prototype to avoid an error. */
16654 /* We use char because int might match the return type of a gcc2
16655 builtin and then its argument prototype would still apply. */
16657 /* The GNU C library defines this for functions which it implements
16658 to always fail with ENOSYS. Some functions are actually named
16659 something starting with __ and the normal name is an alias. */
16660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16663 char (*f) () = $ac_func;
16672 return f != $ac_func;
16677 rm -f conftest.
$ac_objext conftest
$ac_exeext
16678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16679 (eval $ac_link) 2>conftest.er1
16681 grep -v '^ *+' conftest.er1
>conftest.err
16683 cat conftest.err
>&5
16684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16685 (exit $ac_status); } &&
16686 { ac_try
='test -z "$ac_c_werror_flag"
16687 || test ! -s conftest.err'
16688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16689 (eval $ac_try) 2>&5
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); }; } &&
16693 { ac_try
='test -s conftest$ac_exeext'
16694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16695 (eval $ac_try) 2>&5
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); }; }; then
16699 eval "$as_ac_var=yes"
16701 echo "$as_me: failed program was:" >&5
16702 sed 's/^/| /' conftest.
$ac_ext >&5
16704 eval "$as_ac_var=no"
16706 rm -f conftest.err conftest.
$ac_objext \
16707 conftest
$ac_exeext conftest.
$ac_ext
16709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16711 if test `eval echo '${'$as_ac_var'}'` = yes; then
16712 cat >>confdefs.h
<<_ACEOF
16713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16720 # Check for broken semaphore implementation on darwin.
16721 # sem_init returns: sem_init error: Function not implemented.
16725 cat >>confdefs.h
<<\_ACEOF
16726 #define HAVE_BROKEN_POSIX_SEMAPHORES 1
16732 # Check whether --enable-linux-futex or --disable-linux-futex was given.
16733 if test "${enable_linux_futex+set}" = set; then
16734 enableval
="$enable_linux_futex"
16736 case "$enableval" in
16738 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
16739 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
16740 { (exit 1); exit 1; }; } ;;
16744 enable_linux_futex
=default
16749 case "$enable_linux_futex" in
16751 # If headers don't have gettid/futex syscalls definition, then
16752 # default to no, otherwise there will be compile time failures.
16753 # Otherwise, default to yes. If we don't detect we are
16754 # compiled/linked against NPTL and not cross-compiling, check
16755 # if programs are run by default against NPTL and if not, issue
16757 enable_linux_futex
=no
16758 cat >conftest.
$ac_ext <<_ACEOF
16761 cat confdefs.h
>>conftest.
$ac_ext
16762 cat >>conftest.
$ac_ext <<_ACEOF
16763 /* end confdefs.h. */
16764 #include <sys/syscall.h>
16769 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
16774 rm -f conftest.
$ac_objext conftest
$ac_exeext
16775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16776 (eval $ac_link) 2>conftest.er1
16778 grep -v '^ *+' conftest.er1
>conftest.err
16780 cat conftest.err
>&5
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); } &&
16783 { ac_try
='test -z "$ac_c_werror_flag"
16784 || test ! -s conftest.err'
16785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16786 (eval $ac_try) 2>&5
16788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16789 (exit $ac_status); }; } &&
16790 { ac_try
='test -s conftest$ac_exeext'
16791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16792 (eval $ac_try) 2>&5
16794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795 (exit $ac_status); }; }; then
16797 LIBS
="-lpthread $LIBS"
16798 cat >conftest.
$ac_ext <<_ACEOF
16801 cat confdefs.h
>>conftest.
$ac_ext
16802 cat >>conftest.
$ac_ext <<_ACEOF
16803 /* end confdefs.h. */
16804 #ifndef _GNU_SOURCE
16805 #define _GNU_SOURCE 1
16807 #include <pthread.h>
16808 pthread_t th; void *status;
16812 pthread_tryjoin_np (th, &status);
16817 rm -f conftest.
$ac_objext conftest
$ac_exeext
16818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16819 (eval $ac_link) 2>conftest.er1
16821 grep -v '^ *+' conftest.er1
>conftest.err
16823 cat conftest.err
>&5
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); } &&
16826 { ac_try
='test -z "$ac_c_werror_flag"
16827 || test ! -s conftest.err'
16828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16829 (eval $ac_try) 2>&5
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); }; } &&
16833 { ac_try
='test -s conftest$ac_exeext'
16834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16835 (eval $ac_try) 2>&5
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); }; }; then
16839 enable_linux_futex
=yes
16841 echo "$as_me: failed program was:" >&5
16842 sed 's/^/| /' conftest.
$ac_ext >&5
16844 if test x
$cross_compiling = xno
; then
16845 if getconf GNU_LIBPTHREAD_VERSION
2>/dev
/null \
16846 | LC_ALL
=C
grep -i NPTL
> /dev
/null
2>/dev
/null
; then :; else
16847 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
16848 If so, please configure with --disable-linux-futex" >&5
16849 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
16850 If so, please configure with --disable-linux-futex" >&2;}
16853 enable_linux_futex
=yes
16855 rm -f conftest.err conftest.
$ac_objext \
16856 conftest
$ac_exeext conftest.
$ac_ext
16859 echo "$as_me: failed program was:" >&5
16860 sed 's/^/| /' conftest.
$ac_ext >&5
16863 rm -f conftest.err conftest.
$ac_objext \
16864 conftest
$ac_exeext conftest.
$ac_ext
16867 cat >conftest.
$ac_ext <<_ACEOF
16870 cat confdefs.h
>>conftest.
$ac_ext
16871 cat >>conftest.
$ac_ext <<_ACEOF
16872 /* end confdefs.h. */
16873 #include <sys/syscall.h>
16878 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
16883 rm -f conftest.
$ac_objext conftest
$ac_exeext
16884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16885 (eval $ac_link) 2>conftest.er1
16887 grep -v '^ *+' conftest.er1
>conftest.err
16889 cat conftest.err
>&5
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); } &&
16892 { ac_try
='test -z "$ac_c_werror_flag"
16893 || test ! -s conftest.err'
16894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16895 (eval $ac_try) 2>&5
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); }; } &&
16899 { ac_try
='test -s conftest$ac_exeext'
16900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16901 (eval $ac_try) 2>&5
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); }; }; then
16907 echo "$as_me: failed program was:" >&5
16908 sed 's/^/| /' conftest.
$ac_ext >&5
16910 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
16911 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
16912 { (exit 1); exit 1; }; }
16914 rm -f conftest.err conftest.
$ac_objext \
16915 conftest
$ac_exeext conftest.
$ac_ext
16920 enable_linux_futex
=no
16923 if test x
$enable_linux_futex = xyes
; then
16928 # Check for pthread_{,attr_}[sg]etaffinity_np.
16929 cat >conftest.
$ac_ext <<_ACEOF
16932 cat confdefs.h
>>conftest.
$ac_ext
16933 cat >>conftest.
$ac_ext <<_ACEOF
16934 /* end confdefs.h. */
16935 #define _GNU_SOURCE
16936 #include <pthread.h>
16941 pthread_attr_t attr;
16942 pthread_getaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
16943 if (CPU_ISSET (0, &cpuset))
16944 CPU_SET (1, &cpuset);
16946 CPU_ZERO (&cpuset);
16947 pthread_setaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
16948 pthread_attr_init (&attr);
16949 pthread_attr_getaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
16950 pthread_attr_setaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
16955 rm -f conftest.
$ac_objext conftest
$ac_exeext
16956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16957 (eval $ac_link) 2>conftest.er1
16959 grep -v '^ *+' conftest.er1
>conftest.err
16961 cat conftest.err
>&5
16962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16963 (exit $ac_status); } &&
16964 { ac_try
='test -z "$ac_c_werror_flag"
16965 || test ! -s conftest.err'
16966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16967 (eval $ac_try) 2>&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); }; } &&
16971 { ac_try
='test -s conftest$ac_exeext'
16972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16973 (eval $ac_try) 2>&5
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); }; }; then
16978 cat >>confdefs.h
<<\_ACEOF
16979 #define HAVE_PTHREAD_AFFINITY_NP 1
16983 echo "$as_me: failed program was:" >&5
16984 sed 's/^/| /' conftest.
$ac_ext >&5
16987 rm -f conftest.err conftest.
$ac_objext \
16988 conftest
$ac_exeext conftest.
$ac_ext
16990 # At least for glibc, clock_gettime is in librt. But don't pull that
16991 # in if it still doesn't give us the function we want.
16992 if test $ac_cv_func_clock_gettime = no
; then
16993 echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
16994 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
16995 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
16996 echo $ECHO_N "(cached) $ECHO_C" >&6
16998 ac_check_lib_save_LIBS
=$LIBS
17000 cat >conftest.
$ac_ext <<_ACEOF
17003 cat confdefs.h
>>conftest.
$ac_ext
17004 cat >>conftest.
$ac_ext <<_ACEOF
17005 /* end confdefs.h. */
17007 /* Override any gcc2 internal prototype to avoid an error. */
17011 /* We use char because int might match the return type of a gcc2
17012 builtin and then its argument prototype would still apply. */
17013 char clock_gettime ();
17022 rm -f conftest.
$ac_objext conftest
$ac_exeext
17023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17024 (eval $ac_link) 2>conftest.er1
17026 grep -v '^ *+' conftest.er1
>conftest.err
17028 cat conftest.err
>&5
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); } &&
17031 { ac_try
='test -z "$ac_c_werror_flag"
17032 || test ! -s conftest.err'
17033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17034 (eval $ac_try) 2>&5
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); }; } &&
17038 { ac_try
='test -s conftest$ac_exeext'
17039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17040 (eval $ac_try) 2>&5
17042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043 (exit $ac_status); }; }; then
17044 ac_cv_lib_rt_clock_gettime
=yes
17046 echo "$as_me: failed program was:" >&5
17047 sed 's/^/| /' conftest.
$ac_ext >&5
17049 ac_cv_lib_rt_clock_gettime
=no
17051 rm -f conftest.err conftest.
$ac_objext \
17052 conftest
$ac_exeext conftest.
$ac_ext
17053 LIBS
=$ac_check_lib_save_LIBS
17055 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
17056 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
17057 if test $ac_cv_lib_rt_clock_gettime = yes; then
17060 cat >>confdefs.h
<<\_ACEOF
17061 #define HAVE_CLOCK_GETTIME 1
17068 # See if we support thread-local storage.
17070 # Check whether --enable-tls or --disable-tls was given.
17071 if test "${enable_tls+set}" = set; then
17072 enableval
="$enable_tls"
17074 case "$enableval" in
17076 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
17077 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
17078 { (exit 1); exit 1; }; } ;;
17085 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
17086 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
17087 if test "${gcc_cv_have_tls+set}" = set; then
17088 echo $ECHO_N "(cached) $ECHO_C" >&6
17091 if test "$cross_compiling" = yes; then
17092 cat >conftest.
$ac_ext <<_ACEOF
17093 __thread int a; int b; int main() { return a = b; }
17095 rm -f conftest.
$ac_objext conftest
$ac_exeext
17096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17097 (eval $ac_link) 2>conftest.er1
17099 grep -v '^ *+' conftest.er1
>conftest.err
17101 cat conftest.err
>&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); } &&
17104 { ac_try
='test -z "$ac_c_werror_flag"
17105 || test ! -s conftest.err'
17106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17107 (eval $ac_try) 2>&5
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); }; } &&
17111 { ac_try
='test -s conftest$ac_exeext'
17112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17113 (eval $ac_try) 2>&5
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); }; }; then
17117 gcc_cv_have_tls
=yes
17119 echo "$as_me: failed program was:" >&5
17120 sed 's/^/| /' conftest.
$ac_ext >&5
17124 rm -f conftest.err conftest.
$ac_objext \
17125 conftest
$ac_exeext conftest.
$ac_ext
17129 cat >conftest.
$ac_ext <<_ACEOF
17130 __thread int a; int b; int main() { return a = b; }
17132 rm -f conftest
$ac_exeext
17133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17134 (eval $ac_link) 2>&5
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17139 (eval $ac_try) 2>&5
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); }; }; then
17143 chktls_save_LDFLAGS
="$LDFLAGS"
17144 LDFLAGS
="-static $LDFLAGS"
17145 cat >conftest.
$ac_ext <<_ACEOF
17146 int main() { return 0; }
17148 rm -f conftest.
$ac_objext conftest
$ac_exeext
17149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17150 (eval $ac_link) 2>conftest.er1
17152 grep -v '^ *+' conftest.er1
>conftest.err
17154 cat conftest.err
>&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); } &&
17157 { ac_try
='test -z "$ac_c_werror_flag"
17158 || test ! -s conftest.err'
17159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17160 (eval $ac_try) 2>&5
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); }; } &&
17164 { ac_try
='test -s conftest$ac_exeext'
17165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17166 (eval $ac_try) 2>&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); }; }; then
17170 if test "$cross_compiling" = yes; then
17171 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17172 See \`config.log' for more details." >&5
17173 echo "$as_me: error: cannot run test program while cross compiling
17174 See \`config.log' for more details." >&2;}
17175 { (exit 1); exit 1; }; }
17177 cat >conftest.
$ac_ext <<_ACEOF
17178 __thread int a; int b; int main() { return a = b; }
17180 rm -f conftest
$ac_exeext
17181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17182 (eval $ac_link) 2>&5
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17187 (eval $ac_try) 2>&5
17189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17190 (exit $ac_status); }; }; then
17191 gcc_cv_have_tls
=yes
17193 echo "$as_me: program exited with status $ac_status" >&5
17194 echo "$as_me: failed program was:" >&5
17195 sed 's/^/| /' conftest.
$ac_ext >&5
17197 ( exit $ac_status )
17200 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17203 echo "$as_me: failed program was:" >&5
17204 sed 's/^/| /' conftest.
$ac_ext >&5
17206 gcc_cv_have_tls
=yes
17208 rm -f conftest.err conftest.
$ac_objext \
17209 conftest
$ac_exeext conftest.
$ac_ext
17210 LDFLAGS
="$chktls_save_LDFLAGS"
17211 if test $gcc_cv_have_tls = yes; then
17212 chktls_save_CFLAGS
="$CFLAGS"
17213 thread_CFLAGS
=failed
17214 for flag
in '' '-pthread' '-lpthread'; do
17215 CFLAGS
="$flag $chktls_save_CFLAGS"
17216 cat >conftest.
$ac_ext <<_ACEOF
17219 cat confdefs.h
>>conftest.
$ac_ext
17220 cat >>conftest.
$ac_ext <<_ACEOF
17221 /* end confdefs.h. */
17222 #include <pthread.h>
17223 void *g(void *d) { return NULL; }
17227 pthread_t t; pthread_create(&t,NULL,g,NULL);
17232 rm -f conftest.
$ac_objext conftest
$ac_exeext
17233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17234 (eval $ac_link) 2>conftest.er1
17236 grep -v '^ *+' conftest.er1
>conftest.err
17238 cat conftest.err
>&5
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); } &&
17241 { ac_try
='test -z "$ac_c_werror_flag"
17242 || test ! -s conftest.err'
17243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17244 (eval $ac_try) 2>&5
17246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17247 (exit $ac_status); }; } &&
17248 { ac_try
='test -s conftest$ac_exeext'
17249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17250 (eval $ac_try) 2>&5
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); }; }; then
17254 thread_CFLAGS
="$flag"
17256 echo "$as_me: failed program was:" >&5
17257 sed 's/^/| /' conftest.
$ac_ext >&5
17260 rm -f conftest.err conftest.
$ac_objext \
17261 conftest
$ac_exeext conftest.
$ac_ext
17262 if test "X$thread_CFLAGS" != Xfailed
; then
17266 CFLAGS
="$chktls_save_CFLAGS"
17267 if test "X$thread_CFLAGS" != Xfailed
; then
17268 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
17269 if test "$cross_compiling" = yes; then
17270 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17271 See \`config.log' for more details." >&5
17272 echo "$as_me: error: cannot run test program while cross compiling
17273 See \`config.log' for more details." >&2;}
17274 { (exit 1); exit 1; }; }
17276 cat >conftest.
$ac_ext <<_ACEOF
17279 cat confdefs.h
>>conftest.
$ac_ext
17280 cat >>conftest.
$ac_ext <<_ACEOF
17281 /* end confdefs.h. */
17282 #include <pthread.h>
17284 static int *a_in_other_thread;
17286 thread_func (void *arg)
17288 a_in_other_thread = &a;
17295 void *thread_retval;
17296 int *a_in_main_thread;
17297 if (pthread_create (&thread, (pthread_attr_t *)0,
17298 thread_func, (void *)0))
17300 a_in_main_thread = &a;
17301 if (pthread_join (thread, &thread_retval))
17303 return (a_in_other_thread == a_in_main_thread);
17308 rm -f conftest
$ac_exeext
17309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17310 (eval $ac_link) 2>&5
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17315 (eval $ac_try) 2>&5
17317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17318 (exit $ac_status); }; }; then
17319 gcc_cv_have_tls
=yes
17321 echo "$as_me: program exited with status $ac_status" >&5
17322 echo "$as_me: failed program was:" >&5
17323 sed 's/^/| /' conftest.
$ac_ext >&5
17325 ( exit $ac_status )
17328 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17330 CFLAGS
="$chktls_save_CFLAGS"
17334 echo "$as_me: program exited with status $ac_status" >&5
17335 echo "$as_me: failed program was:" >&5
17336 sed 's/^/| /' conftest.
$ac_ext >&5
17338 ( exit $ac_status )
17341 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17344 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
17345 echo "${ECHO_T}$gcc_cv_have_tls" >&6
17346 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
17348 cat >>confdefs.h
<<\_ACEOF
17354 # See what sort of export controls are availible.
17356 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
17357 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
17358 if test "${have_attribute_visibility+set}" = set; then
17359 echo $ECHO_N "(cached) $ECHO_C" >&6
17362 save_CFLAGS
="$CFLAGS"
17363 CFLAGS
="$CFLAGS -Werror"
17364 cat >conftest.
$ac_ext <<_ACEOF
17367 cat confdefs.h
>>conftest.
$ac_ext
17368 cat >>conftest.
$ac_ext <<_ACEOF
17369 /* end confdefs.h. */
17370 void __attribute__((visibility("hidden"))) foo(void) { }
17379 rm -f conftest.
$ac_objext
17380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17381 (eval $ac_compile) 2>conftest.er1
17383 grep -v '^ *+' conftest.er1
>conftest.err
17385 cat conftest.err
>&5
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); } &&
17388 { ac_try
='test -z "$ac_c_werror_flag"
17389 || test ! -s conftest.err'
17390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391 (eval $ac_try) 2>&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; } &&
17395 { ac_try
='test -s conftest.$ac_objext'
17396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397 (eval $ac_try) 2>&5
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); }; }; then
17401 have_attribute_visibility
=yes
17403 echo "$as_me: failed program was:" >&5
17404 sed 's/^/| /' conftest.
$ac_ext >&5
17406 have_attribute_visibility
=no
17408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17409 CFLAGS
="$save_CFLAGS"
17411 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
17412 echo "${ECHO_T}$have_attribute_visibility" >&6
17413 if test $have_attribute_visibility = yes; then
17415 cat >>confdefs.h
<<\_ACEOF
17416 #define HAVE_ATTRIBUTE_VISIBILITY 1
17421 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
17422 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
17423 if test "${have_attribute_dllexport+set}" = set; then
17424 echo $ECHO_N "(cached) $ECHO_C" >&6
17427 save_CFLAGS
="$CFLAGS"
17428 CFLAGS
="$CFLAGS -Werror"
17429 cat >conftest.
$ac_ext <<_ACEOF
17432 cat confdefs.h
>>conftest.
$ac_ext
17433 cat >>conftest.
$ac_ext <<_ACEOF
17434 /* end confdefs.h. */
17435 void __attribute__((dllexport)) foo(void) { }
17444 rm -f conftest.
$ac_objext
17445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17446 (eval $ac_compile) 2>conftest.er1
17448 grep -v '^ *+' conftest.er1
>conftest.err
17450 cat conftest.err
>&5
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); } &&
17453 { ac_try
='test -z "$ac_c_werror_flag"
17454 || test ! -s conftest.err'
17455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17456 (eval $ac_try) 2>&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); }; } &&
17460 { ac_try
='test -s conftest.$ac_objext'
17461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17462 (eval $ac_try) 2>&5
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); }; }; then
17466 have_attribute_dllexport
=yes
17468 echo "$as_me: failed program was:" >&5
17469 sed 's/^/| /' conftest.
$ac_ext >&5
17471 have_attribute_dllexport
=no
17473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17474 CFLAGS
="$save_CFLAGS"
17476 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
17477 echo "${ECHO_T}$have_attribute_dllexport" >&6
17478 if test $have_attribute_dllexport = yes; then
17480 cat >>confdefs.h
<<\_ACEOF
17481 #define HAVE_ATTRIBUTE_DLLEXPORT 1
17486 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
17487 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
17488 if test "${have_attribute_alias+set}" = set; then
17489 echo $ECHO_N "(cached) $ECHO_C" >&6
17492 cat >conftest.
$ac_ext <<_ACEOF
17495 cat confdefs.h
>>conftest.
$ac_ext
17496 cat >>conftest.
$ac_ext <<_ACEOF
17497 /* end confdefs.h. */
17500 extern void bar(void) __attribute__((alias("foo")));
17509 rm -f conftest.
$ac_objext conftest
$ac_exeext
17510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17511 (eval $ac_link) 2>conftest.er1
17513 grep -v '^ *+' conftest.er1
>conftest.err
17515 cat conftest.err
>&5
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); } &&
17518 { ac_try
='test -z "$ac_c_werror_flag"
17519 || test ! -s conftest.err'
17520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17521 (eval $ac_try) 2>&5
17523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17524 (exit $ac_status); }; } &&
17525 { ac_try
='test -s conftest$ac_exeext'
17526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17527 (eval $ac_try) 2>&5
17529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530 (exit $ac_status); }; }; then
17531 have_attribute_alias
=yes
17533 echo "$as_me: failed program was:" >&5
17534 sed 's/^/| /' conftest.
$ac_ext >&5
17536 have_attribute_alias
=no
17538 rm -f conftest.err conftest.
$ac_objext \
17539 conftest
$ac_exeext conftest.
$ac_ext
17541 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
17542 echo "${ECHO_T}$have_attribute_alias" >&6
17543 if test $have_attribute_alias = yes; then
17545 cat >>confdefs.h
<<\_ACEOF
17546 #define HAVE_ATTRIBUTE_ALIAS 1
17552 # Check whether --with-gnu-ld or --without-gnu-ld was given.
17553 if test "${with_gnu_ld+set}" = set; then
17554 withval
="$with_gnu_ld"
17555 test "$withval" = no || with_gnu_ld
=yes
17560 if test "$GCC" = yes; then
17561 # Check if gcc -print-prog-name=ld gives a path.
17562 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
17563 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
17566 # gcc leaves a trailing carriage return which upsets mingw
17567 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17569 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
17572 # Accept absolute paths.
17574 re_direlt
='/[^/][^/]*/\.\./'
17575 # Canonicalize the pathname of ld
17576 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
17577 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
17578 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
17580 test -z "$LD" && LD
="$ac_prog"
17583 # If it fails, then pretend we aren't using GCC.
17587 # If it is relative, then search for the first ld in PATH.
17588 with_gnu_ld
=unknown
17591 elif test "$with_gnu_ld" = yes; then
17592 echo "$as_me:$LINENO: checking for GNU ld" >&5
17593 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
17595 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
17596 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
17598 if test "${lt_cv_path_LD+set}" = set; then
17599 echo $ECHO_N "(cached) $ECHO_C" >&6
17601 if test -z "$LD"; then
17602 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
17603 for ac_dir
in $PATH; do
17605 test -z "$ac_dir" && ac_dir
=.
17606 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
17607 lt_cv_path_LD
="$ac_dir/$ac_prog"
17608 # Check to see if the program is GNU ld. I'd rather use --version,
17609 # but apparently some variants of GNU ld only accept -v.
17610 # Break only if it was the GNU/non-GNU ld that we prefer.
17611 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
17612 *GNU
* |
*'with BFD'*)
17613 test "$with_gnu_ld" != no
&& break
17616 test "$with_gnu_ld" != yes && break
17623 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
17627 LD
="$lt_cv_path_LD"
17628 if test -n "$LD"; then
17629 echo "$as_me:$LINENO: result: $LD" >&5
17630 echo "${ECHO_T}$LD" >&6
17632 echo "$as_me:$LINENO: result: no" >&5
17633 echo "${ECHO_T}no" >&6
17635 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
17636 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
17637 { (exit 1); exit 1; }; }
17638 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
17639 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
17640 if test "${lt_cv_prog_gnu_ld+set}" = set; then
17641 echo $ECHO_N "(cached) $ECHO_C" >&6
17643 # I'd rather use --version here, but apparently some GNU lds only accept -v.
17644 case `$LD -v 2>&1 </dev/null` in
17645 *GNU
* |
*'with BFD'*)
17646 lt_cv_prog_gnu_ld
=yes
17649 lt_cv_prog_gnu_ld
=no
17653 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
17654 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
17655 with_gnu_ld
=$lt_cv_prog_gnu_ld
17663 # If we're not using GNU ld, then there's no point in even trying these
17664 # tests. Check for that first. We should have already tested for gld
17665 # by now (in libtool), but require it now just to be safe...
17666 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
17667 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
17671 # The name set by libtool depends on the version of libtool. Shame on us
17672 # for depending on an impl detail, but c'est la vie. Older versions used
17673 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
17674 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
17675 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
17676 # set (hence we're using an older libtool), then set it.
17677 if test x
${with_gnu_ld+set} != xset
; then
17678 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
17679 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
17682 with_gnu_ld
=$ac_cv_prog_gnu_ld
17686 # Start by getting the version number. I think the libtool test already
17687 # does some of this, but throws away the result.
17689 ldver
=`$LD --version 2>/dev/null | head -1 | \
17690 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
17692 libgomp_gnu_ld_version
=`echo $ldver | \
17693 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
17695 # Set --gc-sections.
17696 if test "$with_gnu_ld" = "notbroken"; then
17697 # GNU ld it is! Joy and bunny rabbits!
17699 # All these tests are for C++; save the language and the compiler flags.
17700 # Need to do this so that g++ won't try to link in libstdc++
17701 ac_test_CFLAGS
="${CFLAGS+set}"
17702 ac_save_CFLAGS
="$CFLAGS"
17703 CFLAGS
='-x c++ -Wl,--gc-sections'
17705 # Check for -Wl,--gc-sections
17706 # XXX This test is broken at the moment, as symbols required for linking
17707 # are now in libsupc++ (not built yet). In addition, this test has
17708 # cored on solaris in the past. In addition, --gc-sections doesn't
17709 # really work at the moment (keeps on discarding used sections, first
17710 # .eh_frame and now some of the glibc sections for iconv).
17711 # Bzzzzt. Thanks for playing, maybe next time.
17712 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
17713 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
17714 if test "$cross_compiling" = yes; then
17715 ac_sectionLDflags
=yes
17717 cat >conftest.
$ac_ext <<_ACEOF
17720 cat confdefs.h
>>conftest.
$ac_ext
17721 cat >>conftest.
$ac_ext <<_ACEOF
17722 /* end confdefs.h. */
17732 rm -f conftest
$ac_exeext
17733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17734 (eval $ac_link) 2>&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17739 (eval $ac_try) 2>&5
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); }; }; then
17743 ac_sectionLDflags
=yes
17745 echo "$as_me: program exited with status $ac_status" >&5
17746 echo "$as_me: failed program was:" >&5
17747 sed 's/^/| /' conftest.
$ac_ext >&5
17749 ( exit $ac_status )
17750 ac_sectionLDflags
=no
17752 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17754 if test "$ac_test_CFLAGS" = set; then
17755 CFLAGS
="$ac_save_CFLAGS"
17757 # this is the suspicious part
17760 if test "$ac_sectionLDflags" = "yes"; then
17761 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
17763 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
17764 echo "${ECHO_T}$ac_sectionLDflags" >&6
17767 # Set linker optimization flags.
17768 if test x
"$with_gnu_ld" = x
"yes"; then
17769 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
17777 # Check whether --enable-symvers or --disable-symvers was given.
17778 if test "${enable_symvers+set}" = set; then
17779 enableval
="$enable_symvers"
17781 case "$enableval" in
17783 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
17784 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
17785 { (exit 1); exit 1; }; } ;;
17793 # If we never went through the LIBGOMP_CHECK_LINKER_FEATURES macro, then we
17794 # don't know enough about $LD to do tricks...
17796 # FIXME The following test is too strict, in theory.
17797 if test $enable_shared = no ||
17799 test x
$libgomp_gnu_ld_version = x
; then
17803 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
17804 if test $enable_symvers != no
; then
17805 echo "$as_me:$LINENO: checking for shared libgcc" >&5
17806 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
17807 ac_save_CFLAGS
="$CFLAGS"
17809 cat >conftest.
$ac_ext <<_ACEOF
17812 cat confdefs.h
>>conftest.
$ac_ext
17813 cat >>conftest.
$ac_ext <<_ACEOF
17814 /* end confdefs.h. */
17824 rm -f conftest.
$ac_objext conftest
$ac_exeext
17825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17826 (eval $ac_link) 2>conftest.er1
17828 grep -v '^ *+' conftest.er1
>conftest.err
17830 cat conftest.err
>&5
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); } &&
17833 { ac_try
='test -z "$ac_c_werror_flag"
17834 || test ! -s conftest.err'
17835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17836 (eval $ac_try) 2>&5
17838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17839 (exit $ac_status); }; } &&
17840 { ac_try
='test -s conftest$ac_exeext'
17841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17842 (eval $ac_try) 2>&5
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); }; }; then
17846 libgomp_shared_libgcc
=yes
17848 echo "$as_me: failed program was:" >&5
17849 sed 's/^/| /' conftest.
$ac_ext >&5
17851 libgomp_shared_libgcc
=no
17853 rm -f conftest.err conftest.
$ac_objext \
17854 conftest
$ac_exeext conftest.
$ac_ext
17855 CFLAGS
="$ac_save_CFLAGS"
17856 if test $libgomp_shared_libgcc = no
; then
17857 cat > conftest.c
<<EOF
17858 int main (void) { return 0; }
17860 libgomp_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
17861 -shared -shared-libgcc -o conftest.so \
17862 conftest.c -v 2>&1 >/dev/null \
17863 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
17864 rm -f conftest.c conftest.so
17865 if test x
${libgomp_libgcc_s_suffix+set} = xset
; then
17866 CFLAGS
=" -lgcc_s$libgomp_libgcc_s_suffix"
17867 cat >conftest.
$ac_ext <<_ACEOF
17870 cat confdefs.h
>>conftest.
$ac_ext
17871 cat >>conftest.
$ac_ext <<_ACEOF
17872 /* end confdefs.h. */
17882 rm -f conftest.
$ac_objext conftest
$ac_exeext
17883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17884 (eval $ac_link) 2>conftest.er1
17886 grep -v '^ *+' conftest.er1
>conftest.err
17888 cat conftest.err
>&5
17889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17890 (exit $ac_status); } &&
17891 { ac_try
='test -z "$ac_c_werror_flag"
17892 || test ! -s conftest.err'
17893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17894 (eval $ac_try) 2>&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); }; } &&
17898 { ac_try
='test -s conftest$ac_exeext'
17899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17900 (eval $ac_try) 2>&5
17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903 (exit $ac_status); }; }; then
17904 libgomp_shared_libgcc
=yes
17906 echo "$as_me: failed program was:" >&5
17907 sed 's/^/| /' conftest.
$ac_ext >&5
17910 rm -f conftest.err conftest.
$ac_objext \
17911 conftest
$ac_exeext conftest.
$ac_ext
17912 CFLAGS
="$ac_save_CFLAGS"
17915 echo "$as_me:$LINENO: result: $libgomp_shared_libgcc" >&5
17916 echo "${ECHO_T}$libgomp_shared_libgcc" >&6
17919 # For GNU ld, we need at least this version. The format is described in
17920 # LIBGOMP_CHECK_LINKER_FEATURES above.
17921 libgomp_min_gnu_ld_version
=21400
17922 # XXXXXXXXXXX libgomp_gnu_ld_version=21390
17924 # Check to see if unspecified "yes" value can win, given results above.
17925 # Change "yes" into either "no" or a style name.
17926 if test $enable_symvers = yes; then
17927 if test $with_gnu_ld = yes &&
17928 test $libgomp_shared_libgcc = yes;
17930 if test $libgomp_gnu_ld_version -ge $libgomp_min_gnu_ld_version ; then
17933 # The right tools, the right setup, but too old. Fallbacks?
17934 { echo "$as_me:$LINENO: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&5
17935 echo "$as_me: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&2;}
17936 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
17937 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
17938 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
17939 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
17940 { echo "$as_me:$LINENO: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&5
17941 echo "$as_me: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&2;}
17942 if test $libgomp_gnu_ld_version -ge 21200 ; then
17943 # Globbing fix is present, proper block support is not.
17944 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
17945 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
17949 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
17950 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
17955 # just fail for now
17956 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
17957 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
17958 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
17959 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
17960 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
17961 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
17962 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
17963 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
17970 if test $enable_symvers != no
; then
17971 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
=
17972 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
='#'
17974 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
='#'
17975 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
=
17978 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
17979 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
17982 # Get target configury.
17983 .
${srcdir}/configure.tgt
17984 CFLAGS
="$save_CFLAGS $XCFLAGS"
17986 # Check for __sync_val_compare_and_swap, but only after the target has
17987 # had a chance to set XCFLAGS.
17989 echo "$as_me:$LINENO: checking whether the target supports __sync_*_compare_and_swap" >&5
17990 echo $ECHO_N "checking whether the target supports __sync_*_compare_and_swap... $ECHO_C" >&6
17991 if test "${have_sync_builtins+set}" = set; then
17992 echo $ECHO_N "(cached) $ECHO_C" >&6
17995 cat >conftest.
$ac_ext <<_ACEOF
17998 cat confdefs.h
>>conftest.
$ac_ext
17999 cat >>conftest.
$ac_ext <<_ACEOF
18000 /* end confdefs.h. */
18005 int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);
18010 rm -f conftest.
$ac_objext conftest
$ac_exeext
18011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18012 (eval $ac_link) 2>conftest.er1
18014 grep -v '^ *+' conftest.er1
>conftest.err
18016 cat conftest.err
>&5
18017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18018 (exit $ac_status); } &&
18019 { ac_try
='test -z "$ac_c_werror_flag"
18020 || test ! -s conftest.err'
18021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18022 (eval $ac_try) 2>&5
18024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025 (exit $ac_status); }; } &&
18026 { ac_try
='test -s conftest$ac_exeext'
18027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18028 (eval $ac_try) 2>&5
18030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18031 (exit $ac_status); }; }; then
18032 have_sync_builtins
=yes
18034 echo "$as_me: failed program was:" >&5
18035 sed 's/^/| /' conftest.
$ac_ext >&5
18037 have_sync_builtins
=no
18039 rm -f conftest.err conftest.
$ac_objext \
18040 conftest
$ac_exeext conftest.
$ac_ext
18042 echo "$as_me:$LINENO: result: $have_sync_builtins" >&5
18043 echo "${ECHO_T}$have_sync_builtins" >&6
18044 if test $have_sync_builtins = yes; then
18046 cat >>confdefs.h
<<\_ACEOF
18047 #define HAVE_SYNC_BUILTINS 1
18052 XCFLAGS
="$XCFLAGS$XPCFLAGS"
18058 # Cleanup and exit.
18059 CFLAGS
="$save_CFLAGS"
18060 cat >confcache
<<\_ACEOF
18061 # This file is a shell script that caches the results of configure
18062 # tests run on this system so they can be shared between configure
18063 # scripts and configure runs, see configure's option --config-cache.
18064 # It is not useful on other systems. If it contains results you don't
18065 # want to keep, you may remove or edit it.
18067 # config.status only pays attention to the cache file if you give it
18068 # the --recheck option to rerun configure.
18070 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18071 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18072 # following values.
18076 # The following way of writing the cache mishandles newlines in values,
18077 # but we know of no workaround that is simple, portable, and efficient.
18078 # So, don't put newlines in cache variables' values.
18079 # Ultrix sh set writes to stderr and can't be redirected directly,
18080 # and sets the high bit in the cache file unless we assign to the vars.
18083 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18085 # `set' does not quote correctly, so add quotes (double-quote
18086 # substitution turns \\\\ into \\, and sed turns \\ into \).
18089 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18092 # `set' quotes correctly as required by POSIX, so do not add quotes.
18094 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18101 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18103 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18105 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18106 if test -w $cache_file; then
18107 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18108 cat confcache
>$cache_file
18110 echo "not updating unwritable cache $cache_file"
18115 if test ${multilib} = yes; then
18116 multilib_arg
="--enable-multilib"
18121 # Set up the set of libraries that we need to link against for libgomp.
18122 # Note that the GOMP_SELF_SPEC in gcc.c will force -pthread for -fopenmp,
18123 # which will force linkage against -lpthread (or equivalent for the system).
18124 # That's not 100% ideal, but about the best we can do easily.
18125 if test $enable_shared = yes; then
18126 link_gomp
="-lgomp %{static: $LIBS}"
18128 link_gomp
="-lgomp $LIBS"
18134 if test "$ac_cv_fc_compiler_gnu" = yes; then
18136 USE_FORTRAN_FALSE
='#'
18138 USE_FORTRAN_TRUE
='#'
18143 # ??? 2006-01-24: Paulo committed to asking autoconf folk to document
18144 # and export AC_COMPUTE_INT. If that happens, then we'll need to remove
18145 # the underscore here and update the PREREQ. If it doesn't, then we'll
18146 # need to copy this macro to our acinclude.m4.
18147 save_CFLAGS
="$CFLAGS"
18148 for i
in $config_path; do
18149 if test -f $srcdir/config
/$i/omp-lock.h
; then
18150 CFLAGS
="$CFLAGS -include $srcdir/config/$i/omp-lock.h"
18155 if test "$cross_compiling" = yes; then
18156 # Depending upon the size, compute the lo and hi bounds.
18157 cat >conftest.
$ac_ext <<_ACEOF
18160 cat confdefs.h
>>conftest.
$ac_ext
18161 cat >>conftest.
$ac_ext <<_ACEOF
18162 /* end confdefs.h. */
18167 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) >= 0)];
18174 rm -f conftest.
$ac_objext
18175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18176 (eval $ac_compile) 2>conftest.er1
18178 grep -v '^ *+' conftest.er1
>conftest.err
18180 cat conftest.err
>&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); } &&
18183 { ac_try
='test -z "$ac_c_werror_flag"
18184 || test ! -s conftest.err'
18185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18186 (eval $ac_try) 2>&5
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); }; } &&
18190 { ac_try
='test -s conftest.$ac_objext'
18191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18192 (eval $ac_try) 2>&5
18194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195 (exit $ac_status); }; }; then
18198 cat >conftest.
$ac_ext <<_ACEOF
18201 cat confdefs.h
>>conftest.
$ac_ext
18202 cat >>conftest.
$ac_ext <<_ACEOF
18203 /* end confdefs.h. */
18208 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) <= $ac_mid)];
18215 rm -f conftest.
$ac_objext
18216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18217 (eval $ac_compile) 2>conftest.er1
18219 grep -v '^ *+' conftest.er1
>conftest.err
18221 cat conftest.err
>&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); } &&
18224 { ac_try
='test -z "$ac_c_werror_flag"
18225 || test ! -s conftest.err'
18226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18227 (eval $ac_try) 2>&5
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); }; } &&
18231 { ac_try
='test -s conftest.$ac_objext'
18232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18233 (eval $ac_try) 2>&5
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); }; }; then
18237 ac_hi
=$ac_mid; break
18239 echo "$as_me: failed program was:" >&5
18240 sed 's/^/| /' conftest.
$ac_ext >&5
18242 ac_lo
=`expr $ac_mid + 1`
18243 if test $ac_lo -le $ac_mid; then
18247 ac_mid
=`expr 2 '*' $ac_mid + 1`
18249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18252 echo "$as_me: failed program was:" >&5
18253 sed 's/^/| /' conftest.
$ac_ext >&5
18255 cat >conftest.
$ac_ext <<_ACEOF
18258 cat confdefs.h
>>conftest.
$ac_ext
18259 cat >>conftest.
$ac_ext <<_ACEOF
18260 /* end confdefs.h. */
18265 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) < 0)];
18272 rm -f conftest.
$ac_objext
18273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18274 (eval $ac_compile) 2>conftest.er1
18276 grep -v '^ *+' conftest.er1
>conftest.err
18278 cat conftest.err
>&5
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); } &&
18281 { ac_try
='test -z "$ac_c_werror_flag"
18282 || test ! -s conftest.err'
18283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18284 (eval $ac_try) 2>&5
18286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); }; } &&
18288 { ac_try
='test -s conftest.$ac_objext'
18289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18290 (eval $ac_try) 2>&5
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); }; }; then
18296 cat >conftest.
$ac_ext <<_ACEOF
18299 cat confdefs.h
>>conftest.
$ac_ext
18300 cat >>conftest.
$ac_ext <<_ACEOF
18301 /* end confdefs.h. */
18306 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) >= $ac_mid)];
18313 rm -f conftest.
$ac_objext
18314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18315 (eval $ac_compile) 2>conftest.er1
18317 grep -v '^ *+' conftest.er1
>conftest.err
18319 cat conftest.err
>&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); } &&
18322 { ac_try
='test -z "$ac_c_werror_flag"
18323 || test ! -s conftest.err'
18324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18325 (eval $ac_try) 2>&5
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); }; } &&
18329 { ac_try
='test -s conftest.$ac_objext'
18330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18331 (eval $ac_try) 2>&5
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); }; }; then
18335 ac_lo
=$ac_mid; break
18337 echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.
$ac_ext >&5
18340 ac_hi
=`expr '(' $ac_mid ')' - 1`
18341 if test $ac_mid -le $ac_hi; then
18345 ac_mid
=`expr 2 '*' $ac_mid`
18347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18350 echo "$as_me: failed program was:" >&5
18351 sed 's/^/| /' conftest.
$ac_ext >&5
18355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18358 # Binary search between lo and hi bounds.
18359 while test "x$ac_lo" != "x$ac_hi"; do
18360 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18361 cat >conftest.
$ac_ext <<_ACEOF
18364 cat confdefs.h
>>conftest.
$ac_ext
18365 cat >>conftest.
$ac_ext <<_ACEOF
18366 /* end confdefs.h. */
18371 static int test_array [1 - 2 * !((sizeof (omp_lock_t)) <= $ac_mid)];
18378 rm -f conftest.
$ac_objext
18379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18380 (eval $ac_compile) 2>conftest.er1
18382 grep -v '^ *+' conftest.er1
>conftest.err
18384 cat conftest.err
>&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); } &&
18387 { ac_try
='test -z "$ac_c_werror_flag"
18388 || test ! -s conftest.err'
18389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18390 (eval $ac_try) 2>&5
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); }; } &&
18394 { ac_try
='test -s conftest.$ac_objext'
18395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18396 (eval $ac_try) 2>&5
18398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18399 (exit $ac_status); }; }; then
18402 echo "$as_me: failed program was:" >&5
18403 sed 's/^/| /' conftest.
$ac_ext >&5
18405 ac_lo
=`expr '(' $ac_mid ')' + 1`
18407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18410 ?
*) OMP_LOCK_SIZE
=$ac_lo;;
18411 '') { { echo "$as_me:$LINENO: error: unsupported system, cannot find sizeof (omp_lock_t)" >&5
18412 echo "$as_me: error: unsupported system, cannot find sizeof (omp_lock_t)" >&2;}
18413 { (exit 1); exit 1; }; } ;;
18416 if test "$cross_compiling" = yes; then
18417 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18418 See \`config.log' for more details." >&5
18419 echo "$as_me: error: cannot run test program while cross compiling
18420 See \`config.log' for more details." >&2;}
18421 { (exit 1); exit 1; }; }
18423 cat >conftest.
$ac_ext <<_ACEOF
18426 cat confdefs.h
>>conftest.
$ac_ext
18427 cat >>conftest.
$ac_ext <<_ACEOF
18428 /* end confdefs.h. */
18430 long longval () { return sizeof (omp_lock_t); }
18431 unsigned long ulongval () { return sizeof (omp_lock_t); }
18433 #include <stdlib.h>
18438 FILE *f = fopen ("conftest.val", "w");
18441 if ((sizeof (omp_lock_t)) < 0)
18443 long i = longval ();
18444 if (i != (sizeof (omp_lock_t)))
18446 fprintf (f, "%ld\n", i);
18450 unsigned long i = ulongval ();
18451 if (i != (sizeof (omp_lock_t)))
18453 fprintf (f, "%lu\n", i);
18455 exit (ferror (f) || fclose (f) != 0);
18461 rm -f conftest
$ac_exeext
18462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18463 (eval $ac_link) 2>&5
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18468 (eval $ac_try) 2>&5
18470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471 (exit $ac_status); }; }; then
18472 OMP_LOCK_SIZE
=`cat conftest.val`
18474 echo "$as_me: program exited with status $ac_status" >&5
18475 echo "$as_me: failed program was:" >&5
18476 sed 's/^/| /' conftest.
$ac_ext >&5
18478 ( exit $ac_status )
18479 { { echo "$as_me:$LINENO: error: unsupported system, cannot find sizeof (omp_lock_t)" >&5
18480 echo "$as_me: error: unsupported system, cannot find sizeof (omp_lock_t)" >&2;}
18481 { (exit 1); exit 1; }; }
18483 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18487 if test "$cross_compiling" = yes; then
18488 # Depending upon the size, compute the lo and hi bounds.
18489 cat >conftest.
$ac_ext <<_ACEOF
18492 cat confdefs.h
>>conftest.
$ac_ext
18493 cat >>conftest.
$ac_ext <<_ACEOF
18494 /* end confdefs.h. */
18499 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) >= 0)];
18506 rm -f conftest.
$ac_objext
18507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18508 (eval $ac_compile) 2>conftest.er1
18510 grep -v '^ *+' conftest.er1
>conftest.err
18512 cat conftest.err
>&5
18513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18514 (exit $ac_status); } &&
18515 { ac_try
='test -z "$ac_c_werror_flag"
18516 || test ! -s conftest.err'
18517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18518 (eval $ac_try) 2>&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); }; } &&
18522 { ac_try
='test -s conftest.$ac_objext'
18523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18524 (eval $ac_try) 2>&5
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; }; then
18530 cat >conftest.
$ac_ext <<_ACEOF
18533 cat confdefs.h
>>conftest.
$ac_ext
18534 cat >>conftest.
$ac_ext <<_ACEOF
18535 /* end confdefs.h. */
18540 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) <= $ac_mid)];
18547 rm -f conftest.
$ac_objext
18548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18549 (eval $ac_compile) 2>conftest.er1
18551 grep -v '^ *+' conftest.er1
>conftest.err
18553 cat conftest.err
>&5
18554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18555 (exit $ac_status); } &&
18556 { ac_try
='test -z "$ac_c_werror_flag"
18557 || test ! -s conftest.err'
18558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18559 (eval $ac_try) 2>&5
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); }; } &&
18563 { ac_try
='test -s conftest.$ac_objext'
18564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18565 (eval $ac_try) 2>&5
18567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18568 (exit $ac_status); }; }; then
18569 ac_hi
=$ac_mid; break
18571 echo "$as_me: failed program was:" >&5
18572 sed 's/^/| /' conftest.
$ac_ext >&5
18574 ac_lo
=`expr $ac_mid + 1`
18575 if test $ac_lo -le $ac_mid; then
18579 ac_mid
=`expr 2 '*' $ac_mid + 1`
18581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18584 echo "$as_me: failed program was:" >&5
18585 sed 's/^/| /' conftest.
$ac_ext >&5
18587 cat >conftest.
$ac_ext <<_ACEOF
18590 cat confdefs.h
>>conftest.
$ac_ext
18591 cat >>conftest.
$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18597 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) < 0)];
18604 rm -f conftest.
$ac_objext
18605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18606 (eval $ac_compile) 2>conftest.er1
18608 grep -v '^ *+' conftest.er1
>conftest.err
18610 cat conftest.err
>&5
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); } &&
18613 { ac_try
='test -z "$ac_c_werror_flag"
18614 || test ! -s conftest.err'
18615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18616 (eval $ac_try) 2>&5
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); }; } &&
18620 { ac_try
='test -s conftest.$ac_objext'
18621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18622 (eval $ac_try) 2>&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); }; }; then
18628 cat >conftest.
$ac_ext <<_ACEOF
18631 cat confdefs.h
>>conftest.
$ac_ext
18632 cat >>conftest.
$ac_ext <<_ACEOF
18633 /* end confdefs.h. */
18638 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) >= $ac_mid)];
18645 rm -f conftest.
$ac_objext
18646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18647 (eval $ac_compile) 2>conftest.er1
18649 grep -v '^ *+' conftest.er1
>conftest.err
18651 cat conftest.err
>&5
18652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18653 (exit $ac_status); } &&
18654 { ac_try
='test -z "$ac_c_werror_flag"
18655 || test ! -s conftest.err'
18656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18657 (eval $ac_try) 2>&5
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); }; } &&
18661 { ac_try
='test -s conftest.$ac_objext'
18662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18663 (eval $ac_try) 2>&5
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); }; }; then
18667 ac_lo
=$ac_mid; break
18669 echo "$as_me: failed program was:" >&5
18670 sed 's/^/| /' conftest.
$ac_ext >&5
18672 ac_hi
=`expr '(' $ac_mid ')' - 1`
18673 if test $ac_mid -le $ac_hi; then
18677 ac_mid
=`expr 2 '*' $ac_mid`
18679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18682 echo "$as_me: failed program was:" >&5
18683 sed 's/^/| /' conftest.
$ac_ext >&5
18687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18690 # Binary search between lo and hi bounds.
18691 while test "x$ac_lo" != "x$ac_hi"; do
18692 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18693 cat >conftest.
$ac_ext <<_ACEOF
18696 cat confdefs.h
>>conftest.
$ac_ext
18697 cat >>conftest.
$ac_ext <<_ACEOF
18698 /* end confdefs.h. */
18703 static int test_array [1 - 2 * !((__alignof (omp_lock_t)) <= $ac_mid)];
18710 rm -f conftest.
$ac_objext
18711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18712 (eval $ac_compile) 2>conftest.er1
18714 grep -v '^ *+' conftest.er1
>conftest.err
18716 cat conftest.err
>&5
18717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18718 (exit $ac_status); } &&
18719 { ac_try
='test -z "$ac_c_werror_flag"
18720 || test ! -s conftest.err'
18721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18722 (eval $ac_try) 2>&5
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); }; } &&
18726 { ac_try
='test -s conftest.$ac_objext'
18727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18728 (eval $ac_try) 2>&5
18730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731 (exit $ac_status); }; }; then
18734 echo "$as_me: failed program was:" >&5
18735 sed 's/^/| /' conftest.
$ac_ext >&5
18737 ac_lo
=`expr '(' $ac_mid ')' + 1`
18739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18742 ?
*) OMP_LOCK_ALIGN
=$ac_lo;;
18746 if test "$cross_compiling" = yes; then
18747 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18748 See \`config.log' for more details." >&5
18749 echo "$as_me: error: cannot run test program while cross compiling
18750 See \`config.log' for more details." >&2;}
18751 { (exit 1); exit 1; }; }
18753 cat >conftest.
$ac_ext <<_ACEOF
18756 cat confdefs.h
>>conftest.
$ac_ext
18757 cat >>conftest.
$ac_ext <<_ACEOF
18758 /* end confdefs.h. */
18760 long longval () { return __alignof (omp_lock_t); }
18761 unsigned long ulongval () { return __alignof (omp_lock_t); }
18763 #include <stdlib.h>
18768 FILE *f = fopen ("conftest.val", "w");
18771 if ((__alignof (omp_lock_t)) < 0)
18773 long i = longval ();
18774 if (i != (__alignof (omp_lock_t)))
18776 fprintf (f, "%ld\n", i);
18780 unsigned long i = ulongval ();
18781 if (i != (__alignof (omp_lock_t)))
18783 fprintf (f, "%lu\n", i);
18785 exit (ferror (f) || fclose (f) != 0);
18791 rm -f conftest
$ac_exeext
18792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18793 (eval $ac_link) 2>&5
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18798 (eval $ac_try) 2>&5
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); }; }; then
18802 OMP_LOCK_ALIGN
=`cat conftest.val`
18804 echo "$as_me: program exited with status $ac_status" >&5
18805 echo "$as_me: failed program was:" >&5
18806 sed 's/^/| /' conftest.
$ac_ext >&5
18809 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18813 if test "$cross_compiling" = yes; then
18814 # Depending upon the size, compute the lo and hi bounds.
18815 cat >conftest.
$ac_ext <<_ACEOF
18818 cat confdefs.h
>>conftest.
$ac_ext
18819 cat >>conftest.
$ac_ext <<_ACEOF
18820 /* end confdefs.h. */
18825 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) >= 0)];
18832 rm -f conftest.
$ac_objext
18833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18834 (eval $ac_compile) 2>conftest.er1
18836 grep -v '^ *+' conftest.er1
>conftest.err
18838 cat conftest.err
>&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); } &&
18841 { ac_try
='test -z "$ac_c_werror_flag"
18842 || test ! -s conftest.err'
18843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18844 (eval $ac_try) 2>&5
18846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847 (exit $ac_status); }; } &&
18848 { ac_try
='test -s conftest.$ac_objext'
18849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18850 (eval $ac_try) 2>&5
18852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18853 (exit $ac_status); }; }; then
18856 cat >conftest.
$ac_ext <<_ACEOF
18859 cat confdefs.h
>>conftest.
$ac_ext
18860 cat >>conftest.
$ac_ext <<_ACEOF
18861 /* end confdefs.h. */
18866 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) <= $ac_mid)];
18873 rm -f conftest.
$ac_objext
18874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18875 (eval $ac_compile) 2>conftest.er1
18877 grep -v '^ *+' conftest.er1
>conftest.err
18879 cat conftest.err
>&5
18880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881 (exit $ac_status); } &&
18882 { ac_try
='test -z "$ac_c_werror_flag"
18883 || test ! -s conftest.err'
18884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18885 (eval $ac_try) 2>&5
18887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18888 (exit $ac_status); }; } &&
18889 { ac_try
='test -s conftest.$ac_objext'
18890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18891 (eval $ac_try) 2>&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); }; }; then
18895 ac_hi
=$ac_mid; break
18897 echo "$as_me: failed program was:" >&5
18898 sed 's/^/| /' conftest.
$ac_ext >&5
18900 ac_lo
=`expr $ac_mid + 1`
18901 if test $ac_lo -le $ac_mid; then
18905 ac_mid
=`expr 2 '*' $ac_mid + 1`
18907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18910 echo "$as_me: failed program was:" >&5
18911 sed 's/^/| /' conftest.
$ac_ext >&5
18913 cat >conftest.
$ac_ext <<_ACEOF
18916 cat confdefs.h
>>conftest.
$ac_ext
18917 cat >>conftest.
$ac_ext <<_ACEOF
18918 /* end confdefs.h. */
18923 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) < 0)];
18930 rm -f conftest.
$ac_objext
18931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18932 (eval $ac_compile) 2>conftest.er1
18934 grep -v '^ *+' conftest.er1
>conftest.err
18936 cat conftest.err
>&5
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); } &&
18939 { ac_try
='test -z "$ac_c_werror_flag"
18940 || test ! -s conftest.err'
18941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18942 (eval $ac_try) 2>&5
18944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18945 (exit $ac_status); }; } &&
18946 { ac_try
='test -s conftest.$ac_objext'
18947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18948 (eval $ac_try) 2>&5
18950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951 (exit $ac_status); }; }; then
18954 cat >conftest.
$ac_ext <<_ACEOF
18957 cat confdefs.h
>>conftest.
$ac_ext
18958 cat >>conftest.
$ac_ext <<_ACEOF
18959 /* end confdefs.h. */
18964 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) >= $ac_mid)];
18971 rm -f conftest.
$ac_objext
18972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18973 (eval $ac_compile) 2>conftest.er1
18975 grep -v '^ *+' conftest.er1
>conftest.err
18977 cat conftest.err
>&5
18978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18979 (exit $ac_status); } &&
18980 { ac_try
='test -z "$ac_c_werror_flag"
18981 || test ! -s conftest.err'
18982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18983 (eval $ac_try) 2>&5
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); }; } &&
18987 { ac_try
='test -s conftest.$ac_objext'
18988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18989 (eval $ac_try) 2>&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); }; }; then
18993 ac_lo
=$ac_mid; break
18995 echo "$as_me: failed program was:" >&5
18996 sed 's/^/| /' conftest.
$ac_ext >&5
18998 ac_hi
=`expr '(' $ac_mid ')' - 1`
18999 if test $ac_mid -le $ac_hi; then
19003 ac_mid
=`expr 2 '*' $ac_mid`
19005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19008 echo "$as_me: failed program was:" >&5
19009 sed 's/^/| /' conftest.
$ac_ext >&5
19013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19016 # Binary search between lo and hi bounds.
19017 while test "x$ac_lo" != "x$ac_hi"; do
19018 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19019 cat >conftest.
$ac_ext <<_ACEOF
19022 cat confdefs.h
>>conftest.
$ac_ext
19023 cat >>conftest.
$ac_ext <<_ACEOF
19024 /* end confdefs.h. */
19029 static int test_array [1 - 2 * !((sizeof (omp_nest_lock_t)) <= $ac_mid)];
19036 rm -f conftest.
$ac_objext
19037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19038 (eval $ac_compile) 2>conftest.er1
19040 grep -v '^ *+' conftest.er1
>conftest.err
19042 cat conftest.err
>&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); } &&
19045 { ac_try
='test -z "$ac_c_werror_flag"
19046 || test ! -s conftest.err'
19047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19048 (eval $ac_try) 2>&5
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); }; } &&
19052 { ac_try
='test -s conftest.$ac_objext'
19053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19054 (eval $ac_try) 2>&5
19056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 (exit $ac_status); }; }; then
19060 echo "$as_me: failed program was:" >&5
19061 sed 's/^/| /' conftest.
$ac_ext >&5
19063 ac_lo
=`expr '(' $ac_mid ')' + 1`
19065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19068 ?
*) OMP_NEST_LOCK_SIZE
=$ac_lo;;
19072 if test "$cross_compiling" = yes; then
19073 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19074 See \`config.log' for more details." >&5
19075 echo "$as_me: error: cannot run test program while cross compiling
19076 See \`config.log' for more details." >&2;}
19077 { (exit 1); exit 1; }; }
19079 cat >conftest.
$ac_ext <<_ACEOF
19082 cat confdefs.h
>>conftest.
$ac_ext
19083 cat >>conftest.
$ac_ext <<_ACEOF
19084 /* end confdefs.h. */
19086 long longval () { return sizeof (omp_nest_lock_t); }
19087 unsigned long ulongval () { return sizeof (omp_nest_lock_t); }
19089 #include <stdlib.h>
19094 FILE *f = fopen ("conftest.val", "w");
19097 if ((sizeof (omp_nest_lock_t)) < 0)
19099 long i = longval ();
19100 if (i != (sizeof (omp_nest_lock_t)))
19102 fprintf (f, "%ld\n", i);
19106 unsigned long i = ulongval ();
19107 if (i != (sizeof (omp_nest_lock_t)))
19109 fprintf (f, "%lu\n", i);
19111 exit (ferror (f) || fclose (f) != 0);
19117 rm -f conftest
$ac_exeext
19118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19119 (eval $ac_link) 2>&5
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19124 (eval $ac_try) 2>&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); }; }; then
19128 OMP_NEST_LOCK_SIZE
=`cat conftest.val`
19130 echo "$as_me: program exited with status $ac_status" >&5
19131 echo "$as_me: failed program was:" >&5
19132 sed 's/^/| /' conftest.
$ac_ext >&5
19135 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19139 if test "$cross_compiling" = yes; then
19140 # Depending upon the size, compute the lo and hi bounds.
19141 cat >conftest.
$ac_ext <<_ACEOF
19144 cat confdefs.h
>>conftest.
$ac_ext
19145 cat >>conftest.
$ac_ext <<_ACEOF
19146 /* end confdefs.h. */
19151 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) >= 0)];
19158 rm -f conftest.
$ac_objext
19159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19160 (eval $ac_compile) 2>conftest.er1
19162 grep -v '^ *+' conftest.er1
>conftest.err
19164 cat conftest.err
>&5
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); } &&
19167 { ac_try
='test -z "$ac_c_werror_flag"
19168 || test ! -s conftest.err'
19169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19170 (eval $ac_try) 2>&5
19172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173 (exit $ac_status); }; } &&
19174 { ac_try
='test -s conftest.$ac_objext'
19175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19176 (eval $ac_try) 2>&5
19178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19179 (exit $ac_status); }; }; then
19182 cat >conftest.
$ac_ext <<_ACEOF
19185 cat confdefs.h
>>conftest.
$ac_ext
19186 cat >>conftest.
$ac_ext <<_ACEOF
19187 /* end confdefs.h. */
19192 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) <= $ac_mid)];
19199 rm -f conftest.
$ac_objext
19200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19201 (eval $ac_compile) 2>conftest.er1
19203 grep -v '^ *+' conftest.er1
>conftest.err
19205 cat conftest.err
>&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); } &&
19208 { ac_try
='test -z "$ac_c_werror_flag"
19209 || test ! -s conftest.err'
19210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19211 (eval $ac_try) 2>&5
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); }; } &&
19215 { ac_try
='test -s conftest.$ac_objext'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; }; then
19221 ac_hi
=$ac_mid; break
19223 echo "$as_me: failed program was:" >&5
19224 sed 's/^/| /' conftest.
$ac_ext >&5
19226 ac_lo
=`expr $ac_mid + 1`
19227 if test $ac_lo -le $ac_mid; then
19231 ac_mid
=`expr 2 '*' $ac_mid + 1`
19233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19236 echo "$as_me: failed program was:" >&5
19237 sed 's/^/| /' conftest.
$ac_ext >&5
19239 cat >conftest.
$ac_ext <<_ACEOF
19242 cat confdefs.h
>>conftest.
$ac_ext
19243 cat >>conftest.
$ac_ext <<_ACEOF
19244 /* end confdefs.h. */
19249 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) < 0)];
19256 rm -f conftest.
$ac_objext
19257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19258 (eval $ac_compile) 2>conftest.er1
19260 grep -v '^ *+' conftest.er1
>conftest.err
19262 cat conftest.err
>&5
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); } &&
19265 { ac_try
='test -z "$ac_c_werror_flag"
19266 || test ! -s conftest.err'
19267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19268 (eval $ac_try) 2>&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); }; } &&
19272 { ac_try
='test -s conftest.$ac_objext'
19273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19274 (eval $ac_try) 2>&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); }; }; then
19280 cat >conftest.
$ac_ext <<_ACEOF
19283 cat confdefs.h
>>conftest.
$ac_ext
19284 cat >>conftest.
$ac_ext <<_ACEOF
19285 /* end confdefs.h. */
19290 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) >= $ac_mid)];
19297 rm -f conftest.
$ac_objext
19298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19299 (eval $ac_compile) 2>conftest.er1
19301 grep -v '^ *+' conftest.er1
>conftest.err
19303 cat conftest.err
>&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); } &&
19306 { ac_try
='test -z "$ac_c_werror_flag"
19307 || test ! -s conftest.err'
19308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19309 (eval $ac_try) 2>&5
19311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19312 (exit $ac_status); }; } &&
19313 { ac_try
='test -s conftest.$ac_objext'
19314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19315 (eval $ac_try) 2>&5
19317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318 (exit $ac_status); }; }; then
19319 ac_lo
=$ac_mid; break
19321 echo "$as_me: failed program was:" >&5
19322 sed 's/^/| /' conftest.
$ac_ext >&5
19324 ac_hi
=`expr '(' $ac_mid ')' - 1`
19325 if test $ac_mid -le $ac_hi; then
19329 ac_mid
=`expr 2 '*' $ac_mid`
19331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19334 echo "$as_me: failed program was:" >&5
19335 sed 's/^/| /' conftest.
$ac_ext >&5
19339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19342 # Binary search between lo and hi bounds.
19343 while test "x$ac_lo" != "x$ac_hi"; do
19344 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19345 cat >conftest.
$ac_ext <<_ACEOF
19348 cat confdefs.h
>>conftest.
$ac_ext
19349 cat >>conftest.
$ac_ext <<_ACEOF
19350 /* end confdefs.h. */
19355 static int test_array [1 - 2 * !((__alignof (omp_nest_lock_t)) <= $ac_mid)];
19362 rm -f conftest.
$ac_objext
19363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19364 (eval $ac_compile) 2>conftest.er1
19366 grep -v '^ *+' conftest.er1
>conftest.err
19368 cat conftest.err
>&5
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); } &&
19371 { ac_try
='test -z "$ac_c_werror_flag"
19372 || test ! -s conftest.err'
19373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19374 (eval $ac_try) 2>&5
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); }; } &&
19378 { ac_try
='test -s conftest.$ac_objext'
19379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19380 (eval $ac_try) 2>&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); }; }; then
19386 echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.
$ac_ext >&5
19389 ac_lo
=`expr '(' $ac_mid ')' + 1`
19391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19394 ?
*) OMP_NEST_LOCK_ALIGN
=$ac_lo;;
19398 if test "$cross_compiling" = yes; then
19399 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19400 See \`config.log' for more details." >&5
19401 echo "$as_me: error: cannot run test program while cross compiling
19402 See \`config.log' for more details." >&2;}
19403 { (exit 1); exit 1; }; }
19405 cat >conftest.
$ac_ext <<_ACEOF
19408 cat confdefs.h
>>conftest.
$ac_ext
19409 cat >>conftest.
$ac_ext <<_ACEOF
19410 /* end confdefs.h. */
19412 long longval () { return __alignof (omp_nest_lock_t); }
19413 unsigned long ulongval () { return __alignof (omp_nest_lock_t); }
19415 #include <stdlib.h>
19420 FILE *f = fopen ("conftest.val", "w");
19423 if ((__alignof (omp_nest_lock_t)) < 0)
19425 long i = longval ();
19426 if (i != (__alignof (omp_nest_lock_t)))
19428 fprintf (f, "%ld\n", i);
19432 unsigned long i = ulongval ();
19433 if (i != (__alignof (omp_nest_lock_t)))
19435 fprintf (f, "%lu\n", i);
19437 exit (ferror (f) || fclose (f) != 0);
19443 rm -f conftest
$ac_exeext
19444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19445 (eval $ac_link) 2>&5
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19450 (eval $ac_try) 2>&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); }; }; then
19454 OMP_NEST_LOCK_ALIGN
=`cat conftest.val`
19456 echo "$as_me: program exited with status $ac_status" >&5
19457 echo "$as_me: failed program was:" >&5
19458 sed 's/^/| /' conftest.
$ac_ext >&5
19461 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19466 # If the lock fits in an integer, then arrange for Fortran to use that
19467 # integer. If it doesn't, then arrange for Fortran to use a pointer.
19468 # Except that we don't have a way at present to multi-lib the installed
19469 # Fortran modules, so we assume 8 bytes for pointers, regardless of the
19471 OMP_LOCK_KIND
=$OMP_LOCK_SIZE
19472 OMP_NEST_LOCK_KIND
=$OMP_NEST_LOCK_SIZE
19473 if test $OMP_LOCK_SIZE -gt 8 ||
test $OMP_LOCK_ALIGN -gt $OMP_LOCK_SIZE; then
19476 if test $OMP_NEST_LOCK_SIZE -gt 8 ||
test $OMP_NEST_LOCK_ALIGN -gt $OMP_NEST_LOCK_SIZE; then
19477 OMP_NEST_LOCK_KIND
=8
19486 CFLAGS
="$save_CFLAGS"
19488 ac_config_files
="$ac_config_files omp.h omp_lib.h omp_lib.f90 libgomp_f.h"
19490 ac_config_files
="$ac_config_files Makefile testsuite/Makefile libgomp.spec"
19492 cat >confcache
<<\_ACEOF
19493 # This file is a shell script that caches the results of configure
19494 # tests run on this system so they can be shared between configure
19495 # scripts and configure runs, see configure's option --config-cache.
19496 # It is not useful on other systems. If it contains results you don't
19497 # want to keep, you may remove or edit it.
19499 # config.status only pays attention to the cache file if you give it
19500 # the --recheck option to rerun configure.
19502 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19503 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19504 # following values.
19508 # The following way of writing the cache mishandles newlines in values,
19509 # but we know of no workaround that is simple, portable, and efficient.
19510 # So, don't put newlines in cache variables' values.
19511 # Ultrix sh set writes to stderr and can't be redirected directly,
19512 # and sets the high bit in the cache file unless we assign to the vars.
19515 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19517 # `set' does not quote correctly, so add quotes (double-quote
19518 # substitution turns \\\\ into \\, and sed turns \\ into \).
19521 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19524 # `set' quotes correctly as required by POSIX, so do not add quotes.
19526 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19533 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19535 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19537 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19538 if test -w $cache_file; then
19539 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19540 cat confcache
>$cache_file
19542 echo "not updating unwritable cache $cache_file"
19547 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19548 # Let make expand exec_prefix.
19549 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19551 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19552 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19553 # trailing colons and then remove the whole line if VPATH becomes empty
19554 # (actually we leave an empty line to preserve line numbers).
19555 if test "x$srcdir" = x.
; then
19556 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19557 s/:*\$(srcdir):*/:/;
19558 s/:*\${srcdir}:*/:/;
19560 s/^\([^=]*=[ ]*\):*/\1/;
19566 DEFS
=-DHAVE_CONFIG_H
19570 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19571 # 1. Remove the extension, and $U if already installed.
19572 ac_i
=`echo "$ac_i" |
19573 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19575 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
19576 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
19578 LIBOBJS
=$ac_libobjs
19580 LTLIBOBJS
=$ac_ltlibobjs
19583 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
19584 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC\" was never defined.
19585 Usually this means the macro was only invoked conditionally." >&5
19586 echo "$as_me: error: conditional \"GENINSRC\" was never defined.
19587 Usually this means the macro was only invoked conditionally." >&2;}
19588 { (exit 1); exit 1; }; }
19590 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19591 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19592 Usually this means the macro was only invoked conditionally." >&5
19593 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19594 Usually this means the macro was only invoked conditionally." >&2;}
19595 { (exit 1); exit 1; }; }
19597 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19598 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19599 Usually this means the macro was only invoked conditionally." >&5
19600 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19601 Usually this means the macro was only invoked conditionally." >&2;}
19602 { (exit 1); exit 1; }; }
19604 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
19605 { { echo "$as_me:$LINENO: error: conditional \"BUILD_INFO\" was never defined.
19606 Usually this means the macro was only invoked conditionally." >&5
19607 echo "$as_me: error: conditional \"BUILD_INFO\" was never defined.
19608 Usually this means the macro was only invoked conditionally." >&2;}
19609 { (exit 1); exit 1; }; }
19611 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19612 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
19613 Usually this means the macro was only invoked conditionally." >&5
19614 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
19615 Usually this means the macro was only invoked conditionally." >&2;}
19616 { (exit 1); exit 1; }; }
19618 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE}"; then
19619 { { echo "$as_me:$LINENO: error: conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
19620 Usually this means the macro was only invoked conditionally." >&5
19621 echo "$as_me: error: conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
19622 Usually this means the macro was only invoked conditionally." >&2;}
19623 { (exit 1); exit 1; }; }
19625 if test -z "${USE_FORTRAN_TRUE}" && test -z "${USE_FORTRAN_FALSE}"; then
19626 { { echo "$as_me:$LINENO: error: conditional \"USE_FORTRAN\" was never defined.
19627 Usually this means the macro was only invoked conditionally." >&5
19628 echo "$as_me: error: conditional \"USE_FORTRAN\" was never defined.
19629 Usually this means the macro was only invoked conditionally." >&2;}
19630 { (exit 1); exit 1; }; }
19633 : ${CONFIG_STATUS=./config.status}
19634 ac_clean_files_save
=$ac_clean_files
19635 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19636 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19637 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19638 cat >$CONFIG_STATUS <<_ACEOF
19640 # Generated by $as_me.
19641 # Run this file to recreate the current configuration.
19642 # Compiler output produced by configure, useful for debugging
19643 # configure, is in config.log if it exists.
19646 ac_cs_recheck=false
19648 SHELL=\${CONFIG_SHELL-$SHELL}
19651 cat >>$CONFIG_STATUS <<\_ACEOF
19652 ## --------------------- ##
19653 ## M4sh Initialization. ##
19654 ## --------------------- ##
19656 # Be Bourne compatible
19657 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19660 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19661 # is contrary to our usage. Disable this feature.
19662 alias -g '${1+"$@"}'='"$@"'
19663 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
19666 DUALCASE
=1; export DUALCASE
# for MKS sh
19668 # Support unset when possible.
19669 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19676 # Work around bugs in pre-3.0 UWIN ksh.
19677 $as_unset ENV MAIL MAILPATH
19684 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19685 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19686 LC_TELEPHONE LC_TIME
19688 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19689 eval $as_var=C
; export $as_var
19695 # Required to use basename.
19696 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19702 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
19703 as_basename
=basename
19709 # Name of the executable.
19710 as_me
=`$as_basename "$0" ||
19711 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19712 X"$0" : 'X\(//\)$' \| \
19713 X"$0" : 'X\(/\)$' \| \
19714 . : '\(.\)' 2>/dev/null ||
19716 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19717 /^X\/\(\/\/\)$/{ s//\1/; q; }
19718 /^X\/\(\/\).*/{ s//\1/; q; }
19722 # PATH needs CR, and LINENO needs CR and PATH.
19723 # Avoid depending upon Character Ranges.
19724 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19725 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19726 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19727 as_cr_digits
='0123456789'
19728 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19730 # The user is always right.
19731 if test "${PATH_SEPARATOR+set}" != set; then
19732 echo "#! /bin/sh" >conf$$.sh
19733 echo "exit 0" >>conf$$.sh
19735 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19744 as_lineno_1
=$LINENO
19745 as_lineno_2
=$LINENO
19746 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
19747 test "x$as_lineno_1" != "x$as_lineno_2" &&
19748 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
19749 # Find who we are. Look in the path if we contain no path at all
19752 *[\\/]* ) as_myself
=$0 ;;
19753 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19754 for as_dir
in $PATH
19757 test -z "$as_dir" && as_dir
=.
19758 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19763 # We did not find ourselves, most probably we were run as `sh COMMAND'
19764 # in which case we are not to be found in the path.
19765 if test "x$as_myself" = x
; then
19768 if test ! -f "$as_myself"; then
19769 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19770 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19771 { (exit 1); exit 1; }; }
19773 case $CONFIG_SHELL in
19775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19776 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
19779 test -z "$as_dir" && as_dir
=.
19780 for as_base
in sh bash ksh sh5
; do
19783 if ("$as_dir/$as_base" -c '
19784 as_lineno_1=$LINENO
19785 as_lineno_2=$LINENO
19786 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19787 test "x$as_lineno_1" != "x$as_lineno_2" &&
19788 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
19789 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
19790 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
19791 CONFIG_SHELL
=$as_dir/$as_base
19792 export CONFIG_SHELL
19793 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19801 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19802 # uniformly replaced by the line number. The first 'sed' inserts a
19803 # line-number line before each line; the second 'sed' does the real
19804 # work. The second script uses 'N' to pair each line-number line
19805 # with the numbered line, and appends trailing '-' during
19806 # substitution so that $LINENO is not a special case at line end.
19807 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19808 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
19809 sed '=' <$as_myself |
19814 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19817 s,^['$as_cr_digits']*\n,,
19818 ' >$as_me.lineno
&&
19819 chmod +x
$as_me.lineno ||
19820 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19821 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
19822 { (exit 1); exit 1; }; }
19824 # Don't try to exec as it changes $[0], causing all sort of problems
19825 # (the dirname of $[0] is not the place where we might find the
19826 # original and so on. Autoconf is especially sensible to this).
19828 # Exit status is that of the last command.
19833 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19834 *c
*,-n*) ECHO_N
= ECHO_C
='
19836 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
19837 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
19840 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19846 rm -f conf$$ conf$$.exe conf$$.
file
19848 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19849 # We could just check for DJGPP; but this test a) works b) is more generic
19850 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19851 if test -f conf$$.exe
; then
19852 # Don't use ln at all; we don't have any links
19857 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19862 rm -f conf$$ conf$$.exe conf$$.
file
19864 if mkdir
-p .
2>/dev
/null
; then
19867 test -d .
/-p && rmdir .
/-p
19871 as_executable_p
="test -f"
19873 # Sed expression to map a string onto a valid CPP name.
19874 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19876 # Sed expression to map a string onto a valid variable name.
19877 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19881 # We need space, tab and new line, in precisely that order.
19891 # Open the log real soon, to keep \$[0] and so on meaningful, and to
19892 # report actual input values of CONFIG_FILES etc. instead of their
19893 # values after options handling. Logging --version etc. is OK.
19897 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19898 ## Running $as_me. ##
19903 This file was extended by GNU OpenMP Runtime Library $as_me 1.0, which was
19904 generated by GNU Autoconf 2.59. Invocation command line was
19906 CONFIG_FILES = $CONFIG_FILES
19907 CONFIG_HEADERS = $CONFIG_HEADERS
19908 CONFIG_LINKS = $CONFIG_LINKS
19909 CONFIG_COMMANDS = $CONFIG_COMMANDS
19913 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19917 # Files that config.status was made for.
19918 if test -n "$ac_config_files"; then
19919 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19922 if test -n "$ac_config_headers"; then
19923 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19926 if test -n "$ac_config_links"; then
19927 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19930 if test -n "$ac_config_commands"; then
19931 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19934 cat >>$CONFIG_STATUS <<\_ACEOF
19937 \`$as_me' instantiates files from templates according to the
19938 current configuration.
19940 Usage: $0 [OPTIONS] [FILE]...
19942 -h, --help print this help, then exit
19943 -V, --version print version number, then exit
19944 -q, --quiet do not print progress messages
19945 -d, --debug don't remove temporary files
19946 --recheck update $as_me by reconfiguring in the same conditions
19947 --file=FILE[:TEMPLATE]
19948 instantiate the configuration file FILE
19949 --header=FILE[:TEMPLATE]
19950 instantiate the configuration header FILE
19952 Configuration files:
19955 Configuration headers:
19958 Configuration commands:
19961 Report bugs to <bug-autoconf@gnu.org>."
19964 cat >>$CONFIG_STATUS <<_ACEOF
19966 GNU OpenMP Runtime Library config.status 1.0
19967 configured by $0, generated by GNU Autoconf 2.59,
19968 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19970 Copyright (C) 2003 Free Software Foundation, Inc.
19971 This config.status script is free software; the Free Software Foundation
19972 gives unlimited permission to copy, distribute and modify it."
19977 cat >>$CONFIG_STATUS <<\_ACEOF
19978 # If no file are specified by the user, then we need to provide default
19979 # value. By we need to know if files were specified by the user.
19985 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
19986 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
19994 *) # This is not an option, so the user has probably given explicit
19997 ac_need_defaults
=false
;;
20001 # Handling of the options.
20003 cat >>$CONFIG_STATUS <<\_ACEOF
20004 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20006 --version |
--vers* |
-V )
20007 echo "$ac_cs_version"; exit 0 ;;
20009 # Conflict between --help and --header
20010 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20011 Try \`$0 --help' for more information." >&5
20012 echo "$as_me: error: ambiguous option: $1
20013 Try \`$0 --help' for more information." >&2;}
20014 { (exit 1); exit 1; }; };;
20015 --help |
--hel |
-h )
20016 echo "$ac_cs_usage"; exit 0 ;;
20017 --debug |
--d* |
-d )
20019 --file |
--fil |
--fi |
--f )
20021 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20022 ac_need_defaults
=false
;;
20023 --header |
--heade |
--head |
--hea )
20025 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20026 ac_need_defaults
=false
;;
20027 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20028 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20031 # This is an error.
20032 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20033 Try \`$0 --help' for more information." >&5
20034 echo "$as_me: error: unrecognized option: $1
20035 Try \`$0 --help' for more information." >&2;}
20036 { (exit 1); exit 1; }; } ;;
20038 *) ac_config_targets
="$ac_config_targets $1" ;;
20044 ac_configure_extra_args
=
20046 if $ac_cs_silent; then
20048 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20052 cat >>$CONFIG_STATUS <<_ACEOF
20053 if \$ac_cs_recheck; then
20054 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20055 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20060 cat >>$CONFIG_STATUS <<_ACEOF
20062 # INIT-COMMANDS section.
20069 with_multisubdir="$with_multisubdir"
20070 with_multisrctop="$with_multisrctop"
20071 with_target_subdir="$with_target_subdir"
20072 ac_configure_args="${multilib_arg} ${ac_configure_args}"
20073 multi_basedir="$multi_basedir"
20074 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
20076 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20079 # The HP-UX ksh and POSIX shell print the target directory to stdout
20080 # if CDPATH is set.
20081 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20083 sed_quote_subst='$sed_quote_subst'
20084 double_quote_subst='$double_quote_subst'
20085 delay_variable_subst='$delay_variable_subst'
20086 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
20087 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
20088 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
20089 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
20090 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
20091 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
20092 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
20093 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
20094 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
20095 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
20096 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
20097 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
20098 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
20099 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
20100 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
20101 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
20102 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
20103 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
20104 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
20105 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
20106 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
20107 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
20108 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
20109 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
20110 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
20111 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
20112 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
20113 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20114 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
20115 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
20116 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
20117 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20118 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
20119 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
20120 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20121 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20122 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20123 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
20124 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20125 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
20126 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
20127 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20128 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20129 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"`'
20130 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20131 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20132 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20133 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20134 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20135 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20136 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20137 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20138 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20139 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20140 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
20141 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20142 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20143 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20144 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20145 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20146 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20147 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
20148 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20149 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20150 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20151 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20152 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20153 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20154 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20155 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20156 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20157 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20158 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20159 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20160 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20161 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
20162 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20163 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20164 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20165 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20166 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20167 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20168 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20169 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20170 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20171 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20172 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20173 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20174 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20175 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20176 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20177 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20178 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20179 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20180 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20181 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20182 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20183 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20184 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20185 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20186 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20187 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20188 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20189 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20190 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20191 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20192 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20193 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20194 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20195 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20196 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20197 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20198 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20199 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
20200 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
20201 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
20202 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
20203 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20204 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
20205 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
20206 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
20207 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
20208 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
20209 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
20210 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
20211 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
20212 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
20213 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
20214 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
20215 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
20216 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20217 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20218 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20219 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20220 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20221 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20222 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
20223 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
20224 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
20225 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
20226 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
20227 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
20228 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
20229 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
20230 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
20231 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
20232 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
20233 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
20234 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
20235 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
20236 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
20237 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20238 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
20239 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
20240 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
20241 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
20242 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
20243 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
20244 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
20245 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
20246 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
20247 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
20250 LTCFLAGS='$LTCFLAGS'
20251 compiler='$compiler_DEFAULT'
20253 # Quote evaled strings.
20264 deplibs_check_method \
20273 lt_cv_sys_global_symbol_pipe \
20274 lt_cv_sys_global_symbol_to_cdecl \
20275 lt_cv_sys_global_symbol_to_c_name_address \
20278 lt_prog_compiler_no_builtin_flag \
20279 lt_prog_compiler_wl \
20280 lt_prog_compiler_pic \
20281 lt_prog_compiler_static \
20282 lt_cv_prog_compiler_c_o \
20285 export_dynamic_flag_spec \
20286 whole_archive_flag_spec \
20287 compiler_needs_object \
20289 allow_undefined_flag \
20290 no_undefined_flag \
20291 hardcode_libdir_flag_spec \
20292 hardcode_libdir_flag_spec_ld \
20293 hardcode_libdir_separator \
20298 variables_saved_for_relink \
20300 library_names_spec \
20309 compiler_lib_search_path \
20312 lt_prog_compiler_no_builtin_flag_FC \
20313 lt_prog_compiler_wl_FC \
20314 lt_prog_compiler_pic_FC \
20315 lt_prog_compiler_static_FC \
20316 lt_cv_prog_compiler_c_o_FC \
20317 export_dynamic_flag_spec_FC \
20318 whole_archive_flag_spec_FC \
20319 compiler_needs_object_FC \
20321 allow_undefined_flag_FC \
20322 no_undefined_flag_FC \
20323 hardcode_libdir_flag_spec_FC \
20324 hardcode_libdir_flag_spec_ld_FC \
20325 hardcode_libdir_separator_FC \
20326 fix_srcfile_path_FC \
20327 exclude_expsyms_FC \
20328 include_expsyms_FC \
20329 file_list_spec_FC \
20330 predep_objects_FC \
20331 postdep_objects_FC \
20334 compiler_lib_search_path_FC; do
20335 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20336 *[\\\\\\\`\\"\\\$]*)
20337 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20340 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20345 # Double-quote double-evaled strings.
20346 for var in reload_cmds \
20347 old_postinstall_cmds \
20348 old_postuninstall_cmds \
20350 extract_expsyms_cmds \
20351 old_archive_from_new_cmds \
20352 old_archive_from_expsyms_cmds \
20354 archive_expsym_cmds \
20356 module_expsym_cmds \
20357 export_symbols_cmds \
20360 postuninstall_cmds \
20362 sys_lib_search_path_spec \
20363 sys_lib_dlsearch_path_spec \
20364 old_archive_cmds_FC \
20365 old_archive_from_new_cmds_FC \
20366 old_archive_from_expsyms_cmds_FC \
20368 archive_expsym_cmds_FC \
20370 module_expsym_cmds_FC \
20371 export_symbols_cmds_FC \
20372 prelink_cmds_FC; do
20373 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20374 *[\\\\\\\`\\"\\\$]*)
20375 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20378 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20383 # Fix-up fallback echo if it was mangled by the above quoting rules.
20385 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
20389 ac_aux_dir='$ac_aux_dir'
20390 xsi_shell='$xsi_shell'
20391 lt_shell_append='$lt_shell_append'
20393 # See if we are running on zsh, and set the options which allow our
20394 # commands through without removal of \ escapes INIT.
20395 if test -n "\${ZSH_VERSION+set}" ; then
20396 setopt NO_GLOB_SUBST
20402 TIMESTAMP='$TIMESTAMP'
20413 acx_cv_header_stdint="$acx_cv_header_stdint"
20414 acx_cv_type_int8_t="$acx_cv_type_int8_t"
20415 acx_cv_type_int16_t="$acx_cv_type_int16_t"
20416 acx_cv_type_int32_t="$acx_cv_type_int32_t"
20417 acx_cv_type_int64_t="$acx_cv_type_int64_t"
20418 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
20419 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
20420 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
20421 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
20422 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
20423 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
20424 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
20425 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
20426 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
20433 cat >>$CONFIG_STATUS <<\_ACEOF
20434 for ac_config_target
in $ac_config_targets
20436 case "$ac_config_target" in
20437 # Handling of arguments.
20438 "omp.h" ) CONFIG_FILES
="$CONFIG_FILES omp.h" ;;
20439 "omp_lib.h" ) CONFIG_FILES
="$CONFIG_FILES omp_lib.h" ;;
20440 "omp_lib.f90" ) CONFIG_FILES
="$CONFIG_FILES omp_lib.f90" ;;
20441 "libgomp_f.h" ) CONFIG_FILES
="$CONFIG_FILES libgomp_f.h" ;;
20442 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20443 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
20444 "libgomp.spec" ) CONFIG_FILES
="$CONFIG_FILES libgomp.spec" ;;
20445 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
20446 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20447 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20448 "gstdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
20449 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20450 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20451 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20452 { (exit 1); exit 1; }; };;
20456 # If the user did not use the arguments to specify the items to instantiate,
20457 # then the envvar interface is used. Set only those that are not.
20458 # We use the long form for the default assignment because of an extremely
20459 # bizarre bug on SunOS 4.1.3.
20460 if $ac_need_defaults; then
20461 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20462 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20463 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20466 # Have a temporary directory for convenience. Make it in the build tree
20467 # simply because there is no reason to put it here, and in addition,
20468 # creating and moving files from /tmp can sometimes cause problems.
20469 # Create a temporary directory, and hook for its removal unless debugging.
20472 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20473 trap '{ (exit 1); exit 1; }' 1 2 13 15
20476 # Create a (secure) tmp directory for tmp files.
20479 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20480 test -n "$tmp" && test -d "$tmp"
20483 tmp
=.
/confstat$$
-$RANDOM
20484 (umask 077 && mkdir
$tmp)
20487 echo "$me: cannot create a temporary directory in ." >&2
20488 { (exit 1); exit 1; }
20493 cat >>$CONFIG_STATUS <<_ACEOF
20496 # CONFIG_FILES section.
20499 # No need to generate the scripts if there are no CONFIG_FILES.
20500 # This happens for instance when ./config.status config.h
20501 if test -n "\$CONFIG_FILES"; then
20502 # Protect against being on the right side of a sed subst in config.status.
20503 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20504 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20505 s,@SHELL@,$SHELL,;t t
20506 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20507 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20508 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20509 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20510 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20511 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20512 s,@exec_prefix@,$exec_prefix,;t t
20513 s,@prefix@,$prefix,;t t
20514 s,@program_transform_name@,$program_transform_name,;t t
20515 s,@bindir@,$bindir,;t t
20516 s,@sbindir@,$sbindir,;t t
20517 s,@libexecdir@,$libexecdir,;t t
20518 s,@datadir@,$datadir,;t t
20519 s,@sysconfdir@,$sysconfdir,;t t
20520 s,@sharedstatedir@,$sharedstatedir,;t t
20521 s,@localstatedir@,$localstatedir,;t t
20522 s,@libdir@,$libdir,;t t
20523 s,@includedir@,$includedir,;t t
20524 s,@oldincludedir@,$oldincludedir,;t t
20525 s,@infodir@,$infodir,;t t
20526 s,@mandir@,$mandir,;t t
20527 s,@build_alias@,$build_alias,;t t
20528 s,@host_alias@,$host_alias,;t t
20529 s,@target_alias@,$target_alias,;t t
20530 s,@DEFS@,$DEFS,;t t
20531 s,@ECHO_C@,$ECHO_C,;t t
20532 s,@ECHO_N@,$ECHO_N,;t t
20533 s,@ECHO_T@,$ECHO_T,;t t
20534 s,@LIBS@,$LIBS,;t t
20535 s,@GENINSRC_TRUE@,$GENINSRC_TRUE,;t t
20536 s,@GENINSRC_FALSE@,$GENINSRC_FALSE,;t t
20537 s,@build@,$build,;t t
20538 s,@build_cpu@,$build_cpu,;t t
20539 s,@build_vendor@,$build_vendor,;t t
20540 s,@build_os@,$build_os,;t t
20541 s,@host@,$host,;t t
20542 s,@host_cpu@,$host_cpu,;t t
20543 s,@host_vendor@,$host_vendor,;t t
20544 s,@host_os@,$host_os,;t t
20545 s,@target@,$target,;t t
20546 s,@target_cpu@,$target_cpu,;t t
20547 s,@target_vendor@,$target_vendor,;t t
20548 s,@target_os@,$target_os,;t t
20549 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20550 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20551 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20552 s,@CYGPATH_W@,$CYGPATH_W,;t t
20553 s,@PACKAGE@,$PACKAGE,;t t
20554 s,@VERSION@,$VERSION,;t t
20555 s,@ACLOCAL@,$ACLOCAL,;t t
20556 s,@AUTOCONF@,$AUTOCONF,;t t
20557 s,@AUTOMAKE@,$AUTOMAKE,;t t
20558 s,@AUTOHEADER@,$AUTOHEADER,;t t
20559 s,@MAKEINFO@,$MAKEINFO,;t t
20560 s,@install_sh@,$install_sh,;t t
20561 s,@STRIP@,$STRIP,;t t
20562 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20563 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20564 s,@mkdir_p@,$mkdir_p,;t t
20566 s,@SET_MAKE@,$SET_MAKE,;t t
20567 s,@am__leading_dot@,$am__leading_dot,;t t
20568 s,@AMTAR@,$AMTAR,;t t
20569 s,@am__tar@,$am__tar,;t t
20570 s,@am__untar@,$am__untar,;t t
20571 s,@multi_basedir@,$multi_basedir,;t t
20572 s,@toolexecdir@,$toolexecdir,;t t
20573 s,@toolexeclibdir@,$toolexeclibdir,;t t
20575 s,@ac_ct_CC@,$ac_ct_CC,;t t
20576 s,@EXEEXT@,$EXEEXT,;t t
20577 s,@OBJEXT@,$OBJEXT,;t t
20578 s,@DEPDIR@,$DEPDIR,;t t
20579 s,@am__include@,$am__include,;t t
20580 s,@am__quote@,$am__quote,;t t
20581 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20582 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20583 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20584 s,@CCDEPMODE@,$CCDEPMODE,;t t
20585 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20586 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20587 s,@CFLAGS@,$CFLAGS,;t t
20589 s,@ac_ct_AR@,$ac_ct_AR,;t t
20590 s,@RANLIB@,$RANLIB,;t t
20591 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20592 s,@PERL@,$PERL,;t t
20593 s,@BUILD_INFO_TRUE@,$BUILD_INFO_TRUE,;t t
20594 s,@BUILD_INFO_FALSE@,$BUILD_INFO_FALSE,;t t
20595 s,@LIBTOOL@,$LIBTOOL,;t t
20597 s,@EGREP@,$EGREP,;t t
20598 s,@FGREP@,$FGREP,;t t
20599 s,@GREP@,$GREP,;t t
20601 s,@DUMPBIN@,$DUMPBIN,;t t
20602 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
20604 s,@LN_S@,$LN_S,;t t
20605 s,@lt_ECHO@,$lt_ECHO,;t t
20607 s,@CPPFLAGS@,$CPPFLAGS,;t t
20608 s,@enable_shared@,$enable_shared,;t t
20609 s,@enable_static@,$enable_static,;t t
20610 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
20611 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
20612 s,@MAINT@,$MAINT,;t t
20614 s,@FCFLAGS@,$FCFLAGS,;t t
20615 s,@LDFLAGS@,$LDFLAGS,;t t
20616 s,@ac_ct_FC@,$ac_ct_FC,;t t
20617 s,@libtool_VERSION@,$libtool_VERSION,;t t
20618 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
20619 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
20620 s,@LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE@,$LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE,;t t
20621 s,@LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE@,$LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE,;t t
20622 s,@config_path@,$config_path,;t t
20623 s,@XCFLAGS@,$XCFLAGS,;t t
20624 s,@XLDFLAGS@,$XLDFLAGS,;t t
20625 s,@link_gomp@,$link_gomp,;t t
20626 s,@USE_FORTRAN_TRUE@,$USE_FORTRAN_TRUE,;t t
20627 s,@USE_FORTRAN_FALSE@,$USE_FORTRAN_FALSE,;t t
20628 s,@OMP_LOCK_SIZE@,$OMP_LOCK_SIZE,;t t
20629 s,@OMP_LOCK_ALIGN@,$OMP_LOCK_ALIGN,;t t
20630 s,@OMP_NEST_LOCK_SIZE@,$OMP_NEST_LOCK_SIZE,;t t
20631 s,@OMP_NEST_LOCK_ALIGN@,$OMP_NEST_LOCK_ALIGN,;t t
20632 s,@OMP_LOCK_KIND@,$OMP_LOCK_KIND,;t t
20633 s,@OMP_NEST_LOCK_KIND@,$OMP_NEST_LOCK_KIND,;t t
20634 s,@LIBOBJS@,$LIBOBJS,;t t
20635 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20640 cat >>$CONFIG_STATUS <<\_ACEOF
20641 # Split the substitutions into bite-sized pieces for seds with
20642 # small command number limits, like on Digital OSF/1 and HP-UX.
20643 ac_max_sed_lines
=48
20644 ac_sed_frag
=1 # Number of current file.
20645 ac_beg
=1 # First line for current file.
20646 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20649 while $ac_more_lines; do
20650 if test $ac_beg -gt 1; then
20651 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20653 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20655 if test ! -s $tmp/subs.frag
; then
20656 ac_more_lines
=false
20658 # The purpose of the label and of the branching condition is to
20659 # speed up the sed processing (if there are no `@' at all, there
20660 # is no need to browse any of the substitutions).
20661 # These are the two extra sed commands mentioned above.
20663 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20664 if test -z "$ac_sed_cmds"; then
20665 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20667 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20669 ac_sed_frag
=`expr $ac_sed_frag + 1`
20671 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20674 if test -z "$ac_sed_cmds"; then
20677 fi # test -n "$CONFIG_FILES"
20680 cat >>$CONFIG_STATUS <<\_ACEOF
20681 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20682 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20684 - |
*:- |
*:-:* ) # input from stdin
20686 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20687 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20688 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20689 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20690 * ) ac_file_in
=$ac_file.
in ;;
20693 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20694 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20695 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20696 X"$ac_file" : 'X\(//\)[^/]' \| \
20697 X"$ac_file" : 'X\(//\)$' \| \
20698 X"$ac_file" : 'X\(/\)' \| \
20699 . : '\(.\)' 2>/dev/null ||
20701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20703 /^X\(\/\/\)$/{ s//\1/; q; }
20704 /^X\(\/\).*/{ s//\1/; q; }
20706 { if $as_mkdir_p; then
20711 while test ! -d "$as_dir"; do
20712 as_dirs
="$as_dir $as_dirs"
20713 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20714 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20715 X"$as_dir" : 'X\(//\)[^/]' \| \
20716 X"$as_dir" : 'X\(//\)$' \| \
20717 X"$as_dir" : 'X\(/\)' \| \
20718 . : '\(.\)' 2>/dev/null ||
20720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20722 /^X\(\/\/\)$/{ s//\1/; q; }
20723 /^X\(\/\).*/{ s//\1/; q; }
20726 test ! -n "$as_dirs" || mkdir
$as_dirs
20727 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20728 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20729 { (exit 1); exit 1; }; }; }
20733 if test "$ac_dir" != .
; then
20734 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20735 # A "../" for each directory in $ac_dir_suffix.
20736 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20738 ac_dir_suffix
= ac_top_builddir
=
20742 .
) # No --srcdir option. We are building in place.
20744 if test -z "$ac_top_builddir"; then
20747 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20749 [\\/]* | ?
:[\\/]* ) # Absolute path.
20750 ac_srcdir
=$srcdir$ac_dir_suffix;
20751 ac_top_srcdir
=$srcdir ;;
20752 *) # Relative path.
20753 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20754 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20757 # Do not use `cd foo && pwd` to compute absolute paths, because
20758 # the directories may not exist.
20760 .
) ac_abs_builddir
="$ac_dir";;
20763 .
) ac_abs_builddir
=`pwd`;;
20764 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20765 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20768 case $ac_abs_builddir in
20769 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20771 case ${ac_top_builddir}.
in
20772 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20773 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20774 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20777 case $ac_abs_builddir in
20778 .
) ac_abs_srcdir
=$ac_srcdir;;
20781 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20782 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20783 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20786 case $ac_abs_builddir in
20787 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20789 case $ac_top_srcdir in
20790 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20791 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20792 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20798 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20799 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
20802 if test x
"$ac_file" != x-
; then
20803 { echo "$as_me:$LINENO: creating $ac_file" >&5
20804 echo "$as_me: creating $ac_file" >&6;}
20807 # Let's still pretend it is `configure' which instantiates (i.e., don't
20808 # use $as_me), people would be surprised to read:
20809 # /* config.h. Generated by config.status. */
20810 if test x
"$ac_file" = x-
; then
20813 configure_input
="$ac_file. "
20815 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20816 sed 's,.*/,,'` by configure."
20818 # First look for the input files in the build tree, otherwise in the
20820 ac_file_inputs
=`IFS=:
20821 for f in $ac_file_in; do
20823 -) echo $tmp/stdin ;;
20825 # Absolute (can't be DOS-style, as IFS=:)
20826 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20827 echo "$as_me: error: cannot find input file: $f" >&2;}
20828 { (exit 1); exit 1; }; }
20831 if test -f "$f"; then
20834 elif test -f "$srcdir/$f"; then
20839 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20840 echo "$as_me: error: cannot find input file: $f" >&2;}
20841 { (exit 1); exit 1; }; }
20844 done` ||
{ (exit 1); exit 1; }
20846 cat >>$CONFIG_STATUS <<_ACEOF
20850 cat >>$CONFIG_STATUS <<\_ACEOF
20852 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20853 s
,@configure_input@
,$configure_input,;t t
20854 s
,@srcdir@
,$ac_srcdir,;t t
20855 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20856 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20857 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20858 s
,@builddir@
,$ac_builddir,;t t
20859 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20860 s
,@top_builddir@
,$ac_top_builddir,;t t
20861 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20862 s
,@INSTALL@
,$ac_INSTALL,;t t
20863 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20865 if test x"$ac_file" != x-; then
20866 mv $tmp/out $ac_file
20874 cat >>$CONFIG_STATUS <<\_ACEOF
20877 # CONFIG_HEADER section.
20880 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
20881 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20883 # ac_d sets the value in "#define NAME VALUE" lines.
20884 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20885 ac_dB
='[ ].*$,\1#\2'
20888 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20889 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20890 ac_uB
='$,\1#\2define\3'
20894 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
20895 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20897 - |
*:- |
*:-:* ) # input from stdin
20899 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20900 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20901 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20902 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20903 * ) ac_file_in
=$ac_file.
in ;;
20906 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
20907 echo "$as_me: creating $ac_file" >&6;}
20909 # First look for the input files in the build tree, otherwise in the
20911 ac_file_inputs
=`IFS=:
20912 for f in $ac_file_in; do
20914 -) echo $tmp/stdin ;;
20916 # Absolute (can't be DOS-style, as IFS=:)
20917 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20918 echo "$as_me: error: cannot find input file: $f" >&2;}
20919 { (exit 1); exit 1; }; }
20920 # Do quote $f, to prevent DOS paths from being IFS'd.
20923 if test -f "$f"; then
20926 elif test -f "$srcdir/$f"; then
20931 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20932 echo "$as_me: error: cannot find input file: $f" >&2;}
20933 { (exit 1); exit 1; }; }
20936 done` ||
{ (exit 1); exit 1; }
20937 # Remove the trailing spaces.
20938 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
20942 # Transform confdefs.h into two sed scripts, `conftest.defines' and
20943 # `conftest.undefs', that substitutes the proper values into
20944 # config.h.in to produce config.h. The first handles `#define'
20945 # templates, and the second `#undef' templates.
20946 # And first: Protect against being on the right side of a sed subst in
20947 # config.status. Protect against being in an unquoted here document
20948 # in config.status.
20949 rm -f conftest.defines conftest.undefs
20950 # Using a here document instead of a string reduces the quoting nightmare.
20951 # Putting comments in sed scripts is not portable.
20953 # `end' is used to avoid that the second main sed command (meant for
20954 # 0-ary CPP macros) applies to n-ary macro definitions.
20955 # See the Autoconf documentation for `clear'.
20956 cat >confdef2sed.
sed <<\_ACEOF
20961 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20963 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20966 # If some macros were called several times there might be several times
20967 # the same #defines, which is useless. Nevertheless, we may not want to
20968 # sort them, since we want the *last* AC-DEFINE to be honored.
20969 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20970 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20971 rm -f confdef2sed.sed
20973 # This sed command replaces #undef with comments. This is necessary, for
20974 # example, in the case of _POSIX_SOURCE, which is predefined and required
20975 # on some systems where configure will not decide to define it.
20976 cat >>conftest.undefs <<\_ACEOF
20977 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
20980 # Break up conftest.defines because some shells have a limit on the size
20981 # of here documents, and old seds have small limits too (100 cmds).
20982 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20983 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20984 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20985 echo ' :' >>$CONFIG_STATUS
20986 rm -f conftest.tail
20987 while grep . conftest.defines >/dev/null
20989 # Write a limited-size here document to $tmp/defines.sed.
20990 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20991 # Speed up: don't consider the non `#define' lines.
20992 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
20993 # Work around the forget-to-reset-the-flag bug.
20994 echo 't clr' >>$CONFIG_STATUS
20995 echo ': clr' >>$CONFIG_STATUS
20996 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
20998 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21000 mv $tmp/out $tmp/in
21002 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21003 rm -f conftest.defines
21004 mv conftest.
tail conftest.defines
21006 rm -f conftest.defines
21007 echo ' fi # grep' >>$CONFIG_STATUS
21008 echo >>$CONFIG_STATUS
21010 # Break up conftest.undefs because some shells have a limit on the size
21011 # of here documents, and old seds have small limits too (100 cmds).
21012 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21013 rm -f conftest.
tail
21014 while grep . conftest.undefs
>/dev
/null
21016 # Write a limited-size here document to $tmp/undefs.sed.
21017 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21018 # Speed up: don't consider the non
`#undef'
21019 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21020 # Work around the forget-to-reset-the-flag bug.
21021 echo 't clr' >>$CONFIG_STATUS
21022 echo ': clr' >>$CONFIG_STATUS
21023 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21025 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21027 mv $tmp/out $tmp/in
21029 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21030 rm -f conftest.undefs
21031 mv conftest.tail conftest.undefs
21033 rm -f conftest.undefs
21035 cat >>$CONFIG_STATUS <<\_ACEOF
21036 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21037 # use $as_me), people would be surprised to read:
21038 # /* config.h. Generated by config.status. */
21039 if test x
"$ac_file" = x-
; then
21040 echo "/* Generated by configure. */" >$tmp/config.h
21042 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21044 cat $tmp/in >>$tmp/config.h
21046 if test x
"$ac_file" != x-
; then
21047 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21048 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21049 echo "$as_me: $ac_file is unchanged" >&6;}
21051 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21052 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21053 X"$ac_file" : 'X\(//\)[^/]' \| \
21054 X"$ac_file" : 'X\(//\)$' \| \
21055 X"$ac_file" : 'X\(/\)' \| \
21056 . : '\(.\)' 2>/dev/null ||
21058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21059 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21060 /^X\(\/\/\)$/{ s//\1/; q; }
21061 /^X\(\/\).*/{ s//\1/; q; }
21063 { if $as_mkdir_p; then
21068 while test ! -d "$as_dir"; do
21069 as_dirs
="$as_dir $as_dirs"
21070 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21071 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21072 X"$as_dir" : 'X\(//\)[^/]' \| \
21073 X"$as_dir" : 'X\(//\)$' \| \
21074 X"$as_dir" : 'X\(/\)' \| \
21075 . : '\(.\)' 2>/dev/null ||
21077 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21078 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21079 /^X\(\/\/\)$/{ s//\1/; q; }
21080 /^X\(\/\).*/{ s//\1/; q; }
21083 test ! -n "$as_dirs" || mkdir
$as_dirs
21084 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21085 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21086 { (exit 1); exit 1; }; }; }
21089 mv $tmp/config.h
$ac_file
21093 rm -f $tmp/config.h
21095 # Compute $ac_file's index in $config_headers.
21097 for _am_header
in $config_headers :; do
21098 case $_am_header in
21099 $ac_file |
$ac_file:* )
21102 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21105 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21106 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21107 X$ac_file : 'X\(//\)[^/]' \| \
21108 X$ac_file : 'X\(//\)$' \| \
21109 X$ac_file : 'X\(/\)' \| \
21110 . : '\(.\)' 2>/dev/null ||
21112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21113 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21114 /^X\(\/\/\)$/{ s//\1/; q; }
21115 /^X\(\/\).*/{ s//\1/; q; }
21116 s/.*/./; q'`/stamp-h
$_am_stamp_count
21119 cat >>$CONFIG_STATUS <<\_ACEOF
21122 # CONFIG_COMMANDS section.
21124 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21125 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21126 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21127 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21128 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21129 X"$ac_dest" : 'X\(//\)[^/]' \| \
21130 X"$ac_dest" : 'X\(//\)$' \| \
21131 X"$ac_dest" : 'X\(/\)' \| \
21132 . : '\(.\)' 2>/dev/null ||
21134 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21135 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21136 /^X\(\/\/\)$/{ s//\1/; q; }
21137 /^X\(\/\).*/{ s//\1/; q; }
21139 { if $as_mkdir_p; then
21144 while test ! -d "$as_dir"; do
21145 as_dirs
="$as_dir $as_dirs"
21146 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21147 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21148 X"$as_dir" : 'X\(//\)[^/]' \| \
21149 X"$as_dir" : 'X\(//\)$' \| \
21150 X"$as_dir" : 'X\(/\)' \| \
21151 . : '\(.\)' 2>/dev/null ||
21153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21154 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21155 /^X\(\/\/\)$/{ s//\1/; q; }
21156 /^X\(\/\).*/{ s//\1/; q; }
21159 test ! -n "$as_dirs" || mkdir
$as_dirs
21160 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21161 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21162 { (exit 1); exit 1; }; }; }
21166 if test "$ac_dir" != .
; then
21167 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21168 # A "../" for each directory in $ac_dir_suffix.
21169 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21171 ac_dir_suffix
= ac_top_builddir
=
21175 .
) # No --srcdir option. We are building in place.
21177 if test -z "$ac_top_builddir"; then
21180 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21182 [\\/]* | ?
:[\\/]* ) # Absolute path.
21183 ac_srcdir
=$srcdir$ac_dir_suffix;
21184 ac_top_srcdir
=$srcdir ;;
21185 *) # Relative path.
21186 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21187 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21190 # Do not use `cd foo && pwd` to compute absolute paths, because
21191 # the directories may not exist.
21193 .
) ac_abs_builddir
="$ac_dir";;
21196 .
) ac_abs_builddir
=`pwd`;;
21197 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21198 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21201 case $ac_abs_builddir in
21202 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21204 case ${ac_top_builddir}.
in
21205 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21206 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21207 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21210 case $ac_abs_builddir in
21211 .
) ac_abs_srcdir
=$ac_srcdir;;
21214 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21215 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21216 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21219 case $ac_abs_builddir in
21220 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21222 case $ac_top_srcdir in
21223 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21224 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21225 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21230 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21231 echo "$as_me: executing $ac_dest commands" >&6;}
21234 # Only add multilib support code if we just rebuilt the top-level
21236 case " $CONFIG_FILES " in
21238 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
21241 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21242 # Strip MF so we end up with the name of the file.
21243 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21244 # Check whether this is an Automake generated Makefile or not.
21245 # We used to match only the files named `Makefile.in', but
21246 # some people rename them; so instead we look at the file content.
21247 # Grep'ing the first line is not enough: some people post-process
21248 # each Makefile.in and add a new line on top of each file to say so.
21249 # So let's grep whole file.
21250 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
21251 dirpart
=`(dirname "$mf") 2>/dev/null ||
21252 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21253 X"$mf" : 'X\(//\)[^/]' \| \
21254 X"$mf" : 'X\(//\)$' \| \
21255 X"$mf" : 'X\(/\)' \| \
21256 . : '\(.\)' 2>/dev/null ||
21258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21259 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21260 /^X\(\/\/\)$/{ s//\1/; q; }
21261 /^X\(\/\).*/{ s//\1/; q; }
21266 # Extract the definition of DEPDIR, am__include, and am__quote
21267 # from the Makefile without running `make'.
21268 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21269 test -z "$DEPDIR" && continue
21270 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21271 test -z "am__include" && continue
21272 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21273 # When using ansi2knr, U may be empty or an underscore; expand it
21274 U
=`sed -n 's/^U = //p' < "$mf"`
21275 # Find all dependency output files, they are included files with
21276 # $(DEPDIR) in their names. We invoke sed twice because it is the
21277 # simplest approach to changing $(DEPDIR) to its actual value in the
21279 for file in `sed -n "
21280 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21281 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21282 # Make sure the directory exists.
21283 test -f "$dirpart/$file" && continue
21284 fdir
=`(dirname "$file") 2>/dev/null ||
21285 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21286 X"$file" : 'X\(//\)[^/]' \| \
21287 X"$file" : 'X\(//\)$' \| \
21288 X"$file" : 'X\(/\)' \| \
21289 . : '\(.\)' 2>/dev/null ||
21291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21292 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21293 /^X\(\/\/\)$/{ s//\1/; q; }
21294 /^X\(\/\).*/{ s//\1/; q; }
21296 { if $as_mkdir_p; then
21297 mkdir
-p $dirpart/$fdir
21299 as_dir
=$dirpart/$fdir
21301 while test ! -d "$as_dir"; do
21302 as_dirs
="$as_dir $as_dirs"
21303 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21304 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21305 X"$as_dir" : 'X\(//\)[^/]' \| \
21306 X"$as_dir" : 'X\(//\)$' \| \
21307 X"$as_dir" : 'X\(/\)' \| \
21308 . : '\(.\)' 2>/dev/null ||
21310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21311 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21312 /^X\(\/\/\)$/{ s//\1/; q; }
21313 /^X\(\/\).*/{ s//\1/; q; }
21316 test ! -n "$as_dirs" || mkdir
$as_dirs
21317 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21318 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21319 { (exit 1); exit 1; }; }; }
21321 # echo "creating $dirpart/$file"
21322 echo '# dummy' > "$dirpart/$file"
21328 # See if we are running on zsh, and set the options which allow our
21329 # commands through without removal of \ escapes.
21330 if test -n "${ZSH_VERSION+set}" ; then
21331 setopt NO_GLOB_SUBST
21334 cfgfile
="${ofile}T"
21335 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21338 cat <<_LT_EOF >> "$cfgfile"
21341 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21342 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
21343 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21344 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21346 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21347 # 2006, 2007 Free Software Foundation, Inc.
21349 # This file is part of GNU Libtool:
21350 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
21352 # This program is free software; you can redistribute it and/or modify
21353 # it under the terms of the GNU General Public License as published by
21354 # the Free Software Foundation; either version 2 of the License, or
21355 # (at your option) any later version.
21357 # This program is distributed in the hope that it will be useful, but
21358 # WITHOUT ANY WARRANTY; without even the implied warranty of
21359 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21360 # General Public License for more details.
21362 # You should have received a copy of the GNU General Public License
21363 # along with this program; if not, a copy can be downloaded from
21364 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
21365 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21366 # MA 02110-1301, USA.
21368 # As a special exception to the GNU General Public License, if you
21369 # distribute this file as part of a program that contains a
21370 # configuration script generated by Autoconf, you may include it under
21371 # the same distribution terms that you use for the rest of that program.
21374 # The names of the tagged configurations supported by this script.
21375 available_tags="FC "
21377 # ### BEGIN LIBTOOL CONFIG
21379 # Which release of libtool.m4 was used?
21380 macro_version=$macro_version
21381 macro_revision=$macro_revision
21383 # Whether or not to build shared libraries.
21384 build_libtool_libs=$enable_shared
21386 # Whether or not to build static libraries.
21387 build_old_libs=$enable_static
21389 # What type of objects to build.
21392 # Whether or not to optimize for fast installation.
21393 fast_install=$enable_fast_install
21396 host_alias=$host_alias
21400 # The build system.
21401 build_alias=$build_alias
21405 # A sed program that does not truncate output.
21408 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21409 Xsed="\$SED -e 1s/^X//"
21411 # A grep program that handles long lines.
21417 # A literal string matcher.
21420 # A BSD- or MS-compatible name lister.
21423 # Whether we need soft or hard links.
21426 # What is the maximum length of a command?
21427 max_cmd_len=$max_cmd_len
21429 # Object file suffix (normally "o").
21432 # Executable file suffix (normally "").
21435 # whether the shell understands "unset".
21438 # turn spaces into newlines.
21441 # turn newlines into spaces.
21444 # How to create reloadable object files.
21445 reload_flag=$lt_reload_flag
21446 reload_cmds=$lt_reload_cmds
21448 # Method to check whether dependent libraries are shared objects.
21449 deplibs_check_method=$lt_deplibs_check_method
21451 # Command to use when deplibs_check_method == "file_magic".
21452 file_magic_cmd=$lt_file_magic_cmd
21456 AR_FLAGS=$lt_AR_FLAGS
21458 # A symbol stripping program.
21461 # Commands used to install an old-style archive.
21463 old_postinstall_cmds=$lt_old_postinstall_cmds
21464 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21469 # LTCC compiler flags.
21470 LTCFLAGS=$lt_CFLAGS
21472 # Take the output of nm and produce a listing of raw symbols and C names.
21473 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21475 # Transform the output of nm in a proper C declaration.
21476 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21478 # Transform the output of nm in a C name address pair.
21479 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21481 # The name of the directory that contains temporary libtool files.
21484 # Shell to use when invoking shell scripts.
21487 # An echo program that does not interpret backslashes.
21490 # Used to examine libraries when file_magic_cmd begins with "file".
21491 MAGIC_CMD=$MAGIC_CMD
21493 # Must we lock files when doing compilation?
21494 need_locks=$lt_need_locks
21496 # Old archive suffix (normally "a").
21499 # Shared library suffix (normally ".so").
21500 shrext_cmds=$lt_shrext_cmds
21502 # The commands to extract the exported symbol list from a shared archive.
21503 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21505 # Variables whose values should be saved in libtool wrapper scripts and
21506 # restored at link time.
21507 variables_saved_for_relink=$lt_variables_saved_for_relink
21509 # Do we need the "lib" prefix for modules?
21510 need_lib_prefix=$need_lib_prefix
21512 # Do we need a version for libraries?
21513 need_version=$need_version
21515 # Library versioning type.
21516 version_type=$version_type
21518 # Shared library runtime path variable.
21519 runpath_var=$runpath_var
21521 # Shared library path variable.
21522 shlibpath_var=$shlibpath_var
21524 # Is shlibpath searched before the hard-coded library search path?
21525 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21527 # Format of library name prefix.
21528 libname_spec=$lt_libname_spec
21530 # List of archive names. First name is the real one, the rest are links.
21531 # The last name is the one that the linker finds with -lNAME
21532 library_names_spec=$lt_library_names_spec
21534 # The coded name of the library, if different from the real name.
21535 soname_spec=$lt_soname_spec
21537 # Command to use after installation of a shared archive.
21538 postinstall_cmds=$lt_postinstall_cmds
21540 # Command to use after uninstallation of a shared archive.
21541 postuninstall_cmds=$lt_postuninstall_cmds
21543 # Commands used to finish a libtool library installation in a directory.
21544 finish_cmds=$lt_finish_cmds
21546 # As "finish_cmds", except a single script fragment to be evaled but
21548 finish_eval=$lt_finish_eval
21550 # Whether we should hardcode library paths into libraries.
21551 hardcode_into_libs=$hardcode_into_libs
21553 # Compile-time system search path for libraries.
21554 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21556 # Run-time system search path for libraries.
21557 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21559 # Whether dlopen is supported.
21560 dlopen_support=$enable_dlopen
21562 # Whether dlopen of programs is supported.
21563 dlopen_self=$enable_dlopen_self
21565 # Whether dlopen of statically linked programs is supported.
21566 dlopen_self_static=$enable_dlopen_self_static
21568 # Commands to strip libraries.
21569 old_striplib=$lt_old_striplib
21570 striplib=$lt_striplib
21573 # The linker used to build libraries.
21576 # Commands used to build an old-style archive.
21577 old_archive_cmds=$lt_old_archive_cmds
21579 # A language specific compiler.
21582 # Is the compiler the GNU compiler?
21585 # Compiler flag to turn off builtin functions.
21586 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21588 # How to pass a linker flag through the compiler.
21589 wl=$lt_lt_prog_compiler_wl
21591 # Additional compiler flags for building library objects.
21592 pic_flag=$lt_lt_prog_compiler_pic
21594 # Compiler flag to prevent dynamic linking.
21595 link_static_flag=$lt_lt_prog_compiler_static
21597 # Does compiler simultaneously support -c and -o options?
21598 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21600 # Whether or not to add -lc for building shared libraries.
21601 build_libtool_need_lc=$archive_cmds_need_lc
21603 # Whether or not to disallow shared libs when runtime libs are static.
21604 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21606 # Compiler flag to allow reflexive dlopens.
21607 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21609 # Compiler flag to generate shared objects directly from archives.
21610 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21612 # Whether the compiler copes with passing no objects directly.
21613 compiler_needs_object=$lt_compiler_needs_object
21615 # Create an old-style archive from a shared archive.
21616 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21618 # Create a temporary old-style archive to link instead of a shared archive.
21619 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21621 # Commands used to build a shared archive.
21622 archive_cmds=$lt_archive_cmds
21623 archive_expsym_cmds=$lt_archive_expsym_cmds
21625 # Commands used to build a loadable module if different from building
21626 # a shared archive.
21627 module_cmds=$lt_module_cmds
21628 module_expsym_cmds=$lt_module_expsym_cmds
21630 # Whether we are building with GNU ld or not.
21631 with_gnu_ld=$lt_with_gnu_ld
21633 # Flag that allows shared libraries with undefined symbols to be built.
21634 allow_undefined_flag=$lt_allow_undefined_flag
21636 # Flag that enforces no undefined symbols.
21637 no_undefined_flag=$lt_no_undefined_flag
21639 # Flag to hardcode \$libdir into a binary during linking.
21640 # This must work even if \$libdir does not exist
21641 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21643 # If ld is used when linking, flag to hardcode \$libdir into a binary
21644 # during linking. This must work even if \$libdir does not exist.
21645 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21647 # Whether we need a single "-rpath" flag with a separated argument.
21648 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21650 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21651 # DIR into the resulting binary.
21652 hardcode_direct=$hardcode_direct
21654 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21655 # DIR into the resulting binary and the resulting library dependency is
21656 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21657 # library is relocated.
21658 hardcode_direct_absolute=$hardcode_direct_absolute
21660 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21661 # into the resulting binary.
21662 hardcode_minus_L=$hardcode_minus_L
21664 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21665 # into the resulting binary.
21666 hardcode_shlibpath_var=$hardcode_shlibpath_var
21668 # Set to "yes" if building a shared library automatically hardcodes DIR
21669 # into the library and all subsequent libraries and executables linked
21671 hardcode_automatic=$hardcode_automatic
21673 # Set to yes if linker adds runtime paths of dependent libraries
21674 # to runtime path list.
21675 inherit_rpath=$inherit_rpath
21677 # Whether libtool must link a program against all its dependency libraries.
21678 link_all_deplibs=$link_all_deplibs
21680 # Fix the shell variable \$srcfile for the compiler.
21681 fix_srcfile_path=$lt_fix_srcfile_path
21683 # Set to "yes" if exported symbols are required.
21684 always_export_symbols=$always_export_symbols
21686 # The commands to list exported symbols.
21687 export_symbols_cmds=$lt_export_symbols_cmds
21689 # Symbols that should not be listed in the preloaded symbols.
21690 exclude_expsyms=$lt_exclude_expsyms
21692 # Symbols that must always be exported.
21693 include_expsyms=$lt_include_expsyms
21695 # Commands necessary for linking programs (against libraries) with templates.
21696 prelink_cmds=$lt_prelink_cmds
21698 # Specify filename containing input files.
21699 file_list_spec=$lt_file_list_spec
21701 # How to hardcode a shared library path into an executable.
21702 hardcode_action=$hardcode_action
21704 # Dependencies to place before and after the objects being linked to
21705 # create a shared library.
21706 predep_objects=$lt_predep_objects
21707 postdep_objects=$lt_postdep_objects
21708 predeps=$lt_predeps
21709 postdeps=$lt_postdeps
21711 # The library search path used internally by the compiler when linking
21712 # a shared library.
21713 compiler_lib_search_path=$lt_compiler_lib_search_path
21715 # ### END LIBTOOL CONFIG
21721 cat <<\_LT_EOF
>> "$cfgfile"
21722 # AIX sometimes has problems with the GCC collect2 program. For some
21723 # reason, if we set the COLLECT_NAMES environment variable, the problems
21724 # vanish in a puff of smoke.
21725 if test "X${COLLECT_NAMES+set}" != Xset
; then
21727 export COLLECT_NAMES
21734 ltmain
="$ac_aux_dir/ltmain.sh"
21737 # We use sed instead of cat because bash on DJGPP gets confused if
21738 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21739 # text mode, it properly converts lines to CR/LF. This bash problem
21740 # is reportedly fixed, but why not run on old versions too?
21741 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21742 ||
(rm -f "$cfgfile"; exit 1)
21746 cat << \_LT_EOF
>> "$cfgfile"
21747 # func_dirname file append nondir_replacement
21748 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21749 # otherwise set result to NONDIR_REPLACEMENT.
21753 */*) func_dirname_result
="${1%/*}${2}" ;;
21754 * ) func_dirname_result
="${3}" ;;
21758 # func_basename file
21761 func_basename_result
="${1##*/}"
21764 # func_stripname prefix suffix name
21765 # strip PREFIX and SUFFIX off of NAME.
21766 # PREFIX and SUFFIX must not contain globbing or regex special
21767 # characters, hashes, percent signs, but SUFFIX may contain a leading
21768 # dot (in which case that matches only a dot).
21771 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
21772 # positional parameters, so assign one to ordinary parameter first.
21773 func_stripname_result
=${3}
21774 func_stripname_result
=${func_stripname_result#"${1}"}
21775 func_stripname_result
=${func_stripname_result%"${2}"}
21781 func_opt_split_opt
=${1%%=*}
21782 func_opt_split_arg
=${1#*=}
21789 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
21790 *) func_lo2o_result
=${1} ;;
21795 *) # Bourne compatible functions.
21796 cat << \_LT_EOF
>> "$cfgfile"
21797 # func_dirname file append nondir_replacement
21798 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21799 # otherwise set result to NONDIR_REPLACEMENT.
21802 # Extract subdirectory from the argument.
21803 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
21804 if test "X$func_dirname_result" = "X${1}"; then
21805 func_dirname_result
="${3}"
21807 func_dirname_result
="$func_dirname_result${2}"
21811 # func_basename file
21814 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
21817 # func_stripname prefix suffix name
21818 # strip PREFIX and SUFFIX off of NAME.
21819 # PREFIX and SUFFIX must not contain globbing or regex special
21820 # characters, hashes, percent signs, but SUFFIX may contain a leading
21821 # dot (in which case that matches only a dot).
21822 # func_strip_suffix prefix name
21826 .
*) func_stripname_result
=`$ECHO "X${3}" \
21827 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
21828 *) func_stripname_result
=`$ECHO "X${3}" \
21829 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
21834 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
21835 my_sed_long_arg
='1s/^-[^=]*=//'
21840 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
21841 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
21847 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
21852 case $lt_shell_append in
21854 cat << \_LT_EOF
>> "$cfgfile"
21856 # func_append var value
21857 # Append VALUE to the end of shell variable VAR.
21865 cat << \_LT_EOF
>> "$cfgfile"
21867 # func_append var value
21868 # Append VALUE to the end of shell variable VAR.
21878 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
21879 ||
(rm -f "$cfgfile"; exit 1)
21881 mv -f "$cfgfile" "$ofile" ||
21882 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21886 cat <<_LT_EOF >> "$ofile"
21888 # ### BEGIN LIBTOOL TAG CONFIG: FC
21890 # The linker used to build libraries.
21893 # Commands used to build an old-style archive.
21894 old_archive_cmds=$lt_old_archive_cmds_FC
21896 # A language specific compiler.
21899 # Is the compiler the GNU compiler?
21902 # Compiler flag to turn off builtin functions.
21903 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
21905 # How to pass a linker flag through the compiler.
21906 wl=$lt_lt_prog_compiler_wl_FC
21908 # Additional compiler flags for building library objects.
21909 pic_flag=$lt_lt_prog_compiler_pic_FC
21911 # Compiler flag to prevent dynamic linking.
21912 link_static_flag=$lt_lt_prog_compiler_static_FC
21914 # Does compiler simultaneously support -c and -o options?
21915 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
21917 # Whether or not to add -lc for building shared libraries.
21918 build_libtool_need_lc=$archive_cmds_need_lc_FC
21920 # Whether or not to disallow shared libs when runtime libs are static.
21921 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
21923 # Compiler flag to allow reflexive dlopens.
21924 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
21926 # Compiler flag to generate shared objects directly from archives.
21927 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
21929 # Whether the compiler copes with passing no objects directly.
21930 compiler_needs_object=$lt_compiler_needs_object_FC
21932 # Create an old-style archive from a shared archive.
21933 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
21935 # Create a temporary old-style archive to link instead of a shared archive.
21936 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
21938 # Commands used to build a shared archive.
21939 archive_cmds=$lt_archive_cmds_FC
21940 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
21942 # Commands used to build a loadable module if different from building
21943 # a shared archive.
21944 module_cmds=$lt_module_cmds_FC
21945 module_expsym_cmds=$lt_module_expsym_cmds_FC
21947 # Whether we are building with GNU ld or not.
21948 with_gnu_ld=$lt_with_gnu_ld_FC
21950 # Flag that allows shared libraries with undefined symbols to be built.
21951 allow_undefined_flag=$lt_allow_undefined_flag_FC
21953 # Flag that enforces no undefined symbols.
21954 no_undefined_flag=$lt_no_undefined_flag_FC
21956 # Flag to hardcode \$libdir into a binary during linking.
21957 # This must work even if \$libdir does not exist
21958 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
21960 # If ld is used when linking, flag to hardcode \$libdir into a binary
21961 # during linking. This must work even if \$libdir does not exist.
21962 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
21964 # Whether we need a single "-rpath" flag with a separated argument.
21965 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
21967 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21968 # DIR into the resulting binary.
21969 hardcode_direct=$hardcode_direct_FC
21971 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21972 # DIR into the resulting binary and the resulting library dependency is
21973 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21974 # library is relocated.
21975 hardcode_direct_absolute=$hardcode_direct_absolute_FC
21977 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21978 # into the resulting binary.
21979 hardcode_minus_L=$hardcode_minus_L_FC
21981 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21982 # into the resulting binary.
21983 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
21985 # Set to "yes" if building a shared library automatically hardcodes DIR
21986 # into the library and all subsequent libraries and executables linked
21988 hardcode_automatic=$hardcode_automatic_FC
21990 # Set to yes if linker adds runtime paths of dependent libraries
21991 # to runtime path list.
21992 inherit_rpath=$inherit_rpath_FC
21994 # Whether libtool must link a program against all its dependency libraries.
21995 link_all_deplibs=$link_all_deplibs_FC
21997 # Fix the shell variable \$srcfile for the compiler.
21998 fix_srcfile_path=$lt_fix_srcfile_path_FC
22000 # Set to "yes" if exported symbols are required.
22001 always_export_symbols=$always_export_symbols_FC
22003 # The commands to list exported symbols.
22004 export_symbols_cmds=$lt_export_symbols_cmds_FC
22006 # Symbols that should not be listed in the preloaded symbols.
22007 exclude_expsyms=$lt_exclude_expsyms_FC
22009 # Symbols that must always be exported.
22010 include_expsyms=$lt_include_expsyms_FC
22012 # Commands necessary for linking programs (against libraries) with templates.
22013 prelink_cmds=$lt_prelink_cmds_FC
22015 # Specify filename containing input files.
22016 file_list_spec=$lt_file_list_spec_FC
22018 # How to hardcode a shared library path into an executable.
22019 hardcode_action=$hardcode_action_FC
22021 # Dependencies to place before and after the objects being linked to
22022 # create a shared library.
22023 predep_objects=$lt_predep_objects_FC
22024 postdep_objects=$lt_postdep_objects_FC
22025 predeps=$lt_predeps_FC
22026 postdeps=$lt_postdeps_FC
22028 # The library search path used internally by the compiler when linking
22029 # a shared library.
22030 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
22032 # ### END LIBTOOL TAG CONFIG: FC
22037 if test "$GCC" = yes; then
22038 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
22040 echo "/* generated for $CC */" > tmp-stdint.h
22043 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22045 #ifndef GCC_GENERATED_STDINT_H
22046 #define GCC_GENERATED_STDINT_H 1
22048 #include <sys/types.h>
22051 if test "$acx_cv_header_stdint" != stdint.h
; then
22052 echo "#include <stddef.h>" >> tmp-stdint.h
22054 if test "$acx_cv_header_stdint" != stddef.h
; then
22055 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
22058 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22059 /* glibc uses these symbols as guards to prevent redefinitions. */
22060 #ifdef __int8_t_defined
22065 #ifdef __uint32_t_defined
22071 # ----------------- done header, emit basic int types -------------
22072 if test "$acx_cv_header_stdint" = stddef.h
; then
22073 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22077 #ifndef __uint8_t_defined
22078 #define __uint8_t_defined
22079 typedef unsigned $acx_cv_type_int8_t uint8_t;
22085 #ifndef __uint16_t_defined
22086 #define __uint16_t_defined
22087 typedef unsigned $acx_cv_type_int16_t uint16_t;
22093 #ifndef __uint32_t_defined
22094 #define __uint32_t_defined
22095 typedef unsigned $acx_cv_type_int32_t uint32_t;
22101 #ifndef __int8_t_defined
22102 #define __int8_t_defined
22103 typedef $acx_cv_type_int8_t int8_t;
22109 #ifndef __int16_t_defined
22110 #define __int16_t_defined
22111 typedef $acx_cv_type_int16_t int16_t;
22117 #ifndef __int32_t_defined
22118 #define __int32_t_defined
22119 typedef $acx_cv_type_int32_t int32_t;
22123 elif test "$ac_cv_type_u_int32_t" = yes; then
22124 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22126 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
22139 #ifndef __uint8_t_defined
22140 #define __uint8_t_defined
22141 typedef u_int8_t uint8_t;
22147 #ifndef __uint16_t_defined
22148 #define __uint16_t_defined
22149 typedef u_int16_t uint16_t;
22155 #ifndef __uint32_t_defined
22156 #define __uint32_t_defined
22157 typedef u_int32_t uint32_t;
22162 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22164 /* Some systems have guard macros to prevent redefinitions, define them. */
22186 # ------------- done basic int types, emit int64_t types ------------
22187 if test "$ac_cv_type_uint64_t" = yes; then
22188 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22190 /* system headers have good uint64_t and int64_t */
22198 elif test "$ac_cv_type_u_int64_t" = yes; then
22199 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22201 /* system headers have an u_int64_t (and int64_t) */
22207 #ifndef __uint64_t_defined
22208 #define __uint64_t_defined
22209 typedef u_int64_t uint64_t;
22213 elif test -n "$acx_cv_type_int64_t"; then
22214 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22216 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
22219 typedef $acx_cv_type_int64_t int64_t;
22223 #ifndef __uint64_t_defined
22224 #define __uint64_t_defined
22225 typedef unsigned $acx_cv_type_int64_t uint64_t;
22230 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22232 /* some common heuristics for int64_t, using compiler-specific tests */
22233 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
22236 #ifndef __int64_t_defined
22237 typedef long long int64_t;
22242 typedef unsigned long long uint64_t;
22245 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
22246 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
22247 does not implement __extension__. But that compiler doesn't define
22249 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
22250 # define __extension__
22255 __extension__ typedef long long int64_t;
22259 __extension__ typedef unsigned long long uint64_t;
22262 #elif !defined __STRICT_ANSI__
22263 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
22267 typedef __int64 int64_t;
22271 typedef unsigned __int64 uint64_t;
22273 # endif /* compiler */
22275 #endif /* ANSI version */
22279 # ------------- done int64_t types, emit intptr types ------------
22280 if test "$ac_cv_type_uintptr_t" != yes; then
22281 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22283 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
22284 #ifndef __uintptr_t_defined
22285 typedef u$acx_cv_type_intptr_t uintptr_t;
22287 #ifndef __intptr_t_defined
22288 typedef $acx_cv_type_intptr_t intptr_t;
22293 # ------------- done intptr types, emit int_least types ------------
22294 if test "$ac_cv_type_int_least32_t" != yes; then
22295 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22297 /* Define int_least types */
22298 typedef int8_t int_least8_t;
22299 typedef int16_t int_least16_t;
22300 typedef int32_t int_least32_t;
22302 typedef int64_t int_least64_t;
22305 typedef uint8_t uint_least8_t;
22306 typedef uint16_t uint_least16_t;
22307 typedef uint32_t uint_least32_t;
22309 typedef uint64_t uint_least64_t;
22314 # ------------- done intptr types, emit int_fast types ------------
22315 if test "$ac_cv_type_int_fast32_t" != yes; then
22316 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22318 /* Define int_fast types. short is often slow */
22319 typedef int8_t int_fast8_t;
22320 typedef int int_fast16_t;
22321 typedef int32_t int_fast32_t;
22323 typedef int64_t int_fast64_t;
22326 typedef uint8_t uint_fast8_t;
22327 typedef unsigned int uint_fast16_t;
22328 typedef uint32_t uint_fast32_t;
22330 typedef uint64_t uint_fast64_t;
22335 if test "$ac_cv_type_uintmax_t" != yes; then
22336 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22338 /* Define intmax based on what we found */
22340 typedef int64_t intmax_t;
22342 typedef long intmax_t;
22345 typedef uint64_t uintmax_t;
22347 typedef unsigned long uintmax_t;
22352 sed 's/^ *//' >> tmp-stdint.h
<<EOF
22354 #endif /* GCC_GENERATED_STDINT_H */
22357 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
22360 mv -f tmp-stdint.h gstdint.h
22368 cat >>$CONFIG_STATUS <<\_ACEOF
22370 { (exit 0); exit 0; }
22372 chmod +x
$CONFIG_STATUS
22373 ac_clean_files
=$ac_clean_files_save
22376 # configure is writing to config.log, and then calls config.status.
22377 # config.status does its own redirection, appending to config.log.
22378 # Unfortunately, on DOS this fails, as config.log is still kept open
22379 # by configure, so config.status won't be able to write to it; its
22380 # output is simply discarded. So we exec the FD to /dev/null,
22381 # effectively closing config.log, so it can be properly (re)opened and
22382 # appended to by config.status. When coming back to configure, we
22383 # need to make the FD available again.
22384 if test "$no_create" != yes; then
22386 ac_config_status_args
=
22387 test "$silent" = yes &&
22388 ac_config_status_args
="$ac_config_status_args --quiet"
22390 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22392 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22393 # would make configure fail if this is the last instruction.
22394 $ac_cs_success ||
{ (exit 1); exit 1; }