2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU Offloading and Multi Processing Runtime Library 1.0.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 PATH=/empty FPATH=/empty; export PATH FPATH
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='GNU Offloading and Multi Processing Runtime Library'
589 PACKAGE_TARNAME
='libgomp'
590 PACKAGE_VERSION
='1.0'
591 PACKAGE_STRING
='GNU Offloading and Multi Processing Runtime Library 1.0'
593 PACKAGE_URL
='http://www.gnu.org/software/libgomp/'
595 # Factoring default headers for most tests.
596 ac_includes_default
="\
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
608 # ifdef HAVE_STDLIB_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
633 ac_subst_vars
='am__EXEEXT_FALSE
638 OMP_NEST_LOCK_25_KIND
640 OMP_NEST_LOCK_25_ALIGN
641 OMP_NEST_LOCK_25_SIZE
656 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_FALSE
657 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_TRUE
658 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_FALSE
659 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_TRUE
660 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
661 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
668 offload_additional_lib_paths
669 offload_additional_options
678 PLUGIN_NVPTX_CPPFLAGS
688 MAINTAINER_MODE_FALSE
747 INSTALL_STRIP_PROGRAM
803 program_transform_name
816 enable_option_checking
817 enable_version_specific_runtime_libs
818 enable_generated_files_in_srcdir
821 enable_dependency_tracking
828 enable_maintainer_mode
830 with_cuda_driver_include
833 with_hsa_runtime_include
839 with_gcc_major_version_only
841 ac_precious_vars
='build_alias
852 # Initialize some variables set by options.
854 ac_init_version
=false
855 ac_unrecognized_opts
=
857 # The variables have the same names as the options, with
858 # dashes changed to underlines.
866 program_transform_name
=s
,x
,x
,
874 # Installation directory options.
875 # These are left unexpanded so users can "make install exec_prefix=/foo"
876 # and all the variables that are supposed to be based on exec_prefix
877 # by default will actually change.
878 # Use braces instead of parens because sh, perl, etc. also accept them.
879 # (The list follows the same order as the GNU Coding Standards.)
880 bindir
='${exec_prefix}/bin'
881 sbindir
='${exec_prefix}/sbin'
882 libexecdir
='${exec_prefix}/libexec'
883 datarootdir
='${prefix}/share'
884 datadir
='${datarootdir}'
885 sysconfdir
='${prefix}/etc'
886 sharedstatedir
='${prefix}/com'
887 localstatedir
='${prefix}/var'
888 includedir
='${prefix}/include'
889 oldincludedir
='/usr/include'
890 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
891 infodir
='${datarootdir}/info'
896 libdir
='${exec_prefix}/lib'
897 localedir
='${datarootdir}/locale'
898 mandir
='${datarootdir}/man'
904 # If the previous option needs an argument, assign it.
905 if test -n "$ac_prev"; then
906 eval $ac_prev=\
$ac_option
912 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
917 # Accept the important Cygnus configure options, so we can diagnose typos.
919 case $ac_dashdash$ac_option in
923 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
925 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
928 -build |
--build |
--buil |
--bui |
--bu)
929 ac_prev
=build_alias
;;
930 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
931 build_alias
=$ac_optarg ;;
933 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
934 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
935 ac_prev
=cache_file
;;
936 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
937 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
938 cache_file
=$ac_optarg ;;
941 cache_file
=config.cache
;;
943 -datadir |
--datadir |
--datadi |
--datad)
945 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
946 datadir
=$ac_optarg ;;
948 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
949 |
--dataroo |
--dataro |
--datar)
950 ac_prev
=datarootdir
;;
951 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
952 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
953 datarootdir
=$ac_optarg ;;
955 -disable-* |
--disable-*)
956 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
957 # Reject names that are not valid shell variable names.
958 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
959 as_fn_error $?
"invalid feature name: $ac_useropt"
960 ac_useropt_orig
=$ac_useropt
961 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
962 case $ac_user_opts in
966 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
967 ac_unrecognized_sep
=', ';;
969 eval enable_
$ac_useropt=no
;;
971 -docdir |
--docdir |
--docdi |
--doc |
--do)
973 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
976 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
978 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
981 -enable-* |
--enable-*)
982 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
983 # Reject names that are not valid shell variable names.
984 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
985 as_fn_error $?
"invalid feature name: $ac_useropt"
986 ac_useropt_orig
=$ac_useropt
987 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
988 case $ac_user_opts in
992 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
993 ac_unrecognized_sep
=', ';;
995 eval enable_
$ac_useropt=\
$ac_optarg ;;
997 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
998 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
999 |
--exec |
--exe |
--ex)
1000 ac_prev
=exec_prefix
;;
1001 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1002 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1003 |
--exec=* |
--exe=* |
--ex=*)
1004 exec_prefix
=$ac_optarg ;;
1006 -gas |
--gas |
--ga |
--g)
1007 # Obsolete; use --with-gas.
1010 -help |
--help |
--hel |
--he |
-h)
1011 ac_init_help
=long
;;
1012 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1013 ac_init_help
=recursive
;;
1014 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1015 ac_init_help
=short
;;
1017 -host |
--host |
--hos |
--ho)
1018 ac_prev
=host_alias
;;
1019 -host=* |
--host=* |
--hos=* |
--ho=*)
1020 host_alias
=$ac_optarg ;;
1022 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1024 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1026 htmldir
=$ac_optarg ;;
1028 -includedir |
--includedir |
--includedi |
--included |
--include \
1029 |
--includ |
--inclu |
--incl |
--inc)
1030 ac_prev
=includedir
;;
1031 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1032 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1033 includedir
=$ac_optarg ;;
1035 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1037 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1038 infodir
=$ac_optarg ;;
1040 -libdir |
--libdir |
--libdi |
--libd)
1042 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1043 libdir
=$ac_optarg ;;
1045 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1046 |
--libexe |
--libex |
--libe)
1047 ac_prev
=libexecdir
;;
1048 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1049 |
--libexe=* |
--libex=* |
--libe=*)
1050 libexecdir
=$ac_optarg ;;
1052 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1053 ac_prev
=localedir
;;
1054 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1055 localedir
=$ac_optarg ;;
1057 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1058 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1059 ac_prev
=localstatedir
;;
1060 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1061 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1062 localstatedir
=$ac_optarg ;;
1064 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1066 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1067 mandir
=$ac_optarg ;;
1069 -nfp |
--nfp |
--nf)
1070 # Obsolete; use --without-fp.
1073 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1074 |
--no-cr |
--no-c |
-n)
1077 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1078 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1081 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1082 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1083 |
--oldin |
--oldi |
--old |
--ol |
--o)
1084 ac_prev
=oldincludedir
;;
1085 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1086 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1087 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1088 oldincludedir
=$ac_optarg ;;
1090 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1092 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1093 prefix
=$ac_optarg ;;
1095 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1096 |
--program-pre |
--program-pr |
--program-p)
1097 ac_prev
=program_prefix
;;
1098 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1099 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1100 program_prefix
=$ac_optarg ;;
1102 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1103 |
--program-suf |
--program-su |
--program-s)
1104 ac_prev
=program_suffix
;;
1105 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1106 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1107 program_suffix
=$ac_optarg ;;
1109 -program-transform-name |
--program-transform-name \
1110 |
--program-transform-nam |
--program-transform-na \
1111 |
--program-transform-n |
--program-transform- \
1112 |
--program-transform |
--program-transfor \
1113 |
--program-transfo |
--program-transf \
1114 |
--program-trans |
--program-tran \
1115 |
--progr-tra |
--program-tr |
--program-t)
1116 ac_prev
=program_transform_name
;;
1117 -program-transform-name=* |
--program-transform-name=* \
1118 |
--program-transform-nam=* |
--program-transform-na=* \
1119 |
--program-transform-n=* |
--program-transform-=* \
1120 |
--program-transform=* |
--program-transfor=* \
1121 |
--program-transfo=* |
--program-transf=* \
1122 |
--program-trans=* |
--program-tran=* \
1123 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1124 program_transform_name
=$ac_optarg ;;
1126 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1128 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1129 pdfdir
=$ac_optarg ;;
1131 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1133 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1136 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1137 |
-silent |
--silent |
--silen |
--sile |
--sil)
1140 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1142 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1144 sbindir
=$ac_optarg ;;
1146 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1147 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1148 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1150 ac_prev
=sharedstatedir
;;
1151 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1152 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1153 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1155 sharedstatedir
=$ac_optarg ;;
1157 -site |
--site |
--sit)
1159 -site=* |
--site=* |
--sit=*)
1162 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1164 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1165 srcdir
=$ac_optarg ;;
1167 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1168 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1169 ac_prev
=sysconfdir
;;
1170 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1171 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1172 sysconfdir
=$ac_optarg ;;
1174 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1175 ac_prev
=target_alias
;;
1176 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1177 target_alias
=$ac_optarg ;;
1179 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1182 -version |
--version |
--versio |
--versi |
--vers |
-V)
1183 ac_init_version
=: ;;
1186 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1187 # Reject names that are not valid shell variable names.
1188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1189 as_fn_error $?
"invalid package name: $ac_useropt"
1190 ac_useropt_orig
=$ac_useropt
1191 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1192 case $ac_user_opts in
1196 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1197 ac_unrecognized_sep
=', ';;
1199 eval with_
$ac_useropt=\
$ac_optarg ;;
1201 -without-* |
--without-*)
1202 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1203 # Reject names that are not valid shell variable names.
1204 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1205 as_fn_error $?
"invalid package name: $ac_useropt"
1206 ac_useropt_orig
=$ac_useropt
1207 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1208 case $ac_user_opts in
1212 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1213 ac_unrecognized_sep
=', ';;
1215 eval with_
$ac_useropt=no
;;
1218 # Obsolete; use --with-x.
1221 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1222 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1223 ac_prev
=x_includes
;;
1224 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1225 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1226 x_includes
=$ac_optarg ;;
1228 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1229 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1230 ac_prev
=x_libraries
;;
1231 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1232 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1233 x_libraries
=$ac_optarg ;;
1235 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1236 Try \`$0 --help' for more information"
1240 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1241 # Reject names that are not valid shell variable names.
1242 case $ac_envvar in #(
1243 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1244 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1246 eval $ac_envvar=\
$ac_optarg
1247 export $ac_envvar ;;
1250 # FIXME: should be removed in autoconf 3.0.
1251 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1252 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1253 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1254 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1260 if test -n "$ac_prev"; then
1261 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1262 as_fn_error $?
"missing argument to $ac_option"
1265 if test -n "$ac_unrecognized_opts"; then
1266 case $enable_option_checking in
1268 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1269 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1273 # Check all directory arguments for consistency.
1274 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1275 datadir sysconfdir sharedstatedir localstatedir includedir \
1276 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1277 libdir localedir mandir
1279 eval ac_val
=\$
$ac_var
1280 # Remove trailing slashes.
1283 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1284 eval $ac_var=\
$ac_val;;
1286 # Be sure to have absolute directory names.
1288 [\\/$
]* | ?
:[\\/]* ) continue;;
1289 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1291 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1294 # There might be people who depend on the old broken behavior: `$host'
1295 # used to hold the argument of --host etc.
1296 # FIXME: To remove some day.
1299 target
=$target_alias
1301 # FIXME: To remove some day.
1302 if test "x$host_alias" != x
; then
1303 if test "x$build_alias" = x
; then
1304 cross_compiling
=maybe
1305 elif test "x$build_alias" != "x$host_alias"; then
1311 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1313 test "$silent" = yes && exec 6>/dev
/null
1316 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1317 ac_ls_di
=`ls -di .` &&
1318 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1319 as_fn_error $?
"working directory cannot be determined"
1320 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1321 as_fn_error $?
"pwd does not report name of working directory"
1324 # Find the source files, if location was not specified.
1325 if test -z "$srcdir"; then
1326 ac_srcdir_defaulted
=yes
1327 # Try the directory containing this script, then the parent directory.
1328 ac_confdir
=`$as_dirname -- "$as_myself" ||
1329 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1330 X"$as_myself" : 'X\(//\)[^/]' \| \
1331 X"$as_myself" : 'X\(//\)$' \| \
1332 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1333 $as_echo X"$as_myself" |
1334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1352 if test ! -r "$srcdir/$ac_unique_file"; then
1356 ac_srcdir_defaulted
=no
1358 if test ! -r "$srcdir/$ac_unique_file"; then
1359 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1360 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1362 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1364 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1366 # When building in place, set srcdir=.
1367 if test "$ac_abs_confdir" = "$ac_pwd"; then
1370 # Remove unnecessary trailing slashes from srcdir.
1371 # Double slashes in file names in object file debugging info
1372 # mess up M-x gdb in Emacs.
1374 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1376 for ac_var
in $ac_precious_vars; do
1377 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1378 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1379 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1380 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1384 # Report the --help message.
1386 if test "$ac_init_help" = "long"; then
1387 # Omit some internal or obsolete options to make the list less imposing.
1388 # This message is too long to be a string in the A/UX 3.1 sh.
1390 \`configure' configures GNU Offloading and Multi Processing Runtime Library 1.0 to adapt to many kinds of systems.
1392 Usage: $0 [OPTION]... [VAR=VALUE]...
1394 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1395 VAR=VALUE. See below for descriptions of some of the useful variables.
1397 Defaults for the options are specified in brackets.
1400 -h, --help display this help and exit
1401 --help=short display options specific to this package
1402 --help=recursive display the short help of all the included packages
1403 -V, --version display version information and exit
1404 -q, --quiet, --silent do not print \`checking ...' messages
1405 --cache-file=FILE cache test results in FILE [disabled]
1406 -C, --config-cache alias for \`--cache-file=config.cache'
1407 -n, --no-create do not create output files
1408 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1410 Installation directories:
1411 --prefix=PREFIX install architecture-independent files in PREFIX
1412 [$ac_default_prefix]
1413 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1416 By default, \`make install' will install all the files in
1417 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1418 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1419 for instance \`--prefix=\$HOME'.
1421 For better control, use the options below.
1423 Fine tuning of the installation directories:
1424 --bindir=DIR user executables [EPREFIX/bin]
1425 --sbindir=DIR system admin executables [EPREFIX/sbin]
1426 --libexecdir=DIR program executables [EPREFIX/libexec]
1427 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1428 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1429 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1430 --libdir=DIR object code libraries [EPREFIX/lib]
1431 --includedir=DIR C header files [PREFIX/include]
1432 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1433 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1434 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1435 --infodir=DIR info documentation [DATAROOTDIR/info]
1436 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1437 --mandir=DIR man documentation [DATAROOTDIR/man]
1438 --docdir=DIR documentation root [DATAROOTDIR/doc/libgomp]
1439 --htmldir=DIR html documentation [DOCDIR]
1440 --dvidir=DIR dvi documentation [DOCDIR]
1441 --pdfdir=DIR pdf documentation [DOCDIR]
1442 --psdir=DIR ps documentation [DOCDIR]
1448 --program-prefix=PREFIX prepend PREFIX to installed program names
1449 --program-suffix=SUFFIX append SUFFIX to installed program names
1450 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1453 --build=BUILD configure
for building on BUILD
[guessed
]
1454 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1455 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1459 if test -n "$ac_init_help"; then
1460 case $ac_init_help in
1461 short | recursive
) echo "Configuration of GNU Offloading and Multi Processing Runtime Library 1.0:";;
1466 --disable-option-checking ignore unrecognized
--enable/--with options
1467 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1468 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1469 --enable-version-specific-runtime-libs
1470 Specify that runtime libraries should be installed
1471 in a compiler-specific directory
[default
=no
]
1472 --enable-generated-files-in-srcdir
1473 put copies of generated files
in source dir intended
1474 for creating
source tarballs
for users without
1475 texinfo bison or flex.
[default
=no
]
1476 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1477 --disable-silent-rules verbose build output
(undo
: "make V=0")
1478 --enable-multilib build many library versions
(default
)
1479 --enable-dependency-tracking
1480 do not reject slow dependency extractors
1481 --disable-dependency-tracking
1482 speeds up one-time build
1483 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1484 --enable-static[=PKGS
] build static libraries
[default
=yes]
1485 --enable-fast-install[=PKGS
]
1486 optimize
for fast installation
[default
=yes]
1487 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1488 --enable-maintainer-mode
1489 enable make rules and dependencies not useful
(and
1490 sometimes confusing
) to the casual installer
1491 --enable-linux-futex use the Linux futex system call
[default
=default
]
1492 --enable-tls Use thread-local storage
[default
=yes]
1493 --enable-symvers=STYLE enables symbol versioning of the shared library
1495 --enable-cet enable Intel CET
in target libraries
[default
=no
]
1498 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1499 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1500 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1502 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1503 --with-cuda-driver=PATH specify prefix directory
for installed CUDA driver
1504 package. Equivalent to
1505 --with-cuda-driver-include=PATH
/include plus
1506 --with-cuda-driver-lib=PATH
/lib
1507 --with-cuda-driver-include=PATH
1508 specify directory
for installed CUDA driver include
1510 --with-cuda-driver-lib=PATH
1511 specify directory
for the installed CUDA driver
1513 --with-hsa-runtime=PATH specify prefix directory
for installed HSA run-time
1514 package. Equivalent to
1515 --with-hsa-runtime-include=PATH
/include plus
1516 --with-hsa-runtime-lib=PATH
/lib
1517 --with-hsa-runtime-include=PATH
1518 specify directory
for installed HSA run-time include
1520 --with-hsa-runtime-lib=PATH
1521 specify directory
for the installed HSA run-time
1523 --with-gcc-major-version-only
1524 use only GCC major number
in filesystem paths
1526 Some influential environment variables
:
1527 CC C compiler
command
1528 CFLAGS C compiler flags
1529 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1530 nonstandard directory
<lib dir
>
1531 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1532 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1533 you have headers
in a nonstandard directory
<include dir
>
1535 FC Fortran compiler
command
1536 FCFLAGS Fortran compiler flags
1538 Use these variables to override the choices made by
`configure' or to help
1539 it to find libraries and programs with nonstandard names/locations.
1541 Report bugs to the package provider.
1542 GNU Offloading and Multi Processing Runtime Library home page: <http://www.gnu.org/software/libgomp/>.
1543 General help using GNU software: <http://www.gnu.org/gethelp/>.
1548 if test "$ac_init_help" = "recursive"; then
1549 # If there are subdirs, report their specific --help.
1550 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1551 test -d "$ac_dir" ||
1552 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1557 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1559 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1560 # A ".." for each directory in $ac_dir_suffix.
1561 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1562 case $ac_top_builddir_sub in
1563 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1564 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1567 ac_abs_top_builddir=$ac_pwd
1568 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1569 # for backward compatibility:
1570 ac_top_builddir=$ac_top_build_prefix
1573 .) # We are building in place.
1575 ac_top_srcdir=$ac_top_builddir_sub
1576 ac_abs_top_srcdir=$ac_pwd ;;
1577 [\\/]* | ?:[\\/]* ) # Absolute name.
1578 ac_srcdir=$srcdir$ac_dir_suffix;
1579 ac_top_srcdir=$srcdir
1580 ac_abs_top_srcdir=$srcdir ;;
1582 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1583 ac_top_srcdir=$ac_top_build_prefix$srcdir
1584 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1586 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1588 cd "$ac_dir" || { ac_status=$?; continue; }
1589 # Check for guested configure.
1590 if test -f "$ac_srcdir/configure.gnu"; then
1592 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1593 elif test -f "$ac_srcdir/configure"; then
1595 $SHELL "$ac_srcdir/configure" --help=recursive
1597 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1599 cd "$ac_pwd" || { ac_status=$?; break; }
1603 test -n "$ac_init_help" && exit $ac_status
1604 if $ac_init_version; then
1606 GNU Offloading and Multi Processing Runtime Library configure 1.0
1607 generated by GNU Autoconf 2.69
1609 Copyright (C) 2012 Free Software Foundation, Inc.
1610 This configure script is free software; the Free Software Foundation
1611 gives unlimited permission to copy, distribute and modify it.
1616 ## ------------------------ ##
1617 ## Autoconf initialization. ##
1618 ## ------------------------ ##
1620 # ac_fn_c_try_compile LINENO
1621 # --------------------------
1622 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1623 ac_fn_c_try_compile ()
1625 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1626 rm -f conftest.$ac_objext
1627 if { { ac_try="$ac_compile"
1629 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1630 *) ac_try_echo
=$ac_try;;
1632 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633 $as_echo "$ac_try_echo"; } >&5
1634 (eval "$ac_compile") 2>conftest.err
1636 if test -s conftest.err
; then
1637 grep -v '^ *+' conftest.err
>conftest.er1
1638 cat conftest.er1
>&5
1639 mv -f conftest.er1 conftest.err
1641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642 test $ac_status = 0; } && {
1643 test -z "$ac_c_werror_flag" ||
1644 test ! -s conftest.err
1645 } && test -s conftest.
$ac_objext; then :
1648 $as_echo "$as_me: failed program was:" >&5
1649 sed 's/^/| /' conftest.
$ac_ext >&5
1653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654 as_fn_set_status
$ac_retval
1656 } # ac_fn_c_try_compile
1658 # ac_fn_c_try_link LINENO
1659 # -----------------------
1660 # Try to link conftest.$ac_ext, and return whether this succeeded.
1663 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1664 rm -f conftest.
$ac_objext conftest
$ac_exeext
1665 if { { ac_try
="$ac_link"
1667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1668 *) ac_try_echo=$ac_try;;
1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 $as_echo "$ac_try_echo"; } >&5
1672 (eval "$ac_link") 2>conftest.err
1674 if test -s conftest.err; then
1675 grep -v '^ *+' conftest.err >conftest.er1
1676 cat conftest.er1 >&5
1677 mv -f conftest.er1 conftest.err
1679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680 test $ac_status = 0; } && {
1681 test -z "$ac_c_werror_flag" ||
1682 test ! -s conftest.err
1683 } && test -s conftest$ac_exeext && {
1684 test "$cross_compiling" = yes ||
1685 test -x conftest$ac_exeext
1689 $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.$ac_ext >&5
1694 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1695 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1696 # interfere with the next link command; also delete a directory that is
1697 # left behind by Apple's compiler. We do this before executing the actions.
1698 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1699 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1700 as_fn_set_status $ac_retval
1702 } # ac_fn_c_try_link
1704 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1705 # -------------------------------------------------------
1706 # Tests whether HEADER exists and can be compiled using the include files in
1707 # INCLUDES, setting the cache variable VAR accordingly.
1708 ac_fn_c_check_header_compile ()
1710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1712 $as_echo_n "checking for $2... " >&6; }
1713 if eval \${$3+:} false; then :
1714 $as_echo_n "(cached) " >&6
1716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1717 /* end confdefs.h. */
1721 if ac_fn_c_try_compile "$LINENO"; then :
1726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1730 $as_echo "$ac_res" >&6; }
1731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733 } # ac_fn_c_check_header_compile
1735 # ac_fn_c_try_cpp LINENO
1736 # ----------------------
1737 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741 if { { ac_try="$ac_cpp conftest.$ac_ext"
1743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1744 *) ac_try_echo
=$ac_try;;
1746 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747 $as_echo "$ac_try_echo"; } >&5
1748 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1750 if test -s conftest.err
; then
1751 grep -v '^ *+' conftest.err
>conftest.er1
1752 cat conftest.er1
>&5
1753 mv -f conftest.er1 conftest.err
1755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756 test $ac_status = 0; } > conftest.i
&& {
1757 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1758 test ! -s conftest.err
1762 $as_echo "$as_me: failed program was:" >&5
1763 sed 's/^/| /' conftest.
$ac_ext >&5
1767 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1768 as_fn_set_status
$ac_retval
1772 # ac_fn_c_try_run LINENO
1773 # ----------------------
1774 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1775 # that executables *can* be run.
1778 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1779 if { { ac_try
="$ac_link"
1781 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1782 *) ac_try_echo=$ac_try;;
1784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1785 $as_echo "$ac_try_echo"; } >&5
1786 (eval "$ac_link") 2>&5
1788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1790 { { case "(($ac_try" in
1791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1792 *) ac_try_echo
=$ac_try;;
1794 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796 (eval "$ac_try") 2>&5
1798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1799 test $ac_status = 0; }; }; then :
1802 $as_echo "$as_me: program exited with status $ac_status" >&5
1803 $as_echo "$as_me: failed program was:" >&5
1804 sed 's/^/| /' conftest.
$ac_ext >&5
1806 ac_retval
=$ac_status
1808 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1809 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1810 as_fn_set_status
$ac_retval
1814 # ac_fn_c_check_func LINENO FUNC VAR
1815 # ----------------------------------
1816 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1817 ac_fn_c_check_func
()
1819 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1821 $as_echo_n "checking for $2... " >&6; }
1822 if eval \
${$3+:} false
; then :
1823 $as_echo_n "(cached) " >&6
1825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1826 /* end confdefs.h. */
1827 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1829 #define $2 innocuous_$2
1831 /* System header to define __stub macros and hopefully few prototypes,
1832 which can conflict with char $2 (); below.
1833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1834 <limits.h> exists even on freestanding compilers. */
1837 # include <limits.h>
1839 # include <assert.h>
1844 /* Override any GCC internal prototype to avoid an error.
1845 Use char because int might match the return type of a GCC
1846 builtin and then its argument prototype would still apply. */
1851 /* The GNU C library defines this for functions which it implements
1852 to always fail with ENOSYS. Some functions are actually named
1853 something starting with __ and the normal name is an alias. */
1854 #if defined __stub_$2 || defined __stub___$2
1866 if ac_fn_c_try_link
"$LINENO"; then :
1871 rm -f core conftest.err conftest.
$ac_objext \
1872 conftest
$ac_exeext conftest.
$ac_ext
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876 $as_echo "$ac_res" >&6; }
1877 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1879 } # ac_fn_c_check_func
1881 # ac_fn_fc_try_compile LINENO
1882 # ---------------------------
1883 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1884 ac_fn_fc_try_compile
()
1886 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1887 rm -f conftest.
$ac_objext
1888 if { { ac_try
="$ac_compile"
1890 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1891 *) ac_try_echo=$ac_try;;
1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895 (eval "$ac_compile") 2>conftest.err
1897 if test -s conftest.err; then
1898 grep -v '^ *+' conftest.err >conftest.er1
1899 cat conftest.er1 >&5
1900 mv -f conftest.er1 conftest.err
1902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1903 test $ac_status = 0; } && {
1904 test -z "$ac_fc_werror_flag" ||
1905 test ! -s conftest.err
1906 } && test -s conftest.$ac_objext; then :
1909 $as_echo "$as_me: failed program was:" >&5
1910 sed 's/^/| /' conftest.$ac_ext >&5
1914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1915 as_fn_set_status $ac_retval
1917 } # ac_fn_fc_try_compile
1919 # ac_fn_fc_try_link LINENO
1920 # ------------------------
1921 # Try to link conftest.$ac_ext, and return whether this succeeded.
1922 ac_fn_fc_try_link ()
1924 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1925 rm -f conftest.$ac_objext conftest$ac_exeext
1926 if { { ac_try="$ac_link"
1928 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1929 *) ac_try_echo
=$ac_try;;
1931 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1932 $as_echo "$ac_try_echo"; } >&5
1933 (eval "$ac_link") 2>conftest.err
1935 if test -s conftest.err
; then
1936 grep -v '^ *+' conftest.err
>conftest.er1
1937 cat conftest.er1
>&5
1938 mv -f conftest.er1 conftest.err
1940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1941 test $ac_status = 0; } && {
1942 test -z "$ac_fc_werror_flag" ||
1943 test ! -s conftest.err
1944 } && test -s conftest
$ac_exeext && {
1945 test "$cross_compiling" = yes ||
1946 test -x conftest
$ac_exeext
1950 $as_echo "$as_me: failed program was:" >&5
1951 sed 's/^/| /' conftest.
$ac_ext >&5
1955 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1956 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1957 # interfere with the next link command; also delete a directory that is
1958 # left behind by Apple's compiler. We do this before executing the actions.
1959 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1960 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1961 as_fn_set_status
$ac_retval
1963 } # ac_fn_fc_try_link
1965 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1966 # -------------------------------------------------------
1967 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1968 # the include files in INCLUDES and setting the cache variable VAR
1970 ac_fn_c_check_header_mongrel
()
1972 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1973 if eval \
${$3+:} false
; then :
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1975 $as_echo_n "checking for $2... " >&6; }
1976 if eval \
${$3+:} false
; then :
1977 $as_echo_n "(cached) " >&6
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1981 $as_echo "$ac_res" >&6; }
1983 # Is the header compilable?
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1985 $as_echo_n "checking $2 usability... " >&6; }
1986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1987 /* end confdefs.h. */
1991 if ac_fn_c_try_compile
"$LINENO"; then :
1992 ac_header_compiler
=yes
1994 ac_header_compiler
=no
1996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1998 $as_echo "$ac_header_compiler" >&6; }
2000 # Is the header present?
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2002 $as_echo_n "checking $2 presence... " >&6; }
2003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2004 /* end confdefs.h. */
2007 if ac_fn_c_try_cpp
"$LINENO"; then :
2008 ac_header_preproc
=yes
2010 ac_header_preproc
=no
2012 rm -f conftest.err conftest.i conftest.
$ac_ext
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2014 $as_echo "$ac_header_preproc" >&6; }
2016 # So? What about this header?
2017 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2020 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2022 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2026 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2028 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2030 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2032 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2034 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2038 $as_echo_n "checking for $2... " >&6; }
2039 if eval \
${$3+:} false
; then :
2040 $as_echo_n "(cached) " >&6
2042 eval "$3=\$ac_header_compiler"
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2046 $as_echo "$ac_res" >&6; }
2048 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2050 } # ac_fn_c_check_header_mongrel
2052 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2053 # -------------------------------------------
2054 # Tests whether TYPE exists after having included INCLUDES, setting cache
2055 # variable VAR accordingly.
2056 ac_fn_c_check_type
()
2058 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2060 $as_echo_n "checking for $2... " >&6; }
2061 if eval \
${$3+:} false
; then :
2062 $as_echo_n "(cached) " >&6
2065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2066 /* end confdefs.h. */
2077 if ac_fn_c_try_compile
"$LINENO"; then :
2078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2079 /* end confdefs.h. */
2090 if ac_fn_c_try_compile
"$LINENO"; then :
2095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2101 $as_echo "$ac_res" >&6; }
2102 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2104 } # ac_fn_c_check_type
2106 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2107 # --------------------------------------------
2108 # Tries to find the compile-time value of EXPR in a program that includes
2109 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2111 ac_fn_c_compute_int
()
2113 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2114 if test "$cross_compiling" = yes; then
2115 # Depending upon the size, compute the lo and hi bounds.
2116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2117 /* end confdefs.h. */
2122 static int test_array [1 - 2 * !(($2) >= 0)];
2124 return test_array [0];
2130 if ac_fn_c_try_compile
"$LINENO"; then :
2133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2134 /* end confdefs.h. */
2139 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2141 return test_array [0];
2147 if ac_fn_c_try_compile
"$LINENO"; then :
2148 ac_hi
=$ac_mid; break
2150 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2151 if test $ac_lo -le $ac_mid; then
2155 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2161 /* end confdefs.h. */
2166 static int test_array [1 - 2 * !(($2) < 0)];
2168 return test_array [0];
2174 if ac_fn_c_try_compile
"$LINENO"; then :
2177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2178 /* end confdefs.h. */
2183 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2185 return test_array [0];
2191 if ac_fn_c_try_compile
"$LINENO"; then :
2192 ac_lo
=$ac_mid; break
2194 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2195 if test $ac_mid -le $ac_hi; then
2199 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2209 # Binary search between lo and hi bounds.
2210 while test "x$ac_lo" != "x$ac_hi"; do
2211 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2213 /* end confdefs.h. */
2218 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2220 return test_array [0];
2226 if ac_fn_c_try_compile
"$LINENO"; then :
2229 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2234 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2239 /* end confdefs.h. */
2241 static long int longval () { return $2; }
2242 static unsigned long int ulongval () { return $2; }
2249 FILE *f = fopen ("conftest.val", "w");
2254 long int i = longval ();
2257 fprintf (f, "%ld", i);
2261 unsigned long int i = ulongval ();
2264 fprintf (f, "%lu", i);
2266 /* Do not output a trailing newline, as this causes \r\n confusion
2267 on some platforms. */
2268 return ferror (f) || fclose (f) != 0;
2274 if ac_fn_c_try_run
"$LINENO"; then :
2275 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2279 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2280 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2284 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2285 as_fn_set_status
$ac_retval
2287 } # ac_fn_c_compute_int
2288 cat >config.log
<<_ACEOF
2289 This file contains any messages produced by compilers while
2290 running configure, to aid debugging if configure makes a mistake.
2292 It was created by GNU Offloading and Multi Processing Runtime Library $as_me 1.0, which was
2293 generated by GNU Autoconf 2.69. Invocation command line was
2305 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2306 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2307 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2308 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2309 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2311 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2312 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2314 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2315 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2316 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2317 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2318 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2319 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2320 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2328 test -z "$as_dir" && as_dir
=.
2329 $as_echo "PATH: $as_dir"
2345 # Keep a trace of the command line.
2346 # Strip out --no-create and --no-recursion so they do not pile up.
2347 # Strip out --silent because we don't want to record it for future runs.
2348 # Also quote any args containing shell meta-characters.
2349 # Make two passes to allow for proper duplicate-argument suppression.
2353 ac_must_keep_next
=false
2359 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2360 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2361 |
-silent |
--silent |
--silen |
--sile |
--sil)
2364 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2367 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2369 as_fn_append ac_configure_args1
" '$ac_arg'"
2370 if test $ac_must_keep_next = true
; then
2371 ac_must_keep_next
=false
# Got value, back to normal.
2374 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2375 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2376 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2377 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2378 case "$ac_configure_args0 " in
2379 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2382 -* ) ac_must_keep_next
=true
;;
2385 as_fn_append ac_configure_args
" '$ac_arg'"
2390 { ac_configure_args0
=; unset ac_configure_args0
;}
2391 { ac_configure_args1
=; unset ac_configure_args1
;}
2393 # When interrupted or exit'd, cleanup temporary files, and complete
2394 # config.log. We remove comments because anyway the quotes in there
2395 # would cause problems or look ugly.
2396 # WARNING: Use '\'' to represent an apostrophe within the trap.
2397 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2398 trap 'exit_status=$?
2399 # Save into config.log some information that might help in debugging.
2403 $as_echo "## ---------------- ##
2404 ## Cache variables. ##
2405 ## ---------------- ##"
2407 # The following way of writing the cache mishandles newlines in values,
2409 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2410 eval ac_val=\$$ac_var
2414 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2415 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2418 _ | IFS | as_nl) ;; #(
2419 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2420 *) { eval $ac_var=; unset $ac_var;} ;;
2425 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2426 *${as_nl}ac_space=\ *)
2428 "s/'\''/'\''\\\\'\'''\''/g;
2429 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2432 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2439 $as_echo "## ----------------- ##
2440 ## Output variables. ##
2441 ## ----------------- ##"
2443 for ac_var in $ac_subst_vars
2445 eval ac_val=\$$ac_var
2447 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2449 $as_echo "$ac_var='\''$ac_val'\''"
2453 if test -n "$ac_subst_files"; then
2454 $as_echo "## ------------------- ##
2455 ## File substitutions. ##
2456 ## ------------------- ##"
2458 for ac_var
in $ac_subst_files
2460 eval ac_val
=\$
$ac_var
2462 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2464 $as_echo "$ac_var='\''$ac_val'\''"
2469 if test -s confdefs.h; then
2470 $as_echo "## ----------- ##
2477 test "$ac_signal" != 0 &&
2478 $as_echo "$as_me: caught signal $ac_signal"
2479 $as_echo "$as_me: exit $exit_status"
2481 rm -f core *.core core.conftest.* &&
2482 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2485 for ac_signal
in 1 2 13 15; do
2486 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2490 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2491 rm -f -r conftest
* confdefs.h
2493 $as_echo "/* confdefs.h */" > confdefs.h
2495 # Predefined preprocessor variables.
2497 cat >>confdefs.h
<<_ACEOF
2498 #define PACKAGE_NAME "$PACKAGE_NAME"
2501 cat >>confdefs.h
<<_ACEOF
2502 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2505 cat >>confdefs.h
<<_ACEOF
2506 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2509 cat >>confdefs.h
<<_ACEOF
2510 #define PACKAGE_STRING "$PACKAGE_STRING"
2513 cat >>confdefs.h
<<_ACEOF
2514 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2517 cat >>confdefs.h
<<_ACEOF
2518 #define PACKAGE_URL "$PACKAGE_URL"
2522 # Let the site file select an alternate cache file if it wants to.
2523 # Prefer an explicitly selected file to automatically selected ones.
2526 if test -n "$CONFIG_SITE"; then
2527 # We do not want a PATH search for config.site.
2528 case $CONFIG_SITE in #((
2529 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2530 */*) ac_site_file1
=$CONFIG_SITE;;
2531 *) ac_site_file1
=.
/$CONFIG_SITE;;
2533 elif test "x$prefix" != xNONE
; then
2534 ac_site_file1
=$prefix/share
/config.site
2535 ac_site_file2
=$prefix/etc
/config.site
2537 ac_site_file1
=$ac_default_prefix/share
/config.site
2538 ac_site_file2
=$ac_default_prefix/etc
/config.site
2540 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2542 test "x$ac_site_file" = xNONE
&& continue
2543 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2545 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2546 sed 's/^/| /' "$ac_site_file" >&5
2548 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2550 as_fn_error $?
"failed to load site script $ac_site_file
2551 See \`config.log' for more details" "$LINENO" 5; }
2555 if test -r "$cache_file"; then
2556 # Some versions of bash will fail to source /dev/null (special files
2557 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2558 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2560 $as_echo "$as_me: loading cache $cache_file" >&6;}
2562 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2563 *) .
"./$cache_file";;
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2568 $as_echo "$as_me: creating cache $cache_file" >&6;}
2572 as_fn_append ac_header_list
" unistd.h"
2573 as_fn_append ac_func_list
" secure_getenv"
2574 as_fn_append ac_func_list
" __secure_getenv"
2575 as_fn_append ac_func_list
" getuid"
2576 as_fn_append ac_func_list
" geteuid"
2577 as_fn_append ac_func_list
" getgid"
2578 as_fn_append ac_func_list
" getegid"
2579 # Check that the precious variables saved in the cache have kept the same
2581 ac_cache_corrupted
=false
2582 for ac_var
in $ac_precious_vars; do
2583 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2584 eval ac_new_set
=\
$ac_env_${ac_var}_set
2585 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2586 eval ac_new_val
=\
$ac_env_${ac_var}_value
2587 case $ac_old_set,$ac_new_set in
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2590 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2591 ac_cache_corrupted
=: ;;
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2594 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2595 ac_cache_corrupted
=: ;;
2598 if test "x$ac_old_val" != "x$ac_new_val"; then
2599 # differences in whitespace do not lead to failure.
2600 ac_old_val_w
=`echo x $ac_old_val`
2601 ac_new_val_w
=`echo x $ac_new_val`
2602 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2604 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2605 ac_cache_corrupted
=:
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2608 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2609 eval $ac_var=\
$ac_old_val
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2612 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2614 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2617 # Pass precious variables to config.status.
2618 if test "$ac_new_set" = set; then
2620 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2621 *) ac_arg
=$ac_var=$ac_new_val ;;
2623 case " $ac_configure_args " in
2624 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2625 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2629 if $ac_cache_corrupted; then
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2633 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2634 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2636 ## -------------------- ##
2637 ## Main body of script. ##
2638 ## -------------------- ##
2641 ac_cpp
='$CPP $CPPFLAGS'
2642 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2643 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2644 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2650 ac_config_headers
="$ac_config_headers config.h"
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2658 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2659 # Check whether --enable-version-specific-runtime-libs was given.
2660 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2661 enableval
=$enable_version_specific_runtime_libs;
2662 case "$enableval" in
2664 *) as_fn_error $?
"Unknown argument to enable/disable version-specific-runtime-libs" "$LINENO" 5 ;;
2668 enable_version_specific_runtime_libs
=no
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
2673 $as_echo "$enable_version_specific_runtime_libs" >&6; }
2675 # We would like our source tree to be readonly. However when releases or
2676 # pre-releases are generated, the flex/bison generated files as well as the
2677 # various formats of manuals need to be included along with the rest of the
2678 # sources. Therefore we have --enable-generated-files-in-srcdir to do
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-generated-files-in-srcdir" >&5
2681 $as_echo_n "checking for --enable-generated-files-in-srcdir... " >&6; }
2682 # Check whether --enable-generated-files-in-srcdir was given.
2683 if test "${enable_generated_files_in_srcdir+set}" = set; then :
2684 enableval
=$enable_generated_files_in_srcdir;
2685 case "$enableval" in
2687 *) as_fn_error $?
"Unknown argument to enable/disable generated-files-in-srcdir" "$LINENO" 5 ;;
2691 enable_generated_files_in_srcdir
=no
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
2696 $as_echo "$enable_generated_files_in_srcdir" >&6; }
2697 if test "$enable_generated_files_in_srcdir" = yes; then
2710 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2712 # You will slowly go insane if you do not grok the following fact: when
2713 # building this library, the top-level /target/ becomes the library's /host/.
2715 # configure then causes --target to default to --host, exactly like any
2716 # other package using autoconf. Therefore, 'target' and 'host' will
2717 # always be the same. This makes sense both for native and cross compilers
2718 # just think about it for a little while. :-)
2720 # Also, if this library is being configured as part of a cross compiler, the
2721 # top-level configure script will pass the "real" host as $with_cross_host.
2723 # Do not delete or change the following two lines. For why, see
2724 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2726 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2727 if test -f "$ac_dir/install-sh"; then
2729 ac_install_sh
="$ac_aux_dir/install-sh -c"
2731 elif test -f "$ac_dir/install.sh"; then
2733 ac_install_sh
="$ac_aux_dir/install.sh -c"
2735 elif test -f "$ac_dir/shtool"; then
2737 ac_install_sh
="$ac_aux_dir/shtool install -c"
2741 if test -z "$ac_aux_dir"; then
2742 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2745 # These three variables are undocumented and unsupported,
2746 # and are intended to be withdrawn in a future Autoconf release.
2747 # They can cause serious problems if a builder's source tree is in a directory
2748 # whose full name contains unusual characters.
2749 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2750 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2751 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2754 # Make sure we can run config.sub.
2755 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2756 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2759 $as_echo_n "checking build system type... " >&6; }
2760 if ${ac_cv_build+:} false
; then :
2761 $as_echo_n "(cached) " >&6
2763 ac_build_alias
=$build_alias
2764 test "x$ac_build_alias" = x
&&
2765 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2766 test "x$ac_build_alias" = x
&&
2767 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2768 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2769 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2773 $as_echo "$ac_cv_build" >&6; }
2774 case $ac_cv_build in
2776 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2779 ac_save_IFS
=$IFS; IFS
='-'
2785 # Remember, the first character of IFS is used to create $*,
2786 # except with old shells:
2789 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2793 $as_echo_n "checking host system type... " >&6; }
2794 if ${ac_cv_host+:} false
; then :
2795 $as_echo_n "(cached) " >&6
2797 if test "x$host_alias" = x
; then
2798 ac_cv_host
=$ac_cv_build
2800 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2801 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2806 $as_echo "$ac_cv_host" >&6; }
2809 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2812 ac_save_IFS
=$IFS; IFS
='-'
2818 # Remember, the first character of IFS is used to create $*,
2819 # except with old shells:
2822 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2826 $as_echo_n "checking target system type... " >&6; }
2827 if ${ac_cv_target+:} false
; then :
2828 $as_echo_n "(cached) " >&6
2830 if test "x$target_alias" = x
; then
2831 ac_cv_target
=$ac_cv_host
2833 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2834 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2839 $as_echo "$ac_cv_target" >&6; }
2840 case $ac_cv_target in
2842 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2844 target
=$ac_cv_target
2845 ac_save_IFS
=$IFS; IFS
='-'
2851 # Remember, the first character of IFS is used to create $*,
2852 # except with old shells:
2855 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2858 # The aliases save the names the user supplied, while $host etc.
2859 # will get canonicalized.
2860 test -n "$target_alias" &&
2861 test "$program_prefix$program_suffix$program_transform_name" = \
2863 program_prefix
=${target_alias}-
2865 target_alias
=${target_alias-$host_alias}
2867 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2868 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2869 # 1.9.0: minimum required version
2870 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2871 # of other PACKAGE_* variables will, however, and there's nothing
2872 # we can do about that; they come from AC_INIT).
2873 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2874 # file in the top srcdir, etc, etc), so stop complaining.
2875 # no-dist: we don't want 'dist' and related rules.
2876 # -Wall: turns on all automake warnings...
2877 # -Wno-portability: ...except this one, since GNU make is required.
2878 # -Wno-override: ... and this one, since we do want this in testsuite.
2879 am__api_version
='1.15'
2881 # Find a good install program. We prefer a C program (faster),
2882 # so one script is as good as another. But avoid the broken or
2883 # incompatible versions:
2884 # SysV /etc/install, /usr/sbin/install
2885 # SunOS /usr/etc/install
2886 # IRIX /sbin/install
2888 # AmigaOS /C/install, which installs bootblocks on floppy discs
2889 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2890 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2891 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2892 # OS/2's system install, which has a completely different semantic
2893 # ./install, which can be erroneously created by make from ./install.sh.
2894 # Reject install programs that cannot install multiple files.
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2896 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2897 if test -z "$INSTALL"; then
2898 if ${ac_cv_path_install+:} false
; then :
2899 $as_echo_n "(cached) " >&6
2901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2905 test -z "$as_dir" && as_dir
=.
2906 # Account for people who put trailing slashes in PATH elements.
2907 case $as_dir/ in #((
2908 .
/ | .
// |
/[cC
]/* | \
2909 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2910 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2913 # OSF1 and SCO ODT 3.0 have their own names for install.
2914 # Don't use installbsd from OSF since it installs stuff as root
2916 for ac_prog
in ginstall scoinst
install; do
2917 for ac_exec_ext
in '' $ac_executable_extensions; do
2918 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2919 if test $ac_prog = install &&
2920 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2921 # AIX install. It has an incompatible calling convention.
2923 elif test $ac_prog = install &&
2924 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2925 # program-specific install script used by HP pwplus--don't use.
2928 rm -rf conftest.one conftest.two conftest.dir
2929 echo one
> conftest.one
2930 echo two
> conftest.two
2932 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2933 test -s conftest.one
&& test -s conftest.two
&&
2934 test -s conftest.dir
/conftest.one
&&
2935 test -s conftest.dir
/conftest.two
2937 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2950 rm -rf conftest.one conftest.two conftest.dir
2953 if test "${ac_cv_path_install+set}" = set; then
2954 INSTALL
=$ac_cv_path_install
2956 # As a last resort, use the slow shell script. Don't cache a
2957 # value for INSTALL within a source directory, because that will
2958 # break other packages using the cache if that directory is
2959 # removed, or if the value is a relative name.
2960 INSTALL
=$ac_install_sh
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2964 $as_echo "$INSTALL" >&6; }
2966 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2967 # It thinks the first close brace ends the variable substitution.
2968 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2970 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2972 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2975 $as_echo_n "checking whether build environment is sane... " >&6; }
2976 # Reject unsafe characters in $srcdir or the absolute working directory
2977 # name. Accept space and tab only in the latter.
2981 *[\\\"\
#\$\&\'\`$am_lf]*)
2982 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2985 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2986 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2989 # Do 'set' in a subshell so we don't clobber the current shell's
2990 # arguments. Must try -L first in case configure is actually a
2991 # symlink; some systems play weird games with the mod time of symlinks
2992 # (eg FreeBSD returns the mod time of the symlink's containing
2996 for am_try
in 1 2; do
2997 echo "timestamp, slept: $am_has_slept" > conftest.
file
2998 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2999 if test "$*" = "X"; then
3001 set X
`ls -t "$srcdir/configure" conftest.file`
3003 if test "$*" != "X $srcdir/configure conftest.file" \
3004 && test "$*" != "X conftest.file $srcdir/configure"; then
3006 # If neither matched, then we have a broken ls. This can happen
3007 # if, for instance, CONFIG_SHELL is bash and it inherits a
3008 # broken ls alias from the environment. This has actually
3009 # happened. Such a system could not be considered "sane".
3010 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3011 alias in your environment" "$LINENO" 5
3013 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3020 test "$2" = conftest.
file
3026 as_fn_error $?
"newly created file is older than distributed files!
3027 Check your system clock" "$LINENO" 5
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3030 $as_echo "yes" >&6; }
3031 # If we didn't sleep, we still need to ensure time stamps of config.status and
3032 # generated files are strictly newer.
3034 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3041 test "$program_prefix" != NONE
&&
3042 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3043 # Use a double $ so make ignores it.
3044 test "$program_suffix" != NONE
&&
3045 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3046 # Double any \ or $.
3047 # By default was `s,x,x', remove it if useless.
3048 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3049 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3051 # Expand $ac_aux_dir to an absolute path.
3052 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3054 if test x
"${MISSING+set}" != xset
; then
3057 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3059 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3062 # Use eval to expand $SHELL
3063 if eval "$MISSING --is-lightweight"; then
3064 am_missing_run
="$MISSING "
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3068 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3071 if test x
"${install_sh+set}" != xset
; then
3074 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3076 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3080 # Installed binaries are usually stripped using 'strip' when the user
3081 # run "make install-strip". However 'strip' might not be the right
3082 # tool to use in cross-compilation environments, therefore Automake
3083 # will honor the 'STRIP' environment variable to overrule this program.
3084 if test "$cross_compiling" != no
; then
3085 if test -n "$ac_tool_prefix"; then
3086 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3087 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3089 $as_echo_n "checking for $ac_word... " >&6; }
3090 if ${ac_cv_prog_STRIP+:} false
; then :
3091 $as_echo_n "(cached) " >&6
3093 if test -n "$STRIP"; then
3094 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3100 test -z "$as_dir" && as_dir
=.
3101 for ac_exec_ext
in '' $ac_executable_extensions; do
3102 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3103 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3113 STRIP
=$ac_cv_prog_STRIP
3114 if test -n "$STRIP"; then
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3116 $as_echo "$STRIP" >&6; }
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3119 $as_echo "no" >&6; }
3124 if test -z "$ac_cv_prog_STRIP"; then
3126 # Extract the first word of "strip", so it can be a program name with args.
3127 set dummy strip
; ac_word
=$2
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3129 $as_echo_n "checking for $ac_word... " >&6; }
3130 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3131 $as_echo_n "(cached) " >&6
3133 if test -n "$ac_ct_STRIP"; then
3134 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3140 test -z "$as_dir" && as_dir
=.
3141 for ac_exec_ext
in '' $ac_executable_extensions; do
3142 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3143 ac_cv_prog_ac_ct_STRIP
="strip"
3144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3153 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3154 if test -n "$ac_ct_STRIP"; then
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3156 $as_echo "$ac_ct_STRIP" >&6; }
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3159 $as_echo "no" >&6; }
3162 if test "x$ac_ct_STRIP" = x
; then
3165 case $cross_compiling:$ac_tool_warned in
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3168 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3169 ac_tool_warned
=yes ;;
3174 STRIP
="$ac_cv_prog_STRIP"
3178 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3181 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3182 if test -z "$MKDIR_P"; then
3183 if ${ac_cv_path_mkdir+:} false
; then :
3184 $as_echo_n "(cached) " >&6
3186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3187 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3190 test -z "$as_dir" && as_dir
=.
3191 for ac_prog
in mkdir gmkdir
; do
3192 for ac_exec_ext
in '' $ac_executable_extensions; do
3193 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3194 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3195 'mkdir (GNU coreutils) '* | \
3196 'mkdir (coreutils) '* | \
3197 'mkdir (fileutils) '4.1*)
3198 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3208 test -d .
/--version && rmdir .
/--version
3209 if test "${ac_cv_path_mkdir+set}" = set; then
3210 MKDIR_P
="$ac_cv_path_mkdir -p"
3212 # As a last resort, use the slow shell script. Don't cache a
3213 # value for MKDIR_P within a source directory, because that will
3214 # break other packages using the cache if that directory is
3215 # removed, or if the value is a relative name.
3216 MKDIR_P
="$ac_install_sh -d"
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3220 $as_echo "$MKDIR_P" >&6; }
3222 for ac_prog
in gawk mawk nawk
awk
3224 # Extract the first word of "$ac_prog", so it can be a program name with args.
3225 set dummy
$ac_prog; ac_word
=$2
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3227 $as_echo_n "checking for $ac_word... " >&6; }
3228 if ${ac_cv_prog_AWK+:} false
; then :
3229 $as_echo_n "(cached) " >&6
3231 if test -n "$AWK"; then
3232 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3238 test -z "$as_dir" && as_dir
=.
3239 for ac_exec_ext
in '' $ac_executable_extensions; do
3240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3241 ac_cv_prog_AWK
="$ac_prog"
3242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3252 if test -n "$AWK"; then
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3254 $as_echo "$AWK" >&6; }
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3257 $as_echo "no" >&6; }
3261 test -n "$AWK" && break
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3265 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3267 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3268 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3269 $as_echo_n "(cached) " >&6
3271 cat >conftest.
make <<\_ACEOF
3274 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3276 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3277 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3279 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3281 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3285 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3287 $as_echo "yes" >&6; }
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3291 $as_echo "no" >&6; }
3292 SET_MAKE
="MAKE=${MAKE-make}"
3295 rm -rf .tst
2>/dev
/null
3296 mkdir .tst
2>/dev
/null
3297 if test -d .tst
; then
3302 rmdir .tst
2>/dev
/null
3304 # Check whether --enable-silent-rules was given.
3305 if test "${enable_silent_rules+set}" = set; then :
3306 enableval
=$enable_silent_rules;
3309 case $enable_silent_rules in # (((
3310 yes) AM_DEFAULT_VERBOSITY
=0;;
3311 no
) AM_DEFAULT_VERBOSITY
=1;;
3312 *) AM_DEFAULT_VERBOSITY
=1;;
3314 am_make
=${MAKE-make}
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3316 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3317 if ${am_cv_make_support_nested_variables+:} false
; then :
3318 $as_echo_n "(cached) " >&6
3320 if $as_echo 'TRUE=$(BAR$(V))
3326 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3327 am_cv_make_support_nested_variables
=yes
3329 am_cv_make_support_nested_variables
=no
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3333 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3334 if test $am_cv_make_support_nested_variables = yes; then
3336 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3338 AM_V
=$AM_DEFAULT_VERBOSITY
3339 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3343 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3344 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3345 # is not polluted with repeated "-I."
3346 am__isrc
=' -I$(srcdir)'
3347 # test to see if srcdir already configured
3348 if test -f $srcdir/config.status
; then
3349 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3353 # test whether we have cygpath
3354 if test -z "$CYGPATH_W"; then
3355 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3356 CYGPATH_W
='cygpath -w'
3363 # Define the identity of the package.
3368 cat >>confdefs.h
<<_ACEOF
3369 #define PACKAGE "$PACKAGE"
3373 cat >>confdefs.h
<<_ACEOF
3374 #define VERSION "$VERSION"
3377 # Some tools Automake needs.
3379 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3382 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3385 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3388 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3391 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3393 # For better backward compatibility. To be removed once Automake 1.9.x
3394 # dies out for good. For more background, see:
3395 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3396 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3397 mkdir_p
='$(MKDIR_P)'
3399 # We need awk for the "check" target (and possibly the TAP driver). The
3400 # system "awk" is bad on some platforms.
3401 # Always define AMTAR for backward compatibility. Yes, it's still used
3402 # in the wild :-( We should find a proper way to deprecate it ...
3406 # We'll loop over all known methods to create a tar archive until one works.
3407 _am_tools
='gnutar pax cpio none'
3409 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3416 # POSIX will say in a future version that running "rm -f" with no argument
3417 # is OK; and we want to be able to make that assumption in our Makefile
3418 # recipes. So use an aggressive probe to check that the usage we want is
3419 # actually supported "in the wild" to an acceptable degree.
3420 # See automake bug#10828.
3421 # To make any issue more visible, cause the running configure to be aborted
3422 # by default if the 'rm' program in use doesn't match our expectations; the
3423 # user can still override this though.
3424 if rm -f && rm -fr && rm -rf; then : OK
; else
3428 Your 'rm' program seems unable to run without file operands specified
3429 on the command line, even when the '-f' option is present. This is contrary
3430 to the behaviour of most rm programs out there, and not conforming with
3431 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3433 Please tell bug-automake@gnu.org about your system, including the value
3434 of your $PATH and any error possibly output before this message. This
3435 can help us improve future automake versions.
3438 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3439 echo 'Configuration will proceed anyway, since you have set the' >&2
3440 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3444 Aborting the configuration process, to ensure you take notice of the issue.
3446 You can download and install GNU coreutils to get an 'rm' implementation
3447 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3449 If you want to complete the configuration process using your problematic
3450 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3451 to "yes", and re-run configure.
3454 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3458 # Default to --enable-multilib
3459 # Check whether --enable-multilib was given.
3460 if test "${enable_multilib+set}" = set; then :
3461 enableval
=$enable_multilib; case "$enableval" in
3462 yes) multilib
=yes ;;
3464 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3471 # We may get other options which we leave undocumented:
3472 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3473 # See config-ml.in if you want the gory details.
3475 if test "$srcdir" = "."; then
3476 if test "$with_target_subdir" != "."; then
3477 multi_basedir
="$srcdir/$with_multisrctop../.."
3479 multi_basedir
="$srcdir/$with_multisrctop.."
3482 multi_basedir
="$srcdir/.."
3486 # Even if the default multilib is not a cross compilation,
3487 # it may be that some of the other multilibs are.
3488 if test $cross_compiling = no
&& test $multilib = yes \
3489 && test "x${with_multisubdir}" != x
; then
3490 cross_compiling
=maybe
3493 ac_config_commands
="$ac_config_commands default-1"
3496 # Calculate toolexeclibdir
3497 # Also toolexecdir, though it's only used in toolexeclibdir
3498 case ${enable_version_specific_runtime_libs} in
3500 # Need the gcc compiler version to know where to install libraries
3501 # and header files if --enable-version-specific-runtime-libs option
3503 toolexecdir
='$(libdir)/gcc/$(target_alias)'
3504 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3507 if test -n "$with_cross_host" &&
3508 test x
"$with_cross_host" != x
"no"; then
3509 # Install a library built with a cross compiler in tooldir, not libdir.
3510 toolexecdir
='$(exec_prefix)/$(target_alias)'
3511 toolexeclibdir
='$(toolexecdir)/lib'
3513 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
3514 toolexeclibdir
='$(libdir)'
3516 multi_os_directory
=`$CC -print-multi-os-directory`
3517 case $multi_os_directory in
3518 .
) ;; # Avoid trailing /.
3519 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
3526 # Check the compiler.
3527 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3528 # We must force CC to /not/ be precious variables; otherwise
3529 # the wrong, non-multilib-adjusted value will be used in multilibs.
3530 # As a side effect, we have to subst CFLAGS ourselves.
3535 ac_cpp
='$CPP $CPPFLAGS'
3536 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3537 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3538 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3539 if test -n "$ac_tool_prefix"; then
3540 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3541 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3543 $as_echo_n "checking for $ac_word... " >&6; }
3544 if ${ac_cv_prog_CC+:} false
; then :
3545 $as_echo_n "(cached) " >&6
3547 if test -n "$CC"; then
3548 ac_cv_prog_CC
="$CC" # Let the user override the test.
3550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3554 test -z "$as_dir" && as_dir
=.
3555 for ac_exec_ext
in '' $ac_executable_extensions; do
3556 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3557 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3568 if test -n "$CC"; then
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3570 $as_echo "$CC" >&6; }
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3573 $as_echo "no" >&6; }
3578 if test -z "$ac_cv_prog_CC"; then
3580 # Extract the first word of "gcc", so it can be a program name with args.
3581 set dummy gcc
; ac_word
=$2
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3583 $as_echo_n "checking for $ac_word... " >&6; }
3584 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3585 $as_echo_n "(cached) " >&6
3587 if test -n "$ac_ct_CC"; then
3588 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3594 test -z "$as_dir" && as_dir
=.
3595 for ac_exec_ext
in '' $ac_executable_extensions; do
3596 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3597 ac_cv_prog_ac_ct_CC
="gcc"
3598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3607 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3608 if test -n "$ac_ct_CC"; then
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3610 $as_echo "$ac_ct_CC" >&6; }
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613 $as_echo "no" >&6; }
3616 if test "x$ac_ct_CC" = x
; then
3619 case $cross_compiling:$ac_tool_warned in
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3623 ac_tool_warned
=yes ;;
3631 if test -z "$CC"; then
3632 if test -n "$ac_tool_prefix"; then
3633 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3634 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3636 $as_echo_n "checking for $ac_word... " >&6; }
3637 if ${ac_cv_prog_CC+:} false
; then :
3638 $as_echo_n "(cached) " >&6
3640 if test -n "$CC"; then
3641 ac_cv_prog_CC
="$CC" # Let the user override the test.
3643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3647 test -z "$as_dir" && as_dir
=.
3648 for ac_exec_ext
in '' $ac_executable_extensions; do
3649 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3650 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3661 if test -n "$CC"; then
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3663 $as_echo "$CC" >&6; }
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3666 $as_echo "no" >&6; }
3672 if test -z "$CC"; then
3673 # Extract the first word of "cc", so it can be a program name with args.
3674 set dummy cc
; ac_word
=$2
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3676 $as_echo_n "checking for $ac_word... " >&6; }
3677 if ${ac_cv_prog_CC+:} false
; then :
3678 $as_echo_n "(cached) " >&6
3680 if test -n "$CC"; then
3681 ac_cv_prog_CC
="$CC" # Let the user override the test.
3684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3688 test -z "$as_dir" && as_dir
=.
3689 for ac_exec_ext
in '' $ac_executable_extensions; do
3690 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3691 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3692 ac_prog_rejected
=yes
3696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 if test $ac_prog_rejected = yes; then
3704 # We found a bogon in the path, so make sure we never use it.
3705 set dummy
$ac_cv_prog_CC
3707 if test $# != 0; then
3708 # We chose a different compiler from the bogus one.
3709 # However, it has the same basename, so the bogon will be chosen
3710 # first if we set CC to just the basename; use the full file name.
3712 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3718 if test -n "$CC"; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3720 $as_echo "$CC" >&6; }
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3723 $as_echo "no" >&6; }
3728 if test -z "$CC"; then
3729 if test -n "$ac_tool_prefix"; then
3730 for ac_prog
in cl.exe
3732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3733 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3735 $as_echo_n "checking for $ac_word... " >&6; }
3736 if ${ac_cv_prog_CC+:} false
; then :
3737 $as_echo_n "(cached) " >&6
3739 if test -n "$CC"; then
3740 ac_cv_prog_CC
="$CC" # Let the user override the test.
3742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3746 test -z "$as_dir" && as_dir
=.
3747 for ac_exec_ext
in '' $ac_executable_extensions; do
3748 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3749 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3760 if test -n "$CC"; then
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3762 $as_echo "$CC" >&6; }
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3765 $as_echo "no" >&6; }
3769 test -n "$CC" && break
3772 if test -z "$CC"; then
3774 for ac_prog
in cl.exe
3776 # Extract the first word of "$ac_prog", so it can be a program name with args.
3777 set dummy
$ac_prog; ac_word
=$2
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3779 $as_echo_n "checking for $ac_word... " >&6; }
3780 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3781 $as_echo_n "(cached) " >&6
3783 if test -n "$ac_ct_CC"; then
3784 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3790 test -z "$as_dir" && as_dir
=.
3791 for ac_exec_ext
in '' $ac_executable_extensions; do
3792 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3793 ac_cv_prog_ac_ct_CC
="$ac_prog"
3794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3803 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3804 if test -n "$ac_ct_CC"; then
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3806 $as_echo "$ac_ct_CC" >&6; }
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3809 $as_echo "no" >&6; }
3813 test -n "$ac_ct_CC" && break
3816 if test "x$ac_ct_CC" = x
; then
3819 case $cross_compiling:$ac_tool_warned in
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3823 ac_tool_warned
=yes ;;
3832 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3834 as_fn_error $?
"no acceptable C compiler found in \$PATH
3835 See \`config.log' for more details" "$LINENO" 5; }
3837 # Provide some information about the compiler.
3838 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3841 for ac_option
in --version -v -V -qversion; do
3842 { { ac_try
="$ac_compiler $ac_option >&5"
3844 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3845 *) ac_try_echo=$ac_try;;
3847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3848 $as_echo "$ac_try_echo"; } >&5
3849 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3851 if test -s conftest.err; then
3853 ... rest of stderr output deleted ...
3854 10q' conftest.err >conftest.er1
3855 cat conftest.er1 >&5
3857 rm -f conftest.er1 conftest.err
3858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3859 test $ac_status = 0; }
3862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3863 /* end confdefs.h. */
3873 ac_clean_files_save=$ac_clean_files
3874 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3875 # Try to create an executable without -o first, disregard a.out.
3876 # It will help us diagnose broken compilers, and finding out an intuition
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3879 $as_echo_n "checking whether the C compiler works... " >&6; }
3880 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3882 # The possible output files:
3883 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3886 for ac_file in $ac_files
3889 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3890 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3895 if { { ac_try="$ac_link_default"
3897 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3898 *) ac_try_echo
=$ac_try;;
3900 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3901 $as_echo "$ac_try_echo"; } >&5
3902 (eval "$ac_link_default") 2>&5
3904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3905 test $ac_status = 0; }; then :
3906 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3907 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3908 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3909 # so that the user can short-circuit this test for compilers unknown to
3911 for ac_file
in $ac_files ''
3913 test -f "$ac_file" ||
continue
3915 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3918 # We found the default executable, but exeext='' is most
3922 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3924 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3926 # We set ac_cv_exeext here because the later test for it is not
3927 # safe: cross compilers may not add the suffix if given an `-o'
3928 # argument, so we may need to know it at that point already.
3929 # Even if this section looks crufty: it has the advantage of
3936 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3941 if test -z "$ac_file"; then :
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3943 $as_echo "no" >&6; }
3944 $as_echo "$as_me: failed program was:" >&5
3945 sed 's/^/| /' conftest.
$ac_ext >&5
3947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3949 as_fn_error
77 "C compiler cannot create executables
3950 See \`config.log' for more details" "$LINENO" 5; }
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3953 $as_echo "yes" >&6; }
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3956 $as_echo_n "checking for C compiler default output file name... " >&6; }
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3958 $as_echo "$ac_file" >&6; }
3959 ac_exeext
=$ac_cv_exeext
3961 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3962 ac_clean_files
=$ac_clean_files_save
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3964 $as_echo_n "checking for suffix of executables... " >&6; }
3965 if { { ac_try
="$ac_link"
3967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3968 *) ac_try_echo=$ac_try;;
3970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3971 $as_echo "$ac_try_echo"; } >&5
3972 (eval "$ac_link") 2>&5
3974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3975 test $ac_status = 0; }; then :
3976 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3977 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3978 # work properly (i.e., refer to `conftest.exe'), while it won't with
3980 for ac_file
in conftest.exe conftest conftest.
*; do
3981 test -f "$ac_file" ||
continue
3983 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3984 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3992 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3993 See \`config.log' for more details" "$LINENO" 5; }
3995 rm -f conftest conftest
$ac_cv_exeext
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3997 $as_echo "$ac_cv_exeext" >&6; }
3999 rm -f conftest.
$ac_ext
4000 EXEEXT
=$ac_cv_exeext
4002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4003 /* end confdefs.h. */
4008 FILE *f = fopen ("conftest.out", "w");
4009 return ferror (f) || fclose (f) != 0;
4015 ac_clean_files
="$ac_clean_files conftest.out"
4016 # Check that the compiler produces executables we can run. If not, either
4017 # the compiler is broken, or we cross compile.
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4019 $as_echo_n "checking whether we are cross compiling... " >&6; }
4020 if test "$cross_compiling" != yes; then
4021 { { ac_try
="$ac_link"
4023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4024 *) ac_try_echo=$ac_try;;
4026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4027 $as_echo "$ac_try_echo"; } >&5
4028 (eval "$ac_link") 2>&5
4030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4031 test $ac_status = 0; }
4032 if { ac_try='./conftest$ac_cv_exeext'
4033 { { case "(($ac_try" in
4034 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4035 *) ac_try_echo
=$ac_try;;
4037 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4038 $as_echo "$ac_try_echo"; } >&5
4039 (eval "$ac_try") 2>&5
4041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042 test $ac_status = 0; }; }; then
4045 if test "$cross_compiling" = maybe
; then
4048 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4050 as_fn_error $?
"cannot run C compiled programs.
4051 If you meant to cross compile, use \`--host'.
4052 See \`config.log' for more details" "$LINENO" 5; }
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4057 $as_echo "$cross_compiling" >&6; }
4059 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4060 ac_clean_files
=$ac_clean_files_save
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4062 $as_echo_n "checking for suffix of object files... " >&6; }
4063 if ${ac_cv_objext+:} false
; then :
4064 $as_echo_n "(cached) " >&6
4066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4067 /* end confdefs.h. */
4077 rm -f conftest.o conftest.obj
4078 if { { ac_try
="$ac_compile"
4080 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4081 *) ac_try_echo=$ac_try;;
4083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4084 $as_echo "$ac_try_echo"; } >&5
4085 (eval "$ac_compile") 2>&5
4087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4088 test $ac_status = 0; }; then :
4089 for ac_file in conftest.o conftest.obj conftest.*; do
4090 test -f "$ac_file" || continue;
4092 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4093 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4098 $as_echo "$as_me: failed program was:" >&5
4099 sed 's/^/| /' conftest.$ac_ext >&5
4101 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4103 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4104 See \
`config.log' for more details" "$LINENO" 5; }
4106 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4109 $as_echo "$ac_cv_objext" >&6; }
4110 OBJEXT=$ac_cv_objext
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4113 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4114 if ${ac_cv_c_compiler_gnu+:} false; then :
4115 $as_echo_n "(cached) " >&6
4117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4118 /* end confdefs.h. */
4131 if ac_fn_c_try_compile "$LINENO"; then :
4136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4137 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4141 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4142 if test $ac_compiler_gnu = yes; then
4147 ac_test_CFLAGS=${CFLAGS+set}
4148 ac_save_CFLAGS=$CFLAGS
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4150 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4151 if ${ac_cv_prog_cc_g+:} false; then :
4152 $as_echo_n "(cached) " >&6
4154 ac_save_c_werror_flag=$ac_c_werror_flag
4155 ac_c_werror_flag=yes
4158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4159 /* end confdefs.h. */
4169 if ac_fn_c_try_compile "$LINENO"; then :
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4184 if ac_fn_c_try_compile "$LINENO"; then :
4187 ac_c_werror_flag=$ac_save_c_werror_flag
4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4200 if ac_fn_c_try_compile "$LINENO"; then :
4203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4208 ac_c_werror_flag=$ac_save_c_werror_flag
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4211 $as_echo "$ac_cv_prog_cc_g" >&6; }
4212 if test "$ac_test_CFLAGS" = set; then
4213 CFLAGS=$ac_save_CFLAGS
4214 elif test $ac_cv_prog_cc_g = yes; then
4215 if test "$GCC" = yes; then
4221 if test "$GCC" = yes; then
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4228 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4229 if ${ac_cv_prog_cc_c89+:} false; then :
4230 $as_echo_n "(cached) " >&6
4232 ac_cv_prog_cc_c89=no
4234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4239 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4240 struct buf { int x; };
4241 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4242 static char *e (p, i)
4248 static char *f (char * (*g) (char **, int), char **p, ...)
4253 s = g (p, va_arg (v,int));
4258 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4259 function prototypes and stuff, but not '\xHH' hex character constants.
4260 These don't provoke an error unfortunately, instead are silently treated
4261 as 'x'. The following induces an error, until -std is added to get
4262 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4263 array size at least. It's necessary to write '\x00'==0 to get something
4264 that's true only with -std. */
4265 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4267 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4268 inside strings and character constants. */
4270 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4272 int test (int i, double x);
4273 struct s1 {int (*f) (int a);};
4274 struct s2 {int (*f) (double a);};
4275 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4281 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4286 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4287 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4289 CC="$ac_save_CC $ac_arg"
4290 if ac_fn_c_try_compile "$LINENO"; then :
4291 ac_cv_prog_cc_c89=$ac_arg
4293 rm -f core conftest.err conftest.$ac_objext
4294 test "x$ac_cv_prog_cc_c89" != "xno" && break
4296 rm -f conftest.$ac_ext
4301 case "x$ac_cv_prog_cc_c89" in
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4304 $as_echo "none needed" >&6; } ;;
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4307 $as_echo "unsupported" >&6; } ;;
4309 CC="$CC $ac_cv_prog_cc_c89"
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4311 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4313 if test "x$ac_cv_prog_cc_c89" != xno; then :
4318 ac_cpp='$CPP $CPPFLAGS'
4319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4324 ac_cpp='$CPP $CPPFLAGS'
4325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4329 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4330 if ${am_cv_prog_cc_c_o+:} false; then :
4331 $as_echo_n "(cached) " >&6
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4344 # Make sure it works both with $CC and with simple cc.
4345 # Following AC_PROG_CC_C_O, we do the test twice because some
4346 # compilers refuse to overwrite an existing .o file with -o,
4347 # though they will create one.
4348 am_cv_prog_cc_c_o=yes
4350 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4351 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4354 (exit $ac_status); } \
4355 && test -f conftest2.$ac_objext; then
4358 am_cv_prog_cc_c_o=no
4362 rm -f core conftest*
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4366 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4367 if test "$am_cv_prog_cc_c_o" != yes; then
4368 # Losing compiler, so override with the script.
4369 # FIXME: It is wrong to rewrite CC.
4370 # But if we don't then we get into trouble of one sort or another.
4371 # A longer-term fix would be to have automake use am__CC in this case,
4372 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4373 CC="$am_aux_dir/compile $CC"
4376 ac_cpp='$CPP $CPPFLAGS'
4377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4381 DEPDIR="${am__leading_dot}deps"
4383 ac_config_commands="$ac_config_commands depfiles"
4386 am_make=${MAKE-make}
4387 cat > confinc << 'END'
4389 @echo this is the am__doit target
4392 # If we don't find an include directive, just comment out the code.
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4394 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4398 # First try GNU make style include.
4399 echo "include confinc" > confmf
4400 # Ignore all kinds of additional output from 'make'.
4401 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4402 *the\ am__doit\ target*)
4408 # Now try BSD make style include.
4409 if test "$am__include" = "#"; then
4410 echo '.include "confinc"' > confmf
4411 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4412 *the\ am__doit\ target*)
4413 am__include=.include
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4422 $as_echo "$_am_result" >&6; }
4423 rm -f confinc confmf
4425 # Check whether --enable-dependency-tracking was given.
4426 if test "${enable_dependency_tracking+set}" = set; then :
4427 enableval=$enable_dependency_tracking;
4430 if test "x$enable_dependency_tracking" != xno; then
4431 am_depcomp="$ac_aux_dir/depcomp"
4435 if test "x$enable_dependency_tracking" != xno; then
4445 depcc="$CC" am_compiler_list=
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4448 $as_echo_n "checking dependency style of $depcc... " >&6; }
4449 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4450 $as_echo_n "(cached) " >&6
4452 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4453 # We make a subdir and do the tests there. Otherwise we can end up
4454 # making bogus files that we don't know about and never remove. For
4455 # instance it was reported that on HP-UX the gcc test will end up
4456 # making a dummy file named 'D' -- because '-MD' means "put the output
4460 # Copy depcomp to subdir because otherwise we won't find it if we're
4461 # using a relative directory.
4462 cp "$am_depcomp" conftest.dir
4464 # We will build objects and dependencies in a subdirectory because
4465 # it helps to detect inapplicable dependency modes. For instance
4466 # both Tru64's cc and ICC support -MD to output dependencies as a
4467 # side effect of compilation, but ICC will put the dependencies in
4468 # the current directory while Tru64 will put them in the object
4472 am_cv_CC_dependencies_compiler_type=none
4473 if test "$am_compiler_list" = ""; then
4474 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4477 case " $depcc " in #(
4478 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4481 for depmode in $am_compiler_list; do
4482 # Setup a source with many dependencies, because some compilers
4483 # like to wrap large dependency lists on column 80 (with \), and
4484 # we should not choose a depcomp mode which is confused by this.
4486 # We need to recreate these files for each test, as the compiler may
4487 # overwrite some of them when testing with obscure command lines.
4488 # This happens at least with the AIX C compiler.
4490 for i in 1 2 3 4 5 6; do
4491 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4492 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4493 # Solaris 10 /bin/sh.
4494 echo '/* dummy */' > sub/conftst$i.h
4496 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4498 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4499 # mode. It turns out that the SunPro C++ compiler does not properly
4500 # handle '-M -o', and we need to detect this. Also, some Intel
4501 # versions had trouble with output in subdirs.
4502 am__obj=sub/conftest.${OBJEXT-o}
4503 am__minus_obj="-o $am__obj"
4506 # This depmode causes a compiler race in universal mode.
4507 test "$am__universal" = false || continue
4510 # After this tag, mechanisms are not by side-effect, so they'll
4511 # only be used when explicitly requested.
4512 if test "x$enable_dependency_tracking" = xyes; then
4518 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4519 # This compiler won't grok '-c -o', but also, the minuso test has
4520 # not run yet. These depmodes are late enough in the game, and
4521 # so weak that their functioning should not be impacted.
4522 am__obj=conftest.${OBJEXT-o}
4527 if depmode=$depmode \
4528 source=sub/conftest.c object=$am__obj \
4529 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4530 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4531 >/dev/null 2>conftest.err &&
4532 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4533 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4534 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4535 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4536 # icc doesn't choke on unknown options, it will just issue warnings
4537 # or remarks (even with -Werror). So we grep stderr for any message
4538 # that says an option was ignored or not supported.
4539 # When given -MP, icc 7.0 and 7.1 complain thusly:
4540 # icc: Command line warning: ignoring option '-M'; no argument required
4541 # The diagnosis changed in icc 8.0:
4542 # icc: Command line remark: option '-MP' not supported
4543 if (grep 'ignoring option' conftest.err ||
4544 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4545 am_cv_CC_dependencies_compiler_type=$depmode
4554 am_cv_CC_dependencies_compiler_type=none
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4559 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4560 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4563 test "x$enable_dependency_tracking" != xno \
4564 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4566 am__fastdepCC_FALSE='#'
4568 am__fastdepCC_TRUE='#'
4569 am__fastdepCC_FALSE=
4577 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
4578 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
4579 # in both places for now and restore CFLAGS at the end of config.
4580 save_CFLAGS="$CFLAGS"
4582 # Add -Wall -Werror if we are using GCC.
4583 if test "x$GCC" = "xyes"; then
4584 XCFLAGS="$XCFLAGS -Wall -Werror"
4587 # Find other programs we need.
4588 if test -n "$ac_tool_prefix"; then
4589 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4590 set dummy ${ac_tool_prefix}ar; ac_word=$2
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4592 $as_echo_n "checking for $ac_word... " >&6; }
4593 if ${ac_cv_prog_AR+:} false; then :
4594 $as_echo_n "(cached) " >&6
4596 if test -n "$AR"; then
4597 ac_cv_prog_AR="$AR" # Let the user override the test.
4599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4603 test -z "$as_dir" && as_dir=.
4604 for ac_exec_ext in '' $ac_executable_extensions; do
4605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4606 ac_cv_prog_AR="${ac_tool_prefix}ar"
4607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4617 if test -n "$AR"; then
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4619 $as_echo "$AR" >&6; }
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4622 $as_echo "no" >&6; }
4627 if test -z "$ac_cv_prog_AR"; then
4629 # Extract the first word of "ar", so it can be a program name with args.
4630 set dummy ar; ac_word=$2
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4632 $as_echo_n "checking for $ac_word... " >&6; }
4633 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4634 $as_echo_n "(cached) " >&6
4636 if test -n "$ac_ct_AR"; then
4637 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4643 test -z "$as_dir" && as_dir=.
4644 for ac_exec_ext in '' $ac_executable_extensions; do
4645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4646 ac_cv_prog_ac_ct_AR="ar"
4647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4656 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4657 if test -n "$ac_ct_AR"; then
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4659 $as_echo "$ac_ct_AR" >&6; }
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4662 $as_echo "no" >&6; }
4665 if test "x$ac_ct_AR" = x; then
4668 case $cross_compiling:$ac_tool_warned in
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4671 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4672 ac_tool_warned=yes ;;
4680 if test -n "$ac_tool_prefix"; then
4681 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4682 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4684 $as_echo_n "checking for $ac_word... " >&6; }
4685 if ${ac_cv_prog_RANLIB+:} false; then :
4686 $as_echo_n "(cached) " >&6
4688 if test -n "$RANLIB"; then
4689 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4695 test -z "$as_dir" && as_dir=.
4696 for ac_exec_ext in '' $ac_executable_extensions; do
4697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4698 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4708 RANLIB=$ac_cv_prog_RANLIB
4709 if test -n "$RANLIB"; then
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4711 $as_echo "$RANLIB" >&6; }
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4714 $as_echo "no" >&6; }
4719 if test -z "$ac_cv_prog_RANLIB"; then
4720 ac_ct_RANLIB=$RANLIB
4721 # Extract the first word of "ranlib", so it can be a program name with args.
4722 set dummy ranlib; ac_word=$2
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4724 $as_echo_n "checking for $ac_word... " >&6; }
4725 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4726 $as_echo_n "(cached) " >&6
4728 if test -n "$ac_ct_RANLIB"; then
4729 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4735 test -z "$as_dir" && as_dir=.
4736 for ac_exec_ext in '' $ac_executable_extensions; do
4737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4738 ac_cv_prog_ac_ct_RANLIB="ranlib"
4739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4748 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4749 if test -n "$ac_ct_RANLIB"; then
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4751 $as_echo "$ac_ct_RANLIB" >&6; }
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4754 $as_echo "no" >&6; }
4757 if test "x$ac_ct_RANLIB" = x; then
4758 RANLIB="ranlib-not-found-in-path-error"
4760 case $cross_compiling:$ac_tool_warned in
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4764 ac_tool_warned=yes ;;
4766 RANLIB=$ac_ct_RANLIB
4769 RANLIB="$ac_cv_prog_RANLIB"
4772 # Extract the first word of "perl", so it can be a program name with args.
4773 set dummy perl; ac_word=$2
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4775 $as_echo_n "checking for $ac_word... " >&6; }
4776 if ${ac_cv_path_PERL+:} false; then :
4777 $as_echo_n "(cached) " >&6
4781 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
4784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4788 test -z "$as_dir" && as_dir=.
4789 for ac_exec_ext in '' $ac_executable_extensions; do
4790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4791 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
4792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4799 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl-not-found-in-path-error"
4803 PERL=$ac_cv_path_PERL
4804 if test -n "$PERL"; then
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
4806 $as_echo "$PERL" >&6; }
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4809 $as_echo "no" >&6; }
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4814 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4816 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4817 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4818 $as_echo_n "(cached) " >&6
4820 cat >conftest.make <<\_ACEOF
4823 @echo '@@@%%%=$(MAKE)=@@@%%%'
4825 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4826 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
4828 eval ac_cv_prog_make_${ac_make}_set=yes;;
4830 eval ac_cv_prog_make_${ac_make}_set=no;;
4834 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4836 $as_echo "yes" >&6; }
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4840 $as_echo "no" >&6; }
4841 SET_MAKE="MAKE=${MAKE-make}"
4846 # See if makeinfo has been installed and is modern enough
4847 # that we can use it.
4849 # Extract the first word of "makeinfo", so it can be a program name with args.
4850 set dummy makeinfo; ac_word=$2
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4852 $as_echo_n "checking for $ac_word... " >&6; }
4853 if ${ac_cv_prog_MAKEINFO+:} false; then :
4854 $as_echo_n "(cached) " >&6
4856 if test -n "$MAKEINFO"; then
4857 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
4859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4863 test -z "$as_dir" && as_dir=.
4864 for ac_exec_ext in '' $ac_executable_extensions; do
4865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4866 ac_cv_prog_MAKEINFO="makeinfo"
4867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4876 MAKEINFO=$ac_cv_prog_MAKEINFO
4877 if test -n "$MAKEINFO"; then
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
4879 $as_echo "$MAKEINFO" >&6; }
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4882 $as_echo "no" >&6; }
4886 if test -n "$MAKEINFO"; then
4887 # Found it, now check the version.
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
4889 $as_echo_n "checking for modern makeinfo... " >&6; }
4890 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
4891 $as_echo_n "(cached) " >&6
4893 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
4894 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4896 case $ac_prog_version in
4897 '') gcc_cv_prog_makeinfo_modern=no;;
4898 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
4899 *) gcc_cv_prog_makeinfo_modern=no;;
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
4904 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
4906 gcc_cv_prog_makeinfo_modern=no
4908 if test $gcc_cv_prog_makeinfo_modern = no; then
4909 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
4912 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
4914 BUILD_INFO_FALSE='#'
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4926 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4931 macro_version='2.2.7a'
4932 macro_revision='1.3134'
4946 ltmain="$ac_aux_dir/ltmain.sh"
4948 # Backslashify metacharacters that are still active within
4949 # double-quoted strings.
4950 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4952 # Same as above, but do not quote variable references.
4953 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4955 # Sed substitution to delay expansion of an escaped shell variable in a
4956 # double_quote_subst'ed string.
4957 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4959 # Sed substitution to delay expansion of an escaped single quote.
4960 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4962 # Sed substitution to avoid accidental globbing in evaled expressions
4963 no_glob_subst='s/\*/\\\*/g'
4965 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4966 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4967 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4970 $as_echo_n "checking how to print
strings...
" >&6; }
4971 # Test print first, because it will be a builtin if present.
4972 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
4973 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4975 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4978 # Use this function as a fallback that always works.
4979 func_fallback_echo ()
4981 eval 'cat <<_LTECHO_EOF
4985 ECHO='func_fallback_echo'
4988 # func_echo_all arg...
4989 # Invoke $ECHO with all args, space-separated.
4996 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4997 $as_echo "printf" >&6; } ;;
4998 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4999 $as_echo "print
-r" >&6; } ;;
5000 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5001 $as_echo "cat" >&6; } ;;
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5018 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5019 if ${ac_cv_path_SED+:} false; then :
5020 $as_echo_n "(cached
) " >&6
5022 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5023 for ac_i in 1 2 3 4 5 6 7; do
5024 ac_script="$ac_script$as_nl$ac_script"
5026 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5027 { ac_script=; unset ac_script;}
5028 if test -z "$SED"; then
5029 ac_path_SED_found=false
5030 # Loop through the user's path and test for each of PROGNAME-LIST
5031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5035 test -z "$as_dir" && as_dir=.
5036 for ac_prog in sed gsed; do
5037 for ac_exec_ext in '' $ac_executable_extensions; do
5038 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5039 as_fn_executable_p "$ac_path_SED" || continue
5040 # Check for GNU ac_path_SED and select it if it is found.
5041 # Check for GNU $ac_path_SED
5042 case `"$ac_path_SED" --version 2>&1` in
5044 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5047 $as_echo_n 0123456789 >"conftest.
in"
5050 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5051 mv "conftest.tmp
" "conftest.
in"
5052 cp "conftest.
in" "conftest.
nl"
5053 $as_echo '' >> "conftest.
nl"
5054 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5055 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5056 as_fn_arith $ac_count + 1 && ac_count=$as_val
5057 if test $ac_count -gt ${ac_path_SED_max-0}; then
5058 # Best one so far, save it but keep looking for a better one
5059 ac_cv_path_SED="$ac_path_SED"
5060 ac_path_SED_max=$ac_count
5062 # 10*(2^10) chars as input seems more than enough
5063 test $ac_count -gt 10 && break
5065 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5068 $ac_path_SED_found && break 3
5073 if test -z "$ac_cv_path_SED"; then
5074 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5082 $as_echo "$ac_cv_path_SED" >&6; }
5083 SED="$ac_cv_path_SED"
5086 test -z "$SED" && SED=sed
5087 Xsed="$SED -e 1s
/^X
//"
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5100 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5101 if ${ac_cv_path_GREP+:} false; then :
5102 $as_echo_n "(cached
) " >&6
5104 if test -z "$GREP"; then
5105 ac_path_GREP_found=false
5106 # Loop through the user's path and test for each of PROGNAME-LIST
5107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5108 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5111 test -z "$as_dir" && as_dir=.
5112 for ac_prog in grep ggrep; do
5113 for ac_exec_ext in '' $ac_executable_extensions; do
5114 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5115 as_fn_executable_p "$ac_path_GREP" || continue
5116 # Check for GNU ac_path_GREP and select it if it is found.
5117 # Check for GNU $ac_path_GREP
5118 case `"$ac_path_GREP" --version 2>&1` in
5120 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5123 $as_echo_n 0123456789 >"conftest.
in"
5126 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5127 mv "conftest.tmp
" "conftest.
in"
5128 cp "conftest.
in" "conftest.
nl"
5129 $as_echo 'GREP' >> "conftest.
nl"
5130 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5131 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5132 as_fn_arith $ac_count + 1 && ac_count=$as_val
5133 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5134 # Best one so far, save it but keep looking for a better one
5135 ac_cv_path_GREP="$ac_path_GREP"
5136 ac_path_GREP_max=$ac_count
5138 # 10*(2^10) chars as input seems more than enough
5139 test $ac_count -gt 10 && break
5141 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5144 $ac_path_GREP_found && break 3
5149 if test -z "$ac_cv_path_GREP"; then
5150 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5153 ac_cv_path_GREP=$GREP
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5158 $as_echo "$ac_cv_path_GREP" >&6; }
5159 GREP="$ac_cv_path_GREP"
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5163 $as_echo_n "checking
for egrep...
" >&6; }
5164 if ${ac_cv_path_EGREP+:} false; then :
5165 $as_echo_n "(cached
) " >&6
5167 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5168 then ac_cv_path_EGREP="$GREP -E"
5170 if test -z "$EGREP"; then
5171 ac_path_EGREP_found=false
5172 # Loop through the user's path and test for each of PROGNAME-LIST
5173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5174 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5177 test -z "$as_dir" && as_dir=.
5178 for ac_prog in egrep; do
5179 for ac_exec_ext in '' $ac_executable_extensions; do
5180 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5181 as_fn_executable_p "$ac_path_EGREP" || continue
5182 # Check for GNU ac_path_EGREP and select it if it is found.
5183 # Check for GNU $ac_path_EGREP
5184 case `"$ac_path_EGREP" --version 2>&1` in
5186 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5189 $as_echo_n 0123456789 >"conftest.
in"
5192 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5193 mv "conftest.tmp
" "conftest.
in"
5194 cp "conftest.
in" "conftest.
nl"
5195 $as_echo 'EGREP' >> "conftest.
nl"
5196 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5197 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5198 as_fn_arith $ac_count + 1 && ac_count=$as_val
5199 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5200 # Best one so far, save it but keep looking for a better one
5201 ac_cv_path_EGREP="$ac_path_EGREP"
5202 ac_path_EGREP_max=$ac_count
5204 # 10*(2^10) chars as input seems more than enough
5205 test $ac_count -gt 10 && break
5207 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5210 $ac_path_EGREP_found && break 3
5215 if test -z "$ac_cv_path_EGREP"; then
5216 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5219 ac_cv_path_EGREP=$EGREP
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5225 $as_echo "$ac_cv_path_EGREP" >&6; }
5226 EGREP="$ac_cv_path_EGREP"
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5230 $as_echo_n "checking
for fgrep...
" >&6; }
5231 if ${ac_cv_path_FGREP+:} false; then :
5232 $as_echo_n "(cached
) " >&6
5234 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5235 then ac_cv_path_FGREP="$GREP -F"
5237 if test -z "$FGREP"; then
5238 ac_path_FGREP_found=false
5239 # Loop through the user's path and test for each of PROGNAME-LIST
5240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5241 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5244 test -z "$as_dir" && as_dir=.
5245 for ac_prog in fgrep; do
5246 for ac_exec_ext in '' $ac_executable_extensions; do
5247 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5248 as_fn_executable_p "$ac_path_FGREP" || continue
5249 # Check for GNU ac_path_FGREP and select it if it is found.
5250 # Check for GNU $ac_path_FGREP
5251 case `"$ac_path_FGREP" --version 2>&1` in
5253 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5256 $as_echo_n 0123456789 >"conftest.
in"
5259 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5260 mv "conftest.tmp
" "conftest.
in"
5261 cp "conftest.
in" "conftest.
nl"
5262 $as_echo 'FGREP' >> "conftest.
nl"
5263 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5264 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5265 as_fn_arith $ac_count + 1 && ac_count=$as_val
5266 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5267 # Best one so far, save it but keep looking for a better one
5268 ac_cv_path_FGREP="$ac_path_FGREP"
5269 ac_path_FGREP_max=$ac_count
5271 # 10*(2^10) chars as input seems more than enough
5272 test $ac_count -gt 10 && break
5274 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5277 $ac_path_FGREP_found && break 3
5282 if test -z "$ac_cv_path_FGREP"; then
5283 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5286 ac_cv_path_FGREP=$FGREP
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5292 $as_echo "$ac_cv_path_FGREP" >&6; }
5293 FGREP="$ac_cv_path_FGREP"
5296 test -z "$GREP" && GREP=grep
5316 # Check whether --with-gnu-ld was given.
5317 if test "${with_gnu_ld+set}" = set; then :
5318 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5324 if test "$GCC" = yes; then
5325 # Check if gcc -print-prog-name=ld gives a path.
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5327 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5330 # gcc leaves a trailing carriage return which upsets mingw
5331 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5333 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5336 # Accept absolute paths.
5338 re_direlt='/[^/][^/]*/\.\./'
5339 # Canonicalize the pathname of ld
5340 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5341 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5342 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5344 test -z "$LD" && LD="$ac_prog"
5347 # If it fails, then pretend we aren't using GCC.
5351 # If it is relative, then search for the first ld in PATH.
5355 elif test "$with_gnu_ld" = yes; then
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5357 $as_echo_n "checking
for GNU ld...
" >&6; }
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5360 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5362 if ${lt_cv_path_LD+:} false; then :
5363 $as_echo_n "(cached
) " >&6
5365 if test -z "$LD"; then
5366 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5367 for ac_dir in $PATH; do
5369 test -z "$ac_dir" && ac_dir=.
5370 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5371 lt_cv_path_LD="$ac_dir/$ac_prog"
5372 # Check to see if the program is GNU ld. I'd rather use --version,
5373 # but apparently some variants of GNU ld only accept -v.
5374 # Break only if it was the GNU/non-GNU ld that we prefer.
5375 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5376 *GNU* | *'with BFD'*)
5377 test "$with_gnu_ld" != no && break
5380 test "$with_gnu_ld" != yes && break
5387 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5392 if test -n "$LD"; then
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5394 $as_echo "$LD" >&6; }
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5397 $as_echo "no
" >&6; }
5399 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5401 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5402 if ${lt_cv_prog_gnu_ld+:} false; then :
5403 $as_echo_n "(cached
) " >&6
5405 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5406 case `$LD -v 2>&1 </dev/null` in
5407 *GNU* | *'with BFD'*)
5408 lt_cv_prog_gnu_ld=yes
5411 lt_cv_prog_gnu_ld=no
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5416 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5417 with_gnu_ld=$lt_cv_prog_gnu_ld
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5428 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5429 if ${lt_cv_path_NM+:} false; then :
5430 $as_echo_n "(cached
) " >&6
5432 if test -n "$NM"; then
5433 # Let the user override the test.
5436 lt_nm_to_check="${ac_tool_prefix}nm
"
5437 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5438 lt_nm_to_check="$lt_nm_to_check nm
"
5440 for lt_tmp_nm in $lt_nm_to_check; do
5441 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5442 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5444 test -z "$ac_dir" && ac_dir=.
5445 tmp_nm="$ac_dir/$lt_tmp_nm"
5446 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5447 # Check to see if the nm accepts a BSD-compat flag.
5448 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5449 # nm: unknown option "B
" ignored
5450 # Tru64's nm complains that /dev/null is an invalid object file
5451 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5452 */dev/null* | *'Invalid file or object type'*)
5453 lt_cv_path_NM="$tmp_nm -B"
5457 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5459 lt_cv_path_NM="$tmp_nm -p"
5463 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5464 continue # so that we can try to find one that supports BSD flags
5473 : ${lt_cv_path_NM=no}
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5477 $as_echo "$lt_cv_path_NM" >&6; }
5478 if test "$lt_cv_path_NM" != "no
"; then
5481 # Didn't find any BSD compatible name lister, look for dumpbin.
5482 if test -n "$DUMPBIN"; then :
5483 # Let the user override the test.
5485 if test -n "$ac_tool_prefix"; then
5486 for ac_prog in dumpbin "link
-dump"
5488 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5489 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5491 $as_echo_n "checking
for $ac_word...
" >&6; }
5492 if ${ac_cv_prog_DUMPBIN+:} false; then :
5493 $as_echo_n "(cached
) " >&6
5495 if test -n "$DUMPBIN"; then
5496 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502 test -z "$as_dir" && as_dir=.
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5505 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5506 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5515 DUMPBIN=$ac_cv_prog_DUMPBIN
5516 if test -n "$DUMPBIN"; then
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5518 $as_echo "$DUMPBIN" >&6; }
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5521 $as_echo "no
" >&6; }
5525 test -n "$DUMPBIN" && break
5528 if test -z "$DUMPBIN"; then
5529 ac_ct_DUMPBIN=$DUMPBIN
5530 for ac_prog in dumpbin "link
-dump"
5532 # Extract the first word of "$ac_prog", so it can be a program name with args.
5533 set dummy $ac_prog; ac_word=$2
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5535 $as_echo_n "checking
for $ac_word...
" >&6; }
5536 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5537 $as_echo_n "(cached
) " >&6
5539 if test -n "$ac_ct_DUMPBIN"; then
5540 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5546 test -z "$as_dir" && as_dir=.
5547 for ac_exec_ext in '' $ac_executable_extensions; do
5548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5549 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5550 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5559 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5560 if test -n "$ac_ct_DUMPBIN"; then
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5562 $as_echo "$ac_ct_DUMPBIN" >&6; }
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5565 $as_echo "no
" >&6; }
5569 test -n "$ac_ct_DUMPBIN" && break
5572 if test "x
$ac_ct_DUMPBIN" = x; then
5575 case $cross_compiling:$ac_tool_warned in
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5578 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5579 ac_tool_warned=yes ;;
5581 DUMPBIN=$ac_ct_DUMPBIN
5585 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5587 DUMPBIN="$DUMPBIN -symbols"
5595 if test "$DUMPBIN" != ":"; then
5599 test -z "$NM" && NM=nm
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5607 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5608 if ${lt_cv_nm_interface+:} false; then :
5609 $as_echo_n "(cached
) " >&6
5611 lt_cv_nm_interface="BSD nm
"
5612 echo "int some_variable
= 0;" > conftest.$ac_ext
5613 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5614 (eval "$ac_compile" 2>conftest.err)
5615 cat conftest.err >&5
5616 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5617 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5618 cat conftest.err >&5
5619 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5620 cat conftest.out >&5
5621 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5622 lt_cv_nm_interface="MS dumpbin
"
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5627 $as_echo "$lt_cv_nm_interface" >&6; }
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5630 $as_echo_n "checking whether
ln -s works...
" >&6; }
5632 if test "$LN_S" = "ln -s"; then
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5634 $as_echo "yes" >&6; }
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5637 $as_echo "no
, using
$LN_S" >&6; }
5640 # find the maximum length of command line arguments
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5642 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5643 if ${lt_cv_sys_max_cmd_len+:} false; then :
5644 $as_echo_n "(cached
) " >&6
5651 # On DJGPP, this test can blow up pretty badly due to problems in libc
5652 # (any single argument exceeding 2000 bytes causes a buffer overrun
5653 # during glob expansion). Even if it were fixed, the result of this
5654 # check would be larger than it should be.
5655 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5659 # Under GNU Hurd, this test is not required because there is
5660 # no limit to the length of command line arguments.
5661 # Libtool will interpret -1 as no limit whatsoever
5662 lt_cv_sys_max_cmd_len=-1;
5665 cygwin* | mingw* | cegcc*)
5666 # On Win9x/ME, this test blows up -- it succeeds, but takes
5667 # about 5 minutes as the teststring grows exponentially.
5668 # Worse, since 9x/ME are not pre-emptively multitasking,
5669 # you end up with a "frozen
" computer, even though with patience
5670 # the test eventually succeeds (with a max line length of 256k).
5671 # Instead, let's just punt: use the minimum linelength reported by
5672 # all of the supported platforms: 8192 (on NT/2K/XP).
5673 lt_cv_sys_max_cmd_len=8192;
5677 # On MiNT this can take a long time and run out of memory.
5678 lt_cv_sys_max_cmd_len=8192;
5682 # On AmigaOS with pdksh, this test takes hours, literally.
5683 # So we just punt and use a minimum line length of 8192.
5684 lt_cv_sys_max_cmd_len=8192;
5687 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5688 # This has been around since 386BSD, at least. Likely further.
5689 if test -x /sbin/sysctl; then
5690 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5691 elif test -x /usr/sbin/sysctl; then
5692 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5694 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5696 # And add a safety zone
5697 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5698 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5702 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5703 lt_cv_sys_max_cmd_len=196608
5707 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5708 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5709 # nice to cause kernel panics so lets avoid the loop below.
5710 # First set a reasonable default.
5711 lt_cv_sys_max_cmd_len=16384
5713 if test -x /sbin/sysconfig; then
5714 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5715 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5720 lt_cv_sys_max_cmd_len=102400
5722 sysv5* | sco5v6* | sysv4.2uw2*)
5723 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5724 if test -n "$kargmax"; then
5725 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5727 lt_cv_sys_max_cmd_len=32768
5731 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5732 if test -n "$lt_cv_sys_max_cmd_len"; then
5733 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5734 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5736 # Make teststring a little bigger before we do anything with it.
5737 # a 1K string should be a reasonable start.
5738 for i in 1 2 3 4 5 6 7 8 ; do
5739 teststring=$teststring$teststring
5741 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5742 # If test is not a shell built-in, we'll probably end up computing a
5743 # maximum length that is only half of the actual maximum length, but
5745 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5746 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5747 test $i != 17 # 1/2 MB should be enough
5750 teststring=$teststring$teststring
5752 # Only check the string length outside the loop.
5753 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5755 # Add a significant safety factor because C++ compilers can tack on
5756 # massive amounts of additional arguments before passing them to the
5757 # linker. It appears as though 1/2 is a usable value.
5758 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5765 if test -n $lt_cv_sys_max_cmd_len ; then
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5767 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5770 $as_echo "none
" >&6; }
5772 max_cmd_len=$lt_cv_sys_max_cmd_len
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5784 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5785 # Try some XSI features
5788 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5790 && eval 'test $(( 1 + 1 )) -eq 2 \
5791 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5794 $as_echo "$xsi_shell" >&6; }
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5798 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5800 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5802 && lt_shell_append
=yes
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5804 $as_echo "$lt_shell_append" >&6; }
5807 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5817 # test EBCDIC or ASCII
5818 case `echo X|tr X '\101'` in
5819 A
) # ASCII based system
5820 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5821 lt_SP2NL
='tr \040 \012'
5822 lt_NL2SP
='tr \015\012 \040\040'
5824 *) # EBCDIC based system
5825 lt_SP2NL
='tr \100 \n'
5826 lt_NL2SP
='tr \r\n \100\100'
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5839 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5840 if ${lt_cv_ld_reload_flag+:} false
; then :
5841 $as_echo_n "(cached) " >&6
5843 lt_cv_ld_reload_flag
='-r'
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5846 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5847 reload_flag
=$lt_cv_ld_reload_flag
5848 case $reload_flag in
5850 *) reload_flag
=" $reload_flag" ;;
5852 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5855 if test "$GCC" = yes; then
5856 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5858 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5871 if test -n "$ac_tool_prefix"; then
5872 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5873 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5875 $as_echo_n "checking for $ac_word... " >&6; }
5876 if ${ac_cv_prog_OBJDUMP+:} false
; then :
5877 $as_echo_n "(cached) " >&6
5879 if test -n "$OBJDUMP"; then
5880 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5886 test -z "$as_dir" && as_dir
=.
5887 for ac_exec_ext
in '' $ac_executable_extensions; do
5888 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5889 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5899 OBJDUMP
=$ac_cv_prog_OBJDUMP
5900 if test -n "$OBJDUMP"; then
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5902 $as_echo "$OBJDUMP" >&6; }
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5905 $as_echo "no" >&6; }
5910 if test -z "$ac_cv_prog_OBJDUMP"; then
5911 ac_ct_OBJDUMP
=$OBJDUMP
5912 # Extract the first word of "objdump", so it can be a program name with args.
5913 set dummy objdump
; ac_word
=$2
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5915 $as_echo_n "checking for $ac_word... " >&6; }
5916 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
5917 $as_echo_n "(cached) " >&6
5919 if test -n "$ac_ct_OBJDUMP"; then
5920 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5926 test -z "$as_dir" && as_dir
=.
5927 for ac_exec_ext
in '' $ac_executable_extensions; do
5928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5929 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5939 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5940 if test -n "$ac_ct_OBJDUMP"; then
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5942 $as_echo "$ac_ct_OBJDUMP" >&6; }
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5945 $as_echo "no" >&6; }
5948 if test "x$ac_ct_OBJDUMP" = x
; then
5951 case $cross_compiling:$ac_tool_warned in
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5955 ac_tool_warned
=yes ;;
5957 OBJDUMP
=$ac_ct_OBJDUMP
5960 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5963 test -z "$OBJDUMP" && OBJDUMP
=objdump
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5974 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5975 if ${lt_cv_deplibs_check_method+:} false
; then :
5976 $as_echo_n "(cached) " >&6
5978 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5979 lt_cv_file_magic_test_file
=
5980 lt_cv_deplibs_check_method
='unknown'
5981 # Need to set the preceding variable on all platforms that support
5982 # interlibrary dependencies.
5983 # 'none' -- dependencies not supported.
5984 # `unknown' -- same as none, but documents that we really don't know.
5985 # 'pass_all' -- all dependencies passed with no checks.
5986 # 'test_compile' -- check by making test program.
5987 # 'file_magic [[regex]]' -- check by looking for files in library path
5988 # which responds to the $file_magic_cmd with a given extended regex.
5989 # If you have `file' or equivalent on your system and you're not sure
5990 # whether `pass_all' will *always* work, you probably want this one.
5994 lt_cv_deplibs_check_method
=pass_all
5998 lt_cv_deplibs_check_method
=pass_all
6002 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6003 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6004 lt_cv_file_magic_test_file
=/shlib
/libc.so
6008 # func_win32_libid is a shell function defined in ltmain.sh
6009 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6010 lt_cv_file_magic_cmd
='func_win32_libid'
6014 # Base MSYS/MinGW do not provide the 'file' command needed by
6015 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6016 # unless we find 'file', for example because we are cross-compiling.
6017 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6018 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6019 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6020 lt_cv_file_magic_cmd
='func_win32_libid'
6022 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6023 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6028 # use the weaker test based on 'objdump'. See mingw*.
6029 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6030 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6033 darwin
* | rhapsody
*)
6034 lt_cv_deplibs_check_method
=pass_all
6037 freebsd
* | dragonfly
*)
6038 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6041 # Not sure whether the presence of OpenBSD here was a mistake.
6042 # Let's accept both of them until this is cleared up.
6043 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6044 lt_cv_file_magic_cmd
=/usr
/bin
/file
6045 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6049 lt_cv_deplibs_check_method
=pass_all
6054 lt_cv_deplibs_check_method
=pass_all
6058 lt_cv_deplibs_check_method
=pass_all
6061 hpux10.20
* | hpux11
*)
6062 lt_cv_file_magic_cmd
=/usr
/bin
/file
6065 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6066 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6069 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6070 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6073 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6074 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6080 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6081 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6084 irix5
* | irix6
* | nonstopux
*)
6086 *-32|
*"-32 ") libmagic
=32-bit;;
6087 *-n32|
*"-n32 ") libmagic
=N32
;;
6088 *-64|
*"-64 ") libmagic
=64-bit;;
6089 *) libmagic
=never-match
;;
6091 lt_cv_deplibs_check_method
=pass_all
6094 # This must be Linux ELF.
6095 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6096 lt_cv_deplibs_check_method
=pass_all
6100 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6101 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6103 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6108 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6109 lt_cv_file_magic_cmd
=/usr
/bin
/file
6110 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6114 lt_cv_deplibs_check_method
=pass_all
6118 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6119 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6121 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6125 osf3
* | osf4
* | osf5
*)
6126 lt_cv_deplibs_check_method
=pass_all
6130 lt_cv_deplibs_check_method
=pass_all
6134 lt_cv_deplibs_check_method
=pass_all
6137 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6138 lt_cv_deplibs_check_method
=pass_all
6142 case $host_vendor in
6144 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]'
6145 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6148 lt_cv_deplibs_check_method
=pass_all
6151 lt_cv_file_magic_cmd
='/bin/file'
6152 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6155 lt_cv_file_magic_cmd
='/bin/file'
6156 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6157 lt_cv_file_magic_test_file
=/lib
/libc.so
6160 lt_cv_deplibs_check_method
=pass_all
6163 lt_cv_deplibs_check_method
=pass_all
6169 lt_cv_deplibs_check_method
=pass_all
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6175 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6176 file_magic_cmd
=$lt_cv_file_magic_cmd
6177 deplibs_check_method
=$lt_cv_deplibs_check_method
6178 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6191 if test -n "$ac_tool_prefix"; then
6192 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6193 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6195 $as_echo_n "checking for $ac_word... " >&6; }
6196 if ${ac_cv_prog_AR+:} false
; then :
6197 $as_echo_n "(cached) " >&6
6199 if test -n "$AR"; then
6200 ac_cv_prog_AR
="$AR" # Let the user override the test.
6202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6206 test -z "$as_dir" && as_dir
=.
6207 for ac_exec_ext
in '' $ac_executable_extensions; do
6208 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6209 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6220 if test -n "$AR"; then
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6222 $as_echo "$AR" >&6; }
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6225 $as_echo "no" >&6; }
6230 if test -z "$ac_cv_prog_AR"; then
6232 # Extract the first word of "ar", so it can be a program name with args.
6233 set dummy
ar; ac_word
=$2
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6235 $as_echo_n "checking for $ac_word... " >&6; }
6236 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6237 $as_echo_n "(cached) " >&6
6239 if test -n "$ac_ct_AR"; then
6240 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6246 test -z "$as_dir" && as_dir
=.
6247 for ac_exec_ext
in '' $ac_executable_extensions; do
6248 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6249 ac_cv_prog_ac_ct_AR
="ar"
6250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6259 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6260 if test -n "$ac_ct_AR"; then
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6262 $as_echo "$ac_ct_AR" >&6; }
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6265 $as_echo "no" >&6; }
6268 if test "x$ac_ct_AR" = x
; then
6271 case $cross_compiling:$ac_tool_warned in
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6275 ac_tool_warned
=yes ;;
6283 test -z "$AR" && AR
=ar
6284 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6296 if test -n "$ac_tool_prefix"; then
6297 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6298 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6300 $as_echo_n "checking for $ac_word... " >&6; }
6301 if ${ac_cv_prog_STRIP+:} false
; then :
6302 $as_echo_n "(cached) " >&6
6304 if test -n "$STRIP"; then
6305 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6311 test -z "$as_dir" && as_dir
=.
6312 for ac_exec_ext
in '' $ac_executable_extensions; do
6313 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6314 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6324 STRIP
=$ac_cv_prog_STRIP
6325 if test -n "$STRIP"; then
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6327 $as_echo "$STRIP" >&6; }
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6330 $as_echo "no" >&6; }
6335 if test -z "$ac_cv_prog_STRIP"; then
6337 # Extract the first word of "strip", so it can be a program name with args.
6338 set dummy strip
; ac_word
=$2
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6340 $as_echo_n "checking for $ac_word... " >&6; }
6341 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6342 $as_echo_n "(cached) " >&6
6344 if test -n "$ac_ct_STRIP"; then
6345 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6351 test -z "$as_dir" && as_dir
=.
6352 for ac_exec_ext
in '' $ac_executable_extensions; do
6353 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6354 ac_cv_prog_ac_ct_STRIP
="strip"
6355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6364 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6365 if test -n "$ac_ct_STRIP"; then
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6367 $as_echo "$ac_ct_STRIP" >&6; }
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6370 $as_echo "no" >&6; }
6373 if test "x$ac_ct_STRIP" = x
; then
6376 case $cross_compiling:$ac_tool_warned in
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6380 ac_tool_warned
=yes ;;
6385 STRIP
="$ac_cv_prog_STRIP"
6388 test -z "$STRIP" && STRIP
=:
6395 if test -n "$ac_tool_prefix"; then
6396 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6397 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6399 $as_echo_n "checking for $ac_word... " >&6; }
6400 if ${ac_cv_prog_RANLIB+:} false
; then :
6401 $as_echo_n "(cached) " >&6
6403 if test -n "$RANLIB"; then
6404 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6410 test -z "$as_dir" && as_dir
=.
6411 for ac_exec_ext
in '' $ac_executable_extensions; do
6412 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6413 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6423 RANLIB
=$ac_cv_prog_RANLIB
6424 if test -n "$RANLIB"; then
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6426 $as_echo "$RANLIB" >&6; }
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6429 $as_echo "no" >&6; }
6434 if test -z "$ac_cv_prog_RANLIB"; then
6435 ac_ct_RANLIB
=$RANLIB
6436 # Extract the first word of "ranlib", so it can be a program name with args.
6437 set dummy ranlib
; ac_word
=$2
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6439 $as_echo_n "checking for $ac_word... " >&6; }
6440 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6441 $as_echo_n "(cached) " >&6
6443 if test -n "$ac_ct_RANLIB"; then
6444 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6450 test -z "$as_dir" && as_dir
=.
6451 for ac_exec_ext
in '' $ac_executable_extensions; do
6452 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6453 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6463 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6464 if test -n "$ac_ct_RANLIB"; then
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6466 $as_echo "$ac_ct_RANLIB" >&6; }
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6469 $as_echo "no" >&6; }
6472 if test "x$ac_ct_RANLIB" = x
; then
6475 case $cross_compiling:$ac_tool_warned in
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6478 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6479 ac_tool_warned
=yes ;;
6481 RANLIB
=$ac_ct_RANLIB
6484 RANLIB
="$ac_cv_prog_RANLIB"
6487 test -z "$RANLIB" && RANLIB
=:
6494 # Determine commands to create old-style static archives.
6495 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6496 old_postinstall_cmds
='chmod 644 $oldlib'
6497 old_postuninstall_cmds
=
6499 if test -n "$RANLIB"; then
6502 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6505 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6508 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6513 lock_old_archive_extraction
=yes ;;
6515 lock_old_archive_extraction
=no
;;
6556 # If no C compiler was specified, use CC.
6559 # If no C compiler flags were specified, use CFLAGS.
6560 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6562 # Allow CC to be a program name with arguments.
6566 # Check for command to grab the raw symbol name followed by C symbol from nm.
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6568 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6569 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
6570 $as_echo_n "(cached) " >&6
6573 # These are sane defaults that work on at least a few old systems.
6574 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6576 # Character class describing NM global symbol codes.
6577 symcode
='[BCDEGRST]'
6579 # Regexp to match symbols that can be accessed directly from C.
6580 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6582 # Define system-specific variables.
6587 cygwin
* | mingw
* | pw32
* | cegcc
*)
6588 symcode
='[ABCDGISTW]'
6591 if test "$host_cpu" = ia64
; then
6592 symcode
='[ABCDEGRST]'
6596 symcode
='[BCDEGRST]'
6599 symcode
='[BCDEGQRST]'
6610 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6618 # If we're using GNU nm, then use its standard symbol codes.
6619 case `$NM -V 2>&1` in
6620 *GNU
* |
*'with BFD'*)
6621 symcode
='[ABCDGIRSTW]' ;;
6624 # Transform an extracted symbol line into a proper C declaration.
6625 # Some systems (esp. on ia64) link data and code symbols differently,
6626 # so use this general approach.
6627 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6629 # Transform an extracted symbol line into symbol name and symbol address
6630 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6631 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6633 # Handle CRLF in mingw tool chain
6637 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6641 # Try without a prefix underscore, then with it.
6642 for ac_symprfx
in "" "_"; do
6644 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6645 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6647 # Write the raw and C identifiers.
6648 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6649 # Fake it for dumpbin and say T for any non-static function
6650 # and D for any global variable.
6651 # Also find C++ and __fastcall symbols from MSVC++,
6652 # which start with @ or ?.
6653 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6654 " {last_section=section; section=\$ 3};"\
6655 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6656 " \$ 0!~/External *\|/{next};"\
6657 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6658 " {if(hide[section]) next};"\
6659 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6660 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6661 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6662 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6663 " ' prfx=^$ac_symprfx"
6665 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6668 # Check to see that the pipe works correctly.
6672 cat > conftest.
$ac_ext <<_LT_EOF
6677 void nm_test_func(void);
6678 void nm_test_func(void){}
6682 int main(){nm_test_var='a';nm_test_func();return(0);}
6685 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6686 (eval $ac_compile) 2>&5
6688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6689 test $ac_status = 0; }; then
6690 # Now try to grab the symbols.
6692 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6693 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6696 test $ac_status = 0; } && test -s "$nlist"; then
6697 # Try sorting and uniquifying the output.
6698 if sort "$nlist" |
uniq > "$nlist"T
; then
6699 mv -f "$nlist"T
"$nlist"
6704 # Make sure that we snagged all the symbols we need.
6705 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6706 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6707 cat <<_LT_EOF > conftest.$ac_ext
6713 # Now generate the symbol file.
6714 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6716 cat <<_LT_EOF >> conftest.$ac_ext
6718 /* The mapping between symbol names and symbols. */
6723 lt__PROGRAM__LTX_preloaded_symbols[] =
6725 { "@PROGRAM@", (void *) 0 },
6727 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6728 cat <<\_LT_EOF
>> conftest.
$ac_ext
6732 /* This works around a problem
in FreeBSD linker
*/
6733 #ifdef FREEBSD_WORKAROUND
6734 static const void
*lt_preloaded_setup
() {
6735 return lt__PROGRAM__LTX_preloaded_symbols
;
6743 # Now try linking the two files.
6744 mv conftest.
$ac_objext conftstm.
$ac_objext
6745 lt_save_LIBS
="$LIBS"
6746 lt_save_CFLAGS
="$CFLAGS"
6747 LIBS
="conftstm.$ac_objext"
6748 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6749 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6750 (eval $ac_link) 2>&5
6752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6753 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6756 LIBS
="$lt_save_LIBS"
6757 CFLAGS
="$lt_save_CFLAGS"
6759 echo "cannot find nm_test_func in $nlist" >&5
6762 echo "cannot find nm_test_var in $nlist" >&5
6765 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6768 echo "$progname: failed program was:" >&5
6769 cat conftest.
$ac_ext >&5
6771 rm -rf conftest
* conftst
*
6773 # Do not use the global_symbol_pipe unless it works.
6774 if test "$pipe_works" = yes; then
6777 lt_cv_sys_global_symbol_pipe
=
6783 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6784 lt_cv_sys_global_symbol_to_cdecl
=
6786 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6788 $as_echo "failed" >&6; }
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6791 $as_echo "ok" >&6; }
6816 # Check whether --enable-libtool-lock was given.
6817 if test "${enable_libtool_lock+set}" = set; then :
6818 enableval
=$enable_libtool_lock;
6821 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6823 # Some flags need to be propagated to the compiler or linker for good
6827 # Find out which ABI we are using.
6828 echo 'int i;' > conftest.
$ac_ext
6829 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6830 (eval $ac_compile) 2>&5
6832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6833 test $ac_status = 0; }; then
6834 case `/usr/bin/file conftest.$ac_objext` in
6846 # Find out which ABI we are using.
6847 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6848 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6849 (eval $ac_compile) 2>&5
6851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6852 test $ac_status = 0; }; then
6853 if test "$lt_cv_prog_gnu_ld" = yes; then
6854 case `/usr/bin/file conftest.$ac_objext` in
6856 LD
="${LD-ld} -melf32bsmip"
6859 LD
="${LD-ld} -melf32bmipn32"
6862 LD
="${LD-ld} -melf64bmip"
6866 case `/usr/bin/file conftest.$ac_objext` in
6882 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
6883 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6884 # Find out which ABI we are using.
6885 echo 'int i;' > conftest.
$ac_ext
6886 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6887 (eval $ac_compile) 2>&5
6889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6890 test $ac_status = 0; }; then
6891 case `/usr/bin/file conftest.o` in
6894 x86_64-
*kfreebsd
*-gnu)
6895 LD
="${LD-ld} -m elf_i386_fbsd"
6898 case `/usr/bin/file conftest.o` in
6900 LD
="${LD-ld} -m elf32_x86_64"
6903 LD
="${LD-ld} -m elf_i386"
6907 powerpc64le-
*linux
*)
6908 LD
="${LD-ld} -m elf32lppclinux"
6911 LD
="${LD-ld} -m elf32ppclinux"
6914 LD
="${LD-ld} -m elf_s390"
6917 LD
="${LD-ld} -m elf32_sparc"
6923 x86_64-
*kfreebsd
*-gnu)
6924 LD
="${LD-ld} -m elf_x86_64_fbsd"
6927 LD
="${LD-ld} -m elf_x86_64"
6930 LD
="${LD-ld} -m elf64lppc"
6933 LD
="${LD-ld} -m elf64ppc"
6935 s390
*-*linux
*|s390
*-*tpf
*)
6936 LD
="${LD-ld} -m elf64_s390"
6939 LD
="${LD-ld} -m elf64_sparc"
6949 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6950 SAVE_CFLAGS
="$CFLAGS"
6951 CFLAGS
="$CFLAGS -belf"
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6953 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6954 if ${lt_cv_cc_needs_belf+:} false
; then :
6955 $as_echo_n "(cached) " >&6
6958 ac_cpp
='$CPP $CPPFLAGS'
6959 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6960 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6961 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6964 /* end confdefs.h. */
6974 if ac_fn_c_try_link
"$LINENO"; then :
6975 lt_cv_cc_needs_belf
=yes
6977 lt_cv_cc_needs_belf
=no
6979 rm -f core conftest.err conftest.
$ac_objext \
6980 conftest
$ac_exeext conftest.
$ac_ext
6982 ac_cpp
='$CPP $CPPFLAGS'
6983 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6984 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6985 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6989 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6990 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6991 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6992 CFLAGS
="$SAVE_CFLAGS"
6996 # Find out which ABI we are using.
6997 echo 'int i;' > conftest.
$ac_ext
6998 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6999 (eval $ac_compile) 2>&5
7001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7002 test $ac_status = 0; }; then
7003 case `/usr/bin/file conftest.o` in
7005 case $lt_cv_prog_gnu_ld in
7006 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7008 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7020 need_locks
="$enable_libtool_lock"
7024 rhapsody
* | darwin
*)
7025 if test -n "$ac_tool_prefix"; then
7026 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7027 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7029 $as_echo_n "checking for $ac_word... " >&6; }
7030 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
7031 $as_echo_n "(cached) " >&6
7033 if test -n "$DSYMUTIL"; then
7034 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7040 test -z "$as_dir" && as_dir
=.
7041 for ac_exec_ext
in '' $ac_executable_extensions; do
7042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7043 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7053 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7054 if test -n "$DSYMUTIL"; then
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7056 $as_echo "$DSYMUTIL" >&6; }
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7059 $as_echo "no" >&6; }
7064 if test -z "$ac_cv_prog_DSYMUTIL"; then
7065 ac_ct_DSYMUTIL
=$DSYMUTIL
7066 # Extract the first word of "dsymutil", so it can be a program name with args.
7067 set dummy dsymutil
; ac_word
=$2
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7069 $as_echo_n "checking for $ac_word... " >&6; }
7070 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
7071 $as_echo_n "(cached) " >&6
7073 if test -n "$ac_ct_DSYMUTIL"; then
7074 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7080 test -z "$as_dir" && as_dir
=.
7081 for ac_exec_ext
in '' $ac_executable_extensions; do
7082 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7083 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7093 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7094 if test -n "$ac_ct_DSYMUTIL"; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7096 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7099 $as_echo "no" >&6; }
7102 if test "x$ac_ct_DSYMUTIL" = x
; then
7105 case $cross_compiling:$ac_tool_warned in
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7109 ac_tool_warned
=yes ;;
7111 DSYMUTIL
=$ac_ct_DSYMUTIL
7114 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7117 if test -n "$ac_tool_prefix"; then
7118 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7119 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7121 $as_echo_n "checking for $ac_word... " >&6; }
7122 if ${ac_cv_prog_NMEDIT+:} false
; then :
7123 $as_echo_n "(cached) " >&6
7125 if test -n "$NMEDIT"; then
7126 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7132 test -z "$as_dir" && as_dir
=.
7133 for ac_exec_ext
in '' $ac_executable_extensions; do
7134 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7135 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7145 NMEDIT
=$ac_cv_prog_NMEDIT
7146 if test -n "$NMEDIT"; then
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7148 $as_echo "$NMEDIT" >&6; }
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7151 $as_echo "no" >&6; }
7156 if test -z "$ac_cv_prog_NMEDIT"; then
7157 ac_ct_NMEDIT
=$NMEDIT
7158 # Extract the first word of "nmedit", so it can be a program name with args.
7159 set dummy nmedit
; ac_word
=$2
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7161 $as_echo_n "checking for $ac_word... " >&6; }
7162 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
7163 $as_echo_n "(cached) " >&6
7165 if test -n "$ac_ct_NMEDIT"; then
7166 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7172 test -z "$as_dir" && as_dir
=.
7173 for ac_exec_ext
in '' $ac_executable_extensions; do
7174 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7175 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7185 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7186 if test -n "$ac_ct_NMEDIT"; then
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7188 $as_echo "$ac_ct_NMEDIT" >&6; }
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7191 $as_echo "no" >&6; }
7194 if test "x$ac_ct_NMEDIT" = x
; then
7197 case $cross_compiling:$ac_tool_warned in
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7201 ac_tool_warned
=yes ;;
7203 NMEDIT
=$ac_ct_NMEDIT
7206 NMEDIT
="$ac_cv_prog_NMEDIT"
7209 if test -n "$ac_tool_prefix"; then
7210 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7211 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7213 $as_echo_n "checking for $ac_word... " >&6; }
7214 if ${ac_cv_prog_LIPO+:} false
; then :
7215 $as_echo_n "(cached) " >&6
7217 if test -n "$LIPO"; then
7218 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7224 test -z "$as_dir" && as_dir
=.
7225 for ac_exec_ext
in '' $ac_executable_extensions; do
7226 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7227 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7237 LIPO
=$ac_cv_prog_LIPO
7238 if test -n "$LIPO"; then
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7240 $as_echo "$LIPO" >&6; }
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7243 $as_echo "no" >&6; }
7248 if test -z "$ac_cv_prog_LIPO"; then
7250 # Extract the first word of "lipo", so it can be a program name with args.
7251 set dummy lipo
; ac_word
=$2
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7253 $as_echo_n "checking for $ac_word... " >&6; }
7254 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
7255 $as_echo_n "(cached) " >&6
7257 if test -n "$ac_ct_LIPO"; then
7258 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7264 test -z "$as_dir" && as_dir
=.
7265 for ac_exec_ext
in '' $ac_executable_extensions; do
7266 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7267 ac_cv_prog_ac_ct_LIPO
="lipo"
7268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7277 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7278 if test -n "$ac_ct_LIPO"; then
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7280 $as_echo "$ac_ct_LIPO" >&6; }
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7283 $as_echo "no" >&6; }
7286 if test "x$ac_ct_LIPO" = x
; then
7289 case $cross_compiling:$ac_tool_warned in
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7292 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7293 ac_tool_warned
=yes ;;
7298 LIPO
="$ac_cv_prog_LIPO"
7301 if test -n "$ac_tool_prefix"; then
7302 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7303 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7305 $as_echo_n "checking for $ac_word... " >&6; }
7306 if ${ac_cv_prog_OTOOL+:} false
; then :
7307 $as_echo_n "(cached) " >&6
7309 if test -n "$OTOOL"; then
7310 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7316 test -z "$as_dir" && as_dir
=.
7317 for ac_exec_ext
in '' $ac_executable_extensions; do
7318 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7319 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7329 OTOOL
=$ac_cv_prog_OTOOL
7330 if test -n "$OTOOL"; then
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7332 $as_echo "$OTOOL" >&6; }
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7335 $as_echo "no" >&6; }
7340 if test -z "$ac_cv_prog_OTOOL"; then
7342 # Extract the first word of "otool", so it can be a program name with args.
7343 set dummy otool
; ac_word
=$2
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7345 $as_echo_n "checking for $ac_word... " >&6; }
7346 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7347 $as_echo_n "(cached) " >&6
7349 if test -n "$ac_ct_OTOOL"; then
7350 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7356 test -z "$as_dir" && as_dir
=.
7357 for ac_exec_ext
in '' $ac_executable_extensions; do
7358 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7359 ac_cv_prog_ac_ct_OTOOL
="otool"
7360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7369 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7370 if test -n "$ac_ct_OTOOL"; then
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7372 $as_echo "$ac_ct_OTOOL" >&6; }
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7375 $as_echo "no" >&6; }
7378 if test "x$ac_ct_OTOOL" = x
; then
7381 case $cross_compiling:$ac_tool_warned in
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7385 ac_tool_warned
=yes ;;
7390 OTOOL
="$ac_cv_prog_OTOOL"
7393 if test -n "$ac_tool_prefix"; then
7394 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7395 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7397 $as_echo_n "checking for $ac_word... " >&6; }
7398 if ${ac_cv_prog_OTOOL64+:} false
; then :
7399 $as_echo_n "(cached) " >&6
7401 if test -n "$OTOOL64"; then
7402 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7408 test -z "$as_dir" && as_dir
=.
7409 for ac_exec_ext
in '' $ac_executable_extensions; do
7410 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7411 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7421 OTOOL64
=$ac_cv_prog_OTOOL64
7422 if test -n "$OTOOL64"; then
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7424 $as_echo "$OTOOL64" >&6; }
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7427 $as_echo "no" >&6; }
7432 if test -z "$ac_cv_prog_OTOOL64"; then
7433 ac_ct_OTOOL64
=$OTOOL64
7434 # Extract the first word of "otool64", so it can be a program name with args.
7435 set dummy otool64
; ac_word
=$2
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7437 $as_echo_n "checking for $ac_word... " >&6; }
7438 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
7439 $as_echo_n "(cached) " >&6
7441 if test -n "$ac_ct_OTOOL64"; then
7442 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7448 test -z "$as_dir" && as_dir
=.
7449 for ac_exec_ext
in '' $ac_executable_extensions; do
7450 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7451 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7461 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7462 if test -n "$ac_ct_OTOOL64"; then
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7464 $as_echo "$ac_ct_OTOOL64" >&6; }
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7467 $as_echo "no" >&6; }
7470 if test "x$ac_ct_OTOOL64" = x
; then
7473 case $cross_compiling:$ac_tool_warned in
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7477 ac_tool_warned
=yes ;;
7479 OTOOL64
=$ac_ct_OTOOL64
7482 OTOOL64
="$ac_cv_prog_OTOOL64"
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7512 $as_echo_n "checking for -single_module linker flag... " >&6; }
7513 if ${lt_cv_apple_cc_single_mod+:} false
; then :
7514 $as_echo_n "(cached) " >&6
7516 lt_cv_apple_cc_single_mod
=no
7517 if test -z "${LT_MULTI_MODULE}"; then
7518 # By default we will add the -single_module flag. You can override
7519 # by either setting the environment variable LT_MULTI_MODULE
7520 # non-empty at configure time, or by adding -multi_module to the
7522 rm -rf libconftest.dylib
*
7523 echo "int foo(void){return 1;}" > conftest.c
7524 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7525 -dynamiclib -Wl,-single_module conftest.c" >&5
7526 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7527 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7529 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7530 lt_cv_apple_cc_single_mod
=yes
7532 cat conftest.err
>&5
7534 rm -rf libconftest.dylib
*
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7539 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7541 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7542 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
7543 $as_echo_n "(cached) " >&6
7545 lt_cv_ld_exported_symbols_list
=no
7546 save_LDFLAGS
=$LDFLAGS
7547 echo "_main" > conftest.sym
7548 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7550 /* end confdefs.h. */
7560 if ac_fn_c_try_link
"$LINENO"; then :
7561 lt_cv_ld_exported_symbols_list
=yes
7563 lt_cv_ld_exported_symbols_list
=no
7565 rm -f core conftest.err conftest.
$ac_objext \
7566 conftest
$ac_exeext conftest.
$ac_ext
7567 LDFLAGS
="$save_LDFLAGS"
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7571 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7573 $as_echo_n "checking for -force_load linker flag... " >&6; }
7574 if ${lt_cv_ld_force_load+:} false
; then :
7575 $as_echo_n "(cached) " >&6
7577 lt_cv_ld_force_load
=no
7578 cat > conftest.c
<< _LT_EOF
7579 int forced_loaded() { return 2;}
7581 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7582 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7583 echo "$AR cru libconftest.a conftest.o" >&5
7584 $AR cru libconftest.a conftest.o
2>&5
7585 cat > conftest.c
<< _LT_EOF
7586 int main() { return 0;}
7588 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7589 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7591 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7592 lt_cv_ld_force_load
=yes
7594 cat conftest.err
>&5
7596 rm -f conftest.err libconftest.a conftest conftest.c
7597 rm -rf conftest.dSYM
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7601 $as_echo "$lt_cv_ld_force_load" >&6; }
7603 rhapsody
* | darwin1.
[012])
7604 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7606 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7607 darwin
*) # darwin 5.x on
7608 # if running on 10.5 or later, the deployment target defaults
7609 # to the OS version, if on x86, and 10.4, the deployment
7610 # target defaults to 10.4. Don't you love it?
7611 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7612 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7613 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7615 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7617 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7621 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7622 _lt_dar_single_mod
='$single_module'
7624 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7625 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7627 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7629 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7630 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7638 ac_cpp
='$CPP $CPPFLAGS'
7639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7643 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7644 # On Suns, sometimes $CPP names a directory.
7645 if test -n "$CPP" && test -d "$CPP"; then
7648 if test -z "$CPP"; then
7649 if ${ac_cv_prog_CPP+:} false
; then :
7650 $as_echo_n "(cached) " >&6
7652 # Double quotes because CPP needs to be expanded
7653 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7656 for ac_c_preproc_warn_flag
in '' yes
7658 # Use a header file that comes with gcc, so configuring glibc
7659 # with a fresh cross-compiler works.
7660 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7661 # <limits.h> exists even on freestanding compilers.
7662 # On the NeXT, cc -E runs the code through the compiler's parser,
7663 # not just through cpp. "Syntax error" is here to catch this case.
7664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7665 /* end confdefs.h. */
7667 # include <limits.h>
7669 # include <assert.h>
7673 if ac_fn_c_try_cpp
"$LINENO"; then :
7676 # Broken: fails on valid input.
7679 rm -f conftest.err conftest.i conftest.
$ac_ext
7681 # OK, works on sane cases. Now check whether nonexistent headers
7682 # can be detected and how.
7683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7684 /* end confdefs.h. */
7685 #include <ac_nonexistent.h>
7687 if ac_fn_c_try_cpp
"$LINENO"; then :
7688 # Broken: success on invalid input.
7691 # Passes both tests.
7695 rm -f conftest.err conftest.i conftest.
$ac_ext
7698 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7699 rm -f conftest.i conftest.err conftest.
$ac_ext
7700 if $ac_preproc_ok; then :
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7713 $as_echo "$CPP" >&6; }
7715 for ac_c_preproc_warn_flag
in '' yes
7717 # Use a header file that comes with gcc, so configuring glibc
7718 # with a fresh cross-compiler works.
7719 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7720 # <limits.h> exists even on freestanding compilers.
7721 # On the NeXT, cc -E runs the code through the compiler's parser,
7722 # not just through cpp. "Syntax error" is here to catch this case.
7723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7724 /* end confdefs.h. */
7726 # include <limits.h>
7728 # include <assert.h>
7732 if ac_fn_c_try_cpp
"$LINENO"; then :
7735 # Broken: fails on valid input.
7738 rm -f conftest.err conftest.i conftest.
$ac_ext
7740 # OK, works on sane cases. Now check whether nonexistent headers
7741 # can be detected and how.
7742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7743 /* end confdefs.h. */
7744 #include <ac_nonexistent.h>
7746 if ac_fn_c_try_cpp
"$LINENO"; then :
7747 # Broken: success on invalid input.
7750 # Passes both tests.
7754 rm -f conftest.err conftest.i conftest.
$ac_ext
7757 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7758 rm -f conftest.i conftest.err conftest.
$ac_ext
7759 if $ac_preproc_ok; then :
7762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7764 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
7765 See \`config.log' for more details" "$LINENO" 5; }
7769 ac_cpp
='$CPP $CPPFLAGS'
7770 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7771 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7772 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7776 $as_echo_n "checking for ANSI C header files... " >&6; }
7777 if ${ac_cv_header_stdc+:} false
; then :
7778 $as_echo_n "(cached) " >&6
7780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7781 /* end confdefs.h. */
7795 if ac_fn_c_try_compile
"$LINENO"; then :
7796 ac_cv_header_stdc
=yes
7798 ac_cv_header_stdc
=no
7800 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7802 if test $ac_cv_header_stdc = yes; then
7803 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7805 /* end confdefs.h. */
7809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7810 $EGREP "memchr" >/dev
/null
2>&1; then :
7813 ac_cv_header_stdc
=no
7819 if test $ac_cv_header_stdc = yes; then
7820 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7822 /* end confdefs.h. */
7826 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7827 $EGREP "free" >/dev
/null
2>&1; then :
7830 ac_cv_header_stdc
=no
7836 if test $ac_cv_header_stdc = yes; then
7837 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7838 if test "$cross_compiling" = yes; then :
7841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7842 /* end confdefs.h. */
7845 #if ((' ' & 0x0FF) == 0x020)
7846 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7847 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7849 # define ISLOWER(c) \
7850 (('a' <= (c) && (c) <= 'i') \
7851 || ('j' <= (c) && (c) <= 'r') \
7852 || ('s' <= (c) && (c) <= 'z'))
7853 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7856 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7861 for (i = 0; i < 256; i++)
7862 if (XOR (islower (i), ISLOWER (i))
7863 || toupper (i) != TOUPPER (i))
7868 if ac_fn_c_try_run
"$LINENO"; then :
7871 ac_cv_header_stdc
=no
7873 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7874 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7880 $as_echo "$ac_cv_header_stdc" >&6; }
7881 if test $ac_cv_header_stdc = yes; then
7883 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7887 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7888 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7889 inttypes.h stdint.h unistd.h
7891 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7892 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7894 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7895 cat >>confdefs.h
<<_ACEOF
7896 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7904 for ac_header
in dlfcn.h
7906 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7908 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7909 cat >>confdefs.h
<<_ACEOF
7910 #define HAVE_DLFCN_H 1
7931 # Check whether --enable-shared was given.
7932 if test "${enable_shared+set}" = set; then :
7933 enableval
=$enable_shared; p
=${PACKAGE-default}
7935 yes) enable_shared
=yes ;;
7936 no
) enable_shared
=no
;;
7939 # Look at the argument we got. We use all the common list separators.
7940 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7941 for pkg
in $enableval; do
7943 if test "X$pkg" = "X$p"; then
7962 # Check whether --enable-static was given.
7963 if test "${enable_static+set}" = set; then :
7964 enableval
=$enable_static; p
=${PACKAGE-default}
7966 yes) enable_static
=yes ;;
7967 no
) enable_static
=no
;;
7970 # Look at the argument we got. We use all the common list separators.
7971 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7972 for pkg
in $enableval; do
7974 if test "X$pkg" = "X$p"; then
7994 # Check whether --with-pic was given.
7995 if test "${with_pic+set}" = set; then :
7996 withval
=$with_pic; pic_mode
="$withval"
8002 test -z "$pic_mode" && pic_mode
=default
8010 # Check whether --enable-fast-install was given.
8011 if test "${enable_fast_install+set}" = set; then :
8012 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8014 yes) enable_fast_install
=yes ;;
8015 no
) enable_fast_install
=no
;;
8017 enable_fast_install
=no
8018 # Look at the argument we got. We use all the common list separators.
8019 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8020 for pkg
in $enableval; do
8022 if test "X$pkg" = "X$p"; then
8023 enable_fast_install
=yes
8030 enable_fast_install
=yes
8043 # This can be used to rebuild libtool when needed
8044 LIBTOOL_DEPS
="$ltmain"
8046 # Always use our own libtool.
8047 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8074 test -z "$LN_S" && LN_S
="ln -s"
8089 if test -n "${ZSH_VERSION+set}" ; then
8090 setopt NO_GLOB_SUBST
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8094 $as_echo_n "checking for objdir... " >&6; }
8095 if ${lt_cv_objdir+:} false
; then :
8096 $as_echo_n "(cached) " >&6
8098 rm -f .libs
2>/dev
/null
8099 mkdir .libs
2>/dev
/null
8100 if test -d .libs
; then
8103 # MS-DOS does not allow filenames that begin with a dot.
8106 rmdir .libs
2>/dev
/null
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8109 $as_echo "$lt_cv_objdir" >&6; }
8110 objdir
=$lt_cv_objdir
8116 cat >>confdefs.h
<<_ACEOF
8117 #define LT_OBJDIR "$lt_cv_objdir/"
8125 # AIX sometimes has problems with the GCC collect2 program. For some
8126 # reason, if we set the COLLECT_NAMES environment variable, the problems
8127 # vanish in a puff of smoke.
8128 if test "X${COLLECT_NAMES+set}" != Xset
; then
8130 export COLLECT_NAMES
8137 can_build_shared
=yes
8139 # All known linkers require a `.a' archive for static linking (except MSVC,
8140 # which needs '.lib').
8143 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8146 old_CFLAGS
="$CFLAGS"
8148 # Set sane defaults for various variables
8149 test -z "$CC" && CC
=cc
8150 test -z "$LTCC" && LTCC
=$CC
8151 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8152 test -z "$LD" && LD
=ld
8153 test -z "$ac_objext" && ac_objext
=o
8155 for cc_temp
in $compiler""; do
8157 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8158 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8163 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8166 # Only perform the check for file, if the check method requires it
8167 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8168 case $deplibs_check_method in
8170 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8172 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8173 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8174 $as_echo_n "(cached) " >&6
8178 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8181 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8182 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8183 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8184 for ac_dir
in $ac_dummy; do
8186 test -z "$ac_dir" && ac_dir
=.
8187 if test -f $ac_dir/${ac_tool_prefix}file; then
8188 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8189 if test -n "$file_magic_test_file"; then
8190 case $deplibs_check_method in
8192 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8193 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8194 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8195 $EGREP "$file_magic_regex" > /dev
/null
; then
8200 *** Warning: the command libtool uses to detect shared libraries,
8201 *** $file_magic_cmd, produces output that libtool cannot recognize.
8202 *** The result is that libtool may fail to recognize shared libraries
8203 *** as such. This will affect the creation of libtool libraries that
8204 *** depend on shared libraries, but programs linked with such libtool
8205 *** libraries will work regardless of this problem. Nevertheless, you
8206 *** may want to report the problem to your system manager and/or to
8207 *** bug-libtool@gnu.org
8217 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8222 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8223 if test -n "$MAGIC_CMD"; then
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8225 $as_echo "$MAGIC_CMD" >&6; }
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8228 $as_echo "no" >&6; }
8235 if test -z "$lt_cv_path_MAGIC_CMD"; then
8236 if test -n "$ac_tool_prefix"; then
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8238 $as_echo_n "checking for file... " >&6; }
8239 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8240 $as_echo_n "(cached) " >&6
8244 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8247 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8248 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8249 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8250 for ac_dir
in $ac_dummy; do
8252 test -z "$ac_dir" && ac_dir
=.
8253 if test -f $ac_dir/file; then
8254 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8255 if test -n "$file_magic_test_file"; then
8256 case $deplibs_check_method in
8258 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8259 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8260 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8261 $EGREP "$file_magic_regex" > /dev
/null
; then
8266 *** Warning: the command libtool uses to detect shared libraries,
8267 *** $file_magic_cmd, produces output that libtool cannot recognize.
8268 *** The result is that libtool may fail to recognize shared libraries
8269 *** as such. This will affect the creation of libtool libraries that
8270 *** depend on shared libraries, but programs linked with such libtool
8271 *** libraries will work regardless of this problem. Nevertheless, you
8272 *** may want to report the problem to your system manager and/or to
8273 *** bug-libtool@gnu.org
8283 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8288 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8289 if test -n "$MAGIC_CMD"; then
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8291 $as_echo "$MAGIC_CMD" >&6; }
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8294 $as_echo "no" >&6; }
8307 # Use C for the default configuration in the libtool script
8311 ac_cpp
='$CPP $CPPFLAGS'
8312 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8313 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8314 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8317 # Source file extension for C test sources.
8320 # Object file extension for compiled C test sources.
8324 # Code to be used in simple compile tests
8325 lt_simple_compile_test_code
="int some_variable = 0;"
8327 # Code to be used in simple link tests
8328 lt_simple_link_test_code
='int main(){return(0);}'
8336 # If no C compiler was specified, use CC.
8339 # If no C compiler flags were specified, use CFLAGS.
8340 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8342 # Allow CC to be a program name with arguments.
8345 # Save the default compiler, since it gets overwritten when the other
8346 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8347 compiler_DEFAULT
=$CC
8349 # save warnings/boilerplate of simple test code
8350 ac_outfile
=conftest.
$ac_objext
8351 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8352 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8353 _lt_compiler_boilerplate
=`cat conftest.err`
8356 ac_outfile
=conftest.
$ac_objext
8357 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8358 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8359 _lt_linker_boilerplate
=`cat conftest.err`
8364 ## There is no encapsulation within the following macros, do not change
8365 ## the running order or otherwise move them around unless you know exactly
8366 ## what you are doing...
8367 if test -n "$compiler"; then
8369 lt_prog_compiler_no_builtin_flag
=
8371 if test "$GCC" = yes; then
8372 case $cc_basename in
8374 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8376 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8380 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8381 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8382 $as_echo_n "(cached) " >&6
8384 lt_cv_prog_compiler_rtti_exceptions
=no
8385 ac_outfile
=conftest.
$ac_objext
8386 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8387 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8388 # Insert the option either (1) after the last *FLAGS variable, or
8389 # (2) before a word containing "conftest.", or (3) at the end.
8390 # Note that $ac_compile itself does not contain backslashes and begins
8391 # with a dollar sign (not a hyphen), so the echo should work correctly.
8392 # The option is referenced via a variable to avoid confusing sed.
8393 lt_compile
=`echo "$ac_compile" | $SED \
8394 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8395 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8396 -e 's:$: $lt_compiler_flag:'`
8397 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8398 (eval "$lt_compile" 2>conftest.err
)
8400 cat conftest.err
>&5
8401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402 if (exit $ac_status) && test -s "$ac_outfile"; then
8403 # The compiler can only warn and ignore the option if not recognized
8404 # So say no if there are warnings other than the usual output.
8405 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8406 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8407 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8408 lt_cv_prog_compiler_rtti_exceptions
=yes
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8415 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8417 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8418 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8430 lt_prog_compiler_wl
=
8431 lt_prog_compiler_pic
=
8432 lt_prog_compiler_static
=
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8435 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8437 if test "$GCC" = yes; then
8438 lt_prog_compiler_wl
='-Wl,'
8439 lt_prog_compiler_static
='-static'
8443 # All AIX code is PIC.
8444 if test "$host_cpu" = ia64
; then
8445 # AIX 5 now supports IA64 processor
8446 lt_prog_compiler_static
='-Bstatic'
8448 lt_prog_compiler_pic
='-fPIC'
8454 # see comment about AmigaOS4 .so support
8455 lt_prog_compiler_pic
='-fPIC'
8458 # FIXME: we need at least 68020 code to build shared libraries, but
8459 # adding the `-m68020' flag to GCC prevents building anything better,
8461 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8466 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8467 # PIC is the default for these OSes.
8470 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8471 # This hack is so that the source file can tell whether it is being
8472 # built for inclusion in a dll (and should export symbols for example).
8473 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8474 # (--disable-auto-import) libraries
8475 lt_prog_compiler_pic
='-DDLL_EXPORT'
8478 darwin
* | rhapsody
*)
8479 # PIC is the default on this platform
8480 # Common symbols not allowed in MH_DYLIB files
8481 lt_prog_compiler_pic
='-fno-common'
8485 # PIC is the default for Haiku.
8486 # The "-static" flag exists, but is broken.
8487 lt_prog_compiler_static
=
8491 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8492 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8493 # sets the default TLS model and affects inlining.
8499 lt_prog_compiler_pic
='-fPIC'
8505 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8506 # Instead, we relocate shared libraries at runtime.
8510 # Just because we use GCC doesn't mean we suddenly get shared libraries
8511 # on systems that don't support them.
8512 lt_prog_compiler_can_build_shared
=no
8517 # QNX uses GNU C++, but need to define -shared option too, otherwise
8519 lt_prog_compiler_pic
='-fPIC -shared'
8523 if test -d /usr
/nec
; then
8524 lt_prog_compiler_pic
=-Kconform_pic
8529 lt_prog_compiler_pic
='-fPIC'
8533 case $cc_basename in
8534 nvcc
*) # Cuda Compiler Driver 2.2
8535 lt_prog_compiler_wl
='-Xlinker '
8536 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8540 # PORTME Check for flag to pass linker flags through the system compiler.
8543 lt_prog_compiler_wl
='-Wl,'
8544 if test "$host_cpu" = ia64
; then
8545 # AIX 5 now supports IA64 processor
8546 lt_prog_compiler_static
='-Bstatic'
8548 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8552 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8553 # This hack is so that the source file can tell whether it is being
8554 # built for inclusion in a dll (and should export symbols for example).
8555 lt_prog_compiler_pic
='-DDLL_EXPORT'
8558 hpux9
* | hpux10
* | hpux11
*)
8559 lt_prog_compiler_wl
='-Wl,'
8560 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8567 lt_prog_compiler_pic
='+Z'
8570 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8571 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8574 irix5
* | irix6
* | nonstopux
*)
8575 lt_prog_compiler_wl
='-Wl,'
8576 # PIC (with -KPIC) is the default.
8577 lt_prog_compiler_static
='-non_shared'
8580 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8581 case $cc_basename in
8582 # old Intel for x86_64 which still supported -KPIC.
8584 lt_prog_compiler_wl
='-Wl,'
8585 lt_prog_compiler_pic
='-KPIC'
8586 lt_prog_compiler_static
='-static'
8588 # icc used to be incompatible with GCC.
8589 # ICC 10 doesn't accept -KPIC any more.
8591 lt_prog_compiler_wl
='-Wl,'
8592 lt_prog_compiler_pic
='-fPIC'
8593 lt_prog_compiler_static
='-static'
8595 # Lahey Fortran 8.1.
8597 lt_prog_compiler_wl
='-Wl,'
8598 lt_prog_compiler_pic
='--shared'
8599 lt_prog_compiler_static
='--static'
8601 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8602 # Portland Group compilers (*not* the Pentium gcc compiler,
8603 # which looks to be a dead project)
8604 lt_prog_compiler_wl
='-Wl,'
8605 lt_prog_compiler_pic
='-fpic'
8606 lt_prog_compiler_static
='-Bstatic'
8609 lt_prog_compiler_wl
='-Wl,'
8610 # All Alpha code is PIC.
8611 lt_prog_compiler_static
='-non_shared'
8613 xl
* | bgxl
* | bgf
* | mpixl
*)
8614 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8615 lt_prog_compiler_wl
='-Wl,'
8616 lt_prog_compiler_pic
='-qpic'
8617 lt_prog_compiler_static
='-qstaticlink'
8620 case `$CC -V 2>&1 | sed 5q` in
8621 *Sun\ F
* |
*Sun
*Fortran
*)
8622 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8623 lt_prog_compiler_pic
='-KPIC'
8624 lt_prog_compiler_static
='-Bstatic'
8625 lt_prog_compiler_wl
=''
8629 lt_prog_compiler_pic
='-KPIC'
8630 lt_prog_compiler_static
='-Bstatic'
8631 lt_prog_compiler_wl
='-Wl,'
8639 lt_prog_compiler_pic
='-KPIC'
8640 lt_prog_compiler_static
='-Bstatic'
8644 # QNX uses GNU C++, but need to define -shared option too, otherwise
8646 lt_prog_compiler_pic
='-fPIC -shared'
8649 osf3
* | osf4
* | osf5
*)
8650 lt_prog_compiler_wl
='-Wl,'
8651 # All OSF/1 code is PIC.
8652 lt_prog_compiler_static
='-non_shared'
8656 lt_prog_compiler_static
='-non_shared'
8660 lt_prog_compiler_pic
='-KPIC'
8661 lt_prog_compiler_static
='-Bstatic'
8662 case $cc_basename in
8664 lt_prog_compiler_wl
='-Qoption ld ';;
8666 lt_prog_compiler_wl
='-Wl,';;
8671 lt_prog_compiler_wl
='-Qoption ld '
8672 lt_prog_compiler_pic
='-PIC'
8673 lt_prog_compiler_static
='-Bstatic'
8676 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8677 lt_prog_compiler_wl
='-Wl,'
8678 lt_prog_compiler_pic
='-KPIC'
8679 lt_prog_compiler_static
='-Bstatic'
8683 if test -d /usr
/nec
;then
8684 lt_prog_compiler_pic
='-Kconform_pic'
8685 lt_prog_compiler_static
='-Bstatic'
8689 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8690 lt_prog_compiler_wl
='-Wl,'
8691 lt_prog_compiler_pic
='-KPIC'
8692 lt_prog_compiler_static
='-Bstatic'
8696 lt_prog_compiler_wl
='-Wl,'
8697 lt_prog_compiler_can_build_shared
=no
8701 lt_prog_compiler_pic
='-pic'
8702 lt_prog_compiler_static
='-Bstatic'
8706 lt_prog_compiler_can_build_shared
=no
8712 # For platforms which do not support PIC, -DPIC is meaningless:
8714 lt_prog_compiler_pic
=
8717 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8721 $as_echo "$lt_prog_compiler_pic" >&6; }
8729 # Check to make sure the PIC flag actually works.
8731 if test -n "$lt_prog_compiler_pic"; then
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8733 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8734 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8735 $as_echo_n "(cached) " >&6
8737 lt_cv_prog_compiler_pic_works
=no
8738 ac_outfile
=conftest.
$ac_objext
8739 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8740 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8741 # Insert the option either (1) after the last *FLAGS variable, or
8742 # (2) before a word containing "conftest.", or (3) at the end.
8743 # Note that $ac_compile itself does not contain backslashes and begins
8744 # with a dollar sign (not a hyphen), so the echo should work correctly.
8745 # The option is referenced via a variable to avoid confusing sed.
8746 lt_compile
=`echo "$ac_compile" | $SED \
8747 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8748 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8749 -e 's:$: $lt_compiler_flag:'`
8750 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8751 (eval "$lt_compile" 2>conftest.err
)
8753 cat conftest.err
>&5
8754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755 if (exit $ac_status) && test -s "$ac_outfile"; then
8756 # The compiler can only warn and ignore the option if not recognized
8757 # So say no if there are warnings other than the usual output.
8758 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8759 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8760 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8761 lt_cv_prog_compiler_pic_works
=yes
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8768 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8770 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8771 case $lt_prog_compiler_pic in
8773 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8776 lt_prog_compiler_pic
=
8777 lt_prog_compiler_can_build_shared
=no
8788 # Check to make sure the static flag actually works.
8790 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8792 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8793 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8794 $as_echo_n "(cached) " >&6
8796 lt_cv_prog_compiler_static_works
=no
8797 save_LDFLAGS
="$LDFLAGS"
8798 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8799 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8800 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8801 # The linker can only warn and ignore the option if not recognized
8802 # So say no if there are warnings
8803 if test -s conftest.err
; then
8804 # Append any errors to the config.log.
8805 cat conftest.err
1>&5
8806 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8807 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8808 if diff conftest.exp conftest.er2
>/dev
/null
; then
8809 lt_cv_prog_compiler_static_works
=yes
8812 lt_cv_prog_compiler_static_works
=yes
8816 LDFLAGS
="$save_LDFLAGS"
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8820 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8822 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8825 lt_prog_compiler_static
=
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8835 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8836 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8837 $as_echo_n "(cached) " >&6
8839 lt_cv_prog_compiler_c_o
=no
8840 $RM -r conftest
2>/dev
/null
8844 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8846 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8847 # Insert the option either (1) after the last *FLAGS variable, or
8848 # (2) before a word containing "conftest.", or (3) at the end.
8849 # Note that $ac_compile itself does not contain backslashes and begins
8850 # with a dollar sign (not a hyphen), so the echo should work correctly.
8851 lt_compile
=`echo "$ac_compile" | $SED \
8852 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8853 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8854 -e 's:$: $lt_compiler_flag:'`
8855 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8856 (eval "$lt_compile" 2>out
/conftest.err
)
8858 cat out
/conftest.err
>&5
8859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8860 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8862 # The compiler can only warn and ignore the option if not recognized
8863 # So say no if there are warnings
8864 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8865 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8866 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8867 lt_cv_prog_compiler_c_o
=yes
8872 # SGI C++ compiler will create directory out/ii_files/ for
8873 # template instantiation
8874 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8875 $RM out
/* && rmdir out
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8882 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8890 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8891 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8892 $as_echo_n "(cached) " >&6
8894 lt_cv_prog_compiler_c_o
=no
8895 $RM -r conftest
2>/dev
/null
8899 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8901 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8902 # Insert the option either (1) after the last *FLAGS variable, or
8903 # (2) before a word containing "conftest.", or (3) at the end.
8904 # Note that $ac_compile itself does not contain backslashes and begins
8905 # with a dollar sign (not a hyphen), so the echo should work correctly.
8906 lt_compile
=`echo "$ac_compile" | $SED \
8907 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8908 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8909 -e 's:$: $lt_compiler_flag:'`
8910 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8911 (eval "$lt_compile" 2>out
/conftest.err
)
8913 cat out
/conftest.err
>&5
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8917 # The compiler can only warn and ignore the option if not recognized
8918 # So say no if there are warnings
8919 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8920 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8921 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8922 lt_cv_prog_compiler_c_o
=yes
8927 # SGI C++ compiler will create directory out/ii_files/ for
8928 # template instantiation
8929 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8930 $RM out
/* && rmdir out
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8937 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8942 hard_links
="nottested"
8943 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8944 # do not overwrite the value of need_locks provided by the user
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8946 $as_echo_n "checking if we can lock with hard links... " >&6; }
8949 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8951 ln conftest.a conftest.b
2>&5 || hard_links
=no
8952 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8954 $as_echo "$hard_links" >&6; }
8955 if test "$hard_links" = no
; then
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8957 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8970 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8973 allow_undefined_flag
=
8974 always_export_symbols
=no
8976 archive_expsym_cmds
=
8977 compiler_needs_object
=no
8978 enable_shared_with_static_runtimes
=no
8979 export_dynamic_flag_spec
=
8980 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8981 hardcode_automatic
=no
8983 hardcode_direct_absolute
=no
8984 hardcode_libdir_flag_spec
=
8985 hardcode_libdir_flag_spec_ld
=
8986 hardcode_libdir_separator
=
8988 hardcode_shlibpath_var
=unsupported
8990 link_all_deplibs
=unknown
8993 old_archive_from_new_cmds
=
8994 old_archive_from_expsyms_cmds
=
8995 thread_safe_flag_spec
=
8996 whole_archive_flag_spec
=
8997 # include_expsyms should be a list of space-separated symbols to be *always*
8998 # included in the symbol list
9000 # exclude_expsyms can be an extended regexp of symbols to exclude
9001 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9002 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9003 # as well as any symbol that contains `d'.
9004 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9005 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9006 # platforms (ab)use it in PIC code, but their linkers get confused if
9007 # the symbol is explicitly referenced. Since portable code cannot
9008 # rely on this symbol name, it's probably fine to never include it in
9009 # preloaded symbol tables.
9010 # Exclude shared library initialization/finalization symbols.
9011 extract_expsyms_cmds
=
9014 cygwin
* | mingw
* | pw32
* | cegcc
*)
9015 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9016 # When not using gcc, we currently assume that we are using
9017 # Microsoft Visual C++.
9018 if test "$GCC" != yes; then
9023 # we just hope/assume this is gcc and not c89 (= MSVC++)
9033 # On some targets, GNU ld is compatible enough with the native linker
9034 # that we're better off using the native interface for both.
9035 lt_use_gnu_ld_interface
=no
9036 if test "$with_gnu_ld" = yes; then
9039 # The AIX port of GNU ld has always aspired to compatibility
9040 # with the native linker. However, as the warning in the GNU ld
9041 # block says, versions before 2.19.5* couldn't really create working
9042 # shared libraries, regardless of the interface used.
9043 case `$LD -v 2>&1` in
9044 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9045 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9046 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9048 lt_use_gnu_ld_interface
=yes
9053 lt_use_gnu_ld_interface
=yes
9058 if test "$lt_use_gnu_ld_interface" = yes; then
9059 # If archive_cmds runs LD, not CC, wlarc should be empty
9062 # Set some defaults for GNU ld with shared library support. These
9063 # are reset later if shared libraries are not supported. Putting them
9064 # here allows them to be overridden if necessary.
9065 runpath_var
=LD_RUN_PATH
9066 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9067 export_dynamic_flag_spec
='${wl}--export-dynamic'
9068 # ancient GNU ld didn't support --whole-archive et. al.
9069 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9070 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9072 whole_archive_flag_spec
=
9074 supports_anon_versioning
=no
9075 case `$LD -v 2>&1` in
9076 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9077 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9078 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9079 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9080 *\
2.11.
*) ;; # other 2.11 versions
9081 *) supports_anon_versioning
=yes ;;
9084 # See if GNU ld supports shared libraries.
9087 # On AIX/PPC, the GNU linker is very broken
9088 if test "$host_cpu" != ia64
; then
9092 *** Warning: the GNU linker, at least up to release 2.19, is reported
9093 *** to be unable to reliably create shared libraries on AIX.
9094 *** Therefore, libtool is disabling shared libraries support. If you
9095 *** really care for shared libraries, you may want to install binutils
9096 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9097 *** You will then need to restart the configuration process.
9106 # see comment about AmigaOS4 .so support
9107 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9108 archive_expsym_cmds
=''
9111 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)'
9112 hardcode_libdir_flag_spec
='-L$libdir'
9113 hardcode_minus_L
=yes
9119 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9120 allow_undefined_flag
=unsupported
9121 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9122 # support --undefined. This deserves some investigation. FIXME
9123 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9129 cygwin
* | mingw
* | pw32
* | cegcc
*)
9130 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9131 # as there is no search path for DLLs.
9132 hardcode_libdir_flag_spec
='-L$libdir'
9133 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9134 allow_undefined_flag
=unsupported
9135 always_export_symbols
=no
9136 enable_shared_with_static_runtimes
=yes
9137 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9139 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9140 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9141 # If the export-symbols file already is a .def file (1st line
9142 # is EXPORTS), use it as is; otherwise, prepend...
9143 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9144 cp $export_symbols $output_objdir/$soname.def;
9146 echo EXPORTS > $output_objdir/$soname.def;
9147 cat $export_symbols >> $output_objdir/$soname.def;
9149 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9156 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9157 link_all_deplibs
=yes
9162 hardcode_shlibpath_var
=no
9163 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9164 export_dynamic_flag_spec
='${wl}-E'
9165 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9166 # Instead, shared libraries are loaded at an image base (0x10000000 by
9167 # default) and relocated if they conflict, which is a slow very memory
9168 # consuming and fragmenting process. To avoid this, we pick a random,
9169 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9170 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9171 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9172 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'
9175 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9177 if test "$host_os" = linux-dietlibc
; then
9178 case $cc_basename in
9179 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9182 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9183 && test "$tmp_diet" = no
9185 tmp_addflag
=' $pic_flag'
9186 tmp_sharedflag
='-shared'
9187 case $cc_basename,$host_cpu in
9188 pgcc
*) # Portland Group C compiler
9189 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9190 tmp_addflag
=' $pic_flag'
9192 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9193 # Portland Group f77 and f90 compilers
9194 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9195 tmp_addflag
=' $pic_flag -Mnomain' ;;
9196 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9197 tmp_addflag
=' -i_dynamic' ;;
9198 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9199 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9200 ifc
* | ifort
*) # Intel Fortran compiler
9201 tmp_addflag
=' -nofor_main' ;;
9202 lf95
*) # Lahey Fortran 8.1
9203 whole_archive_flag_spec
=
9204 tmp_sharedflag
='--shared' ;;
9205 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9206 tmp_sharedflag
='-qmkshrobj'
9208 nvcc
*) # Cuda Compiler Driver 2.2
9209 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9210 compiler_needs_object
=yes
9213 case `$CC -V 2>&1 | sed 5q` in
9214 *Sun\ C
*) # Sun C 5.9
9215 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9216 compiler_needs_object
=yes
9217 tmp_sharedflag
='-G' ;;
9218 *Sun\ F
*) # Sun Fortran 8.3
9219 tmp_sharedflag
='-G' ;;
9221 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9223 if test "x$supports_anon_versioning" = xyes
; then
9224 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9225 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9226 echo "local: *; };" >> $output_objdir/$libname.ver~
9227 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9230 case $cc_basename in
9231 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9232 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9233 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9234 hardcode_libdir_flag_spec
=
9235 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9236 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9237 if test "x$supports_anon_versioning" = xyes
; then
9238 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9239 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9240 echo "local: *; };" >> $output_objdir/$libname.ver~
9241 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9251 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9252 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9255 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9256 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9261 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9265 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9266 *** create shared libraries on Solaris systems. Therefore, libtool
9267 *** is disabling shared libraries support. We urge you to upgrade GNU
9268 *** binutils to release 2.9.1 or newer. Another option is to modify
9269 *** your PATH or compiler configuration so that the native linker is
9270 *** used, and then restart.
9273 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9274 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9275 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9281 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9282 case `$LD -v 2>&1` in
9283 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9287 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9288 *** reliably create shared libraries on SCO systems. Therefore, libtool
9289 *** is disabling shared libraries support. We urge you to upgrade GNU
9290 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9291 *** your PATH or compiler configuration so that the native linker is
9292 *** used, and then restart.
9297 # For security reasons, it is highly recommended that you always
9298 # use absolute paths for naming shared libraries, and exclude the
9299 # DT_RUNPATH tag from executables and libraries. But doing so
9300 # requires that you compile everything twice, which is a pain.
9301 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9302 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9303 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9304 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9313 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9316 hardcode_shlibpath_var
=no
9320 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9321 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9322 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9329 if test "$ld_shlibs" = no
; then
9331 hardcode_libdir_flag_spec
=
9332 export_dynamic_flag_spec
=
9333 whole_archive_flag_spec
=
9336 # PORTME fill in a description of your system's linker (not GNU ld)
9339 allow_undefined_flag
=unsupported
9340 always_export_symbols
=yes
9341 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'
9342 # Note: this linker hardcodes the directories in LIBPATH if there
9343 # are no directories specified by -L.
9344 hardcode_minus_L
=yes
9345 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9346 # Neither direct hardcoding nor static linking is supported with a
9348 hardcode_direct
=unsupported
9353 if test "$host_cpu" = ia64
; then
9354 # On IA64, the linker does run time linking by default, so we don't
9355 # have to do anything special.
9356 aix_use_runtimelinking
=no
9357 exp_sym_flag
='-Bexport'
9360 # If we're using GNU nm, then we don't want the "-C" option.
9361 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9362 # Also, AIX nm treats weak defined symbols like other global
9363 # defined symbols, whereas GNU nm marks them as "W".
9364 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9365 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9367 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9369 aix_use_runtimelinking
=no
9371 # Test if we are trying to use run time linking or normal
9372 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9373 # need to do runtime linking.
9374 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9375 for ld_flag
in $LDFLAGS; do
9376 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9377 aix_use_runtimelinking
=yes
9384 exp_sym_flag
='-bexport'
9385 no_entry_flag
='-bnoentry'
9388 # When large executables or shared objects are built, AIX ld can
9389 # have problems creating the table of contents. If linking a library
9390 # or program results in "error TOC overflow" add -mminimal-toc to
9391 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9392 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9396 hardcode_direct_absolute
=yes
9397 hardcode_libdir_separator
=':'
9398 link_all_deplibs
=yes
9399 file_list_spec
='${wl}-f,'
9401 if test "$GCC" = yes; then
9402 case $host_os in aix4.
[012]|aix4.
[012].
*)
9403 # We only want to do this on AIX 4.2 and lower, the check
9404 # below for broken collect2 doesn't work under 4.3+
9405 collect2name
=`${CC} -print-prog-name=collect2`
9406 if test -f "$collect2name" &&
9407 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9409 # We have reworked collect2
9412 # We have old collect2
9413 hardcode_direct
=unsupported
9414 # It fails to find uninstalled libraries when the uninstalled
9415 # path is not listed in the libpath. Setting hardcode_minus_L
9416 # to unsupported forces relinking
9417 hardcode_minus_L
=yes
9418 hardcode_libdir_flag_spec
='-L$libdir'
9419 hardcode_libdir_separator
=
9423 shared_flag
='-shared'
9424 if test "$aix_use_runtimelinking" = yes; then
9425 shared_flag
="$shared_flag "'${wl}-G'
9429 if test "$host_cpu" = ia64
; then
9430 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9431 # chokes on -Wl,-G. The following line is correct:
9434 if test "$aix_use_runtimelinking" = yes; then
9435 shared_flag
='${wl}-G'
9437 shared_flag
='${wl}-bM:SRE'
9442 export_dynamic_flag_spec
='${wl}-bexpall'
9443 # It seems that -bexpall does not export symbols beginning with
9444 # underscore (_), so it is better to generate a list of symbols to export.
9445 always_export_symbols
=yes
9446 if test "$aix_use_runtimelinking" = yes; then
9447 # Warning - without using the other runtime loading flags (-brtl),
9448 # -berok will link without error, but may produce a broken library.
9449 allow_undefined_flag
='-berok'
9450 # Determine the default libpath from the value encoded in an
9452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9453 /* end confdefs.h. */
9463 if ac_fn_c_try_link
"$LINENO"; then :
9465 lt_aix_libpath_sed
='
9466 /Import File Strings/,/^$/ {
9472 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9473 # Check for a 64-bit object if we didn't find anything.
9474 if test -z "$aix_libpath"; then
9475 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9478 rm -f core conftest.err conftest.
$ac_objext \
9479 conftest
$ac_exeext conftest.
$ac_ext
9480 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9482 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9483 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9485 if test "$host_cpu" = ia64
; then
9486 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9487 allow_undefined_flag
="-z nodefs"
9488 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"
9490 # Determine the default libpath from the value encoded in an
9492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9493 /* end confdefs.h. */
9503 if ac_fn_c_try_link
"$LINENO"; then :
9505 lt_aix_libpath_sed
='
9506 /Import File Strings/,/^$/ {
9512 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9513 # Check for a 64-bit object if we didn't find anything.
9514 if test -z "$aix_libpath"; then
9515 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9518 rm -f core conftest.err conftest.
$ac_objext \
9519 conftest
$ac_exeext conftest.
$ac_ext
9520 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9522 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9523 # Warning - without using the other run time loading flags,
9524 # -berok will link without error, but may produce a broken library.
9525 no_undefined_flag
=' ${wl}-bernotok'
9526 allow_undefined_flag
=' ${wl}-berok'
9527 if test "$with_gnu_ld" = yes; then
9528 # We only use this code for GNU lds that support --whole-archive.
9529 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9531 # Exported symbols can be pulled into shared objects from archives
9532 whole_archive_flag_spec
='$convenience'
9534 archive_cmds_need_lc
=yes
9535 # This is similar to how AIX traditionally builds its shared libraries.
9536 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'
9544 # see comment about AmigaOS4 .so support
9545 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9546 archive_expsym_cmds
=''
9549 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)'
9550 hardcode_libdir_flag_spec
='-L$libdir'
9551 hardcode_minus_L
=yes
9557 export_dynamic_flag_spec
=-rdynamic
9560 cygwin
* | mingw
* | pw32
* | cegcc
*)
9561 # When not using gcc, we currently assume that we are using
9562 # Microsoft Visual C++.
9563 # hardcode_libdir_flag_spec is actually meaningless, as there is
9564 # no search path for DLLs.
9565 hardcode_libdir_flag_spec
=' '
9566 allow_undefined_flag
=unsupported
9567 # Tell ltmain to make .lib files, not .a files.
9569 # Tell ltmain to make .dll files, not .so files.
9571 # FIXME: Setting linknames here is a bad hack.
9572 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9573 # The linker will automatically build a .lib file if we build a DLL.
9574 old_archive_from_new_cmds
='true'
9575 # FIXME: Should let the user specify the lib program.
9576 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9577 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9578 enable_shared_with_static_runtimes
=yes
9581 darwin
* | rhapsody
*)
9584 archive_cmds_need_lc
=no
9586 hardcode_automatic
=yes
9587 hardcode_shlibpath_var
=unsupported
9588 if test "$lt_cv_ld_force_load" = "yes"; then
9589 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9591 whole_archive_flag_spec
=''
9593 link_all_deplibs
=yes
9594 allow_undefined_flag
="$_lt_dar_allow_undefined"
9595 case $cc_basename in
9596 ifort
*) _lt_dar_can_shared
=yes ;;
9597 *) _lt_dar_can_shared
=$GCC ;;
9599 if test "$_lt_dar_can_shared" = "yes"; then
9600 output_verbose_link_cmd
=func_echo_all
9601 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9602 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9603 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9604 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9613 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9614 hardcode_libdir_flag_spec
='-L$libdir'
9615 hardcode_shlibpath_var
=no
9618 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9619 # support. Future versions do this automatically, but an explicit c++rt0.o
9620 # does not break anything, and helps significantly (at the cost of a little
9623 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9624 hardcode_libdir_flag_spec
='-R$libdir'
9626 hardcode_shlibpath_var
=no
9629 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9631 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9633 hardcode_minus_L
=yes
9634 hardcode_shlibpath_var
=no
9637 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9638 freebsd
* | dragonfly
*)
9639 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9640 hardcode_libdir_flag_spec
='-R$libdir'
9642 hardcode_shlibpath_var
=no
9646 if test "$GCC" = yes; then
9647 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'
9649 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'
9651 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9652 hardcode_libdir_separator
=:
9655 # hardcode_minus_L: Not really in the search PATH,
9656 # but as the default location of the library.
9657 hardcode_minus_L
=yes
9658 export_dynamic_flag_spec
='${wl}-E'
9662 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9663 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9665 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9667 if test "$with_gnu_ld" = no
; then
9668 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9669 hardcode_libdir_flag_spec_ld
='+b $libdir'
9670 hardcode_libdir_separator
=:
9672 hardcode_direct_absolute
=yes
9673 export_dynamic_flag_spec
='${wl}-E'
9674 # hardcode_minus_L: Not really in the search PATH,
9675 # but as the default location of the library.
9676 hardcode_minus_L
=yes
9681 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9684 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9687 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9690 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9696 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9699 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9703 # Older versions of the 11.00 compiler do not understand -b yet
9704 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9706 $as_echo_n "checking if $CC understands -b... " >&6; }
9707 if ${lt_cv_prog_compiler__b+:} false
; then :
9708 $as_echo_n "(cached) " >&6
9710 lt_cv_prog_compiler__b
=no
9711 save_LDFLAGS
="$LDFLAGS"
9712 LDFLAGS
="$LDFLAGS -b"
9713 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9714 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9715 # The linker can only warn and ignore the option if not recognized
9716 # So say no if there are warnings
9717 if test -s conftest.err
; then
9718 # Append any errors to the config.log.
9719 cat conftest.err
1>&5
9720 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9721 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9722 if diff conftest.exp conftest.er2
>/dev
/null
; then
9723 lt_cv_prog_compiler__b
=yes
9726 lt_cv_prog_compiler__b
=yes
9730 LDFLAGS
="$save_LDFLAGS"
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9734 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9736 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9737 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9739 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9745 if test "$with_gnu_ld" = no
; then
9746 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9747 hardcode_libdir_separator
=:
9752 hardcode_shlibpath_var
=no
9756 hardcode_direct_absolute
=yes
9757 export_dynamic_flag_spec
='${wl}-E'
9759 # hardcode_minus_L: Not really in the search PATH,
9760 # but as the default location of the library.
9761 hardcode_minus_L
=yes
9767 irix5
* | irix6
* | nonstopux
*)
9768 if test "$GCC" = yes; then
9769 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9770 # Try to use the -exported_symbol ld option, if it does not
9771 # work, assume that -exports_file does not work either and
9772 # implicitly export all symbols.
9773 save_LDFLAGS
="$LDFLAGS"
9774 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9776 /* end confdefs.h. */
9779 if ac_fn_c_try_link
"$LINENO"; then :
9780 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9783 rm -f core conftest.err conftest.
$ac_objext \
9784 conftest
$ac_exeext conftest.
$ac_ext
9785 LDFLAGS
="$save_LDFLAGS"
9787 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9788 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9790 archive_cmds_need_lc
='no'
9791 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9792 hardcode_libdir_separator
=:
9794 link_all_deplibs
=yes
9798 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9799 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9801 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9803 hardcode_libdir_flag_spec
='-R$libdir'
9805 hardcode_shlibpath_var
=no
9809 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9811 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9812 hardcode_libdir_separator
=:
9813 hardcode_shlibpath_var
=no
9820 if test -f /usr
/libexec
/ld.so
; then
9822 hardcode_shlibpath_var
=no
9823 hardcode_direct_absolute
=yes
9824 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9825 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9826 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9827 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9828 export_dynamic_flag_spec
='${wl}-E'
9831 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9832 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9833 hardcode_libdir_flag_spec
='-R$libdir'
9836 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9837 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9847 hardcode_libdir_flag_spec
='-L$libdir'
9848 hardcode_minus_L
=yes
9849 allow_undefined_flag
=unsupported
9850 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'
9851 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9855 if test "$GCC" = yes; then
9856 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9857 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9859 allow_undefined_flag
=' -expect_unresolved \*'
9860 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9862 archive_cmds_need_lc
='no'
9863 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9864 hardcode_libdir_separator
=:
9867 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9868 if test "$GCC" = yes; then
9869 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9870 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9871 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9873 allow_undefined_flag
=' -expect_unresolved \*'
9874 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9875 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~
9876 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9878 # Both c and cxx compiler support -rpath directly
9879 hardcode_libdir_flag_spec
='-rpath $libdir'
9881 archive_cmds_need_lc
='no'
9882 hardcode_libdir_separator
=:
9886 no_undefined_flag
=' -z defs'
9887 if test "$GCC" = yes; then
9889 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9890 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9891 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9893 case `$CC -V 2>&1` in
9896 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9897 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9898 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9902 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9903 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9904 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9908 hardcode_libdir_flag_spec
='-R$libdir'
9909 hardcode_shlibpath_var
=no
9911 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9913 # The compiler driver will combine and reorder linker options,
9914 # but understands `-z linker_flag'. GCC discards it without `$wl',
9915 # but is careful enough not to reorder.
9916 # Supported since Solaris 2.6 (maybe 2.5.1?)
9917 if test "$GCC" = yes; then
9918 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9920 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9924 link_all_deplibs
=yes
9928 if test "x$host_vendor" = xsequent
; then
9929 # Use $CC to link under sequent, because it throws in some extra .o
9930 # files that make .init and .fini sections work.
9931 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9933 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9935 hardcode_libdir_flag_spec
='-L$libdir'
9937 hardcode_minus_L
=yes
9938 hardcode_shlibpath_var
=no
9942 case $host_vendor in
9944 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9945 hardcode_direct
=yes # is this really true???
9948 ## LD is ld it makes a PLAMLIB
9949 ## CC just makes a GrossModule.
9950 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9951 reload_cmds
='$CC -r -o $output$reload_objs'
9955 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9956 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9959 runpath_var
='LD_RUN_PATH'
9960 hardcode_shlibpath_var
=no
9964 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9965 hardcode_shlibpath_var
=no
9966 export_dynamic_flag_spec
='-Bexport'
9970 if test -d /usr
/nec
; then
9971 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9972 hardcode_shlibpath_var
=no
9973 runpath_var
=LD_RUN_PATH
9974 hardcode_runpath_var
=yes
9979 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9980 no_undefined_flag
='${wl}-z,text'
9981 archive_cmds_need_lc
=no
9982 hardcode_shlibpath_var
=no
9983 runpath_var
='LD_RUN_PATH'
9985 if test "$GCC" = yes; then
9986 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9987 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9989 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9990 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9994 sysv5
* | sco3.2v5
* | sco5v6
*)
9995 # Note: We can NOT use -z defs as we might desire, because we do not
9996 # link with -lc, and that would cause any symbols used from libc to
9997 # always be unresolved, which means just about no library would
9998 # ever link correctly. If we're not using GNU ld we use -z text
9999 # though, which does catch some bad symbols but isn't as heavy-handed
10001 no_undefined_flag
='${wl}-z,text'
10002 allow_undefined_flag
='${wl}-z,nodefs'
10003 archive_cmds_need_lc
=no
10004 hardcode_shlibpath_var
=no
10005 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10006 hardcode_libdir_separator
=':'
10007 link_all_deplibs
=yes
10008 export_dynamic_flag_spec
='${wl}-Bexport'
10009 runpath_var
='LD_RUN_PATH'
10011 if test "$GCC" = yes; then
10012 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10013 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10015 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10016 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10021 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10022 hardcode_libdir_flag_spec
='-L$libdir'
10023 hardcode_shlibpath_var
=no
10031 if test x
$host_vendor = xsni
; then
10033 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10034 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10041 $as_echo "$ld_shlibs" >&6; }
10042 test "$ld_shlibs" = no
&& can_build_shared
=no
10044 with_gnu_ld
=$with_gnu_ld
10061 # Do we need to explicitly link libc?
10063 case "x$archive_cmds_need_lc" in
10065 # Assume -lc should be added
10066 archive_cmds_need_lc
=yes
10068 if test "$enable_shared" = yes && test "$GCC" = yes; then
10069 case $archive_cmds in
10071 # FIXME: we may have to deal with multi-command sequences.
10074 # Test whether the compiler implicitly links with -lc since on some
10075 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10076 # to ld, don't add -lc before -lgcc.
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10078 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10079 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10080 $as_echo_n "(cached) " >&6
10083 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10085 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10086 (eval $ac_compile) 2>&5
10088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10089 test $ac_status = 0; } 2>conftest.err
; then
10092 libobjs
=conftest.
$ac_objext
10094 wl
=$lt_prog_compiler_wl
10095 pic_flag
=$lt_prog_compiler_pic
10101 lt_save_allow_undefined_flag
=$allow_undefined_flag
10102 allow_undefined_flag
=
10103 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10104 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10107 test $ac_status = 0; }
10109 lt_cv_archive_cmds_need_lc
=no
10111 lt_cv_archive_cmds_need_lc
=yes
10113 allow_undefined_flag
=$lt_save_allow_undefined_flag
10115 cat conftest.err
1>&5
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10121 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10122 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10286 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10288 if test "$GCC" = yes; then
10290 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10291 *) lt_awk_arg
="/^libraries:/" ;;
10294 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10295 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10297 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10298 case $lt_search_path_spec in
10300 # if the path contains ";" then we assume it to be the separator
10301 # otherwise default to the standard path separator (i.e. ":") - it is
10302 # assumed that no part of a normal pathname contains ";" but that should
10303 # okay in the real world where ";" in dirpaths is itself problematic.
10304 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10307 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10310 # Ok, now we have the path, separated by spaces, we can step through it
10311 # and add multilib dir if necessary.
10312 lt_tmp_lt_search_path_spec
=
10313 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10314 for lt_sys_path
in $lt_search_path_spec; do
10315 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10316 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10318 test -d "$lt_sys_path" && \
10319 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10322 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10323 BEGIN {RS=" "; FS="/|\n";} {
10326 for (lt_i = NF; lt_i > 0; lt_i--) {
10327 if ($lt_i != "" && $lt_i != ".") {
10328 if ($lt_i == "..") {
10331 if (lt_count == 0) {
10332 lt_foo="/" $lt_i lt_foo;
10339 if (lt_foo != "") { lt_freq[lt_foo]++; }
10340 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10342 # AWK program above erroneously prepends '/' to C:/dos/paths
10345 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10346 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10348 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10350 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10352 library_names_spec
=
10353 libname_spec
='lib$name'
10357 postuninstall_cmds
=
10361 shlibpath_overrides_runpath
=unknown
10363 dynamic_linker
="$host_os ld.so"
10364 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10365 need_lib_prefix
=unknown
10366 hardcode_into_libs
=no
10368 # when you set need_version to no, make sure it does not cause -set_version
10369 # flags to be left without arguments
10370 need_version
=unknown
10375 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10376 shlibpath_var
=LIBPATH
10378 # AIX 3 has no versioning support, so we append a major version to the name.
10379 soname_spec
='${libname}${release}${shared_ext}$major'
10386 hardcode_into_libs
=yes
10387 if test "$host_cpu" = ia64
; then
10388 # AIX 5 supports IA64
10389 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10390 shlibpath_var
=LD_LIBRARY_PATH
10392 # With GCC up to 2.95.x, collect2 would create an import file
10393 # for dependence libraries. The import file would start with
10394 # the line `#! .'. This would cause the generated library to
10395 # depend on `.', always an invalid library. This was fixed in
10396 # development snapshots of GCC prior to 3.0.
10398 aix4 | aix4.
[01] | aix4.
[01].
*)
10399 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10401 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10404 can_build_shared
=no
10408 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10409 # soname into executable. Probably we can add versioning support to
10410 # collect2, so additional links can be useful in future.
10411 if test "$aix_use_runtimelinking" = yes; then
10412 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10413 # instead of lib<name>.a to let people know that these are not
10414 # typical AIX shared libraries.
10415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10417 # We preserve .a as extension for shared libraries through AIX4.2
10418 # and later when we are not doing run time linking.
10419 library_names_spec
='${libname}${release}.a $libname.a'
10420 soname_spec
='${libname}${release}${shared_ext}$major'
10422 shlibpath_var
=LIBPATH
10429 # Since July 2007 AmigaOS4 officially supports .so libraries.
10430 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10431 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10434 library_names_spec
='$libname.ixlibrary $libname.a'
10435 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10436 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10442 library_names_spec
='${libname}${shared_ext}'
10443 dynamic_linker
="$host_os ld.so"
10444 shlibpath_var
=LIBRARY_PATH
10450 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10451 soname_spec
='${libname}${release}${shared_ext}$major'
10452 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10453 shlibpath_var
=LD_LIBRARY_PATH
10454 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10455 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10456 # the default ld.so.conf also contains /usr/contrib/lib and
10457 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10458 # libtool to hard-code these into programs
10461 cygwin
* | mingw
* | pw32
* | cegcc
*)
10462 version_type
=windows
10467 case $GCC,$host_os in
10468 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10469 library_names_spec
='$libname.dll.a'
10470 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10471 postinstall_cmds
='base_file=`basename \${file}`~
10472 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10473 dldir=$destdir/`dirname \$dlpath`~
10474 test -d \$dldir || mkdir -p \$dldir~
10475 $install_prog $dir/$dlname \$dldir/$dlname~
10476 chmod a+x \$dldir/$dlname~
10477 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10478 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10480 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10481 dlpath=$dir/\$dldll~
10483 shlibpath_overrides_runpath
=yes
10487 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10488 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10490 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10493 # MinGW DLLs use traditional 'lib' prefix
10494 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10497 # pw32 DLLs use 'pw' prefix rather than 'lib'
10498 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10504 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10507 dynamic_linker
='Win32 ld.exe'
10508 # FIXME: first we should search . and the directory the executable is in
10512 darwin
* | rhapsody
*)
10513 dynamic_linker
="$host_os dyld"
10514 version_type
=darwin
10517 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10518 soname_spec
='${libname}${release}${major}$shared_ext'
10519 shlibpath_overrides_runpath
=yes
10520 shlibpath_var
=DYLD_LIBRARY_PATH
10521 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10523 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10524 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10532 soname_spec
='${libname}${release}${shared_ext}$major'
10533 shlibpath_var
=LD_LIBRARY_PATH
10536 freebsd
* | dragonfly
*)
10537 # DragonFly does not have aout. When/if they implement a new
10538 # versioning mechanism, adjust this.
10539 if test -x /usr
/bin
/objformat
; then
10540 objformat
=`/usr/bin/objformat`
10543 freebsd
[23].
*) objformat
=aout
;;
10544 *) objformat
=elf
;;
10547 version_type
=freebsd-
$objformat
10548 case $version_type in
10550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10555 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10559 shlibpath_var
=LD_LIBRARY_PATH
10562 shlibpath_overrides_runpath
=yes
10564 freebsd3.
[01]* | freebsdelf3.
[01]*)
10565 shlibpath_overrides_runpath
=yes
10566 hardcode_into_libs
=yes
10568 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10569 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10570 shlibpath_overrides_runpath
=no
10571 hardcode_into_libs
=yes
10573 *) # from 4.6 on, and DragonFly
10574 shlibpath_overrides_runpath
=yes
10575 hardcode_into_libs
=yes
10584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10585 soname_spec
='${libname}${release}${shared_ext}$major'
10586 shlibpath_var
=LD_LIBRARY_PATH
10587 hardcode_into_libs
=yes
10594 dynamic_linker
="$host_os runtime_loader"
10595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10596 soname_spec
='${libname}${release}${shared_ext}$major'
10597 shlibpath_var
=LIBRARY_PATH
10598 shlibpath_overrides_runpath
=yes
10599 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10600 hardcode_into_libs
=yes
10603 hpux9
* | hpux10
* | hpux11
*)
10604 # Give a soname corresponding to the major version so that dld.sl refuses to
10605 # link against other versions.
10612 hardcode_into_libs
=yes
10613 dynamic_linker
="$host_os dld.so"
10614 shlibpath_var
=LD_LIBRARY_PATH
10615 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10617 soname_spec
='${libname}${release}${shared_ext}$major'
10618 if test "X$HPUX_IA64_MODE" = X32
; then
10619 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10621 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10623 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10627 hardcode_into_libs
=yes
10628 dynamic_linker
="$host_os dld.sl"
10629 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10630 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10632 soname_spec
='${libname}${release}${shared_ext}$major'
10633 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10634 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10638 dynamic_linker
="$host_os dld.sl"
10639 shlibpath_var
=SHLIB_PATH
10640 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10641 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10642 soname_spec
='${libname}${release}${shared_ext}$major'
10645 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10646 postinstall_cmds
='chmod 555 $lib'
10647 # or fails outright, so override atomically:
10648 install_override_mode
=555
10655 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10656 soname_spec
='${libname}${release}${shared_ext}$major'
10657 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10658 shlibpath_var
=LD_LIBRARY_PATH
10659 shlibpath_overrides_runpath
=no
10660 hardcode_into_libs
=yes
10663 irix5
* | irix6
* | nonstopux
*)
10665 nonstopux
*) version_type
=nonstopux
;;
10667 if test "$lt_cv_prog_gnu_ld" = yes; then
10675 soname_spec
='${libname}${release}${shared_ext}$major'
10676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10678 irix5
* | nonstopux
*)
10679 libsuff
= shlibsuff
=
10682 case $LD in # libtool.m4 will add one of these switches to LD
10683 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10684 libsuff
= shlibsuff
= libmagic
=32-bit;;
10685 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10686 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10687 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10688 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10689 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10693 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10694 shlibpath_overrides_runpath
=no
10695 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10696 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10697 hardcode_into_libs
=yes
10700 # No shared lib support for Linux oldld, aout, or coff.
10701 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10705 # This must be Linux ELF.
10706 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10710 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10711 soname_spec
='${libname}${release}${shared_ext}$major'
10712 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10713 shlibpath_var
=LD_LIBRARY_PATH
10714 shlibpath_overrides_runpath
=no
10716 # Some binutils ld are patched to set DT_RUNPATH
10717 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10718 $as_echo_n "(cached) " >&6
10720 lt_cv_shlibpath_overrides_runpath
=no
10721 save_LDFLAGS
=$LDFLAGS
10722 save_libdir
=$libdir
10723 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10724 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10726 /* end confdefs.h. */
10736 if ac_fn_c_try_link
"$LINENO"; then :
10737 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10738 lt_cv_shlibpath_overrides_runpath
=yes
10741 rm -f core conftest.err conftest.
$ac_objext \
10742 conftest
$ac_exeext conftest.
$ac_ext
10743 LDFLAGS
=$save_LDFLAGS
10744 libdir
=$save_libdir
10748 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10750 # This implies no fast_install, which is unacceptable.
10751 # Some rework will be needed to allow for fast_install
10752 # before this can be enabled.
10753 hardcode_into_libs
=yes
10755 # Append ld.so.conf contents to the search path
10756 if test -f /etc
/ld.so.conf
; then
10757 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10758 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10761 # We used to test for /lib/ld.so.1 and disable shared libraries on
10762 # powerpc, because MkLinux only supported shared libraries with the
10763 # GNU dynamic linker. Since this was broken with cross compilers,
10764 # most powerpc-linux boxes support dynamic linking these days and
10765 # people can always --disable-shared, the test was removed, and we
10766 # assume the GNU/Linux dynamic linker is in use.
10767 dynamic_linker
='GNU/Linux ld.so'
10774 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10776 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10777 dynamic_linker
='NetBSD (a.out) ld.so'
10779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10780 soname_spec
='${libname}${release}${shared_ext}$major'
10781 dynamic_linker
='NetBSD ld.elf_so'
10783 shlibpath_var
=LD_LIBRARY_PATH
10784 shlibpath_overrides_runpath
=yes
10785 hardcode_into_libs
=yes
10790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10791 shlibpath_var
=LD_LIBRARY_PATH
10792 shlibpath_overrides_runpath
=yes
10799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10800 soname_spec
='${libname}${release}${shared_ext}$major'
10801 shlibpath_var
=LD_LIBRARY_PATH
10802 shlibpath_overrides_runpath
=no
10803 hardcode_into_libs
=yes
10804 dynamic_linker
='ldqnx.so'
10809 sys_lib_dlsearch_path_spec
="/usr/lib"
10811 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10813 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10814 *) need_version
=no
;;
10816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10817 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10818 shlibpath_var
=LD_LIBRARY_PATH
10819 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10821 openbsd2.
[89] | openbsd2.
[89].
*)
10822 shlibpath_overrides_runpath
=no
10825 shlibpath_overrides_runpath
=yes
10829 shlibpath_overrides_runpath
=yes
10834 libname_spec
='$name'
10837 library_names_spec
='$libname${shared_ext} $libname.a'
10838 dynamic_linker
='OS/2 ld.exe'
10839 shlibpath_var
=LIBPATH
10842 osf3
* | osf4
* | osf5
*)
10846 soname_spec
='${libname}${release}${shared_ext}$major'
10847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10848 shlibpath_var
=LD_LIBRARY_PATH
10849 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10850 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10862 soname_spec
='${libname}${release}${shared_ext}$major'
10863 shlibpath_var
=LD_LIBRARY_PATH
10864 shlibpath_overrides_runpath
=yes
10865 hardcode_into_libs
=yes
10866 # ldd complains unless libraries are executable
10867 postinstall_cmds
='chmod +x $lib'
10872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10873 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10874 shlibpath_var
=LD_LIBRARY_PATH
10875 shlibpath_overrides_runpath
=yes
10876 if test "$with_gnu_ld" = yes; then
10884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10885 soname_spec
='${libname}${release}${shared_ext}$major'
10886 shlibpath_var
=LD_LIBRARY_PATH
10887 case $host_vendor in
10889 shlibpath_overrides_runpath
=no
10891 runpath_var
=LD_RUN_PATH
10899 shlibpath_overrides_runpath
=no
10900 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10906 if test -d /usr
/nec
;then
10908 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10909 soname_spec
='$libname${shared_ext}.$major'
10910 shlibpath_var
=LD_LIBRARY_PATH
10914 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10915 version_type
=freebsd-elf
10918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10919 soname_spec
='${libname}${release}${shared_ext}$major'
10920 shlibpath_var
=LD_LIBRARY_PATH
10921 shlibpath_overrides_runpath
=yes
10922 hardcode_into_libs
=yes
10923 if test "$with_gnu_ld" = yes; then
10924 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10926 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10929 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10933 sys_lib_dlsearch_path_spec
='/usr/lib'
10937 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10942 shlibpath_var
=LD_LIBRARY_PATH
10943 shlibpath_overrides_runpath
=no
10944 hardcode_into_libs
=yes
10949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10950 soname_spec
='${libname}${release}${shared_ext}$major'
10951 shlibpath_var
=LD_LIBRARY_PATH
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10959 $as_echo "$dynamic_linker" >&6; }
10960 test "$dynamic_linker" = no
&& can_build_shared
=no
10962 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10963 if test "$GCC" = yes; then
10964 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10967 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10968 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10970 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10971 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11066 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11068 if test -n "$hardcode_libdir_flag_spec" ||
11069 test -n "$runpath_var" ||
11070 test "X$hardcode_automatic" = "Xyes" ; then
11072 # We can hardcode non-existent directories.
11073 if test "$hardcode_direct" != no
&&
11074 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11075 # have to relink, otherwise we might link with an installed library
11076 # when we should be linking with a yet-to-be-installed one
11077 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11078 test "$hardcode_minus_L" != no
; then
11079 # Linking always hardcodes the temporary library directory.
11080 hardcode_action
=relink
11082 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11083 hardcode_action
=immediate
11086 # We cannot hardcode anything, or else we can only hardcode existing
11088 hardcode_action
=unsupported
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11091 $as_echo "$hardcode_action" >&6; }
11093 if test "$hardcode_action" = relink ||
11094 test "$inherit_rpath" = yes; then
11095 # Fast installation is not supported
11096 enable_fast_install
=no
11097 elif test "$shlibpath_overrides_runpath" = yes ||
11098 test "$enable_shared" = no
; then
11099 # Fast installation is not necessary
11100 enable_fast_install
=needless
11108 if test "x$enable_dlopen" != xyes
; then
11109 enable_dlopen
=unknown
11110 enable_dlopen_self
=unknown
11111 enable_dlopen_self_static
=unknown
11118 lt_cv_dlopen
="load_add_on"
11120 lt_cv_dlopen_self
=yes
11123 mingw
* | pw32
* | cegcc
*)
11124 lt_cv_dlopen
="LoadLibrary"
11129 lt_cv_dlopen
="dlopen"
11134 # if libdl is installed we need to link against it
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11136 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11137 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11138 $as_echo_n "(cached) " >&6
11140 ac_check_lib_save_LIBS
=$LIBS
11142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11143 /* end confdefs.h. */
11145 /* Override any GCC internal prototype to avoid an error.
11146 Use char because int might match the return type of a GCC
11147 builtin and then its argument prototype would still apply. */
11160 if ac_fn_c_try_link
"$LINENO"; then :
11161 ac_cv_lib_dl_dlopen
=yes
11163 ac_cv_lib_dl_dlopen
=no
11165 rm -f core conftest.err conftest.
$ac_objext \
11166 conftest
$ac_exeext conftest.
$ac_ext
11167 LIBS
=$ac_check_lib_save_LIBS
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11170 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11171 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11172 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11175 lt_cv_dlopen
="dyld"
11177 lt_cv_dlopen_self
=yes
11184 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11185 if test "x$ac_cv_func_shl_load" = xyes
; then :
11186 lt_cv_dlopen
="shl_load"
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11189 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11190 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11191 $as_echo_n "(cached) " >&6
11193 ac_check_lib_save_LIBS
=$LIBS
11195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11196 /* end confdefs.h. */
11198 /* Override any GCC internal prototype to avoid an error.
11199 Use char because int might match the return type of a GCC
11200 builtin and then its argument prototype would still apply. */
11208 return shl_load ();
11213 if ac_fn_c_try_link
"$LINENO"; then :
11214 ac_cv_lib_dld_shl_load
=yes
11216 ac_cv_lib_dld_shl_load
=no
11218 rm -f core conftest.err conftest.
$ac_objext \
11219 conftest
$ac_exeext conftest.
$ac_ext
11220 LIBS
=$ac_check_lib_save_LIBS
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11223 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11224 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11225 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11227 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11228 if test "x$ac_cv_func_dlopen" = xyes
; then :
11229 lt_cv_dlopen
="dlopen"
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11232 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11233 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11234 $as_echo_n "(cached) " >&6
11236 ac_check_lib_save_LIBS
=$LIBS
11238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h. */
11241 /* Override any GCC internal prototype to avoid an error.
11242 Use char because int might match the return type of a GCC
11243 builtin and then its argument prototype would still apply. */
11256 if ac_fn_c_try_link
"$LINENO"; then :
11257 ac_cv_lib_dl_dlopen
=yes
11259 ac_cv_lib_dl_dlopen
=no
11261 rm -f core conftest.err conftest.
$ac_objext \
11262 conftest
$ac_exeext conftest.
$ac_ext
11263 LIBS
=$ac_check_lib_save_LIBS
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11266 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11267 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11268 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11271 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11272 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11273 $as_echo_n "(cached) " >&6
11275 ac_check_lib_save_LIBS
=$LIBS
11276 LIBS
="-lsvld $LIBS"
11277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11278 /* end confdefs.h. */
11280 /* Override any GCC internal prototype to avoid an error.
11281 Use char because int might match the return type of a GCC
11282 builtin and then its argument prototype would still apply. */
11295 if ac_fn_c_try_link
"$LINENO"; then :
11296 ac_cv_lib_svld_dlopen
=yes
11298 ac_cv_lib_svld_dlopen
=no
11300 rm -f core conftest.err conftest.
$ac_objext \
11301 conftest
$ac_exeext conftest.
$ac_ext
11302 LIBS
=$ac_check_lib_save_LIBS
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11305 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11306 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11307 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11310 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11311 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11312 $as_echo_n "(cached) " >&6
11314 ac_check_lib_save_LIBS
=$LIBS
11316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11317 /* end confdefs.h. */
11319 /* Override any GCC internal prototype to avoid an error.
11320 Use char because int might match the return type of a GCC
11321 builtin and then its argument prototype would still apply. */
11329 return dld_link ();
11334 if ac_fn_c_try_link
"$LINENO"; then :
11335 ac_cv_lib_dld_dld_link
=yes
11337 ac_cv_lib_dld_dld_link
=no
11339 rm -f core conftest.err conftest.
$ac_objext \
11340 conftest
$ac_exeext conftest.
$ac_ext
11341 LIBS
=$ac_check_lib_save_LIBS
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11344 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11345 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11346 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11367 if test "x$lt_cv_dlopen" != xno
; then
11373 case $lt_cv_dlopen in
11375 save_CPPFLAGS
="$CPPFLAGS"
11376 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11378 save_LDFLAGS
="$LDFLAGS"
11379 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11382 LIBS
="$lt_cv_dlopen_libs $LIBS"
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11385 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11386 if ${lt_cv_dlopen_self+:} false
; then :
11387 $as_echo_n "(cached) " >&6
11389 if test "$cross_compiling" = yes; then :
11390 lt_cv_dlopen_self
=cross
11392 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11393 lt_status
=$lt_dlunknown
11394 cat > conftest.
$ac_ext <<_LT_EOF
11395 #line 11395 "configure"
11396 #include "confdefs.h"
11405 # define LT_DLGLOBAL RTLD_GLOBAL
11408 # define LT_DLGLOBAL DL_GLOBAL
11410 # define LT_DLGLOBAL 0
11414 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11415 find out it does not work in some platform. */
11416 #ifndef LT_DLLAZY_OR_NOW
11418 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11421 # define LT_DLLAZY_OR_NOW DL_LAZY
11424 # define LT_DLLAZY_OR_NOW RTLD_NOW
11427 # define LT_DLLAZY_OR_NOW DL_NOW
11429 # define LT_DLLAZY_OR_NOW 0
11436 /* When -fvisbility=hidden is used, assume the code has been annotated
11437 correspondingly for the symbols needed. */
11438 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11439 void fnord () __attribute__((visibility("default")));
11442 void fnord () { int i=42; }
11445 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11446 int status = $lt_dlunknown;
11450 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11453 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11454 else puts (dlerror ());
11456 /* dlclose (self); */
11464 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11465 (eval $ac_link) 2>&5
11467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11468 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11469 (.
/conftest
; exit; ) >&5 2>/dev
/null
11471 case x
$lt_status in
11472 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11473 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11474 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11477 # compilation failed
11478 lt_cv_dlopen_self
=no
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11486 $as_echo "$lt_cv_dlopen_self" >&6; }
11488 if test "x$lt_cv_dlopen_self" = xyes
; then
11489 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11491 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11492 if ${lt_cv_dlopen_self_static+:} false
; then :
11493 $as_echo_n "(cached) " >&6
11495 if test "$cross_compiling" = yes; then :
11496 lt_cv_dlopen_self_static
=cross
11498 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11499 lt_status
=$lt_dlunknown
11500 cat > conftest.
$ac_ext <<_LT_EOF
11501 #line 11501 "configure"
11502 #include "confdefs.h"
11511 # define LT_DLGLOBAL RTLD_GLOBAL
11514 # define LT_DLGLOBAL DL_GLOBAL
11516 # define LT_DLGLOBAL 0
11520 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11521 find out it does not work in some platform. */
11522 #ifndef LT_DLLAZY_OR_NOW
11524 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11527 # define LT_DLLAZY_OR_NOW DL_LAZY
11530 # define LT_DLLAZY_OR_NOW RTLD_NOW
11533 # define LT_DLLAZY_OR_NOW DL_NOW
11535 # define LT_DLLAZY_OR_NOW 0
11542 /* When -fvisbility=hidden is used, assume the code has been annotated
11543 correspondingly for the symbols needed. */
11544 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11545 void fnord () __attribute__((visibility("default")));
11548 void fnord () { int i=42; }
11551 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11552 int status = $lt_dlunknown;
11556 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11559 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11560 else puts (dlerror ());
11562 /* dlclose (self); */
11570 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11571 (eval $ac_link) 2>&5
11573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11574 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11575 (.
/conftest
; exit; ) >&5 2>/dev
/null
11577 case x
$lt_status in
11578 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11579 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11580 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11583 # compilation failed
11584 lt_cv_dlopen_self_static
=no
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11592 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11595 CPPFLAGS
="$save_CPPFLAGS"
11596 LDFLAGS
="$save_LDFLAGS"
11601 case $lt_cv_dlopen_self in
11602 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11603 *) enable_dlopen_self
=unknown
;;
11606 case $lt_cv_dlopen_self_static in
11607 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11608 *) enable_dlopen_self_static
=unknown
;;
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11631 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11632 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11633 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11634 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11636 $as_echo "yes" >&6; }
11638 # FIXME - insert some real tests, host_os isn't really good enough
11641 if test -n "$STRIP" ; then
11642 striplib
="$STRIP -x"
11643 old_striplib
="$STRIP -S"
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11645 $as_echo "yes" >&6; }
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11648 $as_echo "no" >&6; }
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11653 $as_echo "no" >&6; }
11669 # Report which library types will actually be built
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11671 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11673 $as_echo "$can_build_shared" >&6; }
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11676 $as_echo_n "checking whether to build shared libraries... " >&6; }
11677 test "$can_build_shared" = "no" && enable_shared
=no
11679 # On AIX, shared libraries and static libraries use the same namespace, and
11680 # are all built from PIC.
11683 test "$enable_shared" = yes && enable_static
=no
11684 if test -n "$RANLIB"; then
11685 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11686 postinstall_cmds
='$RANLIB $lib'
11691 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11692 test "$enable_shared" = yes && enable_static
=no
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11697 $as_echo "$enable_shared" >&6; }
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11700 $as_echo_n "checking whether to build static libraries... " >&6; }
11701 # Make sure either enable_shared or enable_static is yes.
11702 test "$enable_shared" = yes || enable_static
=yes
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11704 $as_echo "$enable_static" >&6; }
11711 ac_cpp
='$CPP $CPPFLAGS'
11712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11730 ac_config_commands
="$ac_config_commands libtool"
11735 # Only expand once:
11742 *-cygwin* |
*-mingw*)
11743 # 'host' will be top-level target in the case of a target lib,
11744 # we must compare to with_cross_host to decide if this is a native
11745 # or cross-compiler and select where to install dlls appropriately.
11746 if test -n "$with_cross_host" &&
11747 test x
"$with_cross_host" != x
"no"; then
11748 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
11750 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11765 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11766 # Check whether --enable-maintainer-mode was given.
11767 if test "${enable_maintainer_mode+set}" = set; then :
11768 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
11770 USE_MAINTAINER_MODE
=no
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11774 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11775 if test $USE_MAINTAINER_MODE = yes; then
11776 MAINTAINER_MODE_TRUE
=
11777 MAINTAINER_MODE_FALSE
='#'
11779 MAINTAINER_MODE_TRUE
='#'
11780 MAINTAINER_MODE_FALSE
=
11783 MAINT
=$MAINTAINER_MODE_TRUE
11787 # Create a spec file, so that compile/link tests don't fail
11788 test -f libgfortran.spec ||
touch libgfortran.spec
11789 FCFLAGS
="$FCFLAGS -L."
11791 # We need gfortran to compile parts of the library
11792 # We can't use AC_PROG_FC because it expects a fully working gfortran.
11793 #AC_PROG_FC(gfortran)
11794 case `echo $GFORTRAN` in
11798 set dummy
$GFORTRAN; ac_word
=$2
11799 if test -x "$ac_word"; then
11805 ac_ext
=${ac_fc_srcext-f}
11806 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11807 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11808 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
11809 if test -n "$ac_tool_prefix"; then
11810 for ac_prog
in gfortran
11812 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11813 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11815 $as_echo_n "checking for $ac_word... " >&6; }
11816 if ${ac_cv_prog_FC+:} false
; then :
11817 $as_echo_n "(cached) " >&6
11819 if test -n "$FC"; then
11820 ac_cv_prog_FC
="$FC" # Let the user override the test.
11822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11823 for as_dir
in $PATH
11826 test -z "$as_dir" && as_dir
=.
11827 for ac_exec_ext
in '' $ac_executable_extensions; do
11828 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11829 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
11830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11840 if test -n "$FC"; then
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11842 $as_echo "$FC" >&6; }
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11845 $as_echo "no" >&6; }
11849 test -n "$FC" && break
11852 if test -z "$FC"; then
11854 for ac_prog
in gfortran
11856 # Extract the first word of "$ac_prog", so it can be a program name with args.
11857 set dummy
$ac_prog; ac_word
=$2
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11859 $as_echo_n "checking for $ac_word... " >&6; }
11860 if ${ac_cv_prog_ac_ct_FC+:} false
; then :
11861 $as_echo_n "(cached) " >&6
11863 if test -n "$ac_ct_FC"; then
11864 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
11866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11867 for as_dir
in $PATH
11870 test -z "$as_dir" && as_dir
=.
11871 for ac_exec_ext
in '' $ac_executable_extensions; do
11872 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11873 ac_cv_prog_ac_ct_FC
="$ac_prog"
11874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11883 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
11884 if test -n "$ac_ct_FC"; then
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11886 $as_echo "$ac_ct_FC" >&6; }
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11889 $as_echo "no" >&6; }
11893 test -n "$ac_ct_FC" && break
11896 if test "x$ac_ct_FC" = x
; then
11899 case $cross_compiling:$ac_tool_warned in
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11903 ac_tool_warned
=yes ;;
11910 # Provide some information about the compiler.
11911 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11914 for ac_option
in --version -v -V -qversion; do
11915 { { ac_try
="$ac_compiler $ac_option >&5"
11916 case "(($ac_try" in
11917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11918 *) ac_try_echo=$ac_try;;
11920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11921 $as_echo "$ac_try_echo"; } >&5
11922 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11924 if test -s conftest.err; then
11926 ... rest of stderr output deleted ...
11927 10q' conftest.err >conftest.er1
11928 cat conftest.er1 >&5
11930 rm -f conftest.er1 conftest.err
11931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11932 test $ac_status = 0; }
11936 # If we don't use `.F
' as extension, the preprocessor is not run on the
11937 # input file. (Note that this only needs to work for GNU compilers.)
11938 ac_save_ext=$ac_ext
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11941 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11942 if ${ac_cv_fc_compiler_gnu+:} false; then :
11943 $as_echo_n "(cached) " >&6
11945 cat > conftest.$ac_ext <<_ACEOF
11953 if ac_fn_fc_try_compile "$LINENO"; then :
11954 ac_compiler_gnu=yes
11958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11959 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11963 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11964 ac_ext=$ac_save_ext
11965 ac_test_FCFLAGS=${FCFLAGS+set}
11966 ac_save_FCFLAGS=$FCFLAGS
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11969 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11970 if ${ac_cv_prog_fc_g+:} false; then :
11971 $as_echo_n "(cached) " >&6
11974 cat > conftest.$ac_ext <<_ACEOF
11979 if ac_fn_fc_try_compile "$LINENO"; then :
11980 ac_cv_prog_fc_g=yes
11984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11988 $as_echo "$ac_cv_prog_fc_g" >&6; }
11989 if test "$ac_test_FCFLAGS" = set; then
11990 FCFLAGS=$ac_save_FCFLAGS
11991 elif test $ac_cv_prog_fc_g = yes; then
11992 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11998 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12005 if test $ac_compiler_gnu = yes; then
12011 ac_cpp='$CPP $CPPFLAGS'
12012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12013 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12016 ac_ext=${ac_fc_srcext-f}
12017 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
12018 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
12019 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12022 if test -z "$FC" || test "X$FC" = "Xno"; then
12026 archive_cmds_need_lc_FC=no
12027 allow_undefined_flag_FC=
12028 always_export_symbols_FC=no
12029 archive_expsym_cmds_FC=
12030 export_dynamic_flag_spec_FC=
12031 hardcode_direct_FC=no
12032 hardcode_direct_absolute_FC=no
12033 hardcode_libdir_flag_spec_FC=
12034 hardcode_libdir_flag_spec_ld_FC=
12035 hardcode_libdir_separator_FC=
12036 hardcode_minus_L_FC=no
12037 hardcode_automatic_FC=no
12038 inherit_rpath_FC=no
12040 module_expsym_cmds_FC=
12041 link_all_deplibs_FC=unknown
12042 old_archive_cmds_FC=$old_archive_cmds
12043 reload_flag_FC=$reload_flag
12044 reload_cmds_FC=$reload_cmds
12045 no_undefined_flag_FC=
12046 whole_archive_flag_spec_FC=
12047 enable_shared_with_static_runtimes_FC=no
12049 # Source file extension for fc test sources.
12050 ac_ext=${ac_fc_srcext-f}
12052 # Object file extension for compiled fc test sources.
12056 # No sense in running all these tests if we already determined that
12057 # the FC compiler isn't working. Some variables
(like enable_shared
)
12058 # are currently assumed to apply to all compilers on this platform,
12059 # and will be corrupted by setting them based on a non-working compiler.
12060 if test "$_lt_disable_FC" != yes; then
12061 # Code to be used in simple compile tests
12062 lt_simple_compile_test_code
="\
12068 # Code to be used in simple link tests
12069 lt_simple_link_test_code
="\
12074 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12081 # If no C compiler was specified, use CC.
12084 # If no C compiler flags were specified, use CFLAGS.
12085 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12087 # Allow CC to be a program name with arguments.
12091 # save warnings/boilerplate of simple test code
12092 ac_outfile
=conftest.
$ac_objext
12093 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12094 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12095 _lt_compiler_boilerplate
=`cat conftest.err`
12098 ac_outfile
=conftest.
$ac_objext
12099 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12100 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12101 _lt_linker_boilerplate
=`cat conftest.err`
12105 # Allow CC to be a program name with arguments.
12110 GCC
=$ac_cv_fc_compiler_gnu
12113 for cc_temp
in $compiler""; do
12115 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12116 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12121 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12124 if test -n "$compiler"; then
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12126 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12128 $as_echo "$can_build_shared" >&6; }
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12131 $as_echo_n "checking whether to build shared libraries... " >&6; }
12132 test "$can_build_shared" = "no" && enable_shared
=no
12134 # On AIX, shared libraries and static libraries use the same namespace, and
12135 # are all built from PIC.
12138 test "$enable_shared" = yes && enable_static
=no
12139 if test -n "$RANLIB"; then
12140 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12141 postinstall_cmds
='$RANLIB $lib'
12145 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12146 test "$enable_shared" = yes && enable_static
=no
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12151 $as_echo "$enable_shared" >&6; }
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12154 $as_echo_n "checking whether to build static libraries... " >&6; }
12155 # Make sure either enable_shared or enable_static is yes.
12156 test "$enable_shared" = yes || enable_static
=yes
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12158 $as_echo "$enable_static" >&6; }
12160 GCC_FC
="$ac_cv_fc_compiler_gnu"
12164 ## There is no encapsulation within the following macros, do not change
12165 ## the running order or otherwise move them around unless you know exactly
12166 ## what you are doing...
12167 # Dependencies to place before and after the object being linked:
12169 postdep_objects_FC
=
12172 compiler_lib_search_path_FC
=
12174 cat > conftest.
$ac_ext <<_LT_EOF
12183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12184 (eval $ac_compile) 2>&5
12186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12187 test $ac_status = 0; }; then
12188 # Parse the compiler output and extract the necessary
12189 # objects, libraries and library flags.
12191 # Sentinel used to keep track of whether or not we are before
12192 # the conftest object file.
12193 pre_test_object_deps_done
=no
12195 for p
in `eval "$output_verbose_link_cmd"`; do
12199 # Some compilers place space between "-{L,R}" and the path.
12200 # Remove the space.
12201 if test $p = "-L" ||
12202 test $p = "-R"; then
12209 if test "$pre_test_object_deps_done" = no
; then
12212 # Internal compiler library paths should come after those
12213 # provided the user. The postdeps already come after the
12214 # user supplied libs so there is no need to process them.
12215 if test -z "$compiler_lib_search_path_FC"; then
12216 compiler_lib_search_path_FC
="${prev}${p}"
12218 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
12221 # The "-l" case would never come before the object being
12222 # linked, so don't bother handling this case.
12225 if test -z "$postdeps_FC"; then
12226 postdeps_FC
="${prev}${p}"
12228 postdeps_FC
="${postdeps_FC} ${prev}${p}"
12234 # This assumes that the test object file only shows up
12235 # once in the compiler output.
12236 if test "$p" = "conftest.$objext"; then
12237 pre_test_object_deps_done
=yes
12241 if test "$pre_test_object_deps_done" = no
; then
12242 if test -z "$predep_objects_FC"; then
12243 predep_objects_FC
="$p"
12245 predep_objects_FC
="$predep_objects_FC $p"
12248 if test -z "$postdep_objects_FC"; then
12249 postdep_objects_FC
="$p"
12251 postdep_objects_FC
="$postdep_objects_FC $p"
12256 *) ;; # Ignore the rest.
12264 echo "libtool.m4: error: problem compiling FC test program"
12267 $RM -f confest.
$objext
12269 # PORTME: override above test on systems where it is broken
12272 case " $postdeps_FC " in
12273 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
12275 compiler_lib_search_dirs_FC
=
12276 if test -n "${compiler_lib_search_path_FC}"; then
12277 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12310 lt_prog_compiler_wl_FC
=
12311 lt_prog_compiler_pic_FC
=
12312 lt_prog_compiler_static_FC
=
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12315 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12317 if test "$GCC" = yes; then
12318 lt_prog_compiler_wl_FC
='-Wl,'
12319 lt_prog_compiler_static_FC
='-static'
12323 # All AIX code is PIC.
12324 if test "$host_cpu" = ia64
; then
12325 # AIX 5 now supports IA64 processor
12326 lt_prog_compiler_static_FC
='-Bstatic'
12328 lt_prog_compiler_pic_FC
='-fPIC'
12334 # see comment about AmigaOS4 .so support
12335 lt_prog_compiler_pic_FC
='-fPIC'
12338 # FIXME: we need at least 68020 code to build shared libraries, but
12339 # adding the `-m68020' flag to GCC prevents building anything better,
12341 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
12346 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12347 # PIC is the default for these OSes.
12350 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12351 # This hack is so that the source file can tell whether it is being
12352 # built for inclusion in a dll (and should export symbols for example).
12353 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12354 # (--disable-auto-import) libraries
12355 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
12358 darwin
* | rhapsody
*)
12359 # PIC is the default on this platform
12360 # Common symbols not allowed in MH_DYLIB files
12361 lt_prog_compiler_pic_FC
='-fno-common'
12365 # PIC is the default for Haiku.
12366 # The "-static" flag exists, but is broken.
12367 lt_prog_compiler_static_FC
=
12371 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12372 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12373 # sets the default TLS model and affects inlining.
12379 lt_prog_compiler_pic_FC
='-fPIC'
12385 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12386 # Instead, we relocate shared libraries at runtime.
12390 # Just because we use GCC doesn't mean we suddenly get shared libraries
12391 # on systems that don't support them.
12392 lt_prog_compiler_can_build_shared_FC
=no
12397 # QNX uses GNU C++, but need to define -shared option too, otherwise
12398 # it will coredump.
12399 lt_prog_compiler_pic_FC
='-fPIC -shared'
12403 if test -d /usr
/nec
; then
12404 lt_prog_compiler_pic_FC
=-Kconform_pic
12409 lt_prog_compiler_pic_FC
='-fPIC'
12413 case $cc_basename in
12414 nvcc
*) # Cuda Compiler Driver 2.2
12415 lt_prog_compiler_wl_FC
='-Xlinker '
12416 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
12420 # PORTME Check for flag to pass linker flags through the system compiler.
12423 lt_prog_compiler_wl_FC
='-Wl,'
12424 if test "$host_cpu" = ia64
; then
12425 # AIX 5 now supports IA64 processor
12426 lt_prog_compiler_static_FC
='-Bstatic'
12428 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
12432 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12433 # This hack is so that the source file can tell whether it is being
12434 # built for inclusion in a dll (and should export symbols for example).
12435 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
12438 hpux9
* | hpux10
* | hpux11
*)
12439 lt_prog_compiler_wl_FC
='-Wl,'
12440 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12441 # not for PA HP-UX.
12447 lt_prog_compiler_pic_FC
='+Z'
12450 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12451 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
12454 irix5
* | irix6
* | nonstopux
*)
12455 lt_prog_compiler_wl_FC
='-Wl,'
12456 # PIC (with -KPIC) is the default.
12457 lt_prog_compiler_static_FC
='-non_shared'
12460 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12461 case $cc_basename in
12462 # old Intel for x86_64 which still supported -KPIC.
12464 lt_prog_compiler_wl_FC
='-Wl,'
12465 lt_prog_compiler_pic_FC
='-KPIC'
12466 lt_prog_compiler_static_FC
='-static'
12468 # icc used to be incompatible with GCC.
12469 # ICC 10 doesn't accept -KPIC any more.
12471 lt_prog_compiler_wl_FC
='-Wl,'
12472 lt_prog_compiler_pic_FC
='-fPIC'
12473 lt_prog_compiler_static_FC
='-static'
12475 # Lahey Fortran 8.1.
12477 lt_prog_compiler_wl_FC
='-Wl,'
12478 lt_prog_compiler_pic_FC
='--shared'
12479 lt_prog_compiler_static_FC
='--static'
12481 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12482 # Portland Group compilers (*not* the Pentium gcc compiler,
12483 # which looks to be a dead project)
12484 lt_prog_compiler_wl_FC
='-Wl,'
12485 lt_prog_compiler_pic_FC
='-fpic'
12486 lt_prog_compiler_static_FC
='-Bstatic'
12489 lt_prog_compiler_wl_FC
='-Wl,'
12490 # All Alpha code is PIC.
12491 lt_prog_compiler_static_FC
='-non_shared'
12493 xl
* | bgxl
* | bgf
* | mpixl
*)
12494 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12495 lt_prog_compiler_wl_FC
='-Wl,'
12496 lt_prog_compiler_pic_FC
='-qpic'
12497 lt_prog_compiler_static_FC
='-qstaticlink'
12500 case `$CC -V 2>&1 | sed 5q` in
12501 *Sun\ F
* |
*Sun
*Fortran
*)
12502 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12503 lt_prog_compiler_pic_FC
='-KPIC'
12504 lt_prog_compiler_static_FC
='-Bstatic'
12505 lt_prog_compiler_wl_FC
=''
12509 lt_prog_compiler_pic_FC
='-KPIC'
12510 lt_prog_compiler_static_FC
='-Bstatic'
12511 lt_prog_compiler_wl_FC
='-Wl,'
12519 lt_prog_compiler_pic_FC
='-KPIC'
12520 lt_prog_compiler_static_FC
='-Bstatic'
12524 # QNX uses GNU C++, but need to define -shared option too, otherwise
12525 # it will coredump.
12526 lt_prog_compiler_pic_FC
='-fPIC -shared'
12529 osf3
* | osf4
* | osf5
*)
12530 lt_prog_compiler_wl_FC
='-Wl,'
12531 # All OSF/1 code is PIC.
12532 lt_prog_compiler_static_FC
='-non_shared'
12536 lt_prog_compiler_static_FC
='-non_shared'
12540 lt_prog_compiler_pic_FC
='-KPIC'
12541 lt_prog_compiler_static_FC
='-Bstatic'
12542 case $cc_basename in
12543 f77
* | f90
* | f95
*)
12544 lt_prog_compiler_wl_FC
='-Qoption ld ';;
12546 lt_prog_compiler_wl_FC
='-Wl,';;
12551 lt_prog_compiler_wl_FC
='-Qoption ld '
12552 lt_prog_compiler_pic_FC
='-PIC'
12553 lt_prog_compiler_static_FC
='-Bstatic'
12556 sysv4 | sysv4.2uw2
* | sysv4.3
*)
12557 lt_prog_compiler_wl_FC
='-Wl,'
12558 lt_prog_compiler_pic_FC
='-KPIC'
12559 lt_prog_compiler_static_FC
='-Bstatic'
12563 if test -d /usr
/nec
;then
12564 lt_prog_compiler_pic_FC
='-Kconform_pic'
12565 lt_prog_compiler_static_FC
='-Bstatic'
12569 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12570 lt_prog_compiler_wl_FC
='-Wl,'
12571 lt_prog_compiler_pic_FC
='-KPIC'
12572 lt_prog_compiler_static_FC
='-Bstatic'
12576 lt_prog_compiler_wl_FC
='-Wl,'
12577 lt_prog_compiler_can_build_shared_FC
=no
12581 lt_prog_compiler_pic_FC
='-pic'
12582 lt_prog_compiler_static_FC
='-Bstatic'
12586 lt_prog_compiler_can_build_shared_FC
=no
12592 # For platforms which do not support PIC, -DPIC is meaningless:
12594 lt_prog_compiler_pic_FC
=
12597 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
12601 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
12606 # Check to make sure the PIC flag actually works.
12608 if test -n "$lt_prog_compiler_pic_FC"; then
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12610 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
12611 if ${lt_cv_prog_compiler_pic_works_FC+:} false
; then :
12612 $as_echo_n "(cached) " >&6
12614 lt_cv_prog_compiler_pic_works_FC
=no
12615 ac_outfile
=conftest.
$ac_objext
12616 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12617 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
12618 # Insert the option either (1) after the last *FLAGS variable, or
12619 # (2) before a word containing "conftest.", or (3) at the end.
12620 # Note that $ac_compile itself does not contain backslashes and begins
12621 # with a dollar sign (not a hyphen), so the echo should work correctly.
12622 # The option is referenced via a variable to avoid confusing sed.
12623 lt_compile
=`echo "$ac_compile" | $SED \
12624 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12625 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12626 -e 's:$: $lt_compiler_flag:'`
12627 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12628 (eval "$lt_compile" 2>conftest.err
)
12630 cat conftest.err
>&5
12631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632 if (exit $ac_status) && test -s "$ac_outfile"; then
12633 # The compiler can only warn and ignore the option if not recognized
12634 # So say no if there are warnings other than the usual output.
12635 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12636 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12637 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12638 lt_cv_prog_compiler_pic_works_FC
=yes
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12645 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
12647 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
12648 case $lt_prog_compiler_pic_FC in
12650 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
12653 lt_prog_compiler_pic_FC
=
12654 lt_prog_compiler_can_build_shared_FC
=no
12662 # Check to make sure the static flag actually works.
12664 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12666 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12667 if ${lt_cv_prog_compiler_static_works_FC+:} false
; then :
12668 $as_echo_n "(cached) " >&6
12670 lt_cv_prog_compiler_static_works_FC
=no
12671 save_LDFLAGS
="$LDFLAGS"
12672 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12673 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12674 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12675 # The linker can only warn and ignore the option if not recognized
12676 # So say no if there are warnings
12677 if test -s conftest.err
; then
12678 # Append any errors to the config.log.
12679 cat conftest.err
1>&5
12680 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12681 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12682 if diff conftest.exp conftest.er2
>/dev
/null
; then
12683 lt_cv_prog_compiler_static_works_FC
=yes
12686 lt_cv_prog_compiler_static_works_FC
=yes
12690 LDFLAGS
="$save_LDFLAGS"
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
12694 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
12696 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
12699 lt_prog_compiler_static_FC
=
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12706 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12707 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
12708 $as_echo_n "(cached) " >&6
12710 lt_cv_prog_compiler_c_o_FC
=no
12711 $RM -r conftest
2>/dev
/null
12715 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12717 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12718 # Insert the option either (1) after the last *FLAGS variable, or
12719 # (2) before a word containing "conftest.", or (3) at the end.
12720 # Note that $ac_compile itself does not contain backslashes and begins
12721 # with a dollar sign (not a hyphen), so the echo should work correctly.
12722 lt_compile
=`echo "$ac_compile" | $SED \
12723 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12724 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12725 -e 's:$: $lt_compiler_flag:'`
12726 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12727 (eval "$lt_compile" 2>out
/conftest.err
)
12729 cat out
/conftest.err
>&5
12730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12731 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12733 # The compiler can only warn and ignore the option if not recognized
12734 # So say no if there are warnings
12735 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12736 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12737 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12738 lt_cv_prog_compiler_c_o_FC
=yes
12743 # SGI C++ compiler will create directory out/ii_files/ for
12744 # template instantiation
12745 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12746 $RM out
/* && rmdir out
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12753 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12758 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12759 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
12760 $as_echo_n "(cached) " >&6
12762 lt_cv_prog_compiler_c_o_FC
=no
12763 $RM -r conftest
2>/dev
/null
12767 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12769 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12770 # Insert the option either (1) after the last *FLAGS variable, or
12771 # (2) before a word containing "conftest.", or (3) at the end.
12772 # Note that $ac_compile itself does not contain backslashes and begins
12773 # with a dollar sign (not a hyphen), so the echo should work correctly.
12774 lt_compile
=`echo "$ac_compile" | $SED \
12775 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12776 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12777 -e 's:$: $lt_compiler_flag:'`
12778 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12779 (eval "$lt_compile" 2>out
/conftest.err
)
12781 cat out
/conftest.err
>&5
12782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12785 # The compiler can only warn and ignore the option if not recognized
12786 # So say no if there are warnings
12787 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12788 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12789 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12790 lt_cv_prog_compiler_c_o_FC
=yes
12795 # SGI C++ compiler will create directory out/ii_files/ for
12796 # template instantiation
12797 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12798 $RM out
/* && rmdir out
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12805 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12810 hard_links
="nottested"
12811 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
12812 # do not overwrite the value of need_locks provided by the user
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12814 $as_echo_n "checking if we can lock with hard links... " >&6; }
12817 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12819 ln conftest.a conftest.b
2>&5 || hard_links
=no
12820 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12822 $as_echo "$hard_links" >&6; }
12823 if test "$hard_links" = no
; then
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12825 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12835 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12838 allow_undefined_flag_FC
=
12839 always_export_symbols_FC
=no
12841 archive_expsym_cmds_FC
=
12842 compiler_needs_object_FC
=no
12843 enable_shared_with_static_runtimes_FC
=no
12844 export_dynamic_flag_spec_FC
=
12845 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12846 hardcode_automatic_FC
=no
12847 hardcode_direct_FC
=no
12848 hardcode_direct_absolute_FC
=no
12849 hardcode_libdir_flag_spec_FC
=
12850 hardcode_libdir_flag_spec_ld_FC
=
12851 hardcode_libdir_separator_FC
=
12852 hardcode_minus_L_FC
=no
12853 hardcode_shlibpath_var_FC
=unsupported
12854 inherit_rpath_FC
=no
12855 link_all_deplibs_FC
=unknown
12857 module_expsym_cmds_FC
=
12858 old_archive_from_new_cmds_FC
=
12859 old_archive_from_expsyms_cmds_FC
=
12860 thread_safe_flag_spec_FC
=
12861 whole_archive_flag_spec_FC
=
12862 # include_expsyms should be a list of space-separated symbols to be *always*
12863 # included in the symbol list
12864 include_expsyms_FC
=
12865 # exclude_expsyms can be an extended regexp of symbols to exclude
12866 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12867 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12868 # as well as any symbol that contains `d'.
12869 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12870 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12871 # platforms (ab)use it in PIC code, but their linkers get confused if
12872 # the symbol is explicitly referenced. Since portable code cannot
12873 # rely on this symbol name, it's probably fine to never include it in
12874 # preloaded symbol tables.
12875 # Exclude shared library initialization/finalization symbols.
12876 extract_expsyms_cmds
=
12879 cygwin
* | mingw
* | pw32
* | cegcc
*)
12880 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12881 # When not using gcc, we currently assume that we are using
12882 # Microsoft Visual C++.
12883 if test "$GCC" != yes; then
12888 # we just hope/assume this is gcc and not c89 (= MSVC++)
12898 # On some targets, GNU ld is compatible enough with the native linker
12899 # that we're better off using the native interface for both.
12900 lt_use_gnu_ld_interface
=no
12901 if test "$with_gnu_ld" = yes; then
12904 # The AIX port of GNU ld has always aspired to compatibility
12905 # with the native linker. However, as the warning in the GNU ld
12906 # block says, versions before 2.19.5* couldn't really create working
12907 # shared libraries, regardless of the interface used.
12908 case `$LD -v 2>&1` in
12909 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12910 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12911 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12913 lt_use_gnu_ld_interface
=yes
12918 lt_use_gnu_ld_interface
=yes
12923 if test "$lt_use_gnu_ld_interface" = yes; then
12924 # If archive_cmds runs LD, not CC, wlarc should be empty
12927 # Set some defaults for GNU ld with shared library support. These
12928 # are reset later if shared libraries are not supported. Putting them
12929 # here allows them to be overridden if necessary.
12930 runpath_var
=LD_RUN_PATH
12931 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12932 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
12933 # ancient GNU ld didn't support --whole-archive et. al.
12934 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12935 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12937 whole_archive_flag_spec_FC
=
12939 supports_anon_versioning
=no
12940 case `$LD -v 2>&1` in
12941 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12942 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12943 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12944 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12945 *\
2.11.
*) ;; # other 2.11 versions
12946 *) supports_anon_versioning
=yes ;;
12949 # See if GNU ld supports shared libraries.
12952 # On AIX/PPC, the GNU linker is very broken
12953 if test "$host_cpu" != ia64
; then
12957 *** Warning: the GNU linker, at least up to release 2.19, is reported
12958 *** to be unable to reliably create shared libraries on AIX.
12959 *** Therefore, libtool is disabling shared libraries support. If you
12960 *** really care for shared libraries, you may want to install binutils
12961 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12962 *** You will then need to restart the configuration process.
12971 # see comment about AmigaOS4 .so support
12972 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12973 archive_expsym_cmds_FC
=''
12976 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)'
12977 hardcode_libdir_flag_spec_FC
='-L$libdir'
12978 hardcode_minus_L_FC
=yes
12984 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12985 allow_undefined_flag_FC
=unsupported
12986 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12987 # support --undefined. This deserves some investigation. FIXME
12988 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12994 cygwin
* | mingw
* | pw32
* | cegcc
*)
12995 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12996 # as there is no search path for DLLs.
12997 hardcode_libdir_flag_spec_FC
='-L$libdir'
12998 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
12999 allow_undefined_flag_FC
=unsupported
13000 always_export_symbols_FC
=no
13001 enable_shared_with_static_runtimes_FC
=yes
13002 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13004 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13005 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13006 # If the export-symbols file already is a .def file (1st line
13007 # is EXPORTS), use it as is; otherwise, prepend...
13008 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13009 cp $export_symbols $output_objdir/$soname.def;
13011 echo EXPORTS > $output_objdir/$soname.def;
13012 cat $export_symbols >> $output_objdir/$soname.def;
13014 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13021 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13022 link_all_deplibs_FC
=yes
13026 hardcode_direct_FC
=no
13027 hardcode_shlibpath_var_FC
=no
13028 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13029 export_dynamic_flag_spec_FC
='${wl}-E'
13030 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13031 # Instead, shared libraries are loaded at an image base (0x10000000 by
13032 # default) and relocated if they conflict, which is a slow very memory
13033 # consuming and fragmenting process. To avoid this, we pick a random,
13034 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13035 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13036 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'
13037 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'
13040 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13042 if test "$host_os" = linux-dietlibc
; then
13043 case $cc_basename in
13044 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
13047 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
13048 && test "$tmp_diet" = no
13050 tmp_addflag
=' $pic_flag'
13051 tmp_sharedflag
='-shared'
13052 case $cc_basename,$host_cpu in
13053 pgcc
*) # Portland Group C compiler
13054 whole_archive_flag_spec_FC
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13055 tmp_addflag
=' $pic_flag'
13057 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13058 # Portland Group f77 and f90 compilers
13059 whole_archive_flag_spec_FC
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13060 tmp_addflag
=' $pic_flag -Mnomain' ;;
13061 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13062 tmp_addflag
=' -i_dynamic' ;;
13063 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13064 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13065 ifc
* | ifort
*) # Intel Fortran compiler
13066 tmp_addflag
=' -nofor_main' ;;
13067 lf95
*) # Lahey Fortran 8.1
13068 whole_archive_flag_spec_FC
=
13069 tmp_sharedflag
='--shared' ;;
13070 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13071 tmp_sharedflag
='-qmkshrobj'
13073 nvcc
*) # Cuda Compiler Driver 2.2
13074 whole_archive_flag_spec_FC
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13075 compiler_needs_object_FC
=yes
13078 case `$CC -V 2>&1 | sed 5q` in
13079 *Sun\ C
*) # Sun C 5.9
13080 whole_archive_flag_spec_FC
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13081 compiler_needs_object_FC
=yes
13082 tmp_sharedflag
='-G' ;;
13083 *Sun\ F
*) # Sun Fortran 8.3
13084 tmp_sharedflag
='-G' ;;
13086 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13088 if test "x$supports_anon_versioning" = xyes
; then
13089 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
13090 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13091 echo "local: *; };" >> $output_objdir/$libname.ver~
13092 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13095 case $cc_basename in
13096 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
13097 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13098 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
13099 hardcode_libdir_flag_spec_FC
=
13100 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
13101 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13102 if test "x$supports_anon_versioning" = xyes
; then
13103 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
13104 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13105 echo "local: *; };" >> $output_objdir/$libname.ver~
13106 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13116 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13117 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13120 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13121 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13126 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
13130 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13131 *** create shared libraries on Solaris systems. Therefore, libtool
13132 *** is disabling shared libraries support. We urge you to upgrade GNU
13133 *** binutils to release 2.9.1 or newer. Another option is to modify
13134 *** your PATH or compiler configuration so that the native linker is
13135 *** used, and then restart.
13138 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13139 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13140 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13146 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
13147 case `$LD -v 2>&1` in
13148 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
13152 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13153 *** reliably create shared libraries on SCO systems. Therefore, libtool
13154 *** is disabling shared libraries support. We urge you to upgrade GNU
13155 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13156 *** your PATH or compiler configuration so that the native linker is
13157 *** used, and then restart.
13162 # For security reasons, it is highly recommended that you always
13163 # use absolute paths for naming shared libraries, and exclude the
13164 # DT_RUNPATH tag from executables and libraries. But doing so
13165 # requires that you compile everything twice, which is a pain.
13166 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13167 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13168 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13169 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13178 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13180 hardcode_direct_FC
=yes
13181 hardcode_shlibpath_var_FC
=no
13185 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13186 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13187 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13194 if test "$ld_shlibs_FC" = no
; then
13196 hardcode_libdir_flag_spec_FC
=
13197 export_dynamic_flag_spec_FC
=
13198 whole_archive_flag_spec_FC
=
13201 # PORTME fill in a description of your system's linker (not GNU ld)
13204 allow_undefined_flag_FC
=unsupported
13205 always_export_symbols_FC
=yes
13206 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'
13207 # Note: this linker hardcodes the directories in LIBPATH if there
13208 # are no directories specified by -L.
13209 hardcode_minus_L_FC
=yes
13210 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13211 # Neither direct hardcoding nor static linking is supported with a
13213 hardcode_direct_FC
=unsupported
13218 if test "$host_cpu" = ia64
; then
13219 # On IA64, the linker does run time linking by default, so we don't
13220 # have to do anything special.
13221 aix_use_runtimelinking
=no
13222 exp_sym_flag
='-Bexport'
13225 # If we're using GNU nm, then we don't want the "-C" option.
13226 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13227 # Also, AIX nm treats weak defined symbols like other global
13228 # defined symbols, whereas GNU nm marks them as "W".
13229 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13230 export_symbols_cmds_FC
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13232 export_symbols_cmds_FC
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13234 aix_use_runtimelinking
=no
13236 # Test if we are trying to use run time linking or normal
13237 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13238 # need to do runtime linking.
13239 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13240 for ld_flag
in $LDFLAGS; do
13241 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13242 aix_use_runtimelinking
=yes
13249 exp_sym_flag
='-bexport'
13250 no_entry_flag
='-bnoentry'
13253 # When large executables or shared objects are built, AIX ld can
13254 # have problems creating the table of contents. If linking a library
13255 # or program results in "error TOC overflow" add -mminimal-toc to
13256 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13257 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13260 hardcode_direct_FC
=yes
13261 hardcode_direct_absolute_FC
=yes
13262 hardcode_libdir_separator_FC
=':'
13263 link_all_deplibs_FC
=yes
13264 file_list_spec_FC
='${wl}-f,'
13266 if test "$GCC" = yes; then
13267 case $host_os in aix4.
[012]|aix4.
[012].
*)
13268 # We only want to do this on AIX 4.2 and lower, the check
13269 # below for broken collect2 doesn't work under 4.3+
13270 collect2name
=`${CC} -print-prog-name=collect2`
13271 if test -f "$collect2name" &&
13272 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13274 # We have reworked collect2
13277 # We have old collect2
13278 hardcode_direct_FC
=unsupported
13279 # It fails to find uninstalled libraries when the uninstalled
13280 # path is not listed in the libpath. Setting hardcode_minus_L
13281 # to unsupported forces relinking
13282 hardcode_minus_L_FC
=yes
13283 hardcode_libdir_flag_spec_FC
='-L$libdir'
13284 hardcode_libdir_separator_FC
=
13288 shared_flag
='-shared'
13289 if test "$aix_use_runtimelinking" = yes; then
13290 shared_flag
="$shared_flag "'${wl}-G'
13294 if test "$host_cpu" = ia64
; then
13295 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13296 # chokes on -Wl,-G. The following line is correct:
13299 if test "$aix_use_runtimelinking" = yes; then
13300 shared_flag
='${wl}-G'
13302 shared_flag
='${wl}-bM:SRE'
13307 export_dynamic_flag_spec_FC
='${wl}-bexpall'
13308 # It seems that -bexpall does not export symbols beginning with
13309 # underscore (_), so it is better to generate a list of symbols to export.
13310 always_export_symbols_FC
=yes
13311 if test "$aix_use_runtimelinking" = yes; then
13312 # Warning - without using the other runtime loading flags (-brtl),
13313 # -berok will link without error, but may produce a broken library.
13314 allow_undefined_flag_FC
='-berok'
13315 # Determine the default libpath from the value encoded in an
13316 # empty executable.
13317 cat > conftest.
$ac_ext <<_ACEOF
13322 if ac_fn_fc_try_link
"$LINENO"; then :
13324 lt_aix_libpath_sed
='
13325 /Import File Strings/,/^$/ {
13331 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13332 # Check for a 64-bit object if we didn't find anything.
13333 if test -z "$aix_libpath"; then
13334 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13337 rm -f core conftest.err conftest.
$ac_objext \
13338 conftest
$ac_exeext conftest.
$ac_ext
13339 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13341 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
13342 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 func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13344 if test "$host_cpu" = ia64
; then
13345 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
13346 allow_undefined_flag_FC
="-z nodefs"
13347 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"
13349 # Determine the default libpath from the value encoded in an
13350 # empty executable.
13351 cat > conftest.
$ac_ext <<_ACEOF
13356 if ac_fn_fc_try_link
"$LINENO"; then :
13358 lt_aix_libpath_sed
='
13359 /Import File Strings/,/^$/ {
13365 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13366 # Check for a 64-bit object if we didn't find anything.
13367 if test -z "$aix_libpath"; then
13368 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13371 rm -f core conftest.err conftest.
$ac_objext \
13372 conftest
$ac_exeext conftest.
$ac_ext
13373 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13375 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
13376 # Warning - without using the other run time loading flags,
13377 # -berok will link without error, but may produce a broken library.
13378 no_undefined_flag_FC
=' ${wl}-bernotok'
13379 allow_undefined_flag_FC
=' ${wl}-berok'
13380 if test "$with_gnu_ld" = yes; then
13381 # We only use this code for GNU lds that support --whole-archive.
13382 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13384 # Exported symbols can be pulled into shared objects from archives
13385 whole_archive_flag_spec_FC
='$convenience'
13387 archive_cmds_need_lc_FC
=yes
13388 # This is similar to how AIX traditionally builds its shared libraries.
13389 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'
13397 # see comment about AmigaOS4 .so support
13398 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13399 archive_expsym_cmds_FC
=''
13402 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)'
13403 hardcode_libdir_flag_spec_FC
='-L$libdir'
13404 hardcode_minus_L_FC
=yes
13410 export_dynamic_flag_spec_FC
=-rdynamic
13413 cygwin
* | mingw
* | pw32
* | cegcc
*)
13414 # When not using gcc, we currently assume that we are using
13415 # Microsoft Visual C++.
13416 # hardcode_libdir_flag_spec is actually meaningless, as there is
13417 # no search path for DLLs.
13418 hardcode_libdir_flag_spec_FC
=' '
13419 allow_undefined_flag_FC
=unsupported
13420 # Tell ltmain to make .lib files, not .a files.
13422 # Tell ltmain to make .dll files, not .so files.
13424 # FIXME: Setting linknames here is a bad hack.
13425 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13426 # The linker will automatically build a .lib file if we build a DLL.
13427 old_archive_from_new_cmds_FC
='true'
13428 # FIXME: Should let the user specify the lib program.
13429 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
13430 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
13431 enable_shared_with_static_runtimes_FC
=yes
13434 darwin
* | rhapsody
*)
13437 archive_cmds_need_lc_FC
=no
13438 hardcode_direct_FC
=no
13439 hardcode_automatic_FC
=yes
13440 hardcode_shlibpath_var_FC
=unsupported
13441 if test "$lt_cv_ld_force_load" = "yes"; then
13442 whole_archive_flag_spec_FC
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13444 whole_archive_flag_spec_FC
=''
13446 link_all_deplibs_FC
=yes
13447 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
13448 case $cc_basename in
13449 ifort
*) _lt_dar_can_shared
=yes ;;
13450 *) _lt_dar_can_shared
=$GCC ;;
13452 if test "$_lt_dar_can_shared" = "yes"; then
13453 output_verbose_link_cmd
=func_echo_all
13454 archive_cmds_FC
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13455 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13456 archive_expsym_cmds_FC
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13457 module_expsym_cmds_FC
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
13466 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13467 hardcode_libdir_flag_spec_FC
='-L$libdir'
13468 hardcode_shlibpath_var_FC
=no
13471 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13472 # support. Future versions do this automatically, but an explicit c++rt0.o
13473 # does not break anything, and helps significantly (at the cost of a little
13476 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13477 hardcode_libdir_flag_spec_FC
='-R$libdir'
13478 hardcode_direct_FC
=yes
13479 hardcode_shlibpath_var_FC
=no
13482 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13484 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13485 hardcode_direct_FC
=yes
13486 hardcode_minus_L_FC
=yes
13487 hardcode_shlibpath_var_FC
=no
13490 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13491 freebsd
* | dragonfly
*)
13492 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13493 hardcode_libdir_flag_spec_FC
='-R$libdir'
13494 hardcode_direct_FC
=yes
13495 hardcode_shlibpath_var_FC
=no
13499 if test "$GCC" = yes; then
13500 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'
13502 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'
13504 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13505 hardcode_libdir_separator_FC
=:
13506 hardcode_direct_FC
=yes
13508 # hardcode_minus_L: Not really in the search PATH,
13509 # but as the default location of the library.
13510 hardcode_minus_L_FC
=yes
13511 export_dynamic_flag_spec_FC
='${wl}-E'
13515 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13516 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13518 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13520 if test "$with_gnu_ld" = no
; then
13521 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13522 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
13523 hardcode_libdir_separator_FC
=:
13524 hardcode_direct_FC
=yes
13525 hardcode_direct_absolute_FC
=yes
13526 export_dynamic_flag_spec_FC
='${wl}-E'
13527 # hardcode_minus_L: Not really in the search PATH,
13528 # but as the default location of the library.
13529 hardcode_minus_L_FC
=yes
13534 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13537 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13540 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13543 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13549 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13552 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13555 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13559 if test "$with_gnu_ld" = no
; then
13560 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13561 hardcode_libdir_separator_FC
=:
13565 hardcode_direct_FC
=no
13566 hardcode_shlibpath_var_FC
=no
13569 hardcode_direct_FC
=yes
13570 hardcode_direct_absolute_FC
=yes
13571 export_dynamic_flag_spec_FC
='${wl}-E'
13573 # hardcode_minus_L: Not really in the search PATH,
13574 # but as the default location of the library.
13575 hardcode_minus_L_FC
=yes
13581 irix5
* | irix6
* | nonstopux
*)
13582 if test "$GCC" = yes; then
13583 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13584 # Try to use the -exported_symbol ld option, if it does not
13585 # work, assume that -exports_file does not work either and
13586 # implicitly export all symbols.
13587 save_LDFLAGS
="$LDFLAGS"
13588 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13589 cat > conftest.
$ac_ext <<_ACEOF
13592 if ac_fn_fc_try_link
"$LINENO"; then :
13593 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
13596 rm -f core conftest.err conftest.
$ac_objext \
13597 conftest
$ac_exeext conftest.
$ac_ext
13598 LDFLAGS
="$save_LDFLAGS"
13600 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13601 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
13603 archive_cmds_need_lc_FC
='no'
13604 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13605 hardcode_libdir_separator_FC
=:
13606 inherit_rpath_FC
=yes
13607 link_all_deplibs_FC
=yes
13611 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13612 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13614 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13616 hardcode_libdir_flag_spec_FC
='-R$libdir'
13617 hardcode_direct_FC
=yes
13618 hardcode_shlibpath_var_FC
=no
13622 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13623 hardcode_direct_FC
=yes
13624 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13625 hardcode_libdir_separator_FC
=:
13626 hardcode_shlibpath_var_FC
=no
13633 if test -f /usr
/libexec
/ld.so
; then
13634 hardcode_direct_FC
=yes
13635 hardcode_shlibpath_var_FC
=no
13636 hardcode_direct_absolute_FC
=yes
13637 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13638 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13639 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13640 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13641 export_dynamic_flag_spec_FC
='${wl}-E'
13644 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13645 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13646 hardcode_libdir_flag_spec_FC
='-R$libdir'
13649 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13650 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13660 hardcode_libdir_flag_spec_FC
='-L$libdir'
13661 hardcode_minus_L_FC
=yes
13662 allow_undefined_flag_FC
=unsupported
13663 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'
13664 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13668 if test "$GCC" = yes; then
13669 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13670 archive_cmds_FC
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13672 allow_undefined_flag_FC
=' -expect_unresolved \*'
13673 archive_cmds_FC
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13675 archive_cmds_need_lc_FC
='no'
13676 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13677 hardcode_libdir_separator_FC
=:
13680 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13681 if test "$GCC" = yes; then
13682 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13683 archive_cmds_FC
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13684 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13686 allow_undefined_flag_FC
=' -expect_unresolved \*'
13687 archive_cmds_FC
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13688 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~
13689 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
13691 # Both c and cxx compiler support -rpath directly
13692 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
13694 archive_cmds_need_lc_FC
='no'
13695 hardcode_libdir_separator_FC
=:
13699 no_undefined_flag_FC
=' -z defs'
13700 if test "$GCC" = yes; then
13702 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13703 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13704 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13706 case `$CC -V 2>&1` in
13709 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13710 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13711 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13715 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13716 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13717 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13721 hardcode_libdir_flag_spec_FC
='-R$libdir'
13722 hardcode_shlibpath_var_FC
=no
13724 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13726 # The compiler driver will combine and reorder linker options,
13727 # but understands `-z linker_flag'. GCC discards it without `$wl',
13728 # but is careful enough not to reorder.
13729 # Supported since Solaris 2.6 (maybe 2.5.1?)
13730 if test "$GCC" = yes; then
13731 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13733 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
13737 link_all_deplibs_FC
=yes
13741 if test "x$host_vendor" = xsequent
; then
13742 # Use $CC to link under sequent, because it throws in some extra .o
13743 # files that make .init and .fini sections work.
13744 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13746 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13748 hardcode_libdir_flag_spec_FC
='-L$libdir'
13749 hardcode_direct_FC
=yes
13750 hardcode_minus_L_FC
=yes
13751 hardcode_shlibpath_var_FC
=no
13755 case $host_vendor in
13757 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13758 hardcode_direct_FC
=yes # is this really true???
13761 ## LD is ld it makes a PLAMLIB
13762 ## CC just makes a GrossModule.
13763 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13764 reload_cmds_FC
='$CC -r -o $output$reload_objs'
13765 hardcode_direct_FC
=no
13768 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13769 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
13772 runpath_var
='LD_RUN_PATH'
13773 hardcode_shlibpath_var_FC
=no
13777 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13778 hardcode_shlibpath_var_FC
=no
13779 export_dynamic_flag_spec_FC
='-Bexport'
13783 if test -d /usr
/nec
; then
13784 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13785 hardcode_shlibpath_var_FC
=no
13786 runpath_var
=LD_RUN_PATH
13787 hardcode_runpath_var
=yes
13792 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13793 no_undefined_flag_FC
='${wl}-z,text'
13794 archive_cmds_need_lc_FC
=no
13795 hardcode_shlibpath_var_FC
=no
13796 runpath_var
='LD_RUN_PATH'
13798 if test "$GCC" = yes; then
13799 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13800 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13802 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13803 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13807 sysv5
* | sco3.2v5
* | sco5v6
*)
13808 # Note: We can NOT use -z defs as we might desire, because we do not
13809 # link with -lc, and that would cause any symbols used from libc to
13810 # always be unresolved, which means just about no library would
13811 # ever link correctly. If we're not using GNU ld we use -z text
13812 # though, which does catch some bad symbols but isn't as heavy-handed
13814 no_undefined_flag_FC
='${wl}-z,text'
13815 allow_undefined_flag_FC
='${wl}-z,nodefs'
13816 archive_cmds_need_lc_FC
=no
13817 hardcode_shlibpath_var_FC
=no
13818 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
13819 hardcode_libdir_separator_FC
=':'
13820 link_all_deplibs_FC
=yes
13821 export_dynamic_flag_spec_FC
='${wl}-Bexport'
13822 runpath_var
='LD_RUN_PATH'
13824 if test "$GCC" = yes; then
13825 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13826 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13828 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13829 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13834 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13835 hardcode_libdir_flag_spec_FC
='-L$libdir'
13836 hardcode_shlibpath_var_FC
=no
13844 if test x
$host_vendor = xsni
; then
13846 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13847 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
13854 $as_echo "$ld_shlibs_FC" >&6; }
13855 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
13857 with_gnu_ld_FC
=$with_gnu_ld
13865 # Do we need to explicitly link libc?
13867 case "x$archive_cmds_need_lc_FC" in
13869 # Assume -lc should be added
13870 archive_cmds_need_lc_FC
=yes
13872 if test "$enable_shared" = yes && test "$GCC" = yes; then
13873 case $archive_cmds_FC in
13875 # FIXME: we may have to deal with multi-command sequences.
13878 # Test whether the compiler implicitly links with -lc since on some
13879 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13880 # to ld, don't add -lc before -lgcc.
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13882 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13883 if ${lt_cv_archive_cmds_need_lc_FC+:} false
; then :
13884 $as_echo_n "(cached) " >&6
13887 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13889 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13890 (eval $ac_compile) 2>&5
13892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13893 test $ac_status = 0; } 2>conftest.err
; then
13896 libobjs
=conftest.
$ac_objext
13898 wl
=$lt_prog_compiler_wl_FC
13899 pic_flag
=$lt_prog_compiler_pic_FC
13905 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
13906 allow_undefined_flag_FC
=
13907 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13908 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13911 test $ac_status = 0; }
13913 lt_cv_archive_cmds_need_lc_FC
=no
13915 lt_cv_archive_cmds_need_lc_FC
=yes
13917 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
13919 cat conftest.err
1>&5
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13925 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
13926 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13997 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13999 library_names_spec
=
14000 libname_spec
='lib$name'
14004 postuninstall_cmds
=
14008 shlibpath_overrides_runpath
=unknown
14010 dynamic_linker
="$host_os ld.so"
14011 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14012 need_lib_prefix
=unknown
14013 hardcode_into_libs
=no
14015 # when you set need_version to no, make sure it does not cause -set_version
14016 # flags to be left without arguments
14017 need_version
=unknown
14022 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14023 shlibpath_var
=LIBPATH
14025 # AIX 3 has no versioning support, so we append a major version to the name.
14026 soname_spec
='${libname}${release}${shared_ext}$major'
14033 hardcode_into_libs
=yes
14034 if test "$host_cpu" = ia64
; then
14035 # AIX 5 supports IA64
14036 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14037 shlibpath_var
=LD_LIBRARY_PATH
14039 # With GCC up to 2.95.x, collect2 would create an import file
14040 # for dependence libraries. The import file would start with
14041 # the line `#! .'. This would cause the generated library to
14042 # depend on `.', always an invalid library. This was fixed in
14043 # development snapshots of GCC prior to 3.0.
14045 aix4 | aix4.
[01] | aix4.
[01].
*)
14046 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14048 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14051 can_build_shared
=no
14055 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14056 # soname into executable. Probably we can add versioning support to
14057 # collect2, so additional links can be useful in future.
14058 if test "$aix_use_runtimelinking" = yes; then
14059 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14060 # instead of lib<name>.a to let people know that these are not
14061 # typical AIX shared libraries.
14062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14064 # We preserve .a as extension for shared libraries through AIX4.2
14065 # and later when we are not doing run time linking.
14066 library_names_spec
='${libname}${release}.a $libname.a'
14067 soname_spec
='${libname}${release}${shared_ext}$major'
14069 shlibpath_var
=LIBPATH
14076 # Since July 2007 AmigaOS4 officially supports .so libraries.
14077 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14081 library_names_spec
='$libname.ixlibrary $libname.a'
14082 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14083 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
14089 library_names_spec
='${libname}${shared_ext}'
14090 dynamic_linker
="$host_os ld.so"
14091 shlibpath_var
=LIBRARY_PATH
14097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14098 soname_spec
='${libname}${release}${shared_ext}$major'
14099 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14100 shlibpath_var
=LD_LIBRARY_PATH
14101 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14102 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14103 # the default ld.so.conf also contains /usr/contrib/lib and
14104 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14105 # libtool to hard-code these into programs
14108 cygwin
* | mingw
* | pw32
* | cegcc
*)
14109 version_type
=windows
14114 case $GCC,$host_os in
14115 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14116 library_names_spec
='$libname.dll.a'
14117 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14118 postinstall_cmds
='base_file=`basename \${file}`~
14119 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14120 dldir=$destdir/`dirname \$dlpath`~
14121 test -d \$dldir || mkdir -p \$dldir~
14122 $install_prog $dir/$dlname \$dldir/$dlname~
14123 chmod a+x \$dldir/$dlname~
14124 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14125 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14127 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14128 dlpath=$dir/\$dldll~
14130 shlibpath_overrides_runpath
=yes
14134 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14135 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14139 # MinGW DLLs use traditional 'lib' prefix
14140 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14143 # pw32 DLLs use 'pw' prefix rather than 'lib'
14144 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14150 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14153 dynamic_linker
='Win32 ld.exe'
14154 # FIXME: first we should search . and the directory the executable is in
14158 darwin
* | rhapsody
*)
14159 dynamic_linker
="$host_os dyld"
14160 version_type
=darwin
14163 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14164 soname_spec
='${libname}${release}${major}$shared_ext'
14165 shlibpath_overrides_runpath
=yes
14166 shlibpath_var
=DYLD_LIBRARY_PATH
14167 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14169 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14177 soname_spec
='${libname}${release}${shared_ext}$major'
14178 shlibpath_var
=LD_LIBRARY_PATH
14181 freebsd
* | dragonfly
*)
14182 # DragonFly does not have aout. When/if they implement a new
14183 # versioning mechanism, adjust this.
14184 if test -x /usr
/bin
/objformat
; then
14185 objformat
=`/usr/bin/objformat`
14188 freebsd
[23].
*) objformat
=aout
;;
14189 *) objformat
=elf
;;
14192 version_type
=freebsd-
$objformat
14193 case $version_type in
14195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14200 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14204 shlibpath_var
=LD_LIBRARY_PATH
14207 shlibpath_overrides_runpath
=yes
14209 freebsd3.
[01]* | freebsdelf3.
[01]*)
14210 shlibpath_overrides_runpath
=yes
14211 hardcode_into_libs
=yes
14213 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14214 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14215 shlibpath_overrides_runpath
=no
14216 hardcode_into_libs
=yes
14218 *) # from 4.6 on, and DragonFly
14219 shlibpath_overrides_runpath
=yes
14220 hardcode_into_libs
=yes
14229 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14230 soname_spec
='${libname}${release}${shared_ext}$major'
14231 shlibpath_var
=LD_LIBRARY_PATH
14232 hardcode_into_libs
=yes
14239 dynamic_linker
="$host_os runtime_loader"
14240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14241 soname_spec
='${libname}${release}${shared_ext}$major'
14242 shlibpath_var
=LIBRARY_PATH
14243 shlibpath_overrides_runpath
=yes
14244 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14245 hardcode_into_libs
=yes
14248 hpux9
* | hpux10
* | hpux11
*)
14249 # Give a soname corresponding to the major version so that dld.sl refuses to
14250 # link against other versions.
14257 hardcode_into_libs
=yes
14258 dynamic_linker
="$host_os dld.so"
14259 shlibpath_var
=LD_LIBRARY_PATH
14260 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14262 soname_spec
='${libname}${release}${shared_ext}$major'
14263 if test "X$HPUX_IA64_MODE" = X32
; then
14264 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14266 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14268 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14272 hardcode_into_libs
=yes
14273 dynamic_linker
="$host_os dld.sl"
14274 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14275 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14277 soname_spec
='${libname}${release}${shared_ext}$major'
14278 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14279 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14283 dynamic_linker
="$host_os dld.sl"
14284 shlibpath_var
=SHLIB_PATH
14285 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14287 soname_spec
='${libname}${release}${shared_ext}$major'
14290 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14291 postinstall_cmds
='chmod 555 $lib'
14292 # or fails outright, so override atomically:
14293 install_override_mode
=555
14300 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14301 soname_spec
='${libname}${release}${shared_ext}$major'
14302 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14303 shlibpath_var
=LD_LIBRARY_PATH
14304 shlibpath_overrides_runpath
=no
14305 hardcode_into_libs
=yes
14308 irix5
* | irix6
* | nonstopux
*)
14310 nonstopux
*) version_type
=nonstopux
;;
14312 if test "$lt_cv_prog_gnu_ld" = yes; then
14320 soname_spec
='${libname}${release}${shared_ext}$major'
14321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14323 irix5
* | nonstopux
*)
14324 libsuff
= shlibsuff
=
14327 case $LD in # libtool.m4 will add one of these switches to LD
14328 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14329 libsuff
= shlibsuff
= libmagic
=32-bit;;
14330 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14331 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14332 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14333 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14334 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14338 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14339 shlibpath_overrides_runpath
=no
14340 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14341 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14342 hardcode_into_libs
=yes
14345 # No shared lib support for Linux oldld, aout, or coff.
14346 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14350 # This must be Linux ELF.
14351 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14356 soname_spec
='${libname}${release}${shared_ext}$major'
14357 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14358 shlibpath_var
=LD_LIBRARY_PATH
14359 shlibpath_overrides_runpath
=no
14361 # Some binutils ld are patched to set DT_RUNPATH
14362 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
14363 $as_echo_n "(cached) " >&6
14365 lt_cv_shlibpath_overrides_runpath
=no
14366 save_LDFLAGS
=$LDFLAGS
14367 save_libdir
=$libdir
14368 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
14369 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
14370 cat > conftest.
$ac_ext <<_ACEOF
14375 if ac_fn_fc_try_link
"$LINENO"; then :
14376 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14377 lt_cv_shlibpath_overrides_runpath
=yes
14380 rm -f core conftest.err conftest.
$ac_objext \
14381 conftest
$ac_exeext conftest.
$ac_ext
14382 LDFLAGS
=$save_LDFLAGS
14383 libdir
=$save_libdir
14387 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14389 # This implies no fast_install, which is unacceptable.
14390 # Some rework will be needed to allow for fast_install
14391 # before this can be enabled.
14392 hardcode_into_libs
=yes
14394 # Append ld.so.conf contents to the search path
14395 if test -f /etc
/ld.so.conf
; then
14396 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14397 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14400 # We used to test for /lib/ld.so.1 and disable shared libraries on
14401 # powerpc, because MkLinux only supported shared libraries with the
14402 # GNU dynamic linker. Since this was broken with cross compilers,
14403 # most powerpc-linux boxes support dynamic linking these days and
14404 # people can always --disable-shared, the test was removed, and we
14405 # assume the GNU/Linux dynamic linker is in use.
14406 dynamic_linker
='GNU/Linux ld.so'
14413 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14415 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14416 dynamic_linker
='NetBSD (a.out) ld.so'
14418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14419 soname_spec
='${libname}${release}${shared_ext}$major'
14420 dynamic_linker
='NetBSD ld.elf_so'
14422 shlibpath_var
=LD_LIBRARY_PATH
14423 shlibpath_overrides_runpath
=yes
14424 hardcode_into_libs
=yes
14429 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14430 shlibpath_var
=LD_LIBRARY_PATH
14431 shlibpath_overrides_runpath
=yes
14438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14439 soname_spec
='${libname}${release}${shared_ext}$major'
14440 shlibpath_var
=LD_LIBRARY_PATH
14441 shlibpath_overrides_runpath
=no
14442 hardcode_into_libs
=yes
14443 dynamic_linker
='ldqnx.so'
14448 sys_lib_dlsearch_path_spec
="/usr/lib"
14450 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14452 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14453 *) need_version
=no
;;
14455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14456 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14457 shlibpath_var
=LD_LIBRARY_PATH
14458 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14460 openbsd2.
[89] | openbsd2.
[89].
*)
14461 shlibpath_overrides_runpath
=no
14464 shlibpath_overrides_runpath
=yes
14468 shlibpath_overrides_runpath
=yes
14473 libname_spec
='$name'
14476 library_names_spec
='$libname${shared_ext} $libname.a'
14477 dynamic_linker
='OS/2 ld.exe'
14478 shlibpath_var
=LIBPATH
14481 osf3
* | osf4
* | osf5
*)
14485 soname_spec
='${libname}${release}${shared_ext}$major'
14486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14487 shlibpath_var
=LD_LIBRARY_PATH
14488 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14489 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14501 soname_spec
='${libname}${release}${shared_ext}$major'
14502 shlibpath_var
=LD_LIBRARY_PATH
14503 shlibpath_overrides_runpath
=yes
14504 hardcode_into_libs
=yes
14505 # ldd complains unless libraries are executable
14506 postinstall_cmds
='chmod +x $lib'
14511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14512 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14513 shlibpath_var
=LD_LIBRARY_PATH
14514 shlibpath_overrides_runpath
=yes
14515 if test "$with_gnu_ld" = yes; then
14523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14524 soname_spec
='${libname}${release}${shared_ext}$major'
14525 shlibpath_var
=LD_LIBRARY_PATH
14526 case $host_vendor in
14528 shlibpath_overrides_runpath
=no
14530 runpath_var
=LD_RUN_PATH
14538 shlibpath_overrides_runpath
=no
14539 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14545 if test -d /usr
/nec
;then
14547 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14548 soname_spec
='$libname${shared_ext}.$major'
14549 shlibpath_var
=LD_LIBRARY_PATH
14553 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14554 version_type
=freebsd-elf
14557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14558 soname_spec
='${libname}${release}${shared_ext}$major'
14559 shlibpath_var
=LD_LIBRARY_PATH
14560 shlibpath_overrides_runpath
=yes
14561 hardcode_into_libs
=yes
14562 if test "$with_gnu_ld" = yes; then
14563 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14565 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14568 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14572 sys_lib_dlsearch_path_spec
='/usr/lib'
14576 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14581 shlibpath_var
=LD_LIBRARY_PATH
14582 shlibpath_overrides_runpath
=no
14583 hardcode_into_libs
=yes
14588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14589 soname_spec
='${libname}${release}${shared_ext}$major'
14590 shlibpath_var
=LD_LIBRARY_PATH
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14598 $as_echo "$dynamic_linker" >&6; }
14599 test "$dynamic_linker" = no
&& can_build_shared
=no
14601 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14602 if test "$GCC" = yes; then
14603 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14606 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14607 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14609 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14610 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14651 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14652 hardcode_action_FC
=
14653 if test -n "$hardcode_libdir_flag_spec_FC" ||
14654 test -n "$runpath_var_FC" ||
14655 test "X$hardcode_automatic_FC" = "Xyes" ; then
14657 # We can hardcode non-existent directories.
14658 if test "$hardcode_direct_FC" != no
&&
14659 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14660 # have to relink, otherwise we might link with an installed library
14661 # when we should be linking with a yet-to-be-installed one
14662 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14663 test "$hardcode_minus_L_FC" != no
; then
14664 # Linking always hardcodes the temporary library directory.
14665 hardcode_action_FC
=relink
14667 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14668 hardcode_action_FC
=immediate
14671 # We cannot hardcode anything, or else we can only hardcode existing
14673 hardcode_action_FC
=unsupported
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
14676 $as_echo "$hardcode_action_FC" >&6; }
14678 if test "$hardcode_action_FC" = relink ||
14679 test "$inherit_rpath_FC" = yes; then
14680 # Fast installation is not supported
14681 enable_fast_install
=no
14682 elif test "$shlibpath_overrides_runpath" = yes ||
14683 test "$enable_shared" = no
; then
14684 # Fast installation is not necessary
14685 enable_fast_install
=needless
14694 fi # test -n "$compiler"
14698 fi # test "$_lt_disable_FC" != yes
14701 ac_cpp
='$CPP $CPPFLAGS'
14702 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14703 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14704 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14707 FCFLAGS
="$FCFLAGS -Wall -L../libgfortran"
14709 # For libtool versioning info, format is CURRENT:REVISION:AGE
14710 libtool_VERSION
=1:0:0
14713 # Check header files.
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14715 $as_echo_n "checking for ANSI C header files... " >&6; }
14716 if ${ac_cv_header_stdc+:} false
; then :
14717 $as_echo_n "(cached) " >&6
14719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14720 /* end confdefs.h. */
14721 #include <stdlib.h>
14722 #include <stdarg.h>
14723 #include <string.h>
14734 if ac_fn_c_try_compile
"$LINENO"; then :
14735 ac_cv_header_stdc
=yes
14737 ac_cv_header_stdc
=no
14739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14741 if test $ac_cv_header_stdc = yes; then
14742 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14744 /* end confdefs.h. */
14745 #include <string.h>
14748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14749 $EGREP "memchr" >/dev
/null
2>&1; then :
14752 ac_cv_header_stdc
=no
14758 if test $ac_cv_header_stdc = yes; then
14759 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14761 /* end confdefs.h. */
14762 #include <stdlib.h>
14765 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14766 $EGREP "free" >/dev
/null
2>&1; then :
14769 ac_cv_header_stdc
=no
14775 if test $ac_cv_header_stdc = yes; then
14776 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14777 if test "$cross_compiling" = yes; then :
14780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14781 /* end confdefs.h. */
14783 #include <stdlib.h>
14784 #if ((' ' & 0x0FF) == 0x020)
14785 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14786 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14788 # define ISLOWER(c) \
14789 (('a' <= (c) && (c) <= 'i') \
14790 || ('j' <= (c) && (c) <= 'r') \
14791 || ('s' <= (c) && (c) <= 'z'))
14792 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14795 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14800 for (i = 0; i < 256; i++)
14801 if (XOR (islower (i), ISLOWER (i))
14802 || toupper (i) != TOUPPER (i))
14807 if ac_fn_c_try_run
"$LINENO"; then :
14810 ac_cv_header_stdc
=no
14812 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14813 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14819 $as_echo "$ac_cv_header_stdc" >&6; }
14820 if test $ac_cv_header_stdc = yes; then
14822 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14827 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14828 if ${ac_cv_header_time+:} false
; then :
14829 $as_echo_n "(cached) " >&6
14831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14832 /* end confdefs.h. */
14833 #include <sys/types.h>
14834 #include <sys/time.h>
14840 if ((struct tm *) 0)
14846 if ac_fn_c_try_compile
"$LINENO"; then :
14847 ac_cv_header_time
=yes
14849 ac_cv_header_time
=no
14851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
14854 $as_echo "$ac_cv_header_time" >&6; }
14855 if test $ac_cv_header_time = yes; then
14857 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
14862 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
14863 if ${gcc_cv_header_string+:} false
; then :
14864 $as_echo_n "(cached) " >&6
14866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14867 /* end confdefs.h. */
14868 #include <string.h>
14869 #include <strings.h>
14878 if ac_fn_c_try_compile
"$LINENO"; then :
14879 gcc_cv_header_string
=yes
14881 gcc_cv_header_string
=no
14883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
14886 $as_echo "$gcc_cv_header_string" >&6; }
14887 if test $gcc_cv_header_string = yes; then
14889 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
14893 for ac_header
in pthread.h unistd.h semaphore.h sys
/loadavg.h sys
/sysctl.h sys
/time.h
14895 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14896 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14897 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14898 cat >>confdefs.h
<<_ACEOF
14899 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14909 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
14911 acx_cv_header_stdint
=stddef.h
14912 acx_cv_header_stdint_kind
="(already complete)"
14913 for i
in stdint.h
$inttype_headers; do
14914 unset ac_cv_type_uintptr_t
14915 unset ac_cv_type_uintmax_t
14916 unset ac_cv_type_int_least32_t
14917 unset ac_cv_type_int_fast32_t
14918 unset ac_cv_type_uint64_t
14919 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
14920 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
14923 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
14924 acx_cv_header_stdint
=$i
14929 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
14932 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
14935 acx_cv_header_stdint_kind
="(mostly complete)"
14938 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
14941 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
14944 acx_cv_header_stdint_kind
="(mostly complete)"
14947 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
14950 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
14953 acx_cv_header_stdint_kind
="(mostly complete)"
14956 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
14959 if test "x$ac_cv_type_uint64_t" = xyes
; then :
14962 acx_cv_header_stdint_kind
="(lacks uint64_t)"
14967 if test "$acx_cv_header_stdint" = stddef.h
; then
14968 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
14969 for i
in stdint.h
$inttype_headers; do
14970 unset ac_cv_type_uintptr_t
14971 unset ac_cv_type_uint32_t
14972 unset ac_cv_type_uint64_t
14973 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
14974 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
14977 if test "x$ac_cv_type_uint32_t" = xyes
; then :
14978 acx_cv_header_stdint
=$i
14983 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
14986 if test "x$ac_cv_type_uint64_t" = xyes
; then :
14990 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
14993 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
15000 if test "$acx_cv_header_stdint" = stddef.h
; then
15001 acx_cv_header_stdint_kind
="(u_intXX_t style)"
15002 for i
in sys
/types.h
$inttype_headers; do
15003 unset ac_cv_type_u_int32_t
15004 unset ac_cv_type_u_int64_t
15005 $as_echo_n "looking for u_intXX_t types in $i, " >&6
15006 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15009 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
15010 acx_cv_header_stdint
=$i
15015 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15018 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
15025 if test "$acx_cv_header_stdint" = stddef.h
; then
15026 acx_cv_header_stdint_kind
="(using manual detection)"
15029 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
15030 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
15031 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
15032 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
15033 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
15035 # ----------------- Summarize what we found so far
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15038 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15040 case `$as_basename -- gstdint.h ||
15041 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15042 Xgstdint.h : 'X\(//\)$' \| \
15043 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15044 $as_echo X/gstdint.h |
15045 sed '/^.*\/\([^/][^/]*\)\/*$/{
15058 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15059 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15060 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15061 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15066 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15068 # ----------------- done included file, check C basic types --------
15070 # Lacking an uintptr_t? Test size of void *
15071 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15072 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
15073 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15074 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15075 # This bug is HP SR number 8606223364.
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15077 $as_echo_n "checking size of void *... " >&6; }
15078 if ${ac_cv_sizeof_void_p+:} false
; then :
15079 $as_echo_n "(cached) " >&6
15081 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15084 if test "$ac_cv_type_void_p" = yes; then
15085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15087 as_fn_error
77 "cannot compute sizeof (void *)
15088 See \`config.log' for more details" "$LINENO" 5; }
15090 ac_cv_sizeof_void_p
=0
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15096 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15100 cat >>confdefs.h
<<_ACEOF
15101 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15107 # Lacking an uint64_t? Test size of long
15108 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15109 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
15110 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15111 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15112 # This bug is HP SR number 8606223364.
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15114 $as_echo_n "checking size of long... " >&6; }
15115 if ${ac_cv_sizeof_long+:} false
; then :
15116 $as_echo_n "(cached) " >&6
15118 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
15121 if test "$ac_cv_type_long" = yes; then
15122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15124 as_fn_error
77 "cannot compute sizeof (long)
15125 See \`config.log' for more details" "$LINENO" 5; }
15127 ac_cv_sizeof_long
=0
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15133 $as_echo "$ac_cv_sizeof_long" >&6; }
15137 cat >>confdefs.h
<<_ACEOF
15138 #define SIZEOF_LONG $ac_cv_sizeof_long
15144 if test $acx_cv_header_stdint = stddef.h
; then
15145 # Lacking a good header? Test size of everything and deduce all types.
15146 # The cast to long int works around a bug in the HP C Compiler
15147 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15148 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15149 # This bug is HP SR number 8606223364.
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15151 $as_echo_n "checking size of int... " >&6; }
15152 if ${ac_cv_sizeof_int+:} false
; then :
15153 $as_echo_n "(cached) " >&6
15155 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
15158 if test "$ac_cv_type_int" = yes; then
15159 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15161 as_fn_error
77 "cannot compute sizeof (int)
15162 See \`config.log' for more details" "$LINENO" 5; }
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15170 $as_echo "$ac_cv_sizeof_int" >&6; }
15174 cat >>confdefs.h
<<_ACEOF
15175 #define SIZEOF_INT $ac_cv_sizeof_int
15179 # The cast to long int works around a bug in the HP C Compiler
15180 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15181 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15182 # This bug is HP SR number 8606223364.
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15184 $as_echo_n "checking size of short... " >&6; }
15185 if ${ac_cv_sizeof_short+:} false
; then :
15186 $as_echo_n "(cached) " >&6
15188 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
15191 if test "$ac_cv_type_short" = yes; then
15192 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15194 as_fn_error
77 "cannot compute sizeof (short)
15195 See \`config.log' for more details" "$LINENO" 5; }
15197 ac_cv_sizeof_short
=0
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15203 $as_echo "$ac_cv_sizeof_short" >&6; }
15207 cat >>confdefs.h
<<_ACEOF
15208 #define SIZEOF_SHORT $ac_cv_sizeof_short
15212 # The cast to long int works around a bug in the HP C Compiler
15213 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15214 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15215 # This bug is HP SR number 8606223364.
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
15217 $as_echo_n "checking size of char... " >&6; }
15218 if ${ac_cv_sizeof_char+:} false
; then :
15219 $as_echo_n "(cached) " >&6
15221 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
15224 if test "$ac_cv_type_char" = yes; then
15225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15227 as_fn_error
77 "cannot compute sizeof (char)
15228 See \`config.log' for more details" "$LINENO" 5; }
15230 ac_cv_sizeof_char
=0
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
15236 $as_echo "$ac_cv_sizeof_char" >&6; }
15240 cat >>confdefs.h
<<_ACEOF
15241 #define SIZEOF_CHAR $ac_cv_sizeof_char
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
15247 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
15248 case "$ac_cv_sizeof_char" in
15249 1) acx_cv_type_int8_t
=char
;;
15250 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
15253 $as_echo "$acx_cv_type_int8_t" >&6; }
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
15256 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
15257 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15258 2:*) acx_cv_type_int16_t
=int
;;
15259 *:2) acx_cv_type_int16_t
=short
;;
15260 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
15263 $as_echo "$acx_cv_type_int16_t" >&6; }
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
15266 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
15267 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15268 4:*) acx_cv_type_int32_t
=int
;;
15269 *:4) acx_cv_type_int32_t
=long
;;
15270 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
15272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
15273 $as_echo "$acx_cv_type_int32_t" >&6; }
15276 # These tests are here to make the output prettier
15278 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15279 case "$ac_cv_sizeof_long" in
15280 8) acx_cv_type_int64_t
=long
;;
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
15283 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15285 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
15288 # Now we can use the above types
15290 if test "$ac_cv_type_uintptr_t" != yes; then
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
15292 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
15293 case $ac_cv_sizeof_void_p in
15294 2) acx_cv_type_intptr_t
=int16_t
;;
15295 4) acx_cv_type_intptr_t
=int32_t
;;
15296 8) acx_cv_type_intptr_t
=int64_t
;;
15297 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
15300 $as_echo "$acx_cv_type_intptr_t" >&6; }
15303 # ----------------- done all checks, emit header -------------
15304 ac_config_commands
="$ac_config_commands gstdint.h"
15312 # RTEMS supports Pthreads, but the library is not available at GCC build time.
15315 # NVPTX does not support Pthreads, has its own code replacement.
15316 libgomp_use_pthreads
=no
15317 # NVPTX is an accelerator-only target
15318 libgomp_offloaded_only
=yes
15321 # Check to see if -pthread or -lpthread is needed. Prefer the former.
15322 # In case the pthread.h system header is not found, this test will fail.
15323 CFLAGS
="$CFLAGS -pthread"
15324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15325 /* end confdefs.h. */
15326 #include <pthread.h>
15327 void *g(void *d) { return NULL; }
15331 pthread_t t; pthread_create(&t,NULL,g,NULL);
15336 if ac_fn_c_try_link
"$LINENO"; then :
15337 XPCFLAGS
=" -Wc,-pthread"
15339 CFLAGS
="$save_CFLAGS" LIBS
="-lpthread $LIBS"
15340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15341 /* end confdefs.h. */
15342 #include <pthread.h>
15343 void *g(void *d) { return NULL; }
15347 pthread_t t; pthread_create(&t,NULL,g,NULL);
15352 if ac_fn_c_try_link
"$LINENO"; then :
15355 as_fn_error $?
"Pthreads are required to build libgomp" "$LINENO" 5
15357 rm -f core conftest.err conftest.
$ac_objext \
15358 conftest
$ac_exeext conftest.
$ac_ext
15360 rm -f core conftest.err conftest.
$ac_objext \
15361 conftest
$ac_exeext conftest.
$ac_ext
15364 if test x
$libgomp_use_pthreads != xno
; then
15366 $as_echo "#define LIBGOMP_USE_PTHREADS 1" >>confdefs.h
15370 if test x
$libgomp_offloaded_only = xyes
; then
15372 $as_echo "#define LIBGOMP_OFFLOADED_ONLY 1" >>confdefs.h
15376 # Plugins for offload execution, configure.ac fragment. -*- mode: autoconf -*-
15378 # Copyright (C) 2014-2018 Free Software Foundation, Inc.
15380 # Contributed by Mentor Embedded.
15382 # This file is part of the GNU Offloading and Multi Processing Library
15385 # Libgomp is free software; you can redistribute it and/or modify it
15386 # under the terms of the GNU General Public License as published by
15387 # the Free Software Foundation; either version 3, or (at your option)
15388 # any later version.
15390 # Libgomp is distributed in the hope that it will be useful, but WITHOUT ANY
15391 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15392 # FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15395 # Under Section 7 of GPL version 3, you are granted additional
15396 # permissions described in the GCC Runtime Library Exception, version
15397 # 3.1, as published by the Free Software Foundation.
15399 # You should have received a copy of the GNU General Public License and
15400 # a copy of the GCC Runtime Library Exception along with this program;
15401 # see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
15402 # <http://www.gnu.org/licenses/>.
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
15408 $as_echo_n "checking for dlsym in -ldl... " >&6; }
15409 if ${ac_cv_lib_dl_dlsym+:} false
; then :
15410 $as_echo_n "(cached) " >&6
15412 ac_check_lib_save_LIBS
=$LIBS
15414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15415 /* end confdefs.h. */
15417 /* Override any GCC internal prototype to avoid an error.
15418 Use char because int might match the return type of a GCC
15419 builtin and then its argument prototype would still apply. */
15432 if ac_fn_c_try_link
"$LINENO"; then :
15433 ac_cv_lib_dl_dlsym
=yes
15435 ac_cv_lib_dl_dlsym
=no
15437 rm -f core conftest.err conftest.
$ac_objext \
15438 conftest
$ac_exeext conftest.
$ac_ext
15439 LIBS
=$ac_check_lib_save_LIBS
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
15442 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
15443 if test "x$ac_cv_lib_dl_dlsym" = xyes
; then :
15444 cat >>confdefs.h
<<_ACEOF
15445 #define HAVE_LIBDL 1
15454 if test x
"$plugin_support" = xyes
; then
15456 $as_echo "#define PLUGIN_SUPPORT 1" >>confdefs.h
15458 elif test "x${enable_offload_targets-no}" != xno
; then
15459 as_fn_error $?
"Can't support offloading without support for plugins" "$LINENO" 5
15464 for ac_header
in $ac_header_list
15466 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15467 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15469 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15470 cat >>confdefs.h
<<_ACEOF
15471 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15484 for ac_func
in $ac_func_list
15486 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15487 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15488 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15489 cat >>confdefs.h
<<_ACEOF
15490 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15511 # Look for the CUDA driver package.
15512 CUDA_DRIVER_INCLUDE
=
15516 CUDA_DRIVER_CPPFLAGS
=
15517 CUDA_DRIVER_LDFLAGS
=
15519 # Check whether --with-cuda-driver was given.
15520 if test "${with_cuda_driver+set}" = set; then :
15521 withval
=$with_cuda_driver;
15525 # Check whether --with-cuda-driver-include was given.
15526 if test "${with_cuda_driver_include+set}" = set; then :
15527 withval
=$with_cuda_driver_include;
15531 # Check whether --with-cuda-driver-lib was given.
15532 if test "${with_cuda_driver_lib+set}" = set; then :
15533 withval
=$with_cuda_driver_lib;
15536 case "x$with_cuda_driver" in
15539 CUDA_DRIVER_INCLUDE
=no
15542 *) CUDA_DRIVER_INCLUDE
=$with_cuda_driver/include
15543 CUDA_DRIVER_LIB
=$with_cuda_driver/lib
15546 if test "x$with_cuda_driver_include" != x
; then
15547 CUDA_DRIVER_INCLUDE
=$with_cuda_driver_include
15549 if test "x$with_cuda_driver_lib" != x
; then
15550 CUDA_DRIVER_LIB
=$with_cuda_driver_lib
15552 if test "x$CUDA_DRIVER_INCLUDE" != x \
15553 && test "x$CUDA_DRIVER_INCLUDE" != xno
; then
15554 CUDA_DRIVER_CPPFLAGS
=-I$CUDA_DRIVER_INCLUDE
15556 if test "x$CUDA_DRIVER_LIB" != x \
15557 && test "x$CUDA_DRIVER_LIB" != xno
; then
15558 CUDA_DRIVER_LDFLAGS
=-L$CUDA_DRIVER_LIB
15562 PLUGIN_NVPTX_CPPFLAGS
=
15563 PLUGIN_NVPTX_LDFLAGS
=
15565 PLUGIN_NVPTX_DYNAMIC
=0
15571 # Look for HSA run-time, its includes and libraries
15573 HSA_RUNTIME_INCLUDE
=
15577 HSA_RUNTIME_CPPFLAGS
=
15578 HSA_RUNTIME_LDFLAGS
=
15581 # Check whether --with-hsa-runtime was given.
15582 if test "${with_hsa_runtime+set}" = set; then :
15583 withval
=$with_hsa_runtime;
15587 # Check whether --with-hsa-runtime-include was given.
15588 if test "${with_hsa_runtime_include+set}" = set; then :
15589 withval
=$with_hsa_runtime_include;
15593 # Check whether --with-hsa-runtime-lib was given.
15594 if test "${with_hsa_runtime_lib+set}" = set; then :
15595 withval
=$with_hsa_runtime_lib;
15598 if test "x$with_hsa_runtime" != x
; then
15599 HSA_RUNTIME_INCLUDE
=$with_hsa_runtime/include
15600 HSA_RUNTIME_LIB
=$with_hsa_runtime/lib
15602 if test "x$with_hsa_runtime_include" != x
; then
15603 HSA_RUNTIME_INCLUDE
=$with_hsa_runtime_include
15605 if test "x$with_hsa_runtime_lib" != x
; then
15606 HSA_RUNTIME_LIB
=$with_hsa_runtime_lib
15608 if test "x$HSA_RUNTIME_INCLUDE" != x
; then
15609 HSA_RUNTIME_CPPFLAGS
=-I$HSA_RUNTIME_INCLUDE
15611 if test "x$HSA_RUNTIME_LIB" != x
; then
15612 HSA_RUNTIME_LDFLAGS
=-L$HSA_RUNTIME_LIB
15616 PLUGIN_HSA_CPPFLAGS
=
15617 PLUGIN_HSA_LDFLAGS
=
15624 # Get offload targets and path to install tree of offloading compiler.
15625 offload_additional_options
=
15626 offload_additional_lib_paths
=
15629 if test x
"$enable_offload_targets" != x
; then
15630 for tgt
in `echo $enable_offload_targets | sed -e 's#,# #g'`; do
15631 tgt_dir
=`echo $tgt | grep '=' | sed 's/.*=//'`
15632 tgt
=`echo $tgt | sed 's/=.*//'`
15635 *-intelmic-* |
*-intelmicemul-*)
15641 if test "x$CUDA_DRIVER_LIB" != xno \
15642 && test "x$CUDA_DRIVER_LIB" != xno
; then
15643 PLUGIN_NVPTX_CPPFLAGS
=$CUDA_DRIVER_CPPFLAGS
15644 PLUGIN_NVPTX_LDFLAGS
=$CUDA_DRIVER_LDFLAGS
15645 PLUGIN_NVPTX_LIBS
='-lcuda'
15647 PLUGIN_NVPTX_save_CPPFLAGS
=$CPPFLAGS
15648 CPPFLAGS
="$PLUGIN_NVPTX_CPPFLAGS $CPPFLAGS"
15649 PLUGIN_NVPTX_save_LDFLAGS
=$LDFLAGS
15650 LDFLAGS
="$PLUGIN_NVPTX_LDFLAGS $LDFLAGS"
15651 PLUGIN_NVPTX_save_LIBS
=$LIBS
15652 LIBS
="$PLUGIN_NVPTX_LIBS $LIBS"
15653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15654 /* end confdefs.h. */
15659 CUresult r = cuCtxPushCurrent (NULL);
15664 if ac_fn_c_try_link
"$LINENO"; then :
15667 rm -f core conftest.err conftest.
$ac_objext \
15668 conftest
$ac_exeext conftest.
$ac_ext
15669 CPPFLAGS
=$PLUGIN_NVPTX_save_CPPFLAGS
15670 LDFLAGS
=$PLUGIN_NVPTX_save_LDFLAGS
15671 LIBS
=$PLUGIN_NVPTX_save_LIBS
15673 case $PLUGIN_NVPTX in
15675 if (test "x$CUDA_DRIVER_INCLUDE" = x \
15676 ||
test "x$CUDA_DRIVER_INCLUDE" = xno
) \
15677 && (test "x$CUDA_DRIVER_LIB" = x \
15678 ||
test "x$CUDA_DRIVER_LIB" = xno
); then
15680 PLUGIN_NVPTX_CPPFLAGS
='-I$(srcdir)/plugin/cuda'
15681 PLUGIN_NVPTX_LIBS
='-ldl'
15682 PLUGIN_NVPTX_DYNAMIC
=1
15685 as_fn_error $?
"CUDA driver package required for nvptx support" "$LINENO" 5
15691 case "${target}" in
15693 case " ${CC} ${CFLAGS} " in
15700 PLUGIN_HSA_CPPFLAGS
=$HSA_RUNTIME_CPPFLAGS
15701 PLUGIN_HSA_LDFLAGS
="$HSA_RUNTIME_LDFLAGS"
15702 PLUGIN_HSA_LIBS
="-ldl"
15704 PLUGIN_HSA_save_CPPFLAGS
=$CPPFLAGS
15705 CPPFLAGS
="$PLUGIN_HSA_CPPFLAGS $CPPFLAGS"
15706 PLUGIN_HSA_save_LDFLAGS
=$LDFLAGS
15707 LDFLAGS
="$PLUGIN_HSA_LDFLAGS $LDFLAGS"
15708 PLUGIN_HSA_save_LIBS
=$LIBS
15709 LIBS
="$PLUGIN_HSA_LIBS $LIBS"
15712 CPPFLAGS
=$PLUGIN_HSA_save_CPPFLAGS
15713 LDFLAGS
=$PLUGIN_HSA_save_LDFLAGS
15714 LIBS
=$PLUGIN_HSA_save_LIBS
15715 case $PLUGIN_HSA in
15718 as_fn_error $?
"HSA run-time package required for HSA support" "$LINENO" 5
15730 as_fn_error $?
"unknown offload target specified" "$LINENO" 5
15733 if test x
"$tgt_name" = x
; then
15734 # Don't configure libgomp for this offloading target if we don't build
15735 # the corresponding plugin.
15737 elif test x
"$offload_targets" = x
; then
15738 offload_targets
=$tgt_name
15740 offload_targets
=$offload_targets,$tgt_name
15742 if test "$tgt_name" = hsa
; then
15743 # Offloading compilation is all handled by the target compiler.
15745 elif test x
"$tgt_dir" != x
; then
15746 offload_additional_options
="$offload_additional_options -B$tgt_dir/libexec/gcc/\$(target_alias)/\$(gcc_version) -B$tgt_dir/bin"
15747 offload_additional_lib_paths
="$offload_additional_lib_paths:$tgt_dir/lib64:$tgt_dir/lib:$tgt_dir/lib32"
15749 offload_additional_options
="$offload_additional_options -B\$(libexecdir)/gcc/\$(target_alias)/\$(gcc_version) -B\$(bindir)"
15750 offload_additional_lib_paths
="$offload_additional_lib_paths:$toolexeclibdir"
15755 cat >>confdefs.h
<<_ACEOF
15756 #define OFFLOAD_TARGETS "$offload_targets"
15759 if test $PLUGIN_NVPTX = 1; then
15761 PLUGIN_NVPTX_FALSE
='#'
15763 PLUGIN_NVPTX_TRUE
='#'
15764 PLUGIN_NVPTX_FALSE
=
15768 cat >>confdefs.h
<<_ACEOF
15769 #define PLUGIN_NVPTX $PLUGIN_NVPTX
15773 cat >>confdefs.h
<<_ACEOF
15774 #define PLUGIN_NVPTX_DYNAMIC $PLUGIN_NVPTX_DYNAMIC
15777 if test $PLUGIN_HSA = 1; then
15779 PLUGIN_HSA_FALSE
='#'
15781 PLUGIN_HSA_TRUE
='#'
15786 cat >>confdefs.h
<<_ACEOF
15787 #define PLUGIN_HSA $PLUGIN_HSA
15791 if test "$HSA_RUNTIME_LIB" != ""; then
15792 HSA_RUNTIME_LIB
="$HSA_RUNTIME_LIB/"
15796 cat >>confdefs.h
<<_ACEOF
15797 #define HSA_RUNTIME_LIB "$HSA_RUNTIME_LIB"
15802 # Check for functions needed.
15803 for ac_func
in getloadavg clock_gettime strtoull
15805 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15806 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15807 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15808 cat >>confdefs.h
<<_ACEOF
15809 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15815 for ac_func
in aligned_alloc posix_memalign memalign _aligned_malloc
15817 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15818 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15819 eval as_val
=\$
$as_ac_var
15820 if test "x$as_val" = x
""yes; then :
15821 cat >>confdefs.h
<<_ACEOF
15822 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15829 # Check for broken semaphore implementation on darwin.
15830 # sem_init returns: sem_init error: Function not implemented.
15834 $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
15839 # RTEMS specific checks
15842 ac_fn_c_check_type
"$LINENO" "struct _Mutex_Control" "ac_cv_type_struct__Mutex_Control" "#include <sys/lock.h>
15844 if test "x$ac_cv_type_struct__Mutex_Control" = xyes
; then :
15846 cat >>confdefs.h
<<_ACEOF
15847 #define HAVE_STRUCT__MUTEX_CONTROL 1
15856 # Check whether --enable-linux-futex was given.
15857 if test "${enable_linux_futex+set}" = set; then :
15858 enableval
=$enable_linux_futex;
15859 case "$enableval" in
15861 *) as_fn_error $?
"Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
15865 enable_linux_futex
=default
15871 case "$enable_linux_futex" in
15873 # If headers don't have gettid/futex syscalls definition, then
15874 # default to no, otherwise there will be compile time failures.
15875 # Otherwise, default to yes. If we don't detect we are
15876 # compiled/linked against NPTL and not cross-compiling, check
15877 # if programs are run by default against NPTL and if not, issue
15879 enable_linux_futex
=no
15880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15881 /* end confdefs.h. */
15882 #include <sys/syscall.h>
15887 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
15892 if ac_fn_c_try_link
"$LINENO"; then :
15894 LIBS
="-lpthread $LIBS"
15895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15896 /* end confdefs.h. */
15897 #ifndef _GNU_SOURCE
15898 #define _GNU_SOURCE 1
15900 #include <pthread.h>
15901 pthread_t th; void *status;
15905 pthread_tryjoin_np (th, &status);
15910 if ac_fn_c_try_link
"$LINENO"; then :
15911 enable_linux_futex
=yes
15913 if test x
$cross_compiling = xno
; then
15914 if getconf GNU_LIBPTHREAD_VERSION
2>/dev
/null \
15915 | LC_ALL
=C
grep -i NPTL
> /dev
/null
2>/dev
/null
; then :; else
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
15917 If so, please configure with --disable-linux-futex" >&5
15918 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
15919 If so, please configure with --disable-linux-futex" >&2;}
15922 enable_linux_futex
=yes
15924 rm -f core conftest.err conftest.
$ac_objext \
15925 conftest
$ac_exeext conftest.
$ac_ext
15928 rm -f core conftest.err conftest.
$ac_objext \
15929 conftest
$ac_exeext conftest.
$ac_ext
15932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15933 /* end confdefs.h. */
15934 #include <sys/syscall.h>
15939 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
15944 if ac_fn_c_try_link
"$LINENO"; then :
15947 as_fn_error $?
"SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
15949 rm -f core conftest.err conftest.
$ac_objext \
15950 conftest
$ac_exeext conftest.
$ac_ext
15955 enable_linux_futex
=no
15958 if test x
$enable_linux_futex = xyes
; then
15963 # Check for pthread_{,attr_}[sg]etaffinity_np.
15964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15965 /* end confdefs.h. */
15966 #define _GNU_SOURCE
15967 #include <pthread.h>
15972 pthread_attr_t attr;
15973 pthread_getaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
15974 if (CPU_ISSET (0, &cpuset))
15975 CPU_SET (1, &cpuset);
15977 CPU_ZERO (&cpuset);
15978 pthread_setaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
15979 pthread_attr_init (&attr);
15980 pthread_attr_getaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
15981 pthread_attr_setaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
15986 if ac_fn_c_try_link
"$LINENO"; then :
15988 $as_echo "#define HAVE_PTHREAD_AFFINITY_NP 1" >>confdefs.h
15991 rm -f core conftest.err conftest.
$ac_objext \
15992 conftest
$ac_exeext conftest.
$ac_ext
15994 # At least for glibc, clock_gettime is in librt. But don't pull that
15995 # in if it still doesn't give us the function we want.
15996 if test $ac_cv_func_clock_gettime = no
; then
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
15998 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
15999 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
16000 $as_echo_n "(cached) " >&6
16002 ac_check_lib_save_LIBS
=$LIBS
16004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16005 /* end confdefs.h. */
16007 /* Override any GCC internal prototype to avoid an error.
16008 Use char because int might match the return type of a GCC
16009 builtin and then its argument prototype would still apply. */
16013 char clock_gettime ();
16017 return clock_gettime ();
16022 if ac_fn_c_try_link
"$LINENO"; then :
16023 ac_cv_lib_rt_clock_gettime
=yes
16025 ac_cv_lib_rt_clock_gettime
=no
16027 rm -f core conftest.err conftest.
$ac_objext \
16028 conftest
$ac_exeext conftest.
$ac_ext
16029 LIBS
=$ac_check_lib_save_LIBS
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
16032 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
16033 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
16036 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16044 /* end confdefs.h. */
16045 #include <string.h>
16046 #include <stdlib.h>
16047 #include <sys/utsname.h>
16051 struct utsname buf;
16052 volatile size_t len = 0;
16054 len = strlen (buf.nodename);
16059 if ac_fn_c_try_compile
"$LINENO"; then :
16061 $as_echo "#define HAVE_UNAME 1" >>confdefs.h
16064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16066 # Check for gethostname.
16067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16068 /* end confdefs.h. */
16069 #include <unistd.h>
16075 if (gethostname (buf, sizeof (buf) - 1) == 0)
16082 if ac_fn_c_try_compile
"$LINENO"; then :
16084 $as_echo "#define HAVE_GETHOSTNAME 1" >>confdefs.h
16087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16089 # Check for getpid.
16090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16091 /* end confdefs.h. */
16092 #include <unistd.h>
16096 int pid = getpid ();
16101 if ac_fn_c_try_compile
"$LINENO"; then :
16103 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
16106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16108 # See if we support thread-local storage.
16111 # Check whether --enable-tls was given.
16112 if test "${enable_tls+set}" = set; then :
16113 enableval
=$enable_tls;
16114 case "$enableval" in
16116 *) as_fn_error $?
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
16125 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
16126 if ${gcc_cv_have_tls+:} false
; then :
16127 $as_echo_n "(cached) " >&6
16130 if test "$cross_compiling" = yes; then :
16131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16132 /* end confdefs.h. */
16133 __thread int a; int b; int main() { return a = b; }
16135 if ac_fn_c_try_link
"$LINENO"; then :
16136 chktls_save_LDFLAGS
="$LDFLAGS"
16139 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
16142 chktls_save_CFLAGS
="$CFLAGS"
16143 CFLAGS
="-fPIC $CFLAGS"
16144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16145 /* end confdefs.h. */
16146 int f() { return 0; }
16148 if ac_fn_c_try_link
"$LINENO"; then :
16149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16150 /* end confdefs.h. */
16151 __thread int a; int b; int f() { return a = b; }
16153 if ac_fn_c_try_link
"$LINENO"; then :
16154 gcc_cv_have_tls
=yes
16158 rm -f core conftest.err conftest.
$ac_objext \
16159 conftest
$ac_exeext conftest.
$ac_ext
16161 gcc_cv_have_tls
=yes
16163 rm -f core conftest.err conftest.
$ac_objext \
16164 conftest
$ac_exeext conftest.
$ac_ext
16165 CFLAGS
="$chktls_save_CFLAGS"
16166 LDFLAGS
="$chktls_save_LDFLAGS"
16170 rm -f core conftest.err conftest.
$ac_objext \
16171 conftest
$ac_exeext conftest.
$ac_ext
16175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16176 /* end confdefs.h. */
16177 __thread int a; int b; int main() { return a = b; }
16179 if ac_fn_c_try_run
"$LINENO"; then :
16180 chktls_save_LDFLAGS
="$LDFLAGS"
16181 LDFLAGS
="-static $LDFLAGS"
16182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16183 /* end confdefs.h. */
16184 int main() { return 0; }
16186 if ac_fn_c_try_link
"$LINENO"; then :
16187 if test "$cross_compiling" = yes; then :
16188 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16190 as_fn_error $?
"cannot run test program while cross compiling
16191 See \`config.log' for more details" "$LINENO" 5; }
16193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16194 /* end confdefs.h. */
16195 __thread int a; int b; int main() { return a = b; }
16197 if ac_fn_c_try_run
"$LINENO"; then :
16198 gcc_cv_have_tls
=yes
16202 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16203 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16207 gcc_cv_have_tls
=yes
16209 rm -f core conftest.err conftest.
$ac_objext \
16210 conftest
$ac_exeext conftest.
$ac_ext
16211 LDFLAGS
="$chktls_save_LDFLAGS"
16212 if test $gcc_cv_have_tls = yes; then
16213 chktls_save_CFLAGS
="$CFLAGS"
16214 thread_CFLAGS
=failed
16215 for flag
in '' '-pthread' '-lpthread'; do
16216 CFLAGS
="$flag $chktls_save_CFLAGS"
16217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16218 /* end confdefs.h. */
16219 #include <pthread.h>
16220 void *g(void *d) { return NULL; }
16224 pthread_t t; pthread_create(&t,NULL,g,NULL);
16229 if ac_fn_c_try_link
"$LINENO"; then :
16230 thread_CFLAGS
="$flag"
16232 rm -f core conftest.err conftest.
$ac_objext \
16233 conftest
$ac_exeext conftest.
$ac_ext
16234 if test "X$thread_CFLAGS" != Xfailed
; then
16238 CFLAGS
="$chktls_save_CFLAGS"
16239 if test "X$thread_CFLAGS" != Xfailed
; then
16240 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
16241 if test "$cross_compiling" = yes; then :
16242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16244 as_fn_error $?
"cannot run test program while cross compiling
16245 See \`config.log' for more details" "$LINENO" 5; }
16247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16248 /* end confdefs.h. */
16249 #include <pthread.h>
16251 static int *volatile a_in_other_thread;
16253 thread_func (void *arg)
16255 a_in_other_thread = &a;
16262 void *thread_retval;
16263 int *volatile a_in_main_thread;
16264 a_in_main_thread = &a;
16265 if (pthread_create (&thread, (pthread_attr_t *)0,
16266 thread_func, (void *)0))
16268 if (pthread_join (thread, &thread_retval))
16270 return (a_in_other_thread == a_in_main_thread);
16275 if ac_fn_c_try_run
"$LINENO"; then :
16276 gcc_cv_have_tls
=yes
16280 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16281 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16284 CFLAGS
="$chktls_save_CFLAGS"
16290 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16291 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
16296 $as_echo "$gcc_cv_have_tls" >&6; }
16297 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
16299 $as_echo "#define HAVE_TLS 1" >>confdefs.h
16303 # See if we have emulated thread-local storage.
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5
16306 $as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; }
16307 if ${gcc_cv_use_emutls+:} false
; then :
16308 $as_echo_n "(cached) " >&6
16311 gcc_cv_use_emutls
=no
16312 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
16313 if { ac_try
='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5'
16314 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16315 (eval $ac_try) 2>&5
16317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16318 test $ac_status = 0; }; }; then
16319 if grep __emutls_get_address conftest.s
> /dev
/null
; then
16320 gcc_cv_use_emutls
=yes
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5
16327 $as_echo "$gcc_cv_use_emutls" >&6; }
16328 if test "$gcc_cv_use_emutls" = "yes" ; then
16330 $as_echo "#define USE_EMUTLS 1" >>confdefs.h
16334 # See what sort of export controls are available.
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
16337 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
16338 if ${libgomp_cv_have_attribute_visibility+:} false
; then :
16339 $as_echo_n "(cached) " >&6
16342 save_CFLAGS
="$CFLAGS"
16343 CFLAGS
="$CFLAGS -Werror"
16344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16345 /* end confdefs.h. */
16346 void __attribute__((visibility("hidden"))) foo(void) { }
16355 if ac_fn_c_try_compile
"$LINENO"; then :
16356 libgomp_cv_have_attribute_visibility
=yes
16358 libgomp_cv_have_attribute_visibility
=no
16360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16361 CFLAGS
="$save_CFLAGS"
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_attribute_visibility" >&5
16364 $as_echo "$libgomp_cv_have_attribute_visibility" >&6; }
16365 if test $libgomp_cv_have_attribute_visibility = yes; then
16367 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
16372 $as_echo_n "checking whether the target supports dllexport... " >&6; }
16373 if ${libgomp_cv_have_attribute_dllexport+:} false
; then :
16374 $as_echo_n "(cached) " >&6
16377 save_CFLAGS
="$CFLAGS"
16378 CFLAGS
="$CFLAGS -Werror"
16379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16380 /* end confdefs.h. */
16381 void __attribute__((dllexport)) foo(void) { }
16390 if ac_fn_c_try_compile
"$LINENO"; then :
16391 libgomp_cv_have_attribute_dllexport
=yes
16393 libgomp_cv_have_attribute_dllexport
=no
16395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16396 CFLAGS
="$save_CFLAGS"
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_attribute_dllexport" >&5
16399 $as_echo "$libgomp_cv_have_attribute_dllexport" >&6; }
16400 if test $libgomp_cv_have_attribute_dllexport = yes; then
16402 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
16407 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
16408 if ${libgomp_cv_have_attribute_alias+:} false
; then :
16409 $as_echo_n "(cached) " >&6
16412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16413 /* end confdefs.h. */
16416 extern void bar(void) __attribute__((alias("foo")));
16425 if ac_fn_c_try_link
"$LINENO"; then :
16426 libgomp_cv_have_attribute_alias
=yes
16428 libgomp_cv_have_attribute_alias
=no
16430 rm -f core conftest.err conftest.
$ac_objext \
16431 conftest
$ac_exeext conftest.
$ac_ext
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_attribute_alias" >&5
16434 $as_echo "$libgomp_cv_have_attribute_alias" >&6; }
16435 if test $libgomp_cv_have_attribute_alias = yes; then
16437 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
16442 # Check whether --with-gnu-ld was given.
16443 if test "${with_gnu_ld+set}" = set; then :
16444 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
16450 if test "$GCC" = yes; then
16451 # Check if gcc -print-prog-name=ld gives a path.
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
16453 $as_echo_n "checking for ld used by $CC... " >&6; }
16456 # gcc leaves a trailing carriage return which upsets mingw
16457 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16459 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
16462 # Accept absolute paths.
16464 re_direlt
='/[^/][^/]*/\.\./'
16465 # Canonicalize the pathname of ld
16466 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
16467 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
16468 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
16470 test -z "$LD" && LD
="$ac_prog"
16473 # If it fails, then pretend we aren't using GCC.
16477 # If it is relative, then search for the first ld in PATH.
16478 with_gnu_ld
=unknown
16481 elif test "$with_gnu_ld" = yes; then
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16483 $as_echo_n "checking for GNU ld... " >&6; }
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16486 $as_echo_n "checking for non-GNU ld... " >&6; }
16488 if ${lt_cv_path_LD+:} false
; then :
16489 $as_echo_n "(cached) " >&6
16491 if test -z "$LD"; then
16492 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
16493 for ac_dir
in $PATH; do
16495 test -z "$ac_dir" && ac_dir
=.
16496 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
16497 lt_cv_path_LD
="$ac_dir/$ac_prog"
16498 # Check to see if the program is GNU ld. I'd rather use --version,
16499 # but apparently some variants of GNU ld only accept -v.
16500 # Break only if it was the GNU/non-GNU ld that we prefer.
16501 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16502 *GNU
* |
*'with BFD'*)
16503 test "$with_gnu_ld" != no
&& break
16506 test "$with_gnu_ld" != yes && break
16513 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
16517 LD
="$lt_cv_path_LD"
16518 if test -n "$LD"; then
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16520 $as_echo "$LD" >&6; }
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16523 $as_echo "no" >&6; }
16525 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16527 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16528 if ${lt_cv_prog_gnu_ld+:} false
; then :
16529 $as_echo_n "(cached) " >&6
16531 # I'd rather use --version here, but apparently some GNU lds only accept -v.
16532 case `$LD -v 2>&1 </dev/null` in
16533 *GNU
* |
*'with BFD'*)
16534 lt_cv_prog_gnu_ld
=yes
16537 lt_cv_prog_gnu_ld
=no
16541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
16542 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
16543 with_gnu_ld
=$lt_cv_prog_gnu_ld
16551 # If we're not using GNU ld, then there's no point in even trying these
16552 # tests. Check for that first. We should have already tested for gld
16553 # by now (in libtool), but require it now just to be safe...
16554 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
16555 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
16559 # The name set by libtool depends on the version of libtool. Shame on us
16560 # for depending on an impl detail, but c'est la vie. Older versions used
16561 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
16562 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
16563 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
16564 # set (hence we're using an older libtool), then set it.
16565 if test x
${with_gnu_ld+set} != xset
; then
16566 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
16567 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
16570 with_gnu_ld
=$ac_cv_prog_gnu_ld
16574 # Start by getting the version number. I think the libtool test already
16575 # does some of this, but throws away the result.
16576 libgomp_ld_is_gold
=no
16577 if $LD --version 2>/dev
/null |
grep 'GNU gold'> /dev
/null
2>&1; then
16578 libgomp_ld_is_gold
=yes
16581 ldver
=`$LD --version 2>/dev/null |
16582 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
16584 libgomp_gnu_ld_version
=`echo $ldver | \
16585 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
16587 # Set --gc-sections.
16588 if test "$with_gnu_ld" = "notbroken"; then
16589 # GNU ld it is! Joy and bunny rabbits!
16591 # All these tests are for C++; save the language and the compiler flags.
16592 # Need to do this so that g++ won't try to link in libstdc++
16593 ac_test_CFLAGS
="${CFLAGS+set}"
16594 ac_save_CFLAGS
="$CFLAGS"
16595 CFLAGS
='-x c++ -Wl,--gc-sections'
16597 # Check for -Wl,--gc-sections
16598 # XXX This test is broken at the moment, as symbols required for linking
16599 # are now in libsupc++ (not built yet). In addition, this test has
16600 # cored on solaris in the past. In addition, --gc-sections doesn't
16601 # really work at the moment (keeps on discarding used sections, first
16602 # .eh_frame and now some of the glibc sections for iconv).
16603 # Bzzzzt. Thanks for playing, maybe next time.
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
16605 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
16606 if test "$cross_compiling" = yes; then :
16607 ac_sectionLDflags
=yes
16609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16610 /* end confdefs.h. */
16620 if ac_fn_c_try_run
"$LINENO"; then :
16621 ac_sectionLDflags
=yes
16623 ac_sectionLDflags
=no
16625 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16626 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16629 if test "$ac_test_CFLAGS" = set; then
16630 CFLAGS
="$ac_save_CFLAGS"
16632 # this is the suspicious part
16635 if test "$ac_sectionLDflags" = "yes"; then
16636 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_sectionLDflags" >&5
16639 $as_echo "$ac_sectionLDflags" >&6; }
16642 # Set linker optimization flags.
16643 if test x
"$with_gnu_ld" = x
"yes"; then
16644 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
16652 # Check whether --enable-symvers was given.
16653 if test "${enable_symvers+set}" = set; then :
16654 enableval
=$enable_symvers;
16655 case "$enableval" in
16656 yes|no|gnu
*|sun
) ;;
16657 *) as_fn_error $?
"Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
16666 # If we never went through the LIBGOMP_CHECK_LINKER_FEATURES macro, then we
16667 # don't know enough about $LD to do tricks...
16670 # Turn a 'yes' into a suitable default.
16671 if test x
$enable_symvers = xyes
; then
16672 # FIXME The following test is too strict, in theory.
16673 if test $enable_shared = no ||
test "x$LD" = x
; then
16676 if test $with_gnu_ld = yes ; then
16679 case ${target_os} in
16680 # Sun symbol versioning exists since Solaris 2.5.
16681 solaris2.
[5-9]* | solaris2.1
[0-9]*)
16682 enable_symvers
=sun
;;
16684 enable_symvers
=no
;;
16690 # Check if 'sun' was requested on non-Solaris 2 platforms.
16691 if test x
$enable_symvers = xsun
; then
16692 case ${target_os} in
16697 # Unlikely to work.
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
16699 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
16701 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
16703 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
16709 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
16710 if test $enable_symvers != no
; then
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
16712 $as_echo_n "checking for shared libgcc... " >&6; }
16713 ac_save_CFLAGS
="$CFLAGS"
16715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16716 /* end confdefs.h. */
16726 if ac_fn_c_try_link
"$LINENO"; then :
16727 libgomp_shared_libgcc
=yes
16729 libgomp_shared_libgcc
=no
16731 rm -f core conftest.err conftest.
$ac_objext \
16732 conftest
$ac_exeext conftest.
$ac_ext
16733 CFLAGS
="$ac_save_CFLAGS"
16734 if test $libgomp_shared_libgcc = no
; then
16735 cat > conftest.c
<<EOF
16736 int main (void) { return 0; }
16738 libgomp_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
16739 -shared -shared-libgcc -o conftest.so \
16740 conftest.c -v 2>&1 >/dev/null \
16741 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
16742 rm -f conftest.c conftest.so
16743 if test x
${libgomp_libgcc_s_suffix+set} = xset
; then
16744 CFLAGS
=" -lgcc_s$libgomp_libgcc_s_suffix"
16745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16746 /* end confdefs.h. */
16756 if ac_fn_c_try_link
"$LINENO"; then :
16757 libgomp_shared_libgcc
=yes
16759 rm -f core conftest.err conftest.
$ac_objext \
16760 conftest
$ac_exeext conftest.
$ac_ext
16761 CFLAGS
="$ac_save_CFLAGS"
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_shared_libgcc" >&5
16765 $as_echo "$libgomp_shared_libgcc" >&6; }
16768 # For GNU ld, we need at least this version. The format is described in
16769 # LIBGOMP_CHECK_LINKER_FEATURES above.
16770 libgomp_min_gnu_ld_version
=21400
16771 # XXXXXXXXXXX libgomp_gnu_ld_version=21390
16773 # Check to see if unspecified "yes" value can win, given results above.
16774 # Change "yes" into either "no" or a style name.
16775 if test $enable_symvers != no
&& test $libgomp_shared_libgcc = yes; then
16776 if test $with_gnu_ld = yes; then
16777 if test $libgomp_gnu_ld_version -ge $libgomp_min_gnu_ld_version ; then
16779 elif test $libgomp_ld_is_gold = yes ; then
16782 # The right tools, the right setup, but too old. Fallbacks?
16783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&5
16784 $as_echo "$as_me: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&2;}
16785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
16786 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
16788 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&5
16790 $as_echo "$as_me: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&2;}
16791 if test $libgomp_gnu_ld_version -ge 21200 ; then
16792 # Globbing fix is present, proper block support is not.
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
16794 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
16799 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
16803 elif test $enable_symvers = sun
; then
16804 : All interesting versions of Sun ld support sun style symbol versioning.
16806 # just fail for now
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested some kind of symbol versioning, but" >&5
16808 $as_echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
16809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === either you are not using a supported linker, or you are" >&5
16810 $as_echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === not building a shared libgcc_s (which is required)." >&5
16812 $as_echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
16814 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
16820 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
16821 if ${libgomp_cv_have_as_symver_directive+:} false
; then :
16822 $as_echo_n "(cached) " >&6
16825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16826 /* end confdefs.h. */
16827 void foo (void); __asm (".symver foo, bar@SYMVER");
16836 if ac_fn_c_try_compile
"$LINENO"; then :
16837 libgomp_cv_have_as_symver_directive
=yes
16839 libgomp_cv_have_as_symver_directive
=no
16841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_as_symver_directive" >&5
16844 $as_echo "$libgomp_cv_have_as_symver_directive" >&6; }
16845 if test $libgomp_cv_have_as_symver_directive = yes; then
16847 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
16851 if test $enable_symvers != no
; then
16852 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
=
16853 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
='#'
16855 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
='#'
16856 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
=
16859 if test $enable_symvers = gnu
; then
16860 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_TRUE
=
16861 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_FALSE
='#'
16863 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_TRUE
='#'
16864 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_FALSE
=
16867 if test $enable_symvers = sun
; then
16868 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_TRUE
=
16869 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_FALSE
='#'
16871 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_TRUE
='#'
16872 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_FALSE
=
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
16876 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
16878 if test $enable_symvers != no
; then
16879 case ${target_os} in
16880 # The Solaris 2 runtime linker doesn't support the GNU extension of
16881 # binding the same symbol to different versions
16884 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
16887 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
16894 if test $enable_symvers = gnu
; then
16896 $as_echo "#define LIBGOMP_GNU_SYMBOL_VERSIONING 1" >>confdefs.h
16900 # Get target configury.
16901 .
${srcdir}/configure.tgt
16902 CFLAGS
="$save_CFLAGS $XCFLAGS"
16904 # Check for __sync_val_compare_and_swap, but only after the target has
16905 # had a chance to set XCFLAGS.
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_*_compare_and_swap" >&5
16908 $as_echo_n "checking whether the target supports __sync_*_compare_and_swap... " >&6; }
16909 if ${libgomp_cv_have_sync_builtins+:} false
; then :
16910 $as_echo_n "(cached) " >&6
16913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16914 /* end confdefs.h. */
16919 int foo; __sync_val_compare_and_swap(&foo, 0, 1);
16924 if ac_fn_c_try_link
"$LINENO"; then :
16925 libgomp_cv_have_sync_builtins
=yes
16927 libgomp_cv_have_sync_builtins
=no
16929 rm -f core conftest.err conftest.
$ac_objext \
16930 conftest
$ac_exeext conftest.
$ac_ext
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_sync_builtins" >&5
16933 $as_echo "$libgomp_cv_have_sync_builtins" >&6; }
16934 if test $libgomp_cv_have_sync_builtins = yes; then
16936 $as_echo "#define HAVE_SYNC_BUILTINS 1" >>confdefs.h
16940 XCFLAGS
="$XCFLAGS$XPCFLAGS"
16942 # Add CET specific flags if CET is enabled
16943 # Check whether --enable-cet was given.
16944 if test "${enable_cet+set}" = set; then :
16945 enableval
=$enable_cet;
16946 case "$enableval" in
16948 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
16956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
16957 $as_echo_n "checking for CET support... " >&6; }
16960 i
[34567]86-*-linux* | x86_64-
*-linux*)
16961 case "$enable_cet" in
16963 # Check if target supports multi-byte NOPs
16964 # and if assembler supports CET insn.
16965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16966 /* end confdefs.h. */
16972 #if !defined(__SSE2__)
16973 #error target does not support multi-byte NOPs
16982 if ac_fn_c_try_compile
"$LINENO"; then :
16987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16990 # Check if assembler supports CET.
16991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16992 /* end confdefs.h. */
17002 if ac_fn_c_try_compile
"$LINENO"; then :
17005 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
17007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17015 if test x
$enable_cet = xyes
; then
17016 CET_FLAGS
="-fcf-protection -mshstk"
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17018 $as_echo "yes" >&6; }
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17021 $as_echo "no" >&6; }
17024 XCFLAGS
="$XCFLAGS $CET_FLAGS"
17025 FCFLAGS
="$FCFLAGS $CET_FLAGS"
17031 # Cleanup and exit.
17032 CFLAGS
="$save_CFLAGS"
17033 cat >confcache
<<\_ACEOF
17034 # This file is a shell script that caches the results of configure
17035 # tests run on this system so they can be shared between configure
17036 # scripts and configure runs, see configure's option --config-cache.
17037 # It is not useful on other systems. If it contains results you don't
17038 # want to keep, you may remove or edit it.
17040 # config.status only pays attention to the cache file if you give it
17041 # the --recheck option to rerun configure.
17043 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17044 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17045 # following values.
17049 # The following way of writing the cache mishandles newlines in values,
17050 # but we know of no workaround that is simple, portable, and efficient.
17051 # So, we kill variables containing newlines.
17052 # Ultrix sh set writes to stderr and can't be redirected directly,
17053 # and sets the high bit in the cache file unless we assign to the vars.
17055 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17056 eval ac_val
=\$
$ac_var
17060 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17061 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17064 _ | IFS | as_nl
) ;; #(
17065 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17066 *) { eval $ac_var=; unset $ac_var;} ;;
17072 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17073 *${as_nl}ac_space
=\
*)
17074 # `set' does not quote correctly, so add quotes: double-quote
17075 # substitution turns \\\\ into \\, and sed turns \\ into \.
17078 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17081 # `set' quotes correctly as required by POSIX, so do not add quotes.
17082 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17091 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17093 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17095 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17096 if test -w "$cache_file"; then
17097 if test "x$cache_file" != "x/dev/null"; then
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17099 $as_echo "$as_me: updating cache $cache_file" >&6;}
17100 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17101 cat confcache
>"$cache_file"
17103 case $cache_file in #(
17105 mv -f confcache
"$cache_file"$$
&&
17106 mv -f "$cache_file"$$
"$cache_file" ;; #(
17108 mv -f confcache
"$cache_file" ;;
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17114 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17119 if test ${multilib} = yes; then
17120 multilib_arg
="--enable-multilib"
17125 # Set up the set of libraries that we need to link against for libgomp.
17126 # Note that the GOMP_SELF_SPEC in gcc.c may force -pthread,
17127 # which will force linkage against -lpthread (or equivalent for the system).
17128 # That's not 100% ideal, but about the best we can do easily.
17129 if test $enable_shared = yes; then
17130 link_gomp
="-lgomp %{static: $LIBS}"
17132 link_gomp
="-lgomp $LIBS"
17136 if test "$ac_cv_fc_compiler_gnu" = yes; then
17138 USE_FORTRAN_FALSE
='#'
17140 USE_FORTRAN_TRUE
='#'
17145 # ??? 2006-01-24: Paulo committed to asking autoconf folk to document
17146 # and export AC_COMPUTE_INT. If that happens, then we'll need to remove
17147 # the underscore here and update the PREREQ. If it doesn't, then we'll
17148 # need to copy this macro to our acinclude.m4.
17149 save_CFLAGS
="$CFLAGS"
17150 for i
in $config_path; do
17151 if test -f $srcdir/config
/$i/omp-lock.h
; then
17152 CFLAGS
="$CFLAGS -include confdefs.h -include $srcdir/config/$i/omp-lock.h"
17157 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_lock_t)" "OMP_LOCK_SIZE" ""; then :
17160 as_fn_error $?
"unsupported system, cannot find sizeof (omp_lock_t)" "$LINENO" 5
17164 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_lock_t)" "OMP_LOCK_ALIGN" ""; then :
17169 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_nest_lock_t)" "OMP_NEST_LOCK_SIZE" ""; then :
17174 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_nest_lock_t)" "OMP_NEST_LOCK_ALIGN" ""; then :
17179 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_lock_25_t)" "OMP_LOCK_25_SIZE" ""; then :
17182 as_fn_error $?
"unsupported system, cannot find sizeof (omp_lock_25_t)" "$LINENO" 5
17186 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_lock_25_t)" "OMP_LOCK_25_ALIGN" ""; then :
17191 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_nest_lock_25_t)" "OMP_NEST_LOCK_25_SIZE" ""; then :
17196 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_nest_lock_25_t)" "OMP_NEST_LOCK_25_ALIGN" ""; then :
17202 # If the lock fits in an integer, then arrange for Fortran to use that
17203 # integer. If it doesn't, then arrange for Fortran to use a pointer.
17204 # Except that we don't have a way at present to multi-lib the installed
17205 # Fortran modules, so we assume 8 bytes for pointers, regardless of the
17207 OMP_LOCK_KIND
=$OMP_LOCK_SIZE
17208 OMP_NEST_LOCK_KIND
=$OMP_NEST_LOCK_SIZE
17209 if test $OMP_LOCK_SIZE -gt 8 ||
test $OMP_LOCK_ALIGN -gt $OMP_LOCK_SIZE; then
17212 if test $OMP_NEST_LOCK_SIZE -gt 8 ||
test $OMP_NEST_LOCK_ALIGN -gt $OMP_NEST_LOCK_SIZE; then
17213 OMP_NEST_LOCK_KIND
=8
17215 OMP_LOCK_25_KIND
=$OMP_LOCK_25_SIZE
17216 OMP_NEST_LOCK_25_KIND
=$OMP_NEST_LOCK_25_SIZE
17217 if test $OMP_LOCK_25_SIZE -gt 8 ||
test $OMP_LOCK_25_ALIGN -gt $OMP_LOCK_25_SIZE; then
17220 if test $OMP_NEST_LOCK_25_SIZE -gt 8 ||
test $OMP_NEST_LOCK_25_ALIGN -gt $OMP_NEST_LOCK_25_SIZE; then
17221 OMP_NEST_LOCK_25_KIND
=8
17236 CFLAGS
="$save_CFLAGS"
17238 # Determine what GCC version number to use in filesystem paths.
17240 get_gcc_base_ver
="cat"
17242 # Check whether --with-gcc-major-version-only was given.
17243 if test "${with_gcc_major_version_only+set}" = set; then :
17244 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
17245 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
17253 ac_config_files
="$ac_config_files omp.h omp_lib.h omp_lib.f90 libgomp_f.h"
17255 ac_config_files
="$ac_config_files Makefile testsuite/Makefile libgomp.spec"
17257 ac_config_files
="$ac_config_files testsuite/libgomp-test-support.pt.exp:testsuite/libgomp-test-support.exp.in"
17259 cat >confcache
<<\_ACEOF
17260 # This file is a shell script that caches the results of configure
17261 # tests run on this system so they can be shared between configure
17262 # scripts and configure runs, see configure's option --config-cache.
17263 # It is not useful on other systems. If it contains results you don't
17264 # want to keep, you may remove or edit it.
17266 # config.status only pays attention to the cache file if you give it
17267 # the --recheck option to rerun configure.
17269 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17270 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17271 # following values.
17275 # The following way of writing the cache mishandles newlines in values,
17276 # but we know of no workaround that is simple, portable, and efficient.
17277 # So, we kill variables containing newlines.
17278 # Ultrix sh set writes to stderr and can't be redirected directly,
17279 # and sets the high bit in the cache file unless we assign to the vars.
17281 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17282 eval ac_val
=\$
$ac_var
17286 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17287 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17290 _ | IFS | as_nl
) ;; #(
17291 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17292 *) { eval $ac_var=; unset $ac_var;} ;;
17298 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17299 *${as_nl}ac_space
=\
*)
17300 # `set' does not quote correctly, so add quotes: double-quote
17301 # substitution turns \\\\ into \\, and sed turns \\ into \.
17304 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17307 # `set' quotes correctly as required by POSIX, so do not add quotes.
17308 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17317 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17319 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17321 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17322 if test -w "$cache_file"; then
17323 if test "x$cache_file" != "x/dev/null"; then
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17325 $as_echo "$as_me: updating cache $cache_file" >&6;}
17326 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17327 cat confcache
>"$cache_file"
17329 case $cache_file in #(
17331 mv -f confcache
"$cache_file"$$
&&
17332 mv -f "$cache_file"$$
"$cache_file" ;; #(
17334 mv -f confcache
"$cache_file" ;;
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17340 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17345 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17346 # Let make expand exec_prefix.
17347 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17349 DEFS
=-DHAVE_CONFIG_H
17354 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17355 # 1. Remove the extension, and $U if already installed.
17356 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17357 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17358 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17359 # will be set to the directory where LIBOBJS objects are built.
17360 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17361 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17363 LIBOBJS
=$ac_libobjs
17365 LTLIBOBJS
=$ac_ltlibobjs
17368 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
17369 as_fn_error $?
"conditional \"GENINSRC\" was never defined.
17370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17373 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17374 if test -n "$am_sleep_pid"; then
17375 # Hide warnings about reused PIDs.
17376 wait $am_sleep_pid 2>/dev
/null
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17379 $as_echo "done" >&6; }
17380 if test -n "$EXEEXT"; then
17382 am__EXEEXT_FALSE
='#'
17384 am__EXEEXT_TRUE
='#'
17388 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17389 as_fn_error $?
"conditional \"AMDEP\" was never defined.
17390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17392 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17393 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
17394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17396 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
17397 as_fn_error $?
"conditional \"BUILD_INFO\" was never defined.
17398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17400 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17401 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
17402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17404 if test -z "${PLUGIN_NVPTX_TRUE}" && test -z "${PLUGIN_NVPTX_FALSE}"; then
17405 as_fn_error $?
"conditional \"PLUGIN_NVPTX\" was never defined.
17406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17408 if test -z "${PLUGIN_HSA_TRUE}" && test -z "${PLUGIN_HSA_FALSE}"; then
17409 as_fn_error $?
"conditional \"PLUGIN_HSA\" was never defined.
17410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17412 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE}"; then
17413 as_fn_error $?
"conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
17414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17416 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_FALSE}"; then
17417 as_fn_error $?
"conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB_GNU\" was never defined.
17418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17420 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_FALSE}"; then
17421 as_fn_error $?
"conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB_SUN\" was never defined.
17422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17424 if test -z "${USE_FORTRAN_TRUE}" && test -z "${USE_FORTRAN_FALSE}"; then
17425 as_fn_error $?
"conditional \"USE_FORTRAN\" was never defined.
17426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17429 : "${CONFIG_STATUS=./config.status}"
17431 ac_clean_files_save
=$ac_clean_files
17432 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17434 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17436 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17438 # Generated by $as_me.
17439 # Run this file to recreate the current configuration.
17440 # Compiler output produced by configure, useful for debugging
17441 # configure, is in config.log if it exists.
17444 ac_cs_recheck=false
17447 SHELL=\${CONFIG_SHELL-$SHELL}
17450 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17451 ## -------------------- ##
17452 ## M4sh Initialization. ##
17453 ## -------------------- ##
17455 # Be more Bourne compatible
17456 DUALCASE
=1; export DUALCASE
# for MKS sh
17457 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17460 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17461 # is contrary to our usage. Disable this feature.
17462 alias -g '${1+"$@"}'='"$@"'
17463 setopt NO_GLOB_SUBST
17465 case `(set -o) 2>/dev/null` in #(
17477 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17478 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17479 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17480 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17481 # Prefer a ksh shell builtin over an external printf program on Solaris,
17482 # but without wasting forks for bash or zsh.
17483 if test -z "$BASH_VERSION$ZSH_VERSION" \
17484 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17485 as_echo='print
-r --'
17486 as_echo_n='print
-rn --'
17487 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17488 as_echo='printf %s
\n'
17489 as_echo_n='printf %s
'
17491 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17492 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17493 as_echo_n='/usr
/ucb
/echo -n'
17495 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17496 as_echo_n_body='eval
17500 expr "X$arg" : "X\\(.*\\)$as_nl";
17501 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17503 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17505 export as_echo_n_body
17506 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17508 export as_echo_body
17509 as_echo='sh
-c $as_echo_body as_echo
'
17512 # The user is always right.
17513 if test "${PATH_SEPARATOR+set}" != set; then
17515 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17516 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17523 # We need space, tab and new line, in precisely that order. Quoting is
17524 # there to prevent editors from complaining about space-tab.
17525 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17526 # splitting by setting IFS to empty value.)
17529 # Find who we are. Look in the path if we contain no directory separator.
17532 *[\\/]* ) as_myself=$0 ;;
17533 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17534 for as_dir in $PATH
17537 test -z "$as_dir" && as_dir=.
17538 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17544 # We did not find ourselves, most probably we were run as `sh COMMAND'
17545 # in which case we are not to be found in the path.
17546 if test "x$as_myself" = x
; then
17549 if test ! -f "$as_myself"; then
17550 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17554 # Unset variables that we do not need and which cause bugs (e.g. in
17555 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17556 # suppresses any "Segmentation fault" message there. '((' could
17557 # trigger a bug in pdksh 5.2.14.
17558 for as_var
in BASH_ENV ENV MAIL MAILPATH
17559 do eval test x\
${$as_var+set} = xset \
17560 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17573 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17576 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17577 # ----------------------------------------
17578 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17579 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17580 # script with STATUS, using 1 if that was 0.
17583 as_status
=$1; test $as_status -eq 0 && as_status
=1
17585 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17586 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17588 $as_echo "$as_me: error: $2" >&2
17589 as_fn_exit
$as_status
17593 # as_fn_set_status STATUS
17594 # -----------------------
17595 # Set $? to STATUS, without forking.
17596 as_fn_set_status
()
17599 } # as_fn_set_status
17601 # as_fn_exit STATUS
17602 # -----------------
17603 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17607 as_fn_set_status
$1
17613 # Portably unset VAR.
17616 { eval $1=; unset $1;}
17618 as_unset
=as_fn_unset
17619 # as_fn_append VAR VALUE
17620 # ----------------------
17621 # Append the text in VALUE to the end of the definition contained in VAR. Take
17622 # advantage of any shell optimizations that allow amortized linear growth over
17623 # repeated appends, instead of the typical quadratic growth present in naive
17625 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17626 eval 'as_fn_append ()
17637 # as_fn_arith ARG...
17638 # ------------------
17639 # Perform arithmetic evaluation on the ARGs, and store the result in the
17640 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17641 # must be portable across $(()) and expr.
17642 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17643 eval 'as_fn_arith ()
17650 as_val
=`expr "$@" || test $? -eq 1`
17655 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17656 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17662 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17663 as_basename
=basename
17668 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17674 as_me
=`$as_basename -- "$0" ||
17675 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17676 X"$0" : 'X\(//\)$' \| \
17677 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17679 sed '/^.*\/\([^/][^/]*\)\/*$/{
17693 # Avoid depending upon Character Ranges.
17694 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17695 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17696 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17697 as_cr_digits
='0123456789'
17698 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17700 ECHO_C
= ECHO_N
= ECHO_T
=
17701 case `echo -n x` in #(((((
17703 case `echo 'xy\c'` in
17704 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17706 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17713 rm -f conf$$ conf$$.exe conf$$.
file
17714 if test -d conf$$.dir
; then
17715 rm -f conf$$.dir
/conf$$.
file
17718 mkdir conf$$.dir
2>/dev
/null
17720 if (echo >conf$$.
file) 2>/dev
/null
; then
17721 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17723 # ... but there are two gotchas:
17724 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17725 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17726 # In both cases, we have to default to `cp -pR'.
17727 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17729 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17737 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17738 rmdir conf$$.dir
2>/dev
/null
17743 # Create "$as_dir" as a directory, including parents if necessary.
17748 -*) as_dir
=.
/$as_dir;;
17750 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17754 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17755 *) as_qdir
=$as_dir;;
17757 as_dirs
="'$as_qdir' $as_dirs"
17758 as_dir
=`$as_dirname -- "$as_dir" ||
17759 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17760 X"$as_dir" : 'X\(//\)[^/]' \| \
17761 X"$as_dir" : 'X\(//\)$' \| \
17762 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17763 $as_echo X"$as_dir" |
17764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17768 /^X\(\/\/\)[^/].*/{
17781 test -d "$as_dir" && break
17783 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17784 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17788 if mkdir
-p .
2>/dev
/null
; then
17789 as_mkdir_p
='mkdir -p "$as_dir"'
17791 test -d .
/-p && rmdir .
/-p
17796 # as_fn_executable_p FILE
17797 # -----------------------
17798 # Test if FILE is an executable regular file.
17799 as_fn_executable_p
()
17801 test -f "$1" && test -x "$1"
17802 } # as_fn_executable_p
17803 as_test_x
='test -x'
17804 as_executable_p
=as_fn_executable_p
17806 # Sed expression to map a string onto a valid CPP name.
17807 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17809 # Sed expression to map a string onto a valid variable name.
17810 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17814 ## ----------------------------------- ##
17815 ## Main body of $CONFIG_STATUS script. ##
17816 ## ----------------------------------- ##
17818 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17821 # Save the log message, to keep $0 and so on meaningful, and to
17822 # report actual input values of CONFIG_FILES etc. instead of their
17823 # values after options handling.
17825 This file was extended by GNU Offloading and Multi Processing Runtime Library $as_me 1.0, which was
17826 generated by GNU Autoconf 2.69. Invocation command line was
17828 CONFIG_FILES = $CONFIG_FILES
17829 CONFIG_HEADERS = $CONFIG_HEADERS
17830 CONFIG_LINKS = $CONFIG_LINKS
17831 CONFIG_COMMANDS = $CONFIG_COMMANDS
17834 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17839 case $ac_config_files in *"
17840 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17843 case $ac_config_headers in *"
17844 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17849 # Files that config.status was made for.
17850 config_files="$ac_config_files"
17851 config_headers="$ac_config_headers"
17852 config_commands="$ac_config_commands"
17856 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17858 \`$as_me' instantiates files and other configuration actions
17859 from templates according to the current configuration. Unless the files
17860 and actions are specified as TAGs, all are instantiated by default.
17862 Usage: $0 [OPTION]... [TAG]...
17864 -h, --help print this help, then exit
17865 -V, --version print version number and configuration settings, then exit
17866 --config print configuration, then exit
17867 -q, --quiet, --silent
17868 do not print progress messages
17869 -d, --debug don't remove temporary files
17870 --recheck update $as_me by reconfiguring in the same conditions
17871 --file=FILE[:TEMPLATE]
17872 instantiate the configuration file FILE
17873 --header=FILE[:TEMPLATE]
17874 instantiate the configuration header FILE
17876 Configuration files:
17879 Configuration headers:
17882 Configuration commands:
17885 Report bugs to the package provider.
17886 GNU Offloading and Multi Processing Runtime Library home page: <http://www.gnu.org/software/libgomp/>.
17887 General help using GNU software: <http://www.gnu.org/gethelp/>."
17890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17891 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17893 GNU Offloading and Multi Processing Runtime Library config.status 1.0
17894 configured by $0, generated by GNU Autoconf 2.69,
17895 with options \\"\$ac_cs_config\\"
17897 Copyright (C) 2012 Free Software Foundation, Inc.
17898 This config.status script is free software; the Free Software Foundation
17899 gives unlimited permission to copy, distribute and modify it."
17906 test -n "\$AWK" || AWK=awk
17909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17910 # The default lists apply if the user does not specify any file.
17916 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17917 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17921 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17933 # Handling of the options.
17934 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17936 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17937 $as_echo "$ac_cs_version"; exit ;;
17938 --config |
--confi |
--conf |
--con |
--co |
--c )
17939 $as_echo "$ac_cs_config"; exit ;;
17940 --debug |
--debu |
--deb |
--de |
--d |
-d )
17942 --file |
--fil |
--fi |
--f )
17945 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17946 '') as_fn_error $?
"missing file argument" ;;
17948 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17949 ac_need_defaults
=false
;;
17950 --header |
--heade |
--head |
--hea )
17953 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17955 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17956 ac_need_defaults
=false
;;
17958 # Conflict between --help and --header
17959 as_fn_error $?
"ambiguous option: \`$1'
17960 Try \`$0 --help' for more information.";;
17961 --help |
--hel |
-h )
17962 $as_echo "$ac_cs_usage"; exit ;;
17963 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17964 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17967 # This is an error.
17968 -*) as_fn_error $?
"unrecognized option: \`$1'
17969 Try \`$0 --help' for more information." ;;
17971 *) as_fn_append ac_config_targets
" $1"
17972 ac_need_defaults
=false
;;
17978 ac_configure_extra_args
=
17980 if $ac_cs_silent; then
17982 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17987 if \$ac_cs_recheck; then
17988 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17990 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17991 CONFIG_SHELL='$SHELL'
17992 export CONFIG_SHELL
17997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18001 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18002 ## Running $as_me. ##
18008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18016 with_multisubdir="$with_multisubdir"
18017 with_multisrctop="$with_multisrctop"
18018 with_target_subdir="$with_target_subdir"
18019 ac_configure_args="${multilib_arg} ${ac_configure_args}"
18020 multi_basedir="$multi_basedir"
18021 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
18024 GFORTRAN="$GFORTRAN"
18026 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18029 # The HP-UX ksh and POSIX shell print the target directory to stdout
18030 # if CDPATH is set.
18031 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18033 sed_quote_subst='$sed_quote_subst'
18034 double_quote_subst='$double_quote_subst'
18035 delay_variable_subst='$delay_variable_subst'
18036 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18037 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18038 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18039 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18040 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18041 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18042 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18043 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18044 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18045 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18046 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18047 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18048 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18049 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18050 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18051 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18052 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18053 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18054 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18055 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18056 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18057 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18058 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18059 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18060 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18061 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18062 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18063 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18064 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18065 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18066 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18067 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18068 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18069 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18070 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18071 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18072 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18073 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18074 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18075 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18076 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18077 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18078 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18079 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18080 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18081 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18082 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18083 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18084 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
18085 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18086 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18087 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18088 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18089 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18090 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18091 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18092 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18093 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18094 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18095 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18096 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18097 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18098 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18099 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18100 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18101 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18102 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18103 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18104 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18105 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18106 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18107 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18108 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18109 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18110 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18111 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18112 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18113 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18114 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18115 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18116 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
18117 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18118 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18119 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18120 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18121 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18122 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18123 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18124 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18125 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
18126 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18127 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18128 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18129 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18130 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18131 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18132 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18133 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18134 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18135 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18136 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18137 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18138 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18139 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18140 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18141 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18142 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18143 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18144 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18145 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18146 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18147 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18148 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18149 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18150 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18151 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18152 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18153 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18154 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18155 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18156 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18157 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18158 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18159 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18160 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18161 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18162 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
18163 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
18164 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
18165 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
18166 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
18167 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
18168 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
18169 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
18170 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
18171 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
18172 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
18173 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
18174 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
18175 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
18176 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
18177 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
18178 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
18179 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
18180 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
18181 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
18182 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
18183 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
18184 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
18185 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
18186 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
18187 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
18188 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
18189 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
18190 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
18191 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
18192 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
18193 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
18194 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
18195 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
18196 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
18197 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
18198 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
18199 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
18200 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
18201 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
18202 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
18203 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
18204 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
18205 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
18206 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
18207 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
18208 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
18209 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
18210 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
18213 LTCFLAGS='$LTCFLAGS'
18214 compiler='$compiler_DEFAULT'
18216 # A function that is used when there is no print builtin or printf.
18217 func_fallback_echo ()
18219 eval 'cat <<_LTECHO_EOF
18224 # Quote evaled strings.
18238 deplibs_check_method \
18247 lt_cv_sys_global_symbol_pipe \
18248 lt_cv_sys_global_symbol_to_cdecl \
18249 lt_cv_sys_global_symbol_to_c_name_address \
18250 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18251 lt_prog_compiler_no_builtin_flag \
18252 lt_prog_compiler_wl \
18253 lt_prog_compiler_pic \
18254 lt_prog_compiler_static \
18255 lt_cv_prog_compiler_c_o \
18263 export_dynamic_flag_spec \
18264 whole_archive_flag_spec \
18265 compiler_needs_object \
18267 allow_undefined_flag \
18268 no_undefined_flag \
18269 hardcode_libdir_flag_spec \
18270 hardcode_libdir_flag_spec_ld \
18271 hardcode_libdir_separator \
18276 variables_saved_for_relink \
18278 library_names_spec \
18280 install_override_mode \
18284 compiler_lib_search_dirs \
18289 compiler_lib_search_path \
18293 lt_prog_compiler_no_builtin_flag_FC \
18294 lt_prog_compiler_wl_FC \
18295 lt_prog_compiler_pic_FC \
18296 lt_prog_compiler_static_FC \
18297 lt_cv_prog_compiler_c_o_FC \
18298 export_dynamic_flag_spec_FC \
18299 whole_archive_flag_spec_FC \
18300 compiler_needs_object_FC \
18302 allow_undefined_flag_FC \
18303 no_undefined_flag_FC \
18304 hardcode_libdir_flag_spec_FC \
18305 hardcode_libdir_flag_spec_ld_FC \
18306 hardcode_libdir_separator_FC \
18307 fix_srcfile_path_FC \
18308 exclude_expsyms_FC \
18309 include_expsyms_FC \
18310 file_list_spec_FC \
18311 compiler_lib_search_dirs_FC \
18312 predep_objects_FC \
18313 postdep_objects_FC \
18316 compiler_lib_search_path_FC; do
18317 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18318 *[\\\\\\\`\\"\\\$]*)
18319 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18322 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18327 # Double-quote double-evaled strings.
18328 for var in reload_cmds \
18329 old_postinstall_cmds \
18330 old_postuninstall_cmds \
18332 extract_expsyms_cmds \
18333 old_archive_from_new_cmds \
18334 old_archive_from_expsyms_cmds \
18336 archive_expsym_cmds \
18338 module_expsym_cmds \
18339 export_symbols_cmds \
18342 postuninstall_cmds \
18344 sys_lib_search_path_spec \
18345 sys_lib_dlsearch_path_spec \
18347 old_archive_cmds_FC \
18348 old_archive_from_new_cmds_FC \
18349 old_archive_from_expsyms_cmds_FC \
18351 archive_expsym_cmds_FC \
18353 module_expsym_cmds_FC \
18354 export_symbols_cmds_FC \
18355 prelink_cmds_FC; do
18356 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18357 *[\\\\\\\`\\"\\\$]*)
18358 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18361 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18366 ac_aux_dir='$ac_aux_dir'
18367 xsi_shell='$xsi_shell'
18368 lt_shell_append='$lt_shell_append'
18370 # See if we are running on zsh, and set the options which allow our
18371 # commands through without removal of \ escapes INIT.
18372 if test -n "\${ZSH_VERSION+set}" ; then
18373 setopt NO_GLOB_SUBST
18379 TIMESTAMP='$TIMESTAMP'
18390 acx_cv_header_stdint="$acx_cv_header_stdint"
18391 acx_cv_type_int8_t="$acx_cv_type_int8_t"
18392 acx_cv_type_int16_t="$acx_cv_type_int16_t"
18393 acx_cv_type_int32_t="$acx_cv_type_int32_t"
18394 acx_cv_type_int64_t="$acx_cv_type_int64_t"
18395 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
18396 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
18397 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
18398 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
18399 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
18400 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
18401 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
18402 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
18403 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
18408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18410 # Handling of arguments.
18411 for ac_config_target
in $ac_config_targets
18413 case $ac_config_target in
18414 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
18415 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
18416 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18417 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18418 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
18419 "omp.h") CONFIG_FILES
="$CONFIG_FILES omp.h" ;;
18420 "omp_lib.h") CONFIG_FILES
="$CONFIG_FILES omp_lib.h" ;;
18421 "omp_lib.f90") CONFIG_FILES
="$CONFIG_FILES omp_lib.f90" ;;
18422 "libgomp_f.h") CONFIG_FILES
="$CONFIG_FILES libgomp_f.h" ;;
18423 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18424 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
18425 "libgomp.spec") CONFIG_FILES
="$CONFIG_FILES libgomp.spec" ;;
18426 "testsuite/libgomp-test-support.pt.exp") CONFIG_FILES
="$CONFIG_FILES testsuite/libgomp-test-support.pt.exp:testsuite/libgomp-test-support.exp.in" ;;
18428 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18433 # If the user did not use the arguments to specify the items to instantiate,
18434 # then the envvar interface is used. Set only those that are not.
18435 # We use the long form for the default assignment because of an extremely
18436 # bizarre bug on SunOS 4.1.3.
18437 if $ac_need_defaults; then
18438 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18439 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18440 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18443 # Have a temporary directory for convenience. Make it in the build tree
18444 # simply because there is no reason against having it here, and in addition,
18445 # creating and moving files from /tmp can sometimes cause problems.
18446 # Hook for its removal unless debugging.
18447 # Note that there is a small window in which the directory will not be cleaned:
18448 # after its creation but before its name has been assigned to `$tmp'.
18452 trap 'exit_status=$?
18453 : "${ac_tmp:=$tmp}"
18454 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18456 trap 'as_fn_exit 1' 1 2 13 15
18458 # Create a (secure) tmp directory for tmp files.
18461 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18465 tmp
=.
/conf$$
-$RANDOM
18466 (umask 077 && mkdir
"$tmp")
18467 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18470 # Set up the scripts for CONFIG_FILES section.
18471 # No need to generate them if there are no CONFIG_FILES.
18472 # This happens for instance with `./config.status config.h'.
18473 if test -n "$CONFIG_FILES"; then
18476 ac_cr
=`echo X | tr X '\015'`
18477 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18478 # But we know of no other shell where ac_cr would be empty at this
18479 # point, so we can use a bashism as a fallback.
18480 if test "x$ac_cr" = x
; then
18481 eval ac_cr
=\$
\'\\r
\'
18483 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18484 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18487 ac_cs_awk_cr
=$ac_cr
18490 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18495 echo "cat >conf$$subs.awk <<_ACEOF" &&
18496 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18498 } >conf$$subs.sh ||
18499 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18500 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18502 for ac_last_try in false false false false false :; do
18503 . ./conf$$subs.sh ||
18504 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18506 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18507 if test $ac_delim_n = $ac_delim_num; then
18509 elif $ac_last_try; then
18510 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18512 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18515 rm -f conf$$subs.sh
18517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18518 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18522 s/^/S["/; s
/!.
*/"]=/
18532 s/\(.\{148\}\)..*/\1/
18534 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18539 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18546 s/\(.\{148\}\)..*/\1/
18548 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18552 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18557 ' <conf$$subs.awk | sed '
18562 ' >>$CONFIG_STATUS || ac_write_fail=1
18563 rm -f conf$$subs.awk
18564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18566 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18567 for (key in S) S_is_set[key] = 1
18573 nfields = split(line, field, "@
")
18575 len = length(field[1])
18576 for (i = 2; i < nfields; i++) {
18578 keylen = length(key)
18579 if (S_is_set[key]) {
18581 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18582 len += length(value) + length(field[++i])
18593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18594 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18595 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18598 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18599 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18602 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18603 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18604 # trailing colons and then remove the whole line if VPATH becomes empty
18605 # (actually we leave an empty line to preserve line numbers).
18606 if test "x
$srcdir" = x.; then
18607 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18626 fi # test -n "$CONFIG_FILES"
18628 # Set up the scripts for CONFIG_HEADERS section.
18629 # No need to generate them if there are no CONFIG_HEADERS.
18630 # This happens for instance with `./config.status Makefile'.
18631 if test -n "$CONFIG_HEADERS"; then
18632 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18636 # Transform confdefs.h into an awk script `defines.awk', embedded as
18637 # here-document in config.status, that substitutes the proper values into
18638 # config.h.in to produce config.h.
18640 # Create a delimiter string that does not exist in confdefs.h, to ease
18641 # handling of long lines.
18643 for ac_last_try in false false :; do
18644 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18645 if test -z "$ac_tt"; then
18647 elif $ac_last_try; then
18648 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18650 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18654 # For the awk script, D is an array of macro values keyed by name,
18655 # likewise P contains macro parameters if any. Preserve backslash
18656 # newline sequences.
18658 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18660 s/.\{148\}/&'"$ac_delim"'/g
18663 s/^[ ]*#[ ]*define[ ][ ]*/ /
18670 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18672 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18676 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18677 D["\
1"]=" \
3\\\\\\n
"\\/p
18679 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18684 s/.\{148\}/&'"$ac_delim"'/g
18689 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18692 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18694 ' <confdefs.h | sed '
18695 s/'"$ac_delim"'/"\\\
18696 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18699 for (key in D) D_is_set[key] = 1
18702 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18704 split(line, arg, " ")
18705 if (arg[1] == "#") {
18709 defundef
= substr
(arg
[1], 2)
18712 split(mac1
, mac2
, "(") #)
18714 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18715 if (D_is_set
[macro
]) {
18716 # Preserve the white space surrounding the "#".
18717 print prefix
"define", macro P
[macro
] D
[macro
]
18720 # Replace #undef with comments. This is necessary, for example,
18721 # in the case of _POSIX_SOURCE, which is predefined and required
18722 # on some systems where configure will not decide to define it.
18723 if (defundef
== "undef") {
18724 print
"/*", prefix defundef
, macro
, "*/"
18732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18733 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18734 fi # test -n "$CONFIG_HEADERS"
18737 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18742 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18744 case $ac_mode$ac_tag in
18746 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18747 :[FH
]-) ac_tag
=-:-;;
18748 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18765 -) ac_f
="$ac_tmp/stdin";;
18766 *) # Look for the file first in the build tree, then in the source tree
18767 # (if the path is not absolute). The absolute path cannot be DOS-style,
18768 # because $ac_f cannot contain `:'.
18772 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18774 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18776 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18777 as_fn_append ac_file_inputs
" '$ac_f'"
18780 # Let's still pretend it is `configure' which instantiates (i.e., don't
18781 # use $as_me), people would be surprised to read:
18782 # /* config.h. Generated by config.status. */
18783 configure_input
='Generated from '`
18784 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18786 if test x
"$ac_file" != x-
; then
18787 configure_input
="$ac_file. $configure_input"
18788 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18789 $as_echo "$as_me: creating $ac_file" >&6;}
18791 # Neutralize special characters interpreted by sed in replacement strings.
18792 case $configure_input in #(
18793 *\
&* |
*\|
* |
*\\* )
18794 ac_sed_conf_input
=`$as_echo "$configure_input" |
18795 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18796 *) ac_sed_conf_input
=$configure_input;;
18800 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18801 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18806 ac_dir
=`$as_dirname -- "$ac_file" ||
18807 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18808 X"$ac_file" : 'X\(//\)[^/]' \| \
18809 X"$ac_file" : 'X\(//\)$' \| \
18810 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18811 $as_echo X"$ac_file" |
18812 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18816 /^X\(\/\/\)[^/].*/{
18829 as_dir
="$ac_dir"; as_fn_mkdir_p
18833 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18835 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18836 # A ".." for each directory in $ac_dir_suffix.
18837 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18838 case $ac_top_builddir_sub in
18839 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18840 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18843 ac_abs_top_builddir
=$ac_pwd
18844 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18845 # for backward compatibility:
18846 ac_top_builddir
=$ac_top_build_prefix
18849 .
) # We are building in place.
18851 ac_top_srcdir
=$ac_top_builddir_sub
18852 ac_abs_top_srcdir
=$ac_pwd ;;
18853 [\\/]* | ?
:[\\/]* ) # Absolute name.
18854 ac_srcdir
=$srcdir$ac_dir_suffix;
18855 ac_top_srcdir
=$srcdir
18856 ac_abs_top_srcdir
=$srcdir ;;
18857 *) # Relative name.
18858 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18859 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18860 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18862 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18872 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18873 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18875 ac_MKDIR_P
=$MKDIR_P
18877 [\\/$
]* | ?
:[\\/]* ) ;;
18878 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18883 # If the template does not know about datarootdir, expand it.
18884 # FIXME: This hack should be removed a few years after 2.60.
18885 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18896 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18897 *datarootdir
*) ac_datarootdir_seen
=yes;;
18898 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18900 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18903 ac_datarootdir_hack='
18904 s&@datadir@&$datadir&g
18905 s&@docdir@&$docdir&g
18906 s&@infodir@&$infodir&g
18907 s&@localedir@&$localedir&g
18908 s&@mandir@&$mandir&g
18909 s&\\\${datarootdir}&$datarootdir&g' ;;
18913 # Neutralize VPATH when `$srcdir' = `.'.
18914 # Shell code in configure.ac might set extrasub.
18915 # FIXME: do we really want to maintain this feature?
18916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18917 ac_sed_extra="$ac_vpsub
18920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18922 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18923 s|@configure_input@|
$ac_sed_conf_input|
;t t
18924 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18925 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18926 s
&@srcdir@
&$ac_srcdir&;t t
18927 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18928 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18929 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18930 s
&@builddir@
&$ac_builddir&;t t
18931 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18932 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18933 s
&@INSTALL@
&$ac_INSTALL&;t t
18934 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18935 $ac_datarootdir_hack
18937 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18938 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18940 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18941 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18942 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18943 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18945 which seems to be undefined. Please make sure it is defined" >&5
18946 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18947 which seems to be undefined. Please make sure it is defined" >&2;}
18949 rm -f "$ac_tmp/stdin"
18951 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18952 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18954 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18960 if test x"$ac_file" != x-; then
18962 $as_echo "/* $configure_input */" \
18963 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18964 } >"$ac_tmp/config.h" \
18965 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18966 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18968 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18971 mv "$ac_tmp/config.h" "$ac_file" \
18972 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18975 $as_echo "/* $configure_input */" \
18976 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18977 || as_fn_error $? "could not create -" "$LINENO" 5
18979 # Compute "$ac_file"'s index
in $config_headers.
18982 for _am_header
in $config_headers :; do
18983 case $_am_header in
18984 $_am_arg |
$_am_arg:* )
18987 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18990 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18991 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18992 X"$_am_arg" : 'X\(//\)[^/]' \| \
18993 X"$_am_arg" : 'X\(//\)$' \| \
18994 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18995 $as_echo X"$_am_arg" |
18996 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19000 /^X\(\/\/\)[^/].*/{
19012 s/.*/./; q'`/stamp-h
$_am_stamp_count
19015 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19016 $as_echo "$as_me: executing $ac_file commands" >&6;}
19021 case $ac_file$ac_mode in
19023 # Only add multilib support code if we just rebuilt the top-level
19025 case " $CONFIG_FILES " in
19027 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
19030 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
19031 # Older Autoconf quotes --file arguments for eval, but not when files
19032 # are listed without --file. Let's play safe and only enable the eval
19033 # if we detect the quoting.
19034 case $CONFIG_FILES in
19035 *\'*) eval set x
"$CONFIG_FILES" ;;
19036 *) set x
$CONFIG_FILES ;;
19041 # Strip MF so we end up with the name of the file.
19042 mf
=`echo "$mf" | sed -e 's/:.*$//'`
19043 # Check whether this is an Automake generated Makefile or not.
19044 # We used to match only the files named 'Makefile.in', but
19045 # some people rename them; so instead we look at the file content.
19046 # Grep'ing the first line is not enough: some people post-process
19047 # each Makefile.in and add a new line on top of each file to say so.
19048 # Grep'ing the whole file is not good either: AIX grep has a line
19049 # limit of 2048, but all sed's we know have understand at least 4000.
19050 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
19051 dirpart
=`$as_dirname -- "$mf" ||
19052 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19053 X"$mf" : 'X\(//\)[^/]' \| \
19054 X"$mf" : 'X\(//\)$' \| \
19055 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19061 /^X\(\/\/\)[^/].*/{
19077 # Extract the definition of DEPDIR, am__include, and am__quote
19078 # from the Makefile without running 'make'.
19079 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
19080 test -z "$DEPDIR" && continue
19081 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
19082 test -z "$am__include" && continue
19083 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
19084 # Find all dependency output files, they are included files with
19085 # $(DEPDIR) in their names. We invoke sed twice because it is the
19086 # simplest approach to changing $(DEPDIR) to its actual value in the
19088 for file in `sed -n "
19089 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19090 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19091 # Make sure the directory exists.
19092 test -f "$dirpart/$file" && continue
19093 fdir
=`$as_dirname -- "$file" ||
19094 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19095 X"$file" : 'X\(//\)[^/]' \| \
19096 X"$file" : 'X\(//\)$' \| \
19097 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19098 $as_echo X"$file" |
19099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19103 /^X\(\/\/\)[^/].*/{
19116 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
19117 # echo "creating $dirpart/$file"
19118 echo '# dummy' > "$dirpart/$file"
19125 # See if we are running on zsh, and set the options which allow our
19126 # commands through without removal of \ escapes.
19127 if test -n "${ZSH_VERSION+set}" ; then
19128 setopt NO_GLOB_SUBST
19131 cfgfile
="${ofile}T"
19132 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19135 cat <<_LT_EOF >> "$cfgfile"
19138 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19139 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19140 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19141 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19143 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19144 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
19145 # Written by Gordon Matzigkeit, 1996
19147 # This file is part of GNU Libtool.
19149 # GNU Libtool is free software; you can redistribute it and/or
19150 # modify it under the terms of the GNU General Public License as
19151 # published by the Free Software Foundation; either version 2 of
19152 # the License, or (at your option) any later version.
19154 # As a special exception to the GNU General Public License,
19155 # if you distribute this file as part of a program or library that
19156 # is built using GNU Libtool, you may include this file under the
19157 # same distribution terms that you use for the rest of that program.
19159 # GNU Libtool is distributed in the hope that it will be useful,
19160 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19161 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19162 # GNU General Public License for more details.
19164 # You should have received a copy of the GNU General Public License
19165 # along with GNU Libtool; see the file COPYING. If not, a copy
19166 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19167 # obtained by writing to the Free Software Foundation, Inc.,
19168 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19171 # The names of the tagged configurations supported by this script.
19172 available_tags="FC "
19174 # ### BEGIN LIBTOOL CONFIG
19176 # Which release of libtool.m4 was used?
19177 macro_version=$macro_version
19178 macro_revision=$macro_revision
19180 # Whether or not to build shared libraries.
19181 build_libtool_libs=$enable_shared
19183 # Whether or not to build static libraries.
19184 build_old_libs=$enable_static
19186 # What type of objects to build.
19189 # Whether or not to optimize for fast installation.
19190 fast_install=$enable_fast_install
19192 # Shell to use when invoking shell scripts.
19195 # An echo program that protects backslashes.
19199 host_alias=$host_alias
19203 # The build system.
19204 build_alias=$build_alias
19208 # A sed program that does not truncate output.
19211 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19212 Xsed="\$SED -e 1s/^X//"
19214 # A grep program that handles long lines.
19220 # A literal string matcher.
19223 # A BSD- or MS-compatible name lister.
19226 # Whether we need soft or hard links.
19229 # What is the maximum length of a command?
19230 max_cmd_len=$max_cmd_len
19232 # Object file suffix (normally "o").
19235 # Executable file suffix (normally "").
19238 # whether the shell understands "unset".
19241 # turn spaces into newlines.
19244 # turn newlines into spaces.
19247 # An object symbol dumper.
19248 OBJDUMP=$lt_OBJDUMP
19250 # Method to check whether dependent libraries are shared objects.
19251 deplibs_check_method=$lt_deplibs_check_method
19253 # Command to use when deplibs_check_method == "file_magic".
19254 file_magic_cmd=$lt_file_magic_cmd
19258 AR_FLAGS=$lt_AR_FLAGS
19260 # A symbol stripping program.
19263 # Commands used to install an old-style archive.
19265 old_postinstall_cmds=$lt_old_postinstall_cmds
19266 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19268 # Whether to use a lock for old archive extraction.
19269 lock_old_archive_extraction=$lock_old_archive_extraction
19274 # LTCC compiler flags.
19275 LTCFLAGS=$lt_CFLAGS
19277 # Take the output of nm and produce a listing of raw symbols and C names.
19278 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19280 # Transform the output of nm in a proper C declaration.
19281 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19283 # Transform the output of nm in a C name address pair.
19284 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19286 # Transform the output of nm in a C name address pair when lib prefix is needed.
19287 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19289 # The name of the directory that contains temporary libtool files.
19292 # Used to examine libraries when file_magic_cmd begins with "file".
19293 MAGIC_CMD=$MAGIC_CMD
19295 # Must we lock files when doing compilation?
19296 need_locks=$lt_need_locks
19298 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19299 DSYMUTIL=$lt_DSYMUTIL
19301 # Tool to change global to local symbols on Mac OS X.
19304 # Tool to manipulate fat objects and archives on Mac OS X.
19307 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19310 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19311 OTOOL64=$lt_OTOOL64
19313 # Old archive suffix (normally "a").
19316 # Shared library suffix (normally ".so").
19317 shrext_cmds=$lt_shrext_cmds
19319 # The commands to extract the exported symbol list from a shared archive.
19320 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19322 # Variables whose values should be saved in libtool wrapper scripts and
19323 # restored at link time.
19324 variables_saved_for_relink=$lt_variables_saved_for_relink
19326 # Do we need the "lib" prefix for modules?
19327 need_lib_prefix=$need_lib_prefix
19329 # Do we need a version for libraries?
19330 need_version=$need_version
19332 # Library versioning type.
19333 version_type=$version_type
19335 # Shared library runtime path variable.
19336 runpath_var=$runpath_var
19338 # Shared library path variable.
19339 shlibpath_var=$shlibpath_var
19341 # Is shlibpath searched before the hard-coded library search path?
19342 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19344 # Format of library name prefix.
19345 libname_spec=$lt_libname_spec
19347 # List of archive names. First name is the real one, the rest are links.
19348 # The last name is the one that the linker finds with -lNAME
19349 library_names_spec=$lt_library_names_spec
19351 # The coded name of the library, if different from the real name.
19352 soname_spec=$lt_soname_spec
19354 # Permission mode override for installation of shared libraries.
19355 install_override_mode=$lt_install_override_mode
19357 # Command to use after installation of a shared archive.
19358 postinstall_cmds=$lt_postinstall_cmds
19360 # Command to use after uninstallation of a shared archive.
19361 postuninstall_cmds=$lt_postuninstall_cmds
19363 # Commands used to finish a libtool library installation in a directory.
19364 finish_cmds=$lt_finish_cmds
19366 # As "finish_cmds", except a single script fragment to be evaled but
19368 finish_eval=$lt_finish_eval
19370 # Whether we should hardcode library paths into libraries.
19371 hardcode_into_libs=$hardcode_into_libs
19373 # Compile-time system search path for libraries.
19374 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19376 # Run-time system search path for libraries.
19377 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19379 # Whether dlopen is supported.
19380 dlopen_support=$enable_dlopen
19382 # Whether dlopen of programs is supported.
19383 dlopen_self=$enable_dlopen_self
19385 # Whether dlopen of statically linked programs is supported.
19386 dlopen_self_static=$enable_dlopen_self_static
19388 # Commands to strip libraries.
19389 old_striplib=$lt_old_striplib
19390 striplib=$lt_striplib
19393 # The linker used to build libraries.
19396 # How to create reloadable object files.
19397 reload_flag=$lt_reload_flag
19398 reload_cmds=$lt_reload_cmds
19400 # Commands used to build an old-style archive.
19401 old_archive_cmds=$lt_old_archive_cmds
19403 # A language specific compiler.
19406 # Is the compiler the GNU compiler?
19409 # Compiler flag to turn off builtin functions.
19410 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19412 # How to pass a linker flag through the compiler.
19413 wl=$lt_lt_prog_compiler_wl
19415 # Additional compiler flags for building library objects.
19416 pic_flag=$lt_lt_prog_compiler_pic
19418 # Compiler flag to prevent dynamic linking.
19419 link_static_flag=$lt_lt_prog_compiler_static
19421 # Does compiler simultaneously support -c and -o options?
19422 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19424 # Whether or not to add -lc for building shared libraries.
19425 build_libtool_need_lc=$archive_cmds_need_lc
19427 # Whether or not to disallow shared libs when runtime libs are static.
19428 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19430 # Compiler flag to allow reflexive dlopens.
19431 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19433 # Compiler flag to generate shared objects directly from archives.
19434 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19436 # Whether the compiler copes with passing no objects directly.
19437 compiler_needs_object=$lt_compiler_needs_object
19439 # Create an old-style archive from a shared archive.
19440 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19442 # Create a temporary old-style archive to link instead of a shared archive.
19443 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19445 # Commands used to build a shared archive.
19446 archive_cmds=$lt_archive_cmds
19447 archive_expsym_cmds=$lt_archive_expsym_cmds
19449 # Commands used to build a loadable module if different from building
19450 # a shared archive.
19451 module_cmds=$lt_module_cmds
19452 module_expsym_cmds=$lt_module_expsym_cmds
19454 # Whether we are building with GNU ld or not.
19455 with_gnu_ld=$lt_with_gnu_ld
19457 # Flag that allows shared libraries with undefined symbols to be built.
19458 allow_undefined_flag=$lt_allow_undefined_flag
19460 # Flag that enforces no undefined symbols.
19461 no_undefined_flag=$lt_no_undefined_flag
19463 # Flag to hardcode \$libdir into a binary during linking.
19464 # This must work even if \$libdir does not exist
19465 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19467 # If ld is used when linking, flag to hardcode \$libdir into a binary
19468 # during linking. This must work even if \$libdir does not exist.
19469 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19471 # Whether we need a single "-rpath" flag with a separated argument.
19472 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19474 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19475 # DIR into the resulting binary.
19476 hardcode_direct=$hardcode_direct
19478 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19479 # DIR into the resulting binary and the resulting library dependency is
19480 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19481 # library is relocated.
19482 hardcode_direct_absolute=$hardcode_direct_absolute
19484 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19485 # into the resulting binary.
19486 hardcode_minus_L=$hardcode_minus_L
19488 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19489 # into the resulting binary.
19490 hardcode_shlibpath_var=$hardcode_shlibpath_var
19492 # Set to "yes" if building a shared library automatically hardcodes DIR
19493 # into the library and all subsequent libraries and executables linked
19495 hardcode_automatic=$hardcode_automatic
19497 # Set to yes if linker adds runtime paths of dependent libraries
19498 # to runtime path list.
19499 inherit_rpath=$inherit_rpath
19501 # Whether libtool must link a program against all its dependency libraries.
19502 link_all_deplibs=$link_all_deplibs
19504 # Fix the shell variable \$srcfile for the compiler.
19505 fix_srcfile_path=$lt_fix_srcfile_path
19507 # Set to "yes" if exported symbols are required.
19508 always_export_symbols=$always_export_symbols
19510 # The commands to list exported symbols.
19511 export_symbols_cmds=$lt_export_symbols_cmds
19513 # Symbols that should not be listed in the preloaded symbols.
19514 exclude_expsyms=$lt_exclude_expsyms
19516 # Symbols that must always be exported.
19517 include_expsyms=$lt_include_expsyms
19519 # Commands necessary for linking programs (against libraries) with templates.
19520 prelink_cmds=$lt_prelink_cmds
19522 # Specify filename containing input files.
19523 file_list_spec=$lt_file_list_spec
19525 # How to hardcode a shared library path into an executable.
19526 hardcode_action=$hardcode_action
19528 # The directories searched by this compiler when creating a shared library.
19529 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19531 # Dependencies to place before and after the objects being linked to
19532 # create a shared library.
19533 predep_objects=$lt_predep_objects
19534 postdep_objects=$lt_postdep_objects
19535 predeps=$lt_predeps
19536 postdeps=$lt_postdeps
19538 # The library search path used internally by the compiler when linking
19539 # a shared library.
19540 compiler_lib_search_path=$lt_compiler_lib_search_path
19542 # ### END LIBTOOL CONFIG
19548 cat <<\_LT_EOF
>> "$cfgfile"
19549 # AIX sometimes has problems with the GCC collect2 program. For some
19550 # reason, if we set the COLLECT_NAMES environment variable, the problems
19551 # vanish in a puff of smoke.
19552 if test "X${COLLECT_NAMES+set}" != Xset
; then
19554 export COLLECT_NAMES
19561 ltmain
="$ac_aux_dir/ltmain.sh"
19564 # We use sed instead of cat because bash on DJGPP gets confused if
19565 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19566 # text mode, it properly converts lines to CR/LF. This bash problem
19567 # is reportedly fixed, but why not run on old versions too?
19568 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19569 ||
(rm -f "$cfgfile"; exit 1)
19573 cat << \_LT_EOF
>> "$cfgfile"
19575 # func_dirname file append nondir_replacement
19576 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19577 # otherwise set result to NONDIR_REPLACEMENT.
19581 */*) func_dirname_result
="${1%/*}${2}" ;;
19582 * ) func_dirname_result
="${3}" ;;
19586 # func_basename file
19589 func_basename_result
="${1##*/}"
19592 # func_dirname_and_basename file append nondir_replacement
19593 # perform func_basename and func_dirname in a single function
19595 # dirname: Compute the dirname of FILE. If nonempty,
19596 # add APPEND to the result, otherwise set result
19597 # to NONDIR_REPLACEMENT.
19598 # value returned in "$func_dirname_result"
19599 # basename: Compute filename of FILE.
19600 # value retuned in "$func_basename_result"
19601 # Implementation must be kept synchronized with func_dirname
19602 # and func_basename. For efficiency, we do not delegate to
19603 # those functions but instead duplicate the functionality here.
19604 func_dirname_and_basename
()
19607 */*) func_dirname_result
="${1%/*}${2}" ;;
19608 * ) func_dirname_result
="${3}" ;;
19610 func_basename_result
="${1##*/}"
19613 # func_stripname prefix suffix name
19614 # strip PREFIX and SUFFIX off of NAME.
19615 # PREFIX and SUFFIX must not contain globbing or regex special
19616 # characters, hashes, percent signs, but SUFFIX may contain a leading
19617 # dot (in which case that matches only a dot).
19620 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19621 # positional parameters, so assign one to ordinary parameter first.
19622 func_stripname_result
=${3}
19623 func_stripname_result
=${func_stripname_result#"${1}"}
19624 func_stripname_result
=${func_stripname_result%"${2}"}
19630 func_opt_split_opt
=${1%%=*}
19631 func_opt_split_arg
=${1#*=}
19638 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
19639 *) func_lo2o_result
=${1} ;;
19643 # func_xform libobj-or-source
19646 func_xform_result
=${1%.*}.lo
19649 # func_arith arithmetic-term...
19652 func_arith_result
=$
(( $
* ))
19656 # STRING may not start with a hyphen.
19659 func_len_result
=${#1}
19664 *) # Bourne compatible functions.
19665 cat << \_LT_EOF
>> "$cfgfile"
19667 # func_dirname file append nondir_replacement
19668 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19669 # otherwise set result to NONDIR_REPLACEMENT.
19672 # Extract subdirectory from the argument.
19673 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
19674 if test "X$func_dirname_result" = "X${1}"; then
19675 func_dirname_result
="${3}"
19677 func_dirname_result
="$func_dirname_result${2}"
19681 # func_basename file
19684 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
19688 # func_stripname prefix suffix name
19689 # strip PREFIX and SUFFIX off of NAME.
19690 # PREFIX and SUFFIX must not contain globbing or regex special
19691 # characters, hashes, percent signs, but SUFFIX may contain a leading
19692 # dot (in which case that matches only a dot).
19693 # func_strip_suffix prefix name
19697 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
19698 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
19703 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
19704 my_sed_long_arg
='1s/^-[^=]*=//'
19709 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
19710 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
19716 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
19719 # func_xform libobj-or-source
19722 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
19725 # func_arith arithmetic-term...
19728 func_arith_result
=`expr "$@"`
19732 # STRING may not start with a hyphen.
19735 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19741 case $lt_shell_append in
19743 cat << \_LT_EOF
>> "$cfgfile"
19745 # func_append var value
19746 # Append VALUE to the end of shell variable VAR.
19754 cat << \_LT_EOF
>> "$cfgfile"
19756 # func_append var value
19757 # Append VALUE to the end of shell variable VAR.
19768 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19769 ||
(rm -f "$cfgfile"; exit 1)
19771 mv -f "$cfgfile" "$ofile" ||
19772 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19776 cat <<_LT_EOF >> "$ofile"
19778 # ### BEGIN LIBTOOL TAG CONFIG: FC
19780 # The linker used to build libraries.
19783 # How to create reloadable object files.
19784 reload_flag=$lt_reload_flag_FC
19785 reload_cmds=$lt_reload_cmds_FC
19787 # Commands used to build an old-style archive.
19788 old_archive_cmds=$lt_old_archive_cmds_FC
19790 # A language specific compiler.
19793 # Is the compiler the GNU compiler?
19796 # Compiler flag to turn off builtin functions.
19797 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
19799 # How to pass a linker flag through the compiler.
19800 wl=$lt_lt_prog_compiler_wl_FC
19802 # Additional compiler flags for building library objects.
19803 pic_flag=$lt_lt_prog_compiler_pic_FC
19805 # Compiler flag to prevent dynamic linking.
19806 link_static_flag=$lt_lt_prog_compiler_static_FC
19808 # Does compiler simultaneously support -c and -o options?
19809 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
19811 # Whether or not to add -lc for building shared libraries.
19812 build_libtool_need_lc=$archive_cmds_need_lc_FC
19814 # Whether or not to disallow shared libs when runtime libs are static.
19815 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
19817 # Compiler flag to allow reflexive dlopens.
19818 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
19820 # Compiler flag to generate shared objects directly from archives.
19821 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
19823 # Whether the compiler copes with passing no objects directly.
19824 compiler_needs_object=$lt_compiler_needs_object_FC
19826 # Create an old-style archive from a shared archive.
19827 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
19829 # Create a temporary old-style archive to link instead of a shared archive.
19830 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
19832 # Commands used to build a shared archive.
19833 archive_cmds=$lt_archive_cmds_FC
19834 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
19836 # Commands used to build a loadable module if different from building
19837 # a shared archive.
19838 module_cmds=$lt_module_cmds_FC
19839 module_expsym_cmds=$lt_module_expsym_cmds_FC
19841 # Whether we are building with GNU ld or not.
19842 with_gnu_ld=$lt_with_gnu_ld_FC
19844 # Flag that allows shared libraries with undefined symbols to be built.
19845 allow_undefined_flag=$lt_allow_undefined_flag_FC
19847 # Flag that enforces no undefined symbols.
19848 no_undefined_flag=$lt_no_undefined_flag_FC
19850 # Flag to hardcode \$libdir into a binary during linking.
19851 # This must work even if \$libdir does not exist
19852 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
19854 # If ld is used when linking, flag to hardcode \$libdir into a binary
19855 # during linking. This must work even if \$libdir does not exist.
19856 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
19858 # Whether we need a single "-rpath" flag with a separated argument.
19859 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
19861 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19862 # DIR into the resulting binary.
19863 hardcode_direct=$hardcode_direct_FC
19865 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19866 # DIR into the resulting binary and the resulting library dependency is
19867 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19868 # library is relocated.
19869 hardcode_direct_absolute=$hardcode_direct_absolute_FC
19871 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19872 # into the resulting binary.
19873 hardcode_minus_L=$hardcode_minus_L_FC
19875 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19876 # into the resulting binary.
19877 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
19879 # Set to "yes" if building a shared library automatically hardcodes DIR
19880 # into the library and all subsequent libraries and executables linked
19882 hardcode_automatic=$hardcode_automatic_FC
19884 # Set to yes if linker adds runtime paths of dependent libraries
19885 # to runtime path list.
19886 inherit_rpath=$inherit_rpath_FC
19888 # Whether libtool must link a program against all its dependency libraries.
19889 link_all_deplibs=$link_all_deplibs_FC
19891 # Fix the shell variable \$srcfile for the compiler.
19892 fix_srcfile_path=$lt_fix_srcfile_path_FC
19894 # Set to "yes" if exported symbols are required.
19895 always_export_symbols=$always_export_symbols_FC
19897 # The commands to list exported symbols.
19898 export_symbols_cmds=$lt_export_symbols_cmds_FC
19900 # Symbols that should not be listed in the preloaded symbols.
19901 exclude_expsyms=$lt_exclude_expsyms_FC
19903 # Symbols that must always be exported.
19904 include_expsyms=$lt_include_expsyms_FC
19906 # Commands necessary for linking programs (against libraries) with templates.
19907 prelink_cmds=$lt_prelink_cmds_FC
19909 # Specify filename containing input files.
19910 file_list_spec=$lt_file_list_spec_FC
19912 # How to hardcode a shared library path into an executable.
19913 hardcode_action=$hardcode_action_FC
19915 # The directories searched by this compiler when creating a shared library.
19916 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
19918 # Dependencies to place before and after the objects being linked to
19919 # create a shared library.
19920 predep_objects=$lt_predep_objects_FC
19921 postdep_objects=$lt_postdep_objects_FC
19922 predeps=$lt_predeps_FC
19923 postdeps=$lt_postdeps_FC
19925 # The library search path used internally by the compiler when linking
19926 # a shared library.
19927 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
19929 # ### END LIBTOOL TAG CONFIG: FC
19934 if test "$GCC" = yes; then
19935 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
19937 echo "/* generated for $CC */" > tmp-stdint.h
19940 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19942 #ifndef GCC_GENERATED_STDINT_H
19943 #define GCC_GENERATED_STDINT_H 1
19945 #include <sys/types.h>
19948 if test "$acx_cv_header_stdint" != stdint.h
; then
19949 echo "#include <stddef.h>" >> tmp-stdint.h
19951 if test "$acx_cv_header_stdint" != stddef.h
; then
19952 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
19955 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19956 /* glibc uses these symbols as guards to prevent redefinitions. */
19957 #ifdef __int8_t_defined
19962 #ifdef __uint32_t_defined
19968 # ----------------- done header, emit basic int types -------------
19969 if test "$acx_cv_header_stdint" = stddef.h
; then
19970 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19974 #ifndef __uint8_t_defined
19975 #define __uint8_t_defined
19977 typedef unsigned $acx_cv_type_int8_t uint8_t;
19984 #ifndef __uint16_t_defined
19985 #define __uint16_t_defined
19987 typedef unsigned $acx_cv_type_int16_t uint16_t;
19994 #ifndef __uint32_t_defined
19995 #define __uint32_t_defined
19997 typedef unsigned $acx_cv_type_int32_t uint32_t;
20004 #ifndef __int8_t_defined
20005 #define __int8_t_defined
20007 typedef $acx_cv_type_int8_t int8_t;
20014 #ifndef __int16_t_defined
20015 #define __int16_t_defined
20017 typedef $acx_cv_type_int16_t int16_t;
20024 #ifndef __int32_t_defined
20025 #define __int32_t_defined
20027 typedef $acx_cv_type_int32_t int32_t;
20032 elif test "$ac_cv_type_u_int32_t" = yes; then
20033 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20035 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
20048 #ifndef __uint8_t_defined
20049 #define __uint8_t_defined
20051 typedef u_int8_t uint8_t;
20058 #ifndef __uint16_t_defined
20059 #define __uint16_t_defined
20061 typedef u_int16_t uint16_t;
20068 #ifndef __uint32_t_defined
20069 #define __uint32_t_defined
20071 typedef u_int32_t uint32_t;
20077 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20079 /* Some systems have guard macros to prevent redefinitions, define them. */
20101 # ------------- done basic int types, emit int64_t types ------------
20102 if test "$ac_cv_type_uint64_t" = yes; then
20103 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20105 /* system headers have good uint64_t and int64_t */
20113 elif test "$ac_cv_type_u_int64_t" = yes; then
20114 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20116 /* system headers have an u_int64_t (and int64_t) */
20122 #ifndef __uint64_t_defined
20123 #define __uint64_t_defined
20125 typedef u_int64_t uint64_t;
20130 elif test -n "$acx_cv_type_int64_t"; then
20131 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20133 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
20137 typedef $acx_cv_type_int64_t int64_t;
20142 #ifndef __uint64_t_defined
20143 #define __uint64_t_defined
20145 typedef unsigned $acx_cv_type_int64_t uint64_t;
20151 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20153 /* some common heuristics for int64_t, using compiler-specific tests */
20154 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
20157 #ifndef __int64_t_defined
20159 typedef long long int64_t;
20166 typedef unsigned long long uint64_t;
20170 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
20171 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
20172 does not implement __extension__. But that compiler doesn't define
20174 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
20175 # define __extension__
20181 __extension__ typedef long long int64_t;
20187 __extension__ typedef unsigned long long uint64_t;
20191 #elif !defined __STRICT_ANSI__
20192 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
20197 typedef __int64 int64_t;
20203 typedef unsigned __int64 uint64_t;
20206 # endif /* compiler */
20208 #endif /* ANSI version */
20212 # ------------- done int64_t types, emit intptr types ------------
20213 if test "$ac_cv_type_uintptr_t" != yes; then
20214 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20216 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
20217 #ifndef __uintptr_t_defined
20219 typedef u$acx_cv_type_intptr_t uintptr_t;
20222 #ifndef __intptr_t_defined
20224 typedef $acx_cv_type_intptr_t intptr_t;
20230 # ------------- done intptr types, emit int_least types ------------
20231 if test "$ac_cv_type_int_least32_t" != yes; then
20232 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20234 /* Define int_least types */
20235 typedef int8_t int_least8_t;
20236 typedef int16_t int_least16_t;
20237 typedef int32_t int_least32_t;
20239 typedef int64_t int_least64_t;
20242 typedef uint8_t uint_least8_t;
20243 typedef uint16_t uint_least16_t;
20244 typedef uint32_t uint_least32_t;
20246 typedef uint64_t uint_least64_t;
20251 # ------------- done intptr types, emit int_fast types ------------
20252 if test "$ac_cv_type_int_fast32_t" != yes; then
20253 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20255 /* Define int_fast types. short is often slow */
20256 typedef int8_t int_fast8_t;
20257 typedef int int_fast16_t;
20258 typedef int32_t int_fast32_t;
20260 typedef int64_t int_fast64_t;
20263 typedef uint8_t uint_fast8_t;
20264 typedef unsigned int uint_fast16_t;
20265 typedef uint32_t uint_fast32_t;
20267 typedef uint64_t uint_fast64_t;
20272 if test "$ac_cv_type_uintmax_t" != yes; then
20273 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20275 /* Define intmax based on what we found */
20278 typedef int64_t intmax_t;
20280 typedef long intmax_t;
20285 typedef uint64_t uintmax_t;
20287 typedef unsigned long uintmax_t;
20293 sed 's/^ *//' >> tmp-stdint.h
<<EOF
20295 #endif /* GCC_GENERATED_STDINT_H */
20298 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
20301 mv -f tmp-stdint.h gstdint.h
20312 ac_clean_files
=$ac_clean_files_save
20314 test $ac_write_fail = 0 ||
20315 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
20318 # configure is writing to config.log, and then calls config.status.
20319 # config.status does its own redirection, appending to config.log.
20320 # Unfortunately, on DOS this fails, as config.log is still kept open
20321 # by configure, so config.status won't be able to write to it; its
20322 # output is simply discarded. So we exec the FD to /dev/null,
20323 # effectively closing config.log, so it can be properly (re)opened and
20324 # appended to by config.status. When coming back to configure, we
20325 # need to make the FD available again.
20326 if test "$no_create" != yes; then
20328 ac_config_status_args
=
20329 test "$silent" = yes &&
20330 ac_config_status_args
="$ac_config_status_args --quiet"
20332 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20334 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20335 # would make configure fail if this is the last instruction.
20336 $ac_cs_success || as_fn_exit
1
20338 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20340 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}