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
639 OMP_NEST_LOCK_25_KIND
641 OMP_NEST_LOCK_25_ALIGN
642 OMP_NEST_LOCK_25_SIZE
659 SYSROOT_CFLAGS_FOR_TARGET
662 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_FALSE
663 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_TRUE
664 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_FALSE
665 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_TRUE
666 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
667 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
674 offload_additional_lib_paths
675 offload_additional_options
684 MAINTAINER_MODE_FALSE
686 ENABLE_DARWIN_AT_RPATH_FALSE
687 ENABLE_DARWIN_AT_RPATH_TRUE
744 INSTALL_STRIP_PROGRAM
800 program_transform_name
813 enable_option_checking
814 enable_version_specific_runtime_libs
815 enable_generated_files_in_srcdir
819 enable_dependency_tracking
827 enable_darwin_at_rpath
828 enable_maintainer_mode
833 with_gcc_major_version_only
835 ac_precious_vars
='build_alias
846 # Initialize some variables set by options.
848 ac_init_version
=false
849 ac_unrecognized_opts
=
851 # The variables have the same names as the options, with
852 # dashes changed to underlines.
860 program_transform_name
=s
,x
,x
,
868 # Installation directory options.
869 # These are left unexpanded so users can "make install exec_prefix=/foo"
870 # and all the variables that are supposed to be based on exec_prefix
871 # by default will actually change.
872 # Use braces instead of parens because sh, perl, etc. also accept them.
873 # (The list follows the same order as the GNU Coding Standards.)
874 bindir
='${exec_prefix}/bin'
875 sbindir
='${exec_prefix}/sbin'
876 libexecdir
='${exec_prefix}/libexec'
877 datarootdir
='${prefix}/share'
878 datadir
='${datarootdir}'
879 sysconfdir
='${prefix}/etc'
880 sharedstatedir
='${prefix}/com'
881 localstatedir
='${prefix}/var'
882 includedir
='${prefix}/include'
883 oldincludedir
='/usr/include'
884 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
885 infodir
='${datarootdir}/info'
890 libdir
='${exec_prefix}/lib'
891 localedir
='${datarootdir}/locale'
892 mandir
='${datarootdir}/man'
898 # If the previous option needs an argument, assign it.
899 if test -n "$ac_prev"; then
900 eval $ac_prev=\
$ac_option
906 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
911 # Accept the important Cygnus configure options, so we can diagnose typos.
913 case $ac_dashdash$ac_option in
917 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
919 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
922 -build |
--build |
--buil |
--bui |
--bu)
923 ac_prev
=build_alias
;;
924 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
925 build_alias
=$ac_optarg ;;
927 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
928 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
929 ac_prev
=cache_file
;;
930 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
931 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
932 cache_file
=$ac_optarg ;;
935 cache_file
=config.cache
;;
937 -datadir |
--datadir |
--datadi |
--datad)
939 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
940 datadir
=$ac_optarg ;;
942 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
943 |
--dataroo |
--dataro |
--datar)
944 ac_prev
=datarootdir
;;
945 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
946 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
947 datarootdir
=$ac_optarg ;;
949 -disable-* |
--disable-*)
950 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
951 # Reject names that are not valid shell variable names.
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
953 as_fn_error $?
"invalid feature name: $ac_useropt"
954 ac_useropt_orig
=$ac_useropt
955 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in
960 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
961 ac_unrecognized_sep
=', ';;
963 eval enable_
$ac_useropt=no
;;
965 -docdir |
--docdir |
--docdi |
--doc |
--do)
967 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
970 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
972 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
975 -enable-* |
--enable-*)
976 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
977 # Reject names that are not valid shell variable names.
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
979 as_fn_error $?
"invalid feature name: $ac_useropt"
980 ac_useropt_orig
=$ac_useropt
981 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
982 case $ac_user_opts in
986 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
987 ac_unrecognized_sep
=', ';;
989 eval enable_
$ac_useropt=\
$ac_optarg ;;
991 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
992 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
993 |
--exec |
--exe |
--ex)
994 ac_prev
=exec_prefix
;;
995 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
996 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
997 |
--exec=* |
--exe=* |
--ex=*)
998 exec_prefix
=$ac_optarg ;;
1000 -gas |
--gas |
--ga |
--g)
1001 # Obsolete; use --with-gas.
1004 -help |
--help |
--hel |
--he |
-h)
1005 ac_init_help
=long
;;
1006 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1007 ac_init_help
=recursive
;;
1008 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1009 ac_init_help
=short
;;
1011 -host |
--host |
--hos |
--ho)
1012 ac_prev
=host_alias
;;
1013 -host=* |
--host=* |
--hos=* |
--ho=*)
1014 host_alias
=$ac_optarg ;;
1016 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1018 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1020 htmldir
=$ac_optarg ;;
1022 -includedir |
--includedir |
--includedi |
--included |
--include \
1023 |
--includ |
--inclu |
--incl |
--inc)
1024 ac_prev
=includedir
;;
1025 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1026 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1027 includedir
=$ac_optarg ;;
1029 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1031 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1032 infodir
=$ac_optarg ;;
1034 -libdir |
--libdir |
--libdi |
--libd)
1036 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1037 libdir
=$ac_optarg ;;
1039 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1040 |
--libexe |
--libex |
--libe)
1041 ac_prev
=libexecdir
;;
1042 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1043 |
--libexe=* |
--libex=* |
--libe=*)
1044 libexecdir
=$ac_optarg ;;
1046 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1047 ac_prev
=localedir
;;
1048 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1049 localedir
=$ac_optarg ;;
1051 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1052 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1053 ac_prev
=localstatedir
;;
1054 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1055 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1056 localstatedir
=$ac_optarg ;;
1058 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1060 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1061 mandir
=$ac_optarg ;;
1063 -nfp |
--nfp |
--nf)
1064 # Obsolete; use --without-fp.
1067 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1068 |
--no-cr |
--no-c |
-n)
1071 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1072 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1075 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1076 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1077 |
--oldin |
--oldi |
--old |
--ol |
--o)
1078 ac_prev
=oldincludedir
;;
1079 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1080 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1081 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1082 oldincludedir
=$ac_optarg ;;
1084 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1086 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1087 prefix
=$ac_optarg ;;
1089 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1090 |
--program-pre |
--program-pr |
--program-p)
1091 ac_prev
=program_prefix
;;
1092 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1093 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1094 program_prefix
=$ac_optarg ;;
1096 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1097 |
--program-suf |
--program-su |
--program-s)
1098 ac_prev
=program_suffix
;;
1099 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1100 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1101 program_suffix
=$ac_optarg ;;
1103 -program-transform-name |
--program-transform-name \
1104 |
--program-transform-nam |
--program-transform-na \
1105 |
--program-transform-n |
--program-transform- \
1106 |
--program-transform |
--program-transfor \
1107 |
--program-transfo |
--program-transf \
1108 |
--program-trans |
--program-tran \
1109 |
--progr-tra |
--program-tr |
--program-t)
1110 ac_prev
=program_transform_name
;;
1111 -program-transform-name=* |
--program-transform-name=* \
1112 |
--program-transform-nam=* |
--program-transform-na=* \
1113 |
--program-transform-n=* |
--program-transform-=* \
1114 |
--program-transform=* |
--program-transfor=* \
1115 |
--program-transfo=* |
--program-transf=* \
1116 |
--program-trans=* |
--program-tran=* \
1117 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1118 program_transform_name
=$ac_optarg ;;
1120 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1122 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1123 pdfdir
=$ac_optarg ;;
1125 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1127 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1130 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1131 |
-silent |
--silent |
--silen |
--sile |
--sil)
1134 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1136 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1138 sbindir
=$ac_optarg ;;
1140 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1141 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1142 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1144 ac_prev
=sharedstatedir
;;
1145 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1146 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1147 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1149 sharedstatedir
=$ac_optarg ;;
1151 -site |
--site |
--sit)
1153 -site=* |
--site=* |
--sit=*)
1156 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1158 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1159 srcdir
=$ac_optarg ;;
1161 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1162 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1163 ac_prev
=sysconfdir
;;
1164 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1165 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1166 sysconfdir
=$ac_optarg ;;
1168 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1169 ac_prev
=target_alias
;;
1170 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1171 target_alias
=$ac_optarg ;;
1173 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1176 -version |
--version |
--versio |
--versi |
--vers |
-V)
1177 ac_init_version
=: ;;
1180 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1181 # Reject names that are not valid shell variable names.
1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1183 as_fn_error $?
"invalid package name: $ac_useropt"
1184 ac_useropt_orig
=$ac_useropt
1185 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1186 case $ac_user_opts in
1190 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1191 ac_unrecognized_sep
=', ';;
1193 eval with_
$ac_useropt=\
$ac_optarg ;;
1195 -without-* |
--without-*)
1196 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1197 # Reject names that are not valid shell variable names.
1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1199 as_fn_error $?
"invalid package name: $ac_useropt"
1200 ac_useropt_orig
=$ac_useropt
1201 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202 case $ac_user_opts in
1206 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1207 ac_unrecognized_sep
=', ';;
1209 eval with_
$ac_useropt=no
;;
1212 # Obsolete; use --with-x.
1215 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1216 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1217 ac_prev
=x_includes
;;
1218 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1219 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1220 x_includes
=$ac_optarg ;;
1222 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1223 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1224 ac_prev
=x_libraries
;;
1225 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1226 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1227 x_libraries
=$ac_optarg ;;
1229 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1230 Try \`$0 --help' for more information"
1234 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1235 # Reject names that are not valid shell variable names.
1236 case $ac_envvar in #(
1237 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1238 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1240 eval $ac_envvar=\
$ac_optarg
1241 export $ac_envvar ;;
1244 # FIXME: should be removed in autoconf 3.0.
1245 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1246 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1247 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1248 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1254 if test -n "$ac_prev"; then
1255 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1256 as_fn_error $?
"missing argument to $ac_option"
1259 if test -n "$ac_unrecognized_opts"; then
1260 case $enable_option_checking in
1262 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1263 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1267 # Check all directory arguments for consistency.
1268 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1269 datadir sysconfdir sharedstatedir localstatedir includedir \
1270 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1271 libdir localedir mandir
1273 eval ac_val
=\$
$ac_var
1274 # Remove trailing slashes.
1277 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1278 eval $ac_var=\
$ac_val;;
1280 # Be sure to have absolute directory names.
1282 [\\/$
]* | ?
:[\\/]* ) continue;;
1283 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1285 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1288 # There might be people who depend on the old broken behavior: `$host'
1289 # used to hold the argument of --host etc.
1290 # FIXME: To remove some day.
1293 target
=$target_alias
1295 # FIXME: To remove some day.
1296 if test "x$host_alias" != x
; then
1297 if test "x$build_alias" = x
; then
1298 cross_compiling
=maybe
1299 elif test "x$build_alias" != "x$host_alias"; then
1305 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1307 test "$silent" = yes && exec 6>/dev
/null
1310 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1311 ac_ls_di
=`ls -di .` &&
1312 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1313 as_fn_error $?
"working directory cannot be determined"
1314 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1315 as_fn_error $?
"pwd does not report name of working directory"
1318 # Find the source files, if location was not specified.
1319 if test -z "$srcdir"; then
1320 ac_srcdir_defaulted
=yes
1321 # Try the directory containing this script, then the parent directory.
1322 ac_confdir
=`$as_dirname -- "$as_myself" ||
1323 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1324 X"$as_myself" : 'X\(//\)[^/]' \| \
1325 X"$as_myself" : 'X\(//\)$' \| \
1326 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1327 $as_echo X"$as_myself" |
1328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1346 if test ! -r "$srcdir/$ac_unique_file"; then
1350 ac_srcdir_defaulted
=no
1352 if test ! -r "$srcdir/$ac_unique_file"; then
1353 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1354 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1356 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1358 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1360 # When building in place, set srcdir=.
1361 if test "$ac_abs_confdir" = "$ac_pwd"; then
1364 # Remove unnecessary trailing slashes from srcdir.
1365 # Double slashes in file names in object file debugging info
1366 # mess up M-x gdb in Emacs.
1368 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1370 for ac_var
in $ac_precious_vars; do
1371 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1372 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1373 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1374 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1378 # Report the --help message.
1380 if test "$ac_init_help" = "long"; then
1381 # Omit some internal or obsolete options to make the list less imposing.
1382 # This message is too long to be a string in the A/UX 3.1 sh.
1384 \`configure' configures GNU Offloading and Multi Processing Runtime Library 1.0 to adapt to many kinds of systems.
1386 Usage: $0 [OPTION]... [VAR=VALUE]...
1388 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1389 VAR=VALUE. See below for descriptions of some of the useful variables.
1391 Defaults for the options are specified in brackets.
1394 -h, --help display this help and exit
1395 --help=short display options specific to this package
1396 --help=recursive display the short help of all the included packages
1397 -V, --version display version information and exit
1398 -q, --quiet, --silent do not print \`checking ...' messages
1399 --cache-file=FILE cache test results in FILE [disabled]
1400 -C, --config-cache alias for \`--cache-file=config.cache'
1401 -n, --no-create do not create output files
1402 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1404 Installation directories:
1405 --prefix=PREFIX install architecture-independent files in PREFIX
1406 [$ac_default_prefix]
1407 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1410 By default, \`make install' will install all the files in
1411 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1412 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1413 for instance \`--prefix=\$HOME'.
1415 For better control, use the options below.
1417 Fine tuning of the installation directories:
1418 --bindir=DIR user executables [EPREFIX/bin]
1419 --sbindir=DIR system admin executables [EPREFIX/sbin]
1420 --libexecdir=DIR program executables [EPREFIX/libexec]
1421 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1422 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1423 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1424 --libdir=DIR object code libraries [EPREFIX/lib]
1425 --includedir=DIR C header files [PREFIX/include]
1426 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1427 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1428 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1429 --infodir=DIR info documentation [DATAROOTDIR/info]
1430 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1431 --mandir=DIR man documentation [DATAROOTDIR/man]
1432 --docdir=DIR documentation root [DATAROOTDIR/doc/libgomp]
1433 --htmldir=DIR html documentation [DOCDIR]
1434 --dvidir=DIR dvi documentation [DOCDIR]
1435 --pdfdir=DIR pdf documentation [DOCDIR]
1436 --psdir=DIR ps documentation [DOCDIR]
1442 --program-prefix=PREFIX prepend PREFIX to installed program names
1443 --program-suffix=SUFFIX append SUFFIX to installed program names
1444 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1447 --build=BUILD configure
for building on BUILD
[guessed
]
1448 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1449 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1453 if test -n "$ac_init_help"; then
1454 case $ac_init_help in
1455 short | recursive
) echo "Configuration of GNU Offloading and Multi Processing Runtime Library 1.0:";;
1460 --disable-option-checking ignore unrecognized
--enable/--with options
1461 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1462 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1463 --enable-version-specific-runtime-libs
1464 Specify that runtime libraries should be installed
1465 in a compiler-specific directory
[default
=no
]
1466 --enable-generated-files-in-srcdir
1467 put copies of generated files
in source dir intended
1468 for creating
source tarballs
for users without
1469 texinfo bison or flex.
[default
=no
]
1470 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1471 --disable-silent-rules verbose build output
(undo
: "make V=0")
1472 --enable-multilib build many library versions
(default
)
1473 --enable-dependency-tracking
1474 do not reject slow dependency extractors
1475 --disable-dependency-tracking
1476 speeds up one-time build
1477 --disable-werror disable building with
-Werror
1478 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1479 --enable-static[=PKGS
] build static libraries
[default
=yes]
1480 --enable-fast-install[=PKGS
]
1481 optimize
for fast installation
[default
=yes]
1482 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1483 --enable-darwin-at-rpath
1484 install libraries with @rpath
/library-name
, requires
1485 rpaths to be added to executables
1486 --enable-maintainer-mode
1487 enable make rules and dependencies not useful
(and
1488 sometimes confusing
) to the casual installer
1489 --enable-linux-futex use the Linux futex system call
[default
=default
]
1490 --enable-tls Use thread-local storage
[default
=yes]
1491 --enable-symvers=STYLE enables symbol versioning of the shared library
1493 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1496 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1497 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1498 --with-toolexeclibdir=DIR
1499 install libraries built with a cross compiler within
1501 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1503 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1504 --with-gcc-major-version-only
1505 use only GCC major number
in filesystem paths
1507 Some influential environment variables
:
1508 CC C compiler
command
1509 CFLAGS C compiler flags
1510 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1511 nonstandard directory
<lib dir
>
1512 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1513 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1514 you have headers
in a nonstandard directory
<include dir
>
1516 FC Fortran compiler
command
1517 FCFLAGS Fortran compiler flags
1519 Use these variables to override the choices made by
`configure' or to help
1520 it to find libraries and programs with nonstandard names/locations.
1522 Report bugs to the package provider.
1523 GNU Offloading and Multi Processing Runtime Library home page: <http://www.gnu.org/software/libgomp/>.
1524 General help using GNU software: <http://www.gnu.org/gethelp/>.
1529 if test "$ac_init_help" = "recursive"; then
1530 # If there are subdirs, report their specific --help.
1531 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1532 test -d "$ac_dir" ||
1533 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1538 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1540 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1541 # A ".." for each directory in $ac_dir_suffix.
1542 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1543 case $ac_top_builddir_sub in
1544 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1545 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1548 ac_abs_top_builddir=$ac_pwd
1549 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1550 # for backward compatibility:
1551 ac_top_builddir=$ac_top_build_prefix
1554 .) # We are building in place.
1556 ac_top_srcdir=$ac_top_builddir_sub
1557 ac_abs_top_srcdir=$ac_pwd ;;
1558 [\\/]* | ?:[\\/]* ) # Absolute name.
1559 ac_srcdir=$srcdir$ac_dir_suffix;
1560 ac_top_srcdir=$srcdir
1561 ac_abs_top_srcdir=$srcdir ;;
1563 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1564 ac_top_srcdir=$ac_top_build_prefix$srcdir
1565 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1567 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1569 cd "$ac_dir" || { ac_status=$?; continue; }
1570 # Check for guested configure.
1571 if test -f "$ac_srcdir/configure.gnu"; then
1573 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1574 elif test -f "$ac_srcdir/configure"; then
1576 $SHELL "$ac_srcdir/configure" --help=recursive
1578 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1580 cd "$ac_pwd" || { ac_status=$?; break; }
1584 test -n "$ac_init_help" && exit $ac_status
1585 if $ac_init_version; then
1587 GNU Offloading and Multi Processing Runtime Library configure 1.0
1588 generated by GNU Autoconf 2.69
1590 Copyright (C) 2012 Free Software Foundation, Inc.
1591 This configure script is free software; the Free Software Foundation
1592 gives unlimited permission to copy, distribute and modify it.
1597 ## ------------------------ ##
1598 ## Autoconf initialization. ##
1599 ## ------------------------ ##
1601 # ac_fn_c_try_compile LINENO
1602 # --------------------------
1603 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1604 ac_fn_c_try_compile ()
1606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607 rm -f conftest.$ac_objext
1608 if { { ac_try="$ac_compile"
1610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1611 *) ac_try_echo
=$ac_try;;
1613 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615 (eval "$ac_compile") 2>conftest.err
1617 if test -s conftest.err
; then
1618 grep -v '^ *+' conftest.err
>conftest.er1
1619 cat conftest.er1
>&5
1620 mv -f conftest.er1 conftest.err
1622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1623 test $ac_status = 0; } && {
1624 test -z "$ac_c_werror_flag" ||
1625 test ! -s conftest.err
1626 } && test -s conftest.
$ac_objext; then :
1629 $as_echo "$as_me: failed program was:" >&5
1630 sed 's/^/| /' conftest.
$ac_ext >&5
1634 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1635 as_fn_set_status
$ac_retval
1637 } # ac_fn_c_try_compile
1639 # ac_fn_c_try_link LINENO
1640 # -----------------------
1641 # Try to link conftest.$ac_ext, and return whether this succeeded.
1644 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1645 rm -f conftest.
$ac_objext conftest
$ac_exeext
1646 if { { ac_try
="$ac_link"
1648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1649 *) ac_try_echo=$ac_try;;
1651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1652 $as_echo "$ac_try_echo"; } >&5
1653 (eval "$ac_link") 2>conftest.err
1655 if test -s conftest.err; then
1656 grep -v '^ *+' conftest.err >conftest.er1
1657 cat conftest.er1 >&5
1658 mv -f conftest.er1 conftest.err
1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1661 test $ac_status = 0; } && {
1662 test -z "$ac_c_werror_flag" ||
1663 test ! -s conftest.err
1664 } && test -s conftest$ac_exeext && {
1665 test "$cross_compiling" = yes ||
1666 test -x conftest$ac_exeext
1670 $as_echo "$as_me: failed program was:" >&5
1671 sed 's/^/| /' conftest.$ac_ext >&5
1675 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1676 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1677 # interfere with the next link command; also delete a directory that is
1678 # left behind by Apple's compiler. We do this before executing the actions.
1679 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1680 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1681 as_fn_set_status $ac_retval
1683 } # ac_fn_c_try_link
1685 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1686 # -------------------------------------------------------
1687 # Tests whether HEADER exists and can be compiled using the include files in
1688 # INCLUDES, setting the cache variable VAR accordingly.
1689 ac_fn_c_check_header_compile ()
1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1693 $as_echo_n "checking for $2... " >&6; }
1694 if eval \${$3+:} false; then :
1695 $as_echo_n "(cached) " >&6
1697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1698 /* end confdefs.h. */
1702 if ac_fn_c_try_compile "$LINENO"; then :
1707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1711 $as_echo "$ac_res" >&6; }
1712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1714 } # ac_fn_c_check_header_compile
1716 # ac_fn_c_try_cpp LINENO
1717 # ----------------------
1718 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722 if { { ac_try="$ac_cpp conftest.$ac_ext"
1724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1725 *) ac_try_echo
=$ac_try;;
1727 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1731 if test -s conftest.err
; then
1732 grep -v '^ *+' conftest.err
>conftest.er1
1733 cat conftest.er1
>&5
1734 mv -f conftest.er1 conftest.err
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } > conftest.i
&& {
1738 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1739 test ! -s conftest.err
1743 $as_echo "$as_me: failed program was:" >&5
1744 sed 's/^/| /' conftest.
$ac_ext >&5
1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749 as_fn_set_status
$ac_retval
1753 # ac_fn_c_try_run LINENO
1754 # ----------------------
1755 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1756 # that executables *can* be run.
1759 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1760 if { { ac_try
="$ac_link"
1762 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1763 *) ac_try_echo=$ac_try;;
1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767 (eval "$ac_link") 2>&5
1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1771 { { case "(($ac_try" in
1772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1773 *) ac_try_echo
=$ac_try;;
1775 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 $as_echo "$ac_try_echo"; } >&5
1777 (eval "$ac_try") 2>&5
1779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780 test $ac_status = 0; }; }; then :
1783 $as_echo "$as_me: program exited with status $ac_status" >&5
1784 $as_echo "$as_me: failed program was:" >&5
1785 sed 's/^/| /' conftest.
$ac_ext >&5
1787 ac_retval
=$ac_status
1789 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791 as_fn_set_status
$ac_retval
1795 # ac_fn_c_check_func LINENO FUNC VAR
1796 # ----------------------------------
1797 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1798 ac_fn_c_check_func
()
1800 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1802 $as_echo_n "checking for $2... " >&6; }
1803 if eval \
${$3+:} false
; then :
1804 $as_echo_n "(cached) " >&6
1806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1807 /* end confdefs.h. */
1808 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1810 #define $2 innocuous_$2
1812 /* System header to define __stub macros and hopefully few prototypes,
1813 which can conflict with char $2 (); below.
1814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1815 <limits.h> exists even on freestanding compilers. */
1818 # include <limits.h>
1820 # include <assert.h>
1825 /* Override any GCC internal prototype to avoid an error.
1826 Use char because int might match the return type of a GCC
1827 builtin and then its argument prototype would still apply. */
1832 /* The GNU C library defines this for functions which it implements
1833 to always fail with ENOSYS. Some functions are actually named
1834 something starting with __ and the normal name is an alias. */
1835 #if defined __stub_$2 || defined __stub___$2
1847 if ac_fn_c_try_link
"$LINENO"; then :
1852 rm -f core conftest.err conftest.
$ac_objext \
1853 conftest
$ac_exeext conftest.
$ac_ext
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1857 $as_echo "$ac_res" >&6; }
1858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1860 } # ac_fn_c_check_func
1862 # ac_fn_fc_try_compile LINENO
1863 # ---------------------------
1864 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1865 ac_fn_fc_try_compile
()
1867 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1868 rm -f conftest.
$ac_objext
1869 if { { ac_try
="$ac_compile"
1871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1872 *) ac_try_echo=$ac_try;;
1874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1875 $as_echo "$ac_try_echo"; } >&5
1876 (eval "$ac_compile") 2>conftest.err
1878 if test -s conftest.err; then
1879 grep -v '^ *+' conftest.err >conftest.er1
1880 cat conftest.er1 >&5
1881 mv -f conftest.er1 conftest.err
1883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1884 test $ac_status = 0; } && {
1885 test -z "$ac_fc_werror_flag" ||
1886 test ! -s conftest.err
1887 } && test -s conftest.$ac_objext; then :
1890 $as_echo "$as_me: failed program was:" >&5
1891 sed 's/^/| /' conftest.$ac_ext >&5
1895 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1896 as_fn_set_status $ac_retval
1898 } # ac_fn_fc_try_compile
1900 # ac_fn_fc_try_link LINENO
1901 # ------------------------
1902 # Try to link conftest.$ac_ext, and return whether this succeeded.
1903 ac_fn_fc_try_link ()
1905 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1906 rm -f conftest.$ac_objext conftest$ac_exeext
1907 if { { ac_try="$ac_link"
1909 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1910 *) ac_try_echo
=$ac_try;;
1912 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1913 $as_echo "$ac_try_echo"; } >&5
1914 (eval "$ac_link") 2>conftest.err
1916 if test -s conftest.err
; then
1917 grep -v '^ *+' conftest.err
>conftest.er1
1918 cat conftest.er1
>&5
1919 mv -f conftest.er1 conftest.err
1921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1922 test $ac_status = 0; } && {
1923 test -z "$ac_fc_werror_flag" ||
1924 test ! -s conftest.err
1925 } && test -s conftest
$ac_exeext && {
1926 test "$cross_compiling" = yes ||
1927 test -x conftest
$ac_exeext
1931 $as_echo "$as_me: failed program was:" >&5
1932 sed 's/^/| /' conftest.
$ac_ext >&5
1936 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1937 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1938 # interfere with the next link command; also delete a directory that is
1939 # left behind by Apple's compiler. We do this before executing the actions.
1940 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1941 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1942 as_fn_set_status
$ac_retval
1944 } # ac_fn_fc_try_link
1946 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1947 # -------------------------------------------------------
1948 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1949 # the include files in INCLUDES and setting the cache variable VAR
1951 ac_fn_c_check_header_mongrel
()
1953 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1954 if eval \
${$3+:} false
; then :
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1956 $as_echo_n "checking for $2... " >&6; }
1957 if eval \
${$3+:} false
; then :
1958 $as_echo_n "(cached) " >&6
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1962 $as_echo "$ac_res" >&6; }
1964 # Is the header compilable?
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1966 $as_echo_n "checking $2 usability... " >&6; }
1967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1968 /* end confdefs.h. */
1972 if ac_fn_c_try_compile
"$LINENO"; then :
1973 ac_header_compiler
=yes
1975 ac_header_compiler
=no
1977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1979 $as_echo "$ac_header_compiler" >&6; }
1981 # Is the header present?
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1983 $as_echo_n "checking $2 presence... " >&6; }
1984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1985 /* end confdefs.h. */
1988 if ac_fn_c_try_cpp
"$LINENO"; then :
1989 ac_header_preproc
=yes
1991 ac_header_preproc
=no
1993 rm -f conftest.err conftest.i conftest.
$ac_ext
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1995 $as_echo "$ac_header_preproc" >&6; }
1997 # So? What about this header?
1998 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2001 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2003 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2007 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2009 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2011 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2013 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2015 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2019 $as_echo_n "checking for $2... " >&6; }
2020 if eval \
${$3+:} false
; then :
2021 $as_echo_n "(cached) " >&6
2023 eval "$3=\$ac_header_compiler"
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2027 $as_echo "$ac_res" >&6; }
2029 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2031 } # ac_fn_c_check_header_mongrel
2033 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2034 # --------------------------------------------
2035 # Tries to find the compile-time value of EXPR in a program that includes
2036 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2038 ac_fn_c_compute_int
()
2040 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2041 if test "$cross_compiling" = yes; then
2042 # Depending upon the size, compute the lo and hi bounds.
2043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2049 static int test_array [1 - 2 * !(($2) >= 0)];
2051 return test_array [0];
2057 if ac_fn_c_try_compile
"$LINENO"; then :
2060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2061 /* end confdefs.h. */
2066 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2068 return test_array [0];
2074 if ac_fn_c_try_compile
"$LINENO"; then :
2075 ac_hi
=$ac_mid; break
2077 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2078 if test $ac_lo -le $ac_mid; then
2082 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2088 /* end confdefs.h. */
2093 static int test_array [1 - 2 * !(($2) < 0)];
2095 return test_array [0];
2101 if ac_fn_c_try_compile
"$LINENO"; then :
2104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h. */
2110 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2112 return test_array [0];
2118 if ac_fn_c_try_compile
"$LINENO"; then :
2119 ac_lo
=$ac_mid; break
2121 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2122 if test $ac_mid -le $ac_hi; then
2126 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2136 # Binary search between lo and hi bounds.
2137 while test "x$ac_lo" != "x$ac_hi"; do
2138 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2140 /* end confdefs.h. */
2145 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2147 return test_array [0];
2153 if ac_fn_c_try_compile
"$LINENO"; then :
2156 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2161 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2166 /* end confdefs.h. */
2168 static long int longval () { return $2; }
2169 static unsigned long int ulongval () { return $2; }
2176 FILE *f = fopen ("conftest.val", "w");
2181 long int i = longval ();
2184 fprintf (f, "%ld", i);
2188 unsigned long int i = ulongval ();
2191 fprintf (f, "%lu", i);
2193 /* Do not output a trailing newline, as this causes \r\n confusion
2194 on some platforms. */
2195 return ferror (f) || fclose (f) != 0;
2201 if ac_fn_c_try_run
"$LINENO"; then :
2202 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2206 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2207 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2211 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2212 as_fn_set_status
$ac_retval
2214 } # ac_fn_c_compute_int
2216 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2217 # -------------------------------------------
2218 # Tests whether TYPE exists after having included INCLUDES, setting cache
2219 # variable VAR accordingly.
2220 ac_fn_c_check_type
()
2222 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2224 $as_echo_n "checking for $2... " >&6; }
2225 if eval \
${$3+:} false
; then :
2226 $as_echo_n "(cached) " >&6
2229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2230 /* end confdefs.h. */
2241 if ac_fn_c_try_compile
"$LINENO"; then :
2242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2243 /* end confdefs.h. */
2254 if ac_fn_c_try_compile
"$LINENO"; then :
2259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2261 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2265 $as_echo "$ac_res" >&6; }
2266 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2268 } # ac_fn_c_check_type
2269 cat >config.log
<<_ACEOF
2270 This file contains any messages produced by compilers while
2271 running configure, to aid debugging if configure makes a mistake.
2273 It was created by GNU Offloading and Multi Processing Runtime Library $as_me 1.0, which was
2274 generated by GNU Autoconf 2.69. Invocation command line was
2286 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2287 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2288 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2289 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2290 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2292 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2293 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2295 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2296 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2297 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2298 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2299 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2300 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2301 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2309 test -z "$as_dir" && as_dir
=.
2310 $as_echo "PATH: $as_dir"
2326 # Keep a trace of the command line.
2327 # Strip out --no-create and --no-recursion so they do not pile up.
2328 # Strip out --silent because we don't want to record it for future runs.
2329 # Also quote any args containing shell meta-characters.
2330 # Make two passes to allow for proper duplicate-argument suppression.
2334 ac_must_keep_next
=false
2340 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2341 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2342 |
-silent |
--silent |
--silen |
--sile |
--sil)
2345 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2348 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2350 as_fn_append ac_configure_args1
" '$ac_arg'"
2351 if test $ac_must_keep_next = true
; then
2352 ac_must_keep_next
=false
# Got value, back to normal.
2355 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2356 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2357 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2358 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2359 case "$ac_configure_args0 " in
2360 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2363 -* ) ac_must_keep_next
=true
;;
2366 as_fn_append ac_configure_args
" '$ac_arg'"
2371 { ac_configure_args0
=; unset ac_configure_args0
;}
2372 { ac_configure_args1
=; unset ac_configure_args1
;}
2374 # When interrupted or exit'd, cleanup temporary files, and complete
2375 # config.log. We remove comments because anyway the quotes in there
2376 # would cause problems or look ugly.
2377 # WARNING: Use '\'' to represent an apostrophe within the trap.
2378 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2379 trap 'exit_status=$?
2380 # Save into config.log some information that might help in debugging.
2384 $as_echo "## ---------------- ##
2385 ## Cache variables. ##
2386 ## ---------------- ##"
2388 # The following way of writing the cache mishandles newlines in values,
2390 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2391 eval ac_val=\$$ac_var
2395 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2396 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2399 _ | IFS | as_nl) ;; #(
2400 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2401 *) { eval $ac_var=; unset $ac_var;} ;;
2406 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2407 *${as_nl}ac_space=\ *)
2409 "s/'\''/'\''\\\\'\'''\''/g;
2410 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2413 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2420 $as_echo "## ----------------- ##
2421 ## Output variables. ##
2422 ## ----------------- ##"
2424 for ac_var in $ac_subst_vars
2426 eval ac_val=\$$ac_var
2428 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2430 $as_echo "$ac_var='\''$ac_val'\''"
2434 if test -n "$ac_subst_files"; then
2435 $as_echo "## ------------------- ##
2436 ## File substitutions. ##
2437 ## ------------------- ##"
2439 for ac_var
in $ac_subst_files
2441 eval ac_val
=\$
$ac_var
2443 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2445 $as_echo "$ac_var='\''$ac_val'\''"
2450 if test -s confdefs.h; then
2451 $as_echo "## ----------- ##
2458 test "$ac_signal" != 0 &&
2459 $as_echo "$as_me: caught signal $ac_signal"
2460 $as_echo "$as_me: exit $exit_status"
2462 rm -f core *.core core.conftest.* &&
2463 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2466 for ac_signal
in 1 2 13 15; do
2467 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2471 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2472 rm -f -r conftest
* confdefs.h
2474 $as_echo "/* confdefs.h */" > confdefs.h
2476 # Predefined preprocessor variables.
2478 cat >>confdefs.h
<<_ACEOF
2479 #define PACKAGE_NAME "$PACKAGE_NAME"
2482 cat >>confdefs.h
<<_ACEOF
2483 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2486 cat >>confdefs.h
<<_ACEOF
2487 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2490 cat >>confdefs.h
<<_ACEOF
2491 #define PACKAGE_STRING "$PACKAGE_STRING"
2494 cat >>confdefs.h
<<_ACEOF
2495 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2498 cat >>confdefs.h
<<_ACEOF
2499 #define PACKAGE_URL "$PACKAGE_URL"
2503 # Let the site file select an alternate cache file if it wants to.
2504 # Prefer an explicitly selected file to automatically selected ones.
2507 if test -n "$CONFIG_SITE"; then
2508 # We do not want a PATH search for config.site.
2509 case $CONFIG_SITE in #((
2510 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2511 */*) ac_site_file1
=$CONFIG_SITE;;
2512 *) ac_site_file1
=.
/$CONFIG_SITE;;
2514 elif test "x$prefix" != xNONE
; then
2515 ac_site_file1
=$prefix/share
/config.site
2516 ac_site_file2
=$prefix/etc
/config.site
2518 ac_site_file1
=$ac_default_prefix/share
/config.site
2519 ac_site_file2
=$ac_default_prefix/etc
/config.site
2521 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2523 test "x$ac_site_file" = xNONE
&& continue
2524 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2526 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2527 sed 's/^/| /' "$ac_site_file" >&5
2529 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2531 as_fn_error $?
"failed to load site script $ac_site_file
2532 See \`config.log' for more details" "$LINENO" 5; }
2536 if test -r "$cache_file"; then
2537 # Some versions of bash will fail to source /dev/null (special files
2538 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2539 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2541 $as_echo "$as_me: loading cache $cache_file" >&6;}
2543 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2544 *) .
"./$cache_file";;
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2549 $as_echo "$as_me: creating cache $cache_file" >&6;}
2553 as_fn_append ac_header_list
" unistd.h"
2554 as_fn_append ac_func_list
" secure_getenv"
2555 as_fn_append ac_func_list
" __secure_getenv"
2556 as_fn_append ac_func_list
" getuid"
2557 as_fn_append ac_func_list
" geteuid"
2558 as_fn_append ac_func_list
" getgid"
2559 as_fn_append ac_func_list
" getegid"
2560 # Check that the precious variables saved in the cache have kept the same
2562 ac_cache_corrupted
=false
2563 for ac_var
in $ac_precious_vars; do
2564 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2565 eval ac_new_set
=\
$ac_env_${ac_var}_set
2566 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2567 eval ac_new_val
=\
$ac_env_${ac_var}_value
2568 case $ac_old_set,$ac_new_set in
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2571 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2572 ac_cache_corrupted
=: ;;
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2575 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2576 ac_cache_corrupted
=: ;;
2579 if test "x$ac_old_val" != "x$ac_new_val"; then
2580 # differences in whitespace do not lead to failure.
2581 ac_old_val_w
=`echo x $ac_old_val`
2582 ac_new_val_w
=`echo x $ac_new_val`
2583 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2585 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2586 ac_cache_corrupted
=:
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2589 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2590 eval $ac_var=\
$ac_old_val
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2593 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2595 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2598 # Pass precious variables to config.status.
2599 if test "$ac_new_set" = set; then
2601 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2602 *) ac_arg
=$ac_var=$ac_new_val ;;
2604 case " $ac_configure_args " in
2605 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2606 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2610 if $ac_cache_corrupted; then
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2612 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2614 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2615 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2617 ## -------------------- ##
2618 ## Main body of script. ##
2619 ## -------------------- ##
2622 ac_cpp
='$CPP $CPPFLAGS'
2623 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2624 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2625 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2631 ac_config_headers
="$ac_config_headers config.h"
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2639 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2640 # Check whether --enable-version-specific-runtime-libs was given.
2641 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2642 enableval
=$enable_version_specific_runtime_libs;
2643 case "$enableval" in
2645 *) as_fn_error $?
"Unknown argument to enable/disable version-specific-runtime-libs" "$LINENO" 5 ;;
2649 enable_version_specific_runtime_libs
=no
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
2654 $as_echo "$enable_version_specific_runtime_libs" >&6; }
2656 # We would like our source tree to be readonly. However when releases or
2657 # pre-releases are generated, the flex/bison generated files as well as the
2658 # various formats of manuals need to be included along with the rest of the
2659 # sources. Therefore we have --enable-generated-files-in-srcdir to do
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-generated-files-in-srcdir" >&5
2662 $as_echo_n "checking for --enable-generated-files-in-srcdir... " >&6; }
2663 # Check whether --enable-generated-files-in-srcdir was given.
2664 if test "${enable_generated_files_in_srcdir+set}" = set; then :
2665 enableval
=$enable_generated_files_in_srcdir;
2666 case "$enableval" in
2668 *) as_fn_error $?
"Unknown argument to enable/disable generated-files-in-srcdir" "$LINENO" 5 ;;
2672 enable_generated_files_in_srcdir
=no
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
2677 $as_echo "$enable_generated_files_in_srcdir" >&6; }
2678 if test "$enable_generated_files_in_srcdir" = yes; then
2691 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2693 # You will slowly go insane if you do not grok the following fact: when
2694 # building this library, the top-level /target/ becomes the library's /host/.
2696 # configure then causes --target to default to --host, exactly like any
2697 # other package using autoconf. Therefore, 'target' and 'host' will
2698 # always be the same. This makes sense both for native and cross compilers
2699 # just think about it for a little while. :-)
2701 # Also, if this library is being configured as part of a cross compiler, the
2702 # top-level configure script will pass the "real" host as $with_cross_host.
2704 # Do not delete or change the following two lines. For why, see
2705 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2707 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2708 if test -f "$ac_dir/install-sh"; then
2710 ac_install_sh
="$ac_aux_dir/install-sh -c"
2712 elif test -f "$ac_dir/install.sh"; then
2714 ac_install_sh
="$ac_aux_dir/install.sh -c"
2716 elif test -f "$ac_dir/shtool"; then
2718 ac_install_sh
="$ac_aux_dir/shtool install -c"
2722 if test -z "$ac_aux_dir"; then
2723 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2726 # These three variables are undocumented and unsupported,
2727 # and are intended to be withdrawn in a future Autoconf release.
2728 # They can cause serious problems if a builder's source tree is in a directory
2729 # whose full name contains unusual characters.
2730 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2731 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2732 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2735 # Make sure we can run config.sub.
2736 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2737 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2740 $as_echo_n "checking build system type... " >&6; }
2741 if ${ac_cv_build+:} false
; then :
2742 $as_echo_n "(cached) " >&6
2744 ac_build_alias
=$build_alias
2745 test "x$ac_build_alias" = x
&&
2746 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2747 test "x$ac_build_alias" = x
&&
2748 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2749 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2750 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2754 $as_echo "$ac_cv_build" >&6; }
2755 case $ac_cv_build in
2757 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2760 ac_save_IFS
=$IFS; IFS
='-'
2766 # Remember, the first character of IFS is used to create $*,
2767 # except with old shells:
2770 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2774 $as_echo_n "checking host system type... " >&6; }
2775 if ${ac_cv_host+:} false
; then :
2776 $as_echo_n "(cached) " >&6
2778 if test "x$host_alias" = x
; then
2779 ac_cv_host
=$ac_cv_build
2781 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2782 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2787 $as_echo "$ac_cv_host" >&6; }
2790 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2793 ac_save_IFS
=$IFS; IFS
='-'
2799 # Remember, the first character of IFS is used to create $*,
2800 # except with old shells:
2803 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2807 $as_echo_n "checking target system type... " >&6; }
2808 if ${ac_cv_target+:} false
; then :
2809 $as_echo_n "(cached) " >&6
2811 if test "x$target_alias" = x
; then
2812 ac_cv_target
=$ac_cv_host
2814 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2815 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2820 $as_echo "$ac_cv_target" >&6; }
2821 case $ac_cv_target in
2823 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2825 target
=$ac_cv_target
2826 ac_save_IFS
=$IFS; IFS
='-'
2832 # Remember, the first character of IFS is used to create $*,
2833 # except with old shells:
2836 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2839 # The aliases save the names the user supplied, while $host etc.
2840 # will get canonicalized.
2841 test -n "$target_alias" &&
2842 test "$program_prefix$program_suffix$program_transform_name" = \
2844 program_prefix
=${target_alias}-
2846 target_alias
=${target_alias-$host_alias}
2848 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2849 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2850 # 1.9.0: minimum required version
2851 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2852 # of other PACKAGE_* variables will, however, and there's nothing
2853 # we can do about that; they come from AC_INIT).
2854 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2855 # file in the top srcdir, etc, etc), so stop complaining.
2856 # no-dist: we don't want 'dist' and related rules.
2857 # -Wall: turns on all automake warnings...
2858 # -Wno-portability: ...except this one, since GNU make is required.
2859 # -Wno-override: ... and this one, since we do want this in testsuite.
2860 am__api_version
='1.15'
2862 # Find a good install program. We prefer a C program (faster),
2863 # so one script is as good as another. But avoid the broken or
2864 # incompatible versions:
2865 # SysV /etc/install, /usr/sbin/install
2866 # SunOS /usr/etc/install
2867 # IRIX /sbin/install
2869 # AmigaOS /C/install, which installs bootblocks on floppy discs
2870 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2871 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2872 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2873 # OS/2's system install, which has a completely different semantic
2874 # ./install, which can be erroneously created by make from ./install.sh.
2875 # Reject install programs that cannot install multiple files.
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2877 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2878 if test -z "$INSTALL"; then
2879 if ${ac_cv_path_install+:} false
; then :
2880 $as_echo_n "(cached) " >&6
2882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2886 test -z "$as_dir" && as_dir
=.
2887 # Account for people who put trailing slashes in PATH elements.
2888 case $as_dir/ in #((
2889 .
/ | .
// |
/[cC
]/* | \
2890 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2891 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2894 # OSF1 and SCO ODT 3.0 have their own names for install.
2895 # Don't use installbsd from OSF since it installs stuff as root
2897 for ac_prog
in ginstall scoinst
install; do
2898 for ac_exec_ext
in '' $ac_executable_extensions; do
2899 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2900 if test $ac_prog = install &&
2901 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2902 # AIX install. It has an incompatible calling convention.
2904 elif test $ac_prog = install &&
2905 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2906 # program-specific install script used by HP pwplus--don't use.
2909 rm -rf conftest.one conftest.two conftest.dir
2910 echo one
> conftest.one
2911 echo two
> conftest.two
2913 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2914 test -s conftest.one
&& test -s conftest.two
&&
2915 test -s conftest.dir
/conftest.one
&&
2916 test -s conftest.dir
/conftest.two
2918 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2931 rm -rf conftest.one conftest.two conftest.dir
2934 if test "${ac_cv_path_install+set}" = set; then
2935 INSTALL
=$ac_cv_path_install
2937 # As a last resort, use the slow shell script. Don't cache a
2938 # value for INSTALL within a source directory, because that will
2939 # break other packages using the cache if that directory is
2940 # removed, or if the value is a relative name.
2941 INSTALL
=$ac_install_sh
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2945 $as_echo "$INSTALL" >&6; }
2947 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2948 # It thinks the first close brace ends the variable substitution.
2949 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2951 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2953 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2956 $as_echo_n "checking whether build environment is sane... " >&6; }
2957 # Reject unsafe characters in $srcdir or the absolute working directory
2958 # name. Accept space and tab only in the latter.
2962 *[\\\"\
#\$\&\'\`$am_lf]*)
2963 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2966 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2967 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2970 # Do 'set' in a subshell so we don't clobber the current shell's
2971 # arguments. Must try -L first in case configure is actually a
2972 # symlink; some systems play weird games with the mod time of symlinks
2973 # (eg FreeBSD returns the mod time of the symlink's containing
2977 for am_try
in 1 2; do
2978 echo "timestamp, slept: $am_has_slept" > conftest.
file
2979 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2980 if test "$*" = "X"; then
2982 set X
`ls -t "$srcdir/configure" conftest.file`
2984 if test "$*" != "X $srcdir/configure conftest.file" \
2985 && test "$*" != "X conftest.file $srcdir/configure"; then
2987 # If neither matched, then we have a broken ls. This can happen
2988 # if, for instance, CONFIG_SHELL is bash and it inherits a
2989 # broken ls alias from the environment. This has actually
2990 # happened. Such a system could not be considered "sane".
2991 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2992 alias in your environment" "$LINENO" 5
2994 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3001 test "$2" = conftest.
file
3007 as_fn_error $?
"newly created file is older than distributed files!
3008 Check your system clock" "$LINENO" 5
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3011 $as_echo "yes" >&6; }
3012 # If we didn't sleep, we still need to ensure time stamps of config.status and
3013 # generated files are strictly newer.
3015 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3022 test "$program_prefix" != NONE
&&
3023 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3024 # Use a double $ so make ignores it.
3025 test "$program_suffix" != NONE
&&
3026 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3027 # Double any \ or $.
3028 # By default was `s,x,x', remove it if useless.
3029 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3030 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3032 # Expand $ac_aux_dir to an absolute path.
3033 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3035 if test x
"${MISSING+set}" != xset
; then
3038 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3040 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3043 # Use eval to expand $SHELL
3044 if eval "$MISSING --is-lightweight"; then
3045 am_missing_run
="$MISSING "
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3049 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3052 if test x
"${install_sh+set}" != xset
; then
3055 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3057 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3061 # Installed binaries are usually stripped using 'strip' when the user
3062 # run "make install-strip". However 'strip' might not be the right
3063 # tool to use in cross-compilation environments, therefore Automake
3064 # will honor the 'STRIP' environment variable to overrule this program.
3065 if test "$cross_compiling" != no
; then
3066 if test -n "$ac_tool_prefix"; then
3067 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3068 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3070 $as_echo_n "checking for $ac_word... " >&6; }
3071 if ${ac_cv_prog_STRIP+:} false
; then :
3072 $as_echo_n "(cached) " >&6
3074 if test -n "$STRIP"; then
3075 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3081 test -z "$as_dir" && as_dir
=.
3082 for ac_exec_ext
in '' $ac_executable_extensions; do
3083 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3084 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094 STRIP
=$ac_cv_prog_STRIP
3095 if test -n "$STRIP"; then
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3097 $as_echo "$STRIP" >&6; }
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3100 $as_echo "no" >&6; }
3105 if test -z "$ac_cv_prog_STRIP"; then
3107 # Extract the first word of "strip", so it can be a program name with args.
3108 set dummy strip
; ac_word
=$2
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3110 $as_echo_n "checking for $ac_word... " >&6; }
3111 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3112 $as_echo_n "(cached) " >&6
3114 if test -n "$ac_ct_STRIP"; then
3115 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3121 test -z "$as_dir" && as_dir
=.
3122 for ac_exec_ext
in '' $ac_executable_extensions; do
3123 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3124 ac_cv_prog_ac_ct_STRIP
="strip"
3125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3134 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3135 if test -n "$ac_ct_STRIP"; then
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3137 $as_echo "$ac_ct_STRIP" >&6; }
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3140 $as_echo "no" >&6; }
3143 if test "x$ac_ct_STRIP" = x
; then
3146 case $cross_compiling:$ac_tool_warned in
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3150 ac_tool_warned
=yes ;;
3155 STRIP
="$ac_cv_prog_STRIP"
3159 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3162 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3163 if test -z "$MKDIR_P"; then
3164 if ${ac_cv_path_mkdir+:} false
; then :
3165 $as_echo_n "(cached) " >&6
3167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3168 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3171 test -z "$as_dir" && as_dir
=.
3172 for ac_prog
in mkdir gmkdir
; do
3173 for ac_exec_ext
in '' $ac_executable_extensions; do
3174 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3175 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3176 'mkdir (GNU coreutils) '* | \
3177 'mkdir (coreutils) '* | \
3178 'mkdir (fileutils) '4.1*)
3179 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3189 test -d .
/--version && rmdir .
/--version
3190 if test "${ac_cv_path_mkdir+set}" = set; then
3191 MKDIR_P
="$ac_cv_path_mkdir -p"
3193 # As a last resort, use the slow shell script. Don't cache a
3194 # value for MKDIR_P within a source directory, because that will
3195 # break other packages using the cache if that directory is
3196 # removed, or if the value is a relative name.
3197 MKDIR_P
="$ac_install_sh -d"
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3201 $as_echo "$MKDIR_P" >&6; }
3203 for ac_prog
in gawk mawk nawk
awk
3205 # Extract the first word of "$ac_prog", so it can be a program name with args.
3206 set dummy
$ac_prog; ac_word
=$2
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3208 $as_echo_n "checking for $ac_word... " >&6; }
3209 if ${ac_cv_prog_AWK+:} false
; then :
3210 $as_echo_n "(cached) " >&6
3212 if test -n "$AWK"; then
3213 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3219 test -z "$as_dir" && as_dir
=.
3220 for ac_exec_ext
in '' $ac_executable_extensions; do
3221 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3222 ac_cv_prog_AWK
="$ac_prog"
3223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3233 if test -n "$AWK"; then
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3235 $as_echo "$AWK" >&6; }
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3238 $as_echo "no" >&6; }
3242 test -n "$AWK" && break
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3246 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3248 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3249 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3250 $as_echo_n "(cached) " >&6
3252 cat >conftest.
make <<\_ACEOF
3255 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3257 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3258 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3260 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3262 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3266 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3268 $as_echo "yes" >&6; }
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272 $as_echo "no" >&6; }
3273 SET_MAKE
="MAKE=${MAKE-make}"
3276 rm -rf .tst
2>/dev
/null
3277 mkdir .tst
2>/dev
/null
3278 if test -d .tst
; then
3283 rmdir .tst
2>/dev
/null
3285 # Check whether --enable-silent-rules was given.
3286 if test "${enable_silent_rules+set}" = set; then :
3287 enableval
=$enable_silent_rules;
3290 case $enable_silent_rules in # (((
3291 yes) AM_DEFAULT_VERBOSITY
=0;;
3292 no
) AM_DEFAULT_VERBOSITY
=1;;
3293 *) AM_DEFAULT_VERBOSITY
=1;;
3295 am_make
=${MAKE-make}
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3297 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3298 if ${am_cv_make_support_nested_variables+:} false
; then :
3299 $as_echo_n "(cached) " >&6
3301 if $as_echo 'TRUE=$(BAR$(V))
3307 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3308 am_cv_make_support_nested_variables
=yes
3310 am_cv_make_support_nested_variables
=no
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3314 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3315 if test $am_cv_make_support_nested_variables = yes; then
3317 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3319 AM_V
=$AM_DEFAULT_VERBOSITY
3320 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3324 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3325 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3326 # is not polluted with repeated "-I."
3327 am__isrc
=' -I$(srcdir)'
3328 # test to see if srcdir already configured
3329 if test -f $srcdir/config.status
; then
3330 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3334 # test whether we have cygpath
3335 if test -z "$CYGPATH_W"; then
3336 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3337 CYGPATH_W
='cygpath -w'
3344 # Define the identity of the package.
3349 cat >>confdefs.h
<<_ACEOF
3350 #define PACKAGE "$PACKAGE"
3354 cat >>confdefs.h
<<_ACEOF
3355 #define VERSION "$VERSION"
3358 # Some tools Automake needs.
3360 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3363 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3366 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3369 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3372 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3374 # For better backward compatibility. To be removed once Automake 1.9.x
3375 # dies out for good. For more background, see:
3376 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3377 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3378 mkdir_p
='$(MKDIR_P)'
3380 # We need awk for the "check" target (and possibly the TAP driver). The
3381 # system "awk" is bad on some platforms.
3382 # Always define AMTAR for backward compatibility. Yes, it's still used
3383 # in the wild :-( We should find a proper way to deprecate it ...
3387 # We'll loop over all known methods to create a tar archive until one works.
3388 _am_tools
='gnutar pax cpio none'
3390 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3397 # POSIX will say in a future version that running "rm -f" with no argument
3398 # is OK; and we want to be able to make that assumption in our Makefile
3399 # recipes. So use an aggressive probe to check that the usage we want is
3400 # actually supported "in the wild" to an acceptable degree.
3401 # See automake bug#10828.
3402 # To make any issue more visible, cause the running configure to be aborted
3403 # by default if the 'rm' program in use doesn't match our expectations; the
3404 # user can still override this though.
3405 if rm -f && rm -fr && rm -rf; then : OK
; else
3409 Your 'rm' program seems unable to run without file operands specified
3410 on the command line, even when the '-f' option is present. This is contrary
3411 to the behaviour of most rm programs out there, and not conforming with
3412 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3414 Please tell bug-automake@gnu.org about your system, including the value
3415 of your $PATH and any error possibly output before this message. This
3416 can help us improve future automake versions.
3419 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3420 echo 'Configuration will proceed anyway, since you have set the' >&2
3421 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3425 Aborting the configuration process, to ensure you take notice of the issue.
3427 You can download and install GNU coreutils to get an 'rm' implementation
3428 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3430 If you want to complete the configuration process using your problematic
3431 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3432 to "yes", and re-run configure.
3435 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3439 # Default to --enable-multilib
3440 # Check whether --enable-multilib was given.
3441 if test "${enable_multilib+set}" = set; then :
3442 enableval
=$enable_multilib; case "$enableval" in
3443 yes) multilib
=yes ;;
3445 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3452 # We may get other options which we leave undocumented:
3453 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3454 # See config-ml.in if you want the gory details.
3456 if test "$srcdir" = "."; then
3457 if test "$with_target_subdir" != "."; then
3458 multi_basedir
="$srcdir/$with_multisrctop../.."
3460 multi_basedir
="$srcdir/$with_multisrctop.."
3463 multi_basedir
="$srcdir/.."
3467 # Even if the default multilib is not a cross compilation,
3468 # it may be that some of the other multilibs are.
3469 if test $cross_compiling = no
&& test $multilib = yes \
3470 && test "x${with_multisubdir}" != x
; then
3471 cross_compiling
=maybe
3474 ac_config_commands
="$ac_config_commands default-1"
3478 # Check whether --with-toolexeclibdir was given.
3479 if test "${with_toolexeclibdir+set}" = set; then :
3480 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
3484 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
3488 with_toolexeclibdir
=no
3493 # Calculate toolexeclibdir
3494 # Also toolexecdir, though it's only used in toolexeclibdir
3495 case ${enable_version_specific_runtime_libs} in
3497 # Need the gcc compiler version to know where to install libraries
3498 # and header files if --enable-version-specific-runtime-libs option
3500 toolexecdir
='$(libdir)/gcc/$(target_alias)'
3501 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3504 if test -n "$with_cross_host" &&
3505 test x
"$with_cross_host" != x
"no"; then
3506 # Install a library built with a cross compiler in tooldir, not libdir.
3507 toolexecdir
='$(exec_prefix)/$(target_alias)'
3508 case ${with_toolexeclibdir} in
3510 toolexeclibdir
='$(toolexecdir)/lib'
3513 toolexeclibdir
=${with_toolexeclibdir}
3517 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
3518 toolexeclibdir
='$(libdir)'
3520 multi_os_directory
=`$CC -print-multi-os-directory`
3521 case $multi_os_directory in
3522 .
) ;; # Avoid trailing /.
3523 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
3530 # Check the compiler.
3531 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3532 # We must force CC to /not/ be precious variables; otherwise
3533 # the wrong, non-multilib-adjusted value will be used in multilibs.
3534 # As a side effect, we have to subst CFLAGS ourselves.
3539 ac_cpp
='$CPP $CPPFLAGS'
3540 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3541 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3542 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3543 if test -n "$ac_tool_prefix"; then
3544 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3545 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3547 $as_echo_n "checking for $ac_word... " >&6; }
3548 if ${ac_cv_prog_CC+:} false
; then :
3549 $as_echo_n "(cached) " >&6
3551 if test -n "$CC"; then
3552 ac_cv_prog_CC
="$CC" # Let the user override the test.
3554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3558 test -z "$as_dir" && as_dir
=.
3559 for ac_exec_ext
in '' $ac_executable_extensions; do
3560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3561 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3572 if test -n "$CC"; then
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3574 $as_echo "$CC" >&6; }
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3577 $as_echo "no" >&6; }
3582 if test -z "$ac_cv_prog_CC"; then
3584 # Extract the first word of "gcc", so it can be a program name with args.
3585 set dummy gcc
; ac_word
=$2
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3587 $as_echo_n "checking for $ac_word... " >&6; }
3588 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3589 $as_echo_n "(cached) " >&6
3591 if test -n "$ac_ct_CC"; then
3592 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3598 test -z "$as_dir" && as_dir
=.
3599 for ac_exec_ext
in '' $ac_executable_extensions; do
3600 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3601 ac_cv_prog_ac_ct_CC
="gcc"
3602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3611 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3612 if test -n "$ac_ct_CC"; then
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3614 $as_echo "$ac_ct_CC" >&6; }
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3617 $as_echo "no" >&6; }
3620 if test "x$ac_ct_CC" = x
; then
3623 case $cross_compiling:$ac_tool_warned in
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3627 ac_tool_warned
=yes ;;
3635 if test -z "$CC"; then
3636 if test -n "$ac_tool_prefix"; then
3637 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3638 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3640 $as_echo_n "checking for $ac_word... " >&6; }
3641 if ${ac_cv_prog_CC+:} false
; then :
3642 $as_echo_n "(cached) " >&6
3644 if test -n "$CC"; then
3645 ac_cv_prog_CC
="$CC" # Let the user override the test.
3647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3651 test -z "$as_dir" && as_dir
=.
3652 for ac_exec_ext
in '' $ac_executable_extensions; do
3653 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3654 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3665 if test -n "$CC"; then
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3667 $as_echo "$CC" >&6; }
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3670 $as_echo "no" >&6; }
3676 if test -z "$CC"; then
3677 # Extract the first word of "cc", so it can be a program name with args.
3678 set dummy cc
; ac_word
=$2
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3680 $as_echo_n "checking for $ac_word... " >&6; }
3681 if ${ac_cv_prog_CC+:} false
; then :
3682 $as_echo_n "(cached) " >&6
3684 if test -n "$CC"; then
3685 ac_cv_prog_CC
="$CC" # Let the user override the test.
3688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3692 test -z "$as_dir" && as_dir
=.
3693 for ac_exec_ext
in '' $ac_executable_extensions; do
3694 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3695 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3696 ac_prog_rejected
=yes
3700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3707 if test $ac_prog_rejected = yes; then
3708 # We found a bogon in the path, so make sure we never use it.
3709 set dummy
$ac_cv_prog_CC
3711 if test $# != 0; then
3712 # We chose a different compiler from the bogus one.
3713 # However, it has the same basename, so the bogon will be chosen
3714 # first if we set CC to just the basename; use the full file name.
3716 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3722 if test -n "$CC"; then
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3724 $as_echo "$CC" >&6; }
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3727 $as_echo "no" >&6; }
3732 if test -z "$CC"; then
3733 if test -n "$ac_tool_prefix"; then
3734 for ac_prog
in cl.exe
3736 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3737 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3739 $as_echo_n "checking for $ac_word... " >&6; }
3740 if ${ac_cv_prog_CC+:} false
; then :
3741 $as_echo_n "(cached) " >&6
3743 if test -n "$CC"; then
3744 ac_cv_prog_CC
="$CC" # Let the user override the test.
3746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3750 test -z "$as_dir" && as_dir
=.
3751 for ac_exec_ext
in '' $ac_executable_extensions; do
3752 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3753 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3764 if test -n "$CC"; then
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3766 $as_echo "$CC" >&6; }
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3769 $as_echo "no" >&6; }
3773 test -n "$CC" && break
3776 if test -z "$CC"; then
3778 for ac_prog
in cl.exe
3780 # Extract the first word of "$ac_prog", so it can be a program name with args.
3781 set dummy
$ac_prog; ac_word
=$2
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3783 $as_echo_n "checking for $ac_word... " >&6; }
3784 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3785 $as_echo_n "(cached) " >&6
3787 if test -n "$ac_ct_CC"; then
3788 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3794 test -z "$as_dir" && as_dir
=.
3795 for ac_exec_ext
in '' $ac_executable_extensions; do
3796 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3797 ac_cv_prog_ac_ct_CC
="$ac_prog"
3798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3807 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3808 if test -n "$ac_ct_CC"; then
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3810 $as_echo "$ac_ct_CC" >&6; }
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3813 $as_echo "no" >&6; }
3817 test -n "$ac_ct_CC" && break
3820 if test "x$ac_ct_CC" = x
; then
3823 case $cross_compiling:$ac_tool_warned in
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3827 ac_tool_warned
=yes ;;
3836 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3837 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3838 as_fn_error $?
"no acceptable C compiler found in \$PATH
3839 See \`config.log' for more details" "$LINENO" 5; }
3841 # Provide some information about the compiler.
3842 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3845 for ac_option
in --version -v -V -qversion; do
3846 { { ac_try
="$ac_compiler $ac_option >&5"
3848 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3849 *) ac_try_echo=$ac_try;;
3851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3852 $as_echo "$ac_try_echo"; } >&5
3853 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3855 if test -s conftest.err; then
3857 ... rest of stderr output deleted ...
3858 10q' conftest.err >conftest.er1
3859 cat conftest.er1 >&5
3861 rm -f conftest.er1 conftest.err
3862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3863 test $ac_status = 0; }
3866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3867 /* end confdefs.h. */
3877 ac_clean_files_save=$ac_clean_files
3878 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3879 # Try to create an executable without -o first, disregard a.out.
3880 # It will help us diagnose broken compilers, and finding out an intuition
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3883 $as_echo_n "checking whether the C compiler works... " >&6; }
3884 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3886 # The possible output files:
3887 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3890 for ac_file in $ac_files
3893 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3894 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3899 if { { ac_try="$ac_link_default"
3901 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3902 *) ac_try_echo
=$ac_try;;
3904 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3905 $as_echo "$ac_try_echo"; } >&5
3906 (eval "$ac_link_default") 2>&5
3908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3909 test $ac_status = 0; }; then :
3910 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3911 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3912 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3913 # so that the user can short-circuit this test for compilers unknown to
3915 for ac_file
in $ac_files ''
3917 test -f "$ac_file" ||
continue
3919 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3922 # We found the default executable, but exeext='' is most
3926 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3928 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3930 # We set ac_cv_exeext here because the later test for it is not
3931 # safe: cross compilers may not add the suffix if given an `-o'
3932 # argument, so we may need to know it at that point already.
3933 # Even if this section looks crufty: it has the advantage of
3940 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3945 if test -z "$ac_file"; then :
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3947 $as_echo "no" >&6; }
3948 $as_echo "$as_me: failed program was:" >&5
3949 sed 's/^/| /' conftest.
$ac_ext >&5
3951 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3953 as_fn_error
77 "C compiler cannot create executables
3954 See \`config.log' for more details" "$LINENO" 5; }
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3957 $as_echo "yes" >&6; }
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3960 $as_echo_n "checking for C compiler default output file name... " >&6; }
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3962 $as_echo "$ac_file" >&6; }
3963 ac_exeext
=$ac_cv_exeext
3965 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3966 ac_clean_files
=$ac_clean_files_save
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3968 $as_echo_n "checking for suffix of executables... " >&6; }
3969 if { { ac_try
="$ac_link"
3971 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3972 *) ac_try_echo=$ac_try;;
3974 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3975 $as_echo "$ac_try_echo"; } >&5
3976 (eval "$ac_link") 2>&5
3978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3979 test $ac_status = 0; }; then :
3980 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3981 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3982 # work properly (i.e., refer to `conftest.exe'), while it won't with
3984 for ac_file
in conftest.exe conftest conftest.
*; do
3985 test -f "$ac_file" ||
continue
3987 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3988 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3996 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3997 See \`config.log' for more details" "$LINENO" 5; }
3999 rm -f conftest conftest
$ac_cv_exeext
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4001 $as_echo "$ac_cv_exeext" >&6; }
4003 rm -f conftest.
$ac_ext
4004 EXEEXT
=$ac_cv_exeext
4006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4007 /* end confdefs.h. */
4012 FILE *f = fopen ("conftest.out", "w");
4013 return ferror (f) || fclose (f) != 0;
4019 ac_clean_files
="$ac_clean_files conftest.out"
4020 # Check that the compiler produces executables we can run. If not, either
4021 # the compiler is broken, or we cross compile.
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4023 $as_echo_n "checking whether we are cross compiling... " >&6; }
4024 if test "$cross_compiling" != yes; then
4025 { { ac_try
="$ac_link"
4027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4028 *) ac_try_echo=$ac_try;;
4030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4031 $as_echo "$ac_try_echo"; } >&5
4032 (eval "$ac_link") 2>&5
4034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4035 test $ac_status = 0; }
4036 if { ac_try='./conftest$ac_cv_exeext'
4037 { { case "(($ac_try" in
4038 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4039 *) ac_try_echo
=$ac_try;;
4041 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4042 $as_echo "$ac_try_echo"; } >&5
4043 (eval "$ac_try") 2>&5
4045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4046 test $ac_status = 0; }; }; then
4049 if test "$cross_compiling" = maybe
; then
4052 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4054 as_fn_error $?
"cannot run C compiled programs.
4055 If you meant to cross compile, use \`--host'.
4056 See \`config.log' for more details" "$LINENO" 5; }
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4061 $as_echo "$cross_compiling" >&6; }
4063 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4064 ac_clean_files
=$ac_clean_files_save
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4066 $as_echo_n "checking for suffix of object files... " >&6; }
4067 if ${ac_cv_objext+:} false
; then :
4068 $as_echo_n "(cached) " >&6
4070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h. */
4081 rm -f conftest.o conftest.obj
4082 if { { ac_try
="$ac_compile"
4084 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4085 *) ac_try_echo=$ac_try;;
4087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4088 $as_echo "$ac_try_echo"; } >&5
4089 (eval "$ac_compile") 2>&5
4091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4092 test $ac_status = 0; }; then :
4093 for ac_file in conftest.o conftest.obj conftest.*; do
4094 test -f "$ac_file" || continue;
4096 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4097 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4102 $as_echo "$as_me: failed program was:" >&5
4103 sed 's/^/| /' conftest.$ac_ext >&5
4105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4107 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4108 See \
`config.log' for more details" "$LINENO" 5; }
4110 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4113 $as_echo "$ac_cv_objext" >&6; }
4114 OBJEXT=$ac_cv_objext
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4117 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4118 if ${ac_cv_c_compiler_gnu+:} false; then :
4119 $as_echo_n "(cached) " >&6
4121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4122 /* end confdefs.h. */
4135 if ac_fn_c_try_compile "$LINENO"; then :
4140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4141 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4145 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4146 if test $ac_compiler_gnu = yes; then
4151 ac_test_CFLAGS=${CFLAGS+set}
4152 ac_save_CFLAGS=$CFLAGS
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4154 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4155 if ${ac_cv_prog_cc_g+:} false; then :
4156 $as_echo_n "(cached) " >&6
4158 ac_save_c_werror_flag=$ac_c_werror_flag
4159 ac_c_werror_flag=yes
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4173 if ac_fn_c_try_compile "$LINENO"; then :
4177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4178 /* end confdefs.h. */
4188 if ac_fn_c_try_compile "$LINENO"; then :
4191 ac_c_werror_flag=$ac_save_c_werror_flag
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4204 if ac_fn_c_try_compile "$LINENO"; then :
4207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 ac_c_werror_flag=$ac_save_c_werror_flag
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4215 $as_echo "$ac_cv_prog_cc_g" >&6; }
4216 if test "$ac_test_CFLAGS" = set; then
4217 CFLAGS=$ac_save_CFLAGS
4218 elif test $ac_cv_prog_cc_g = yes; then
4219 if test "$GCC" = yes; then
4225 if test "$GCC" = yes; then
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4232 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4233 if ${ac_cv_prog_cc_c89+:} false; then :
4234 $as_echo_n "(cached) " >&6
4236 ac_cv_prog_cc_c89=no
4238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4243 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4244 struct buf { int x; };
4245 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4246 static char *e (p, i)
4252 static char *f (char * (*g) (char **, int), char **p, ...)
4257 s = g (p, va_arg (v,int));
4262 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4263 function prototypes and stuff, but not '\xHH' hex character constants.
4264 These don't provoke an error unfortunately, instead are silently treated
4265 as 'x'. The following induces an error, until -std is added to get
4266 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4267 array size at least. It's necessary to write '\x00'==0 to get something
4268 that's true only with -std. */
4269 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4271 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4272 inside strings and character constants. */
4274 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4276 int test (int i, double x);
4277 struct s1 {int (*f) (int a);};
4278 struct s2 {int (*f) (double a);};
4279 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4285 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4290 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4291 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4293 CC="$ac_save_CC $ac_arg"
4294 if ac_fn_c_try_compile "$LINENO"; then :
4295 ac_cv_prog_cc_c89=$ac_arg
4297 rm -f core conftest.err conftest.$ac_objext
4298 test "x$ac_cv_prog_cc_c89" != "xno" && break
4300 rm -f conftest.$ac_ext
4305 case "x$ac_cv_prog_cc_c89" in
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4308 $as_echo "none needed" >&6; } ;;
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4311 $as_echo "unsupported" >&6; } ;;
4313 CC="$CC $ac_cv_prog_cc_c89"
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4315 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4317 if test "x$ac_cv_prog_cc_c89" != xno; then :
4322 ac_cpp='$CPP $CPPFLAGS'
4323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4328 ac_cpp='$CPP $CPPFLAGS'
4329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4333 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4334 if ${am_cv_prog_cc_c_o+:} false; then :
4335 $as_echo_n "(cached) " >&6
4337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4338 /* end confdefs.h. */
4348 # Make sure it works both with $CC and with simple cc.
4349 # Following AC_PROG_CC_C_O, we do the test twice because some
4350 # compilers refuse to overwrite an existing .o file with -o,
4351 # though they will create one.
4352 am_cv_prog_cc_c_o=yes
4354 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4355 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358 (exit $ac_status); } \
4359 && test -f conftest2.$ac_objext; then
4362 am_cv_prog_cc_c_o=no
4366 rm -f core conftest*
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4370 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4371 if test "$am_cv_prog_cc_c_o" != yes; then
4372 # Losing compiler, so override with the script.
4373 # FIXME: It is wrong to rewrite CC.
4374 # But if we don't then we get into trouble of one sort or another.
4375 # A longer-term fix would be to have automake use am__CC in this case,
4376 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4377 CC="$am_aux_dir/compile $CC"
4380 ac_cpp='$CPP $CPPFLAGS'
4381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4385 DEPDIR="${am__leading_dot}deps"
4387 ac_config_commands="$ac_config_commands depfiles"
4390 am_make=${MAKE-make}
4391 cat > confinc << 'END'
4393 @echo this is the am__doit target
4396 # If we don't find an include directive, just comment out the code.
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4398 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4402 # First try GNU make style include.
4403 echo "include confinc" > confmf
4404 # Ignore all kinds of additional output from 'make'.
4405 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4406 *the\ am__doit\ target*)
4412 # Now try BSD make style include.
4413 if test "$am__include" = "#"; then
4414 echo '.include "confinc"' > confmf
4415 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4416 *the\ am__doit\ target*)
4417 am__include=.include
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4426 $as_echo "$_am_result" >&6; }
4427 rm -f confinc confmf
4429 # Check whether --enable-dependency-tracking was given.
4430 if test "${enable_dependency_tracking+set}" = set; then :
4431 enableval=$enable_dependency_tracking;
4434 if test "x$enable_dependency_tracking" != xno; then
4435 am_depcomp="$ac_aux_dir/depcomp"
4439 if test "x$enable_dependency_tracking" != xno; then
4449 depcc="$CC" am_compiler_list=
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4452 $as_echo_n "checking dependency style of $depcc... " >&6; }
4453 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4454 $as_echo_n "(cached) " >&6
4456 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4457 # We make a subdir and do the tests there. Otherwise we can end up
4458 # making bogus files that we don't know about and never remove. For
4459 # instance it was reported that on HP-UX the gcc test will end up
4460 # making a dummy file named 'D' -- because '-MD' means "put the output
4464 # Copy depcomp to subdir because otherwise we won't find it if we're
4465 # using a relative directory.
4466 cp "$am_depcomp" conftest.dir
4468 # We will build objects and dependencies in a subdirectory because
4469 # it helps to detect inapplicable dependency modes. For instance
4470 # both Tru64's cc and ICC support -MD to output dependencies as a
4471 # side effect of compilation, but ICC will put the dependencies in
4472 # the current directory while Tru64 will put them in the object
4476 am_cv_CC_dependencies_compiler_type=none
4477 if test "$am_compiler_list" = ""; then
4478 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4481 case " $depcc " in #(
4482 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4485 for depmode in $am_compiler_list; do
4486 # Setup a source with many dependencies, because some compilers
4487 # like to wrap large dependency lists on column 80 (with \), and
4488 # we should not choose a depcomp mode which is confused by this.
4490 # We need to recreate these files for each test, as the compiler may
4491 # overwrite some of them when testing with obscure command lines.
4492 # This happens at least with the AIX C compiler.
4494 for i in 1 2 3 4 5 6; do
4495 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4496 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4497 # Solaris 10 /bin/sh.
4498 echo '/* dummy */' > sub/conftst$i.h
4500 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4502 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4503 # mode. It turns out that the SunPro C++ compiler does not properly
4504 # handle '-M -o', and we need to detect this. Also, some Intel
4505 # versions had trouble with output in subdirs.
4506 am__obj=sub/conftest.${OBJEXT-o}
4507 am__minus_obj="-o $am__obj"
4510 # This depmode causes a compiler race in universal mode.
4511 test "$am__universal" = false || continue
4514 # After this tag, mechanisms are not by side-effect, so they'll
4515 # only be used when explicitly requested.
4516 if test "x$enable_dependency_tracking" = xyes; then
4522 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4523 # This compiler won't grok '-c -o', but also, the minuso test has
4524 # not run yet. These depmodes are late enough in the game, and
4525 # so weak that their functioning should not be impacted.
4526 am__obj=conftest.${OBJEXT-o}
4531 if depmode=$depmode \
4532 source=sub/conftest.c object=$am__obj \
4533 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4534 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4535 >/dev/null 2>conftest.err &&
4536 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4537 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4538 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4539 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4540 # icc doesn't choke on unknown options, it will just issue warnings
4541 # or remarks (even with -Werror). So we grep stderr for any message
4542 # that says an option was ignored or not supported.
4543 # When given -MP, icc 7.0 and 7.1 complain thusly:
4544 # icc: Command line warning: ignoring option '-M'; no argument required
4545 # The diagnosis changed in icc 8.0:
4546 # icc: Command line remark: option '-MP' not supported
4547 if (grep 'ignoring option' conftest.err ||
4548 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4549 am_cv_CC_dependencies_compiler_type=$depmode
4558 am_cv_CC_dependencies_compiler_type=none
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4563 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4564 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4567 test "x$enable_dependency_tracking" != xno \
4568 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4570 am__fastdepCC_FALSE='#'
4572 am__fastdepCC_TRUE='#'
4573 am__fastdepCC_FALSE=
4581 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
4582 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
4583 # in both places for now and restore CFLAGS at the end of config.
4584 save_CFLAGS="$CFLAGS"
4586 # Check whether --enable-werror was given.
4587 if test "${enable_werror+set}" = set; then :
4588 enableval=$enable_werror;
4591 # Add -Wall -Werror if we are using GCC.
4592 if test "x$GCC" = "xyes"; then :
4593 XCFLAGS="$XCFLAGS -Wall"
4595 if test "x$enable_werror" != "xno" && test "x$GCC" = "xyes"; then :
4596 XCFLAGS="$XCFLAGS -Werror"
4599 # Find other programs we need.
4600 if test -n "$ac_tool_prefix"; then
4601 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4602 set dummy ${ac_tool_prefix}ar; ac_word=$2
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4604 $as_echo_n "checking for $ac_word... " >&6; }
4605 if ${ac_cv_prog_AR+:} false; then :
4606 $as_echo_n "(cached) " >&6
4608 if test -n "$AR"; then
4609 ac_cv_prog_AR="$AR" # Let the user override the test.
4611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 test -z "$as_dir" && as_dir=.
4616 for ac_exec_ext in '' $ac_executable_extensions; do
4617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4618 ac_cv_prog_AR="${ac_tool_prefix}ar"
4619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4629 if test -n "$AR"; then
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4631 $as_echo "$AR" >&6; }
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4634 $as_echo "no" >&6; }
4639 if test -z "$ac_cv_prog_AR"; then
4641 # Extract the first word of "ar", so it can be a program name with args.
4642 set dummy ar; ac_word=$2
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4644 $as_echo_n "checking for $ac_word... " >&6; }
4645 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4646 $as_echo_n "(cached) " >&6
4648 if test -n "$ac_ct_AR"; then
4649 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4655 test -z "$as_dir" && as_dir=.
4656 for ac_exec_ext in '' $ac_executable_extensions; do
4657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4658 ac_cv_prog_ac_ct_AR="ar"
4659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4668 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4669 if test -n "$ac_ct_AR"; then
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4671 $as_echo "$ac_ct_AR" >&6; }
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4674 $as_echo "no" >&6; }
4677 if test "x$ac_ct_AR" = x; then
4680 case $cross_compiling:$ac_tool_warned in
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4684 ac_tool_warned=yes ;;
4692 if test -n "$ac_tool_prefix"; then
4693 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4694 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4696 $as_echo_n "checking for $ac_word... " >&6; }
4697 if ${ac_cv_prog_RANLIB+:} false; then :
4698 $as_echo_n "(cached) " >&6
4700 if test -n "$RANLIB"; then
4701 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4707 test -z "$as_dir" && as_dir=.
4708 for ac_exec_ext in '' $ac_executable_extensions; do
4709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4710 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4720 RANLIB=$ac_cv_prog_RANLIB
4721 if test -n "$RANLIB"; then
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4723 $as_echo "$RANLIB" >&6; }
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4726 $as_echo "no" >&6; }
4731 if test -z "$ac_cv_prog_RANLIB"; then
4732 ac_ct_RANLIB=$RANLIB
4733 # Extract the first word of "ranlib", so it can be a program name with args.
4734 set dummy ranlib; ac_word=$2
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4736 $as_echo_n "checking for $ac_word... " >&6; }
4737 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4738 $as_echo_n "(cached) " >&6
4740 if test -n "$ac_ct_RANLIB"; then
4741 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4747 test -z "$as_dir" && as_dir=.
4748 for ac_exec_ext in '' $ac_executable_extensions; do
4749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4750 ac_cv_prog_ac_ct_RANLIB="ranlib"
4751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4760 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4761 if test -n "$ac_ct_RANLIB"; then
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4763 $as_echo "$ac_ct_RANLIB" >&6; }
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4766 $as_echo "no" >&6; }
4769 if test "x$ac_ct_RANLIB" = x; then
4770 RANLIB="ranlib-not-found-in-path-error"
4772 case $cross_compiling:$ac_tool_warned in
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4775 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4776 ac_tool_warned=yes ;;
4778 RANLIB=$ac_ct_RANLIB
4781 RANLIB="$ac_cv_prog_RANLIB"
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4785 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4787 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4788 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4789 $as_echo_n "(cached) " >&6
4791 cat >conftest.make <<\_ACEOF
4794 @echo '@@@%%%=$(MAKE)=@@@%%%'
4796 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4797 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
4799 eval ac_cv_prog_make_${ac_make}_set=yes;;
4801 eval ac_cv_prog_make_${ac_make}_set=no;;
4805 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4807 $as_echo "yes" >&6; }
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 $as_echo "no" >&6; }
4812 SET_MAKE="MAKE=${MAKE-make}"
4817 # See if makeinfo has been installed and is modern enough
4818 # that we can use it.
4820 # Extract the first word of "makeinfo", so it can be a program name with args.
4821 set dummy makeinfo; ac_word=$2
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4823 $as_echo_n "checking for $ac_word... " >&6; }
4824 if ${ac_cv_prog_MAKEINFO+:} false; then :
4825 $as_echo_n "(cached) " >&6
4827 if test -n "$MAKEINFO"; then
4828 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
4830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4834 test -z "$as_dir" && as_dir=.
4835 for ac_exec_ext in '' $ac_executable_extensions; do
4836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4837 ac_cv_prog_MAKEINFO="makeinfo"
4838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4847 MAKEINFO=$ac_cv_prog_MAKEINFO
4848 if test -n "$MAKEINFO"; then
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
4850 $as_echo "$MAKEINFO" >&6; }
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4853 $as_echo "no" >&6; }
4857 if test -n "$MAKEINFO"; then
4858 # Found it, now check the version.
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
4860 $as_echo_n "checking for modern makeinfo... " >&6; }
4861 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
4862 $as_echo_n "(cached) " >&6
4864 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
4865 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4867 case $ac_prog_version in
4868 '') gcc_cv_prog_makeinfo_modern=no;;
4869 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
4870 *) gcc_cv_prog_makeinfo_modern=no;;
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
4875 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
4877 gcc_cv_prog_makeinfo_modern=no
4879 if test $gcc_cv_prog_makeinfo_modern = no; then
4880 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
4883 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
4885 BUILD_INFO_FALSE='#'
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4897 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4902 macro_version='2.2.7a'
4903 macro_revision='1.3134'
4917 ltmain="$ac_aux_dir/ltmain.sh"
4919 # Backslashify metacharacters that are still active within
4920 # double-quoted strings.
4921 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4923 # Same as above, but do not quote variable references.
4924 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4926 # Sed substitution to delay expansion of an escaped shell variable in a
4927 # double_quote_subst'ed string.
4928 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4930 # Sed substitution to delay expansion of an escaped single quote.
4931 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4933 # Sed substitution to avoid accidental globbing in evaled expressions
4934 no_glob_subst='s/\*/\\\*/g'
4936 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4937 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4938 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4941 $as_echo_n "checking how to print
strings...
" >&6; }
4942 # Test print first, because it will be a builtin if present.
4943 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
4944 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4946 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4949 # Use this function as a fallback that always works.
4950 func_fallback_echo ()
4952 eval 'cat <<_LTECHO_EOF
4956 ECHO='func_fallback_echo'
4959 # func_echo_all arg...
4960 # Invoke $ECHO with all args, space-separated.
4967 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4968 $as_echo "printf" >&6; } ;;
4969 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4970 $as_echo "print
-r" >&6; } ;;
4971 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4972 $as_echo "cat" >&6; } ;;
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4989 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4990 if ${ac_cv_path_SED+:} false; then :
4991 $as_echo_n "(cached
) " >&6
4993 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4994 for ac_i in 1 2 3 4 5 6 7; do
4995 ac_script="$ac_script$as_nl$ac_script"
4997 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4998 { ac_script=; unset ac_script;}
4999 if test -z "$SED"; then
5000 ac_path_SED_found=false
5001 # Loop through the user's path and test for each of PROGNAME-LIST
5002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5006 test -z "$as_dir" && as_dir=.
5007 for ac_prog in sed gsed; do
5008 for ac_exec_ext in '' $ac_executable_extensions; do
5009 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5010 as_fn_executable_p "$ac_path_SED" || continue
5011 # Check for GNU ac_path_SED and select it if it is found.
5012 # Check for GNU $ac_path_SED
5013 case `"$ac_path_SED" --version 2>&1` in
5015 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5018 $as_echo_n 0123456789 >"conftest.
in"
5021 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5022 mv "conftest.tmp
" "conftest.
in"
5023 cp "conftest.
in" "conftest.
nl"
5024 $as_echo '' >> "conftest.
nl"
5025 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5026 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5027 as_fn_arith $ac_count + 1 && ac_count=$as_val
5028 if test $ac_count -gt ${ac_path_SED_max-0}; then
5029 # Best one so far, save it but keep looking for a better one
5030 ac_cv_path_SED="$ac_path_SED"
5031 ac_path_SED_max=$ac_count
5033 # 10*(2^10) chars as input seems more than enough
5034 test $ac_count -gt 10 && break
5036 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5039 $ac_path_SED_found && break 3
5044 if test -z "$ac_cv_path_SED"; then
5045 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5053 $as_echo "$ac_cv_path_SED" >&6; }
5054 SED="$ac_cv_path_SED"
5057 test -z "$SED" && SED=sed
5058 Xsed="$SED -e 1s
/^X
//"
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5071 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5072 if ${ac_cv_path_GREP+:} false; then :
5073 $as_echo_n "(cached
) " >&6
5075 if test -z "$GREP"; then
5076 ac_path_GREP_found=false
5077 # Loop through the user's path and test for each of PROGNAME-LIST
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5082 test -z "$as_dir" && as_dir=.
5083 for ac_prog in grep ggrep; do
5084 for ac_exec_ext in '' $ac_executable_extensions; do
5085 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5086 as_fn_executable_p "$ac_path_GREP" || continue
5087 # Check for GNU ac_path_GREP and select it if it is found.
5088 # Check for GNU $ac_path_GREP
5089 case `"$ac_path_GREP" --version 2>&1` in
5091 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5094 $as_echo_n 0123456789 >"conftest.
in"
5097 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5098 mv "conftest.tmp
" "conftest.
in"
5099 cp "conftest.
in" "conftest.
nl"
5100 $as_echo 'GREP' >> "conftest.
nl"
5101 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5102 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5103 as_fn_arith $ac_count + 1 && ac_count=$as_val
5104 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5105 # Best one so far, save it but keep looking for a better one
5106 ac_cv_path_GREP="$ac_path_GREP"
5107 ac_path_GREP_max=$ac_count
5109 # 10*(2^10) chars as input seems more than enough
5110 test $ac_count -gt 10 && break
5112 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5115 $ac_path_GREP_found && break 3
5120 if test -z "$ac_cv_path_GREP"; then
5121 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5124 ac_cv_path_GREP=$GREP
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5129 $as_echo "$ac_cv_path_GREP" >&6; }
5130 GREP="$ac_cv_path_GREP"
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5134 $as_echo_n "checking
for egrep...
" >&6; }
5135 if ${ac_cv_path_EGREP+:} false; then :
5136 $as_echo_n "(cached
) " >&6
5138 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5139 then ac_cv_path_EGREP="$GREP -E"
5141 if test -z "$EGREP"; then
5142 ac_path_EGREP_found=false
5143 # Loop through the user's path and test for each of PROGNAME-LIST
5144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5145 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5148 test -z "$as_dir" && as_dir=.
5149 for ac_prog in egrep; do
5150 for ac_exec_ext in '' $ac_executable_extensions; do
5151 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5152 as_fn_executable_p "$ac_path_EGREP" || continue
5153 # Check for GNU ac_path_EGREP and select it if it is found.
5154 # Check for GNU $ac_path_EGREP
5155 case `"$ac_path_EGREP" --version 2>&1` in
5157 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5160 $as_echo_n 0123456789 >"conftest.
in"
5163 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5164 mv "conftest.tmp
" "conftest.
in"
5165 cp "conftest.
in" "conftest.
nl"
5166 $as_echo 'EGREP' >> "conftest.
nl"
5167 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5168 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5169 as_fn_arith $ac_count + 1 && ac_count=$as_val
5170 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5171 # Best one so far, save it but keep looking for a better one
5172 ac_cv_path_EGREP="$ac_path_EGREP"
5173 ac_path_EGREP_max=$ac_count
5175 # 10*(2^10) chars as input seems more than enough
5176 test $ac_count -gt 10 && break
5178 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5181 $ac_path_EGREP_found && break 3
5186 if test -z "$ac_cv_path_EGREP"; then
5187 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5190 ac_cv_path_EGREP=$EGREP
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5196 $as_echo "$ac_cv_path_EGREP" >&6; }
5197 EGREP="$ac_cv_path_EGREP"
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5201 $as_echo_n "checking
for fgrep...
" >&6; }
5202 if ${ac_cv_path_FGREP+:} false; then :
5203 $as_echo_n "(cached
) " >&6
5205 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5206 then ac_cv_path_FGREP="$GREP -F"
5208 if test -z "$FGREP"; then
5209 ac_path_FGREP_found=false
5210 # Loop through the user's path and test for each of PROGNAME-LIST
5211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5212 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5215 test -z "$as_dir" && as_dir=.
5216 for ac_prog in fgrep; do
5217 for ac_exec_ext in '' $ac_executable_extensions; do
5218 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5219 as_fn_executable_p "$ac_path_FGREP" || continue
5220 # Check for GNU ac_path_FGREP and select it if it is found.
5221 # Check for GNU $ac_path_FGREP
5222 case `"$ac_path_FGREP" --version 2>&1` in
5224 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5227 $as_echo_n 0123456789 >"conftest.
in"
5230 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5231 mv "conftest.tmp
" "conftest.
in"
5232 cp "conftest.
in" "conftest.
nl"
5233 $as_echo 'FGREP' >> "conftest.
nl"
5234 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5235 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5236 as_fn_arith $ac_count + 1 && ac_count=$as_val
5237 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5238 # Best one so far, save it but keep looking for a better one
5239 ac_cv_path_FGREP="$ac_path_FGREP"
5240 ac_path_FGREP_max=$ac_count
5242 # 10*(2^10) chars as input seems more than enough
5243 test $ac_count -gt 10 && break
5245 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5248 $ac_path_FGREP_found && break 3
5253 if test -z "$ac_cv_path_FGREP"; then
5254 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5257 ac_cv_path_FGREP=$FGREP
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5263 $as_echo "$ac_cv_path_FGREP" >&6; }
5264 FGREP="$ac_cv_path_FGREP"
5267 test -z "$GREP" && GREP=grep
5287 # Check whether --with-gnu-ld was given.
5288 if test "${with_gnu_ld+set}" = set; then :
5289 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5295 if test "$GCC" = yes; then
5296 # Check if gcc -print-prog-name=ld gives a path.
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5298 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5301 # gcc leaves a trailing carriage return which upsets mingw
5302 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5304 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5307 # Accept absolute paths.
5309 re_direlt='/[^/][^/]*/\.\./'
5310 # Canonicalize the pathname of ld
5311 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5312 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5313 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5315 test -z "$LD" && LD="$ac_prog"
5318 # If it fails, then pretend we aren't using GCC.
5322 # If it is relative, then search for the first ld in PATH.
5326 elif test "$with_gnu_ld" = yes; then
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5328 $as_echo_n "checking
for GNU ld...
" >&6; }
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5331 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5333 if ${lt_cv_path_LD+:} false; then :
5334 $as_echo_n "(cached
) " >&6
5336 if test -z "$LD"; then
5337 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5338 for ac_dir in $PATH; do
5340 test -z "$ac_dir" && ac_dir=.
5341 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5342 lt_cv_path_LD="$ac_dir/$ac_prog"
5343 # Check to see if the program is GNU ld. I'd rather use --version,
5344 # but apparently some variants of GNU ld only accept -v.
5345 # Break only if it was the GNU/non-GNU ld that we prefer.
5346 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5347 *GNU* | *'with BFD'*)
5348 test "$with_gnu_ld" != no && break
5351 test "$with_gnu_ld" != yes && break
5358 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5363 if test -n "$LD"; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5365 $as_echo "$LD" >&6; }
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5368 $as_echo "no
" >&6; }
5370 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5372 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5373 if ${lt_cv_prog_gnu_ld+:} false; then :
5374 $as_echo_n "(cached
) " >&6
5376 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5377 case `$LD -v 2>&1 </dev/null` in
5378 *GNU* | *'with BFD'*)
5379 lt_cv_prog_gnu_ld=yes
5382 lt_cv_prog_gnu_ld=no
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5387 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5388 with_gnu_ld=$lt_cv_prog_gnu_ld
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5399 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5400 if ${lt_cv_path_NM+:} false; then :
5401 $as_echo_n "(cached
) " >&6
5403 if test -n "$NM"; then
5404 # Let the user override the nm to test.
5405 lt_nm_to_check="$NM"
5407 lt_nm_to_check="${ac_tool_prefix}nm
"
5408 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5409 lt_nm_to_check="$lt_nm_to_check nm
"
5412 for lt_tmp_nm in "$lt_nm_to_check"; do
5413 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5414 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5416 test -z "$ac_dir" && ac_dir=.
5417 # Strip out any user-provided options from the nm to test twice,
5418 # the first time to test to see if nm (rather than its options) has
5419 # an explicit path, the second time to yield a file which can be
5421 tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
5422 case "$tmp_nm_path" in
5423 */*|*\\*) tmp_nm="$lt_tmp_nm";;
5424 *) tmp_nm="$ac_dir/$lt_tmp_nm";;
5426 tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
5427 if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
5428 # Check to see if the nm accepts a BSD-compat flag.
5429 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5430 # nm: unknown option "B
" ignored
5431 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5432 *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
5436 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
5438 lt_cv_path_NM="$tmp_nm -p"
5442 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5443 continue # so that we can try to find one that supports BSD flags
5452 : ${lt_cv_path_NM=no}
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5455 $as_echo "$lt_cv_path_NM" >&6; }
5456 if test "$lt_cv_path_NM" != "no
"; then
5459 # Didn't find any BSD compatible name lister, look for dumpbin.
5460 if test -n "$DUMPBIN"; then :
5461 # Let the user override the test.
5463 if test -n "$ac_tool_prefix"; then
5464 for ac_prog in dumpbin "link
-dump"
5466 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5467 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5469 $as_echo_n "checking
for $ac_word...
" >&6; }
5470 if ${ac_cv_prog_DUMPBIN+:} false; then :
5471 $as_echo_n "(cached
) " >&6
5473 if test -n "$DUMPBIN"; then
5474 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 test -z "$as_dir" && as_dir=.
5481 for ac_exec_ext in '' $ac_executable_extensions; do
5482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5483 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5484 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5493 DUMPBIN=$ac_cv_prog_DUMPBIN
5494 if test -n "$DUMPBIN"; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5496 $as_echo "$DUMPBIN" >&6; }
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5499 $as_echo "no
" >&6; }
5503 test -n "$DUMPBIN" && break
5506 if test -z "$DUMPBIN"; then
5507 ac_ct_DUMPBIN=$DUMPBIN
5508 for ac_prog in dumpbin "link
-dump"
5510 # Extract the first word of "$ac_prog", so it can be a program name with args.
5511 set dummy $ac_prog; ac_word=$2
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5513 $as_echo_n "checking
for $ac_word...
" >&6; }
5514 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5515 $as_echo_n "(cached
) " >&6
5517 if test -n "$ac_ct_DUMPBIN"; then
5518 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5524 test -z "$as_dir" && as_dir=.
5525 for ac_exec_ext in '' $ac_executable_extensions; do
5526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5527 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5528 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5537 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5538 if test -n "$ac_ct_DUMPBIN"; then
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5540 $as_echo "$ac_ct_DUMPBIN" >&6; }
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5543 $as_echo "no
" >&6; }
5547 test -n "$ac_ct_DUMPBIN" && break
5550 if test "x
$ac_ct_DUMPBIN" = x; then
5553 case $cross_compiling:$ac_tool_warned in
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5556 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5557 ac_tool_warned=yes ;;
5559 DUMPBIN=$ac_ct_DUMPBIN
5563 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5565 DUMPBIN="$DUMPBIN -symbols"
5573 if test "$DUMPBIN" != ":"; then
5577 test -z "$NM" && NM=nm
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5585 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5586 if ${lt_cv_nm_interface+:} false; then :
5587 $as_echo_n "(cached
) " >&6
5589 lt_cv_nm_interface="BSD nm
"
5590 echo "int some_variable
= 0;" > conftest.$ac_ext
5591 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5592 (eval "$ac_compile" 2>conftest.err)
5593 cat conftest.err >&5
5594 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5595 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5596 cat conftest.err >&5
5597 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5598 cat conftest.out >&5
5599 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5600 lt_cv_nm_interface="MS dumpbin
"
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5605 $as_echo "$lt_cv_nm_interface" >&6; }
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5608 $as_echo_n "checking whether
ln -s works...
" >&6; }
5610 if test "$LN_S" = "ln -s"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5612 $as_echo "yes" >&6; }
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5615 $as_echo "no
, using
$LN_S" >&6; }
5618 # find the maximum length of command line arguments
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5620 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5621 if ${lt_cv_sys_max_cmd_len+:} false; then :
5622 $as_echo_n "(cached
) " >&6
5629 # On DJGPP, this test can blow up pretty badly due to problems in libc
5630 # (any single argument exceeding 2000 bytes causes a buffer overrun
5631 # during glob expansion). Even if it were fixed, the result of this
5632 # check would be larger than it should be.
5633 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5637 # Under GNU Hurd, this test is not required because there is
5638 # no limit to the length of command line arguments.
5639 # Libtool will interpret -1 as no limit whatsoever
5640 lt_cv_sys_max_cmd_len=-1;
5643 cygwin* | mingw* | cegcc*)
5644 # On Win9x/ME, this test blows up -- it succeeds, but takes
5645 # about 5 minutes as the teststring grows exponentially.
5646 # Worse, since 9x/ME are not pre-emptively multitasking,
5647 # you end up with a "frozen
" computer, even though with patience
5648 # the test eventually succeeds (with a max line length of 256k).
5649 # Instead, let's just punt: use the minimum linelength reported by
5650 # all of the supported platforms: 8192 (on NT/2K/XP).
5651 lt_cv_sys_max_cmd_len=8192;
5655 # On MiNT this can take a long time and run out of memory.
5656 lt_cv_sys_max_cmd_len=8192;
5660 # On AmigaOS with pdksh, this test takes hours, literally.
5661 # So we just punt and use a minimum line length of 8192.
5662 lt_cv_sys_max_cmd_len=8192;
5665 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5666 # This has been around since 386BSD, at least. Likely further.
5667 if test -x /sbin/sysctl; then
5668 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5669 elif test -x /usr/sbin/sysctl; then
5670 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5672 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5674 # And add a safety zone
5675 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5676 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5680 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5681 lt_cv_sys_max_cmd_len=196608
5685 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5686 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5687 # nice to cause kernel panics so lets avoid the loop below.
5688 # First set a reasonable default.
5689 lt_cv_sys_max_cmd_len=16384
5691 if test -x /sbin/sysconfig; then
5692 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5693 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5698 lt_cv_sys_max_cmd_len=102400
5700 sysv5* | sco5v6* | sysv4.2uw2*)
5701 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5702 if test -n "$kargmax"; then
5703 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5705 lt_cv_sys_max_cmd_len=32768
5709 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5710 if test -n "$lt_cv_sys_max_cmd_len"; then
5711 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5712 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5714 # Make teststring a little bigger before we do anything with it.
5715 # a 1K string should be a reasonable start.
5716 for i in 1 2 3 4 5 6 7 8 ; do
5717 teststring=$teststring$teststring
5719 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5720 # If test is not a shell built-in, we'll probably end up computing a
5721 # maximum length that is only half of the actual maximum length, but
5723 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5724 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5725 test $i != 17 # 1/2 MB should be enough
5728 teststring=$teststring$teststring
5730 # Only check the string length outside the loop.
5731 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5733 # Add a significant safety factor because C++ compilers can tack on
5734 # massive amounts of additional arguments before passing them to the
5735 # linker. It appears as though 1/2 is a usable value.
5736 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5743 if test -n $lt_cv_sys_max_cmd_len ; then
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5745 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5748 $as_echo "none
" >&6; }
5750 max_cmd_len=$lt_cv_sys_max_cmd_len
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5762 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5763 # Try some XSI features
5766 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5768 && eval 'test $(( 1 + 1 )) -eq 2 \
5769 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5772 $as_echo "$xsi_shell" >&6; }
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5776 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5778 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5780 && lt_shell_append
=yes
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5782 $as_echo "$lt_shell_append" >&6; }
5785 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5795 # test EBCDIC or ASCII
5796 case `echo X|tr X '\101'` in
5797 A
) # ASCII based system
5798 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5799 lt_SP2NL
='tr \040 \012'
5800 lt_NL2SP
='tr \015\012 \040\040'
5802 *) # EBCDIC based system
5803 lt_SP2NL
='tr \100 \n'
5804 lt_NL2SP
='tr \r\n \100\100'
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5817 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5818 if ${lt_cv_ld_reload_flag+:} false
; then :
5819 $as_echo_n "(cached) " >&6
5821 lt_cv_ld_reload_flag
='-r'
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5824 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5825 reload_flag
=$lt_cv_ld_reload_flag
5826 case $reload_flag in
5828 *) reload_flag
=" $reload_flag" ;;
5830 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5833 if test "$GCC" = yes; then
5834 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5836 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5849 if test -n "$ac_tool_prefix"; then
5850 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5851 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5853 $as_echo_n "checking for $ac_word... " >&6; }
5854 if ${ac_cv_prog_OBJDUMP+:} false
; then :
5855 $as_echo_n "(cached) " >&6
5857 if test -n "$OBJDUMP"; then
5858 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5864 test -z "$as_dir" && as_dir
=.
5865 for ac_exec_ext
in '' $ac_executable_extensions; do
5866 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5867 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5877 OBJDUMP
=$ac_cv_prog_OBJDUMP
5878 if test -n "$OBJDUMP"; then
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5880 $as_echo "$OBJDUMP" >&6; }
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5883 $as_echo "no" >&6; }
5888 if test -z "$ac_cv_prog_OBJDUMP"; then
5889 ac_ct_OBJDUMP
=$OBJDUMP
5890 # Extract the first word of "objdump", so it can be a program name with args.
5891 set dummy objdump
; ac_word
=$2
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5893 $as_echo_n "checking for $ac_word... " >&6; }
5894 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
5895 $as_echo_n "(cached) " >&6
5897 if test -n "$ac_ct_OBJDUMP"; then
5898 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5904 test -z "$as_dir" && as_dir
=.
5905 for ac_exec_ext
in '' $ac_executable_extensions; do
5906 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5907 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5917 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5918 if test -n "$ac_ct_OBJDUMP"; then
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5920 $as_echo "$ac_ct_OBJDUMP" >&6; }
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5923 $as_echo "no" >&6; }
5926 if test "x$ac_ct_OBJDUMP" = x
; then
5929 case $cross_compiling:$ac_tool_warned in
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5932 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5933 ac_tool_warned
=yes ;;
5935 OBJDUMP
=$ac_ct_OBJDUMP
5938 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5941 test -z "$OBJDUMP" && OBJDUMP
=objdump
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5952 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5953 if ${lt_cv_deplibs_check_method+:} false
; then :
5954 $as_echo_n "(cached) " >&6
5956 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5957 lt_cv_file_magic_test_file
=
5958 lt_cv_deplibs_check_method
='unknown'
5959 # Need to set the preceding variable on all platforms that support
5960 # interlibrary dependencies.
5961 # 'none' -- dependencies not supported.
5962 # `unknown' -- same as none, but documents that we really don't know.
5963 # 'pass_all' -- all dependencies passed with no checks.
5964 # 'test_compile' -- check by making test program.
5965 # 'file_magic [[regex]]' -- check by looking for files in library path
5966 # which responds to the $file_magic_cmd with a given extended regex.
5967 # If you have `file' or equivalent on your system and you're not sure
5968 # whether `pass_all' will *always* work, you probably want this one.
5972 lt_cv_deplibs_check_method
=pass_all
5976 lt_cv_deplibs_check_method
=pass_all
5980 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5981 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5982 lt_cv_file_magic_test_file
=/shlib
/libc.so
5986 # func_win32_libid is a shell function defined in ltmain.sh
5987 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5988 lt_cv_file_magic_cmd
='func_win32_libid'
5992 # Base MSYS/MinGW do not provide the 'file' command needed by
5993 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5994 # unless we find 'file', for example because we are cross-compiling.
5995 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5996 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5997 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5998 lt_cv_file_magic_cmd
='func_win32_libid'
6000 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6001 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6006 # use the weaker test based on 'objdump'. See mingw*.
6007 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6008 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6011 darwin
* | rhapsody
*)
6012 lt_cv_deplibs_check_method
=pass_all
6015 freebsd
* | dragonfly
*)
6016 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6019 # Not sure whether the presence of OpenBSD here was a mistake.
6020 # Let's accept both of them until this is cleared up.
6021 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6022 lt_cv_file_magic_cmd
=/usr
/bin
/file
6023 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6027 lt_cv_deplibs_check_method
=pass_all
6032 lt_cv_deplibs_check_method
=pass_all
6036 lt_cv_deplibs_check_method
=pass_all
6039 hpux10.20
* | hpux11
*)
6040 lt_cv_file_magic_cmd
=/usr
/bin
/file
6043 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6044 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6047 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]'
6048 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6051 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6052 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6058 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6059 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6062 irix5
* | irix6
* | nonstopux
*)
6064 *-32|
*"-32 ") libmagic
=32-bit;;
6065 *-n32|
*"-n32 ") libmagic
=N32
;;
6066 *-64|
*"-64 ") libmagic
=64-bit;;
6067 *) libmagic
=never-match
;;
6069 lt_cv_deplibs_check_method
=pass_all
6072 # This must be Linux ELF.
6073 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
6074 lt_cv_deplibs_check_method
=pass_all
6078 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6079 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6081 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6086 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6087 lt_cv_file_magic_cmd
=/usr
/bin
/file
6088 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6092 lt_cv_deplibs_check_method
=pass_all
6096 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6097 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6099 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6103 osf3
* | osf4
* | osf5
*)
6104 lt_cv_deplibs_check_method
=pass_all
6108 lt_cv_deplibs_check_method
=pass_all
6112 lt_cv_deplibs_check_method
=pass_all
6115 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6116 lt_cv_deplibs_check_method
=pass_all
6120 case $host_vendor in
6122 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]'
6123 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6126 lt_cv_deplibs_check_method
=pass_all
6129 lt_cv_file_magic_cmd
='/bin/file'
6130 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6133 lt_cv_file_magic_cmd
='/bin/file'
6134 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6135 lt_cv_file_magic_test_file
=/lib
/libc.so
6138 lt_cv_deplibs_check_method
=pass_all
6141 lt_cv_deplibs_check_method
=pass_all
6147 lt_cv_deplibs_check_method
=pass_all
6150 # Assume VxWorks cross toolchains are built on Linux, possibly
6151 # as canadian for Windows hosts.
6152 lt_cv_deplibs_check_method
=pass_all
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6158 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6159 file_magic_cmd
=$lt_cv_file_magic_cmd
6160 deplibs_check_method
=$lt_cv_deplibs_check_method
6161 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6175 plugin_names
="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
6176 for plugin
in $plugin_names; do
6177 plugin_so
=`${CC} ${CFLAGS} --print-prog-name $plugin`
6178 if test x
$plugin_so = x
$plugin; then
6179 plugin_so
=`${CC} ${CFLAGS} --print-file-name $plugin`
6181 if test x
$plugin_so != x
$plugin; then
6182 plugin_option
="--plugin $plugin_so"
6187 if test -n "$ac_tool_prefix"; then
6188 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6189 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6191 $as_echo_n "checking for $ac_word... " >&6; }
6192 if ${ac_cv_prog_AR+:} false
; then :
6193 $as_echo_n "(cached) " >&6
6195 if test -n "$AR"; then
6196 ac_cv_prog_AR
="$AR" # Let the user override the test.
6198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6202 test -z "$as_dir" && as_dir
=.
6203 for ac_exec_ext
in '' $ac_executable_extensions; do
6204 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6205 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6216 if test -n "$AR"; then
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6218 $as_echo "$AR" >&6; }
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6221 $as_echo "no" >&6; }
6226 if test -z "$ac_cv_prog_AR"; then
6228 # Extract the first word of "ar", so it can be a program name with args.
6229 set dummy
ar; ac_word
=$2
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6231 $as_echo_n "checking for $ac_word... " >&6; }
6232 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6233 $as_echo_n "(cached) " >&6
6235 if test -n "$ac_ct_AR"; then
6236 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6242 test -z "$as_dir" && as_dir
=.
6243 for ac_exec_ext
in '' $ac_executable_extensions; do
6244 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6245 ac_cv_prog_ac_ct_AR
="ar"
6246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6255 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6256 if test -n "$ac_ct_AR"; then
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6258 $as_echo "$ac_ct_AR" >&6; }
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6261 $as_echo "no" >&6; }
6264 if test "x$ac_ct_AR" = x
; then
6267 case $cross_compiling:$ac_tool_warned in
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6271 ac_tool_warned
=yes ;;
6279 test -z "$AR" && AR
=ar
6280 if test -n "$plugin_option"; then
6281 if $AR --help 2>&1 |
grep -q "\--plugin"; then
6283 $AR $plugin_option rc conftest.a conftest.c
6284 if test "$?" != 0; then
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
6286 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
6288 AR
="$AR $plugin_option"
6293 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6305 if test -n "$ac_tool_prefix"; then
6306 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6307 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6309 $as_echo_n "checking for $ac_word... " >&6; }
6310 if ${ac_cv_prog_STRIP+:} false
; then :
6311 $as_echo_n "(cached) " >&6
6313 if test -n "$STRIP"; then
6314 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6320 test -z "$as_dir" && as_dir
=.
6321 for ac_exec_ext
in '' $ac_executable_extensions; do
6322 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6323 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6333 STRIP
=$ac_cv_prog_STRIP
6334 if test -n "$STRIP"; then
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6336 $as_echo "$STRIP" >&6; }
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6339 $as_echo "no" >&6; }
6344 if test -z "$ac_cv_prog_STRIP"; then
6346 # Extract the first word of "strip", so it can be a program name with args.
6347 set dummy strip
; ac_word
=$2
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6349 $as_echo_n "checking for $ac_word... " >&6; }
6350 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6351 $as_echo_n "(cached) " >&6
6353 if test -n "$ac_ct_STRIP"; then
6354 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6360 test -z "$as_dir" && as_dir
=.
6361 for ac_exec_ext
in '' $ac_executable_extensions; do
6362 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6363 ac_cv_prog_ac_ct_STRIP
="strip"
6364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6373 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6374 if test -n "$ac_ct_STRIP"; then
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6376 $as_echo "$ac_ct_STRIP" >&6; }
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6379 $as_echo "no" >&6; }
6382 if test "x$ac_ct_STRIP" = x
; then
6385 case $cross_compiling:$ac_tool_warned in
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6388 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6389 ac_tool_warned
=yes ;;
6394 STRIP
="$ac_cv_prog_STRIP"
6397 test -z "$STRIP" && STRIP
=:
6404 if test -n "$ac_tool_prefix"; then
6405 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6406 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6408 $as_echo_n "checking for $ac_word... " >&6; }
6409 if ${ac_cv_prog_RANLIB+:} false
; then :
6410 $as_echo_n "(cached) " >&6
6412 if test -n "$RANLIB"; then
6413 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6419 test -z "$as_dir" && as_dir
=.
6420 for ac_exec_ext
in '' $ac_executable_extensions; do
6421 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6422 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6432 RANLIB
=$ac_cv_prog_RANLIB
6433 if test -n "$RANLIB"; then
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6435 $as_echo "$RANLIB" >&6; }
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6438 $as_echo "no" >&6; }
6443 if test -z "$ac_cv_prog_RANLIB"; then
6444 ac_ct_RANLIB
=$RANLIB
6445 # Extract the first word of "ranlib", so it can be a program name with args.
6446 set dummy ranlib
; ac_word
=$2
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6448 $as_echo_n "checking for $ac_word... " >&6; }
6449 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6450 $as_echo_n "(cached) " >&6
6452 if test -n "$ac_ct_RANLIB"; then
6453 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6459 test -z "$as_dir" && as_dir
=.
6460 for ac_exec_ext
in '' $ac_executable_extensions; do
6461 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6462 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6472 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6473 if test -n "$ac_ct_RANLIB"; then
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6475 $as_echo "$ac_ct_RANLIB" >&6; }
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6478 $as_echo "no" >&6; }
6481 if test "x$ac_ct_RANLIB" = x
; then
6484 case $cross_compiling:$ac_tool_warned in
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6488 ac_tool_warned
=yes ;;
6490 RANLIB
=$ac_ct_RANLIB
6493 RANLIB
="$ac_cv_prog_RANLIB"
6496 test -z "$RANLIB" && RANLIB
=:
6497 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
6498 if $RANLIB --help 2>&1 |
grep -q "\--plugin"; then
6499 RANLIB
="$RANLIB $plugin_option"
6508 # Determine commands to create old-style static archives.
6509 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6510 old_postinstall_cmds
='chmod 644 $oldlib'
6511 old_postuninstall_cmds
=
6513 if test -n "$RANLIB"; then
6516 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6519 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6522 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6527 lock_old_archive_extraction
=yes ;;
6529 lock_old_archive_extraction
=no
;;
6570 # If no C compiler was specified, use CC.
6573 # If no C compiler flags were specified, use CFLAGS.
6574 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6576 # Allow CC to be a program name with arguments.
6580 # Check for command to grab the raw symbol name followed by C symbol from nm.
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6582 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6583 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
6584 $as_echo_n "(cached) " >&6
6587 # These are sane defaults that work on at least a few old systems.
6588 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6590 # Character class describing NM global symbol codes.
6591 symcode
='[BCDEGRST]'
6593 # Regexp to match symbols that can be accessed directly from C.
6594 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6596 # Define system-specific variables.
6601 cygwin
* | mingw
* | pw32
* | cegcc
*)
6602 symcode
='[ABCDGISTW]'
6605 if test "$host_cpu" = ia64
; then
6606 symcode
='[ABCDEGRST]'
6610 symcode
='[BCDEGRST]'
6613 symcode
='[BCDEGQRST]'
6624 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6632 # If we're using GNU nm, then use its standard symbol codes.
6633 case `$NM -V 2>&1` in
6634 *GNU
* |
*'with BFD'*)
6635 symcode
='[ABCDGIRSTW]' ;;
6638 # Transform an extracted symbol line into a proper C declaration.
6639 # Some systems (esp. on ia64) link data and code symbols differently,
6640 # so use this general approach.
6641 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6643 # Transform an extracted symbol line into symbol name and symbol address
6644 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6645 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'"
6647 # Handle CRLF in mingw tool chain
6651 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6655 # Try without a prefix underscore, then with it.
6656 for ac_symprfx
in "" "_"; do
6658 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6659 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6661 # Write the raw and C identifiers.
6662 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6663 # Fake it for dumpbin and say T for any non-static function
6664 # and D for any global variable.
6665 # Also find C++ and __fastcall symbols from MSVC++,
6666 # which start with @ or ?.
6667 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6668 " {last_section=section; section=\$ 3};"\
6669 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6670 " \$ 0!~/External *\|/{next};"\
6671 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6672 " {if(hide[section]) next};"\
6673 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6674 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6675 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6676 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6677 " ' prfx=^$ac_symprfx"
6679 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6682 # Check to see that the pipe works correctly.
6686 cat > conftest.
$ac_ext <<_LT_EOF
6691 void nm_test_func(void);
6692 void nm_test_func(void){}
6696 int main(){nm_test_var='a';nm_test_func();return(0);}
6699 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6700 (eval $ac_compile) 2>&5
6702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6703 test $ac_status = 0; }; then
6704 # Now try to grab the symbols.
6706 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6707 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6710 test $ac_status = 0; } && test -s "$nlist"; then
6711 # Try sorting and uniquifying the output.
6712 if sort "$nlist" |
uniq > "$nlist"T
; then
6713 mv -f "$nlist"T
"$nlist"
6718 # Make sure that we snagged all the symbols we need.
6719 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6720 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6721 cat <<_LT_EOF > conftest.$ac_ext
6727 # Now generate the symbol file.
6728 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6730 cat <<_LT_EOF >> conftest.$ac_ext
6732 /* The mapping between symbol names and symbols. */
6737 lt__PROGRAM__LTX_preloaded_symbols[] =
6739 { "@PROGRAM@", (void *) 0 },
6741 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6742 cat <<\_LT_EOF
>> conftest.
$ac_ext
6746 /* This works around a problem
in FreeBSD linker
*/
6747 #ifdef FREEBSD_WORKAROUND
6748 static const void
*lt_preloaded_setup
() {
6749 return lt__PROGRAM__LTX_preloaded_symbols
;
6757 # Now try linking the two files.
6758 mv conftest.
$ac_objext conftstm.
$ac_objext
6759 lt_save_LIBS
="$LIBS"
6760 lt_save_CFLAGS
="$CFLAGS"
6761 LIBS
="conftstm.$ac_objext"
6762 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6763 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6764 (eval $ac_link) 2>&5
6766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6767 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6770 LIBS
="$lt_save_LIBS"
6771 CFLAGS
="$lt_save_CFLAGS"
6773 echo "cannot find nm_test_func in $nlist" >&5
6776 echo "cannot find nm_test_var in $nlist" >&5
6779 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6782 echo "$progname: failed program was:" >&5
6783 cat conftest.
$ac_ext >&5
6785 rm -rf conftest
* conftst
*
6787 # Do not use the global_symbol_pipe unless it works.
6788 if test "$pipe_works" = yes; then
6791 lt_cv_sys_global_symbol_pipe
=
6797 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6798 lt_cv_sys_global_symbol_to_cdecl
=
6800 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6802 $as_echo "failed" >&6; }
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6805 $as_echo "ok" >&6; }
6830 # Check whether --enable-libtool-lock was given.
6831 if test "${enable_libtool_lock+set}" = set; then :
6832 enableval
=$enable_libtool_lock;
6835 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6837 # Some flags need to be propagated to the compiler or linker for good
6841 # Find out which ABI we are using.
6842 echo 'int i;' > conftest.
$ac_ext
6843 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6844 (eval $ac_compile) 2>&5
6846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6847 test $ac_status = 0; }; then
6848 case `/usr/bin/file conftest.$ac_objext` in
6860 # Find out which ABI we are using.
6861 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6862 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6863 (eval $ac_compile) 2>&5
6865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6866 test $ac_status = 0; }; then
6867 if test "$lt_cv_prog_gnu_ld" = yes; then
6868 case `/usr/bin/file conftest.$ac_objext` in
6870 LD
="${LD-ld} -melf32bsmip"
6873 LD
="${LD-ld} -melf32bmipn32"
6876 LD
="${LD-ld} -melf64bmip"
6880 case `/usr/bin/file conftest.$ac_objext` in
6896 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
6897 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6898 # Find out which ABI we are using.
6899 echo 'int i;' > conftest.
$ac_ext
6900 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6901 (eval $ac_compile) 2>&5
6903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6904 test $ac_status = 0; }; then
6905 case `/usr/bin/file conftest.o` in
6908 x86_64-
*kfreebsd
*-gnu)
6909 LD
="${LD-ld} -m elf_i386_fbsd"
6912 case `/usr/bin/file conftest.o` in
6914 LD
="${LD-ld} -m elf32_x86_64"
6917 LD
="${LD-ld} -m elf_i386"
6921 powerpc64le-
*linux
*)
6922 LD
="${LD-ld} -m elf32lppclinux"
6925 LD
="${LD-ld} -m elf32ppclinux"
6928 LD
="${LD-ld} -m elf_s390"
6931 LD
="${LD-ld} -m elf32_sparc"
6937 x86_64-
*kfreebsd
*-gnu)
6938 LD
="${LD-ld} -m elf_x86_64_fbsd"
6941 LD
="${LD-ld} -m elf_x86_64"
6944 LD
="${LD-ld} -m elf64lppc"
6947 LD
="${LD-ld} -m elf64ppc"
6949 s390
*-*linux
*|s390
*-*tpf
*)
6950 LD
="${LD-ld} -m elf64_s390"
6953 LD
="${LD-ld} -m elf64_sparc"
6963 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6964 SAVE_CFLAGS
="$CFLAGS"
6965 CFLAGS
="$CFLAGS -belf"
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6967 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6968 if ${lt_cv_cc_needs_belf+:} false
; then :
6969 $as_echo_n "(cached) " >&6
6972 ac_cpp
='$CPP $CPPFLAGS'
6973 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6974 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6975 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6978 /* end confdefs.h. */
6988 if ac_fn_c_try_link
"$LINENO"; then :
6989 lt_cv_cc_needs_belf
=yes
6991 lt_cv_cc_needs_belf
=no
6993 rm -f core conftest.err conftest.
$ac_objext \
6994 conftest
$ac_exeext conftest.
$ac_ext
6996 ac_cpp
='$CPP $CPPFLAGS'
6997 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6998 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6999 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7003 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7004 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7005 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7006 CFLAGS
="$SAVE_CFLAGS"
7010 # Find out which ABI we are using.
7011 echo 'int i;' > conftest.
$ac_ext
7012 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7013 (eval $ac_compile) 2>&5
7015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7016 test $ac_status = 0; }; then
7017 case `/usr/bin/file conftest.o` in
7019 case $lt_cv_prog_gnu_ld in
7020 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7022 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7034 need_locks
="$enable_libtool_lock"
7038 rhapsody
* | darwin
*)
7039 if test -n "$ac_tool_prefix"; then
7040 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7041 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7043 $as_echo_n "checking for $ac_word... " >&6; }
7044 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
7045 $as_echo_n "(cached) " >&6
7047 if test -n "$DSYMUTIL"; then
7048 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7054 test -z "$as_dir" && as_dir
=.
7055 for ac_exec_ext
in '' $ac_executable_extensions; do
7056 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7057 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7067 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7068 if test -n "$DSYMUTIL"; then
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7070 $as_echo "$DSYMUTIL" >&6; }
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7073 $as_echo "no" >&6; }
7078 if test -z "$ac_cv_prog_DSYMUTIL"; then
7079 ac_ct_DSYMUTIL
=$DSYMUTIL
7080 # Extract the first word of "dsymutil", so it can be a program name with args.
7081 set dummy dsymutil
; ac_word
=$2
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7083 $as_echo_n "checking for $ac_word... " >&6; }
7084 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
7085 $as_echo_n "(cached) " >&6
7087 if test -n "$ac_ct_DSYMUTIL"; then
7088 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7094 test -z "$as_dir" && as_dir
=.
7095 for ac_exec_ext
in '' $ac_executable_extensions; do
7096 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7097 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7107 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7108 if test -n "$ac_ct_DSYMUTIL"; then
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7110 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7113 $as_echo "no" >&6; }
7116 if test "x$ac_ct_DSYMUTIL" = x
; then
7119 case $cross_compiling:$ac_tool_warned in
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7123 ac_tool_warned
=yes ;;
7125 DSYMUTIL
=$ac_ct_DSYMUTIL
7128 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7131 if test -n "$ac_tool_prefix"; then
7132 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7133 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7135 $as_echo_n "checking for $ac_word... " >&6; }
7136 if ${ac_cv_prog_NMEDIT+:} false
; then :
7137 $as_echo_n "(cached) " >&6
7139 if test -n "$NMEDIT"; then
7140 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7146 test -z "$as_dir" && as_dir
=.
7147 for ac_exec_ext
in '' $ac_executable_extensions; do
7148 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7149 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7159 NMEDIT
=$ac_cv_prog_NMEDIT
7160 if test -n "$NMEDIT"; then
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7162 $as_echo "$NMEDIT" >&6; }
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7165 $as_echo "no" >&6; }
7170 if test -z "$ac_cv_prog_NMEDIT"; then
7171 ac_ct_NMEDIT
=$NMEDIT
7172 # Extract the first word of "nmedit", so it can be a program name with args.
7173 set dummy nmedit
; ac_word
=$2
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7175 $as_echo_n "checking for $ac_word... " >&6; }
7176 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
7177 $as_echo_n "(cached) " >&6
7179 if test -n "$ac_ct_NMEDIT"; then
7180 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7186 test -z "$as_dir" && as_dir
=.
7187 for ac_exec_ext
in '' $ac_executable_extensions; do
7188 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7189 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7199 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7200 if test -n "$ac_ct_NMEDIT"; then
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7202 $as_echo "$ac_ct_NMEDIT" >&6; }
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7205 $as_echo "no" >&6; }
7208 if test "x$ac_ct_NMEDIT" = x
; then
7211 case $cross_compiling:$ac_tool_warned in
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7215 ac_tool_warned
=yes ;;
7217 NMEDIT
=$ac_ct_NMEDIT
7220 NMEDIT
="$ac_cv_prog_NMEDIT"
7223 if test -n "$ac_tool_prefix"; then
7224 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7225 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7227 $as_echo_n "checking for $ac_word... " >&6; }
7228 if ${ac_cv_prog_LIPO+:} false
; then :
7229 $as_echo_n "(cached) " >&6
7231 if test -n "$LIPO"; then
7232 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7238 test -z "$as_dir" && as_dir
=.
7239 for ac_exec_ext
in '' $ac_executable_extensions; do
7240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7241 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7251 LIPO
=$ac_cv_prog_LIPO
7252 if test -n "$LIPO"; then
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7254 $as_echo "$LIPO" >&6; }
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7257 $as_echo "no" >&6; }
7262 if test -z "$ac_cv_prog_LIPO"; then
7264 # Extract the first word of "lipo", so it can be a program name with args.
7265 set dummy lipo
; ac_word
=$2
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7267 $as_echo_n "checking for $ac_word... " >&6; }
7268 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
7269 $as_echo_n "(cached) " >&6
7271 if test -n "$ac_ct_LIPO"; then
7272 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7278 test -z "$as_dir" && as_dir
=.
7279 for ac_exec_ext
in '' $ac_executable_extensions; do
7280 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7281 ac_cv_prog_ac_ct_LIPO
="lipo"
7282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7291 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7292 if test -n "$ac_ct_LIPO"; then
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7294 $as_echo "$ac_ct_LIPO" >&6; }
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7297 $as_echo "no" >&6; }
7300 if test "x$ac_ct_LIPO" = x
; then
7303 case $cross_compiling:$ac_tool_warned in
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7307 ac_tool_warned
=yes ;;
7312 LIPO
="$ac_cv_prog_LIPO"
7315 if test -n "$ac_tool_prefix"; then
7316 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7317 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7319 $as_echo_n "checking for $ac_word... " >&6; }
7320 if ${ac_cv_prog_OTOOL+:} false
; then :
7321 $as_echo_n "(cached) " >&6
7323 if test -n "$OTOOL"; then
7324 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7330 test -z "$as_dir" && as_dir
=.
7331 for ac_exec_ext
in '' $ac_executable_extensions; do
7332 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7333 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7343 OTOOL
=$ac_cv_prog_OTOOL
7344 if test -n "$OTOOL"; then
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7346 $as_echo "$OTOOL" >&6; }
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7349 $as_echo "no" >&6; }
7354 if test -z "$ac_cv_prog_OTOOL"; then
7356 # Extract the first word of "otool", so it can be a program name with args.
7357 set dummy otool
; ac_word
=$2
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7359 $as_echo_n "checking for $ac_word... " >&6; }
7360 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7361 $as_echo_n "(cached) " >&6
7363 if test -n "$ac_ct_OTOOL"; then
7364 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7370 test -z "$as_dir" && as_dir
=.
7371 for ac_exec_ext
in '' $ac_executable_extensions; do
7372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7373 ac_cv_prog_ac_ct_OTOOL
="otool"
7374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7383 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7384 if test -n "$ac_ct_OTOOL"; then
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7386 $as_echo "$ac_ct_OTOOL" >&6; }
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7389 $as_echo "no" >&6; }
7392 if test "x$ac_ct_OTOOL" = x
; then
7395 case $cross_compiling:$ac_tool_warned in
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7399 ac_tool_warned
=yes ;;
7404 OTOOL
="$ac_cv_prog_OTOOL"
7407 if test -n "$ac_tool_prefix"; then
7408 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7409 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7411 $as_echo_n "checking for $ac_word... " >&6; }
7412 if ${ac_cv_prog_OTOOL64+:} false
; then :
7413 $as_echo_n "(cached) " >&6
7415 if test -n "$OTOOL64"; then
7416 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7422 test -z "$as_dir" && as_dir
=.
7423 for ac_exec_ext
in '' $ac_executable_extensions; do
7424 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7425 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7435 OTOOL64
=$ac_cv_prog_OTOOL64
7436 if test -n "$OTOOL64"; then
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7438 $as_echo "$OTOOL64" >&6; }
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7441 $as_echo "no" >&6; }
7446 if test -z "$ac_cv_prog_OTOOL64"; then
7447 ac_ct_OTOOL64
=$OTOOL64
7448 # Extract the first word of "otool64", so it can be a program name with args.
7449 set dummy otool64
; ac_word
=$2
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7451 $as_echo_n "checking for $ac_word... " >&6; }
7452 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
7453 $as_echo_n "(cached) " >&6
7455 if test -n "$ac_ct_OTOOL64"; then
7456 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7462 test -z "$as_dir" && as_dir
=.
7463 for ac_exec_ext
in '' $ac_executable_extensions; do
7464 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7465 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7475 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7476 if test -n "$ac_ct_OTOOL64"; then
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7478 $as_echo "$ac_ct_OTOOL64" >&6; }
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7481 $as_echo "no" >&6; }
7484 if test "x$ac_ct_OTOOL64" = x
; then
7487 case $cross_compiling:$ac_tool_warned in
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7491 ac_tool_warned
=yes ;;
7493 OTOOL64
=$ac_ct_OTOOL64
7496 OTOOL64
="$ac_cv_prog_OTOOL64"
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7526 $as_echo_n "checking for -single_module linker flag... " >&6; }
7527 if ${lt_cv_apple_cc_single_mod+:} false
; then :
7528 $as_echo_n "(cached) " >&6
7530 lt_cv_apple_cc_single_mod
=no
7531 if test -z "${LT_MULTI_MODULE}"; then
7532 # By default we will add the -single_module flag. You can override
7533 # by either setting the environment variable LT_MULTI_MODULE
7534 # non-empty at configure time, or by adding -multi_module to the
7536 rm -rf libconftest.dylib
*
7537 echo "int foo(void){return 1;}" > conftest.c
7538 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7539 -dynamiclib -Wl,-single_module conftest.c" >&5
7540 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7541 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7543 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7544 lt_cv_apple_cc_single_mod
=yes
7546 cat conftest.err
>&5
7548 rm -rf libconftest.dylib
*
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7553 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7555 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7556 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
7557 $as_echo_n "(cached) " >&6
7559 lt_cv_ld_exported_symbols_list
=no
7560 save_LDFLAGS
=$LDFLAGS
7561 echo "_main" > conftest.sym
7562 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7564 /* end confdefs.h. */
7574 if ac_fn_c_try_link
"$LINENO"; then :
7575 lt_cv_ld_exported_symbols_list
=yes
7577 lt_cv_ld_exported_symbols_list
=no
7579 rm -f core conftest.err conftest.
$ac_objext \
7580 conftest
$ac_exeext conftest.
$ac_ext
7581 LDFLAGS
="$save_LDFLAGS"
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7585 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7587 $as_echo_n "checking for -force_load linker flag... " >&6; }
7588 if ${lt_cv_ld_force_load+:} false
; then :
7589 $as_echo_n "(cached) " >&6
7591 lt_cv_ld_force_load
=no
7592 cat > conftest.c
<< _LT_EOF
7593 int forced_loaded() { return 2;}
7595 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7596 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7597 echo "$AR cru libconftest.a conftest.o" >&5
7598 $AR cru libconftest.a conftest.o
2>&5
7599 cat > conftest.c
<< _LT_EOF
7600 int main() { return 0;}
7602 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7603 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7605 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7606 lt_cv_ld_force_load
=yes
7608 cat conftest.err
>&5
7610 rm -f conftest.err libconftest.a conftest conftest.c
7611 rm -rf conftest.dSYM
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7615 $as_echo "$lt_cv_ld_force_load" >&6; }
7616 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
7617 # build without first building modern cctools / linker.
7618 case $host_cpu-$host_os in
7619 *-rhapsody* |
*-darwin1.
[012])
7620 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7622 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7624 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
7625 # deployment target is forced to an earlier version.
7626 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
7627 UNSET
,*-darwin[89]*|UNSET
,*-darwin[12][0-9]*)
7630 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7637 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7638 _lt_dar_single_mod
='$single_module'
7640 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7641 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7643 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7645 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7646 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7654 ac_cpp
='$CPP $CPPFLAGS'
7655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7659 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7660 # On Suns, sometimes $CPP names a directory.
7661 if test -n "$CPP" && test -d "$CPP"; then
7664 if test -z "$CPP"; then
7665 if ${ac_cv_prog_CPP+:} false
; then :
7666 $as_echo_n "(cached) " >&6
7668 # Double quotes because CPP needs to be expanded
7669 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7672 for ac_c_preproc_warn_flag
in '' yes
7674 # Use a header file that comes with gcc, so configuring glibc
7675 # with a fresh cross-compiler works.
7676 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7677 # <limits.h> exists even on freestanding compilers.
7678 # On the NeXT, cc -E runs the code through the compiler's parser,
7679 # not just through cpp. "Syntax error" is here to catch this case.
7680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7681 /* end confdefs.h. */
7683 # include <limits.h>
7685 # include <assert.h>
7689 if ac_fn_c_try_cpp
"$LINENO"; then :
7692 # Broken: fails on valid input.
7695 rm -f conftest.err conftest.i conftest.
$ac_ext
7697 # OK, works on sane cases. Now check whether nonexistent headers
7698 # can be detected and how.
7699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7700 /* end confdefs.h. */
7701 #include <ac_nonexistent.h>
7703 if ac_fn_c_try_cpp
"$LINENO"; then :
7704 # Broken: success on invalid input.
7707 # Passes both tests.
7711 rm -f conftest.err conftest.i conftest.
$ac_ext
7714 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7715 rm -f conftest.i conftest.err conftest.
$ac_ext
7716 if $ac_preproc_ok; then :
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7729 $as_echo "$CPP" >&6; }
7731 for ac_c_preproc_warn_flag
in '' yes
7733 # Use a header file that comes with gcc, so configuring glibc
7734 # with a fresh cross-compiler works.
7735 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7736 # <limits.h> exists even on freestanding compilers.
7737 # On the NeXT, cc -E runs the code through the compiler's parser,
7738 # not just through cpp. "Syntax error" is here to catch this case.
7739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7740 /* end confdefs.h. */
7742 # include <limits.h>
7744 # include <assert.h>
7748 if ac_fn_c_try_cpp
"$LINENO"; then :
7751 # Broken: fails on valid input.
7754 rm -f conftest.err conftest.i conftest.
$ac_ext
7756 # OK, works on sane cases. Now check whether nonexistent headers
7757 # can be detected and how.
7758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7759 /* end confdefs.h. */
7760 #include <ac_nonexistent.h>
7762 if ac_fn_c_try_cpp
"$LINENO"; then :
7763 # Broken: success on invalid input.
7766 # Passes both tests.
7770 rm -f conftest.err conftest.i conftest.
$ac_ext
7773 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7774 rm -f conftest.i conftest.err conftest.
$ac_ext
7775 if $ac_preproc_ok; then :
7778 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7779 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7780 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
7781 See \`config.log' for more details" "$LINENO" 5; }
7785 ac_cpp
='$CPP $CPPFLAGS'
7786 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7787 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7788 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7792 $as_echo_n "checking for ANSI C header files... " >&6; }
7793 if ${ac_cv_header_stdc+:} false
; then :
7794 $as_echo_n "(cached) " >&6
7796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7797 /* end confdefs.h. */
7811 if ac_fn_c_try_compile
"$LINENO"; then :
7812 ac_cv_header_stdc
=yes
7814 ac_cv_header_stdc
=no
7816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7818 if test $ac_cv_header_stdc = yes; then
7819 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7821 /* end confdefs.h. */
7825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7826 $EGREP "memchr" >/dev
/null
2>&1; then :
7829 ac_cv_header_stdc
=no
7835 if test $ac_cv_header_stdc = yes; then
7836 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7838 /* end confdefs.h. */
7842 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7843 $EGREP "free" >/dev
/null
2>&1; then :
7846 ac_cv_header_stdc
=no
7852 if test $ac_cv_header_stdc = yes; then
7853 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7854 if test "$cross_compiling" = yes; then :
7857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7858 /* end confdefs.h. */
7861 #if ((' ' & 0x0FF) == 0x020)
7862 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7863 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7865 # define ISLOWER(c) \
7866 (('a' <= (c) && (c) <= 'i') \
7867 || ('j' <= (c) && (c) <= 'r') \
7868 || ('s' <= (c) && (c) <= 'z'))
7869 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7872 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7877 for (i = 0; i < 256; i++)
7878 if (XOR (islower (i), ISLOWER (i))
7879 || toupper (i) != TOUPPER (i))
7884 if ac_fn_c_try_run
"$LINENO"; then :
7887 ac_cv_header_stdc
=no
7889 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7890 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7896 $as_echo "$ac_cv_header_stdc" >&6; }
7897 if test $ac_cv_header_stdc = yes; then
7899 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7903 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7904 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7905 inttypes.h stdint.h unistd.h
7907 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7908 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7910 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7911 cat >>confdefs.h
<<_ACEOF
7912 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7920 for ac_header
in dlfcn.h
7922 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7924 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7925 cat >>confdefs.h
<<_ACEOF
7926 #define HAVE_DLFCN_H 1
7947 # Check whether --enable-shared was given.
7948 if test "${enable_shared+set}" = set; then :
7949 enableval
=$enable_shared; p
=${PACKAGE-default}
7951 yes) enable_shared
=yes ;;
7952 no
) enable_shared
=no
;;
7955 # Look at the argument we got. We use all the common list separators.
7956 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7957 for pkg
in $enableval; do
7959 if test "X$pkg" = "X$p"; then
7978 # Check whether --enable-static was given.
7979 if test "${enable_static+set}" = set; then :
7980 enableval
=$enable_static; p
=${PACKAGE-default}
7982 yes) enable_static
=yes ;;
7983 no
) enable_static
=no
;;
7986 # Look at the argument we got. We use all the common list separators.
7987 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7988 for pkg
in $enableval; do
7990 if test "X$pkg" = "X$p"; then
8010 # Check whether --with-pic was given.
8011 if test "${with_pic+set}" = set; then :
8012 withval
=$with_pic; pic_mode
="$withval"
8018 test -z "$pic_mode" && pic_mode
=default
8026 # Check whether --enable-fast-install was given.
8027 if test "${enable_fast_install+set}" = set; then :
8028 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8030 yes) enable_fast_install
=yes ;;
8031 no
) enable_fast_install
=no
;;
8033 enable_fast_install
=no
8034 # Look at the argument we got. We use all the common list separators.
8035 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8036 for pkg
in $enableval; do
8038 if test "X$pkg" = "X$p"; then
8039 enable_fast_install
=yes
8046 enable_fast_install
=yes
8059 # This can be used to rebuild libtool when needed
8060 LIBTOOL_DEPS
="$ltmain"
8062 # Always use our own libtool.
8063 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8090 test -z "$LN_S" && LN_S
="ln -s"
8105 if test -n "${ZSH_VERSION+set}" ; then
8106 setopt NO_GLOB_SUBST
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8110 $as_echo_n "checking for objdir... " >&6; }
8111 if ${lt_cv_objdir+:} false
; then :
8112 $as_echo_n "(cached) " >&6
8114 rm -f .libs
2>/dev
/null
8115 mkdir .libs
2>/dev
/null
8116 if test -d .libs
; then
8119 # MS-DOS does not allow filenames that begin with a dot.
8122 rmdir .libs
2>/dev
/null
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8125 $as_echo "$lt_cv_objdir" >&6; }
8126 objdir
=$lt_cv_objdir
8132 cat >>confdefs.h
<<_ACEOF
8133 #define LT_OBJDIR "$lt_cv_objdir/"
8141 # AIX sometimes has problems with the GCC collect2 program. For some
8142 # reason, if we set the COLLECT_NAMES environment variable, the problems
8143 # vanish in a puff of smoke.
8144 if test "X${COLLECT_NAMES+set}" != Xset
; then
8146 export COLLECT_NAMES
8153 can_build_shared
=yes
8155 # All known linkers require a `.a' archive for static linking (except MSVC,
8156 # which needs '.lib').
8159 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8162 old_CFLAGS
="$CFLAGS"
8164 # Set sane defaults for various variables
8165 test -z "$CC" && CC
=cc
8166 test -z "$LTCC" && LTCC
=$CC
8167 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8168 test -z "$LD" && LD
=ld
8169 test -z "$ac_objext" && ac_objext
=o
8171 for cc_temp
in $compiler""; do
8173 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8174 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8179 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8182 # Only perform the check for file, if the check method requires it
8183 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8184 case $deplibs_check_method in
8186 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8188 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8189 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8190 $as_echo_n "(cached) " >&6
8194 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8197 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8198 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8199 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8200 for ac_dir
in $ac_dummy; do
8202 test -z "$ac_dir" && ac_dir
=.
8203 if test -f $ac_dir/${ac_tool_prefix}file; then
8204 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8205 if test -n "$file_magic_test_file"; then
8206 case $deplibs_check_method in
8208 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8209 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8210 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8211 $EGREP "$file_magic_regex" > /dev
/null
; then
8216 *** Warning: the command libtool uses to detect shared libraries,
8217 *** $file_magic_cmd, produces output that libtool cannot recognize.
8218 *** The result is that libtool may fail to recognize shared libraries
8219 *** as such. This will affect the creation of libtool libraries that
8220 *** depend on shared libraries, but programs linked with such libtool
8221 *** libraries will work regardless of this problem. Nevertheless, you
8222 *** may want to report the problem to your system manager and/or to
8223 *** bug-libtool@gnu.org
8233 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8238 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8239 if test -n "$MAGIC_CMD"; then
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8241 $as_echo "$MAGIC_CMD" >&6; }
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8244 $as_echo "no" >&6; }
8251 if test -z "$lt_cv_path_MAGIC_CMD"; then
8252 if test -n "$ac_tool_prefix"; then
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8254 $as_echo_n "checking for file... " >&6; }
8255 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8256 $as_echo_n "(cached) " >&6
8260 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8263 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8264 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8265 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8266 for ac_dir
in $ac_dummy; do
8268 test -z "$ac_dir" && ac_dir
=.
8269 if test -f $ac_dir/file; then
8270 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8271 if test -n "$file_magic_test_file"; then
8272 case $deplibs_check_method in
8274 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8275 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8276 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8277 $EGREP "$file_magic_regex" > /dev
/null
; then
8282 *** Warning: the command libtool uses to detect shared libraries,
8283 *** $file_magic_cmd, produces output that libtool cannot recognize.
8284 *** The result is that libtool may fail to recognize shared libraries
8285 *** as such. This will affect the creation of libtool libraries that
8286 *** depend on shared libraries, but programs linked with such libtool
8287 *** libraries will work regardless of this problem. Nevertheless, you
8288 *** may want to report the problem to your system manager and/or to
8289 *** bug-libtool@gnu.org
8299 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8304 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8305 if test -n "$MAGIC_CMD"; then
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8307 $as_echo "$MAGIC_CMD" >&6; }
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8310 $as_echo "no" >&6; }
8323 # Use C for the default configuration in the libtool script
8327 ac_cpp
='$CPP $CPPFLAGS'
8328 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8329 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8330 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8333 # Source file extension for C test sources.
8336 # Object file extension for compiled C test sources.
8340 # Code to be used in simple compile tests
8341 lt_simple_compile_test_code
="int some_variable = 0;"
8343 # Code to be used in simple link tests
8344 lt_simple_link_test_code
='int main(){return(0);}'
8352 # If no C compiler was specified, use CC.
8355 # If no C compiler flags were specified, use CFLAGS.
8356 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8358 # Allow CC to be a program name with arguments.
8361 # Save the default compiler, since it gets overwritten when the other
8362 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8363 compiler_DEFAULT
=$CC
8365 # save warnings/boilerplate of simple test code
8366 ac_outfile
=conftest.
$ac_objext
8367 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8368 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8369 _lt_compiler_boilerplate
=`cat conftest.err`
8372 ac_outfile
=conftest.
$ac_objext
8373 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8374 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8375 _lt_linker_boilerplate
=`cat conftest.err`
8380 ## There is no encapsulation within the following macros, do not change
8381 ## the running order or otherwise move them around unless you know exactly
8382 ## what you are doing...
8383 if test -n "$compiler"; then
8385 lt_prog_compiler_no_builtin_flag
=
8387 if test "$GCC" = yes; then
8388 case $cc_basename in
8390 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8392 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8396 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8397 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8398 $as_echo_n "(cached) " >&6
8400 lt_cv_prog_compiler_rtti_exceptions
=no
8401 ac_outfile
=conftest.
$ac_objext
8402 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8403 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8404 # Insert the option either (1) after the last *FLAGS variable, or
8405 # (2) before a word containing "conftest.", or (3) at the end.
8406 # Note that $ac_compile itself does not contain backslashes and begins
8407 # with a dollar sign (not a hyphen), so the echo should work correctly.
8408 # The option is referenced via a variable to avoid confusing sed.
8409 lt_compile
=`echo "$ac_compile" | $SED \
8410 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8411 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8412 -e 's:$: $lt_compiler_flag:'`
8413 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8414 (eval "$lt_compile" 2>conftest.err
)
8416 cat conftest.err
>&5
8417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8418 if (exit $ac_status) && test -s "$ac_outfile"; then
8419 # The compiler can only warn and ignore the option if not recognized
8420 # So say no if there are warnings other than the usual output.
8421 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8422 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8423 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8424 lt_cv_prog_compiler_rtti_exceptions
=yes
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8431 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8433 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8434 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8446 lt_prog_compiler_wl
=
8447 lt_prog_compiler_pic
=
8448 lt_prog_compiler_static
=
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8451 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8453 if test "$GCC" = yes; then
8454 lt_prog_compiler_wl
='-Wl,'
8455 lt_prog_compiler_static
='-static'
8459 # All AIX code is PIC.
8460 if test "$host_cpu" = ia64
; then
8461 # AIX 5 now supports IA64 processor
8462 lt_prog_compiler_static
='-Bstatic'
8464 lt_prog_compiler_pic
='-fPIC'
8470 # see comment about AmigaOS4 .so support
8471 lt_prog_compiler_pic
='-fPIC'
8474 # FIXME: we need at least 68020 code to build shared libraries, but
8475 # adding the `-m68020' flag to GCC prevents building anything better,
8477 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8482 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8483 # PIC is the default for these OSes.
8486 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8487 # This hack is so that the source file can tell whether it is being
8488 # built for inclusion in a dll (and should export symbols for example).
8489 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8490 # (--disable-auto-import) libraries
8491 lt_prog_compiler_pic
='-DDLL_EXPORT'
8494 darwin
* | rhapsody
*)
8495 # PIC is the default on this platform
8496 # Common symbols not allowed in MH_DYLIB files
8497 lt_prog_compiler_pic
='-fno-common'
8501 # PIC is the default for Haiku.
8502 # The "-static" flag exists, but is broken.
8503 lt_prog_compiler_static
=
8507 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8508 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8509 # sets the default TLS model and affects inlining.
8515 lt_prog_compiler_pic
='-fPIC'
8521 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8522 # Instead, we relocate shared libraries at runtime.
8526 # Just because we use GCC doesn't mean we suddenly get shared libraries
8527 # on systems that don't support them.
8528 lt_prog_compiler_can_build_shared
=no
8533 # QNX uses GNU C++, but need to define -shared option too, otherwise
8535 lt_prog_compiler_pic
='-fPIC -shared'
8539 if test -d /usr
/nec
; then
8540 lt_prog_compiler_pic
=-Kconform_pic
8545 lt_prog_compiler_pic
='-fPIC'
8549 case $cc_basename in
8550 nvcc
*) # Cuda Compiler Driver 2.2
8551 lt_prog_compiler_wl
='-Xlinker '
8552 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8556 # PORTME Check for flag to pass linker flags through the system compiler.
8559 lt_prog_compiler_wl
='-Wl,'
8560 if test "$host_cpu" = ia64
; then
8561 # AIX 5 now supports IA64 processor
8562 lt_prog_compiler_static
='-Bstatic'
8564 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8568 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8569 # This hack is so that the source file can tell whether it is being
8570 # built for inclusion in a dll (and should export symbols for example).
8571 lt_prog_compiler_pic
='-DDLL_EXPORT'
8574 hpux9
* | hpux10
* | hpux11
*)
8575 lt_prog_compiler_wl
='-Wl,'
8576 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8583 lt_prog_compiler_pic
='+Z'
8586 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8587 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8590 irix5
* | irix6
* | nonstopux
*)
8591 lt_prog_compiler_wl
='-Wl,'
8592 # PIC (with -KPIC) is the default.
8593 lt_prog_compiler_static
='-non_shared'
8596 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8597 case $cc_basename in
8598 # old Intel for x86_64 which still supported -KPIC.
8600 lt_prog_compiler_wl
='-Wl,'
8601 lt_prog_compiler_pic
='-KPIC'
8602 lt_prog_compiler_static
='-static'
8604 # icc used to be incompatible with GCC.
8605 # ICC 10 doesn't accept -KPIC any more.
8607 lt_prog_compiler_wl
='-Wl,'
8608 lt_prog_compiler_pic
='-fPIC'
8609 lt_prog_compiler_static
='-static'
8611 # Lahey Fortran 8.1.
8613 lt_prog_compiler_wl
='-Wl,'
8614 lt_prog_compiler_pic
='--shared'
8615 lt_prog_compiler_static
='--static'
8617 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8618 # Portland Group compilers (*not* the Pentium gcc compiler,
8619 # which looks to be a dead project)
8620 lt_prog_compiler_wl
='-Wl,'
8621 lt_prog_compiler_pic
='-fpic'
8622 lt_prog_compiler_static
='-Bstatic'
8625 lt_prog_compiler_wl
='-Wl,'
8626 # All Alpha code is PIC.
8627 lt_prog_compiler_static
='-non_shared'
8629 xl
* | bgxl
* | bgf
* | mpixl
*)
8630 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8631 lt_prog_compiler_wl
='-Wl,'
8632 lt_prog_compiler_pic
='-qpic'
8633 lt_prog_compiler_static
='-qstaticlink'
8636 case `$CC -V 2>&1 | sed 5q` in
8637 *Sun\ F
* |
*Sun
*Fortran
*)
8638 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8639 lt_prog_compiler_pic
='-KPIC'
8640 lt_prog_compiler_static
='-Bstatic'
8641 lt_prog_compiler_wl
=''
8645 lt_prog_compiler_pic
='-KPIC'
8646 lt_prog_compiler_static
='-Bstatic'
8647 lt_prog_compiler_wl
='-Wl,'
8655 lt_prog_compiler_pic
='-KPIC'
8656 lt_prog_compiler_static
='-Bstatic'
8660 # QNX uses GNU C++, but need to define -shared option too, otherwise
8662 lt_prog_compiler_pic
='-fPIC -shared'
8665 osf3
* | osf4
* | osf5
*)
8666 lt_prog_compiler_wl
='-Wl,'
8667 # All OSF/1 code is PIC.
8668 lt_prog_compiler_static
='-non_shared'
8672 lt_prog_compiler_static
='-non_shared'
8676 lt_prog_compiler_pic
='-KPIC'
8677 lt_prog_compiler_static
='-Bstatic'
8678 case $cc_basename in
8680 lt_prog_compiler_wl
='-Qoption ld ';;
8682 lt_prog_compiler_wl
='-Wl,';;
8687 lt_prog_compiler_wl
='-Qoption ld '
8688 lt_prog_compiler_pic
='-PIC'
8689 lt_prog_compiler_static
='-Bstatic'
8692 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8693 lt_prog_compiler_wl
='-Wl,'
8694 lt_prog_compiler_pic
='-KPIC'
8695 lt_prog_compiler_static
='-Bstatic'
8699 if test -d /usr
/nec
;then
8700 lt_prog_compiler_pic
='-Kconform_pic'
8701 lt_prog_compiler_static
='-Bstatic'
8705 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8706 lt_prog_compiler_wl
='-Wl,'
8707 lt_prog_compiler_pic
='-KPIC'
8708 lt_prog_compiler_static
='-Bstatic'
8712 lt_prog_compiler_wl
='-Wl,'
8713 lt_prog_compiler_can_build_shared
=no
8717 lt_prog_compiler_pic
='-pic'
8718 lt_prog_compiler_static
='-Bstatic'
8722 lt_prog_compiler_can_build_shared
=no
8728 # For platforms which do not support PIC, -DPIC is meaningless:
8730 lt_prog_compiler_pic
=
8733 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8737 $as_echo "$lt_prog_compiler_pic" >&6; }
8745 # Check to make sure the PIC flag actually works.
8747 if test -n "$lt_prog_compiler_pic"; then
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8749 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8750 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8751 $as_echo_n "(cached) " >&6
8753 lt_cv_prog_compiler_pic_works
=no
8754 ac_outfile
=conftest.
$ac_objext
8755 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8756 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8757 # Insert the option either (1) after the last *FLAGS variable, or
8758 # (2) before a word containing "conftest.", or (3) at the end.
8759 # Note that $ac_compile itself does not contain backslashes and begins
8760 # with a dollar sign (not a hyphen), so the echo should work correctly.
8761 # The option is referenced via a variable to avoid confusing sed.
8762 lt_compile
=`echo "$ac_compile" | $SED \
8763 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8764 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8765 -e 's:$: $lt_compiler_flag:'`
8766 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8767 (eval "$lt_compile" 2>conftest.err
)
8769 cat conftest.err
>&5
8770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771 if (exit $ac_status) && test -s "$ac_outfile"; then
8772 # The compiler can only warn and ignore the option if not recognized
8773 # So say no if there are warnings other than the usual output.
8774 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8775 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8776 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8777 lt_cv_prog_compiler_pic_works
=yes
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8784 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8786 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8787 case $lt_prog_compiler_pic in
8789 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8792 lt_prog_compiler_pic
=
8793 lt_prog_compiler_can_build_shared
=no
8804 # Check to make sure the static flag actually works.
8806 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8808 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8809 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8810 $as_echo_n "(cached) " >&6
8812 lt_cv_prog_compiler_static_works
=no
8813 save_LDFLAGS
="$LDFLAGS"
8814 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8815 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8816 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8817 # The linker can only warn and ignore the option if not recognized
8818 # So say no if there are warnings
8819 if test -s conftest.err
; then
8820 # Append any errors to the config.log.
8821 cat conftest.err
1>&5
8822 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8823 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8824 if diff conftest.exp conftest.er2
>/dev
/null
; then
8825 lt_cv_prog_compiler_static_works
=yes
8828 lt_cv_prog_compiler_static_works
=yes
8832 LDFLAGS
="$save_LDFLAGS"
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8836 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8838 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8841 lt_prog_compiler_static
=
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8851 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8852 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8853 $as_echo_n "(cached) " >&6
8855 lt_cv_prog_compiler_c_o
=no
8856 $RM -r conftest
2>/dev
/null
8860 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8862 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8863 # Insert the option either (1) after the last *FLAGS variable, or
8864 # (2) before a word containing "conftest.", or (3) at the end.
8865 # Note that $ac_compile itself does not contain backslashes and begins
8866 # with a dollar sign (not a hyphen), so the echo should work correctly.
8867 lt_compile
=`echo "$ac_compile" | $SED \
8868 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8869 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8870 -e 's:$: $lt_compiler_flag:'`
8871 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8872 (eval "$lt_compile" 2>out
/conftest.err
)
8874 cat out
/conftest.err
>&5
8875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8876 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8878 # The compiler can only warn and ignore the option if not recognized
8879 # So say no if there are warnings
8880 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8881 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8882 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8883 lt_cv_prog_compiler_c_o
=yes
8888 # SGI C++ compiler will create directory out/ii_files/ for
8889 # template instantiation
8890 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8891 $RM out
/* && rmdir out
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8898 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8906 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8907 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8908 $as_echo_n "(cached) " >&6
8910 lt_cv_prog_compiler_c_o
=no
8911 $RM -r conftest
2>/dev
/null
8915 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8917 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8918 # Insert the option either (1) after the last *FLAGS variable, or
8919 # (2) before a word containing "conftest.", or (3) at the end.
8920 # Note that $ac_compile itself does not contain backslashes and begins
8921 # with a dollar sign (not a hyphen), so the echo should work correctly.
8922 lt_compile
=`echo "$ac_compile" | $SED \
8923 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8924 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8925 -e 's:$: $lt_compiler_flag:'`
8926 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8927 (eval "$lt_compile" 2>out
/conftest.err
)
8929 cat out
/conftest.err
>&5
8930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8933 # The compiler can only warn and ignore the option if not recognized
8934 # So say no if there are warnings
8935 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8936 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8937 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8938 lt_cv_prog_compiler_c_o
=yes
8943 # SGI C++ compiler will create directory out/ii_files/ for
8944 # template instantiation
8945 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8946 $RM out
/* && rmdir out
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8953 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8958 hard_links
="nottested"
8959 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8960 # do not overwrite the value of need_locks provided by the user
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8962 $as_echo_n "checking if we can lock with hard links... " >&6; }
8965 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8967 ln conftest.a conftest.b
2>&5 || hard_links
=no
8968 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8970 $as_echo "$hard_links" >&6; }
8971 if test "$hard_links" = no
; then
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8973 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8986 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8989 allow_undefined_flag
=
8990 always_export_symbols
=no
8992 archive_expsym_cmds
=
8993 compiler_needs_object
=no
8994 enable_shared_with_static_runtimes
=no
8995 export_dynamic_flag_spec
=
8996 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8997 hardcode_automatic
=no
8999 hardcode_direct_absolute
=no
9000 hardcode_libdir_flag_spec
=
9001 hardcode_libdir_flag_spec_ld
=
9002 hardcode_libdir_separator
=
9004 hardcode_shlibpath_var
=unsupported
9006 link_all_deplibs
=unknown
9009 old_archive_from_new_cmds
=
9010 old_archive_from_expsyms_cmds
=
9011 thread_safe_flag_spec
=
9012 whole_archive_flag_spec
=
9013 # include_expsyms should be a list of space-separated symbols to be *always*
9014 # included in the symbol list
9016 # exclude_expsyms can be an extended regexp of symbols to exclude
9017 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9018 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9019 # as well as any symbol that contains `d'.
9020 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9021 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9022 # platforms (ab)use it in PIC code, but their linkers get confused if
9023 # the symbol is explicitly referenced. Since portable code cannot
9024 # rely on this symbol name, it's probably fine to never include it in
9025 # preloaded symbol tables.
9026 # Exclude shared library initialization/finalization symbols.
9027 extract_expsyms_cmds
=
9030 cygwin
* | mingw
* | pw32
* | cegcc
*)
9031 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9032 # When not using gcc, we currently assume that we are using
9033 # Microsoft Visual C++.
9034 if test "$GCC" != yes; then
9039 # we just hope/assume this is gcc and not c89 (= MSVC++)
9049 # On some targets, GNU ld is compatible enough with the native linker
9050 # that we're better off using the native interface for both.
9051 lt_use_gnu_ld_interface
=no
9052 if test "$with_gnu_ld" = yes; then
9055 # The AIX port of GNU ld has always aspired to compatibility
9056 # with the native linker. However, as the warning in the GNU ld
9057 # block says, versions before 2.19.5* couldn't really create working
9058 # shared libraries, regardless of the interface used.
9059 case `$LD -v 2>&1` in
9060 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9061 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9062 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9064 lt_use_gnu_ld_interface
=yes
9069 lt_use_gnu_ld_interface
=yes
9074 if test "$lt_use_gnu_ld_interface" = yes; then
9075 # If archive_cmds runs LD, not CC, wlarc should be empty
9078 # Set some defaults for GNU ld with shared library support. These
9079 # are reset later if shared libraries are not supported. Putting them
9080 # here allows them to be overridden if necessary.
9081 runpath_var
=LD_RUN_PATH
9082 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9083 export_dynamic_flag_spec
='${wl}--export-dynamic'
9084 # ancient GNU ld didn't support --whole-archive et. al.
9085 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9086 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9088 whole_archive_flag_spec
=
9090 supports_anon_versioning
=no
9091 case `$LD -v 2>&1` in
9092 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9093 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9094 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9095 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9096 *\
2.11.
*) ;; # other 2.11 versions
9097 *) supports_anon_versioning
=yes ;;
9100 # See if GNU ld supports shared libraries.
9103 # On AIX/PPC, the GNU linker is very broken
9104 if test "$host_cpu" != ia64
; then
9108 *** Warning: the GNU linker, at least up to release 2.19, is reported
9109 *** to be unable to reliably create shared libraries on AIX.
9110 *** Therefore, libtool is disabling shared libraries support. If you
9111 *** really care for shared libraries, you may want to install binutils
9112 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9113 *** You will then need to restart the configuration process.
9122 # see comment about AmigaOS4 .so support
9123 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9124 archive_expsym_cmds
=''
9127 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)'
9128 hardcode_libdir_flag_spec
='-L$libdir'
9129 hardcode_minus_L
=yes
9135 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9136 allow_undefined_flag
=unsupported
9137 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9138 # support --undefined. This deserves some investigation. FIXME
9139 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9145 cygwin
* | mingw
* | pw32
* | cegcc
*)
9146 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9147 # as there is no search path for DLLs.
9148 hardcode_libdir_flag_spec
='-L$libdir'
9149 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9150 allow_undefined_flag
=unsupported
9151 always_export_symbols
=no
9152 enable_shared_with_static_runtimes
=yes
9153 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9155 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9156 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9157 # If the export-symbols file already is a .def file (1st line
9158 # is EXPORTS), use it as is; otherwise, prepend...
9159 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9160 cp $export_symbols $output_objdir/$soname.def;
9162 echo EXPORTS > $output_objdir/$soname.def;
9163 cat $export_symbols >> $output_objdir/$soname.def;
9165 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9172 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9173 link_all_deplibs
=yes
9178 hardcode_shlibpath_var
=no
9179 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9180 export_dynamic_flag_spec
='${wl}-E'
9181 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9182 # Instead, shared libraries are loaded at an image base (0x10000000 by
9183 # default) and relocated if they conflict, which is a slow very memory
9184 # consuming and fragmenting process. To avoid this, we pick a random,
9185 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9186 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9187 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9188 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'
9191 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
9193 if test "$host_os" = linux-dietlibc
; then
9194 case $cc_basename in
9195 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9198 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9199 && test "$tmp_diet" = no
9201 tmp_addflag
=' $pic_flag'
9202 tmp_sharedflag
='-shared'
9203 case $cc_basename,$host_cpu in
9204 pgcc
*) # Portland Group C compiler
9205 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'
9206 tmp_addflag
=' $pic_flag'
9208 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9209 # Portland Group f77 and f90 compilers
9210 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'
9211 tmp_addflag
=' $pic_flag -Mnomain' ;;
9212 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9213 tmp_addflag
=' -i_dynamic' ;;
9214 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9215 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9216 ifc
* | ifort
*) # Intel Fortran compiler
9217 tmp_addflag
=' -nofor_main' ;;
9218 lf95
*) # Lahey Fortran 8.1
9219 whole_archive_flag_spec
=
9220 tmp_sharedflag
='--shared' ;;
9221 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9222 tmp_sharedflag
='-qmkshrobj'
9224 nvcc
*) # Cuda Compiler Driver 2.2
9225 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'
9226 compiler_needs_object
=yes
9229 case `$CC -V 2>&1 | sed 5q` in
9230 *Sun\ C
*) # Sun C 5.9
9231 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'
9232 compiler_needs_object
=yes
9233 tmp_sharedflag
='-G' ;;
9234 *Sun\ F
*) # Sun Fortran 8.3
9235 tmp_sharedflag
='-G' ;;
9237 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9239 if test "x$supports_anon_versioning" = xyes
; then
9240 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9241 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9242 echo "local: *; };" >> $output_objdir/$libname.ver~
9243 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9246 case $cc_basename in
9247 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9248 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9249 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9250 hardcode_libdir_flag_spec
=
9251 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9252 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9253 if test "x$supports_anon_versioning" = xyes
; then
9254 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9255 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9256 echo "local: *; };" >> $output_objdir/$libname.ver~
9257 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9267 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9268 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9271 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9272 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9277 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9281 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9282 *** create shared libraries on Solaris systems. Therefore, libtool
9283 *** is disabling shared libraries support. We urge you to upgrade GNU
9284 *** binutils to release 2.9.1 or newer. Another option is to modify
9285 *** your PATH or compiler configuration so that the native linker is
9286 *** used, and then restart.
9289 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9290 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9291 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9297 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9298 case `$LD -v 2>&1` in
9299 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9303 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9304 *** reliably create shared libraries on SCO systems. Therefore, libtool
9305 *** is disabling shared libraries support. We urge you to upgrade GNU
9306 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9307 *** your PATH or compiler configuration so that the native linker is
9308 *** used, and then restart.
9313 # For security reasons, it is highly recommended that you always
9314 # use absolute paths for naming shared libraries, and exclude the
9315 # DT_RUNPATH tag from executables and libraries. But doing so
9316 # requires that you compile everything twice, which is a pain.
9317 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9318 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9319 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9320 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9329 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9332 hardcode_shlibpath_var
=no
9336 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9337 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9338 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9345 if test "$ld_shlibs" = no
; then
9347 hardcode_libdir_flag_spec
=
9348 export_dynamic_flag_spec
=
9349 whole_archive_flag_spec
=
9352 # PORTME fill in a description of your system's linker (not GNU ld)
9355 allow_undefined_flag
=unsupported
9356 always_export_symbols
=yes
9357 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'
9358 # Note: this linker hardcodes the directories in LIBPATH if there
9359 # are no directories specified by -L.
9360 hardcode_minus_L
=yes
9361 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9362 # Neither direct hardcoding nor static linking is supported with a
9364 hardcode_direct
=unsupported
9369 if test "$host_cpu" = ia64
; then
9370 # On IA64, the linker does run time linking by default, so we don't
9371 # have to do anything special.
9372 aix_use_runtimelinking
=no
9373 exp_sym_flag
='-Bexport'
9376 # If we're using GNU nm, then we don't want the "-C" option.
9377 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9378 # Also, AIX nm treats weak defined symbols like other global
9379 # defined symbols, whereas GNU nm marks them as "W".
9380 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9381 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'
9383 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'
9385 aix_use_runtimelinking
=no
9387 # Test if we are trying to use run time linking or normal
9388 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9389 # need to do runtime linking.
9390 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9391 for ld_flag
in $LDFLAGS; do
9392 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9393 aix_use_runtimelinking
=yes
9400 exp_sym_flag
='-bexport'
9401 no_entry_flag
='-bnoentry'
9404 # When large executables or shared objects are built, AIX ld can
9405 # have problems creating the table of contents. If linking a library
9406 # or program results in "error TOC overflow" add -mminimal-toc to
9407 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9408 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9412 hardcode_direct_absolute
=yes
9413 hardcode_libdir_separator
=':'
9414 link_all_deplibs
=yes
9415 file_list_spec
='${wl}-f,'
9417 if test "$GCC" = yes; then
9418 case $host_os in aix4.
[012]|aix4.
[012].
*)
9419 # We only want to do this on AIX 4.2 and lower, the check
9420 # below for broken collect2 doesn't work under 4.3+
9421 collect2name
=`${CC} -print-prog-name=collect2`
9422 if test -f "$collect2name" &&
9423 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9425 # We have reworked collect2
9428 # We have old collect2
9429 hardcode_direct
=unsupported
9430 # It fails to find uninstalled libraries when the uninstalled
9431 # path is not listed in the libpath. Setting hardcode_minus_L
9432 # to unsupported forces relinking
9433 hardcode_minus_L
=yes
9434 hardcode_libdir_flag_spec
='-L$libdir'
9435 hardcode_libdir_separator
=
9439 shared_flag
='-shared'
9440 if test "$aix_use_runtimelinking" = yes; then
9441 shared_flag
="$shared_flag "'${wl}-G'
9445 if test "$host_cpu" = ia64
; then
9446 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9447 # chokes on -Wl,-G. The following line is correct:
9450 if test "$aix_use_runtimelinking" = yes; then
9451 shared_flag
='${wl}-G'
9453 shared_flag
='${wl}-bM:SRE'
9458 export_dynamic_flag_spec
='${wl}-bexpall'
9459 # It seems that -bexpall does not export symbols beginning with
9460 # underscore (_), so it is better to generate a list of symbols to export.
9461 always_export_symbols
=yes
9462 if test "$aix_use_runtimelinking" = yes; then
9463 # Warning - without using the other runtime loading flags (-brtl),
9464 # -berok will link without error, but may produce a broken library.
9465 allow_undefined_flag
='-berok'
9466 # Determine the default libpath from the value encoded in an
9468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9479 if ac_fn_c_try_link
"$LINENO"; then :
9481 lt_aix_libpath_sed
='
9482 /Import File Strings/,/^$/ {
9488 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9489 # Check for a 64-bit object if we didn't find anything.
9490 if test -z "$aix_libpath"; then
9491 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9494 rm -f core conftest.err conftest.
$ac_objext \
9495 conftest
$ac_exeext conftest.
$ac_ext
9496 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9498 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9499 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"
9501 if test "$host_cpu" = ia64
; then
9502 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9503 allow_undefined_flag
="-z nodefs"
9504 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"
9506 # Determine the default libpath from the value encoded in an
9508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9509 /* end confdefs.h. */
9519 if ac_fn_c_try_link
"$LINENO"; then :
9521 lt_aix_libpath_sed
='
9522 /Import File Strings/,/^$/ {
9528 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9529 # Check for a 64-bit object if we didn't find anything.
9530 if test -z "$aix_libpath"; then
9531 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9534 rm -f core conftest.err conftest.
$ac_objext \
9535 conftest
$ac_exeext conftest.
$ac_ext
9536 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9538 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9539 # Warning - without using the other run time loading flags,
9540 # -berok will link without error, but may produce a broken library.
9541 no_undefined_flag
=' ${wl}-bernotok'
9542 allow_undefined_flag
=' ${wl}-berok'
9543 if test "$with_gnu_ld" = yes; then
9544 # We only use this code for GNU lds that support --whole-archive.
9545 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9547 # Exported symbols can be pulled into shared objects from archives
9548 whole_archive_flag_spec
='$convenience'
9550 archive_cmds_need_lc
=yes
9551 # This is similar to how AIX traditionally builds its shared libraries.
9552 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'
9560 # see comment about AmigaOS4 .so support
9561 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9562 archive_expsym_cmds
=''
9565 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)'
9566 hardcode_libdir_flag_spec
='-L$libdir'
9567 hardcode_minus_L
=yes
9573 export_dynamic_flag_spec
=-rdynamic
9576 cygwin
* | mingw
* | pw32
* | cegcc
*)
9577 # When not using gcc, we currently assume that we are using
9578 # Microsoft Visual C++.
9579 # hardcode_libdir_flag_spec is actually meaningless, as there is
9580 # no search path for DLLs.
9581 hardcode_libdir_flag_spec
=' '
9582 allow_undefined_flag
=unsupported
9583 # Tell ltmain to make .lib files, not .a files.
9585 # Tell ltmain to make .dll files, not .so files.
9587 # FIXME: Setting linknames here is a bad hack.
9588 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9589 # The linker will automatically build a .lib file if we build a DLL.
9590 old_archive_from_new_cmds
='true'
9591 # FIXME: Should let the user specify the lib program.
9592 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9593 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9594 enable_shared_with_static_runtimes
=yes
9597 darwin
* | rhapsody
*)
9601 # Publish an arg to allow the user to select that Darwin host (and target)
9602 # libraries should be given install-names like @rpath/libfoo.dylib. This
9603 # requires that the user of the library then adds an 'rpath' to the DSO that
9605 # NOTE: there are defaults below, for systems that support rpaths. The person
9606 # configuring can override the defaults for any system version that supports
9607 # them - they are, however, forced off for system versions without support.
9608 # Check whether --enable-darwin-at-rpath was given.
9609 if test "${enable_darwin_at_rpath+set}" = set; then :
9610 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
9611 # This is not supported before macOS 10.5 / Darwin9.
9612 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
9613 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
9615 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
9616 enable_darwin_at_rpath
=no
9621 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
9622 # As above, before 10.5 / Darwin9 this does not work.
9623 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
9624 enable_darwin_at_rpath
=no
9627 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
9628 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
9629 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
9630 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
9632 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
9633 enable_darwin_at_rpath
=yes
9635 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
9636 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
9643 archive_cmds_need_lc
=no
9645 hardcode_automatic
=yes
9646 hardcode_shlibpath_var
=unsupported
9647 if test "$lt_cv_ld_force_load" = "yes"; then
9648 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\"`'
9650 whole_archive_flag_spec
=''
9652 link_all_deplibs
=yes
9653 allow_undefined_flag
="$_lt_dar_allow_undefined"
9654 case $cc_basename in
9655 ifort
*) _lt_dar_can_shared
=yes ;;
9656 *) _lt_dar_can_shared
=$GCC ;;
9658 if test "$_lt_dar_can_shared" = "yes"; then
9659 output_verbose_link_cmd
=func_echo_all
9660 _lt_install_name
='\$rpath/\$soname'
9661 if test "x$enable_darwin_at_rpath" = "xyes"; then
9662 _lt_install_name
='@rpath/\$soname'
9664 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
9665 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9666 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
9667 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}"
9676 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9677 hardcode_libdir_flag_spec
='-L$libdir'
9678 hardcode_shlibpath_var
=no
9681 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9682 # support. Future versions do this automatically, but an explicit c++rt0.o
9683 # does not break anything, and helps significantly (at the cost of a little
9686 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9687 hardcode_libdir_flag_spec
='-R$libdir'
9689 hardcode_shlibpath_var
=no
9692 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9694 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9696 hardcode_minus_L
=yes
9697 hardcode_shlibpath_var
=no
9700 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9701 freebsd
* | dragonfly
*)
9702 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9703 hardcode_libdir_flag_spec
='-R$libdir'
9705 hardcode_shlibpath_var
=no
9709 if test "$GCC" = yes; then
9710 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'
9712 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'
9714 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9715 hardcode_libdir_separator
=:
9718 # hardcode_minus_L: Not really in the search PATH,
9719 # but as the default location of the library.
9720 hardcode_minus_L
=yes
9721 export_dynamic_flag_spec
='${wl}-E'
9725 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9726 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9728 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9730 if test "$with_gnu_ld" = no
; then
9731 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9732 hardcode_libdir_flag_spec_ld
='+b $libdir'
9733 hardcode_libdir_separator
=:
9735 hardcode_direct_absolute
=yes
9736 export_dynamic_flag_spec
='${wl}-E'
9737 # hardcode_minus_L: Not really in the search PATH,
9738 # but as the default location of the library.
9739 hardcode_minus_L
=yes
9744 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9747 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9750 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9753 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9759 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9762 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9766 # Older versions of the 11.00 compiler do not understand -b yet
9767 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9769 $as_echo_n "checking if $CC understands -b... " >&6; }
9770 if ${lt_cv_prog_compiler__b+:} false
; then :
9771 $as_echo_n "(cached) " >&6
9773 lt_cv_prog_compiler__b
=no
9774 save_LDFLAGS
="$LDFLAGS"
9775 LDFLAGS
="$LDFLAGS -b"
9776 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9777 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9778 # The linker can only warn and ignore the option if not recognized
9779 # So say no if there are warnings
9780 if test -s conftest.err
; then
9781 # Append any errors to the config.log.
9782 cat conftest.err
1>&5
9783 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9784 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9785 if diff conftest.exp conftest.er2
>/dev
/null
; then
9786 lt_cv_prog_compiler__b
=yes
9789 lt_cv_prog_compiler__b
=yes
9793 LDFLAGS
="$save_LDFLAGS"
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9797 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9799 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9800 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9802 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9808 if test "$with_gnu_ld" = no
; then
9809 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9810 hardcode_libdir_separator
=:
9815 hardcode_shlibpath_var
=no
9819 hardcode_direct_absolute
=yes
9820 export_dynamic_flag_spec
='${wl}-E'
9822 # hardcode_minus_L: Not really in the search PATH,
9823 # but as the default location of the library.
9824 hardcode_minus_L
=yes
9830 irix5
* | irix6
* | nonstopux
*)
9831 if test "$GCC" = yes; then
9832 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'
9833 # Try to use the -exported_symbol ld option, if it does not
9834 # work, assume that -exports_file does not work either and
9835 # implicitly export all symbols.
9836 save_LDFLAGS
="$LDFLAGS"
9837 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9839 /* end confdefs.h. */
9842 if ac_fn_c_try_link
"$LINENO"; then :
9843 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'
9846 rm -f core conftest.err conftest.
$ac_objext \
9847 conftest
$ac_exeext conftest.
$ac_ext
9848 LDFLAGS
="$save_LDFLAGS"
9850 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'
9851 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'
9853 archive_cmds_need_lc
='no'
9854 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9855 hardcode_libdir_separator
=:
9857 link_all_deplibs
=yes
9861 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9862 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9864 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9866 hardcode_libdir_flag_spec
='-R$libdir'
9868 hardcode_shlibpath_var
=no
9872 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9874 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9875 hardcode_libdir_separator
=:
9876 hardcode_shlibpath_var
=no
9883 if test -f /usr
/libexec
/ld.so
; then
9885 hardcode_shlibpath_var
=no
9886 hardcode_direct_absolute
=yes
9887 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9888 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9889 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9890 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9891 export_dynamic_flag_spec
='${wl}-E'
9894 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9895 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9896 hardcode_libdir_flag_spec
='-R$libdir'
9899 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9900 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9910 hardcode_libdir_flag_spec
='-L$libdir'
9911 hardcode_minus_L
=yes
9912 allow_undefined_flag
=unsupported
9913 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'
9914 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9918 if test "$GCC" = yes; then
9919 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9920 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'
9922 allow_undefined_flag
=' -expect_unresolved \*'
9923 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'
9925 archive_cmds_need_lc
='no'
9926 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9927 hardcode_libdir_separator
=:
9930 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9931 if test "$GCC" = yes; then
9932 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9933 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'
9934 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9936 allow_undefined_flag
=' -expect_unresolved \*'
9937 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'
9938 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~
9939 $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'
9941 # Both c and cxx compiler support -rpath directly
9942 hardcode_libdir_flag_spec
='-rpath $libdir'
9944 archive_cmds_need_lc
='no'
9945 hardcode_libdir_separator
=:
9949 no_undefined_flag
=' -z defs'
9950 if test "$GCC" = yes; then
9952 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9953 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9954 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9956 case `$CC -V 2>&1` in
9959 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9960 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9961 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9965 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9966 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9967 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9971 hardcode_libdir_flag_spec
='-R$libdir'
9972 hardcode_shlibpath_var
=no
9974 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9976 # The compiler driver will combine and reorder linker options,
9977 # but understands `-z linker_flag'. GCC discards it without `$wl',
9978 # but is careful enough not to reorder.
9979 # Supported since Solaris 2.6 (maybe 2.5.1?)
9980 if test "$GCC" = yes; then
9981 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9983 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9987 link_all_deplibs
=yes
9991 if test "x$host_vendor" = xsequent
; then
9992 # Use $CC to link under sequent, because it throws in some extra .o
9993 # files that make .init and .fini sections work.
9994 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9996 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9998 hardcode_libdir_flag_spec
='-L$libdir'
10000 hardcode_minus_L
=yes
10001 hardcode_shlibpath_var
=no
10005 case $host_vendor in
10007 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10008 hardcode_direct
=yes # is this really true???
10011 ## LD is ld it makes a PLAMLIB
10012 ## CC just makes a GrossModule.
10013 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10014 reload_cmds
='$CC -r -o $output$reload_objs'
10018 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10019 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10022 runpath_var
='LD_RUN_PATH'
10023 hardcode_shlibpath_var
=no
10027 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028 hardcode_shlibpath_var
=no
10029 export_dynamic_flag_spec
='-Bexport'
10033 if test -d /usr
/nec
; then
10034 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10035 hardcode_shlibpath_var
=no
10036 runpath_var
=LD_RUN_PATH
10037 hardcode_runpath_var
=yes
10042 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10043 no_undefined_flag
='${wl}-z,text'
10044 archive_cmds_need_lc
=no
10045 hardcode_shlibpath_var
=no
10046 runpath_var
='LD_RUN_PATH'
10048 if test "$GCC" = yes; then
10049 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10050 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10052 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10053 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10057 sysv5
* | sco3.2v5
* | sco5v6
*)
10058 # Note: We can NOT use -z defs as we might desire, because we do not
10059 # link with -lc, and that would cause any symbols used from libc to
10060 # always be unresolved, which means just about no library would
10061 # ever link correctly. If we're not using GNU ld we use -z text
10062 # though, which does catch some bad symbols but isn't as heavy-handed
10064 no_undefined_flag
='${wl}-z,text'
10065 allow_undefined_flag
='${wl}-z,nodefs'
10066 archive_cmds_need_lc
=no
10067 hardcode_shlibpath_var
=no
10068 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10069 hardcode_libdir_separator
=':'
10070 link_all_deplibs
=yes
10071 export_dynamic_flag_spec
='${wl}-Bexport'
10072 runpath_var
='LD_RUN_PATH'
10074 if test "$GCC" = yes; then
10075 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10076 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10078 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10079 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10084 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10085 hardcode_libdir_flag_spec
='-L$libdir'
10086 hardcode_shlibpath_var
=no
10094 if test x
$host_vendor = xsni
; then
10096 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10097 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10104 $as_echo "$ld_shlibs" >&6; }
10105 test "$ld_shlibs" = no
&& can_build_shared
=no
10107 with_gnu_ld
=$with_gnu_ld
10124 # Do we need to explicitly link libc?
10126 case "x$archive_cmds_need_lc" in
10128 # Assume -lc should be added
10129 archive_cmds_need_lc
=yes
10131 if test "$enable_shared" = yes && test "$GCC" = yes; then
10132 case $archive_cmds in
10134 # FIXME: we may have to deal with multi-command sequences.
10137 # Test whether the compiler implicitly links with -lc since on some
10138 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10139 # to ld, don't add -lc before -lgcc.
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10141 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10142 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10143 $as_echo_n "(cached) " >&6
10146 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10148 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10149 (eval $ac_compile) 2>&5
10151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10152 test $ac_status = 0; } 2>conftest.err
; then
10155 libobjs
=conftest.
$ac_objext
10157 wl
=$lt_prog_compiler_wl
10158 pic_flag
=$lt_prog_compiler_pic
10164 lt_save_allow_undefined_flag
=$allow_undefined_flag
10165 allow_undefined_flag
=
10166 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10167 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10170 test $ac_status = 0; }
10172 lt_cv_archive_cmds_need_lc
=no
10174 lt_cv_archive_cmds_need_lc
=yes
10176 allow_undefined_flag
=$lt_save_allow_undefined_flag
10178 cat conftest.err
1>&5
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10184 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10185 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10349 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10351 if test "$GCC" = yes; then
10353 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10354 *) lt_awk_arg
="/^libraries:/" ;;
10357 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10358 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10360 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10361 case $lt_search_path_spec in
10363 # if the path contains ";" then we assume it to be the separator
10364 # otherwise default to the standard path separator (i.e. ":") - it is
10365 # assumed that no part of a normal pathname contains ";" but that should
10366 # okay in the real world where ";" in dirpaths is itself problematic.
10367 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10370 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10373 # Ok, now we have the path, separated by spaces, we can step through it
10374 # and add multilib dir if necessary.
10375 lt_tmp_lt_search_path_spec
=
10376 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10377 for lt_sys_path
in $lt_search_path_spec; do
10378 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10379 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10381 test -d "$lt_sys_path" && \
10382 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10385 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10386 BEGIN {RS=" "; FS="/|\n";} {
10389 for (lt_i = NF; lt_i > 0; lt_i--) {
10390 if ($lt_i != "" && $lt_i != ".") {
10391 if ($lt_i == "..") {
10394 if (lt_count == 0) {
10395 lt_foo="/" $lt_i lt_foo;
10402 if (lt_foo != "") { lt_freq[lt_foo]++; }
10403 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10405 # AWK program above erroneously prepends '/' to C:/dos/paths
10408 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10409 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10411 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10413 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10415 library_names_spec
=
10416 libname_spec
='lib$name'
10420 postuninstall_cmds
=
10424 shlibpath_overrides_runpath
=unknown
10426 dynamic_linker
="$host_os ld.so"
10427 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10428 need_lib_prefix
=unknown
10429 hardcode_into_libs
=no
10431 # when you set need_version to no, make sure it does not cause -set_version
10432 # flags to be left without arguments
10433 need_version
=unknown
10438 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10439 shlibpath_var
=LIBPATH
10441 # AIX 3 has no versioning support, so we append a major version to the name.
10442 soname_spec
='${libname}${release}${shared_ext}$major'
10449 hardcode_into_libs
=yes
10450 if test "$host_cpu" = ia64
; then
10451 # AIX 5 supports IA64
10452 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10453 shlibpath_var
=LD_LIBRARY_PATH
10455 # With GCC up to 2.95.x, collect2 would create an import file
10456 # for dependence libraries. The import file would start with
10457 # the line `#! .'. This would cause the generated library to
10458 # depend on `.', always an invalid library. This was fixed in
10459 # development snapshots of GCC prior to 3.0.
10461 aix4 | aix4.
[01] | aix4.
[01].
*)
10462 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10464 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10467 can_build_shared
=no
10471 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10472 # soname into executable. Probably we can add versioning support to
10473 # collect2, so additional links can be useful in future.
10474 if test "$aix_use_runtimelinking" = yes; then
10475 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10476 # instead of lib<name>.a to let people know that these are not
10477 # typical AIX shared libraries.
10478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10480 # We preserve .a as extension for shared libraries through AIX4.2
10481 # and later when we are not doing run time linking.
10482 library_names_spec
='${libname}${release}.a $libname.a'
10483 soname_spec
='${libname}${release}${shared_ext}$major'
10485 shlibpath_var
=LIBPATH
10492 # Since July 2007 AmigaOS4 officially supports .so libraries.
10493 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10497 library_names_spec
='$libname.ixlibrary $libname.a'
10498 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10499 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'
10505 library_names_spec
='${libname}${shared_ext}'
10506 dynamic_linker
="$host_os ld.so"
10507 shlibpath_var
=LIBRARY_PATH
10513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10514 soname_spec
='${libname}${release}${shared_ext}$major'
10515 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10516 shlibpath_var
=LD_LIBRARY_PATH
10517 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10518 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10519 # the default ld.so.conf also contains /usr/contrib/lib and
10520 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10521 # libtool to hard-code these into programs
10524 cygwin
* | mingw
* | pw32
* | cegcc
*)
10525 version_type
=windows
10530 case $GCC,$host_os in
10531 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10532 library_names_spec
='$libname.dll.a'
10533 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10534 postinstall_cmds
='base_file=`basename \${file}`~
10535 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10536 dldir=$destdir/`dirname \$dlpath`~
10537 test -d \$dldir || mkdir -p \$dldir~
10538 $install_prog $dir/$dlname \$dldir/$dlname~
10539 chmod a+x \$dldir/$dlname~
10540 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10541 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10543 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10544 dlpath=$dir/\$dldll~
10546 shlibpath_overrides_runpath
=yes
10550 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10551 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10553 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10556 # MinGW DLLs use traditional 'lib' prefix
10557 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10560 # pw32 DLLs use 'pw' prefix rather than 'lib'
10561 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10567 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10570 dynamic_linker
='Win32 ld.exe'
10571 # FIXME: first we should search . and the directory the executable is in
10575 darwin
* | rhapsody
*)
10576 dynamic_linker
="$host_os dyld"
10577 version_type
=darwin
10580 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10581 soname_spec
='${libname}${release}${major}$shared_ext'
10582 shlibpath_overrides_runpath
=yes
10583 shlibpath_var
=DYLD_LIBRARY_PATH
10584 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10586 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10587 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10595 soname_spec
='${libname}${release}${shared_ext}$major'
10596 shlibpath_var
=LD_LIBRARY_PATH
10599 freebsd
* | dragonfly
*)
10600 # DragonFly does not have aout. When/if they implement a new
10601 # versioning mechanism, adjust this.
10602 if test -x /usr
/bin
/objformat
; then
10603 objformat
=`/usr/bin/objformat`
10606 freebsd
[23].
*) objformat
=aout
;;
10607 *) objformat
=elf
;;
10610 version_type
=freebsd-
$objformat
10611 case $version_type in
10613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10618 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10622 shlibpath_var
=LD_LIBRARY_PATH
10625 shlibpath_overrides_runpath
=yes
10627 freebsd3.
[01]* | freebsdelf3.
[01]*)
10628 shlibpath_overrides_runpath
=yes
10629 hardcode_into_libs
=yes
10631 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10632 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10633 shlibpath_overrides_runpath
=no
10634 hardcode_into_libs
=yes
10636 *) # from 4.6 on, and DragonFly
10637 shlibpath_overrides_runpath
=yes
10638 hardcode_into_libs
=yes
10647 dynamic_linker
="$host_os runtime_loader"
10648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10649 soname_spec
='${libname}${release}${shared_ext}$major'
10650 shlibpath_var
=LIBRARY_PATH
10651 shlibpath_overrides_runpath
=yes
10652 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10653 hardcode_into_libs
=yes
10656 hpux9
* | hpux10
* | hpux11
*)
10657 # Give a soname corresponding to the major version so that dld.sl refuses to
10658 # link against other versions.
10665 hardcode_into_libs
=yes
10666 dynamic_linker
="$host_os dld.so"
10667 shlibpath_var
=LD_LIBRARY_PATH
10668 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10670 soname_spec
='${libname}${release}${shared_ext}$major'
10671 if test "X$HPUX_IA64_MODE" = X32
; then
10672 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10674 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10676 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10680 hardcode_into_libs
=yes
10681 dynamic_linker
="$host_os dld.sl"
10682 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10683 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10684 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10685 soname_spec
='${libname}${release}${shared_ext}$major'
10686 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10687 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10691 dynamic_linker
="$host_os dld.sl"
10692 shlibpath_var
=SHLIB_PATH
10693 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10695 soname_spec
='${libname}${release}${shared_ext}$major'
10698 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10699 postinstall_cmds
='chmod 555 $lib'
10700 # or fails outright, so override atomically:
10701 install_override_mode
=555
10708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10709 soname_spec
='${libname}${release}${shared_ext}$major'
10710 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10711 shlibpath_var
=LD_LIBRARY_PATH
10712 shlibpath_overrides_runpath
=no
10713 hardcode_into_libs
=yes
10716 irix5
* | irix6
* | nonstopux
*)
10718 nonstopux
*) version_type
=nonstopux
;;
10720 if test "$lt_cv_prog_gnu_ld" = yes; then
10728 soname_spec
='${libname}${release}${shared_ext}$major'
10729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10731 irix5
* | nonstopux
*)
10732 libsuff
= shlibsuff
=
10735 case $LD in # libtool.m4 will add one of these switches to LD
10736 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10737 libsuff
= shlibsuff
= libmagic
=32-bit;;
10738 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10739 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10740 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10741 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10742 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10746 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10747 shlibpath_overrides_runpath
=no
10748 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10749 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10750 hardcode_into_libs
=yes
10753 # No shared lib support for Linux oldld, aout, or coff.
10754 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10758 # This must be Linux ELF.
10760 # uclinux* changes (here and below) have been submitted to the libtool
10761 # project, but have not yet been accepted: they are GCC-local changes
10762 # for the time being. (See
10763 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
10764 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
10768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10769 soname_spec
='${libname}${release}${shared_ext}$major'
10770 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10771 shlibpath_var
=LD_LIBRARY_PATH
10772 shlibpath_overrides_runpath
=no
10774 # Some binutils ld are patched to set DT_RUNPATH
10775 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10776 $as_echo_n "(cached) " >&6
10778 lt_cv_shlibpath_overrides_runpath
=no
10779 save_LDFLAGS
=$LDFLAGS
10780 save_libdir
=$libdir
10781 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10782 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10784 /* end confdefs.h. */
10794 if ac_fn_c_try_link
"$LINENO"; then :
10795 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10796 lt_cv_shlibpath_overrides_runpath
=yes
10799 rm -f core conftest.err conftest.
$ac_objext \
10800 conftest
$ac_exeext conftest.
$ac_ext
10801 LDFLAGS
=$save_LDFLAGS
10802 libdir
=$save_libdir
10806 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10808 # This implies no fast_install, which is unacceptable.
10809 # Some rework will be needed to allow for fast_install
10810 # before this can be enabled.
10811 hardcode_into_libs
=yes
10813 # Append ld.so.conf contents to the search path
10814 if test -f /etc
/ld.so.conf
; then
10815 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' ' '`
10816 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10819 # We used to test for /lib/ld.so.1 and disable shared libraries on
10820 # powerpc, because MkLinux only supported shared libraries with the
10821 # GNU dynamic linker. Since this was broken with cross compilers,
10822 # most powerpc-linux boxes support dynamic linking these days and
10823 # people can always --disable-shared, the test was removed, and we
10824 # assume the GNU/Linux dynamic linker is in use.
10825 dynamic_linker
='GNU/Linux ld.so'
10832 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10834 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10835 dynamic_linker
='NetBSD (a.out) ld.so'
10837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10838 soname_spec
='${libname}${release}${shared_ext}$major'
10839 dynamic_linker
='NetBSD ld.elf_so'
10841 shlibpath_var
=LD_LIBRARY_PATH
10842 shlibpath_overrides_runpath
=yes
10843 hardcode_into_libs
=yes
10848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10849 shlibpath_var
=LD_LIBRARY_PATH
10850 shlibpath_overrides_runpath
=yes
10857 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10858 soname_spec
='${libname}${release}${shared_ext}$major'
10859 shlibpath_var
=LD_LIBRARY_PATH
10860 shlibpath_overrides_runpath
=no
10861 hardcode_into_libs
=yes
10862 dynamic_linker
='ldqnx.so'
10867 sys_lib_dlsearch_path_spec
="/usr/lib"
10869 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10871 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10872 *) need_version
=no
;;
10874 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10875 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10876 shlibpath_var
=LD_LIBRARY_PATH
10877 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10879 openbsd2.
[89] | openbsd2.
[89].
*)
10880 shlibpath_overrides_runpath
=no
10883 shlibpath_overrides_runpath
=yes
10887 shlibpath_overrides_runpath
=yes
10892 libname_spec
='$name'
10895 library_names_spec
='$libname${shared_ext} $libname.a'
10896 dynamic_linker
='OS/2 ld.exe'
10897 shlibpath_var
=LIBPATH
10900 osf3
* | osf4
* | osf5
*)
10904 soname_spec
='${libname}${release}${shared_ext}$major'
10905 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906 shlibpath_var
=LD_LIBRARY_PATH
10907 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10908 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10920 soname_spec
='${libname}${release}${shared_ext}$major'
10921 shlibpath_var
=LD_LIBRARY_PATH
10922 shlibpath_overrides_runpath
=yes
10923 hardcode_into_libs
=yes
10924 # ldd complains unless libraries are executable
10925 postinstall_cmds
='chmod +x $lib'
10930 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10931 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10932 shlibpath_var
=LD_LIBRARY_PATH
10933 shlibpath_overrides_runpath
=yes
10934 if test "$with_gnu_ld" = yes; then
10942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10943 soname_spec
='${libname}${release}${shared_ext}$major'
10944 shlibpath_var
=LD_LIBRARY_PATH
10945 case $host_vendor in
10947 shlibpath_overrides_runpath
=no
10949 runpath_var
=LD_RUN_PATH
10957 shlibpath_overrides_runpath
=no
10958 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10964 if test -d /usr
/nec
;then
10966 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10967 soname_spec
='$libname${shared_ext}.$major'
10968 shlibpath_var
=LD_LIBRARY_PATH
10972 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10973 version_type
=freebsd-elf
10976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10977 soname_spec
='${libname}${release}${shared_ext}$major'
10978 shlibpath_var
=LD_LIBRARY_PATH
10979 shlibpath_overrides_runpath
=yes
10980 hardcode_into_libs
=yes
10981 if test "$with_gnu_ld" = yes; then
10982 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10984 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10987 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10991 sys_lib_dlsearch_path_spec
='/usr/lib'
10995 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11000 shlibpath_var
=LD_LIBRARY_PATH
11001 shlibpath_overrides_runpath
=no
11002 hardcode_into_libs
=yes
11007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11008 soname_spec
='${libname}${release}${shared_ext}$major'
11009 shlibpath_var
=LD_LIBRARY_PATH
11012 # Shared libraries for VwWorks, >= 7 only at this stage
11013 # and (fpic) still incompatible with "large" code models
11014 # in a few configurations. Only for RTP mode in any case,
11015 # and upon explicit request at configure time.
11018 case ${with_multisubdir}-${enable_shared} in
11025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11026 soname_spec
='${libname}${release}${shared_ext}$major'
11027 dynamic_linker
="$host_os module_loader"
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11036 $as_echo "$dynamic_linker" >&6; }
11037 test "$dynamic_linker" = no
&& can_build_shared
=no
11039 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11040 if test "$GCC" = yes; then
11041 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11044 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11045 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11047 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11048 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11143 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11145 if test -n "$hardcode_libdir_flag_spec" ||
11146 test -n "$runpath_var" ||
11147 test "X$hardcode_automatic" = "Xyes" ; then
11149 # We can hardcode non-existent directories.
11150 if test "$hardcode_direct" != no
&&
11151 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11152 # have to relink, otherwise we might link with an installed library
11153 # when we should be linking with a yet-to-be-installed one
11154 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11155 test "$hardcode_minus_L" != no
; then
11156 # Linking always hardcodes the temporary library directory.
11157 hardcode_action
=relink
11159 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11160 hardcode_action
=immediate
11163 # We cannot hardcode anything, or else we can only hardcode existing
11165 hardcode_action
=unsupported
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11168 $as_echo "$hardcode_action" >&6; }
11170 if test "$hardcode_action" = relink ||
11171 test "$inherit_rpath" = yes; then
11172 # Fast installation is not supported
11173 enable_fast_install
=no
11174 elif test "$shlibpath_overrides_runpath" = yes ||
11175 test "$enable_shared" = no
; then
11176 # Fast installation is not necessary
11177 enable_fast_install
=needless
11185 if test "x$enable_dlopen" != xyes
; then
11186 enable_dlopen
=unknown
11187 enable_dlopen_self
=unknown
11188 enable_dlopen_self_static
=unknown
11195 lt_cv_dlopen
="load_add_on"
11197 lt_cv_dlopen_self
=yes
11200 mingw
* | pw32
* | cegcc
*)
11201 lt_cv_dlopen
="LoadLibrary"
11206 lt_cv_dlopen
="dlopen"
11211 # if libdl is installed we need to link against it
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11213 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11214 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11215 $as_echo_n "(cached) " >&6
11217 ac_check_lib_save_LIBS
=$LIBS
11219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11220 /* end confdefs.h. */
11222 /* Override any GCC internal prototype to avoid an error.
11223 Use char because int might match the return type of a GCC
11224 builtin and then its argument prototype would still apply. */
11237 if ac_fn_c_try_link
"$LINENO"; then :
11238 ac_cv_lib_dl_dlopen
=yes
11240 ac_cv_lib_dl_dlopen
=no
11242 rm -f core conftest.err conftest.
$ac_objext \
11243 conftest
$ac_exeext conftest.
$ac_ext
11244 LIBS
=$ac_check_lib_save_LIBS
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11247 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11248 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11249 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11252 lt_cv_dlopen
="dyld"
11254 lt_cv_dlopen_self
=yes
11261 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11262 if test "x$ac_cv_func_shl_load" = xyes
; then :
11263 lt_cv_dlopen
="shl_load"
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11266 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11267 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11268 $as_echo_n "(cached) " >&6
11270 ac_check_lib_save_LIBS
=$LIBS
11272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11273 /* end confdefs.h. */
11275 /* Override any GCC internal prototype to avoid an error.
11276 Use char because int might match the return type of a GCC
11277 builtin and then its argument prototype would still apply. */
11285 return shl_load ();
11290 if ac_fn_c_try_link
"$LINENO"; then :
11291 ac_cv_lib_dld_shl_load
=yes
11293 ac_cv_lib_dld_shl_load
=no
11295 rm -f core conftest.err conftest.
$ac_objext \
11296 conftest
$ac_exeext conftest.
$ac_ext
11297 LIBS
=$ac_check_lib_save_LIBS
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11300 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11301 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11302 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11304 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11305 if test "x$ac_cv_func_dlopen" = xyes
; then :
11306 lt_cv_dlopen
="dlopen"
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11309 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11310 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11311 $as_echo_n "(cached) " >&6
11313 ac_check_lib_save_LIBS
=$LIBS
11315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11316 /* end confdefs.h. */
11318 /* Override any GCC internal prototype to avoid an error.
11319 Use char because int might match the return type of a GCC
11320 builtin and then its argument prototype would still apply. */
11333 if ac_fn_c_try_link
"$LINENO"; then :
11334 ac_cv_lib_dl_dlopen
=yes
11336 ac_cv_lib_dl_dlopen
=no
11338 rm -f core conftest.err conftest.
$ac_objext \
11339 conftest
$ac_exeext conftest.
$ac_ext
11340 LIBS
=$ac_check_lib_save_LIBS
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11343 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11344 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11345 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11348 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11349 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11350 $as_echo_n "(cached) " >&6
11352 ac_check_lib_save_LIBS
=$LIBS
11353 LIBS
="-lsvld $LIBS"
11354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11355 /* end confdefs.h. */
11357 /* Override any GCC internal prototype to avoid an error.
11358 Use char because int might match the return type of a GCC
11359 builtin and then its argument prototype would still apply. */
11372 if ac_fn_c_try_link
"$LINENO"; then :
11373 ac_cv_lib_svld_dlopen
=yes
11375 ac_cv_lib_svld_dlopen
=no
11377 rm -f core conftest.err conftest.
$ac_objext \
11378 conftest
$ac_exeext conftest.
$ac_ext
11379 LIBS
=$ac_check_lib_save_LIBS
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11382 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11383 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11384 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11387 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11388 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11389 $as_echo_n "(cached) " >&6
11391 ac_check_lib_save_LIBS
=$LIBS
11393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11396 /* Override any GCC internal prototype to avoid an error.
11397 Use char because int might match the return type of a GCC
11398 builtin and then its argument prototype would still apply. */
11406 return dld_link ();
11411 if ac_fn_c_try_link
"$LINENO"; then :
11412 ac_cv_lib_dld_dld_link
=yes
11414 ac_cv_lib_dld_dld_link
=no
11416 rm -f core conftest.err conftest.
$ac_objext \
11417 conftest
$ac_exeext conftest.
$ac_ext
11418 LIBS
=$ac_check_lib_save_LIBS
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11421 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11422 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11423 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11444 if test "x$lt_cv_dlopen" != xno
; then
11450 case $lt_cv_dlopen in
11452 save_CPPFLAGS
="$CPPFLAGS"
11453 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11455 save_LDFLAGS
="$LDFLAGS"
11456 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11459 LIBS
="$lt_cv_dlopen_libs $LIBS"
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11462 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11463 if ${lt_cv_dlopen_self+:} false
; then :
11464 $as_echo_n "(cached) " >&6
11466 if test "$cross_compiling" = yes; then :
11467 lt_cv_dlopen_self
=cross
11469 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11470 lt_status
=$lt_dlunknown
11471 cat > conftest.
$ac_ext <<_LT_EOF
11472 #line 11472 "configure"
11473 #include "confdefs.h"
11482 # define LT_DLGLOBAL RTLD_GLOBAL
11485 # define LT_DLGLOBAL DL_GLOBAL
11487 # define LT_DLGLOBAL 0
11491 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11492 find out it does not work in some platform. */
11493 #ifndef LT_DLLAZY_OR_NOW
11495 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11498 # define LT_DLLAZY_OR_NOW DL_LAZY
11501 # define LT_DLLAZY_OR_NOW RTLD_NOW
11504 # define LT_DLLAZY_OR_NOW DL_NOW
11506 # define LT_DLLAZY_OR_NOW 0
11513 /* When -fvisbility=hidden is used, assume the code has been annotated
11514 correspondingly for the symbols needed. */
11515 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11516 void fnord () __attribute__((visibility("default")));
11519 void fnord () { int i=42; }
11522 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11523 int status = $lt_dlunknown;
11527 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11530 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11531 else puts (dlerror ());
11533 /* dlclose (self); */
11541 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11542 (eval $ac_link) 2>&5
11544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11545 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11546 (.
/conftest
; exit; ) >&5 2>/dev
/null
11548 case x
$lt_status in
11549 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11550 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11551 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11554 # compilation failed
11555 lt_cv_dlopen_self
=no
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11563 $as_echo "$lt_cv_dlopen_self" >&6; }
11565 if test "x$lt_cv_dlopen_self" = xyes
; then
11566 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11568 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11569 if ${lt_cv_dlopen_self_static+:} false
; then :
11570 $as_echo_n "(cached) " >&6
11572 if test "$cross_compiling" = yes; then :
11573 lt_cv_dlopen_self_static
=cross
11575 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11576 lt_status
=$lt_dlunknown
11577 cat > conftest.
$ac_ext <<_LT_EOF
11578 #line 11578 "configure"
11579 #include "confdefs.h"
11588 # define LT_DLGLOBAL RTLD_GLOBAL
11591 # define LT_DLGLOBAL DL_GLOBAL
11593 # define LT_DLGLOBAL 0
11597 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11598 find out it does not work in some platform. */
11599 #ifndef LT_DLLAZY_OR_NOW
11601 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11604 # define LT_DLLAZY_OR_NOW DL_LAZY
11607 # define LT_DLLAZY_OR_NOW RTLD_NOW
11610 # define LT_DLLAZY_OR_NOW DL_NOW
11612 # define LT_DLLAZY_OR_NOW 0
11619 /* When -fvisbility=hidden is used, assume the code has been annotated
11620 correspondingly for the symbols needed. */
11621 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11622 void fnord () __attribute__((visibility("default")));
11625 void fnord () { int i=42; }
11628 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11629 int status = $lt_dlunknown;
11633 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11636 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11637 else puts (dlerror ());
11639 /* dlclose (self); */
11647 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11648 (eval $ac_link) 2>&5
11650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11651 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11652 (.
/conftest
; exit; ) >&5 2>/dev
/null
11654 case x
$lt_status in
11655 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11656 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11657 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11660 # compilation failed
11661 lt_cv_dlopen_self_static
=no
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11669 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11672 CPPFLAGS
="$save_CPPFLAGS"
11673 LDFLAGS
="$save_LDFLAGS"
11678 case $lt_cv_dlopen_self in
11679 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11680 *) enable_dlopen_self
=unknown
;;
11683 case $lt_cv_dlopen_self_static in
11684 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11685 *) enable_dlopen_self_static
=unknown
;;
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11708 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11709 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11710 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11711 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11713 $as_echo "yes" >&6; }
11715 # FIXME - insert some real tests, host_os isn't really good enough
11718 if test -n "$STRIP" ; then
11719 striplib
="$STRIP -x"
11720 old_striplib
="$STRIP -S"
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11722 $as_echo "yes" >&6; }
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11725 $as_echo "no" >&6; }
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11730 $as_echo "no" >&6; }
11746 # Report which library types will actually be built
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11748 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11750 $as_echo "$can_build_shared" >&6; }
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11753 $as_echo_n "checking whether to build shared libraries... " >&6; }
11754 test "$can_build_shared" = "no" && enable_shared
=no
11756 # On AIX, shared libraries and static libraries use the same namespace, and
11757 # are all built from PIC.
11760 test "$enable_shared" = yes && enable_static
=no
11761 if test -n "$RANLIB"; then
11762 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11763 postinstall_cmds
='$RANLIB $lib'
11768 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11769 test "$enable_shared" = yes && enable_static
=no
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11774 $as_echo "$enable_shared" >&6; }
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11777 $as_echo_n "checking whether to build static libraries... " >&6; }
11778 # Make sure either enable_shared or enable_static is yes.
11779 test "$enable_shared" = yes || enable_static
=yes
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11781 $as_echo "$enable_static" >&6; }
11788 ac_cpp
='$CPP $CPPFLAGS'
11789 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11790 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11791 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11807 ac_config_commands
="$ac_config_commands libtool"
11812 # Only expand once:
11819 *-cygwin* |
*-mingw*)
11820 # 'host' will be top-level target in the case of a target lib,
11821 # we must compare to with_cross_host to decide if this is a native
11822 # or cross-compiler and select where to install dlls appropriately.
11823 if test -n "$with_cross_host" &&
11824 test x
"$with_cross_host" != x
"no"; then
11825 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
11827 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
11839 if test x
$enable_darwin_at_rpath = xyes
; then
11840 ENABLE_DARWIN_AT_RPATH_TRUE
=
11841 ENABLE_DARWIN_AT_RPATH_FALSE
='#'
11843 ENABLE_DARWIN_AT_RPATH_TRUE
='#'
11844 ENABLE_DARWIN_AT_RPATH_FALSE
=
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11850 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11851 # Check whether --enable-maintainer-mode was given.
11852 if test "${enable_maintainer_mode+set}" = set; then :
11853 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
11855 USE_MAINTAINER_MODE
=no
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11859 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11860 if test $USE_MAINTAINER_MODE = yes; then
11861 MAINTAINER_MODE_TRUE
=
11862 MAINTAINER_MODE_FALSE
='#'
11864 MAINTAINER_MODE_TRUE
='#'
11865 MAINTAINER_MODE_FALSE
=
11868 MAINT
=$MAINTAINER_MODE_TRUE
11872 # Create a spec file, so that compile/link tests don't fail
11873 test -f libgfortran.spec ||
touch libgfortran.spec
11874 FCFLAGS
="$FCFLAGS -L."
11876 # We need gfortran to compile parts of the library
11877 # We can't use AC_PROG_FC because it expects a fully working gfortran.
11878 #AC_PROG_FC(gfortran)
11879 case `echo $GFORTRAN` in
11883 set dummy
$GFORTRAN; ac_word
=$2
11884 if test -x "$ac_word"; then
11890 ac_ext
=${ac_fc_srcext-f}
11891 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11892 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11893 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
11894 if test -n "$ac_tool_prefix"; then
11895 for ac_prog
in gfortran
11897 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11898 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11900 $as_echo_n "checking for $ac_word... " >&6; }
11901 if ${ac_cv_prog_FC+:} false
; then :
11902 $as_echo_n "(cached) " >&6
11904 if test -n "$FC"; then
11905 ac_cv_prog_FC
="$FC" # Let the user override the test.
11907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11908 for as_dir
in $PATH
11911 test -z "$as_dir" && as_dir
=.
11912 for ac_exec_ext
in '' $ac_executable_extensions; do
11913 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11914 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
11915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11925 if test -n "$FC"; then
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11927 $as_echo "$FC" >&6; }
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11930 $as_echo "no" >&6; }
11934 test -n "$FC" && break
11937 if test -z "$FC"; then
11939 for ac_prog
in gfortran
11941 # Extract the first word of "$ac_prog", so it can be a program name with args.
11942 set dummy
$ac_prog; ac_word
=$2
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11944 $as_echo_n "checking for $ac_word... " >&6; }
11945 if ${ac_cv_prog_ac_ct_FC+:} false
; then :
11946 $as_echo_n "(cached) " >&6
11948 if test -n "$ac_ct_FC"; then
11949 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
11951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11952 for as_dir
in $PATH
11955 test -z "$as_dir" && as_dir
=.
11956 for ac_exec_ext
in '' $ac_executable_extensions; do
11957 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11958 ac_cv_prog_ac_ct_FC
="$ac_prog"
11959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11968 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
11969 if test -n "$ac_ct_FC"; then
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11971 $as_echo "$ac_ct_FC" >&6; }
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11974 $as_echo "no" >&6; }
11978 test -n "$ac_ct_FC" && break
11981 if test "x$ac_ct_FC" = x
; then
11984 case $cross_compiling:$ac_tool_warned in
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11988 ac_tool_warned
=yes ;;
11995 # Provide some information about the compiler.
11996 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11999 for ac_option
in --version -v -V -qversion; do
12000 { { ac_try
="$ac_compiler $ac_option >&5"
12001 case "(($ac_try" in
12002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12003 *) ac_try_echo=$ac_try;;
12005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12006 $as_echo "$ac_try_echo"; } >&5
12007 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12009 if test -s conftest.err; then
12011 ... rest of stderr output deleted ...
12012 10q' conftest.err >conftest.er1
12013 cat conftest.er1 >&5
12015 rm -f conftest.er1 conftest.err
12016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12017 test $ac_status = 0; }
12021 # If we don't use `.F
' as extension, the preprocessor is not run on the
12022 # input file. (Note that this only needs to work for GNU compilers.)
12023 ac_save_ext=$ac_ext
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12026 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12027 if ${ac_cv_fc_compiler_gnu+:} false; then :
12028 $as_echo_n "(cached) " >&6
12030 cat > conftest.$ac_ext <<_ACEOF
12038 if ac_fn_fc_try_compile "$LINENO"; then :
12039 ac_compiler_gnu=yes
12043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12044 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12048 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12049 ac_ext=$ac_save_ext
12050 ac_test_FCFLAGS=${FCFLAGS+set}
12051 ac_save_FCFLAGS=$FCFLAGS
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12054 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12055 if ${ac_cv_prog_fc_g+:} false; then :
12056 $as_echo_n "(cached) " >&6
12059 cat > conftest.$ac_ext <<_ACEOF
12064 if ac_fn_fc_try_compile "$LINENO"; then :
12065 ac_cv_prog_fc_g=yes
12069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12073 $as_echo "$ac_cv_prog_fc_g" >&6; }
12074 if test "$ac_test_FCFLAGS" = set; then
12075 FCFLAGS=$ac_save_FCFLAGS
12076 elif test $ac_cv_prog_fc_g = yes; then
12077 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12083 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12090 if test $ac_compiler_gnu = yes; then
12096 ac_cpp='$CPP $CPPFLAGS'
12097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12098 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12101 ac_ext=${ac_fc_srcext-f}
12102 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
12103 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
12104 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12107 if test -z "$FC" || test "X$FC" = "Xno"; then
12111 archive_cmds_need_lc_FC=no
12112 allow_undefined_flag_FC=
12113 always_export_symbols_FC=no
12114 archive_expsym_cmds_FC=
12115 export_dynamic_flag_spec_FC=
12116 hardcode_direct_FC=no
12117 hardcode_direct_absolute_FC=no
12118 hardcode_libdir_flag_spec_FC=
12119 hardcode_libdir_flag_spec_ld_FC=
12120 hardcode_libdir_separator_FC=
12121 hardcode_minus_L_FC=no
12122 hardcode_automatic_FC=no
12123 inherit_rpath_FC=no
12125 module_expsym_cmds_FC=
12126 link_all_deplibs_FC=unknown
12127 old_archive_cmds_FC=$old_archive_cmds
12128 reload_flag_FC=$reload_flag
12129 reload_cmds_FC=$reload_cmds
12130 no_undefined_flag_FC=
12131 whole_archive_flag_spec_FC=
12132 enable_shared_with_static_runtimes_FC=no
12134 # Source file extension for fc test sources.
12135 ac_ext=${ac_fc_srcext-f}
12137 # Object file extension for compiled fc test sources.
12141 # No sense in running all these tests if we already determined that
12142 # the FC compiler isn't working. Some variables
(like enable_shared
)
12143 # are currently assumed to apply to all compilers on this platform,
12144 # and will be corrupted by setting them based on a non-working compiler.
12145 if test "$_lt_disable_FC" != yes; then
12146 # Code to be used in simple compile tests
12147 lt_simple_compile_test_code
="\
12153 # Code to be used in simple link tests
12154 lt_simple_link_test_code
="\
12159 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12166 # If no C compiler was specified, use CC.
12169 # If no C compiler flags were specified, use CFLAGS.
12170 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12172 # Allow CC to be a program name with arguments.
12176 # save warnings/boilerplate of simple test code
12177 ac_outfile
=conftest.
$ac_objext
12178 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12179 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12180 _lt_compiler_boilerplate
=`cat conftest.err`
12183 ac_outfile
=conftest.
$ac_objext
12184 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12185 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12186 _lt_linker_boilerplate
=`cat conftest.err`
12190 # Allow CC to be a program name with arguments.
12195 GCC
=$ac_cv_fc_compiler_gnu
12198 for cc_temp
in $compiler""; do
12200 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12201 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12206 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12209 if test -n "$compiler"; then
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12211 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12213 $as_echo "$can_build_shared" >&6; }
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12216 $as_echo_n "checking whether to build shared libraries... " >&6; }
12217 test "$can_build_shared" = "no" && enable_shared
=no
12219 # On AIX, shared libraries and static libraries use the same namespace, and
12220 # are all built from PIC.
12223 test "$enable_shared" = yes && enable_static
=no
12224 if test -n "$RANLIB"; then
12225 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12226 postinstall_cmds
='$RANLIB $lib'
12230 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12231 test "$enable_shared" = yes && enable_static
=no
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12236 $as_echo "$enable_shared" >&6; }
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12239 $as_echo_n "checking whether to build static libraries... " >&6; }
12240 # Make sure either enable_shared or enable_static is yes.
12241 test "$enable_shared" = yes || enable_static
=yes
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12243 $as_echo "$enable_static" >&6; }
12245 GCC_FC
="$ac_cv_fc_compiler_gnu"
12249 ## There is no encapsulation within the following macros, do not change
12250 ## the running order or otherwise move them around unless you know exactly
12251 ## what you are doing...
12252 # Dependencies to place before and after the object being linked:
12254 postdep_objects_FC
=
12257 compiler_lib_search_path_FC
=
12259 cat > conftest.
$ac_ext <<_LT_EOF
12268 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12269 (eval $ac_compile) 2>&5
12271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12272 test $ac_status = 0; }; then
12273 # Parse the compiler output and extract the necessary
12274 # objects, libraries and library flags.
12276 # Sentinel used to keep track of whether or not we are before
12277 # the conftest object file.
12278 pre_test_object_deps_done
=no
12280 for p
in `eval "$output_verbose_link_cmd"`; do
12284 # Some compilers place space between "-{L,R}" and the path.
12285 # Remove the space.
12286 if test $p = "-L" ||
12287 test $p = "-R"; then
12294 if test "$pre_test_object_deps_done" = no
; then
12297 # Internal compiler library paths should come after those
12298 # provided the user. The postdeps already come after the
12299 # user supplied libs so there is no need to process them.
12300 if test -z "$compiler_lib_search_path_FC"; then
12301 compiler_lib_search_path_FC
="${prev}${p}"
12303 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
12306 # The "-l" case would never come before the object being
12307 # linked, so don't bother handling this case.
12310 if test -z "$postdeps_FC"; then
12311 postdeps_FC
="${prev}${p}"
12313 postdeps_FC
="${postdeps_FC} ${prev}${p}"
12319 # This assumes that the test object file only shows up
12320 # once in the compiler output.
12321 if test "$p" = "conftest.$objext"; then
12322 pre_test_object_deps_done
=yes
12326 if test "$pre_test_object_deps_done" = no
; then
12327 if test -z "$predep_objects_FC"; then
12328 predep_objects_FC
="$p"
12330 predep_objects_FC
="$predep_objects_FC $p"
12333 if test -z "$postdep_objects_FC"; then
12334 postdep_objects_FC
="$p"
12336 postdep_objects_FC
="$postdep_objects_FC $p"
12341 *) ;; # Ignore the rest.
12349 echo "libtool.m4: error: problem compiling FC test program"
12352 $RM -f confest.
$objext
12354 # PORTME: override above test on systems where it is broken
12357 case " $postdeps_FC " in
12358 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
12360 compiler_lib_search_dirs_FC
=
12361 if test -n "${compiler_lib_search_path_FC}"; then
12362 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12395 lt_prog_compiler_wl_FC
=
12396 lt_prog_compiler_pic_FC
=
12397 lt_prog_compiler_static_FC
=
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12400 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12402 if test "$GCC" = yes; then
12403 lt_prog_compiler_wl_FC
='-Wl,'
12404 lt_prog_compiler_static_FC
='-static'
12408 # All AIX code is PIC.
12409 if test "$host_cpu" = ia64
; then
12410 # AIX 5 now supports IA64 processor
12411 lt_prog_compiler_static_FC
='-Bstatic'
12413 lt_prog_compiler_pic_FC
='-fPIC'
12419 # see comment about AmigaOS4 .so support
12420 lt_prog_compiler_pic_FC
='-fPIC'
12423 # FIXME: we need at least 68020 code to build shared libraries, but
12424 # adding the `-m68020' flag to GCC prevents building anything better,
12426 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
12431 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12432 # PIC is the default for these OSes.
12435 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12436 # This hack is so that the source file can tell whether it is being
12437 # built for inclusion in a dll (and should export symbols for example).
12438 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12439 # (--disable-auto-import) libraries
12440 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
12443 darwin
* | rhapsody
*)
12444 # PIC is the default on this platform
12445 # Common symbols not allowed in MH_DYLIB files
12446 lt_prog_compiler_pic_FC
='-fno-common'
12450 # PIC is the default for Haiku.
12451 # The "-static" flag exists, but is broken.
12452 lt_prog_compiler_static_FC
=
12456 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12457 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12458 # sets the default TLS model and affects inlining.
12464 lt_prog_compiler_pic_FC
='-fPIC'
12470 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12471 # Instead, we relocate shared libraries at runtime.
12475 # Just because we use GCC doesn't mean we suddenly get shared libraries
12476 # on systems that don't support them.
12477 lt_prog_compiler_can_build_shared_FC
=no
12482 # QNX uses GNU C++, but need to define -shared option too, otherwise
12483 # it will coredump.
12484 lt_prog_compiler_pic_FC
='-fPIC -shared'
12488 if test -d /usr
/nec
; then
12489 lt_prog_compiler_pic_FC
=-Kconform_pic
12494 lt_prog_compiler_pic_FC
='-fPIC'
12498 case $cc_basename in
12499 nvcc
*) # Cuda Compiler Driver 2.2
12500 lt_prog_compiler_wl_FC
='-Xlinker '
12501 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
12505 # PORTME Check for flag to pass linker flags through the system compiler.
12508 lt_prog_compiler_wl_FC
='-Wl,'
12509 if test "$host_cpu" = ia64
; then
12510 # AIX 5 now supports IA64 processor
12511 lt_prog_compiler_static_FC
='-Bstatic'
12513 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
12517 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12518 # This hack is so that the source file can tell whether it is being
12519 # built for inclusion in a dll (and should export symbols for example).
12520 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
12523 hpux9
* | hpux10
* | hpux11
*)
12524 lt_prog_compiler_wl_FC
='-Wl,'
12525 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12526 # not for PA HP-UX.
12532 lt_prog_compiler_pic_FC
='+Z'
12535 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12536 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
12539 irix5
* | irix6
* | nonstopux
*)
12540 lt_prog_compiler_wl_FC
='-Wl,'
12541 # PIC (with -KPIC) is the default.
12542 lt_prog_compiler_static_FC
='-non_shared'
12545 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12546 case $cc_basename in
12547 # old Intel for x86_64 which still supported -KPIC.
12549 lt_prog_compiler_wl_FC
='-Wl,'
12550 lt_prog_compiler_pic_FC
='-KPIC'
12551 lt_prog_compiler_static_FC
='-static'
12553 # icc used to be incompatible with GCC.
12554 # ICC 10 doesn't accept -KPIC any more.
12556 lt_prog_compiler_wl_FC
='-Wl,'
12557 lt_prog_compiler_pic_FC
='-fPIC'
12558 lt_prog_compiler_static_FC
='-static'
12560 # Lahey Fortran 8.1.
12562 lt_prog_compiler_wl_FC
='-Wl,'
12563 lt_prog_compiler_pic_FC
='--shared'
12564 lt_prog_compiler_static_FC
='--static'
12566 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12567 # Portland Group compilers (*not* the Pentium gcc compiler,
12568 # which looks to be a dead project)
12569 lt_prog_compiler_wl_FC
='-Wl,'
12570 lt_prog_compiler_pic_FC
='-fpic'
12571 lt_prog_compiler_static_FC
='-Bstatic'
12574 lt_prog_compiler_wl_FC
='-Wl,'
12575 # All Alpha code is PIC.
12576 lt_prog_compiler_static_FC
='-non_shared'
12578 xl
* | bgxl
* | bgf
* | mpixl
*)
12579 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12580 lt_prog_compiler_wl_FC
='-Wl,'
12581 lt_prog_compiler_pic_FC
='-qpic'
12582 lt_prog_compiler_static_FC
='-qstaticlink'
12585 case `$CC -V 2>&1 | sed 5q` in
12586 *Sun\ F
* |
*Sun
*Fortran
*)
12587 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12588 lt_prog_compiler_pic_FC
='-KPIC'
12589 lt_prog_compiler_static_FC
='-Bstatic'
12590 lt_prog_compiler_wl_FC
=''
12594 lt_prog_compiler_pic_FC
='-KPIC'
12595 lt_prog_compiler_static_FC
='-Bstatic'
12596 lt_prog_compiler_wl_FC
='-Wl,'
12604 lt_prog_compiler_pic_FC
='-KPIC'
12605 lt_prog_compiler_static_FC
='-Bstatic'
12609 # QNX uses GNU C++, but need to define -shared option too, otherwise
12610 # it will coredump.
12611 lt_prog_compiler_pic_FC
='-fPIC -shared'
12614 osf3
* | osf4
* | osf5
*)
12615 lt_prog_compiler_wl_FC
='-Wl,'
12616 # All OSF/1 code is PIC.
12617 lt_prog_compiler_static_FC
='-non_shared'
12621 lt_prog_compiler_static_FC
='-non_shared'
12625 lt_prog_compiler_pic_FC
='-KPIC'
12626 lt_prog_compiler_static_FC
='-Bstatic'
12627 case $cc_basename in
12628 f77
* | f90
* | f95
*)
12629 lt_prog_compiler_wl_FC
='-Qoption ld ';;
12631 lt_prog_compiler_wl_FC
='-Wl,';;
12636 lt_prog_compiler_wl_FC
='-Qoption ld '
12637 lt_prog_compiler_pic_FC
='-PIC'
12638 lt_prog_compiler_static_FC
='-Bstatic'
12641 sysv4 | sysv4.2uw2
* | sysv4.3
*)
12642 lt_prog_compiler_wl_FC
='-Wl,'
12643 lt_prog_compiler_pic_FC
='-KPIC'
12644 lt_prog_compiler_static_FC
='-Bstatic'
12648 if test -d /usr
/nec
;then
12649 lt_prog_compiler_pic_FC
='-Kconform_pic'
12650 lt_prog_compiler_static_FC
='-Bstatic'
12654 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12655 lt_prog_compiler_wl_FC
='-Wl,'
12656 lt_prog_compiler_pic_FC
='-KPIC'
12657 lt_prog_compiler_static_FC
='-Bstatic'
12661 lt_prog_compiler_wl_FC
='-Wl,'
12662 lt_prog_compiler_can_build_shared_FC
=no
12666 lt_prog_compiler_pic_FC
='-pic'
12667 lt_prog_compiler_static_FC
='-Bstatic'
12671 lt_prog_compiler_can_build_shared_FC
=no
12677 # For platforms which do not support PIC, -DPIC is meaningless:
12679 lt_prog_compiler_pic_FC
=
12682 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
12686 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
12691 # Check to make sure the PIC flag actually works.
12693 if test -n "$lt_prog_compiler_pic_FC"; then
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12695 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
12696 if ${lt_cv_prog_compiler_pic_works_FC+:} false
; then :
12697 $as_echo_n "(cached) " >&6
12699 lt_cv_prog_compiler_pic_works_FC
=no
12700 ac_outfile
=conftest.
$ac_objext
12701 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12702 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
12703 # Insert the option either (1) after the last *FLAGS variable, or
12704 # (2) before a word containing "conftest.", or (3) at the end.
12705 # Note that $ac_compile itself does not contain backslashes and begins
12706 # with a dollar sign (not a hyphen), so the echo should work correctly.
12707 # The option is referenced via a variable to avoid confusing sed.
12708 lt_compile
=`echo "$ac_compile" | $SED \
12709 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12710 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12711 -e 's:$: $lt_compiler_flag:'`
12712 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12713 (eval "$lt_compile" 2>conftest.err
)
12715 cat conftest.err
>&5
12716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12717 if (exit $ac_status) && test -s "$ac_outfile"; then
12718 # The compiler can only warn and ignore the option if not recognized
12719 # So say no if there are warnings other than the usual output.
12720 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12721 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12722 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12723 lt_cv_prog_compiler_pic_works_FC
=yes
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12730 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
12732 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
12733 case $lt_prog_compiler_pic_FC in
12735 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
12738 lt_prog_compiler_pic_FC
=
12739 lt_prog_compiler_can_build_shared_FC
=no
12747 # Check to make sure the static flag actually works.
12749 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12751 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12752 if ${lt_cv_prog_compiler_static_works_FC+:} false
; then :
12753 $as_echo_n "(cached) " >&6
12755 lt_cv_prog_compiler_static_works_FC
=no
12756 save_LDFLAGS
="$LDFLAGS"
12757 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12758 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12759 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12760 # The linker can only warn and ignore the option if not recognized
12761 # So say no if there are warnings
12762 if test -s conftest.err
; then
12763 # Append any errors to the config.log.
12764 cat conftest.err
1>&5
12765 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12766 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12767 if diff conftest.exp conftest.er2
>/dev
/null
; then
12768 lt_cv_prog_compiler_static_works_FC
=yes
12771 lt_cv_prog_compiler_static_works_FC
=yes
12775 LDFLAGS
="$save_LDFLAGS"
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
12779 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
12781 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
12784 lt_prog_compiler_static_FC
=
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12791 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12792 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
12793 $as_echo_n "(cached) " >&6
12795 lt_cv_prog_compiler_c_o_FC
=no
12796 $RM -r conftest
2>/dev
/null
12800 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12802 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12803 # Insert the option either (1) after the last *FLAGS variable, or
12804 # (2) before a word containing "conftest.", or (3) at the end.
12805 # Note that $ac_compile itself does not contain backslashes and begins
12806 # with a dollar sign (not a hyphen), so the echo should work correctly.
12807 lt_compile
=`echo "$ac_compile" | $SED \
12808 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12809 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12810 -e 's:$: $lt_compiler_flag:'`
12811 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12812 (eval "$lt_compile" 2>out
/conftest.err
)
12814 cat out
/conftest.err
>&5
12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12818 # The compiler can only warn and ignore the option if not recognized
12819 # So say no if there are warnings
12820 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12821 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12822 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12823 lt_cv_prog_compiler_c_o_FC
=yes
12828 # SGI C++ compiler will create directory out/ii_files/ for
12829 # template instantiation
12830 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12831 $RM out
/* && rmdir out
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12838 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12843 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12844 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
12845 $as_echo_n "(cached) " >&6
12847 lt_cv_prog_compiler_c_o_FC
=no
12848 $RM -r conftest
2>/dev
/null
12852 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12854 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12855 # Insert the option either (1) after the last *FLAGS variable, or
12856 # (2) before a word containing "conftest.", or (3) at the end.
12857 # Note that $ac_compile itself does not contain backslashes and begins
12858 # with a dollar sign (not a hyphen), so the echo should work correctly.
12859 lt_compile
=`echo "$ac_compile" | $SED \
12860 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12861 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12862 -e 's:$: $lt_compiler_flag:'`
12863 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12864 (eval "$lt_compile" 2>out
/conftest.err
)
12866 cat out
/conftest.err
>&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12870 # The compiler can only warn and ignore the option if not recognized
12871 # So say no if there are warnings
12872 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12873 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12874 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12875 lt_cv_prog_compiler_c_o_FC
=yes
12880 # SGI C++ compiler will create directory out/ii_files/ for
12881 # template instantiation
12882 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12883 $RM out
/* && rmdir out
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12890 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12895 hard_links
="nottested"
12896 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
12897 # do not overwrite the value of need_locks provided by the user
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12899 $as_echo_n "checking if we can lock with hard links... " >&6; }
12902 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12904 ln conftest.a conftest.b
2>&5 || hard_links
=no
12905 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12907 $as_echo "$hard_links" >&6; }
12908 if test "$hard_links" = no
; then
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12910 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12920 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12923 allow_undefined_flag_FC
=
12924 always_export_symbols_FC
=no
12926 archive_expsym_cmds_FC
=
12927 compiler_needs_object_FC
=no
12928 enable_shared_with_static_runtimes_FC
=no
12929 export_dynamic_flag_spec_FC
=
12930 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12931 hardcode_automatic_FC
=no
12932 hardcode_direct_FC
=no
12933 hardcode_direct_absolute_FC
=no
12934 hardcode_libdir_flag_spec_FC
=
12935 hardcode_libdir_flag_spec_ld_FC
=
12936 hardcode_libdir_separator_FC
=
12937 hardcode_minus_L_FC
=no
12938 hardcode_shlibpath_var_FC
=unsupported
12939 inherit_rpath_FC
=no
12940 link_all_deplibs_FC
=unknown
12942 module_expsym_cmds_FC
=
12943 old_archive_from_new_cmds_FC
=
12944 old_archive_from_expsyms_cmds_FC
=
12945 thread_safe_flag_spec_FC
=
12946 whole_archive_flag_spec_FC
=
12947 # include_expsyms should be a list of space-separated symbols to be *always*
12948 # included in the symbol list
12949 include_expsyms_FC
=
12950 # exclude_expsyms can be an extended regexp of symbols to exclude
12951 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12952 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12953 # as well as any symbol that contains `d'.
12954 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12955 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12956 # platforms (ab)use it in PIC code, but their linkers get confused if
12957 # the symbol is explicitly referenced. Since portable code cannot
12958 # rely on this symbol name, it's probably fine to never include it in
12959 # preloaded symbol tables.
12960 # Exclude shared library initialization/finalization symbols.
12961 extract_expsyms_cmds
=
12964 cygwin
* | mingw
* | pw32
* | cegcc
*)
12965 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12966 # When not using gcc, we currently assume that we are using
12967 # Microsoft Visual C++.
12968 if test "$GCC" != yes; then
12973 # we just hope/assume this is gcc and not c89 (= MSVC++)
12983 # On some targets, GNU ld is compatible enough with the native linker
12984 # that we're better off using the native interface for both.
12985 lt_use_gnu_ld_interface
=no
12986 if test "$with_gnu_ld" = yes; then
12989 # The AIX port of GNU ld has always aspired to compatibility
12990 # with the native linker. However, as the warning in the GNU ld
12991 # block says, versions before 2.19.5* couldn't really create working
12992 # shared libraries, regardless of the interface used.
12993 case `$LD -v 2>&1` in
12994 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12995 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12996 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12998 lt_use_gnu_ld_interface
=yes
13003 lt_use_gnu_ld_interface
=yes
13008 if test "$lt_use_gnu_ld_interface" = yes; then
13009 # If archive_cmds runs LD, not CC, wlarc should be empty
13012 # Set some defaults for GNU ld with shared library support. These
13013 # are reset later if shared libraries are not supported. Putting them
13014 # here allows them to be overridden if necessary.
13015 runpath_var
=LD_RUN_PATH
13016 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13017 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
13018 # ancient GNU ld didn't support --whole-archive et. al.
13019 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
13020 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13022 whole_archive_flag_spec_FC
=
13024 supports_anon_versioning
=no
13025 case `$LD -v 2>&1` in
13026 *GNU\ gold
*) supports_anon_versioning
=yes ;;
13027 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13028 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13029 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13030 *\
2.11.
*) ;; # other 2.11 versions
13031 *) supports_anon_versioning
=yes ;;
13034 # See if GNU ld supports shared libraries.
13037 # On AIX/PPC, the GNU linker is very broken
13038 if test "$host_cpu" != ia64
; then
13042 *** Warning: the GNU linker, at least up to release 2.19, is reported
13043 *** to be unable to reliably create shared libraries on AIX.
13044 *** Therefore, libtool is disabling shared libraries support. If you
13045 *** really care for shared libraries, you may want to install binutils
13046 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13047 *** You will then need to restart the configuration process.
13056 # see comment about AmigaOS4 .so support
13057 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13058 archive_expsym_cmds_FC
=''
13061 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)'
13062 hardcode_libdir_flag_spec_FC
='-L$libdir'
13063 hardcode_minus_L_FC
=yes
13069 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13070 allow_undefined_flag_FC
=unsupported
13071 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13072 # support --undefined. This deserves some investigation. FIXME
13073 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13079 cygwin
* | mingw
* | pw32
* | cegcc
*)
13080 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13081 # as there is no search path for DLLs.
13082 hardcode_libdir_flag_spec_FC
='-L$libdir'
13083 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
13084 allow_undefined_flag_FC
=unsupported
13085 always_export_symbols_FC
=no
13086 enable_shared_with_static_runtimes_FC
=yes
13087 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13089 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13090 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13091 # If the export-symbols file already is a .def file (1st line
13092 # is EXPORTS), use it as is; otherwise, prepend...
13093 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13094 cp $export_symbols $output_objdir/$soname.def;
13096 echo EXPORTS > $output_objdir/$soname.def;
13097 cat $export_symbols >> $output_objdir/$soname.def;
13099 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13106 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13107 link_all_deplibs_FC
=yes
13111 hardcode_direct_FC
=no
13112 hardcode_shlibpath_var_FC
=no
13113 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13114 export_dynamic_flag_spec_FC
='${wl}-E'
13115 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13116 # Instead, shared libraries are loaded at an image base (0x10000000 by
13117 # default) and relocated if they conflict, which is a slow very memory
13118 # consuming and fragmenting process. To avoid this, we pick a random,
13119 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13120 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13121 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'
13122 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'
13125 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
13127 if test "$host_os" = linux-dietlibc
; then
13128 case $cc_basename in
13129 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
13132 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
13133 && test "$tmp_diet" = no
13135 tmp_addflag
=' $pic_flag'
13136 tmp_sharedflag
='-shared'
13137 case $cc_basename,$host_cpu in
13138 pgcc
*) # Portland Group C compiler
13139 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'
13140 tmp_addflag
=' $pic_flag'
13142 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13143 # Portland Group f77 and f90 compilers
13144 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'
13145 tmp_addflag
=' $pic_flag -Mnomain' ;;
13146 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13147 tmp_addflag
=' -i_dynamic' ;;
13148 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13149 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13150 ifc
* | ifort
*) # Intel Fortran compiler
13151 tmp_addflag
=' -nofor_main' ;;
13152 lf95
*) # Lahey Fortran 8.1
13153 whole_archive_flag_spec_FC
=
13154 tmp_sharedflag
='--shared' ;;
13155 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13156 tmp_sharedflag
='-qmkshrobj'
13158 nvcc
*) # Cuda Compiler Driver 2.2
13159 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'
13160 compiler_needs_object_FC
=yes
13163 case `$CC -V 2>&1 | sed 5q` in
13164 *Sun\ C
*) # Sun C 5.9
13165 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'
13166 compiler_needs_object_FC
=yes
13167 tmp_sharedflag
='-G' ;;
13168 *Sun\ F
*) # Sun Fortran 8.3
13169 tmp_sharedflag
='-G' ;;
13171 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13173 if test "x$supports_anon_versioning" = xyes
; then
13174 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
13175 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13176 echo "local: *; };" >> $output_objdir/$libname.ver~
13177 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13180 case $cc_basename in
13181 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
13182 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13183 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
13184 hardcode_libdir_flag_spec_FC
=
13185 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
13186 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13187 if test "x$supports_anon_versioning" = xyes
; then
13188 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
13189 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13190 echo "local: *; };" >> $output_objdir/$libname.ver~
13191 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13201 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13202 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13205 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13206 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13211 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
13215 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13216 *** create shared libraries on Solaris systems. Therefore, libtool
13217 *** is disabling shared libraries support. We urge you to upgrade GNU
13218 *** binutils to release 2.9.1 or newer. Another option is to modify
13219 *** your PATH or compiler configuration so that the native linker is
13220 *** used, and then restart.
13223 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13224 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13225 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13231 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
13232 case `$LD -v 2>&1` in
13233 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
13237 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13238 *** reliably create shared libraries on SCO systems. Therefore, libtool
13239 *** is disabling shared libraries support. We urge you to upgrade GNU
13240 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13241 *** your PATH or compiler configuration so that the native linker is
13242 *** used, and then restart.
13247 # For security reasons, it is highly recommended that you always
13248 # use absolute paths for naming shared libraries, and exclude the
13249 # DT_RUNPATH tag from executables and libraries. But doing so
13250 # requires that you compile everything twice, which is a pain.
13251 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13252 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13253 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13254 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13263 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13265 hardcode_direct_FC
=yes
13266 hardcode_shlibpath_var_FC
=no
13270 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13271 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13272 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13279 if test "$ld_shlibs_FC" = no
; then
13281 hardcode_libdir_flag_spec_FC
=
13282 export_dynamic_flag_spec_FC
=
13283 whole_archive_flag_spec_FC
=
13286 # PORTME fill in a description of your system's linker (not GNU ld)
13289 allow_undefined_flag_FC
=unsupported
13290 always_export_symbols_FC
=yes
13291 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'
13292 # Note: this linker hardcodes the directories in LIBPATH if there
13293 # are no directories specified by -L.
13294 hardcode_minus_L_FC
=yes
13295 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13296 # Neither direct hardcoding nor static linking is supported with a
13298 hardcode_direct_FC
=unsupported
13303 if test "$host_cpu" = ia64
; then
13304 # On IA64, the linker does run time linking by default, so we don't
13305 # have to do anything special.
13306 aix_use_runtimelinking
=no
13307 exp_sym_flag
='-Bexport'
13310 # If we're using GNU nm, then we don't want the "-C" option.
13311 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13312 # Also, AIX nm treats weak defined symbols like other global
13313 # defined symbols, whereas GNU nm marks them as "W".
13314 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13315 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'
13317 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'
13319 aix_use_runtimelinking
=no
13321 # Test if we are trying to use run time linking or normal
13322 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13323 # need to do runtime linking.
13324 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13325 for ld_flag
in $LDFLAGS; do
13326 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13327 aix_use_runtimelinking
=yes
13334 exp_sym_flag
='-bexport'
13335 no_entry_flag
='-bnoentry'
13338 # When large executables or shared objects are built, AIX ld can
13339 # have problems creating the table of contents. If linking a library
13340 # or program results in "error TOC overflow" add -mminimal-toc to
13341 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13342 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13345 hardcode_direct_FC
=yes
13346 hardcode_direct_absolute_FC
=yes
13347 hardcode_libdir_separator_FC
=':'
13348 link_all_deplibs_FC
=yes
13349 file_list_spec_FC
='${wl}-f,'
13351 if test "$GCC" = yes; then
13352 case $host_os in aix4.
[012]|aix4.
[012].
*)
13353 # We only want to do this on AIX 4.2 and lower, the check
13354 # below for broken collect2 doesn't work under 4.3+
13355 collect2name
=`${CC} -print-prog-name=collect2`
13356 if test -f "$collect2name" &&
13357 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13359 # We have reworked collect2
13362 # We have old collect2
13363 hardcode_direct_FC
=unsupported
13364 # It fails to find uninstalled libraries when the uninstalled
13365 # path is not listed in the libpath. Setting hardcode_minus_L
13366 # to unsupported forces relinking
13367 hardcode_minus_L_FC
=yes
13368 hardcode_libdir_flag_spec_FC
='-L$libdir'
13369 hardcode_libdir_separator_FC
=
13373 shared_flag
='-shared'
13374 if test "$aix_use_runtimelinking" = yes; then
13375 shared_flag
="$shared_flag "'${wl}-G'
13379 if test "$host_cpu" = ia64
; then
13380 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13381 # chokes on -Wl,-G. The following line is correct:
13384 if test "$aix_use_runtimelinking" = yes; then
13385 shared_flag
='${wl}-G'
13387 shared_flag
='${wl}-bM:SRE'
13392 export_dynamic_flag_spec_FC
='${wl}-bexpall'
13393 # It seems that -bexpall does not export symbols beginning with
13394 # underscore (_), so it is better to generate a list of symbols to export.
13395 always_export_symbols_FC
=yes
13396 if test "$aix_use_runtimelinking" = yes; then
13397 # Warning - without using the other runtime loading flags (-brtl),
13398 # -berok will link without error, but may produce a broken library.
13399 allow_undefined_flag_FC
='-berok'
13400 # Determine the default libpath from the value encoded in an
13401 # empty executable.
13402 cat > conftest.
$ac_ext <<_ACEOF
13407 if ac_fn_fc_try_link
"$LINENO"; then :
13409 lt_aix_libpath_sed
='
13410 /Import File Strings/,/^$/ {
13416 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13417 # Check for a 64-bit object if we didn't find anything.
13418 if test -z "$aix_libpath"; then
13419 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13422 rm -f core conftest.err conftest.
$ac_objext \
13423 conftest
$ac_exeext conftest.
$ac_ext
13424 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13426 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
13427 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"
13429 if test "$host_cpu" = ia64
; then
13430 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
13431 allow_undefined_flag_FC
="-z nodefs"
13432 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"
13434 # Determine the default libpath from the value encoded in an
13435 # empty executable.
13436 cat > conftest.
$ac_ext <<_ACEOF
13441 if ac_fn_fc_try_link
"$LINENO"; then :
13443 lt_aix_libpath_sed
='
13444 /Import File Strings/,/^$/ {
13450 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13451 # Check for a 64-bit object if we didn't find anything.
13452 if test -z "$aix_libpath"; then
13453 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13456 rm -f core conftest.err conftest.
$ac_objext \
13457 conftest
$ac_exeext conftest.
$ac_ext
13458 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13460 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
13461 # Warning - without using the other run time loading flags,
13462 # -berok will link without error, but may produce a broken library.
13463 no_undefined_flag_FC
=' ${wl}-bernotok'
13464 allow_undefined_flag_FC
=' ${wl}-berok'
13465 if test "$with_gnu_ld" = yes; then
13466 # We only use this code for GNU lds that support --whole-archive.
13467 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13469 # Exported symbols can be pulled into shared objects from archives
13470 whole_archive_flag_spec_FC
='$convenience'
13472 archive_cmds_need_lc_FC
=yes
13473 # This is similar to how AIX traditionally builds its shared libraries.
13474 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'
13482 # see comment about AmigaOS4 .so support
13483 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13484 archive_expsym_cmds_FC
=''
13487 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)'
13488 hardcode_libdir_flag_spec_FC
='-L$libdir'
13489 hardcode_minus_L_FC
=yes
13495 export_dynamic_flag_spec_FC
=-rdynamic
13498 cygwin
* | mingw
* | pw32
* | cegcc
*)
13499 # When not using gcc, we currently assume that we are using
13500 # Microsoft Visual C++.
13501 # hardcode_libdir_flag_spec is actually meaningless, as there is
13502 # no search path for DLLs.
13503 hardcode_libdir_flag_spec_FC
=' '
13504 allow_undefined_flag_FC
=unsupported
13505 # Tell ltmain to make .lib files, not .a files.
13507 # Tell ltmain to make .dll files, not .so files.
13509 # FIXME: Setting linknames here is a bad hack.
13510 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13511 # The linker will automatically build a .lib file if we build a DLL.
13512 old_archive_from_new_cmds_FC
='true'
13513 # FIXME: Should let the user specify the lib program.
13514 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
13515 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
13516 enable_shared_with_static_runtimes_FC
=yes
13519 darwin
* | rhapsody
*)
13523 # Publish an arg to allow the user to select that Darwin host (and target)
13524 # libraries should be given install-names like @rpath/libfoo.dylib. This
13525 # requires that the user of the library then adds an 'rpath' to the DSO that
13527 # NOTE: there are defaults below, for systems that support rpaths. The person
13528 # configuring can override the defaults for any system version that supports
13529 # them - they are, however, forced off for system versions without support.
13530 # Check whether --enable-darwin-at-rpath was given.
13531 if test "${enable_darwin_at_rpath+set}" = set; then :
13532 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
13533 # This is not supported before macOS 10.5 / Darwin9.
13534 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
13535 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
13537 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
13538 enable_darwin_at_rpath
=no
13543 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
13544 # As above, before 10.5 / Darwin9 this does not work.
13545 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
13546 enable_darwin_at_rpath
=no
13549 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
13550 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
13551 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
13552 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
13554 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
13555 enable_darwin_at_rpath
=yes
13557 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
13558 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
13565 archive_cmds_need_lc_FC
=no
13566 hardcode_direct_FC
=no
13567 hardcode_automatic_FC
=yes
13568 hardcode_shlibpath_var_FC
=unsupported
13569 if test "$lt_cv_ld_force_load" = "yes"; then
13570 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\"`'
13572 whole_archive_flag_spec_FC
=''
13574 link_all_deplibs_FC
=yes
13575 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
13576 case $cc_basename in
13577 ifort
*) _lt_dar_can_shared
=yes ;;
13578 *) _lt_dar_can_shared
=$GCC ;;
13580 if test "$_lt_dar_can_shared" = "yes"; then
13581 output_verbose_link_cmd
=func_echo_all
13582 _lt_install_name
='\$rpath/\$soname'
13583 if test "x$enable_darwin_at_rpath" = "xyes"; then
13584 _lt_install_name
='@rpath/\$soname'
13586 archive_cmds_FC
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
13587 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13588 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
13589 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}"
13598 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13599 hardcode_libdir_flag_spec_FC
='-L$libdir'
13600 hardcode_shlibpath_var_FC
=no
13603 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13604 # support. Future versions do this automatically, but an explicit c++rt0.o
13605 # does not break anything, and helps significantly (at the cost of a little
13608 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13609 hardcode_libdir_flag_spec_FC
='-R$libdir'
13610 hardcode_direct_FC
=yes
13611 hardcode_shlibpath_var_FC
=no
13614 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13616 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13617 hardcode_direct_FC
=yes
13618 hardcode_minus_L_FC
=yes
13619 hardcode_shlibpath_var_FC
=no
13622 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13623 freebsd
* | dragonfly
*)
13624 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13625 hardcode_libdir_flag_spec_FC
='-R$libdir'
13626 hardcode_direct_FC
=yes
13627 hardcode_shlibpath_var_FC
=no
13631 if test "$GCC" = yes; then
13632 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'
13634 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'
13636 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13637 hardcode_libdir_separator_FC
=:
13638 hardcode_direct_FC
=yes
13640 # hardcode_minus_L: Not really in the search PATH,
13641 # but as the default location of the library.
13642 hardcode_minus_L_FC
=yes
13643 export_dynamic_flag_spec_FC
='${wl}-E'
13647 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13648 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13650 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13652 if test "$with_gnu_ld" = no
; then
13653 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13654 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
13655 hardcode_libdir_separator_FC
=:
13656 hardcode_direct_FC
=yes
13657 hardcode_direct_absolute_FC
=yes
13658 export_dynamic_flag_spec_FC
='${wl}-E'
13659 # hardcode_minus_L: Not really in the search PATH,
13660 # but as the default location of the library.
13661 hardcode_minus_L_FC
=yes
13666 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13669 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13672 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13675 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13681 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13684 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13687 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13691 if test "$with_gnu_ld" = no
; then
13692 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13693 hardcode_libdir_separator_FC
=:
13697 hardcode_direct_FC
=no
13698 hardcode_shlibpath_var_FC
=no
13701 hardcode_direct_FC
=yes
13702 hardcode_direct_absolute_FC
=yes
13703 export_dynamic_flag_spec_FC
='${wl}-E'
13705 # hardcode_minus_L: Not really in the search PATH,
13706 # but as the default location of the library.
13707 hardcode_minus_L_FC
=yes
13713 irix5
* | irix6
* | nonstopux
*)
13714 if test "$GCC" = yes; then
13715 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'
13716 # Try to use the -exported_symbol ld option, if it does not
13717 # work, assume that -exports_file does not work either and
13718 # implicitly export all symbols.
13719 save_LDFLAGS
="$LDFLAGS"
13720 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13721 cat > conftest.
$ac_ext <<_ACEOF
13724 if ac_fn_fc_try_link
"$LINENO"; then :
13725 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'
13728 rm -f core conftest.err conftest.
$ac_objext \
13729 conftest
$ac_exeext conftest.
$ac_ext
13730 LDFLAGS
="$save_LDFLAGS"
13732 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'
13733 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'
13735 archive_cmds_need_lc_FC
='no'
13736 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13737 hardcode_libdir_separator_FC
=:
13738 inherit_rpath_FC
=yes
13739 link_all_deplibs_FC
=yes
13743 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13744 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13746 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13748 hardcode_libdir_flag_spec_FC
='-R$libdir'
13749 hardcode_direct_FC
=yes
13750 hardcode_shlibpath_var_FC
=no
13754 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13755 hardcode_direct_FC
=yes
13756 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13757 hardcode_libdir_separator_FC
=:
13758 hardcode_shlibpath_var_FC
=no
13765 if test -f /usr
/libexec
/ld.so
; then
13766 hardcode_direct_FC
=yes
13767 hardcode_shlibpath_var_FC
=no
13768 hardcode_direct_absolute_FC
=yes
13769 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13770 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13771 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13772 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13773 export_dynamic_flag_spec_FC
='${wl}-E'
13776 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13777 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13778 hardcode_libdir_flag_spec_FC
='-R$libdir'
13781 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13782 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13792 hardcode_libdir_flag_spec_FC
='-L$libdir'
13793 hardcode_minus_L_FC
=yes
13794 allow_undefined_flag_FC
=unsupported
13795 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'
13796 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13800 if test "$GCC" = yes; then
13801 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13802 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'
13804 allow_undefined_flag_FC
=' -expect_unresolved \*'
13805 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'
13807 archive_cmds_need_lc_FC
='no'
13808 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13809 hardcode_libdir_separator_FC
=:
13812 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13813 if test "$GCC" = yes; then
13814 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13815 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'
13816 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13818 allow_undefined_flag_FC
=' -expect_unresolved \*'
13819 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'
13820 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~
13821 $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'
13823 # Both c and cxx compiler support -rpath directly
13824 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
13826 archive_cmds_need_lc_FC
='no'
13827 hardcode_libdir_separator_FC
=:
13831 no_undefined_flag_FC
=' -z defs'
13832 if test "$GCC" = yes; then
13834 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13835 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13836 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13838 case `$CC -V 2>&1` in
13841 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13842 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13843 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13847 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13848 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13849 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13853 hardcode_libdir_flag_spec_FC
='-R$libdir'
13854 hardcode_shlibpath_var_FC
=no
13856 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13858 # The compiler driver will combine and reorder linker options,
13859 # but understands `-z linker_flag'. GCC discards it without `$wl',
13860 # but is careful enough not to reorder.
13861 # Supported since Solaris 2.6 (maybe 2.5.1?)
13862 if test "$GCC" = yes; then
13863 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13865 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
13869 link_all_deplibs_FC
=yes
13873 if test "x$host_vendor" = xsequent
; then
13874 # Use $CC to link under sequent, because it throws in some extra .o
13875 # files that make .init and .fini sections work.
13876 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13878 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13880 hardcode_libdir_flag_spec_FC
='-L$libdir'
13881 hardcode_direct_FC
=yes
13882 hardcode_minus_L_FC
=yes
13883 hardcode_shlibpath_var_FC
=no
13887 case $host_vendor in
13889 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13890 hardcode_direct_FC
=yes # is this really true???
13893 ## LD is ld it makes a PLAMLIB
13894 ## CC just makes a GrossModule.
13895 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13896 reload_cmds_FC
='$CC -r -o $output$reload_objs'
13897 hardcode_direct_FC
=no
13900 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13901 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
13904 runpath_var
='LD_RUN_PATH'
13905 hardcode_shlibpath_var_FC
=no
13909 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13910 hardcode_shlibpath_var_FC
=no
13911 export_dynamic_flag_spec_FC
='-Bexport'
13915 if test -d /usr
/nec
; then
13916 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13917 hardcode_shlibpath_var_FC
=no
13918 runpath_var
=LD_RUN_PATH
13919 hardcode_runpath_var
=yes
13924 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13925 no_undefined_flag_FC
='${wl}-z,text'
13926 archive_cmds_need_lc_FC
=no
13927 hardcode_shlibpath_var_FC
=no
13928 runpath_var
='LD_RUN_PATH'
13930 if test "$GCC" = yes; then
13931 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13932 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13934 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13935 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13939 sysv5
* | sco3.2v5
* | sco5v6
*)
13940 # Note: We can NOT use -z defs as we might desire, because we do not
13941 # link with -lc, and that would cause any symbols used from libc to
13942 # always be unresolved, which means just about no library would
13943 # ever link correctly. If we're not using GNU ld we use -z text
13944 # though, which does catch some bad symbols but isn't as heavy-handed
13946 no_undefined_flag_FC
='${wl}-z,text'
13947 allow_undefined_flag_FC
='${wl}-z,nodefs'
13948 archive_cmds_need_lc_FC
=no
13949 hardcode_shlibpath_var_FC
=no
13950 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
13951 hardcode_libdir_separator_FC
=':'
13952 link_all_deplibs_FC
=yes
13953 export_dynamic_flag_spec_FC
='${wl}-Bexport'
13954 runpath_var
='LD_RUN_PATH'
13956 if test "$GCC" = yes; then
13957 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13958 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13960 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13961 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13966 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13967 hardcode_libdir_flag_spec_FC
='-L$libdir'
13968 hardcode_shlibpath_var_FC
=no
13976 if test x
$host_vendor = xsni
; then
13978 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13979 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
13986 $as_echo "$ld_shlibs_FC" >&6; }
13987 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
13989 with_gnu_ld_FC
=$with_gnu_ld
13997 # Do we need to explicitly link libc?
13999 case "x$archive_cmds_need_lc_FC" in
14001 # Assume -lc should be added
14002 archive_cmds_need_lc_FC
=yes
14004 if test "$enable_shared" = yes && test "$GCC" = yes; then
14005 case $archive_cmds_FC in
14007 # FIXME: we may have to deal with multi-command sequences.
14010 # Test whether the compiler implicitly links with -lc since on some
14011 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14012 # to ld, don't add -lc before -lgcc.
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14014 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14015 if ${lt_cv_archive_cmds_need_lc_FC+:} false
; then :
14016 $as_echo_n "(cached) " >&6
14019 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14022 (eval $ac_compile) 2>&5
14024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14025 test $ac_status = 0; } 2>conftest.err
; then
14028 libobjs
=conftest.
$ac_objext
14030 wl
=$lt_prog_compiler_wl_FC
14031 pic_flag
=$lt_prog_compiler_pic_FC
14037 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
14038 allow_undefined_flag_FC
=
14039 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14040 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14043 test $ac_status = 0; }
14045 lt_cv_archive_cmds_need_lc_FC
=no
14047 lt_cv_archive_cmds_need_lc_FC
=yes
14049 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
14051 cat conftest.err
1>&5
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14057 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14058 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14129 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14131 library_names_spec
=
14132 libname_spec
='lib$name'
14136 postuninstall_cmds
=
14140 shlibpath_overrides_runpath
=unknown
14142 dynamic_linker
="$host_os ld.so"
14143 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14144 need_lib_prefix
=unknown
14145 hardcode_into_libs
=no
14147 # when you set need_version to no, make sure it does not cause -set_version
14148 # flags to be left without arguments
14149 need_version
=unknown
14154 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14155 shlibpath_var
=LIBPATH
14157 # AIX 3 has no versioning support, so we append a major version to the name.
14158 soname_spec
='${libname}${release}${shared_ext}$major'
14165 hardcode_into_libs
=yes
14166 if test "$host_cpu" = ia64
; then
14167 # AIX 5 supports IA64
14168 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14169 shlibpath_var
=LD_LIBRARY_PATH
14171 # With GCC up to 2.95.x, collect2 would create an import file
14172 # for dependence libraries. The import file would start with
14173 # the line `#! .'. This would cause the generated library to
14174 # depend on `.', always an invalid library. This was fixed in
14175 # development snapshots of GCC prior to 3.0.
14177 aix4 | aix4.
[01] | aix4.
[01].
*)
14178 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14180 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14183 can_build_shared
=no
14187 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14188 # soname into executable. Probably we can add versioning support to
14189 # collect2, so additional links can be useful in future.
14190 if test "$aix_use_runtimelinking" = yes; then
14191 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14192 # instead of lib<name>.a to let people know that these are not
14193 # typical AIX shared libraries.
14194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14196 # We preserve .a as extension for shared libraries through AIX4.2
14197 # and later when we are not doing run time linking.
14198 library_names_spec
='${libname}${release}.a $libname.a'
14199 soname_spec
='${libname}${release}${shared_ext}$major'
14201 shlibpath_var
=LIBPATH
14208 # Since July 2007 AmigaOS4 officially supports .so libraries.
14209 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14210 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14213 library_names_spec
='$libname.ixlibrary $libname.a'
14214 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14215 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'
14221 library_names_spec
='${libname}${shared_ext}'
14222 dynamic_linker
="$host_os ld.so"
14223 shlibpath_var
=LIBRARY_PATH
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 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14232 shlibpath_var
=LD_LIBRARY_PATH
14233 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14234 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14235 # the default ld.so.conf also contains /usr/contrib/lib and
14236 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14237 # libtool to hard-code these into programs
14240 cygwin
* | mingw
* | pw32
* | cegcc
*)
14241 version_type
=windows
14246 case $GCC,$host_os in
14247 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14248 library_names_spec
='$libname.dll.a'
14249 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14250 postinstall_cmds
='base_file=`basename \${file}`~
14251 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14252 dldir=$destdir/`dirname \$dlpath`~
14253 test -d \$dldir || mkdir -p \$dldir~
14254 $install_prog $dir/$dlname \$dldir/$dlname~
14255 chmod a+x \$dldir/$dlname~
14256 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14257 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14259 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14260 dlpath=$dir/\$dldll~
14262 shlibpath_overrides_runpath
=yes
14266 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14267 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14271 # MinGW DLLs use traditional 'lib' prefix
14272 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14275 # pw32 DLLs use 'pw' prefix rather than 'lib'
14276 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14282 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14285 dynamic_linker
='Win32 ld.exe'
14286 # FIXME: first we should search . and the directory the executable is in
14290 darwin
* | rhapsody
*)
14291 dynamic_linker
="$host_os dyld"
14292 version_type
=darwin
14295 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14296 soname_spec
='${libname}${release}${major}$shared_ext'
14297 shlibpath_overrides_runpath
=yes
14298 shlibpath_var
=DYLD_LIBRARY_PATH
14299 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14301 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14309 soname_spec
='${libname}${release}${shared_ext}$major'
14310 shlibpath_var
=LD_LIBRARY_PATH
14313 freebsd
* | dragonfly
*)
14314 # DragonFly does not have aout. When/if they implement a new
14315 # versioning mechanism, adjust this.
14316 if test -x /usr
/bin
/objformat
; then
14317 objformat
=`/usr/bin/objformat`
14320 freebsd
[23].
*) objformat
=aout
;;
14321 *) objformat
=elf
;;
14324 version_type
=freebsd-
$objformat
14325 case $version_type in
14327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14332 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14336 shlibpath_var
=LD_LIBRARY_PATH
14339 shlibpath_overrides_runpath
=yes
14341 freebsd3.
[01]* | freebsdelf3.
[01]*)
14342 shlibpath_overrides_runpath
=yes
14343 hardcode_into_libs
=yes
14345 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14346 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14347 shlibpath_overrides_runpath
=no
14348 hardcode_into_libs
=yes
14350 *) # from 4.6 on, and DragonFly
14351 shlibpath_overrides_runpath
=yes
14352 hardcode_into_libs
=yes
14361 dynamic_linker
="$host_os runtime_loader"
14362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14363 soname_spec
='${libname}${release}${shared_ext}$major'
14364 shlibpath_var
=LIBRARY_PATH
14365 shlibpath_overrides_runpath
=yes
14366 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14367 hardcode_into_libs
=yes
14370 hpux9
* | hpux10
* | hpux11
*)
14371 # Give a soname corresponding to the major version so that dld.sl refuses to
14372 # link against other versions.
14379 hardcode_into_libs
=yes
14380 dynamic_linker
="$host_os dld.so"
14381 shlibpath_var
=LD_LIBRARY_PATH
14382 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14383 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14384 soname_spec
='${libname}${release}${shared_ext}$major'
14385 if test "X$HPUX_IA64_MODE" = X32
; then
14386 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14388 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14390 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14394 hardcode_into_libs
=yes
14395 dynamic_linker
="$host_os dld.sl"
14396 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14397 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14399 soname_spec
='${libname}${release}${shared_ext}$major'
14400 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14401 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14405 dynamic_linker
="$host_os dld.sl"
14406 shlibpath_var
=SHLIB_PATH
14407 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14409 soname_spec
='${libname}${release}${shared_ext}$major'
14412 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14413 postinstall_cmds
='chmod 555 $lib'
14414 # or fails outright, so override atomically:
14415 install_override_mode
=555
14422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14423 soname_spec
='${libname}${release}${shared_ext}$major'
14424 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14425 shlibpath_var
=LD_LIBRARY_PATH
14426 shlibpath_overrides_runpath
=no
14427 hardcode_into_libs
=yes
14430 irix5
* | irix6
* | nonstopux
*)
14432 nonstopux
*) version_type
=nonstopux
;;
14434 if test "$lt_cv_prog_gnu_ld" = yes; then
14442 soname_spec
='${libname}${release}${shared_ext}$major'
14443 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14445 irix5
* | nonstopux
*)
14446 libsuff
= shlibsuff
=
14449 case $LD in # libtool.m4 will add one of these switches to LD
14450 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14451 libsuff
= shlibsuff
= libmagic
=32-bit;;
14452 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14453 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14454 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14455 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14456 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14460 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14461 shlibpath_overrides_runpath
=no
14462 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14463 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14464 hardcode_into_libs
=yes
14467 # No shared lib support for Linux oldld, aout, or coff.
14468 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14472 # This must be Linux ELF.
14474 # uclinux* changes (here and below) have been submitted to the libtool
14475 # project, but have not yet been accepted: they are GCC-local changes
14476 # for the time being. (See
14477 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
14478 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
14482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14483 soname_spec
='${libname}${release}${shared_ext}$major'
14484 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14485 shlibpath_var
=LD_LIBRARY_PATH
14486 shlibpath_overrides_runpath
=no
14488 # Some binutils ld are patched to set DT_RUNPATH
14489 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
14490 $as_echo_n "(cached) " >&6
14492 lt_cv_shlibpath_overrides_runpath
=no
14493 save_LDFLAGS
=$LDFLAGS
14494 save_libdir
=$libdir
14495 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
14496 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
14497 cat > conftest.
$ac_ext <<_ACEOF
14502 if ac_fn_fc_try_link
"$LINENO"; then :
14503 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14504 lt_cv_shlibpath_overrides_runpath
=yes
14507 rm -f core conftest.err conftest.
$ac_objext \
14508 conftest
$ac_exeext conftest.
$ac_ext
14509 LDFLAGS
=$save_LDFLAGS
14510 libdir
=$save_libdir
14514 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14516 # This implies no fast_install, which is unacceptable.
14517 # Some rework will be needed to allow for fast_install
14518 # before this can be enabled.
14519 hardcode_into_libs
=yes
14521 # Append ld.so.conf contents to the search path
14522 if test -f /etc
/ld.so.conf
; then
14523 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' ' '`
14524 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14527 # We used to test for /lib/ld.so.1 and disable shared libraries on
14528 # powerpc, because MkLinux only supported shared libraries with the
14529 # GNU dynamic linker. Since this was broken with cross compilers,
14530 # most powerpc-linux boxes support dynamic linking these days and
14531 # people can always --disable-shared, the test was removed, and we
14532 # assume the GNU/Linux dynamic linker is in use.
14533 dynamic_linker
='GNU/Linux ld.so'
14540 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14541 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14542 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14543 dynamic_linker
='NetBSD (a.out) ld.so'
14545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14546 soname_spec
='${libname}${release}${shared_ext}$major'
14547 dynamic_linker
='NetBSD ld.elf_so'
14549 shlibpath_var
=LD_LIBRARY_PATH
14550 shlibpath_overrides_runpath
=yes
14551 hardcode_into_libs
=yes
14556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14557 shlibpath_var
=LD_LIBRARY_PATH
14558 shlibpath_overrides_runpath
=yes
14565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14566 soname_spec
='${libname}${release}${shared_ext}$major'
14567 shlibpath_var
=LD_LIBRARY_PATH
14568 shlibpath_overrides_runpath
=no
14569 hardcode_into_libs
=yes
14570 dynamic_linker
='ldqnx.so'
14575 sys_lib_dlsearch_path_spec
="/usr/lib"
14577 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14579 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14580 *) need_version
=no
;;
14582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14583 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14584 shlibpath_var
=LD_LIBRARY_PATH
14585 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14587 openbsd2.
[89] | openbsd2.
[89].
*)
14588 shlibpath_overrides_runpath
=no
14591 shlibpath_overrides_runpath
=yes
14595 shlibpath_overrides_runpath
=yes
14600 libname_spec
='$name'
14603 library_names_spec
='$libname${shared_ext} $libname.a'
14604 dynamic_linker
='OS/2 ld.exe'
14605 shlibpath_var
=LIBPATH
14608 osf3
* | osf4
* | osf5
*)
14612 soname_spec
='${libname}${release}${shared_ext}$major'
14613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14614 shlibpath_var
=LD_LIBRARY_PATH
14615 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14616 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14628 soname_spec
='${libname}${release}${shared_ext}$major'
14629 shlibpath_var
=LD_LIBRARY_PATH
14630 shlibpath_overrides_runpath
=yes
14631 hardcode_into_libs
=yes
14632 # ldd complains unless libraries are executable
14633 postinstall_cmds
='chmod +x $lib'
14638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14639 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14640 shlibpath_var
=LD_LIBRARY_PATH
14641 shlibpath_overrides_runpath
=yes
14642 if test "$with_gnu_ld" = yes; then
14650 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14651 soname_spec
='${libname}${release}${shared_ext}$major'
14652 shlibpath_var
=LD_LIBRARY_PATH
14653 case $host_vendor in
14655 shlibpath_overrides_runpath
=no
14657 runpath_var
=LD_RUN_PATH
14665 shlibpath_overrides_runpath
=no
14666 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14672 if test -d /usr
/nec
;then
14674 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14675 soname_spec
='$libname${shared_ext}.$major'
14676 shlibpath_var
=LD_LIBRARY_PATH
14680 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14681 version_type
=freebsd-elf
14684 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14685 soname_spec
='${libname}${release}${shared_ext}$major'
14686 shlibpath_var
=LD_LIBRARY_PATH
14687 shlibpath_overrides_runpath
=yes
14688 hardcode_into_libs
=yes
14689 if test "$with_gnu_ld" = yes; then
14690 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14692 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14695 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14699 sys_lib_dlsearch_path_spec
='/usr/lib'
14703 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14707 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14708 shlibpath_var
=LD_LIBRARY_PATH
14709 shlibpath_overrides_runpath
=no
14710 hardcode_into_libs
=yes
14715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14716 soname_spec
='${libname}${release}${shared_ext}$major'
14717 shlibpath_var
=LD_LIBRARY_PATH
14720 # Shared libraries for VwWorks, >= 7 only at this stage
14721 # and (fpic) still incompatible with "large" code models
14722 # in a few configurations. Only for RTP mode in any case,
14723 # and upon explicit request at configure time.
14726 case ${with_multisubdir}-${enable_shared} in
14733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14734 soname_spec
='${libname}${release}${shared_ext}$major'
14735 dynamic_linker
="$host_os module_loader"
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14744 $as_echo "$dynamic_linker" >&6; }
14745 test "$dynamic_linker" = no
&& can_build_shared
=no
14747 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14748 if test "$GCC" = yes; then
14749 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14752 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14753 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14755 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14756 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14797 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14798 hardcode_action_FC
=
14799 if test -n "$hardcode_libdir_flag_spec_FC" ||
14800 test -n "$runpath_var_FC" ||
14801 test "X$hardcode_automatic_FC" = "Xyes" ; then
14803 # We can hardcode non-existent directories.
14804 if test "$hardcode_direct_FC" != no
&&
14805 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14806 # have to relink, otherwise we might link with an installed library
14807 # when we should be linking with a yet-to-be-installed one
14808 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14809 test "$hardcode_minus_L_FC" != no
; then
14810 # Linking always hardcodes the temporary library directory.
14811 hardcode_action_FC
=relink
14813 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14814 hardcode_action_FC
=immediate
14817 # We cannot hardcode anything, or else we can only hardcode existing
14819 hardcode_action_FC
=unsupported
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
14822 $as_echo "$hardcode_action_FC" >&6; }
14824 if test "$hardcode_action_FC" = relink ||
14825 test "$inherit_rpath_FC" = yes; then
14826 # Fast installation is not supported
14827 enable_fast_install
=no
14828 elif test "$shlibpath_overrides_runpath" = yes ||
14829 test "$enable_shared" = no
; then
14830 # Fast installation is not necessary
14831 enable_fast_install
=needless
14840 fi # test -n "$compiler"
14844 fi # test "$_lt_disable_FC" != yes
14847 ac_cpp
='$CPP $CPPFLAGS'
14848 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14849 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14850 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14853 FCFLAGS
="$FCFLAGS -Wall -L../libgfortran"
14855 # For libtool versioning info, format is CURRENT:REVISION:AGE
14856 libtool_VERSION
=1:0:0
14859 # Check header files.
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14861 $as_echo_n "checking for ANSI C header files... " >&6; }
14862 if ${ac_cv_header_stdc+:} false
; then :
14863 $as_echo_n "(cached) " >&6
14865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14866 /* end confdefs.h. */
14867 #include <stdlib.h>
14868 #include <stdarg.h>
14869 #include <string.h>
14880 if ac_fn_c_try_compile
"$LINENO"; then :
14881 ac_cv_header_stdc
=yes
14883 ac_cv_header_stdc
=no
14885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14887 if test $ac_cv_header_stdc = yes; then
14888 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14890 /* end confdefs.h. */
14891 #include <string.h>
14894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14895 $EGREP "memchr" >/dev
/null
2>&1; then :
14898 ac_cv_header_stdc
=no
14904 if test $ac_cv_header_stdc = yes; then
14905 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14908 #include <stdlib.h>
14911 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14912 $EGREP "free" >/dev
/null
2>&1; then :
14915 ac_cv_header_stdc
=no
14921 if test $ac_cv_header_stdc = yes; then
14922 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14923 if test "$cross_compiling" = yes; then :
14926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14927 /* end confdefs.h. */
14929 #include <stdlib.h>
14930 #if ((' ' & 0x0FF) == 0x020)
14931 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14932 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14934 # define ISLOWER(c) \
14935 (('a' <= (c) && (c) <= 'i') \
14936 || ('j' <= (c) && (c) <= 'r') \
14937 || ('s' <= (c) && (c) <= 'z'))
14938 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14941 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14946 for (i = 0; i < 256; i++)
14947 if (XOR (islower (i), ISLOWER (i))
14948 || toupper (i) != TOUPPER (i))
14953 if ac_fn_c_try_run
"$LINENO"; then :
14956 ac_cv_header_stdc
=no
14958 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14959 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14965 $as_echo "$ac_cv_header_stdc" >&6; }
14966 if test $ac_cv_header_stdc = yes; then
14968 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14973 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14974 if ${ac_cv_header_time+:} false
; then :
14975 $as_echo_n "(cached) " >&6
14977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14978 /* end confdefs.h. */
14979 #include <sys/types.h>
14980 #include <sys/time.h>
14986 if ((struct tm *) 0)
14992 if ac_fn_c_try_compile
"$LINENO"; then :
14993 ac_cv_header_time
=yes
14995 ac_cv_header_time
=no
14997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
15000 $as_echo "$ac_cv_header_time" >&6; }
15001 if test $ac_cv_header_time = yes; then
15003 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
15008 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
15009 if ${gcc_cv_header_string+:} false
; then :
15010 $as_echo_n "(cached) " >&6
15012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15013 /* end confdefs.h. */
15014 #include <string.h>
15015 #include <strings.h>
15024 if ac_fn_c_try_compile
"$LINENO"; then :
15025 gcc_cv_header_string
=yes
15027 gcc_cv_header_string
=no
15029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
15032 $as_echo "$gcc_cv_header_string" >&6; }
15033 if test $gcc_cv_header_string = yes; then
15035 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
15039 for ac_header
in pthread.h unistd.h semaphore.h sys
/loadavg.h sys
/sysctl.h sys
/time.h
15041 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15042 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15043 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15044 cat >>confdefs.h
<<_ACEOF
15045 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15056 # RTEMS supports Pthreads, but the library is not available at GCC build time.
15058 nvptx
*-*-* | amdgcn
*-*-*)
15059 # NVPTX does not support Pthreads, has its own code replacement.
15060 libgomp_use_pthreads
=no
15061 # NVPTX is an accelerator-only target
15062 libgomp_offloaded_only
=yes
15065 # Check to see if -pthread or -lpthread is needed. Prefer the former.
15066 # In case the pthread.h system header is not found, this test will fail.
15067 CFLAGS
="$CFLAGS -pthread"
15068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15069 /* end confdefs.h. */
15070 #include <pthread.h>
15071 void *g(void *d) { return NULL; }
15075 pthread_t t; pthread_create(&t,NULL,g,NULL);
15080 if ac_fn_c_try_link
"$LINENO"; then :
15081 XPCFLAGS
=" -Wc,-pthread"
15083 CFLAGS
="$save_CFLAGS" LIBS
="-lpthread $LIBS"
15084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15085 /* end confdefs.h. */
15086 #include <pthread.h>
15087 void *g(void *d) { return NULL; }
15091 pthread_t t; pthread_create(&t,NULL,g,NULL);
15096 if ac_fn_c_try_link
"$LINENO"; then :
15099 as_fn_error $?
"Pthreads are required to build libgomp" "$LINENO" 5
15101 rm -f core conftest.err conftest.
$ac_objext \
15102 conftest
$ac_exeext conftest.
$ac_ext
15104 rm -f core conftest.err conftest.
$ac_objext \
15105 conftest
$ac_exeext conftest.
$ac_ext
15108 if test x
$libgomp_use_pthreads != xno
; then
15110 $as_echo "#define LIBGOMP_USE_PTHREADS 1" >>confdefs.h
15114 if test x
$libgomp_offloaded_only = xyes
; then
15116 $as_echo "#define LIBGOMP_OFFLOADED_ONLY 1" >>confdefs.h
15120 if test "x$enable_offload_defaulted" = xyes
; then
15122 $as_echo "#define OFFLOAD_DEFAULTED 1" >>confdefs.h
15126 # The cast to long int works around a bug in the HP C Compiler
15127 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15128 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15129 # This bug is HP SR number 8606223364.
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15131 $as_echo_n "checking size of void *... " >&6; }
15132 if ${ac_cv_sizeof_void_p+:} false
; then :
15133 $as_echo_n "(cached) " >&6
15135 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15138 if test "$ac_cv_type_void_p" = yes; then
15139 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15141 as_fn_error
77 "cannot compute sizeof (void *)
15142 See \`config.log' for more details" "$LINENO" 5; }
15144 ac_cv_sizeof_void_p
=0
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15150 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15154 cat >>confdefs.h
<<_ACEOF
15155 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15160 # Plugins for offload execution, configure.ac fragment. -*- mode: autoconf -*-
15162 # Copyright (C) 2014-2023 Free Software Foundation, Inc.
15164 # Contributed by Mentor Embedded.
15166 # This file is part of the GNU Offloading and Multi Processing Library
15169 # Libgomp is free software; you can redistribute it and/or modify it
15170 # under the terms of the GNU General Public License as published by
15171 # the Free Software Foundation; either version 3, or (at your option)
15172 # any later version.
15174 # Libgomp is distributed in the hope that it will be useful, but WITHOUT ANY
15175 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15176 # FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15179 # Under Section 7 of GPL version 3, you are granted additional
15180 # permissions described in the GCC Runtime Library Exception, version
15181 # 3.1, as published by the Free Software Foundation.
15183 # You should have received a copy of the GNU General Public License and
15184 # a copy of the GCC Runtime Library Exception along with this program;
15185 # see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
15186 # <http://www.gnu.org/licenses/>.
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
15192 $as_echo_n "checking for dlsym in -ldl... " >&6; }
15193 if ${ac_cv_lib_dl_dlsym+:} false
; then :
15194 $as_echo_n "(cached) " >&6
15196 ac_check_lib_save_LIBS
=$LIBS
15198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15199 /* end confdefs.h. */
15201 /* Override any GCC internal prototype to avoid an error.
15202 Use char because int might match the return type of a GCC
15203 builtin and then its argument prototype would still apply. */
15216 if ac_fn_c_try_link
"$LINENO"; then :
15217 ac_cv_lib_dl_dlsym
=yes
15219 ac_cv_lib_dl_dlsym
=no
15221 rm -f core conftest.err conftest.
$ac_objext \
15222 conftest
$ac_exeext conftest.
$ac_ext
15223 LIBS
=$ac_check_lib_save_LIBS
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
15226 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
15227 if test "x$ac_cv_lib_dl_dlsym" = xyes
; then :
15233 if test x
"$plugin_support" = xyes
; then
15235 $as_echo "#define PLUGIN_SUPPORT 1" >>confdefs.h
15237 elif test "x${enable_offload_targets-no}" != xno
; then
15238 as_fn_error $?
"Can't support offloading without support for plugins" "$LINENO" 5
15243 for ac_header
in $ac_header_list
15245 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15246 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15248 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15249 cat >>confdefs.h
<<_ACEOF
15250 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15263 for ac_func
in $ac_func_list
15265 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15266 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15267 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15268 cat >>confdefs.h
<<_ACEOF
15269 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15292 # Parse '--enable-offload-targets', figure out the corresponding libgomp
15293 # plugins, and configure to find the corresponding offload compilers.
15294 # 'offload_plugins' and 'offload_targets' will be populated in the same order.
15299 offload_additional_options
=
15300 offload_additional_lib_paths
=
15303 if test x
"$enable_offload_targets" != x
; then
15304 for tgt
in `echo $enable_offload_targets | sed -e 's#,# #g'`; do
15305 tgt_dir
=`echo $tgt | grep '=' | sed 's/.*=//'`
15306 tgt
=`echo $tgt | sed 's/=.*//'`
15310 case "${target}" in
15311 aarch64
*-*-* | powerpc64le-
*-* | x86_64-
*-*)
15312 case "$ac_cv_sizeof_void_p" in
15314 # PR libgomp/65099: Currently, we only support offloading in
15315 # 64-bit configurations.
15325 # Target architecture not supported.
15331 case "${target}" in
15333 case "$ac_cv_sizeof_void_p" in
15349 as_fn_error $?
"unknown offload target specified" "$LINENO" 5
15352 if test x
"$tgt_plugin" = x
; then
15353 # Not configuring libgomp for this offload target if we're not building
15354 # the corresponding offload plugin.
15356 elif test x
"$offload_plugins" = x
; then
15357 offload_plugins
=$tgt_plugin
15358 offload_targets
=$tgt
15360 offload_plugins
=$offload_plugins,$tgt_plugin
15361 offload_targets
=$offload_targets,$tgt
15363 # Configure additional search paths.
15364 if test x
"$tgt_dir" != x
; then
15365 offload_additional_options
="$offload_additional_options -B$tgt_dir/\$(libexecdir:\$(exec_prefix)/%=%)/gcc/\$(target_alias)/\$(gcc_version) -B$tgt_dir/bin"
15366 offload_additional_lib_paths
="$offload_additional_lib_paths:$tgt_dir/lib64:$tgt_dir/lib:$tgt_dir/lib32"
15368 offload_additional_options
="$offload_additional_options -B\$(libexecdir)/gcc/\$(target_alias)/\$(gcc_version) -B\$(bindir)"
15369 offload_additional_lib_paths
="$offload_additional_lib_paths:$toolexeclibdir"
15374 cat >>confdefs.h
<<_ACEOF
15375 #define OFFLOAD_PLUGINS "$offload_plugins"
15378 if test $PLUGIN_NVPTX = 1; then
15380 PLUGIN_NVPTX_FALSE
='#'
15382 PLUGIN_NVPTX_TRUE
='#'
15383 PLUGIN_NVPTX_FALSE
=
15386 if test $PLUGIN_GCN = 1; then
15388 PLUGIN_GCN_FALSE
='#'
15390 PLUGIN_GCN_TRUE
='#'
15396 # Check for functions needed.
15397 for ac_func
in getloadavg clock_gettime strtoull
15399 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15400 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15401 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15402 cat >>confdefs.h
<<_ACEOF
15403 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15409 for ac_func
in aligned_alloc posix_memalign memalign _aligned_malloc
15411 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15412 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15413 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15414 cat >>confdefs.h
<<_ACEOF
15415 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15422 # Check for broken semaphore implementation on darwin.
15423 # sem_init returns: sem_init error: Function not implemented.
15427 $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
15432 # RTEMS specific checks
15435 ac_fn_c_check_type
"$LINENO" "struct _Mutex_Control" "ac_cv_type_struct__Mutex_Control" "#include <sys/lock.h>
15437 if test "x$ac_cv_type_struct__Mutex_Control" = xyes
; then :
15439 cat >>confdefs.h
<<_ACEOF
15440 #define HAVE_STRUCT__MUTEX_CONTROL 1
15449 # Check whether --enable-linux-futex was given.
15450 if test "${enable_linux_futex+set}" = set; then :
15451 enableval
=$enable_linux_futex;
15452 case "$enableval" in
15454 *) as_fn_error $?
"Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
15458 enable_linux_futex
=default
15463 *-linux* |
*-uclinux*)
15464 case "$enable_linux_futex" in
15466 # If headers don't have gettid/futex syscalls definition, then
15467 # default to no, otherwise there will be compile time failures.
15468 # Otherwise, default to yes. If we don't detect we are
15469 # compiled/linked against NPTL and not cross-compiling, check
15470 # if programs are run by default against NPTL and if not, issue
15472 enable_linux_futex
=no
15473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15474 /* end confdefs.h. */
15475 #include <sys/syscall.h>
15476 #include <unistd.h>
15481 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
15486 if ac_fn_c_try_link
"$LINENO"; then :
15488 LIBS
="-lpthread $LIBS"
15489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15490 /* end confdefs.h. */
15491 #ifndef _GNU_SOURCE
15492 #define _GNU_SOURCE 1
15494 #include <pthread.h>
15495 pthread_t th; void *status;
15499 pthread_tryjoin_np (th, &status);
15504 if ac_fn_c_try_link
"$LINENO"; then :
15505 enable_linux_futex
=yes
15507 if test x
$cross_compiling = xno
; then
15508 if getconf GNU_LIBPTHREAD_VERSION
2>/dev
/null \
15509 | LC_ALL
=C
grep -i NPTL
> /dev
/null
2>/dev
/null
; then :; else
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
15511 If so, please configure with --disable-linux-futex" >&5
15512 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
15513 If so, please configure with --disable-linux-futex" >&2;}
15516 enable_linux_futex
=yes
15518 rm -f core conftest.err conftest.
$ac_objext \
15519 conftest
$ac_exeext conftest.
$ac_ext
15522 rm -f core conftest.err conftest.
$ac_objext \
15523 conftest
$ac_exeext conftest.
$ac_ext
15526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15527 /* end confdefs.h. */
15528 #include <sys/syscall.h>
15529 #include <unistd.h>
15534 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
15539 if ac_fn_c_try_link
"$LINENO"; then :
15542 as_fn_error $?
"SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
15544 rm -f core conftest.err conftest.
$ac_objext \
15545 conftest
$ac_exeext conftest.
$ac_ext
15550 enable_linux_futex
=no
15553 if test x
$enable_linux_futex = xyes
; then
15558 # Check for pthread_{,attr_}[sg]etaffinity_np.
15559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15560 /* end confdefs.h. */
15561 #define _GNU_SOURCE
15562 #include <pthread.h>
15567 pthread_attr_t attr;
15568 pthread_getaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
15569 if (CPU_ISSET (0, &cpuset))
15570 CPU_SET (1, &cpuset);
15572 CPU_ZERO (&cpuset);
15573 pthread_setaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
15574 pthread_attr_init (&attr);
15575 pthread_attr_getaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
15576 pthread_attr_setaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
15581 if ac_fn_c_try_link
"$LINENO"; then :
15583 $as_echo "#define HAVE_PTHREAD_AFFINITY_NP 1" >>confdefs.h
15586 rm -f core conftest.err conftest.
$ac_objext \
15587 conftest
$ac_exeext conftest.
$ac_ext
15589 # At least for glibc, clock_gettime is in librt. But don't pull that
15590 # in if it still doesn't give us the function we want.
15591 if test $ac_cv_func_clock_gettime = no
; then
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
15593 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
15594 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
15595 $as_echo_n "(cached) " >&6
15597 ac_check_lib_save_LIBS
=$LIBS
15599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15600 /* end confdefs.h. */
15602 /* Override any GCC internal prototype to avoid an error.
15603 Use char because int might match the return type of a GCC
15604 builtin and then its argument prototype would still apply. */
15608 char clock_gettime ();
15612 return clock_gettime ();
15617 if ac_fn_c_try_link
"$LINENO"; then :
15618 ac_cv_lib_rt_clock_gettime
=yes
15620 ac_cv_lib_rt_clock_gettime
=no
15622 rm -f core conftest.err conftest.
$ac_objext \
15623 conftest
$ac_exeext conftest.
$ac_ext
15624 LIBS
=$ac_check_lib_save_LIBS
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
15627 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
15628 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
15631 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15639 /* end confdefs.h. */
15640 #include <string.h>
15641 #include <stdlib.h>
15642 #include <sys/utsname.h>
15646 struct utsname buf;
15647 volatile size_t len = 0;
15649 len = strlen (buf.nodename);
15654 if ac_fn_c_try_compile
"$LINENO"; then :
15656 $as_echo "#define HAVE_UNAME 1" >>confdefs.h
15659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15661 # Check for gethostname.
15662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15663 /* end confdefs.h. */
15664 #include <unistd.h>
15670 if (gethostname (buf, sizeof (buf) - 1) == 0)
15677 if ac_fn_c_try_compile
"$LINENO"; then :
15679 $as_echo "#define HAVE_GETHOSTNAME 1" >>confdefs.h
15682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15684 # Check for getpid.
15685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15686 /* end confdefs.h. */
15687 #include <unistd.h>
15691 int pid = getpid ();
15696 if ac_fn_c_try_compile
"$LINENO"; then :
15698 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
15701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15703 # See if we support thread-local storage.
15706 # Check whether --enable-tls was given.
15707 if test "${enable_tls+set}" = set; then :
15708 enableval
=$enable_tls;
15709 case "$enableval" in
15711 *) as_fn_error $?
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
15720 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
15721 if ${gcc_cv_have_tls+:} false
; then :
15722 $as_echo_n "(cached) " >&6
15725 if test "$cross_compiling" = yes; then :
15726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15727 /* end confdefs.h. */
15728 __thread int a; int b; int main() { return a = b; }
15730 if ac_fn_c_try_link
"$LINENO"; then :
15731 chktls_save_LDFLAGS
="$LDFLAGS"
15733 *-*-linux* |
-*-uclinuxfdpic*)
15734 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
15737 chktls_save_CFLAGS
="$CFLAGS"
15738 CFLAGS
="-fPIC $CFLAGS"
15739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15740 /* end confdefs.h. */
15741 int f() { return 0; }
15743 if ac_fn_c_try_link
"$LINENO"; then :
15744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15745 /* end confdefs.h. */
15746 __thread int a; int b; int f() { return a = b; }
15748 if ac_fn_c_try_link
"$LINENO"; then :
15749 gcc_cv_have_tls
=yes
15753 rm -f core conftest.err conftest.
$ac_objext \
15754 conftest
$ac_exeext conftest.
$ac_ext
15756 gcc_cv_have_tls
=yes
15758 rm -f core conftest.err conftest.
$ac_objext \
15759 conftest
$ac_exeext conftest.
$ac_ext
15760 CFLAGS
="$chktls_save_CFLAGS"
15761 LDFLAGS
="$chktls_save_LDFLAGS"
15765 rm -f core conftest.err conftest.
$ac_objext \
15766 conftest
$ac_exeext conftest.
$ac_ext
15770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15771 /* end confdefs.h. */
15772 __thread int a; int b; int main() { return a = b; }
15774 if ac_fn_c_try_run
"$LINENO"; then :
15775 chktls_save_LDFLAGS
="$LDFLAGS"
15776 LDFLAGS
="-static $LDFLAGS"
15777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15778 /* end confdefs.h. */
15779 int main() { return 0; }
15781 if ac_fn_c_try_link
"$LINENO"; then :
15782 if test "$cross_compiling" = yes; then :
15783 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15784 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15785 as_fn_error $?
"cannot run test program while cross compiling
15786 See \`config.log' for more details" "$LINENO" 5; }
15788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15789 /* end confdefs.h. */
15790 __thread int a; int b; int main() { return a = b; }
15792 if ac_fn_c_try_run
"$LINENO"; then :
15793 gcc_cv_have_tls
=yes
15797 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15798 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15802 gcc_cv_have_tls
=yes
15804 rm -f core conftest.err conftest.
$ac_objext \
15805 conftest
$ac_exeext conftest.
$ac_ext
15806 LDFLAGS
="$chktls_save_LDFLAGS"
15807 if test $gcc_cv_have_tls = yes; then
15808 chktls_save_CFLAGS
="$CFLAGS"
15809 thread_CFLAGS
=failed
15810 for flag
in '' '-pthread' '-lpthread'; do
15811 CFLAGS
="$flag $chktls_save_CFLAGS"
15812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15813 /* end confdefs.h. */
15814 #include <pthread.h>
15815 void *g(void *d) { return NULL; }
15819 pthread_t t; pthread_create(&t,NULL,g,NULL);
15824 if ac_fn_c_try_link
"$LINENO"; then :
15825 thread_CFLAGS
="$flag"
15827 rm -f core conftest.err conftest.
$ac_objext \
15828 conftest
$ac_exeext conftest.
$ac_ext
15829 if test "X$thread_CFLAGS" != Xfailed
; then
15833 CFLAGS
="$chktls_save_CFLAGS"
15834 if test "X$thread_CFLAGS" != Xfailed
; then
15835 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
15836 if test "$cross_compiling" = yes; then :
15837 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15838 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15839 as_fn_error $?
"cannot run test program while cross compiling
15840 See \`config.log' for more details" "$LINENO" 5; }
15842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15843 /* end confdefs.h. */
15844 #include <pthread.h>
15846 static int *volatile a_in_other_thread;
15848 thread_func (void *arg)
15850 a_in_other_thread = &a;
15857 void *thread_retval;
15858 int *volatile a_in_main_thread;
15859 a_in_main_thread = &a;
15860 if (pthread_create (&thread, (pthread_attr_t *)0,
15861 thread_func, (void *)0))
15863 if (pthread_join (thread, &thread_retval))
15865 return (a_in_other_thread == a_in_main_thread);
15870 if ac_fn_c_try_run
"$LINENO"; then :
15871 gcc_cv_have_tls
=yes
15875 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15876 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15879 CFLAGS
="$chktls_save_CFLAGS"
15885 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15886 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
15891 $as_echo "$gcc_cv_have_tls" >&6; }
15892 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
15894 $as_echo "#define HAVE_TLS 1" >>confdefs.h
15898 # See if we have emulated thread-local storage.
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5
15901 $as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; }
15902 if ${gcc_cv_use_emutls+:} false
; then :
15903 $as_echo_n "(cached) " >&6
15906 gcc_cv_use_emutls
=no
15907 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
15908 if { ac_try
='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5'
15909 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15910 (eval $ac_try) 2>&5
15912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15913 test $ac_status = 0; }; }; then
15914 if grep __emutls_get_address conftest.s
> /dev
/null
; then
15915 gcc_cv_use_emutls
=yes
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5
15922 $as_echo "$gcc_cv_use_emutls" >&6; }
15923 if test "$gcc_cv_use_emutls" = "yes" ; then
15925 $as_echo "#define USE_EMUTLS 1" >>confdefs.h
15929 # See what sort of export controls are available.
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
15932 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
15933 if ${libgomp_cv_have_attribute_visibility+:} false
; then :
15934 $as_echo_n "(cached) " >&6
15937 save_CFLAGS
="$CFLAGS"
15938 CFLAGS
="$CFLAGS -Werror"
15939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15940 /* end confdefs.h. */
15941 void __attribute__((visibility("hidden"))) foo(void) { }
15950 if ac_fn_c_try_compile
"$LINENO"; then :
15951 libgomp_cv_have_attribute_visibility
=yes
15953 libgomp_cv_have_attribute_visibility
=no
15955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15956 CFLAGS
="$save_CFLAGS"
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_attribute_visibility" >&5
15959 $as_echo "$libgomp_cv_have_attribute_visibility" >&6; }
15960 if test $libgomp_cv_have_attribute_visibility = yes; then
15962 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
15967 $as_echo_n "checking whether the target supports dllexport... " >&6; }
15968 if ${libgomp_cv_have_attribute_dllexport+:} false
; then :
15969 $as_echo_n "(cached) " >&6
15972 save_CFLAGS
="$CFLAGS"
15973 CFLAGS
="$CFLAGS -Werror"
15974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15975 /* end confdefs.h. */
15976 void __attribute__((dllexport)) foo(void) { }
15985 if ac_fn_c_try_compile
"$LINENO"; then :
15986 libgomp_cv_have_attribute_dllexport
=yes
15988 libgomp_cv_have_attribute_dllexport
=no
15990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15991 CFLAGS
="$save_CFLAGS"
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_attribute_dllexport" >&5
15994 $as_echo "$libgomp_cv_have_attribute_dllexport" >&6; }
15995 if test $libgomp_cv_have_attribute_dllexport = yes; then
15997 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
16002 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
16003 if ${libgomp_cv_have_attribute_alias+:} false
; then :
16004 $as_echo_n "(cached) " >&6
16007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16008 /* end confdefs.h. */
16011 extern void bar(void) __attribute__((alias("foo")));
16020 if ac_fn_c_try_link
"$LINENO"; then :
16021 libgomp_cv_have_attribute_alias
=yes
16023 libgomp_cv_have_attribute_alias
=no
16025 rm -f core conftest.err conftest.
$ac_objext \
16026 conftest
$ac_exeext conftest.
$ac_ext
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_attribute_alias" >&5
16029 $as_echo "$libgomp_cv_have_attribute_alias" >&6; }
16030 if test $libgomp_cv_have_attribute_alias = yes; then
16032 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
16037 # Check whether --with-gnu-ld was given.
16038 if test "${with_gnu_ld+set}" = set; then :
16039 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
16045 if test "$GCC" = yes; then
16046 # Check if gcc -print-prog-name=ld gives a path.
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
16048 $as_echo_n "checking for ld used by $CC... " >&6; }
16051 # gcc leaves a trailing carriage return which upsets mingw
16052 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16054 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
16057 # Accept absolute paths.
16059 re_direlt
='/[^/][^/]*/\.\./'
16060 # Canonicalize the pathname of ld
16061 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
16062 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
16063 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
16065 test -z "$LD" && LD
="$ac_prog"
16068 # If it fails, then pretend we aren't using GCC.
16072 # If it is relative, then search for the first ld in PATH.
16073 with_gnu_ld
=unknown
16076 elif test "$with_gnu_ld" = yes; then
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16078 $as_echo_n "checking for GNU ld... " >&6; }
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16081 $as_echo_n "checking for non-GNU ld... " >&6; }
16083 if ${lt_cv_path_LD+:} false
; then :
16084 $as_echo_n "(cached) " >&6
16086 if test -z "$LD"; then
16087 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
16088 for ac_dir
in $PATH; do
16090 test -z "$ac_dir" && ac_dir
=.
16091 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
16092 lt_cv_path_LD
="$ac_dir/$ac_prog"
16093 # Check to see if the program is GNU ld. I'd rather use --version,
16094 # but apparently some variants of GNU ld only accept -v.
16095 # Break only if it was the GNU/non-GNU ld that we prefer.
16096 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16097 *GNU
* |
*'with BFD'*)
16098 test "$with_gnu_ld" != no
&& break
16101 test "$with_gnu_ld" != yes && break
16108 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
16112 LD
="$lt_cv_path_LD"
16113 if test -n "$LD"; then
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16115 $as_echo "$LD" >&6; }
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16118 $as_echo "no" >&6; }
16120 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16122 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16123 if ${lt_cv_prog_gnu_ld+:} false
; then :
16124 $as_echo_n "(cached) " >&6
16126 # I'd rather use --version here, but apparently some GNU lds only accept -v.
16127 case `$LD -v 2>&1 </dev/null` in
16128 *GNU
* |
*'with BFD'*)
16129 lt_cv_prog_gnu_ld
=yes
16132 lt_cv_prog_gnu_ld
=no
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
16137 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
16138 with_gnu_ld
=$lt_cv_prog_gnu_ld
16146 # If we're not using GNU ld, then there's no point in even trying these
16147 # tests. Check for that first. We should have already tested for gld
16148 # by now (in libtool), but require it now just to be safe...
16149 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
16150 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
16154 # The name set by libtool depends on the version of libtool. Shame on us
16155 # for depending on an impl detail, but c'est la vie. Older versions used
16156 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
16157 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
16158 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
16159 # set (hence we're using an older libtool), then set it.
16160 if test x
${with_gnu_ld+set} != xset
; then
16161 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
16162 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
16165 with_gnu_ld
=$ac_cv_prog_gnu_ld
16169 # Start by getting the version number. I think the libtool test already
16170 # does some of this, but throws away the result.
16171 libgomp_ld_is_gold
=no
16172 libgomp_ld_is_mold
=no
16173 if $LD --version 2>/dev
/null |
grep 'GNU gold'> /dev
/null
2>&1; then
16174 libgomp_ld_is_gold
=yes
16175 elif $LD --version 2>/dev
/null |
grep 'mold'> /dev
/null
2>&1; then
16176 libgomp_ld_is_mold
=yes
16179 ldver
=`$LD --version 2>/dev/null |
16180 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
16182 libgomp_gnu_ld_version
=`echo $ldver | \
16183 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
16185 # Set --gc-sections.
16186 if test "$with_gnu_ld" = "notbroken"; then
16187 # GNU ld it is! Joy and bunny rabbits!
16189 # All these tests are for C++; save the language and the compiler flags.
16190 # Need to do this so that g++ won't try to link in libstdc++
16191 ac_test_CFLAGS
="${CFLAGS+set}"
16192 ac_save_CFLAGS
="$CFLAGS"
16193 CFLAGS
='-x c++ -Wl,--gc-sections'
16195 # Check for -Wl,--gc-sections
16196 # XXX This test is broken at the moment, as symbols required for linking
16197 # are now in libsupc++ (not built yet). In addition, this test has
16198 # cored on solaris in the past. In addition, --gc-sections doesn't
16199 # really work at the moment (keeps on discarding used sections, first
16200 # .eh_frame and now some of the glibc sections for iconv).
16201 # Bzzzzt. Thanks for playing, maybe next time.
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
16203 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
16204 if test "$cross_compiling" = yes; then :
16205 ac_sectionLDflags
=yes
16207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16208 /* end confdefs.h. */
16218 if ac_fn_c_try_run
"$LINENO"; then :
16219 ac_sectionLDflags
=yes
16221 ac_sectionLDflags
=no
16223 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16224 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16227 if test "$ac_test_CFLAGS" = set; then
16228 CFLAGS
="$ac_save_CFLAGS"
16230 # this is the suspicious part
16233 if test "$ac_sectionLDflags" = "yes"; then
16234 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_sectionLDflags" >&5
16237 $as_echo "$ac_sectionLDflags" >&6; }
16240 # Set linker optimization flags.
16241 if test x
"$with_gnu_ld" = x
"yes"; then
16242 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
16250 # Check whether --enable-symvers was given.
16251 if test "${enable_symvers+set}" = set; then :
16252 enableval
=$enable_symvers;
16253 case "$enableval" in
16254 yes|no|gnu
*|sun
) ;;
16255 *) as_fn_error $?
"Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
16264 # If we never went through the LIBGOMP_CHECK_LINKER_FEATURES macro, then we
16265 # don't know enough about $LD to do tricks...
16268 # Turn a 'yes' into a suitable default.
16269 if test x
$enable_symvers = xyes
; then
16270 # FIXME The following test is too strict, in theory.
16271 if test $enable_shared = no ||
test "x$LD" = x
; then
16274 if test $with_gnu_ld = yes ; then
16277 case ${target_os} in
16278 # Sun symbol versioning exists since Solaris 2.5.
16279 solaris2.
[5-9]* | solaris2.1
[0-9]*)
16280 enable_symvers
=sun
;;
16282 enable_symvers
=no
;;
16288 # Check if 'sun' was requested on non-Solaris 2 platforms.
16289 if test x
$enable_symvers = xsun
; then
16290 case ${target_os} in
16295 # Unlikely to work.
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
16297 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
16298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
16299 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
16301 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
16307 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
16308 if test $enable_symvers != no
; then
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
16310 $as_echo_n "checking for shared libgcc... " >&6; }
16311 ac_save_CFLAGS
="$CFLAGS"
16313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16314 /* end confdefs.h. */
16324 if ac_fn_c_try_link
"$LINENO"; then :
16325 libgomp_shared_libgcc
=yes
16327 libgomp_shared_libgcc
=no
16329 rm -f core conftest.err conftest.
$ac_objext \
16330 conftest
$ac_exeext conftest.
$ac_ext
16331 CFLAGS
="$ac_save_CFLAGS"
16332 if test $libgomp_shared_libgcc = no
; then
16333 cat > conftest.c
<<EOF
16334 int main (void) { return 0; }
16336 libgomp_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
16337 -shared -shared-libgcc -o conftest.so \
16338 conftest.c -v 2>&1 >/dev/null \
16339 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
16340 rm -f conftest.c conftest.so
16341 if test x
${libgomp_libgcc_s_suffix+set} = xset
; then
16342 CFLAGS
=" -lgcc_s$libgomp_libgcc_s_suffix"
16343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16344 /* end confdefs.h. */
16354 if ac_fn_c_try_link
"$LINENO"; then :
16355 libgomp_shared_libgcc
=yes
16357 rm -f core conftest.err conftest.
$ac_objext \
16358 conftest
$ac_exeext conftest.
$ac_ext
16359 CFLAGS
="$ac_save_CFLAGS"
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_shared_libgcc" >&5
16363 $as_echo "$libgomp_shared_libgcc" >&6; }
16366 # For GNU ld, we need at least this version. The format is described in
16367 # LIBGOMP_CHECK_LINKER_FEATURES above.
16368 libgomp_min_gnu_ld_version
=21400
16369 # XXXXXXXXXXX libgomp_gnu_ld_version=21390
16371 # Check to see if unspecified "yes" value can win, given results above.
16372 # Change "yes" into either "no" or a style name.
16373 if test $enable_symvers != no
&& test $libgomp_shared_libgcc = yes; then
16374 if test $with_gnu_ld = yes; then
16375 if test $libgomp_gnu_ld_version -ge $libgomp_min_gnu_ld_version ; then
16377 elif test $libgomp_ld_is_gold = yes ; then
16379 elif test $libgomp_ld_is_mold = yes ; then
16382 # The right tools, the right setup, but too old. Fallbacks?
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&5
16384 $as_echo "$as_me: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&2;}
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
16386 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
16388 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&5
16390 $as_echo "$as_me: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&2;}
16391 if test $libgomp_gnu_ld_version -ge 21200 ; then
16392 # Globbing fix is present, proper block support is not.
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
16394 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
16399 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
16403 elif test $enable_symvers = sun
; then
16404 : All interesting versions of Sun ld support sun style symbol versioning.
16406 # just fail for now
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested some kind of symbol versioning, but" >&5
16408 $as_echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === either you are not using a supported linker, or you are" >&5
16410 $as_echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === not building a shared libgcc_s (which is required)." >&5
16412 $as_echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
16414 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
16420 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
16421 if ${libgomp_cv_have_as_symver_directive+:} false
; then :
16422 $as_echo_n "(cached) " >&6
16425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16426 /* end confdefs.h. */
16427 void foo (void); __asm (".symver foo, bar@SYMVER");
16436 if ac_fn_c_try_compile
"$LINENO"; then :
16437 libgomp_cv_have_as_symver_directive
=yes
16439 libgomp_cv_have_as_symver_directive
=no
16441 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_as_symver_directive" >&5
16444 $as_echo "$libgomp_cv_have_as_symver_directive" >&6; }
16445 if test $libgomp_cv_have_as_symver_directive = yes; then
16447 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
16451 if test $enable_symvers != no
; then
16452 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
=
16453 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
='#'
16455 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
='#'
16456 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
=
16459 if test $enable_symvers = gnu
; then
16460 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_TRUE
=
16461 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_FALSE
='#'
16463 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_TRUE
='#'
16464 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_FALSE
=
16467 if test $enable_symvers = sun
; then
16468 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_TRUE
=
16469 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_FALSE
='#'
16471 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_TRUE
='#'
16472 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_FALSE
=
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
16476 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
16478 if test $enable_symvers != no
; then
16479 case ${target_os} in
16480 # The Solaris 2 runtime linker doesn't support the GNU extension of
16481 # binding the same symbol to different versions
16484 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
16487 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
16494 if test $enable_symvers = gnu
; then
16496 $as_echo "#define LIBGOMP_GNU_SYMBOL_VERSIONING 1" >>confdefs.h
16500 # Determine cpu count to limit testsuite parallelism.
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the number of available CPUs" >&5
16502 $as_echo_n "checking the number of available CPUs... " >&6; }
16505 # Try generic methods
16507 # 'getconf' is POSIX utility, but '_NPROCESSORS_ONLN' and
16508 # 'NPROCESSORS_ONLN' are platform-specific
16509 command -v getconf
>/dev
/null
2>&1 && \
16510 CPU_COUNT
=`getconf _NPROCESSORS_ONLN 2>/dev/null || getconf NPROCESSORS_ONLN 2>/dev/null` || CPU_COUNT
="0"
16511 if test "$CPU_COUNT" -gt "0" 2>/dev
/null ||
! command -v nproc
>/dev
/null
2>&1; then :
16514 # 'nproc' is part of GNU Coreutils and is widely available
16515 CPU_COUNT
=`OMP_NUM_THREADS='' nproc 2>/dev/null` || CPU_COUNT
=`nproc 2>/dev/null` || CPU_COUNT
="0"
16518 if test "$CPU_COUNT" -gt "0" 2>/dev
/null
; then :
16521 # Try platform-specific preferred methods
16522 case $host_os in #(
16524 CPU_COUNT
=`lscpu -p 2>/dev/null | $EGREP -e '^[0-9]+,' -c` || CPU_COUNT
="0" ;; #(
16526 CPU_COUNT
=`sysctl -n hw.logicalcpu 2>/dev/null` || CPU_COUNT
="0" ;; #(
16528 command -v sysctl
>/dev
/null
2>&1 && CPU_COUNT
=`sysctl -n kern.smp.cpus 2>/dev/null` || CPU_COUNT
="0" ;; #(
16530 command -v sysctl
>/dev
/null
2>&1 && CPU_COUNT
=`sysctl -n hw.ncpuonline 2>/dev/null` || CPU_COUNT
="0" ;; #(
16532 command -v psrinfo
>/dev
/null
2>&1 && CPU_COUNT
=`psrinfo 2>/dev/null | $EGREP -e '^[0-9].*on-line' -c 2>/dev/null` || CPU_COUNT
="0" ;; #(
16534 CPU_COUNT
=`ls -qpU1 /proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DESCRIPTION/System/CentralProcessor/ 2>/dev/null | $EGREP -e '^[0-9]+/' -c` || CPU_COUNT
="0" ;; #(
16536 CPU_COUNT
=`ls -qpU1 /proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DESCRIPTION/System/CentralProcessor/ 2>/dev/null | $EGREP -e '^[0-9]+/' -c` || CPU_COUNT
="0" ;; #(
16538 CPU_COUNT
=`ls -qpU1 /proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DESCRIPTION/System/CentralProcessor/ 2>/dev/null | $EGREP -e '^[0-9]+/' -c` || CPU_COUNT
="0" ;; #(
16543 if test "$CPU_COUNT" -gt "0" 2>/dev
/null ||
! command -v sysctl
>/dev
/null
2>&1; then :
16546 # Try less preferred generic method
16547 # 'hw.ncpu' exist on many platforms, but not on GNU/Linux
16548 CPU_COUNT
=`sysctl -n hw.ncpu 2>/dev/null` || CPU_COUNT
="0"
16551 if test "$CPU_COUNT" -gt "0" 2>/dev
/null
; then :
16554 # Try platform-specific fallback methods
16555 # They can be less accurate and slower then preferred methods
16556 case $host_os in #(
16558 CPU_COUNT
=`$EGREP -e '^processor' -c /proc/cpuinfo 2>/dev/null` || CPU_COUNT
="0" ;; #(
16560 CPU_COUNT
=`system_profiler SPHardwareDataType 2>/dev/null | $EGREP -i -e 'number of cores:'|cut -d : -f 2 -s|tr -d ' '` || CPU_COUNT
="0" ;; #(
16562 CPU_COUNT
=`dmesg 2>/dev/null| $EGREP -e '^cpu[0-9]+: '|sort -u|$EGREP -e '^' -c` || CPU_COUNT
="0" ;; #(
16564 CPU_COUNT
=`command -v cpuctl >/dev/null 2>&1 && cpuctl list 2>/dev/null| $EGREP -e '^[0-9]+ .* online ' -c` || \
16565 CPU_COUNT
=`dmesg 2>/dev/null| $EGREP -e '^cpu[0-9]+ at'|sort -u|$EGREP -e '^' -c` || CPU_COUNT
="0" ;; #(
16567 command -v kstat
>/dev
/null
2>&1 && CPU_COUNT
=`kstat -m cpu_info -s state -p 2>/dev/null | $EGREP -c -e 'on-line'` || \
16568 CPU_COUNT
=`kstat -m cpu_info 2>/dev/null | $EGREP -c -e 'module: cpu_info'` || CPU_COUNT
="0" ;; #(
16570 if CPU_COUNT
=`reg query 'HKLM\\Hardware\\Description\\System\\CentralProcessor' 2>/dev/null | $EGREP -e '\\\\[0-9]+$' -c`; then :
16573 test "$NUMBER_OF_PROCESSORS" -gt "0" 2>/dev
/null
&& CPU_COUNT
="$NUMBER_OF_PROCESSORS"
16576 test "$NUMBER_OF_PROCESSORS" -gt "0" 2>/dev
/null
&& CPU_COUNT
="$NUMBER_OF_PROCESSORS" ;; #(
16578 test "$NUMBER_OF_PROCESSORS" -gt "0" 2>/dev
/null
&& CPU_COUNT
="$NUMBER_OF_PROCESSORS" ;; #(
16583 if test "x$CPU_COUNT" != "x0" && test "$CPU_COUNT" -gt 0 2>/dev
/null
; then :
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPU_COUNT" >&5
16585 $as_echo "$CPU_COUNT" >&6; }
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unable to detect (assuming 1)" >&5
16590 $as_echo "unable to detect (assuming 1)" >&6; }
16595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flock implementation" >&5
16596 $as_echo "$as_me: checking for flock implementation" >&6;}
16597 for ac_prog
in flock
16599 # Extract the first word of "$ac_prog", so it can be a program name with args.
16600 set dummy
$ac_prog; ac_word
=$2
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16602 $as_echo_n "checking for $ac_word... " >&6; }
16603 if ${ac_cv_prog_FLOCK+:} false
; then :
16604 $as_echo_n "(cached) " >&6
16606 if test -n "$FLOCK"; then
16607 ac_cv_prog_FLOCK
="$FLOCK" # Let the user override the test.
16609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16610 for as_dir
in $PATH
16613 test -z "$as_dir" && as_dir
=.
16614 for ac_exec_ext
in '' $ac_executable_extensions; do
16615 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16616 ac_cv_prog_FLOCK
="$ac_prog"
16617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16626 FLOCK
=$ac_cv_prog_FLOCK
16627 if test -n "$FLOCK"; then
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLOCK" >&5
16629 $as_echo "$FLOCK" >&6; }
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16632 $as_echo "no" >&6; }
16636 test -n "$FLOCK" && break
16639 # Fallback if 'perl' is available.
16640 if test -z "$FLOCK"; then
16641 # Extract the first word of "perl", so it can be a program name with args.
16642 set dummy perl
; ac_word
=$2
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16644 $as_echo_n "checking for $ac_word... " >&6; }
16645 if ${ac_cv_prog_FLOCK+:} false
; then :
16646 $as_echo_n "(cached) " >&6
16648 if test -n "$FLOCK"; then
16649 ac_cv_prog_FLOCK
="$FLOCK" # Let the user override the test.
16651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16652 for as_dir
in $PATH
16655 test -z "$as_dir" && as_dir
=.
16656 for ac_exec_ext
in '' $ac_executable_extensions; do
16657 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16658 ac_cv_prog_FLOCK
="$srcdir/testsuite/flock"
16659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16668 FLOCK
=$ac_cv_prog_FLOCK
16669 if test -n "$FLOCK"; then
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLOCK" >&5
16671 $as_echo "$FLOCK" >&6; }
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16674 $as_echo "no" >&6; }
16682 # Get target configury.
16683 .
${srcdir}/configure.tgt
16684 CFLAGS
="$save_CFLAGS $XCFLAGS"
16686 # Check for __sync_val_compare_and_swap, but only after the target has
16687 # had a chance to set XCFLAGS.
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_*_compare_and_swap" >&5
16690 $as_echo_n "checking whether the target supports __sync_*_compare_and_swap... " >&6; }
16691 if ${libgomp_cv_have_sync_builtins+:} false
; then :
16692 $as_echo_n "(cached) " >&6
16695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16696 /* end confdefs.h. */
16701 int foo; __sync_val_compare_and_swap(&foo, 0, 1);
16706 if ac_fn_c_try_link
"$LINENO"; then :
16707 libgomp_cv_have_sync_builtins
=yes
16709 libgomp_cv_have_sync_builtins
=no
16711 rm -f core conftest.err conftest.
$ac_objext \
16712 conftest
$ac_exeext conftest.
$ac_ext
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_sync_builtins" >&5
16715 $as_echo "$libgomp_cv_have_sync_builtins" >&6; }
16716 if test $libgomp_cv_have_sync_builtins = yes; then
16718 $as_echo "#define HAVE_SYNC_BUILTINS 1" >>confdefs.h
16722 XCFLAGS
="$XCFLAGS$XPCFLAGS"
16724 # Add CET specific flags if CET is enabled
16725 # Check whether --enable-cet was given.
16726 if test "${enable_cet+set}" = set; then :
16727 enableval
=$enable_cet;
16728 case "$enableval" in
16730 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
16738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
16739 $as_echo_n "checking for CET support... " >&6; }
16741 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
16743 i
[34567]86-*-linux* | x86_64-
*-linux*)
16744 case "$enable_cet" in
16746 # Check if target supports multi-byte NOPs
16747 # and if compiler and assembler support CET insn.
16748 cet_save_CFLAGS
="$CFLAGS"
16749 CFLAGS
="$CFLAGS -fcf-protection"
16750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16751 /* end confdefs.h. */
16757 #if !defined(__SSE2__)
16758 #error target does not support multi-byte NOPs
16767 if ac_fn_c_try_compile
"$LINENO"; then :
16772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16773 CFLAGS
="$cet_save_CFLAGS"
16776 # Check if assembler supports CET.
16777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16778 /* end confdefs.h. */
16788 if ac_fn_c_try_compile
"$LINENO"; then :
16791 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
16793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16801 if test x
$enable_cet = xyes
; then
16802 CET_FLAGS
="-fcf-protection -mshstk"
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16804 $as_echo "yes" >&6; }
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16807 $as_echo "no" >&6; }
16810 XCFLAGS
="$XCFLAGS $CET_FLAGS"
16811 FCFLAGS
="$FCFLAGS $CET_FLAGS"
16817 # Conditionalize the makefile for this target machine.
16819 for f
in ${tmake_file}
16821 if test -f ${srcdir}/config
/$f
16823 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
16826 tmake_file
="${tmake_file_}"
16829 # Cleanup and exit.
16830 CFLAGS
="$save_CFLAGS"
16831 cat >confcache
<<\_ACEOF
16832 # This file is a shell script that caches the results of configure
16833 # tests run on this system so they can be shared between configure
16834 # scripts and configure runs, see configure's option --config-cache.
16835 # It is not useful on other systems. If it contains results you don't
16836 # want to keep, you may remove or edit it.
16838 # config.status only pays attention to the cache file if you give it
16839 # the --recheck option to rerun configure.
16841 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16842 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16843 # following values.
16847 # The following way of writing the cache mishandles newlines in values,
16848 # but we know of no workaround that is simple, portable, and efficient.
16849 # So, we kill variables containing newlines.
16850 # Ultrix sh set writes to stderr and can't be redirected directly,
16851 # and sets the high bit in the cache file unless we assign to the vars.
16853 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16854 eval ac_val
=\$
$ac_var
16858 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16859 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16862 _ | IFS | as_nl
) ;; #(
16863 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16864 *) { eval $ac_var=; unset $ac_var;} ;;
16870 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16871 *${as_nl}ac_space
=\
*)
16872 # `set' does not quote correctly, so add quotes: double-quote
16873 # substitution turns \\\\ into \\, and sed turns \\ into \.
16876 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16879 # `set' quotes correctly as required by POSIX, so do not add quotes.
16880 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16889 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16891 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16893 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16894 if test -w "$cache_file"; then
16895 if test "x$cache_file" != "x/dev/null"; then
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16897 $as_echo "$as_me: updating cache $cache_file" >&6;}
16898 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16899 cat confcache
>"$cache_file"
16901 case $cache_file in #(
16903 mv -f confcache
"$cache_file"$$
&&
16904 mv -f "$cache_file"$$
"$cache_file" ;; #(
16906 mv -f confcache
"$cache_file" ;;
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16912 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16917 if test ${multilib} = yes; then
16918 multilib_arg
="--enable-multilib"
16923 # Set up the set of libraries that we need to link against for libgomp.
16924 # Note that the GOMP_SELF_SPEC in gcc.c may force -pthread,
16925 # which will force linkage against -lpthread (or equivalent for the system).
16926 # That's not 100% ideal, but about the best we can do easily.
16927 if test $enable_shared = yes; then
16928 link_gomp
="-lgomp %{static: $LIBS${DL_LIBS:+ $DL_LIBS}}"
16930 link_gomp
="-lgomp $LIBS${DL_LIBS:+ $DL_LIBS}"
16934 if test "$ac_cv_fc_compiler_gnu" = yes; then
16936 USE_FORTRAN_FALSE
='#'
16938 USE_FORTRAN_TRUE
='#'
16943 # ??? 2006-01-24: Paulo committed to asking autoconf folk to document
16944 # and export AC_COMPUTE_INT. If that happens, then we'll need to remove
16945 # the underscore here and update the PREREQ. If it doesn't, then we'll
16946 # need to copy this macro to our acinclude.m4.
16947 save_CFLAGS
="$CFLAGS"
16948 for i
in $config_path; do
16949 if test -f $srcdir/config
/$i/omp-lock.h
; then
16950 CFLAGS
="$CFLAGS -include confdefs.h -include $srcdir/config/$i/omp-lock.h"
16955 if ac_fn_c_compute_int
"$LINENO" "sizeof (__INTPTR_TYPE__)" "INTPTR_T_KIND" ""; then :
16960 if ac_fn_c_compute_int
"$LINENO" "sizeof (__int128)" "OMP_INT128_SIZE" ""; then :
16967 if ac_fn_c_compute_int
"$LINENO" "2*sizeof (__INTPTR_TYPE__)" "OMP_DEPEND_KIND" ""; then :
16974 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_lock_t)" "OMP_LOCK_SIZE" ""; then :
16977 as_fn_error $?
"unsupported system, cannot find sizeof (omp_lock_t)" "$LINENO" 5
16981 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_lock_t)" "OMP_LOCK_ALIGN" ""; then :
16986 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_nest_lock_t)" "OMP_NEST_LOCK_SIZE" ""; then :
16991 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_nest_lock_t)" "OMP_NEST_LOCK_ALIGN" ""; then :
16996 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_lock_25_t)" "OMP_LOCK_25_SIZE" ""; then :
16999 as_fn_error $?
"unsupported system, cannot find sizeof (omp_lock_25_t)" "$LINENO" 5
17003 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_lock_25_t)" "OMP_LOCK_25_ALIGN" ""; then :
17008 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_nest_lock_25_t)" "OMP_NEST_LOCK_25_SIZE" ""; then :
17013 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_nest_lock_25_t)" "OMP_NEST_LOCK_25_ALIGN" ""; then :
17019 # If the lock fits in an integer, then arrange for Fortran to use that
17020 # integer. If it doesn't, then arrange for Fortran to use a pointer.
17021 # Except that we don't have a way at present to multi-lib the installed
17022 # Fortran modules, so we assume 8 bytes for pointers, regardless of the
17024 OMP_LOCK_KIND
=$OMP_LOCK_SIZE
17025 OMP_NEST_LOCK_KIND
=$OMP_NEST_LOCK_SIZE
17026 if test $OMP_LOCK_SIZE -gt 8 ||
test $OMP_LOCK_ALIGN -gt $OMP_LOCK_SIZE; then
17029 if test $OMP_NEST_LOCK_SIZE -gt 8 ||
test $OMP_NEST_LOCK_ALIGN -gt $OMP_NEST_LOCK_SIZE; then
17030 OMP_NEST_LOCK_KIND
=8
17032 OMP_LOCK_25_KIND
=$OMP_LOCK_25_SIZE
17033 OMP_NEST_LOCK_25_KIND
=$OMP_NEST_LOCK_25_SIZE
17034 if test $OMP_LOCK_25_SIZE -gt 8 ||
test $OMP_LOCK_25_ALIGN -gt $OMP_LOCK_25_SIZE; then
17037 if test $OMP_NEST_LOCK_25_SIZE -gt 8 ||
test $OMP_NEST_LOCK_25_ALIGN -gt $OMP_NEST_LOCK_25_SIZE; then
17038 OMP_NEST_LOCK_25_KIND
=8
17040 if test "$ac_cv_fc_compiler_gnu" = yes; then
17041 if test $OMP_DEPEND_KIND -eq 16; then
17042 if test $OMP_INT128_SIZE -ne 16; then
17043 as_fn_error $?
"unsupported system, cannot find Fortran int kind=16, needed for omp_depend_kind" "$LINENO" 5
17046 if test $OMP_DEPEND_KIND -ne 8; then
17047 as_fn_error $?
"unsupported system, cannot find Fortran integer kind for omp_depend_kind" "$LINENO" 5
17066 CFLAGS
="$save_CFLAGS"
17068 # Determine what GCC version number to use in filesystem paths.
17070 get_gcc_base_ver
="cat"
17072 # Check whether --with-gcc-major-version-only was given.
17073 if test "${with_gcc_major_version_only+set}" = set; then :
17074 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
17075 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
17083 ac_config_files
="$ac_config_files omp.h omp_lib.h omp_lib.f90 libgomp_f.h"
17085 ac_config_files
="$ac_config_files Makefile testsuite/Makefile libgomp.spec"
17087 ac_config_files
="$ac_config_files testsuite/libgomp-test-support.pt.exp:testsuite/libgomp-test-support.exp.in"
17089 ac_config_files
="$ac_config_files testsuite/libgomp-site-extra.exp"
17091 cat >confcache
<<\_ACEOF
17092 # This file is a shell script that caches the results of configure
17093 # tests run on this system so they can be shared between configure
17094 # scripts and configure runs, see configure's option --config-cache.
17095 # It is not useful on other systems. If it contains results you don't
17096 # want to keep, you may remove or edit it.
17098 # config.status only pays attention to the cache file if you give it
17099 # the --recheck option to rerun configure.
17101 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17102 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17103 # following values.
17107 # The following way of writing the cache mishandles newlines in values,
17108 # but we know of no workaround that is simple, portable, and efficient.
17109 # So, we kill variables containing newlines.
17110 # Ultrix sh set writes to stderr and can't be redirected directly,
17111 # and sets the high bit in the cache file unless we assign to the vars.
17113 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17114 eval ac_val
=\$
$ac_var
17118 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17119 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17122 _ | IFS | as_nl
) ;; #(
17123 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17124 *) { eval $ac_var=; unset $ac_var;} ;;
17130 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17131 *${as_nl}ac_space
=\
*)
17132 # `set' does not quote correctly, so add quotes: double-quote
17133 # substitution turns \\\\ into \\, and sed turns \\ into \.
17136 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17139 # `set' quotes correctly as required by POSIX, so do not add quotes.
17140 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17149 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17151 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17153 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17154 if test -w "$cache_file"; then
17155 if test "x$cache_file" != "x/dev/null"; then
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17157 $as_echo "$as_me: updating cache $cache_file" >&6;}
17158 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17159 cat confcache
>"$cache_file"
17161 case $cache_file in #(
17163 mv -f confcache
"$cache_file"$$
&&
17164 mv -f "$cache_file"$$
"$cache_file" ;; #(
17166 mv -f confcache
"$cache_file" ;;
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17172 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17177 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17178 # Let make expand exec_prefix.
17179 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17181 DEFS
=-DHAVE_CONFIG_H
17186 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17187 # 1. Remove the extension, and $U if already installed.
17188 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17189 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17190 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17191 # will be set to the directory where LIBOBJS objects are built.
17192 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17193 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17195 LIBOBJS
=$ac_libobjs
17197 LTLIBOBJS
=$ac_ltlibobjs
17200 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
17201 as_fn_error $?
"conditional \"GENINSRC\" was never defined.
17202 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17205 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17206 if test -n "$am_sleep_pid"; then
17207 # Hide warnings about reused PIDs.
17208 wait $am_sleep_pid 2>/dev
/null
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17211 $as_echo "done" >&6; }
17212 if test -n "$EXEEXT"; then
17214 am__EXEEXT_FALSE
='#'
17216 am__EXEEXT_TRUE
='#'
17220 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17221 as_fn_error $?
"conditional \"AMDEP\" was never defined.
17222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17224 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17225 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
17226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17228 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
17229 as_fn_error $?
"conditional \"BUILD_INFO\" was never defined.
17230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17232 if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
17233 as_fn_error $?
"conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
17234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17236 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17237 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
17238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17240 if test -z "${PLUGIN_NVPTX_TRUE}" && test -z "${PLUGIN_NVPTX_FALSE}"; then
17241 as_fn_error $?
"conditional \"PLUGIN_NVPTX\" was never defined.
17242 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17244 if test -z "${PLUGIN_GCN_TRUE}" && test -z "${PLUGIN_GCN_FALSE}"; then
17245 as_fn_error $?
"conditional \"PLUGIN_GCN\" was never defined.
17246 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17248 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE}"; then
17249 as_fn_error $?
"conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
17250 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17252 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_FALSE}"; then
17253 as_fn_error $?
"conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB_GNU\" was never defined.
17254 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17256 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_FALSE}"; then
17257 as_fn_error $?
"conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB_SUN\" was never defined.
17258 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17260 if test -z "${USE_FORTRAN_TRUE}" && test -z "${USE_FORTRAN_FALSE}"; then
17261 as_fn_error $?
"conditional \"USE_FORTRAN\" was never defined.
17262 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17265 : "${CONFIG_STATUS=./config.status}"
17267 ac_clean_files_save
=$ac_clean_files
17268 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17270 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17272 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17274 # Generated by $as_me.
17275 # Run this file to recreate the current configuration.
17276 # Compiler output produced by configure, useful for debugging
17277 # configure, is in config.log if it exists.
17280 ac_cs_recheck=false
17283 SHELL=\${CONFIG_SHELL-$SHELL}
17286 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17287 ## -------------------- ##
17288 ## M4sh Initialization. ##
17289 ## -------------------- ##
17291 # Be more Bourne compatible
17292 DUALCASE
=1; export DUALCASE
# for MKS sh
17293 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17296 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17297 # is contrary to our usage. Disable this feature.
17298 alias -g '${1+"$@"}'='"$@"'
17299 setopt NO_GLOB_SUBST
17301 case `(set -o) 2>/dev/null` in #(
17313 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17314 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17315 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17316 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17317 # Prefer a ksh shell builtin over an external printf program on Solaris,
17318 # but without wasting forks for bash or zsh.
17319 if test -z "$BASH_VERSION$ZSH_VERSION" \
17320 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17321 as_echo='print
-r --'
17322 as_echo_n='print
-rn --'
17323 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17324 as_echo='printf %s
\n'
17325 as_echo_n='printf %s
'
17327 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17328 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17329 as_echo_n='/usr
/ucb
/echo -n'
17331 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17332 as_echo_n_body='eval
17336 expr "X$arg" : "X\\(.*\\)$as_nl";
17337 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17339 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17341 export as_echo_n_body
17342 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17344 export as_echo_body
17345 as_echo='sh
-c $as_echo_body as_echo
'
17348 # The user is always right.
17349 if test "${PATH_SEPARATOR+set}" != set; then
17351 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17352 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17359 # We need space, tab and new line, in precisely that order. Quoting is
17360 # there to prevent editors from complaining about space-tab.
17361 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17362 # splitting by setting IFS to empty value.)
17365 # Find who we are. Look in the path if we contain no directory separator.
17368 *[\\/]* ) as_myself=$0 ;;
17369 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17370 for as_dir in $PATH
17373 test -z "$as_dir" && as_dir=.
17374 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17380 # We did not find ourselves, most probably we were run as `sh COMMAND'
17381 # in which case we are not to be found in the path.
17382 if test "x$as_myself" = x
; then
17385 if test ! -f "$as_myself"; then
17386 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17390 # Unset variables that we do not need and which cause bugs (e.g. in
17391 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17392 # suppresses any "Segmentation fault" message there. '((' could
17393 # trigger a bug in pdksh 5.2.14.
17394 for as_var
in BASH_ENV ENV MAIL MAILPATH
17395 do eval test x\
${$as_var+set} = xset \
17396 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17409 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17412 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17413 # ----------------------------------------
17414 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17415 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17416 # script with STATUS, using 1 if that was 0.
17419 as_status
=$1; test $as_status -eq 0 && as_status
=1
17421 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17422 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17424 $as_echo "$as_me: error: $2" >&2
17425 as_fn_exit
$as_status
17429 # as_fn_set_status STATUS
17430 # -----------------------
17431 # Set $? to STATUS, without forking.
17432 as_fn_set_status
()
17435 } # as_fn_set_status
17437 # as_fn_exit STATUS
17438 # -----------------
17439 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17443 as_fn_set_status
$1
17449 # Portably unset VAR.
17452 { eval $1=; unset $1;}
17454 as_unset
=as_fn_unset
17455 # as_fn_append VAR VALUE
17456 # ----------------------
17457 # Append the text in VALUE to the end of the definition contained in VAR. Take
17458 # advantage of any shell optimizations that allow amortized linear growth over
17459 # repeated appends, instead of the typical quadratic growth present in naive
17461 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17462 eval 'as_fn_append ()
17473 # as_fn_arith ARG...
17474 # ------------------
17475 # Perform arithmetic evaluation on the ARGs, and store the result in the
17476 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17477 # must be portable across $(()) and expr.
17478 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17479 eval 'as_fn_arith ()
17486 as_val
=`expr "$@" || test $? -eq 1`
17491 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17492 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17498 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17499 as_basename
=basename
17504 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17510 as_me
=`$as_basename -- "$0" ||
17511 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17512 X"$0" : 'X\(//\)$' \| \
17513 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17515 sed '/^.*\/\([^/][^/]*\)\/*$/{
17529 # Avoid depending upon Character Ranges.
17530 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17531 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17532 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17533 as_cr_digits
='0123456789'
17534 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17536 ECHO_C
= ECHO_N
= ECHO_T
=
17537 case `echo -n x` in #(((((
17539 case `echo 'xy\c'` in
17540 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17542 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17549 rm -f conf$$ conf$$.exe conf$$.
file
17550 if test -d conf$$.dir
; then
17551 rm -f conf$$.dir
/conf$$.
file
17554 mkdir conf$$.dir
2>/dev
/null
17556 if (echo >conf$$.
file) 2>/dev
/null
; then
17557 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17559 # ... but there are two gotchas:
17560 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17561 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17562 # In both cases, we have to default to `cp -pR'.
17563 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17565 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17573 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17574 rmdir conf$$.dir
2>/dev
/null
17579 # Create "$as_dir" as a directory, including parents if necessary.
17584 -*) as_dir
=.
/$as_dir;;
17586 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17590 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17591 *) as_qdir
=$as_dir;;
17593 as_dirs
="'$as_qdir' $as_dirs"
17594 as_dir
=`$as_dirname -- "$as_dir" ||
17595 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17596 X"$as_dir" : 'X\(//\)[^/]' \| \
17597 X"$as_dir" : 'X\(//\)$' \| \
17598 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17599 $as_echo X"$as_dir" |
17600 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17604 /^X\(\/\/\)[^/].*/{
17617 test -d "$as_dir" && break
17619 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17620 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17624 if mkdir
-p .
2>/dev
/null
; then
17625 as_mkdir_p
='mkdir -p "$as_dir"'
17627 test -d .
/-p && rmdir .
/-p
17632 # as_fn_executable_p FILE
17633 # -----------------------
17634 # Test if FILE is an executable regular file.
17635 as_fn_executable_p
()
17637 test -f "$1" && test -x "$1"
17638 } # as_fn_executable_p
17639 as_test_x
='test -x'
17640 as_executable_p
=as_fn_executable_p
17642 # Sed expression to map a string onto a valid CPP name.
17643 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17645 # Sed expression to map a string onto a valid variable name.
17646 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17650 ## ----------------------------------- ##
17651 ## Main body of $CONFIG_STATUS script. ##
17652 ## ----------------------------------- ##
17654 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17657 # Save the log message, to keep $0 and so on meaningful, and to
17658 # report actual input values of CONFIG_FILES etc. instead of their
17659 # values after options handling.
17661 This file was extended by GNU Offloading and Multi Processing Runtime Library $as_me 1.0, which was
17662 generated by GNU Autoconf 2.69. Invocation command line was
17664 CONFIG_FILES = $CONFIG_FILES
17665 CONFIG_HEADERS = $CONFIG_HEADERS
17666 CONFIG_LINKS = $CONFIG_LINKS
17667 CONFIG_COMMANDS = $CONFIG_COMMANDS
17670 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17675 case $ac_config_files in *"
17676 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17679 case $ac_config_headers in *"
17680 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17685 # Files that config.status was made for.
17686 config_files="$ac_config_files"
17687 config_headers="$ac_config_headers"
17688 config_commands="$ac_config_commands"
17692 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17694 \`$as_me' instantiates files and other configuration actions
17695 from templates according to the current configuration. Unless the files
17696 and actions are specified as TAGs, all are instantiated by default.
17698 Usage: $0 [OPTION]... [TAG]...
17700 -h, --help print this help, then exit
17701 -V, --version print version number and configuration settings, then exit
17702 --config print configuration, then exit
17703 -q, --quiet, --silent
17704 do not print progress messages
17705 -d, --debug don't remove temporary files
17706 --recheck update $as_me by reconfiguring in the same conditions
17707 --file=FILE[:TEMPLATE]
17708 instantiate the configuration file FILE
17709 --header=FILE[:TEMPLATE]
17710 instantiate the configuration header FILE
17712 Configuration files:
17715 Configuration headers:
17718 Configuration commands:
17721 Report bugs to the package provider.
17722 GNU Offloading and Multi Processing Runtime Library home page: <http://www.gnu.org/software/libgomp/>.
17723 General help using GNU software: <http://www.gnu.org/gethelp/>."
17726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17727 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17729 GNU Offloading and Multi Processing Runtime Library config.status 1.0
17730 configured by $0, generated by GNU Autoconf 2.69,
17731 with options \\"\$ac_cs_config\\"
17733 Copyright (C) 2012 Free Software Foundation, Inc.
17734 This config.status script is free software; the Free Software Foundation
17735 gives unlimited permission to copy, distribute and modify it."
17742 test -n "\$AWK" || AWK=awk
17745 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17746 # The default lists apply if the user does not specify any file.
17752 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17753 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17757 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17769 # Handling of the options.
17770 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17772 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17773 $as_echo "$ac_cs_version"; exit ;;
17774 --config |
--confi |
--conf |
--con |
--co |
--c )
17775 $as_echo "$ac_cs_config"; exit ;;
17776 --debug |
--debu |
--deb |
--de |
--d |
-d )
17778 --file |
--fil |
--fi |
--f )
17781 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17782 '') as_fn_error $?
"missing file argument" ;;
17784 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17785 ac_need_defaults
=false
;;
17786 --header |
--heade |
--head |
--hea )
17789 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17791 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17792 ac_need_defaults
=false
;;
17794 # Conflict between --help and --header
17795 as_fn_error $?
"ambiguous option: \`$1'
17796 Try \`$0 --help' for more information.";;
17797 --help |
--hel |
-h )
17798 $as_echo "$ac_cs_usage"; exit ;;
17799 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17800 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17803 # This is an error.
17804 -*) as_fn_error $?
"unrecognized option: \`$1'
17805 Try \`$0 --help' for more information." ;;
17807 *) as_fn_append ac_config_targets
" $1"
17808 ac_need_defaults
=false
;;
17814 ac_configure_extra_args
=
17816 if $ac_cs_silent; then
17818 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17823 if \$ac_cs_recheck; then
17824 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17826 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17827 CONFIG_SHELL='$SHELL'
17828 export CONFIG_SHELL
17833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17837 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17838 ## Running $as_me. ##
17844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17852 with_multisubdir="$with_multisubdir"
17853 with_multisrctop="$with_multisrctop"
17854 with_target_subdir="$with_target_subdir"
17855 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17856 multi_basedir="$multi_basedir"
17857 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17860 GFORTRAN="$GFORTRAN"
17862 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17865 # The HP-UX ksh and POSIX shell print the target directory to stdout
17866 # if CDPATH is set.
17867 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17869 sed_quote_subst='$sed_quote_subst'
17870 double_quote_subst='$double_quote_subst'
17871 delay_variable_subst='$delay_variable_subst'
17872 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17873 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17874 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17875 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17876 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17877 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17878 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17879 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17880 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17881 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17882 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17883 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17884 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17885 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17886 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17887 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17888 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17889 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17890 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17891 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17892 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17893 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17894 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17895 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17896 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17897 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17898 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17899 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17900 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17901 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17902 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17903 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17904 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17905 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17906 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17907 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17908 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17909 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17910 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17911 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17912 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17913 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17914 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17915 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17916 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17917 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17918 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17919 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17920 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"`'
17921 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17922 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17923 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17924 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17925 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17926 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17927 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17928 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17929 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17930 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17931 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17932 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17933 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17934 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17935 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17936 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17937 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17938 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17939 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17940 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17941 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17942 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17943 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17944 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17945 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17946 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17947 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17948 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17949 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17950 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17951 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17952 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17953 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17954 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17955 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17956 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17957 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17958 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17959 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17960 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17961 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17962 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17963 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17964 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17965 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17966 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17967 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17968 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17969 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17970 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17971 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17972 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17973 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17974 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17975 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17976 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17977 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17978 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17979 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17980 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17981 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17982 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17983 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17984 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17985 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17986 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17987 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17988 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17989 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17990 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17991 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17992 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17993 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17994 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17995 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17996 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17997 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17998 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
17999 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
18000 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
18001 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
18002 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
18003 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
18004 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
18005 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
18006 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
18007 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
18008 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
18009 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
18010 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
18011 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
18012 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
18013 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
18014 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
18015 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
18016 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
18017 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
18018 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
18019 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
18020 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
18021 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
18022 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
18023 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
18024 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
18025 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
18026 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
18027 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
18028 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
18029 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
18030 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
18031 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
18032 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
18033 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
18034 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
18035 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
18036 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
18037 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
18038 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
18039 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
18040 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
18041 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
18042 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
18043 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
18044 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
18045 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
18046 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
18049 LTCFLAGS='$LTCFLAGS'
18050 compiler='$compiler_DEFAULT'
18052 # A function that is used when there is no print builtin or printf.
18053 func_fallback_echo ()
18055 eval 'cat <<_LTECHO_EOF
18060 # Quote evaled strings.
18074 deplibs_check_method \
18083 lt_cv_sys_global_symbol_pipe \
18084 lt_cv_sys_global_symbol_to_cdecl \
18085 lt_cv_sys_global_symbol_to_c_name_address \
18086 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18087 lt_prog_compiler_no_builtin_flag \
18088 lt_prog_compiler_wl \
18089 lt_prog_compiler_pic \
18090 lt_prog_compiler_static \
18091 lt_cv_prog_compiler_c_o \
18099 export_dynamic_flag_spec \
18100 whole_archive_flag_spec \
18101 compiler_needs_object \
18103 allow_undefined_flag \
18104 no_undefined_flag \
18105 hardcode_libdir_flag_spec \
18106 hardcode_libdir_flag_spec_ld \
18107 hardcode_libdir_separator \
18112 variables_saved_for_relink \
18114 library_names_spec \
18116 install_override_mode \
18120 compiler_lib_search_dirs \
18125 compiler_lib_search_path \
18129 lt_prog_compiler_no_builtin_flag_FC \
18130 lt_prog_compiler_wl_FC \
18131 lt_prog_compiler_pic_FC \
18132 lt_prog_compiler_static_FC \
18133 lt_cv_prog_compiler_c_o_FC \
18134 export_dynamic_flag_spec_FC \
18135 whole_archive_flag_spec_FC \
18136 compiler_needs_object_FC \
18138 allow_undefined_flag_FC \
18139 no_undefined_flag_FC \
18140 hardcode_libdir_flag_spec_FC \
18141 hardcode_libdir_flag_spec_ld_FC \
18142 hardcode_libdir_separator_FC \
18143 fix_srcfile_path_FC \
18144 exclude_expsyms_FC \
18145 include_expsyms_FC \
18146 file_list_spec_FC \
18147 compiler_lib_search_dirs_FC \
18148 predep_objects_FC \
18149 postdep_objects_FC \
18152 compiler_lib_search_path_FC; do
18153 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18154 *[\\\\\\\`\\"\\\$]*)
18155 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18158 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18163 # Double-quote double-evaled strings.
18164 for var in reload_cmds \
18165 old_postinstall_cmds \
18166 old_postuninstall_cmds \
18168 extract_expsyms_cmds \
18169 old_archive_from_new_cmds \
18170 old_archive_from_expsyms_cmds \
18172 archive_expsym_cmds \
18174 module_expsym_cmds \
18175 export_symbols_cmds \
18178 postuninstall_cmds \
18180 sys_lib_search_path_spec \
18181 sys_lib_dlsearch_path_spec \
18183 old_archive_cmds_FC \
18184 old_archive_from_new_cmds_FC \
18185 old_archive_from_expsyms_cmds_FC \
18187 archive_expsym_cmds_FC \
18189 module_expsym_cmds_FC \
18190 export_symbols_cmds_FC \
18191 prelink_cmds_FC; do
18192 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18193 *[\\\\\\\`\\"\\\$]*)
18194 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18197 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18202 ac_aux_dir='$ac_aux_dir'
18203 xsi_shell='$xsi_shell'
18204 lt_shell_append='$lt_shell_append'
18206 # See if we are running on zsh, and set the options which allow our
18207 # commands through without removal of \ escapes INIT.
18208 if test -n "\${ZSH_VERSION+set}" ; then
18209 setopt NO_GLOB_SUBST
18215 TIMESTAMP='$TIMESTAMP'
18226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18228 # Handling of arguments.
18229 for ac_config_target
in $ac_config_targets
18231 case $ac_config_target in
18232 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
18233 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
18234 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18235 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18236 "omp.h") CONFIG_FILES
="$CONFIG_FILES omp.h" ;;
18237 "omp_lib.h") CONFIG_FILES
="$CONFIG_FILES omp_lib.h" ;;
18238 "omp_lib.f90") CONFIG_FILES
="$CONFIG_FILES omp_lib.f90" ;;
18239 "libgomp_f.h") CONFIG_FILES
="$CONFIG_FILES libgomp_f.h" ;;
18240 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18241 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
18242 "libgomp.spec") CONFIG_FILES
="$CONFIG_FILES libgomp.spec" ;;
18243 "testsuite/libgomp-test-support.pt.exp") CONFIG_FILES
="$CONFIG_FILES testsuite/libgomp-test-support.pt.exp:testsuite/libgomp-test-support.exp.in" ;;
18244 "testsuite/libgomp-site-extra.exp") CONFIG_FILES
="$CONFIG_FILES testsuite/libgomp-site-extra.exp" ;;
18246 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18251 # If the user did not use the arguments to specify the items to instantiate,
18252 # then the envvar interface is used. Set only those that are not.
18253 # We use the long form for the default assignment because of an extremely
18254 # bizarre bug on SunOS 4.1.3.
18255 if $ac_need_defaults; then
18256 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18257 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18258 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18261 # Have a temporary directory for convenience. Make it in the build tree
18262 # simply because there is no reason against having it here, and in addition,
18263 # creating and moving files from /tmp can sometimes cause problems.
18264 # Hook for its removal unless debugging.
18265 # Note that there is a small window in which the directory will not be cleaned:
18266 # after its creation but before its name has been assigned to `$tmp'.
18270 trap 'exit_status=$?
18271 : "${ac_tmp:=$tmp}"
18272 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18274 trap 'as_fn_exit 1' 1 2 13 15
18276 # Create a (secure) tmp directory for tmp files.
18279 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18283 tmp
=.
/conf$$
-$RANDOM
18284 (umask 077 && mkdir
"$tmp")
18285 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18288 # Set up the scripts for CONFIG_FILES section.
18289 # No need to generate them if there are no CONFIG_FILES.
18290 # This happens for instance with `./config.status config.h'.
18291 if test -n "$CONFIG_FILES"; then
18294 ac_cr
=`echo X | tr X '\015'`
18295 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18296 # But we know of no other shell where ac_cr would be empty at this
18297 # point, so we can use a bashism as a fallback.
18298 if test "x$ac_cr" = x
; then
18299 eval ac_cr
=\$
\'\\r
\'
18301 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18302 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18305 ac_cs_awk_cr
=$ac_cr
18308 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18313 echo "cat >conf$$subs.awk <<_ACEOF" &&
18314 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18316 } >conf$$subs.sh ||
18317 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18318 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18320 for ac_last_try in false false false false false :; do
18321 . ./conf$$subs.sh ||
18322 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18324 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18325 if test $ac_delim_n = $ac_delim_num; then
18327 elif $ac_last_try; then
18328 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18330 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18333 rm -f conf$$subs.sh
18335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18336 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18340 s/^/S["/; s
/!.
*/"]=/
18350 s/\(.\{148\}\)..*/\1/
18352 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18357 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18364 s/\(.\{148\}\)..*/\1/
18366 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18370 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18375 ' <conf$$subs.awk | sed '
18380 ' >>$CONFIG_STATUS || ac_write_fail=1
18381 rm -f conf$$subs.awk
18382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18384 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18385 for (key in S) S_is_set[key] = 1
18391 nfields = split(line, field, "@
")
18393 len = length(field[1])
18394 for (i = 2; i < nfields; i++) {
18396 keylen = length(key)
18397 if (S_is_set[key]) {
18399 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18400 len += length(value) + length(field[++i])
18411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18412 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18413 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18416 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18417 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18420 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18421 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18422 # trailing colons and then remove the whole line if VPATH becomes empty
18423 # (actually we leave an empty line to preserve line numbers).
18424 if test "x
$srcdir" = x.; then
18425 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18444 fi # test -n "$CONFIG_FILES"
18446 # Set up the scripts for CONFIG_HEADERS section.
18447 # No need to generate them if there are no CONFIG_HEADERS.
18448 # This happens for instance with `./config.status Makefile'.
18449 if test -n "$CONFIG_HEADERS"; then
18450 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18454 # Transform confdefs.h into an awk script `defines.awk', embedded as
18455 # here-document in config.status, that substitutes the proper values into
18456 # config.h.in to produce config.h.
18458 # Create a delimiter string that does not exist in confdefs.h, to ease
18459 # handling of long lines.
18461 for ac_last_try in false false :; do
18462 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18463 if test -z "$ac_tt"; then
18465 elif $ac_last_try; then
18466 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18468 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18472 # For the awk script, D is an array of macro values keyed by name,
18473 # likewise P contains macro parameters if any. Preserve backslash
18474 # newline sequences.
18476 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18478 s/.\{148\}/&'"$ac_delim"'/g
18481 s/^[ ]*#[ ]*define[ ][ ]*/ /
18488 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18490 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18494 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18495 D["\
1"]=" \
3\\\\\\n
"\\/p
18497 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18502 s/.\{148\}/&'"$ac_delim"'/g
18507 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18510 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18512 ' <confdefs.h | sed '
18513 s/'"$ac_delim"'/"\\\
18514 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18517 for (key in D) D_is_set[key] = 1
18520 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18522 split(line, arg, " ")
18523 if (arg[1] == "#") {
18527 defundef
= substr
(arg
[1], 2)
18530 split(mac1
, mac2
, "(") #)
18532 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18533 if (D_is_set
[macro
]) {
18534 # Preserve the white space surrounding the "#".
18535 print prefix
"define", macro P
[macro
] D
[macro
]
18538 # Replace #undef with comments. This is necessary, for example,
18539 # in the case of _POSIX_SOURCE, which is predefined and required
18540 # on some systems where configure will not decide to define it.
18541 if (defundef
== "undef") {
18542 print
"/*", prefix defundef
, macro
, "*/"
18550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18551 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18552 fi # test -n "$CONFIG_HEADERS"
18555 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18560 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18562 case $ac_mode$ac_tag in
18564 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18565 :[FH
]-) ac_tag
=-:-;;
18566 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18583 -) ac_f
="$ac_tmp/stdin";;
18584 *) # Look for the file first in the build tree, then in the source tree
18585 # (if the path is not absolute). The absolute path cannot be DOS-style,
18586 # because $ac_f cannot contain `:'.
18590 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18592 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18594 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18595 as_fn_append ac_file_inputs
" '$ac_f'"
18598 # Let's still pretend it is `configure' which instantiates (i.e., don't
18599 # use $as_me), people would be surprised to read:
18600 # /* config.h. Generated by config.status. */
18601 configure_input
='Generated from '`
18602 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18604 if test x
"$ac_file" != x-
; then
18605 configure_input
="$ac_file. $configure_input"
18606 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18607 $as_echo "$as_me: creating $ac_file" >&6;}
18609 # Neutralize special characters interpreted by sed in replacement strings.
18610 case $configure_input in #(
18611 *\
&* |
*\|
* |
*\\* )
18612 ac_sed_conf_input
=`$as_echo "$configure_input" |
18613 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18614 *) ac_sed_conf_input
=$configure_input;;
18618 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18619 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18624 ac_dir
=`$as_dirname -- "$ac_file" ||
18625 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18626 X"$ac_file" : 'X\(//\)[^/]' \| \
18627 X"$ac_file" : 'X\(//\)$' \| \
18628 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18629 $as_echo X"$ac_file" |
18630 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18634 /^X\(\/\/\)[^/].*/{
18647 as_dir
="$ac_dir"; as_fn_mkdir_p
18651 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18653 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18654 # A ".." for each directory in $ac_dir_suffix.
18655 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18656 case $ac_top_builddir_sub in
18657 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18658 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18661 ac_abs_top_builddir
=$ac_pwd
18662 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18663 # for backward compatibility:
18664 ac_top_builddir
=$ac_top_build_prefix
18667 .
) # We are building in place.
18669 ac_top_srcdir
=$ac_top_builddir_sub
18670 ac_abs_top_srcdir
=$ac_pwd ;;
18671 [\\/]* | ?
:[\\/]* ) # Absolute name.
18672 ac_srcdir
=$srcdir$ac_dir_suffix;
18673 ac_top_srcdir
=$srcdir
18674 ac_abs_top_srcdir
=$srcdir ;;
18675 *) # Relative name.
18676 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18677 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18678 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18680 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18690 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18691 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18693 ac_MKDIR_P
=$MKDIR_P
18695 [\\/$
]* | ?
:[\\/]* ) ;;
18696 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18701 # If the template does not know about datarootdir, expand it.
18702 # FIXME: This hack should be removed a few years after 2.60.
18703 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18714 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18715 *datarootdir
*) ac_datarootdir_seen
=yes;;
18716 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18718 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18721 ac_datarootdir_hack='
18722 s&@datadir@&$datadir&g
18723 s&@docdir@&$docdir&g
18724 s&@infodir@&$infodir&g
18725 s&@localedir@&$localedir&g
18726 s&@mandir@&$mandir&g
18727 s&\\\${datarootdir}&$datarootdir&g' ;;
18731 # Neutralize VPATH when `$srcdir' = `.'.
18732 # Shell code in configure.ac might set extrasub.
18733 # FIXME: do we really want to maintain this feature?
18734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18735 ac_sed_extra="$ac_vpsub
18738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18740 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18741 s|@configure_input@|
$ac_sed_conf_input|
;t t
18742 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18743 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18744 s
&@srcdir@
&$ac_srcdir&;t t
18745 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18746 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18747 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18748 s
&@builddir@
&$ac_builddir&;t t
18749 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18750 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18751 s
&@INSTALL@
&$ac_INSTALL&;t t
18752 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18753 $ac_datarootdir_hack
18755 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18756 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18758 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18759 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18760 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18761 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18763 which seems to be undefined. Please make sure it is defined" >&5
18764 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18765 which seems to be undefined. Please make sure it is defined" >&2;}
18767 rm -f "$ac_tmp/stdin"
18769 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18770 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18772 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18778 if test x"$ac_file" != x-; then
18780 $as_echo "/* $configure_input */" \
18781 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18782 } >"$ac_tmp/config.h" \
18783 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18784 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18785 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18786 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18789 mv "$ac_tmp/config.h" "$ac_file" \
18790 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18793 $as_echo "/* $configure_input */" \
18794 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18795 || as_fn_error $? "could not create -" "$LINENO" 5
18797 # Compute "$ac_file"'s index
in $config_headers.
18800 for _am_header
in $config_headers :; do
18801 case $_am_header in
18802 $_am_arg |
$_am_arg:* )
18805 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18808 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18809 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18810 X"$_am_arg" : 'X\(//\)[^/]' \| \
18811 X"$_am_arg" : 'X\(//\)$' \| \
18812 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18813 $as_echo X"$_am_arg" |
18814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18818 /^X\(\/\/\)[^/].*/{
18830 s/.*/./; q'`/stamp-h
$_am_stamp_count
18833 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18834 $as_echo "$as_me: executing $ac_file commands" >&6;}
18839 case $ac_file$ac_mode in
18841 # Only add multilib support code if we just rebuilt the top-level
18843 case " $CONFIG_FILES " in
18845 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
18848 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18849 # Older Autoconf quotes --file arguments for eval, but not when files
18850 # are listed without --file. Let's play safe and only enable the eval
18851 # if we detect the quoting.
18852 case $CONFIG_FILES in
18853 *\'*) eval set x
"$CONFIG_FILES" ;;
18854 *) set x
$CONFIG_FILES ;;
18859 # Strip MF so we end up with the name of the file.
18860 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18861 # Check whether this is an Automake generated Makefile or not.
18862 # We used to match only the files named 'Makefile.in', but
18863 # some people rename them; so instead we look at the file content.
18864 # Grep'ing the first line is not enough: some people post-process
18865 # each Makefile.in and add a new line on top of each file to say so.
18866 # Grep'ing the whole file is not good either: AIX grep has a line
18867 # limit of 2048, but all sed's we know have understand at least 4000.
18868 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18869 dirpart
=`$as_dirname -- "$mf" ||
18870 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18871 X"$mf" : 'X\(//\)[^/]' \| \
18872 X"$mf" : 'X\(//\)$' \| \
18873 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18879 /^X\(\/\/\)[^/].*/{
18895 # Extract the definition of DEPDIR, am__include, and am__quote
18896 # from the Makefile without running 'make'.
18897 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18898 test -z "$DEPDIR" && continue
18899 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18900 test -z "$am__include" && continue
18901 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18902 # Find all dependency output files, they are included files with
18903 # $(DEPDIR) in their names. We invoke sed twice because it is the
18904 # simplest approach to changing $(DEPDIR) to its actual value in the
18906 for file in `sed -n "
18907 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18908 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18909 # Make sure the directory exists.
18910 test -f "$dirpart/$file" && continue
18911 fdir
=`$as_dirname -- "$file" ||
18912 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18913 X"$file" : 'X\(//\)[^/]' \| \
18914 X"$file" : 'X\(//\)$' \| \
18915 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18916 $as_echo X"$file" |
18917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18921 /^X\(\/\/\)[^/].*/{
18934 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18935 # echo "creating $dirpart/$file"
18936 echo '# dummy' > "$dirpart/$file"
18943 # See if we are running on zsh, and set the options which allow our
18944 # commands through without removal of \ escapes.
18945 if test -n "${ZSH_VERSION+set}" ; then
18946 setopt NO_GLOB_SUBST
18949 cfgfile
="${ofile}T"
18950 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18953 cat <<_LT_EOF >> "$cfgfile"
18956 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18957 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18958 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18959 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18961 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18962 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
18963 # Written by Gordon Matzigkeit, 1996
18965 # This file is part of GNU Libtool.
18967 # GNU Libtool is free software; you can redistribute it and/or
18968 # modify it under the terms of the GNU General Public License as
18969 # published by the Free Software Foundation; either version 2 of
18970 # the License, or (at your option) any later version.
18972 # As a special exception to the GNU General Public License,
18973 # if you distribute this file as part of a program or library that
18974 # is built using GNU Libtool, you may include this file under the
18975 # same distribution terms that you use for the rest of that program.
18977 # GNU Libtool is distributed in the hope that it will be useful,
18978 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18979 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18980 # GNU General Public License for more details.
18982 # You should have received a copy of the GNU General Public License
18983 # along with GNU Libtool; see the file COPYING. If not, a copy
18984 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18985 # obtained by writing to the Free Software Foundation, Inc.,
18986 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18989 # The names of the tagged configurations supported by this script.
18990 available_tags="FC "
18992 # ### BEGIN LIBTOOL CONFIG
18994 # Which release of libtool.m4 was used?
18995 macro_version=$macro_version
18996 macro_revision=$macro_revision
18998 # Whether or not to build shared libraries.
18999 build_libtool_libs=$enable_shared
19001 # Whether or not to build static libraries.
19002 build_old_libs=$enable_static
19004 # What type of objects to build.
19007 # Whether or not to optimize for fast installation.
19008 fast_install=$enable_fast_install
19010 # Shell to use when invoking shell scripts.
19013 # An echo program that protects backslashes.
19017 host_alias=$host_alias
19021 # The build system.
19022 build_alias=$build_alias
19026 # A sed program that does not truncate output.
19029 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19030 Xsed="\$SED -e 1s/^X//"
19032 # A grep program that handles long lines.
19038 # A literal string matcher.
19041 # A BSD- or MS-compatible name lister.
19044 # Whether we need soft or hard links.
19047 # What is the maximum length of a command?
19048 max_cmd_len=$max_cmd_len
19050 # Object file suffix (normally "o").
19053 # Executable file suffix (normally "").
19056 # whether the shell understands "unset".
19059 # turn spaces into newlines.
19062 # turn newlines into spaces.
19065 # An object symbol dumper.
19066 OBJDUMP=$lt_OBJDUMP
19068 # Method to check whether dependent libraries are shared objects.
19069 deplibs_check_method=$lt_deplibs_check_method
19071 # Command to use when deplibs_check_method == "file_magic".
19072 file_magic_cmd=$lt_file_magic_cmd
19076 AR_FLAGS=$lt_AR_FLAGS
19078 # A symbol stripping program.
19081 # Commands used to install an old-style archive.
19083 old_postinstall_cmds=$lt_old_postinstall_cmds
19084 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19086 # Whether to use a lock for old archive extraction.
19087 lock_old_archive_extraction=$lock_old_archive_extraction
19092 # LTCC compiler flags.
19093 LTCFLAGS=$lt_CFLAGS
19095 # Take the output of nm and produce a listing of raw symbols and C names.
19096 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19098 # Transform the output of nm in a proper C declaration.
19099 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19101 # Transform the output of nm in a C name address pair.
19102 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19104 # Transform the output of nm in a C name address pair when lib prefix is needed.
19105 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19107 # The name of the directory that contains temporary libtool files.
19110 # Used to examine libraries when file_magic_cmd begins with "file".
19111 MAGIC_CMD=$MAGIC_CMD
19113 # Must we lock files when doing compilation?
19114 need_locks=$lt_need_locks
19116 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19117 DSYMUTIL=$lt_DSYMUTIL
19119 # Tool to change global to local symbols on Mac OS X.
19122 # Tool to manipulate fat objects and archives on Mac OS X.
19125 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19128 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19129 OTOOL64=$lt_OTOOL64
19131 # Old archive suffix (normally "a").
19134 # Shared library suffix (normally ".so").
19135 shrext_cmds=$lt_shrext_cmds
19137 # The commands to extract the exported symbol list from a shared archive.
19138 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19140 # Variables whose values should be saved in libtool wrapper scripts and
19141 # restored at link time.
19142 variables_saved_for_relink=$lt_variables_saved_for_relink
19144 # Do we need the "lib" prefix for modules?
19145 need_lib_prefix=$need_lib_prefix
19147 # Do we need a version for libraries?
19148 need_version=$need_version
19150 # Library versioning type.
19151 version_type=$version_type
19153 # Shared library runtime path variable.
19154 runpath_var=$runpath_var
19156 # Shared library path variable.
19157 shlibpath_var=$shlibpath_var
19159 # Is shlibpath searched before the hard-coded library search path?
19160 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19162 # Format of library name prefix.
19163 libname_spec=$lt_libname_spec
19165 # List of archive names. First name is the real one, the rest are links.
19166 # The last name is the one that the linker finds with -lNAME
19167 library_names_spec=$lt_library_names_spec
19169 # The coded name of the library, if different from the real name.
19170 soname_spec=$lt_soname_spec
19172 # Permission mode override for installation of shared libraries.
19173 install_override_mode=$lt_install_override_mode
19175 # Command to use after installation of a shared archive.
19176 postinstall_cmds=$lt_postinstall_cmds
19178 # Command to use after uninstallation of a shared archive.
19179 postuninstall_cmds=$lt_postuninstall_cmds
19181 # Commands used to finish a libtool library installation in a directory.
19182 finish_cmds=$lt_finish_cmds
19184 # As "finish_cmds", except a single script fragment to be evaled but
19186 finish_eval=$lt_finish_eval
19188 # Whether we should hardcode library paths into libraries.
19189 hardcode_into_libs=$hardcode_into_libs
19191 # Compile-time system search path for libraries.
19192 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19194 # Run-time system search path for libraries.
19195 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19197 # Whether dlopen is supported.
19198 dlopen_support=$enable_dlopen
19200 # Whether dlopen of programs is supported.
19201 dlopen_self=$enable_dlopen_self
19203 # Whether dlopen of statically linked programs is supported.
19204 dlopen_self_static=$enable_dlopen_self_static
19206 # Commands to strip libraries.
19207 old_striplib=$lt_old_striplib
19208 striplib=$lt_striplib
19211 # The linker used to build libraries.
19214 # How to create reloadable object files.
19215 reload_flag=$lt_reload_flag
19216 reload_cmds=$lt_reload_cmds
19218 # Commands used to build an old-style archive.
19219 old_archive_cmds=$lt_old_archive_cmds
19221 # A language specific compiler.
19224 # Is the compiler the GNU compiler?
19227 # Compiler flag to turn off builtin functions.
19228 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19230 # How to pass a linker flag through the compiler.
19231 wl=$lt_lt_prog_compiler_wl
19233 # Additional compiler flags for building library objects.
19234 pic_flag=$lt_lt_prog_compiler_pic
19236 # Compiler flag to prevent dynamic linking.
19237 link_static_flag=$lt_lt_prog_compiler_static
19239 # Does compiler simultaneously support -c and -o options?
19240 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19242 # Whether or not to add -lc for building shared libraries.
19243 build_libtool_need_lc=$archive_cmds_need_lc
19245 # Whether or not to disallow shared libs when runtime libs are static.
19246 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19248 # Compiler flag to allow reflexive dlopens.
19249 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19251 # Compiler flag to generate shared objects directly from archives.
19252 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19254 # Whether the compiler copes with passing no objects directly.
19255 compiler_needs_object=$lt_compiler_needs_object
19257 # Create an old-style archive from a shared archive.
19258 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19260 # Create a temporary old-style archive to link instead of a shared archive.
19261 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19263 # Commands used to build a shared archive.
19264 archive_cmds=$lt_archive_cmds
19265 archive_expsym_cmds=$lt_archive_expsym_cmds
19267 # Commands used to build a loadable module if different from building
19268 # a shared archive.
19269 module_cmds=$lt_module_cmds
19270 module_expsym_cmds=$lt_module_expsym_cmds
19272 # Whether we are building with GNU ld or not.
19273 with_gnu_ld=$lt_with_gnu_ld
19275 # Flag that allows shared libraries with undefined symbols to be built.
19276 allow_undefined_flag=$lt_allow_undefined_flag
19278 # Flag that enforces no undefined symbols.
19279 no_undefined_flag=$lt_no_undefined_flag
19281 # Flag to hardcode \$libdir into a binary during linking.
19282 # This must work even if \$libdir does not exist
19283 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19285 # If ld is used when linking, flag to hardcode \$libdir into a binary
19286 # during linking. This must work even if \$libdir does not exist.
19287 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19289 # Whether we need a single "-rpath" flag with a separated argument.
19290 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19292 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19293 # DIR into the resulting binary.
19294 hardcode_direct=$hardcode_direct
19296 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19297 # DIR into the resulting binary and the resulting library dependency is
19298 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19299 # library is relocated.
19300 hardcode_direct_absolute=$hardcode_direct_absolute
19302 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19303 # into the resulting binary.
19304 hardcode_minus_L=$hardcode_minus_L
19306 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19307 # into the resulting binary.
19308 hardcode_shlibpath_var=$hardcode_shlibpath_var
19310 # Set to "yes" if building a shared library automatically hardcodes DIR
19311 # into the library and all subsequent libraries and executables linked
19313 hardcode_automatic=$hardcode_automatic
19315 # Set to yes if linker adds runtime paths of dependent libraries
19316 # to runtime path list.
19317 inherit_rpath=$inherit_rpath
19319 # Whether libtool must link a program against all its dependency libraries.
19320 link_all_deplibs=$link_all_deplibs
19322 # Fix the shell variable \$srcfile for the compiler.
19323 fix_srcfile_path=$lt_fix_srcfile_path
19325 # Set to "yes" if exported symbols are required.
19326 always_export_symbols=$always_export_symbols
19328 # The commands to list exported symbols.
19329 export_symbols_cmds=$lt_export_symbols_cmds
19331 # Symbols that should not be listed in the preloaded symbols.
19332 exclude_expsyms=$lt_exclude_expsyms
19334 # Symbols that must always be exported.
19335 include_expsyms=$lt_include_expsyms
19337 # Commands necessary for linking programs (against libraries) with templates.
19338 prelink_cmds=$lt_prelink_cmds
19340 # Specify filename containing input files.
19341 file_list_spec=$lt_file_list_spec
19343 # How to hardcode a shared library path into an executable.
19344 hardcode_action=$hardcode_action
19346 # The directories searched by this compiler when creating a shared library.
19347 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19349 # Dependencies to place before and after the objects being linked to
19350 # create a shared library.
19351 predep_objects=$lt_predep_objects
19352 postdep_objects=$lt_postdep_objects
19353 predeps=$lt_predeps
19354 postdeps=$lt_postdeps
19356 # The library search path used internally by the compiler when linking
19357 # a shared library.
19358 compiler_lib_search_path=$lt_compiler_lib_search_path
19360 # ### END LIBTOOL CONFIG
19366 cat <<\_LT_EOF
>> "$cfgfile"
19367 # AIX sometimes has problems with the GCC collect2 program. For some
19368 # reason, if we set the COLLECT_NAMES environment variable, the problems
19369 # vanish in a puff of smoke.
19370 if test "X${COLLECT_NAMES+set}" != Xset
; then
19372 export COLLECT_NAMES
19379 ltmain
="$ac_aux_dir/ltmain.sh"
19382 # We use sed instead of cat because bash on DJGPP gets confused if
19383 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19384 # text mode, it properly converts lines to CR/LF. This bash problem
19385 # is reportedly fixed, but why not run on old versions too?
19386 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19387 ||
(rm -f "$cfgfile"; exit 1)
19391 cat << \_LT_EOF
>> "$cfgfile"
19393 # func_dirname file append nondir_replacement
19394 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19395 # otherwise set result to NONDIR_REPLACEMENT.
19399 */*) func_dirname_result
="${1%/*}${2}" ;;
19400 * ) func_dirname_result
="${3}" ;;
19404 # func_basename file
19407 func_basename_result
="${1##*/}"
19410 # func_dirname_and_basename file append nondir_replacement
19411 # perform func_basename and func_dirname in a single function
19413 # dirname: Compute the dirname of FILE. If nonempty,
19414 # add APPEND to the result, otherwise set result
19415 # to NONDIR_REPLACEMENT.
19416 # value returned in "$func_dirname_result"
19417 # basename: Compute filename of FILE.
19418 # value retuned in "$func_basename_result"
19419 # Implementation must be kept synchronized with func_dirname
19420 # and func_basename. For efficiency, we do not delegate to
19421 # those functions but instead duplicate the functionality here.
19422 func_dirname_and_basename
()
19425 */*) func_dirname_result
="${1%/*}${2}" ;;
19426 * ) func_dirname_result
="${3}" ;;
19428 func_basename_result
="${1##*/}"
19431 # func_stripname prefix suffix name
19432 # strip PREFIX and SUFFIX off of NAME.
19433 # PREFIX and SUFFIX must not contain globbing or regex special
19434 # characters, hashes, percent signs, but SUFFIX may contain a leading
19435 # dot (in which case that matches only a dot).
19438 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19439 # positional parameters, so assign one to ordinary parameter first.
19440 func_stripname_result
=${3}
19441 func_stripname_result
=${func_stripname_result#"${1}"}
19442 func_stripname_result
=${func_stripname_result%"${2}"}
19448 func_opt_split_opt
=${1%%=*}
19449 func_opt_split_arg
=${1#*=}
19456 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
19457 *) func_lo2o_result
=${1} ;;
19461 # func_xform libobj-or-source
19464 func_xform_result
=${1%.*}.lo
19467 # func_arith arithmetic-term...
19470 func_arith_result
=$
(( $
* ))
19474 # STRING may not start with a hyphen.
19477 func_len_result
=${#1}
19482 *) # Bourne compatible functions.
19483 cat << \_LT_EOF
>> "$cfgfile"
19485 # func_dirname file append nondir_replacement
19486 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19487 # otherwise set result to NONDIR_REPLACEMENT.
19490 # Extract subdirectory from the argument.
19491 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
19492 if test "X$func_dirname_result" = "X${1}"; then
19493 func_dirname_result
="${3}"
19495 func_dirname_result
="$func_dirname_result${2}"
19499 # func_basename file
19502 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
19506 # func_stripname prefix suffix name
19507 # strip PREFIX and SUFFIX off of NAME.
19508 # PREFIX and SUFFIX must not contain globbing or regex special
19509 # characters, hashes, percent signs, but SUFFIX may contain a leading
19510 # dot (in which case that matches only a dot).
19511 # func_strip_suffix prefix name
19515 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
19516 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
19521 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
19522 my_sed_long_arg
='1s/^-[^=]*=//'
19527 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
19528 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
19534 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
19537 # func_xform libobj-or-source
19540 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
19543 # func_arith arithmetic-term...
19546 func_arith_result
=`expr "$@"`
19550 # STRING may not start with a hyphen.
19553 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19559 case $lt_shell_append in
19561 cat << \_LT_EOF
>> "$cfgfile"
19563 # func_append var value
19564 # Append VALUE to the end of shell variable VAR.
19572 cat << \_LT_EOF
>> "$cfgfile"
19574 # func_append var value
19575 # Append VALUE to the end of shell variable VAR.
19586 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19587 ||
(rm -f "$cfgfile"; exit 1)
19589 mv -f "$cfgfile" "$ofile" ||
19590 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19594 cat <<_LT_EOF >> "$ofile"
19596 # ### BEGIN LIBTOOL TAG CONFIG: FC
19598 # The linker used to build libraries.
19601 # How to create reloadable object files.
19602 reload_flag=$lt_reload_flag_FC
19603 reload_cmds=$lt_reload_cmds_FC
19605 # Commands used to build an old-style archive.
19606 old_archive_cmds=$lt_old_archive_cmds_FC
19608 # A language specific compiler.
19611 # Is the compiler the GNU compiler?
19614 # Compiler flag to turn off builtin functions.
19615 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
19617 # How to pass a linker flag through the compiler.
19618 wl=$lt_lt_prog_compiler_wl_FC
19620 # Additional compiler flags for building library objects.
19621 pic_flag=$lt_lt_prog_compiler_pic_FC
19623 # Compiler flag to prevent dynamic linking.
19624 link_static_flag=$lt_lt_prog_compiler_static_FC
19626 # Does compiler simultaneously support -c and -o options?
19627 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
19629 # Whether or not to add -lc for building shared libraries.
19630 build_libtool_need_lc=$archive_cmds_need_lc_FC
19632 # Whether or not to disallow shared libs when runtime libs are static.
19633 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
19635 # Compiler flag to allow reflexive dlopens.
19636 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
19638 # Compiler flag to generate shared objects directly from archives.
19639 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
19641 # Whether the compiler copes with passing no objects directly.
19642 compiler_needs_object=$lt_compiler_needs_object_FC
19644 # Create an old-style archive from a shared archive.
19645 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
19647 # Create a temporary old-style archive to link instead of a shared archive.
19648 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
19650 # Commands used to build a shared archive.
19651 archive_cmds=$lt_archive_cmds_FC
19652 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
19654 # Commands used to build a loadable module if different from building
19655 # a shared archive.
19656 module_cmds=$lt_module_cmds_FC
19657 module_expsym_cmds=$lt_module_expsym_cmds_FC
19659 # Whether we are building with GNU ld or not.
19660 with_gnu_ld=$lt_with_gnu_ld_FC
19662 # Flag that allows shared libraries with undefined symbols to be built.
19663 allow_undefined_flag=$lt_allow_undefined_flag_FC
19665 # Flag that enforces no undefined symbols.
19666 no_undefined_flag=$lt_no_undefined_flag_FC
19668 # Flag to hardcode \$libdir into a binary during linking.
19669 # This must work even if \$libdir does not exist
19670 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
19672 # If ld is used when linking, flag to hardcode \$libdir into a binary
19673 # during linking. This must work even if \$libdir does not exist.
19674 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
19676 # Whether we need a single "-rpath" flag with a separated argument.
19677 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
19679 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19680 # DIR into the resulting binary.
19681 hardcode_direct=$hardcode_direct_FC
19683 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19684 # DIR into the resulting binary and the resulting library dependency is
19685 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19686 # library is relocated.
19687 hardcode_direct_absolute=$hardcode_direct_absolute_FC
19689 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19690 # into the resulting binary.
19691 hardcode_minus_L=$hardcode_minus_L_FC
19693 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19694 # into the resulting binary.
19695 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
19697 # Set to "yes" if building a shared library automatically hardcodes DIR
19698 # into the library and all subsequent libraries and executables linked
19700 hardcode_automatic=$hardcode_automatic_FC
19702 # Set to yes if linker adds runtime paths of dependent libraries
19703 # to runtime path list.
19704 inherit_rpath=$inherit_rpath_FC
19706 # Whether libtool must link a program against all its dependency libraries.
19707 link_all_deplibs=$link_all_deplibs_FC
19709 # Fix the shell variable \$srcfile for the compiler.
19710 fix_srcfile_path=$lt_fix_srcfile_path_FC
19712 # Set to "yes" if exported symbols are required.
19713 always_export_symbols=$always_export_symbols_FC
19715 # The commands to list exported symbols.
19716 export_symbols_cmds=$lt_export_symbols_cmds_FC
19718 # Symbols that should not be listed in the preloaded symbols.
19719 exclude_expsyms=$lt_exclude_expsyms_FC
19721 # Symbols that must always be exported.
19722 include_expsyms=$lt_include_expsyms_FC
19724 # Commands necessary for linking programs (against libraries) with templates.
19725 prelink_cmds=$lt_prelink_cmds_FC
19727 # Specify filename containing input files.
19728 file_list_spec=$lt_file_list_spec_FC
19730 # How to hardcode a shared library path into an executable.
19731 hardcode_action=$hardcode_action_FC
19733 # The directories searched by this compiler when creating a shared library.
19734 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
19736 # Dependencies to place before and after the objects being linked to
19737 # create a shared library.
19738 predep_objects=$lt_predep_objects_FC
19739 postdep_objects=$lt_postdep_objects_FC
19740 predeps=$lt_predeps_FC
19741 postdeps=$lt_postdeps_FC
19743 # The library search path used internally by the compiler when linking
19744 # a shared library.
19745 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
19747 # ### END LIBTOOL TAG CONFIG: FC
19758 ac_clean_files
=$ac_clean_files_save
19760 test $ac_write_fail = 0 ||
19761 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19764 # configure is writing to config.log, and then calls config.status.
19765 # config.status does its own redirection, appending to config.log.
19766 # Unfortunately, on DOS this fails, as config.log is still kept open
19767 # by configure, so config.status won't be able to write to it; its
19768 # output is simply discarded. So we exec the FD to /dev/null,
19769 # effectively closing config.log, so it can be properly (re)opened and
19770 # appended to by config.status. When coming back to configure, we
19771 # need to make the FD available again.
19772 if test "$no_create" != yes; then
19774 ac_config_status_args
=
19775 test "$silent" = yes &&
19776 ac_config_status_args
="$ac_config_status_args --quiet"
19778 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19780 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19781 # would make configure fail if this is the last instruction.
19782 $ac_cs_success || as_fn_exit
1
19784 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19786 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}