2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.69 for Aggregate Remote Memory Copy Interface (ARMCI) 1.5.
5
# Report bugs to <hpctools@pnl.gov>.
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
# is contrary to our usage. Disable this feature.
24
alias -g '${1+"$@"}'='"$@"'
27
case `(set -o) 2>/dev/null` in #(
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85
# We need space, tab and new line, in precisely that order. Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
91
# Find who we are. Look in the path if we contain no directory separator.
94
*[\\/]* ) as_myself=$0 ;;
95
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99
test -z "$as_dir" && as_dir=.
100
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106
# We did not find ourselves, most probably we were run as `sh COMMAND'
107
# in which case we are not to be found in the path.
108
if test "x$as_myself" = x; then
111
if test ! -f "$as_myself"; then
112
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116
# Unset variables that we do not need and which cause bugs (e.g. in
117
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118
# suppresses any "Segmentation fault" message there. '((' could
119
# trigger a bug in pdksh 5.2.14.
120
for as_var in BASH_ENV ENV MAIL MAILPATH
121
do eval test x\${$as_var+set} = xset \
122
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
# Use a proper internal environment variable to ensure we don't fall
138
# into an infinite loop, continuously re-executing ourselves.
139
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140
_as_can_reexec=no; export _as_can_reexec;
141
# We cannot yet assume a decent shell, so we have to provide a
142
# neutralization value for shells without unset; and this also
143
# works around shells that cannot unset nonexistent variables.
144
# Preserve -v and -x to the replacement shell.
147
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149
*v*x* | *x*v* ) as_opts=-vx ;;
154
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155
# Admittedly, this is quite paranoid, since all the known shells bail
156
# out after a failed `exec'.
157
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160
# We don't want this to propagate to other subprocesses.
161
{ _as_can_reexec=; unset _as_can_reexec;}
162
if test "x$CONFIG_SHELL" = x; then
163
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167
# is contrary to our usage. Disable this feature.
168
alias -g '\${1+\"\$@\"}'='\"\$@\"'
171
case \`(set -o) 2>/dev/null\` in #(
179
as_required="as_fn_return () { (exit \$1); }
180
as_fn_success () { as_fn_return 0; }
181
as_fn_failure () { as_fn_return 1; }
182
as_fn_ret_success () { return 0; }
183
as_fn_ret_failure () { return 1; }
186
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193
exitcode=1; echo positional parameters were not saved.
195
test x\$exitcode = x0 || exit 1
197
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
test \$(( 1 + 1 )) = 2 || exit 1
203
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207
PATH=/empty FPATH=/empty; export PATH FPATH
208
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210
if (eval "$as_required") 2>/dev/null; then :
215
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
test -z "$as_dir" && as_dir=.
227
for as_base in sh bash ksh sh5; do
228
# Try only shells that exist, to save several forks.
229
as_shell=$as_dir/$as_base
230
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232
CONFIG_SHELL=$as_shell as_have_required=yes
233
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243
CONFIG_SHELL=$SHELL as_have_required=yes
248
if test "x$CONFIG_SHELL" != x; then :
250
# We cannot yet assume a decent shell, so we have to provide a
251
# neutralization value for shells without unset; and this also
252
# works around shells that cannot unset nonexistent variables.
253
# Preserve -v and -x to the replacement shell.
256
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258
*v*x* | *x*v* ) as_opts=-vx ;;
263
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264
# Admittedly, this is quite paranoid, since all the known shells bail
265
# out after a failed `exec'.
266
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270
if test x$as_have_required = xno; then :
271
$as_echo "$0: This script requires a shell more modern than all"
272
$as_echo "$0: the shells that I found on your system."
273
if test x${ZSH_VERSION+set} = xset ; then
274
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
277
$as_echo "$0: Please tell bug-autoconf@gnu.org and hpctools@pnl.gov
278
$0: about your system, including any error possibly output
279
$0: before this message. Then install a modern shell, or
280
$0: manually run the script under such a shell if you do
287
SHELL=${CONFIG_SHELL-/bin/sh}
289
# Unset more variables known to interfere with behavior of common tools.
290
CLICOLOR_FORCE= GREP_OPTIONS=
291
unset CLICOLOR_FORCE GREP_OPTIONS
293
## --------------------- ##
294
## M4sh Shell Functions. ##
295
## --------------------- ##
298
# Portably unset VAR.
301
{ eval $1=; unset $1;}
305
# as_fn_set_status STATUS
306
# -----------------------
307
# Set $? to STATUS, without forking.
315
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325
# Create "$as_dir" as a directory, including parents if necessary.
330
-*) as_dir=./$as_dir;;
332
test -d "$as_dir" || eval $as_mkdir_p || {
336
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339
as_dirs="'$as_qdir' $as_dirs"
340
as_dir=`$as_dirname -- "$as_dir" ||
341
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342
X"$as_dir" : 'X\(//\)[^/]' \| \
343
X"$as_dir" : 'X\(//\)$' \| \
344
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345
$as_echo X"$as_dir" |
346
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363
test -d "$as_dir" && break
365
test -z "$as_dirs" || eval "mkdir $as_dirs"
366
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371
# as_fn_executable_p FILE
372
# -----------------------
373
# Test if FILE is an executable regular file.
374
as_fn_executable_p ()
376
test -f "$1" && test -x "$1"
377
} # as_fn_executable_p
378
# as_fn_append VAR VALUE
379
# ----------------------
380
# Append the text in VALUE to the end of the definition contained in VAR. Take
381
# advantage of any shell optimizations that allow amortized linear growth over
382
# repeated appends, instead of the typical quadratic growth present in naive
384
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385
eval 'as_fn_append ()
398
# Perform arithmetic evaluation on the ARGs, and store the result in the
399
# global $as_val. Take advantage of shells that can avoid forks. The arguments
400
# must be portable across $(()) and expr.
401
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409
as_val=`expr "$@" || test $? -eq 1`
414
# as_fn_error STATUS ERROR [LINENO LOG_FD]
415
# ----------------------------------------
416
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418
# script with STATUS, using 1 if that was 0.
421
as_status=$1; test $as_status -eq 0 && as_status=1
423
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426
$as_echo "$as_me: error: $2" >&2
427
as_fn_exit $as_status
430
if expr a : '\(a\)' >/dev/null 2>&1 &&
431
test "X`expr 00001 : '.*\(...\)'`" = X001; then
437
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449
as_me=`$as_basename -- "$0" ||
450
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451
X"$0" : 'X\(//\)$' \| \
452
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454
sed '/^.*\/\([^/][^/]*\)\/*$/{
468
# Avoid depending upon Character Ranges.
469
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472
as_cr_digits='0123456789'
473
as_cr_alnum=$as_cr_Letters$as_cr_digits
476
as_lineno_1=$LINENO as_lineno_1a=$LINENO
477
as_lineno_2=$LINENO as_lineno_2a=$LINENO
478
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496
chmod +x "$as_me.lineno" ||
497
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500
# already done that, so ensure we don't try to do so again and fall
501
# in an infinite loop. This has already happened in practice.
502
_as_can_reexec=no; export _as_can_reexec
503
# Don't try to exec as it changes $[0], causing all sort of problems
504
# (the dirname of $[0] is not the place where we might find the
505
# original and so on. Autoconf is especially sensitive to this).
507
# Exit status is that of the last command.
511
ECHO_C= ECHO_N= ECHO_T=
512
case `echo -n x` in #(((((
514
case `echo 'xy\c'` in
515
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
517
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524
rm -f conf$$ conf$$.exe conf$$.file
525
if test -d conf$$.dir; then
526
rm -f conf$$.dir/conf$$.file
529
mkdir conf$$.dir 2>/dev/null
531
if (echo >conf$$.file) 2>/dev/null; then
532
if ln -s conf$$.file conf$$ 2>/dev/null; then
534
# ... but there are two gotchas:
535
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537
# In both cases, we have to default to `cp -pR'.
538
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540
elif ln conf$$.file conf$$ 2>/dev/null; then
548
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549
rmdir conf$$.dir 2>/dev/null
551
if mkdir -p . 2>/dev/null; then
552
as_mkdir_p='mkdir -p "$as_dir"'
554
test -d ./-p && rmdir ./-p
559
as_executable_p=as_fn_executable_p
561
# Sed expression to map a string onto a valid CPP name.
562
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
# Sed expression to map a string onto a valid variable name.
565
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
SHELL=${CONFIG_SHELL-/bin/sh}
570
test -n "$DJDIR" || exec 7<&0 </dev/null
574
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575
# so uname gets run too.
576
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581
ac_default_prefix=/usr/local
583
ac_config_libobj_dir=.
590
# Identity of this package.
591
PACKAGE_NAME='Aggregate Remote Memory Copy Interface (ARMCI)'
592
PACKAGE_TARNAME='armci'
593
PACKAGE_VERSION='1.5'
594
PACKAGE_STRING='Aggregate Remote Memory Copy Interface (ARMCI) 1.5'
595
PACKAGE_BUGREPORT='hpctools@pnl.gov'
596
PACKAGE_URL='http://www.emsl.pnl.gov/docs/parsoft/armci/'
598
ac_config_libobj_dir=compat
599
ac_unique_file="src/common/armci.c"
600
# Factoring default headers for most tests.
601
ac_includes_default="\
603
#ifdef HAVE_SYS_TYPES_H
604
# include <sys/types.h>
606
#ifdef HAVE_SYS_STAT_H
607
# include <sys/stat.h>
613
# ifdef HAVE_STDLIB_H
618
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623
#ifdef HAVE_STRINGS_H
624
# include <strings.h>
626
#ifdef HAVE_INTTYPES_H
627
# include <inttypes.h>
637
ac_subst_vars='am__EXEEXT_FALSE
674
am__fastdepCCAS_FALSE
690
HAVE_SYS_WEAK_ALIAS_PRAGMA_FALSE
691
HAVE_SYS_WEAK_ALIAS_PRAGMA_TRUE
694
CRAY_XT_NETWORKS_FALSE
695
CRAY_XT_NETWORKS_TRUE
696
ARMCI_SRC_DIR_SRC_FALSE
697
ARMCI_SRC_DIR_SRC_TRUE
698
ARMCI_SRC_DIR_COMEX_FALSE
699
ARMCI_SRC_DIR_COMEX_TRUE
700
ARMCI_SRC_DIR_GEMINI_FALSE
701
ARMCI_SRC_DIR_GEMINI_TRUE
702
ARMCI_SRC_DIR_PORTALS_FALSE
703
ARMCI_SRC_DIR_PORTALS_TRUE
711
ARMCI_NETWORK_CPPFLAGS
713
ARMCI_NETWORK_LDFLAGS
714
ARMCI_NETWORK_SOCKETS_FALSE
715
ARMCI_NETWORK_SOCKETS_TRUE
716
ARMCI_NETWORK_PORTALS_FALSE
717
ARMCI_NETWORK_PORTALS_TRUE
718
ARMCI_NETWORK_GEMINI_FALSE
719
ARMCI_NETWORK_GEMINI_TRUE
720
ARMCI_NETWORK_OPENIB_FALSE
721
ARMCI_NETWORK_OPENIB_TRUE
722
ARMCI_NETWORK_OFA_FALSE
723
ARMCI_NETWORK_OFA_TRUE
724
ARMCI_NETWORK_MPI_SPAWN_FALSE
725
ARMCI_NETWORK_MPI_SPAWN_TRUE
726
ARMCI_NETWORK_MPI_MT_FALSE
727
ARMCI_NETWORK_MPI_MT_TRUE
728
ARMCI_NETWORK_MPI_TS_FALSE
729
ARMCI_NETWORK_MPI_TS_TRUE
730
ARMCI_NETWORK_LAPI_FALSE
731
ARMCI_NETWORK_LAPI_TRUE
732
ARMCI_NETWORK_DMAPP_FALSE
733
ARMCI_NETWORK_DMAPP_TRUE
734
ARMCI_NETWORK_DCMF_FALSE
735
ARMCI_NETWORK_DCMF_TRUE
736
ARMCI_NETWORK_CRAY_SHMEM_FALSE
737
ARMCI_NETWORK_CRAY_SHMEM_TRUE
738
ARMCI_NETWORK_BGML_FALSE
739
ARMCI_NETWORK_BGML_TRUE
740
ARMCI_NETWORK_ARMCI_FALSE
741
ARMCI_NETWORK_ARMCI_TRUE
742
HAVE_ARMCI_MSG_FINALIZE_FALSE
743
HAVE_ARMCI_MSG_FINALIZE_TRUE
744
HAVE_ARMCI_MSG_INIT_FALSE
745
HAVE_ARMCI_MSG_INIT_TRUE
746
HAVE_ARMCI_NOTIFY_FALSE
747
HAVE_ARMCI_NOTIFY_TRUE
748
HAVE_ARMCI_STRIDE_INFO_INIT_FALSE
749
HAVE_ARMCI_STRIDE_INFO_INIT_TRUE
750
HAVE_ARMCI_INITIALIZED_FALSE
751
HAVE_ARMCI_INITIALIZED_TRUE
752
HAVE_ARMCI_GROUP_COMM_MEMBER_FALSE
753
HAVE_ARMCI_GROUP_COMM_MEMBER_TRUE
754
HAVE_ARMCI_GROUP_COMM_FALSE
755
HAVE_ARMCI_GROUP_COMM_TRUE
784
ENABLE_CHECKPOINT_FALSE
785
ENABLE_CHECKPOINT_TRUE
786
ENABLE_PROFILING_FALSE
787
ENABLE_PROFILING_TRUE
792
ARMCI_ENABLE_GPC_CALLS_FALSE
793
ARMCI_ENABLE_GPC_CALLS_TRUE
794
PORTALS_ENABLE_NEW_MALLOC_FALSE
795
PORTALS_ENABLE_NEW_MALLOC_TRUE
799
MSG_COMMS_TCGMSG5_FALSE
800
MSG_COMMS_TCGMSG5_TRUE
801
MSG_COMMS_TCGMSG4_FALSE
802
MSG_COMMS_TCGMSG4_TRUE
806
MAINTAINER_MODE_FALSE
820
INSTALL_STRIP_PROGRAM
835
CROSS_COMPILING_FALSE
920
program_transform_name
933
enable_option_checking
935
enable_maintainer_mode
938
enable_portals_new_malloc
949
enable_dependency_tracking
975
ac_precious_vars='build_alias
1002
# Initialize some variables set by options.
1004
ac_init_version=false
1005
ac_unrecognized_opts=
1006
ac_unrecognized_sep=
1007
# The variables have the same names as the options, with
1008
# dashes changed to underlines.
1009
cache_file=/dev/null
1016
program_transform_name=s,x,x,
1024
# Installation directory options.
1025
# These are left unexpanded so users can "make install exec_prefix=/foo"
1026
# and all the variables that are supposed to be based on exec_prefix
1027
# by default will actually change.
1028
# Use braces instead of parens because sh, perl, etc. also accept them.
1029
# (The list follows the same order as the GNU Coding Standards.)
1030
bindir='${exec_prefix}/bin'
1031
sbindir='${exec_prefix}/sbin'
1032
libexecdir='${exec_prefix}/libexec'
1033
datarootdir='${prefix}/share'
1034
datadir='${datarootdir}'
1035
sysconfdir='${prefix}/etc'
1036
sharedstatedir='${prefix}/com'
1037
localstatedir='${prefix}/var'
1038
includedir='${prefix}/include'
1039
oldincludedir='/usr/include'
1040
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1041
infodir='${datarootdir}/info'
1046
libdir='${exec_prefix}/lib'
1047
localedir='${datarootdir}/locale'
1048
mandir='${datarootdir}/man'
1054
# If the previous option needs an argument, assign it.
1055
if test -n "$ac_prev"; then
1056
eval $ac_prev=\$ac_option
1062
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1067
# Accept the important Cygnus configure options, so we can diagnose typos.
1069
case $ac_dashdash$ac_option in
1073
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1075
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1076
bindir=$ac_optarg ;;
1078
-build | --build | --buil | --bui | --bu)
1079
ac_prev=build_alias ;;
1080
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1081
build_alias=$ac_optarg ;;
1083
-cache-file | --cache-file | --cache-fil | --cache-fi \
1084
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1085
ac_prev=cache_file ;;
1086
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1087
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1088
cache_file=$ac_optarg ;;
1090
--config-cache | -C)
1091
cache_file=config.cache ;;
1093
-datadir | --datadir | --datadi | --datad)
1095
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1096
datadir=$ac_optarg ;;
1098
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1099
| --dataroo | --dataro | --datar)
1100
ac_prev=datarootdir ;;
1101
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1102
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1103
datarootdir=$ac_optarg ;;
1105
-disable-* | --disable-*)
1106
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1107
# Reject names that are not valid shell variable names.
1108
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1109
as_fn_error $? "invalid feature name: $ac_useropt"
1110
ac_useropt_orig=$ac_useropt
1111
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1112
case $ac_user_opts in
1114
"enable_$ac_useropt"
1116
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1117
ac_unrecognized_sep=', ';;
1119
eval enable_$ac_useropt=no ;;
1121
-docdir | --docdir | --docdi | --doc | --do)
1123
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1124
docdir=$ac_optarg ;;
1126
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1128
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1129
dvidir=$ac_optarg ;;
1131
-enable-* | --enable-*)
1132
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1133
# Reject names that are not valid shell variable names.
1134
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1135
as_fn_error $? "invalid feature name: $ac_useropt"
1136
ac_useropt_orig=$ac_useropt
1137
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1138
case $ac_user_opts in
1140
"enable_$ac_useropt"
1142
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1143
ac_unrecognized_sep=', ';;
1145
eval enable_$ac_useropt=\$ac_optarg ;;
1147
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1148
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1149
| --exec | --exe | --ex)
1150
ac_prev=exec_prefix ;;
1151
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1152
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1153
| --exec=* | --exe=* | --ex=*)
1154
exec_prefix=$ac_optarg ;;
1156
-gas | --gas | --ga | --g)
1157
# Obsolete; use --with-gas.
1160
-help | --help | --hel | --he | -h)
1161
ac_init_help=long ;;
1162
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1163
ac_init_help=recursive ;;
1164
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1165
ac_init_help=short ;;
1167
-host | --host | --hos | --ho)
1168
ac_prev=host_alias ;;
1169
-host=* | --host=* | --hos=* | --ho=*)
1170
host_alias=$ac_optarg ;;
1172
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1174
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1176
htmldir=$ac_optarg ;;
1178
-includedir | --includedir | --includedi | --included | --include \
1179
| --includ | --inclu | --incl | --inc)
1180
ac_prev=includedir ;;
1181
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1182
| --includ=* | --inclu=* | --incl=* | --inc=*)
1183
includedir=$ac_optarg ;;
1185
-infodir | --infodir | --infodi | --infod | --info | --inf)
1187
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1188
infodir=$ac_optarg ;;
1190
-libdir | --libdir | --libdi | --libd)
1192
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1193
libdir=$ac_optarg ;;
1195
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1196
| --libexe | --libex | --libe)
1197
ac_prev=libexecdir ;;
1198
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1199
| --libexe=* | --libex=* | --libe=*)
1200
libexecdir=$ac_optarg ;;
1202
-localedir | --localedir | --localedi | --localed | --locale)
1203
ac_prev=localedir ;;
1204
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1205
localedir=$ac_optarg ;;
1207
-localstatedir | --localstatedir | --localstatedi | --localstated \
1208
| --localstate | --localstat | --localsta | --localst | --locals)
1209
ac_prev=localstatedir ;;
1210
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1211
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1212
localstatedir=$ac_optarg ;;
1214
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1216
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1217
mandir=$ac_optarg ;;
1219
-nfp | --nfp | --nf)
1220
# Obsolete; use --without-fp.
1223
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1224
| --no-cr | --no-c | -n)
1227
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1228
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1231
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1232
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1233
| --oldin | --oldi | --old | --ol | --o)
1234
ac_prev=oldincludedir ;;
1235
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1236
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1237
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1238
oldincludedir=$ac_optarg ;;
1240
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1242
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1243
prefix=$ac_optarg ;;
1245
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1246
| --program-pre | --program-pr | --program-p)
1247
ac_prev=program_prefix ;;
1248
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1249
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1250
program_prefix=$ac_optarg ;;
1252
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1253
| --program-suf | --program-su | --program-s)
1254
ac_prev=program_suffix ;;
1255
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1256
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1257
program_suffix=$ac_optarg ;;
1259
-program-transform-name | --program-transform-name \
1260
| --program-transform-nam | --program-transform-na \
1261
| --program-transform-n | --program-transform- \
1262
| --program-transform | --program-transfor \
1263
| --program-transfo | --program-transf \
1264
| --program-trans | --program-tran \
1265
| --progr-tra | --program-tr | --program-t)
1266
ac_prev=program_transform_name ;;
1267
-program-transform-name=* | --program-transform-name=* \
1268
| --program-transform-nam=* | --program-transform-na=* \
1269
| --program-transform-n=* | --program-transform-=* \
1270
| --program-transform=* | --program-transfor=* \
1271
| --program-transfo=* | --program-transf=* \
1272
| --program-trans=* | --program-tran=* \
1273
| --progr-tra=* | --program-tr=* | --program-t=*)
1274
program_transform_name=$ac_optarg ;;
1276
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1278
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1279
pdfdir=$ac_optarg ;;
1281
-psdir | --psdir | --psdi | --psd | --ps)
1283
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1286
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1287
| -silent | --silent | --silen | --sile | --sil)
1290
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1292
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1294
sbindir=$ac_optarg ;;
1296
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1297
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1298
| --sharedst | --shareds | --shared | --share | --shar \
1300
ac_prev=sharedstatedir ;;
1301
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1302
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1303
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1305
sharedstatedir=$ac_optarg ;;
1307
-site | --site | --sit)
1309
-site=* | --site=* | --sit=*)
1312
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1314
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1315
srcdir=$ac_optarg ;;
1317
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1318
| --syscon | --sysco | --sysc | --sys | --sy)
1319
ac_prev=sysconfdir ;;
1320
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1321
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1322
sysconfdir=$ac_optarg ;;
1324
-target | --target | --targe | --targ | --tar | --ta | --t)
1325
ac_prev=target_alias ;;
1326
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1327
target_alias=$ac_optarg ;;
1329
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1332
-version | --version | --versio | --versi | --vers | -V)
1333
ac_init_version=: ;;
1336
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1337
# Reject names that are not valid shell variable names.
1338
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1339
as_fn_error $? "invalid package name: $ac_useropt"
1340
ac_useropt_orig=$ac_useropt
1341
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1342
case $ac_user_opts in
1346
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1347
ac_unrecognized_sep=', ';;
1349
eval with_$ac_useropt=\$ac_optarg ;;
1351
-without-* | --without-*)
1352
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1353
# Reject names that are not valid shell variable names.
1354
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1355
as_fn_error $? "invalid package name: $ac_useropt"
1356
ac_useropt_orig=$ac_useropt
1357
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1358
case $ac_user_opts in
1362
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1363
ac_unrecognized_sep=', ';;
1365
eval with_$ac_useropt=no ;;
1368
# Obsolete; use --with-x.
1371
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1372
| --x-incl | --x-inc | --x-in | --x-i)
1373
ac_prev=x_includes ;;
1374
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1375
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1376
x_includes=$ac_optarg ;;
1378
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1379
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1380
ac_prev=x_libraries ;;
1381
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1382
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1383
x_libraries=$ac_optarg ;;
1385
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1386
Try \`$0 --help' for more information"
1390
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1391
# Reject names that are not valid shell variable names.
1392
case $ac_envvar in #(
1393
'' | [0-9]* | *[!_$as_cr_alnum]* )
1394
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1396
eval $ac_envvar=\$ac_optarg
1397
export $ac_envvar ;;
1400
# FIXME: should be removed in autoconf 3.0.
1401
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1402
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1403
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1404
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1410
if test -n "$ac_prev"; then
1411
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1412
as_fn_error $? "missing argument to $ac_option"
1415
if test -n "$ac_unrecognized_opts"; then
1416
case $enable_option_checking in
1418
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1419
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1423
# Check all directory arguments for consistency.
1424
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1425
datadir sysconfdir sharedstatedir localstatedir includedir \
1426
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1427
libdir localedir mandir
1429
eval ac_val=\$$ac_var
1430
# Remove trailing slashes.
1433
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1434
eval $ac_var=\$ac_val;;
1436
# Be sure to have absolute directory names.
1438
[\\/$]* | ?:[\\/]* ) continue;;
1439
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1441
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1444
# There might be people who depend on the old broken behavior: `$host'
1445
# used to hold the argument of --host etc.
1446
# FIXME: To remove some day.
1449
target=$target_alias
1451
# FIXME: To remove some day.
1452
if test "x$host_alias" != x; then
1453
if test "x$build_alias" = x; then
1454
cross_compiling=maybe
1455
elif test "x$build_alias" != "x$host_alias"; then
1461
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1463
test "$silent" = yes && exec 6>/dev/null
1466
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1467
ac_ls_di=`ls -di .` &&
1468
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1469
as_fn_error $? "working directory cannot be determined"
1470
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1471
as_fn_error $? "pwd does not report name of working directory"
1474
# Find the source files, if location was not specified.
1475
if test -z "$srcdir"; then
1476
ac_srcdir_defaulted=yes
1477
# Try the directory containing this script, then the parent directory.
1478
ac_confdir=`$as_dirname -- "$as_myself" ||
1479
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1480
X"$as_myself" : 'X\(//\)[^/]' \| \
1481
X"$as_myself" : 'X\(//\)$' \| \
1482
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1483
$as_echo X"$as_myself" |
1484
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1502
if test ! -r "$srcdir/$ac_unique_file"; then
1506
ac_srcdir_defaulted=no
1508
if test ! -r "$srcdir/$ac_unique_file"; then
1509
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1510
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1512
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1514
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1516
# When building in place, set srcdir=.
1517
if test "$ac_abs_confdir" = "$ac_pwd"; then
1520
# Remove unnecessary trailing slashes from srcdir.
1521
# Double slashes in file names in object file debugging info
1522
# mess up M-x gdb in Emacs.
1524
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1526
for ac_var in $ac_precious_vars; do
1527
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1528
eval ac_env_${ac_var}_value=\$${ac_var}
1529
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1530
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1534
# Report the --help message.
1536
if test "$ac_init_help" = "long"; then
1537
# Omit some internal or obsolete options to make the list less imposing.
1538
# This message is too long to be a string in the A/UX 3.1 sh.
1540
\`configure' configures Aggregate Remote Memory Copy Interface (ARMCI) 1.5 to adapt to many kinds of systems.
1542
Usage: $0 [OPTION]... [VAR=VALUE]...
1544
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1545
VAR=VALUE. See below for descriptions of some of the useful variables.
1547
Defaults for the options are specified in brackets.
1550
-h, --help display this help and exit
1551
--help=short display options specific to this package
1552
--help=recursive display the short help of all the included packages
1553
-V, --version display version information and exit
1554
-q, --quiet, --silent do not print \`checking ...' messages
1555
--cache-file=FILE cache test results in FILE [disabled]
1556
-C, --config-cache alias for \`--cache-file=config.cache'
1557
-n, --no-create do not create output files
1558
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1560
Installation directories:
1561
--prefix=PREFIX install architecture-independent files in PREFIX
1562
[$ac_default_prefix]
1563
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1566
By default, \`make install' will install all the files in
1567
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1568
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1569
for instance \`--prefix=\$HOME'.
1571
For better control, use the options below.
1573
Fine tuning of the installation directories:
1574
--bindir=DIR user executables [EPREFIX/bin]
1575
--sbindir=DIR system admin executables [EPREFIX/sbin]
1576
--libexecdir=DIR program executables [EPREFIX/libexec]
1577
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1578
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1579
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1580
--libdir=DIR object code libraries [EPREFIX/lib]
1581
--includedir=DIR C header files [PREFIX/include]
1582
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1583
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1584
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1585
--infodir=DIR info documentation [DATAROOTDIR/info]
1586
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1587
--mandir=DIR man documentation [DATAROOTDIR/man]
1588
--docdir=DIR documentation root [DATAROOTDIR/doc/armci]
1589
--htmldir=DIR html documentation [DOCDIR]
1590
--dvidir=DIR dvi documentation [DOCDIR]
1591
--pdfdir=DIR pdf documentation [DOCDIR]
1592
--psdir=DIR ps documentation [DOCDIR]
1598
--program-prefix=PREFIX prepend PREFIX to installed program names
1599
--program-suffix=SUFFIX append SUFFIX to installed program names
1600
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1603
--build=BUILD configure for building on BUILD [guessed]
1604
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1608
if test -n "$ac_init_help"; then
1609
case $ac_init_help in
1610
short | recursive ) echo "Configuration of Aggregate Remote Memory Copy Interface (ARMCI) 1.5:";;
1615
--disable-option-checking ignore unrecognized --enable/--with options
1616
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1617
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1618
--enable-silent-rules less verbose build output (undo: `make V=1')
1619
--disable-silent-rules verbose build output (undo: `make V=0')
1620
--enable-maintainer-mode enable make rules and dependencies not useful
1621
(and sometimes confusing) to the casual installer
1622
--enable-portals-new-malloc
1623
add -DNEW_MALLOC to CPPFLAGS
1624
--enable-gpc enable GPC calls
1625
--enable-armci-group TODO
1626
--enable-nb-noncont TODO
1627
--enable-profiling enable profiling
1628
--disable-mpi-tests disable MPI linker tests
1629
--enable-warnings use compiler-specific warnings
1630
--enable-checkpoint enable checkpointing
1631
--disable-opt don't use hard-coded optimization flags
1632
--enable-trace enable tracing
1633
--enable-thread-safety **unsupported** turn on thread safety
1634
--disable-dependency-tracking speeds up one-time build
1635
--enable-dependency-tracking do not reject slow dependency extractors
1636
--enable-autodetect attempt to locate ARMCI_NETWORK besides SOCKETS
1637
--disable-assert turn off assertions
1638
--disable-weak don't use weak symbols for profiling
1639
--enable-shared[=PKGS] build shared libraries [default=no]
1640
--enable-static[=PKGS] build static libraries [default=yes]
1641
--enable-fast-install[=PKGS]
1642
optimize for fast installation [default=yes]
1643
--disable-libtool-lock avoid locking (might break parallel builds)
1646
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1647
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1648
--with-PACKAGE[=ARG] for most of the external software packages, ARG can
1649
be one or more whitespace-separated directories,
1650
linker or preprocessor directives; for example,
1651
--with-PACKAGE="/path/to/PACKAGE -lmylib -I/mydir"
1652
--with-mpi[=ARG] select MPI as the messaging library (default); leave
1653
ARG blank to use MPI compiler wrappers
1654
--with-armci[=ARG] select armci network as external; path to external
1656
--with-bgml[=ARG] select armci network as IBM BG/L
1657
--with-cray-shmem[=ARG] select armci network as Cray XT shmem
1658
--with-dcmf[=ARG] select armci network as IBM BG/P Deep Computing
1660
--with-dmapp[=ARG] select armci network as (Comex) Cray DMAPP
1661
--with-gemini[=ARG] select armci network as Cray XE Gemini using
1663
--with-lapi[=ARG] select armci network as IBM LAPI
1664
--with-mpi-mt[=ARG] select armci network as MPI-2 multi-threading
1665
--with-mpi-spawn[=ARG] select armci network as MPI-2 dynamic process mgmt
1666
--with-mpi-ts[=ARG] select armci network as (Comex) MPI-1 two-sided
1667
--with-ofa[=ARG] select armci network as (Comex) Infiniband OpenIB
1668
--with-openib[=ARG] select armci network as Infiniband OpenIB
1669
--with-portals[=ARG] select armci network as Cray XT portals
1670
--with-sockets[=ARG] select armci network as Ethernet TCP/IP
1671
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1673
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1674
--with-sysroot=DIR Search for dependent libraries within DIR
1675
(or the compiler's sysroot if not specified).
1677
Some influential environment variables:
1679
See --enable-thread-safety
1680
MPICC MPI C compiler
1681
CC C compiler command
1682
CFLAGS C compiler flags
1683
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1684
nonstandard directory <lib dir>
1685
LIBS libraries to pass to the linker, e.g. -l<library>
1686
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1687
you have headers in a nonstandard directory <include dir>
1689
ARMCI_COPT ARMCI C optimization flags
1690
MPICXX MPI C++ compiler
1691
CXX C++ compiler command
1692
CXXFLAGS C++ compiler flags
1694
ARMCI C++ optimization flags
1695
CCAS assembler compiler command (defaults to CC)
1696
CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1697
AR archiver used by libtool (default: ar)
1698
AR_FLAGS archiver flags used by libtool (default: cru)
1699
RANLIB generates index to archive (default: ranlib)
1700
CXXCPP C++ preprocessor
1701
NPROCS number of procs to use for parallel tests (default 4)
1702
MPIEXEC how to run parallel tests if built with MPI e.g. "mpiexec -np
1705
Use these variables to override the choices made by `configure' or to help
1706
it to find libraries and programs with nonstandard names/locations.
1708
Report bugs to <hpctools@pnl.gov>.
1709
Aggregate Remote Memory Copy Interface (ARMCI) home page: <http://www.emsl.pnl.gov/docs/parsoft/armci/>.
1714
if test "$ac_init_help" = "recursive"; then
1715
# If there are subdirs, report their specific --help.
1716
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1717
test -d "$ac_dir" ||
1718
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1723
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1725
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1726
# A ".." for each directory in $ac_dir_suffix.
1727
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1728
case $ac_top_builddir_sub in
1729
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1730
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1733
ac_abs_top_builddir=$ac_pwd
1734
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1735
# for backward compatibility:
1736
ac_top_builddir=$ac_top_build_prefix
1739
.) # We are building in place.
1741
ac_top_srcdir=$ac_top_builddir_sub
1742
ac_abs_top_srcdir=$ac_pwd ;;
1743
[\\/]* | ?:[\\/]* ) # Absolute name.
1744
ac_srcdir=$srcdir$ac_dir_suffix;
1745
ac_top_srcdir=$srcdir
1746
ac_abs_top_srcdir=$srcdir ;;
1748
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1749
ac_top_srcdir=$ac_top_build_prefix$srcdir
1750
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1752
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1754
cd "$ac_dir" || { ac_status=$?; continue; }
1755
# Check for guested configure.
1756
if test -f "$ac_srcdir/configure.gnu"; then
1758
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1759
elif test -f "$ac_srcdir/configure"; then
1761
$SHELL "$ac_srcdir/configure" --help=recursive
1763
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1765
cd "$ac_pwd" || { ac_status=$?; break; }
1769
test -n "$ac_init_help" && exit $ac_status
1770
if $ac_init_version; then
1772
Aggregate Remote Memory Copy Interface (ARMCI) configure 1.5
1773
generated by GNU Autoconf 2.69
1775
Copyright (C) 2012 Free Software Foundation, Inc.
1776
This configure script is free software; the Free Software Foundation
1777
gives unlimited permission to copy, distribute and modify it.
1782
## ------------------------ ##
1783
## Autoconf initialization. ##
1784
## ------------------------ ##
1786
# ac_fn_c_try_compile LINENO
1787
# --------------------------
1788
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1789
ac_fn_c_try_compile ()
1791
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1792
rm -f conftest.$ac_objext
1793
if { { ac_try="$ac_compile"
1795
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1796
*) ac_try_echo=$ac_try;;
1798
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799
$as_echo "$ac_try_echo"; } >&5
1800
(eval "$ac_compile") 2>conftest.err
1802
if test -s conftest.err; then
1803
grep -v '^ *+' conftest.err >conftest.er1
1804
cat conftest.er1 >&5
1805
mv -f conftest.er1 conftest.err
1807
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808
test $ac_status = 0; } && {
1809
test -z "$ac_c_werror_flag" ||
1810
test ! -s conftest.err
1811
} && test -s conftest.$ac_objext; then :
1814
$as_echo "$as_me: failed program was:" >&5
1815
sed 's/^/| /' conftest.$ac_ext >&5
1819
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820
as_fn_set_status $ac_retval
1822
} # ac_fn_c_try_compile
1824
# ac_fn_c_try_cpp LINENO
1825
# ----------------------
1826
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1829
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830
if { { ac_try="$ac_cpp conftest.$ac_ext"
1832
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1833
*) ac_try_echo=$ac_try;;
1835
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836
$as_echo "$ac_try_echo"; } >&5
1837
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1839
if test -s conftest.err; then
1840
grep -v '^ *+' conftest.err >conftest.er1
1841
cat conftest.er1 >&5
1842
mv -f conftest.er1 conftest.err
1844
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1845
test $ac_status = 0; } > conftest.i && {
1846
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1847
test ! -s conftest.err
1851
$as_echo "$as_me: failed program was:" >&5
1852
sed 's/^/| /' conftest.$ac_ext >&5
1856
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857
as_fn_set_status $ac_retval
1861
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1862
# -------------------------------------------------------
1863
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1864
# the include files in INCLUDES and setting the cache variable VAR
1866
ac_fn_c_check_header_mongrel ()
1868
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1869
if eval \${$3+:} false; then :
1870
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1871
$as_echo_n "checking for $2... " >&6; }
1872
if eval \${$3+:} false; then :
1873
$as_echo_n "(cached) " >&6
1876
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1877
$as_echo "$ac_res" >&6; }
1879
# Is the header compilable?
1880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1881
$as_echo_n "checking $2 usability... " >&6; }
1882
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883
/* end confdefs.h. */
1887
if ac_fn_c_try_compile "$LINENO"; then :
1888
ac_header_compiler=yes
1890
ac_header_compiler=no
1892
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1893
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1894
$as_echo "$ac_header_compiler" >&6; }
1896
# Is the header present?
1897
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1898
$as_echo_n "checking $2 presence... " >&6; }
1899
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900
/* end confdefs.h. */
1903
if ac_fn_c_try_cpp "$LINENO"; then :
1904
ac_header_preproc=yes
1906
ac_header_preproc=no
1908
rm -f conftest.err conftest.i conftest.$ac_ext
1909
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1910
$as_echo "$ac_header_preproc" >&6; }
1912
# So? What about this header?
1913
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1915
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1916
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1917
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1918
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1921
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1922
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1923
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1924
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1925
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1926
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1927
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1928
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1929
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1930
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1931
( $as_echo "## ------------------------------- ##
1932
## Report this to hpctools@pnl.gov ##
1933
## ------------------------------- ##"
1934
) | sed "s/^/$as_me: WARNING: /" >&2
1937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1938
$as_echo_n "checking for $2... " >&6; }
1939
if eval \${$3+:} false; then :
1940
$as_echo_n "(cached) " >&6
1942
eval "$3=\$ac_header_compiler"
1945
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1946
$as_echo "$ac_res" >&6; }
1948
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1950
} # ac_fn_c_check_header_mongrel
1952
# ac_fn_c_try_run LINENO
1953
# ----------------------
1954
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1955
# that executables *can* be run.
1958
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1959
if { { ac_try="$ac_link"
1961
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1962
*) ac_try_echo=$ac_try;;
1964
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1965
$as_echo "$ac_try_echo"; } >&5
1966
(eval "$ac_link") 2>&5
1968
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1969
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1970
{ { case "(($ac_try" in
1971
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1972
*) ac_try_echo=$ac_try;;
1974
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1975
$as_echo "$ac_try_echo"; } >&5
1976
(eval "$ac_try") 2>&5
1978
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1979
test $ac_status = 0; }; }; then :
1982
$as_echo "$as_me: program exited with status $ac_status" >&5
1983
$as_echo "$as_me: failed program was:" >&5
1984
sed 's/^/| /' conftest.$ac_ext >&5
1986
ac_retval=$ac_status
1988
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1989
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1990
as_fn_set_status $ac_retval
1994
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1995
# -------------------------------------------------------
1996
# Tests whether HEADER exists and can be compiled using the include files in
1997
# INCLUDES, setting the cache variable VAR accordingly.
1998
ac_fn_c_check_header_compile ()
2000
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2002
$as_echo_n "checking for $2... " >&6; }
2003
if eval \${$3+:} false; then :
2004
$as_echo_n "(cached) " >&6
2006
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2007
/* end confdefs.h. */
2011
if ac_fn_c_try_compile "$LINENO"; then :
2016
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2019
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2020
$as_echo "$ac_res" >&6; }
2021
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2023
} # ac_fn_c_check_header_compile
2025
# ac_fn_c_try_link LINENO
2026
# -----------------------
2027
# Try to link conftest.$ac_ext, and return whether this succeeded.
2030
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2031
rm -f conftest.$ac_objext conftest$ac_exeext
2032
if { { ac_try="$ac_link"
2034
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2035
*) ac_try_echo=$ac_try;;
2037
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2038
$as_echo "$ac_try_echo"; } >&5
2039
(eval "$ac_link") 2>conftest.err
2041
if test -s conftest.err; then
2042
grep -v '^ *+' conftest.err >conftest.er1
2043
cat conftest.er1 >&5
2044
mv -f conftest.er1 conftest.err
2046
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2047
test $ac_status = 0; } && {
2048
test -z "$ac_c_werror_flag" ||
2049
test ! -s conftest.err
2050
} && test -s conftest$ac_exeext && {
2051
test "$cross_compiling" = yes ||
2052
test -x conftest$ac_exeext
2056
$as_echo "$as_me: failed program was:" >&5
2057
sed 's/^/| /' conftest.$ac_ext >&5
2061
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2062
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2063
# interfere with the next link command; also delete a directory that is
2064
# left behind by Apple's compiler. We do this before executing the actions.
2065
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2066
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2067
as_fn_set_status $ac_retval
2069
} # ac_fn_c_try_link
2071
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2072
# --------------------------------------------
2073
# Tries to find the compile-time value of EXPR in a program that includes
2074
# INCLUDES, setting VAR accordingly. Returns whether the value could be
2076
ac_fn_c_compute_int ()
2078
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2079
if test "$cross_compiling" = yes; then
2080
# Depending upon the size, compute the lo and hi bounds.
2081
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2082
/* end confdefs.h. */
2087
static int test_array [1 - 2 * !(($2) >= 0)];
2089
return test_array [0];
2095
if ac_fn_c_try_compile "$LINENO"; then :
2098
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2099
/* end confdefs.h. */
2104
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2106
return test_array [0];
2112
if ac_fn_c_try_compile "$LINENO"; then :
2113
ac_hi=$ac_mid; break
2115
as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2116
if test $ac_lo -le $ac_mid; then
2120
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2122
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2125
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2126
/* end confdefs.h. */
2131
static int test_array [1 - 2 * !(($2) < 0)];
2133
return test_array [0];
2139
if ac_fn_c_try_compile "$LINENO"; then :
2142
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2143
/* end confdefs.h. */
2148
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2150
return test_array [0];
2156
if ac_fn_c_try_compile "$LINENO"; then :
2157
ac_lo=$ac_mid; break
2159
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2160
if test $ac_mid -le $ac_hi; then
2164
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2166
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2171
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2173
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2174
# Binary search between lo and hi bounds.
2175
while test "x$ac_lo" != "x$ac_hi"; do
2176
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2177
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2178
/* end confdefs.h. */
2183
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2185
return test_array [0];
2191
if ac_fn_c_try_compile "$LINENO"; then :
2194
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2196
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2199
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2203
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2204
/* end confdefs.h. */
2206
static long int longval () { return $2; }
2207
static unsigned long int ulongval () { return $2; }
2214
FILE *f = fopen ("conftest.val", "w");
2219
long int i = longval ();
2222
fprintf (f, "%ld", i);
2226
unsigned long int i = ulongval ();
2229
fprintf (f, "%lu", i);
2231
/* Do not output a trailing newline, as this causes \r\n confusion
2232
on some platforms. */
2233
return ferror (f) || fclose (f) != 0;
2239
if ac_fn_c_try_run "$LINENO"; then :
2240
echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2244
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2245
conftest.$ac_objext conftest.beam conftest.$ac_ext
2249
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2250
as_fn_set_status $ac_retval
2252
} # ac_fn_c_compute_int
2254
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2255
# ----------------------------------------------------
2256
# Tries to find if the field MEMBER exists in type AGGR, after including
2257
# INCLUDES, setting cache variable VAR accordingly.
2258
ac_fn_c_check_member ()
2260
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2262
$as_echo_n "checking for $2.$3... " >&6; }
2263
if eval \${$4+:} false; then :
2264
$as_echo_n "(cached) " >&6
2266
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2267
/* end confdefs.h. */
2279
if ac_fn_c_try_compile "$LINENO"; then :
2282
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2283
/* end confdefs.h. */
2289
if (sizeof ac_aggr.$3)
2295
if ac_fn_c_try_compile "$LINENO"; then :
2300
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2302
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2305
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2306
$as_echo "$ac_res" >&6; }
2307
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2309
} # ac_fn_c_check_member
2311
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2312
# -------------------------------------------
2313
# Tests whether TYPE exists after having included INCLUDES, setting cache
2314
# variable VAR accordingly.
2315
ac_fn_c_check_type ()
2317
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2318
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2319
$as_echo_n "checking for $2... " >&6; }
2320
if eval \${$3+:} false; then :
2321
$as_echo_n "(cached) " >&6
2324
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2325
/* end confdefs.h. */
2336
if ac_fn_c_try_compile "$LINENO"; then :
2337
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2338
/* end confdefs.h. */
2349
if ac_fn_c_try_compile "$LINENO"; then :
2354
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2356
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2359
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2360
$as_echo "$ac_res" >&6; }
2361
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2363
} # ac_fn_c_check_type
2365
# ac_fn_c_find_intX_t LINENO BITS VAR
2366
# -----------------------------------
2367
# Finds a signed integer type with width BITS, setting cache variable VAR
2369
ac_fn_c_find_intX_t ()
2371
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2372
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
2373
$as_echo_n "checking for int$2_t... " >&6; }
2374
if eval \${$3+:} false; then :
2375
$as_echo_n "(cached) " >&6
2378
# Order is important - never check a type that is potentially smaller
2379
# than half of the expected target width.
2380
for ac_type in int$2_t 'int' 'long int' \
2381
'long long int' 'short int' 'signed char'; do
2382
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2383
/* end confdefs.h. */
2384
$ac_includes_default
2385
enum { N = $2 / 2 - 1 };
2389
static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
2391
return test_array [0];
2397
if ac_fn_c_try_compile "$LINENO"; then :
2398
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399
/* end confdefs.h. */
2400
$ac_includes_default
2401
enum { N = $2 / 2 - 1 };
2405
static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
2406
< ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
2408
return test_array [0];
2414
if ac_fn_c_try_compile "$LINENO"; then :
2421
eval "$3=\$ac_type" ;;
2424
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2426
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2427
if eval test \"x\$"$3"\" = x"no"; then :
2435
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2436
$as_echo "$ac_res" >&6; }
2437
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2439
} # ac_fn_c_find_intX_t
2441
# ac_fn_c_find_uintX_t LINENO BITS VAR
2442
# ------------------------------------
2443
# Finds an unsigned integer type with width BITS, setting cache variable VAR
2445
ac_fn_c_find_uintX_t ()
2447
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2449
$as_echo_n "checking for uint$2_t... " >&6; }
2450
if eval \${$3+:} false; then :
2451
$as_echo_n "(cached) " >&6
2454
# Order is important - never check a type that is potentially smaller
2455
# than half of the expected target width.
2456
for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2457
'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2458
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2459
/* end confdefs.h. */
2460
$ac_includes_default
2464
static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2466
return test_array [0];
2472
if ac_fn_c_try_compile "$LINENO"; then :
2477
eval "$3=\$ac_type" ;;
2480
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2481
if eval test \"x\$"$3"\" = x"no"; then :
2489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2490
$as_echo "$ac_res" >&6; }
2491
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2493
} # ac_fn_c_find_uintX_t
2495
# ac_fn_c_check_func LINENO FUNC VAR
2496
# ----------------------------------
2497
# Tests whether FUNC exists, setting the cache variable VAR accordingly
2498
ac_fn_c_check_func ()
2500
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2502
$as_echo_n "checking for $2... " >&6; }
2503
if eval \${$3+:} false; then :
2504
$as_echo_n "(cached) " >&6
2506
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2507
/* end confdefs.h. */
2508
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2509
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2510
#define $2 innocuous_$2
2512
/* System header to define __stub macros and hopefully few prototypes,
2513
which can conflict with char $2 (); below.
2514
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2515
<limits.h> exists even on freestanding compilers. */
2518
# include <limits.h>
2520
# include <assert.h>
2525
/* Override any GCC internal prototype to avoid an error.
2526
Use char because int might match the return type of a GCC
2527
builtin and then its argument prototype would still apply. */
2532
/* The GNU C library defines this for functions which it implements
2533
to always fail with ENOSYS. Some functions are actually named
2534
something starting with __ and the normal name is an alias. */
2535
#if defined __stub_$2 || defined __stub___$2
2547
if ac_fn_c_try_link "$LINENO"; then :
2552
rm -f core conftest.err conftest.$ac_objext \
2553
conftest$ac_exeext conftest.$ac_ext
2556
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2557
$as_echo "$ac_res" >&6; }
2558
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2560
} # ac_fn_c_check_func
2562
# ac_fn_cxx_try_compile LINENO
2563
# ----------------------------
2564
# Try to compile conftest.$ac_ext, and return whether this succeeded.
2565
ac_fn_cxx_try_compile ()
2567
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2568
rm -f conftest.$ac_objext
2569
if { { ac_try="$ac_compile"
2571
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2572
*) ac_try_echo=$ac_try;;
2574
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2575
$as_echo "$ac_try_echo"; } >&5
2576
(eval "$ac_compile") 2>conftest.err
2578
if test -s conftest.err; then
2579
grep -v '^ *+' conftest.err >conftest.er1
2580
cat conftest.er1 >&5
2581
mv -f conftest.er1 conftest.err
2583
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2584
test $ac_status = 0; } && {
2585
test -z "$ac_cxx_werror_flag" ||
2586
test ! -s conftest.err
2587
} && test -s conftest.$ac_objext; then :
2590
$as_echo "$as_me: failed program was:" >&5
2591
sed 's/^/| /' conftest.$ac_ext >&5
2595
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2596
as_fn_set_status $ac_retval
2598
} # ac_fn_cxx_try_compile
2600
# ac_fn_cxx_try_link LINENO
2601
# -------------------------
2602
# Try to link conftest.$ac_ext, and return whether this succeeded.
2603
ac_fn_cxx_try_link ()
2605
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2606
rm -f conftest.$ac_objext conftest$ac_exeext
2607
if { { ac_try="$ac_link"
2609
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2610
*) ac_try_echo=$ac_try;;
2612
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2613
$as_echo "$ac_try_echo"; } >&5
2614
(eval "$ac_link") 2>conftest.err
2616
if test -s conftest.err; then
2617
grep -v '^ *+' conftest.err >conftest.er1
2618
cat conftest.er1 >&5
2619
mv -f conftest.er1 conftest.err
2621
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2622
test $ac_status = 0; } && {
2623
test -z "$ac_cxx_werror_flag" ||
2624
test ! -s conftest.err
2625
} && test -s conftest$ac_exeext && {
2626
test "$cross_compiling" = yes ||
2627
test -x conftest$ac_exeext
2631
$as_echo "$as_me: failed program was:" >&5
2632
sed 's/^/| /' conftest.$ac_ext >&5
2636
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2637
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2638
# interfere with the next link command; also delete a directory that is
2639
# left behind by Apple's compiler. We do this before executing the actions.
2640
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2641
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2642
as_fn_set_status $ac_retval
2644
} # ac_fn_cxx_try_link
2646
# ac_fn_cxx_try_cpp LINENO
2647
# ------------------------
2648
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2649
ac_fn_cxx_try_cpp ()
2651
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2652
if { { ac_try="$ac_cpp conftest.$ac_ext"
2654
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2655
*) ac_try_echo=$ac_try;;
2657
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2658
$as_echo "$ac_try_echo"; } >&5
2659
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2661
if test -s conftest.err; then
2662
grep -v '^ *+' conftest.err >conftest.er1
2663
cat conftest.er1 >&5
2664
mv -f conftest.er1 conftest.err
2666
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2667
test $ac_status = 0; } > conftest.i && {
2668
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2669
test ! -s conftest.err
2673
$as_echo "$as_me: failed program was:" >&5
2674
sed 's/^/| /' conftest.$ac_ext >&5
2678
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2679
as_fn_set_status $ac_retval
2681
} # ac_fn_cxx_try_cpp
2682
cat >config.log <<_ACEOF
2683
This file contains any messages produced by compilers while
2684
running configure, to aid debugging if configure makes a mistake.
2686
It was created by Aggregate Remote Memory Copy Interface (ARMCI) $as_me 1.5, which was
2687
generated by GNU Autoconf 2.69. Invocation command line was
2699
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2700
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2701
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2702
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2703
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2705
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2706
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2708
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2709
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2710
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2711
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2712
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2713
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2714
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2718
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2722
test -z "$as_dir" && as_dir=.
2723
$as_echo "PATH: $as_dir"
2739
# Keep a trace of the command line.
2740
# Strip out --no-create and --no-recursion so they do not pile up.
2741
# Strip out --silent because we don't want to record it for future runs.
2742
# Also quote any args containing shell meta-characters.
2743
# Make two passes to allow for proper duplicate-argument suppression.
2747
ac_must_keep_next=false
2753
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2754
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2755
| -silent | --silent | --silen | --sile | --sil)
2758
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2761
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2763
as_fn_append ac_configure_args1 " '$ac_arg'"
2764
if test $ac_must_keep_next = true; then
2765
ac_must_keep_next=false # Got value, back to normal.
2768
*=* | --config-cache | -C | -disable-* | --disable-* \
2769
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2770
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2771
| -with-* | --with-* | -without-* | --without-* | --x)
2772
case "$ac_configure_args0 " in
2773
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2776
-* ) ac_must_keep_next=true ;;
2779
as_fn_append ac_configure_args " '$ac_arg'"
2784
{ ac_configure_args0=; unset ac_configure_args0;}
2785
{ ac_configure_args1=; unset ac_configure_args1;}
2787
# When interrupted or exit'd, cleanup temporary files, and complete
2788
# config.log. We remove comments because anyway the quotes in there
2789
# would cause problems or look ugly.
2790
# WARNING: Use '\'' to represent an apostrophe within the trap.
2791
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2792
trap 'exit_status=$?
2793
# Save into config.log some information that might help in debugging.
2797
$as_echo "## ---------------- ##
2798
## Cache variables. ##
2799
## ---------------- ##"
2801
# The following way of writing the cache mishandles newlines in values,
2803
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2804
eval ac_val=\$$ac_var
2808
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2809
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2812
_ | IFS | as_nl) ;; #(
2813
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2814
*) { eval $ac_var=; unset $ac_var;} ;;
2819
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2820
*${as_nl}ac_space=\ *)
2822
"s/'\''/'\''\\\\'\'''\''/g;
2823
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2826
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2833
$as_echo "## ----------------- ##
2834
## Output variables. ##
2835
## ----------------- ##"
2837
for ac_var in $ac_subst_vars
2839
eval ac_val=\$$ac_var
2841
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2843
$as_echo "$ac_var='\''$ac_val'\''"
2847
if test -n "$ac_subst_files"; then
2848
$as_echo "## ------------------- ##
2849
## File substitutions. ##
2850
## ------------------- ##"
2852
for ac_var in $ac_subst_files
2854
eval ac_val=\$$ac_var
2856
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2858
$as_echo "$ac_var='\''$ac_val'\''"
2863
if test -s confdefs.h; then
2864
$as_echo "## ----------- ##
2871
test "$ac_signal" != 0 &&
2872
$as_echo "$as_me: caught signal $ac_signal"
2873
$as_echo "$as_me: exit $exit_status"
2875
rm -f core *.core core.conftest.* &&
2876
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2879
for ac_signal in 1 2 13 15; do
2880
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2884
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2885
rm -f -r conftest* confdefs.h
2887
$as_echo "/* confdefs.h */" > confdefs.h
2889
# Predefined preprocessor variables.
2891
cat >>confdefs.h <<_ACEOF
2892
#define PACKAGE_NAME "$PACKAGE_NAME"
2895
cat >>confdefs.h <<_ACEOF
2896
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2899
cat >>confdefs.h <<_ACEOF
2900
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2903
cat >>confdefs.h <<_ACEOF
2904
#define PACKAGE_STRING "$PACKAGE_STRING"
2907
cat >>confdefs.h <<_ACEOF
2908
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2911
cat >>confdefs.h <<_ACEOF
2912
#define PACKAGE_URL "$PACKAGE_URL"
2916
# Let the site file select an alternate cache file if it wants to.
2917
# Prefer an explicitly selected file to automatically selected ones.
2920
if test -n "$CONFIG_SITE"; then
2921
# We do not want a PATH search for config.site.
2922
case $CONFIG_SITE in #((
2923
-*) ac_site_file1=./$CONFIG_SITE;;
2924
*/*) ac_site_file1=$CONFIG_SITE;;
2925
*) ac_site_file1=./$CONFIG_SITE;;
2927
elif test "x$prefix" != xNONE; then
2928
ac_site_file1=$prefix/share/config.site
2929
ac_site_file2=$prefix/etc/config.site
2931
ac_site_file1=$ac_default_prefix/share/config.site
2932
ac_site_file2=$ac_default_prefix/etc/config.site
2934
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2936
test "x$ac_site_file" = xNONE && continue
2937
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2938
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2939
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2940
sed 's/^/| /' "$ac_site_file" >&5
2942
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2943
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2944
as_fn_error $? "failed to load site script $ac_site_file
2945
See \`config.log' for more details" "$LINENO" 5; }
2949
if test -r "$cache_file"; then
2950
# Some versions of bash will fail to source /dev/null (special files
2951
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2952
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2953
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2954
$as_echo "$as_me: loading cache $cache_file" >&6;}
2956
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2957
*) . "./$cache_file";;
2961
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2962
$as_echo "$as_me: creating cache $cache_file" >&6;}
2966
as_fn_append ac_header_list " stdlib.h"
2967
as_fn_append ac_header_list " unistd.h"
2968
as_fn_append ac_header_list " sys/param.h"
2969
# Check that the precious variables saved in the cache have kept the same
2971
ac_cache_corrupted=false
2972
for ac_var in $ac_precious_vars; do
2973
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2974
eval ac_new_set=\$ac_env_${ac_var}_set
2975
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2976
eval ac_new_val=\$ac_env_${ac_var}_value
2977
case $ac_old_set,$ac_new_set in
2979
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2980
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2981
ac_cache_corrupted=: ;;
2983
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2984
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2985
ac_cache_corrupted=: ;;
2988
if test "x$ac_old_val" != "x$ac_new_val"; then
2989
# differences in whitespace do not lead to failure.
2990
ac_old_val_w=`echo x $ac_old_val`
2991
ac_new_val_w=`echo x $ac_new_val`
2992
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2993
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2994
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2995
ac_cache_corrupted=:
2997
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2998
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2999
eval $ac_var=\$ac_old_val
3001
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3002
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3003
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3004
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3007
# Pass precious variables to config.status.
3008
if test "$ac_new_set" = set; then
3010
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3011
*) ac_arg=$ac_var=$ac_new_val ;;
3013
case " $ac_configure_args " in
3014
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3015
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
3019
if $ac_cache_corrupted; then
3020
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3021
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3022
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3023
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3024
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3026
## -------------------- ##
3027
## Main body of script. ##
3028
## -------------------- ##
3031
ac_cpp='$CPP $CPPFLAGS'
3032
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3033
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3034
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3038
for ac_dir in build-aux "$srcdir"/build-aux; do
3039
if test -f "$ac_dir/install-sh"; then
3041
ac_install_sh="$ac_aux_dir/install-sh -c"
3043
elif test -f "$ac_dir/install.sh"; then
3045
ac_install_sh="$ac_aux_dir/install.sh -c"
3047
elif test -f "$ac_dir/shtool"; then
3049
ac_install_sh="$ac_aux_dir/shtool install -c"
3053
if test -z "$ac_aux_dir"; then
3054
as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
3057
# These three variables are undocumented and unsupported,
3058
# and are intended to be withdrawn in a future Autoconf release.
3059
# They can cause serious problems if a builder's source tree is in a directory
3060
# whose full name contains unusual characters.
3061
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3062
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3063
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3066
ac_config_headers="$ac_config_headers config.h"
3072
###############################################################################
3073
# Must occur before automake init
3074
###############################################################################
3075
# Make sure we can run config.sub.
3076
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3077
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3079
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3080
$as_echo_n "checking build system type... " >&6; }
3081
if ${ac_cv_build+:} false; then :
3082
$as_echo_n "(cached) " >&6
3084
ac_build_alias=$build_alias
3085
test "x$ac_build_alias" = x &&
3086
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3087
test "x$ac_build_alias" = x &&
3088
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3089
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3090
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3093
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3094
$as_echo "$ac_cv_build" >&6; }
3095
case $ac_cv_build in
3097
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3100
ac_save_IFS=$IFS; IFS='-'
3106
# Remember, the first character of IFS is used to create $*,
3107
# except with old shells:
3110
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3114
$as_echo_n "checking host system type... " >&6; }
3115
if ${ac_cv_host+:} false; then :
3116
$as_echo_n "(cached) " >&6
3118
if test "x$host_alias" = x; then
3119
ac_cv_host=$ac_cv_build
3121
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3122
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3127
$as_echo "$ac_cv_host" >&6; }
3130
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3133
ac_save_IFS=$IFS; IFS='-'
3139
# Remember, the first character of IFS is used to create $*,
3140
# except with old shells:
3143
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3146
# AH_TEMPLATE for all known TARGETs
3181
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TARGET base (64bit-ness checked later)" >&5
3182
$as_echo_n "checking for TARGET base (64bit-ness checked later)... " >&6; }
3183
if ${ga_cv_target_base+:} false; then :
3184
$as_echo_n "(cached) " >&6
3186
ga_cv_target_base=UNKNOWN
3187
if test "x$ga_cv_target_base" = xUNKNOWN; then :
3188
if test -f /bgsys/drivers/ppcfloor/arch/include/common/bgp_personality.h; then :
3189
ga_cv_target_base=BGP
3192
if test "x$ga_cv_target_base" = xUNKNOWN; then :
3193
if test -d /bgl/BlueLight/ppcfloor/bglsys/include; then :
3194
ga_cv_target_base=BGL
3197
if test "x$ga_cv_target_base" = xUNKNOWN; then :
3200
ga_cv_target_base=BGL ;; #(
3202
ga_cv_target_base=BGP ;; #(
3203
#[TODO], [ga_cv_target_base=CATAMOUNT],
3204
#[TODO], [ga_cv_target_base=CRAY_XT],
3206
ga_cv_target_base=CYGWIN ;; #(
3208
ga_cv_target_base=FUJITSU_VPP ;; #(
3210
ga_cv_target_base=HPUX ;; #(
3212
ga_cv_target_base=IBM ;; #(
3213
#[TODO], [ga_cv_target_base=LAPI],
3215
ga_cv_target_base=LINUX ;; #(
3217
ga_cv_target_base=MACX ;; #(
3219
ga_cv_target_base=MACX ;; #(
3221
ga_cv_target_base=NEC ;; #(
3223
ga_cv_target_base=SOLARIS ;; #(
3230
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ga_cv_target_base" >&5
3231
$as_echo "$ga_cv_target_base" >&6; }
3232
cat >>confdefs.h <<_ACEOF
3233
#define $ga_cv_target_base 1
3236
# A horrible hack that should go away somehow...
3237
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we think this system is what we call SYSV" >&5
3238
$as_echo_n "checking whether we think this system is what we call SYSV... " >&6; }
3239
if ${ga_cv_sysv+:} false; then :
3240
$as_echo_n "(cached) " >&6
3242
case $ga_cv_target_base in #(
3243
SUN|SOLARIS|SGI|SGI_N32|SGITFP|HPUX|IBM|DECOSF|LINUX|INTERIX|NEC|LAPI) :
3244
ga_cv_sysv=yes ;; #(
3250
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ga_cv_sysv" >&5
3251
$as_echo "$ga_cv_sysv" >&6; }
3252
if test x$ga_cv_sysv = xyes; then :
3254
$as_echo "#define SYSV 1" >>confdefs.h
3257
# Hopefully these will never be used and we can remove them soon.
3258
if test "$ga_cv_target_base" = BGL; then
3266
if test "$ga_cv_target_base" = BGP; then
3274
if test "$ga_cv_target_base" = CATAMOUNT; then
3282
if test "$ga_cv_target_base" = CRAY_SV1; then
3290
if test "$ga_cv_target_base" = CRAY_SV2; then
3298
if test "$ga_cv_target_base" = CRAY_T3E; then
3306
if test "$ga_cv_target_base" = CRAY_XT; then
3314
if test "$ga_cv_target_base" = CRAY_YMP; then
3322
if test "$ga_cv_target_base" = CYGNUS; then
3330
if test "$ga_cv_target_base" = CYGWIN; then
3338
if test "$ga_cv_target_base" = DECOSF; then
3346
if test "$ga_cv_target_base" = FUJITSU_VPP; then
3348
FUJITSU_VPP_FALSE='#'
3350
FUJITSU_VPP_TRUE='#'
3354
if test "$ga_cv_target_base" = HITACHI; then
3362
if test "$ga_cv_target_base" = HPUX; then
3370
if test "$ga_cv_target_base" = IBM; then
3378
if test "$ga_cv_target_base" = INTERIX; then
3386
if test "$ga_cv_target_base" = LAPI; then
3394
if test "$ga_cv_target_base" = LINUX; then
3402
if test "$ga_cv_target_base" = MACX; then
3410
if test "$ga_cv_target_base" = NEC; then
3418
if test "$ga_cv_target_base" = SGI; then
3426
if test "$ga_cv_target_base" = SGI_N32; then
3434
if test "$ga_cv_target_base" = SGITFP; then
3442
if test "$ga_cv_target_base" = SOLARIS; then
3453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3454
$as_echo_n "checking whether we are cross compiling... " >&6; }
3455
if ${ga_cv_cross_compiling+:} false; then :
3456
$as_echo_n "(cached) " >&6
3458
if test "x$ga_cv_target_base" = xBGP; then :
3461
ga_cv_cross_compiling=$cross_compiling
3463
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ga_cv_cross_compiling" >&5
3464
$as_echo "$ga_cv_cross_compiling" >&6; }
3465
if test "x$cross_compiling" = xyes; then
3466
CROSS_COMPILING_TRUE=
3467
CROSS_COMPILING_FALSE='#'
3469
CROSS_COMPILING_TRUE='#'
3470
CROSS_COMPILING_FALSE=
3475
###############################################################################
3477
###############################################################################
3478
am__api_version='1.11'
3480
# Find a good install program. We prefer a C program (faster),
3481
# so one script is as good as another. But avoid the broken or
3482
# incompatible versions:
3483
# SysV /etc/install, /usr/sbin/install
3484
# SunOS /usr/etc/install
3485
# IRIX /sbin/install
3487
# AmigaOS /C/install, which installs bootblocks on floppy discs
3488
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3489
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3490
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3491
# OS/2's system install, which has a completely different semantic
3492
# ./install, which can be erroneously created by make from ./install.sh.
3493
# Reject install programs that cannot install multiple files.
3494
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3495
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3496
if test -z "$INSTALL"; then
3497
if ${ac_cv_path_install+:} false; then :
3498
$as_echo_n "(cached) " >&6
3500
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3504
test -z "$as_dir" && as_dir=.
3505
# Account for people who put trailing slashes in PATH elements.
3506
case $as_dir/ in #((
3507
./ | .// | /[cC]/* | \
3508
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3509
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3512
# OSF1 and SCO ODT 3.0 have their own names for install.
3513
# Don't use installbsd from OSF since it installs stuff as root
3515
for ac_prog in ginstall scoinst install; do
3516
for ac_exec_ext in '' $ac_executable_extensions; do
3517
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3518
if test $ac_prog = install &&
3519
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3520
# AIX install. It has an incompatible calling convention.
3522
elif test $ac_prog = install &&
3523
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3524
# program-specific install script used by HP pwplus--don't use.
3527
rm -rf conftest.one conftest.two conftest.dir
3528
echo one > conftest.one
3529
echo two > conftest.two
3531
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3532
test -s conftest.one && test -s conftest.two &&
3533
test -s conftest.dir/conftest.one &&
3534
test -s conftest.dir/conftest.two
3536
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3549
rm -rf conftest.one conftest.two conftest.dir
3552
if test "${ac_cv_path_install+set}" = set; then
3553
INSTALL=$ac_cv_path_install
3555
# As a last resort, use the slow shell script. Don't cache a
3556
# value for INSTALL within a source directory, because that will
3557
# break other packages using the cache if that directory is
3558
# removed, or if the value is a relative name.
3559
INSTALL=$ac_install_sh
3562
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3563
$as_echo "$INSTALL" >&6; }
3565
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3566
# It thinks the first close brace ends the variable substitution.
3567
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3569
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3571
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3573
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3574
$as_echo_n "checking whether build environment is sane... " >&6; }
3577
echo timestamp > conftest.file
3578
# Reject unsafe characters in $srcdir or the absolute working directory
3579
# name. Accept space and tab only in the latter.
3583
*[\\\"\#\$\&\'\`$am_lf]*)
3584
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3587
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3588
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3591
# Do `set' in a subshell so we don't clobber the current shell's
3592
# arguments. Must try -L first in case configure is actually a
3593
# symlink; some systems play weird games with the mod time of symlinks
3594
# (eg FreeBSD returns the mod time of the symlink's containing
3597
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3598
if test "$*" = "X"; then
3600
set X `ls -t "$srcdir/configure" conftest.file`
3603
if test "$*" != "X $srcdir/configure conftest.file" \
3604
&& test "$*" != "X conftest.file $srcdir/configure"; then
3606
# If neither matched, then we have a broken ls. This can happen
3607
# if, for instance, CONFIG_SHELL is bash and it inherits a
3608
# broken ls alias from the environment. This has actually
3609
# happened. Such a system could not be considered "sane".
3610
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3611
alias in your environment" "$LINENO" 5
3614
test "$2" = conftest.file
3620
as_fn_error $? "newly created file is older than distributed files!
3621
Check your system clock" "$LINENO" 5
3623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3624
$as_echo "yes" >&6; }
3625
test "$program_prefix" != NONE &&
3626
program_transform_name="s&^&$program_prefix&;$program_transform_name"
3627
# Use a double $ so make ignores it.
3628
test "$program_suffix" != NONE &&
3629
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3630
# Double any \ or $.
3631
# By default was `s,x,x', remove it if useless.
3632
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3633
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3635
# expand $ac_aux_dir to an absolute path
3636
am_aux_dir=`cd $ac_aux_dir && pwd`
3638
if test x"${MISSING+set}" != xset; then
3641
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3643
MISSING="\${SHELL} $am_aux_dir/missing" ;;
3646
# Use eval to expand $SHELL
3647
if eval "$MISSING --run true"; then
3648
am_missing_run="$MISSING --run "
3651
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3652
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3655
if test x"${install_sh}" != xset; then
3658
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3660
install_sh="\${SHELL} $am_aux_dir/install-sh"
3664
# Installed binaries are usually stripped using `strip' when the user
3665
# run `make install-strip'. However `strip' might not be the right
3666
# tool to use in cross-compilation environments, therefore Automake
3667
# will honor the `STRIP' environment variable to overrule this program.
3668
if test "$cross_compiling" != no; then
3669
if test -n "$ac_tool_prefix"; then
3670
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3671
set dummy ${ac_tool_prefix}strip; ac_word=$2
3672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673
$as_echo_n "checking for $ac_word... " >&6; }
3674
if ${ac_cv_prog_STRIP+:} false; then :
3675
$as_echo_n "(cached) " >&6
3677
if test -n "$STRIP"; then
3678
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3680
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3684
test -z "$as_dir" && as_dir=.
3685
for ac_exec_ext in '' $ac_executable_extensions; do
3686
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3687
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3688
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3697
STRIP=$ac_cv_prog_STRIP
3698
if test -n "$STRIP"; then
3699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3700
$as_echo "$STRIP" >&6; }
3702
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703
$as_echo "no" >&6; }
3708
if test -z "$ac_cv_prog_STRIP"; then
3710
# Extract the first word of "strip", so it can be a program name with args.
3711
set dummy strip; ac_word=$2
3712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3713
$as_echo_n "checking for $ac_word... " >&6; }
3714
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3715
$as_echo_n "(cached) " >&6
3717
if test -n "$ac_ct_STRIP"; then
3718
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3720
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3724
test -z "$as_dir" && as_dir=.
3725
for ac_exec_ext in '' $ac_executable_extensions; do
3726
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3727
ac_cv_prog_ac_ct_STRIP="strip"
3728
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3737
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3738
if test -n "$ac_ct_STRIP"; then
3739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3740
$as_echo "$ac_ct_STRIP" >&6; }
3742
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3743
$as_echo "no" >&6; }
3746
if test "x$ac_ct_STRIP" = x; then
3749
case $cross_compiling:$ac_tool_warned in
3751
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3752
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3753
ac_tool_warned=yes ;;
3758
STRIP="$ac_cv_prog_STRIP"
3762
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3764
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3765
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3766
if test -z "$MKDIR_P"; then
3767
if ${ac_cv_path_mkdir+:} false; then :
3768
$as_echo_n "(cached) " >&6
3770
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3771
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3774
test -z "$as_dir" && as_dir=.
3775
for ac_prog in mkdir gmkdir; do
3776
for ac_exec_ext in '' $ac_executable_extensions; do
3777
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3778
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3779
'mkdir (GNU coreutils) '* | \
3780
'mkdir (coreutils) '* | \
3781
'mkdir (fileutils) '4.1*)
3782
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3792
test -d ./--version && rmdir ./--version
3793
if test "${ac_cv_path_mkdir+set}" = set; then
3794
MKDIR_P="$ac_cv_path_mkdir -p"
3796
# As a last resort, use the slow shell script. Don't cache a
3797
# value for MKDIR_P within a source directory, because that will
3798
# break other packages using the cache if that directory is
3799
# removed, or if the value is a relative name.
3800
MKDIR_P="$ac_install_sh -d"
3803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3804
$as_echo "$MKDIR_P" >&6; }
3808
[\\/$]* | ?:[\\/]*) ;;
3809
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3812
for ac_prog in gawk mawk nawk awk
3814
# Extract the first word of "$ac_prog", so it can be a program name with args.
3815
set dummy $ac_prog; ac_word=$2
3816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3817
$as_echo_n "checking for $ac_word... " >&6; }
3818
if ${ac_cv_prog_AWK+:} false; then :
3819
$as_echo_n "(cached) " >&6
3821
if test -n "$AWK"; then
3822
ac_cv_prog_AWK="$AWK" # Let the user override the test.
3824
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3828
test -z "$as_dir" && as_dir=.
3829
for ac_exec_ext in '' $ac_executable_extensions; do
3830
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3831
ac_cv_prog_AWK="$ac_prog"
3832
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3842
if test -n "$AWK"; then
3843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3844
$as_echo "$AWK" >&6; }
3846
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3847
$as_echo "no" >&6; }
3851
test -n "$AWK" && break
3854
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3855
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3857
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3858
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3859
$as_echo_n "(cached) " >&6
3861
cat >conftest.make <<\_ACEOF
3864
@echo '@@@%%%=$(MAKE)=@@@%%%'
3866
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3867
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3869
eval ac_cv_prog_make_${ac_make}_set=yes;;
3871
eval ac_cv_prog_make_${ac_make}_set=no;;
3875
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3876
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3877
$as_echo "yes" >&6; }
3880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3881
$as_echo "no" >&6; }
3882
SET_MAKE="MAKE=${MAKE-make}"
3885
rm -rf .tst 2>/dev/null
3886
mkdir .tst 2>/dev/null
3887
if test -d .tst; then
3892
rmdir .tst 2>/dev/null
3894
# Check whether --enable-silent-rules was given.
3895
if test "${enable_silent_rules+set}" = set; then :
3896
enableval=$enable_silent_rules;
3899
case $enable_silent_rules in
3900
yes) AM_DEFAULT_VERBOSITY=0;;
3901
no) AM_DEFAULT_VERBOSITY=1;;
3902
*) AM_DEFAULT_VERBOSITY=1;;
3904
am_make=${MAKE-make}
3905
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3906
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3907
if ${am_cv_make_support_nested_variables+:} false; then :
3908
$as_echo_n "(cached) " >&6
3910
if $as_echo 'TRUE=$(BAR$(V))
3916
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3917
am_cv_make_support_nested_variables=yes
3919
am_cv_make_support_nested_variables=no
3922
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3923
$as_echo "$am_cv_make_support_nested_variables" >&6; }
3924
if test $am_cv_make_support_nested_variables = yes; then
3926
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3928
AM_V=$AM_DEFAULT_VERBOSITY
3929
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3933
if test "`cd $srcdir && pwd`" != "`pwd`"; then
3934
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3935
# is not polluted with repeated "-I."
3936
am__isrc=' -I$(srcdir)'
3937
# test to see if srcdir already configured
3938
if test -f $srcdir/config.status; then
3939
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3943
# test whether we have cygpath
3944
if test -z "$CYGPATH_W"; then
3945
if (cygpath --version) >/dev/null 2>/dev/null; then
3946
CYGPATH_W='cygpath -w'
3953
# Define the identity of the package.
3958
cat >>confdefs.h <<_ACEOF
3959
#define PACKAGE "$PACKAGE"
3963
cat >>confdefs.h <<_ACEOF
3964
#define VERSION "$VERSION"
3967
# Some tools Automake needs.
3969
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3972
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3975
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3978
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3981
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3983
# We need awk for the "check" target. The system "awk" is bad on
3985
# Always define AMTAR for backward compatibility. Yes, it's still used
3986
# in the wild :-( We should find a proper way to deprecate it ...
3989
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3996
# Don't emit "rebuild rules" for configure, Makefile.ins, etc.
3998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3999
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4000
# Check whether --enable-maintainer-mode was given.
4001
if test "${enable_maintainer_mode+set}" = set; then :
4002
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4004
USE_MAINTAINER_MODE=no
4007
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4008
$as_echo "$USE_MAINTAINER_MODE" >&6; }
4009
if test $USE_MAINTAINER_MODE = yes; then
4010
MAINTAINER_MODE_TRUE=
4011
MAINTAINER_MODE_FALSE='#'
4013
MAINTAINER_MODE_TRUE='#'
4014
MAINTAINER_MODE_FALSE=
4017
MAINT=$MAINTAINER_MODE_TRUE
4021
###############################################################################
4022
# Misc. information and package setup.
4023
###############################################################################
4025
# Check whether --with-PACKAGE was given.
4026
if test "${with_PACKAGE+set}" = set; then :
4027
withval=$with_PACKAGE;
4031
ARMCI_TOP_BUILDDIR="`pwd`"
4033
ARMCI_TOP_SRCDIR="`pwd`"
4034
cd "$ARMCI_TOP_BUILDDIR"
4035
if test "$ARMCI_TOP_BUILDDIR" != "$ARMCI_TOP_SRCDIR"; then :
4036
{ $as_echo "$as_me:${as_lineno-$LINENO}: Detected VPATH build" >&5
4037
$as_echo "$as_me: Detected VPATH build" >&6;}
4040
# Determine messaging library up front because if MPI is desired we use the
4041
# MPI compiler wrappers instead of the standard compilers.
4043
# GA_MP_* vars might exist in environment, but they are really internal.
4049
# Check whether --with-mpi was given.
4050
if test "${with_mpi+set}" = set; then :
4056
with_mpi_need_parse=no
4057
case $with_mpi in #(
4059
with_mpi_wrappers=yes; ga_msg_comms=MPI ;; #(
4061
case $ga_cv_target_base in #(
4062
MACX|LAPI|CYGNUS|CYGWIN|INTERIX) :
4063
ga_msg_comms=TCGMSG5 ;; #(
4065
ga_msg_comms=TCGMSG ;;
4068
with_mpi_need_parse=yes; ga_msg_comms=MPI ;; #(
4072
if test "x$ga_msg_comms" = xMPI; then
4074
MSG_COMMS_MPI_FALSE='#'
4076
MSG_COMMS_MPI_TRUE='#'
4077
MSG_COMMS_MPI_FALSE=
4080
if test "x$ga_msg_comms" = xTCGMSG; then
4081
MSG_COMMS_TCGMSG4_TRUE=
4082
MSG_COMMS_TCGMSG4_FALSE='#'
4084
MSG_COMMS_TCGMSG4_TRUE='#'
4085
MSG_COMMS_TCGMSG4_FALSE=
4088
if test "x$ga_msg_comms" = xTCGMSG5; then
4089
MSG_COMMS_TCGMSG5_TRUE=
4090
MSG_COMMS_TCGMSG5_FALSE='#'
4092
MSG_COMMS_TCGMSG5_TRUE='#'
4093
MSG_COMMS_TCGMSG5_FALSE=
4096
case $ga_msg_comms in #(
4099
$as_echo "#define MSG_COMMS_MPI 1" >>confdefs.h
4103
$as_echo "#define MSG_COMMS_TCGMSG4 1" >>confdefs.h
4106
$as_echo "#define MSG_COMMS_TCGMSG 1" >>confdefs.h
4109
$as_echo "#define TCGMSG 1" >>confdefs.h
4113
$as_echo "#define MSG_COMMS_TCGMSG5 1" >>confdefs.h
4116
$as_echo "#define MSG_COMMS_TCGMSG 1" >>confdefs.h
4119
$as_echo "#define TCGMSG 1" >>confdefs.h
4129
# Hack to enable NEW_MALLOC feature
4130
# Check whether --enable-portals-new-malloc was given.
4131
if test "${enable_portals_new_malloc+set}" = set; then :
4132
enableval=$enable_portals_new_malloc;
4135
if test "x$enable_portals_new_malloc" = xyes; then :
4137
$as_echo "#define NEW_MALLOC 1" >>confdefs.h
4140
if test "x$enable_portals_new_malloc" = xyes; then
4141
PORTALS_ENABLE_NEW_MALLOC_TRUE=
4142
PORTALS_ENABLE_NEW_MALLOC_FALSE='#'
4144
PORTALS_ENABLE_NEW_MALLOC_TRUE='#'
4145
PORTALS_ENABLE_NEW_MALLOC_FALSE=
4150
# Check whether --enable-gpc was given.
4151
if test "${enable_gpc+set}" = set; then :
4152
enableval=$enable_gpc; enable_gpc=yes
4157
if test $enable_gpc = yes; then :
4159
$as_echo "#define ARMCI_ENABLE_GPC_CALLS 1" >>confdefs.h
4163
$as_echo "#define ARMCI_ENABLE_GPC_CALLS 0" >>confdefs.h
4166
if test x$enable_gpc = xyes; then
4167
ARMCI_ENABLE_GPC_CALLS_TRUE=
4168
ARMCI_ENABLE_GPC_CALLS_FALSE='#'
4170
ARMCI_ENABLE_GPC_CALLS_TRUE='#'
4171
ARMCI_ENABLE_GPC_CALLS_FALSE=
4175
# Check whether --enable-armci_group was given.
4176
if test "${enable_armci_group+set}" = set; then :
4177
enableval=$enable_armci_group; enable_armci_group=yes
4179
$as_echo "#define ARMCI_GROUP 1" >>confdefs.h
4182
enable_armci_group=no
4185
if test x$enable_armci_group = xyes; then
4187
ARMCI_GROUP_FALSE='#'
4189
ARMCI_GROUP_TRUE='#'
4194
# Check whether --enable-nb_noncont was given.
4195
if test "${enable_nb_noncont+set}" = set; then :
4196
enableval=$enable_nb_noncont; enable_nb_noncont=yes
4198
$as_echo "#define NB_NONCONT 1" >>confdefs.h
4201
enable_nb_noncont=no
4204
if test x$enable_nb_noncont = xyes; then
4206
NB_NONCONT_FALSE='#'
4214
# Check whether --enable-profiling was given.
4215
if test "${enable_profiling+set}" = set; then :
4216
enableval=$enable_profiling;
4221
if test "x$enable_profiling" = xyes; then :
4223
$as_echo "#define ARMCI_PROFILE 1" >>confdefs.h
4226
if test "x$enable_profiling" = xyes; then
4227
ENABLE_PROFILING_TRUE=
4228
ENABLE_PROFILING_FALSE='#'
4230
ENABLE_PROFILING_TRUE='#'
4231
ENABLE_PROFILING_FALSE=
4236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ARMCI_DEFAULT_SHMMAX upper bound" >&5
4237
$as_echo_n "checking for ARMCI_DEFAULT_SHMMAX upper bound... " >&6; }
4238
if ${armci_cv_shmmax+:} false; then :
4239
$as_echo_n "(cached) " >&6
4241
if test "x$ARMCI_DEFAULT_SHMMAX_UBOUND" != x; then :
4242
armci_cv_shmmax=$ARMCI_DEFAULT_SHMMAX_UBOUND
4244
armci_cv_shmmax=8192
4247
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $armci_cv_shmmax" >&5
4248
$as_echo "$armci_cv_shmmax" >&6; }
4249
if test $armci_cv_shmmax -le 1; then :
4250
as_fn_error $? "invalid ARMCI_DEFAULT_SHMMAX upper bound; <= 1" "$LINENO" 5
4253
cat >>confdefs.h <<_ACEOF
4254
#define ARMCI_DEFAULT_SHMMAX_UBOUND $armci_cv_shmmax
4258
# Check whether --enable-mpi-tests was given.
4259
if test "${enable_mpi_tests+set}" = set; then :
4260
enableval=$enable_mpi_tests;
4262
enable_mpi_tests=yes
4267
# Check whether --enable-warnings was given.
4268
if test "${enable_warnings+set}" = set; then :
4269
enableval=$enable_warnings; enable_warnings=yes
4275
# Check whether --enable-checkpoint was given.
4276
if test "${enable_checkpoint+set}" = set; then :
4277
enableval=$enable_checkpoint; enable_checkpoint=yes
4279
$as_echo "#define ENABLE_CHECKPOINT 1" >>confdefs.h
4282
enable_checkpoint=no
4285
if test x$enable_checkpoint = xyes; then
4286
ENABLE_CHECKPOINT_TRUE=
4287
ENABLE_CHECKPOINT_FALSE='#'
4289
ENABLE_CHECKPOINT_TRUE='#'
4290
ENABLE_CHECKPOINT_FALSE=
4295
# Check whether --enable-opt was given.
4296
if test "${enable_opt+set}" = set; then :
4297
enableval=$enable_opt; enable_opt=no
4303
# Check whether --enable-trace was given.
4304
if test "${enable_trace+set}" = set; then :
4305
enableval=$enable_trace; enable_trace=yes
4307
$as_echo "#define ENABLE_TRACE 1" >>confdefs.h
4313
if test x$enable_trace = xyes; then
4315
ENABLE_TRACE_FALSE='#'
4317
ENABLE_TRACE_TRUE='#'
4322
# Check whether --enable-thread-safety was given.
4323
if test "${enable_thread_safety+set}" = set; then :
4324
enableval=$enable_thread_safety; thread_safety=yes
4326
$as_echo "#define THREAD_SAFE 1" >>confdefs.h
4332
if test x$thread_safety = xyes; then
4334
THREAD_SAFE_FALSE='#'
4336
THREAD_SAFE_TRUE='#'
4344
# Unless we rename all preprocessor symbols of MPI and MPIPP
4345
# in the source code, this hack is necessary.
4348
#########################################
4350
#########################################
4351
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
4352
$as_echo "$as_me: " >&6;}
4353
{ $as_echo "$as_me:${as_lineno-$LINENO}: C compiler" >&5
4354
$as_echo "$as_me: C compiler" >&6;}
4355
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
4356
$as_echo "$as_me: " >&6;}
4358
ga_save_CFLAGS="$CFLAGS"
4359
DEPDIR="${am__leading_dot}deps"
4361
ac_config_commands="$ac_config_commands depfiles"
4364
am_make=${MAKE-make}
4365
cat > confinc << 'END'
4367
@echo this is the am__doit target
4370
# If we don't find an include directive, just comment out the code.
4371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4372
$as_echo_n "checking for style of include used by $am_make... " >&6; }
4376
# First try GNU make style include.
4377
echo "include confinc" > confmf
4378
# Ignore all kinds of additional output from `make'.
4379
case `$am_make -s -f confmf 2> /dev/null` in #(
4380
*the\ am__doit\ target*)
4386
# Now try BSD make style include.
4387
if test "$am__include" = "#"; then
4388
echo '.include "confinc"' > confmf
4389
case `$am_make -s -f confmf 2> /dev/null` in #(
4390
*the\ am__doit\ target*)
4391
am__include=.include
4399
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4400
$as_echo "$_am_result" >&6; }
4401
rm -f confinc confmf
4403
# Check whether --enable-dependency-tracking was given.
4404
if test "${enable_dependency_tracking+set}" = set; then :
4405
enableval=$enable_dependency_tracking;
4408
if test "x$enable_dependency_tracking" != xno; then
4409
am_depcomp="$ac_aux_dir/depcomp"
4413
if test "x$enable_dependency_tracking" != xno; then
4423
case $ga_cv_target_base in #(
4425
ga_mpicc_pref=mpixlc_r; ga_cc_pref=bgxlc_r ;; #(
4429
# In the case of using MPI wrappers, set CC=MPICC since CC will override
4430
# absolutely everything in our list of compilers.
4431
# Save CC, just in case.
4432
if test x$with_mpi_wrappers = xyes; then :
4433
if test "x$CC" != "x$MPICC"; then :
4436
case x$CC:x$MPICC in #(
4442
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: MPI compilers desired but CC is set while MPICC is unset." >&5
4443
$as_echo "$as_me: WARNING: MPI compilers desired but CC is set while MPICC is unset." >&2;}
4444
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CC will be ignored during compiler selection, but will be" >&5
4445
$as_echo "$as_me: WARNING: CC will be ignored during compiler selection, but will be" >&2;}
4446
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: tested first during MPI compiler unwrapping. Perhaps you" >&5
4447
$as_echo "$as_me: WARNING: tested first during MPI compiler unwrapping. Perhaps you" >&2;}
4448
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: meant to set MPICC instead of or in addition to CC?" >&5
4449
$as_echo "$as_me: WARNING: meant to set MPICC instead of or in addition to CC?" >&2;}
4452
if test "x$CC" != "x$MPICC"; then :
4453
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: MPI compilers desired, MPICC and CC are set, and MPICC!=CC." >&5
4454
$as_echo "$as_me: WARNING: MPI compilers desired, MPICC and CC are set, and MPICC!=CC." >&2;}
4455
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Choosing MPICC over CC." >&5
4456
$as_echo "$as_me: WARNING: Choosing MPICC over CC." >&2;}
4457
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CC will be tested first during MPI compiler unwrapping." >&5
4458
$as_echo "$as_me: WARNING: CC will be tested first during MPI compiler unwrapping." >&2;}
4462
as_fn_error $? "CC/MPICC case failure" "$LINENO" 5 ;;
4465
ga_cc="bgxlc_r bgxlc xlc_r xlc pgcc pathcc icc sxcc fcc opencc suncc craycc gcc cc ecc cl ccc"
4466
ga_mpicc="mpicc mpixlc_r mpixlc hcc mpxlc_r mpxlc sxmpicc mpifcc mpgcc mpcc cmpicc cc"
4467
if test x$with_mpi_wrappers = xyes; then :
4468
CC_TO_TEST="$ga_mpicc_pref $ga_mpicc"
4470
CC_TO_TEST="$ga_cc_pref $ga_cc"
4473
ac_cpp='$CPP $CPPFLAGS'
4474
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4475
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4476
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4477
if test -n "$ac_tool_prefix"; then
4478
for ac_prog in $CC_TO_TEST
4480
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4481
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4482
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4483
$as_echo_n "checking for $ac_word... " >&6; }
4484
if ${ac_cv_prog_CC+:} false; then :
4485
$as_echo_n "(cached) " >&6
4487
if test -n "$CC"; then
4488
ac_cv_prog_CC="$CC" # Let the user override the test.
4490
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4494
test -z "$as_dir" && as_dir=.
4495
for ac_exec_ext in '' $ac_executable_extensions; do
4496
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4497
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4498
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4508
if test -n "$CC"; then
4509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4510
$as_echo "$CC" >&6; }
4512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4513
$as_echo "no" >&6; }
4517
test -n "$CC" && break
4520
if test -z "$CC"; then
4522
for ac_prog in $CC_TO_TEST
4524
# Extract the first word of "$ac_prog", so it can be a program name with args.
4525
set dummy $ac_prog; ac_word=$2
4526
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4527
$as_echo_n "checking for $ac_word... " >&6; }
4528
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4529
$as_echo_n "(cached) " >&6
4531
if test -n "$ac_ct_CC"; then
4532
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4534
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4538
test -z "$as_dir" && as_dir=.
4539
for ac_exec_ext in '' $ac_executable_extensions; do
4540
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4541
ac_cv_prog_ac_ct_CC="$ac_prog"
4542
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4551
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4552
if test -n "$ac_ct_CC"; then
4553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4554
$as_echo "$ac_ct_CC" >&6; }
4556
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4557
$as_echo "no" >&6; }
4561
test -n "$ac_ct_CC" && break
4564
if test "x$ac_ct_CC" = x; then
4567
case $cross_compiling:$ac_tool_warned in
4569
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4570
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4571
ac_tool_warned=yes ;;
4578
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4579
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4580
as_fn_error $? "no acceptable C compiler found in \$PATH
4581
See \`config.log' for more details" "$LINENO" 5; }
4583
# Provide some information about the compiler.
4584
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4587
for ac_option in --version -v -V -qversion; do
4588
{ { ac_try="$ac_compiler $ac_option >&5"
4590
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4591
*) ac_try_echo=$ac_try;;
4593
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4594
$as_echo "$ac_try_echo"; } >&5
4595
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4597
if test -s conftest.err; then
4599
... rest of stderr output deleted ...
4600
10q' conftest.err >conftest.er1
4601
cat conftest.er1 >&5
4603
rm -f conftest.er1 conftest.err
4604
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4605
test $ac_status = 0; }
4608
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4609
/* end confdefs.h. */
4619
ac_clean_files_save=$ac_clean_files
4620
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4621
# Try to create an executable without -o first, disregard a.out.
4622
# It will help us diagnose broken compilers, and finding out an intuition
4624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4625
$as_echo_n "checking whether the C compiler works... " >&6; }
4626
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4628
# The possible output files:
4629
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4632
for ac_file in $ac_files
4635
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4636
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
4641
if { { ac_try="$ac_link_default"
4643
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4644
*) ac_try_echo=$ac_try;;
4646
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4647
$as_echo "$ac_try_echo"; } >&5
4648
(eval "$ac_link_default") 2>&5
4650
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4651
test $ac_status = 0; }; then :
4652
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4653
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4654
# in a Makefile. We should not override ac_cv_exeext if it was cached,
4655
# so that the user can short-circuit this test for compilers unknown to
4657
for ac_file in $ac_files ''
4659
test -f "$ac_file" || continue
4661
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4664
# We found the default executable, but exeext='' is most
4668
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4670
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4672
# We set ac_cv_exeext here because the later test for it is not
4673
# safe: cross compilers may not add the suffix if given an `-o'
4674
# argument, so we may need to know it at that point already.
4675
# Even if this section looks crufty: it has the advantage of
4682
test "$ac_cv_exeext" = no && ac_cv_exeext=
4687
if test -z "$ac_file"; then :
4688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689
$as_echo "no" >&6; }
4690
$as_echo "$as_me: failed program was:" >&5
4691
sed 's/^/| /' conftest.$ac_ext >&5
4693
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4694
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4695
as_fn_error 77 "C compiler cannot create executables
4696
See \`config.log' for more details" "$LINENO" 5; }
4698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4699
$as_echo "yes" >&6; }
4701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4702
$as_echo_n "checking for C compiler default output file name... " >&6; }
4703
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4704
$as_echo "$ac_file" >&6; }
4705
ac_exeext=$ac_cv_exeext
4707
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4708
ac_clean_files=$ac_clean_files_save
4709
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4710
$as_echo_n "checking for suffix of executables... " >&6; }
4711
if { { ac_try="$ac_link"
4713
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4714
*) ac_try_echo=$ac_try;;
4716
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4717
$as_echo "$ac_try_echo"; } >&5
4718
(eval "$ac_link") 2>&5
4720
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4721
test $ac_status = 0; }; then :
4722
# If both `conftest.exe' and `conftest' are `present' (well, observable)
4723
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4724
# work properly (i.e., refer to `conftest.exe'), while it won't with
4726
for ac_file in conftest.exe conftest conftest.*; do
4727
test -f "$ac_file" || continue
4729
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4730
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4736
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4737
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4738
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4739
See \`config.log' for more details" "$LINENO" 5; }
4741
rm -f conftest conftest$ac_cv_exeext
4742
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4743
$as_echo "$ac_cv_exeext" >&6; }
4745
rm -f conftest.$ac_ext
4746
EXEEXT=$ac_cv_exeext
4748
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4749
/* end confdefs.h. */
4754
FILE *f = fopen ("conftest.out", "w");
4755
return ferror (f) || fclose (f) != 0;
4761
ac_clean_files="$ac_clean_files conftest.out"
4762
# Check that the compiler produces executables we can run. If not, either
4763
# the compiler is broken, or we cross compile.
4764
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4765
$as_echo_n "checking whether we are cross compiling... " >&6; }
4766
if test "$cross_compiling" != yes; then
4767
{ { ac_try="$ac_link"
4769
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4770
*) ac_try_echo=$ac_try;;
4772
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4773
$as_echo "$ac_try_echo"; } >&5
4774
(eval "$ac_link") 2>&5
4776
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4777
test $ac_status = 0; }
4778
if { ac_try='./conftest$ac_cv_exeext'
4779
{ { case "(($ac_try" in
4780
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4781
*) ac_try_echo=$ac_try;;
4783
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4784
$as_echo "$ac_try_echo"; } >&5
4785
(eval "$ac_try") 2>&5
4787
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4788
test $ac_status = 0; }; }; then
4791
if test "$cross_compiling" = maybe; then
4794
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4795
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4796
as_fn_error $? "cannot run C compiled programs.
4797
If you meant to cross compile, use \`--host'.
4798
See \`config.log' for more details" "$LINENO" 5; }
4802
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4803
$as_echo "$cross_compiling" >&6; }
4805
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4806
ac_clean_files=$ac_clean_files_save
4807
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4808
$as_echo_n "checking for suffix of object files... " >&6; }
4809
if ${ac_cv_objext+:} false; then :
4810
$as_echo_n "(cached) " >&6
4812
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4813
/* end confdefs.h. */
4823
rm -f conftest.o conftest.obj
4824
if { { ac_try="$ac_compile"
4826
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4827
*) ac_try_echo=$ac_try;;
4829
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4830
$as_echo "$ac_try_echo"; } >&5
4831
(eval "$ac_compile") 2>&5
4833
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4834
test $ac_status = 0; }; then :
4835
for ac_file in conftest.o conftest.obj conftest.*; do
4836
test -f "$ac_file" || continue;
4838
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4839
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4844
$as_echo "$as_me: failed program was:" >&5
4845
sed 's/^/| /' conftest.$ac_ext >&5
4847
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4848
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4849
as_fn_error $? "cannot compute suffix of object files: cannot compile
4850
See \`config.log' for more details" "$LINENO" 5; }
4852
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4855
$as_echo "$ac_cv_objext" >&6; }
4856
OBJEXT=$ac_cv_objext
4858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4859
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4860
if ${ac_cv_c_compiler_gnu+:} false; then :
4861
$as_echo_n "(cached) " >&6
4863
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4864
/* end confdefs.h. */
4877
if ac_fn_c_try_compile "$LINENO"; then :
4882
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4883
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4887
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4888
if test $ac_compiler_gnu = yes; then
4893
ac_test_CFLAGS=${CFLAGS+set}
4894
ac_save_CFLAGS=$CFLAGS
4895
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4896
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4897
if ${ac_cv_prog_cc_g+:} false; then :
4898
$as_echo_n "(cached) " >&6
4900
ac_save_c_werror_flag=$ac_c_werror_flag
4901
ac_c_werror_flag=yes
4904
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4905
/* end confdefs.h. */
4915
if ac_fn_c_try_compile "$LINENO"; then :
4919
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4920
/* end confdefs.h. */
4930
if ac_fn_c_try_compile "$LINENO"; then :
4933
ac_c_werror_flag=$ac_save_c_werror_flag
4935
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4936
/* end confdefs.h. */
4946
if ac_fn_c_try_compile "$LINENO"; then :
4949
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4951
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4953
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4954
ac_c_werror_flag=$ac_save_c_werror_flag
4956
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4957
$as_echo "$ac_cv_prog_cc_g" >&6; }
4958
if test "$ac_test_CFLAGS" = set; then
4959
CFLAGS=$ac_save_CFLAGS
4960
elif test $ac_cv_prog_cc_g = yes; then
4961
if test "$GCC" = yes; then
4967
if test "$GCC" = yes; then
4973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4974
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4975
if ${ac_cv_prog_cc_c89+:} false; then :
4976
$as_echo_n "(cached) " >&6
4978
ac_cv_prog_cc_c89=no
4980
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4981
/* end confdefs.h. */
4985
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4986
struct buf { int x; };
4987
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4988
static char *e (p, i)
4994
static char *f (char * (*g) (char **, int), char **p, ...)
4999
s = g (p, va_arg (v,int));
5004
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5005
function prototypes and stuff, but not '\xHH' hex character constants.
5006
These don't provoke an error unfortunately, instead are silently treated
5007
as 'x'. The following induces an error, until -std is added to get
5008
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5009
array size at least. It's necessary to write '\x00'==0 to get something
5010
that's true only with -std. */
5011
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5013
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5014
inside strings and character constants. */
5016
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5018
int test (int i, double x);
5019
struct s1 {int (*f) (int a);};
5020
struct s2 {int (*f) (double a);};
5021
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5027
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5032
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5033
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5035
CC="$ac_save_CC $ac_arg"
5036
if ac_fn_c_try_compile "$LINENO"; then :
5037
ac_cv_prog_cc_c89=$ac_arg
5039
rm -f core conftest.err conftest.$ac_objext
5040
test "x$ac_cv_prog_cc_c89" != "xno" && break
5042
rm -f conftest.$ac_ext
5047
case "x$ac_cv_prog_cc_c89" in
5049
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5050
$as_echo "none needed" >&6; } ;;
5052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5053
$as_echo "unsupported" >&6; } ;;
5055
CC="$CC $ac_cv_prog_cc_c89"
5056
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5057
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5059
if test "x$ac_cv_prog_cc_c89" != xno; then :
5064
ac_cpp='$CPP $CPPFLAGS'
5065
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5066
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5067
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5069
depcc="$CC" am_compiler_list=
5071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5072
$as_echo_n "checking dependency style of $depcc... " >&6; }
5073
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5074
$as_echo_n "(cached) " >&6
5076
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5077
# We make a subdir and do the tests there. Otherwise we can end up
5078
# making bogus files that we don't know about and never remove. For
5079
# instance it was reported that on HP-UX the gcc test will end up
5080
# making a dummy file named `D' -- because `-MD' means `put the output
5084
# Copy depcomp to subdir because otherwise we won't find it if we're
5085
# using a relative directory.
5086
cp "$am_depcomp" conftest.dir
5088
# We will build objects and dependencies in a subdirectory because
5089
# it helps to detect inapplicable dependency modes. For instance
5090
# both Tru64's cc and ICC support -MD to output dependencies as a
5091
# side effect of compilation, but ICC will put the dependencies in
5092
# the current directory while Tru64 will put them in the object
5096
am_cv_CC_dependencies_compiler_type=none
5097
if test "$am_compiler_list" = ""; then
5098
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5101
case " $depcc " in #(
5102
*\ -arch\ *\ -arch\ *) am__universal=true ;;
5105
for depmode in $am_compiler_list; do
5106
# Setup a source with many dependencies, because some compilers
5107
# like to wrap large dependency lists on column 80 (with \), and
5108
# we should not choose a depcomp mode which is confused by this.
5110
# We need to recreate these files for each test, as the compiler may
5111
# overwrite some of them when testing with obscure command lines.
5112
# This happens at least with the AIX C compiler.
5114
for i in 1 2 3 4 5 6; do
5115
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5116
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5117
# Solaris 8's {/usr,}/bin/sh.
5118
touch sub/conftst$i.h
5120
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5122
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5123
# mode. It turns out that the SunPro C++ compiler does not properly
5124
# handle `-M -o', and we need to detect this. Also, some Intel
5125
# versions had trouble with output in subdirs
5126
am__obj=sub/conftest.${OBJEXT-o}
5127
am__minus_obj="-o $am__obj"
5130
# This depmode causes a compiler race in universal mode.
5131
test "$am__universal" = false || continue
5134
# after this tag, mechanisms are not by side-effect, so they'll
5135
# only be used when explicitly requested
5136
if test "x$enable_dependency_tracking" = xyes; then
5142
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5143
# This compiler won't grok `-c -o', but also, the minuso test has
5144
# not run yet. These depmodes are late enough in the game, and
5145
# so weak that their functioning should not be impacted.
5146
am__obj=conftest.${OBJEXT-o}
5151
if depmode=$depmode \
5152
source=sub/conftest.c object=$am__obj \
5153
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5154
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5155
>/dev/null 2>conftest.err &&
5156
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5157
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5158
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5159
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5160
# icc doesn't choke on unknown options, it will just issue warnings
5161
# or remarks (even with -Werror). So we grep stderr for any message
5162
# that says an option was ignored or not supported.
5163
# When given -MP, icc 7.0 and 7.1 complain thusly:
5164
# icc: Command line warning: ignoring option '-M'; no argument required
5165
# The diagnosis changed in icc 8.0:
5166
# icc: Command line remark: option '-MP' not supported
5167
if (grep 'ignoring option' conftest.err ||
5168
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5169
am_cv_CC_dependencies_compiler_type=$depmode
5178
am_cv_CC_dependencies_compiler_type=none
5182
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5183
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5184
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5187
test "x$enable_dependency_tracking" != xno \
5188
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5190
am__fastdepCC_FALSE='#'
5192
am__fastdepCC_TRUE='#'
5193
am__fastdepCC_FALSE=
5198
CFLAGS="$ga_save_CFLAGS"
5201
ac_cpp='$CPP $CPPFLAGS'
5202
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5203
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5204
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5206
$as_echo_n "checking how to run the C preprocessor... " >&6; }
5207
# On Suns, sometimes $CPP names a directory.
5208
if test -n "$CPP" && test -d "$CPP"; then
5211
if test -z "$CPP"; then
5212
if ${ac_cv_prog_CPP+:} false; then :
5213
$as_echo_n "(cached) " >&6
5215
# Double quotes because CPP needs to be expanded
5216
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5219
for ac_c_preproc_warn_flag in '' yes
5221
# Use a header file that comes with gcc, so configuring glibc
5222
# with a fresh cross-compiler works.
5223
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5224
# <limits.h> exists even on freestanding compilers.
5225
# On the NeXT, cc -E runs the code through the compiler's parser,
5226
# not just through cpp. "Syntax error" is here to catch this case.
5227
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5228
/* end confdefs.h. */
5230
# include <limits.h>
5232
# include <assert.h>
5236
if ac_fn_c_try_cpp "$LINENO"; then :
5239
# Broken: fails on valid input.
5242
rm -f conftest.err conftest.i conftest.$ac_ext
5244
# OK, works on sane cases. Now check whether nonexistent headers
5245
# can be detected and how.
5246
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5247
/* end confdefs.h. */
5248
#include <ac_nonexistent.h>
5250
if ac_fn_c_try_cpp "$LINENO"; then :
5251
# Broken: success on invalid input.
5254
# Passes both tests.
5258
rm -f conftest.err conftest.i conftest.$ac_ext
5261
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5262
rm -f conftest.i conftest.err conftest.$ac_ext
5263
if $ac_preproc_ok; then :
5275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5276
$as_echo "$CPP" >&6; }
5278
for ac_c_preproc_warn_flag in '' yes
5280
# Use a header file that comes with gcc, so configuring glibc
5281
# with a fresh cross-compiler works.
5282
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5283
# <limits.h> exists even on freestanding compilers.
5284
# On the NeXT, cc -E runs the code through the compiler's parser,
5285
# not just through cpp. "Syntax error" is here to catch this case.
5286
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5287
/* end confdefs.h. */
5289
# include <limits.h>
5291
# include <assert.h>
5295
if ac_fn_c_try_cpp "$LINENO"; then :
5298
# Broken: fails on valid input.
5301
rm -f conftest.err conftest.i conftest.$ac_ext
5303
# OK, works on sane cases. Now check whether nonexistent headers
5304
# can be detected and how.
5305
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5306
/* end confdefs.h. */
5307
#include <ac_nonexistent.h>
5309
if ac_fn_c_try_cpp "$LINENO"; then :
5310
# Broken: success on invalid input.
5313
# Passes both tests.
5317
rm -f conftest.err conftest.i conftest.$ac_ext
5320
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5321
rm -f conftest.i conftest.err conftest.$ac_ext
5322
if $ac_preproc_ok; then :
5325
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5326
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5327
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5328
See \`config.log' for more details" "$LINENO" 5; }
5332
ac_cpp='$CPP $CPPFLAGS'
5333
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5334
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5335
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5338
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5339
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5340
if ${ac_cv_path_GREP+:} false; then :
5341
$as_echo_n "(cached) " >&6
5343
if test -z "$GREP"; then
5344
ac_path_GREP_found=false
5345
# Loop through the user's path and test for each of PROGNAME-LIST
5346
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5350
test -z "$as_dir" && as_dir=.
5351
for ac_prog in grep ggrep; do
5352
for ac_exec_ext in '' $ac_executable_extensions; do
5353
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5354
as_fn_executable_p "$ac_path_GREP" || continue
5355
# Check for GNU ac_path_GREP and select it if it is found.
5356
# Check for GNU $ac_path_GREP
5357
case `"$ac_path_GREP" --version 2>&1` in
5359
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5362
$as_echo_n 0123456789 >"conftest.in"
5365
cat "conftest.in" "conftest.in" >"conftest.tmp"
5366
mv "conftest.tmp" "conftest.in"
5367
cp "conftest.in" "conftest.nl"
5368
$as_echo 'GREP' >> "conftest.nl"
5369
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5370
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5371
as_fn_arith $ac_count + 1 && ac_count=$as_val
5372
if test $ac_count -gt ${ac_path_GREP_max-0}; then
5373
# Best one so far, save it but keep looking for a better one
5374
ac_cv_path_GREP="$ac_path_GREP"
5375
ac_path_GREP_max=$ac_count
5377
# 10*(2^10) chars as input seems more than enough
5378
test $ac_count -gt 10 && break
5380
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5383
$ac_path_GREP_found && break 3
5388
if test -z "$ac_cv_path_GREP"; then
5389
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5392
ac_cv_path_GREP=$GREP
5396
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5397
$as_echo "$ac_cv_path_GREP" >&6; }
5398
GREP="$ac_cv_path_GREP"
5401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5402
$as_echo_n "checking for egrep... " >&6; }
5403
if ${ac_cv_path_EGREP+:} false; then :
5404
$as_echo_n "(cached) " >&6
5406
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5407
then ac_cv_path_EGREP="$GREP -E"
5409
if test -z "$EGREP"; then
5410
ac_path_EGREP_found=false
5411
# Loop through the user's path and test for each of PROGNAME-LIST
5412
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5416
test -z "$as_dir" && as_dir=.
5417
for ac_prog in egrep; do
5418
for ac_exec_ext in '' $ac_executable_extensions; do
5419
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5420
as_fn_executable_p "$ac_path_EGREP" || continue
5421
# Check for GNU ac_path_EGREP and select it if it is found.
5422
# Check for GNU $ac_path_EGREP
5423
case `"$ac_path_EGREP" --version 2>&1` in
5425
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5428
$as_echo_n 0123456789 >"conftest.in"
5431
cat "conftest.in" "conftest.in" >"conftest.tmp"
5432
mv "conftest.tmp" "conftest.in"
5433
cp "conftest.in" "conftest.nl"
5434
$as_echo 'EGREP' >> "conftest.nl"
5435
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5436
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5437
as_fn_arith $ac_count + 1 && ac_count=$as_val
5438
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5439
# Best one so far, save it but keep looking for a better one
5440
ac_cv_path_EGREP="$ac_path_EGREP"
5441
ac_path_EGREP_max=$ac_count
5443
# 10*(2^10) chars as input seems more than enough
5444
test $ac_count -gt 10 && break
5446
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5449
$ac_path_EGREP_found && break 3
5454
if test -z "$ac_cv_path_EGREP"; then
5455
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5458
ac_cv_path_EGREP=$EGREP
5463
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5464
$as_echo "$ac_cv_path_EGREP" >&6; }
5465
EGREP="$ac_cv_path_EGREP"
5468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5469
$as_echo_n "checking for ANSI C header files... " >&6; }
5470
if ${ac_cv_header_stdc+:} false; then :
5471
$as_echo_n "(cached) " >&6
5473
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5474
/* end confdefs.h. */
5488
if ac_fn_c_try_compile "$LINENO"; then :
5489
ac_cv_header_stdc=yes
5491
ac_cv_header_stdc=no
5493
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5495
if test $ac_cv_header_stdc = yes; then
5496
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5497
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5498
/* end confdefs.h. */
5502
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5503
$EGREP "memchr" >/dev/null 2>&1; then :
5506
ac_cv_header_stdc=no
5512
if test $ac_cv_header_stdc = yes; then
5513
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5514
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5515
/* end confdefs.h. */
5519
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5520
$EGREP "free" >/dev/null 2>&1; then :
5523
ac_cv_header_stdc=no
5529
if test $ac_cv_header_stdc = yes; then
5530
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5531
if test "$cross_compiling" = yes; then :
5534
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5535
/* end confdefs.h. */
5538
#if ((' ' & 0x0FF) == 0x020)
5539
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5540
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5542
# define ISLOWER(c) \
5543
(('a' <= (c) && (c) <= 'i') \
5544
|| ('j' <= (c) && (c) <= 'r') \
5545
|| ('s' <= (c) && (c) <= 'z'))
5546
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5549
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5554
for (i = 0; i < 256; i++)
5555
if (XOR (islower (i), ISLOWER (i))
5556
|| toupper (i) != TOUPPER (i))
5561
if ac_fn_c_try_run "$LINENO"; then :
5564
ac_cv_header_stdc=no
5566
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5567
conftest.$ac_objext conftest.beam conftest.$ac_ext
5572
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5573
$as_echo "$ac_cv_header_stdc" >&6; }
5574
if test $ac_cv_header_stdc = yes; then
5576
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5580
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5581
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5582
inttypes.h stdint.h unistd.h
5584
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5585
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5587
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5588
cat >>confdefs.h <<_ACEOF
5589
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5598
ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5599
if test "x$ac_cv_header_minix_config_h" = xyes; then :
5606
if test "$MINIX" = yes; then
5608
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5611
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5614
$as_echo "#define _MINIX 1" >>confdefs.h
5619
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5620
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5621
if ${ac_cv_safe_to_define___extensions__+:} false; then :
5622
$as_echo_n "(cached) " >&6
5624
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5625
/* end confdefs.h. */
5627
# define __EXTENSIONS__ 1
5628
$ac_includes_default
5637
if ac_fn_c_try_compile "$LINENO"; then :
5638
ac_cv_safe_to_define___extensions__=yes
5640
ac_cv_safe_to_define___extensions__=no
5642
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5645
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5646
test $ac_cv_safe_to_define___extensions__ = yes &&
5647
$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5649
$as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5651
$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5653
$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5655
$as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler vendor" >&5
5661
$as_echo_n "checking for C compiler vendor... " >&6; }
5662
if ${ga_cv_c_compiler_vendor+:} false; then :
5663
$as_echo_n "(cached) " >&6
5666
ga_save_ac_ext="$ac_ext"
5669
ga_cv_c_compiler_vendor=unknown
5670
ga_cpp_vendor_symbols=
5671
for vendor in intel ibm pathscale amd cray gnu sun hp dec borland comeau kai lcc metrowerks sgi microsoft watcom portland fujitsu
5675
ga_cpp_vendor_symbols="defined(__OPEN64__)" ;; #(
5677
ga_cpp_vendor_symbols="defined(__BORLANDC__) || defined(__TURBOC__)" ;; #(
5679
ga_cpp_vendor_symbols="defined(__COMO__)" ;; #(
5681
ga_cpp_vendor_symbols="defined(_CRAYC) || defined(_ADDR64)" ;; #(
5683
ga_cpp_vendor_symbols="defined(__DECC) || defined(__DECCXX) || defined(__DECC_VER) || defined(__DECCXX_VER)" ;; #(
5685
ga_cpp_vendor_symbols="defined(__fcc__) || defined(__fcc_version__) || defined(_FCC_VER) || defined(__FCC_VER_)" ;; #(
5687
ga_cpp_vendor_symbols="defined(__GNUC__)" ;; #(
5689
ga_cpp_vendor_symbols="defined(__HP_cc) || defined(__HP_aCC)" ;; #(
5691
ga_cpp_vendor_symbols="defined(__xlc__) || defined(__xlC__) || defined(__IBMC__) || defined(__IBMCPP__)" ;; #(
5693
ga_cpp_vendor_symbols="defined(__ICC) || defined(__ECC) || defined(__INTEL_COMPILER)" ;; #(
5695
ga_cpp_vendor_symbols="defined(__KCC)" ;; #(
5697
ga_cpp_vendor_symbols="defined(__LCC__)" ;; #(
5699
ga_cpp_vendor_symbols="defined(__MWERKS__)" ;; #(
5701
ga_cpp_vendor_symbols="defined(_MSC_VER)" ;; #(
5703
ga_cpp_vendor_symbols="defined(__PATHCC__) || defined(__PATHSCALE__)" ;; #(
5705
ga_cpp_vendor_symbols="defined(__PGI)" ;; #(
5707
ga_cpp_vendor_symbols="defined(__sgi) || defined(sgi)" ;; #(
5709
ga_cpp_vendor_symbols="defined(__SUNPRO_C) || defined(__SUNPRO_CC)" ;; #(
5711
ga_cpp_vendor_symbols="defined(__WATCOMC__)" ;; #(
5715
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5716
/* end confdefs.h. */
5722
#if !($ga_cpp_vendor_symbols)
5730
if ac_fn_c_try_compile "$LINENO"; then :
5731
ga_cv_c_compiler_vendor=$vendor; break
5733
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5735
ga_cpp_vendor_symbols=
5736
ac_ext="$ga_save_ac_ext"
5739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ga_cv_c_compiler_vendor" >&5
5740
$as_echo "$ga_cv_c_compiler_vendor" >&6; }
5744
if test "x$enable_warnings" = xyes; then :
5749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C warning flags" >&5
5750
$as_echo_n "checking for C warning flags... " >&6; }
5751
if ${ga_cv_c_warning_flags+:} false; then :
5752
$as_echo_n "(cached) " >&6
5756
case $ga_cv_c_compiler_vendor in #(
5758
ga_cv_c_warning_flags="-Wall -W -Wdeclaration-after-statement" ;; #(
5760
ga_cv_c_warning_flags= ;; #(
5762
ga_cv_c_warning_flags= ;; #(
5764
ga_cv_c_warning_flags= ;; #(
5766
ga_cv_c_warning_flags= ;; #(
5768
ga_cv_c_warning_flags="-Xc -pvctl,fullmsg" ;; #(
5770
ga_cv_c_warning_flags="-Wall -Wextra -Wdeclaration-after-statement -Wno-unused-parameter -pedantic -Wno-long-long -Wnested-externs -ansi" ;; #(
5772
ga_cv_c_warning_flags= ;; #(
5774
ga_cv_c_warning_flags= ;; #(
5776
ga_cv_c_warning_flags="-Wall" ;; #(
5778
ga_cv_c_warning_flags= ;; #(
5780
ga_cv_c_warning_flags= ;; #(
5782
ga_cv_c_warning_flags= ;; #(
5784
ga_cv_c_warning_flags= ;; #(
5786
ga_cv_c_warning_flags="-Wall -fullwarn -Wno-unused-parameter -pedantic -Wno-long-long -Wnested-externs" ;; #(
5788
ga_cv_c_warning_flags="-Xc" ;; #(
5790
ga_cv_c_warning_flags= ;; #(
5792
ga_cv_c_warning_flags= ;; #(
5794
ga_cv_c_warning_flags= ;; #(
5801
{ $as_echo "$as_me:${as_lineno-$LINENO}: ga_cv_c_warning_flags: $ga_cv_c_warning_flags" >&5
5802
$as_echo "$ga_cv_c_warning_flags" >&6; }
5803
GA_C_WARN=$ga_cv_c_warning_flags
5810
ga_save_CFLAGS="$CFLAGS"
5811
CFLAGS="$ga_cv_c_warning_flags $CFLAGS"
5813
if test x$with_mpi_wrappers = xyes; then :
5816
# Extract the first word of "perl", so it can be a program name with args.
5817
set dummy perl; ac_word=$2
5818
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5819
$as_echo_n "checking for $ac_word... " >&6; }
5820
if ${ac_cv_path_PERL+:} false; then :
5821
$as_echo_n "(cached) " >&6
5825
ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
5828
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5832
test -z "$as_dir" && as_dir=.
5833
for ac_exec_ext in '' $ac_executable_extensions; do
5834
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5835
ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
5836
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5846
PERL=$ac_cv_path_PERL
5847
if test -n "$PERL"; then
5848
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5849
$as_echo "$PERL" >&6; }
5851
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852
$as_echo "no" >&6; }
5858
cat >inside.pl <<"EOF"
5862
my $numargs = $#ARGV + 1;
5863
if ($numargs != 2) {
5864
print "Usage: wrapped.txt naked.txt\n";
5867
# Read each input file as a string (rather than a list).
5869
open WRAPPED, "$ARGV[0]" or die "Could not open wrapped text file: $!";
5870
my $wrapped_lines = <WRAPPED>;
5872
open NAKED, "$ARGV[1]" or die "Could not open naked text file: $!";
5873
my $naked_lines = <NAKED>;
5875
# Replace newlines, + from wrapped and naked lines.
5876
$wrapped_lines =~ tr/\n+/ /;
5877
$naked_lines =~ tr/\n+/ /;
5878
# Remove whitespace from beginning of wrapped and naked lines.
5879
$wrapped_lines =~ s/^\s+//;
5880
$naked_lines =~ s/^\s+//;
5881
# Remove whitespace from end of wrapped and naked lines.
5882
$wrapped_lines =~ s/\s+$//;
5883
$naked_lines =~ s/\s+$//;
5884
# If either wrapped_lines or naked_lines are empty, this is an error.
5885
# It is assumed that the particular version string which created the input
5886
# files should generate SOMETHING.
5887
unless ($wrapped_lines) {
5890
unless ($naked_lines) {
5893
# Cray compilers append a timestamp into their version string. Remove it.
5894
if ($wrapped_lines =~ /\QCray\E/) {
5895
$wrapped_lines = substr $wrapped_lines, 0, -28;
5896
$naked_lines = substr $naked_lines, 0, -28;
5898
# Can the naked lines be found within the wrapped lines?
5899
if ($wrapped_lines =~ /\Q$naked_lines\E/) {
5900
#print "Found as substring\n";
5903
# Are the naked lines exactly the same as the wrapped lines?
5904
elsif ($wrapped_lines eq $naked_lines) {
5905
#print "Found equal\n";
5909
#print "Not found\n";
5913
inside="$PERL inside.pl"
5917
compilers="bgxlc_r xlc_r" ;; #(
5919
compilers="bgxlc xlc pgcc pathcc icc sxcc fcc opencc suncc craycc gcc ecc cl ccc cc" ;; #(
5927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for base $wrapped compiler" >&5
5928
$as_echo_n "checking for base $wrapped compiler... " >&6; }
5929
if ${ga_cv_mpic_naked+:} false; then :
5930
$as_echo_n "(cached) " >&6
5933
base="`$wrapped -show 2>/dev/null | sed 's/[ ].*$//' | head -1`"
5936
# if -m32 or -m64 is present in the -show params, or separately, add it
5937
unwrapped_args="`$wrapped -show 2>/dev/null`"
5939
for arg in $unwrapped_args $wrapped
5943
extra_arg="-m32" ;; #(
5945
extra_arg="-m64" ;; #(
5950
if test "x$extra_arg" != x; then :
5951
base="$base $extra_arg"
5953
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5954
/* end confdefs.h. */
5964
if ac_fn_c_try_link "$LINENO"; then :
5965
ga_cv_mpic_naked="$base"
5967
rm -f core conftest.err conftest.$ac_objext \
5968
conftest$ac_exeext conftest.$ac_ext
5970
versions="--version -v -V -qversion"
5971
found_wrapped_version=0
5972
# Try separating stdout and stderr. Only compare stdout.
5973
if test "x$ga_cv_mpic_naked" = x; then :
5975
# prepend any CC/CXX/F77 the user may have specified
5976
compilers="$ga_orig_CC $compilers"
5977
echo "only comparing stdout" >&5
5978
for version in $versions
5980
echo "trying version=$version" >&5
5981
rm -f mpi.txt mpi.err naked.txt naked.err
5982
if $wrapped $version 1>mpi.txt 2>mpi.err; then :
5983
found_wrapped_version=1
5984
for naked_compiler in $compilers
5986
if test "x$naked_compiler" != "x$wrapped"; then :
5987
if $naked_compiler $version 1>naked.txt 2>naked.err; then :
5988
if $inside mpi.txt naked.txt >/dev/null; then :
5989
ga_cv_mpic_naked=$naked_compiler; break
5991
echo "inside.pl $wrapped $naked_compiler failed, skipping" >&5
5994
echo "$naked_compiler $version failed, skipping" >&5
5999
echo "$wrapped $version failed, skipping" >&5
6001
if test "x$ga_cv_mpic_naked" != x; then :
6007
# Perhaps none of the MPI compilers had a zero exit status (this is bad).
6008
# In this case we have to do a brute force match regardless of exit status.
6009
if test "x$found_wrapped_version" = x0; then :
6011
if test "x$ga_cv_mpic_naked" = x; then :
6013
echo "no zero exit status found for MPI compilers" >&5
6014
for version in $versions
6016
echo "trying version=$version" >&5
6017
rm -f mpi.txt mpi.err
6018
$wrapped $version 1>mpi.txt 2>mpi.err
6019
for naked_compiler in $compilers
6021
if test "x$naked_compiler" != "x$wrapped"; then :
6022
rm -f naked.txt naked.err
6023
if $naked_compiler $version 1>naked.txt 2>naked.err; then :
6024
if $inside mpi.txt naked.txt >/dev/null; then :
6025
ga_cv_mpic_naked=$naked_compiler; break
6027
echo "inside.pl $wrapped $naked_compiler failed, skipping" >&5
6030
echo "$naked_compiler $version failed, skipping" >&5
6034
if test "x$ga_cv_mpic_naked" != x; then :
6042
# Try by combining stdout/err into one file.
6043
if test "x$ga_cv_mpic_naked" = x; then :
6045
echo "try combining stdout and stderr into one file" >&5
6046
for version in $versions
6048
echo "trying version=$version" >&5
6049
rm -f mpi.txt naked.txt
6050
if $wrapped $version 1>mpi.txt 2>&1; then :
6051
for naked_compiler in $compilers
6053
if test "x$naked_compiler" != "x$wrapped"; then :
6054
if $naked_compiler $version 1>naked.txt 2>&1; then :
6055
if $inside mpi.txt naked.txt >/dev/null; then :
6056
ga_cv_mpic_naked=$naked_compiler; break
6058
echo "inside.pl $wrapped $naked_compiler failed, skipping" >&5
6061
echo "$naked_compiler $version failed, skipping" >&5
6066
echo "$wrapped $version failed, skipping" >&5
6068
if test "x$ga_cv_mpic_naked" != x; then :
6074
# If we got this far, then it's likely that the MPI compiler had a zero exit
6075
# status when it shouldn't have for one version flag, but later had a non-zero
6076
# exit status for a flag it shouldn't have. One false positive hid a false
6077
# negative. In this case, brute force compare all MPI compiler output against
6078
# all compiler output.
6079
if test "x$ga_cv_mpic_naked" = x; then :
6081
echo "we have a very badly behaving MPI compiler" >&5
6082
for version in $versions
6084
echo "trying version=$version" >&5
6085
rm -f mpi.txt mpi.err
6086
$wrapped $version 1>mpi.txt 2>mpi.err
6087
for naked_compiler in $compilers
6089
if test "x$naked_compiler" != "x$wrapped"; then :
6090
rm -f naked.txt naked.err
6091
if $naked_compiler $version 1>naked.txt 2>naked.err; then :
6092
if $inside mpi.txt naked.txt >/dev/null; then :
6093
ga_cv_mpic_naked=$naked_compiler; break
6095
echo "inside.pl $wrapped $naked_compiler failed, skipping" >&5
6098
echo "$naked_compiler $version failed, skipping" >&5
6102
if test "x$ga_cv_mpic_naked" != x; then :
6108
rm -f mpi.txt mpi.err naked.txt naked.err
6111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ga_cv_mpic_naked" >&5
6112
$as_echo "$ga_cv_mpic_naked" >&6; }
6113
if test "x$ga_cv_mpic_naked" = x; then :
6114
as_fn_error $? "Could not determine the C compiler wrapped by MPI" "$LINENO" 5
6116
if test "x$ga_orig_CC" != x && test "x$ga_orig_CC" != "x$ga_cv_mpic_naked"; then :
6117
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unwrapped $wrapped ($ga_cv_mpic_naked) does not match user-specified $ga_orig_CC" >&5
6118
$as_echo "$as_me: WARNING: unwrapped $wrapped ($ga_cv_mpic_naked) does not match user-specified $ga_orig_CC" >&2;}
6126
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ga_arg_parse_sizeof_voidp" ""; then :
6130
for arg in $with_mpi ; do
6137
GA_MP_LIBS="$GA_MP_LIBS $arg" ;; #(
6139
GA_MP_LDFLAGS="$GA_MP_LDFLAGS $arg" ;; #(
6141
GA_MP_LDFLAGS="$GA_MP_LDFLAGS $arg" ;; #(
6143
GA_MP_LDFLAGS="$GA_MP_LDFLAGS $arg" ;; #(
6145
GA_MP_CPPFLAGS="$GA_MP_CPPFLAGS $arg" ;; #(
6147
GA_MP_LIBS="$GA_MP_LIBS $arg" ;; #(
6149
GA_MP_LIBS="$GA_MP_LIBS $arg" ;; #(
6151
if test -d $arg; then :
6152
GA_MP_LDFLAGS="$GA_MP_LDFLAGS -L$arg"
6154
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi not parsed" >&5
6155
$as_echo "$as_me: WARNING: $arg of with_mpi not parsed" >&2;}
6158
if test -d $arg; then :
6159
GA_MP_LDFLAGS="$GA_MP_LDFLAGS -L$arg"
6161
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi not parsed" >&5
6162
$as_echo "$as_me: WARNING: $arg of with_mpi not parsed" >&2;}
6165
if test -d $arg; then :
6166
GA_MP_LDFLAGS="$GA_MP_LDFLAGS -L$arg"
6168
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi not parsed" >&5
6169
$as_echo "$as_me: WARNING: $arg of with_mpi not parsed" >&2;}
6172
if test -d $arg; then :
6173
GA_MP_LDFLAGS="$GA_MP_LDFLAGS -L$arg"
6175
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi not parsed" >&5
6176
$as_echo "$as_me: WARNING: $arg of with_mpi not parsed" >&2;}
6179
if test -d $arg; then :
6180
GA_MP_CPPFLAGS="$GA_MP_CPPFLAGS -I$arg"
6182
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi not parsed" >&5
6183
$as_echo "$as_me: WARNING: $arg of with_mpi not parsed" >&2;}
6186
if test -d $arg; then :
6187
GA_MP_CPPFLAGS="$GA_MP_CPPFLAGS -I$arg"
6189
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi not parsed" >&5
6190
$as_echo "$as_me: WARNING: $arg of with_mpi not parsed" >&2;}
6193
if test -d $arg; then :
6194
GA_MP_CPPFLAGS="$GA_MP_CPPFLAGS -I$arg"
6196
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi not parsed" >&5
6197
$as_echo "$as_me: WARNING: $arg of with_mpi not parsed" >&2;}
6200
if test -d $arg; then :
6201
GA_MP_CPPFLAGS="$GA_MP_CPPFLAGS -I$arg"
6203
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi not parsed" >&5
6204
$as_echo "$as_me: WARNING: $arg of with_mpi not parsed" >&2;}
6207
GA_MP_LIBS="$GA_MP_LIBS $arg" ;; #(
6209
ga_arg_parse_ok=no ;;
6211
# $arg didn't fit the most common cases
6212
# check for subdirectories e.g. lib,include
6213
if test "x$ga_arg_parse_ok" = xno; then :
6214
if test "x$ga_arg_parse_sizeof_voidp" = x8; then :
6215
if test -d $arg/lib64; then :
6216
GA_MP_LDFLAGS="$GA_MP_LDFLAGS -L$arg/lib64"; ga_arg_parse_ok=yes
6217
elif test -d $arg/lib; then :
6218
GA_MP_LDFLAGS="$GA_MP_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
6220
if test -d $arg/include64; then :
6221
GA_MP_CPPFLAGS="$GA_MP_CPPFLAGS -I$arg/include64"; ga_arg_parse_ok=yes
6222
elif test -d $arg/include; then :
6223
GA_MP_CPPFLAGS="$GA_MP_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
6226
if test -d $arg/lib; then :
6227
GA_MP_LDFLAGS="$GA_MP_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
6229
if test -d $arg/include; then :
6230
GA_MP_CPPFLAGS="$GA_MP_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
6234
# $arg still unknown, look for "lib" and "include" anywhere...
6235
if test "x$ga_arg_parse_ok" = xno; then :
6238
if test -d $arg; then :
6239
GA_MP_LDFLAGS="$GA_MP_LDFLAGS -L$arg"; ga_arg_parse_ok=yes
6242
if test -d $arg; then :
6243
GA_MP_CPPFLAGS="$GA_MP_CPPFLAGS -I$arg"; ga_arg_parse_ok=yes
6249
# warn user that $arg fell through
6250
if test "x$ga_arg_parse_ok" = xno; then :
6251
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi not parsed" >&5
6252
$as_echo "$as_me: WARNING: $arg of with_mpi not parsed" >&2;}
6256
if test "x$with_mpi" != xno; then :
6258
case $enable_mpi_tests in #(
6262
ac_cpp='$CPP $CPPFLAGS'
6263
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6264
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6265
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6269
ac_cpp='$CPP $CPPFLAGS'
6270
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6271
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6272
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6274
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6275
/* end confdefs.h. */
6280
int myargc; char **myargv; MPI_Init(&myargc, &myargv); MPI_Finalize();
6286
ac_cpp='$CPP $CPPFLAGS'
6287
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6288
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6289
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6292
ga_cv_c_mpi_test_link=no
6293
if test "x$ga_cv_c_mpi_test_link" = xno; then :
6294
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a C MPI program links natively" >&5
6295
$as_echo_n "checking whether a C MPI program links natively... " >&6; }
6296
if ac_fn_c_try_link "$LINENO"; then :
6297
ga_cv_c_mpi_test_link=yes
6302
ga_cv_c_mpi_test_link=no
6304
rm -f core conftest.err conftest.$ac_objext \
6306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ga_cv_c_mpi_test_link" >&5
6307
$as_echo "$ga_cv_c_mpi_test_link" >&6; }
6309
# That didn't work, so now let's try adding our GA_MP_* flags.
6310
# The CPPFLAGS and LDFLAGS are added up top here, but LIBS will change.
6311
ga_save_LIBS="$LIBS"
6312
ga_save_CPPFLAGS="$CPPFLAGS"; CPPFLAGS="$CPPFLAGS $GA_MP_CPPFLAGS"
6313
ga_save_LDFLAGS="$LDFLAGS"; LDFLAGS="$LDFLAGS $GA_MP_LDFLAGS"
6314
if test "x$ga_cv_c_mpi_test_link" = xno; then :
6315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a C MPI program links with additional env" >&5
6316
$as_echo_n "checking whether a C MPI program links with additional env... " >&6; }
6317
LIBS="$LIBS $GA_MP_LIBS"
6318
if ac_fn_c_try_link "$LINENO"; then :
6319
ga_cv_c_mpi_test_link=yes
6321
ga_cv_c_mpi_test_link=no
6323
rm -f core conftest.err conftest.$ac_objext \
6325
LIBS="$ga_save_LIBS"
6326
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ga_cv_c_mpi_test_link" >&5
6327
$as_echo "$ga_cv_c_mpi_test_link" >&6; }
6329
# That didn't work, so now let's try with specific libs.
6330
if test "x$ga_cv_c_mpi_test_link" = xno; then :
6331
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mvapich libraries" >&5
6332
$as_echo_n "checking for mvapich libraries... " >&6; }
6333
for lib in "-lmpich -lpthread" "-lmpich"
6336
if ac_fn_c_try_link "$LINENO"; then :
6337
ga_cv_c_mpi_test_link="$lib"; break
6339
ga_cv_c_mpi_test_link=no
6341
rm -f core conftest.err conftest.$ac_objext \
6343
LIBS="$ga_save_LIBS"
6345
LIBS="$ga_save_LIBS"
6346
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ga_cv_c_mpi_test_link" >&5
6347
$as_echo "$ga_cv_c_mpi_test_link" >&6; }
6349
if test "x$ga_cv_c_mpi_test_link" = xno; then :
6350
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpich libraries" >&5
6351
$as_echo_n "checking for mpich libraries... " >&6; }
6352
for lib in "-lmpich -lpthread" "-lmpich"
6355
if ac_fn_c_try_link "$LINENO"; then :
6356
ga_cv_c_mpi_test_link="$lib"; break
6358
ga_cv_c_mpi_test_link=no
6360
rm -f core conftest.err conftest.$ac_objext \
6362
LIBS="$ga_save_LIBS"
6364
LIBS="$ga_save_LIBS"
6365
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ga_cv_c_mpi_test_link" >&5
6366
$as_echo "$ga_cv_c_mpi_test_link" >&6; }
6368
if test "x$ga_cv_c_mpi_test_link" = xno; then :
6369
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hpmpi libraries" >&5
6370
$as_echo_n "checking for hpmpi libraries... " >&6; }
6371
for lib in "-lhpmpio -lhpmpi" "-lhpmpi"
6374
if ac_fn_c_try_link "$LINENO"; then :
6375
ga_cv_c_mpi_test_link="$lib"; break
6377
ga_cv_c_mpi_test_link=no
6379
rm -f core conftest.err conftest.$ac_objext \
6381
LIBS="$ga_save_LIBS"
6383
LIBS="$ga_save_LIBS"
6384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ga_cv_c_mpi_test_link" >&5
6385
$as_echo "$ga_cv_c_mpi_test_link" >&6; }
6387
if test "x$ga_cv_c_mpi_test_link" = xno; then :
6388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intelmpi libraries" >&5
6389
$as_echo_n "checking for intelmpi libraries... " >&6; }
6390
for lib in "-lmpi -lmpiif -lmpigi -lrt -lpthread" "-lmpi -lmpiif -lmpigi"
6393
if ac_fn_c_try_link "$LINENO"; then :
6394
ga_cv_c_mpi_test_link="$lib"; break
6396
ga_cv_c_mpi_test_link=no
6398
rm -f core conftest.err conftest.$ac_objext \
6400
LIBS="$ga_save_LIBS"
6402
LIBS="$ga_save_LIBS"
6403
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ga_cv_c_mpi_test_link" >&5
6404
$as_echo "$ga_cv_c_mpi_test_link" >&6; }
6406
if test "x$ga_cv_c_mpi_test_link" = xno; then :
6407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for openmpi libraries" >&5
6408
$as_echo_n "checking for openmpi libraries... " >&6; }
6409
for lib in "-lmpi -lpthread" "-lmpi"
6412
if ac_fn_c_try_link "$LINENO"; then :
6413
ga_cv_c_mpi_test_link="$lib"; break
6415
ga_cv_c_mpi_test_link=no
6417
rm -f core conftest.err conftest.$ac_objext \
6419
LIBS="$ga_save_LIBS"
6421
LIBS="$ga_save_LIBS"
6422
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ga_cv_c_mpi_test_link" >&5
6423
$as_echo "$ga_cv_c_mpi_test_link" >&6; }
6425
rm -f conftest.$ac_ext
6426
LIBS="$ga_save_LIBS"
6427
LDFLAGS="$ga_save_LDFLAGS"
6428
CPPFLAGS="$ga_save_CPPFLAGS"
6430
ac_cpp='$CPP $CPPFLAGS'
6431
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6432
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6433
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6435
case $ga_cv_c_mpi_test_link in #(
6439
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6440
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6441
as_fn_error $? "could not link a C MPI program
6442
See \`config.log' for more details" "$LINENO" 5; } ;; #(
6444
GA_MP_LIBS="$ga_cv_c_mpi_test_link" ;; #(
6452
ac_cpp='$CPP $CPPFLAGS'
6453
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6454
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6455
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6459
ac_cpp='$CPP $CPPFLAGS'
6460
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6461
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6462
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6464
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6465
/* end confdefs.h. */
6470
int myargc; char **myargv; MPI_Init(&myargc, &myargv); MPI_Finalize();
6476
ac_cpp='$CPP $CPPFLAGS'
6477
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6478
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6479
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6482
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a simple C MPI program compiles" >&5
6483
$as_echo_n "checking whether a simple C MPI program compiles... " >&6; }
6484
if ${ga_cv_c_mpi_test_compile+:} false; then :
6485
$as_echo_n "(cached) " >&6
6487
ga_save_CPPFLAGS="$CPPFLAGS"; CPPFLAGS="$CPPFLAGS $GA_MP_CPPFLAGS"
6488
if ac_fn_c_try_compile "$LINENO"; then :
6489
ga_cv_c_mpi_test_compile=yes
6491
ga_cv_c_mpi_test_compile=no
6493
rm -f core conftest.err conftest.$ac_objext
6494
CPPFLAGS="$ga_save_CPPFLAGS"
6496
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ga_cv_c_mpi_test_compile" >&5
6497
$as_echo "$ga_cv_c_mpi_test_compile" >&6; }
6498
rm -f conftest.$ac_ext
6500
ac_cpp='$CPP $CPPFLAGS'
6501
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6502
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6503
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6505
if test "x$ga_cv_c_mpi_test_compile" = xno; then :
6506
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6507
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6508
as_fn_error $? "could not compile simple C MPI program
6509
See \`config.log' for more details" "$LINENO" 5; }
6516
# Hack to append .x to executables.
6521
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ga_target64_sizeof_voidp" ""; then :
6525
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TARGET 64bit-ness" >&5
6526
$as_echo_n "checking for TARGET 64bit-ness... " >&6; }
6527
if ${ga_cv_target+:} false; then :
6528
$as_echo_n "(cached) " >&6
6530
if test x$ga_target64_sizeof_voidp = x8; then :
6531
ga_cv_target=${ga_cv_target_base}64
6533
ga_cv_target=$ga_cv_target_base
6536
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ga_cv_target" >&5
6537
$as_echo "$ga_cv_target" >&6; }
6539
cat >>confdefs.h <<_ACEOF
6540
#define $ga_cv_target 1
6545
# Establish the underlying network infrastructure (SOCKETS, OPENIB, etc)
6547
# Clear the variables we will be using, just in case.
6550
ARMCI_NETWORK_LDFLAGS=
6551
ARMCI_NETWORK_CPPFLAGS=
6552
# Check whether --enable-autodetect was given.
6553
if test "${enable_autodetect+set}" = set; then :
6554
enableval=$enable_autodetect;
6557
# First, all of the "--with" stuff is taken care of.
6558
armci_network_count=0
6561
# Check whether --with-armci was given.
6562
if test "${with_armci+set}" = set; then :
6563
withval=$with_armci;
6568
if test "x$with_armci" != x; then :
6569
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ga_arg_parse_sizeof_voidp" ""; then :
6573
for arg in $with_armci ; do
6580
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
6582
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
6584
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
6586
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
6588
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS $arg" ;; #(
6590
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
6592
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
6594
if test -d $arg; then :
6595
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
6597
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_armci not parsed" >&5
6598
$as_echo "$as_me: WARNING: $arg of with_armci not parsed" >&2;}
6601
if test -d $arg; then :
6602
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
6604
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_armci not parsed" >&5
6605
$as_echo "$as_me: WARNING: $arg of with_armci not parsed" >&2;}
6608
if test -d $arg; then :
6609
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
6611
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_armci not parsed" >&5
6612
$as_echo "$as_me: WARNING: $arg of with_armci not parsed" >&2;}
6615
if test -d $arg; then :
6616
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
6618
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_armci not parsed" >&5
6619
$as_echo "$as_me: WARNING: $arg of with_armci not parsed" >&2;}
6622
if test -d $arg; then :
6623
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
6625
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_armci not parsed" >&5
6626
$as_echo "$as_me: WARNING: $arg of with_armci not parsed" >&2;}
6629
if test -d $arg; then :
6630
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
6632
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_armci not parsed" >&5
6633
$as_echo "$as_me: WARNING: $arg of with_armci not parsed" >&2;}
6636
if test -d $arg; then :
6637
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
6639
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_armci not parsed" >&5
6640
$as_echo "$as_me: WARNING: $arg of with_armci not parsed" >&2;}
6643
if test -d $arg; then :
6644
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
6646
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_armci not parsed" >&5
6647
$as_echo "$as_me: WARNING: $arg of with_armci not parsed" >&2;}
6650
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
6652
ga_arg_parse_ok=no ;;
6654
# $arg didn't fit the most common cases
6655
# check for subdirectories e.g. lib,include
6656
if test "x$ga_arg_parse_ok" = xno; then :
6657
if test "x$ga_arg_parse_sizeof_voidp" = x8; then :
6658
if test -d $arg/lib64; then :
6659
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib64"; ga_arg_parse_ok=yes
6660
elif test -d $arg/lib; then :
6661
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
6663
if test -d $arg/include64; then :
6664
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include64"; ga_arg_parse_ok=yes
6665
elif test -d $arg/include; then :
6666
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
6669
if test -d $arg/lib; then :
6670
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
6672
if test -d $arg/include; then :
6673
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
6677
# $arg still unknown, look for "lib" and "include" anywhere...
6678
if test "x$ga_arg_parse_ok" = xno; then :
6681
if test -d $arg; then :
6682
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"; ga_arg_parse_ok=yes
6685
if test -d $arg; then :
6686
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"; ga_arg_parse_ok=yes
6692
# warn user that $arg fell through
6693
if test "x$ga_arg_parse_ok" = xno; then :
6694
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_armci not parsed" >&5
6695
$as_echo "$as_me: WARNING: $arg of with_armci not parsed" >&2;}
6699
if test "x$with_armci" != xno && test "x$with_armci" != x; then :
6700
ga_armci_network=ARMCI
6701
as_fn_arith $armci_network_count + 1 && armci_network_count=$as_val
6708
# Check whether --with-bgml was given.
6709
if test "${with_bgml+set}" = set; then :
6715
if test "x$with_bgml" != x; then :
6716
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ga_arg_parse_sizeof_voidp" ""; then :
6720
for arg in $with_bgml ; do
6727
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
6729
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
6731
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
6733
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
6735
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS $arg" ;; #(
6737
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
6739
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
6741
if test -d $arg; then :
6742
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
6744
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_bgml not parsed" >&5
6745
$as_echo "$as_me: WARNING: $arg of with_bgml not parsed" >&2;}
6748
if test -d $arg; then :
6749
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
6751
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_bgml not parsed" >&5
6752
$as_echo "$as_me: WARNING: $arg of with_bgml not parsed" >&2;}
6755
if test -d $arg; then :
6756
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
6758
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_bgml not parsed" >&5
6759
$as_echo "$as_me: WARNING: $arg of with_bgml not parsed" >&2;}
6762
if test -d $arg; then :
6763
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
6765
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_bgml not parsed" >&5
6766
$as_echo "$as_me: WARNING: $arg of with_bgml not parsed" >&2;}
6769
if test -d $arg; then :
6770
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
6772
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_bgml not parsed" >&5
6773
$as_echo "$as_me: WARNING: $arg of with_bgml not parsed" >&2;}
6776
if test -d $arg; then :
6777
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
6779
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_bgml not parsed" >&5
6780
$as_echo "$as_me: WARNING: $arg of with_bgml not parsed" >&2;}
6783
if test -d $arg; then :
6784
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
6786
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_bgml not parsed" >&5
6787
$as_echo "$as_me: WARNING: $arg of with_bgml not parsed" >&2;}
6790
if test -d $arg; then :
6791
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
6793
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_bgml not parsed" >&5
6794
$as_echo "$as_me: WARNING: $arg of with_bgml not parsed" >&2;}
6797
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
6799
ga_arg_parse_ok=no ;;
6801
# $arg didn't fit the most common cases
6802
# check for subdirectories e.g. lib,include
6803
if test "x$ga_arg_parse_ok" = xno; then :
6804
if test "x$ga_arg_parse_sizeof_voidp" = x8; then :
6805
if test -d $arg/lib64; then :
6806
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib64"; ga_arg_parse_ok=yes
6807
elif test -d $arg/lib; then :
6808
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
6810
if test -d $arg/include64; then :
6811
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include64"; ga_arg_parse_ok=yes
6812
elif test -d $arg/include; then :
6813
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
6816
if test -d $arg/lib; then :
6817
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
6819
if test -d $arg/include; then :
6820
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
6824
# $arg still unknown, look for "lib" and "include" anywhere...
6825
if test "x$ga_arg_parse_ok" = xno; then :
6828
if test -d $arg; then :
6829
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"; ga_arg_parse_ok=yes
6832
if test -d $arg; then :
6833
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"; ga_arg_parse_ok=yes
6839
# warn user that $arg fell through
6840
if test "x$ga_arg_parse_ok" = xno; then :
6841
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_bgml not parsed" >&5
6842
$as_echo "$as_me: WARNING: $arg of with_bgml not parsed" >&2;}
6846
if test "x$with_bgml" != xno && test "x$with_bgml" != x; then :
6847
ga_armci_network=BGML
6848
as_fn_arith $armci_network_count + 1 && armci_network_count=$as_val
6855
# Check whether --with-cray-shmem was given.
6856
if test "${with_cray_shmem+set}" = set; then :
6857
withval=$with_cray_shmem;
6862
if test "x$with_cray_shmem" != x; then :
6863
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ga_arg_parse_sizeof_voidp" ""; then :
6867
for arg in $with_cray_shmem ; do
6874
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
6876
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
6878
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
6880
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
6882
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS $arg" ;; #(
6884
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
6886
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
6888
if test -d $arg; then :
6889
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
6891
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_cray_shmem not parsed" >&5
6892
$as_echo "$as_me: WARNING: $arg of with_cray_shmem not parsed" >&2;}
6895
if test -d $arg; then :
6896
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
6898
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_cray_shmem not parsed" >&5
6899
$as_echo "$as_me: WARNING: $arg of with_cray_shmem not parsed" >&2;}
6902
if test -d $arg; then :
6903
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
6905
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_cray_shmem not parsed" >&5
6906
$as_echo "$as_me: WARNING: $arg of with_cray_shmem not parsed" >&2;}
6909
if test -d $arg; then :
6910
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
6912
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_cray_shmem not parsed" >&5
6913
$as_echo "$as_me: WARNING: $arg of with_cray_shmem not parsed" >&2;}
6916
if test -d $arg; then :
6917
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
6919
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_cray_shmem not parsed" >&5
6920
$as_echo "$as_me: WARNING: $arg of with_cray_shmem not parsed" >&2;}
6923
if test -d $arg; then :
6924
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
6926
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_cray_shmem not parsed" >&5
6927
$as_echo "$as_me: WARNING: $arg of with_cray_shmem not parsed" >&2;}
6930
if test -d $arg; then :
6931
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
6933
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_cray_shmem not parsed" >&5
6934
$as_echo "$as_me: WARNING: $arg of with_cray_shmem not parsed" >&2;}
6937
if test -d $arg; then :
6938
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
6940
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_cray_shmem not parsed" >&5
6941
$as_echo "$as_me: WARNING: $arg of with_cray_shmem not parsed" >&2;}
6944
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
6946
ga_arg_parse_ok=no ;;
6948
# $arg didn't fit the most common cases
6949
# check for subdirectories e.g. lib,include
6950
if test "x$ga_arg_parse_ok" = xno; then :
6951
if test "x$ga_arg_parse_sizeof_voidp" = x8; then :
6952
if test -d $arg/lib64; then :
6953
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib64"; ga_arg_parse_ok=yes
6954
elif test -d $arg/lib; then :
6955
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
6957
if test -d $arg/include64; then :
6958
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include64"; ga_arg_parse_ok=yes
6959
elif test -d $arg/include; then :
6960
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
6963
if test -d $arg/lib; then :
6964
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
6966
if test -d $arg/include; then :
6967
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
6971
# $arg still unknown, look for "lib" and "include" anywhere...
6972
if test "x$ga_arg_parse_ok" = xno; then :
6975
if test -d $arg; then :
6976
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"; ga_arg_parse_ok=yes
6979
if test -d $arg; then :
6980
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"; ga_arg_parse_ok=yes
6986
# warn user that $arg fell through
6987
if test "x$ga_arg_parse_ok" = xno; then :
6988
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_cray_shmem not parsed" >&5
6989
$as_echo "$as_me: WARNING: $arg of with_cray_shmem not parsed" >&2;}
6993
if test "x$with_cray_shmem" != xno && test "x$with_cray_shmem" != x; then :
6994
ga_armci_network=CRAY_SHMEM
6995
as_fn_arith $armci_network_count + 1 && armci_network_count=$as_val
7002
# Check whether --with-dcmf was given.
7003
if test "${with_dcmf+set}" = set; then :
7009
if test "x$with_dcmf" != x; then :
7010
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ga_arg_parse_sizeof_voidp" ""; then :
7014
for arg in $with_dcmf ; do
7021
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7023
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
7025
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
7027
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
7029
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS $arg" ;; #(
7031
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7033
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7035
if test -d $arg; then :
7036
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7038
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_dcmf not parsed" >&5
7039
$as_echo "$as_me: WARNING: $arg of with_dcmf not parsed" >&2;}
7042
if test -d $arg; then :
7043
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7045
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_dcmf not parsed" >&5
7046
$as_echo "$as_me: WARNING: $arg of with_dcmf not parsed" >&2;}
7049
if test -d $arg; then :
7050
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7052
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_dcmf not parsed" >&5
7053
$as_echo "$as_me: WARNING: $arg of with_dcmf not parsed" >&2;}
7056
if test -d $arg; then :
7057
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7059
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_dcmf not parsed" >&5
7060
$as_echo "$as_me: WARNING: $arg of with_dcmf not parsed" >&2;}
7063
if test -d $arg; then :
7064
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7066
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_dcmf not parsed" >&5
7067
$as_echo "$as_me: WARNING: $arg of with_dcmf not parsed" >&2;}
7070
if test -d $arg; then :
7071
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7073
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_dcmf not parsed" >&5
7074
$as_echo "$as_me: WARNING: $arg of with_dcmf not parsed" >&2;}
7077
if test -d $arg; then :
7078
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7080
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_dcmf not parsed" >&5
7081
$as_echo "$as_me: WARNING: $arg of with_dcmf not parsed" >&2;}
7084
if test -d $arg; then :
7085
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7087
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_dcmf not parsed" >&5
7088
$as_echo "$as_me: WARNING: $arg of with_dcmf not parsed" >&2;}
7091
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7093
ga_arg_parse_ok=no ;;
7095
# $arg didn't fit the most common cases
7096
# check for subdirectories e.g. lib,include
7097
if test "x$ga_arg_parse_ok" = xno; then :
7098
if test "x$ga_arg_parse_sizeof_voidp" = x8; then :
7099
if test -d $arg/lib64; then :
7100
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib64"; ga_arg_parse_ok=yes
7101
elif test -d $arg/lib; then :
7102
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
7104
if test -d $arg/include64; then :
7105
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include64"; ga_arg_parse_ok=yes
7106
elif test -d $arg/include; then :
7107
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
7110
if test -d $arg/lib; then :
7111
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
7113
if test -d $arg/include; then :
7114
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
7118
# $arg still unknown, look for "lib" and "include" anywhere...
7119
if test "x$ga_arg_parse_ok" = xno; then :
7122
if test -d $arg; then :
7123
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"; ga_arg_parse_ok=yes
7126
if test -d $arg; then :
7127
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"; ga_arg_parse_ok=yes
7133
# warn user that $arg fell through
7134
if test "x$ga_arg_parse_ok" = xno; then :
7135
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_dcmf not parsed" >&5
7136
$as_echo "$as_me: WARNING: $arg of with_dcmf not parsed" >&2;}
7140
if test "x$with_dcmf" != xno && test "x$with_dcmf" != x; then :
7141
ga_armci_network=DCMF
7142
as_fn_arith $armci_network_count + 1 && armci_network_count=$as_val
7149
# Check whether --with-dmapp was given.
7150
if test "${with_dmapp+set}" = set; then :
7151
withval=$with_dmapp;
7156
if test "x$with_dmapp" != x; then :
7157
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ga_arg_parse_sizeof_voidp" ""; then :
7161
for arg in $with_dmapp ; do
7168
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7170
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
7172
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
7174
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
7176
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS $arg" ;; #(
7178
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7180
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7182
if test -d $arg; then :
7183
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7185
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_dmapp not parsed" >&5
7186
$as_echo "$as_me: WARNING: $arg of with_dmapp not parsed" >&2;}
7189
if test -d $arg; then :
7190
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7192
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_dmapp not parsed" >&5
7193
$as_echo "$as_me: WARNING: $arg of with_dmapp not parsed" >&2;}
7196
if test -d $arg; then :
7197
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7199
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_dmapp not parsed" >&5
7200
$as_echo "$as_me: WARNING: $arg of with_dmapp not parsed" >&2;}
7203
if test -d $arg; then :
7204
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7206
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_dmapp not parsed" >&5
7207
$as_echo "$as_me: WARNING: $arg of with_dmapp not parsed" >&2;}
7210
if test -d $arg; then :
7211
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7213
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_dmapp not parsed" >&5
7214
$as_echo "$as_me: WARNING: $arg of with_dmapp not parsed" >&2;}
7217
if test -d $arg; then :
7218
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7220
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_dmapp not parsed" >&5
7221
$as_echo "$as_me: WARNING: $arg of with_dmapp not parsed" >&2;}
7224
if test -d $arg; then :
7225
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7227
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_dmapp not parsed" >&5
7228
$as_echo "$as_me: WARNING: $arg of with_dmapp not parsed" >&2;}
7231
if test -d $arg; then :
7232
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7234
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_dmapp not parsed" >&5
7235
$as_echo "$as_me: WARNING: $arg of with_dmapp not parsed" >&2;}
7238
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7240
ga_arg_parse_ok=no ;;
7242
# $arg didn't fit the most common cases
7243
# check for subdirectories e.g. lib,include
7244
if test "x$ga_arg_parse_ok" = xno; then :
7245
if test "x$ga_arg_parse_sizeof_voidp" = x8; then :
7246
if test -d $arg/lib64; then :
7247
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib64"; ga_arg_parse_ok=yes
7248
elif test -d $arg/lib; then :
7249
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
7251
if test -d $arg/include64; then :
7252
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include64"; ga_arg_parse_ok=yes
7253
elif test -d $arg/include; then :
7254
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
7257
if test -d $arg/lib; then :
7258
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
7260
if test -d $arg/include; then :
7261
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
7265
# $arg still unknown, look for "lib" and "include" anywhere...
7266
if test "x$ga_arg_parse_ok" = xno; then :
7269
if test -d $arg; then :
7270
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"; ga_arg_parse_ok=yes
7273
if test -d $arg; then :
7274
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"; ga_arg_parse_ok=yes
7280
# warn user that $arg fell through
7281
if test "x$ga_arg_parse_ok" = xno; then :
7282
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_dmapp not parsed" >&5
7283
$as_echo "$as_me: WARNING: $arg of with_dmapp not parsed" >&2;}
7287
if test "x$with_dmapp" != xno && test "x$with_dmapp" != x; then :
7288
ga_armci_network=DMAPP
7289
as_fn_arith $armci_network_count + 1 && armci_network_count=$as_val
7296
# Check whether --with-gemini was given.
7297
if test "${with_gemini+set}" = set; then :
7298
withval=$with_gemini;
7303
if test "x$with_gemini" != x; then :
7304
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ga_arg_parse_sizeof_voidp" ""; then :
7308
for arg in $with_gemini ; do
7315
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7317
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
7319
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
7321
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
7323
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS $arg" ;; #(
7325
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7327
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7329
if test -d $arg; then :
7330
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7332
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_gemini not parsed" >&5
7333
$as_echo "$as_me: WARNING: $arg of with_gemini not parsed" >&2;}
7336
if test -d $arg; then :
7337
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7339
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_gemini not parsed" >&5
7340
$as_echo "$as_me: WARNING: $arg of with_gemini not parsed" >&2;}
7343
if test -d $arg; then :
7344
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7346
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_gemini not parsed" >&5
7347
$as_echo "$as_me: WARNING: $arg of with_gemini not parsed" >&2;}
7350
if test -d $arg; then :
7351
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7353
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_gemini not parsed" >&5
7354
$as_echo "$as_me: WARNING: $arg of with_gemini not parsed" >&2;}
7357
if test -d $arg; then :
7358
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7360
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_gemini not parsed" >&5
7361
$as_echo "$as_me: WARNING: $arg of with_gemini not parsed" >&2;}
7364
if test -d $arg; then :
7365
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7367
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_gemini not parsed" >&5
7368
$as_echo "$as_me: WARNING: $arg of with_gemini not parsed" >&2;}
7371
if test -d $arg; then :
7372
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7374
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_gemini not parsed" >&5
7375
$as_echo "$as_me: WARNING: $arg of with_gemini not parsed" >&2;}
7378
if test -d $arg; then :
7379
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7381
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_gemini not parsed" >&5
7382
$as_echo "$as_me: WARNING: $arg of with_gemini not parsed" >&2;}
7385
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7387
ga_arg_parse_ok=no ;;
7389
# $arg didn't fit the most common cases
7390
# check for subdirectories e.g. lib,include
7391
if test "x$ga_arg_parse_ok" = xno; then :
7392
if test "x$ga_arg_parse_sizeof_voidp" = x8; then :
7393
if test -d $arg/lib64; then :
7394
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib64"; ga_arg_parse_ok=yes
7395
elif test -d $arg/lib; then :
7396
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
7398
if test -d $arg/include64; then :
7399
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include64"; ga_arg_parse_ok=yes
7400
elif test -d $arg/include; then :
7401
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
7404
if test -d $arg/lib; then :
7405
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
7407
if test -d $arg/include; then :
7408
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
7412
# $arg still unknown, look for "lib" and "include" anywhere...
7413
if test "x$ga_arg_parse_ok" = xno; then :
7416
if test -d $arg; then :
7417
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"; ga_arg_parse_ok=yes
7420
if test -d $arg; then :
7421
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"; ga_arg_parse_ok=yes
7427
# warn user that $arg fell through
7428
if test "x$ga_arg_parse_ok" = xno; then :
7429
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_gemini not parsed" >&5
7430
$as_echo "$as_me: WARNING: $arg of with_gemini not parsed" >&2;}
7434
if test "x$with_gemini" != xno && test "x$with_gemini" != x; then :
7435
ga_armci_network=GEMINI
7436
as_fn_arith $armci_network_count + 1 && armci_network_count=$as_val
7443
# Check whether --with-lapi was given.
7444
if test "${with_lapi+set}" = set; then :
7450
if test "x$with_lapi" != x; then :
7451
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ga_arg_parse_sizeof_voidp" ""; then :
7455
for arg in $with_lapi ; do
7462
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7464
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
7466
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
7468
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
7470
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS $arg" ;; #(
7472
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7474
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7476
if test -d $arg; then :
7477
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7479
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_lapi not parsed" >&5
7480
$as_echo "$as_me: WARNING: $arg of with_lapi not parsed" >&2;}
7483
if test -d $arg; then :
7484
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7486
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_lapi not parsed" >&5
7487
$as_echo "$as_me: WARNING: $arg of with_lapi not parsed" >&2;}
7490
if test -d $arg; then :
7491
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7493
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_lapi not parsed" >&5
7494
$as_echo "$as_me: WARNING: $arg of with_lapi not parsed" >&2;}
7497
if test -d $arg; then :
7498
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7500
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_lapi not parsed" >&5
7501
$as_echo "$as_me: WARNING: $arg of with_lapi not parsed" >&2;}
7504
if test -d $arg; then :
7505
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7507
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_lapi not parsed" >&5
7508
$as_echo "$as_me: WARNING: $arg of with_lapi not parsed" >&2;}
7511
if test -d $arg; then :
7512
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7514
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_lapi not parsed" >&5
7515
$as_echo "$as_me: WARNING: $arg of with_lapi not parsed" >&2;}
7518
if test -d $arg; then :
7519
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7521
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_lapi not parsed" >&5
7522
$as_echo "$as_me: WARNING: $arg of with_lapi not parsed" >&2;}
7525
if test -d $arg; then :
7526
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7528
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_lapi not parsed" >&5
7529
$as_echo "$as_me: WARNING: $arg of with_lapi not parsed" >&2;}
7532
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7534
ga_arg_parse_ok=no ;;
7536
# $arg didn't fit the most common cases
7537
# check for subdirectories e.g. lib,include
7538
if test "x$ga_arg_parse_ok" = xno; then :
7539
if test "x$ga_arg_parse_sizeof_voidp" = x8; then :
7540
if test -d $arg/lib64; then :
7541
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib64"; ga_arg_parse_ok=yes
7542
elif test -d $arg/lib; then :
7543
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
7545
if test -d $arg/include64; then :
7546
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include64"; ga_arg_parse_ok=yes
7547
elif test -d $arg/include; then :
7548
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
7551
if test -d $arg/lib; then :
7552
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
7554
if test -d $arg/include; then :
7555
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
7559
# $arg still unknown, look for "lib" and "include" anywhere...
7560
if test "x$ga_arg_parse_ok" = xno; then :
7563
if test -d $arg; then :
7564
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"; ga_arg_parse_ok=yes
7567
if test -d $arg; then :
7568
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"; ga_arg_parse_ok=yes
7574
# warn user that $arg fell through
7575
if test "x$ga_arg_parse_ok" = xno; then :
7576
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_lapi not parsed" >&5
7577
$as_echo "$as_me: WARNING: $arg of with_lapi not parsed" >&2;}
7581
if test "x$with_lapi" != xno && test "x$with_lapi" != x; then :
7582
ga_armci_network=LAPI
7583
as_fn_arith $armci_network_count + 1 && armci_network_count=$as_val
7590
# Check whether --with-mpi-mt was given.
7591
if test "${with_mpi_mt+set}" = set; then :
7592
withval=$with_mpi_mt;
7597
if test "x$with_mpi_mt" != x; then :
7598
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ga_arg_parse_sizeof_voidp" ""; then :
7602
for arg in $with_mpi_mt ; do
7609
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7611
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
7613
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
7615
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
7617
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS $arg" ;; #(
7619
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7621
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7623
if test -d $arg; then :
7624
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7626
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_mt not parsed" >&5
7627
$as_echo "$as_me: WARNING: $arg of with_mpi_mt not parsed" >&2;}
7630
if test -d $arg; then :
7631
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7633
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_mt not parsed" >&5
7634
$as_echo "$as_me: WARNING: $arg of with_mpi_mt not parsed" >&2;}
7637
if test -d $arg; then :
7638
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7640
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_mt not parsed" >&5
7641
$as_echo "$as_me: WARNING: $arg of with_mpi_mt not parsed" >&2;}
7644
if test -d $arg; then :
7645
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7647
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_mt not parsed" >&5
7648
$as_echo "$as_me: WARNING: $arg of with_mpi_mt not parsed" >&2;}
7651
if test -d $arg; then :
7652
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7654
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_mt not parsed" >&5
7655
$as_echo "$as_me: WARNING: $arg of with_mpi_mt not parsed" >&2;}
7658
if test -d $arg; then :
7659
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7661
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_mt not parsed" >&5
7662
$as_echo "$as_me: WARNING: $arg of with_mpi_mt not parsed" >&2;}
7665
if test -d $arg; then :
7666
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7668
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_mt not parsed" >&5
7669
$as_echo "$as_me: WARNING: $arg of with_mpi_mt not parsed" >&2;}
7672
if test -d $arg; then :
7673
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7675
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_mt not parsed" >&5
7676
$as_echo "$as_me: WARNING: $arg of with_mpi_mt not parsed" >&2;}
7679
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7681
ga_arg_parse_ok=no ;;
7683
# $arg didn't fit the most common cases
7684
# check for subdirectories e.g. lib,include
7685
if test "x$ga_arg_parse_ok" = xno; then :
7686
if test "x$ga_arg_parse_sizeof_voidp" = x8; then :
7687
if test -d $arg/lib64; then :
7688
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib64"; ga_arg_parse_ok=yes
7689
elif test -d $arg/lib; then :
7690
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
7692
if test -d $arg/include64; then :
7693
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include64"; ga_arg_parse_ok=yes
7694
elif test -d $arg/include; then :
7695
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
7698
if test -d $arg/lib; then :
7699
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
7701
if test -d $arg/include; then :
7702
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
7706
# $arg still unknown, look for "lib" and "include" anywhere...
7707
if test "x$ga_arg_parse_ok" = xno; then :
7710
if test -d $arg; then :
7711
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"; ga_arg_parse_ok=yes
7714
if test -d $arg; then :
7715
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"; ga_arg_parse_ok=yes
7721
# warn user that $arg fell through
7722
if test "x$ga_arg_parse_ok" = xno; then :
7723
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_mt not parsed" >&5
7724
$as_echo "$as_me: WARNING: $arg of with_mpi_mt not parsed" >&2;}
7728
if test "x$with_mpi_mt" != xno && test "x$with_mpi_mt" != x; then :
7729
ga_armci_network=MPI_MT
7730
as_fn_arith $armci_network_count + 1 && armci_network_count=$as_val
7737
# Check whether --with-mpi-spawn was given.
7738
if test "${with_mpi_spawn+set}" = set; then :
7739
withval=$with_mpi_spawn;
7744
if test "x$with_mpi_spawn" != x; then :
7745
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ga_arg_parse_sizeof_voidp" ""; then :
7749
for arg in $with_mpi_spawn ; do
7756
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7758
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
7760
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
7762
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
7764
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS $arg" ;; #(
7766
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7768
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7770
if test -d $arg; then :
7771
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7773
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_spawn not parsed" >&5
7774
$as_echo "$as_me: WARNING: $arg of with_mpi_spawn not parsed" >&2;}
7777
if test -d $arg; then :
7778
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7780
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_spawn not parsed" >&5
7781
$as_echo "$as_me: WARNING: $arg of with_mpi_spawn not parsed" >&2;}
7784
if test -d $arg; then :
7785
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7787
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_spawn not parsed" >&5
7788
$as_echo "$as_me: WARNING: $arg of with_mpi_spawn not parsed" >&2;}
7791
if test -d $arg; then :
7792
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7794
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_spawn not parsed" >&5
7795
$as_echo "$as_me: WARNING: $arg of with_mpi_spawn not parsed" >&2;}
7798
if test -d $arg; then :
7799
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7801
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_spawn not parsed" >&5
7802
$as_echo "$as_me: WARNING: $arg of with_mpi_spawn not parsed" >&2;}
7805
if test -d $arg; then :
7806
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7808
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_spawn not parsed" >&5
7809
$as_echo "$as_me: WARNING: $arg of with_mpi_spawn not parsed" >&2;}
7812
if test -d $arg; then :
7813
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7815
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_spawn not parsed" >&5
7816
$as_echo "$as_me: WARNING: $arg of with_mpi_spawn not parsed" >&2;}
7819
if test -d $arg; then :
7820
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7822
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_spawn not parsed" >&5
7823
$as_echo "$as_me: WARNING: $arg of with_mpi_spawn not parsed" >&2;}
7826
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7828
ga_arg_parse_ok=no ;;
7830
# $arg didn't fit the most common cases
7831
# check for subdirectories e.g. lib,include
7832
if test "x$ga_arg_parse_ok" = xno; then :
7833
if test "x$ga_arg_parse_sizeof_voidp" = x8; then :
7834
if test -d $arg/lib64; then :
7835
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib64"; ga_arg_parse_ok=yes
7836
elif test -d $arg/lib; then :
7837
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
7839
if test -d $arg/include64; then :
7840
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include64"; ga_arg_parse_ok=yes
7841
elif test -d $arg/include; then :
7842
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
7845
if test -d $arg/lib; then :
7846
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
7848
if test -d $arg/include; then :
7849
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
7853
# $arg still unknown, look for "lib" and "include" anywhere...
7854
if test "x$ga_arg_parse_ok" = xno; then :
7857
if test -d $arg; then :
7858
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"; ga_arg_parse_ok=yes
7861
if test -d $arg; then :
7862
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"; ga_arg_parse_ok=yes
7868
# warn user that $arg fell through
7869
if test "x$ga_arg_parse_ok" = xno; then :
7870
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_spawn not parsed" >&5
7871
$as_echo "$as_me: WARNING: $arg of with_mpi_spawn not parsed" >&2;}
7875
if test "x$with_mpi_spawn" != xno && test "x$with_mpi_spawn" != x; then :
7876
ga_armci_network=MPI_SPAWN
7877
as_fn_arith $armci_network_count + 1 && armci_network_count=$as_val
7884
# Check whether --with-mpi-ts was given.
7885
if test "${with_mpi_ts+set}" = set; then :
7886
withval=$with_mpi_ts;
7891
if test "x$with_mpi_ts" != x; then :
7892
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ga_arg_parse_sizeof_voidp" ""; then :
7896
for arg in $with_mpi_ts ; do
7903
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7905
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
7907
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
7909
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
7911
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS $arg" ;; #(
7913
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7915
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7917
if test -d $arg; then :
7918
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7920
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_ts not parsed" >&5
7921
$as_echo "$as_me: WARNING: $arg of with_mpi_ts not parsed" >&2;}
7924
if test -d $arg; then :
7925
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7927
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_ts not parsed" >&5
7928
$as_echo "$as_me: WARNING: $arg of with_mpi_ts not parsed" >&2;}
7931
if test -d $arg; then :
7932
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7934
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_ts not parsed" >&5
7935
$as_echo "$as_me: WARNING: $arg of with_mpi_ts not parsed" >&2;}
7938
if test -d $arg; then :
7939
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
7941
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_ts not parsed" >&5
7942
$as_echo "$as_me: WARNING: $arg of with_mpi_ts not parsed" >&2;}
7945
if test -d $arg; then :
7946
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7948
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_ts not parsed" >&5
7949
$as_echo "$as_me: WARNING: $arg of with_mpi_ts not parsed" >&2;}
7952
if test -d $arg; then :
7953
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7955
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_ts not parsed" >&5
7956
$as_echo "$as_me: WARNING: $arg of with_mpi_ts not parsed" >&2;}
7959
if test -d $arg; then :
7960
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7962
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_ts not parsed" >&5
7963
$as_echo "$as_me: WARNING: $arg of with_mpi_ts not parsed" >&2;}
7966
if test -d $arg; then :
7967
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
7969
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_ts not parsed" >&5
7970
$as_echo "$as_me: WARNING: $arg of with_mpi_ts not parsed" >&2;}
7973
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
7975
ga_arg_parse_ok=no ;;
7977
# $arg didn't fit the most common cases
7978
# check for subdirectories e.g. lib,include
7979
if test "x$ga_arg_parse_ok" = xno; then :
7980
if test "x$ga_arg_parse_sizeof_voidp" = x8; then :
7981
if test -d $arg/lib64; then :
7982
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib64"; ga_arg_parse_ok=yes
7983
elif test -d $arg/lib; then :
7984
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
7986
if test -d $arg/include64; then :
7987
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include64"; ga_arg_parse_ok=yes
7988
elif test -d $arg/include; then :
7989
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
7992
if test -d $arg/lib; then :
7993
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
7995
if test -d $arg/include; then :
7996
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
8000
# $arg still unknown, look for "lib" and "include" anywhere...
8001
if test "x$ga_arg_parse_ok" = xno; then :
8004
if test -d $arg; then :
8005
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"; ga_arg_parse_ok=yes
8008
if test -d $arg; then :
8009
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"; ga_arg_parse_ok=yes
8015
# warn user that $arg fell through
8016
if test "x$ga_arg_parse_ok" = xno; then :
8017
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_mpi_ts not parsed" >&5
8018
$as_echo "$as_me: WARNING: $arg of with_mpi_ts not parsed" >&2;}
8022
if test "x$with_mpi_ts" != xno && test "x$with_mpi_ts" != x; then :
8023
ga_armci_network=MPI_TS
8024
as_fn_arith $armci_network_count + 1 && armci_network_count=$as_val
8031
# Check whether --with-ofa was given.
8032
if test "${with_ofa+set}" = set; then :
8038
if test "x$with_ofa" != x; then :
8039
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ga_arg_parse_sizeof_voidp" ""; then :
8043
for arg in $with_ofa ; do
8050
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
8052
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
8054
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
8056
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
8058
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS $arg" ;; #(
8060
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
8062
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
8064
if test -d $arg; then :
8065
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
8067
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_ofa not parsed" >&5
8068
$as_echo "$as_me: WARNING: $arg of with_ofa not parsed" >&2;}
8071
if test -d $arg; then :
8072
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
8074
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_ofa not parsed" >&5
8075
$as_echo "$as_me: WARNING: $arg of with_ofa not parsed" >&2;}
8078
if test -d $arg; then :
8079
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
8081
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_ofa not parsed" >&5
8082
$as_echo "$as_me: WARNING: $arg of with_ofa not parsed" >&2;}
8085
if test -d $arg; then :
8086
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
8088
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_ofa not parsed" >&5
8089
$as_echo "$as_me: WARNING: $arg of with_ofa not parsed" >&2;}
8092
if test -d $arg; then :
8093
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
8095
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_ofa not parsed" >&5
8096
$as_echo "$as_me: WARNING: $arg of with_ofa not parsed" >&2;}
8099
if test -d $arg; then :
8100
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
8102
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_ofa not parsed" >&5
8103
$as_echo "$as_me: WARNING: $arg of with_ofa not parsed" >&2;}
8106
if test -d $arg; then :
8107
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
8109
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_ofa not parsed" >&5
8110
$as_echo "$as_me: WARNING: $arg of with_ofa not parsed" >&2;}
8113
if test -d $arg; then :
8114
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
8116
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_ofa not parsed" >&5
8117
$as_echo "$as_me: WARNING: $arg of with_ofa not parsed" >&2;}
8120
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
8122
ga_arg_parse_ok=no ;;
8124
# $arg didn't fit the most common cases
8125
# check for subdirectories e.g. lib,include
8126
if test "x$ga_arg_parse_ok" = xno; then :
8127
if test "x$ga_arg_parse_sizeof_voidp" = x8; then :
8128
if test -d $arg/lib64; then :
8129
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib64"; ga_arg_parse_ok=yes
8130
elif test -d $arg/lib; then :
8131
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
8133
if test -d $arg/include64; then :
8134
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include64"; ga_arg_parse_ok=yes
8135
elif test -d $arg/include; then :
8136
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
8139
if test -d $arg/lib; then :
8140
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
8142
if test -d $arg/include; then :
8143
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
8147
# $arg still unknown, look for "lib" and "include" anywhere...
8148
if test "x$ga_arg_parse_ok" = xno; then :
8151
if test -d $arg; then :
8152
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"; ga_arg_parse_ok=yes
8155
if test -d $arg; then :
8156
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"; ga_arg_parse_ok=yes
8162
# warn user that $arg fell through
8163
if test "x$ga_arg_parse_ok" = xno; then :
8164
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_ofa not parsed" >&5
8165
$as_echo "$as_me: WARNING: $arg of with_ofa not parsed" >&2;}
8169
if test "x$with_ofa" != xno && test "x$with_ofa" != x; then :
8170
ga_armci_network=OFA
8171
as_fn_arith $armci_network_count + 1 && armci_network_count=$as_val
8178
# Check whether --with-openib was given.
8179
if test "${with_openib+set}" = set; then :
8180
withval=$with_openib;
8185
if test "x$with_openib" != x; then :
8186
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ga_arg_parse_sizeof_voidp" ""; then :
8190
for arg in $with_openib ; do
8197
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
8199
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
8201
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
8203
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
8205
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS $arg" ;; #(
8207
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
8209
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
8211
if test -d $arg; then :
8212
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
8214
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_openib not parsed" >&5
8215
$as_echo "$as_me: WARNING: $arg of with_openib not parsed" >&2;}
8218
if test -d $arg; then :
8219
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
8221
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_openib not parsed" >&5
8222
$as_echo "$as_me: WARNING: $arg of with_openib not parsed" >&2;}
8225
if test -d $arg; then :
8226
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
8228
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_openib not parsed" >&5
8229
$as_echo "$as_me: WARNING: $arg of with_openib not parsed" >&2;}
8232
if test -d $arg; then :
8233
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
8235
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_openib not parsed" >&5
8236
$as_echo "$as_me: WARNING: $arg of with_openib not parsed" >&2;}
8239
if test -d $arg; then :
8240
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
8242
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_openib not parsed" >&5
8243
$as_echo "$as_me: WARNING: $arg of with_openib not parsed" >&2;}
8246
if test -d $arg; then :
8247
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
8249
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_openib not parsed" >&5
8250
$as_echo "$as_me: WARNING: $arg of with_openib not parsed" >&2;}
8253
if test -d $arg; then :
8254
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
8256
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_openib not parsed" >&5
8257
$as_echo "$as_me: WARNING: $arg of with_openib not parsed" >&2;}
8260
if test -d $arg; then :
8261
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
8263
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_openib not parsed" >&5
8264
$as_echo "$as_me: WARNING: $arg of with_openib not parsed" >&2;}
8267
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
8269
ga_arg_parse_ok=no ;;
8271
# $arg didn't fit the most common cases
8272
# check for subdirectories e.g. lib,include
8273
if test "x$ga_arg_parse_ok" = xno; then :
8274
if test "x$ga_arg_parse_sizeof_voidp" = x8; then :
8275
if test -d $arg/lib64; then :
8276
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib64"; ga_arg_parse_ok=yes
8277
elif test -d $arg/lib; then :
8278
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
8280
if test -d $arg/include64; then :
8281
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include64"; ga_arg_parse_ok=yes
8282
elif test -d $arg/include; then :
8283
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
8286
if test -d $arg/lib; then :
8287
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
8289
if test -d $arg/include; then :
8290
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
8294
# $arg still unknown, look for "lib" and "include" anywhere...
8295
if test "x$ga_arg_parse_ok" = xno; then :
8298
if test -d $arg; then :
8299
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"; ga_arg_parse_ok=yes
8302
if test -d $arg; then :
8303
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"; ga_arg_parse_ok=yes
8309
# warn user that $arg fell through
8310
if test "x$ga_arg_parse_ok" = xno; then :
8311
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_openib not parsed" >&5
8312
$as_echo "$as_me: WARNING: $arg of with_openib not parsed" >&2;}
8316
if test "x$with_openib" != xno && test "x$with_openib" != x; then :
8317
ga_armci_network=OPENIB
8318
as_fn_arith $armci_network_count + 1 && armci_network_count=$as_val
8325
# Check whether --with-portals was given.
8326
if test "${with_portals+set}" = set; then :
8327
withval=$with_portals;
8332
if test "x$with_portals" != x; then :
8333
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ga_arg_parse_sizeof_voidp" ""; then :
8337
for arg in $with_portals ; do
8344
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
8346
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
8348
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
8350
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
8352
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS $arg" ;; #(
8354
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
8356
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
8358
if test -d $arg; then :
8359
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
8361
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_portals not parsed" >&5
8362
$as_echo "$as_me: WARNING: $arg of with_portals not parsed" >&2;}
8365
if test -d $arg; then :
8366
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
8368
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_portals not parsed" >&5
8369
$as_echo "$as_me: WARNING: $arg of with_portals not parsed" >&2;}
8372
if test -d $arg; then :
8373
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
8375
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_portals not parsed" >&5
8376
$as_echo "$as_me: WARNING: $arg of with_portals not parsed" >&2;}
8379
if test -d $arg; then :
8380
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
8382
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_portals not parsed" >&5
8383
$as_echo "$as_me: WARNING: $arg of with_portals not parsed" >&2;}
8386
if test -d $arg; then :
8387
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
8389
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_portals not parsed" >&5
8390
$as_echo "$as_me: WARNING: $arg of with_portals not parsed" >&2;}
8393
if test -d $arg; then :
8394
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
8396
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_portals not parsed" >&5
8397
$as_echo "$as_me: WARNING: $arg of with_portals not parsed" >&2;}
8400
if test -d $arg; then :
8401
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
8403
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_portals not parsed" >&5
8404
$as_echo "$as_me: WARNING: $arg of with_portals not parsed" >&2;}
8407
if test -d $arg; then :
8408
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
8410
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_portals not parsed" >&5
8411
$as_echo "$as_me: WARNING: $arg of with_portals not parsed" >&2;}
8414
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
8416
ga_arg_parse_ok=no ;;
8418
# $arg didn't fit the most common cases
8419
# check for subdirectories e.g. lib,include
8420
if test "x$ga_arg_parse_ok" = xno; then :
8421
if test "x$ga_arg_parse_sizeof_voidp" = x8; then :
8422
if test -d $arg/lib64; then :
8423
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib64"; ga_arg_parse_ok=yes
8424
elif test -d $arg/lib; then :
8425
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
8427
if test -d $arg/include64; then :
8428
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include64"; ga_arg_parse_ok=yes
8429
elif test -d $arg/include; then :
8430
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
8433
if test -d $arg/lib; then :
8434
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
8436
if test -d $arg/include; then :
8437
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
8441
# $arg still unknown, look for "lib" and "include" anywhere...
8442
if test "x$ga_arg_parse_ok" = xno; then :
8445
if test -d $arg; then :
8446
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"; ga_arg_parse_ok=yes
8449
if test -d $arg; then :
8450
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"; ga_arg_parse_ok=yes
8456
# warn user that $arg fell through
8457
if test "x$ga_arg_parse_ok" = xno; then :
8458
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_portals not parsed" >&5
8459
$as_echo "$as_me: WARNING: $arg of with_portals not parsed" >&2;}
8463
if test "x$with_portals" != xno && test "x$with_portals" != x; then :
8464
ga_armci_network=PORTALS
8465
as_fn_arith $armci_network_count + 1 && armci_network_count=$as_val
8472
# Check whether --with-sockets was given.
8473
if test "${with_sockets+set}" = set; then :
8474
withval=$with_sockets;
8479
if test "x$with_sockets" != x; then :
8480
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ga_arg_parse_sizeof_voidp" ""; then :
8484
for arg in $with_sockets ; do
8491
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
8493
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
8495
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
8497
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS $arg" ;; #(
8499
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS $arg" ;; #(
8501
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
8503
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
8505
if test -d $arg; then :
8506
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
8508
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_sockets not parsed" >&5
8509
$as_echo "$as_me: WARNING: $arg of with_sockets not parsed" >&2;}
8512
if test -d $arg; then :
8513
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
8515
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_sockets not parsed" >&5
8516
$as_echo "$as_me: WARNING: $arg of with_sockets not parsed" >&2;}
8519
if test -d $arg; then :
8520
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
8522
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_sockets not parsed" >&5
8523
$as_echo "$as_me: WARNING: $arg of with_sockets not parsed" >&2;}
8526
if test -d $arg; then :
8527
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"
8529
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_sockets not parsed" >&5
8530
$as_echo "$as_me: WARNING: $arg of with_sockets not parsed" >&2;}
8533
if test -d $arg; then :
8534
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
8536
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_sockets not parsed" >&5
8537
$as_echo "$as_me: WARNING: $arg of with_sockets not parsed" >&2;}
8540
if test -d $arg; then :
8541
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
8543
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_sockets not parsed" >&5
8544
$as_echo "$as_me: WARNING: $arg of with_sockets not parsed" >&2;}
8547
if test -d $arg; then :
8548
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
8550
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_sockets not parsed" >&5
8551
$as_echo "$as_me: WARNING: $arg of with_sockets not parsed" >&2;}
8554
if test -d $arg; then :
8555
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"
8557
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_sockets not parsed" >&5
8558
$as_echo "$as_me: WARNING: $arg of with_sockets not parsed" >&2;}
8561
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $arg" ;; #(
8563
ga_arg_parse_ok=no ;;
8565
# $arg didn't fit the most common cases
8566
# check for subdirectories e.g. lib,include
8567
if test "x$ga_arg_parse_ok" = xno; then :
8568
if test "x$ga_arg_parse_sizeof_voidp" = x8; then :
8569
if test -d $arg/lib64; then :
8570
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib64"; ga_arg_parse_ok=yes
8571
elif test -d $arg/lib; then :
8572
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
8574
if test -d $arg/include64; then :
8575
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include64"; ga_arg_parse_ok=yes
8576
elif test -d $arg/include; then :
8577
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
8580
if test -d $arg/lib; then :
8581
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg/lib"; ga_arg_parse_ok=yes
8583
if test -d $arg/include; then :
8584
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg/include"; ga_arg_parse_ok=yes
8588
# $arg still unknown, look for "lib" and "include" anywhere...
8589
if test "x$ga_arg_parse_ok" = xno; then :
8592
if test -d $arg; then :
8593
ARMCI_NETWORK_LDFLAGS="$ARMCI_NETWORK_LDFLAGS -L$arg"; ga_arg_parse_ok=yes
8596
if test -d $arg; then :
8597
ARMCI_NETWORK_CPPFLAGS="$ARMCI_NETWORK_CPPFLAGS -I$arg"; ga_arg_parse_ok=yes
8603
# warn user that $arg fell through
8604
if test "x$ga_arg_parse_ok" = xno; then :
8605
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arg of with_sockets not parsed" >&5
8606
$as_echo "$as_me: WARNING: $arg of with_sockets not parsed" >&2;}
8610
if test "x$with_sockets" != xno && test "x$with_sockets" != x; then :
8611
ga_armci_network=SOCKETS
8612
as_fn_arith $armci_network_count + 1 && armci_network_count=$as_val
8617
# Temporarily add ARMCI_NETWORK_CPPFLAGS to CPPFLAGS.
8618
ga_save_CPPFLAGS="$CPPFLAGS"; CPPFLAGS="$CPPFLAGS $ARMCI_NETWORK_CPPFLAGS"
8619
# Temporarily add ARMCI_NETWORK_LDFLAGS to LDFLAGS.
8620
ga_save_LDFLAGS="$LDFLAGS"; LDFLAGS="$LDFLAGS $ARMCI_NETWORK_LDFLAGS"
8621
# Temporarily add ARMCI_NETWORK_LIBS to LIBS.
8622
ga_save_LIBS="$LIBS"; LIBS="$ARMCI_NETWORK_LIBS $LIBS"
8623
if test "x$enable_autodetect" = xyes; then :
8624
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for ARMCI_NETWORK..." >&5
8625
$as_echo "$as_me: searching for ARMCI_NETWORK..." >&6;}
8626
if test "x$ga_armci_network" = x && test "x$with_bgml" != xno; then :
8628
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for BGML..." >&5
8629
$as_echo "$as_me: searching for BGML..." >&6;}
8631
if test "x$happy" = xyes; then :
8632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing BGLML_memcpy" >&5
8633
$as_echo_n "checking for library containing BGLML_memcpy... " >&6; }
8634
if ${ac_cv_search_BGLML_memcpy+:} false; then :
8635
$as_echo_n "(cached) " >&6
8637
ac_func_search_save_LIBS=$LIBS
8638
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8639
/* end confdefs.h. */
8641
/* Override any GCC internal prototype to avoid an error.
8642
Use char because int might match the return type of a GCC
8643
builtin and then its argument prototype would still apply. */
8647
char BGLML_memcpy ();
8651
return BGLML_memcpy ();
8656
for ac_lib in '' msglayer.rts; do
8657
if test -z "$ac_lib"; then
8658
ac_res="none required"
8661
LIBS="-l$ac_lib -lrts.rts -ldevices.rts $ac_func_search_save_LIBS"
8663
if ac_fn_c_try_link "$LINENO"; then :
8664
ac_cv_search_BGLML_memcpy=$ac_res
8666
rm -f core conftest.err conftest.$ac_objext \
8668
if ${ac_cv_search_BGLML_memcpy+:} false; then :
8672
if ${ac_cv_search_BGLML_memcpy+:} false; then :
8675
ac_cv_search_BGLML_memcpy=no
8678
LIBS=$ac_func_search_save_LIBS
8680
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_BGLML_memcpy" >&5
8681
$as_echo "$ac_cv_search_BGLML_memcpy" >&6; }
8682
ac_res=$ac_cv_search_BGLML_memcpy
8683
if test "$ac_res" != no; then :
8684
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8690
case $ac_cv_search_BGLML_memcpy in #(
8696
# add msglayer.rts to ARMCI_NETWORK_LIBS if not there
8697
case $ARMCI_NETWORK_LIBS in #(
8701
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS -lmsglayer.rts" ;;
8703
# add extra lib rts.rts to ARMCI_NETWORK_LIBS if not there
8704
case $ARMCI_NETWORK_LIBS in #(
8708
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS -lrts.rts" ;;
8710
# add extra lib devices.rts to ARMCI_NETWORK_LIBS if not there
8711
case $ARMCI_NETWORK_LIBS in #(
8715
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS -ldevices.rts" ;;
8719
if test "x$happy" = xyes; then :
8720
ga_armci_network=BGML; with_bgml=yes;
8724
if test "x$ga_armci_network" = x && test "x$with_cray_shmem" != xno; then :
8726
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for CRAY_SHMEM..." >&5
8727
$as_echo "$as_me: searching for CRAY_SHMEM..." >&6;}
8729
if test "x$happy" = xyes; then :
8730
ac_fn_c_check_header_mongrel "$LINENO" "mpp/shmem.h" "ac_cv_header_mpp_shmem_h" "$ac_includes_default"
8731
if test "x$ac_cv_header_mpp_shmem_h" = xyes; then :
8734
ac_fn_c_check_header_mongrel "$LINENO" "shmem.h" "ac_cv_header_shmem_h" "$ac_includes_default"
8735
if test "x$ac_cv_header_shmem_h" = xyes; then :
8746
if test "x$happy" = xyes; then :
8747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing shmem_init" >&5
8748
$as_echo_n "checking for library containing shmem_init... " >&6; }
8749
if ${ac_cv_search_shmem_init+:} false; then :
8750
$as_echo_n "(cached) " >&6
8752
ac_func_search_save_LIBS=$LIBS
8753
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8754
/* end confdefs.h. */
8756
/* Override any GCC internal prototype to avoid an error.
8757
Use char because int might match the return type of a GCC
8758
builtin and then its argument prototype would still apply. */
8766
return shmem_init ();
8771
for ac_lib in '' sma; do
8772
if test -z "$ac_lib"; then
8773
ac_res="none required"
8776
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8778
if ac_fn_c_try_link "$LINENO"; then :
8779
ac_cv_search_shmem_init=$ac_res
8781
rm -f core conftest.err conftest.$ac_objext \
8783
if ${ac_cv_search_shmem_init+:} false; then :
8787
if ${ac_cv_search_shmem_init+:} false; then :
8790
ac_cv_search_shmem_init=no
8793
LIBS=$ac_func_search_save_LIBS
8795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shmem_init" >&5
8796
$as_echo "$ac_cv_search_shmem_init" >&6; }
8797
ac_res=$ac_cv_search_shmem_init
8798
if test "$ac_res" != no; then :
8799
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8805
case $ac_cv_search_shmem_init in #(
8811
# add sma to ARMCI_NETWORK_LIBS if not there
8812
case $ARMCI_NETWORK_LIBS in #(
8816
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS -lsma" ;;
8820
if test "x$happy" = xyes; then :
8821
ga_armci_network=CRAY_SHMEM; with_cray_shmem=yes;
8825
if test "x$ga_armci_network" = x && test "x$with_dcmf" != xno; then :
8827
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for DCMF..." >&5
8828
$as_echo "$as_me: searching for DCMF..." >&6;}
8830
if test "x$happy" = xyes; then :
8831
ac_fn_c_check_header_mongrel "$LINENO" "dcmf.h" "ac_cv_header_dcmf_h" "$ac_includes_default"
8832
if test "x$ac_cv_header_dcmf_h" = xyes; then :
8840
if test "x$happy" = xyes; then :
8841
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing DCMF_Messager_initialize" >&5
8842
$as_echo_n "checking for library containing DCMF_Messager_initialize... " >&6; }
8843
if ${ac_cv_search_DCMF_Messager_initialize+:} false; then :
8844
$as_echo_n "(cached) " >&6
8846
ac_func_search_save_LIBS=$LIBS
8847
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8848
/* end confdefs.h. */
8850
/* Override any GCC internal prototype to avoid an error.
8851
Use char because int might match the return type of a GCC
8852
builtin and then its argument prototype would still apply. */
8856
char DCMF_Messager_initialize ();
8860
return DCMF_Messager_initialize ();
8865
for ac_lib in '' dcmf.cnk; do
8866
if test -z "$ac_lib"; then
8867
ac_res="none required"
8870
LIBS="-l$ac_lib -ldcmfcoll.cnk -lSPI.cna -lrt $ac_func_search_save_LIBS"
8872
if ac_fn_c_try_link "$LINENO"; then :
8873
ac_cv_search_DCMF_Messager_initialize=$ac_res
8875
rm -f core conftest.err conftest.$ac_objext \
8877
if ${ac_cv_search_DCMF_Messager_initialize+:} false; then :
8881
if ${ac_cv_search_DCMF_Messager_initialize+:} false; then :
8884
ac_cv_search_DCMF_Messager_initialize=no
8887
LIBS=$ac_func_search_save_LIBS
8889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DCMF_Messager_initialize" >&5
8890
$as_echo "$ac_cv_search_DCMF_Messager_initialize" >&6; }
8891
ac_res=$ac_cv_search_DCMF_Messager_initialize
8892
if test "$ac_res" != no; then :
8893
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8899
case $ac_cv_search_DCMF_Messager_initialize in #(
8905
# add dcmf.cnk to ARMCI_NETWORK_LIBS if not there
8906
case $ARMCI_NETWORK_LIBS in #(
8910
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS -ldcmf.cnk" ;;
8912
# add extra lib dcmfcoll.cnk if not there
8913
case $ARMCI_NETWORK_LIBS in #(
8917
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS -ldcmfcoll.cnk" ;;
8919
# add extra lib SPI.cna if not there
8920
case $ARMCI_NETWORK_LIBS in #(
8924
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS -lSPI.cna" ;;
8926
# add extra lib rt if not there
8927
case $ARMCI_NETWORK_LIBS in #(
8931
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS -lrt" ;;
8935
if test "x$happy" = xyes; then :
8936
ga_armci_network=DCMF; with_dcmf=yes;
8940
if test "x$ga_armci_network" = x && test "x$with_lapi" != xno; then :
8942
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for LAPI..." >&5
8943
$as_echo "$as_me: searching for LAPI..." >&6;}
8945
if test "x$happy" = xyes; then :
8946
ac_fn_c_check_header_mongrel "$LINENO" "lapi.h" "ac_cv_header_lapi_h" "$ac_includes_default"
8947
if test "x$ac_cv_header_lapi_h" = xyes; then :
8955
if test "x$happy" = xyes; then :
8956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing LAPI_Init" >&5
8957
$as_echo_n "checking for library containing LAPI_Init... " >&6; }
8958
if ${ac_cv_search_LAPI_Init+:} false; then :
8959
$as_echo_n "(cached) " >&6
8961
ac_func_search_save_LIBS=$LIBS
8962
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8963
/* end confdefs.h. */
8965
/* Override any GCC internal prototype to avoid an error.
8966
Use char because int might match the return type of a GCC
8967
builtin and then its argument prototype would still apply. */
8975
return LAPI_Init ();
8980
for ac_lib in '' lapi_r lapi; do
8981
if test -z "$ac_lib"; then
8982
ac_res="none required"
8985
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8987
if ac_fn_c_try_link "$LINENO"; then :
8988
ac_cv_search_LAPI_Init=$ac_res
8990
rm -f core conftest.err conftest.$ac_objext \
8992
if ${ac_cv_search_LAPI_Init+:} false; then :
8996
if ${ac_cv_search_LAPI_Init+:} false; then :
8999
ac_cv_search_LAPI_Init=no
9002
LIBS=$ac_func_search_save_LIBS
9004
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_LAPI_Init" >&5
9005
$as_echo "$ac_cv_search_LAPI_Init" >&6; }
9006
ac_res=$ac_cv_search_LAPI_Init
9007
if test "$ac_res" != no; then :
9008
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9014
case $ac_cv_search_LAPI_Init in #(
9020
# add missing lib to ARMCI_NETWORK_LIBS if not there
9021
case $ARMCI_NETWORK_LIBS in #(
9022
*$ac_cv_search_LAPI_Init*) :
9025
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $ac_cv_search_LAPI_Init" ;;
9029
if test "x$happy" = xyes; then :
9030
ga_armci_network=LAPI; with_lapi=yes;
9034
if test "x$ga_armci_network" = x && test "x$with_ofa" != xno; then :
9036
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for OFA..." >&5
9037
$as_echo "$as_me: searching for OFA..." >&6;}
9039
if test "x$happy" = xyes; then :
9040
ac_fn_c_check_header_mongrel "$LINENO" "infiniband/verbs.h" "ac_cv_header_infiniband_verbs_h" "$ac_includes_default"
9041
if test "x$ac_cv_header_infiniband_verbs_h" = xyes; then :
9049
if test "x$happy" = xyes; then :
9050
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ibv_open_device" >&5
9051
$as_echo_n "checking for library containing ibv_open_device... " >&6; }
9052
if ${ac_cv_search_ibv_open_device+:} false; then :
9053
$as_echo_n "(cached) " >&6
9055
ac_func_search_save_LIBS=$LIBS
9056
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9057
/* end confdefs.h. */
9059
/* Override any GCC internal prototype to avoid an error.
9060
Use char because int might match the return type of a GCC
9061
builtin and then its argument prototype would still apply. */
9065
char ibv_open_device ();
9069
return ibv_open_device ();
9074
for ac_lib in '' ibverbs; do
9075
if test -z "$ac_lib"; then
9076
ac_res="none required"
9079
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9081
if ac_fn_c_try_link "$LINENO"; then :
9082
ac_cv_search_ibv_open_device=$ac_res
9084
rm -f core conftest.err conftest.$ac_objext \
9086
if ${ac_cv_search_ibv_open_device+:} false; then :
9090
if ${ac_cv_search_ibv_open_device+:} false; then :
9093
ac_cv_search_ibv_open_device=no
9096
LIBS=$ac_func_search_save_LIBS
9098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ibv_open_device" >&5
9099
$as_echo "$ac_cv_search_ibv_open_device" >&6; }
9100
ac_res=$ac_cv_search_ibv_open_device
9101
if test "$ac_res" != no; then :
9102
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9108
case $ac_cv_search_ibv_open_device in #(
9114
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $ac_cv_search_ibv_open_device" ;;
9117
if test "x$happy" = xyes; then :
9118
ga_armci_network=OFA; with_ofa=yes;
9122
if test "x$ga_armci_network" = x && test "x$with_openib" != xno; then :
9124
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for OPENIB..." >&5
9125
$as_echo "$as_me: searching for OPENIB..." >&6;}
9127
if test "x$happy" = xyes; then :
9128
ac_fn_c_check_header_mongrel "$LINENO" "infiniband/verbs.h" "ac_cv_header_infiniband_verbs_h" "$ac_includes_default"
9129
if test "x$ac_cv_header_infiniband_verbs_h" = xyes; then :
9137
if test "x$happy" = xyes; then :
9138
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ibv_open_device" >&5
9139
$as_echo_n "checking for library containing ibv_open_device... " >&6; }
9140
if ${ac_cv_search_ibv_open_device+:} false; then :
9141
$as_echo_n "(cached) " >&6
9143
ac_func_search_save_LIBS=$LIBS
9144
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9145
/* end confdefs.h. */
9147
/* Override any GCC internal prototype to avoid an error.
9148
Use char because int might match the return type of a GCC
9149
builtin and then its argument prototype would still apply. */
9153
char ibv_open_device ();
9157
return ibv_open_device ();
9162
for ac_lib in '' ibverbs; do
9163
if test -z "$ac_lib"; then
9164
ac_res="none required"
9167
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9169
if ac_fn_c_try_link "$LINENO"; then :
9170
ac_cv_search_ibv_open_device=$ac_res
9172
rm -f core conftest.err conftest.$ac_objext \
9174
if ${ac_cv_search_ibv_open_device+:} false; then :
9178
if ${ac_cv_search_ibv_open_device+:} false; then :
9181
ac_cv_search_ibv_open_device=no
9184
LIBS=$ac_func_search_save_LIBS
9186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ibv_open_device" >&5
9187
$as_echo "$ac_cv_search_ibv_open_device" >&6; }
9188
ac_res=$ac_cv_search_ibv_open_device
9189
if test "$ac_res" != no; then :
9190
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9196
case $ac_cv_search_ibv_open_device in #(
9202
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $ac_cv_search_ibv_open_device" ;;
9205
if test "x$happy" = xyes; then :
9206
ga_armci_network=OPENIB; with_openib=yes;
9210
if test "x$ga_armci_network" = x && test "x$with_portals" != xno; then :
9212
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for PORTALS..." >&5
9213
$as_echo "$as_me: searching for PORTALS..." >&6;}
9215
if test "x$happy" = xyes; then :
9216
ac_fn_c_check_header_mongrel "$LINENO" "portals/portals3.h" "ac_cv_header_portals_portals3_h" "$ac_includes_default"
9217
if test "x$ac_cv_header_portals_portals3_h" = xyes; then :
9225
if test "x$happy" = xyes; then :
9226
ac_fn_c_check_header_mongrel "$LINENO" "portals/nal.h" "ac_cv_header_portals_nal_h" "$ac_includes_default"
9227
if test "x$ac_cv_header_portals_nal_h" = xyes; then :
9235
if test "x$happy" = xyes; then :
9236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing PtlInit" >&5
9237
$as_echo_n "checking for library containing PtlInit... " >&6; }
9238
if ${ac_cv_search_PtlInit+:} false; then :
9239
$as_echo_n "(cached) " >&6
9241
ac_func_search_save_LIBS=$LIBS
9242
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9243
/* end confdefs.h. */
9245
/* Override any GCC internal prototype to avoid an error.
9246
Use char because int might match the return type of a GCC
9247
builtin and then its argument prototype would still apply. */
9260
for ac_lib in '' portals; do
9261
if test -z "$ac_lib"; then
9262
ac_res="none required"
9265
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9267
if ac_fn_c_try_link "$LINENO"; then :
9268
ac_cv_search_PtlInit=$ac_res
9270
rm -f core conftest.err conftest.$ac_objext \
9272
if ${ac_cv_search_PtlInit+:} false; then :
9276
if ${ac_cv_search_PtlInit+:} false; then :
9279
ac_cv_search_PtlInit=no
9282
LIBS=$ac_func_search_save_LIBS
9284
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_PtlInit" >&5
9285
$as_echo "$ac_cv_search_PtlInit" >&6; }
9286
ac_res=$ac_cv_search_PtlInit
9287
if test "$ac_res" != no; then :
9288
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9295
if test "x$happy" = xyes; then :
9296
ga_armci_network=PORTALS; with_portals=yes;
9300
if test "x$ga_armci_network" = x && test "x$with_dmapp" != xno; then :
9302
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for DMAPP..." >&5
9303
$as_echo "$as_me: searching for DMAPP..." >&6;}
9305
if test "x$happy" = xyes; then :
9306
ga_armci_network=DMAPP; with_dmapp=yes;
9308
if test "x$happy" = xyes; then :
9309
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethugepagesize" >&5
9310
$as_echo_n "checking for library containing gethugepagesize... " >&6; }
9311
if ${ac_cv_search_gethugepagesize+:} false; then :
9312
$as_echo_n "(cached) " >&6
9314
ac_func_search_save_LIBS=$LIBS
9315
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9316
/* end confdefs.h. */
9318
/* Override any GCC internal prototype to avoid an error.
9319
Use char because int might match the return type of a GCC
9320
builtin and then its argument prototype would still apply. */
9324
char gethugepagesize ();
9328
return gethugepagesize ();
9333
for ac_lib in '' hugetlbfs; do
9334
if test -z "$ac_lib"; then
9335
ac_res="none required"
9338
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9340
if ac_fn_c_try_link "$LINENO"; then :
9341
ac_cv_search_gethugepagesize=$ac_res
9343
rm -f core conftest.err conftest.$ac_objext \
9345
if ${ac_cv_search_gethugepagesize+:} false; then :
9349
if ${ac_cv_search_gethugepagesize+:} false; then :
9352
ac_cv_search_gethugepagesize=no
9355
LIBS=$ac_func_search_save_LIBS
9357
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethugepagesize" >&5
9358
$as_echo "$ac_cv_search_gethugepagesize" >&6; }
9359
ac_res=$ac_cv_search_gethugepagesize
9360
if test "$ac_res" != no; then :
9361
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9365
case $ac_cv_search_gethugepagesize in #(
9371
# add missing lib to ARMCI_NETWORK_LIBS if not there
9372
case $ARMCI_NETWORK_LIBS in #(
9373
*$ac_cv_search_gethugepagesize*) :
9376
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $ac_cv_search_gethugepagesize" ;;
9382
if test "x$ga_armci_network" = x && test "x$with_gemini" != xno; then :
9384
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for GEMINI..." >&5
9385
$as_echo "$as_me: searching for GEMINI..." >&6;}
9387
if test "x$happy" = xyes; then :
9388
ac_fn_c_check_header_compile "$LINENO" "numatoolkit.h" "ac_cv_header_numatoolkit_h" "
9389
$ac_includes_default
9392
if test "x$ac_cv_header_numatoolkit_h" = xyes; then :
9400
if test "x$happy" = xyes; then :
9401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing NTK_Init" >&5
9402
$as_echo_n "checking for library containing NTK_Init... " >&6; }
9403
if ${ac_cv_search_NTK_Init+:} false; then :
9404
$as_echo_n "(cached) " >&6
9406
ac_func_search_save_LIBS=$LIBS
9407
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9408
/* end confdefs.h. */
9410
/* Override any GCC internal prototype to avoid an error.
9411
Use char because int might match the return type of a GCC
9412
builtin and then its argument prototype would still apply. */
9425
for ac_lib in '' numatoolkit; do
9426
if test -z "$ac_lib"; then
9427
ac_res="none required"
9430
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9432
if ac_fn_c_try_link "$LINENO"; then :
9433
ac_cv_search_NTK_Init=$ac_res
9435
rm -f core conftest.err conftest.$ac_objext \
9437
if ${ac_cv_search_NTK_Init+:} false; then :
9441
if ${ac_cv_search_NTK_Init+:} false; then :
9444
ac_cv_search_NTK_Init=no
9447
LIBS=$ac_func_search_save_LIBS
9449
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_NTK_Init" >&5
9450
$as_echo "$ac_cv_search_NTK_Init" >&6; }
9451
ac_res=$ac_cv_search_NTK_Init
9452
if test "$ac_res" != no; then :
9453
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9460
# CPPFLAGS must have CRAY_UGNI before looking for the next headers.
9461
gemini_save_CPPFLAGS="$CPPFLAGS"; CPPFLAGS="$CPPFLAGS -DCRAY_UGNI"
9462
if test "x$happy" = xyes; then :
9463
ac_fn_c_check_header_mongrel "$LINENO" "onesided.h" "ac_cv_header_onesided_h" "$ac_includes_default"
9464
if test "x$ac_cv_header_onesided_h" = xyes; then :
9472
if test "x$happy" = xyes; then :
9473
ac_fn_c_check_header_mongrel "$LINENO" "gni.h" "ac_cv_header_gni_h" "$ac_includes_default"
9474
if test "x$ac_cv_header_gni_h" = xyes; then :
9482
CPPFLAGS="$gemini_save_CPPFLAGS"
9483
if test "x$happy" = xyes; then :
9484
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gniInit" >&5
9485
$as_echo_n "checking for library containing gniInit... " >&6; }
9486
if ${ac_cv_search_gniInit+:} false; then :
9487
$as_echo_n "(cached) " >&6
9489
ac_func_search_save_LIBS=$LIBS
9490
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9491
/* end confdefs.h. */
9493
/* Override any GCC internal prototype to avoid an error.
9494
Use char because int might match the return type of a GCC
9495
builtin and then its argument prototype would still apply. */
9508
for ac_lib in '' onesided; do
9509
if test -z "$ac_lib"; then
9510
ac_res="none required"
9513
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9515
if ac_fn_c_try_link "$LINENO"; then :
9516
ac_cv_search_gniInit=$ac_res
9518
rm -f core conftest.err conftest.$ac_objext \
9520
if ${ac_cv_search_gniInit+:} false; then :
9524
if ${ac_cv_search_gniInit+:} false; then :
9527
ac_cv_search_gniInit=no
9530
LIBS=$ac_func_search_save_LIBS
9532
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gniInit" >&5
9533
$as_echo "$ac_cv_search_gniInit" >&6; }
9534
ac_res=$ac_cv_search_gniInit
9535
if test "$ac_res" != no; then :
9536
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9543
if test "x$happy" = xyes; then :
9544
ga_armci_network=GEMINI; with_gemini=yes;
9546
# check for a function introduced in libonesided/1.5
9547
# we purposefully abuse the ac_cv_search_onesided_mem_htflush value
9548
if test "x$happy" = xyes; then :
9549
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing onesided_mem_htflush" >&5
9550
$as_echo_n "checking for library containing onesided_mem_htflush... " >&6; }
9551
if ${ac_cv_search_onesided_mem_htflush+:} false; then :
9552
$as_echo_n "(cached) " >&6
9554
ac_func_search_save_LIBS=$LIBS
9555
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9556
/* end confdefs.h. */
9558
/* Override any GCC internal prototype to avoid an error.
9559
Use char because int might match the return type of a GCC
9560
builtin and then its argument prototype would still apply. */
9564
char onesided_mem_htflush ();
9568
return onesided_mem_htflush ();
9573
for ac_lib in '' onesided; do
9574
if test -z "$ac_lib"; then
9575
ac_res="none required"
9578
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9580
if ac_fn_c_try_link "$LINENO"; then :
9581
ac_cv_search_onesided_mem_htflush=$ac_res
9583
rm -f core conftest.err conftest.$ac_objext \
9585
if ${ac_cv_search_onesided_mem_htflush+:} false; then :
9589
if ${ac_cv_search_onesided_mem_htflush+:} false; then :
9592
ac_cv_search_onesided_mem_htflush=no
9595
LIBS=$ac_func_search_save_LIBS
9597
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_onesided_mem_htflush" >&5
9598
$as_echo "$ac_cv_search_onesided_mem_htflush" >&6; }
9599
ac_res=$ac_cv_search_onesided_mem_htflush
9600
if test "$ac_res" != no; then :
9601
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9605
if test "x$ac_cv_search_onesided_mem_htflush" != xno; then :
9606
ac_cv_search_onesided_mem_htflush=1
9608
ac_cv_search_onesided_mem_htflush=0
9611
cat >>confdefs.h <<_ACEOF
9612
#define HAVE_ONESIDED_MEM_HTFLUSH $ac_cv_search_onesided_mem_htflush
9617
# check for a function introduced in libonesided/1.6
9618
# we purposefully abuse the ac_cv_search_onesided_fadd value
9619
if test "x$happy" = xyes; then :
9620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing onesided_fadd" >&5
9621
$as_echo_n "checking for library containing onesided_fadd... " >&6; }
9622
if ${ac_cv_search_onesided_fadd+:} false; then :
9623
$as_echo_n "(cached) " >&6
9625
ac_func_search_save_LIBS=$LIBS
9626
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9627
/* end confdefs.h. */
9629
/* Override any GCC internal prototype to avoid an error.
9630
Use char because int might match the return type of a GCC
9631
builtin and then its argument prototype would still apply. */
9635
char onesided_fadd ();
9639
return onesided_fadd ();
9644
for ac_lib in '' onesided; do
9645
if test -z "$ac_lib"; then
9646
ac_res="none required"
9649
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9651
if ac_fn_c_try_link "$LINENO"; then :
9652
ac_cv_search_onesided_fadd=$ac_res
9654
rm -f core conftest.err conftest.$ac_objext \
9656
if ${ac_cv_search_onesided_fadd+:} false; then :
9660
if ${ac_cv_search_onesided_fadd+:} false; then :
9663
ac_cv_search_onesided_fadd=no
9666
LIBS=$ac_func_search_save_LIBS
9668
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_onesided_fadd" >&5
9669
$as_echo "$ac_cv_search_onesided_fadd" >&6; }
9670
ac_res=$ac_cv_search_onesided_fadd
9671
if test "$ac_res" != no; then :
9672
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9676
if test "x$ac_cv_search_onesided_fadd" != xno; then :
9677
ac_cv_search_onesided_fadd=1
9679
ac_cv_search_onesided_fadd=0
9682
cat >>confdefs.h <<_ACEOF
9683
#define HAVE_ONESIDED_FADD $ac_cv_search_onesided_fadd
9690
if test "x$ga_armci_network" = x && test "x$with_armci" != xno; then :
9692
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for external ARMCI..." >&5
9693
$as_echo "$as_me: searching for external ARMCI..." >&6;}
9695
CPPFLAGS="$CPPFLAGS $GA_MP_CPPFLAGS"
9696
LDFLAGS="$LDFLAGS $GA_MP_LDFLAGS"
9697
LIBS="$LIBS $GA_MP_LIBS"
9698
if test "x$happy" = xyes; then :
9699
ac_fn_c_check_header_mongrel "$LINENO" "armci.h" "ac_cv_header_armci_h" "$ac_includes_default"
9700
if test "x$ac_cv_header_armci_h" = xyes; then :
9708
if test "x$happy" = xyes; then :
9709
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ARMCI_Init" >&5
9710
$as_echo_n "checking for library containing ARMCI_Init... " >&6; }
9711
if ${ac_cv_search_ARMCI_Init+:} false; then :
9712
$as_echo_n "(cached) " >&6
9714
ac_func_search_save_LIBS=$LIBS
9715
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9716
/* end confdefs.h. */
9718
/* Override any GCC internal prototype to avoid an error.
9719
Use char because int might match the return type of a GCC
9720
builtin and then its argument prototype would still apply. */
9728
return ARMCI_Init ();
9733
for ac_lib in '' armci; do
9734
if test -z "$ac_lib"; then
9735
ac_res="none required"
9738
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9740
if ac_fn_c_try_link "$LINENO"; then :
9741
ac_cv_search_ARMCI_Init=$ac_res
9743
rm -f core conftest.err conftest.$ac_objext \
9745
if ${ac_cv_search_ARMCI_Init+:} false; then :
9749
if ${ac_cv_search_ARMCI_Init+:} false; then :
9752
ac_cv_search_ARMCI_Init=no
9755
LIBS=$ac_func_search_save_LIBS
9757
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ARMCI_Init" >&5
9758
$as_echo "$ac_cv_search_ARMCI_Init" >&6; }
9759
ac_res=$ac_cv_search_ARMCI_Init
9760
if test "$ac_res" != no; then :
9761
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9767
case $ac_cv_search_ARMCI_Init in #(
9773
# add missing lib to ARMCI_NETWORK_LIBS if not there
9774
case $ARMCI_NETWORK_LIBS in #(
9775
*$ac_cv_search_ARMCI_Init*) :
9778
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $ac_cv_search_ARMCI_Init" ;;
9782
if test "x$happy" = xyes; then :
9783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing armci_group_comm" >&5
9784
$as_echo_n "checking for library containing armci_group_comm... " >&6; }
9785
if ${ac_cv_search_armci_group_comm+:} false; then :
9786
$as_echo_n "(cached) " >&6
9788
ac_func_search_save_LIBS=$LIBS
9789
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9790
/* end confdefs.h. */
9792
/* Override any GCC internal prototype to avoid an error.
9793
Use char because int might match the return type of a GCC
9794
builtin and then its argument prototype would still apply. */
9798
char armci_group_comm ();
9802
return armci_group_comm ();
9807
for ac_lib in '' armci; do
9808
if test -z "$ac_lib"; then
9809
ac_res="none required"
9812
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9814
if ac_fn_c_try_link "$LINENO"; then :
9815
ac_cv_search_armci_group_comm=$ac_res
9817
rm -f core conftest.err conftest.$ac_objext \
9819
if ${ac_cv_search_armci_group_comm+:} false; then :
9823
if ${ac_cv_search_armci_group_comm+:} false; then :
9826
ac_cv_search_armci_group_comm=no
9829
LIBS=$ac_func_search_save_LIBS
9831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_armci_group_comm" >&5
9832
$as_echo "$ac_cv_search_armci_group_comm" >&6; }
9833
ac_res=$ac_cv_search_armci_group_comm
9834
if test "$ac_res" != no; then :
9835
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9839
if test "x$ac_cv_search_armci_group_comm" != xno; then :
9840
ac_cv_search_armci_group_comm=1
9842
ac_cv_search_armci_group_comm=0
9845
cat >>confdefs.h <<_ACEOF
9846
#define HAVE_ARMCI_GROUP_COMM $ac_cv_search_armci_group_comm
9851
if test "x$happy" = xyes; then :
9852
ac_fn_c_check_member "$LINENO" "ARMCI_Group" "comm" "ac_cv_member_ARMCI_Group_comm" "#include <armci.h>
9854
if test "x$ac_cv_member_ARMCI_Group_comm" = xyes; then :
9858
if test "x$ac_cv_member_ARMCI_Group_comm" != xno; then :
9859
ac_cv_member_ARMCI_Group_comm=1
9861
ac_cv_member_ARMCI_Group_comm=0
9864
cat >>confdefs.h <<_ACEOF
9865
#define HAVE_ARMCI_GROUP_COMM_MEMBER $ac_cv_member_ARMCI_Group_comm
9870
if test "x$happy" = xyes; then :
9871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ARMCI_Initialized" >&5
9872
$as_echo_n "checking for library containing ARMCI_Initialized... " >&6; }
9873
if ${ac_cv_search_ARMCI_Initialized+:} false; then :
9874
$as_echo_n "(cached) " >&6
9876
ac_func_search_save_LIBS=$LIBS
9877
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9878
/* end confdefs.h. */
9880
/* Override any GCC internal prototype to avoid an error.
9881
Use char because int might match the return type of a GCC
9882
builtin and then its argument prototype would still apply. */
9886
char ARMCI_Initialized ();
9890
return ARMCI_Initialized ();
9895
for ac_lib in '' armci; do
9896
if test -z "$ac_lib"; then
9897
ac_res="none required"
9900
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9902
if ac_fn_c_try_link "$LINENO"; then :
9903
ac_cv_search_ARMCI_Initialized=$ac_res
9905
rm -f core conftest.err conftest.$ac_objext \
9907
if ${ac_cv_search_ARMCI_Initialized+:} false; then :
9911
if ${ac_cv_search_ARMCI_Initialized+:} false; then :
9914
ac_cv_search_ARMCI_Initialized=no
9917
LIBS=$ac_func_search_save_LIBS
9919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ARMCI_Initialized" >&5
9920
$as_echo "$ac_cv_search_ARMCI_Initialized" >&6; }
9921
ac_res=$ac_cv_search_ARMCI_Initialized
9922
if test "$ac_res" != no; then :
9923
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9927
if test "x$ac_cv_search_ARMCI_Initialized" != xno; then :
9928
ac_cv_search_ARMCI_Initialized=1
9930
ac_cv_search_ARMCI_Initialized=0
9933
cat >>confdefs.h <<_ACEOF
9934
#define HAVE_ARMCI_INITIALIZED $ac_cv_search_ARMCI_Initialized
9939
if test "x$happy" = xyes; then :
9940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing armci_stride_info_init" >&5
9941
$as_echo_n "checking for library containing armci_stride_info_init... " >&6; }
9942
if ${ac_cv_search_armci_stride_info_init+:} false; then :
9943
$as_echo_n "(cached) " >&6
9945
ac_func_search_save_LIBS=$LIBS
9946
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9947
/* end confdefs.h. */
9949
/* Override any GCC internal prototype to avoid an error.
9950
Use char because int might match the return type of a GCC
9951
builtin and then its argument prototype would still apply. */
9955
char armci_stride_info_init ();
9959
return armci_stride_info_init ();
9964
for ac_lib in '' armci; do
9965
if test -z "$ac_lib"; then
9966
ac_res="none required"
9969
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9971
if ac_fn_c_try_link "$LINENO"; then :
9972
ac_cv_search_armci_stride_info_init=$ac_res
9974
rm -f core conftest.err conftest.$ac_objext \
9976
if ${ac_cv_search_armci_stride_info_init+:} false; then :
9980
if ${ac_cv_search_armci_stride_info_init+:} false; then :
9983
ac_cv_search_armci_stride_info_init=no
9986
LIBS=$ac_func_search_save_LIBS
9988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_armci_stride_info_init" >&5
9989
$as_echo "$ac_cv_search_armci_stride_info_init" >&6; }
9990
ac_res=$ac_cv_search_armci_stride_info_init
9991
if test "$ac_res" != no; then :
9992
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9996
if test "x$ac_cv_search_armci_stride_info_init" != xno; then :
9997
ac_cv_search_armci_stride_info_init=1
9999
ac_cv_search_armci_stride_info_init=0
10002
cat >>confdefs.h <<_ACEOF
10003
#define HAVE_ARMCI_STRIDE_INFO_INIT $ac_cv_search_armci_stride_info_init
10008
if test "x$happy" = xyes; then :
10009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing armci_notify" >&5
10010
$as_echo_n "checking for library containing armci_notify... " >&6; }
10011
if ${ac_cv_search_armci_notify+:} false; then :
10012
$as_echo_n "(cached) " >&6
10014
ac_func_search_save_LIBS=$LIBS
10015
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10016
/* end confdefs.h. */
10018
/* Override any GCC internal prototype to avoid an error.
10019
Use char because int might match the return type of a GCC
10020
builtin and then its argument prototype would still apply. */
10024
char armci_notify ();
10028
return armci_notify ();
10033
for ac_lib in '' armci; do
10034
if test -z "$ac_lib"; then
10035
ac_res="none required"
10038
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10040
if ac_fn_c_try_link "$LINENO"; then :
10041
ac_cv_search_armci_notify=$ac_res
10043
rm -f core conftest.err conftest.$ac_objext \
10045
if ${ac_cv_search_armci_notify+:} false; then :
10049
if ${ac_cv_search_armci_notify+:} false; then :
10052
ac_cv_search_armci_notify=no
10054
rm conftest.$ac_ext
10055
LIBS=$ac_func_search_save_LIBS
10057
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_armci_notify" >&5
10058
$as_echo "$ac_cv_search_armci_notify" >&6; }
10059
ac_res=$ac_cv_search_armci_notify
10060
if test "$ac_res" != no; then :
10061
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10065
if test "x$ac_cv_search_armci_notify" != xno; then :
10066
ac_cv_search_armci_notify=1
10068
ac_cv_search_armci_notify=0
10071
cat >>confdefs.h <<_ACEOF
10072
#define HAVE_ARMCI_NOTIFY $ac_cv_search_armci_notify
10077
if test "x$happy" = xyes; then :
10078
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing armci_msg_init" >&5
10079
$as_echo_n "checking for library containing armci_msg_init... " >&6; }
10080
if ${ac_cv_search_armci_msg_init+:} false; then :
10081
$as_echo_n "(cached) " >&6
10083
ac_func_search_save_LIBS=$LIBS
10084
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10085
/* end confdefs.h. */
10087
/* Override any GCC internal prototype to avoid an error.
10088
Use char because int might match the return type of a GCC
10089
builtin and then its argument prototype would still apply. */
10093
char armci_msg_init ();
10097
return armci_msg_init ();
10102
for ac_lib in '' armci; do
10103
if test -z "$ac_lib"; then
10104
ac_res="none required"
10107
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10109
if ac_fn_c_try_link "$LINENO"; then :
10110
ac_cv_search_armci_msg_init=$ac_res
10112
rm -f core conftest.err conftest.$ac_objext \
10114
if ${ac_cv_search_armci_msg_init+:} false; then :
10118
if ${ac_cv_search_armci_msg_init+:} false; then :
10121
ac_cv_search_armci_msg_init=no
10123
rm conftest.$ac_ext
10124
LIBS=$ac_func_search_save_LIBS
10126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_armci_msg_init" >&5
10127
$as_echo "$ac_cv_search_armci_msg_init" >&6; }
10128
ac_res=$ac_cv_search_armci_msg_init
10129
if test "$ac_res" != no; then :
10130
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10134
if test "x$ac_cv_search_armci_msg_init" != xno; then :
10135
ac_cv_search_armci_msg_init=1
10137
ac_cv_search_armci_msg_init=0
10140
cat >>confdefs.h <<_ACEOF
10141
#define HAVE_ARMCI_MSG_INIT $ac_cv_search_armci_msg_init
10146
if test "x$happy" = xyes; then :
10147
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing armci_msg_finalize" >&5
10148
$as_echo_n "checking for library containing armci_msg_finalize... " >&6; }
10149
if ${ac_cv_search_armci_msg_finalize+:} false; then :
10150
$as_echo_n "(cached) " >&6
10152
ac_func_search_save_LIBS=$LIBS
10153
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10154
/* end confdefs.h. */
10156
/* Override any GCC internal prototype to avoid an error.
10157
Use char because int might match the return type of a GCC
10158
builtin and then its argument prototype would still apply. */
10162
char armci_msg_finalize ();
10166
return armci_msg_finalize ();
10171
for ac_lib in '' armci; do
10172
if test -z "$ac_lib"; then
10173
ac_res="none required"
10176
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10178
if ac_fn_c_try_link "$LINENO"; then :
10179
ac_cv_search_armci_msg_finalize=$ac_res
10181
rm -f core conftest.err conftest.$ac_objext \
10183
if ${ac_cv_search_armci_msg_finalize+:} false; then :
10187
if ${ac_cv_search_armci_msg_finalize+:} false; then :
10190
ac_cv_search_armci_msg_finalize=no
10192
rm conftest.$ac_ext
10193
LIBS=$ac_func_search_save_LIBS
10195
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_armci_msg_finalize" >&5
10196
$as_echo "$ac_cv_search_armci_msg_finalize" >&6; }
10197
ac_res=$ac_cv_search_armci_msg_finalize
10198
if test "$ac_res" != no; then :
10199
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10203
if test "x$ac_cv_search_armci_msg_finalize" != xno; then :
10204
ac_cv_search_armci_msg_finalize=1
10206
ac_cv_search_armci_msg_finalize=0
10209
cat >>confdefs.h <<_ACEOF
10210
#define HAVE_ARMCI_MSG_FINALIZE $ac_cv_search_armci_msg_finalize
10215
if test "x$ac_cv_search_armci_group_comm" = x1; then
10216
HAVE_ARMCI_GROUP_COMM_TRUE=
10217
HAVE_ARMCI_GROUP_COMM_FALSE='#'
10219
HAVE_ARMCI_GROUP_COMM_TRUE='#'
10220
HAVE_ARMCI_GROUP_COMM_FALSE=
10223
if test "x$ac_cv_member_ARMCI_Group_comm" = x1; then
10224
HAVE_ARMCI_GROUP_COMM_MEMBER_TRUE=
10225
HAVE_ARMCI_GROUP_COMM_MEMBER_FALSE='#'
10227
HAVE_ARMCI_GROUP_COMM_MEMBER_TRUE='#'
10228
HAVE_ARMCI_GROUP_COMM_MEMBER_FALSE=
10231
if test "x$ac_cv_search_ARMCI_Initialized" = x1; then
10232
HAVE_ARMCI_INITIALIZED_TRUE=
10233
HAVE_ARMCI_INITIALIZED_FALSE='#'
10235
HAVE_ARMCI_INITIALIZED_TRUE='#'
10236
HAVE_ARMCI_INITIALIZED_FALSE=
10239
if test "x$ac_cv_search_armci_stride_info_init" = x1; then
10240
HAVE_ARMCI_STRIDE_INFO_INIT_TRUE=
10241
HAVE_ARMCI_STRIDE_INFO_INIT_FALSE='#'
10243
HAVE_ARMCI_STRIDE_INFO_INIT_TRUE='#'
10244
HAVE_ARMCI_STRIDE_INFO_INIT_FALSE=
10247
if test "x$ac_cv_search_armci_notify" = x1; then
10248
HAVE_ARMCI_NOTIFY_TRUE=
10249
HAVE_ARMCI_NOTIFY_FALSE='#'
10251
HAVE_ARMCI_NOTIFY_TRUE='#'
10252
HAVE_ARMCI_NOTIFY_FALSE=
10255
if test "x$ac_cv_search_armci_msg_init" = x1; then
10256
HAVE_ARMCI_MSG_INIT_TRUE=
10257
HAVE_ARMCI_MSG_INIT_FALSE='#'
10259
HAVE_ARMCI_MSG_INIT_TRUE='#'
10260
HAVE_ARMCI_MSG_INIT_FALSE=
10263
if test "x$ac_cv_search_armci_msg_finalize" = x1; then
10264
HAVE_ARMCI_MSG_FINALIZE_TRUE=
10265
HAVE_ARMCI_MSG_FINALIZE_FALSE='#'
10267
HAVE_ARMCI_MSG_FINALIZE_TRUE='#'
10268
HAVE_ARMCI_MSG_FINALIZE_FALSE=
10271
if test "x$happy" = xyes; then :
10272
ga_armci_network=ARMCI; with_armci=yes;
10276
if test "x$ga_armci_network" = x; then :
10277
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: !!!" >&5
10278
$as_echo "$as_me: WARNING: !!!" >&2;}
10279
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No ARMCI_NETWORK detected, defaulting to SOCKETS" >&5
10280
$as_echo "$as_me: WARNING: No ARMCI_NETWORK detected, defaulting to SOCKETS" >&2;}
10281
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: !!!" >&5
10282
$as_echo "$as_me: WARNING: !!!" >&2;}
10283
ga_armci_network=SOCKETS; with_sockets=yes
10286
# Not autodetecting
10287
# Check whether multiple armci networks were selected by user.
10288
case $armci_network_count in #(
10290
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No ARMCI_NETWORK specified, defaulting to SOCKETS" >&5
10291
$as_echo "$as_me: WARNING: No ARMCI_NETWORK specified, defaulting to SOCKETS" >&2;}
10292
ga_armci_network=SOCKETS; with_sockets=yes ;; #(
10294
if test "x$ga_armci_network" = xARMCI; then :
10296
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for external ARMCI..." >&5
10297
$as_echo "$as_me: searching for external ARMCI..." >&6;}
10299
CPPFLAGS="$CPPFLAGS $GA_MP_CPPFLAGS"
10300
LDFLAGS="$LDFLAGS $GA_MP_LDFLAGS"
10301
LIBS="$LIBS $GA_MP_LIBS"
10302
if test "x$happy" = xyes; then :
10303
ac_fn_c_check_header_mongrel "$LINENO" "armci.h" "ac_cv_header_armci_h" "$ac_includes_default"
10304
if test "x$ac_cv_header_armci_h" = xyes; then :
10312
if test "x$happy" = xyes; then :
10313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ARMCI_Init" >&5
10314
$as_echo_n "checking for library containing ARMCI_Init... " >&6; }
10315
if ${ac_cv_search_ARMCI_Init+:} false; then :
10316
$as_echo_n "(cached) " >&6
10318
ac_func_search_save_LIBS=$LIBS
10319
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10320
/* end confdefs.h. */
10322
/* Override any GCC internal prototype to avoid an error.
10323
Use char because int might match the return type of a GCC
10324
builtin and then its argument prototype would still apply. */
10328
char ARMCI_Init ();
10332
return ARMCI_Init ();
10337
for ac_lib in '' armci; do
10338
if test -z "$ac_lib"; then
10339
ac_res="none required"
10342
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10344
if ac_fn_c_try_link "$LINENO"; then :
10345
ac_cv_search_ARMCI_Init=$ac_res
10347
rm -f core conftest.err conftest.$ac_objext \
10349
if ${ac_cv_search_ARMCI_Init+:} false; then :
10353
if ${ac_cv_search_ARMCI_Init+:} false; then :
10356
ac_cv_search_ARMCI_Init=no
10358
rm conftest.$ac_ext
10359
LIBS=$ac_func_search_save_LIBS
10361
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ARMCI_Init" >&5
10362
$as_echo "$ac_cv_search_ARMCI_Init" >&6; }
10363
ac_res=$ac_cv_search_ARMCI_Init
10364
if test "$ac_res" != no; then :
10365
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10371
case $ac_cv_search_ARMCI_Init in #(
10377
# add missing lib to ARMCI_NETWORK_LIBS if not there
10378
case $ARMCI_NETWORK_LIBS in #(
10379
*$ac_cv_search_ARMCI_Init*) :
10382
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $ac_cv_search_ARMCI_Init" ;;
10386
if test "x$happy" = xyes; then :
10387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing armci_group_comm" >&5
10388
$as_echo_n "checking for library containing armci_group_comm... " >&6; }
10389
if ${ac_cv_search_armci_group_comm+:} false; then :
10390
$as_echo_n "(cached) " >&6
10392
ac_func_search_save_LIBS=$LIBS
10393
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10394
/* end confdefs.h. */
10396
/* Override any GCC internal prototype to avoid an error.
10397
Use char because int might match the return type of a GCC
10398
builtin and then its argument prototype would still apply. */
10402
char armci_group_comm ();
10406
return armci_group_comm ();
10411
for ac_lib in '' armci; do
10412
if test -z "$ac_lib"; then
10413
ac_res="none required"
10416
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10418
if ac_fn_c_try_link "$LINENO"; then :
10419
ac_cv_search_armci_group_comm=$ac_res
10421
rm -f core conftest.err conftest.$ac_objext \
10423
if ${ac_cv_search_armci_group_comm+:} false; then :
10427
if ${ac_cv_search_armci_group_comm+:} false; then :
10430
ac_cv_search_armci_group_comm=no
10432
rm conftest.$ac_ext
10433
LIBS=$ac_func_search_save_LIBS
10435
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_armci_group_comm" >&5
10436
$as_echo "$ac_cv_search_armci_group_comm" >&6; }
10437
ac_res=$ac_cv_search_armci_group_comm
10438
if test "$ac_res" != no; then :
10439
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10443
if test "x$ac_cv_search_armci_group_comm" != xno; then :
10444
ac_cv_search_armci_group_comm=1
10446
ac_cv_search_armci_group_comm=0
10449
cat >>confdefs.h <<_ACEOF
10450
#define HAVE_ARMCI_GROUP_COMM $ac_cv_search_armci_group_comm
10455
if test "x$happy" = xyes; then :
10456
ac_fn_c_check_member "$LINENO" "ARMCI_Group" "comm" "ac_cv_member_ARMCI_Group_comm" "#include <armci.h>
10458
if test "x$ac_cv_member_ARMCI_Group_comm" = xyes; then :
10462
if test "x$ac_cv_member_ARMCI_Group_comm" != xno; then :
10463
ac_cv_member_ARMCI_Group_comm=1
10465
ac_cv_member_ARMCI_Group_comm=0
10468
cat >>confdefs.h <<_ACEOF
10469
#define HAVE_ARMCI_GROUP_COMM_MEMBER $ac_cv_member_ARMCI_Group_comm
10474
if test "x$happy" = xyes; then :
10475
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ARMCI_Initialized" >&5
10476
$as_echo_n "checking for library containing ARMCI_Initialized... " >&6; }
10477
if ${ac_cv_search_ARMCI_Initialized+:} false; then :
10478
$as_echo_n "(cached) " >&6
10480
ac_func_search_save_LIBS=$LIBS
10481
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10482
/* end confdefs.h. */
10484
/* Override any GCC internal prototype to avoid an error.
10485
Use char because int might match the return type of a GCC
10486
builtin and then its argument prototype would still apply. */
10490
char ARMCI_Initialized ();
10494
return ARMCI_Initialized ();
10499
for ac_lib in '' armci; do
10500
if test -z "$ac_lib"; then
10501
ac_res="none required"
10504
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10506
if ac_fn_c_try_link "$LINENO"; then :
10507
ac_cv_search_ARMCI_Initialized=$ac_res
10509
rm -f core conftest.err conftest.$ac_objext \
10511
if ${ac_cv_search_ARMCI_Initialized+:} false; then :
10515
if ${ac_cv_search_ARMCI_Initialized+:} false; then :
10518
ac_cv_search_ARMCI_Initialized=no
10520
rm conftest.$ac_ext
10521
LIBS=$ac_func_search_save_LIBS
10523
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ARMCI_Initialized" >&5
10524
$as_echo "$ac_cv_search_ARMCI_Initialized" >&6; }
10525
ac_res=$ac_cv_search_ARMCI_Initialized
10526
if test "$ac_res" != no; then :
10527
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10531
if test "x$ac_cv_search_ARMCI_Initialized" != xno; then :
10532
ac_cv_search_ARMCI_Initialized=1
10534
ac_cv_search_ARMCI_Initialized=0
10537
cat >>confdefs.h <<_ACEOF
10538
#define HAVE_ARMCI_INITIALIZED $ac_cv_search_ARMCI_Initialized
10543
if test "x$happy" = xyes; then :
10544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing armci_stride_info_init" >&5
10545
$as_echo_n "checking for library containing armci_stride_info_init... " >&6; }
10546
if ${ac_cv_search_armci_stride_info_init+:} false; then :
10547
$as_echo_n "(cached) " >&6
10549
ac_func_search_save_LIBS=$LIBS
10550
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10551
/* end confdefs.h. */
10553
/* Override any GCC internal prototype to avoid an error.
10554
Use char because int might match the return type of a GCC
10555
builtin and then its argument prototype would still apply. */
10559
char armci_stride_info_init ();
10563
return armci_stride_info_init ();
10568
for ac_lib in '' armci; do
10569
if test -z "$ac_lib"; then
10570
ac_res="none required"
10573
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10575
if ac_fn_c_try_link "$LINENO"; then :
10576
ac_cv_search_armci_stride_info_init=$ac_res
10578
rm -f core conftest.err conftest.$ac_objext \
10580
if ${ac_cv_search_armci_stride_info_init+:} false; then :
10584
if ${ac_cv_search_armci_stride_info_init+:} false; then :
10587
ac_cv_search_armci_stride_info_init=no
10589
rm conftest.$ac_ext
10590
LIBS=$ac_func_search_save_LIBS
10592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_armci_stride_info_init" >&5
10593
$as_echo "$ac_cv_search_armci_stride_info_init" >&6; }
10594
ac_res=$ac_cv_search_armci_stride_info_init
10595
if test "$ac_res" != no; then :
10596
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10600
if test "x$ac_cv_search_armci_stride_info_init" != xno; then :
10601
ac_cv_search_armci_stride_info_init=1
10603
ac_cv_search_armci_stride_info_init=0
10606
cat >>confdefs.h <<_ACEOF
10607
#define HAVE_ARMCI_STRIDE_INFO_INIT $ac_cv_search_armci_stride_info_init
10612
if test "x$happy" = xyes; then :
10613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing armci_notify" >&5
10614
$as_echo_n "checking for library containing armci_notify... " >&6; }
10615
if ${ac_cv_search_armci_notify+:} false; then :
10616
$as_echo_n "(cached) " >&6
10618
ac_func_search_save_LIBS=$LIBS
10619
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10620
/* end confdefs.h. */
10622
/* Override any GCC internal prototype to avoid an error.
10623
Use char because int might match the return type of a GCC
10624
builtin and then its argument prototype would still apply. */
10628
char armci_notify ();
10632
return armci_notify ();
10637
for ac_lib in '' armci; do
10638
if test -z "$ac_lib"; then
10639
ac_res="none required"
10642
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10644
if ac_fn_c_try_link "$LINENO"; then :
10645
ac_cv_search_armci_notify=$ac_res
10647
rm -f core conftest.err conftest.$ac_objext \
10649
if ${ac_cv_search_armci_notify+:} false; then :
10653
if ${ac_cv_search_armci_notify+:} false; then :
10656
ac_cv_search_armci_notify=no
10658
rm conftest.$ac_ext
10659
LIBS=$ac_func_search_save_LIBS
10661
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_armci_notify" >&5
10662
$as_echo "$ac_cv_search_armci_notify" >&6; }
10663
ac_res=$ac_cv_search_armci_notify
10664
if test "$ac_res" != no; then :
10665
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10669
if test "x$ac_cv_search_armci_notify" != xno; then :
10670
ac_cv_search_armci_notify=1
10672
ac_cv_search_armci_notify=0
10675
cat >>confdefs.h <<_ACEOF
10676
#define HAVE_ARMCI_NOTIFY $ac_cv_search_armci_notify
10681
if test "x$happy" = xyes; then :
10682
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing armci_msg_init" >&5
10683
$as_echo_n "checking for library containing armci_msg_init... " >&6; }
10684
if ${ac_cv_search_armci_msg_init+:} false; then :
10685
$as_echo_n "(cached) " >&6
10687
ac_func_search_save_LIBS=$LIBS
10688
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10689
/* end confdefs.h. */
10691
/* Override any GCC internal prototype to avoid an error.
10692
Use char because int might match the return type of a GCC
10693
builtin and then its argument prototype would still apply. */
10697
char armci_msg_init ();
10701
return armci_msg_init ();
10706
for ac_lib in '' armci; do
10707
if test -z "$ac_lib"; then
10708
ac_res="none required"
10711
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10713
if ac_fn_c_try_link "$LINENO"; then :
10714
ac_cv_search_armci_msg_init=$ac_res
10716
rm -f core conftest.err conftest.$ac_objext \
10718
if ${ac_cv_search_armci_msg_init+:} false; then :
10722
if ${ac_cv_search_armci_msg_init+:} false; then :
10725
ac_cv_search_armci_msg_init=no
10727
rm conftest.$ac_ext
10728
LIBS=$ac_func_search_save_LIBS
10730
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_armci_msg_init" >&5
10731
$as_echo "$ac_cv_search_armci_msg_init" >&6; }
10732
ac_res=$ac_cv_search_armci_msg_init
10733
if test "$ac_res" != no; then :
10734
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10738
if test "x$ac_cv_search_armci_msg_init" != xno; then :
10739
ac_cv_search_armci_msg_init=1
10741
ac_cv_search_armci_msg_init=0
10744
cat >>confdefs.h <<_ACEOF
10745
#define HAVE_ARMCI_MSG_INIT $ac_cv_search_armci_msg_init
10750
if test "x$happy" = xyes; then :
10751
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing armci_msg_finalize" >&5
10752
$as_echo_n "checking for library containing armci_msg_finalize... " >&6; }
10753
if ${ac_cv_search_armci_msg_finalize+:} false; then :
10754
$as_echo_n "(cached) " >&6
10756
ac_func_search_save_LIBS=$LIBS
10757
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10758
/* end confdefs.h. */
10760
/* Override any GCC internal prototype to avoid an error.
10761
Use char because int might match the return type of a GCC
10762
builtin and then its argument prototype would still apply. */
10766
char armci_msg_finalize ();
10770
return armci_msg_finalize ();
10775
for ac_lib in '' armci; do
10776
if test -z "$ac_lib"; then
10777
ac_res="none required"
10780
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10782
if ac_fn_c_try_link "$LINENO"; then :
10783
ac_cv_search_armci_msg_finalize=$ac_res
10785
rm -f core conftest.err conftest.$ac_objext \
10787
if ${ac_cv_search_armci_msg_finalize+:} false; then :
10791
if ${ac_cv_search_armci_msg_finalize+:} false; then :
10794
ac_cv_search_armci_msg_finalize=no
10796
rm conftest.$ac_ext
10797
LIBS=$ac_func_search_save_LIBS
10799
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_armci_msg_finalize" >&5
10800
$as_echo "$ac_cv_search_armci_msg_finalize" >&6; }
10801
ac_res=$ac_cv_search_armci_msg_finalize
10802
if test "$ac_res" != no; then :
10803
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10807
if test "x$ac_cv_search_armci_msg_finalize" != xno; then :
10808
ac_cv_search_armci_msg_finalize=1
10810
ac_cv_search_armci_msg_finalize=0
10813
cat >>confdefs.h <<_ACEOF
10814
#define HAVE_ARMCI_MSG_FINALIZE $ac_cv_search_armci_msg_finalize
10819
if test "x$ac_cv_search_armci_group_comm" = x1; then
10820
HAVE_ARMCI_GROUP_COMM_TRUE=
10821
HAVE_ARMCI_GROUP_COMM_FALSE='#'
10823
HAVE_ARMCI_GROUP_COMM_TRUE='#'
10824
HAVE_ARMCI_GROUP_COMM_FALSE=
10827
if test "x$ac_cv_member_ARMCI_Group_comm" = x1; then
10828
HAVE_ARMCI_GROUP_COMM_MEMBER_TRUE=
10829
HAVE_ARMCI_GROUP_COMM_MEMBER_FALSE='#'
10831
HAVE_ARMCI_GROUP_COMM_MEMBER_TRUE='#'
10832
HAVE_ARMCI_GROUP_COMM_MEMBER_FALSE=
10835
if test "x$ac_cv_search_ARMCI_Initialized" = x1; then
10836
HAVE_ARMCI_INITIALIZED_TRUE=
10837
HAVE_ARMCI_INITIALIZED_FALSE='#'
10839
HAVE_ARMCI_INITIALIZED_TRUE='#'
10840
HAVE_ARMCI_INITIALIZED_FALSE=
10843
if test "x$ac_cv_search_armci_stride_info_init" = x1; then
10844
HAVE_ARMCI_STRIDE_INFO_INIT_TRUE=
10845
HAVE_ARMCI_STRIDE_INFO_INIT_FALSE='#'
10847
HAVE_ARMCI_STRIDE_INFO_INIT_TRUE='#'
10848
HAVE_ARMCI_STRIDE_INFO_INIT_FALSE=
10851
if test "x$ac_cv_search_armci_notify" = x1; then
10852
HAVE_ARMCI_NOTIFY_TRUE=
10853
HAVE_ARMCI_NOTIFY_FALSE='#'
10855
HAVE_ARMCI_NOTIFY_TRUE='#'
10856
HAVE_ARMCI_NOTIFY_FALSE=
10859
if test "x$ac_cv_search_armci_msg_init" = x1; then
10860
HAVE_ARMCI_MSG_INIT_TRUE=
10861
HAVE_ARMCI_MSG_INIT_FALSE='#'
10863
HAVE_ARMCI_MSG_INIT_TRUE='#'
10864
HAVE_ARMCI_MSG_INIT_FALSE=
10867
if test "x$ac_cv_search_armci_msg_finalize" = x1; then
10868
HAVE_ARMCI_MSG_FINALIZE_TRUE=
10869
HAVE_ARMCI_MSG_FINALIZE_FALSE='#'
10871
HAVE_ARMCI_MSG_FINALIZE_TRUE='#'
10872
HAVE_ARMCI_MSG_FINALIZE_FALSE=
10875
if test "x$happy" = xyes; then :
10876
ga_armci_network=ARMCI; with_armci=yes;
10878
as_fn_error $? "test for ARMCI_NETWORK=ARMCI failed" "$LINENO" 5
10882
if test "x$ga_armci_network" = xBGML; then :
10884
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for BGML..." >&5
10885
$as_echo "$as_me: searching for BGML..." >&6;}
10887
if test "x$happy" = xyes; then :
10888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing BGLML_memcpy" >&5
10889
$as_echo_n "checking for library containing BGLML_memcpy... " >&6; }
10890
if ${ac_cv_search_BGLML_memcpy+:} false; then :
10891
$as_echo_n "(cached) " >&6
10893
ac_func_search_save_LIBS=$LIBS
10894
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10895
/* end confdefs.h. */
10897
/* Override any GCC internal prototype to avoid an error.
10898
Use char because int might match the return type of a GCC
10899
builtin and then its argument prototype would still apply. */
10903
char BGLML_memcpy ();
10907
return BGLML_memcpy ();
10912
for ac_lib in '' msglayer.rts; do
10913
if test -z "$ac_lib"; then
10914
ac_res="none required"
10917
LIBS="-l$ac_lib -lrts.rts -ldevices.rts $ac_func_search_save_LIBS"
10919
if ac_fn_c_try_link "$LINENO"; then :
10920
ac_cv_search_BGLML_memcpy=$ac_res
10922
rm -f core conftest.err conftest.$ac_objext \
10924
if ${ac_cv_search_BGLML_memcpy+:} false; then :
10928
if ${ac_cv_search_BGLML_memcpy+:} false; then :
10931
ac_cv_search_BGLML_memcpy=no
10933
rm conftest.$ac_ext
10934
LIBS=$ac_func_search_save_LIBS
10936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_BGLML_memcpy" >&5
10937
$as_echo "$ac_cv_search_BGLML_memcpy" >&6; }
10938
ac_res=$ac_cv_search_BGLML_memcpy
10939
if test "$ac_res" != no; then :
10940
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10946
case $ac_cv_search_BGLML_memcpy in #(
10952
# add msglayer.rts to ARMCI_NETWORK_LIBS if not there
10953
case $ARMCI_NETWORK_LIBS in #(
10957
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS -lmsglayer.rts" ;;
10959
# add extra lib rts.rts to ARMCI_NETWORK_LIBS if not there
10960
case $ARMCI_NETWORK_LIBS in #(
10964
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS -lrts.rts" ;;
10966
# add extra lib devices.rts to ARMCI_NETWORK_LIBS if not there
10967
case $ARMCI_NETWORK_LIBS in #(
10971
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS -ldevices.rts" ;;
10975
if test "x$happy" = xyes; then :
10976
ga_armci_network=BGML; with_bgml=yes;
10978
as_fn_error $? "test for ARMCI_NETWORK=BGML failed" "$LINENO" 5
10982
if test "x$ga_armci_network" = xCRAY_SHMEM; then :
10984
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for CRAY_SHMEM..." >&5
10985
$as_echo "$as_me: searching for CRAY_SHMEM..." >&6;}
10987
if test "x$happy" = xyes; then :
10988
ac_fn_c_check_header_mongrel "$LINENO" "mpp/shmem.h" "ac_cv_header_mpp_shmem_h" "$ac_includes_default"
10989
if test "x$ac_cv_header_mpp_shmem_h" = xyes; then :
10992
ac_fn_c_check_header_mongrel "$LINENO" "shmem.h" "ac_cv_header_shmem_h" "$ac_includes_default"
10993
if test "x$ac_cv_header_shmem_h" = xyes; then :
11004
if test "x$happy" = xyes; then :
11005
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing shmem_init" >&5
11006
$as_echo_n "checking for library containing shmem_init... " >&6; }
11007
if ${ac_cv_search_shmem_init+:} false; then :
11008
$as_echo_n "(cached) " >&6
11010
ac_func_search_save_LIBS=$LIBS
11011
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11012
/* end confdefs.h. */
11014
/* Override any GCC internal prototype to avoid an error.
11015
Use char because int might match the return type of a GCC
11016
builtin and then its argument prototype would still apply. */
11020
char shmem_init ();
11024
return shmem_init ();
11029
for ac_lib in '' sma; do
11030
if test -z "$ac_lib"; then
11031
ac_res="none required"
11034
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11036
if ac_fn_c_try_link "$LINENO"; then :
11037
ac_cv_search_shmem_init=$ac_res
11039
rm -f core conftest.err conftest.$ac_objext \
11041
if ${ac_cv_search_shmem_init+:} false; then :
11045
if ${ac_cv_search_shmem_init+:} false; then :
11048
ac_cv_search_shmem_init=no
11050
rm conftest.$ac_ext
11051
LIBS=$ac_func_search_save_LIBS
11053
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shmem_init" >&5
11054
$as_echo "$ac_cv_search_shmem_init" >&6; }
11055
ac_res=$ac_cv_search_shmem_init
11056
if test "$ac_res" != no; then :
11057
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11063
case $ac_cv_search_shmem_init in #(
11069
# add sma to ARMCI_NETWORK_LIBS if not there
11070
case $ARMCI_NETWORK_LIBS in #(
11074
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS -lsma" ;;
11078
if test "x$happy" = xyes; then :
11079
ga_armci_network=CRAY_SHMEM; with_cray_shmem=yes;
11081
as_fn_error $? "test for ARMCI_NETWORK=CRAY_SHMEM failed" "$LINENO" 5
11085
if test "x$ga_armci_network" = xDCMF; then :
11087
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for DCMF..." >&5
11088
$as_echo "$as_me: searching for DCMF..." >&6;}
11090
if test "x$happy" = xyes; then :
11091
ac_fn_c_check_header_mongrel "$LINENO" "dcmf.h" "ac_cv_header_dcmf_h" "$ac_includes_default"
11092
if test "x$ac_cv_header_dcmf_h" = xyes; then :
11100
if test "x$happy" = xyes; then :
11101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing DCMF_Messager_initialize" >&5
11102
$as_echo_n "checking for library containing DCMF_Messager_initialize... " >&6; }
11103
if ${ac_cv_search_DCMF_Messager_initialize+:} false; then :
11104
$as_echo_n "(cached) " >&6
11106
ac_func_search_save_LIBS=$LIBS
11107
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11108
/* end confdefs.h. */
11110
/* Override any GCC internal prototype to avoid an error.
11111
Use char because int might match the return type of a GCC
11112
builtin and then its argument prototype would still apply. */
11116
char DCMF_Messager_initialize ();
11120
return DCMF_Messager_initialize ();
11125
for ac_lib in '' dcmf.cnk; do
11126
if test -z "$ac_lib"; then
11127
ac_res="none required"
11130
LIBS="-l$ac_lib -ldcmfcoll.cnk -lSPI.cna -lrt $ac_func_search_save_LIBS"
11132
if ac_fn_c_try_link "$LINENO"; then :
11133
ac_cv_search_DCMF_Messager_initialize=$ac_res
11135
rm -f core conftest.err conftest.$ac_objext \
11137
if ${ac_cv_search_DCMF_Messager_initialize+:} false; then :
11141
if ${ac_cv_search_DCMF_Messager_initialize+:} false; then :
11144
ac_cv_search_DCMF_Messager_initialize=no
11146
rm conftest.$ac_ext
11147
LIBS=$ac_func_search_save_LIBS
11149
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DCMF_Messager_initialize" >&5
11150
$as_echo "$ac_cv_search_DCMF_Messager_initialize" >&6; }
11151
ac_res=$ac_cv_search_DCMF_Messager_initialize
11152
if test "$ac_res" != no; then :
11153
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11159
case $ac_cv_search_DCMF_Messager_initialize in #(
11165
# add dcmf.cnk to ARMCI_NETWORK_LIBS if not there
11166
case $ARMCI_NETWORK_LIBS in #(
11170
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS -ldcmf.cnk" ;;
11172
# add extra lib dcmfcoll.cnk if not there
11173
case $ARMCI_NETWORK_LIBS in #(
11177
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS -ldcmfcoll.cnk" ;;
11179
# add extra lib SPI.cna if not there
11180
case $ARMCI_NETWORK_LIBS in #(
11184
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS -lSPI.cna" ;;
11186
# add extra lib rt if not there
11187
case $ARMCI_NETWORK_LIBS in #(
11191
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS -lrt" ;;
11195
if test "x$happy" = xyes; then :
11196
ga_armci_network=DCMF; with_dcmf=yes;
11198
as_fn_error $? "test for ARMCI_NETWORK=DCMF failed" "$LINENO" 5
11202
if test "x$ga_armci_network" = xDMAPP; then :
11204
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for DMAPP..." >&5
11205
$as_echo "$as_me: searching for DMAPP..." >&6;}
11207
if test "x$happy" = xyes; then :
11208
ga_armci_network=DMAPP; with_dmapp=yes;
11210
as_fn_error $? "test for ARMCI_NETWORK=DMAPP failed" "$LINENO" 5
11212
if test "x$happy" = xyes; then :
11213
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethugepagesize" >&5
11214
$as_echo_n "checking for library containing gethugepagesize... " >&6; }
11215
if ${ac_cv_search_gethugepagesize+:} false; then :
11216
$as_echo_n "(cached) " >&6
11218
ac_func_search_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. */
11228
char gethugepagesize ();
11232
return gethugepagesize ();
11237
for ac_lib in '' hugetlbfs; do
11238
if test -z "$ac_lib"; then
11239
ac_res="none required"
11242
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11244
if ac_fn_c_try_link "$LINENO"; then :
11245
ac_cv_search_gethugepagesize=$ac_res
11247
rm -f core conftest.err conftest.$ac_objext \
11249
if ${ac_cv_search_gethugepagesize+:} false; then :
11253
if ${ac_cv_search_gethugepagesize+:} false; then :
11256
ac_cv_search_gethugepagesize=no
11258
rm conftest.$ac_ext
11259
LIBS=$ac_func_search_save_LIBS
11261
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethugepagesize" >&5
11262
$as_echo "$ac_cv_search_gethugepagesize" >&6; }
11263
ac_res=$ac_cv_search_gethugepagesize
11264
if test "$ac_res" != no; then :
11265
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11269
case $ac_cv_search_gethugepagesize in #(
11275
# add missing lib to ARMCI_NETWORK_LIBS if not there
11276
case $ARMCI_NETWORK_LIBS in #(
11277
*$ac_cv_search_gethugepagesize*) :
11280
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $ac_cv_search_gethugepagesize" ;;
11286
if test "x$ga_armci_network" = xLAPI; then :
11288
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for LAPI..." >&5
11289
$as_echo "$as_me: searching for LAPI..." >&6;}
11291
if test "x$happy" = xyes; then :
11292
ac_fn_c_check_header_mongrel "$LINENO" "lapi.h" "ac_cv_header_lapi_h" "$ac_includes_default"
11293
if test "x$ac_cv_header_lapi_h" = xyes; then :
11301
if test "x$happy" = xyes; then :
11302
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing LAPI_Init" >&5
11303
$as_echo_n "checking for library containing LAPI_Init... " >&6; }
11304
if ${ac_cv_search_LAPI_Init+:} false; then :
11305
$as_echo_n "(cached) " >&6
11307
ac_func_search_save_LIBS=$LIBS
11308
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11309
/* end confdefs.h. */
11311
/* Override any GCC internal prototype to avoid an error.
11312
Use char because int might match the return type of a GCC
11313
builtin and then its argument prototype would still apply. */
11321
return LAPI_Init ();
11326
for ac_lib in '' lapi_r lapi; do
11327
if test -z "$ac_lib"; then
11328
ac_res="none required"
11331
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11333
if ac_fn_c_try_link "$LINENO"; then :
11334
ac_cv_search_LAPI_Init=$ac_res
11336
rm -f core conftest.err conftest.$ac_objext \
11338
if ${ac_cv_search_LAPI_Init+:} false; then :
11342
if ${ac_cv_search_LAPI_Init+:} false; then :
11345
ac_cv_search_LAPI_Init=no
11347
rm conftest.$ac_ext
11348
LIBS=$ac_func_search_save_LIBS
11350
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_LAPI_Init" >&5
11351
$as_echo "$ac_cv_search_LAPI_Init" >&6; }
11352
ac_res=$ac_cv_search_LAPI_Init
11353
if test "$ac_res" != no; then :
11354
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11360
case $ac_cv_search_LAPI_Init in #(
11366
# add missing lib to ARMCI_NETWORK_LIBS if not there
11367
case $ARMCI_NETWORK_LIBS in #(
11368
*$ac_cv_search_LAPI_Init*) :
11371
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $ac_cv_search_LAPI_Init" ;;
11375
if test "x$happy" = xyes; then :
11376
ga_armci_network=LAPI; with_lapi=yes;
11378
as_fn_error $? "test for ARMCI_NETWORK=LAPI failed" "$LINENO" 5
11382
if test "x$ga_armci_network" = xMPI_TS; then :
11384
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for MPI_TS..." >&5
11385
$as_echo "$as_me: searching for MPI_TS..." >&6;}
11387
if test "x$happy" = xyes; then :
11388
ga_armci_network=MPI_TS; with_mpi_ts=yes;
11390
as_fn_error $? "test for ARMCI_NETWORK=MPI_TS failed" "$LINENO" 5
11394
if test "x$ga_armci_network" = xMPI_MT; then :
11396
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for MPI_MT..." >&5
11397
$as_echo "$as_me: searching for MPI_MT..." >&6;}
11399
CPPFLAGS="$CPPFLAGS $GA_MP_CPPFLAGS"
11400
LDFLAGS="$LDFLAGS $GA_MP_LDFLAGS"
11401
LIBS="$LIBS $GA_MP_LIBS"
11402
if test "x$happy" = xyes; then :
11403
ac_fn_c_check_header_mongrel "$LINENO" "mpi.h" "ac_cv_header_mpi_h" "$ac_includes_default"
11404
if test "x$ac_cv_header_mpi_h" = xyes; then :
11412
if test "x$happy" = xyes; then :
11413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing MPI_Init_thread" >&5
11414
$as_echo_n "checking for library containing MPI_Init_thread... " >&6; }
11415
if ${ac_cv_search_MPI_Init_thread+:} false; then :
11416
$as_echo_n "(cached) " >&6
11418
ac_func_search_save_LIBS=$LIBS
11419
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11420
/* end confdefs.h. */
11422
/* Override any GCC internal prototype to avoid an error.
11423
Use char because int might match the return type of a GCC
11424
builtin and then its argument prototype would still apply. */
11428
char MPI_Init_thread ();
11432
return MPI_Init_thread ();
11437
for ac_lib in '' mpi mpich.cnk mpich.rts; do
11438
if test -z "$ac_lib"; then
11439
ac_res="none required"
11442
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11444
if ac_fn_c_try_link "$LINENO"; then :
11445
ac_cv_search_MPI_Init_thread=$ac_res
11447
rm -f core conftest.err conftest.$ac_objext \
11449
if ${ac_cv_search_MPI_Init_thread+:} false; then :
11453
if ${ac_cv_search_MPI_Init_thread+:} false; then :
11456
ac_cv_search_MPI_Init_thread=no
11458
rm conftest.$ac_ext
11459
LIBS=$ac_func_search_save_LIBS
11461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_MPI_Init_thread" >&5
11462
$as_echo "$ac_cv_search_MPI_Init_thread" >&6; }
11463
ac_res=$ac_cv_search_MPI_Init_thread
11464
if test "$ac_res" != no; then :
11465
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11472
if test "x$happy" = xyes; then :
11473
ga_armci_network=MPI_MT; with_mpi_mt=yes;
11475
as_fn_error $? "test for ARMCI_NETWORK=MPI_MT failed" "$LINENO" 5
11479
if test "x$ga_armci_network" = xMPI_SPAWN; then :
11481
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for MPI_SPAWN..." >&5
11482
$as_echo "$as_me: searching for MPI_SPAWN..." >&6;}
11484
CPPFLAGS="$CPPFLAGS $GA_MP_CPPFLAGS"
11485
LDFLAGS="$LDFLAGS $GA_MP_LDFLAGS"
11486
LIBS="$LIBS $GA_MP_LIBS"
11487
if test "x$happy" = xyes; then :
11488
ac_fn_c_check_header_mongrel "$LINENO" "mpi.h" "ac_cv_header_mpi_h" "$ac_includes_default"
11489
if test "x$ac_cv_header_mpi_h" = xyes; then :
11497
if test "x$happy" = xyes; then :
11498
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing MPI_Comm_spawn_multiple" >&5
11499
$as_echo_n "checking for library containing MPI_Comm_spawn_multiple... " >&6; }
11500
if ${ac_cv_search_MPI_Comm_spawn_multiple+:} false; then :
11501
$as_echo_n "(cached) " >&6
11503
ac_func_search_save_LIBS=$LIBS
11504
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11505
/* end confdefs.h. */
11507
/* Override any GCC internal prototype to avoid an error.
11508
Use char because int might match the return type of a GCC
11509
builtin and then its argument prototype would still apply. */
11513
char MPI_Comm_spawn_multiple ();
11517
return MPI_Comm_spawn_multiple ();
11522
for ac_lib in '' mpi mpich.cnk mpich.rts; do
11523
if test -z "$ac_lib"; then
11524
ac_res="none required"
11527
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11529
if ac_fn_c_try_link "$LINENO"; then :
11530
ac_cv_search_MPI_Comm_spawn_multiple=$ac_res
11532
rm -f core conftest.err conftest.$ac_objext \
11534
if ${ac_cv_search_MPI_Comm_spawn_multiple+:} false; then :
11538
if ${ac_cv_search_MPI_Comm_spawn_multiple+:} false; then :
11541
ac_cv_search_MPI_Comm_spawn_multiple=no
11543
rm conftest.$ac_ext
11544
LIBS=$ac_func_search_save_LIBS
11546
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_MPI_Comm_spawn_multiple" >&5
11547
$as_echo "$ac_cv_search_MPI_Comm_spawn_multiple" >&6; }
11548
ac_res=$ac_cv_search_MPI_Comm_spawn_multiple
11549
if test "$ac_res" != no; then :
11550
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11557
if test "x$happy" = xyes; then :
11558
ga_armci_network=MPI_SPAWN; with_mpi_spawn=yes;
11560
as_fn_error $? "test for ARMCI_NETWORK=MPI_SPAWN failed" "$LINENO" 5
11564
if test "x$ga_armci_network" = xOFA; then :
11566
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for OFA..." >&5
11567
$as_echo "$as_me: searching for OFA..." >&6;}
11569
if test "x$happy" = xyes; then :
11570
ac_fn_c_check_header_mongrel "$LINENO" "infiniband/verbs.h" "ac_cv_header_infiniband_verbs_h" "$ac_includes_default"
11571
if test "x$ac_cv_header_infiniband_verbs_h" = xyes; then :
11579
if test "x$happy" = xyes; then :
11580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ibv_open_device" >&5
11581
$as_echo_n "checking for library containing ibv_open_device... " >&6; }
11582
if ${ac_cv_search_ibv_open_device+:} false; then :
11583
$as_echo_n "(cached) " >&6
11585
ac_func_search_save_LIBS=$LIBS
11586
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11587
/* end confdefs.h. */
11589
/* Override any GCC internal prototype to avoid an error.
11590
Use char because int might match the return type of a GCC
11591
builtin and then its argument prototype would still apply. */
11595
char ibv_open_device ();
11599
return ibv_open_device ();
11604
for ac_lib in '' ibverbs; do
11605
if test -z "$ac_lib"; then
11606
ac_res="none required"
11609
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11611
if ac_fn_c_try_link "$LINENO"; then :
11612
ac_cv_search_ibv_open_device=$ac_res
11614
rm -f core conftest.err conftest.$ac_objext \
11616
if ${ac_cv_search_ibv_open_device+:} false; then :
11620
if ${ac_cv_search_ibv_open_device+:} false; then :
11623
ac_cv_search_ibv_open_device=no
11625
rm conftest.$ac_ext
11626
LIBS=$ac_func_search_save_LIBS
11628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ibv_open_device" >&5
11629
$as_echo "$ac_cv_search_ibv_open_device" >&6; }
11630
ac_res=$ac_cv_search_ibv_open_device
11631
if test "$ac_res" != no; then :
11632
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11638
case $ac_cv_search_ibv_open_device in #(
11644
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $ac_cv_search_ibv_open_device" ;;
11647
if test "x$happy" = xyes; then :
11648
ga_armci_network=OFA; with_ofa=yes;
11650
as_fn_error $? "test for ARMCI_NETWORK=OFA failed" "$LINENO" 5
11654
if test "x$ga_armci_network" = xOPENIB; then :
11656
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for OPENIB..." >&5
11657
$as_echo "$as_me: searching for OPENIB..." >&6;}
11659
if test "x$happy" = xyes; then :
11660
ac_fn_c_check_header_mongrel "$LINENO" "infiniband/verbs.h" "ac_cv_header_infiniband_verbs_h" "$ac_includes_default"
11661
if test "x$ac_cv_header_infiniband_verbs_h" = xyes; then :
11669
if test "x$happy" = xyes; then :
11670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ibv_open_device" >&5
11671
$as_echo_n "checking for library containing ibv_open_device... " >&6; }
11672
if ${ac_cv_search_ibv_open_device+:} false; then :
11673
$as_echo_n "(cached) " >&6
11675
ac_func_search_save_LIBS=$LIBS
11676
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11677
/* end confdefs.h. */
11679
/* Override any GCC internal prototype to avoid an error.
11680
Use char because int might match the return type of a GCC
11681
builtin and then its argument prototype would still apply. */
11685
char ibv_open_device ();
11689
return ibv_open_device ();
11694
for ac_lib in '' ibverbs; do
11695
if test -z "$ac_lib"; then
11696
ac_res="none required"
11699
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11701
if ac_fn_c_try_link "$LINENO"; then :
11702
ac_cv_search_ibv_open_device=$ac_res
11704
rm -f core conftest.err conftest.$ac_objext \
11706
if ${ac_cv_search_ibv_open_device+:} false; then :
11710
if ${ac_cv_search_ibv_open_device+:} false; then :
11713
ac_cv_search_ibv_open_device=no
11715
rm conftest.$ac_ext
11716
LIBS=$ac_func_search_save_LIBS
11718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ibv_open_device" >&5
11719
$as_echo "$ac_cv_search_ibv_open_device" >&6; }
11720
ac_res=$ac_cv_search_ibv_open_device
11721
if test "$ac_res" != no; then :
11722
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11728
case $ac_cv_search_ibv_open_device in #(
11734
ARMCI_NETWORK_LIBS="$ARMCI_NETWORK_LIBS $ac_cv_search_ibv_open_device" ;;
11737
if test "x$happy" = xyes; then :
11738
ga_armci_network=OPENIB; with_openib=yes;
11740
as_fn_error $? "test for ARMCI_NETWORK=OPENIB failed" "$LINENO" 5
11744
if test "x$ga_armci_network" = xPORTALS; then :
11746
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for PORTALS..." >&5
11747
$as_echo "$as_me: searching for PORTALS..." >&6;}
11749
if test "x$happy" = xyes; then :
11750
ac_fn_c_check_header_mongrel "$LINENO" "portals/portals3.h" "ac_cv_header_portals_portals3_h" "$ac_includes_default"
11751
if test "x$ac_cv_header_portals_portals3_h" = xyes; then :
11759
if test "x$happy" = xyes; then :
11760
ac_fn_c_check_header_mongrel "$LINENO" "portals/nal.h" "ac_cv_header_portals_nal_h" "$ac_includes_default"
11761
if test "x$ac_cv_header_portals_nal_h" = xyes; then :
11769
if test "x$happy" = xyes; then :
11770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing PtlInit" >&5
11771
$as_echo_n "checking for library containing PtlInit... " >&6; }
11772
if ${ac_cv_search_PtlInit+:} false; then :
11773
$as_echo_n "(cached) " >&6
11775
ac_func_search_save_LIBS=$LIBS
11776
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11777
/* end confdefs.h. */
11779
/* Override any GCC internal prototype to avoid an error.
11780
Use char because int might match the return type of a GCC
11781
builtin and then its argument prototype would still apply. */
11794
for ac_lib in '' portals; do
11795
if test -z "$ac_lib"; then
11796
ac_res="none required"
11799
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11801
if ac_fn_c_try_link "$LINENO"; then :
11802
ac_cv_search_PtlInit=$ac_res
11804
rm -f core conftest.err conftest.$ac_objext \
11806
if ${ac_cv_search_PtlInit+:} false; then :
11810
if ${ac_cv_search_PtlInit+:} false; then :
11813
ac_cv_search_PtlInit=no
11815
rm conftest.$ac_ext
11816
LIBS=$ac_func_search_save_LIBS
11818
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_PtlInit" >&5
11819
$as_echo "$ac_cv_search_PtlInit" >&6; }
11820
ac_res=$ac_cv_search_PtlInit
11821
if test "$ac_res" != no; then :
11822
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11829
if test "x$happy" = xyes; then :
11830
ga_armci_network=PORTALS; with_portals=yes;
11832
as_fn_error $? "test for ARMCI_NETWORK=PORTALS failed" "$LINENO" 5
11836
if test "x$ga_armci_network" = xGEMINI; then :
11838
{ $as_echo "$as_me:${as_lineno-$LINENO}: searching for GEMINI..." >&5
11839
$as_echo "$as_me: searching for GEMINI..." >&6;}
11841
if test "x$happy" = xyes; then :
11842
ac_fn_c_check_header_compile "$LINENO" "numatoolkit.h" "ac_cv_header_numatoolkit_h" "
11843
$ac_includes_default
11846
if test "x$ac_cv_header_numatoolkit_h" = xyes; then :
11854
if test "x$happy" = xyes; then :
11855
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing NTK_Init" >&5
11856
$as_echo_n "checking for library containing NTK_Init... " >&6; }
11857
if ${ac_cv_search_NTK_Init+:} false; then :
11858
$as_echo_n "(cached) " >&6
11860
ac_func_search_save_LIBS=$LIBS
11861
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11862
/* end confdefs.h. */
11864
/* Override any GCC internal prototype to avoid an error.
11865
Use char because int might match the return type of a GCC
11866
builtin and then its argument prototype would still apply. */
11874
return NTK_Init ();
11879
for ac_lib in '' numatoolkit; do
11880
if test -z "$ac_lib"; then
11881
ac_res="none required"
11884
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11886
if ac_fn_c_try_link "$LINENO"; then :
11887
ac_cv_search_NTK_Init=$ac_res
11889
rm -f core conftest.err conftest.$ac_objext \
11891
if ${ac_cv_search_NTK_Init+:} false; then :
11895
if ${ac_cv_search_NTK_Init+:} false; then :
11898
ac_cv_search_NTK_Init=no
11900
rm conftest.$ac_ext
11901
LIBS=$ac_func_search_save_LIBS
11903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_NTK_Init" >&5
11904
$as_echo "$ac_cv_search_NTK_Init" >&6; }
11905
ac_res=$ac_cv_search_NTK_Init
11906
if test "$ac_res" != no; then :
11907
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11914
# CPPFLAGS must have CRAY_UGNI before looking for the next headers.
11915
gemini_save_CPPFLAGS="$CPPFLAGS"; CPPFLAGS="$CPPFLAGS -DCRAY_UGNI"
11916
if test "x$happy" = xyes; then :
11917
ac_fn_c_check_header_mongrel "$LINENO" "onesided.h" "ac_cv_header_onesided_h" "$ac_includes_default"
11918
if test "x$ac_cv_header_onesided_h" = xyes; then :
11926
if test "x$happy" = xyes; then :
11927
ac_fn_c_check_header_mongrel "$LINENO" "gni.h" "ac_cv_header_gni_h" "$ac_includes_default"
11928
if test "x$ac_cv_header_gni_h" = xyes; then :
11936
CPPFLAGS="$gemini_save_CPPFLAGS"
11937
if test "x$happy" = xyes; then :
11938
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gniInit" >&5
11939
$as_echo_n "checking for library containing gniInit... " >&6; }
11940
if ${ac_cv_search_gniInit+:} false; then :
11941
$as_echo_n "(cached) " >&6
11943
ac_func_search_save_LIBS=$LIBS
11944
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11945
/* end confdefs.h. */
11947
/* Override any GCC internal prototype to avoid an error.
11948
Use char because int might match the return type of a GCC
11949
builtin and then its argument prototype would still apply. */
11962
for ac_lib in '' onesided; do
11963
if test -z "$ac_lib"; then
11964
ac_res="none required"
11967
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11969
if ac_fn_c_try_link "$LINENO"; then :
11970
ac_cv_search_gniInit=$ac_res
11972
rm -f core conftest.err conftest.$ac_objext \
11974
if ${ac_cv_search_gniInit+:} false; then :
11978
if ${ac_cv_search_gniInit+:} false; then :
11981
ac_cv_search_gniInit=no
11983
rm conftest.$ac_ext
11984
LIBS=$ac_func_search_save_LIBS
11986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gniInit" >&5
11987
$as_echo "$ac_cv_search_gniInit" >&6; }
11988
ac_res=$ac_cv_search_gniInit
11989
if test "$ac_res" != no; then :
11990
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11997
if test "x$happy" = xyes; then :
11998
ga_armci_network=GEMINI; with_gemini=yes;
12000
as_fn_error $? "test for ARMCI_NETWORK=GEMINI failed" "$LINENO" 5
12002
# check for a function introduced in libonesided/1.5
12003
# we purposefully abuse the ac_cv_search_onesided_mem_htflush value
12004
if test "x$happy" = xyes; then :
12005
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing onesided_mem_htflush" >&5
12006
$as_echo_n "checking for library containing onesided_mem_htflush... " >&6; }
12007
if ${ac_cv_search_onesided_mem_htflush+:} false; then :
12008
$as_echo_n "(cached) " >&6
12010
ac_func_search_save_LIBS=$LIBS
12011
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12012
/* end confdefs.h. */
12014
/* Override any GCC internal prototype to avoid an error.
12015
Use char because int might match the return type of a GCC
12016
builtin and then its argument prototype would still apply. */
12020
char onesided_mem_htflush ();
12024
return onesided_mem_htflush ();
12029
for ac_lib in '' onesided; do
12030
if test -z "$ac_lib"; then
12031
ac_res="none required"
12034
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12036
if ac_fn_c_try_link "$LINENO"; then :
12037
ac_cv_search_onesided_mem_htflush=$ac_res
12039
rm -f core conftest.err conftest.$ac_objext \
12041
if ${ac_cv_search_onesided_mem_htflush+:} false; then :
12045
if ${ac_cv_search_onesided_mem_htflush+:} false; then :
12048
ac_cv_search_onesided_mem_htflush=no
12050
rm conftest.$ac_ext
12051
LIBS=$ac_func_search_save_LIBS
12053
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_onesided_mem_htflush" >&5
12054
$as_echo "$ac_cv_search_onesided_mem_htflush" >&6; }
12055
ac_res=$ac_cv_search_onesided_mem_htflush
12056
if test "$ac_res" != no; then :
12057
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12061
if test "x$ac_cv_search_onesided_mem_htflush" != xno; then :
12062
ac_cv_search_onesided_mem_htflush=1
12064
ac_cv_search_onesided_mem_htflush=0
12067
cat >>confdefs.h <<_ACEOF
12068
#define HAVE_ONESIDED_MEM_HTFLUSH $ac_cv_search_onesided_mem_htflush
12073
# check for a function introduced in libonesided/1.6
12074
# we purposefully abuse the ac_cv_search_onesided_fadd value
12075
if test "x$happy" = xyes; then :
12076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing onesided_fadd" >&5
12077
$as_echo_n "checking for library containing onesided_fadd... " >&6; }
12078
if ${ac_cv_search_onesided_fadd+:} false; then :
12079
$as_echo_n "(cached) " >&6
12081
ac_func_search_save_LIBS=$LIBS
12082
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12083
/* end confdefs.h. */
12085
/* Override any GCC internal prototype to avoid an error.
12086
Use char because int might match the return type of a GCC
12087
builtin and then its argument prototype would still apply. */
12091
char onesided_fadd ();
12095
return onesided_fadd ();
12100
for ac_lib in '' onesided; do
12101
if test -z "$ac_lib"; then
12102
ac_res="none required"
12105
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12107
if ac_fn_c_try_link "$LINENO"; then :
12108
ac_cv_search_onesided_fadd=$ac_res
12110
rm -f core conftest.err conftest.$ac_objext \
12112
if ${ac_cv_search_onesided_fadd+:} false; then :
12116
if ${ac_cv_search_onesided_fadd+:} false; then :
12119
ac_cv_search_onesided_fadd=no
12121
rm conftest.$ac_ext
12122
LIBS=$ac_func_search_save_LIBS
12124
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_onesided_fadd" >&5
12125
$as_echo "$ac_cv_search_onesided_fadd" >&6; }
12126
ac_res=$ac_cv_search_onesided_fadd
12127
if test "$ac_res" != no; then :
12128
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12132
if test "x$ac_cv_search_onesided_fadd" != xno; then :
12133
ac_cv_search_onesided_fadd=1
12135
ac_cv_search_onesided_fadd=0
12138
cat >>confdefs.h <<_ACEOF
12139
#define HAVE_ONESIDED_FADD $ac_cv_search_onesided_fadd
12148
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: too many armci networks specified: $armci_network_count" >&5
12149
$as_echo "$as_me: WARNING: too many armci networks specified: $armci_network_count" >&2;}
12150
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the following were specified:" >&5
12151
$as_echo "$as_me: WARNING: the following were specified:" >&2;}
12154
if test "x$with_armci" != x && test "x$with_armci" != xno; then :
12155
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-armci=$with_armci" >&5
12156
$as_echo "$as_me: WARNING: --with-armci=$with_armci" >&2;}
12162
if test "x$with_bgml" != x && test "x$with_bgml" != xno; then :
12163
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-bgml=$with_bgml" >&5
12164
$as_echo "$as_me: WARNING: --with-bgml=$with_bgml" >&2;}
12170
if test "x$with_cray_shmem" != x && test "x$with_cray_shmem" != xno; then :
12171
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-cray-shmem=$with_cray_shmem" >&5
12172
$as_echo "$as_me: WARNING: --with-cray-shmem=$with_cray_shmem" >&2;}
12178
if test "x$with_dcmf" != x && test "x$with_dcmf" != xno; then :
12179
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-dcmf=$with_dcmf" >&5
12180
$as_echo "$as_me: WARNING: --with-dcmf=$with_dcmf" >&2;}
12186
if test "x$with_dmapp" != x && test "x$with_dmapp" != xno; then :
12187
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-dmapp=$with_dmapp" >&5
12188
$as_echo "$as_me: WARNING: --with-dmapp=$with_dmapp" >&2;}
12194
if test "x$with_lapi" != x && test "x$with_lapi" != xno; then :
12195
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-lapi=$with_lapi" >&5
12196
$as_echo "$as_me: WARNING: --with-lapi=$with_lapi" >&2;}
12202
if test "x$with_mpi_ts" != x && test "x$with_mpi_ts" != xno; then :
12203
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-mpi-ts=$with_mpi_ts" >&5
12204
$as_echo "$as_me: WARNING: --with-mpi-ts=$with_mpi_ts" >&2;}
12210
if test "x$with_mpi_mt" != x && test "x$with_mpi_mt" != xno; then :
12211
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-mpi-mt=$with_mpi_mt" >&5
12212
$as_echo "$as_me: WARNING: --with-mpi-mt=$with_mpi_mt" >&2;}
12218
if test "x$with_mpi_spawn" != x && test "x$with_mpi_spawn" != xno; then :
12219
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-mpi-spawn=$with_mpi_spawn" >&5
12220
$as_echo "$as_me: WARNING: --with-mpi-spawn=$with_mpi_spawn" >&2;}
12226
if test "x$with_ofa" != x && test "x$with_ofa" != xno; then :
12227
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-ofa=$with_ofa" >&5
12228
$as_echo "$as_me: WARNING: --with-ofa=$with_ofa" >&2;}
12234
if test "x$with_openib" != x && test "x$with_openib" != xno; then :
12235
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-openib=$with_openib" >&5
12236
$as_echo "$as_me: WARNING: --with-openib=$with_openib" >&2;}
12242
if test "x$with_portals" != x && test "x$with_portals" != xno; then :
12243
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-portals=$with_portals" >&5
12244
$as_echo "$as_me: WARNING: --with-portals=$with_portals" >&2;}
12250
if test "x$with_gemini" != x && test "x$with_gemini" != xno; then :
12251
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gemini=$with_gemini" >&5
12252
$as_echo "$as_me: WARNING: --with-gemini=$with_gemini" >&2;}
12258
if test "x$with_sockets" != x && test "x$with_sockets" != xno; then :
12259
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-sockets=$with_sockets" >&5
12260
$as_echo "$as_me: WARNING: --with-sockets=$with_sockets" >&2;}
12264
as_fn_error $? "please select only one armci network" "$LINENO" 5 ;;
12267
# Remove ARMCI_NETWORK_CPPFLAGS from CPPFLAGS.
12268
CPPFLAGS="$ga_save_CPPFLAGS"
12269
# Remove ARMCI_NETWORK_LDFLAGS from LDFLAGS.
12270
LDFLAGS="$ga_save_LDFLAGS"
12271
# Remove ARMCI_NETWORK_LIBS from LIBS.
12272
LIBS="$ga_save_LIBS"
12276
if test "x$with_armci" != x && test "x$with_armci" != xno; then
12277
ARMCI_NETWORK_ARMCI_TRUE=
12278
ARMCI_NETWORK_ARMCI_FALSE='#'
12280
ARMCI_NETWORK_ARMCI_TRUE='#'
12281
ARMCI_NETWORK_ARMCI_FALSE=
12290
if test "x$with_bgml" != x && test "x$with_bgml" != xno; then
12291
ARMCI_NETWORK_BGML_TRUE=
12292
ARMCI_NETWORK_BGML_FALSE='#'
12294
ARMCI_NETWORK_BGML_TRUE='#'
12295
ARMCI_NETWORK_BGML_FALSE=
12304
if test "x$with_cray_shmem" != x && test "x$with_cray_shmem" != xno; then
12305
ARMCI_NETWORK_CRAY_SHMEM_TRUE=
12306
ARMCI_NETWORK_CRAY_SHMEM_FALSE='#'
12308
ARMCI_NETWORK_CRAY_SHMEM_TRUE='#'
12309
ARMCI_NETWORK_CRAY_SHMEM_FALSE=
12318
if test "x$with_dcmf" != x && test "x$with_dcmf" != xno; then
12319
ARMCI_NETWORK_DCMF_TRUE=
12320
ARMCI_NETWORK_DCMF_FALSE='#'
12322
ARMCI_NETWORK_DCMF_TRUE='#'
12323
ARMCI_NETWORK_DCMF_FALSE=
12332
if test "x$with_dmapp" != x && test "x$with_dmapp" != xno; then
12333
ARMCI_NETWORK_DMAPP_TRUE=
12334
ARMCI_NETWORK_DMAPP_FALSE='#'
12336
ARMCI_NETWORK_DMAPP_TRUE='#'
12337
ARMCI_NETWORK_DMAPP_FALSE=
12346
if test "x$with_lapi" != x && test "x$with_lapi" != xno; then
12347
ARMCI_NETWORK_LAPI_TRUE=
12348
ARMCI_NETWORK_LAPI_FALSE='#'
12350
ARMCI_NETWORK_LAPI_TRUE='#'
12351
ARMCI_NETWORK_LAPI_FALSE=
12360
if test "x$with_mpi_ts" != x && test "x$with_mpi_ts" != xno; then
12361
ARMCI_NETWORK_MPI_TS_TRUE=
12362
ARMCI_NETWORK_MPI_TS_FALSE='#'
12364
ARMCI_NETWORK_MPI_TS_TRUE='#'
12365
ARMCI_NETWORK_MPI_TS_FALSE=
12374
if test "x$with_mpi_mt" != x && test "x$with_mpi_mt" != xno; then
12375
ARMCI_NETWORK_MPI_MT_TRUE=
12376
ARMCI_NETWORK_MPI_MT_FALSE='#'
12378
ARMCI_NETWORK_MPI_MT_TRUE='#'
12379
ARMCI_NETWORK_MPI_MT_FALSE=
12388
if test "x$with_mpi_spawn" != x && test "x$with_mpi_spawn" != xno; then
12389
ARMCI_NETWORK_MPI_SPAWN_TRUE=
12390
ARMCI_NETWORK_MPI_SPAWN_FALSE='#'
12392
ARMCI_NETWORK_MPI_SPAWN_TRUE='#'
12393
ARMCI_NETWORK_MPI_SPAWN_FALSE=
12402
if test "x$with_ofa" != x && test "x$with_ofa" != xno; then
12403
ARMCI_NETWORK_OFA_TRUE=
12404
ARMCI_NETWORK_OFA_FALSE='#'
12406
ARMCI_NETWORK_OFA_TRUE='#'
12407
ARMCI_NETWORK_OFA_FALSE=
12416
if test "x$with_openib" != x && test "x$with_openib" != xno; then
12417
ARMCI_NETWORK_OPENIB_TRUE=
12418
ARMCI_NETWORK_OPENIB_FALSE='#'
12420
ARMCI_NETWORK_OPENIB_TRUE='#'
12421
ARMCI_NETWORK_OPENIB_FALSE=
12430
if test "x$with_gemini" != x && test "x$with_gemini" != xno; then
12431
ARMCI_NETWORK_GEMINI_TRUE=
12432
ARMCI_NETWORK_GEMINI_FALSE='#'
12434
ARMCI_NETWORK_GEMINI_TRUE='#'
12435
ARMCI_NETWORK_GEMINI_FALSE=
12444
if test "x$with_portals" != x && test "x$with_portals" != xno; then
12445
ARMCI_NETWORK_PORTALS_TRUE=
12446
ARMCI_NETWORK_PORTALS_FALSE='#'
12448
ARMCI_NETWORK_PORTALS_TRUE='#'
12449
ARMCI_NETWORK_PORTALS_FALSE=
12458
if test "x$with_sockets" != x && test "x$with_sockets" != xno; then
12459
ARMCI_NETWORK_SOCKETS_TRUE=
12460
ARMCI_NETWORK_SOCKETS_FALSE='#'
12462
ARMCI_NETWORK_SOCKETS_TRUE='#'
12463
ARMCI_NETWORK_SOCKETS_FALSE=
12474
if test x != x; then
12476
DCMF_VER_2_FALSE='#'
12478
DCMF_VER_2_TRUE='#'
12482
if test x != x; then
12484
DCMF_VER_0_2_FALSE='#'
12486
DCMF_VER_0_2_TRUE='#'
12487
DCMF_VER_0_2_FALSE=
12490
if test x = x; then
12492
DCMF_VER_0_3_FALSE='#'
12494
DCMF_VER_0_3_TRUE='#'
12495
DCMF_VER_0_3_FALSE=
12500
case $ga_armci_network in #(
12502
ARMCI_SRC_DIR=comex ;; #(
12504
ARMCI_SRC_DIR=src-gemini ;; #(
12506
ARMCI_SRC_DIR=src ;; #(
12508
ARMCI_SRC_DIR=comex ;; #(
12510
ARMCI_SRC_DIR=comex ;; #(
12512
ARMCI_SRC_DIR=src ;; #(
12514
ARMCI_SRC_DIR=src-portals ;; #(
12516
ARMCI_SRC_DIR=src-gemini ;; #(
12518
ARMCI_SRC_DIR=src ;;
12521
if test "x$ARMCI_SRC_DIR" = "xsrc-portals"; then
12522
ARMCI_SRC_DIR_PORTALS_TRUE=
12523
ARMCI_SRC_DIR_PORTALS_FALSE='#'
12525
ARMCI_SRC_DIR_PORTALS_TRUE='#'
12526
ARMCI_SRC_DIR_PORTALS_FALSE=
12529
if test "x$ARMCI_SRC_DIR" = "xsrc-gemini"; then
12530
ARMCI_SRC_DIR_GEMINI_TRUE=
12531
ARMCI_SRC_DIR_GEMINI_FALSE='#'
12533
ARMCI_SRC_DIR_GEMINI_TRUE='#'
12534
ARMCI_SRC_DIR_GEMINI_FALSE=
12537
if test "x$ARMCI_SRC_DIR" = "xcomex"; then
12538
ARMCI_SRC_DIR_COMEX_TRUE=
12539
ARMCI_SRC_DIR_COMEX_FALSE='#'
12541
ARMCI_SRC_DIR_COMEX_TRUE='#'
12542
ARMCI_SRC_DIR_COMEX_FALSE=
12545
if test "x$ARMCI_SRC_DIR" = "xsrc"; then
12546
ARMCI_SRC_DIR_SRC_TRUE=
12547
ARMCI_SRC_DIR_SRC_FALSE='#'
12549
ARMCI_SRC_DIR_SRC_TRUE='#'
12550
ARMCI_SRC_DIR_SRC_FALSE=
12554
# tcgmsg5 requires this
12555
if test x$ga_armci_network = xLAPI; then :
12557
$as_echo "#define NOTIFY_SENDER 1" >>confdefs.h
12560
$as_echo "#define LAPI 1" >>confdefs.h
12565
ga_cray_xt_networks=no
12566
if test x$ga_armci_network = xPORTALS; then :
12567
ga_cray_xt_networks=yes
12569
if test x$ga_armci_network = xCRAY_SHMEM; then :
12570
ga_cray_xt_networks=yes
12572
if test x$ga_cray_xt_networks = xyes; then
12573
CRAY_XT_NETWORKS_TRUE=
12574
CRAY_XT_NETWORKS_FALSE='#'
12576
CRAY_XT_NETWORKS_TRUE='#'
12577
CRAY_XT_NETWORKS_FALSE=
12582
# Only perform this hack for ARMCI build.
12583
if test "x$ARMCI_TOP_BUILDDIR" != x; then :
12585
if test x$ga_cv_sysv = xno; then :
12586
case $ga_armci_network in #(
12587
BGML|DCMF|PORTALS|GEMINI) :
12588
ga_cv_sysv_hack=no ;; #(
12590
ga_cv_sysv_hack=yes ;;
12593
ga_cv_sysv_hack=yes
12595
if test x$ga_cv_sysv_hack = xyes; then :
12597
$as_echo "#define SYSV 1" >>confdefs.h
12602
if test x$ga_cv_sysv_hack = xyes; then
12611
# if not using external armci library, the following functions are always available
12612
if test "x$ga_armci_network" != xARMCI; then :
12613
$as_echo "#define HAVE_ARMCI_GROUP_COMM 1" >>confdefs.h
12615
$as_echo "#define HAVE_ARMCI_INITIALIZED 1" >>confdefs.h
12617
$as_echo "#define HAVE_ARMCI_NOTIFY 1" >>confdefs.h
12619
$as_echo "#define HAVE_ARMCI_MSG_INIT 1" >>confdefs.h
12621
$as_echo "#define HAVE_ARMCI_MSG_FINALIZE 1" >>confdefs.h
12624
if test "x$ac_cv_member_ARMCI_Group_comm" = x1; then
12625
HAVE_ARMCI_GROUP_COMM_MEMBER_TRUE=
12626
HAVE_ARMCI_GROUP_COMM_MEMBER_FALSE='#'
12628
HAVE_ARMCI_GROUP_COMM_MEMBER_TRUE='#'
12629
HAVE_ARMCI_GROUP_COMM_MEMBER_FALSE=
12632
if test "x$ga_armci_network" != xARMCI; then
12633
HAVE_ARMCI_GROUP_COMM_TRUE=
12634
HAVE_ARMCI_GROUP_COMM_FALSE='#'
12636
HAVE_ARMCI_GROUP_COMM_TRUE='#'
12637
HAVE_ARMCI_GROUP_COMM_FALSE=
12640
if test "x$ga_armci_network" != xARMCI; then
12641
HAVE_ARMCI_INITIALIZED_TRUE=
12642
HAVE_ARMCI_INITIALIZED_FALSE='#'
12644
HAVE_ARMCI_INITIALIZED_TRUE='#'
12645
HAVE_ARMCI_INITIALIZED_FALSE=
12648
if test "x$ga_armci_network" != xARMCI; then
12649
HAVE_ARMCI_NOTIFY_TRUE=
12650
HAVE_ARMCI_NOTIFY_FALSE='#'
12652
HAVE_ARMCI_NOTIFY_TRUE='#'
12653
HAVE_ARMCI_NOTIFY_FALSE=
12656
if test "x$ga_armci_network" != xARMCI; then
12657
HAVE_ARMCI_MSG_INIT_TRUE=
12658
HAVE_ARMCI_MSG_INIT_FALSE='#'
12660
HAVE_ARMCI_MSG_INIT_TRUE='#'
12661
HAVE_ARMCI_MSG_INIT_FALSE=
12664
if test "x$ga_armci_network" != xARMCI; then
12665
HAVE_ARMCI_MSG_FINALIZE_TRUE=
12666
HAVE_ARMCI_MSG_FINALIZE_FALSE='#'
12668
HAVE_ARMCI_MSG_FINALIZE_TRUE='#'
12669
HAVE_ARMCI_MSG_FINALIZE_FALSE=
12672
# the armci iterators only available in the conglomerate sources
12673
case $ga_armci_network in #(
12674
ARMCI|GEMINI|PORTALS) :
12677
$as_echo "#define HAVE_ARMCI_STRIDE_INFO_INIT 1" >>confdefs.h
12680
if test "x$ga_armci_network" != xARMCI && test "x$ga_armci_network" != xGEMINI && test "x$ga_armci_network" != xPORTALS; then
12681
HAVE_ARMCI_STRIDE_INFO_INIT_TRUE=
12682
HAVE_ARMCI_STRIDE_INFO_INIT_FALSE='#'
12684
HAVE_ARMCI_STRIDE_INFO_INIT_TRUE='#'
12685
HAVE_ARMCI_STRIDE_INFO_INIT_FALSE=
12689
# ugly hack for working around NWChem memory requirements
12690
# and MPI startup verus the 'classic' ARMCI startup
12691
delay_tcgmsg_mpi_startup=1
12692
case $ga_armci_network in #(
12694
delay_tcgmsg_mpi_startup=0 ;; #(
12696
delay_tcgmsg_mpi_startup=1 ;; #(
12698
delay_tcgmsg_mpi_startup=1 ;; #(
12700
delay_tcgmsg_mpi_startup=1 ;; #(
12702
delay_tcgmsg_mpi_startup=0 ;; #(
12704
delay_tcgmsg_mpi_startup=1 ;; #(
12706
delay_tcgmsg_mpi_startup=0 ;; #(
12708
delay_tcgmsg_mpi_startup=1 ;; #(
12710
delay_tcgmsg_mpi_startup=0 ;; #(
12712
delay_tcgmsg_mpi_startup=1 ;; #(
12714
delay_tcgmsg_mpi_startup=1 ;; #(
12716
delay_tcgmsg_mpi_startup=1 ;; #(
12718
delay_tcgmsg_mpi_startup=1 ;; #(
12723
cat >>confdefs.h <<_ACEOF
12724
#define NEED_DELAY_TCGMSG_MPI_STARTUP $delay_tcgmsg_mpi_startup
12729
# Checks for C header files.
12731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable assertions" >&5
12732
$as_echo_n "checking whether to enable assertions... " >&6; }
12733
# Check whether --enable-assert was given.
12734
if test "${enable_assert+set}" = set; then :
12735
enableval=$enable_assert; ac_enable_assert=$enableval
12736
if test "x$enableval" = xno; then :
12738
$as_echo "#define NDEBUG 1" >>confdefs.h
12740
elif test "x$enableval" != xyes; then :
12741
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-assert" >&5
12742
$as_echo "$as_me: WARNING: invalid argument supplied to --enable-assert" >&2;}
12743
ac_enable_assert=yes
12746
ac_enable_assert=yes
12749
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_enable_assert" >&5
12750
$as_echo "$ac_enable_assert" >&6; }
12752
ac_header_dirent=no
12753
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
12754
as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
12755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
12756
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
12757
if eval \${$as_ac_Header+:} false; then :
12758
$as_echo_n "(cached) " >&6
12760
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12761
/* end confdefs.h. */
12762
#include <sys/types.h>
12774
if ac_fn_c_try_compile "$LINENO"; then :
12775
eval "$as_ac_Header=yes"
12777
eval "$as_ac_Header=no"
12779
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12781
eval ac_res=\$$as_ac_Header
12782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12783
$as_echo "$ac_res" >&6; }
12784
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12785
cat >>confdefs.h <<_ACEOF
12786
#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
12789
ac_header_dirent=$ac_hdr; break
12793
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
12794
if test $ac_header_dirent = dirent.h; then
12795
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12796
$as_echo_n "checking for library containing opendir... " >&6; }
12797
if ${ac_cv_search_opendir+:} false; then :
12798
$as_echo_n "(cached) " >&6
12800
ac_func_search_save_LIBS=$LIBS
12801
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12802
/* end confdefs.h. */
12804
/* Override any GCC internal prototype to avoid an error.
12805
Use char because int might match the return type of a GCC
12806
builtin and then its argument prototype would still apply. */
12819
for ac_lib in '' dir; do
12820
if test -z "$ac_lib"; then
12821
ac_res="none required"
12824
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12826
if ac_fn_c_try_link "$LINENO"; then :
12827
ac_cv_search_opendir=$ac_res
12829
rm -f core conftest.err conftest.$ac_objext \
12831
if ${ac_cv_search_opendir+:} false; then :
12835
if ${ac_cv_search_opendir+:} false; then :
12838
ac_cv_search_opendir=no
12840
rm conftest.$ac_ext
12841
LIBS=$ac_func_search_save_LIBS
12843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12844
$as_echo "$ac_cv_search_opendir" >&6; }
12845
ac_res=$ac_cv_search_opendir
12846
if test "$ac_res" != no; then :
12847
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12852
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12853
$as_echo_n "checking for library containing opendir... " >&6; }
12854
if ${ac_cv_search_opendir+:} false; then :
12855
$as_echo_n "(cached) " >&6
12857
ac_func_search_save_LIBS=$LIBS
12858
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12859
/* end confdefs.h. */
12861
/* Override any GCC internal prototype to avoid an error.
12862
Use char because int might match the return type of a GCC
12863
builtin and then its argument prototype would still apply. */
12876
for ac_lib in '' x; do
12877
if test -z "$ac_lib"; then
12878
ac_res="none required"
12881
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12883
if ac_fn_c_try_link "$LINENO"; then :
12884
ac_cv_search_opendir=$ac_res
12886
rm -f core conftest.err conftest.$ac_objext \
12888
if ${ac_cv_search_opendir+:} false; then :
12892
if ${ac_cv_search_opendir+:} false; then :
12895
ac_cv_search_opendir=no
12897
rm conftest.$ac_ext
12898
LIBS=$ac_func_search_save_LIBS
12900
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12901
$as_echo "$ac_cv_search_opendir" >&6; }
12902
ac_res=$ac_cv_search_opendir
12903
if test "$ac_res" != no; then :
12904
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12910
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
12911
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
12912
if ${ac_cv_header_stdbool_h+:} false; then :
12913
$as_echo_n "(cached) " >&6
12915
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12916
/* end confdefs.h. */
12918
#include <stdbool.h>
12920
"error: bool is not defined"
12923
"error: false is not defined"
12926
"error: false is not 0"
12929
"error: true is not defined"
12932
"error: true is not 1"
12934
#ifndef __bool_true_false_are_defined
12935
"error: __bool_true_false_are_defined is not defined"
12938
struct s { _Bool s: 1; _Bool t; } s;
12940
char a[true == 1 ? 1 : -1];
12941
char b[false == 0 ? 1 : -1];
12942
char c[__bool_true_false_are_defined == 1 ? 1 : -1];
12943
char d[(bool) 0.5 == true ? 1 : -1];
12944
/* See body of main program for 'e'. */
12945
char f[(_Bool) 0.0 == false ? 1 : -1];
12947
char h[sizeof (_Bool)];
12948
char i[sizeof s.t];
12949
enum { j = false, k = true, l = false * true, m = true * 256 };
12950
/* The following fails for
12951
HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
12953
char o[sizeof n == m * sizeof n[0] ? 1 : -1];
12954
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
12955
/* Catch a bug in an HP-UX C compiler. See
12956
http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
12957
http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
12969
/* Refer to every declared value, to avoid compiler optimizations. */
12970
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
12971
+ !m + !n + !o + !p + !q + !pq);
12977
if ac_fn_c_try_compile "$LINENO"; then :
12978
ac_cv_header_stdbool_h=yes
12980
ac_cv_header_stdbool_h=no
12982
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12984
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
12985
$as_echo "$ac_cv_header_stdbool_h" >&6; }
12986
ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
12987
if test "x$ac_cv_type__Bool" = xyes; then :
12989
cat >>confdefs.h <<_ACEOF
12990
#define HAVE__BOOL 1
12997
if test $ac_cv_header_stdbool_h = yes; then
12999
$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
13003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13004
$as_echo_n "checking for ANSI C header files... " >&6; }
13005
if ${ac_cv_header_stdc+:} false; then :
13006
$as_echo_n "(cached) " >&6
13008
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13009
/* end confdefs.h. */
13010
#include <stdlib.h>
13011
#include <stdarg.h>
13012
#include <string.h>
13023
if ac_fn_c_try_compile "$LINENO"; then :
13024
ac_cv_header_stdc=yes
13026
ac_cv_header_stdc=no
13028
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13030
if test $ac_cv_header_stdc = yes; then
13031
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13032
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13033
/* end confdefs.h. */
13034
#include <string.h>
13037
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13038
$EGREP "memchr" >/dev/null 2>&1; then :
13041
ac_cv_header_stdc=no
13047
if test $ac_cv_header_stdc = yes; then
13048
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13049
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13050
/* end confdefs.h. */
13051
#include <stdlib.h>
13054
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13055
$EGREP "free" >/dev/null 2>&1; then :
13058
ac_cv_header_stdc=no
13064
if test $ac_cv_header_stdc = yes; then
13065
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13066
if test "$cross_compiling" = yes; then :
13069
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13070
/* end confdefs.h. */
13072
#include <stdlib.h>
13073
#if ((' ' & 0x0FF) == 0x020)
13074
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13075
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13077
# define ISLOWER(c) \
13078
(('a' <= (c) && (c) <= 'i') \
13079
|| ('j' <= (c) && (c) <= 'r') \
13080
|| ('s' <= (c) && (c) <= 'z'))
13081
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13084
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13089
for (i = 0; i < 256; i++)
13090
if (XOR (islower (i), ISLOWER (i))
13091
|| toupper (i) != TOUPPER (i))
13096
if ac_fn_c_try_run "$LINENO"; then :
13099
ac_cv_header_stdc=no
13101
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13102
conftest.$ac_objext conftest.beam conftest.$ac_ext
13107
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13108
$as_echo "$ac_cv_header_stdc" >&6; }
13109
if test $ac_cv_header_stdc = yes; then
13111
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
13115
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
13116
$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
13117
if ${ac_cv_header_sys_wait_h+:} false; then :
13118
$as_echo_n "(cached) " >&6
13120
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13121
/* end confdefs.h. */
13122
#include <sys/types.h>
13123
#include <sys/wait.h>
13124
#ifndef WEXITSTATUS
13125
# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
13128
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
13136
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
13141
if ac_fn_c_try_compile "$LINENO"; then :
13142
ac_cv_header_sys_wait_h=yes
13144
ac_cv_header_sys_wait_h=no
13146
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13148
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
13149
$as_echo "$ac_cv_header_sys_wait_h" >&6; }
13150
if test $ac_cv_header_sys_wait_h = yes; then
13152
$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
13156
for ac_header in assert.h c_asm.h errno.h fcntl.h float.h ia64/sys/inline.h malloc.h math.h memory.h mpp/shmem.h netdb.h netinet/in.h netinet/tcp.h process.h setjmp.h signal.h stdarg.h stdint.h stdio.h stdlib.h string.h strings.h sys/types.h sys/atomic_op.h sys/errno.h sys/file.h sys/ipc.h sys/mman.h sys/param.h sys/sem.h sys/shm.h sys/socket.h sys/stat.h sys/syscall.h sys/systemcfg.h sys/time.h sys/uio.h sys/wait.h time.h unistd.h windows.h winsock.h rpc/rpc.h rpc/types.h rpc/xdr.h
13158
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13159
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_RPC_TYPES_H
13160
#include <rpc/types.h>
13162
#ifdef HAVE_SYS_TYPES_H
13163
#include <sys/types.h>
13165
#ifdef HAVE_SYS_IPC_H
13166
#include <sys/ipc.h>
13169
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13171
cat >>confdefs.h <<_ACEOF
13172
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13177
cat >>confdefs.h <<_ACEOF
13178
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 0
13186
# Checks for C typedefs, structures, and compiler characteristics.
13187
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13188
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13189
if ${ac_cv_c_const+:} false; then :
13190
$as_echo_n "(cached) " >&6
13192
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13193
/* end confdefs.h. */
13199
#ifndef __cplusplus
13200
/* Ultrix mips cc rejects this sort of thing. */
13201
typedef int charset[2];
13202
const charset cs = { 0, 0 };
13203
/* SunOS 4.1.1 cc rejects this. */
13204
char const *const *pcpcc;
13206
/* NEC SVR4.0.2 mips cc rejects this. */
13207
struct point {int x, y;};
13208
static struct point const zero = {0,0};
13209
/* AIX XL C 1.02.0.0 rejects this.
13210
It does not let you subtract one const X* pointer from another in
13211
an arm of an if-expression whose if-part is not a constant
13213
const char *g = "string";
13214
pcpcc = &g + (g ? g-g : 0);
13215
/* HPUX 7.0 cc rejects these. */
13217
ppc = (char**) pcpcc;
13218
pcpcc = (char const *const *) ppc;
13219
{ /* SCO 3.2v4 cc rejects this sort of thing. */
13222
char const *s = 0 ? (char *) 0 : (char const *) 0;
13227
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13228
int x[] = {25, 17};
13229
const int *foo = &x[0];
13232
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13233
typedef const int *iptr;
13237
{ /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
13238
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13239
struct s { int j; const int *ap[3]; } bx;
13240
struct s *b = &bx; b->j = 5;
13242
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13243
const int foo = 10;
13244
if (!foo) return 0;
13246
return !cs[0] && !zero.x;
13253
if ac_fn_c_try_compile "$LINENO"; then :
13258
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13260
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13261
$as_echo "$ac_cv_c_const" >&6; }
13262
if test $ac_cv_c_const = no; then
13264
$as_echo "#define const /**/" >>confdefs.h
13268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13269
$as_echo_n "checking for inline... " >&6; }
13270
if ${ac_cv_c_inline+:} false; then :
13271
$as_echo_n "(cached) " >&6
13274
for ac_kw in inline __inline__ __inline; do
13275
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13276
/* end confdefs.h. */
13277
#ifndef __cplusplus
13279
static $ac_kw foo_t static_foo () {return 0; }
13280
$ac_kw foo_t foo () {return 0; }
13284
if ac_fn_c_try_compile "$LINENO"; then :
13285
ac_cv_c_inline=$ac_kw
13287
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13288
test "$ac_cv_c_inline" != no && break
13292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13293
$as_echo "$ac_cv_c_inline" >&6; }
13295
case $ac_cv_c_inline in
13298
case $ac_cv_c_inline in
13300
*) ac_val=$ac_cv_c_inline;;
13302
cat >>confdefs.h <<_ACEOF
13303
#ifndef __cplusplus
13304
#define inline $ac_val
13310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
13311
$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
13312
if ${ac_cv_c_restrict+:} false; then :
13313
$as_echo_n "(cached) " >&6
13315
ac_cv_c_restrict=no
13316
# The order here caters to the fact that C++ does not require restrict.
13317
for ac_kw in __restrict __restrict__ _Restrict restrict; do
13318
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13319
/* end confdefs.h. */
13320
typedef int * int_ptr;
13321
int foo (int_ptr $ac_kw ip) {
13328
int * $ac_kw t = s;
13335
if ac_fn_c_try_compile "$LINENO"; then :
13336
ac_cv_c_restrict=$ac_kw
13338
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13339
test "$ac_cv_c_restrict" != no && break
13343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
13344
$as_echo "$ac_cv_c_restrict" >&6; }
13346
case $ac_cv_c_restrict in
13348
no) $as_echo "#define restrict /**/" >>confdefs.h
13350
*) cat >>confdefs.h <<_ACEOF
13351
#define restrict $ac_cv_c_restrict
13356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
13357
$as_echo_n "checking for working volatile... " >&6; }
13358
if ${ac_cv_c_volatile+:} false; then :
13359
$as_echo_n "(cached) " >&6
13361
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13362
/* end confdefs.h. */
13369
int * volatile y = (int *) 0;
13375
if ac_fn_c_try_compile "$LINENO"; then :
13376
ac_cv_c_volatile=yes
13378
ac_cv_c_volatile=no
13380
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13382
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
13383
$as_echo "$ac_cv_c_volatile" >&6; }
13384
if test $ac_cv_c_volatile = no; then
13386
$as_echo "#define volatile /**/" >>confdefs.h
13390
ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
13391
case $ac_cv_c_int16_t in #(
13395
cat >>confdefs.h <<_ACEOF
13396
#define int16_t $ac_cv_c_int16_t
13401
ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
13402
case $ac_cv_c_int32_t in #(
13406
cat >>confdefs.h <<_ACEOF
13407
#define int32_t $ac_cv_c_int32_t
13412
ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
13413
case $ac_cv_c_int64_t in #(
13417
cat >>confdefs.h <<_ACEOF
13418
#define int64_t $ac_cv_c_int64_t
13423
ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13424
if test "x$ac_cv_type_off_t" = xyes; then :
13428
cat >>confdefs.h <<_ACEOF
13429
#define off_t long int
13434
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13435
if test "x$ac_cv_type_pid_t" = xyes; then :
13439
cat >>confdefs.h <<_ACEOF
13445
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
13446
$as_echo_n "checking return type of signal handlers... " >&6; }
13447
if ${ac_cv_type_signal+:} false; then :
13448
$as_echo_n "(cached) " >&6
13450
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13451
/* end confdefs.h. */
13452
#include <sys/types.h>
13453
#include <signal.h>
13458
return *(signal (0, 0)) (0) == 1;
13463
if ac_fn_c_try_compile "$LINENO"; then :
13464
ac_cv_type_signal=int
13466
ac_cv_type_signal=void
13468
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13470
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
13471
$as_echo "$ac_cv_type_signal" >&6; }
13473
cat >>confdefs.h <<_ACEOF
13474
#define RETSIGTYPE $ac_cv_type_signal
13478
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13479
if test "x$ac_cv_type_size_t" = xyes; then :
13483
cat >>confdefs.h <<_ACEOF
13484
#define size_t unsigned int
13489
ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13490
if test "x$ac_cv_type_ssize_t" = xyes; then :
13494
cat >>confdefs.h <<_ACEOF
13495
#define ssize_t int
13500
ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
13501
case $ac_cv_c_uint8_t in #(
13505
$as_echo "#define _UINT8_T 1" >>confdefs.h
13508
cat >>confdefs.h <<_ACEOF
13509
#define uint8_t $ac_cv_c_uint8_t
13514
ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
13515
case $ac_cv_c_uint16_t in #(
13520
cat >>confdefs.h <<_ACEOF
13521
#define uint16_t $ac_cv_c_uint16_t
13526
ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
13527
case $ac_cv_c_uint32_t in #(
13531
$as_echo "#define _UINT32_T 1" >>confdefs.h
13534
cat >>confdefs.h <<_ACEOF
13535
#define uint32_t $ac_cv_c_uint32_t
13540
ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
13541
case $ac_cv_c_uint64_t in #(
13545
$as_echo "#define _UINT64_T 1" >>confdefs.h
13548
cat >>confdefs.h <<_ACEOF
13549
#define uint64_t $ac_cv_c_uint64_t
13554
ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
13555
if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
13557
cat >>confdefs.h <<_ACEOF
13558
#define HAVE_PTRDIFF_T 1
13564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for preprocessor symbol for function name" >&5
13565
$as_echo_n "checking for preprocessor symbol for function name... " >&6; }
13566
if ${ga_cv_cpp_function+:} false; then :
13567
$as_echo_n "(cached) " >&6
13569
if test x$ga_cv_cpp_function = x; then :
13570
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13571
/* end confdefs.h. */
13572
extern int printf(const char *format, ...);
13576
printf("__func__ = %s\n", __func__);
13581
if ac_fn_c_try_compile "$LINENO"; then :
13582
ga_cv_cpp_function=__func__
13584
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13586
if test x$ga_cv_cpp_function = x; then :
13587
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13588
/* end confdefs.h. */
13589
extern int printf(const char *format, ...);
13593
printf("__FUNCTION__ = %s\n", __FUNCTION__);
13598
if ac_fn_c_try_compile "$LINENO"; then :
13599
ga_cv_cpp_function=__FUNCTION__
13601
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13603
if test x$ga_cv_cpp_function = x; then :
13604
ga_cv_cpp_function='"Unknown"'
13607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ga_cv_cpp_function" >&5
13608
$as_echo "$ga_cv_cpp_function" >&6; }
13610
cat >>confdefs.h <<_ACEOF
13611
#define FUNCTION_NAME $ga_cv_cpp_function
13616
# Check whether --enable-weak was given.
13617
if test "${enable_weak+set}" = set; then :
13618
enableval=$enable_weak;
13623
if test "x$ga_cv_target_base" = xCYGWIN; then :
13628
if test "x$enable_weak" = xyes; then :
13629
ax_sys_weak_alias=no
13630
# Test whether compiler accepts #pragma form of weak aliasing
13631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports #pragma weak" >&5
13632
$as_echo_n "checking whether $CC supports #pragma weak... " >&6; }
13633
if ${ax_cv_sys_weak_alias_pragma+:} false; then :
13634
$as_echo_n "(cached) " >&6
13638
# Try linking with a weak alias...
13639
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13640
/* end confdefs.h. */
13643
extern void weakf(int c);
13644
#pragma weak weakf = __weakf
13645
void __weakf(int c) {}
13654
if ac_fn_c_try_link "$LINENO"; then :
13655
ax_cv_sys_weak_alias_pragma=yes
13657
ax_cv_sys_weak_alias_pragma=no
13659
rm -f core conftest.err conftest.$ac_objext \
13660
conftest$ac_exeext conftest.$ac_ext
13663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_sys_weak_alias_pragma" >&5
13664
$as_echo "$ax_cv_sys_weak_alias_pragma" >&6; }
13666
# What was the result of the test?
13667
if test $ax_sys_weak_alias = no &&
13668
test $ax_cv_sys_weak_alias_pragma = yes; then :
13670
ax_sys_weak_alias=pragma
13672
$as_echo "#define HAVE_SYS_WEAK_ALIAS_PRAGMA 1" >>confdefs.h
13678
ax_cv_sys_weak_alias_pragma=no
13680
$as_echo "#define HAVE_SYS_WEAK_ALIAS_PRAGMA 0" >>confdefs.h
13683
if test "x$ax_cv_sys_weak_alias_pragma" = xyes; then
13684
HAVE_SYS_WEAK_ALIAS_PRAGMA_TRUE=
13685
HAVE_SYS_WEAK_ALIAS_PRAGMA_FALSE='#'
13687
HAVE_SYS_WEAK_ALIAS_PRAGMA_TRUE='#'
13688
HAVE_SYS_WEAK_ALIAS_PRAGMA_FALSE=
13691
# enable shared libs automatically if profiling using weak symbols
13692
if test "x$ax_cv_sys_weak_alias_pragma" = xyes; then :
13693
if test "x$enable_profiling" = xyes; then :
13698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for union semun in sys/sem.h" >&5
13699
$as_echo_n "checking for union semun in sys/sem.h... " >&6; }
13700
if ${ga_cv_union_semun+:} false; then :
13701
$as_echo_n "(cached) " >&6
13703
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13704
/* end confdefs.h. */
13705
#include <sys/types.h>
13706
#include <sys/ipc.h>
13707
#include <sys/sem.h>
13712
semctl(0, 0, 0, arg);
13717
if ac_fn_c_try_compile "$LINENO"; then :
13718
ga_cv_union_semun=yes
13720
ga_cv_union_semun=no
13722
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ga_cv_union_semun" >&5
13725
$as_echo "$ga_cv_union_semun" >&6; }
13726
if test x$ga_cv_union_semun = xyes; then :
13728
$as_echo "#define HAVE_UNION_SEMUN 1" >>confdefs.h
13733
# Checks for C type sizes.
13734
# The cast to long int works around a bug in the HP C Compiler
13735
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13736
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13737
# This bug is HP SR number 8606223364.
13738
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
13739
$as_echo_n "checking size of void*... " >&6; }
13740
if ${ac_cv_sizeof_voidp+:} false; then :
13741
$as_echo_n "(cached) " >&6
13743
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
13746
if test "$ac_cv_type_voidp" = yes; then
13747
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13748
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13749
as_fn_error 77 "cannot compute sizeof (void*)
13750
See \`config.log' for more details" "$LINENO" 5; }
13752
ac_cv_sizeof_voidp=0
13757
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
13758
$as_echo "$ac_cv_sizeof_voidp" >&6; }
13762
cat >>confdefs.h <<_ACEOF
13763
#define SIZEOF_VOIDP $ac_cv_sizeof_voidp
13767
# The cast to long int works around a bug in the HP C Compiler
13768
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13769
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13770
# This bug is HP SR number 8606223364.
13771
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
13772
$as_echo_n "checking size of char... " >&6; }
13773
if ${ac_cv_sizeof_char+:} false; then :
13774
$as_echo_n "(cached) " >&6
13776
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
13779
if test "$ac_cv_type_char" = yes; then
13780
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13781
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13782
as_fn_error 77 "cannot compute sizeof (char)
13783
See \`config.log' for more details" "$LINENO" 5; }
13785
ac_cv_sizeof_char=0
13790
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
13791
$as_echo "$ac_cv_sizeof_char" >&6; }
13795
cat >>confdefs.h <<_ACEOF
13796
#define SIZEOF_CHAR $ac_cv_sizeof_char
13800
# The cast to long int works around a bug in the HP C Compiler
13801
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13802
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13803
# This bug is HP SR number 8606223364.
13804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13805
$as_echo_n "checking size of short... " >&6; }
13806
if ${ac_cv_sizeof_short+:} false; then :
13807
$as_echo_n "(cached) " >&6
13809
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
13812
if test "$ac_cv_type_short" = yes; then
13813
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13814
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13815
as_fn_error 77 "cannot compute sizeof (short)
13816
See \`config.log' for more details" "$LINENO" 5; }
13818
ac_cv_sizeof_short=0
13823
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13824
$as_echo "$ac_cv_sizeof_short" >&6; }
13828
cat >>confdefs.h <<_ACEOF
13829
#define SIZEOF_SHORT $ac_cv_sizeof_short
13833
# The cast to long int works around a bug in the HP C Compiler
13834
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13835
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13836
# This bug is HP SR number 8606223364.
13837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13838
$as_echo_n "checking size of int... " >&6; }
13839
if ${ac_cv_sizeof_int+:} false; then :
13840
$as_echo_n "(cached) " >&6
13842
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
13845
if test "$ac_cv_type_int" = yes; then
13846
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13847
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13848
as_fn_error 77 "cannot compute sizeof (int)
13849
See \`config.log' for more details" "$LINENO" 5; }
13856
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13857
$as_echo "$ac_cv_sizeof_int" >&6; }
13861
cat >>confdefs.h <<_ACEOF
13862
#define SIZEOF_INT $ac_cv_sizeof_int
13866
# The cast to long int works around a bug in the HP C Compiler
13867
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13868
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13869
# This bug is HP SR number 8606223364.
13870
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13871
$as_echo_n "checking size of long... " >&6; }
13872
if ${ac_cv_sizeof_long+:} false; then :
13873
$as_echo_n "(cached) " >&6
13875
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
13878
if test "$ac_cv_type_long" = yes; then
13879
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13880
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13881
as_fn_error 77 "cannot compute sizeof (long)
13882
See \`config.log' for more details" "$LINENO" 5; }
13884
ac_cv_sizeof_long=0
13889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13890
$as_echo "$ac_cv_sizeof_long" >&6; }
13894
cat >>confdefs.h <<_ACEOF
13895
#define SIZEOF_LONG $ac_cv_sizeof_long
13899
# The cast to long int works around a bug in the HP C Compiler
13900
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13901
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13902
# This bug is HP SR number 8606223364.
13903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
13904
$as_echo_n "checking size of long long... " >&6; }
13905
if ${ac_cv_sizeof_long_long+:} false; then :
13906
$as_echo_n "(cached) " >&6
13908
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
13911
if test "$ac_cv_type_long_long" = yes; then
13912
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13913
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13914
as_fn_error 77 "cannot compute sizeof (long long)
13915
See \`config.log' for more details" "$LINENO" 5; }
13917
ac_cv_sizeof_long_long=0
13922
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
13923
$as_echo "$ac_cv_sizeof_long_long" >&6; }
13927
cat >>confdefs.h <<_ACEOF
13928
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13932
# The cast to long int works around a bug in the HP C Compiler
13933
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13934
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13935
# This bug is HP SR number 8606223364.
13936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
13937
$as_echo_n "checking size of float... " >&6; }
13938
if ${ac_cv_sizeof_float+:} false; then :
13939
$as_echo_n "(cached) " >&6
13941
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then :
13944
if test "$ac_cv_type_float" = yes; then
13945
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13946
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13947
as_fn_error 77 "cannot compute sizeof (float)
13948
See \`config.log' for more details" "$LINENO" 5; }
13950
ac_cv_sizeof_float=0
13955
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
13956
$as_echo "$ac_cv_sizeof_float" >&6; }
13960
cat >>confdefs.h <<_ACEOF
13961
#define SIZEOF_FLOAT $ac_cv_sizeof_float
13965
# The cast to long int works around a bug in the HP C Compiler
13966
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13967
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13968
# This bug is HP SR number 8606223364.
13969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
13970
$as_echo_n "checking size of double... " >&6; }
13971
if ${ac_cv_sizeof_double+:} false; then :
13972
$as_echo_n "(cached) " >&6
13974
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
13977
if test "$ac_cv_type_double" = yes; then
13978
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13979
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13980
as_fn_error 77 "cannot compute sizeof (double)
13981
See \`config.log' for more details" "$LINENO" 5; }
13983
ac_cv_sizeof_double=0
13988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
13989
$as_echo "$ac_cv_sizeof_double" >&6; }
13993
cat >>confdefs.h <<_ACEOF
13994
#define SIZEOF_DOUBLE $ac_cv_sizeof_double
13998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for smallest C integer matching void*" >&5
13999
$as_echo_n "checking for smallest C integer matching void*... " >&6; }
14000
if ${ga_cv_c_pointer_as_integer+:} false; then :
14001
$as_echo_n "(cached) " >&6
14003
if test "x$ac_cv_sizeof_voidp" = "x$ac_cv_sizeof_short"; then :
14004
ga_cv_c_pointer_as_integer=short
14005
elif test "x$ac_cv_sizeof_voidp" = "x$ac_cv_sizeof_int"; then :
14006
ga_cv_c_pointer_as_integer=int
14007
elif test "x$ac_cv_sizeof_voidp" = "x$ac_cv_sizeof_long"; then :
14008
ga_cv_c_pointer_as_integer=long
14009
elif test "x$ac_cv_sizeof_voidp" = "x$ac_cv_sizeof_long_long"; then :
14010
ga_cv_c_pointer_as_integer="long long"
14012
as_fn_error $? "Could not determine smallest C integer matching void*" "$LINENO" 5
14015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ga_cv_c_pointer_as_integer" >&5
14016
$as_echo "$ga_cv_c_pointer_as_integer" >&6; }
14017
C_POINTER_AS_INTEGER=$ga_cv_c_pointer_as_integer
14021
# Checks for C library functions.
14022
for ac_header in vfork.h
14024
ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
14025
if test "x$ac_cv_header_vfork_h" = xyes; then :
14026
cat >>confdefs.h <<_ACEOF
14027
#define HAVE_VFORK_H 1
14034
for ac_func in fork vfork
14036
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14037
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14038
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14039
cat >>confdefs.h <<_ACEOF
14040
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14046
if test "x$ac_cv_func_fork" = xyes; then
14047
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
14048
$as_echo_n "checking for working fork... " >&6; }
14049
if ${ac_cv_func_fork_works+:} false; then :
14050
$as_echo_n "(cached) " >&6
14052
if test "$cross_compiling" = yes; then :
14053
ac_cv_func_fork_works=cross
14055
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14056
/* end confdefs.h. */
14057
$ac_includes_default
14062
/* By Ruediger Kuhlmann. */
14063
return fork () < 0;
14069
if ac_fn_c_try_run "$LINENO"; then :
14070
ac_cv_func_fork_works=yes
14072
ac_cv_func_fork_works=no
14074
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14075
conftest.$ac_objext conftest.beam conftest.$ac_ext
14079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
14080
$as_echo "$ac_cv_func_fork_works" >&6; }
14083
ac_cv_func_fork_works=$ac_cv_func_fork
14085
if test "x$ac_cv_func_fork_works" = xcross; then
14087
*-*-amigaos* | *-*-msdosdjgpp*)
14088
# Override, as these systems have only a dummy fork() stub
14089
ac_cv_func_fork_works=no
14092
ac_cv_func_fork_works=yes
14095
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
14096
$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
14098
ac_cv_func_vfork_works=$ac_cv_func_vfork
14099
if test "x$ac_cv_func_vfork" = xyes; then
14100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
14101
$as_echo_n "checking for working vfork... " >&6; }
14102
if ${ac_cv_func_vfork_works+:} false; then :
14103
$as_echo_n "(cached) " >&6
14105
if test "$cross_compiling" = yes; then :
14106
ac_cv_func_vfork_works=cross
14108
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14109
/* end confdefs.h. */
14110
/* Thanks to Paul Eggert for this test. */
14111
$ac_includes_default
14112
#include <sys/wait.h>
14113
#ifdef HAVE_VFORK_H
14114
# include <vfork.h>
14116
/* On some sparc systems, changes by the child to local and incoming
14117
argument registers are propagated back to the parent. The compiler
14118
is told about this with #include <vfork.h>, but some compilers
14119
(e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
14120
static variable whose address is put into a register that is
14121
clobbered by the vfork. */
14124
sparc_address_test (int arg)
14126
sparc_address_test (arg) int arg;
14129
static pid_t child;
14147
pid_t parent = getpid ();
14150
sparc_address_test (0);
14155
/* Here is another test for sparc vfork register problems. This
14156
test uses lots of local variables, at least as many local
14157
variables as main has allocated so far including compiler
14158
temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
14159
4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
14160
reuse the register of parent for one of the local variables,
14161
since it will think that parent can't possibly be used any more
14162
in this routine. Assigning to the local variable will thus
14163
munge parent in the parent process. */
14165
p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
14166
p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
14167
/* Convince the compiler that p..p7 are live; otherwise, it might
14168
use the same hardware register for all 8 local variables. */
14169
if (p != p1 || p != p2 || p != p3 || p != p4
14170
|| p != p5 || p != p6 || p != p7)
14173
/* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
14174
from child file descriptors. If the child closes a descriptor
14175
before it execs or exits, this munges the parent's descriptor
14176
as well. Test for this by closing stdout in the child. */
14177
_exit(close(fileno(stdout)) != 0);
14182
while (wait(&status) != child)
14185
/* Was there some problem with vforking? */
14188
/* Did the child fail? (This shouldn't happen.) */
14191
/* Did the vfork/compiler bug occur? */
14192
|| parent != getpid()
14194
/* Did the file descriptor bug occur? */
14195
|| fstat(fileno(stdout), &st) != 0
14200
if ac_fn_c_try_run "$LINENO"; then :
14201
ac_cv_func_vfork_works=yes
14203
ac_cv_func_vfork_works=no
14205
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14206
conftest.$ac_objext conftest.beam conftest.$ac_ext
14210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
14211
$as_echo "$ac_cv_func_vfork_works" >&6; }
14214
if test "x$ac_cv_func_fork_works" = xcross; then
14215
ac_cv_func_vfork_works=$ac_cv_func_vfork
14216
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
14217
$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
14220
if test "x$ac_cv_func_vfork_works" = xyes; then
14222
$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
14226
$as_echo "#define vfork fork" >>confdefs.h
14229
if test "x$ac_cv_func_fork_works" = xyes; then
14231
$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
14238
for ac_header in $ac_header_list
14240
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14241
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
14243
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14244
cat >>confdefs.h <<_ACEOF
14245
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14259
for ac_func in getpagesize
14261
ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
14262
if test "x$ac_cv_func_getpagesize" = xyes; then :
14263
cat >>confdefs.h <<_ACEOF
14264
#define HAVE_GETPAGESIZE 1
14270
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
14271
$as_echo_n "checking for working mmap... " >&6; }
14272
if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
14273
$as_echo_n "(cached) " >&6
14275
if test "$cross_compiling" = yes; then :
14276
ac_cv_func_mmap_fixed_mapped=no
14278
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14279
/* end confdefs.h. */
14280
$ac_includes_default
14281
/* malloc might have been renamed as rpl_malloc. */
14284
/* Thanks to Mike Haertel and Jim Avera for this test.
14285
Here is a matrix of mmap possibilities:
14286
mmap private not fixed
14287
mmap private fixed at somewhere currently unmapped
14288
mmap private fixed at somewhere already mapped
14289
mmap shared not fixed
14290
mmap shared fixed at somewhere currently unmapped
14291
mmap shared fixed at somewhere already mapped
14292
For private mappings, we should verify that changes cannot be read()
14293
back from the file, nor mmap's back from the file at a different
14294
address. (There have been systems where private was not correctly
14295
implemented like the infamous i386 svr4.0, and systems where the
14296
VM page cache was not coherent with the file system buffer cache
14297
like early versions of FreeBSD and possibly contemporary NetBSD.)
14298
For shared mappings, we should conversely verify that changes get
14299
propagated back to all the places they're supposed to be.
14301
Grep wants private fixed already mapped.
14302
The main things grep needs to know about mmap are:
14303
* does it exist and is it safe to write into the mmap'd area
14304
* how to use it (BSD variants) */
14307
#include <sys/mman.h>
14309
#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
14313
/* This mess was copied from the GNU getpagesize.h. */
14314
#ifndef HAVE_GETPAGESIZE
14315
# ifdef _SC_PAGESIZE
14316
# define getpagesize() sysconf(_SC_PAGESIZE)
14317
# else /* no _SC_PAGESIZE */
14318
# ifdef HAVE_SYS_PARAM_H
14319
# include <sys/param.h>
14320
# ifdef EXEC_PAGESIZE
14321
# define getpagesize() EXEC_PAGESIZE
14322
# else /* no EXEC_PAGESIZE */
14324
# define getpagesize() NBPG * CLSIZE
14327
# endif /* no CLSIZE */
14328
# else /* no NBPG */
14330
# define getpagesize() NBPC
14331
# else /* no NBPC */
14333
# define getpagesize() PAGESIZE
14334
# endif /* PAGESIZE */
14335
# endif /* no NBPC */
14336
# endif /* no NBPG */
14337
# endif /* no EXEC_PAGESIZE */
14338
# else /* no HAVE_SYS_PARAM_H */
14339
# define getpagesize() 8192 /* punt totally */
14340
# endif /* no HAVE_SYS_PARAM_H */
14341
# endif /* no _SC_PAGESIZE */
14343
#endif /* no HAVE_GETPAGESIZE */
14348
char *data, *data2, *data3;
14349
const char *cdata2;
14353
pagesize = getpagesize ();
14355
/* First, make a file with some known garbage in it. */
14356
data = (char *) malloc (pagesize);
14359
for (i = 0; i < pagesize; ++i)
14360
*(data + i) = rand ();
14362
fd = creat ("conftest.mmap", 0600);
14365
if (write (fd, data, pagesize) != pagesize)
14369
/* Next, check that the tail of a page is zero-filled. File must have
14370
non-zero length, otherwise we risk SIGBUS for entire page. */
14371
fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
14375
if (write (fd2, cdata2, 1) != 1)
14377
data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
14378
if (data2 == MAP_FAILED)
14380
for (i = 0; i < pagesize; ++i)
14384
if (munmap (data2, pagesize))
14387
/* Next, try to mmap the file at a fixed address which already has
14388
something else allocated at it. If we can, also make sure that
14389
we see the same garbage. */
14390
fd = open ("conftest.mmap", O_RDWR);
14393
if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14394
MAP_PRIVATE | MAP_FIXED, fd, 0L))
14396
for (i = 0; i < pagesize; ++i)
14397
if (*(data + i) != *(data2 + i))
14400
/* Finally, make sure that changes to the mapped area do not
14401
percolate back to the file as seen by read(). (This is a bug on
14402
some variants of i386 svr4.0.) */
14403
for (i = 0; i < pagesize; ++i)
14404
*(data2 + i) = *(data2 + i) + 1;
14405
data3 = (char *) malloc (pagesize);
14408
if (read (fd, data3, pagesize) != pagesize)
14410
for (i = 0; i < pagesize; ++i)
14411
if (*(data + i) != *(data3 + i))
14417
if ac_fn_c_try_run "$LINENO"; then :
14418
ac_cv_func_mmap_fixed_mapped=yes
14420
ac_cv_func_mmap_fixed_mapped=no
14422
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14423
conftest.$ac_objext conftest.beam conftest.$ac_ext
14427
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
14428
$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
14429
if test $ac_cv_func_mmap_fixed_mapped = yes; then
14431
$as_echo "#define HAVE_MMAP 1" >>confdefs.h
14434
rm -f conftest.mmap conftest.txt
14436
for ac_header in sys/select.h sys/socket.h
14438
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14439
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14440
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14441
cat >>confdefs.h <<_ACEOF
14442
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
14450
$as_echo_n "checking types of arguments for select... " >&6; }
14451
if ${ac_cv_func_select_args+:} false; then :
14452
$as_echo_n "(cached) " >&6
14454
for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
14455
for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
14456
for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
14457
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14458
/* end confdefs.h. */
14459
$ac_includes_default
14460
#ifdef HAVE_SYS_SELECT_H
14461
# include <sys/select.h>
14463
#ifdef HAVE_SYS_SOCKET_H
14464
# include <sys/socket.h>
14470
extern int select ($ac_arg1,
14471
$ac_arg234, $ac_arg234, $ac_arg234,
14477
if ac_fn_c_try_compile "$LINENO"; then :
14478
ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
14480
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14484
# Provide a safe default value.
14485
: "${ac_cv_func_select_args=int,int *,struct timeval *}"
14488
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
14489
$as_echo "$ac_cv_func_select_args" >&6; }
14490
ac_save_IFS=$IFS; IFS=','
14491
set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
14495
cat >>confdefs.h <<_ACEOF
14496
#define SELECT_TYPE_ARG1 $1
14500
cat >>confdefs.h <<_ACEOF
14501
#define SELECT_TYPE_ARG234 ($2)
14505
cat >>confdefs.h <<_ACEOF
14506
#define SELECT_TYPE_ARG5 ($3)
14511
for ac_func in vprintf
14513
ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
14514
if test "x$ac_cv_func_vprintf" = xyes; then :
14515
cat >>confdefs.h <<_ACEOF
14516
#define HAVE_VPRINTF 1
14519
ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
14520
if test "x$ac_cv_func__doprnt" = xyes; then :
14522
$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
14530
if test "x$ga_msg_comms" = xTCGMSG; then :
14531
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing xdr_array" >&5
14532
$as_echo_n "checking for library containing xdr_array... " >&6; }
14533
if ${ac_cv_search_xdr_array+:} false; then :
14534
$as_echo_n "(cached) " >&6
14536
ac_func_search_save_LIBS=$LIBS
14537
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14538
/* end confdefs.h. */
14540
/* Override any GCC internal prototype to avoid an error.
14541
Use char because int might match the return type of a GCC
14542
builtin and then its argument prototype would still apply. */
14550
return xdr_array ();
14555
for ac_lib in '' rpclib; do
14556
if test -z "$ac_lib"; then
14557
ac_res="none required"
14560
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14562
if ac_fn_c_try_link "$LINENO"; then :
14563
ac_cv_search_xdr_array=$ac_res
14565
rm -f core conftest.err conftest.$ac_objext \
14567
if ${ac_cv_search_xdr_array+:} false; then :
14571
if ${ac_cv_search_xdr_array+:} false; then :
14574
ac_cv_search_xdr_array=no
14576
rm conftest.$ac_ext
14577
LIBS=$ac_func_search_save_LIBS
14579
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_xdr_array" >&5
14580
$as_echo "$ac_cv_search_xdr_array" >&6; }
14581
ac_res=$ac_cv_search_xdr_array
14582
if test "$ac_res" != no; then :
14583
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14588
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
14589
$as_echo_n "checking for library containing floor... " >&6; }
14590
if ${ac_cv_search_floor+:} false; then :
14591
$as_echo_n "(cached) " >&6
14593
ac_func_search_save_LIBS=$LIBS
14594
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14595
/* end confdefs.h. */
14597
/* Override any GCC internal prototype to avoid an error.
14598
Use char because int might match the return type of a GCC
14599
builtin and then its argument prototype would still apply. */
14612
for ac_lib in '' m; do
14613
if test -z "$ac_lib"; then
14614
ac_res="none required"
14617
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14619
if ac_fn_c_try_link "$LINENO"; then :
14620
ac_cv_search_floor=$ac_res
14622
rm -f core conftest.err conftest.$ac_objext \
14624
if ${ac_cv_search_floor+:} false; then :
14628
if ${ac_cv_search_floor+:} false; then :
14631
ac_cv_search_floor=no
14633
rm conftest.$ac_ext
14634
LIBS=$ac_func_search_save_LIBS
14636
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5
14637
$as_echo "$ac_cv_search_floor" >&6; }
14638
ac_res=$ac_cv_search_floor
14639
if test "$ac_res" != no; then :
14640
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14647
cat >>confdefs.h <<_ACEOF
14648
#define HAVE_FLOOR $have_floor
14651
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pow" >&5
14652
$as_echo_n "checking for library containing pow... " >&6; }
14653
if ${ac_cv_search_pow+:} false; then :
14654
$as_echo_n "(cached) " >&6
14656
ac_func_search_save_LIBS=$LIBS
14657
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14658
/* end confdefs.h. */
14660
/* Override any GCC internal prototype to avoid an error.
14661
Use char because int might match the return type of a GCC
14662
builtin and then its argument prototype would still apply. */
14675
for ac_lib in '' m; do
14676
if test -z "$ac_lib"; then
14677
ac_res="none required"
14680
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14682
if ac_fn_c_try_link "$LINENO"; then :
14683
ac_cv_search_pow=$ac_res
14685
rm -f core conftest.err conftest.$ac_objext \
14687
if ${ac_cv_search_pow+:} false; then :
14691
if ${ac_cv_search_pow+:} false; then :
14694
ac_cv_search_pow=no
14696
rm conftest.$ac_ext
14697
LIBS=$ac_func_search_save_LIBS
14699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pow" >&5
14700
$as_echo "$ac_cv_search_pow" >&6; }
14701
ac_res=$ac_cv_search_pow
14702
if test "$ac_res" != no; then :
14703
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14710
cat >>confdefs.h <<_ACEOF
14711
#define HAVE_POW $have_pow
14714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqrt" >&5
14715
$as_echo_n "checking for library containing sqrt... " >&6; }
14716
if ${ac_cv_search_sqrt+:} false; then :
14717
$as_echo_n "(cached) " >&6
14719
ac_func_search_save_LIBS=$LIBS
14720
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14721
/* end confdefs.h. */
14723
/* Override any GCC internal prototype to avoid an error.
14724
Use char because int might match the return type of a GCC
14725
builtin and then its argument prototype would still apply. */
14738
for ac_lib in '' m; do
14739
if test -z "$ac_lib"; then
14740
ac_res="none required"
14743
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14745
if ac_fn_c_try_link "$LINENO"; then :
14746
ac_cv_search_sqrt=$ac_res
14748
rm -f core conftest.err conftest.$ac_objext \
14750
if ${ac_cv_search_sqrt+:} false; then :
14754
if ${ac_cv_search_sqrt+:} false; then :
14757
ac_cv_search_sqrt=no
14759
rm conftest.$ac_ext
14760
LIBS=$ac_func_search_save_LIBS
14762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqrt" >&5
14763
$as_echo "$ac_cv_search_sqrt" >&6; }
14764
ac_res=$ac_cv_search_sqrt
14765
if test "$ac_res" != no; then :
14766
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14773
cat >>confdefs.h <<_ACEOF
14774
#define HAVE_SQRT $have_sqrt
14777
for ac_func in bzero fastbcopy ftruncate gethostbyname getpagesize gettimeofday memset munmap select socket strchr strdup strerror strstr strtol _lock_try _acquire_lock xdr_char
14779
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14780
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14781
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14783
cat >>confdefs.h <<_ACEOF
14784
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14789
cat >>confdefs.h <<_ACEOF
14790
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 0
14796
for ac_func in pthread_getconcurrency pthread_setconcurrency
14798
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14799
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14800
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14802
cat >>confdefs.h <<_ACEOF
14803
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14808
cat >>confdefs.h <<_ACEOF
14809
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 0
14816
# Checks for C libraries.
14823
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for specific C optimizations" >&5
14824
$as_echo_n "checking for specific C optimizations... " >&6; }
14825
if ${armci_cv_c_opt+:} false; then :
14826
$as_echo_n "(cached) " >&6
14829
if test "x$ARMCI_COPT" != x; then :
14830
armci_cv_c_opt="$ARMCI_COPT"
14834
if test "x$armci_cv_c_opt" = x && test "x$enable_opt" = xyes; then :
14836
case $ga_cv_target:$ga_cv_c_compiler_vendor:$host_cpu:$ga_armci_network in #(
14838
armci_cv_c_opt="-O0" ;; #(
14840
armci_cv_c_opt="-O3 -qstrict -qarch=450 -qtune=450" ;; #(
14842
armci_cv_c_opt="-O2" ;; #(
14844
armci_cv_c_opt= ;; #(
14846
armci_cv_c_opt= ;; #(
14848
armci_cv_c_opt="-malign-double" ;; #(
14849
FUJITSU_VPP64:*:*:*) :
14850
armci_cv_c_opt="-x100" ;; #(
14851
FUJITSU_VPP:*:*:*) :
14852
armci_cv_c_opt="-x100 -KA32" ;; #(
14854
armci_cv_c_opt="-Ae" ;; #(
14856
armci_cv_c_opt="-Ae" ;; #(
14858
armci_cv_c_opt="-Ae" ;; #(
14860
armci_cv_c_opt="-O3 -qinline=100 -qstrict -qarch=auto -qtune=auto" ;; #(
14862
armci_cv_c_opt="-O3 -qinline=100 -qstrict -qarch=auto -qtune=auto" ;; #(
14864
armci_cv_c_opt="-O3 -qinline=100 -qstrict -qarch=auto -qtune=auto" ;; #(
14866
armci_cv_c_opt="-O3 -qinline=100 -qstrict -qarch=auto -qtune=auto" ;; #(
14867
LINUX64:fujitsu:ia64:*) :
14868
armci_cv_c_opt="-Kfast" ;; #(
14869
LINUX64:fujitsu:x86_64:*) :
14870
armci_cv_c_opt="-Kfast" ;; #(
14871
LINUX64:gnu:ia64:*) :
14872
armci_cv_c_opt="-O0 -g" ;; #(
14873
LINUX64:gnu:x86_64:*) :
14874
armci_cv_c_opt="-O3 -funroll-loops" ;; #(
14875
LINUX64:ibm:powerpc64:*) :
14876
armci_cv_c_opt="-O3 -qinline=100 -qstrict -qarch=auto -qtune=auto" ;; #(
14877
LINUX64:ibm:ppc64:*) :
14878
armci_cv_c_opt="-O3 -qinline=100 -qstrict -qarch=auto -qtune=auto" ;; #(
14879
LINUX64:ibm:x86_64:*) :
14880
armci_cv_c_opt="" ;; #(
14881
LINUX64:intel:ia64:*) :
14882
armci_cv_c_opt="-w1" ;; #(
14883
LINUX64:unknown:alpha:*) :
14884
armci_cv_c_opt="-assume no2underscore -fpe3 -check nooverflow -assume accuracy_sensitive -check nopower -check nounderflow" ;; #(
14885
LINUX:fujitsu:*:*) :
14886
armci_cv_c_opt="-Kfast" ;; #(
14888
armci_cv_c_opt="-O2 -finline-functions -funroll-loops -march=pentiumpro -malign-double" ;; #(
14889
LINUX:gnu:686:MELLANOX) :
14890
armci_cv_c_opt="-O2 -finline-functions -funroll-loops -march=pentiumpro" ;; #(
14891
LINUX:gnu:686:OPENIB) :
14892
armci_cv_c_opt="-O2 -finline-functions -funroll-loops -march=pentiumpro" ;; #(
14894
armci_cv_c_opt="-O2 -finline-functions -funroll-loops -march=pentiumpro -malign-double" ;; #(
14895
LINUX:gnu:786:MELLANOX) :
14896
armci_cv_c_opt="-O2 -finline-functions -funroll-loops -march=pentiumpro" ;; #(
14897
LINUX:gnu:786:OPENIB) :
14898
armci_cv_c_opt="-O2 -finline-functions -funroll-loops -march=pentiumpro" ;; #(
14900
armci_cv_c_opt="-O2 -finline-functions -funroll-loops -malign-double" ;; #(
14901
LINUX:gnu:x86:MELLANOX) :
14902
armci_cv_c_opt="-O2 -finline-functions -funroll-loops " ;; #(
14903
LINUX:gnu:x86:OPENIB) :
14904
armci_cv_c_opt="-O2 -finline-functions -funroll-loops " ;; #(
14906
armci_cv_c_opt="-q32" ;; #(
14908
armci_cv_c_opt="-O3 -prefetch" ;; #(
14910
armci_cv_c_opt= ;; #(
14912
armci_cv_c_opt= ;; #(
14914
armci_cv_c_opt="-Cvsafe -size_t64" ;; #(
14916
armci_cv_c_opt="-Cvsafe" ;; #(
14917
SOLARIS64:fujitsu:*:*) :
14918
armci_cv_c_opt="-Kfast -KV9FMADD -x0" ;; #(
14919
SOLARIS64:gnu:*:*) :
14920
armci_cv_c_opt="-dalign" ;; #(
14921
SOLARIS64:gnu:i386:*) :
14922
armci_cv_c_opt="-dalign -xarch=amd64" ;; #(
14923
SOLARIS:fujitsu:*:*) :
14924
armci_cv_c_opt="-Kfast -KV8PFMADD -x0" ;; #(
14926
armci_cv_c_opt="-dalign" ;; #(
14927
SOLARIS:gnu:i386:*) :
14928
armci_cv_c_opt="-dalign -xarch=sse2" ;; #(
14935
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $armci_cv_c_opt" >&5
14936
$as_echo "$armci_cv_c_opt" >&6; }
14937
ARMCI_COPT=$armci_cv_c_opt
14941
CFLAGS="$ga_save_CFLAGS"
14943
#########################################
14945
#########################################
14946
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
14947
$as_echo "$as_me: " >&6;}
14948
if test "x$enable_cxx" = xyes; then :
14949
{ $as_echo "$as_me:${as_lineno-$LINENO}: C++ compiler" >&5
14950
$as_echo "$as_me: C++ compiler" >&6;}
14952
{ $as_echo "$as_me:${as_lineno-$LINENO}: C++ compiler (disabled, but some tests still required)" >&5
14953
$as_echo "$as_me: C++ compiler (disabled, but some tests still required)" >&6;}
14955
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
14956
$as_echo "$as_me: " >&6;}
14958
ac_cpp='$CXXCPP $CPPFLAGS'
14959
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14960
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14961
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14964
# GA_PROG_MPICXX is required to silence complaints that C++ source exists
14965
# even if C++ support has been disabled.
14966
ga_save_CXXFLAGS="$CXXFLAGS"
14968
case $ga_cv_target_base in #(
14970
ga_mpicxx_pref=mpixlcxx_r; ga_cxx_pref=bgxlC_r ;; #(
14974
# In the case of using MPI wrappers, set CXX=MPICXX since CXX will override
14975
# absolutely everything in our list of compilers.
14976
if test x$with_mpi_wrappers = xyes; then :
14977
if test "x$CXX" != "x$MPICXX"; then :
14980
case x$CXX:x$MPICXX in #(
14984
CXX="$MPICXX" ;; #(
14986
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: MPI compilers desired but CXX is set while MPICXX is unset." >&5
14987
$as_echo "$as_me: WARNING: MPI compilers desired but CXX is set while MPICXX is unset." >&2;}
14988
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXX will be ignored during compiler selection, but will be" >&5
14989
$as_echo "$as_me: WARNING: CXX will be ignored during compiler selection, but will be" >&2;}
14990
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: tested first during MPI compiler unwrapping. Perhaps you" >&5
14991
$as_echo "$as_me: WARNING: tested first during MPI compiler unwrapping. Perhaps you" >&2;}
14992
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: meant to set MPICXX instead of or in addition to CXX?" >&5
14993
$as_echo "$as_me: WARNING: meant to set MPICXX instead of or in addition to CXX?" >&2;}
14996
if test "x$CXX" != "x$MPICXX"; then :
14997
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: MPI compilers desired, MPICXX and CXX are set, and MPICXX!=CXX." >&5
14998
$as_echo "$as_me: WARNING: MPI compilers desired, MPICXX and CXX are set, and MPICXX!=CXX." >&2;}
14999
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Choosing MPICXX over CXX." >&5
15000
$as_echo "$as_me: WARNING: Choosing MPICXX over CXX." >&2;}
15001
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXX will be tested first during MPI compiler unwrapping." >&5
15002
$as_echo "$as_me: WARNING: CXX will be tested first during MPI compiler unwrapping." >&2;}
15004
CXX="$MPICXX" ;; #(
15006
as_fn_error $? "CXX/MPICXX case failure" "$LINENO" 5 ;;
15009
ga_cxx="icpc pgCC pathCC sxc++ xlC_r xlC bgxlC_r bgxlC openCC sunCC crayc++ g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC"
15010
ga_mpicxx="mpic++ mpicxx mpiCC sxmpic++ hcp mpxlC_r mpxlC mpixlcxx_r mpixlcxx mpg++ mpc++ mpCC cmpic++ mpiFCC CC"
15011
if test x$with_mpi_wrappers = xyes; then :
15012
CXX_TO_TEST="$ga_mpicxx_pref $ga_mpicxx"
15014
CXX_TO_TEST="$ga_cxx_pref $ga_cxx"
15017
ac_cpp='$CXXCPP $CPPFLAGS'
15018
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15019
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15020
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15021
if test -z "$CXX"; then
15022
if test -n "$CCC"; then
15025
if test -n "$ac_tool_prefix"; then
15026
for ac_prog in $CXX_TO_TEST
15028
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15029
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15030
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15031
$as_echo_n "checking for $ac_word... " >&6; }
15032
if ${ac_cv_prog_CXX+:} false; then :
15033
$as_echo_n "(cached) " >&6
15035
if test -n "$CXX"; then
15036
ac_cv_prog_CXX="$CXX" # Let the user override the test.
15038
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15039
for as_dir in $PATH
15042
test -z "$as_dir" && as_dir=.
15043
for ac_exec_ext in '' $ac_executable_extensions; do
15044
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15045
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15046
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15055
CXX=$ac_cv_prog_CXX
15056
if test -n "$CXX"; then
15057
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
15058
$as_echo "$CXX" >&6; }
15060
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15061
$as_echo "no" >&6; }
15065
test -n "$CXX" && break
15068
if test -z "$CXX"; then
15070
for ac_prog in $CXX_TO_TEST
15072
# Extract the first word of "$ac_prog", so it can be a program name with args.
15073
set dummy $ac_prog; ac_word=$2
15074
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15075
$as_echo_n "checking for $ac_word... " >&6; }
15076
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
15077
$as_echo_n "(cached) " >&6
15079
if test -n "$ac_ct_CXX"; then
15080
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15082
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15083
for as_dir in $PATH
15086
test -z "$as_dir" && as_dir=.
15087
for ac_exec_ext in '' $ac_executable_extensions; do
15088
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15089
ac_cv_prog_ac_ct_CXX="$ac_prog"
15090
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15099
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15100
if test -n "$ac_ct_CXX"; then
15101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
15102
$as_echo "$ac_ct_CXX" >&6; }
15104
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15105
$as_echo "no" >&6; }
15109
test -n "$ac_ct_CXX" && break
15112
if test "x$ac_ct_CXX" = x; then
15115
case $cross_compiling:$ac_tool_warned in
15117
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15118
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15119
ac_tool_warned=yes ;;
15127
# Provide some information about the compiler.
15128
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
15131
for ac_option in --version -v -V -qversion; do
15132
{ { ac_try="$ac_compiler $ac_option >&5"
15133
case "(($ac_try" in
15134
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15135
*) ac_try_echo=$ac_try;;
15137
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15138
$as_echo "$ac_try_echo"; } >&5
15139
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
15141
if test -s conftest.err; then
15143
... rest of stderr output deleted ...
15144
10q' conftest.err >conftest.er1
15145
cat conftest.er1 >&5
15147
rm -f conftest.er1 conftest.err
15148
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15149
test $ac_status = 0; }
15152
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
15153
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
15154
if ${ac_cv_cxx_compiler_gnu+:} false; then :
15155
$as_echo_n "(cached) " >&6
15157
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15158
/* end confdefs.h. */
15171
if ac_fn_cxx_try_compile "$LINENO"; then :
15172
ac_compiler_gnu=yes
15176
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15177
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15180
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
15181
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
15182
if test $ac_compiler_gnu = yes; then
15187
ac_test_CXXFLAGS=${CXXFLAGS+set}
15188
ac_save_CXXFLAGS=$CXXFLAGS
15189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
15190
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
15191
if ${ac_cv_prog_cxx_g+:} false; then :
15192
$as_echo_n "(cached) " >&6
15194
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15195
ac_cxx_werror_flag=yes
15196
ac_cv_prog_cxx_g=no
15198
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15199
/* end confdefs.h. */
15209
if ac_fn_cxx_try_compile "$LINENO"; then :
15210
ac_cv_prog_cxx_g=yes
15213
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15214
/* end confdefs.h. */
15224
if ac_fn_cxx_try_compile "$LINENO"; then :
15227
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15229
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15230
/* end confdefs.h. */
15240
if ac_fn_cxx_try_compile "$LINENO"; then :
15241
ac_cv_prog_cxx_g=yes
15243
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15245
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15247
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15248
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15250
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
15251
$as_echo "$ac_cv_prog_cxx_g" >&6; }
15252
if test "$ac_test_CXXFLAGS" = set; then
15253
CXXFLAGS=$ac_save_CXXFLAGS
15254
elif test $ac_cv_prog_cxx_g = yes; then
15255
if test "$GXX" = yes; then
15261
if test "$GXX" = yes; then
15268
ac_cpp='$CXXCPP $CPPFLAGS'
15269
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15270
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15271
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15273
depcc="$CXX" am_compiler_list=
15275
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15276
$as_echo_n "checking dependency style of $depcc... " >&6; }
15277
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
15278
$as_echo_n "(cached) " >&6
15280
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15281
# We make a subdir and do the tests there. Otherwise we can end up
15282
# making bogus files that we don't know about and never remove. For
15283
# instance it was reported that on HP-UX the gcc test will end up
15284
# making a dummy file named `D' -- because `-MD' means `put the output
15286
rm -rf conftest.dir
15288
# Copy depcomp to subdir because otherwise we won't find it if we're
15289
# using a relative directory.
15290
cp "$am_depcomp" conftest.dir
15292
# We will build objects and dependencies in a subdirectory because
15293
# it helps to detect inapplicable dependency modes. For instance
15294
# both Tru64's cc and ICC support -MD to output dependencies as a
15295
# side effect of compilation, but ICC will put the dependencies in
15296
# the current directory while Tru64 will put them in the object
15300
am_cv_CXX_dependencies_compiler_type=none
15301
if test "$am_compiler_list" = ""; then
15302
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15304
am__universal=false
15305
case " $depcc " in #(
15306
*\ -arch\ *\ -arch\ *) am__universal=true ;;
15309
for depmode in $am_compiler_list; do
15310
# Setup a source with many dependencies, because some compilers
15311
# like to wrap large dependency lists on column 80 (with \), and
15312
# we should not choose a depcomp mode which is confused by this.
15314
# We need to recreate these files for each test, as the compiler may
15315
# overwrite some of them when testing with obscure command lines.
15316
# This happens at least with the AIX C compiler.
15318
for i in 1 2 3 4 5 6; do
15319
echo '#include "conftst'$i'.h"' >> sub/conftest.c
15320
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15321
# Solaris 8's {/usr,}/bin/sh.
15322
touch sub/conftst$i.h
15324
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15326
# We check with `-c' and `-o' for the sake of the "dashmstdout"
15327
# mode. It turns out that the SunPro C++ compiler does not properly
15328
# handle `-M -o', and we need to detect this. Also, some Intel
15329
# versions had trouble with output in subdirs
15330
am__obj=sub/conftest.${OBJEXT-o}
15331
am__minus_obj="-o $am__obj"
15334
# This depmode causes a compiler race in universal mode.
15335
test "$am__universal" = false || continue
15338
# after this tag, mechanisms are not by side-effect, so they'll
15339
# only be used when explicitly requested
15340
if test "x$enable_dependency_tracking" = xyes; then
15346
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
15347
# This compiler won't grok `-c -o', but also, the minuso test has
15348
# not run yet. These depmodes are late enough in the game, and
15349
# so weak that their functioning should not be impacted.
15350
am__obj=conftest.${OBJEXT-o}
15355
if depmode=$depmode \
15356
source=sub/conftest.c object=$am__obj \
15357
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15358
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
15359
>/dev/null 2>conftest.err &&
15360
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
15361
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15362
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
15363
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15364
# icc doesn't choke on unknown options, it will just issue warnings
15365
# or remarks (even with -Werror). So we grep stderr for any message
15366
# that says an option was ignored or not supported.
15367
# When given -MP, icc 7.0 and 7.1 complain thusly:
15368
# icc: Command line warning: ignoring option '-M'; no argument required
15369
# The diagnosis changed in icc 8.0:
15370
# icc: Command line remark: option '-MP' not supported
15371
if (grep 'ignoring option' conftest.err ||
15372
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15373
am_cv_CXX_dependencies_compiler_type=$depmode
15380
rm -rf conftest.dir
15382
am_cv_CXX_dependencies_compiler_type=none
15386
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
15387
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
15388
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
15391
test "x$enable_dependency_tracking" != xno \
15392
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
15393
am__fastdepCXX_TRUE=
15394
am__fastdepCXX_FALSE='#'
15396
am__fastdepCXX_TRUE='#'
15397
am__fastdepCXX_FALSE=
15402
CXXFLAGS="$ga_save_CXXFLAGS"
15404
if test x$with_mpi_wrappers = xyes; then :
15407
# Extract the first word of "perl", so it can be a program name with args.
15408
set dummy perl; ac_word=$2
15409
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15410
$as_echo_n "checking for $ac_word... " >&6; }
15411
if ${ac_cv_path_PERL+:} false; then :
15412
$as_echo_n "(cached) " >&6
15416
ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
15419
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15420
for as_dir in $PATH
15423
test -z "$as_dir" && as_dir=.
15424
for ac_exec_ext in '' $ac_executable_extensions; do
15425
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15426
ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
15427
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15437
PERL=$ac_cv_path_PERL
15438
if test -n "$PERL"; then
15439
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
15440
$as_echo "$PERL" >&6; }
15442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15443
$as_echo "no" >&6; }
15447
# Create inside.pl.
15449
cat >inside.pl <<"EOF"
15453
my $numargs = $#ARGV + 1;
15454
if ($numargs != 2) {
15455
print "Usage: wrapped.txt naked.txt\n";
15458
# Read each input file as a string (rather than a list).
15460
open WRAPPED, "$ARGV[0]" or die "Could not open wrapped text file: $!";
15461
my $wrapped_lines = <WRAPPED>;
15463
open NAKED, "$ARGV[1]" or die "Could not open naked text file: $!";
15464
my $naked_lines = <NAKED>;
15466
# Replace newlines, + from wrapped and naked lines.
15467
$wrapped_lines =~ tr/\n+/ /;
15468
$naked_lines =~ tr/\n+/ /;
15469
# Remove whitespace from beginning of wrapped and naked lines.
15470
$wrapped_lines =~ s/^\s+//;
15471
$naked_lines =~ s/^\s+//;
15472
# Remove whitespace from end of wrapped and naked lines.
15473
$wrapped_lines =~ s/\s+$//;
15474
$naked_lines =~ s/\s+$//;
15475
# If either wrapped_lines or naked_lines are empty, this is an error.
15476
# It is assumed that the particular version string which created the input
15477
# files should generate SOMETHING.
15478
unless ($wrapped_lines) {
15481
unless ($naked_lines) {
15484
# Cray compilers append a timestamp into their version string. Remove it.
15485
if ($wrapped_lines =~ /\QCray\E/) {
15486
$wrapped_lines = substr $wrapped_lines, 0, -28;
15487
$naked_lines = substr $naked_lines, 0, -28;
15489
# Can the naked lines be found within the wrapped lines?
15490
if ($wrapped_lines =~ /\Q$naked_lines\E/) {
15491
#print "Found as substring\n";
15494
# Are the naked lines exactly the same as the wrapped lines?
15495
elsif ($wrapped_lines eq $naked_lines) {
15496
#print "Found equal\n";
15500
#print "Not found\n";
15504
inside="$PERL inside.pl"
15506
case $wrapped in #(
15508
compilers="bgxlC_r xlC_r" ;; #(
15510
compilers="icpc pgCC pathCC sxc++ xlC bgxlC openCC sunCC crayc++ g++ c++ gpp aCC cxx cc++ cl.exe FCC KCC RCC CC" ;; #(
15518
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for base $wrapped compiler" >&5
15519
$as_echo_n "checking for base $wrapped compiler... " >&6; }
15520
if ${ga_cv_mpicxx_naked+:} false; then :
15521
$as_echo_n "(cached) " >&6
15524
base="`$wrapped -show 2>/dev/null | sed 's/[ ].*$//' | head -1`"
15527
# if -m32 or -m64 is present in the -show params, or separately, add it
15528
unwrapped_args="`$wrapped -show 2>/dev/null`"
15530
for arg in $unwrapped_args $wrapped
15534
extra_arg="-m32" ;; #(
15536
extra_arg="-m64" ;; #(
15541
if test "x$extra_arg" != x; then :
15542
base="$base $extra_arg"
15544
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15545
/* end confdefs.h. */
15555
if ac_fn_cxx_try_link "$LINENO"; then :
15556
ga_cv_mpicxx_naked="$base"
15558
rm -f core conftest.err conftest.$ac_objext \
15559
conftest$ac_exeext conftest.$ac_ext
15561
versions="--version -v -V -qversion"
15562
found_wrapped_version=0
15563
# Try separating stdout and stderr. Only compare stdout.
15564
if test "x$ga_cv_mpicxx_naked" = x; then :
15566
# prepend any CC/CXX/F77 the user may have specified
15567
compilers="$ga_orig_CXX $compilers"
15568
echo "only comparing stdout" >&5
15569
for version in $versions
15571
echo "trying version=$version" >&5
15572
rm -f mpi.txt mpi.err naked.txt naked.err
15573
if $wrapped $version 1>mpi.txt 2>mpi.err; then :
15574
found_wrapped_version=1
15575
for naked_compiler in $compilers
15577
if test "x$naked_compiler" != "x$wrapped"; then :
15578
if $naked_compiler $version 1>naked.txt 2>naked.err; then :
15579
if $inside mpi.txt naked.txt >/dev/null; then :
15580
ga_cv_mpicxx_naked=$naked_compiler; break
15582
echo "inside.pl $wrapped $naked_compiler failed, skipping" >&5
15585
echo "$naked_compiler $version failed, skipping" >&5
15590
echo "$wrapped $version failed, skipping" >&5
15592
if test "x$ga_cv_mpicxx_naked" != x; then :
15598
# Perhaps none of the MPI compilers had a zero exit status (this is bad).
15599
# In this case we have to do a brute force match regardless of exit status.
15600
if test "x$found_wrapped_version" = x0; then :
15602
if test "x$ga_cv_mpicxx_naked" = x; then :
15604
echo "no zero exit status found for MPI compilers" >&5
15605
for version in $versions
15607
echo "trying version=$version" >&5
15608
rm -f mpi.txt mpi.err
15609
$wrapped $version 1>mpi.txt 2>mpi.err
15610
for naked_compiler in $compilers
15612
if test "x$naked_compiler" != "x$wrapped"; then :
15613
rm -f naked.txt naked.err
15614
if $naked_compiler $version 1>naked.txt 2>naked.err; then :
15615
if $inside mpi.txt naked.txt >/dev/null; then :
15616
ga_cv_mpicxx_naked=$naked_compiler; break
15618
echo "inside.pl $wrapped $naked_compiler failed, skipping" >&5
15621
echo "$naked_compiler $version failed, skipping" >&5
15625
if test "x$ga_cv_mpicxx_naked" != x; then :
15633
# Try by combining stdout/err into one file.
15634
if test "x$ga_cv_mpicxx_naked" = x; then :
15636
echo "try combining stdout and stderr into one file" >&5
15637
for version in $versions
15639
echo "trying version=$version" >&5
15640
rm -f mpi.txt naked.txt
15641
if $wrapped $version 1>mpi.txt 2>&1; then :
15642
for naked_compiler in $compilers
15644
if test "x$naked_compiler" != "x$wrapped"; then :
15645
if $naked_compiler $version 1>naked.txt 2>&1; then :
15646
if $inside mpi.txt naked.txt >/dev/null; then :
15647
ga_cv_mpicxx_naked=$naked_compiler; break
15649
echo "inside.pl $wrapped $naked_compiler failed, skipping" >&5
15652
echo "$naked_compiler $version failed, skipping" >&5
15657
echo "$wrapped $version failed, skipping" >&5
15659
if test "x$ga_cv_mpicxx_naked" != x; then :
15665
# If we got this far, then it's likely that the MPI compiler had a zero exit
15666
# status when it shouldn't have for one version flag, but later had a non-zero
15667
# exit status for a flag it shouldn't have. One false positive hid a false
15668
# negative. In this case, brute force compare all MPI compiler output against
15669
# all compiler output.
15670
if test "x$ga_cv_mpicxx_naked" = x; then :
15672
echo "we have a very badly behaving MPI compiler" >&5
15673
for version in $versions
15675
echo "trying version=$version" >&5
15676
rm -f mpi.txt mpi.err
15677
$wrapped $version 1>mpi.txt 2>mpi.err
15678
for naked_compiler in $compilers
15680
if test "x$naked_compiler" != "x$wrapped"; then :
15681
rm -f naked.txt naked.err
15682
if $naked_compiler $version 1>naked.txt 2>naked.err; then :
15683
if $inside mpi.txt naked.txt >/dev/null; then :
15684
ga_cv_mpicxx_naked=$naked_compiler; break
15686
echo "inside.pl $wrapped $naked_compiler failed, skipping" >&5
15689
echo "$naked_compiler $version failed, skipping" >&5
15693
if test "x$ga_cv_mpicxx_naked" != x; then :
15699
rm -f mpi.txt mpi.err naked.txt naked.err
15702
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ga_cv_mpicxx_naked" >&5
15703
$as_echo "$ga_cv_mpicxx_naked" >&6; }
15704
if test "x$ga_cv_mpicxx_naked" = x; then :
15705
as_fn_error $? "Could not determine the C++ compiler wrapped by MPI" "$LINENO" 5
15707
if test "x$ga_orig_CXX" != x && test "x$ga_orig_CXX" != "x$ga_cv_mpicxx_naked"; then :
15708
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unwrapped $wrapped ($ga_cv_mpicxx_naked) does not match user-specified $ga_orig_CXX" >&5
15709
$as_echo "$as_me: WARNING: unwrapped $wrapped ($ga_cv_mpicxx_naked) does not match user-specified $ga_orig_CXX" >&2;}
15718
if test "x$enable_cxx" = xyes; then :
15723
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler vendor" >&5
15724
$as_echo_n "checking for C++ compiler vendor... " >&6; }
15725
if ${ga_cv_cxx_compiler_vendor+:} false; then :
15726
$as_echo_n "(cached) " >&6
15729
ga_save_ac_ext="$ac_ext"
15732
ga_cv_cxx_compiler_vendor=unknown
15733
ga_cpp_vendor_symbols=
15734
for vendor in intel ibm pathscale amd cray gnu sun hp dec borland comeau kai lcc metrowerks sgi microsoft watcom portland fujitsu
15738
ga_cpp_vendor_symbols="defined(__OPEN64__)" ;; #(
15740
ga_cpp_vendor_symbols="defined(__BORLANDC__) || defined(__TURBOC__)" ;; #(
15742
ga_cpp_vendor_symbols="defined(__COMO__)" ;; #(
15744
ga_cpp_vendor_symbols="defined(_CRAYC) || defined(_ADDR64)" ;; #(
15746
ga_cpp_vendor_symbols="defined(__DECC) || defined(__DECCXX) || defined(__DECC_VER) || defined(__DECCXX_VER)" ;; #(
15748
ga_cpp_vendor_symbols="defined(__fcc__) || defined(__fcc_version__) || defined(_FCC_VER) || defined(__FCC_VER_)" ;; #(
15750
ga_cpp_vendor_symbols="defined(__GNUC__)" ;; #(
15752
ga_cpp_vendor_symbols="defined(__HP_cc) || defined(__HP_aCC)" ;; #(
15754
ga_cpp_vendor_symbols="defined(__xlc__) || defined(__xlC__) || defined(__IBMC__) || defined(__IBMCPP__)" ;; #(
15756
ga_cpp_vendor_symbols="defined(__ICC) || defined(__ECC) || defined(__INTEL_COMPILER)" ;; #(
15758
ga_cpp_vendor_symbols="defined(__KCC)" ;; #(
15760
ga_cpp_vendor_symbols="defined(__LCC__)" ;; #(
15762
ga_cpp_vendor_symbols="defined(__MWERKS__)" ;; #(
15764
ga_cpp_vendor_symbols="defined(_MSC_VER)" ;; #(
15766
ga_cpp_vendor_symbols="defined(__PATHCC__) || defined(__PATHSCALE__)" ;; #(
15768
ga_cpp_vendor_symbols="defined(__PGI)" ;; #(
15770
ga_cpp_vendor_symbols="defined(__sgi) || defined(sgi)" ;; #(
15772
ga_cpp_vendor_symbols="defined(__SUNPRO_C) || defined(__SUNPRO_CC)" ;; #(
15774
ga_cpp_vendor_symbols="defined(__WATCOMC__)" ;; #(
15778
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15779
/* end confdefs.h. */
15785
#if !($ga_cpp_vendor_symbols)
15793
if ac_fn_cxx_try_compile "$LINENO"; then :
15794
ga_cv_cxx_compiler_vendor=$vendor; break
15796
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15798
ga_cpp_vendor_symbols=
15799
ac_ext="$ga_save_ac_ext"
15802
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ga_cv_cxx_compiler_vendor" >&5
15803
$as_echo "$ga_cv_cxx_compiler_vendor" >&6; }
15807
if test "x$enable_warnings" = xyes; then :
15812
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ warning flags" >&5
15813
$as_echo_n "checking for C++ warning flags... " >&6; }
15814
if ${ga_cv_cxx_warning_flags+:} false; then :
15815
$as_echo_n "(cached) " >&6
15819
ga_cv_cxx_warning_flags=
15823
{ $as_echo "$as_me:${as_lineno-$LINENO}: ga_cv_cxx_warning_flags: $ga_cv_cxx_warning_flags" >&5
15824
$as_echo "$ga_cv_cxx_warning_flags" >&6; }
15825
GA_CXX_WARN=$ga_cv_cxx_warning_flags
15832
ga_save_CXXFLAGS="$CXXFLAGS"
15833
CXXFLAGS="$ga_cv_cxx_warning_flags $CXXFLAGS"
15835
if test "x$with_mpi" != xno; then :
15837
if test "x$with_mpi" != xno; then :
15840
ac_cpp='$CXXCPP $CPPFLAGS'
15841
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15842
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15843
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a simple C++ MPI program works" >&5
15846
$as_echo_n "checking whether a simple C++ MPI program works... " >&6; }
15847
if ${ga_cv_cxx_mpi_test+:} false; then :
15848
$as_echo_n "(cached) " >&6
15851
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15852
/* end confdefs.h. */
15857
int myargc; char **myargv; MPI_Init(&myargc, &myargv); MPI_Finalize();
15862
if ac_fn_cxx_try_link "$LINENO"; then :
15863
ga_cv_cxx_mpi_test=yes
15865
ga_cv_cxx_mpi_test=no
15867
rm -f core conftest.err conftest.$ac_objext \
15868
conftest$ac_exeext conftest.$ac_ext
15869
# That didn't work, so now let's try with our GA_MP_* flags.
15870
if test "x$ga_cv_cxx_mpi_test" = xno; then :
15872
ga_save_LIBS="$LIBS"; LIBS="$LIBS $GA_MP_LIBS"
15873
ga_save_CPPFLAGS="$CPPFLAGS"; CPPFLAGS="$CPPFLAGS $GA_MP_CPPFLAGS"
15874
ga_save_LDFLAGS="$LDFLAGS"; LDFLAGS="$LDFLAGS $GA_MP_LDFLAGS"
15875
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15876
/* end confdefs.h. */
15881
int myargc; char **myargv; MPI_Init(&myargc, &myargv); MPI_Finalize();
15886
if ac_fn_cxx_try_link "$LINENO"; then :
15887
ga_cv_cxx_mpi_test=yes
15889
ga_cv_cxx_mpi_test=no
15891
rm -f core conftest.err conftest.$ac_objext \
15892
conftest$ac_exeext conftest.$ac_ext
15893
LIBS="$ga_save_LIBS"
15894
CPPFLAGS="$ga_save_CPPFLAGS"
15895
LDFLAGS="$ga_save_LDFLAGS"
15898
# That didn't work, so now let's try with our GA_MP_* flags and various libs.
15899
if test "x$ga_cv_cxx_mpi_test" = xno; then :
15901
for lib in -lmpi -lmpich; do
15902
ga_save_LIBS="$LIBS"; LIBS="$LIBS $GA_MP_LIBS $lib"
15903
ga_save_CPPFLAGS="$CPPFLAGS"; CPPFLAGS="$CPPFLAGS $GA_MP_CPPFLAGS"
15904
ga_save_LDFLAGS="$LDFLAGS"; LDFLAGS="$LDFLAGS $GA_MP_LDFLAGS"
15905
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15906
/* end confdefs.h. */
15911
int myargc; char **myargv; MPI_Init(&myargc, &myargv); MPI_Finalize();
15916
if ac_fn_cxx_try_link "$LINENO"; then :
15917
ga_cv_cxx_mpi_test=$lib; break
15919
ga_cv_cxx_mpi_test=no
15921
rm -f core conftest.err conftest.$ac_objext \
15922
conftest$ac_exeext conftest.$ac_ext
15923
LIBS="$ga_save_LIBS"
15924
CPPFLAGS="$ga_save_CPPFLAGS"
15925
LDFLAGS="$ga_save_LDFLAGS"
15927
LIBS="$ga_save_LIBS"
15928
CPPFLAGS="$ga_save_CPPFLAGS"
15929
LDFLAGS="$ga_save_LDFLAGS"
15934
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ga_cv_cxx_mpi_test" >&5
15935
$as_echo "$ga_cv_cxx_mpi_test" >&6; }
15937
ac_cpp='$CXXCPP $CPPFLAGS'
15938
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15939
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15940
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15942
case $ga_cv_cxx_mpi_test in #(
15946
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15947
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15948
as_fn_error $? "could not link simple C++ MPI program
15949
See \`config.log' for more details" "$LINENO" 5; } ;; #(
15951
GA_MP_LIBS="$ga_cv_cxx_mpi_test" ;; #(
15960
# Checks for C++ header files.
15962
# Checks for C++ typedefs, structures, and compiler characteristics.
15964
# Checks for C++ type sizes.
15966
# Checks for C++ library functions.
15973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for specific C++ optimizations" >&5
15974
$as_echo_n "checking for specific C++ optimizations... " >&6; }
15975
if ${armci_cv_cxx_opt+:} false; then :
15976
$as_echo_n "(cached) " >&6
15979
if test "x$ARMCI_CXXOPT" != x; then :
15980
armci_cv_cxx_opt="$ARMCI_CXXOPT"
15984
if test "x$armci_cv_cxx_opt" = x && test "x$enable_opt" = xyes; then :
15986
case $ga_cv_target:$ga_cv_cxx_compiler_vendor:$host_cpu:$ga_armci_network in #(
15988
armci_cv_cxx_opt="-O0" ;; #(
15990
armci_cv_cxx_opt="-Cvsafe -size_t64" ;; #(
15992
armci_cv_cxx_opt="-Cvsafe" ;; #(
15994
armci_cv_cxx_opt= ;;
15999
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $armci_cv_cxx_opt" >&5
16000
$as_echo "$armci_cv_cxx_opt" >&6; }
16001
ARMCI_CXXOPT=$armci_cv_cxx_opt
16005
CXXFLAGS="$ga_save_CXXFLAGS"
16011
ac_cpp='$CPP $CPPFLAGS'
16012
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16013
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16014
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16017
#########################################
16019
#########################################
16020
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
16021
$as_echo "$as_me: " >&6;}
16022
{ $as_echo "$as_me:${as_lineno-$LINENO}: Assembler" >&5
16023
$as_echo "$as_me: Assembler" >&6;}
16024
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
16025
$as_echo "$as_me: " >&6;}
16028
if test "x$CCAS" = x; then :
16029
case $ga_cv_target in #(
16036
if test "x$CCASFLAGS" = x; then :
16037
case $ga_cv_target in #(
16041
CCASFLAGS="-h size_t64" ;; #(
16047
# By default we simply use the C compiler to build assembly code.
16049
test "${CCAS+set}" = set || CCAS=$CC
16050
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
16054
depcc="$CCAS" am_compiler_list=
16056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16057
$as_echo_n "checking dependency style of $depcc... " >&6; }
16058
if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
16059
$as_echo_n "(cached) " >&6
16061
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16062
# We make a subdir and do the tests there. Otherwise we can end up
16063
# making bogus files that we don't know about and never remove. For
16064
# instance it was reported that on HP-UX the gcc test will end up
16065
# making a dummy file named `D' -- because `-MD' means `put the output
16067
rm -rf conftest.dir
16069
# Copy depcomp to subdir because otherwise we won't find it if we're
16070
# using a relative directory.
16071
cp "$am_depcomp" conftest.dir
16073
# We will build objects and dependencies in a subdirectory because
16074
# it helps to detect inapplicable dependency modes. For instance
16075
# both Tru64's cc and ICC support -MD to output dependencies as a
16076
# side effect of compilation, but ICC will put the dependencies in
16077
# the current directory while Tru64 will put them in the object
16081
am_cv_CCAS_dependencies_compiler_type=none
16082
if test "$am_compiler_list" = ""; then
16083
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16085
am__universal=false
16088
for depmode in $am_compiler_list; do
16089
# Setup a source with many dependencies, because some compilers
16090
# like to wrap large dependency lists on column 80 (with \), and
16091
# we should not choose a depcomp mode which is confused by this.
16093
# We need to recreate these files for each test, as the compiler may
16094
# overwrite some of them when testing with obscure command lines.
16095
# This happens at least with the AIX C compiler.
16097
for i in 1 2 3 4 5 6; do
16098
echo '#include "conftst'$i'.h"' >> sub/conftest.c
16099
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16100
# Solaris 8's {/usr,}/bin/sh.
16101
touch sub/conftst$i.h
16103
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16105
# We check with `-c' and `-o' for the sake of the "dashmstdout"
16106
# mode. It turns out that the SunPro C++ compiler does not properly
16107
# handle `-M -o', and we need to detect this. Also, some Intel
16108
# versions had trouble with output in subdirs
16109
am__obj=sub/conftest.${OBJEXT-o}
16110
am__minus_obj="-o $am__obj"
16113
# This depmode causes a compiler race in universal mode.
16114
test "$am__universal" = false || continue
16117
# after this tag, mechanisms are not by side-effect, so they'll
16118
# only be used when explicitly requested
16119
if test "x$enable_dependency_tracking" = xyes; then
16125
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
16126
# This compiler won't grok `-c -o', but also, the minuso test has
16127
# not run yet. These depmodes are late enough in the game, and
16128
# so weak that their functioning should not be impacted.
16129
am__obj=conftest.${OBJEXT-o}
16134
if depmode=$depmode \
16135
source=sub/conftest.c object=$am__obj \
16136
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16137
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
16138
>/dev/null 2>conftest.err &&
16139
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16140
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16141
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
16142
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16143
# icc doesn't choke on unknown options, it will just issue warnings
16144
# or remarks (even with -Werror). So we grep stderr for any message
16145
# that says an option was ignored or not supported.
16146
# When given -MP, icc 7.0 and 7.1 complain thusly:
16147
# icc: Command line warning: ignoring option '-M'; no argument required
16148
# The diagnosis changed in icc 8.0:
16149
# icc: Command line remark: option '-MP' not supported
16150
if (grep 'ignoring option' conftest.err ||
16151
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
16152
am_cv_CCAS_dependencies_compiler_type=$depmode
16159
rm -rf conftest.dir
16161
am_cv_CCAS_dependencies_compiler_type=none
16165
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
16166
$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
16167
CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
16170
test "x$enable_dependency_tracking" != xno \
16171
&& test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
16172
am__fastdepCCAS_TRUE=
16173
am__fastdepCCAS_FALSE='#'
16175
am__fastdepCCAS_TRUE='#'
16176
am__fastdepCCAS_FALSE=
16182
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NO_I386ASM is needed" >&5
16183
$as_echo_n "checking whether NO_I386ASM is needed... " >&6; }
16184
if ${armci_cv_as_no_i386asm+:} false; then :
16185
$as_echo_n "(cached) " >&6
16187
if test "x$ax_cv_c_compiler_vendor" = xfujitsu; then :
16188
armci_cv_as_no_i386asm=yes
16190
armci_cv_as_no_i386asm=no
16193
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $armci_cv_as_no_i386asm" >&5
16194
$as_echo "$armci_cv_as_no_i386asm" >&6; }
16195
if test "x$armci_cv_as_no_i386asm" = xyes; then :
16197
$as_echo "#define NO_I386ASM 1" >>confdefs.h
16202
###############################################################################
16203
# BLAS/LAPACK are used in one test program. We don't locate these libraries due
16204
# to many of them requiring Fortran. An enthusiastic user of the lone test
16205
# program can still build it if they are highly motivated -- but the build will
16206
# not be automated.
16207
###############################################################################
16208
if test 0 = 1; then
16210
HAVE_BLAS_FALSE='#'
16216
if test 0 = 1; then
16218
HAVE_LAPACK_FALSE='#'
16220
HAVE_LAPACK_TRUE='#'
16225
###############################################################################
16226
# Checks for programs.
16227
###############################################################################
16228
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
16229
$as_echo "$as_me: " >&6;}
16230
{ $as_echo "$as_me:${as_lineno-$LINENO}: Checks for additional programs" >&5
16231
$as_echo "$as_me: Checks for additional programs" >&6;}
16232
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
16233
$as_echo "$as_me: " >&6;}
16235
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
16236
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
16237
if ${ac_cv_path_GREP+:} false; then :
16238
$as_echo_n "(cached) " >&6
16240
if test -z "$GREP"; then
16241
ac_path_GREP_found=false
16242
# Loop through the user's path and test for each of PROGNAME-LIST
16243
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16244
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16247
test -z "$as_dir" && as_dir=.
16248
for ac_prog in grep ggrep; do
16249
for ac_exec_ext in '' $ac_executable_extensions; do
16250
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16251
as_fn_executable_p "$ac_path_GREP" || continue
16252
# Check for GNU ac_path_GREP and select it if it is found.
16253
# Check for GNU $ac_path_GREP
16254
case `"$ac_path_GREP" --version 2>&1` in
16256
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16259
$as_echo_n 0123456789 >"conftest.in"
16262
cat "conftest.in" "conftest.in" >"conftest.tmp"
16263
mv "conftest.tmp" "conftest.in"
16264
cp "conftest.in" "conftest.nl"
16265
$as_echo 'GREP' >> "conftest.nl"
16266
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16267
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16268
as_fn_arith $ac_count + 1 && ac_count=$as_val
16269
if test $ac_count -gt ${ac_path_GREP_max-0}; then
16270
# Best one so far, save it but keep looking for a better one
16271
ac_cv_path_GREP="$ac_path_GREP"
16272
ac_path_GREP_max=$ac_count
16274
# 10*(2^10) chars as input seems more than enough
16275
test $ac_count -gt 10 && break
16277
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16280
$ac_path_GREP_found && break 3
16285
if test -z "$ac_cv_path_GREP"; then
16286
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
16289
ac_cv_path_GREP=$GREP
16293
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
16294
$as_echo "$ac_cv_path_GREP" >&6; }
16295
GREP="$ac_cv_path_GREP"
16298
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
16299
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
16300
if ${ac_cv_path_SED+:} false; then :
16301
$as_echo_n "(cached) " >&6
16303
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
16304
for ac_i in 1 2 3 4 5 6 7; do
16305
ac_script="$ac_script$as_nl$ac_script"
16307
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
16308
{ ac_script=; unset ac_script;}
16309
if test -z "$SED"; then
16310
ac_path_SED_found=false
16311
# Loop through the user's path and test for each of PROGNAME-LIST
16312
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16313
for as_dir in $PATH
16316
test -z "$as_dir" && as_dir=.
16317
for ac_prog in sed gsed; do
16318
for ac_exec_ext in '' $ac_executable_extensions; do
16319
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
16320
as_fn_executable_p "$ac_path_SED" || continue
16321
# Check for GNU ac_path_SED and select it if it is found.
16322
# Check for GNU $ac_path_SED
16323
case `"$ac_path_SED" --version 2>&1` in
16325
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
16328
$as_echo_n 0123456789 >"conftest.in"
16331
cat "conftest.in" "conftest.in" >"conftest.tmp"
16332
mv "conftest.tmp" "conftest.in"
16333
cp "conftest.in" "conftest.nl"
16334
$as_echo '' >> "conftest.nl"
16335
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
16336
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16337
as_fn_arith $ac_count + 1 && ac_count=$as_val
16338
if test $ac_count -gt ${ac_path_SED_max-0}; then
16339
# Best one so far, save it but keep looking for a better one
16340
ac_cv_path_SED="$ac_path_SED"
16341
ac_path_SED_max=$ac_count
16343
# 10*(2^10) chars as input seems more than enough
16344
test $ac_count -gt 10 && break
16346
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16349
$ac_path_SED_found && break 3
16354
if test -z "$ac_cv_path_SED"; then
16355
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
16358
ac_cv_path_SED=$SED
16362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
16363
$as_echo "$ac_cv_path_SED" >&6; }
16364
SED="$ac_cv_path_SED"
16368
###############################################################################
16369
# Libtool setup -- no compiler/linker tests after this
16370
###############################################################################
16371
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
16372
$as_echo "$as_me: " >&6;}
16373
{ $as_echo "$as_me:${as_lineno-$LINENO}: Libtool setup" >&5
16374
$as_echo "$as_me: Libtool setup" >&6;}
16375
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
16376
$as_echo "$as_me: " >&6;}
16377
# temporarily restore unwrapped compilers
16378
# this works around a bug where libtool sadly relies on matching compiler
16379
# names in order to determine features (Fortran only, I think)
16380
# libtool doesn't recognize MPI compiler names, nor should it
16381
if test x$with_mpi_wrappers = xyes; then :
16383
ga_mpi_unwrap_push_save_CC="$CC"
16384
ga_mpi_unwrap_push_save_CXX="$CXX"
16385
ga_mpi_unwrap_push_save_F77="$F77"
16386
ga_mpi_unwrap_push_save_FC="$FC"
16387
if test "x$ga_cv_mpic_naked" != x; then :
16388
CC="$ga_cv_mpic_naked"
16390
if test "x$ga_cv_mpicxx_naked" != x; then :
16391
CXX="$ga_cv_mpicxx_naked"
16393
if test "x$ga_cv_mpif77_naked" != x; then :
16394
F77="$ga_cv_mpif77_naked"
16396
if test "x$ga_cv_mpifc_naked" != x; then :
16397
FC="$ga_cv_mpifc_naked"
16405
if test "x$AR" = x; then :
16406
case $ga_cv_target in #(
16413
if test "x$RANLIB" = x; then :
16414
case $ga_cv_target in #(
16424
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
16425
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
16430
macro_version='2.4.2'
16431
macro_revision='1.3337'
16445
ltmain="$ac_aux_dir/ltmain.sh"
16447
# Backslashify metacharacters that are still active within
16448
# double-quoted strings.
16449
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
16451
# Same as above, but do not quote variable references.
16452
double_quote_subst='s/\(["`\\]\)/\\\1/g'
16454
# Sed substitution to delay expansion of an escaped shell variable in a
16455
# double_quote_subst'ed string.
16456
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
16458
# Sed substitution to delay expansion of an escaped single quote.
16459
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
16461
# Sed substitution to avoid accidental globbing in evaled expressions
16462
no_glob_subst='s/\*/\\\*/g'
16464
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16465
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
16466
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
16468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
16469
$as_echo_n "checking how to print strings... " >&6; }
16470
# Test print first, because it will be a builtin if present.
16471
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
16472
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
16474
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
16477
# Use this function as a fallback that always works.
16478
func_fallback_echo ()
16480
eval 'cat <<_LTECHO_EOF
16484
ECHO='func_fallback_echo'
16487
# func_echo_all arg...
16488
# Invoke $ECHO with all args, space-separated.
16495
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
16496
$as_echo "printf" >&6; } ;;
16497
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
16498
$as_echo "print -r" >&6; } ;;
16499
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
16500
$as_echo "cat" >&6; } ;;
16516
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
16517
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
16518
if ${ac_cv_path_SED+:} false; then :
16519
$as_echo_n "(cached) " >&6
16521
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
16522
for ac_i in 1 2 3 4 5 6 7; do
16523
ac_script="$ac_script$as_nl$ac_script"
16525
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
16526
{ ac_script=; unset ac_script;}
16527
if test -z "$SED"; then
16528
ac_path_SED_found=false
16529
# Loop through the user's path and test for each of PROGNAME-LIST
16530
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16531
for as_dir in $PATH
16534
test -z "$as_dir" && as_dir=.
16535
for ac_prog in sed gsed; do
16536
for ac_exec_ext in '' $ac_executable_extensions; do
16537
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
16538
as_fn_executable_p "$ac_path_SED" || continue
16539
# Check for GNU ac_path_SED and select it if it is found.
16540
# Check for GNU $ac_path_SED
16541
case `"$ac_path_SED" --version 2>&1` in
16543
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
16546
$as_echo_n 0123456789 >"conftest.in"
16549
cat "conftest.in" "conftest.in" >"conftest.tmp"
16550
mv "conftest.tmp" "conftest.in"
16551
cp "conftest.in" "conftest.nl"
16552
$as_echo '' >> "conftest.nl"
16553
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
16554
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16555
as_fn_arith $ac_count + 1 && ac_count=$as_val
16556
if test $ac_count -gt ${ac_path_SED_max-0}; then
16557
# Best one so far, save it but keep looking for a better one
16558
ac_cv_path_SED="$ac_path_SED"
16559
ac_path_SED_max=$ac_count
16561
# 10*(2^10) chars as input seems more than enough
16562
test $ac_count -gt 10 && break
16564
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16567
$ac_path_SED_found && break 3
16572
if test -z "$ac_cv_path_SED"; then
16573
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
16576
ac_cv_path_SED=$SED
16580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
16581
$as_echo "$ac_cv_path_SED" >&6; }
16582
SED="$ac_cv_path_SED"
16585
test -z "$SED" && SED=sed
16586
Xsed="$SED -e 1s/^X//"
16598
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
16599
$as_echo_n "checking for fgrep... " >&6; }
16600
if ${ac_cv_path_FGREP+:} false; then :
16601
$as_echo_n "(cached) " >&6
16603
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
16604
then ac_cv_path_FGREP="$GREP -F"
16606
if test -z "$FGREP"; then
16607
ac_path_FGREP_found=false
16608
# Loop through the user's path and test for each of PROGNAME-LIST
16609
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16610
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16613
test -z "$as_dir" && as_dir=.
16614
for ac_prog in fgrep; do
16615
for ac_exec_ext in '' $ac_executable_extensions; do
16616
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
16617
as_fn_executable_p "$ac_path_FGREP" || continue
16618
# Check for GNU ac_path_FGREP and select it if it is found.
16619
# Check for GNU $ac_path_FGREP
16620
case `"$ac_path_FGREP" --version 2>&1` in
16622
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
16625
$as_echo_n 0123456789 >"conftest.in"
16628
cat "conftest.in" "conftest.in" >"conftest.tmp"
16629
mv "conftest.tmp" "conftest.in"
16630
cp "conftest.in" "conftest.nl"
16631
$as_echo 'FGREP' >> "conftest.nl"
16632
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
16633
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16634
as_fn_arith $ac_count + 1 && ac_count=$as_val
16635
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
16636
# Best one so far, save it but keep looking for a better one
16637
ac_cv_path_FGREP="$ac_path_FGREP"
16638
ac_path_FGREP_max=$ac_count
16640
# 10*(2^10) chars as input seems more than enough
16641
test $ac_count -gt 10 && break
16643
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16646
$ac_path_FGREP_found && break 3
16651
if test -z "$ac_cv_path_FGREP"; then
16652
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
16655
ac_cv_path_FGREP=$FGREP
16660
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
16661
$as_echo "$ac_cv_path_FGREP" >&6; }
16662
FGREP="$ac_cv_path_FGREP"
16665
test -z "$GREP" && GREP=grep
16685
# Check whether --with-gnu-ld was given.
16686
if test "${with_gnu_ld+set}" = set; then :
16687
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
16693
if test "$GCC" = yes; then
16694
# Check if gcc -print-prog-name=ld gives a path.
16695
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
16696
$as_echo_n "checking for ld used by $CC... " >&6; }
16699
# gcc leaves a trailing carriage return which upsets mingw
16700
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16702
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16705
# Accept absolute paths.
16707
re_direlt='/[^/][^/]*/\.\./'
16708
# Canonicalize the pathname of ld
16709
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
16710
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
16711
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
16713
test -z "$LD" && LD="$ac_prog"
16716
# If it fails, then pretend we aren't using GCC.
16720
# If it is relative, then search for the first ld in PATH.
16721
with_gnu_ld=unknown
16724
elif test "$with_gnu_ld" = yes; then
16725
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16726
$as_echo_n "checking for GNU ld... " >&6; }
16728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16729
$as_echo_n "checking for non-GNU ld... " >&6; }
16731
if ${lt_cv_path_LD+:} false; then :
16732
$as_echo_n "(cached) " >&6
16734
if test -z "$LD"; then
16735
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16736
for ac_dir in $PATH; do
16738
test -z "$ac_dir" && ac_dir=.
16739
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16740
lt_cv_path_LD="$ac_dir/$ac_prog"
16741
# Check to see if the program is GNU ld. I'd rather use --version,
16742
# but apparently some variants of GNU ld only accept -v.
16743
# Break only if it was the GNU/non-GNU ld that we prefer.
16744
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16745
*GNU* | *'with BFD'*)
16746
test "$with_gnu_ld" != no && break
16749
test "$with_gnu_ld" != yes && break
16756
lt_cv_path_LD="$LD" # Let the user override the test with a path.
16760
LD="$lt_cv_path_LD"
16761
if test -n "$LD"; then
16762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16763
$as_echo "$LD" >&6; }
16765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16766
$as_echo "no" >&6; }
16768
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
16769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16770
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16771
if ${lt_cv_prog_gnu_ld+:} false; then :
16772
$as_echo_n "(cached) " >&6
16774
# I'd rather use --version here, but apparently some GNU lds only accept -v.
16775
case `$LD -v 2>&1 </dev/null` in
16776
*GNU* | *'with BFD'*)
16777
lt_cv_prog_gnu_ld=yes
16780
lt_cv_prog_gnu_ld=no
16784
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
16785
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
16786
with_gnu_ld=$lt_cv_prog_gnu_ld
16796
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
16797
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
16798
if ${lt_cv_path_NM+:} false; then :
16799
$as_echo_n "(cached) " >&6
16801
if test -n "$NM"; then
16802
# Let the user override the test.
16803
lt_cv_path_NM="$NM"
16805
lt_nm_to_check="${ac_tool_prefix}nm"
16806
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
16807
lt_nm_to_check="$lt_nm_to_check nm"
16809
for lt_tmp_nm in $lt_nm_to_check; do
16810
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16811
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
16813
test -z "$ac_dir" && ac_dir=.
16814
tmp_nm="$ac_dir/$lt_tmp_nm"
16815
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
16816
# Check to see if the nm accepts a BSD-compat flag.
16817
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
16818
# nm: unknown option "B" ignored
16819
# Tru64's nm complains that /dev/null is an invalid object file
16820
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
16821
*/dev/null* | *'Invalid file or object type'*)
16822
lt_cv_path_NM="$tmp_nm -B"
16826
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
16828
lt_cv_path_NM="$tmp_nm -p"
16832
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
16833
continue # so that we can try to find one that supports BSD flags
16842
: ${lt_cv_path_NM=no}
16845
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
16846
$as_echo "$lt_cv_path_NM" >&6; }
16847
if test "$lt_cv_path_NM" != "no"; then
16848
NM="$lt_cv_path_NM"
16850
# Didn't find any BSD compatible name lister, look for dumpbin.
16851
if test -n "$DUMPBIN"; then :
16852
# Let the user override the test.
16854
if test -n "$ac_tool_prefix"; then
16855
for ac_prog in dumpbin "link -dump"
16857
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16858
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16860
$as_echo_n "checking for $ac_word... " >&6; }
16861
if ${ac_cv_prog_DUMPBIN+:} false; then :
16862
$as_echo_n "(cached) " >&6
16864
if test -n "$DUMPBIN"; then
16865
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
16867
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16868
for as_dir in $PATH
16871
test -z "$as_dir" && as_dir=.
16872
for ac_exec_ext in '' $ac_executable_extensions; do
16873
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16874
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
16875
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16884
DUMPBIN=$ac_cv_prog_DUMPBIN
16885
if test -n "$DUMPBIN"; then
16886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
16887
$as_echo "$DUMPBIN" >&6; }
16889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16890
$as_echo "no" >&6; }
16894
test -n "$DUMPBIN" && break
16897
if test -z "$DUMPBIN"; then
16898
ac_ct_DUMPBIN=$DUMPBIN
16899
for ac_prog in dumpbin "link -dump"
16901
# Extract the first word of "$ac_prog", so it can be a program name with args.
16902
set dummy $ac_prog; ac_word=$2
16903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16904
$as_echo_n "checking for $ac_word... " >&6; }
16905
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
16906
$as_echo_n "(cached) " >&6
16908
if test -n "$ac_ct_DUMPBIN"; then
16909
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
16911
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16912
for as_dir in $PATH
16915
test -z "$as_dir" && as_dir=.
16916
for ac_exec_ext in '' $ac_executable_extensions; do
16917
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16918
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
16919
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16928
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
16929
if test -n "$ac_ct_DUMPBIN"; then
16930
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
16931
$as_echo "$ac_ct_DUMPBIN" >&6; }
16933
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16934
$as_echo "no" >&6; }
16938
test -n "$ac_ct_DUMPBIN" && break
16941
if test "x$ac_ct_DUMPBIN" = x; then
16944
case $cross_compiling:$ac_tool_warned in
16946
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16947
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16948
ac_tool_warned=yes ;;
16950
DUMPBIN=$ac_ct_DUMPBIN
16954
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
16956
DUMPBIN="$DUMPBIN -symbols"
16964
if test "$DUMPBIN" != ":"; then
16968
test -z "$NM" && NM=nm
16975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
16976
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
16977
if ${lt_cv_nm_interface+:} false; then :
16978
$as_echo_n "(cached) " >&6
16980
lt_cv_nm_interface="BSD nm"
16981
echo "int some_variable = 0;" > conftest.$ac_ext
16982
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
16983
(eval "$ac_compile" 2>conftest.err)
16984
cat conftest.err >&5
16985
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
16986
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
16987
cat conftest.err >&5
16988
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
16989
cat conftest.out >&5
16990
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
16991
lt_cv_nm_interface="MS dumpbin"
16995
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
16996
$as_echo "$lt_cv_nm_interface" >&6; }
16998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
16999
$as_echo_n "checking whether ln -s works... " >&6; }
17001
if test "$LN_S" = "ln -s"; then
17002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17003
$as_echo "yes" >&6; }
17005
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
17006
$as_echo "no, using $LN_S" >&6; }
17009
# find the maximum length of command line arguments
17010
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
17011
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
17012
if ${lt_cv_sys_max_cmd_len+:} false; then :
17013
$as_echo_n "(cached) " >&6
17020
# On DJGPP, this test can blow up pretty badly due to problems in libc
17021
# (any single argument exceeding 2000 bytes causes a buffer overrun
17022
# during glob expansion). Even if it were fixed, the result of this
17023
# check would be larger than it should be.
17024
lt_cv_sys_max_cmd_len=12288; # 12K is about right
17028
# Under GNU Hurd, this test is not required because there is
17029
# no limit to the length of command line arguments.
17030
# Libtool will interpret -1 as no limit whatsoever
17031
lt_cv_sys_max_cmd_len=-1;
17034
cygwin* | mingw* | cegcc*)
17035
# On Win9x/ME, this test blows up -- it succeeds, but takes
17036
# about 5 minutes as the teststring grows exponentially.
17037
# Worse, since 9x/ME are not pre-emptively multitasking,
17038
# you end up with a "frozen" computer, even though with patience
17039
# the test eventually succeeds (with a max line length of 256k).
17040
# Instead, let's just punt: use the minimum linelength reported by
17041
# all of the supported platforms: 8192 (on NT/2K/XP).
17042
lt_cv_sys_max_cmd_len=8192;
17046
# On MiNT this can take a long time and run out of memory.
17047
lt_cv_sys_max_cmd_len=8192;
17051
# On AmigaOS with pdksh, this test takes hours, literally.
17052
# So we just punt and use a minimum line length of 8192.
17053
lt_cv_sys_max_cmd_len=8192;
17056
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
17057
# This has been around since 386BSD, at least. Likely further.
17058
if test -x /sbin/sysctl; then
17059
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
17060
elif test -x /usr/sbin/sysctl; then
17061
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
17063
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
17065
# And add a safety zone
17066
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
17067
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
17071
# We know the value 262144 and hardcode it with a safety zone (like BSD)
17072
lt_cv_sys_max_cmd_len=196608
17076
# The test takes a long time on OS/2.
17077
lt_cv_sys_max_cmd_len=8192
17081
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
17082
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
17083
# nice to cause kernel panics so lets avoid the loop below.
17084
# First set a reasonable default.
17085
lt_cv_sys_max_cmd_len=16384
17087
if test -x /sbin/sysconfig; then
17088
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
17089
*1*) lt_cv_sys_max_cmd_len=-1 ;;
17094
lt_cv_sys_max_cmd_len=102400
17096
sysv5* | sco5v6* | sysv4.2uw2*)
17097
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
17098
if test -n "$kargmax"; then
17099
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
17101
lt_cv_sys_max_cmd_len=32768
17105
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
17106
if test -n "$lt_cv_sys_max_cmd_len"; then
17107
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
17108
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
17110
# Make teststring a little bigger before we do anything with it.
17111
# a 1K string should be a reasonable start.
17112
for i in 1 2 3 4 5 6 7 8 ; do
17113
teststring=$teststring$teststring
17115
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
17116
# If test is not a shell built-in, we'll probably end up computing a
17117
# maximum length that is only half of the actual maximum length, but
17119
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
17120
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
17121
test $i != 17 # 1/2 MB should be enough
17124
teststring=$teststring$teststring
17126
# Only check the string length outside the loop.
17127
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
17129
# Add a significant safety factor because C++ compilers can tack on
17130
# massive amounts of additional arguments before passing them to the
17131
# linker. It appears as though 1/2 is a usable value.
17132
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
17139
if test -n $lt_cv_sys_max_cmd_len ; then
17140
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
17141
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
17143
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
17144
$as_echo "none" >&6; }
17146
max_cmd_len=$lt_cv_sys_max_cmd_len
17157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
17158
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
17159
# Try some XSI features
17161
( _lt_dummy="a/b/c"
17162
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
17164
&& eval 'test $(( 1 + 1 )) -eq 2 \
17165
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
17167
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
17168
$as_echo "$xsi_shell" >&6; }
17171
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
17172
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
17174
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
17176
&& lt_shell_append=yes
17177
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
17178
$as_echo "$lt_shell_append" >&6; }
17181
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
17191
# test EBCDIC or ASCII
17192
case `echo X|tr X '\101'` in
17193
A) # ASCII based system
17194
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
17195
lt_SP2NL='tr \040 \012'
17196
lt_NL2SP='tr \015\012 \040\040'
17198
*) # EBCDIC based system
17199
lt_SP2NL='tr \100 \n'
17200
lt_NL2SP='tr \r\n \100\100'
17212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
17213
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
17214
if ${lt_cv_to_host_file_cmd+:} false; then :
17215
$as_echo_n "(cached) " >&6
17220
*-*-mingw* ) # actually msys
17221
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
17224
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
17226
* ) # otherwise, assume *nix
17227
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
17233
*-*-mingw* ) # actually msys
17234
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
17237
lt_cv_to_host_file_cmd=func_convert_file_noop
17239
* ) # otherwise, assume *nix
17240
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
17244
* ) # unhandled hosts (and "normal" native builds)
17245
lt_cv_to_host_file_cmd=func_convert_file_noop
17251
to_host_file_cmd=$lt_cv_to_host_file_cmd
17252
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
17253
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
17259
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
17260
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
17261
if ${lt_cv_to_tool_file_cmd+:} false; then :
17262
$as_echo_n "(cached) " >&6
17264
#assume ordinary cross tools, or native build.
17265
lt_cv_to_tool_file_cmd=func_convert_file_noop
17269
*-*-mingw* ) # actually msys
17270
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
17278
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17279
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
17280
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
17286
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
17287
$as_echo_n "checking for $LD option to reload object files... " >&6; }
17288
if ${lt_cv_ld_reload_flag+:} false; then :
17289
$as_echo_n "(cached) " >&6
17291
lt_cv_ld_reload_flag='-r'
17293
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
17294
$as_echo "$lt_cv_ld_reload_flag" >&6; }
17295
reload_flag=$lt_cv_ld_reload_flag
17296
case $reload_flag in
17298
*) reload_flag=" $reload_flag" ;;
17300
reload_cmds='$LD$reload_flag -o $output$reload_objs'
17302
cygwin* | mingw* | pw32* | cegcc*)
17303
if test "$GCC" != yes; then
17308
if test "$GCC" = yes; then
17309
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
17311
reload_cmds='$LD$reload_flag -o $output$reload_objs'
17324
if test -n "$ac_tool_prefix"; then
17325
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
17326
set dummy ${ac_tool_prefix}objdump; ac_word=$2
17327
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17328
$as_echo_n "checking for $ac_word... " >&6; }
17329
if ${ac_cv_prog_OBJDUMP+:} false; then :
17330
$as_echo_n "(cached) " >&6
17332
if test -n "$OBJDUMP"; then
17333
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
17335
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17336
for as_dir in $PATH
17339
test -z "$as_dir" && as_dir=.
17340
for ac_exec_ext in '' $ac_executable_extensions; do
17341
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17342
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
17343
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17352
OBJDUMP=$ac_cv_prog_OBJDUMP
17353
if test -n "$OBJDUMP"; then
17354
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
17355
$as_echo "$OBJDUMP" >&6; }
17357
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17358
$as_echo "no" >&6; }
17363
if test -z "$ac_cv_prog_OBJDUMP"; then
17364
ac_ct_OBJDUMP=$OBJDUMP
17365
# Extract the first word of "objdump", so it can be a program name with args.
17366
set dummy objdump; ac_word=$2
17367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17368
$as_echo_n "checking for $ac_word... " >&6; }
17369
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
17370
$as_echo_n "(cached) " >&6
17372
if test -n "$ac_ct_OBJDUMP"; then
17373
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
17375
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17376
for as_dir in $PATH
17379
test -z "$as_dir" && as_dir=.
17380
for ac_exec_ext in '' $ac_executable_extensions; do
17381
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17382
ac_cv_prog_ac_ct_OBJDUMP="objdump"
17383
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17392
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
17393
if test -n "$ac_ct_OBJDUMP"; then
17394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
17395
$as_echo "$ac_ct_OBJDUMP" >&6; }
17397
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17398
$as_echo "no" >&6; }
17401
if test "x$ac_ct_OBJDUMP" = x; then
17404
case $cross_compiling:$ac_tool_warned in
17406
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17407
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17408
ac_tool_warned=yes ;;
17410
OBJDUMP=$ac_ct_OBJDUMP
17413
OBJDUMP="$ac_cv_prog_OBJDUMP"
17416
test -z "$OBJDUMP" && OBJDUMP=objdump
17426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
17427
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
17428
if ${lt_cv_deplibs_check_method+:} false; then :
17429
$as_echo_n "(cached) " >&6
17431
lt_cv_file_magic_cmd='$MAGIC_CMD'
17432
lt_cv_file_magic_test_file=
17433
lt_cv_deplibs_check_method='unknown'
17434
# Need to set the preceding variable on all platforms that support
17435
# interlibrary dependencies.
17436
# 'none' -- dependencies not supported.
17437
# `unknown' -- same as none, but documents that we really don't know.
17438
# 'pass_all' -- all dependencies passed with no checks.
17439
# 'test_compile' -- check by making test program.
17440
# 'file_magic [[regex]]' -- check by looking for files in library path
17441
# which responds to the $file_magic_cmd with a given extended regex.
17442
# If you have `file' or equivalent on your system and you're not sure
17443
# whether `pass_all' will *always* work, you probably want this one.
17447
lt_cv_deplibs_check_method=pass_all
17451
lt_cv_deplibs_check_method=pass_all
17455
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
17456
lt_cv_file_magic_cmd='/usr/bin/file -L'
17457
lt_cv_file_magic_test_file=/shlib/libc.so
17461
# func_win32_libid is a shell function defined in ltmain.sh
17462
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
17463
lt_cv_file_magic_cmd='func_win32_libid'
17467
# Base MSYS/MinGW do not provide the 'file' command needed by
17468
# func_win32_libid shell function, so use a weaker test based on 'objdump',
17469
# unless we find 'file', for example because we are cross-compiling.
17470
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
17471
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
17472
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
17473
lt_cv_file_magic_cmd='func_win32_libid'
17475
# Keep this pattern in sync with the one in func_win32_libid.
17476
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
17477
lt_cv_file_magic_cmd='$OBJDUMP -f'
17482
# use the weaker test based on 'objdump'. See mingw*.
17483
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
17484
lt_cv_file_magic_cmd='$OBJDUMP -f'
17487
darwin* | rhapsody*)
17488
lt_cv_deplibs_check_method=pass_all
17491
freebsd* | dragonfly*)
17492
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
17495
# Not sure whether the presence of OpenBSD here was a mistake.
17496
# Let's accept both of them until this is cleared up.
17497
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
17498
lt_cv_file_magic_cmd=/usr/bin/file
17499
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
17503
lt_cv_deplibs_check_method=pass_all
17508
lt_cv_deplibs_check_method=pass_all
17512
lt_cv_deplibs_check_method=pass_all
17515
hpux10.20* | hpux11*)
17516
lt_cv_file_magic_cmd=/usr/bin/file
17519
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
17520
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
17523
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]'
17524
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
17527
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
17528
lt_cv_file_magic_test_file=/usr/lib/libc.sl
17534
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
17535
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
17538
irix5* | irix6* | nonstopux*)
17540
*-32|*"-32 ") libmagic=32-bit;;
17541
*-n32|*"-n32 ") libmagic=N32;;
17542
*-64|*"-64 ") libmagic=64-bit;;
17543
*) libmagic=never-match;;
17545
lt_cv_deplibs_check_method=pass_all
17548
# This must be glibc/ELF.
17549
linux* | k*bsd*-gnu | kopensolaris*-gnu)
17550
lt_cv_deplibs_check_method=pass_all
17554
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
17555
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
17557
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
17562
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
17563
lt_cv_file_magic_cmd=/usr/bin/file
17564
lt_cv_file_magic_test_file=/usr/lib/libnls.so
17568
lt_cv_deplibs_check_method=pass_all
17572
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17573
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
17575
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
17579
osf3* | osf4* | osf5*)
17580
lt_cv_deplibs_check_method=pass_all
17584
lt_cv_deplibs_check_method=pass_all
17588
lt_cv_deplibs_check_method=pass_all
17591
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17592
lt_cv_deplibs_check_method=pass_all
17596
case $host_vendor in
17598
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]'
17599
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
17602
lt_cv_deplibs_check_method=pass_all
17605
lt_cv_file_magic_cmd='/bin/file'
17606
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
17609
lt_cv_file_magic_cmd='/bin/file'
17610
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
17611
lt_cv_file_magic_test_file=/lib/libc.so
17614
lt_cv_deplibs_check_method=pass_all
17617
lt_cv_deplibs_check_method=pass_all
17623
lt_cv_deplibs_check_method=pass_all
17628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
17629
$as_echo "$lt_cv_deplibs_check_method" >&6; }
17633
if test "$build" = "$host"; then
17636
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
17637
want_nocaseglob=yes
17639
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
17645
file_magic_cmd=$lt_cv_file_magic_cmd
17646
deplibs_check_method=$lt_cv_deplibs_check_method
17647
test -z "$deplibs_check_method" && deplibs_check_method=unknown
17670
if test -n "$ac_tool_prefix"; then
17671
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
17672
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
17673
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17674
$as_echo_n "checking for $ac_word... " >&6; }
17675
if ${ac_cv_prog_DLLTOOL+:} false; then :
17676
$as_echo_n "(cached) " >&6
17678
if test -n "$DLLTOOL"; then
17679
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
17681
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17682
for as_dir in $PATH
17685
test -z "$as_dir" && as_dir=.
17686
for ac_exec_ext in '' $ac_executable_extensions; do
17687
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17688
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
17689
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17698
DLLTOOL=$ac_cv_prog_DLLTOOL
17699
if test -n "$DLLTOOL"; then
17700
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
17701
$as_echo "$DLLTOOL" >&6; }
17703
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17704
$as_echo "no" >&6; }
17709
if test -z "$ac_cv_prog_DLLTOOL"; then
17710
ac_ct_DLLTOOL=$DLLTOOL
17711
# Extract the first word of "dlltool", so it can be a program name with args.
17712
set dummy dlltool; ac_word=$2
17713
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17714
$as_echo_n "checking for $ac_word... " >&6; }
17715
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
17716
$as_echo_n "(cached) " >&6
17718
if test -n "$ac_ct_DLLTOOL"; then
17719
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
17721
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17722
for as_dir in $PATH
17725
test -z "$as_dir" && as_dir=.
17726
for ac_exec_ext in '' $ac_executable_extensions; do
17727
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17728
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
17729
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17738
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
17739
if test -n "$ac_ct_DLLTOOL"; then
17740
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
17741
$as_echo "$ac_ct_DLLTOOL" >&6; }
17743
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17744
$as_echo "no" >&6; }
17747
if test "x$ac_ct_DLLTOOL" = x; then
17750
case $cross_compiling:$ac_tool_warned in
17752
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17753
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17754
ac_tool_warned=yes ;;
17756
DLLTOOL=$ac_ct_DLLTOOL
17759
DLLTOOL="$ac_cv_prog_DLLTOOL"
17762
test -z "$DLLTOOL" && DLLTOOL=dlltool
17773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
17774
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
17775
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
17776
$as_echo_n "(cached) " >&6
17778
lt_cv_sharedlib_from_linklib_cmd='unknown'
17781
cygwin* | mingw* | pw32* | cegcc*)
17782
# two different shell functions defined in ltmain.sh
17783
# decide which to use based on capabilities of $DLLTOOL
17784
case `$DLLTOOL --help 2>&1` in
17785
*--identify-strict*)
17786
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
17789
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
17794
# fallback: assume linklib IS sharedlib
17795
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
17800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
17801
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
17802
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
17803
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
17811
if test -n "$ac_tool_prefix"; then
17814
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17815
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17817
$as_echo_n "checking for $ac_word... " >&6; }
17818
if ${ac_cv_prog_AR+:} false; then :
17819
$as_echo_n "(cached) " >&6
17821
if test -n "$AR"; then
17822
ac_cv_prog_AR="$AR" # Let the user override the test.
17824
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17825
for as_dir in $PATH
17828
test -z "$as_dir" && as_dir=.
17829
for ac_exec_ext in '' $ac_executable_extensions; do
17830
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17831
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
17832
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17842
if test -n "$AR"; then
17843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
17844
$as_echo "$AR" >&6; }
17846
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17847
$as_echo "no" >&6; }
17851
test -n "$AR" && break
17854
if test -z "$AR"; then
17858
# Extract the first word of "$ac_prog", so it can be a program name with args.
17859
set dummy $ac_prog; ac_word=$2
17860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17861
$as_echo_n "checking for $ac_word... " >&6; }
17862
if ${ac_cv_prog_ac_ct_AR+:} false; then :
17863
$as_echo_n "(cached) " >&6
17865
if test -n "$ac_ct_AR"; then
17866
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17868
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17869
for as_dir in $PATH
17872
test -z "$as_dir" && as_dir=.
17873
for ac_exec_ext in '' $ac_executable_extensions; do
17874
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17875
ac_cv_prog_ac_ct_AR="$ac_prog"
17876
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17885
ac_ct_AR=$ac_cv_prog_ac_ct_AR
17886
if test -n "$ac_ct_AR"; then
17887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
17888
$as_echo "$ac_ct_AR" >&6; }
17890
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17891
$as_echo "no" >&6; }
17895
test -n "$ac_ct_AR" && break
17898
if test "x$ac_ct_AR" = x; then
17901
case $cross_compiling:$ac_tool_warned in
17903
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17904
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17905
ac_tool_warned=yes ;;
17924
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
17925
$as_echo_n "checking for archiver @FILE support... " >&6; }
17926
if ${lt_cv_ar_at_file+:} false; then :
17927
$as_echo_n "(cached) " >&6
17929
lt_cv_ar_at_file=no
17930
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17931
/* end confdefs.h. */
17941
if ac_fn_c_try_compile "$LINENO"; then :
17942
echo conftest.$ac_objext > conftest.lst
17943
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
17944
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
17945
(eval $lt_ar_try) 2>&5
17947
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17948
test $ac_status = 0; }
17949
if test "$ac_status" -eq 0; then
17950
# Ensure the archiver fails upon bogus file names.
17951
rm -f conftest.$ac_objext libconftest.a
17952
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
17953
(eval $lt_ar_try) 2>&5
17955
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17956
test $ac_status = 0; }
17957
if test "$ac_status" -ne 0; then
17961
rm -f conftest.* libconftest.a
17964
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
17968
$as_echo "$lt_cv_ar_at_file" >&6; }
17970
if test "x$lt_cv_ar_at_file" = xno; then
17971
archiver_list_spec=
17973
archiver_list_spec=$lt_cv_ar_at_file
17982
if test -n "$ac_tool_prefix"; then
17983
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
17984
set dummy ${ac_tool_prefix}strip; ac_word=$2
17985
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17986
$as_echo_n "checking for $ac_word... " >&6; }
17987
if ${ac_cv_prog_STRIP+:} false; then :
17988
$as_echo_n "(cached) " >&6
17990
if test -n "$STRIP"; then
17991
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
17993
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17994
for as_dir in $PATH
17997
test -z "$as_dir" && as_dir=.
17998
for ac_exec_ext in '' $ac_executable_extensions; do
17999
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18000
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
18001
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18010
STRIP=$ac_cv_prog_STRIP
18011
if test -n "$STRIP"; then
18012
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
18013
$as_echo "$STRIP" >&6; }
18015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18016
$as_echo "no" >&6; }
18021
if test -z "$ac_cv_prog_STRIP"; then
18023
# Extract the first word of "strip", so it can be a program name with args.
18024
set dummy strip; ac_word=$2
18025
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18026
$as_echo_n "checking for $ac_word... " >&6; }
18027
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
18028
$as_echo_n "(cached) " >&6
18030
if test -n "$ac_ct_STRIP"; then
18031
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
18033
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18034
for as_dir in $PATH
18037
test -z "$as_dir" && as_dir=.
18038
for ac_exec_ext in '' $ac_executable_extensions; do
18039
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18040
ac_cv_prog_ac_ct_STRIP="strip"
18041
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18050
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
18051
if test -n "$ac_ct_STRIP"; then
18052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
18053
$as_echo "$ac_ct_STRIP" >&6; }
18055
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18056
$as_echo "no" >&6; }
18059
if test "x$ac_ct_STRIP" = x; then
18062
case $cross_compiling:$ac_tool_warned in
18064
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18065
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18066
ac_tool_warned=yes ;;
18071
STRIP="$ac_cv_prog_STRIP"
18074
test -z "$STRIP" && STRIP=:
18081
if test -n "$ac_tool_prefix"; then
18082
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
18083
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
18084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18085
$as_echo_n "checking for $ac_word... " >&6; }
18086
if ${ac_cv_prog_RANLIB+:} false; then :
18087
$as_echo_n "(cached) " >&6
18089
if test -n "$RANLIB"; then
18090
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
18092
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18093
for as_dir in $PATH
18096
test -z "$as_dir" && as_dir=.
18097
for ac_exec_ext in '' $ac_executable_extensions; do
18098
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18099
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
18100
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18109
RANLIB=$ac_cv_prog_RANLIB
18110
if test -n "$RANLIB"; then
18111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
18112
$as_echo "$RANLIB" >&6; }
18114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18115
$as_echo "no" >&6; }
18120
if test -z "$ac_cv_prog_RANLIB"; then
18121
ac_ct_RANLIB=$RANLIB
18122
# Extract the first word of "ranlib", so it can be a program name with args.
18123
set dummy ranlib; ac_word=$2
18124
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18125
$as_echo_n "checking for $ac_word... " >&6; }
18126
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
18127
$as_echo_n "(cached) " >&6
18129
if test -n "$ac_ct_RANLIB"; then
18130
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
18132
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18133
for as_dir in $PATH
18136
test -z "$as_dir" && as_dir=.
18137
for ac_exec_ext in '' $ac_executable_extensions; do
18138
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18139
ac_cv_prog_ac_ct_RANLIB="ranlib"
18140
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18149
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
18150
if test -n "$ac_ct_RANLIB"; then
18151
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
18152
$as_echo "$ac_ct_RANLIB" >&6; }
18154
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18155
$as_echo "no" >&6; }
18158
if test "x$ac_ct_RANLIB" = x; then
18161
case $cross_compiling:$ac_tool_warned in
18163
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18164
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18165
ac_tool_warned=yes ;;
18167
RANLIB=$ac_ct_RANLIB
18170
RANLIB="$ac_cv_prog_RANLIB"
18173
test -z "$RANLIB" && RANLIB=:
18180
# Determine commands to create old-style static archives.
18181
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
18182
old_postinstall_cmds='chmod 644 $oldlib'
18183
old_postuninstall_cmds=
18185
if test -n "$RANLIB"; then
18188
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
18191
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
18194
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
18199
lock_old_archive_extraction=yes ;;
18201
lock_old_archive_extraction=no ;;
18242
# If no C compiler was specified, use CC.
18245
# If no C compiler flags were specified, use CFLAGS.
18246
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18248
# Allow CC to be a program name with arguments.
18252
# Check for command to grab the raw symbol name followed by C symbol from nm.
18253
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
18254
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
18255
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
18256
$as_echo_n "(cached) " >&6
18259
# These are sane defaults that work on at least a few old systems.
18260
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
18262
# Character class describing NM global symbol codes.
18263
symcode='[BCDEGRST]'
18265
# Regexp to match symbols that can be accessed directly from C.
18266
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
18268
# Define system-specific variables.
18273
cygwin* | mingw* | pw32* | cegcc*)
18274
symcode='[ABCDGISTW]'
18277
if test "$host_cpu" = ia64; then
18278
symcode='[ABCDEGRST]'
18281
irix* | nonstopux*)
18282
symcode='[BCDEGRST]'
18285
symcode='[BCDEGQRST]'
18296
sysv5* | sco5v6* | unixware* | OpenUNIX*)
18304
# If we're using GNU nm, then use its standard symbol codes.
18305
case `$NM -V 2>&1` in
18306
*GNU* | *'with BFD'*)
18307
symcode='[ABCDGIRSTW]' ;;
18310
# Transform an extracted symbol line into a proper C declaration.
18311
# Some systems (esp. on ia64) link data and code symbols differently,
18312
# so use this general approach.
18313
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
18315
# Transform an extracted symbol line into symbol name and symbol address
18316
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
18317
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'"
18319
# Handle CRLF in mingw tool chain
18323
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
18327
# Try without a prefix underscore, then with it.
18328
for ac_symprfx in "" "_"; do
18330
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
18331
symxfrm="\\1 $ac_symprfx\\2 \\2"
18333
# Write the raw and C identifiers.
18334
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
18335
# Fake it for dumpbin and say T for any non-static function
18336
# and D for any global variable.
18337
# Also find C++ and __fastcall symbols from MSVC++,
18338
# which start with @ or ?.
18339
lt_cv_sys_global_symbol_pipe="$AWK '"\
18340
" {last_section=section; section=\$ 3};"\
18341
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
18342
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
18343
" \$ 0!~/External *\|/{next};"\
18344
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
18345
" {if(hide[section]) next};"\
18346
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
18347
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
18348
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
18349
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
18350
" ' prfx=^$ac_symprfx"
18352
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
18354
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
18356
# Check to see that the pipe works correctly.
18360
cat > conftest.$ac_ext <<_LT_EOF
18365
void nm_test_func(void);
18366
void nm_test_func(void){}
18370
int main(){nm_test_var='a';nm_test_func();return(0);}
18373
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18374
(eval $ac_compile) 2>&5
18376
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18377
test $ac_status = 0; }; then
18378
# Now try to grab the symbols.
18380
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
18381
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
18383
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18384
test $ac_status = 0; } && test -s "$nlist"; then
18385
# Try sorting and uniquifying the output.
18386
if sort "$nlist" | uniq > "$nlist"T; then
18387
mv -f "$nlist"T "$nlist"
18392
# Make sure that we snagged all the symbols we need.
18393
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
18394
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
18395
cat <<_LT_EOF > conftest.$ac_ext
18396
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
18397
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
18398
/* DATA imports from DLLs on WIN32 con't be const, because runtime
18399
relocations are performed -- see ld's documentation on pseudo-relocs. */
18400
# define LT_DLSYM_CONST
18401
#elif defined(__osf__)
18402
/* This system does not cope well with relocations in const data. */
18403
# define LT_DLSYM_CONST
18405
# define LT_DLSYM_CONST const
18413
# Now generate the symbol file.
18414
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
18416
cat <<_LT_EOF >> conftest.$ac_ext
18418
/* The mapping between symbol names and symbols. */
18419
LT_DLSYM_CONST struct {
18423
lt__PROGRAM__LTX_preloaded_symbols[] =
18425
{ "@PROGRAM@", (void *) 0 },
18427
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
18428
cat <<\_LT_EOF >> conftest.$ac_ext
18432
/* This works around a problem in FreeBSD linker */
18433
#ifdef FREEBSD_WORKAROUND
18434
static const void *lt_preloaded_setup() {
18435
return lt__PROGRAM__LTX_preloaded_symbols;
18443
# Now try linking the two files.
18444
mv conftest.$ac_objext conftstm.$ac_objext
18445
lt_globsym_save_LIBS=$LIBS
18446
lt_globsym_save_CFLAGS=$CFLAGS
18447
LIBS="conftstm.$ac_objext"
18448
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
18449
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
18450
(eval $ac_link) 2>&5
18452
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18453
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
18456
LIBS=$lt_globsym_save_LIBS
18457
CFLAGS=$lt_globsym_save_CFLAGS
18459
echo "cannot find nm_test_func in $nlist" >&5
18462
echo "cannot find nm_test_var in $nlist" >&5
18465
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
18468
echo "$progname: failed program was:" >&5
18469
cat conftest.$ac_ext >&5
18471
rm -rf conftest* conftst*
18473
# Do not use the global_symbol_pipe unless it works.
18474
if test "$pipe_works" = yes; then
18477
lt_cv_sys_global_symbol_pipe=
18483
if test -z "$lt_cv_sys_global_symbol_pipe"; then
18484
lt_cv_sys_global_symbol_to_cdecl=
18486
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
18487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
18488
$as_echo "failed" >&6; }
18490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18491
$as_echo "ok" >&6; }
18494
# Response file support.
18495
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
18496
nm_file_list_spec='@'
18497
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
18498
nm_file_list_spec='@'
18527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
18528
$as_echo_n "checking for sysroot... " >&6; }
18530
# Check whether --with-sysroot was given.
18531
if test "${with_sysroot+set}" = set; then :
18532
withval=$with_sysroot;
18539
case ${with_sysroot} in #(
18541
if test "$GCC" = yes; then
18542
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
18546
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
18551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
18552
$as_echo "${with_sysroot}" >&6; }
18553
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
18557
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
18558
$as_echo "${lt_sysroot:-no}" >&6; }
18564
# Check whether --enable-libtool-lock was given.
18565
if test "${enable_libtool_lock+set}" = set; then :
18566
enableval=$enable_libtool_lock;
18569
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
18571
# Some flags need to be propagated to the compiler or linker for good
18575
# Find out which ABI we are using.
18576
echo 'int i;' > conftest.$ac_ext
18577
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18578
(eval $ac_compile) 2>&5
18580
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18581
test $ac_status = 0; }; then
18582
case `/usr/bin/file conftest.$ac_objext` in
18584
HPUX_IA64_MODE="32"
18587
HPUX_IA64_MODE="64"
18594
# Find out which ABI we are using.
18595
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
18596
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18597
(eval $ac_compile) 2>&5
18599
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18600
test $ac_status = 0; }; then
18601
if test "$lt_cv_prog_gnu_ld" = yes; then
18602
case `/usr/bin/file conftest.$ac_objext` in
18604
LD="${LD-ld} -melf32bsmip"
18607
LD="${LD-ld} -melf32bmipn32"
18610
LD="${LD-ld} -melf64bmip"
18614
case `/usr/bin/file conftest.$ac_objext` in
18630
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
18631
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
18632
# Find out which ABI we are using.
18633
echo 'int i;' > conftest.$ac_ext
18634
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18635
(eval $ac_compile) 2>&5
18637
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18638
test $ac_status = 0; }; then
18639
case `/usr/bin/file conftest.o` in
18642
x86_64-*kfreebsd*-gnu)
18643
LD="${LD-ld} -m elf_i386_fbsd"
18646
LD="${LD-ld} -m elf_i386"
18648
ppc64-*linux*|powerpc64-*linux*)
18649
LD="${LD-ld} -m elf32ppclinux"
18652
LD="${LD-ld} -m elf_s390"
18655
LD="${LD-ld} -m elf32_sparc"
18661
x86_64-*kfreebsd*-gnu)
18662
LD="${LD-ld} -m elf_x86_64_fbsd"
18665
LD="${LD-ld} -m elf_x86_64"
18667
ppc*-*linux*|powerpc*-*linux*)
18668
LD="${LD-ld} -m elf64ppc"
18670
s390*-*linux*|s390*-*tpf*)
18671
LD="${LD-ld} -m elf64_s390"
18674
LD="${LD-ld} -m elf64_sparc"
18684
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
18685
SAVE_CFLAGS="$CFLAGS"
18686
CFLAGS="$CFLAGS -belf"
18687
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
18688
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
18689
if ${lt_cv_cc_needs_belf+:} false; then :
18690
$as_echo_n "(cached) " >&6
18693
ac_cpp='$CPP $CPPFLAGS'
18694
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18695
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18696
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18698
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18699
/* end confdefs.h. */
18709
if ac_fn_c_try_link "$LINENO"; then :
18710
lt_cv_cc_needs_belf=yes
18712
lt_cv_cc_needs_belf=no
18714
rm -f core conftest.err conftest.$ac_objext \
18715
conftest$ac_exeext conftest.$ac_ext
18717
ac_cpp='$CPP $CPPFLAGS'
18718
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18719
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18720
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18723
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
18724
$as_echo "$lt_cv_cc_needs_belf" >&6; }
18725
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
18726
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
18727
CFLAGS="$SAVE_CFLAGS"
18731
# Find out which ABI we are using.
18732
echo 'int i;' > conftest.$ac_ext
18733
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18734
(eval $ac_compile) 2>&5
18736
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18737
test $ac_status = 0; }; then
18738
case `/usr/bin/file conftest.o` in
18740
case $lt_cv_prog_gnu_ld in
18744
LD="${LD-ld} -m elf_x86_64"
18747
LD="${LD-ld} -m elf64_sparc"
18750
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
18751
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
18756
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
18768
need_locks="$enable_libtool_lock"
18770
if test -n "$ac_tool_prefix"; then
18771
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
18772
set dummy ${ac_tool_prefix}mt; ac_word=$2
18773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18774
$as_echo_n "checking for $ac_word... " >&6; }
18775
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
18776
$as_echo_n "(cached) " >&6
18778
if test -n "$MANIFEST_TOOL"; then
18779
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
18781
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18782
for as_dir in $PATH
18785
test -z "$as_dir" && as_dir=.
18786
for ac_exec_ext in '' $ac_executable_extensions; do
18787
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18788
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
18789
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18798
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
18799
if test -n "$MANIFEST_TOOL"; then
18800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
18801
$as_echo "$MANIFEST_TOOL" >&6; }
18803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18804
$as_echo "no" >&6; }
18809
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
18810
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
18811
# Extract the first word of "mt", so it can be a program name with args.
18812
set dummy mt; ac_word=$2
18813
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18814
$as_echo_n "checking for $ac_word... " >&6; }
18815
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
18816
$as_echo_n "(cached) " >&6
18818
if test -n "$ac_ct_MANIFEST_TOOL"; then
18819
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
18821
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18822
for as_dir in $PATH
18825
test -z "$as_dir" && as_dir=.
18826
for ac_exec_ext in '' $ac_executable_extensions; do
18827
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18828
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
18829
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18838
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
18839
if test -n "$ac_ct_MANIFEST_TOOL"; then
18840
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
18841
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
18843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18844
$as_echo "no" >&6; }
18847
if test "x$ac_ct_MANIFEST_TOOL" = x; then
18850
case $cross_compiling:$ac_tool_warned in
18852
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18853
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18854
ac_tool_warned=yes ;;
18856
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
18859
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
18862
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
18863
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
18864
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
18865
if ${lt_cv_path_mainfest_tool+:} false; then :
18866
$as_echo_n "(cached) " >&6
18868
lt_cv_path_mainfest_tool=no
18869
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
18870
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
18871
cat conftest.err >&5
18872
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
18873
lt_cv_path_mainfest_tool=yes
18877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
18878
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
18879
if test "x$lt_cv_path_mainfest_tool" != xyes; then
18889
rhapsody* | darwin*)
18890
if test -n "$ac_tool_prefix"; then
18891
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
18892
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
18893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18894
$as_echo_n "checking for $ac_word... " >&6; }
18895
if ${ac_cv_prog_DSYMUTIL+:} false; then :
18896
$as_echo_n "(cached) " >&6
18898
if test -n "$DSYMUTIL"; then
18899
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
18901
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18902
for as_dir in $PATH
18905
test -z "$as_dir" && as_dir=.
18906
for ac_exec_ext in '' $ac_executable_extensions; do
18907
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18908
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
18909
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18918
DSYMUTIL=$ac_cv_prog_DSYMUTIL
18919
if test -n "$DSYMUTIL"; then
18920
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
18921
$as_echo "$DSYMUTIL" >&6; }
18923
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18924
$as_echo "no" >&6; }
18929
if test -z "$ac_cv_prog_DSYMUTIL"; then
18930
ac_ct_DSYMUTIL=$DSYMUTIL
18931
# Extract the first word of "dsymutil", so it can be a program name with args.
18932
set dummy dsymutil; ac_word=$2
18933
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18934
$as_echo_n "checking for $ac_word... " >&6; }
18935
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
18936
$as_echo_n "(cached) " >&6
18938
if test -n "$ac_ct_DSYMUTIL"; then
18939
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
18941
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18942
for as_dir in $PATH
18945
test -z "$as_dir" && as_dir=.
18946
for ac_exec_ext in '' $ac_executable_extensions; do
18947
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18948
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
18949
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18958
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
18959
if test -n "$ac_ct_DSYMUTIL"; then
18960
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
18961
$as_echo "$ac_ct_DSYMUTIL" >&6; }
18963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18964
$as_echo "no" >&6; }
18967
if test "x$ac_ct_DSYMUTIL" = x; then
18970
case $cross_compiling:$ac_tool_warned in
18972
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18973
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18974
ac_tool_warned=yes ;;
18976
DSYMUTIL=$ac_ct_DSYMUTIL
18979
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
18982
if test -n "$ac_tool_prefix"; then
18983
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
18984
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
18985
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18986
$as_echo_n "checking for $ac_word... " >&6; }
18987
if ${ac_cv_prog_NMEDIT+:} false; then :
18988
$as_echo_n "(cached) " >&6
18990
if test -n "$NMEDIT"; then
18991
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
18993
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18994
for as_dir in $PATH
18997
test -z "$as_dir" && as_dir=.
18998
for ac_exec_ext in '' $ac_executable_extensions; do
18999
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19000
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
19001
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19010
NMEDIT=$ac_cv_prog_NMEDIT
19011
if test -n "$NMEDIT"; then
19012
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
19013
$as_echo "$NMEDIT" >&6; }
19015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19016
$as_echo "no" >&6; }
19021
if test -z "$ac_cv_prog_NMEDIT"; then
19022
ac_ct_NMEDIT=$NMEDIT
19023
# Extract the first word of "nmedit", so it can be a program name with args.
19024
set dummy nmedit; ac_word=$2
19025
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19026
$as_echo_n "checking for $ac_word... " >&6; }
19027
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
19028
$as_echo_n "(cached) " >&6
19030
if test -n "$ac_ct_NMEDIT"; then
19031
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
19033
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19034
for as_dir in $PATH
19037
test -z "$as_dir" && as_dir=.
19038
for ac_exec_ext in '' $ac_executable_extensions; do
19039
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19040
ac_cv_prog_ac_ct_NMEDIT="nmedit"
19041
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19050
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
19051
if test -n "$ac_ct_NMEDIT"; then
19052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
19053
$as_echo "$ac_ct_NMEDIT" >&6; }
19055
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19056
$as_echo "no" >&6; }
19059
if test "x$ac_ct_NMEDIT" = x; then
19062
case $cross_compiling:$ac_tool_warned in
19064
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19065
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19066
ac_tool_warned=yes ;;
19068
NMEDIT=$ac_ct_NMEDIT
19071
NMEDIT="$ac_cv_prog_NMEDIT"
19074
if test -n "$ac_tool_prefix"; then
19075
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
19076
set dummy ${ac_tool_prefix}lipo; ac_word=$2
19077
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19078
$as_echo_n "checking for $ac_word... " >&6; }
19079
if ${ac_cv_prog_LIPO+:} false; then :
19080
$as_echo_n "(cached) " >&6
19082
if test -n "$LIPO"; then
19083
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
19085
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19086
for as_dir in $PATH
19089
test -z "$as_dir" && as_dir=.
19090
for ac_exec_ext in '' $ac_executable_extensions; do
19091
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19092
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
19093
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19102
LIPO=$ac_cv_prog_LIPO
19103
if test -n "$LIPO"; then
19104
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
19105
$as_echo "$LIPO" >&6; }
19107
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19108
$as_echo "no" >&6; }
19113
if test -z "$ac_cv_prog_LIPO"; then
19115
# Extract the first word of "lipo", so it can be a program name with args.
19116
set dummy lipo; ac_word=$2
19117
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19118
$as_echo_n "checking for $ac_word... " >&6; }
19119
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
19120
$as_echo_n "(cached) " >&6
19122
if test -n "$ac_ct_LIPO"; then
19123
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
19125
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19126
for as_dir in $PATH
19129
test -z "$as_dir" && as_dir=.
19130
for ac_exec_ext in '' $ac_executable_extensions; do
19131
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19132
ac_cv_prog_ac_ct_LIPO="lipo"
19133
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19142
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
19143
if test -n "$ac_ct_LIPO"; then
19144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
19145
$as_echo "$ac_ct_LIPO" >&6; }
19147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19148
$as_echo "no" >&6; }
19151
if test "x$ac_ct_LIPO" = x; then
19154
case $cross_compiling:$ac_tool_warned in
19156
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19157
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19158
ac_tool_warned=yes ;;
19163
LIPO="$ac_cv_prog_LIPO"
19166
if test -n "$ac_tool_prefix"; then
19167
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
19168
set dummy ${ac_tool_prefix}otool; ac_word=$2
19169
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19170
$as_echo_n "checking for $ac_word... " >&6; }
19171
if ${ac_cv_prog_OTOOL+:} false; then :
19172
$as_echo_n "(cached) " >&6
19174
if test -n "$OTOOL"; then
19175
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
19177
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19178
for as_dir in $PATH
19181
test -z "$as_dir" && as_dir=.
19182
for ac_exec_ext in '' $ac_executable_extensions; do
19183
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19184
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
19185
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19194
OTOOL=$ac_cv_prog_OTOOL
19195
if test -n "$OTOOL"; then
19196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
19197
$as_echo "$OTOOL" >&6; }
19199
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19200
$as_echo "no" >&6; }
19205
if test -z "$ac_cv_prog_OTOOL"; then
19207
# Extract the first word of "otool", so it can be a program name with args.
19208
set dummy otool; ac_word=$2
19209
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19210
$as_echo_n "checking for $ac_word... " >&6; }
19211
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
19212
$as_echo_n "(cached) " >&6
19214
if test -n "$ac_ct_OTOOL"; then
19215
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
19217
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19218
for as_dir in $PATH
19221
test -z "$as_dir" && as_dir=.
19222
for ac_exec_ext in '' $ac_executable_extensions; do
19223
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19224
ac_cv_prog_ac_ct_OTOOL="otool"
19225
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19234
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
19235
if test -n "$ac_ct_OTOOL"; then
19236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
19237
$as_echo "$ac_ct_OTOOL" >&6; }
19239
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19240
$as_echo "no" >&6; }
19243
if test "x$ac_ct_OTOOL" = x; then
19246
case $cross_compiling:$ac_tool_warned in
19248
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19249
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19250
ac_tool_warned=yes ;;
19255
OTOOL="$ac_cv_prog_OTOOL"
19258
if test -n "$ac_tool_prefix"; then
19259
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
19260
set dummy ${ac_tool_prefix}otool64; ac_word=$2
19261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19262
$as_echo_n "checking for $ac_word... " >&6; }
19263
if ${ac_cv_prog_OTOOL64+:} false; then :
19264
$as_echo_n "(cached) " >&6
19266
if test -n "$OTOOL64"; then
19267
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
19269
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19270
for as_dir in $PATH
19273
test -z "$as_dir" && as_dir=.
19274
for ac_exec_ext in '' $ac_executable_extensions; do
19275
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19276
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
19277
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19286
OTOOL64=$ac_cv_prog_OTOOL64
19287
if test -n "$OTOOL64"; then
19288
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
19289
$as_echo "$OTOOL64" >&6; }
19291
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19292
$as_echo "no" >&6; }
19297
if test -z "$ac_cv_prog_OTOOL64"; then
19298
ac_ct_OTOOL64=$OTOOL64
19299
# Extract the first word of "otool64", so it can be a program name with args.
19300
set dummy otool64; ac_word=$2
19301
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19302
$as_echo_n "checking for $ac_word... " >&6; }
19303
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
19304
$as_echo_n "(cached) " >&6
19306
if test -n "$ac_ct_OTOOL64"; then
19307
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
19309
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19310
for as_dir in $PATH
19313
test -z "$as_dir" && as_dir=.
19314
for ac_exec_ext in '' $ac_executable_extensions; do
19315
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19316
ac_cv_prog_ac_ct_OTOOL64="otool64"
19317
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19326
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
19327
if test -n "$ac_ct_OTOOL64"; then
19328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
19329
$as_echo "$ac_ct_OTOOL64" >&6; }
19331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19332
$as_echo "no" >&6; }
19335
if test "x$ac_ct_OTOOL64" = x; then
19338
case $cross_compiling:$ac_tool_warned in
19340
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19341
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19342
ac_tool_warned=yes ;;
19344
OTOOL64=$ac_ct_OTOOL64
19347
OTOOL64="$ac_cv_prog_OTOOL64"
19376
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
19377
$as_echo_n "checking for -single_module linker flag... " >&6; }
19378
if ${lt_cv_apple_cc_single_mod+:} false; then :
19379
$as_echo_n "(cached) " >&6
19381
lt_cv_apple_cc_single_mod=no
19382
if test -z "${LT_MULTI_MODULE}"; then
19383
# By default we will add the -single_module flag. You can override
19384
# by either setting the environment variable LT_MULTI_MODULE
19385
# non-empty at configure time, or by adding -multi_module to the
19387
rm -rf libconftest.dylib*
19388
echo "int foo(void){return 1;}" > conftest.c
19389
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
19390
-dynamiclib -Wl,-single_module conftest.c" >&5
19391
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
19392
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
19394
# If there is a non-empty error log, and "single_module"
19395
# appears in it, assume the flag caused a linker warning
19396
if test -s conftest.err && $GREP single_module conftest.err; then
19397
cat conftest.err >&5
19398
# Otherwise, if the output was created with a 0 exit code from
19399
# the compiler, it worked.
19400
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
19401
lt_cv_apple_cc_single_mod=yes
19403
cat conftest.err >&5
19405
rm -rf libconftest.dylib*
19409
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
19410
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
19412
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
19413
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
19414
if ${lt_cv_ld_exported_symbols_list+:} false; then :
19415
$as_echo_n "(cached) " >&6
19417
lt_cv_ld_exported_symbols_list=no
19418
save_LDFLAGS=$LDFLAGS
19419
echo "_main" > conftest.sym
19420
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
19421
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19422
/* end confdefs.h. */
19432
if ac_fn_c_try_link "$LINENO"; then :
19433
lt_cv_ld_exported_symbols_list=yes
19435
lt_cv_ld_exported_symbols_list=no
19437
rm -f core conftest.err conftest.$ac_objext \
19438
conftest$ac_exeext conftest.$ac_ext
19439
LDFLAGS="$save_LDFLAGS"
19442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
19443
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
19445
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
19446
$as_echo_n "checking for -force_load linker flag... " >&6; }
19447
if ${lt_cv_ld_force_load+:} false; then :
19448
$as_echo_n "(cached) " >&6
19450
lt_cv_ld_force_load=no
19451
cat > conftest.c << _LT_EOF
19452
int forced_loaded() { return 2;}
19454
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
19455
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
19456
echo "$AR cru libconftest.a conftest.o" >&5
19457
$AR cru libconftest.a conftest.o 2>&5
19458
echo "$RANLIB libconftest.a" >&5
19459
$RANLIB libconftest.a 2>&5
19460
cat > conftest.c << _LT_EOF
19461
int main() { return 0;}
19463
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
19464
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
19466
if test -s conftest.err && $GREP force_load conftest.err; then
19467
cat conftest.err >&5
19468
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
19469
lt_cv_ld_force_load=yes
19471
cat conftest.err >&5
19473
rm -f conftest.err libconftest.a conftest conftest.c
19474
rm -rf conftest.dSYM
19477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
19478
$as_echo "$lt_cv_ld_force_load" >&6; }
19480
rhapsody* | darwin1.[012])
19481
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
19483
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
19484
darwin*) # darwin 5.x on
19485
# if running on 10.5 or later, the deployment target defaults
19486
# to the OS version, if on x86, and 10.4, the deployment
19487
# target defaults to 10.4. Don't you love it?
19488
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
19489
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
19490
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
19492
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
19494
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
19498
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
19499
_lt_dar_single_mod='$single_module'
19501
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
19502
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
19504
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
19506
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
19507
_lt_dsymutil='~$DSYMUTIL $lib || :'
19514
for ac_header in dlfcn.h
19516
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
19518
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
19519
cat >>confdefs.h <<_ACEOF
19520
#define HAVE_DLFCN_H 1
19529
func_stripname_cnf ()
19532
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
19533
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
19535
} # func_stripname_cnf
19542
# Check whether --enable-shared was given.
19543
if test "${enable_shared+set}" = set; then :
19544
enableval=$enable_shared; p=${PACKAGE-default}
19546
yes) enable_shared=yes ;;
19547
no) enable_shared=no ;;
19550
# Look at the argument we got. We use all the common list separators.
19551
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
19552
for pkg in $enableval; do
19554
if test "X$pkg" = "X$p"; then
19577
enable_win32_dll=no
19581
# Check whether --enable-static was given.
19582
if test "${enable_static+set}" = set; then :
19583
enableval=$enable_static; p=${PACKAGE-default}
19585
yes) enable_static=yes ;;
19586
no) enable_static=no ;;
19589
# Look at the argument we got. We use all the common list separators.
19590
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
19591
for pkg in $enableval; do
19593
if test "X$pkg" = "X$p"; then
19613
# Check whether --with-pic was given.
19614
if test "${with_pic+set}" = set; then :
19615
withval=$with_pic; lt_p=${PACKAGE-default}
19617
yes|no) pic_mode=$withval ;;
19620
# Look at the argument we got. We use all the common list separators.
19621
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
19622
for lt_pkg in $withval; do
19624
if test "X$lt_pkg" = "X$lt_p"; then
19636
test -z "$pic_mode" && pic_mode=default
19644
# Check whether --enable-fast-install was given.
19645
if test "${enable_fast_install+set}" = set; then :
19646
enableval=$enable_fast_install; p=${PACKAGE-default}
19648
yes) enable_fast_install=yes ;;
19649
no) enable_fast_install=no ;;
19651
enable_fast_install=no
19652
# Look at the argument we got. We use all the common list separators.
19653
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
19654
for pkg in $enableval; do
19656
if test "X$pkg" = "X$p"; then
19657
enable_fast_install=yes
19664
enable_fast_install=yes
19677
# This can be used to rebuild libtool when needed
19678
LIBTOOL_DEPS="$ltmain"
19680
# Always use our own libtool.
19681
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19712
test -z "$LN_S" && LN_S="ln -s"
19727
if test -n "${ZSH_VERSION+set}" ; then
19728
setopt NO_GLOB_SUBST
19731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
19732
$as_echo_n "checking for objdir... " >&6; }
19733
if ${lt_cv_objdir+:} false; then :
19734
$as_echo_n "(cached) " >&6
19736
rm -f .libs 2>/dev/null
19737
mkdir .libs 2>/dev/null
19738
if test -d .libs; then
19741
# MS-DOS does not allow filenames that begin with a dot.
19744
rmdir .libs 2>/dev/null
19746
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
19747
$as_echo "$lt_cv_objdir" >&6; }
19748
objdir=$lt_cv_objdir
19754
cat >>confdefs.h <<_ACEOF
19755
#define LT_OBJDIR "$lt_cv_objdir/"
19763
# AIX sometimes has problems with the GCC collect2 program. For some
19764
# reason, if we set the COLLECT_NAMES environment variable, the problems
19765
# vanish in a puff of smoke.
19766
if test "X${COLLECT_NAMES+set}" != Xset; then
19768
export COLLECT_NAMES
19773
# Global variables:
19775
can_build_shared=yes
19777
# All known linkers require a `.a' archive for static linking (except MSVC,
19778
# which needs '.lib').
19781
with_gnu_ld="$lt_cv_prog_gnu_ld"
19784
old_CFLAGS="$CFLAGS"
19786
# Set sane defaults for various variables
19787
test -z "$CC" && CC=cc
19788
test -z "$LTCC" && LTCC=$CC
19789
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
19790
test -z "$LD" && LD=ld
19791
test -z "$ac_objext" && ac_objext=o
19793
for cc_temp in $compiler""; do
19795
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19796
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19801
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19804
# Only perform the check for file, if the check method requires it
19805
test -z "$MAGIC_CMD" && MAGIC_CMD=file
19806
case $deplibs_check_method in
19808
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
19809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
19810
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
19811
if ${lt_cv_path_MAGIC_CMD+:} false; then :
19812
$as_echo_n "(cached) " >&6
19816
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
19819
lt_save_MAGIC_CMD="$MAGIC_CMD"
19820
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19821
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
19822
for ac_dir in $ac_dummy; do
19824
test -z "$ac_dir" && ac_dir=.
19825
if test -f $ac_dir/${ac_tool_prefix}file; then
19826
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
19827
if test -n "$file_magic_test_file"; then
19828
case $deplibs_check_method in
19830
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
19831
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
19832
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
19833
$EGREP "$file_magic_regex" > /dev/null; then
19838
*** Warning: the command libtool uses to detect shared libraries,
19839
*** $file_magic_cmd, produces output that libtool cannot recognize.
19840
*** The result is that libtool may fail to recognize shared libraries
19841
*** as such. This will affect the creation of libtool libraries that
19842
*** depend on shared libraries, but programs linked with such libtool
19843
*** libraries will work regardless of this problem. Nevertheless, you
19844
*** may want to report the problem to your system manager and/or to
19845
*** bug-libtool@gnu.org
19855
MAGIC_CMD="$lt_save_MAGIC_CMD"
19860
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
19861
if test -n "$MAGIC_CMD"; then
19862
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
19863
$as_echo "$MAGIC_CMD" >&6; }
19865
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19866
$as_echo "no" >&6; }
19873
if test -z "$lt_cv_path_MAGIC_CMD"; then
19874
if test -n "$ac_tool_prefix"; then
19875
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
19876
$as_echo_n "checking for file... " >&6; }
19877
if ${lt_cv_path_MAGIC_CMD+:} false; then :
19878
$as_echo_n "(cached) " >&6
19882
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
19885
lt_save_MAGIC_CMD="$MAGIC_CMD"
19886
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19887
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
19888
for ac_dir in $ac_dummy; do
19890
test -z "$ac_dir" && ac_dir=.
19891
if test -f $ac_dir/file; then
19892
lt_cv_path_MAGIC_CMD="$ac_dir/file"
19893
if test -n "$file_magic_test_file"; then
19894
case $deplibs_check_method in
19896
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
19897
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
19898
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
19899
$EGREP "$file_magic_regex" > /dev/null; then
19904
*** Warning: the command libtool uses to detect shared libraries,
19905
*** $file_magic_cmd, produces output that libtool cannot recognize.
19906
*** The result is that libtool may fail to recognize shared libraries
19907
*** as such. This will affect the creation of libtool libraries that
19908
*** depend on shared libraries, but programs linked with such libtool
19909
*** libraries will work regardless of this problem. Nevertheless, you
19910
*** may want to report the problem to your system manager and/or to
19911
*** bug-libtool@gnu.org
19921
MAGIC_CMD="$lt_save_MAGIC_CMD"
19926
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
19927
if test -n "$MAGIC_CMD"; then
19928
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
19929
$as_echo "$MAGIC_CMD" >&6; }
19931
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19932
$as_echo "no" >&6; }
19945
# Use C for the default configuration in the libtool script
19949
ac_cpp='$CPP $CPPFLAGS'
19950
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19951
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19952
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19955
# Source file extension for C test sources.
19958
# Object file extension for compiled C test sources.
19962
# Code to be used in simple compile tests
19963
lt_simple_compile_test_code="int some_variable = 0;"
19965
# Code to be used in simple link tests
19966
lt_simple_link_test_code='int main(){return(0);}'
19974
# If no C compiler was specified, use CC.
19977
# If no C compiler flags were specified, use CFLAGS.
19978
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19980
# Allow CC to be a program name with arguments.
19983
# Save the default compiler, since it gets overwritten when the other
19984
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
19985
compiler_DEFAULT=$CC
19987
# save warnings/boilerplate of simple test code
19988
ac_outfile=conftest.$ac_objext
19989
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19990
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19991
_lt_compiler_boilerplate=`cat conftest.err`
19994
ac_outfile=conftest.$ac_objext
19995
echo "$lt_simple_link_test_code" >conftest.$ac_ext
19996
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19997
_lt_linker_boilerplate=`cat conftest.err`
20002
## There is no encapsulation within the following macros, do not change
20003
## the running order or otherwise move them around unless you know exactly
20004
## what you are doing...
20005
if test -n "$compiler"; then
20007
lt_prog_compiler_no_builtin_flag=
20009
if test "$GCC" = yes; then
20010
case $cc_basename in
20012
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
20014
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
20017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
20018
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
20019
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
20020
$as_echo_n "(cached) " >&6
20022
lt_cv_prog_compiler_rtti_exceptions=no
20023
ac_outfile=conftest.$ac_objext
20024
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20025
lt_compiler_flag="-fno-rtti -fno-exceptions"
20026
# Insert the option either (1) after the last *FLAGS variable, or
20027
# (2) before a word containing "conftest.", or (3) at the end.
20028
# Note that $ac_compile itself does not contain backslashes and begins
20029
# with a dollar sign (not a hyphen), so the echo should work correctly.
20030
# The option is referenced via a variable to avoid confusing sed.
20031
lt_compile=`echo "$ac_compile" | $SED \
20032
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20033
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20034
-e 's:$: $lt_compiler_flag:'`
20035
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
20036
(eval "$lt_compile" 2>conftest.err)
20038
cat conftest.err >&5
20039
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20040
if (exit $ac_status) && test -s "$ac_outfile"; then
20041
# The compiler can only warn and ignore the option if not recognized
20042
# So say no if there are warnings other than the usual output.
20043
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
20044
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20045
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
20046
lt_cv_prog_compiler_rtti_exceptions=yes
20052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
20053
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
20055
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
20056
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
20068
lt_prog_compiler_wl=
20069
lt_prog_compiler_pic=
20070
lt_prog_compiler_static=
20073
if test "$GCC" = yes; then
20074
lt_prog_compiler_wl='-Wl,'
20075
lt_prog_compiler_static='-static'
20079
# All AIX code is PIC.
20080
if test "$host_cpu" = ia64; then
20081
# AIX 5 now supports IA64 processor
20082
lt_prog_compiler_static='-Bstatic'
20089
# see comment about AmigaOS4 .so support
20090
lt_prog_compiler_pic='-fPIC'
20093
# FIXME: we need at least 68020 code to build shared libraries, but
20094
# adding the `-m68020' flag to GCC prevents building anything better,
20096
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
20101
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
20102
# PIC is the default for these OSes.
20105
mingw* | cygwin* | pw32* | os2* | cegcc*)
20106
# This hack is so that the source file can tell whether it is being
20107
# built for inclusion in a dll (and should export symbols for example).
20108
# Although the cygwin gcc ignores -fPIC, still need this for old-style
20109
# (--disable-auto-import) libraries
20110
lt_prog_compiler_pic='-DDLL_EXPORT'
20113
darwin* | rhapsody*)
20114
# PIC is the default on this platform
20115
# Common symbols not allowed in MH_DYLIB files
20116
lt_prog_compiler_pic='-fno-common'
20120
# PIC is the default for Haiku.
20121
# The "-static" flag exists, but is broken.
20122
lt_prog_compiler_static=
20126
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
20127
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
20128
# sets the default TLS model and affects inlining.
20134
lt_prog_compiler_pic='-fPIC'
20140
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
20141
# Instead, we relocate shared libraries at runtime.
20145
# Just because we use GCC doesn't mean we suddenly get shared libraries
20146
# on systems that don't support them.
20147
lt_prog_compiler_can_build_shared=no
20152
# QNX uses GNU C++, but need to define -shared option too, otherwise
20153
# it will coredump.
20154
lt_prog_compiler_pic='-fPIC -shared'
20158
if test -d /usr/nec; then
20159
lt_prog_compiler_pic=-Kconform_pic
20164
lt_prog_compiler_pic='-fPIC'
20168
case $cc_basename in
20169
nvcc*) # Cuda Compiler Driver 2.2
20170
lt_prog_compiler_wl='-Xlinker '
20171
if test -n "$lt_prog_compiler_pic"; then
20172
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
20177
# PORTME Check for flag to pass linker flags through the system compiler.
20180
lt_prog_compiler_wl='-Wl,'
20181
if test "$host_cpu" = ia64; then
20182
# AIX 5 now supports IA64 processor
20183
lt_prog_compiler_static='-Bstatic'
20185
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
20189
mingw* | cygwin* | pw32* | os2* | cegcc*)
20190
# This hack is so that the source file can tell whether it is being
20191
# built for inclusion in a dll (and should export symbols for example).
20192
lt_prog_compiler_pic='-DDLL_EXPORT'
20195
hpux9* | hpux10* | hpux11*)
20196
lt_prog_compiler_wl='-Wl,'
20197
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
20198
# not for PA HP-UX.
20204
lt_prog_compiler_pic='+Z'
20207
# Is there a better lt_prog_compiler_static that works with the bundled CC?
20208
lt_prog_compiler_static='${wl}-a ${wl}archive'
20211
irix5* | irix6* | nonstopux*)
20212
lt_prog_compiler_wl='-Wl,'
20213
# PIC (with -KPIC) is the default.
20214
lt_prog_compiler_static='-non_shared'
20217
linux* | k*bsd*-gnu | kopensolaris*-gnu)
20218
case $cc_basename in
20219
# old Intel for x86_64 which still supported -KPIC.
20221
lt_prog_compiler_wl='-Wl,'
20222
lt_prog_compiler_pic='-KPIC'
20223
lt_prog_compiler_static='-static'
20225
# icc used to be incompatible with GCC.
20226
# ICC 10 doesn't accept -KPIC any more.
20228
lt_prog_compiler_wl='-Wl,'
20229
lt_prog_compiler_pic='-fPIC'
20230
lt_prog_compiler_static='-static'
20232
# Lahey Fortran 8.1.
20234
lt_prog_compiler_wl='-Wl,'
20235
lt_prog_compiler_pic='--shared'
20236
lt_prog_compiler_static='--static'
20239
# NAG Fortran compiler
20240
lt_prog_compiler_wl='-Wl,-Wl,,'
20241
lt_prog_compiler_pic='-PIC'
20242
lt_prog_compiler_static='-Bstatic'
20244
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
20245
# Portland Group compilers (*not* the Pentium gcc compiler,
20246
# which looks to be a dead project)
20247
lt_prog_compiler_wl='-Wl,'
20248
lt_prog_compiler_pic='-fpic'
20249
lt_prog_compiler_static='-Bstatic'
20252
lt_prog_compiler_wl='-Wl,'
20253
# All Alpha code is PIC.
20254
lt_prog_compiler_static='-non_shared'
20256
xl* | bgxl* | bgf* | mpixl*)
20257
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
20258
lt_prog_compiler_wl='-Wl,'
20259
lt_prog_compiler_pic='-qpic'
20260
lt_prog_compiler_static='-qstaticlink'
20263
case `$CC -V 2>&1 | sed 5q` in
20264
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
20265
# Sun Fortran 8.3 passes all unrecognized flags to the linker
20266
lt_prog_compiler_pic='-KPIC'
20267
lt_prog_compiler_static='-Bstatic'
20268
lt_prog_compiler_wl=''
20270
*Sun\ F* | *Sun*Fortran*)
20271
lt_prog_compiler_pic='-KPIC'
20272
lt_prog_compiler_static='-Bstatic'
20273
lt_prog_compiler_wl='-Qoption ld '
20277
lt_prog_compiler_pic='-KPIC'
20278
lt_prog_compiler_static='-Bstatic'
20279
lt_prog_compiler_wl='-Wl,'
20281
*Intel*\ [CF]*Compiler*)
20282
lt_prog_compiler_wl='-Wl,'
20283
lt_prog_compiler_pic='-fPIC'
20284
lt_prog_compiler_static='-static'
20287
lt_prog_compiler_wl='-Wl,'
20288
lt_prog_compiler_pic='-fpic'
20289
lt_prog_compiler_static='-Bstatic'
20297
lt_prog_compiler_pic='-KPIC'
20298
lt_prog_compiler_static='-Bstatic'
20302
# QNX uses GNU C++, but need to define -shared option too, otherwise
20303
# it will coredump.
20304
lt_prog_compiler_pic='-fPIC -shared'
20307
osf3* | osf4* | osf5*)
20308
lt_prog_compiler_wl='-Wl,'
20309
# All OSF/1 code is PIC.
20310
lt_prog_compiler_static='-non_shared'
20314
lt_prog_compiler_static='-non_shared'
20318
lt_prog_compiler_pic='-KPIC'
20319
lt_prog_compiler_static='-Bstatic'
20320
case $cc_basename in
20321
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
20322
lt_prog_compiler_wl='-Qoption ld ';;
20324
lt_prog_compiler_wl='-Wl,';;
20329
lt_prog_compiler_wl='-Qoption ld '
20330
lt_prog_compiler_pic='-PIC'
20331
lt_prog_compiler_static='-Bstatic'
20334
sysv4 | sysv4.2uw2* | sysv4.3*)
20335
lt_prog_compiler_wl='-Wl,'
20336
lt_prog_compiler_pic='-KPIC'
20337
lt_prog_compiler_static='-Bstatic'
20341
if test -d /usr/nec ;then
20342
lt_prog_compiler_pic='-Kconform_pic'
20343
lt_prog_compiler_static='-Bstatic'
20347
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
20348
lt_prog_compiler_wl='-Wl,'
20349
lt_prog_compiler_pic='-KPIC'
20350
lt_prog_compiler_static='-Bstatic'
20354
lt_prog_compiler_wl='-Wl,'
20355
lt_prog_compiler_can_build_shared=no
20359
lt_prog_compiler_pic='-pic'
20360
lt_prog_compiler_static='-Bstatic'
20364
lt_prog_compiler_can_build_shared=no
20370
# For platforms which do not support PIC, -DPIC is meaningless:
20372
lt_prog_compiler_pic=
20375
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
20379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
20380
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
20381
if ${lt_cv_prog_compiler_pic+:} false; then :
20382
$as_echo_n "(cached) " >&6
20384
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
20386
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
20387
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
20388
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
20391
# Check to make sure the PIC flag actually works.
20393
if test -n "$lt_prog_compiler_pic"; then
20394
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
20395
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
20396
if ${lt_cv_prog_compiler_pic_works+:} false; then :
20397
$as_echo_n "(cached) " >&6
20399
lt_cv_prog_compiler_pic_works=no
20400
ac_outfile=conftest.$ac_objext
20401
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20402
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
20403
# Insert the option either (1) after the last *FLAGS variable, or
20404
# (2) before a word containing "conftest.", or (3) at the end.
20405
# Note that $ac_compile itself does not contain backslashes and begins
20406
# with a dollar sign (not a hyphen), so the echo should work correctly.
20407
# The option is referenced via a variable to avoid confusing sed.
20408
lt_compile=`echo "$ac_compile" | $SED \
20409
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20410
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20411
-e 's:$: $lt_compiler_flag:'`
20412
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
20413
(eval "$lt_compile" 2>conftest.err)
20415
cat conftest.err >&5
20416
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417
if (exit $ac_status) && test -s "$ac_outfile"; then
20418
# The compiler can only warn and ignore the option if not recognized
20419
# So say no if there are warnings other than the usual output.
20420
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
20421
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20422
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
20423
lt_cv_prog_compiler_pic_works=yes
20429
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
20430
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
20432
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
20433
case $lt_prog_compiler_pic in
20435
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
20438
lt_prog_compiler_pic=
20439
lt_prog_compiler_can_build_shared=no
20455
# Check to make sure the static flag actually works.
20457
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
20458
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20459
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
20460
if ${lt_cv_prog_compiler_static_works+:} false; then :
20461
$as_echo_n "(cached) " >&6
20463
lt_cv_prog_compiler_static_works=no
20464
save_LDFLAGS="$LDFLAGS"
20465
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
20466
echo "$lt_simple_link_test_code" > conftest.$ac_ext
20467
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
20468
# The linker can only warn and ignore the option if not recognized
20469
# So say no if there are warnings
20470
if test -s conftest.err; then
20471
# Append any errors to the config.log.
20472
cat conftest.err 1>&5
20473
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
20474
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20475
if diff conftest.exp conftest.er2 >/dev/null; then
20476
lt_cv_prog_compiler_static_works=yes
20479
lt_cv_prog_compiler_static_works=yes
20483
LDFLAGS="$save_LDFLAGS"
20486
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
20487
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
20489
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
20492
lt_prog_compiler_static=
20501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
20502
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
20503
if ${lt_cv_prog_compiler_c_o+:} false; then :
20504
$as_echo_n "(cached) " >&6
20506
lt_cv_prog_compiler_c_o=no
20507
$RM -r conftest 2>/dev/null
20511
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20513
lt_compiler_flag="-o out/conftest2.$ac_objext"
20514
# Insert the option either (1) after the last *FLAGS variable, or
20515
# (2) before a word containing "conftest.", or (3) at the end.
20516
# Note that $ac_compile itself does not contain backslashes and begins
20517
# with a dollar sign (not a hyphen), so the echo should work correctly.
20518
lt_compile=`echo "$ac_compile" | $SED \
20519
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20520
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20521
-e 's:$: $lt_compiler_flag:'`
20522
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
20523
(eval "$lt_compile" 2>out/conftest.err)
20525
cat out/conftest.err >&5
20526
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527
if (exit $ac_status) && test -s out/conftest2.$ac_objext
20529
# The compiler can only warn and ignore the option if not recognized
20530
# So say no if there are warnings
20531
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
20532
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20533
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20534
lt_cv_prog_compiler_c_o=yes
20539
# SGI C++ compiler will create directory out/ii_files/ for
20540
# template instantiation
20541
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
20542
$RM out/* && rmdir out
20548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
20549
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
20556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
20557
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
20558
if ${lt_cv_prog_compiler_c_o+:} false; then :
20559
$as_echo_n "(cached) " >&6
20561
lt_cv_prog_compiler_c_o=no
20562
$RM -r conftest 2>/dev/null
20566
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20568
lt_compiler_flag="-o out/conftest2.$ac_objext"
20569
# Insert the option either (1) after the last *FLAGS variable, or
20570
# (2) before a word containing "conftest.", or (3) at the end.
20571
# Note that $ac_compile itself does not contain backslashes and begins
20572
# with a dollar sign (not a hyphen), so the echo should work correctly.
20573
lt_compile=`echo "$ac_compile" | $SED \
20574
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20575
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20576
-e 's:$: $lt_compiler_flag:'`
20577
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
20578
(eval "$lt_compile" 2>out/conftest.err)
20580
cat out/conftest.err >&5
20581
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20582
if (exit $ac_status) && test -s out/conftest2.$ac_objext
20584
# The compiler can only warn and ignore the option if not recognized
20585
# So say no if there are warnings
20586
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
20587
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20588
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20589
lt_cv_prog_compiler_c_o=yes
20594
# SGI C++ compiler will create directory out/ii_files/ for
20595
# template instantiation
20596
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
20597
$RM out/* && rmdir out
20603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
20604
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
20609
hard_links="nottested"
20610
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
20611
# do not overwrite the value of need_locks provided by the user
20612
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
20613
$as_echo_n "checking if we can lock with hard links... " >&6; }
20616
ln conftest.a conftest.b 2>/dev/null && hard_links=no
20618
ln conftest.a conftest.b 2>&5 || hard_links=no
20619
ln conftest.a conftest.b 2>/dev/null && hard_links=no
20620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
20621
$as_echo "$hard_links" >&6; }
20622
if test "$hard_links" = no; then
20623
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20624
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20636
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20637
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
20640
allow_undefined_flag=
20641
always_export_symbols=no
20643
archive_expsym_cmds=
20644
compiler_needs_object=no
20645
enable_shared_with_static_runtimes=no
20646
export_dynamic_flag_spec=
20647
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20648
hardcode_automatic=no
20650
hardcode_direct_absolute=no
20651
hardcode_libdir_flag_spec=
20652
hardcode_libdir_separator=
20653
hardcode_minus_L=no
20654
hardcode_shlibpath_var=unsupported
20656
link_all_deplibs=unknown
20658
module_expsym_cmds=
20659
old_archive_from_new_cmds=
20660
old_archive_from_expsyms_cmds=
20661
thread_safe_flag_spec=
20662
whole_archive_flag_spec=
20663
# include_expsyms should be a list of space-separated symbols to be *always*
20664
# included in the symbol list
20666
# exclude_expsyms can be an extended regexp of symbols to exclude
20667
# it will be wrapped by ` (' and `)$', so one must not match beginning or
20668
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
20669
# as well as any symbol that contains `d'.
20670
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
20671
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
20672
# platforms (ab)use it in PIC code, but their linkers get confused if
20673
# the symbol is explicitly referenced. Since portable code cannot
20674
# rely on this symbol name, it's probably fine to never include it in
20675
# preloaded symbol tables.
20676
# Exclude shared library initialization/finalization symbols.
20677
extract_expsyms_cmds=
20680
cygwin* | mingw* | pw32* | cegcc*)
20681
# FIXME: the MSVC++ port hasn't been tested in a loooong time
20682
# When not using gcc, we currently assume that we are using
20683
# Microsoft Visual C++.
20684
if test "$GCC" != yes; then
20689
# we just hope/assume this is gcc and not c89 (= MSVC++)
20699
# On some targets, GNU ld is compatible enough with the native linker
20700
# that we're better off using the native interface for both.
20701
lt_use_gnu_ld_interface=no
20702
if test "$with_gnu_ld" = yes; then
20705
# The AIX port of GNU ld has always aspired to compatibility
20706
# with the native linker. However, as the warning in the GNU ld
20707
# block says, versions before 2.19.5* couldn't really create working
20708
# shared libraries, regardless of the interface used.
20709
case `$LD -v 2>&1` in
20710
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
20711
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
20712
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
20714
lt_use_gnu_ld_interface=yes
20719
lt_use_gnu_ld_interface=yes
20724
if test "$lt_use_gnu_ld_interface" = yes; then
20725
# If archive_cmds runs LD, not CC, wlarc should be empty
20728
# Set some defaults for GNU ld with shared library support. These
20729
# are reset later if shared libraries are not supported. Putting them
20730
# here allows them to be overridden if necessary.
20731
runpath_var=LD_RUN_PATH
20732
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
20733
export_dynamic_flag_spec='${wl}--export-dynamic'
20734
# ancient GNU ld didn't support --whole-archive et. al.
20735
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
20736
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
20738
whole_archive_flag_spec=
20740
supports_anon_versioning=no
20741
case `$LD -v 2>&1` in
20742
*GNU\ gold*) supports_anon_versioning=yes ;;
20743
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
20744
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
20745
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
20746
*\ 2.11.*) ;; # other 2.11 versions
20747
*) supports_anon_versioning=yes ;;
20750
# See if GNU ld supports shared libraries.
20753
# On AIX/PPC, the GNU linker is very broken
20754
if test "$host_cpu" != ia64; then
20758
*** Warning: the GNU linker, at least up to release 2.19, is reported
20759
*** to be unable to reliably create shared libraries on AIX.
20760
*** Therefore, libtool is disabling shared libraries support. If you
20761
*** really care for shared libraries, you may want to install binutils
20762
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
20763
*** You will then need to restart the configuration process.
20772
# see comment about AmigaOS4 .so support
20773
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20774
archive_expsym_cmds=''
20777
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)'
20778
hardcode_libdir_flag_spec='-L$libdir'
20779
hardcode_minus_L=yes
20785
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
20786
allow_undefined_flag=unsupported
20787
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
20788
# support --undefined. This deserves some investigation. FIXME
20789
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20795
cygwin* | mingw* | pw32* | cegcc*)
20796
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
20797
# as there is no search path for DLLs.
20798
hardcode_libdir_flag_spec='-L$libdir'
20799
export_dynamic_flag_spec='${wl}--export-all-symbols'
20800
allow_undefined_flag=unsupported
20801
always_export_symbols=no
20802
enable_shared_with_static_runtimes=yes
20803
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
20804
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
20806
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
20807
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
20808
# If the export-symbols file already is a .def file (1st line
20809
# is EXPORTS), use it as is; otherwise, prepend...
20810
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
20811
cp $export_symbols $output_objdir/$soname.def;
20813
echo EXPORTS > $output_objdir/$soname.def;
20814
cat $export_symbols >> $output_objdir/$soname.def;
20816
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
20823
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20824
link_all_deplibs=yes
20829
hardcode_shlibpath_var=no
20830
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
20831
export_dynamic_flag_spec='${wl}-E'
20832
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
20833
# Instead, shared libraries are loaded at an image base (0x10000000 by
20834
# default) and relocated if they conflict, which is a slow very memory
20835
# consuming and fragmenting process. To avoid this, we pick a random,
20836
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
20837
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
20838
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
20839
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'
20842
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
20844
if test "$host_os" = linux-dietlibc; then
20845
case $cc_basename in
20846
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
20849
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
20850
&& test "$tmp_diet" = no
20852
tmp_addflag=' $pic_flag'
20853
tmp_sharedflag='-shared'
20854
case $cc_basename,$host_cpu in
20855
pgcc*) # Portland Group C compiler
20856
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'
20857
tmp_addflag=' $pic_flag'
20859
pgf77* | pgf90* | pgf95* | pgfortran*)
20860
# Portland Group f77 and f90 compilers
20861
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'
20862
tmp_addflag=' $pic_flag -Mnomain' ;;
20863
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
20864
tmp_addflag=' -i_dynamic' ;;
20865
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
20866
tmp_addflag=' -i_dynamic -nofor_main' ;;
20867
ifc* | ifort*) # Intel Fortran compiler
20868
tmp_addflag=' -nofor_main' ;;
20869
lf95*) # Lahey Fortran 8.1
20870
whole_archive_flag_spec=
20871
tmp_sharedflag='--shared' ;;
20872
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
20873
tmp_sharedflag='-qmkshrobj'
20875
nvcc*) # Cuda Compiler Driver 2.2
20876
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'
20877
compiler_needs_object=yes
20880
case `$CC -V 2>&1 | sed 5q` in
20881
*Sun\ C*) # Sun C 5.9
20882
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'
20883
compiler_needs_object=yes
20884
tmp_sharedflag='-G' ;;
20885
*Sun\ F*) # Sun Fortran 8.3
20886
tmp_sharedflag='-G' ;;
20888
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20890
if test "x$supports_anon_versioning" = xyes; then
20891
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
20892
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
20893
echo "local: *; };" >> $output_objdir/$libname.ver~
20894
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
20897
case $cc_basename in
20898
xlf* | bgf* | bgxlf* | mpixlf*)
20899
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
20900
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
20901
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
20902
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
20903
if test "x$supports_anon_versioning" = xyes; then
20904
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
20905
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
20906
echo "local: *; };" >> $output_objdir/$libname.ver~
20907
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
20917
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
20918
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
20921
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20922
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20927
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
20931
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
20932
*** create shared libraries on Solaris systems. Therefore, libtool
20933
*** is disabling shared libraries support. We urge you to upgrade GNU
20934
*** binutils to release 2.9.1 or newer. Another option is to modify
20935
*** your PATH or compiler configuration so that the native linker is
20936
*** used, and then restart.
20939
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
20940
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20941
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20947
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
20948
case `$LD -v 2>&1` in
20949
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
20953
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
20954
*** reliably create shared libraries on SCO systems. Therefore, libtool
20955
*** is disabling shared libraries support. We urge you to upgrade GNU
20956
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
20957
*** your PATH or compiler configuration so that the native linker is
20958
*** used, and then restart.
20963
# For security reasons, it is highly recommended that you always
20964
# use absolute paths for naming shared libraries, and exclude the
20965
# DT_RUNPATH tag from executables and libraries. But doing so
20966
# requires that you compile everything twice, which is a pain.
20967
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
20968
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
20969
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20970
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20979
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20981
hardcode_direct=yes
20982
hardcode_shlibpath_var=no
20986
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
20987
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20988
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
20995
if test "$ld_shlibs" = no; then
20997
hardcode_libdir_flag_spec=
20998
export_dynamic_flag_spec=
20999
whole_archive_flag_spec=
21002
# PORTME fill in a description of your system's linker (not GNU ld)
21005
allow_undefined_flag=unsupported
21006
always_export_symbols=yes
21007
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'
21008
# Note: this linker hardcodes the directories in LIBPATH if there
21009
# are no directories specified by -L.
21010
hardcode_minus_L=yes
21011
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
21012
# Neither direct hardcoding nor static linking is supported with a
21014
hardcode_direct=unsupported
21019
if test "$host_cpu" = ia64; then
21020
# On IA64, the linker does run time linking by default, so we don't
21021
# have to do anything special.
21022
aix_use_runtimelinking=no
21023
exp_sym_flag='-Bexport'
21026
# If we're using GNU nm, then we don't want the "-C" option.
21027
# -C means demangle to AIX nm, but means don't demangle with GNU nm
21028
# Also, AIX nm treats weak defined symbols like other global
21029
# defined symbols, whereas GNU nm marks them as "W".
21030
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
21031
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'
21033
export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
21035
aix_use_runtimelinking=no
21037
# Test if we are trying to use run time linking or normal
21038
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
21039
# need to do runtime linking.
21040
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
21041
for ld_flag in $LDFLAGS; do
21042
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
21043
aix_use_runtimelinking=yes
21050
exp_sym_flag='-bexport'
21051
no_entry_flag='-bnoentry'
21054
# When large executables or shared objects are built, AIX ld can
21055
# have problems creating the table of contents. If linking a library
21056
# or program results in "error TOC overflow" add -mminimal-toc to
21057
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
21058
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
21061
hardcode_direct=yes
21062
hardcode_direct_absolute=yes
21063
hardcode_libdir_separator=':'
21064
link_all_deplibs=yes
21065
file_list_spec='${wl}-f,'
21067
if test "$GCC" = yes; then
21068
case $host_os in aix4.[012]|aix4.[012].*)
21069
# We only want to do this on AIX 4.2 and lower, the check
21070
# below for broken collect2 doesn't work under 4.3+
21071
collect2name=`${CC} -print-prog-name=collect2`
21072
if test -f "$collect2name" &&
21073
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
21075
# We have reworked collect2
21078
# We have old collect2
21079
hardcode_direct=unsupported
21080
# It fails to find uninstalled libraries when the uninstalled
21081
# path is not listed in the libpath. Setting hardcode_minus_L
21082
# to unsupported forces relinking
21083
hardcode_minus_L=yes
21084
hardcode_libdir_flag_spec='-L$libdir'
21085
hardcode_libdir_separator=
21089
shared_flag='-shared'
21090
if test "$aix_use_runtimelinking" = yes; then
21091
shared_flag="$shared_flag "'${wl}-G'
21095
if test "$host_cpu" = ia64; then
21096
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
21097
# chokes on -Wl,-G. The following line is correct:
21100
if test "$aix_use_runtimelinking" = yes; then
21101
shared_flag='${wl}-G'
21103
shared_flag='${wl}-bM:SRE'
21108
export_dynamic_flag_spec='${wl}-bexpall'
21109
# It seems that -bexpall does not export symbols beginning with
21110
# underscore (_), so it is better to generate a list of symbols to export.
21111
always_export_symbols=yes
21112
if test "$aix_use_runtimelinking" = yes; then
21113
# Warning - without using the other runtime loading flags (-brtl),
21114
# -berok will link without error, but may produce a broken library.
21115
allow_undefined_flag='-berok'
21116
# Determine the default libpath from the value encoded in an
21117
# empty executable.
21118
if test "${lt_cv_aix_libpath+set}" = set; then
21119
aix_libpath=$lt_cv_aix_libpath
21121
if ${lt_cv_aix_libpath_+:} false; then :
21122
$as_echo_n "(cached) " >&6
21124
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21125
/* end confdefs.h. */
21135
if ac_fn_c_try_link "$LINENO"; then :
21137
lt_aix_libpath_sed='
21138
/Import File Strings/,/^$/ {
21140
s/^0 *\([^ ]*\) *$/\1/
21144
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
21145
# Check for a 64-bit object if we didn't find anything.
21146
if test -z "$lt_cv_aix_libpath_"; then
21147
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
21150
rm -f core conftest.err conftest.$ac_objext \
21151
conftest$ac_exeext conftest.$ac_ext
21152
if test -z "$lt_cv_aix_libpath_"; then
21153
lt_cv_aix_libpath_="/usr/lib:/lib"
21158
aix_libpath=$lt_cv_aix_libpath_
21161
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
21162
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"
21164
if test "$host_cpu" = ia64; then
21165
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
21166
allow_undefined_flag="-z nodefs"
21167
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"
21169
# Determine the default libpath from the value encoded in an
21170
# empty executable.
21171
if test "${lt_cv_aix_libpath+set}" = set; then
21172
aix_libpath=$lt_cv_aix_libpath
21174
if ${lt_cv_aix_libpath_+:} false; then :
21175
$as_echo_n "(cached) " >&6
21177
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21178
/* end confdefs.h. */
21188
if ac_fn_c_try_link "$LINENO"; then :
21190
lt_aix_libpath_sed='
21191
/Import File Strings/,/^$/ {
21193
s/^0 *\([^ ]*\) *$/\1/
21197
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
21198
# Check for a 64-bit object if we didn't find anything.
21199
if test -z "$lt_cv_aix_libpath_"; then
21200
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
21203
rm -f core conftest.err conftest.$ac_objext \
21204
conftest$ac_exeext conftest.$ac_ext
21205
if test -z "$lt_cv_aix_libpath_"; then
21206
lt_cv_aix_libpath_="/usr/lib:/lib"
21211
aix_libpath=$lt_cv_aix_libpath_
21214
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
21215
# Warning - without using the other run time loading flags,
21216
# -berok will link without error, but may produce a broken library.
21217
no_undefined_flag=' ${wl}-bernotok'
21218
allow_undefined_flag=' ${wl}-berok'
21219
if test "$with_gnu_ld" = yes; then
21220
# We only use this code for GNU lds that support --whole-archive.
21221
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
21223
# Exported symbols can be pulled into shared objects from archives
21224
whole_archive_flag_spec='$convenience'
21226
archive_cmds_need_lc=yes
21227
# This is similar to how AIX traditionally builds its shared libraries.
21228
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'
21236
# see comment about AmigaOS4 .so support
21237
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21238
archive_expsym_cmds=''
21241
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)'
21242
hardcode_libdir_flag_spec='-L$libdir'
21243
hardcode_minus_L=yes
21249
export_dynamic_flag_spec=-rdynamic
21252
cygwin* | mingw* | pw32* | cegcc*)
21253
# When not using gcc, we currently assume that we are using
21254
# Microsoft Visual C++.
21255
# hardcode_libdir_flag_spec is actually meaningless, as there is
21256
# no search path for DLLs.
21257
case $cc_basename in
21260
hardcode_libdir_flag_spec=' '
21261
allow_undefined_flag=unsupported
21262
always_export_symbols=yes
21264
# Tell ltmain to make .lib files, not .a files.
21266
# Tell ltmain to make .dll files, not .so files.
21268
# FIXME: Setting linknames here is a bad hack.
21269
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
21270
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21271
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
21273
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
21275
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
21277
# The linker will not automatically build a static lib if we build a DLL.
21278
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
21279
enable_shared_with_static_runtimes=yes
21280
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
21281
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
21283
old_postinstall_cmds='chmod 644 $oldlib'
21284
postlink_cmds='lt_outputfile="@OUTPUT@"~
21285
lt_tool_outputfile="@TOOL_OUTPUT@"~
21286
case $lt_outputfile in
21289
lt_outputfile="$lt_outputfile.exe"
21290
lt_tool_outputfile="$lt_tool_outputfile.exe"
21293
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
21294
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
21295
$RM "$lt_outputfile.manifest";
21299
# Assume MSVC wrapper
21300
hardcode_libdir_flag_spec=' '
21301
allow_undefined_flag=unsupported
21302
# Tell ltmain to make .lib files, not .a files.
21304
# Tell ltmain to make .dll files, not .so files.
21306
# FIXME: Setting linknames here is a bad hack.
21307
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
21308
# The linker will automatically build a .lib file if we build a DLL.
21309
old_archive_from_new_cmds='true'
21310
# FIXME: Should let the user specify the lib program.
21311
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
21312
enable_shared_with_static_runtimes=yes
21317
darwin* | rhapsody*)
21320
archive_cmds_need_lc=no
21322
hardcode_automatic=yes
21323
hardcode_shlibpath_var=unsupported
21324
if test "$lt_cv_ld_force_load" = "yes"; then
21325
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\"`'
21328
whole_archive_flag_spec=''
21330
link_all_deplibs=yes
21331
allow_undefined_flag="$_lt_dar_allow_undefined"
21332
case $cc_basename in
21333
ifort*) _lt_dar_can_shared=yes ;;
21334
*) _lt_dar_can_shared=$GCC ;;
21336
if test "$_lt_dar_can_shared" = "yes"; then
21337
output_verbose_link_cmd=func_echo_all
21338
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
21339
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
21340
archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
21341
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}"
21350
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21351
hardcode_libdir_flag_spec='-L$libdir'
21352
hardcode_shlibpath_var=no
21355
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
21356
# support. Future versions do this automatically, but an explicit c++rt0.o
21357
# does not break anything, and helps significantly (at the cost of a little
21360
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
21361
hardcode_libdir_flag_spec='-R$libdir'
21362
hardcode_direct=yes
21363
hardcode_shlibpath_var=no
21366
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
21368
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21369
hardcode_direct=yes
21370
hardcode_minus_L=yes
21371
hardcode_shlibpath_var=no
21374
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
21375
freebsd* | dragonfly*)
21376
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
21377
hardcode_libdir_flag_spec='-R$libdir'
21378
hardcode_direct=yes
21379
hardcode_shlibpath_var=no
21383
if test "$GCC" = yes; then
21384
archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
21386
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'
21388
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
21389
hardcode_libdir_separator=:
21390
hardcode_direct=yes
21392
# hardcode_minus_L: Not really in the search PATH,
21393
# but as the default location of the library.
21394
hardcode_minus_L=yes
21395
export_dynamic_flag_spec='${wl}-E'
21399
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
21400
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21402
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
21404
if test "$with_gnu_ld" = no; then
21405
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
21406
hardcode_libdir_separator=:
21407
hardcode_direct=yes
21408
hardcode_direct_absolute=yes
21409
export_dynamic_flag_spec='${wl}-E'
21410
# hardcode_minus_L: Not really in the search PATH,
21411
# but as the default location of the library.
21412
hardcode_minus_L=yes
21417
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
21420
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21423
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
21426
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21432
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21435
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
21439
# Older versions of the 11.00 compiler do not understand -b yet
21440
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
21441
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
21442
$as_echo_n "checking if $CC understands -b... " >&6; }
21443
if ${lt_cv_prog_compiler__b+:} false; then :
21444
$as_echo_n "(cached) " >&6
21446
lt_cv_prog_compiler__b=no
21447
save_LDFLAGS="$LDFLAGS"
21448
LDFLAGS="$LDFLAGS -b"
21449
echo "$lt_simple_link_test_code" > conftest.$ac_ext
21450
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
21451
# The linker can only warn and ignore the option if not recognized
21452
# So say no if there are warnings
21453
if test -s conftest.err; then
21454
# Append any errors to the config.log.
21455
cat conftest.err 1>&5
21456
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
21457
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21458
if diff conftest.exp conftest.er2 >/dev/null; then
21459
lt_cv_prog_compiler__b=yes
21462
lt_cv_prog_compiler__b=yes
21466
LDFLAGS="$save_LDFLAGS"
21469
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
21470
$as_echo "$lt_cv_prog_compiler__b" >&6; }
21472
if test x"$lt_cv_prog_compiler__b" = xyes; then
21473
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21475
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
21481
if test "$with_gnu_ld" = no; then
21482
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
21483
hardcode_libdir_separator=:
21488
hardcode_shlibpath_var=no
21491
hardcode_direct=yes
21492
hardcode_direct_absolute=yes
21493
export_dynamic_flag_spec='${wl}-E'
21495
# hardcode_minus_L: Not really in the search PATH,
21496
# but as the default location of the library.
21497
hardcode_minus_L=yes
21503
irix5* | irix6* | nonstopux*)
21504
if test "$GCC" = yes; then
21505
archive_cmds='$CC -shared $pic_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'
21506
# Try to use the -exported_symbol ld option, if it does not
21507
# work, assume that -exports_file does not work either and
21508
# implicitly export all symbols.
21509
# This should be the same for all languages, so no per-tag cache variable.
21510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
21511
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
21512
if ${lt_cv_irix_exported_symbol+:} false; then :
21513
$as_echo_n "(cached) " >&6
21515
save_LDFLAGS="$LDFLAGS"
21516
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
21517
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21518
/* end confdefs.h. */
21519
int foo (void) { return 0; }
21521
if ac_fn_c_try_link "$LINENO"; then :
21522
lt_cv_irix_exported_symbol=yes
21524
lt_cv_irix_exported_symbol=no
21526
rm -f core conftest.err conftest.$ac_objext \
21527
conftest$ac_exeext conftest.$ac_ext
21528
LDFLAGS="$save_LDFLAGS"
21530
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
21531
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
21532
if test "$lt_cv_irix_exported_symbol" = yes; then
21533
archive_expsym_cmds='$CC -shared $pic_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 ${wl}-exports_file ${wl}$export_symbols -o $lib'
21536
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'
21537
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'
21539
archive_cmds_need_lc='no'
21540
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
21541
hardcode_libdir_separator=:
21543
link_all_deplibs=yes
21547
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
21548
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
21550
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
21552
hardcode_libdir_flag_spec='-R$libdir'
21553
hardcode_direct=yes
21554
hardcode_shlibpath_var=no
21558
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21559
hardcode_direct=yes
21560
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
21561
hardcode_libdir_separator=:
21562
hardcode_shlibpath_var=no
21569
if test -f /usr/libexec/ld.so; then
21570
hardcode_direct=yes
21571
hardcode_shlibpath_var=no
21572
hardcode_direct_absolute=yes
21573
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21574
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
21575
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
21576
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
21577
export_dynamic_flag_spec='${wl}-E'
21580
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
21581
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21582
hardcode_libdir_flag_spec='-R$libdir'
21585
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
21586
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
21596
hardcode_libdir_flag_spec='-L$libdir'
21597
hardcode_minus_L=yes
21598
allow_undefined_flag=unsupported
21599
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'
21600
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
21604
if test "$GCC" = yes; then
21605
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
21606
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'
21608
allow_undefined_flag=' -expect_unresolved \*'
21609
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'
21611
archive_cmds_need_lc='no'
21612
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
21613
hardcode_libdir_separator=:
21616
osf4* | osf5*) # as osf3* with the addition of -msym flag
21617
if test "$GCC" = yes; then
21618
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
21619
archive_cmds='$CC -shared${allow_undefined_flag} $pic_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'
21620
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
21622
allow_undefined_flag=' -expect_unresolved \*'
21623
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'
21624
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~
21625
$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'
21627
# Both c and cxx compiler support -rpath directly
21628
hardcode_libdir_flag_spec='-rpath $libdir'
21630
archive_cmds_need_lc='no'
21631
hardcode_libdir_separator=:
21635
no_undefined_flag=' -z defs'
21636
if test "$GCC" = yes; then
21638
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21639
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
21640
$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
21642
case `$CC -V 2>&1` in
21645
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
21646
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
21647
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
21651
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
21652
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
21653
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
21657
hardcode_libdir_flag_spec='-R$libdir'
21658
hardcode_shlibpath_var=no
21660
solaris2.[0-5] | solaris2.[0-5].*) ;;
21662
# The compiler driver will combine and reorder linker options,
21663
# but understands `-z linker_flag'. GCC discards it without `$wl',
21664
# but is careful enough not to reorder.
21665
# Supported since Solaris 2.6 (maybe 2.5.1?)
21666
if test "$GCC" = yes; then
21667
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
21669
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
21673
link_all_deplibs=yes
21677
if test "x$host_vendor" = xsequent; then
21678
# Use $CC to link under sequent, because it throws in some extra .o
21679
# files that make .init and .fini sections work.
21680
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
21682
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
21684
hardcode_libdir_flag_spec='-L$libdir'
21685
hardcode_direct=yes
21686
hardcode_minus_L=yes
21687
hardcode_shlibpath_var=no
21691
case $host_vendor in
21693
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21694
hardcode_direct=yes # is this really true???
21697
## LD is ld it makes a PLAMLIB
21698
## CC just makes a GrossModule.
21699
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
21700
reload_cmds='$CC -r -o $output$reload_objs'
21704
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21705
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
21708
runpath_var='LD_RUN_PATH'
21709
hardcode_shlibpath_var=no
21713
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21714
hardcode_shlibpath_var=no
21715
export_dynamic_flag_spec='-Bexport'
21719
if test -d /usr/nec; then
21720
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21721
hardcode_shlibpath_var=no
21722
runpath_var=LD_RUN_PATH
21723
hardcode_runpath_var=yes
21728
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
21729
no_undefined_flag='${wl}-z,text'
21730
archive_cmds_need_lc=no
21731
hardcode_shlibpath_var=no
21732
runpath_var='LD_RUN_PATH'
21734
if test "$GCC" = yes; then
21735
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21736
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21738
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21739
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21743
sysv5* | sco3.2v5* | sco5v6*)
21744
# Note: We can NOT use -z defs as we might desire, because we do not
21745
# link with -lc, and that would cause any symbols used from libc to
21746
# always be unresolved, which means just about no library would
21747
# ever link correctly. If we're not using GNU ld we use -z text
21748
# though, which does catch some bad symbols but isn't as heavy-handed
21750
no_undefined_flag='${wl}-z,text'
21751
allow_undefined_flag='${wl}-z,nodefs'
21752
archive_cmds_need_lc=no
21753
hardcode_shlibpath_var=no
21754
hardcode_libdir_flag_spec='${wl}-R,$libdir'
21755
hardcode_libdir_separator=':'
21756
link_all_deplibs=yes
21757
export_dynamic_flag_spec='${wl}-Bexport'
21758
runpath_var='LD_RUN_PATH'
21760
if test "$GCC" = yes; then
21761
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21762
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21764
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21765
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21770
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21771
hardcode_libdir_flag_spec='-L$libdir'
21772
hardcode_shlibpath_var=no
21780
if test x$host_vendor = xsni; then
21782
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
21783
export_dynamic_flag_spec='${wl}-Blargedynsym'
21789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
21790
$as_echo "$ld_shlibs" >&6; }
21791
test "$ld_shlibs" = no && can_build_shared=no
21793
with_gnu_ld=$with_gnu_ld
21810
# Do we need to explicitly link libc?
21812
case "x$archive_cmds_need_lc" in
21814
# Assume -lc should be added
21815
archive_cmds_need_lc=yes
21817
if test "$enable_shared" = yes && test "$GCC" = yes; then
21818
case $archive_cmds in
21820
# FIXME: we may have to deal with multi-command sequences.
21823
# Test whether the compiler implicitly links with -lc since on some
21824
# systems, -lgcc has to come before -lc. If gcc already passes -lc
21825
# to ld, don't add -lc before -lgcc.
21826
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
21827
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
21828
if ${lt_cv_archive_cmds_need_lc+:} false; then :
21829
$as_echo_n "(cached) " >&6
21832
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21834
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
21835
(eval $ac_compile) 2>&5
21837
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21838
test $ac_status = 0; } 2>conftest.err; then
21841
libobjs=conftest.$ac_objext
21843
wl=$lt_prog_compiler_wl
21844
pic_flag=$lt_prog_compiler_pic
21850
lt_save_allow_undefined_flag=$allow_undefined_flag
21851
allow_undefined_flag=
21852
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
21853
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
21855
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21856
test $ac_status = 0; }
21858
lt_cv_archive_cmds_need_lc=no
21860
lt_cv_archive_cmds_need_lc=yes
21862
allow_undefined_flag=$lt_save_allow_undefined_flag
21864
cat conftest.err 1>&5
21869
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
21870
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
21871
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
22029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
22030
$as_echo_n "checking dynamic linker characteristics... " >&6; }
22032
if test "$GCC" = yes; then
22034
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
22035
*) lt_awk_arg="/^libraries:/" ;;
22038
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
22039
*) lt_sed_strip_eq="s,=/,/,g" ;;
22041
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
22042
case $lt_search_path_spec in
22044
# if the path contains ";" then we assume it to be the separator
22045
# otherwise default to the standard path separator (i.e. ":") - it is
22046
# assumed that no part of a normal pathname contains ";" but that should
22047
# okay in the real world where ";" in dirpaths is itself problematic.
22048
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
22051
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
22054
# Ok, now we have the path, separated by spaces, we can step through it
22055
# and add multilib dir if necessary.
22056
lt_tmp_lt_search_path_spec=
22057
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
22058
for lt_sys_path in $lt_search_path_spec; do
22059
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
22060
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
22062
test -d "$lt_sys_path" && \
22063
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
22066
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
22067
BEGIN {RS=" "; FS="/|\n";} {
22070
for (lt_i = NF; lt_i > 0; lt_i--) {
22071
if ($lt_i != "" && $lt_i != ".") {
22072
if ($lt_i == "..") {
22075
if (lt_count == 0) {
22076
lt_foo="/" $lt_i lt_foo;
22083
if (lt_foo != "") { lt_freq[lt_foo]++; }
22084
if (lt_freq[lt_foo] == 1) { print lt_foo; }
22086
# AWK program above erroneously prepends '/' to C:/dos/paths
22089
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
22090
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
22092
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
22094
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
22096
library_names_spec=
22097
libname_spec='lib$name'
22101
postuninstall_cmds=
22105
shlibpath_overrides_runpath=unknown
22107
dynamic_linker="$host_os ld.so"
22108
sys_lib_dlsearch_path_spec="/lib /usr/lib"
22109
need_lib_prefix=unknown
22110
hardcode_into_libs=no
22112
# when you set need_version to no, make sure it does not cause -set_version
22113
# flags to be left without arguments
22114
need_version=unknown
22118
version_type=linux # correct to gnu/linux during the next big refactor
22119
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
22120
shlibpath_var=LIBPATH
22122
# AIX 3 has no versioning support, so we append a major version to the name.
22123
soname_spec='${libname}${release}${shared_ext}$major'
22127
version_type=linux # correct to gnu/linux during the next big refactor
22130
hardcode_into_libs=yes
22131
if test "$host_cpu" = ia64; then
22132
# AIX 5 supports IA64
22133
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22134
shlibpath_var=LD_LIBRARY_PATH
22136
# With GCC up to 2.95.x, collect2 would create an import file
22137
# for dependence libraries. The import file would start with
22138
# the line `#! .'. This would cause the generated library to
22139
# depend on `.', always an invalid library. This was fixed in
22140
# development snapshots of GCC prior to 3.0.
22142
aix4 | aix4.[01] | aix4.[01].*)
22143
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22145
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
22148
can_build_shared=no
22152
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22153
# soname into executable. Probably we can add versioning support to
22154
# collect2, so additional links can be useful in future.
22155
if test "$aix_use_runtimelinking" = yes; then
22156
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
22157
# instead of lib<name>.a to let people know that these are not
22158
# typical AIX shared libraries.
22159
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22161
# We preserve .a as extension for shared libraries through AIX4.2
22162
# and later when we are not doing run time linking.
22163
library_names_spec='${libname}${release}.a $libname.a'
22164
soname_spec='${libname}${release}${shared_ext}$major'
22166
shlibpath_var=LIBPATH
22173
# Since July 2007 AmigaOS4 officially supports .so libraries.
22174
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
22175
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22178
library_names_spec='$libname.ixlibrary $libname.a'
22179
# Create ${libname}_ixlibrary.a entries in /sys/libs.
22180
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'
22186
library_names_spec='${libname}${shared_ext}'
22187
dynamic_linker="$host_os ld.so"
22188
shlibpath_var=LIBRARY_PATH
22192
version_type=linux # correct to gnu/linux during the next big refactor
22194
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22195
soname_spec='${libname}${release}${shared_ext}$major'
22196
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
22197
shlibpath_var=LD_LIBRARY_PATH
22198
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22199
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
22200
# the default ld.so.conf also contains /usr/contrib/lib and
22201
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22202
# libtool to hard-code these into programs
22205
cygwin* | mingw* | pw32* | cegcc*)
22206
version_type=windows
22211
case $GCC,$cc_basename in
22214
library_names_spec='$libname.dll.a'
22215
# DLL is installed to $(libdir)/../bin by postinstall_cmds
22216
postinstall_cmds='base_file=`basename \${file}`~
22217
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
22218
dldir=$destdir/`dirname \$dlpath`~
22219
test -d \$dldir || mkdir -p \$dldir~
22220
$install_prog $dir/$dlname \$dldir/$dlname~
22221
chmod a+x \$dldir/$dlname~
22222
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
22223
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
22225
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22226
dlpath=$dir/\$dldll~
22228
shlibpath_overrides_runpath=yes
22232
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
22233
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22235
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
22238
# MinGW DLLs use traditional 'lib' prefix
22239
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22242
# pw32 DLLs use 'pw' prefix rather than 'lib'
22243
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22246
dynamic_linker='Win32 ld.exe'
22251
libname_spec='$name'
22252
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22253
library_names_spec='${libname}.dll.lib'
22257
sys_lib_search_path_spec=
22260
for lt_path in $LIB
22263
# Let DOS variable expansion print the short 8.3 style file name.
22264
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
22265
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
22268
# Convert to MSYS style.
22269
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
22272
# Convert to unix form, then to dos form, then back to unix form
22273
# but this time dos style (no spaces!) so that the unix form looks
22274
# like /cygdrive/c/PROGRA~1:/cygdr...
22275
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
22276
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
22277
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22280
sys_lib_search_path_spec="$LIB"
22281
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
22282
# It is most probably a Windows format PATH.
22283
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22285
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22287
# FIXME: find the short name or the path components, as spaces are
22288
# common. (e.g. "Program Files" -> "PROGRA~1")
22292
# DLL is installed to $(libdir)/../bin by postinstall_cmds
22293
postinstall_cmds='base_file=`basename \${file}`~
22294
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
22295
dldir=$destdir/`dirname \$dlpath`~
22296
test -d \$dldir || mkdir -p \$dldir~
22297
$install_prog $dir/$dlname \$dldir/$dlname'
22298
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22299
dlpath=$dir/\$dldll~
22301
shlibpath_overrides_runpath=yes
22302
dynamic_linker='Win32 link.exe'
22306
# Assume MSVC wrapper
22307
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22308
dynamic_linker='Win32 ld.exe'
22311
# FIXME: first we should search . and the directory the executable is in
22315
darwin* | rhapsody*)
22316
dynamic_linker="$host_os dyld"
22317
version_type=darwin
22320
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22321
soname_spec='${libname}${release}${major}$shared_ext'
22322
shlibpath_overrides_runpath=yes
22323
shlibpath_var=DYLD_LIBRARY_PATH
22324
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
22326
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
22327
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
22331
version_type=linux # correct to gnu/linux during the next big refactor
22334
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
22335
soname_spec='${libname}${release}${shared_ext}$major'
22336
shlibpath_var=LD_LIBRARY_PATH
22339
freebsd* | dragonfly*)
22340
# DragonFly does not have aout. When/if they implement a new
22341
# versioning mechanism, adjust this.
22342
if test -x /usr/bin/objformat; then
22343
objformat=`/usr/bin/objformat`
22346
freebsd[23].*) objformat=aout ;;
22347
*) objformat=elf ;;
22350
version_type=freebsd-$objformat
22351
case $version_type in
22353
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22358
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22362
shlibpath_var=LD_LIBRARY_PATH
22365
shlibpath_overrides_runpath=yes
22367
freebsd3.[01]* | freebsdelf3.[01]*)
22368
shlibpath_overrides_runpath=yes
22369
hardcode_into_libs=yes
22371
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
22372
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
22373
shlibpath_overrides_runpath=no
22374
hardcode_into_libs=yes
22376
*) # from 4.6 on, and DragonFly
22377
shlibpath_overrides_runpath=yes
22378
hardcode_into_libs=yes
22384
version_type=linux # correct to gnu/linux during the next big refactor
22387
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22388
soname_spec='${libname}${release}${shared_ext}$major'
22389
shlibpath_var=LD_LIBRARY_PATH
22390
shlibpath_overrides_runpath=no
22391
hardcode_into_libs=yes
22395
version_type=linux # correct to gnu/linux during the next big refactor
22398
dynamic_linker="$host_os runtime_loader"
22399
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22400
soname_spec='${libname}${release}${shared_ext}$major'
22401
shlibpath_var=LIBRARY_PATH
22402
shlibpath_overrides_runpath=yes
22403
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
22404
hardcode_into_libs=yes
22407
hpux9* | hpux10* | hpux11*)
22408
# Give a soname corresponding to the major version so that dld.sl refuses to
22409
# link against other versions.
22416
hardcode_into_libs=yes
22417
dynamic_linker="$host_os dld.so"
22418
shlibpath_var=LD_LIBRARY_PATH
22419
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22420
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22421
soname_spec='${libname}${release}${shared_ext}$major'
22422
if test "X$HPUX_IA64_MODE" = X32; then
22423
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22425
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
22427
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22431
hardcode_into_libs=yes
22432
dynamic_linker="$host_os dld.sl"
22433
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
22434
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22435
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22436
soname_spec='${libname}${release}${shared_ext}$major'
22437
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22438
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22442
dynamic_linker="$host_os dld.sl"
22443
shlibpath_var=SHLIB_PATH
22444
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
22445
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22446
soname_spec='${libname}${release}${shared_ext}$major'
22449
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
22450
postinstall_cmds='chmod 555 $lib'
22451
# or fails outright, so override atomically:
22452
install_override_mode=555
22456
version_type=linux # correct to gnu/linux during the next big refactor
22459
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22460
soname_spec='${libname}${release}${shared_ext}$major'
22461
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
22462
shlibpath_var=LD_LIBRARY_PATH
22463
shlibpath_overrides_runpath=no
22464
hardcode_into_libs=yes
22467
irix5* | irix6* | nonstopux*)
22469
nonstopux*) version_type=nonstopux ;;
22471
if test "$lt_cv_prog_gnu_ld" = yes; then
22472
version_type=linux # correct to gnu/linux during the next big refactor
22479
soname_spec='${libname}${release}${shared_ext}$major'
22480
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22482
irix5* | nonstopux*)
22483
libsuff= shlibsuff=
22486
case $LD in # libtool.m4 will add one of these switches to LD
22487
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
22488
libsuff= shlibsuff= libmagic=32-bit;;
22489
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
22490
libsuff=32 shlibsuff=N32 libmagic=N32;;
22491
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
22492
libsuff=64 shlibsuff=64 libmagic=64-bit;;
22493
*) libsuff= shlibsuff= libmagic=never-match;;
22497
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
22498
shlibpath_overrides_runpath=no
22499
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22500
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
22501
hardcode_into_libs=yes
22504
# No shared lib support for Linux oldld, aout, or coff.
22505
linux*oldld* | linux*aout* | linux*coff*)
22509
# This must be glibc/ELF.
22510
linux* | k*bsd*-gnu | kopensolaris*-gnu)
22511
version_type=linux # correct to gnu/linux during the next big refactor
22514
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22515
soname_spec='${libname}${release}${shared_ext}$major'
22516
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22517
shlibpath_var=LD_LIBRARY_PATH
22518
shlibpath_overrides_runpath=no
22520
# Some binutils ld are patched to set DT_RUNPATH
22521
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
22522
$as_echo_n "(cached) " >&6
22524
lt_cv_shlibpath_overrides_runpath=no
22525
save_LDFLAGS=$LDFLAGS
22526
save_libdir=$libdir
22527
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
22528
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
22529
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22530
/* end confdefs.h. */
22540
if ac_fn_c_try_link "$LINENO"; then :
22541
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
22542
lt_cv_shlibpath_overrides_runpath=yes
22545
rm -f core conftest.err conftest.$ac_objext \
22546
conftest$ac_exeext conftest.$ac_ext
22547
LDFLAGS=$save_LDFLAGS
22548
libdir=$save_libdir
22552
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
22554
# This implies no fast_install, which is unacceptable.
22555
# Some rework will be needed to allow for fast_install
22556
# before this can be enabled.
22557
hardcode_into_libs=yes
22559
# Append ld.so.conf contents to the search path
22560
if test -f /etc/ld.so.conf; then
22561
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' ' '`
22562
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
22565
# We used to test for /lib/ld.so.1 and disable shared libraries on
22566
# powerpc, because MkLinux only supported shared libraries with the
22567
# GNU dynamic linker. Since this was broken with cross compilers,
22568
# most powerpc-linux boxes support dynamic linking these days and
22569
# people can always --disable-shared, the test was removed, and we
22570
# assume the GNU/Linux dynamic linker is in use.
22571
dynamic_linker='GNU/Linux ld.so'
22578
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
22579
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22580
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22581
dynamic_linker='NetBSD (a.out) ld.so'
22583
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22584
soname_spec='${libname}${release}${shared_ext}$major'
22585
dynamic_linker='NetBSD ld.elf_so'
22587
shlibpath_var=LD_LIBRARY_PATH
22588
shlibpath_overrides_runpath=yes
22589
hardcode_into_libs=yes
22593
version_type=linux # correct to gnu/linux during the next big refactor
22594
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22595
shlibpath_var=LD_LIBRARY_PATH
22596
shlibpath_overrides_runpath=yes
22603
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22604
soname_spec='${libname}${release}${shared_ext}$major'
22605
shlibpath_var=LD_LIBRARY_PATH
22606
shlibpath_overrides_runpath=no
22607
hardcode_into_libs=yes
22608
dynamic_linker='ldqnx.so'
22613
sys_lib_dlsearch_path_spec="/usr/lib"
22615
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
22617
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
22618
*) need_version=no ;;
22620
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22621
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22622
shlibpath_var=LD_LIBRARY_PATH
22623
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22625
openbsd2.[89] | openbsd2.[89].*)
22626
shlibpath_overrides_runpath=no
22629
shlibpath_overrides_runpath=yes
22633
shlibpath_overrides_runpath=yes
22638
libname_spec='$name'
22641
library_names_spec='$libname${shared_ext} $libname.a'
22642
dynamic_linker='OS/2 ld.exe'
22643
shlibpath_var=LIBPATH
22646
osf3* | osf4* | osf5*)
22650
soname_spec='${libname}${release}${shared_ext}$major'
22651
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22652
shlibpath_var=LD_LIBRARY_PATH
22653
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
22654
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
22662
version_type=linux # correct to gnu/linux during the next big refactor
22665
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22666
soname_spec='${libname}${release}${shared_ext}$major'
22667
shlibpath_var=LD_LIBRARY_PATH
22668
shlibpath_overrides_runpath=yes
22669
hardcode_into_libs=yes
22670
# ldd complains unless libraries are executable
22671
postinstall_cmds='chmod +x $lib'
22676
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22677
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
22678
shlibpath_var=LD_LIBRARY_PATH
22679
shlibpath_overrides_runpath=yes
22680
if test "$with_gnu_ld" = yes; then
22687
version_type=linux # correct to gnu/linux during the next big refactor
22688
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22689
soname_spec='${libname}${release}${shared_ext}$major'
22690
shlibpath_var=LD_LIBRARY_PATH
22691
case $host_vendor in
22693
shlibpath_overrides_runpath=no
22695
runpath_var=LD_RUN_PATH
22703
shlibpath_overrides_runpath=no
22704
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
22710
if test -d /usr/nec ;then
22711
version_type=linux # correct to gnu/linux during the next big refactor
22712
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
22713
soname_spec='$libname${shared_ext}.$major'
22714
shlibpath_var=LD_LIBRARY_PATH
22718
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
22719
version_type=freebsd-elf
22722
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22723
soname_spec='${libname}${release}${shared_ext}$major'
22724
shlibpath_var=LD_LIBRARY_PATH
22725
shlibpath_overrides_runpath=yes
22726
hardcode_into_libs=yes
22727
if test "$with_gnu_ld" = yes; then
22728
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
22730
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
22733
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
22737
sys_lib_dlsearch_path_spec='/usr/lib'
22741
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
22742
version_type=linux # correct to gnu/linux during the next big refactor
22745
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22746
shlibpath_var=LD_LIBRARY_PATH
22747
shlibpath_overrides_runpath=no
22748
hardcode_into_libs=yes
22752
version_type=linux # correct to gnu/linux during the next big refactor
22753
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22754
soname_spec='${libname}${release}${shared_ext}$major'
22755
shlibpath_var=LD_LIBRARY_PATH
22762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
22763
$as_echo "$dynamic_linker" >&6; }
22764
test "$dynamic_linker" = no && can_build_shared=no
22766
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
22767
if test "$GCC" = yes; then
22768
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
22771
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
22772
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
22774
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
22775
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
22869
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
22870
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
22872
if test -n "$hardcode_libdir_flag_spec" ||
22873
test -n "$runpath_var" ||
22874
test "X$hardcode_automatic" = "Xyes" ; then
22876
# We can hardcode non-existent directories.
22877
if test "$hardcode_direct" != no &&
22878
# If the only mechanism to avoid hardcoding is shlibpath_var, we
22879
# have to relink, otherwise we might link with an installed library
22880
# when we should be linking with a yet-to-be-installed one
22881
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
22882
test "$hardcode_minus_L" != no; then
22883
# Linking always hardcodes the temporary library directory.
22884
hardcode_action=relink
22886
# We can link without hardcoding, and we can hardcode nonexisting dirs.
22887
hardcode_action=immediate
22890
# We cannot hardcode anything, or else we can only hardcode existing
22892
hardcode_action=unsupported
22894
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
22895
$as_echo "$hardcode_action" >&6; }
22897
if test "$hardcode_action" = relink ||
22898
test "$inherit_rpath" = yes; then
22899
# Fast installation is not supported
22900
enable_fast_install=no
22901
elif test "$shlibpath_overrides_runpath" = yes ||
22902
test "$enable_shared" = no; then
22903
# Fast installation is not necessary
22904
enable_fast_install=needless
22912
if test "x$enable_dlopen" != xyes; then
22913
enable_dlopen=unknown
22914
enable_dlopen_self=unknown
22915
enable_dlopen_self_static=unknown
22922
lt_cv_dlopen="load_add_on"
22924
lt_cv_dlopen_self=yes
22927
mingw* | pw32* | cegcc*)
22928
lt_cv_dlopen="LoadLibrary"
22933
lt_cv_dlopen="dlopen"
22938
# if libdl is installed we need to link against it
22939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
22940
$as_echo_n "checking for dlopen in -ldl... " >&6; }
22941
if ${ac_cv_lib_dl_dlopen+:} false; then :
22942
$as_echo_n "(cached) " >&6
22944
ac_check_lib_save_LIBS=$LIBS
22946
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22947
/* end confdefs.h. */
22949
/* Override any GCC internal prototype to avoid an error.
22950
Use char because int might match the return type of a GCC
22951
builtin and then its argument prototype would still apply. */
22964
if ac_fn_c_try_link "$LINENO"; then :
22965
ac_cv_lib_dl_dlopen=yes
22967
ac_cv_lib_dl_dlopen=no
22969
rm -f core conftest.err conftest.$ac_objext \
22970
conftest$ac_exeext conftest.$ac_ext
22971
LIBS=$ac_check_lib_save_LIBS
22973
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
22974
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
22975
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
22976
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
22979
lt_cv_dlopen="dyld"
22981
lt_cv_dlopen_self=yes
22988
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
22989
if test "x$ac_cv_func_shl_load" = xyes; then :
22990
lt_cv_dlopen="shl_load"
22992
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
22993
$as_echo_n "checking for shl_load in -ldld... " >&6; }
22994
if ${ac_cv_lib_dld_shl_load+:} false; then :
22995
$as_echo_n "(cached) " >&6
22997
ac_check_lib_save_LIBS=$LIBS
22999
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23000
/* end confdefs.h. */
23002
/* Override any GCC internal prototype to avoid an error.
23003
Use char because int might match the return type of a GCC
23004
builtin and then its argument prototype would still apply. */
23012
return shl_load ();
23017
if ac_fn_c_try_link "$LINENO"; then :
23018
ac_cv_lib_dld_shl_load=yes
23020
ac_cv_lib_dld_shl_load=no
23022
rm -f core conftest.err conftest.$ac_objext \
23023
conftest$ac_exeext conftest.$ac_ext
23024
LIBS=$ac_check_lib_save_LIBS
23026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
23027
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
23028
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
23029
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
23031
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
23032
if test "x$ac_cv_func_dlopen" = xyes; then :
23033
lt_cv_dlopen="dlopen"
23035
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
23036
$as_echo_n "checking for dlopen in -ldl... " >&6; }
23037
if ${ac_cv_lib_dl_dlopen+:} false; then :
23038
$as_echo_n "(cached) " >&6
23040
ac_check_lib_save_LIBS=$LIBS
23042
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23043
/* end confdefs.h. */
23045
/* Override any GCC internal prototype to avoid an error.
23046
Use char because int might match the return type of a GCC
23047
builtin and then its argument prototype would still apply. */
23060
if ac_fn_c_try_link "$LINENO"; then :
23061
ac_cv_lib_dl_dlopen=yes
23063
ac_cv_lib_dl_dlopen=no
23065
rm -f core conftest.err conftest.$ac_objext \
23066
conftest$ac_exeext conftest.$ac_ext
23067
LIBS=$ac_check_lib_save_LIBS
23069
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
23070
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
23071
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
23072
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
23074
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
23075
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
23076
if ${ac_cv_lib_svld_dlopen+:} false; then :
23077
$as_echo_n "(cached) " >&6
23079
ac_check_lib_save_LIBS=$LIBS
23080
LIBS="-lsvld $LIBS"
23081
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23082
/* end confdefs.h. */
23084
/* Override any GCC internal prototype to avoid an error.
23085
Use char because int might match the return type of a GCC
23086
builtin and then its argument prototype would still apply. */
23099
if ac_fn_c_try_link "$LINENO"; then :
23100
ac_cv_lib_svld_dlopen=yes
23102
ac_cv_lib_svld_dlopen=no
23104
rm -f core conftest.err conftest.$ac_objext \
23105
conftest$ac_exeext conftest.$ac_ext
23106
LIBS=$ac_check_lib_save_LIBS
23108
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
23109
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
23110
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
23111
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
23113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
23114
$as_echo_n "checking for dld_link in -ldld... " >&6; }
23115
if ${ac_cv_lib_dld_dld_link+:} false; then :
23116
$as_echo_n "(cached) " >&6
23118
ac_check_lib_save_LIBS=$LIBS
23120
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23121
/* end confdefs.h. */
23123
/* Override any GCC internal prototype to avoid an error.
23124
Use char because int might match the return type of a GCC
23125
builtin and then its argument prototype would still apply. */
23133
return dld_link ();
23138
if ac_fn_c_try_link "$LINENO"; then :
23139
ac_cv_lib_dld_dld_link=yes
23141
ac_cv_lib_dld_dld_link=no
23143
rm -f core conftest.err conftest.$ac_objext \
23144
conftest$ac_exeext conftest.$ac_ext
23145
LIBS=$ac_check_lib_save_LIBS
23147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
23148
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
23149
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
23150
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
23171
if test "x$lt_cv_dlopen" != xno; then
23177
case $lt_cv_dlopen in
23179
save_CPPFLAGS="$CPPFLAGS"
23180
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
23182
save_LDFLAGS="$LDFLAGS"
23183
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
23186
LIBS="$lt_cv_dlopen_libs $LIBS"
23188
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
23189
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
23190
if ${lt_cv_dlopen_self+:} false; then :
23191
$as_echo_n "(cached) " >&6
23193
if test "$cross_compiling" = yes; then :
23194
lt_cv_dlopen_self=cross
23196
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
23197
lt_status=$lt_dlunknown
23198
cat > conftest.$ac_ext <<_LT_EOF
23199
#line $LINENO "configure"
23200
#include "confdefs.h"
23209
# define LT_DLGLOBAL RTLD_GLOBAL
23212
# define LT_DLGLOBAL DL_GLOBAL
23214
# define LT_DLGLOBAL 0
23218
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
23219
find out it does not work in some platform. */
23220
#ifndef LT_DLLAZY_OR_NOW
23222
# define LT_DLLAZY_OR_NOW RTLD_LAZY
23225
# define LT_DLLAZY_OR_NOW DL_LAZY
23228
# define LT_DLLAZY_OR_NOW RTLD_NOW
23231
# define LT_DLLAZY_OR_NOW DL_NOW
23233
# define LT_DLLAZY_OR_NOW 0
23240
/* When -fvisbility=hidden is used, assume the code has been annotated
23241
correspondingly for the symbols needed. */
23242
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
23243
int fnord () __attribute__((visibility("default")));
23246
int fnord () { return 42; }
23249
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
23250
int status = $lt_dlunknown;
23254
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
23257
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
23258
else puts (dlerror ());
23260
/* dlclose (self); */
23268
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
23269
(eval $ac_link) 2>&5
23271
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23272
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
23273
(./conftest; exit; ) >&5 2>/dev/null
23275
case x$lt_status in
23276
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
23277
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
23278
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
23281
# compilation failed
23282
lt_cv_dlopen_self=no
23289
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
23290
$as_echo "$lt_cv_dlopen_self" >&6; }
23292
if test "x$lt_cv_dlopen_self" = xyes; then
23293
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
23294
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
23295
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
23296
if ${lt_cv_dlopen_self_static+:} false; then :
23297
$as_echo_n "(cached) " >&6
23299
if test "$cross_compiling" = yes; then :
23300
lt_cv_dlopen_self_static=cross
23302
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
23303
lt_status=$lt_dlunknown
23304
cat > conftest.$ac_ext <<_LT_EOF
23305
#line $LINENO "configure"
23306
#include "confdefs.h"
23315
# define LT_DLGLOBAL RTLD_GLOBAL
23318
# define LT_DLGLOBAL DL_GLOBAL
23320
# define LT_DLGLOBAL 0
23324
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
23325
find out it does not work in some platform. */
23326
#ifndef LT_DLLAZY_OR_NOW
23328
# define LT_DLLAZY_OR_NOW RTLD_LAZY
23331
# define LT_DLLAZY_OR_NOW DL_LAZY
23334
# define LT_DLLAZY_OR_NOW RTLD_NOW
23337
# define LT_DLLAZY_OR_NOW DL_NOW
23339
# define LT_DLLAZY_OR_NOW 0
23346
/* When -fvisbility=hidden is used, assume the code has been annotated
23347
correspondingly for the symbols needed. */
23348
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
23349
int fnord () __attribute__((visibility("default")));
23352
int fnord () { return 42; }
23355
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
23356
int status = $lt_dlunknown;
23360
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
23363
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
23364
else puts (dlerror ());
23366
/* dlclose (self); */
23374
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
23375
(eval $ac_link) 2>&5
23377
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23378
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
23379
(./conftest; exit; ) >&5 2>/dev/null
23381
case x$lt_status in
23382
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
23383
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
23384
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
23387
# compilation failed
23388
lt_cv_dlopen_self_static=no
23395
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
23396
$as_echo "$lt_cv_dlopen_self_static" >&6; }
23399
CPPFLAGS="$save_CPPFLAGS"
23400
LDFLAGS="$save_LDFLAGS"
23405
case $lt_cv_dlopen_self in
23406
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
23407
*) enable_dlopen_self=unknown ;;
23410
case $lt_cv_dlopen_self_static in
23411
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
23412
*) enable_dlopen_self_static=unknown ;;
23434
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
23435
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
23436
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
23437
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
23438
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
23439
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23440
$as_echo "yes" >&6; }
23442
# FIXME - insert some real tests, host_os isn't really good enough
23445
if test -n "$STRIP" ; then
23446
striplib="$STRIP -x"
23447
old_striplib="$STRIP -S"
23448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23449
$as_echo "yes" >&6; }
23451
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23452
$as_echo "no" >&6; }
23456
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23457
$as_echo "no" >&6; }
23473
# Report which library types will actually be built
23474
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
23475
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
23476
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
23477
$as_echo "$can_build_shared" >&6; }
23479
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
23480
$as_echo_n "checking whether to build shared libraries... " >&6; }
23481
test "$can_build_shared" = "no" && enable_shared=no
23483
# On AIX, shared libraries and static libraries use the same namespace, and
23484
# are all built from PIC.
23487
test "$enable_shared" = yes && enable_static=no
23488
if test -n "$RANLIB"; then
23489
archive_cmds="$archive_cmds~\$RANLIB \$lib"
23490
postinstall_cmds='$RANLIB $lib'
23495
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
23496
test "$enable_shared" = yes && enable_static=no
23500
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
23501
$as_echo "$enable_shared" >&6; }
23503
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
23504
$as_echo_n "checking whether to build static libraries... " >&6; }
23505
# Make sure either enable_shared or enable_static is yes.
23506
test "$enable_shared" = yes || enable_static=yes
23507
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
23508
$as_echo "$enable_static" >&6; }
23515
ac_cpp='$CPP $CPPFLAGS'
23516
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23517
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23518
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23522
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
23523
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
23524
(test "X$CXX" != "Xg++"))) ; then
23526
ac_cpp='$CXXCPP $CPPFLAGS'
23527
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23528
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23529
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23530
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
23531
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
23532
if test -z "$CXXCPP"; then
23533
if ${ac_cv_prog_CXXCPP+:} false; then :
23534
$as_echo_n "(cached) " >&6
23536
# Double quotes because CXXCPP needs to be expanded
23537
for CXXCPP in "$CXX -E" "/lib/cpp"
23539
ac_preproc_ok=false
23540
for ac_cxx_preproc_warn_flag in '' yes
23542
# Use a header file that comes with gcc, so configuring glibc
23543
# with a fresh cross-compiler works.
23544
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23545
# <limits.h> exists even on freestanding compilers.
23546
# On the NeXT, cc -E runs the code through the compiler's parser,
23547
# not just through cpp. "Syntax error" is here to catch this case.
23548
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23549
/* end confdefs.h. */
23551
# include <limits.h>
23553
# include <assert.h>
23557
if ac_fn_cxx_try_cpp "$LINENO"; then :
23560
# Broken: fails on valid input.
23563
rm -f conftest.err conftest.i conftest.$ac_ext
23565
# OK, works on sane cases. Now check whether nonexistent headers
23566
# can be detected and how.
23567
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23568
/* end confdefs.h. */
23569
#include <ac_nonexistent.h>
23571
if ac_fn_cxx_try_cpp "$LINENO"; then :
23572
# Broken: success on invalid input.
23575
# Passes both tests.
23579
rm -f conftest.err conftest.i conftest.$ac_ext
23582
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
23583
rm -f conftest.i conftest.err conftest.$ac_ext
23584
if $ac_preproc_ok; then :
23589
ac_cv_prog_CXXCPP=$CXXCPP
23592
CXXCPP=$ac_cv_prog_CXXCPP
23594
ac_cv_prog_CXXCPP=$CXXCPP
23596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
23597
$as_echo "$CXXCPP" >&6; }
23598
ac_preproc_ok=false
23599
for ac_cxx_preproc_warn_flag in '' yes
23601
# Use a header file that comes with gcc, so configuring glibc
23602
# with a fresh cross-compiler works.
23603
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23604
# <limits.h> exists even on freestanding compilers.
23605
# On the NeXT, cc -E runs the code through the compiler's parser,
23606
# not just through cpp. "Syntax error" is here to catch this case.
23607
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23608
/* end confdefs.h. */
23610
# include <limits.h>
23612
# include <assert.h>
23616
if ac_fn_cxx_try_cpp "$LINENO"; then :
23619
# Broken: fails on valid input.
23622
rm -f conftest.err conftest.i conftest.$ac_ext
23624
# OK, works on sane cases. Now check whether nonexistent headers
23625
# can be detected and how.
23626
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23627
/* end confdefs.h. */
23628
#include <ac_nonexistent.h>
23630
if ac_fn_cxx_try_cpp "$LINENO"; then :
23631
# Broken: success on invalid input.
23634
# Passes both tests.
23638
rm -f conftest.err conftest.i conftest.$ac_ext
23641
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
23642
rm -f conftest.i conftest.err conftest.$ac_ext
23643
if $ac_preproc_ok; then :
23646
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23647
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23648
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
23649
See \`config.log' for more details" "$LINENO" 5; }
23653
ac_cpp='$CPP $CPPFLAGS'
23654
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23655
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23656
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23659
_lt_caught_CXX_error=yes
23663
ac_cpp='$CXXCPP $CPPFLAGS'
23664
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23665
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23666
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23668
archive_cmds_need_lc_CXX=no
23669
allow_undefined_flag_CXX=
23670
always_export_symbols_CXX=no
23671
archive_expsym_cmds_CXX=
23672
compiler_needs_object_CXX=no
23673
export_dynamic_flag_spec_CXX=
23674
hardcode_direct_CXX=no
23675
hardcode_direct_absolute_CXX=no
23676
hardcode_libdir_flag_spec_CXX=
23677
hardcode_libdir_separator_CXX=
23678
hardcode_minus_L_CXX=no
23679
hardcode_shlibpath_var_CXX=unsupported
23680
hardcode_automatic_CXX=no
23681
inherit_rpath_CXX=no
23683
module_expsym_cmds_CXX=
23684
link_all_deplibs_CXX=unknown
23685
old_archive_cmds_CXX=$old_archive_cmds
23686
reload_flag_CXX=$reload_flag
23687
reload_cmds_CXX=$reload_cmds
23688
no_undefined_flag_CXX=
23689
whole_archive_flag_spec_CXX=
23690
enable_shared_with_static_runtimes_CXX=no
23692
# Source file extension for C++ test sources.
23695
# Object file extension for compiled C++ test sources.
23699
# No sense in running all these tests if we already determined that
23700
# the CXX compiler isn't working. Some variables (like enable_shared)
23701
# are currently assumed to apply to all compilers on this platform,
23702
# and will be corrupted by setting them based on a non-working compiler.
23703
if test "$_lt_caught_CXX_error" != yes; then
23704
# Code to be used in simple compile tests
23705
lt_simple_compile_test_code="int some_variable = 0;"
23707
# Code to be used in simple link tests
23708
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
23710
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
23717
# If no C compiler was specified, use CC.
23720
# If no C compiler flags were specified, use CFLAGS.
23721
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
23723
# Allow CC to be a program name with arguments.
23727
# save warnings/boilerplate of simple test code
23728
ac_outfile=conftest.$ac_objext
23729
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
23730
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23731
_lt_compiler_boilerplate=`cat conftest.err`
23734
ac_outfile=conftest.$ac_objext
23735
echo "$lt_simple_link_test_code" >conftest.$ac_ext
23736
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23737
_lt_linker_boilerplate=`cat conftest.err`
23741
# Allow CC to be a program name with arguments.
23743
lt_save_CFLAGS=$CFLAGS
23747
lt_save_with_gnu_ld=$with_gnu_ld
23748
lt_save_path_LD=$lt_cv_path_LD
23749
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
23750
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
23752
$as_unset lt_cv_prog_gnu_ld
23754
if test -n "${lt_cv_path_LDCXX+set}"; then
23755
lt_cv_path_LD=$lt_cv_path_LDCXX
23757
$as_unset lt_cv_path_LD
23759
test -z "${LDCXX+set}" || LD=$LDCXX
23764
for cc_temp in $compiler""; do
23766
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23767
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23772
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
23775
if test -n "$compiler"; then
23776
# We don't want -fno-exception when compiling C++ code, so set the
23777
# no_builtin_flag separately
23778
if test "$GXX" = yes; then
23779
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
23781
lt_prog_compiler_no_builtin_flag_CXX=
23784
if test "$GXX" = yes; then
23785
# Set up default GNU C++ configuration
23789
# Check whether --with-gnu-ld was given.
23790
if test "${with_gnu_ld+set}" = set; then :
23791
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
23797
if test "$GCC" = yes; then
23798
# Check if gcc -print-prog-name=ld gives a path.
23799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
23800
$as_echo_n "checking for ld used by $CC... " >&6; }
23803
# gcc leaves a trailing carriage return which upsets mingw
23804
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
23806
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
23809
# Accept absolute paths.
23811
re_direlt='/[^/][^/]*/\.\./'
23812
# Canonicalize the pathname of ld
23813
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
23814
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
23815
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
23817
test -z "$LD" && LD="$ac_prog"
23820
# If it fails, then pretend we aren't using GCC.
23824
# If it is relative, then search for the first ld in PATH.
23825
with_gnu_ld=unknown
23828
elif test "$with_gnu_ld" = yes; then
23829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
23830
$as_echo_n "checking for GNU ld... " >&6; }
23832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
23833
$as_echo_n "checking for non-GNU ld... " >&6; }
23835
if ${lt_cv_path_LD+:} false; then :
23836
$as_echo_n "(cached) " >&6
23838
if test -z "$LD"; then
23839
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
23840
for ac_dir in $PATH; do
23842
test -z "$ac_dir" && ac_dir=.
23843
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
23844
lt_cv_path_LD="$ac_dir/$ac_prog"
23845
# Check to see if the program is GNU ld. I'd rather use --version,
23846
# but apparently some variants of GNU ld only accept -v.
23847
# Break only if it was the GNU/non-GNU ld that we prefer.
23848
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
23849
*GNU* | *'with BFD'*)
23850
test "$with_gnu_ld" != no && break
23853
test "$with_gnu_ld" != yes && break
23860
lt_cv_path_LD="$LD" # Let the user override the test with a path.
23864
LD="$lt_cv_path_LD"
23865
if test -n "$LD"; then
23866
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
23867
$as_echo "$LD" >&6; }
23869
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23870
$as_echo "no" >&6; }
23872
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
23873
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
23874
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
23875
if ${lt_cv_prog_gnu_ld+:} false; then :
23876
$as_echo_n "(cached) " >&6
23878
# I'd rather use --version here, but apparently some GNU lds only accept -v.
23879
case `$LD -v 2>&1 </dev/null` in
23880
*GNU* | *'with BFD'*)
23881
lt_cv_prog_gnu_ld=yes
23884
lt_cv_prog_gnu_ld=no
23888
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
23889
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
23890
with_gnu_ld=$lt_cv_prog_gnu_ld
23898
# Check if GNU C++ uses GNU ld as the underlying linker, since the
23899
# archiving commands below assume that GNU ld is being used.
23900
if test "$with_gnu_ld" = yes; then
23901
archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
23902
archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
23904
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
23905
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
23907
# If archive_cmds runs LD, not CC, wlarc should be empty
23908
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
23909
# investigate it a little bit more. (MM)
23912
# ancient GNU ld didn't support --whole-archive et. al.
23913
if eval "`$CC -print-prog-name=ld` --help 2>&1" |
23914
$GREP 'no-whole-archive' > /dev/null; then
23915
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
23917
whole_archive_flag_spec_CXX=
23923
# A generic and very simple default shared library creation
23924
# command for GNU C++ for the case where it uses the native
23925
# linker, instead of GNU ld. If possible, this setting should
23926
# overridden to take advantage of the native linker features on
23927
# the platform it is being used on.
23928
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
23931
# Commands to make compiler produce verbose output that lists
23932
# what "hidden" libraries, object files and flags are used when
23933
# linking a shared library.
23934
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
23942
# PORTME: fill in a description of your system's C++ link characteristics
23943
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
23944
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
23948
# FIXME: insert proper C++ library support
23952
if test "$host_cpu" = ia64; then
23953
# On IA64, the linker does run time linking by default, so we don't
23954
# have to do anything special.
23955
aix_use_runtimelinking=no
23956
exp_sym_flag='-Bexport'
23959
aix_use_runtimelinking=no
23961
# Test if we are trying to use run time linking or normal
23962
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
23963
# need to do runtime linking.
23964
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
23965
for ld_flag in $LDFLAGS; do
23968
aix_use_runtimelinking=yes
23976
exp_sym_flag='-bexport'
23977
no_entry_flag='-bnoentry'
23980
# When large executables or shared objects are built, AIX ld can
23981
# have problems creating the table of contents. If linking a library
23982
# or program results in "error TOC overflow" add -mminimal-toc to
23983
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
23984
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
23986
archive_cmds_CXX=''
23987
hardcode_direct_CXX=yes
23988
hardcode_direct_absolute_CXX=yes
23989
hardcode_libdir_separator_CXX=':'
23990
link_all_deplibs_CXX=yes
23991
file_list_spec_CXX='${wl}-f,'
23993
if test "$GXX" = yes; then
23994
case $host_os in aix4.[012]|aix4.[012].*)
23995
# We only want to do this on AIX 4.2 and lower, the check
23996
# below for broken collect2 doesn't work under 4.3+
23997
collect2name=`${CC} -print-prog-name=collect2`
23998
if test -f "$collect2name" &&
23999
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
24001
# We have reworked collect2
24004
# We have old collect2
24005
hardcode_direct_CXX=unsupported
24006
# It fails to find uninstalled libraries when the uninstalled
24007
# path is not listed in the libpath. Setting hardcode_minus_L
24008
# to unsupported forces relinking
24009
hardcode_minus_L_CXX=yes
24010
hardcode_libdir_flag_spec_CXX='-L$libdir'
24011
hardcode_libdir_separator_CXX=
24014
shared_flag='-shared'
24015
if test "$aix_use_runtimelinking" = yes; then
24016
shared_flag="$shared_flag "'${wl}-G'
24020
if test "$host_cpu" = ia64; then
24021
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24022
# chokes on -Wl,-G. The following line is correct:
24025
if test "$aix_use_runtimelinking" = yes; then
24026
shared_flag='${wl}-G'
24028
shared_flag='${wl}-bM:SRE'
24033
export_dynamic_flag_spec_CXX='${wl}-bexpall'
24034
# It seems that -bexpall does not export symbols beginning with
24035
# underscore (_), so it is better to generate a list of symbols to
24037
always_export_symbols_CXX=yes
24038
if test "$aix_use_runtimelinking" = yes; then
24039
# Warning - without using the other runtime loading flags (-brtl),
24040
# -berok will link without error, but may produce a broken library.
24041
allow_undefined_flag_CXX='-berok'
24042
# Determine the default libpath from the value encoded in an empty
24044
if test "${lt_cv_aix_libpath+set}" = set; then
24045
aix_libpath=$lt_cv_aix_libpath
24047
if ${lt_cv_aix_libpath__CXX+:} false; then :
24048
$as_echo_n "(cached) " >&6
24050
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24051
/* end confdefs.h. */
24061
if ac_fn_cxx_try_link "$LINENO"; then :
24063
lt_aix_libpath_sed='
24064
/Import File Strings/,/^$/ {
24066
s/^0 *\([^ ]*\) *$/\1/
24070
lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24071
# Check for a 64-bit object if we didn't find anything.
24072
if test -z "$lt_cv_aix_libpath__CXX"; then
24073
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24076
rm -f core conftest.err conftest.$ac_objext \
24077
conftest$ac_exeext conftest.$ac_ext
24078
if test -z "$lt_cv_aix_libpath__CXX"; then
24079
lt_cv_aix_libpath__CXX="/usr/lib:/lib"
24084
aix_libpath=$lt_cv_aix_libpath__CXX
24087
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
24089
archive_expsym_cmds_CXX='$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"
24091
if test "$host_cpu" = ia64; then
24092
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
24093
allow_undefined_flag_CXX="-z nodefs"
24094
archive_expsym_cmds_CXX="\$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"
24096
# Determine the default libpath from the value encoded in an
24097
# empty executable.
24098
if test "${lt_cv_aix_libpath+set}" = set; then
24099
aix_libpath=$lt_cv_aix_libpath
24101
if ${lt_cv_aix_libpath__CXX+:} false; then :
24102
$as_echo_n "(cached) " >&6
24104
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24105
/* end confdefs.h. */
24115
if ac_fn_cxx_try_link "$LINENO"; then :
24117
lt_aix_libpath_sed='
24118
/Import File Strings/,/^$/ {
24120
s/^0 *\([^ ]*\) *$/\1/
24124
lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24125
# Check for a 64-bit object if we didn't find anything.
24126
if test -z "$lt_cv_aix_libpath__CXX"; then
24127
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24130
rm -f core conftest.err conftest.$ac_objext \
24131
conftest$ac_exeext conftest.$ac_ext
24132
if test -z "$lt_cv_aix_libpath__CXX"; then
24133
lt_cv_aix_libpath__CXX="/usr/lib:/lib"
24138
aix_libpath=$lt_cv_aix_libpath__CXX
24141
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
24142
# Warning - without using the other run time loading flags,
24143
# -berok will link without error, but may produce a broken library.
24144
no_undefined_flag_CXX=' ${wl}-bernotok'
24145
allow_undefined_flag_CXX=' ${wl}-berok'
24146
if test "$with_gnu_ld" = yes; then
24147
# We only use this code for GNU lds that support --whole-archive.
24148
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
24150
# Exported symbols can be pulled into shared objects from archives
24151
whole_archive_flag_spec_CXX='$convenience'
24153
archive_cmds_need_lc_CXX=yes
24154
# This is similar to how AIX traditionally builds its shared
24156
archive_expsym_cmds_CXX="\$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'
24162
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
24163
allow_undefined_flag_CXX=unsupported
24164
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24165
# support --undefined. This deserves some investigation. FIXME
24166
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24173
case $cc_basename in
24175
# FIXME: insert proper C++ library support
24181
cygwin* | mingw* | pw32* | cegcc*)
24182
case $GXX,$cc_basename in
24185
# hardcode_libdir_flag_spec is actually meaningless, as there is
24186
# no search path for DLLs.
24187
hardcode_libdir_flag_spec_CXX=' '
24188
allow_undefined_flag_CXX=unsupported
24189
always_export_symbols_CXX=yes
24190
file_list_spec_CXX='@'
24191
# Tell ltmain to make .lib files, not .a files.
24193
# Tell ltmain to make .dll files, not .so files.
24195
# FIXME: Setting linknames here is a bad hack.
24196
archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
24197
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24198
$SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
24200
$SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
24202
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
24204
# The linker will not automatically build a static lib if we build a DLL.
24205
# _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
24206
enable_shared_with_static_runtimes_CXX=yes
24208
old_postinstall_cmds_CXX='chmod 644 $oldlib'
24209
postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
24210
lt_tool_outputfile="@TOOL_OUTPUT@"~
24211
case $lt_outputfile in
24214
lt_outputfile="$lt_outputfile.exe"
24215
lt_tool_outputfile="$lt_tool_outputfile.exe"
24218
func_to_tool_file "$lt_outputfile"~
24219
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
24220
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
24221
$RM "$lt_outputfile.manifest";
24226
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
24227
# as there is no search path for DLLs.
24228
hardcode_libdir_flag_spec_CXX='-L$libdir'
24229
export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
24230
allow_undefined_flag_CXX=unsupported
24231
always_export_symbols_CXX=no
24232
enable_shared_with_static_runtimes_CXX=yes
24234
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
24235
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24236
# If the export-symbols file already is a .def file (1st line
24237
# is EXPORTS), use it as is; otherwise, prepend...
24238
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24239
cp $export_symbols $output_objdir/$soname.def;
24241
echo EXPORTS > $output_objdir/$soname.def;
24242
cat $export_symbols >> $output_objdir/$soname.def;
24244
$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24251
darwin* | rhapsody*)
24254
archive_cmds_need_lc_CXX=no
24255
hardcode_direct_CXX=no
24256
hardcode_automatic_CXX=yes
24257
hardcode_shlibpath_var_CXX=unsupported
24258
if test "$lt_cv_ld_force_load" = "yes"; then
24259
whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
24262
whole_archive_flag_spec_CXX=''
24264
link_all_deplibs_CXX=yes
24265
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
24266
case $cc_basename in
24267
ifort*) _lt_dar_can_shared=yes ;;
24268
*) _lt_dar_can_shared=$GCC ;;
24270
if test "$_lt_dar_can_shared" = "yes"; then
24271
output_verbose_link_cmd=func_echo_all
24272
archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
24273
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
24274
archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
24275
module_expsym_cmds_CXX="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}"
24276
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
24277
archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
24278
archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
24288
case $cc_basename in
24290
# FIXME: insert proper C++ library support
24294
# Green Hills C++ Compiler
24295
# FIXME: insert proper C++ library support
24299
# FIXME: insert proper C++ library support
24306
# C++ shared libraries reported to be fairly broken before
24312
archive_cmds_need_lc_CXX=no
24315
freebsd* | dragonfly*)
24316
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
24325
archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24326
link_all_deplibs_CXX=yes
24330
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
24331
hardcode_libdir_separator_CXX=:
24332
export_dynamic_flag_spec_CXX='${wl}-E'
24333
hardcode_direct_CXX=yes
24334
hardcode_minus_L_CXX=yes # Not in the search PATH,
24335
# but as the default
24336
# location of the library.
24338
case $cc_basename in
24340
# FIXME: insert proper C++ library support
24344
archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
24345
# Commands to make compiler produce verbose output that lists
24346
# what "hidden" libraries, object files and flags are used when
24347
# linking a shared library.
24349
# There doesn't appear to be a way to prevent this compiler from
24350
# explicitly linking system object files so we need to strip them
24351
# from the output so that they don't get included in the library
24353
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
24356
if test "$GXX" = yes; then
24357
archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
24359
# FIXME: insert proper C++ library support
24367
if test $with_gnu_ld = no; then
24368
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
24369
hardcode_libdir_separator_CXX=:
24375
export_dynamic_flag_spec_CXX='${wl}-E'
24381
hardcode_direct_CXX=no
24382
hardcode_shlibpath_var_CXX=no
24385
hardcode_direct_CXX=yes
24386
hardcode_direct_absolute_CXX=yes
24387
hardcode_minus_L_CXX=yes # Not in the search PATH,
24388
# but as the default
24389
# location of the library.
24393
case $cc_basename in
24395
# FIXME: insert proper C++ library support
24401
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
24404
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
24407
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
24410
# Commands to make compiler produce verbose output that lists
24411
# what "hidden" libraries, object files and flags are used when
24412
# linking a shared library.
24414
# There doesn't appear to be a way to prevent this compiler from
24415
# explicitly linking system object files so we need to strip them
24416
# from the output so that they don't get included in the library
24418
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
24421
if test "$GXX" = yes; then
24422
if test $with_gnu_ld = no; then
24425
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
24428
archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
24431
archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
24436
# FIXME: insert proper C++ library support
24444
hardcode_direct_CXX=no
24445
hardcode_shlibpath_var_CXX=no
24446
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
24447
export_dynamic_flag_spec_CXX='${wl}-E'
24448
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24449
# Instead, shared libraries are loaded at an image base (0x10000000 by
24450
# default) and relocated if they conflict, which is a slow very memory
24451
# consuming and fragmenting process. To avoid this, we pick a random,
24452
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24453
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
24454
archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
24455
archive_expsym_cmds_CXX='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'
24458
case $cc_basename in
24461
archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
24463
# Archives containing C++ object files must be created using
24464
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
24465
# necessary to make sure instantiated templates are included
24467
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
24470
if test "$GXX" = yes; then
24471
if test "$with_gnu_ld" = no; then
24472
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
24474
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
24477
link_all_deplibs_CXX=yes
24480
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
24481
hardcode_libdir_separator_CXX=:
24482
inherit_rpath_CXX=yes
24485
linux* | k*bsd*-gnu | kopensolaris*-gnu)
24486
case $cc_basename in
24488
# Kuck and Associates, Inc. (KAI) C++ Compiler
24490
# KCC will only create a shared library if the output file
24491
# ends with ".so" (or ".sl" for HP-UX), so rename the library
24492
# to its proper name (with version) after linking.
24493
archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
24494
archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
24495
# Commands to make compiler produce verbose output that lists
24496
# what "hidden" libraries, object files and flags are used when
24497
# linking a shared library.
24499
# There doesn't appear to be a way to prevent this compiler from
24500
# explicitly linking system object files so we need to strip them
24501
# from the output so that they don't get included in the library
24503
output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
24505
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
24506
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
24508
# Archives containing C++ object files must be created using
24509
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
24510
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
24515
# version 8.0 and above of icpc choke on multiply defined symbols
24516
# if we add $predep_objects and $postdep_objects, however 7.1 and
24517
# earlier do not add the objects themselves.
24518
case `$CC -V 2>&1` in
24520
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
24521
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24523
*) # Version 8.0 or newer
24526
ia64*) tmp_idyn=' -i_dynamic';;
24528
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24529
archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24532
archive_cmds_need_lc_CXX=no
24533
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
24534
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
24535
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
24538
# Portland Group C++ compiler
24540
*pgCC\ [1-5].* | *pgcpp\ [1-5].*)
24541
prelink_cmds_CXX='tpldir=Template.dir~
24543
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
24544
compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
24545
old_archive_cmds_CXX='tpldir=Template.dir~
24547
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
24548
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
24550
archive_cmds_CXX='tpldir=Template.dir~
24552
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
24553
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
24554
archive_expsym_cmds_CXX='tpldir=Template.dir~
24556
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
24557
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
24559
*) # Version 6 and above use weak symbols
24560
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
24561
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
24565
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
24566
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
24567
whole_archive_flag_spec_CXX='${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'
24571
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
24572
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
24574
runpath_var=LD_RUN_PATH
24575
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
24576
hardcode_libdir_separator_CXX=:
24578
# Commands to make compiler produce verbose output that lists
24579
# what "hidden" libraries, object files and flags are used when
24580
# linking a shared library.
24582
# There doesn't appear to be a way to prevent this compiler from
24583
# explicitly linking system object files so we need to strip them
24584
# from the output so that they don't get included in the library
24586
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
24588
xl* | mpixl* | bgxl*)
24589
# IBM XL 8.0 on PPC, with GNU ld
24590
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
24591
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
24592
archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24593
if test "x$supports_anon_versioning" = xyes; then
24594
archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
24595
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24596
echo "local: *; };" >> $output_objdir/$libname.ver~
24597
$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24601
case `$CC -V 2>&1 | sed 5q` in
24604
no_undefined_flag_CXX=' -zdefs'
24605
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
24606
archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
24607
hardcode_libdir_flag_spec_CXX='-R$libdir'
24608
whole_archive_flag_spec_CXX='${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'
24609
compiler_needs_object_CXX=yes
24611
# Not sure whether something based on
24612
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
24614
output_verbose_link_cmd='func_echo_all'
24616
# Archives containing C++ object files must be created using
24617
# "CC -xar", where "CC" is the Sun C++ compiler. This is
24618
# necessary to make sure instantiated templates are included
24620
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
24628
# FIXME: insert proper C++ library support
24633
# FIXME: insert proper C++ library support
24638
case $cc_basename in
24640
# FIXME: insert proper C++ library support
24644
# FIXME: insert proper C++ library support
24651
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
24652
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
24654
hardcode_libdir_flag_spec_CXX='-R$libdir'
24655
hardcode_direct_CXX=yes
24656
hardcode_shlibpath_var_CXX=no
24658
# Workaround some broken pre-1.5 toolchains
24659
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
24667
# C++ shared libraries are fairly broken
24672
if test -f /usr/libexec/ld.so; then
24673
hardcode_direct_CXX=yes
24674
hardcode_shlibpath_var_CXX=no
24675
hardcode_direct_absolute_CXX=yes
24676
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
24677
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
24678
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24679
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
24680
export_dynamic_flag_spec_CXX='${wl}-E'
24681
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24683
output_verbose_link_cmd=func_echo_all
24689
osf3* | osf4* | osf5*)
24690
case $cc_basename in
24692
# Kuck and Associates, Inc. (KAI) C++ Compiler
24694
# KCC will only create a shared library if the output file
24695
# ends with ".so" (or ".sl" for HP-UX), so rename the library
24696
# to its proper name (with version) after linking.
24697
archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
24699
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
24700
hardcode_libdir_separator_CXX=:
24702
# Archives containing C++ object files must be created using
24703
# the KAI C++ compiler.
24705
osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
24706
*) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
24710
# Rational C++ 2.4.1
24711
# FIXME: insert proper C++ library support
24717
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
24718
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
24719
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
24722
allow_undefined_flag_CXX=' -expect_unresolved \*'
24723
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
24724
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
24725
echo "-hidden">> $lib.exp~
24726
$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
24728
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
24732
hardcode_libdir_separator_CXX=:
24734
# Commands to make compiler produce verbose output that lists
24735
# what "hidden" libraries, object files and flags are used when
24736
# linking a shared library.
24738
# There doesn't appear to be a way to prevent this compiler from
24739
# explicitly linking system object files so we need to strip them
24740
# from the output so that they don't get included in the library
24742
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
24745
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
24746
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
24749
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
24752
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
24756
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
24757
hardcode_libdir_separator_CXX=:
24759
# Commands to make compiler produce verbose output that lists
24760
# what "hidden" libraries, object files and flags are used when
24761
# linking a shared library.
24762
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
24765
# FIXME: insert proper C++ library support
24773
# FIXME: insert proper C++ library support
24778
case $cc_basename in
24781
# FIXME: insert proper C++ library support
24786
# FIXME: insert proper C++ library support
24790
# FIXME: insert proper C++ library support
24797
case $cc_basename in
24799
# Sun C++ 4.2, 5.x and Centerline C++
24800
archive_cmds_need_lc_CXX=yes
24801
no_undefined_flag_CXX=' -zdefs'
24802
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
24803
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
24804
$CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
24806
hardcode_libdir_flag_spec_CXX='-R$libdir'
24807
hardcode_shlibpath_var_CXX=no
24809
solaris2.[0-5] | solaris2.[0-5].*) ;;
24811
# The compiler driver will combine and reorder linker options,
24812
# but understands `-z linker_flag'.
24813
# Supported since Solaris 2.6 (maybe 2.5.1?)
24814
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
24817
link_all_deplibs_CXX=yes
24819
output_verbose_link_cmd='func_echo_all'
24821
# Archives containing C++ object files must be created using
24822
# "CC -xar", where "CC" is the Sun C++ compiler. This is
24823
# necessary to make sure instantiated templates are included
24825
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
24828
# Green Hills C++ Compiler
24829
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
24831
# The C++ compiler must be used to create the archive.
24832
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
24835
# GNU C++ compiler with Solaris linker
24836
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
24837
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
24838
if $CC --version | $GREP -v '^2\.7' > /dev/null; then
24839
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
24840
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
24841
$CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
24843
# Commands to make compiler produce verbose output that lists
24844
# what "hidden" libraries, object files and flags are used when
24845
# linking a shared library.
24846
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
24848
# g++ 2.7 appears to require `-G' NOT `-shared' on this
24850
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
24851
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
24852
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
24854
# Commands to make compiler produce verbose output that lists
24855
# what "hidden" libraries, object files and flags are used when
24856
# linking a shared library.
24857
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
24860
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
24862
solaris2.[0-5] | solaris2.[0-5].*) ;;
24864
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
24872
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
24873
no_undefined_flag_CXX='${wl}-z,text'
24874
archive_cmds_need_lc_CXX=no
24875
hardcode_shlibpath_var_CXX=no
24876
runpath_var='LD_RUN_PATH'
24878
case $cc_basename in
24880
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24881
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24884
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24885
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24890
sysv5* | sco3.2v5* | sco5v6*)
24891
# Note: We can NOT use -z defs as we might desire, because we do not
24892
# link with -lc, and that would cause any symbols used from libc to
24893
# always be unresolved, which means just about no library would
24894
# ever link correctly. If we're not using GNU ld we use -z text
24895
# though, which does catch some bad symbols but isn't as heavy-handed
24897
no_undefined_flag_CXX='${wl}-z,text'
24898
allow_undefined_flag_CXX='${wl}-z,nodefs'
24899
archive_cmds_need_lc_CXX=no
24900
hardcode_shlibpath_var_CXX=no
24901
hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
24902
hardcode_libdir_separator_CXX=':'
24903
link_all_deplibs_CXX=yes
24904
export_dynamic_flag_spec_CXX='${wl}-Bexport'
24905
runpath_var='LD_RUN_PATH'
24907
case $cc_basename in
24909
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24910
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24911
old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
24912
'"$old_archive_cmds_CXX"
24913
reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
24914
'"$reload_cmds_CXX"
24917
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24918
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24924
case $cc_basename in
24926
# NonStop-UX NCC 3.20
24927
# FIXME: insert proper C++ library support
24931
# FIXME: insert proper C++ library support
24938
# FIXME: insert proper C++ library support
24943
# FIXME: insert proper C++ library support
24948
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
24949
$as_echo "$ld_shlibs_CXX" >&6; }
24950
test "$ld_shlibs_CXX" = no && can_build_shared=no
24956
## There is no encapsulation within the following macros, do not change
24957
## the running order or otherwise move them around unless you know exactly
24958
## what you are doing...
24959
# Dependencies to place before and after the object being linked:
24960
predep_objects_CXX=
24961
postdep_objects_CXX=
24964
compiler_lib_search_path_CXX=
24966
cat > conftest.$ac_ext <<_LT_EOF
24970
Foo (void) { a = 0; }
24977
_lt_libdeps_save_CFLAGS=$CFLAGS
24978
case "$CC $CFLAGS " in #(
24979
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
24980
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
24981
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
24984
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
24985
(eval $ac_compile) 2>&5
24987
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24988
test $ac_status = 0; }; then
24989
# Parse the compiler output and extract the necessary
24990
# objects, libraries and library flags.
24992
# Sentinel used to keep track of whether or not we are before
24993
# the conftest object file.
24994
pre_test_object_deps_done=no
24996
for p in `eval "$output_verbose_link_cmd"`; do
24997
case ${prev}${p} in
25000
# Some compilers place space between "-{L,R}" and the path.
25001
# Remove the space.
25002
if test $p = "-L" ||
25003
test $p = "-R"; then
25008
# Expand the sysroot to ease extracting the directories later.
25009
if test -z "$prev"; then
25011
-L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
25012
-R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
25013
-l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
25017
=*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
25019
if test "$pre_test_object_deps_done" = no; then
25022
# Internal compiler library paths should come after those
25023
# provided the user. The postdeps already come after the
25024
# user supplied libs so there is no need to process them.
25025
if test -z "$compiler_lib_search_path_CXX"; then
25026
compiler_lib_search_path_CXX="${prev}${p}"
25028
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
25031
# The "-l" case would never come before the object being
25032
# linked, so don't bother handling this case.
25035
if test -z "$postdeps_CXX"; then
25036
postdeps_CXX="${prev}${p}"
25038
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
25044
*.lto.$objext) ;; # Ignore GCC LTO objects
25046
# This assumes that the test object file only shows up
25047
# once in the compiler output.
25048
if test "$p" = "conftest.$objext"; then
25049
pre_test_object_deps_done=yes
25053
if test "$pre_test_object_deps_done" = no; then
25054
if test -z "$predep_objects_CXX"; then
25055
predep_objects_CXX="$p"
25057
predep_objects_CXX="$predep_objects_CXX $p"
25060
if test -z "$postdep_objects_CXX"; then
25061
postdep_objects_CXX="$p"
25063
postdep_objects_CXX="$postdep_objects_CXX $p"
25068
*) ;; # Ignore the rest.
25076
echo "libtool.m4: error: problem compiling CXX test program"
25079
$RM -f confest.$objext
25080
CFLAGS=$_lt_libdeps_save_CFLAGS
25082
# PORTME: override above test on systems where it is broken
25085
# Interix 3.5 installs completely hosed .la files for C++, so rather than
25086
# hack all around it, let's just trust "g++" to DTRT.
25087
predep_objects_CXX=
25088
postdep_objects_CXX=
25093
case `$CC -V 2>&1 | sed 5q` in
25097
# The more standards-conforming stlport4 library is
25098
# incompatible with the Cstd library. Avoid specifying
25099
# it if it's in CXXFLAGS. Ignore libCrun as
25100
# -library=stlport4 depends on it.
25101
case " $CXX $CXXFLAGS " in
25102
*" -library=stlport4 "*)
25103
solaris_use_stlport4=yes
25107
if test "$solaris_use_stlport4" != yes; then
25108
postdeps_CXX='-library=Cstd -library=Crun'
25115
case $cc_basename in
25117
# The more standards-conforming stlport4 library is
25118
# incompatible with the Cstd library. Avoid specifying
25119
# it if it's in CXXFLAGS. Ignore libCrun as
25120
# -library=stlport4 depends on it.
25121
case " $CXX $CXXFLAGS " in
25122
*" -library=stlport4 "*)
25123
solaris_use_stlport4=yes
25127
# Adding this requires a known-good setup of shared libraries for
25128
# Sun compiler versions before 5.6, else PIC objects from an old
25129
# archive will be linked into the output, leading to subtle bugs.
25130
if test "$solaris_use_stlport4" != yes; then
25131
postdeps_CXX='-library=Cstd -library=Crun'
25139
case " $postdeps_CXX " in
25140
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
25142
compiler_lib_search_dirs_CXX=
25143
if test -n "${compiler_lib_search_path_CXX}"; then
25144
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
25177
lt_prog_compiler_wl_CXX=
25178
lt_prog_compiler_pic_CXX=
25179
lt_prog_compiler_static_CXX=
25182
# C++ specific cases for pic, static, wl, etc.
25183
if test "$GXX" = yes; then
25184
lt_prog_compiler_wl_CXX='-Wl,'
25185
lt_prog_compiler_static_CXX='-static'
25189
# All AIX code is PIC.
25190
if test "$host_cpu" = ia64; then
25191
# AIX 5 now supports IA64 processor
25192
lt_prog_compiler_static_CXX='-Bstatic'
25199
# see comment about AmigaOS4 .so support
25200
lt_prog_compiler_pic_CXX='-fPIC'
25203
# FIXME: we need at least 68020 code to build shared libraries, but
25204
# adding the `-m68020' flag to GCC prevents building anything better,
25206
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
25211
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
25212
# PIC is the default for these OSes.
25214
mingw* | cygwin* | os2* | pw32* | cegcc*)
25215
# This hack is so that the source file can tell whether it is being
25216
# built for inclusion in a dll (and should export symbols for example).
25217
# Although the cygwin gcc ignores -fPIC, still need this for old-style
25218
# (--disable-auto-import) libraries
25219
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
25221
darwin* | rhapsody*)
25222
# PIC is the default on this platform
25223
# Common symbols not allowed in MH_DYLIB files
25224
lt_prog_compiler_pic_CXX='-fno-common'
25227
# DJGPP does not support shared libraries at all
25228
lt_prog_compiler_pic_CXX=
25231
# PIC is the default for Haiku.
25232
# The "-static" flag exists, but is broken.
25233
lt_prog_compiler_static_CXX=
25236
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
25237
# Instead, we relocate shared libraries at runtime.
25240
if test -d /usr/nec; then
25241
lt_prog_compiler_pic_CXX=-Kconform_pic
25245
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
25246
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
25247
# sets the default TLS model and affects inlining.
25252
lt_prog_compiler_pic_CXX='-fPIC'
25257
# QNX uses GNU C++, but need to define -shared option too, otherwise
25258
# it will coredump.
25259
lt_prog_compiler_pic_CXX='-fPIC -shared'
25262
lt_prog_compiler_pic_CXX='-fPIC'
25268
# All AIX code is PIC.
25269
if test "$host_cpu" = ia64; then
25270
# AIX 5 now supports IA64 processor
25271
lt_prog_compiler_static_CXX='-Bstatic'
25273
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
25277
case $cc_basename in
25279
# Green Hills C++ Compiler
25280
# _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
25284
mingw* | cygwin* | os2* | pw32* | cegcc*)
25285
# This hack is so that the source file can tell whether it is being
25286
# built for inclusion in a dll (and should export symbols for example).
25287
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
25290
case $cc_basename in
25292
lt_prog_compiler_pic_CXX='-KPIC'
25295
# Green Hills C++ Compiler
25296
lt_prog_compiler_pic_CXX='-pic'
25302
freebsd* | dragonfly*)
25303
# FreeBSD uses GNU C++
25305
hpux9* | hpux10* | hpux11*)
25306
case $cc_basename in
25308
lt_prog_compiler_wl_CXX='-Wl,'
25309
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
25310
if test "$host_cpu" != ia64; then
25311
lt_prog_compiler_pic_CXX='+Z'
25315
lt_prog_compiler_wl_CXX='-Wl,'
25316
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
25322
lt_prog_compiler_pic_CXX='+Z'
25331
# This is c89, which is MS Visual C++ (no shared libs)
25332
# Anyone wants to do a port?
25334
irix5* | irix6* | nonstopux*)
25335
case $cc_basename in
25337
lt_prog_compiler_wl_CXX='-Wl,'
25338
lt_prog_compiler_static_CXX='-non_shared'
25339
# CC pic flag -KPIC is the default.
25345
linux* | k*bsd*-gnu | kopensolaris*-gnu)
25346
case $cc_basename in
25349
lt_prog_compiler_wl_CXX='--backend -Wl,'
25350
lt_prog_compiler_pic_CXX='-fPIC'
25353
# old Intel C++ for x86_64 which still supported -KPIC.
25354
lt_prog_compiler_wl_CXX='-Wl,'
25355
lt_prog_compiler_pic_CXX='-KPIC'
25356
lt_prog_compiler_static_CXX='-static'
25359
# Intel C++, used to be incompatible with GCC.
25360
# ICC 10 doesn't accept -KPIC any more.
25361
lt_prog_compiler_wl_CXX='-Wl,'
25362
lt_prog_compiler_pic_CXX='-fPIC'
25363
lt_prog_compiler_static_CXX='-static'
25366
# Portland Group C++ compiler
25367
lt_prog_compiler_wl_CXX='-Wl,'
25368
lt_prog_compiler_pic_CXX='-fpic'
25369
lt_prog_compiler_static_CXX='-Bstatic'
25373
# Make sure the PIC flag is empty. It appears that all Alpha
25374
# Linux and Compaq Tru64 Unix objects are PIC.
25375
lt_prog_compiler_pic_CXX=
25376
lt_prog_compiler_static_CXX='-non_shared'
25378
xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
25379
# IBM XL 8.0, 9.0 on PPC and BlueGene
25380
lt_prog_compiler_wl_CXX='-Wl,'
25381
lt_prog_compiler_pic_CXX='-qpic'
25382
lt_prog_compiler_static_CXX='-qstaticlink'
25385
case `$CC -V 2>&1 | sed 5q` in
25388
lt_prog_compiler_pic_CXX='-KPIC'
25389
lt_prog_compiler_static_CXX='-Bstatic'
25390
lt_prog_compiler_wl_CXX='-Qoption ld '
25401
case $cc_basename in
25403
lt_prog_compiler_pic_CXX='-W c,exportall'
25412
# QNX uses GNU C++, but need to define -shared option too, otherwise
25413
# it will coredump.
25414
lt_prog_compiler_pic_CXX='-fPIC -shared'
25416
osf3* | osf4* | osf5*)
25417
case $cc_basename in
25419
lt_prog_compiler_wl_CXX='--backend -Wl,'
25422
# Rational C++ 2.4.1
25423
lt_prog_compiler_pic_CXX='-pic'
25426
# Digital/Compaq C++
25427
lt_prog_compiler_wl_CXX='-Wl,'
25428
# Make sure the PIC flag is empty. It appears that all Alpha
25429
# Linux and Compaq Tru64 Unix objects are PIC.
25430
lt_prog_compiler_pic_CXX=
25431
lt_prog_compiler_static_CXX='-non_shared'
25440
case $cc_basename in
25442
# Sun C++ 4.2, 5.x and Centerline C++
25443
lt_prog_compiler_pic_CXX='-KPIC'
25444
lt_prog_compiler_static_CXX='-Bstatic'
25445
lt_prog_compiler_wl_CXX='-Qoption ld '
25448
# Green Hills C++ Compiler
25449
lt_prog_compiler_pic_CXX='-PIC'
25456
case $cc_basename in
25459
lt_prog_compiler_pic_CXX='-pic'
25460
lt_prog_compiler_static_CXX='-Bstatic'
25464
lt_prog_compiler_pic_CXX='-pic'
25470
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
25471
case $cc_basename in
25473
lt_prog_compiler_wl_CXX='-Wl,'
25474
lt_prog_compiler_pic_CXX='-KPIC'
25475
lt_prog_compiler_static_CXX='-Bstatic'
25480
case $cc_basename in
25482
# NonStop-UX NCC 3.20
25483
lt_prog_compiler_pic_CXX='-KPIC'
25492
lt_prog_compiler_can_build_shared_CXX=no
25498
# For platforms which do not support PIC, -DPIC is meaningless:
25500
lt_prog_compiler_pic_CXX=
25503
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
25507
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
25508
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
25509
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
25510
$as_echo_n "(cached) " >&6
25512
lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
25514
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
25515
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
25516
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
25519
# Check to make sure the PIC flag actually works.
25521
if test -n "$lt_prog_compiler_pic_CXX"; then
25522
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
25523
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
25524
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
25525
$as_echo_n "(cached) " >&6
25527
lt_cv_prog_compiler_pic_works_CXX=no
25528
ac_outfile=conftest.$ac_objext
25529
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25530
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
25531
# Insert the option either (1) after the last *FLAGS variable, or
25532
# (2) before a word containing "conftest.", or (3) at the end.
25533
# Note that $ac_compile itself does not contain backslashes and begins
25534
# with a dollar sign (not a hyphen), so the echo should work correctly.
25535
# The option is referenced via a variable to avoid confusing sed.
25536
lt_compile=`echo "$ac_compile" | $SED \
25537
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25538
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25539
-e 's:$: $lt_compiler_flag:'`
25540
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
25541
(eval "$lt_compile" 2>conftest.err)
25543
cat conftest.err >&5
25544
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25545
if (exit $ac_status) && test -s "$ac_outfile"; then
25546
# The compiler can only warn and ignore the option if not recognized
25547
# So say no if there are warnings other than the usual output.
25548
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
25549
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
25550
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
25551
lt_cv_prog_compiler_pic_works_CXX=yes
25557
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
25558
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
25560
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
25561
case $lt_prog_compiler_pic_CXX in
25563
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
25566
lt_prog_compiler_pic_CXX=
25567
lt_prog_compiler_can_build_shared_CXX=no
25577
# Check to make sure the static flag actually works.
25579
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
25580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
25581
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
25582
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
25583
$as_echo_n "(cached) " >&6
25585
lt_cv_prog_compiler_static_works_CXX=no
25586
save_LDFLAGS="$LDFLAGS"
25587
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
25588
echo "$lt_simple_link_test_code" > conftest.$ac_ext
25589
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
25590
# The linker can only warn and ignore the option if not recognized
25591
# So say no if there are warnings
25592
if test -s conftest.err; then
25593
# Append any errors to the config.log.
25594
cat conftest.err 1>&5
25595
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
25596
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
25597
if diff conftest.exp conftest.er2 >/dev/null; then
25598
lt_cv_prog_compiler_static_works_CXX=yes
25601
lt_cv_prog_compiler_static_works_CXX=yes
25605
LDFLAGS="$save_LDFLAGS"
25608
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
25609
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
25611
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
25614
lt_prog_compiler_static_CXX=
25620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
25621
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
25622
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
25623
$as_echo_n "(cached) " >&6
25625
lt_cv_prog_compiler_c_o_CXX=no
25626
$RM -r conftest 2>/dev/null
25630
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25632
lt_compiler_flag="-o out/conftest2.$ac_objext"
25633
# Insert the option either (1) after the last *FLAGS variable, or
25634
# (2) before a word containing "conftest.", or (3) at the end.
25635
# Note that $ac_compile itself does not contain backslashes and begins
25636
# with a dollar sign (not a hyphen), so the echo should work correctly.
25637
lt_compile=`echo "$ac_compile" | $SED \
25638
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25639
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25640
-e 's:$: $lt_compiler_flag:'`
25641
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
25642
(eval "$lt_compile" 2>out/conftest.err)
25644
cat out/conftest.err >&5
25645
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25646
if (exit $ac_status) && test -s out/conftest2.$ac_objext
25648
# The compiler can only warn and ignore the option if not recognized
25649
# So say no if there are warnings
25650
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
25651
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
25652
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
25653
lt_cv_prog_compiler_c_o_CXX=yes
25658
# SGI C++ compiler will create directory out/ii_files/ for
25659
# template instantiation
25660
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
25661
$RM out/* && rmdir out
25667
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
25668
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
25672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
25673
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
25674
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
25675
$as_echo_n "(cached) " >&6
25677
lt_cv_prog_compiler_c_o_CXX=no
25678
$RM -r conftest 2>/dev/null
25682
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25684
lt_compiler_flag="-o out/conftest2.$ac_objext"
25685
# Insert the option either (1) after the last *FLAGS variable, or
25686
# (2) before a word containing "conftest.", or (3) at the end.
25687
# Note that $ac_compile itself does not contain backslashes and begins
25688
# with a dollar sign (not a hyphen), so the echo should work correctly.
25689
lt_compile=`echo "$ac_compile" | $SED \
25690
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25691
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25692
-e 's:$: $lt_compiler_flag:'`
25693
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
25694
(eval "$lt_compile" 2>out/conftest.err)
25696
cat out/conftest.err >&5
25697
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25698
if (exit $ac_status) && test -s out/conftest2.$ac_objext
25700
# The compiler can only warn and ignore the option if not recognized
25701
# So say no if there are warnings
25702
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
25703
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
25704
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
25705
lt_cv_prog_compiler_c_o_CXX=yes
25710
# SGI C++ compiler will create directory out/ii_files/ for
25711
# template instantiation
25712
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
25713
$RM out/* && rmdir out
25719
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
25720
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
25725
hard_links="nottested"
25726
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
25727
# do not overwrite the value of need_locks provided by the user
25728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
25729
$as_echo_n "checking if we can lock with hard links... " >&6; }
25732
ln conftest.a conftest.b 2>/dev/null && hard_links=no
25734
ln conftest.a conftest.b 2>&5 || hard_links=no
25735
ln conftest.a conftest.b 2>/dev/null && hard_links=no
25736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
25737
$as_echo "$hard_links" >&6; }
25738
if test "$hard_links" = no; then
25739
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
25740
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
25749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
25750
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
25752
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
25753
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
25756
# If we're using GNU nm, then we don't want the "-C" option.
25757
# -C means demangle to AIX nm, but means don't demangle with GNU nm
25758
# Also, AIX nm treats weak defined symbols like other global defined
25759
# symbols, whereas GNU nm marks them as "W".
25760
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
25761
export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
25763
export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
25767
export_symbols_cmds_CXX="$ltdll_cmds"
25769
cygwin* | mingw* | cegcc*)
25770
case $cc_basename in
25772
exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
25775
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
25776
exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
25781
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
25785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
25786
$as_echo "$ld_shlibs_CXX" >&6; }
25787
test "$ld_shlibs_CXX" = no && can_build_shared=no
25789
with_gnu_ld_CXX=$with_gnu_ld
25797
# Do we need to explicitly link libc?
25799
case "x$archive_cmds_need_lc_CXX" in
25801
# Assume -lc should be added
25802
archive_cmds_need_lc_CXX=yes
25804
if test "$enable_shared" = yes && test "$GCC" = yes; then
25805
case $archive_cmds_CXX in
25807
# FIXME: we may have to deal with multi-command sequences.
25810
# Test whether the compiler implicitly links with -lc since on some
25811
# systems, -lgcc has to come before -lc. If gcc already passes -lc
25812
# to ld, don't add -lc before -lgcc.
25813
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
25814
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
25815
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
25816
$as_echo_n "(cached) " >&6
25819
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25821
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
25822
(eval $ac_compile) 2>&5
25824
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25825
test $ac_status = 0; } 2>conftest.err; then
25828
libobjs=conftest.$ac_objext
25830
wl=$lt_prog_compiler_wl_CXX
25831
pic_flag=$lt_prog_compiler_pic_CXX
25837
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
25838
allow_undefined_flag_CXX=
25839
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
25840
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
25842
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25843
test $ac_status = 0; }
25845
lt_cv_archive_cmds_need_lc_CXX=no
25847
lt_cv_archive_cmds_need_lc_CXX=yes
25849
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
25851
cat conftest.err 1>&5
25856
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
25857
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
25858
archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
25926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
25927
$as_echo_n "checking dynamic linker characteristics... " >&6; }
25929
library_names_spec=
25930
libname_spec='lib$name'
25934
postuninstall_cmds=
25938
shlibpath_overrides_runpath=unknown
25940
dynamic_linker="$host_os ld.so"
25941
sys_lib_dlsearch_path_spec="/lib /usr/lib"
25942
need_lib_prefix=unknown
25943
hardcode_into_libs=no
25945
# when you set need_version to no, make sure it does not cause -set_version
25946
# flags to be left without arguments
25947
need_version=unknown
25951
version_type=linux # correct to gnu/linux during the next big refactor
25952
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
25953
shlibpath_var=LIBPATH
25955
# AIX 3 has no versioning support, so we append a major version to the name.
25956
soname_spec='${libname}${release}${shared_ext}$major'
25960
version_type=linux # correct to gnu/linux during the next big refactor
25963
hardcode_into_libs=yes
25964
if test "$host_cpu" = ia64; then
25965
# AIX 5 supports IA64
25966
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25967
shlibpath_var=LD_LIBRARY_PATH
25969
# With GCC up to 2.95.x, collect2 would create an import file
25970
# for dependence libraries. The import file would start with
25971
# the line `#! .'. This would cause the generated library to
25972
# depend on `.', always an invalid library. This was fixed in
25973
# development snapshots of GCC prior to 3.0.
25975
aix4 | aix4.[01] | aix4.[01].*)
25976
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25978
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
25981
can_build_shared=no
25985
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25986
# soname into executable. Probably we can add versioning support to
25987
# collect2, so additional links can be useful in future.
25988
if test "$aix_use_runtimelinking" = yes; then
25989
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
25990
# instead of lib<name>.a to let people know that these are not
25991
# typical AIX shared libraries.
25992
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25994
# We preserve .a as extension for shared libraries through AIX4.2
25995
# and later when we are not doing run time linking.
25996
library_names_spec='${libname}${release}.a $libname.a'
25997
soname_spec='${libname}${release}${shared_ext}$major'
25999
shlibpath_var=LIBPATH
26006
# Since July 2007 AmigaOS4 officially supports .so libraries.
26007
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
26008
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26011
library_names_spec='$libname.ixlibrary $libname.a'
26012
# Create ${libname}_ixlibrary.a entries in /sys/libs.
26013
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'
26019
library_names_spec='${libname}${shared_ext}'
26020
dynamic_linker="$host_os ld.so"
26021
shlibpath_var=LIBRARY_PATH
26025
version_type=linux # correct to gnu/linux during the next big refactor
26027
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26028
soname_spec='${libname}${release}${shared_ext}$major'
26029
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
26030
shlibpath_var=LD_LIBRARY_PATH
26031
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
26032
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
26033
# the default ld.so.conf also contains /usr/contrib/lib and
26034
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
26035
# libtool to hard-code these into programs
26038
cygwin* | mingw* | pw32* | cegcc*)
26039
version_type=windows
26044
case $GCC,$cc_basename in
26047
library_names_spec='$libname.dll.a'
26048
# DLL is installed to $(libdir)/../bin by postinstall_cmds
26049
postinstall_cmds='base_file=`basename \${file}`~
26050
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
26051
dldir=$destdir/`dirname \$dlpath`~
26052
test -d \$dldir || mkdir -p \$dldir~
26053
$install_prog $dir/$dlname \$dldir/$dlname~
26054
chmod a+x \$dldir/$dlname~
26055
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
26056
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
26058
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
26059
dlpath=$dir/\$dldll~
26061
shlibpath_overrides_runpath=yes
26065
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
26066
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
26070
# MinGW DLLs use traditional 'lib' prefix
26071
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
26074
# pw32 DLLs use 'pw' prefix rather than 'lib'
26075
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
26078
dynamic_linker='Win32 ld.exe'
26083
libname_spec='$name'
26084
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
26085
library_names_spec='${libname}.dll.lib'
26089
sys_lib_search_path_spec=
26092
for lt_path in $LIB
26095
# Let DOS variable expansion print the short 8.3 style file name.
26096
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
26097
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
26100
# Convert to MSYS style.
26101
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
26104
# Convert to unix form, then to dos form, then back to unix form
26105
# but this time dos style (no spaces!) so that the unix form looks
26106
# like /cygdrive/c/PROGRA~1:/cygdr...
26107
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
26108
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
26109
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
26112
sys_lib_search_path_spec="$LIB"
26113
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
26114
# It is most probably a Windows format PATH.
26115
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
26117
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
26119
# FIXME: find the short name or the path components, as spaces are
26120
# common. (e.g. "Program Files" -> "PROGRA~1")
26124
# DLL is installed to $(libdir)/../bin by postinstall_cmds
26125
postinstall_cmds='base_file=`basename \${file}`~
26126
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
26127
dldir=$destdir/`dirname \$dlpath`~
26128
test -d \$dldir || mkdir -p \$dldir~
26129
$install_prog $dir/$dlname \$dldir/$dlname'
26130
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
26131
dlpath=$dir/\$dldll~
26133
shlibpath_overrides_runpath=yes
26134
dynamic_linker='Win32 link.exe'
26138
# Assume MSVC wrapper
26139
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
26140
dynamic_linker='Win32 ld.exe'
26143
# FIXME: first we should search . and the directory the executable is in
26147
darwin* | rhapsody*)
26148
dynamic_linker="$host_os dyld"
26149
version_type=darwin
26152
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
26153
soname_spec='${libname}${release}${major}$shared_ext'
26154
shlibpath_overrides_runpath=yes
26155
shlibpath_var=DYLD_LIBRARY_PATH
26156
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
26158
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
26162
version_type=linux # correct to gnu/linux during the next big refactor
26165
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
26166
soname_spec='${libname}${release}${shared_ext}$major'
26167
shlibpath_var=LD_LIBRARY_PATH
26170
freebsd* | dragonfly*)
26171
# DragonFly does not have aout. When/if they implement a new
26172
# versioning mechanism, adjust this.
26173
if test -x /usr/bin/objformat; then
26174
objformat=`/usr/bin/objformat`
26177
freebsd[23].*) objformat=aout ;;
26178
*) objformat=elf ;;
26181
version_type=freebsd-$objformat
26182
case $version_type in
26184
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
26189
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
26193
shlibpath_var=LD_LIBRARY_PATH
26196
shlibpath_overrides_runpath=yes
26198
freebsd3.[01]* | freebsdelf3.[01]*)
26199
shlibpath_overrides_runpath=yes
26200
hardcode_into_libs=yes
26202
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
26203
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
26204
shlibpath_overrides_runpath=no
26205
hardcode_into_libs=yes
26207
*) # from 4.6 on, and DragonFly
26208
shlibpath_overrides_runpath=yes
26209
hardcode_into_libs=yes
26215
version_type=linux # correct to gnu/linux during the next big refactor
26218
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
26219
soname_spec='${libname}${release}${shared_ext}$major'
26220
shlibpath_var=LD_LIBRARY_PATH
26221
shlibpath_overrides_runpath=no
26222
hardcode_into_libs=yes
26226
version_type=linux # correct to gnu/linux during the next big refactor
26229
dynamic_linker="$host_os runtime_loader"
26230
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
26231
soname_spec='${libname}${release}${shared_ext}$major'
26232
shlibpath_var=LIBRARY_PATH
26233
shlibpath_overrides_runpath=yes
26234
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
26235
hardcode_into_libs=yes
26238
hpux9* | hpux10* | hpux11*)
26239
# Give a soname corresponding to the major version so that dld.sl refuses to
26240
# link against other versions.
26247
hardcode_into_libs=yes
26248
dynamic_linker="$host_os dld.so"
26249
shlibpath_var=LD_LIBRARY_PATH
26250
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
26251
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26252
soname_spec='${libname}${release}${shared_ext}$major'
26253
if test "X$HPUX_IA64_MODE" = X32; then
26254
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
26256
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
26258
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
26262
hardcode_into_libs=yes
26263
dynamic_linker="$host_os dld.sl"
26264
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
26265
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
26266
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26267
soname_spec='${libname}${release}${shared_ext}$major'
26268
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
26269
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
26273
dynamic_linker="$host_os dld.sl"
26274
shlibpath_var=SHLIB_PATH
26275
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
26276
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26277
soname_spec='${libname}${release}${shared_ext}$major'
26280
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
26281
postinstall_cmds='chmod 555 $lib'
26282
# or fails outright, so override atomically:
26283
install_override_mode=555
26287
version_type=linux # correct to gnu/linux during the next big refactor
26290
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26291
soname_spec='${libname}${release}${shared_ext}$major'
26292
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
26293
shlibpath_var=LD_LIBRARY_PATH
26294
shlibpath_overrides_runpath=no
26295
hardcode_into_libs=yes
26298
irix5* | irix6* | nonstopux*)
26300
nonstopux*) version_type=nonstopux ;;
26302
if test "$lt_cv_prog_gnu_ld" = yes; then
26303
version_type=linux # correct to gnu/linux during the next big refactor
26310
soname_spec='${libname}${release}${shared_ext}$major'
26311
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
26313
irix5* | nonstopux*)
26314
libsuff= shlibsuff=
26317
case $LD in # libtool.m4 will add one of these switches to LD
26318
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
26319
libsuff= shlibsuff= libmagic=32-bit;;
26320
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
26321
libsuff=32 shlibsuff=N32 libmagic=N32;;
26322
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
26323
libsuff=64 shlibsuff=64 libmagic=64-bit;;
26324
*) libsuff= shlibsuff= libmagic=never-match;;
26328
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
26329
shlibpath_overrides_runpath=no
26330
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
26331
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
26332
hardcode_into_libs=yes
26335
# No shared lib support for Linux oldld, aout, or coff.
26336
linux*oldld* | linux*aout* | linux*coff*)
26340
# This must be glibc/ELF.
26341
linux* | k*bsd*-gnu | kopensolaris*-gnu)
26342
version_type=linux # correct to gnu/linux during the next big refactor
26345
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26346
soname_spec='${libname}${release}${shared_ext}$major'
26347
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
26348
shlibpath_var=LD_LIBRARY_PATH
26349
shlibpath_overrides_runpath=no
26351
# Some binutils ld are patched to set DT_RUNPATH
26352
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
26353
$as_echo_n "(cached) " >&6
26355
lt_cv_shlibpath_overrides_runpath=no
26356
save_LDFLAGS=$LDFLAGS
26357
save_libdir=$libdir
26358
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
26359
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
26360
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26361
/* end confdefs.h. */
26371
if ac_fn_cxx_try_link "$LINENO"; then :
26372
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
26373
lt_cv_shlibpath_overrides_runpath=yes
26376
rm -f core conftest.err conftest.$ac_objext \
26377
conftest$ac_exeext conftest.$ac_ext
26378
LDFLAGS=$save_LDFLAGS
26379
libdir=$save_libdir
26383
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
26385
# This implies no fast_install, which is unacceptable.
26386
# Some rework will be needed to allow for fast_install
26387
# before this can be enabled.
26388
hardcode_into_libs=yes
26390
# Append ld.so.conf contents to the search path
26391
if test -f /etc/ld.so.conf; then
26392
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' ' '`
26393
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
26396
# We used to test for /lib/ld.so.1 and disable shared libraries on
26397
# powerpc, because MkLinux only supported shared libraries with the
26398
# GNU dynamic linker. Since this was broken with cross compilers,
26399
# most powerpc-linux boxes support dynamic linking these days and
26400
# people can always --disable-shared, the test was removed, and we
26401
# assume the GNU/Linux dynamic linker is in use.
26402
dynamic_linker='GNU/Linux ld.so'
26409
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
26410
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26411
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
26412
dynamic_linker='NetBSD (a.out) ld.so'
26414
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26415
soname_spec='${libname}${release}${shared_ext}$major'
26416
dynamic_linker='NetBSD ld.elf_so'
26418
shlibpath_var=LD_LIBRARY_PATH
26419
shlibpath_overrides_runpath=yes
26420
hardcode_into_libs=yes
26424
version_type=linux # correct to gnu/linux during the next big refactor
26425
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26426
shlibpath_var=LD_LIBRARY_PATH
26427
shlibpath_overrides_runpath=yes
26434
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26435
soname_spec='${libname}${release}${shared_ext}$major'
26436
shlibpath_var=LD_LIBRARY_PATH
26437
shlibpath_overrides_runpath=no
26438
hardcode_into_libs=yes
26439
dynamic_linker='ldqnx.so'
26444
sys_lib_dlsearch_path_spec="/usr/lib"
26446
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
26448
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
26449
*) need_version=no ;;
26451
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26452
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
26453
shlibpath_var=LD_LIBRARY_PATH
26454
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
26456
openbsd2.[89] | openbsd2.[89].*)
26457
shlibpath_overrides_runpath=no
26460
shlibpath_overrides_runpath=yes
26464
shlibpath_overrides_runpath=yes
26469
libname_spec='$name'
26472
library_names_spec='$libname${shared_ext} $libname.a'
26473
dynamic_linker='OS/2 ld.exe'
26474
shlibpath_var=LIBPATH
26477
osf3* | osf4* | osf5*)
26481
soname_spec='${libname}${release}${shared_ext}$major'
26482
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26483
shlibpath_var=LD_LIBRARY_PATH
26484
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
26485
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
26493
version_type=linux # correct to gnu/linux during the next big refactor
26496
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26497
soname_spec='${libname}${release}${shared_ext}$major'
26498
shlibpath_var=LD_LIBRARY_PATH
26499
shlibpath_overrides_runpath=yes
26500
hardcode_into_libs=yes
26501
# ldd complains unless libraries are executable
26502
postinstall_cmds='chmod +x $lib'
26507
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26508
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
26509
shlibpath_var=LD_LIBRARY_PATH
26510
shlibpath_overrides_runpath=yes
26511
if test "$with_gnu_ld" = yes; then
26518
version_type=linux # correct to gnu/linux during the next big refactor
26519
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26520
soname_spec='${libname}${release}${shared_ext}$major'
26521
shlibpath_var=LD_LIBRARY_PATH
26522
case $host_vendor in
26524
shlibpath_overrides_runpath=no
26526
runpath_var=LD_RUN_PATH
26534
shlibpath_overrides_runpath=no
26535
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
26541
if test -d /usr/nec ;then
26542
version_type=linux # correct to gnu/linux during the next big refactor
26543
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
26544
soname_spec='$libname${shared_ext}.$major'
26545
shlibpath_var=LD_LIBRARY_PATH
26549
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
26550
version_type=freebsd-elf
26553
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
26554
soname_spec='${libname}${release}${shared_ext}$major'
26555
shlibpath_var=LD_LIBRARY_PATH
26556
shlibpath_overrides_runpath=yes
26557
hardcode_into_libs=yes
26558
if test "$with_gnu_ld" = yes; then
26559
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
26561
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
26564
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
26568
sys_lib_dlsearch_path_spec='/usr/lib'
26572
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
26573
version_type=linux # correct to gnu/linux during the next big refactor
26576
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26577
shlibpath_var=LD_LIBRARY_PATH
26578
shlibpath_overrides_runpath=no
26579
hardcode_into_libs=yes
26583
version_type=linux # correct to gnu/linux during the next big refactor
26584
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26585
soname_spec='${libname}${release}${shared_ext}$major'
26586
shlibpath_var=LD_LIBRARY_PATH
26593
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
26594
$as_echo "$dynamic_linker" >&6; }
26595
test "$dynamic_linker" = no && can_build_shared=no
26597
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
26598
if test "$GCC" = yes; then
26599
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
26602
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
26603
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
26605
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
26606
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
26646
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
26647
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
26648
hardcode_action_CXX=
26649
if test -n "$hardcode_libdir_flag_spec_CXX" ||
26650
test -n "$runpath_var_CXX" ||
26651
test "X$hardcode_automatic_CXX" = "Xyes" ; then
26653
# We can hardcode non-existent directories.
26654
if test "$hardcode_direct_CXX" != no &&
26655
# If the only mechanism to avoid hardcoding is shlibpath_var, we
26656
# have to relink, otherwise we might link with an installed library
26657
# when we should be linking with a yet-to-be-installed one
26658
## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
26659
test "$hardcode_minus_L_CXX" != no; then
26660
# Linking always hardcodes the temporary library directory.
26661
hardcode_action_CXX=relink
26663
# We can link without hardcoding, and we can hardcode nonexisting dirs.
26664
hardcode_action_CXX=immediate
26667
# We cannot hardcode anything, or else we can only hardcode existing
26669
hardcode_action_CXX=unsupported
26671
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
26672
$as_echo "$hardcode_action_CXX" >&6; }
26674
if test "$hardcode_action_CXX" = relink ||
26675
test "$inherit_rpath_CXX" = yes; then
26676
# Fast installation is not supported
26677
enable_fast_install=no
26678
elif test "$shlibpath_overrides_runpath" = yes ||
26679
test "$enable_shared" = no; then
26680
# Fast installation is not necessary
26681
enable_fast_install=needless
26690
fi # test -n "$compiler"
26693
CFLAGS=$lt_save_CFLAGS
26697
with_gnu_ld=$lt_save_with_gnu_ld
26698
lt_cv_path_LDCXX=$lt_cv_path_LD
26699
lt_cv_path_LD=$lt_save_path_LD
26700
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
26701
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
26702
fi # test "$_lt_caught_CXX_error" != yes
26705
ac_cpp='$CPP $CPPFLAGS'
26706
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26707
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26708
ac_compiler_gnu=$ac_cv_c_compiler_gnu
26724
ac_config_commands="$ac_config_commands libtool"
26729
# Only expand once:
26732
# and now that that's over, put the MPI compilers back
26733
# also, the above hack incorrectly sets the base compiler as the linker
26734
if test x$with_mpi_wrappers = xyes; then :
26736
CC="$ga_mpi_unwrap_push_save_CC"
26737
CXX="$ga_mpi_unwrap_push_save_CXX"
26738
F77="$ga_mpi_unwrap_push_save_F77"
26739
FC="$ga_mpi_unwrap_push_save_FC"
26744
compiler_DEFAULT="$CC"
26745
compiler_CXX="$CXX"
26746
compiler_F77="$F77"
26749
###############################################################################
26750
# Remaining setup -- some tests, some individual components
26751
###############################################################################
26752
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
26753
$as_echo "$as_me: " >&6;}
26754
{ $as_echo "$as_me:${as_lineno-$LINENO}: Miscellaneous remaining setup" >&5
26755
$as_echo "$as_me: Miscellaneous remaining setup" >&6;}
26756
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
26757
$as_echo "$as_me: " >&6;}
26759
# Establish some preprocessor symbols.
26761
case $ga_armci_network in #(
26765
$as_echo "#define NO_SHM 1" >>confdefs.h
26768
$as_echo "#define USE_MALLOC 1" >>confdefs.h
26771
$as_echo "#define BGML 1" >>confdefs.h
26777
$as_echo "#define CLUSTER 1" >>confdefs.h
26780
$as_echo "#define CRAY_XT 1" >>confdefs.h
26783
$as_echo "#define CRAY_SHMEM 1" >>confdefs.h
26789
$as_echo "#define NO_SHM 1" >>confdefs.h
26792
$as_echo "#define ARMCIX 1" >>confdefs.h
26795
$as_echo "#define DCMF 1" >>confdefs.h
26801
$as_echo "#define PTHREADS 1" >>confdefs.h
26804
$as_echo "#define SERVER_THREAD 1" >>confdefs.h
26807
$as_echo "#define _REENTRANT 1" >>confdefs.h
26810
$as_echo "#define ACC_SMP 1" >>confdefs.h
26813
$as_echo "#define QUADRICS 1" >>confdefs.h
26815
if test x$LIBELAN_NATTACH != x; then :
26817
$as_echo "#define MULTI_CTX 1" >>confdefs.h
26821
$as_echo "#define ALLOC_MUNMAP 1" >>confdefs.h
26828
$as_echo "#define PTHREADS 1" >>confdefs.h
26831
$as_echo "#define SERVER_THREAD 1" >>confdefs.h
26834
$as_echo "#define _REENTRANT 1" >>confdefs.h
26837
$as_echo "#define ACC_SMP 1" >>confdefs.h
26840
$as_echo "#define QUADRICS 1" >>confdefs.h
26843
$as_echo "#define DOELAN4 1" >>confdefs.h
26849
$as_echo "#define LIBONESIDED 1" >>confdefs.h
26852
$as_echo "#define CRAY_UGNI 1" >>confdefs.h
26855
$as_echo "#define GEMINI 1" >>confdefs.h
26861
$as_echo "#define PTHREADS 1" >>confdefs.h
26864
$as_echo "#define DATA_SERVER 1" >>confdefs.h
26867
$as_echo "#define ALLOW_PIN 1" >>confdefs.h
26870
$as_echo "#define SERVER_THREAD 1" >>confdefs.h
26873
$as_echo "#define _REENTRANT 1" >>confdefs.h
26876
$as_echo "#define GM 1" >>confdefs.h
26882
$as_echo "#define LAPI 1" >>confdefs.h
26884
if test x$LAPI_RDMA != x; then :
26886
$as_echo "#define ALLOW_PIN 1" >>confdefs.h
26889
$as_echo "#define LAPI_RDMA 1" >>confdefs.h
26896
$as_echo "#define PTHREADS 1" >>confdefs.h
26899
$as_echo "#define DATA_SERVER 1" >>confdefs.h
26902
$as_echo "#define SERVER_THREAD 1" >>confdefs.h
26905
$as_echo "#define _REENTRANT 1" >>confdefs.h
26908
$as_echo "#define VAPI 1" >>confdefs.h
26911
$as_echo "#define ALLOW_PIN 1" >>confdefs.h
26914
$as_echo "#define MELLANOX 1" >>confdefs.h
26920
$as_echo "#define PTHREADS 1" >>confdefs.h
26923
$as_echo "#define DATA_SERVER 1" >>confdefs.h
26926
$as_echo "#define SERVER_THREAD 1" >>confdefs.h
26929
$as_echo "#define MPI_MT 1" >>confdefs.h
26935
$as_echo "#define DATA_SERVER 1" >>confdefs.h
26938
$as_echo "#define MPI_SPAWN 1" >>confdefs.h
26940
if test x$ARMCI_SPAWN_CRAY_XT != x; then :
26942
$as_echo "#define SPAWN_CRAY_XT 1" >>confdefs.h
26949
$as_echo "#define PTHREADS 1" >>confdefs.h
26952
$as_echo "#define DATA_SERVER 1" >>confdefs.h
26955
$as_echo "#define SERVER_THREAD 1" >>confdefs.h
26958
$as_echo "#define _REENTRANT 1" >>confdefs.h
26961
$as_echo "#define VAPI 1" >>confdefs.h
26964
$as_echo "#define ALLOW_PIN 1" >>confdefs.h
26967
$as_echo "#define PEND_BUFS 1" >>confdefs.h
26970
$as_echo "#define OPENIB 1" >>confdefs.h
26976
$as_echo "#define DATA_SERVER 1" >>confdefs.h
26979
$as_echo "#define _REENTRANT 1" >>confdefs.h
26982
$as_echo "#define SERVER_THREAD 1" >>confdefs.h
26985
$as_echo "#define CRAY_XT 1" >>confdefs.h
26988
$as_echo "#define PORTALS 1" >>confdefs.h
26994
$as_echo "#define DATA_SERVER 1" >>confdefs.h
26997
$as_echo "#define SOCKETS 1" >>confdefs.h
27003
$as_echo "#define PTHREADS 1" >>confdefs.h
27006
$as_echo "#define DATA_SERVER 1" >>confdefs.h
27009
$as_echo "#define SERVER_THREAD 1" >>confdefs.h
27012
$as_echo "#define _REENTRANT 1" >>confdefs.h
27015
$as_echo "#define VIA 1" >>confdefs.h
27022
if test x$REPORT_SHMMAX != x; then :
27024
$as_echo "#define REPORT_SHMMAX 1" >>confdefs.h
27027
if test x$thread_safety = xyes; then :
27029
$as_echo "#define POSIX_THREADS 1" >>confdefs.h
27032
$as_echo "#define _REENTRANT 1" >>confdefs.h
27038
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for remote shell" >&5
27039
$as_echo "$as_me: checking for remote shell" >&6;}
27040
for ac_prog in rsh remsh ssh
27042
# Extract the first word of "$ac_prog", so it can be a program name with args.
27043
set dummy $ac_prog; ac_word=$2
27044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27045
$as_echo_n "checking for $ac_word... " >&6; }
27046
if ${ac_cv_path_ga_cv_path_rsh+:} false; then :
27047
$as_echo_n "(cached) " >&6
27049
case $ga_cv_path_rsh in
27051
ac_cv_path_ga_cv_path_rsh="$ga_cv_path_rsh" # Let the user override the test with a path.
27054
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27055
for as_dir in $PATH
27058
test -z "$as_dir" && as_dir=.
27059
for ac_exec_ext in '' $ac_executable_extensions; do
27060
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27061
ac_cv_path_ga_cv_path_rsh="$as_dir/$ac_word$ac_exec_ext"
27062
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27072
ga_cv_path_rsh=$ac_cv_path_ga_cv_path_rsh
27073
if test -n "$ga_cv_path_rsh"; then
27074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ga_cv_path_rsh" >&5
27075
$as_echo "$ga_cv_path_rsh" >&6; }
27077
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27078
$as_echo "no" >&6; }
27082
test -n "$ga_cv_path_rsh" && break
27084
test -n "$ga_cv_path_rsh" || ga_cv_path_rsh="not found"
27086
if test "x$ga_cv_path_rsh" = "xnot found"; then :
27087
as_fn_error $? "Could not find remote shell for use by TCGMSG" "$LINENO" 5
27090
cat >>confdefs.h <<_ACEOF
27091
#define TCGMSG_RSH "$ga_cv_path_rsh"
27096
$as_echo "#define TCGMSG_TIMINGS 1" >>confdefs.h
27100
# TODO not sure, but thus far required for 'dist' target at least
27101
if test x != x; then
27102
RANDOM_ACCESS_TRUE=
27103
RANDOM_ACCESS_FALSE='#'
27105
RANDOM_ACCESS_TRUE='#'
27106
RANDOM_ACCESS_FALSE=
27110
# Whether to use PIC for the inline GCC code.
27111
if test x$enable_shared = xyes; then
27112
ENABLE_SHARED_TRUE=
27113
ENABLE_SHARED_FALSE='#'
27115
ENABLE_SHARED_TRUE='#'
27116
ENABLE_SHARED_FALSE=
27120
if test "x$ga_cv_target" = xLINUX64; then :
27121
case $host_cpu in #(
27122
x86_64|ppc64|ia64) :
27124
$as_echo "#define NEED_MEM_SYNC 1" >>confdefs.h
27130
if test "x$host_cpu" = xPWR4; then :
27132
$as_echo "#define NEED_MEM_SYNC 1" >>confdefs.h
27136
###############################################################################
27138
###############################################################################
27140
if test "x$NPROCS" = x; then :
27145
case $ga_msg_comms in #(
27147
TCGEXEC="`pwd`/parallel.x" ;; #(
27151
if test "x$MPIEXEC" = x; then :
27152
for ac_prog in mpirun mpiexec
27154
# Extract the first word of "$ac_prog", so it can be a program name with args.
27155
set dummy $ac_prog; ac_word=$2
27156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27157
$as_echo_n "checking for $ac_word... " >&6; }
27158
if ${ac_cv_path_MPIEXEC+:} false; then :
27159
$as_echo_n "(cached) " >&6
27163
ac_cv_path_MPIEXEC="$MPIEXEC" # Let the user override the test with a path.
27166
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27167
for as_dir in $PATH
27170
test -z "$as_dir" && as_dir=.
27171
for ac_exec_ext in '' $ac_executable_extensions; do
27172
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27173
ac_cv_path_MPIEXEC="$as_dir/$ac_word$ac_exec_ext"
27174
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27184
MPIEXEC=$ac_cv_path_MPIEXEC
27185
if test -n "$MPIEXEC"; then
27186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MPIEXEC" >&5
27187
$as_echo "$MPIEXEC" >&6; }
27189
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27190
$as_echo "no" >&6; }
27194
test -n "$MPIEXEC" && break
27197
MPIEXEC="$MPIEXEC -n %NP%"
27205
###############################################################################
27207
###############################################################################
27208
ac_config_files="$ac_config_files Makefile"
27210
cat >confcache <<\_ACEOF
27211
# This file is a shell script that caches the results of configure
27212
# tests run on this system so they can be shared between configure
27213
# scripts and configure runs, see configure's option --config-cache.
27214
# It is not useful on other systems. If it contains results you don't
27215
# want to keep, you may remove or edit it.
27217
# config.status only pays attention to the cache file if you give it
27218
# the --recheck option to rerun configure.
27220
# `ac_cv_env_foo' variables (set or unset) will be overridden when
27221
# loading this file, other *unset* `ac_cv_foo' will be assigned the
27222
# following values.
27226
# The following way of writing the cache mishandles newlines in values,
27227
# but we know of no workaround that is simple, portable, and efficient.
27228
# So, we kill variables containing newlines.
27229
# Ultrix sh set writes to stderr and can't be redirected directly,
27230
# and sets the high bit in the cache file unless we assign to the vars.
27232
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27233
eval ac_val=\$$ac_var
27237
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
27238
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
27241
_ | IFS | as_nl) ;; #(
27242
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
27243
*) { eval $ac_var=; unset $ac_var;} ;;
27249
case $as_nl`(ac_space=' '; set) 2>&1` in #(
27250
*${as_nl}ac_space=\ *)
27251
# `set' does not quote correctly, so add quotes: double-quote
27252
# substitution turns \\\\ into \\, and sed turns \\ into \.
27255
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27258
# `set' quotes correctly as required by POSIX, so do not add quotes.
27259
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27268
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27270
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27272
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27273
if test -w "$cache_file"; then
27274
if test "x$cache_file" != "x/dev/null"; then
27275
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
27276
$as_echo "$as_me: updating cache $cache_file" >&6;}
27277
if test ! -f "$cache_file" || test -h "$cache_file"; then
27278
cat confcache >"$cache_file"
27280
case $cache_file in #(
27282
mv -f confcache "$cache_file"$$ &&
27283
mv -f "$cache_file"$$ "$cache_file" ;; #(
27285
mv -f confcache "$cache_file" ;;
27290
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
27291
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27296
test "x$prefix" = xNONE && prefix=$ac_default_prefix
27297
# Let make expand exec_prefix.
27298
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
27300
DEFS=-DHAVE_CONFIG_H
27305
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
27306
# 1. Remove the extension, and $U if already installed.
27307
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
27308
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
27309
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
27310
# will be set to the directory where LIBOBJS objects are built.
27311
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
27312
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
27314
LIBOBJS=$ac_libobjs
27316
LTLIBOBJS=$ac_ltlibobjs
27319
if test -z "${BGL_TRUE}" && test -z "${BGL_FALSE}"; then
27320
as_fn_error $? "conditional \"BGL\" was never defined.
27321
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27323
if test -z "${BGP_TRUE}" && test -z "${BGP_FALSE}"; then
27324
as_fn_error $? "conditional \"BGP\" was never defined.
27325
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27327
if test -z "${CATAMOUNT_TRUE}" && test -z "${CATAMOUNT_FALSE}"; then
27328
as_fn_error $? "conditional \"CATAMOUNT\" was never defined.
27329
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27331
if test -z "${CRAY_SV1_TRUE}" && test -z "${CRAY_SV1_FALSE}"; then
27332
as_fn_error $? "conditional \"CRAY_SV1\" was never defined.
27333
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27335
if test -z "${CRAY_SV2_TRUE}" && test -z "${CRAY_SV2_FALSE}"; then
27336
as_fn_error $? "conditional \"CRAY_SV2\" was never defined.
27337
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27339
if test -z "${CRAY_T3E_TRUE}" && test -z "${CRAY_T3E_FALSE}"; then
27340
as_fn_error $? "conditional \"CRAY_T3E\" was never defined.
27341
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27343
if test -z "${CRAY_XT_TRUE}" && test -z "${CRAY_XT_FALSE}"; then
27344
as_fn_error $? "conditional \"CRAY_XT\" was never defined.
27345
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27347
if test -z "${CRAY_YMP_TRUE}" && test -z "${CRAY_YMP_FALSE}"; then
27348
as_fn_error $? "conditional \"CRAY_YMP\" was never defined.
27349
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27351
if test -z "${CYGNUS_TRUE}" && test -z "${CYGNUS_FALSE}"; then
27352
as_fn_error $? "conditional \"CYGNUS\" was never defined.
27353
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27355
if test -z "${CYGWIN_TRUE}" && test -z "${CYGWIN_FALSE}"; then
27356
as_fn_error $? "conditional \"CYGWIN\" was never defined.
27357
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27359
if test -z "${DECOSF_TRUE}" && test -z "${DECOSF_FALSE}"; then
27360
as_fn_error $? "conditional \"DECOSF\" was never defined.
27361
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27363
if test -z "${FUJITSU_VPP_TRUE}" && test -z "${FUJITSU_VPP_FALSE}"; then
27364
as_fn_error $? "conditional \"FUJITSU_VPP\" was never defined.
27365
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27367
if test -z "${HITACHI_TRUE}" && test -z "${HITACHI_FALSE}"; then
27368
as_fn_error $? "conditional \"HITACHI\" was never defined.
27369
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27371
if test -z "${HPUX_TRUE}" && test -z "${HPUX_FALSE}"; then
27372
as_fn_error $? "conditional \"HPUX\" was never defined.
27373
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27375
if test -z "${IBM_TRUE}" && test -z "${IBM_FALSE}"; then
27376
as_fn_error $? "conditional \"IBM\" was never defined.
27377
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27379
if test -z "${INTERIX_TRUE}" && test -z "${INTERIX_FALSE}"; then
27380
as_fn_error $? "conditional \"INTERIX\" was never defined.
27381
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27383
if test -z "${LAPI_TRUE}" && test -z "${LAPI_FALSE}"; then
27384
as_fn_error $? "conditional \"LAPI\" was never defined.
27385
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27387
if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
27388
as_fn_error $? "conditional \"LINUX\" was never defined.
27389
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27391
if test -z "${MACX_TRUE}" && test -z "${MACX_FALSE}"; then
27392
as_fn_error $? "conditional \"MACX\" was never defined.
27393
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27395
if test -z "${NEC_TRUE}" && test -z "${NEC_FALSE}"; then
27396
as_fn_error $? "conditional \"NEC\" was never defined.
27397
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27399
if test -z "${SGI_TRUE}" && test -z "${SGI_FALSE}"; then
27400
as_fn_error $? "conditional \"SGI\" was never defined.
27401
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27403
if test -z "${SGI_N32_TRUE}" && test -z "${SGI_N32_FALSE}"; then
27404
as_fn_error $? "conditional \"SGI_N32\" was never defined.
27405
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27407
if test -z "${SGITFP_TRUE}" && test -z "${SGITFP_FALSE}"; then
27408
as_fn_error $? "conditional \"SGITFP\" was never defined.
27409
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27411
if test -z "${SOLARIS_TRUE}" && test -z "${SOLARIS_FALSE}"; then
27412
as_fn_error $? "conditional \"SOLARIS\" was never defined.
27413
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27415
if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
27416
as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
27417
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27419
if test -n "$EXEEXT"; then
27421
am__EXEEXT_FALSE='#'
27423
am__EXEEXT_TRUE='#'
27427
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
27428
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
27429
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27431
if test -z "${MSG_COMMS_MPI_TRUE}" && test -z "${MSG_COMMS_MPI_FALSE}"; then
27432
as_fn_error $? "conditional \"MSG_COMMS_MPI\" was never defined.
27433
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27435
if test -z "${MSG_COMMS_TCGMSG4_TRUE}" && test -z "${MSG_COMMS_TCGMSG4_FALSE}"; then
27436
as_fn_error $? "conditional \"MSG_COMMS_TCGMSG4\" was never defined.
27437
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27439
if test -z "${MSG_COMMS_TCGMSG5_TRUE}" && test -z "${MSG_COMMS_TCGMSG5_FALSE}"; then
27440
as_fn_error $? "conditional \"MSG_COMMS_TCGMSG5\" was never defined.
27441
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27443
if test -z "${PORTALS_ENABLE_NEW_MALLOC_TRUE}" && test -z "${PORTALS_ENABLE_NEW_MALLOC_FALSE}"; then
27444
as_fn_error $? "conditional \"PORTALS_ENABLE_NEW_MALLOC\" was never defined.
27445
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27447
if test -z "${ARMCI_ENABLE_GPC_CALLS_TRUE}" && test -z "${ARMCI_ENABLE_GPC_CALLS_FALSE}"; then
27448
as_fn_error $? "conditional \"ARMCI_ENABLE_GPC_CALLS\" was never defined.
27449
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27451
if test -z "${ARMCI_GROUP_TRUE}" && test -z "${ARMCI_GROUP_FALSE}"; then
27452
as_fn_error $? "conditional \"ARMCI_GROUP\" was never defined.
27453
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27455
if test -z "${NB_NONCONT_TRUE}" && test -z "${NB_NONCONT_FALSE}"; then
27456
as_fn_error $? "conditional \"NB_NONCONT\" was never defined.
27457
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27459
if test -z "${ENABLE_PROFILING_TRUE}" && test -z "${ENABLE_PROFILING_FALSE}"; then
27460
as_fn_error $? "conditional \"ENABLE_PROFILING\" was never defined.
27461
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27463
if test -z "${ENABLE_CHECKPOINT_TRUE}" && test -z "${ENABLE_CHECKPOINT_FALSE}"; then
27464
as_fn_error $? "conditional \"ENABLE_CHECKPOINT\" was never defined.
27465
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27467
if test -z "${ENABLE_TRACE_TRUE}" && test -z "${ENABLE_TRACE_FALSE}"; then
27468
as_fn_error $? "conditional \"ENABLE_TRACE\" was never defined.
27469
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27471
if test -z "${THREAD_SAFE_TRUE}" && test -z "${THREAD_SAFE_FALSE}"; then
27472
as_fn_error $? "conditional \"THREAD_SAFE\" was never defined.
27473
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27475
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27476
as_fn_error $? "conditional \"AMDEP\" was never defined.
27477
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27479
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27480
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
27481
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27483
if test -z "${HAVE_ARMCI_GROUP_COMM_TRUE}" && test -z "${HAVE_ARMCI_GROUP_COMM_FALSE}"; then
27484
as_fn_error $? "conditional \"HAVE_ARMCI_GROUP_COMM\" was never defined.
27485
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27487
if test -z "${HAVE_ARMCI_GROUP_COMM_MEMBER_TRUE}" && test -z "${HAVE_ARMCI_GROUP_COMM_MEMBER_FALSE}"; then
27488
as_fn_error $? "conditional \"HAVE_ARMCI_GROUP_COMM_MEMBER\" was never defined.
27489
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27491
if test -z "${HAVE_ARMCI_INITIALIZED_TRUE}" && test -z "${HAVE_ARMCI_INITIALIZED_FALSE}"; then
27492
as_fn_error $? "conditional \"HAVE_ARMCI_INITIALIZED\" was never defined.
27493
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27495
if test -z "${HAVE_ARMCI_STRIDE_INFO_INIT_TRUE}" && test -z "${HAVE_ARMCI_STRIDE_INFO_INIT_FALSE}"; then
27496
as_fn_error $? "conditional \"HAVE_ARMCI_STRIDE_INFO_INIT\" was never defined.
27497
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27499
if test -z "${HAVE_ARMCI_NOTIFY_TRUE}" && test -z "${HAVE_ARMCI_NOTIFY_FALSE}"; then
27500
as_fn_error $? "conditional \"HAVE_ARMCI_NOTIFY\" was never defined.
27501
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27503
if test -z "${HAVE_ARMCI_MSG_INIT_TRUE}" && test -z "${HAVE_ARMCI_MSG_INIT_FALSE}"; then
27504
as_fn_error $? "conditional \"HAVE_ARMCI_MSG_INIT\" was never defined.
27505
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27507
if test -z "${HAVE_ARMCI_MSG_FINALIZE_TRUE}" && test -z "${HAVE_ARMCI_MSG_FINALIZE_FALSE}"; then
27508
as_fn_error $? "conditional \"HAVE_ARMCI_MSG_FINALIZE\" was never defined.
27509
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27511
if test -z "${HAVE_ARMCI_GROUP_COMM_TRUE}" && test -z "${HAVE_ARMCI_GROUP_COMM_FALSE}"; then
27512
as_fn_error $? "conditional \"HAVE_ARMCI_GROUP_COMM\" was never defined.
27513
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27515
if test -z "${HAVE_ARMCI_GROUP_COMM_MEMBER_TRUE}" && test -z "${HAVE_ARMCI_GROUP_COMM_MEMBER_FALSE}"; then
27516
as_fn_error $? "conditional \"HAVE_ARMCI_GROUP_COMM_MEMBER\" was never defined.
27517
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27519
if test -z "${HAVE_ARMCI_INITIALIZED_TRUE}" && test -z "${HAVE_ARMCI_INITIALIZED_FALSE}"; then
27520
as_fn_error $? "conditional \"HAVE_ARMCI_INITIALIZED\" was never defined.
27521
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27523
if test -z "${HAVE_ARMCI_STRIDE_INFO_INIT_TRUE}" && test -z "${HAVE_ARMCI_STRIDE_INFO_INIT_FALSE}"; then
27524
as_fn_error $? "conditional \"HAVE_ARMCI_STRIDE_INFO_INIT\" was never defined.
27525
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27527
if test -z "${HAVE_ARMCI_NOTIFY_TRUE}" && test -z "${HAVE_ARMCI_NOTIFY_FALSE}"; then
27528
as_fn_error $? "conditional \"HAVE_ARMCI_NOTIFY\" was never defined.
27529
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27531
if test -z "${HAVE_ARMCI_MSG_INIT_TRUE}" && test -z "${HAVE_ARMCI_MSG_INIT_FALSE}"; then
27532
as_fn_error $? "conditional \"HAVE_ARMCI_MSG_INIT\" was never defined.
27533
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27535
if test -z "${HAVE_ARMCI_MSG_FINALIZE_TRUE}" && test -z "${HAVE_ARMCI_MSG_FINALIZE_FALSE}"; then
27536
as_fn_error $? "conditional \"HAVE_ARMCI_MSG_FINALIZE\" was never defined.
27537
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27539
if test -z "${ARMCI_NETWORK_ARMCI_TRUE}" && test -z "${ARMCI_NETWORK_ARMCI_FALSE}"; then
27540
as_fn_error $? "conditional \"ARMCI_NETWORK_ARMCI\" was never defined.
27541
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27543
if test -z "${ARMCI_NETWORK_BGML_TRUE}" && test -z "${ARMCI_NETWORK_BGML_FALSE}"; then
27544
as_fn_error $? "conditional \"ARMCI_NETWORK_BGML\" was never defined.
27545
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27547
if test -z "${ARMCI_NETWORK_CRAY_SHMEM_TRUE}" && test -z "${ARMCI_NETWORK_CRAY_SHMEM_FALSE}"; then
27548
as_fn_error $? "conditional \"ARMCI_NETWORK_CRAY_SHMEM\" was never defined.
27549
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27551
if test -z "${ARMCI_NETWORK_DCMF_TRUE}" && test -z "${ARMCI_NETWORK_DCMF_FALSE}"; then
27552
as_fn_error $? "conditional \"ARMCI_NETWORK_DCMF\" was never defined.
27553
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27555
if test -z "${ARMCI_NETWORK_DMAPP_TRUE}" && test -z "${ARMCI_NETWORK_DMAPP_FALSE}"; then
27556
as_fn_error $? "conditional \"ARMCI_NETWORK_DMAPP\" was never defined.
27557
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27559
if test -z "${ARMCI_NETWORK_LAPI_TRUE}" && test -z "${ARMCI_NETWORK_LAPI_FALSE}"; then
27560
as_fn_error $? "conditional \"ARMCI_NETWORK_LAPI\" was never defined.
27561
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27563
if test -z "${ARMCI_NETWORK_MPI_TS_TRUE}" && test -z "${ARMCI_NETWORK_MPI_TS_FALSE}"; then
27564
as_fn_error $? "conditional \"ARMCI_NETWORK_MPI_TS\" was never defined.
27565
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27567
if test -z "${ARMCI_NETWORK_MPI_MT_TRUE}" && test -z "${ARMCI_NETWORK_MPI_MT_FALSE}"; then
27568
as_fn_error $? "conditional \"ARMCI_NETWORK_MPI_MT\" was never defined.
27569
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27571
if test -z "${ARMCI_NETWORK_MPI_SPAWN_TRUE}" && test -z "${ARMCI_NETWORK_MPI_SPAWN_FALSE}"; then
27572
as_fn_error $? "conditional \"ARMCI_NETWORK_MPI_SPAWN\" was never defined.
27573
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27575
if test -z "${ARMCI_NETWORK_OFA_TRUE}" && test -z "${ARMCI_NETWORK_OFA_FALSE}"; then
27576
as_fn_error $? "conditional \"ARMCI_NETWORK_OFA\" was never defined.
27577
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27579
if test -z "${ARMCI_NETWORK_OPENIB_TRUE}" && test -z "${ARMCI_NETWORK_OPENIB_FALSE}"; then
27580
as_fn_error $? "conditional \"ARMCI_NETWORK_OPENIB\" was never defined.
27581
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27583
if test -z "${ARMCI_NETWORK_GEMINI_TRUE}" && test -z "${ARMCI_NETWORK_GEMINI_FALSE}"; then
27584
as_fn_error $? "conditional \"ARMCI_NETWORK_GEMINI\" was never defined.
27585
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27587
if test -z "${ARMCI_NETWORK_PORTALS_TRUE}" && test -z "${ARMCI_NETWORK_PORTALS_FALSE}"; then
27588
as_fn_error $? "conditional \"ARMCI_NETWORK_PORTALS\" was never defined.
27589
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27591
if test -z "${ARMCI_NETWORK_SOCKETS_TRUE}" && test -z "${ARMCI_NETWORK_SOCKETS_FALSE}"; then
27592
as_fn_error $? "conditional \"ARMCI_NETWORK_SOCKETS\" was never defined.
27593
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27595
if test -z "${DCMF_VER_2_TRUE}" && test -z "${DCMF_VER_2_FALSE}"; then
27596
as_fn_error $? "conditional \"DCMF_VER_2\" was never defined.
27597
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27599
if test -z "${DCMF_VER_0_2_TRUE}" && test -z "${DCMF_VER_0_2_FALSE}"; then
27600
as_fn_error $? "conditional \"DCMF_VER_0_2\" was never defined.
27601
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27603
if test -z "${DCMF_VER_0_3_TRUE}" && test -z "${DCMF_VER_0_3_FALSE}"; then
27604
as_fn_error $? "conditional \"DCMF_VER_0_3\" was never defined.
27605
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27607
if test -z "${ARMCI_SRC_DIR_PORTALS_TRUE}" && test -z "${ARMCI_SRC_DIR_PORTALS_FALSE}"; then
27608
as_fn_error $? "conditional \"ARMCI_SRC_DIR_PORTALS\" was never defined.
27609
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27611
if test -z "${ARMCI_SRC_DIR_GEMINI_TRUE}" && test -z "${ARMCI_SRC_DIR_GEMINI_FALSE}"; then
27612
as_fn_error $? "conditional \"ARMCI_SRC_DIR_GEMINI\" was never defined.
27613
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27615
if test -z "${ARMCI_SRC_DIR_COMEX_TRUE}" && test -z "${ARMCI_SRC_DIR_COMEX_FALSE}"; then
27616
as_fn_error $? "conditional \"ARMCI_SRC_DIR_COMEX\" was never defined.
27617
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27619
if test -z "${ARMCI_SRC_DIR_SRC_TRUE}" && test -z "${ARMCI_SRC_DIR_SRC_FALSE}"; then
27620
as_fn_error $? "conditional \"ARMCI_SRC_DIR_SRC\" was never defined.
27621
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27623
if test -z "${CRAY_XT_NETWORKS_TRUE}" && test -z "${CRAY_XT_NETWORKS_FALSE}"; then
27624
as_fn_error $? "conditional \"CRAY_XT_NETWORKS\" was never defined.
27625
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27627
if test -z "${SYSV_TRUE}" && test -z "${SYSV_FALSE}"; then
27628
as_fn_error $? "conditional \"SYSV\" was never defined.
27629
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27631
if test -z "${HAVE_ARMCI_GROUP_COMM_MEMBER_TRUE}" && test -z "${HAVE_ARMCI_GROUP_COMM_MEMBER_FALSE}"; then
27632
as_fn_error $? "conditional \"HAVE_ARMCI_GROUP_COMM_MEMBER\" was never defined.
27633
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27635
if test -z "${HAVE_ARMCI_GROUP_COMM_TRUE}" && test -z "${HAVE_ARMCI_GROUP_COMM_FALSE}"; then
27636
as_fn_error $? "conditional \"HAVE_ARMCI_GROUP_COMM\" was never defined.
27637
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27639
if test -z "${HAVE_ARMCI_INITIALIZED_TRUE}" && test -z "${HAVE_ARMCI_INITIALIZED_FALSE}"; then
27640
as_fn_error $? "conditional \"HAVE_ARMCI_INITIALIZED\" was never defined.
27641
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27643
if test -z "${HAVE_ARMCI_NOTIFY_TRUE}" && test -z "${HAVE_ARMCI_NOTIFY_FALSE}"; then
27644
as_fn_error $? "conditional \"HAVE_ARMCI_NOTIFY\" was never defined.
27645
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27647
if test -z "${HAVE_ARMCI_MSG_INIT_TRUE}" && test -z "${HAVE_ARMCI_MSG_INIT_FALSE}"; then
27648
as_fn_error $? "conditional \"HAVE_ARMCI_MSG_INIT\" was never defined.
27649
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27651
if test -z "${HAVE_ARMCI_MSG_FINALIZE_TRUE}" && test -z "${HAVE_ARMCI_MSG_FINALIZE_FALSE}"; then
27652
as_fn_error $? "conditional \"HAVE_ARMCI_MSG_FINALIZE\" was never defined.
27653
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27655
if test -z "${HAVE_ARMCI_STRIDE_INFO_INIT_TRUE}" && test -z "${HAVE_ARMCI_STRIDE_INFO_INIT_FALSE}"; then
27656
as_fn_error $? "conditional \"HAVE_ARMCI_STRIDE_INFO_INIT\" was never defined.
27657
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27659
if test -z "${HAVE_SYS_WEAK_ALIAS_PRAGMA_TRUE}" && test -z "${HAVE_SYS_WEAK_ALIAS_PRAGMA_FALSE}"; then
27660
as_fn_error $? "conditional \"HAVE_SYS_WEAK_ALIAS_PRAGMA\" was never defined.
27661
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27663
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
27664
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
27665
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27667
if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
27668
as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
27669
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27671
if test -z "${HAVE_BLAS_TRUE}" && test -z "${HAVE_BLAS_FALSE}"; then
27672
as_fn_error $? "conditional \"HAVE_BLAS\" was never defined.
27673
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27675
if test -z "${HAVE_LAPACK_TRUE}" && test -z "${HAVE_LAPACK_FALSE}"; then
27676
as_fn_error $? "conditional \"HAVE_LAPACK\" was never defined.
27677
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27679
if test -z "${RANDOM_ACCESS_TRUE}" && test -z "${RANDOM_ACCESS_FALSE}"; then
27680
as_fn_error $? "conditional \"RANDOM_ACCESS\" was never defined.
27681
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27683
if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
27684
as_fn_error $? "conditional \"ENABLE_SHARED\" was never defined.
27685
Usually this means the macro was only invoked conditionally." "$LINENO" 5
27688
: "${CONFIG_STATUS=./config.status}"
27690
ac_clean_files_save=$ac_clean_files
27691
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
27692
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
27693
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
27695
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
27697
# Generated by $as_me.
27698
# Run this file to recreate the current configuration.
27699
# Compiler output produced by configure, useful for debugging
27700
# configure, is in config.log if it exists.
27703
ac_cs_recheck=false
27706
SHELL=\${CONFIG_SHELL-$SHELL}
27709
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
27710
## -------------------- ##
27711
## M4sh Initialization. ##
27712
## -------------------- ##
27714
# Be more Bourne compatible
27715
DUALCASE=1; export DUALCASE # for MKS sh
27716
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
27719
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27720
# is contrary to our usage. Disable this feature.
27721
alias -g '${1+"$@"}'='"$@"'
27722
setopt NO_GLOB_SUBST
27724
case `(set -o) 2>/dev/null` in #(
27736
# Printing a long string crashes Solaris 7 /usr/bin/printf.
27737
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
27738
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
27739
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
27740
# Prefer a ksh shell builtin over an external printf program on Solaris,
27741
# but without wasting forks for bash or zsh.
27742
if test -z "$BASH_VERSION$ZSH_VERSION" \
27743
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
27744
as_echo='print -r --'
27745
as_echo_n='print -rn --'
27746
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
27747
as_echo='printf %s\n'
27748
as_echo_n='printf %s'
27750
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
27751
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
27752
as_echo_n='/usr/ucb/echo -n'
27754
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
27755
as_echo_n_body='eval
27759
expr "X$arg" : "X\\(.*\\)$as_nl";
27760
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
27762
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
27764
export as_echo_n_body
27765
as_echo_n='sh -c $as_echo_n_body as_echo'
27767
export as_echo_body
27768
as_echo='sh -c $as_echo_body as_echo'
27771
# The user is always right.
27772
if test "${PATH_SEPARATOR+set}" != set; then
27774
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
27775
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
27782
# We need space, tab and new line, in precisely that order. Quoting is
27783
# there to prevent editors from complaining about space-tab.
27784
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
27785
# splitting by setting IFS to empty value.)
27788
# Find who we are. Look in the path if we contain no directory separator.
27791
*[\\/]* ) as_myself=$0 ;;
27792
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27793
for as_dir in $PATH
27796
test -z "$as_dir" && as_dir=.
27797
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27803
# We did not find ourselves, most probably we were run as `sh COMMAND'
27804
# in which case we are not to be found in the path.
27805
if test "x$as_myself" = x; then
27808
if test ! -f "$as_myself"; then
27809
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27813
# Unset variables that we do not need and which cause bugs (e.g. in
27814
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
27815
# suppresses any "Segmentation fault" message there. '((' could
27816
# trigger a bug in pdksh 5.2.14.
27817
for as_var in BASH_ENV ENV MAIL MAILPATH
27818
do eval test x\${$as_var+set} = xset \
27819
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
27832
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27835
# as_fn_error STATUS ERROR [LINENO LOG_FD]
27836
# ----------------------------------------
27837
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
27838
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
27839
# script with STATUS, using 1 if that was 0.
27842
as_status=$1; test $as_status -eq 0 && as_status=1
27844
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
27845
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
27847
$as_echo "$as_me: error: $2" >&2
27848
as_fn_exit $as_status
27852
# as_fn_set_status STATUS
27853
# -----------------------
27854
# Set $? to STATUS, without forking.
27855
as_fn_set_status ()
27858
} # as_fn_set_status
27860
# as_fn_exit STATUS
27861
# -----------------
27862
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
27866
as_fn_set_status $1
27872
# Portably unset VAR.
27875
{ eval $1=; unset $1;}
27877
as_unset=as_fn_unset
27878
# as_fn_append VAR VALUE
27879
# ----------------------
27880
# Append the text in VALUE to the end of the definition contained in VAR. Take
27881
# advantage of any shell optimizations that allow amortized linear growth over
27882
# repeated appends, instead of the typical quadratic growth present in naive
27884
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
27885
eval 'as_fn_append ()
27896
# as_fn_arith ARG...
27897
# ------------------
27898
# Perform arithmetic evaluation on the ARGs, and store the result in the
27899
# global $as_val. Take advantage of shells that can avoid forks. The arguments
27900
# must be portable across $(()) and expr.
27901
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
27902
eval 'as_fn_arith ()
27909
as_val=`expr "$@" || test $? -eq 1`
27914
if expr a : '\(a\)' >/dev/null 2>&1 &&
27915
test "X`expr 00001 : '.*\(...\)'`" = X001; then
27921
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27922
as_basename=basename
27927
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
27933
as_me=`$as_basename -- "$0" ||
27934
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27935
X"$0" : 'X\(//\)$' \| \
27936
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27938
sed '/^.*\/\([^/][^/]*\)\/*$/{
27952
# Avoid depending upon Character Ranges.
27953
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27954
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27955
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27956
as_cr_digits='0123456789'
27957
as_cr_alnum=$as_cr_Letters$as_cr_digits
27959
ECHO_C= ECHO_N= ECHO_T=
27960
case `echo -n x` in #(((((
27962
case `echo 'xy\c'` in
27963
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
27965
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
27972
rm -f conf$$ conf$$.exe conf$$.file
27973
if test -d conf$$.dir; then
27974
rm -f conf$$.dir/conf$$.file
27977
mkdir conf$$.dir 2>/dev/null
27979
if (echo >conf$$.file) 2>/dev/null; then
27980
if ln -s conf$$.file conf$$ 2>/dev/null; then
27982
# ... but there are two gotchas:
27983
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27984
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27985
# In both cases, we have to default to `cp -pR'.
27986
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
27988
elif ln conf$$.file conf$$ 2>/dev/null; then
27996
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
27997
rmdir conf$$.dir 2>/dev/null
28002
# Create "$as_dir" as a directory, including parents if necessary.
28007
-*) as_dir=./$as_dir;;
28009
test -d "$as_dir" || eval $as_mkdir_p || {
28013
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
28014
*) as_qdir=$as_dir;;
28016
as_dirs="'$as_qdir' $as_dirs"
28017
as_dir=`$as_dirname -- "$as_dir" ||
28018
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28019
X"$as_dir" : 'X\(//\)[^/]' \| \
28020
X"$as_dir" : 'X\(//\)$' \| \
28021
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
28022
$as_echo X"$as_dir" |
28023
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28027
/^X\(\/\/\)[^/].*/{
28040
test -d "$as_dir" && break
28042
test -z "$as_dirs" || eval "mkdir $as_dirs"
28043
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
28047
if mkdir -p . 2>/dev/null; then
28048
as_mkdir_p='mkdir -p "$as_dir"'
28050
test -d ./-p && rmdir ./-p
28055
# as_fn_executable_p FILE
28056
# -----------------------
28057
# Test if FILE is an executable regular file.
28058
as_fn_executable_p ()
28060
test -f "$1" && test -x "$1"
28061
} # as_fn_executable_p
28062
as_test_x='test -x'
28063
as_executable_p=as_fn_executable_p
28065
# Sed expression to map a string onto a valid CPP name.
28066
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28068
# Sed expression to map a string onto a valid variable name.
28069
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28073
## ----------------------------------- ##
28074
## Main body of $CONFIG_STATUS script. ##
28075
## ----------------------------------- ##
28077
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
28079
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28080
# Save the log message, to keep $0 and so on meaningful, and to
28081
# report actual input values of CONFIG_FILES etc. instead of their
28082
# values after options handling.
28084
This file was extended by Aggregate Remote Memory Copy Interface (ARMCI) $as_me 1.5, which was
28085
generated by GNU Autoconf 2.69. Invocation command line was
28087
CONFIG_FILES = $CONFIG_FILES
28088
CONFIG_HEADERS = $CONFIG_HEADERS
28089
CONFIG_LINKS = $CONFIG_LINKS
28090
CONFIG_COMMANDS = $CONFIG_COMMANDS
28093
on `(hostname || uname -n) 2>/dev/null | sed 1q`
28098
case $ac_config_files in *"
28099
"*) set x $ac_config_files; shift; ac_config_files=$*;;
28102
case $ac_config_headers in *"
28103
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
28107
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28108
# Files that config.status was made for.
28109
config_files="$ac_config_files"
28110
config_headers="$ac_config_headers"
28111
config_commands="$ac_config_commands"
28115
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28117
\`$as_me' instantiates files and other configuration actions
28118
from templates according to the current configuration. Unless the files
28119
and actions are specified as TAGs, all are instantiated by default.
28121
Usage: $0 [OPTION]... [TAG]...
28123
-h, --help print this help, then exit
28124
-V, --version print version number and configuration settings, then exit
28125
--config print configuration, then exit
28126
-q, --quiet, --silent
28127
do not print progress messages
28128
-d, --debug don't remove temporary files
28129
--recheck update $as_me by reconfiguring in the same conditions
28130
--file=FILE[:TEMPLATE]
28131
instantiate the configuration file FILE
28132
--header=FILE[:TEMPLATE]
28133
instantiate the configuration header FILE
28135
Configuration files:
28138
Configuration headers:
28141
Configuration commands:
28144
Report bugs to <hpctools@pnl.gov>.
28145
Aggregate Remote Memory Copy Interface (ARMCI) home page: <http://www.emsl.pnl.gov/docs/parsoft/armci/>."
28148
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28149
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
28151
Aggregate Remote Memory Copy Interface (ARMCI) config.status 1.5
28152
configured by $0, generated by GNU Autoconf 2.69,
28153
with options \\"\$ac_cs_config\\"
28155
Copyright (C) 2012 Free Software Foundation, Inc.
28156
This config.status script is free software; the Free Software Foundation
28157
gives unlimited permission to copy, distribute and modify it."
28164
test -n "\$AWK" || AWK=awk
28167
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28168
# The default lists apply if the user does not specify any file.
28174
ac_option=`expr "X$1" : 'X\([^=]*\)='`
28175
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
28179
ac_option=`expr "X$1" : 'X\([^=]*\)='`
28191
# Handling of the options.
28192
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
28194
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
28195
$as_echo "$ac_cs_version"; exit ;;
28196
--config | --confi | --conf | --con | --co | --c )
28197
$as_echo "$ac_cs_config"; exit ;;
28198
--debug | --debu | --deb | --de | --d | -d )
28200
--file | --fil | --fi | --f )
28203
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
28204
'') as_fn_error $? "missing file argument" ;;
28206
as_fn_append CONFIG_FILES " '$ac_optarg'"
28207
ac_need_defaults=false;;
28208
--header | --heade | --head | --hea )
28211
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
28213
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
28214
ac_need_defaults=false;;
28216
# Conflict between --help and --header
28217
as_fn_error $? "ambiguous option: \`$1'
28218
Try \`$0 --help' for more information.";;
28219
--help | --hel | -h )
28220
$as_echo "$ac_cs_usage"; exit ;;
28221
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
28222
| -silent | --silent | --silen | --sile | --sil | --si | --s)
28225
# This is an error.
28226
-*) as_fn_error $? "unrecognized option: \`$1'
28227
Try \`$0 --help' for more information." ;;
28229
*) as_fn_append ac_config_targets " $1"
28230
ac_need_defaults=false ;;
28236
ac_configure_extra_args=
28238
if $ac_cs_silent; then
28240
ac_configure_extra_args="$ac_configure_extra_args --silent"
28244
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28245
if \$ac_cs_recheck; then
28246
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28248
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
28249
CONFIG_SHELL='$SHELL'
28250
export CONFIG_SHELL
28255
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28259
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28260
## Running $as_me. ##
28266
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28270
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28273
# The HP-UX ksh and POSIX shell print the target directory to stdout
28274
# if CDPATH is set.
28275
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
28277
sed_quote_subst='$sed_quote_subst'
28278
double_quote_subst='$double_quote_subst'
28279
delay_variable_subst='$delay_variable_subst'
28280
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
28281
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
28282
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
28283
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
28284
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
28285
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
28286
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
28287
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
28288
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
28289
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
28290
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
28291
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
28292
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
28293
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
28294
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
28295
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
28296
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
28297
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
28298
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
28299
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
28300
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
28301
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
28302
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
28303
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
28304
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
28305
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
28306
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
28307
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
28308
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
28309
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
28310
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
28311
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
28312
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
28313
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
28314
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
28315
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
28316
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
28317
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
28318
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
28319
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
28320
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
28321
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
28322
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
28323
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
28324
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
28325
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
28326
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
28327
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
28328
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
28329
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
28330
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
28331
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
28332
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
28333
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
28334
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
28335
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
28336
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"`'
28337
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
28338
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
28339
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
28340
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
28341
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
28342
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
28343
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
28344
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
28345
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
28346
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
28347
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
28348
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
28349
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
28350
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
28351
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
28352
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
28353
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
28354
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
28355
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
28356
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
28357
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
28358
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
28359
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
28360
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
28361
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
28362
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
28363
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
28364
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
28365
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
28366
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
28367
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
28368
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
28369
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
28370
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
28371
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
28372
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
28373
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
28374
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
28375
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
28376
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
28377
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
28378
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
28379
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
28380
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
28381
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
28382
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
28383
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
28384
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
28385
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
28386
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
28387
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
28388
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
28389
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
28390
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
28391
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
28392
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
28393
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
28394
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
28395
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
28396
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
28397
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
28398
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
28399
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
28400
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
28401
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
28402
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
28403
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
28404
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
28405
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
28406
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
28407
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
28408
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
28409
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
28410
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
28411
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
28412
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
28413
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
28414
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
28415
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
28416
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
28417
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
28418
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28419
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28420
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
28421
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
28422
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
28423
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
28424
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
28425
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
28426
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
28427
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
28428
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
28429
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
28430
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
28431
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
28432
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28433
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28434
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28435
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28436
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28437
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28438
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
28439
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
28440
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
28441
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
28442
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
28443
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
28444
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
28445
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
28446
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
28447
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
28448
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
28449
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
28450
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
28451
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28452
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
28453
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
28454
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28455
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28456
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
28457
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
28458
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
28459
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
28460
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
28461
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
28462
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
28463
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
28466
LTCFLAGS='$LTCFLAGS'
28467
compiler='$compiler_DEFAULT'
28469
# A function that is used when there is no print builtin or printf.
28470
func_fallback_echo ()
28472
eval 'cat <<_LTECHO_EOF
28477
# Quote evaled strings.
28492
deplibs_check_method \
28497
sharedlib_from_linklib_cmd \
28500
archiver_list_spec \
28506
lt_cv_sys_global_symbol_pipe \
28507
lt_cv_sys_global_symbol_to_cdecl \
28508
lt_cv_sys_global_symbol_to_c_name_address \
28509
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
28510
nm_file_list_spec \
28511
lt_prog_compiler_no_builtin_flag \
28512
lt_prog_compiler_pic \
28513
lt_prog_compiler_wl \
28514
lt_prog_compiler_static \
28515
lt_cv_prog_compiler_c_o \
28524
export_dynamic_flag_spec \
28525
whole_archive_flag_spec \
28526
compiler_needs_object \
28528
allow_undefined_flag \
28529
no_undefined_flag \
28530
hardcode_libdir_flag_spec \
28531
hardcode_libdir_separator \
28535
variables_saved_for_relink \
28537
library_names_spec \
28539
install_override_mode \
28543
compiler_lib_search_dirs \
28548
compiler_lib_search_path \
28552
lt_prog_compiler_no_builtin_flag_CXX \
28553
lt_prog_compiler_pic_CXX \
28554
lt_prog_compiler_wl_CXX \
28555
lt_prog_compiler_static_CXX \
28556
lt_cv_prog_compiler_c_o_CXX \
28557
export_dynamic_flag_spec_CXX \
28558
whole_archive_flag_spec_CXX \
28559
compiler_needs_object_CXX \
28561
allow_undefined_flag_CXX \
28562
no_undefined_flag_CXX \
28563
hardcode_libdir_flag_spec_CXX \
28564
hardcode_libdir_separator_CXX \
28565
exclude_expsyms_CXX \
28566
include_expsyms_CXX \
28567
file_list_spec_CXX \
28568
compiler_lib_search_dirs_CXX \
28569
predep_objects_CXX \
28570
postdep_objects_CXX \
28573
compiler_lib_search_path_CXX; do
28574
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
28575
*[\\\\\\\`\\"\\\$]*)
28576
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
28579
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28584
# Double-quote double-evaled strings.
28585
for var in reload_cmds \
28586
old_postinstall_cmds \
28587
old_postuninstall_cmds \
28589
extract_expsyms_cmds \
28590
old_archive_from_new_cmds \
28591
old_archive_from_expsyms_cmds \
28593
archive_expsym_cmds \
28595
module_expsym_cmds \
28596
export_symbols_cmds \
28600
postuninstall_cmds \
28602
sys_lib_search_path_spec \
28603
sys_lib_dlsearch_path_spec \
28605
old_archive_cmds_CXX \
28606
old_archive_from_new_cmds_CXX \
28607
old_archive_from_expsyms_cmds_CXX \
28609
archive_expsym_cmds_CXX \
28611
module_expsym_cmds_CXX \
28612
export_symbols_cmds_CXX \
28614
postlink_cmds_CXX; do
28615
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
28616
*[\\\\\\\`\\"\\\$]*)
28617
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
28620
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28625
ac_aux_dir='$ac_aux_dir'
28626
xsi_shell='$xsi_shell'
28627
lt_shell_append='$lt_shell_append'
28629
# See if we are running on zsh, and set the options which allow our
28630
# commands through without removal of \ escapes INIT.
28631
if test -n "\${ZSH_VERSION+set}" ; then
28632
setopt NO_GLOB_SUBST
28638
TIMESTAMP='$TIMESTAMP'
28649
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28651
# Handling of arguments.
28652
for ac_config_target in $ac_config_targets
28654
case $ac_config_target in
28655
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
28656
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
28657
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
28658
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
28660
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
28665
# If the user did not use the arguments to specify the items to instantiate,
28666
# then the envvar interface is used. Set only those that are not.
28667
# We use the long form for the default assignment because of an extremely
28668
# bizarre bug on SunOS 4.1.3.
28669
if $ac_need_defaults; then
28670
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
28671
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
28672
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
28675
# Have a temporary directory for convenience. Make it in the build tree
28676
# simply because there is no reason against having it here, and in addition,
28677
# creating and moving files from /tmp can sometimes cause problems.
28678
# Hook for its removal unless debugging.
28679
# Note that there is a small window in which the directory will not be cleaned:
28680
# after its creation but before its name has been assigned to `$tmp'.
28684
trap 'exit_status=$?
28685
: "${ac_tmp:=$tmp}"
28686
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
28688
trap 'as_fn_exit 1' 1 2 13 15
28690
# Create a (secure) tmp directory for tmp files.
28693
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
28697
tmp=./conf$$-$RANDOM
28698
(umask 077 && mkdir "$tmp")
28699
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
28702
# Set up the scripts for CONFIG_FILES section.
28703
# No need to generate them if there are no CONFIG_FILES.
28704
# This happens for instance with `./config.status config.h'.
28705
if test -n "$CONFIG_FILES"; then
28708
ac_cr=`echo X | tr X '\015'`
28709
# On cygwin, bash can eat \r inside `` if the user requested igncr.
28710
# But we know of no other shell where ac_cr would be empty at this
28711
# point, so we can use a bashism as a fallback.
28712
if test "x$ac_cr" = x; then
28713
eval ac_cr=\$\'\\r\'
28715
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
28716
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
28719
ac_cs_awk_cr=$ac_cr
28722
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
28727
echo "cat >conf$$subs.awk <<_ACEOF" &&
28728
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
28730
} >conf$$subs.sh ||
28731
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28732
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
28734
for ac_last_try in false false false false false :; do
28735
. ./conf$$subs.sh ||
28736
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28738
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
28739
if test $ac_delim_n = $ac_delim_num; then
28741
elif $ac_last_try; then
28742
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28744
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28747
rm -f conf$$subs.sh
28749
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28750
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
28754
s/^/S["/; s/!.*/"]=/
28764
s/\(.\{148\}\)..*/\1/
28766
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
28771
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28778
s/\(.\{148\}\)..*/\1/
28780
s/["\\]/\\&/g; s/^/"/; s/$/"/
28784
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28789
' <conf$$subs.awk | sed '
28794
' >>$CONFIG_STATUS || ac_write_fail=1
28795
rm -f conf$$subs.awk
28796
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28798
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
28799
for (key in S) S_is_set[key] = 1
28805
nfields = split(line, field, "@")
28807
len = length(field[1])
28808
for (i = 2; i < nfields; i++) {
28810
keylen = length(key)
28811
if (S_is_set[key]) {
28813
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
28814
len += length(value) + length(field[++i])
28825
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28826
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
28827
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
28830
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
28831
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
28834
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
28835
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
28836
# trailing colons and then remove the whole line if VPATH becomes empty
28837
# (actually we leave an empty line to preserve line numbers).
28838
if test "x$srcdir" = x.; then
28839
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
28857
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28858
fi # test -n "$CONFIG_FILES"
28860
# Set up the scripts for CONFIG_HEADERS section.
28861
# No need to generate them if there are no CONFIG_HEADERS.
28862
# This happens for instance with `./config.status Makefile'.
28863
if test -n "$CONFIG_HEADERS"; then
28864
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
28868
# Transform confdefs.h into an awk script `defines.awk', embedded as
28869
# here-document in config.status, that substitutes the proper values into
28870
# config.h.in to produce config.h.
28872
# Create a delimiter string that does not exist in confdefs.h, to ease
28873
# handling of long lines.
28875
for ac_last_try in false false :; do
28876
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
28877
if test -z "$ac_tt"; then
28879
elif $ac_last_try; then
28880
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
28882
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28886
# For the awk script, D is an array of macro values keyed by name,
28887
# likewise P contains macro parameters if any. Preserve backslash
28888
# newline sequences.
28890
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28892
s/.\{148\}/&'"$ac_delim"'/g
28895
s/^[ ]*#[ ]*define[ ][ ]*/ /
28902
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
28904
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
28908
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
28909
D["\1"]=" \3\\\\\\n"\\/p
28911
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
28916
s/.\{148\}/&'"$ac_delim"'/g
28921
s/["\\]/\\&/g; s/^/"/; s/$/"/p
28924
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
28926
' <confdefs.h | sed '
28927
s/'"$ac_delim"'/"\\\
28928
"/g' >>$CONFIG_STATUS || ac_write_fail=1
28930
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28931
for (key in D) D_is_set[key] = 1
28934
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28936
split(line, arg, " ")
28937
if (arg[1] == "#") {
28941
defundef = substr(arg[1], 2)
28944
split(mac1, mac2, "(") #)
28946
prefix = substr(line, 1, index(line, defundef) - 1)
28947
if (D_is_set[macro]) {
28948
# Preserve the white space surrounding the "#".
28949
print prefix "define", macro P[macro] D[macro]
28952
# Replace #undef with comments. This is necessary, for example,
28953
# in the case of _POSIX_SOURCE, which is predefined and required
28954
# on some systems where configure will not decide to define it.
28955
if (defundef == "undef") {
28956
print "/*", prefix defundef, macro, "*/"
28964
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28965
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
28966
fi # test -n "$CONFIG_HEADERS"
28969
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28974
:[FHLC]) ac_mode=$ac_tag; continue;;
28976
case $ac_mode$ac_tag in
28978
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
28979
:[FH]-) ac_tag=-:-;;
28980
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
28997
-) ac_f="$ac_tmp/stdin";;
28998
*) # Look for the file first in the build tree, then in the source tree
28999
# (if the path is not absolute). The absolute path cannot be DOS-style,
29000
# because $ac_f cannot contain `:'.
29004
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
29006
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
29008
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
29009
as_fn_append ac_file_inputs " '$ac_f'"
29012
# Let's still pretend it is `configure' which instantiates (i.e., don't
29013
# use $as_me), people would be surprised to read:
29014
# /* config.h. Generated by config.status. */
29015
configure_input='Generated from '`
29016
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
29018
if test x"$ac_file" != x-; then
29019
configure_input="$ac_file. $configure_input"
29020
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
29021
$as_echo "$as_me: creating $ac_file" >&6;}
29023
# Neutralize special characters interpreted by sed in replacement strings.
29024
case $configure_input in #(
29025
*\&* | *\|* | *\\* )
29026
ac_sed_conf_input=`$as_echo "$configure_input" |
29027
sed 's/[\\\\&|]/\\\\&/g'`;; #(
29028
*) ac_sed_conf_input=$configure_input;;
29032
*:-:* | *:-) cat >"$ac_tmp/stdin" \
29033
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
29038
ac_dir=`$as_dirname -- "$ac_file" ||
29039
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29040
X"$ac_file" : 'X\(//\)[^/]' \| \
29041
X"$ac_file" : 'X\(//\)$' \| \
29042
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
29043
$as_echo X"$ac_file" |
29044
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29048
/^X\(\/\/\)[^/].*/{
29061
as_dir="$ac_dir"; as_fn_mkdir_p
29065
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
29067
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
29068
# A ".." for each directory in $ac_dir_suffix.
29069
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
29070
case $ac_top_builddir_sub in
29071
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
29072
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
29075
ac_abs_top_builddir=$ac_pwd
29076
ac_abs_builddir=$ac_pwd$ac_dir_suffix
29077
# for backward compatibility:
29078
ac_top_builddir=$ac_top_build_prefix
29081
.) # We are building in place.
29083
ac_top_srcdir=$ac_top_builddir_sub
29084
ac_abs_top_srcdir=$ac_pwd ;;
29085
[\\/]* | ?:[\\/]* ) # Absolute name.
29086
ac_srcdir=$srcdir$ac_dir_suffix;
29087
ac_top_srcdir=$srcdir
29088
ac_abs_top_srcdir=$srcdir ;;
29089
*) # Relative name.
29090
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
29091
ac_top_srcdir=$ac_top_build_prefix$srcdir
29092
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
29094
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
29104
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
29105
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
29107
ac_MKDIR_P=$MKDIR_P
29109
[\\/$]* | ?:[\\/]* ) ;;
29110
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
29114
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29115
# If the template does not know about datarootdir, expand it.
29116
# FIXME: This hack should be removed a few years after 2.60.
29117
ac_datarootdir_hack=; ac_datarootdir_seen=
29128
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
29129
*datarootdir*) ac_datarootdir_seen=yes;;
29130
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
29131
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
29132
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
29134
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29135
ac_datarootdir_hack='
29136
s&@datadir@&$datadir&g
29137
s&@docdir@&$docdir&g
29138
s&@infodir@&$infodir&g
29139
s&@localedir@&$localedir&g
29140
s&@mandir@&$mandir&g
29141
s&\\\${datarootdir}&$datarootdir&g' ;;
29145
# Neutralize VPATH when `$srcdir' = `.'.
29146
# Shell code in configure.ac might set extrasub.
29147
# FIXME: do we really want to maintain this feature?
29148
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29149
ac_sed_extra="$ac_vpsub
29152
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29154
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29155
s|@configure_input@|$ac_sed_conf_input|;t t
29156
s&@top_builddir@&$ac_top_builddir_sub&;t t
29157
s&@top_build_prefix@&$ac_top_build_prefix&;t t
29158
s&@srcdir@&$ac_srcdir&;t t
29159
s&@abs_srcdir@&$ac_abs_srcdir&;t t
29160
s&@top_srcdir@&$ac_top_srcdir&;t t
29161
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
29162
s&@builddir@&$ac_builddir&;t t
29163
s&@abs_builddir@&$ac_abs_builddir&;t t
29164
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
29165
s&@INSTALL@&$ac_INSTALL&;t t
29166
s&@MKDIR_P@&$ac_MKDIR_P&;t t
29167
$ac_datarootdir_hack
29169
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
29170
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29172
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
29173
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
29174
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
29175
"$ac_tmp/out"`; test -z "$ac_out"; } &&
29176
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29177
which seems to be undefined. Please make sure it is defined" >&5
29178
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29179
which seems to be undefined. Please make sure it is defined" >&2;}
29181
rm -f "$ac_tmp/stdin"
29183
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
29184
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
29186
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
29192
if test x"$ac_file" != x-; then
29194
$as_echo "/* $configure_input */" \
29195
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
29196
} >"$ac_tmp/config.h" \
29197
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
29198
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
29199
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
29200
$as_echo "$as_me: $ac_file is unchanged" >&6;}
29203
mv "$ac_tmp/config.h" "$ac_file" \
29204
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
29207
$as_echo "/* $configure_input */" \
29208
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
29209
|| as_fn_error $? "could not create -" "$LINENO" 5
29211
# Compute "$ac_file"'s index in $config_headers.
29214
for _am_header in $config_headers :; do
29215
case $_am_header in
29216
$_am_arg | $_am_arg:* )
29219
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
29222
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
29223
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29224
X"$_am_arg" : 'X\(//\)[^/]' \| \
29225
X"$_am_arg" : 'X\(//\)$' \| \
29226
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
29227
$as_echo X"$_am_arg" |
29228
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29232
/^X\(\/\/\)[^/].*/{
29244
s/.*/./; q'`/stamp-h$_am_stamp_count
29247
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
29248
$as_echo "$as_me: executing $ac_file commands" >&6;}
29253
case $ac_file$ac_mode in
29254
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
29255
# Autoconf 2.62 quotes --file arguments for eval, but not when files
29256
# are listed without --file. Let's play safe and only enable the eval
29257
# if we detect the quoting.
29258
case $CONFIG_FILES in
29259
*\'*) eval set x "$CONFIG_FILES" ;;
29260
*) set x $CONFIG_FILES ;;
29265
# Strip MF so we end up with the name of the file.
29266
mf=`echo "$mf" | sed -e 's/:.*$//'`
29267
# Check whether this is an Automake generated Makefile or not.
29268
# We used to match only the files named `Makefile.in', but
29269
# some people rename them; so instead we look at the file content.
29270
# Grep'ing the first line is not enough: some people post-process
29271
# each Makefile.in and add a new line on top of each file to say so.
29272
# Grep'ing the whole file is not good either: AIX grep has a line
29273
# limit of 2048, but all sed's we know have understand at least 4000.
29274
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
29275
dirpart=`$as_dirname -- "$mf" ||
29276
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29277
X"$mf" : 'X\(//\)[^/]' \| \
29278
X"$mf" : 'X\(//\)$' \| \
29279
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
29281
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29285
/^X\(\/\/\)[^/].*/{
29301
# Extract the definition of DEPDIR, am__include, and am__quote
29302
# from the Makefile without running `make'.
29303
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
29304
test -z "$DEPDIR" && continue
29305
am__include=`sed -n 's/^am__include = //p' < "$mf"`
29306
test -z "am__include" && continue
29307
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
29308
# When using ansi2knr, U may be empty or an underscore; expand it
29309
U=`sed -n 's/^U = //p' < "$mf"`
29310
# Find all dependency output files, they are included files with
29311
# $(DEPDIR) in their names. We invoke sed twice because it is the
29312
# simplest approach to changing $(DEPDIR) to its actual value in the
29314
for file in `sed -n "
29315
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
29316
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
29317
# Make sure the directory exists.
29318
test -f "$dirpart/$file" && continue
29319
fdir=`$as_dirname -- "$file" ||
29320
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29321
X"$file" : 'X\(//\)[^/]' \| \
29322
X"$file" : 'X\(//\)$' \| \
29323
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
29324
$as_echo X"$file" |
29325
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29329
/^X\(\/\/\)[^/].*/{
29342
as_dir=$dirpart/$fdir; as_fn_mkdir_p
29343
# echo "creating $dirpart/$file"
29344
echo '# dummy' > "$dirpart/$file"
29351
# See if we are running on zsh, and set the options which allow our
29352
# commands through without removal of \ escapes.
29353
if test -n "${ZSH_VERSION+set}" ; then
29354
setopt NO_GLOB_SUBST
29357
cfgfile="${ofile}T"
29358
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
29361
cat <<_LT_EOF >> "$cfgfile"
29364
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
29365
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
29366
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
29367
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
29369
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
29370
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
29372
# Written by Gordon Matzigkeit, 1996
29374
# This file is part of GNU Libtool.
29376
# GNU Libtool is free software; you can redistribute it and/or
29377
# modify it under the terms of the GNU General Public License as
29378
# published by the Free Software Foundation; either version 2 of
29379
# the License, or (at your option) any later version.
29381
# As a special exception to the GNU General Public License,
29382
# if you distribute this file as part of a program or library that
29383
# is built using GNU Libtool, you may include this file under the
29384
# same distribution terms that you use for the rest of that program.
29386
# GNU Libtool is distributed in the hope that it will be useful,
29387
# but WITHOUT ANY WARRANTY; without even the implied warranty of
29388
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29389
# GNU General Public License for more details.
29391
# You should have received a copy of the GNU General Public License
29392
# along with GNU Libtool; see the file COPYING. If not, a copy
29393
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
29394
# obtained by writing to the Free Software Foundation, Inc.,
29395
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
29398
# The names of the tagged configurations supported by this script.
29399
available_tags="CXX "
29401
# ### BEGIN LIBTOOL CONFIG
29403
# Which release of libtool.m4 was used?
29404
macro_version=$macro_version
29405
macro_revision=$macro_revision
29407
# Whether or not to build shared libraries.
29408
build_libtool_libs=$enable_shared
29410
# Whether or not to build static libraries.
29411
build_old_libs=$enable_static
29413
# What type of objects to build.
29416
# Whether or not to optimize for fast installation.
29417
fast_install=$enable_fast_install
29419
# Shell to use when invoking shell scripts.
29422
# An echo program that protects backslashes.
29425
# The PATH separator for the build system.
29426
PATH_SEPARATOR=$lt_PATH_SEPARATOR
29429
host_alias=$host_alias
29433
# The build system.
29434
build_alias=$build_alias
29438
# A sed program that does not truncate output.
29441
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
29442
Xsed="\$SED -e 1s/^X//"
29444
# A grep program that handles long lines.
29450
# A literal string matcher.
29453
# A BSD- or MS-compatible name lister.
29456
# Whether we need soft or hard links.
29459
# What is the maximum length of a command?
29460
max_cmd_len=$max_cmd_len
29462
# Object file suffix (normally "o").
29465
# Executable file suffix (normally "").
29468
# whether the shell understands "unset".
29471
# turn spaces into newlines.
29474
# turn newlines into spaces.
29477
# convert \$build file names to \$host format.
29478
to_host_file_cmd=$lt_cv_to_host_file_cmd
29480
# convert \$build files to toolchain format.
29481
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
29483
# An object symbol dumper.
29484
OBJDUMP=$lt_OBJDUMP
29486
# Method to check whether dependent libraries are shared objects.
29487
deplibs_check_method=$lt_deplibs_check_method
29489
# Command to use when deplibs_check_method = "file_magic".
29490
file_magic_cmd=$lt_file_magic_cmd
29492
# How to find potential files when deplibs_check_method = "file_magic".
29493
file_magic_glob=$lt_file_magic_glob
29495
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
29496
want_nocaseglob=$lt_want_nocaseglob
29498
# DLL creation program.
29499
DLLTOOL=$lt_DLLTOOL
29501
# Command to associate shared and link libraries.
29502
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
29507
# Flags to create an archive.
29508
AR_FLAGS=$lt_AR_FLAGS
29510
# How to feed a file listing to the archiver.
29511
archiver_list_spec=$lt_archiver_list_spec
29513
# A symbol stripping program.
29516
# Commands used to install an old-style archive.
29518
old_postinstall_cmds=$lt_old_postinstall_cmds
29519
old_postuninstall_cmds=$lt_old_postuninstall_cmds
29521
# Whether to use a lock for old archive extraction.
29522
lock_old_archive_extraction=$lock_old_archive_extraction
29527
# LTCC compiler flags.
29528
LTCFLAGS=$lt_CFLAGS
29530
# Take the output of nm and produce a listing of raw symbols and C names.
29531
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
29533
# Transform the output of nm in a proper C declaration.
29534
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
29536
# Transform the output of nm in a C name address pair.
29537
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
29539
# Transform the output of nm in a C name address pair when lib prefix is needed.
29540
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
29542
# Specify filename containing input files for \$NM.
29543
nm_file_list_spec=$lt_nm_file_list_spec
29545
# The root where to search for dependent libraries,and in which our libraries should be installed.
29546
lt_sysroot=$lt_sysroot
29548
# The name of the directory that contains temporary libtool files.
29551
# Used to examine libraries when file_magic_cmd begins with "file".
29552
MAGIC_CMD=$MAGIC_CMD
29554
# Must we lock files when doing compilation?
29555
need_locks=$lt_need_locks
29558
MANIFEST_TOOL=$lt_MANIFEST_TOOL
29560
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
29561
DSYMUTIL=$lt_DSYMUTIL
29563
# Tool to change global to local symbols on Mac OS X.
29566
# Tool to manipulate fat objects and archives on Mac OS X.
29569
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
29572
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
29573
OTOOL64=$lt_OTOOL64
29575
# Old archive suffix (normally "a").
29578
# Shared library suffix (normally ".so").
29579
shrext_cmds=$lt_shrext_cmds
29581
# The commands to extract the exported symbol list from a shared archive.
29582
extract_expsyms_cmds=$lt_extract_expsyms_cmds
29584
# Variables whose values should be saved in libtool wrapper scripts and
29585
# restored at link time.
29586
variables_saved_for_relink=$lt_variables_saved_for_relink
29588
# Do we need the "lib" prefix for modules?
29589
need_lib_prefix=$need_lib_prefix
29591
# Do we need a version for libraries?
29592
need_version=$need_version
29594
# Library versioning type.
29595
version_type=$version_type
29597
# Shared library runtime path variable.
29598
runpath_var=$runpath_var
29600
# Shared library path variable.
29601
shlibpath_var=$shlibpath_var
29603
# Is shlibpath searched before the hard-coded library search path?
29604
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
29606
# Format of library name prefix.
29607
libname_spec=$lt_libname_spec
29609
# List of archive names. First name is the real one, the rest are links.
29610
# The last name is the one that the linker finds with -lNAME
29611
library_names_spec=$lt_library_names_spec
29613
# The coded name of the library, if different from the real name.
29614
soname_spec=$lt_soname_spec
29616
# Permission mode override for installation of shared libraries.
29617
install_override_mode=$lt_install_override_mode
29619
# Command to use after installation of a shared archive.
29620
postinstall_cmds=$lt_postinstall_cmds
29622
# Command to use after uninstallation of a shared archive.
29623
postuninstall_cmds=$lt_postuninstall_cmds
29625
# Commands used to finish a libtool library installation in a directory.
29626
finish_cmds=$lt_finish_cmds
29628
# As "finish_cmds", except a single script fragment to be evaled but
29630
finish_eval=$lt_finish_eval
29632
# Whether we should hardcode library paths into libraries.
29633
hardcode_into_libs=$hardcode_into_libs
29635
# Compile-time system search path for libraries.
29636
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
29638
# Run-time system search path for libraries.
29639
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
29641
# Whether dlopen is supported.
29642
dlopen_support=$enable_dlopen
29644
# Whether dlopen of programs is supported.
29645
dlopen_self=$enable_dlopen_self
29647
# Whether dlopen of statically linked programs is supported.
29648
dlopen_self_static=$enable_dlopen_self_static
29650
# Commands to strip libraries.
29651
old_striplib=$lt_old_striplib
29652
striplib=$lt_striplib
29655
# The linker used to build libraries.
29658
# How to create reloadable object files.
29659
reload_flag=$lt_reload_flag
29660
reload_cmds=$lt_reload_cmds
29662
# Commands used to build an old-style archive.
29663
old_archive_cmds=$lt_old_archive_cmds
29665
# A language specific compiler.
29668
# Is the compiler the GNU compiler?
29671
# Compiler flag to turn off builtin functions.
29672
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
29674
# Additional compiler flags for building library objects.
29675
pic_flag=$lt_lt_prog_compiler_pic
29677
# How to pass a linker flag through the compiler.
29678
wl=$lt_lt_prog_compiler_wl
29680
# Compiler flag to prevent dynamic linking.
29681
link_static_flag=$lt_lt_prog_compiler_static
29683
# Does compiler simultaneously support -c and -o options?
29684
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
29686
# Whether or not to add -lc for building shared libraries.
29687
build_libtool_need_lc=$archive_cmds_need_lc
29689
# Whether or not to disallow shared libs when runtime libs are static.
29690
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
29692
# Compiler flag to allow reflexive dlopens.
29693
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
29695
# Compiler flag to generate shared objects directly from archives.
29696
whole_archive_flag_spec=$lt_whole_archive_flag_spec
29698
# Whether the compiler copes with passing no objects directly.
29699
compiler_needs_object=$lt_compiler_needs_object
29701
# Create an old-style archive from a shared archive.
29702
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
29704
# Create a temporary old-style archive to link instead of a shared archive.
29705
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
29707
# Commands used to build a shared archive.
29708
archive_cmds=$lt_archive_cmds
29709
archive_expsym_cmds=$lt_archive_expsym_cmds
29711
# Commands used to build a loadable module if different from building
29712
# a shared archive.
29713
module_cmds=$lt_module_cmds
29714
module_expsym_cmds=$lt_module_expsym_cmds
29716
# Whether we are building with GNU ld or not.
29717
with_gnu_ld=$lt_with_gnu_ld
29719
# Flag that allows shared libraries with undefined symbols to be built.
29720
allow_undefined_flag=$lt_allow_undefined_flag
29722
# Flag that enforces no undefined symbols.
29723
no_undefined_flag=$lt_no_undefined_flag
29725
# Flag to hardcode \$libdir into a binary during linking.
29726
# This must work even if \$libdir does not exist
29727
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
29729
# Whether we need a single "-rpath" flag with a separated argument.
29730
hardcode_libdir_separator=$lt_hardcode_libdir_separator
29732
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29733
# DIR into the resulting binary.
29734
hardcode_direct=$hardcode_direct
29736
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29737
# DIR into the resulting binary and the resulting library dependency is
29738
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29739
# library is relocated.
29740
hardcode_direct_absolute=$hardcode_direct_absolute
29742
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29743
# into the resulting binary.
29744
hardcode_minus_L=$hardcode_minus_L
29746
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29747
# into the resulting binary.
29748
hardcode_shlibpath_var=$hardcode_shlibpath_var
29750
# Set to "yes" if building a shared library automatically hardcodes DIR
29751
# into the library and all subsequent libraries and executables linked
29753
hardcode_automatic=$hardcode_automatic
29755
# Set to yes if linker adds runtime paths of dependent libraries
29756
# to runtime path list.
29757
inherit_rpath=$inherit_rpath
29759
# Whether libtool must link a program against all its dependency libraries.
29760
link_all_deplibs=$link_all_deplibs
29762
# Set to "yes" if exported symbols are required.
29763
always_export_symbols=$always_export_symbols
29765
# The commands to list exported symbols.
29766
export_symbols_cmds=$lt_export_symbols_cmds
29768
# Symbols that should not be listed in the preloaded symbols.
29769
exclude_expsyms=$lt_exclude_expsyms
29771
# Symbols that must always be exported.
29772
include_expsyms=$lt_include_expsyms
29774
# Commands necessary for linking programs (against libraries) with templates.
29775
prelink_cmds=$lt_prelink_cmds
29777
# Commands necessary for finishing linking programs.
29778
postlink_cmds=$lt_postlink_cmds
29780
# Specify filename containing input files.
29781
file_list_spec=$lt_file_list_spec
29783
# How to hardcode a shared library path into an executable.
29784
hardcode_action=$hardcode_action
29786
# The directories searched by this compiler when creating a shared library.
29787
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
29789
# Dependencies to place before and after the objects being linked to
29790
# create a shared library.
29791
predep_objects=$lt_predep_objects
29792
postdep_objects=$lt_postdep_objects
29793
predeps=$lt_predeps
29794
postdeps=$lt_postdeps
29796
# The library search path used internally by the compiler when linking
29797
# a shared library.
29798
compiler_lib_search_path=$lt_compiler_lib_search_path
29800
# ### END LIBTOOL CONFIG
29806
cat <<\_LT_EOF >> "$cfgfile"
29807
# AIX sometimes has problems with the GCC collect2 program. For some
29808
# reason, if we set the COLLECT_NAMES environment variable, the problems
29809
# vanish in a puff of smoke.
29810
if test "X${COLLECT_NAMES+set}" != Xset; then
29812
export COLLECT_NAMES
29819
ltmain="$ac_aux_dir/ltmain.sh"
29822
# We use sed instead of cat because bash on DJGPP gets confused if
29823
# if finds mixed CR/LF and LF-only lines. Since sed operates in
29824
# text mode, it properly converts lines to CR/LF. This bash problem
29825
# is reportedly fixed, but why not run on old versions too?
29826
sed '$q' "$ltmain" >> "$cfgfile" \
29827
|| (rm -f "$cfgfile"; exit 1)
29829
if test x"$xsi_shell" = xyes; then
29830
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
29834
\ */*) func_dirname_result="${1%/*}${2}" ;;\
29835
\ * ) func_dirname_result="${3}" ;;\
29837
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
29838
&& mv -f "$cfgfile.tmp" "$cfgfile" \
29839
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29840
test 0 -eq $? || _lt_function_replace_fail=:
29843
sed -e '/^func_basename ()$/,/^} # func_basename /c\
29846
\ func_basename_result="${1##*/}"\
29847
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
29848
&& mv -f "$cfgfile.tmp" "$cfgfile" \
29849
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29850
test 0 -eq $? || _lt_function_replace_fail=:
29853
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
29854
func_dirname_and_basename ()\
29857
\ */*) func_dirname_result="${1%/*}${2}" ;;\
29858
\ * ) func_dirname_result="${3}" ;;\
29860
\ func_basename_result="${1##*/}"\
29861
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
29862
&& mv -f "$cfgfile.tmp" "$cfgfile" \
29863
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29864
test 0 -eq $? || _lt_function_replace_fail=:
29867
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
29870
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
29871
\ # positional parameters, so assign one to ordinary parameter first.\
29872
\ func_stripname_result=${3}\
29873
\ func_stripname_result=${func_stripname_result#"${1}"}\
29874
\ func_stripname_result=${func_stripname_result%"${2}"}\
29875
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
29876
&& mv -f "$cfgfile.tmp" "$cfgfile" \
29877
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29878
test 0 -eq $? || _lt_function_replace_fail=:
29881
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
29882
func_split_long_opt ()\
29884
\ func_split_long_opt_name=${1%%=*}\
29885
\ func_split_long_opt_arg=${1#*=}\
29886
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
29887
&& mv -f "$cfgfile.tmp" "$cfgfile" \
29888
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29889
test 0 -eq $? || _lt_function_replace_fail=:
29892
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
29893
func_split_short_opt ()\
29895
\ func_split_short_opt_arg=${1#??}\
29896
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
29897
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
29898
&& mv -f "$cfgfile.tmp" "$cfgfile" \
29899
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29900
test 0 -eq $? || _lt_function_replace_fail=:
29903
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
29907
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
29908
\ *) func_lo2o_result=${1} ;;\
29910
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
29911
&& mv -f "$cfgfile.tmp" "$cfgfile" \
29912
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29913
test 0 -eq $? || _lt_function_replace_fail=:
29916
sed -e '/^func_xform ()$/,/^} # func_xform /c\
29919
func_xform_result=${1%.*}.lo\
29920
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
29921
&& mv -f "$cfgfile.tmp" "$cfgfile" \
29922
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29923
test 0 -eq $? || _lt_function_replace_fail=:
29926
sed -e '/^func_arith ()$/,/^} # func_arith /c\
29929
func_arith_result=$(( $* ))\
29930
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
29931
&& mv -f "$cfgfile.tmp" "$cfgfile" \
29932
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29933
test 0 -eq $? || _lt_function_replace_fail=:
29936
sed -e '/^func_len ()$/,/^} # func_len /c\
29939
func_len_result=${#1}\
29940
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
29941
&& mv -f "$cfgfile.tmp" "$cfgfile" \
29942
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29943
test 0 -eq $? || _lt_function_replace_fail=:
29947
if test x"$lt_shell_append" = xyes; then
29948
sed -e '/^func_append ()$/,/^} # func_append /c\
29951
eval "${1}+=\\${2}"\
29952
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
29953
&& mv -f "$cfgfile.tmp" "$cfgfile" \
29954
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29955
test 0 -eq $? || _lt_function_replace_fail=:
29958
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
29959
func_append_quoted ()\
29961
\ func_quote_for_eval "${2}"\
29962
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
29963
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
29964
&& mv -f "$cfgfile.tmp" "$cfgfile" \
29965
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29966
test 0 -eq $? || _lt_function_replace_fail=:
29969
# Save a `func_append' function call where possible by direct use of '+='
29970
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
29971
&& mv -f "$cfgfile.tmp" "$cfgfile" \
29972
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29973
test 0 -eq $? || _lt_function_replace_fail=:
29975
# Save a `func_append' function call even when '+=' is not available
29976
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
29977
&& mv -f "$cfgfile.tmp" "$cfgfile" \
29978
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29979
test 0 -eq $? || _lt_function_replace_fail=:
29982
if test x"$_lt_function_replace_fail" = x":"; then
29983
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
29984
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
29988
mv -f "$cfgfile" "$ofile" ||
29989
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29993
cat <<_LT_EOF >> "$ofile"
29995
# ### BEGIN LIBTOOL TAG CONFIG: CXX
29997
# The linker used to build libraries.
30000
# How to create reloadable object files.
30001
reload_flag=$lt_reload_flag_CXX
30002
reload_cmds=$lt_reload_cmds_CXX
30004
# Commands used to build an old-style archive.
30005
old_archive_cmds=$lt_old_archive_cmds_CXX
30007
# A language specific compiler.
30008
CC=$lt_compiler_CXX
30010
# Is the compiler the GNU compiler?
30013
# Compiler flag to turn off builtin functions.
30014
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
30016
# Additional compiler flags for building library objects.
30017
pic_flag=$lt_lt_prog_compiler_pic_CXX
30019
# How to pass a linker flag through the compiler.
30020
wl=$lt_lt_prog_compiler_wl_CXX
30022
# Compiler flag to prevent dynamic linking.
30023
link_static_flag=$lt_lt_prog_compiler_static_CXX
30025
# Does compiler simultaneously support -c and -o options?
30026
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
30028
# Whether or not to add -lc for building shared libraries.
30029
build_libtool_need_lc=$archive_cmds_need_lc_CXX
30031
# Whether or not to disallow shared libs when runtime libs are static.
30032
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
30034
# Compiler flag to allow reflexive dlopens.
30035
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
30037
# Compiler flag to generate shared objects directly from archives.
30038
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
30040
# Whether the compiler copes with passing no objects directly.
30041
compiler_needs_object=$lt_compiler_needs_object_CXX
30043
# Create an old-style archive from a shared archive.
30044
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
30046
# Create a temporary old-style archive to link instead of a shared archive.
30047
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
30049
# Commands used to build a shared archive.
30050
archive_cmds=$lt_archive_cmds_CXX
30051
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
30053
# Commands used to build a loadable module if different from building
30054
# a shared archive.
30055
module_cmds=$lt_module_cmds_CXX
30056
module_expsym_cmds=$lt_module_expsym_cmds_CXX
30058
# Whether we are building with GNU ld or not.
30059
with_gnu_ld=$lt_with_gnu_ld_CXX
30061
# Flag that allows shared libraries with undefined symbols to be built.
30062
allow_undefined_flag=$lt_allow_undefined_flag_CXX
30064
# Flag that enforces no undefined symbols.
30065
no_undefined_flag=$lt_no_undefined_flag_CXX
30067
# Flag to hardcode \$libdir into a binary during linking.
30068
# This must work even if \$libdir does not exist
30069
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
30071
# Whether we need a single "-rpath" flag with a separated argument.
30072
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
30074
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30075
# DIR into the resulting binary.
30076
hardcode_direct=$hardcode_direct_CXX
30078
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30079
# DIR into the resulting binary and the resulting library dependency is
30080
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30081
# library is relocated.
30082
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
30084
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30085
# into the resulting binary.
30086
hardcode_minus_L=$hardcode_minus_L_CXX
30088
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30089
# into the resulting binary.
30090
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
30092
# Set to "yes" if building a shared library automatically hardcodes DIR
30093
# into the library and all subsequent libraries and executables linked
30095
hardcode_automatic=$hardcode_automatic_CXX
30097
# Set to yes if linker adds runtime paths of dependent libraries
30098
# to runtime path list.
30099
inherit_rpath=$inherit_rpath_CXX
30101
# Whether libtool must link a program against all its dependency libraries.
30102
link_all_deplibs=$link_all_deplibs_CXX
30104
# Set to "yes" if exported symbols are required.
30105
always_export_symbols=$always_export_symbols_CXX
30107
# The commands to list exported symbols.
30108
export_symbols_cmds=$lt_export_symbols_cmds_CXX
30110
# Symbols that should not be listed in the preloaded symbols.
30111
exclude_expsyms=$lt_exclude_expsyms_CXX
30113
# Symbols that must always be exported.
30114
include_expsyms=$lt_include_expsyms_CXX
30116
# Commands necessary for linking programs (against libraries) with templates.
30117
prelink_cmds=$lt_prelink_cmds_CXX
30119
# Commands necessary for finishing linking programs.
30120
postlink_cmds=$lt_postlink_cmds_CXX
30122
# Specify filename containing input files.
30123
file_list_spec=$lt_file_list_spec_CXX
30125
# How to hardcode a shared library path into an executable.
30126
hardcode_action=$hardcode_action_CXX
30128
# The directories searched by this compiler when creating a shared library.
30129
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
30131
# Dependencies to place before and after the objects being linked to
30132
# create a shared library.
30133
predep_objects=$lt_predep_objects_CXX
30134
postdep_objects=$lt_postdep_objects_CXX
30135
predeps=$lt_predeps_CXX
30136
postdeps=$lt_postdeps_CXX
30138
# The library search path used internally by the compiler when linking
30139
# a shared library.
30140
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
30142
# ### END LIBTOOL TAG CONFIG: CXX
30153
ac_clean_files=$ac_clean_files_save
30155
test $ac_write_fail = 0 ||
30156
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
30159
# configure is writing to config.log, and then calls config.status.
30160
# config.status does its own redirection, appending to config.log.
30161
# Unfortunately, on DOS this fails, as config.log is still kept open
30162
# by configure, so config.status won't be able to write to it; its
30163
# output is simply discarded. So we exec the FD to /dev/null,
30164
# effectively closing config.log, so it can be properly (re)opened and
30165
# appended to by config.status. When coming back to configure, we
30166
# need to make the FD available again.
30167
if test "$no_create" != yes; then
30169
ac_config_status_args=
30170
test "$silent" = yes &&
30171
ac_config_status_args="$ac_config_status_args --quiet"
30173
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
30175
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
30176
# would make configure fail if this is the last instruction.
30177
$ac_cs_success || as_fn_exit 1
30179
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
30180
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
30181
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
30185
# Report on what we found.
30186
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
30187
$as_echo "$as_me: " >&6;}
30188
{ $as_echo "$as_me:${as_lineno-$LINENO}: **************************************************************" >&5
30189
$as_echo "$as_me: **************************************************************" >&6;}
30190
{ $as_echo "$as_me:${as_lineno-$LINENO}: $PACKAGE_NAME configured as follows:" >&5
30191
$as_echo "$as_me: $PACKAGE_NAME configured as follows:" >&6;}
30192
{ $as_echo "$as_me:${as_lineno-$LINENO}: **************************************************************" >&5
30193
$as_echo "$as_me: **************************************************************" >&6;}
30194
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
30195
$as_echo "$as_me: " >&6;}
30196
{ $as_echo "$as_me:${as_lineno-$LINENO}: TARGET=$ga_cv_target" >&5
30197
$as_echo "$as_me: TARGET=$ga_cv_target" >&6;}
30198
{ $as_echo "$as_me:${as_lineno-$LINENO}: MSG_COMMS=$ga_msg_comms" >&5
30199
$as_echo "$as_me: MSG_COMMS=$ga_msg_comms" >&6;}
30200
{ $as_echo "$as_me:${as_lineno-$LINENO}: GA_MP_LIBS=$GA_MP_LIBS" >&5
30201
$as_echo "$as_me: GA_MP_LIBS=$GA_MP_LIBS" >&6;}
30202
{ $as_echo "$as_me:${as_lineno-$LINENO}: GA_MP_LDFLAGS=$GA_MP_LDFLAGS" >&5
30203
$as_echo "$as_me: GA_MP_LDFLAGS=$GA_MP_LDFLAGS" >&6;}
30204
{ $as_echo "$as_me:${as_lineno-$LINENO}: GA_MP_CPPFLAGS=$GA_MP_CPPFLAGS" >&5
30205
$as_echo "$as_me: GA_MP_CPPFLAGS=$GA_MP_CPPFLAGS" >&6;}
30206
{ $as_echo "$as_me:${as_lineno-$LINENO}: ARMCI_NETWORK=$ga_armci_network" >&5
30207
$as_echo "$as_me: ARMCI_NETWORK=$ga_armci_network" >&6;}
30208
{ $as_echo "$as_me:${as_lineno-$LINENO}: ARMCI_NETWORK_LDFLAGS=$ARMCI_NETWORK_LDFLAGS" >&5
30209
$as_echo "$as_me: ARMCI_NETWORK_LDFLAGS=$ARMCI_NETWORK_LDFLAGS" >&6;}
30210
{ $as_echo "$as_me:${as_lineno-$LINENO}: ARMCI_NETWORK_LIBS=$ARMCI_NETWORK_LIBS" >&5
30211
$as_echo "$as_me: ARMCI_NETWORK_LIBS=$ARMCI_NETWORK_LIBS" >&6;}
30212
{ $as_echo "$as_me:${as_lineno-$LINENO}: ARMCI_NETWORK_CPPFLAGS=$ARMCI_NETWORK_CPPFLAGS" >&5
30213
$as_echo "$as_me: ARMCI_NETWORK_CPPFLAGS=$ARMCI_NETWORK_CPPFLAGS" >&6;}
30214
{ $as_echo "$as_me:${as_lineno-$LINENO}: CC=$CC" >&5
30215
$as_echo "$as_me: CC=$CC" >&6;}
30216
if test "x$with_mpi_wrappers" = xyes; then :
30218
{ $as_echo "$as_me:${as_lineno-$LINENO}: unwrapped CC=$ga_cv_mpic_naked" >&5
30219
$as_echo "$as_me: unwrapped CC=$ga_cv_mpic_naked" >&6;}
30222
{ $as_echo "$as_me:${as_lineno-$LINENO}: CFLAGS=$CFLAGS" >&5
30223
$as_echo "$as_me: CFLAGS=$CFLAGS" >&6;}
30224
{ $as_echo "$as_me:${as_lineno-$LINENO}: ARMCI_COPT=$ARMCI_COPT" >&5
30225
$as_echo "$as_me: ARMCI_COPT=$ARMCI_COPT" >&6;}
30226
if test "x$enable_cxx" = xyes; then :
30228
{ $as_echo "$as_me:${as_lineno-$LINENO}: CXX=$CXX" >&5
30229
$as_echo "$as_me: CXX=$CXX" >&6;}
30230
if test "x$with_mpi_wrappers" = xyes; then :
30232
{ $as_echo "$as_me:${as_lineno-$LINENO}: unwrapped CXX=$ga_cv_mpicxx_naked" >&5
30233
$as_echo "$as_me: unwrapped CXX=$ga_cv_mpicxx_naked" >&6;}
30236
{ $as_echo "$as_me:${as_lineno-$LINENO}: CXXFLAGS=$CXXFLAGS" >&5
30237
$as_echo "$as_me: CXXFLAGS=$CXXFLAGS" >&6;}
30238
{ $as_echo "$as_me:${as_lineno-$LINENO}: ARMCI_CXXOPT=$ARMCI_CXXOPT" >&5
30239
$as_echo "$as_me: ARMCI_CXXOPT=$ARMCI_CXXOPT" >&6;}
30242
{ $as_echo "$as_me:${as_lineno-$LINENO}: CPP=$CPP" >&5
30243
$as_echo "$as_me: CPP=$CPP" >&6;}
30244
{ $as_echo "$as_me:${as_lineno-$LINENO}: CPPFLAGS=$CPPFLAGS" >&5
30245
$as_echo "$as_me: CPPFLAGS=$CPPFLAGS" >&6;}
30246
{ $as_echo "$as_me:${as_lineno-$LINENO}: LDFLAGS=$LDFLAGS" >&5
30247
$as_echo "$as_me: LDFLAGS=$LDFLAGS" >&6;}
30248
{ $as_echo "$as_me:${as_lineno-$LINENO}: LIBS=$LIBS" >&5
30249
$as_echo "$as_me: LIBS=$LIBS" >&6;}
30250
{ $as_echo "$as_me:${as_lineno-$LINENO}: FLIBS=$FLIBS" >&5
30251
$as_echo "$as_me: FLIBS=$FLIBS" >&6;}
30252
{ $as_echo "$as_me:${as_lineno-$LINENO}: AR=$AR" >&5
30253
$as_echo "$as_me: AR=$AR" >&6;}
30254
{ $as_echo "$as_me:${as_lineno-$LINENO}: AR_FLAGS=$AR_FLAGS" >&5
30255
$as_echo "$as_me: AR_FLAGS=$AR_FLAGS" >&6;}
30256
{ $as_echo "$as_me:${as_lineno-$LINENO}: CCAS=$CCAS" >&5
30257
$as_echo "$as_me: CCAS=$CCAS" >&6;}
30258
{ $as_echo "$as_me:${as_lineno-$LINENO}: CCAS_FLAGS=$CCAS_FLAGS" >&5
30259
$as_echo "$as_me: CCAS_FLAGS=$CCAS_FLAGS" >&6;}
30260
{ $as_echo "$as_me:${as_lineno-$LINENO}: DEFS=$DEFS" >&5
30261
$as_echo "$as_me: DEFS=$DEFS" >&6;}
30262
{ $as_echo "$as_me:${as_lineno-$LINENO}: SHELL=$SHELL" >&5
30263
$as_echo "$as_me: SHELL=$SHELL" >&6;}
30264
case $ga_msg_comms in #(
30267
{ $as_echo "$as_me:${as_lineno-$LINENO}: MPIEXEC=$MPIEXEC" >&5
30268
$as_echo "$as_me: MPIEXEC=$MPIEXEC" >&6;}
30273
{ $as_echo "$as_me:${as_lineno-$LINENO}: NPROCS=$NPROCS" >&5
30274
$as_echo "$as_me: NPROCS=$NPROCS" >&6;}
30275
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
30276
$as_echo "$as_me: " >&6;}