3793
4969
IFS=$as_save_IFS
3794
4970
test -z "$as_dir" && as_dir=.
3795
for ac_exec_ext in '' $ac_executable_extensions; do
3796
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4971
for ac_exec_ext in '' $ac_executable_extensions; do
4972
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3797
4973
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3798
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4974
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3804
test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
3807
4983
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3808
4984
if test -n "$ac_ct_DLLTOOL"; then
3809
echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
3810
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
4985
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4986
$as_echo "$ac_ct_DLLTOOL" >&6; }
3812
echo "$as_me:$LINENO: result: no" >&5
3813
echo "${ECHO_T}no" >&6
4988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989
$as_echo "no" >&6; }
3816
DLLTOOL=$ac_ct_DLLTOOL
4992
if test "x$ac_ct_DLLTOOL" = x; then
4995
case $cross_compiling:$ac_tool_warned in
4997
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4998
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4999
ac_tool_warned=yes ;;
5001
DLLTOOL=$ac_ct_DLLTOOL
3818
5004
DLLTOOL="$ac_cv_prog_DLLTOOL"
3821
if test -n "$ac_tool_prefix"; then
3822
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3823
set dummy ${ac_tool_prefix}as; ac_word=$2
3824
echo "$as_me:$LINENO: checking for $ac_word" >&5
3825
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3826
if test "${ac_cv_prog_AS+set}" = set; then
3827
echo $ECHO_N "(cached) $ECHO_C" >&6
3829
if test -n "$AS"; then
3830
ac_cv_prog_AS="$AS" # Let the user override the test.
3832
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3836
test -z "$as_dir" && as_dir=.
3837
for ac_exec_ext in '' $ac_executable_extensions; do
3838
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3839
ac_cv_prog_AS="${ac_tool_prefix}as"
3840
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3849
if test -n "$AS"; then
3850
echo "$as_me:$LINENO: result: $AS" >&5
3851
echo "${ECHO_T}$AS" >&6
3853
echo "$as_me:$LINENO: result: no" >&5
3854
echo "${ECHO_T}no" >&6
3858
if test -z "$ac_cv_prog_AS"; then
3860
# Extract the first word of "as", so it can be a program name with args.
3861
set dummy as; ac_word=$2
3862
echo "$as_me:$LINENO: checking for $ac_word" >&5
3863
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3864
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3865
echo $ECHO_N "(cached) $ECHO_C" >&6
3867
if test -n "$ac_ct_AS"; then
3868
ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3870
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3874
test -z "$as_dir" && as_dir=.
3875
for ac_exec_ext in '' $ac_executable_extensions; do
3876
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3877
ac_cv_prog_ac_ct_AS="as"
3878
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3884
test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
3887
ac_ct_AS=$ac_cv_prog_ac_ct_AS
3888
if test -n "$ac_ct_AS"; then
3889
echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3890
echo "${ECHO_T}$ac_ct_AS" >&6
3892
echo "$as_me:$LINENO: result: no" >&5
3893
echo "${ECHO_T}no" >&6
3901
if test -n "$ac_tool_prefix"; then
3902
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3903
set dummy ${ac_tool_prefix}objdump; ac_word=$2
3904
echo "$as_me:$LINENO: checking for $ac_word" >&5
3905
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3906
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
3907
echo $ECHO_N "(cached) $ECHO_C" >&6
3909
if test -n "$OBJDUMP"; then
3910
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3912
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3916
test -z "$as_dir" && as_dir=.
3917
for ac_exec_ext in '' $ac_executable_extensions; do
3918
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3919
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3920
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3928
OBJDUMP=$ac_cv_prog_OBJDUMP
3929
if test -n "$OBJDUMP"; then
3930
echo "$as_me:$LINENO: result: $OBJDUMP" >&5
3931
echo "${ECHO_T}$OBJDUMP" >&6
3933
echo "$as_me:$LINENO: result: no" >&5
3934
echo "${ECHO_T}no" >&6
3938
if test -z "$ac_cv_prog_OBJDUMP"; then
3939
ac_ct_OBJDUMP=$OBJDUMP
3940
# Extract the first word of "objdump", so it can be a program name with args.
3941
set dummy objdump; ac_word=$2
3942
echo "$as_me:$LINENO: checking for $ac_word" >&5
3943
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3944
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
3945
echo $ECHO_N "(cached) $ECHO_C" >&6
3947
if test -n "$ac_ct_OBJDUMP"; then
3948
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3950
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3954
test -z "$as_dir" && as_dir=.
3955
for ac_exec_ext in '' $ac_executable_extensions; do
3956
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3957
ac_cv_prog_ac_ct_OBJDUMP="objdump"
3958
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3964
test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
3967
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3968
if test -n "$ac_ct_OBJDUMP"; then
3969
echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
3970
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
3972
echo "$as_me:$LINENO: result: no" >&5
3973
echo "${ECHO_T}no" >&6
3976
OBJDUMP=$ac_ct_OBJDUMP
3978
OBJDUMP="$ac_cv_prog_OBJDUMP"
3985
need_locks="$enable_libtool_lock"
3989
ac_cpp='$CPP $CPPFLAGS'
3990
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3991
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3992
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3993
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3994
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3995
# On Suns, sometimes $CPP names a directory.
3996
if test -n "$CPP" && test -d "$CPP"; then
3999
if test -z "$CPP"; then
4000
if test "${ac_cv_prog_CPP+set}" = set; then
4001
echo $ECHO_N "(cached) $ECHO_C" >&6
4003
# Double quotes because CPP needs to be expanded
4004
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4007
for ac_c_preproc_warn_flag in '' yes
4009
# Use a header file that comes with gcc, so configuring glibc
4010
# with a fresh cross-compiler works.
4011
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4012
# <limits.h> exists even on freestanding compilers.
4013
# On the NeXT, cc -E runs the code through the compiler's parser,
4014
# not just through cpp. "Syntax error" is here to catch this case.
4015
cat >conftest.$ac_ext <<_ACEOF
4018
cat confdefs.h >>conftest.$ac_ext
4019
cat >>conftest.$ac_ext <<_ACEOF
4020
/* end confdefs.h. */
4022
# include <limits.h>
4024
# include <assert.h>
4028
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4029
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4031
grep -v '^ *+' conftest.er1 >conftest.err
4033
cat conftest.err >&5
4034
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035
(exit $ac_status); } >/dev/null; then
4036
if test -s conftest.err; then
4037
ac_cpp_err=$ac_c_preproc_warn_flag
4038
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4045
if test -z "$ac_cpp_err"; then
4048
echo "$as_me: failed program was:" >&5
4049
sed 's/^/| /' conftest.$ac_ext >&5
4051
# Broken: fails on valid input.
4054
rm -f conftest.err conftest.$ac_ext
4056
# OK, works on sane cases. Now check whether non-existent headers
4057
# can be detected and how.
4058
cat >conftest.$ac_ext <<_ACEOF
4061
cat confdefs.h >>conftest.$ac_ext
4062
cat >>conftest.$ac_ext <<_ACEOF
4063
/* end confdefs.h. */
4064
#include <ac_nonexistent.h>
4066
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4067
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4069
grep -v '^ *+' conftest.er1 >conftest.err
4071
cat conftest.err >&5
4072
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4073
(exit $ac_status); } >/dev/null; then
4074
if test -s conftest.err; then
4075
ac_cpp_err=$ac_c_preproc_warn_flag
4076
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4083
if test -z "$ac_cpp_err"; then
4084
# Broken: success on invalid input.
4087
echo "$as_me: failed program was:" >&5
4088
sed 's/^/| /' conftest.$ac_ext >&5
4090
# Passes both tests.
4094
rm -f conftest.err conftest.$ac_ext
4097
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4098
rm -f conftest.err conftest.$ac_ext
4099
if $ac_preproc_ok; then
4111
echo "$as_me:$LINENO: result: $CPP" >&5
4112
echo "${ECHO_T}$CPP" >&6
4114
for ac_c_preproc_warn_flag in '' yes
4116
# Use a header file that comes with gcc, so configuring glibc
4117
# with a fresh cross-compiler works.
4118
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4119
# <limits.h> exists even on freestanding compilers.
4120
# On the NeXT, cc -E runs the code through the compiler's parser,
4121
# not just through cpp. "Syntax error" is here to catch this case.
4122
cat >conftest.$ac_ext <<_ACEOF
4125
cat confdefs.h >>conftest.$ac_ext
4126
cat >>conftest.$ac_ext <<_ACEOF
4127
/* end confdefs.h. */
4129
# include <limits.h>
4131
# include <assert.h>
4135
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4136
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4138
grep -v '^ *+' conftest.er1 >conftest.err
4140
cat conftest.err >&5
4141
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4142
(exit $ac_status); } >/dev/null; then
4143
if test -s conftest.err; then
4144
ac_cpp_err=$ac_c_preproc_warn_flag
4145
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4152
if test -z "$ac_cpp_err"; then
4155
echo "$as_me: failed program was:" >&5
4156
sed 's/^/| /' conftest.$ac_ext >&5
4158
# Broken: fails on valid input.
4161
rm -f conftest.err conftest.$ac_ext
4163
# OK, works on sane cases. Now check whether non-existent headers
4164
# can be detected and how.
4165
cat >conftest.$ac_ext <<_ACEOF
4168
cat confdefs.h >>conftest.$ac_ext
4169
cat >>conftest.$ac_ext <<_ACEOF
4170
/* end confdefs.h. */
4171
#include <ac_nonexistent.h>
4173
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4174
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4176
grep -v '^ *+' conftest.er1 >conftest.err
4178
cat conftest.err >&5
4179
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180
(exit $ac_status); } >/dev/null; then
4181
if test -s conftest.err; then
4182
ac_cpp_err=$ac_c_preproc_warn_flag
4183
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4190
if test -z "$ac_cpp_err"; then
4191
# Broken: success on invalid input.
4194
echo "$as_me: failed program was:" >&5
4195
sed 's/^/| /' conftest.$ac_ext >&5
4197
# Passes both tests.
4201
rm -f conftest.err conftest.$ac_ext
4204
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4205
rm -f conftest.err conftest.$ac_ext
4206
if $ac_preproc_ok; then
4209
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4210
See \`config.log' for more details." >&5
4211
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4212
See \`config.log' for more details." >&2;}
4213
{ (exit 1); exit 1; }; }
4217
ac_cpp='$CPP $CPPFLAGS'
4218
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4219
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4220
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4223
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4224
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4225
if test "${ac_cv_header_stdc+set}" = set; then
4226
echo $ECHO_N "(cached) $ECHO_C" >&6
4228
cat >conftest.$ac_ext <<_ACEOF
4231
cat confdefs.h >>conftest.$ac_ext
4232
cat >>conftest.$ac_ext <<_ACEOF
4233
/* end confdefs.h. */
4247
rm -f conftest.$ac_objext
4248
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4249
(eval $ac_compile) 2>conftest.er1
4251
grep -v '^ *+' conftest.er1 >conftest.err
4253
cat conftest.err >&5
4254
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255
(exit $ac_status); } &&
4256
{ ac_try='test -z "$ac_c_werror_flag"
4257
|| test ! -s conftest.err'
4258
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4261
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262
(exit $ac_status); }; } &&
4263
{ ac_try='test -s conftest.$ac_objext'
4264
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4267
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4268
(exit $ac_status); }; }; then
4269
ac_cv_header_stdc=yes
4271
echo "$as_me: failed program was:" >&5
4272
sed 's/^/| /' conftest.$ac_ext >&5
4274
ac_cv_header_stdc=no
4276
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4278
if test $ac_cv_header_stdc = yes; then
4279
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4280
cat >conftest.$ac_ext <<_ACEOF
4283
cat confdefs.h >>conftest.$ac_ext
4284
cat >>conftest.$ac_ext <<_ACEOF
4285
/* end confdefs.h. */
4289
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4290
$EGREP "memchr" >/dev/null 2>&1; then
4293
ac_cv_header_stdc=no
4299
if test $ac_cv_header_stdc = yes; then
4300
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4301
cat >conftest.$ac_ext <<_ACEOF
4304
cat confdefs.h >>conftest.$ac_ext
4305
cat >>conftest.$ac_ext <<_ACEOF
4306
/* end confdefs.h. */
4310
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4311
$EGREP "free" >/dev/null 2>&1; then
4314
ac_cv_header_stdc=no
4320
if test $ac_cv_header_stdc = yes; then
4321
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4322
if test "$cross_compiling" = yes; then
4325
cat >conftest.$ac_ext <<_ACEOF
4328
cat confdefs.h >>conftest.$ac_ext
4329
cat >>conftest.$ac_ext <<_ACEOF
4330
/* end confdefs.h. */
4332
#if ((' ' & 0x0FF) == 0x020)
4333
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4334
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4336
# define ISLOWER(c) \
4337
(('a' <= (c) && (c) <= 'i') \
4338
|| ('j' <= (c) && (c) <= 'r') \
4339
|| ('s' <= (c) && (c) <= 'z'))
4340
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4343
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4348
for (i = 0; i < 256; i++)
4349
if (XOR (islower (i), ISLOWER (i))
4350
|| toupper (i) != TOUPPER (i))
4355
rm -f conftest$ac_exeext
4356
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4357
(eval $ac_link) 2>&5
4359
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4360
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4361
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4364
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365
(exit $ac_status); }; }; then
4368
echo "$as_me: program exited with status $ac_status" >&5
4369
echo "$as_me: failed program was:" >&5
4370
sed 's/^/| /' conftest.$ac_ext >&5
4373
ac_cv_header_stdc=no
4375
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4379
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4380
echo "${ECHO_T}$ac_cv_header_stdc" >&6
4381
if test $ac_cv_header_stdc = yes; then
4383
cat >>confdefs.h <<\_ACEOF
4384
#define STDC_HEADERS 1
4389
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4399
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4400
inttypes.h stdint.h unistd.h
4402
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4403
echo "$as_me:$LINENO: checking for $ac_header" >&5
4404
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4405
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4406
echo $ECHO_N "(cached) $ECHO_C" >&6
4408
cat >conftest.$ac_ext <<_ACEOF
4411
cat confdefs.h >>conftest.$ac_ext
4412
cat >>conftest.$ac_ext <<_ACEOF
4413
/* end confdefs.h. */
4414
$ac_includes_default
4416
#include <$ac_header>
4418
rm -f conftest.$ac_objext
4419
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4420
(eval $ac_compile) 2>conftest.er1
4422
grep -v '^ *+' conftest.er1 >conftest.err
4424
cat conftest.err >&5
4425
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4426
(exit $ac_status); } &&
4427
{ ac_try='test -z "$ac_c_werror_flag"
4428
|| test ! -s conftest.err'
4429
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4432
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433
(exit $ac_status); }; } &&
4434
{ ac_try='test -s conftest.$ac_objext'
4435
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4438
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4439
(exit $ac_status); }; }; then
4440
eval "$as_ac_Header=yes"
4442
echo "$as_me: failed program was:" >&5
4443
sed 's/^/| /' conftest.$ac_ext >&5
4445
eval "$as_ac_Header=no"
4447
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4449
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4450
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4451
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4452
cat >>confdefs.h <<_ACEOF
4453
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4462
for ac_header in dlfcn.h
4464
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4465
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4466
echo "$as_me:$LINENO: checking for $ac_header" >&5
4467
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4468
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4469
echo $ECHO_N "(cached) $ECHO_C" >&6
4471
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4472
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4474
# Is the header compilable?
4475
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4476
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4477
cat >conftest.$ac_ext <<_ACEOF
4480
cat confdefs.h >>conftest.$ac_ext
4481
cat >>conftest.$ac_ext <<_ACEOF
4482
/* end confdefs.h. */
4483
$ac_includes_default
4484
#include <$ac_header>
4486
rm -f conftest.$ac_objext
4487
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4488
(eval $ac_compile) 2>conftest.er1
4490
grep -v '^ *+' conftest.er1 >conftest.err
4492
cat conftest.err >&5
4493
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4494
(exit $ac_status); } &&
4495
{ ac_try='test -z "$ac_c_werror_flag"
4496
|| test ! -s conftest.err'
4497
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4500
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4501
(exit $ac_status); }; } &&
4502
{ ac_try='test -s conftest.$ac_objext'
4503
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4506
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4507
(exit $ac_status); }; }; then
4508
ac_header_compiler=yes
4510
echo "$as_me: failed program was:" >&5
4511
sed 's/^/| /' conftest.$ac_ext >&5
4513
ac_header_compiler=no
4515
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4516
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4517
echo "${ECHO_T}$ac_header_compiler" >&6
4519
# Is the header present?
4520
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4521
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4522
cat >conftest.$ac_ext <<_ACEOF
4525
cat confdefs.h >>conftest.$ac_ext
4526
cat >>conftest.$ac_ext <<_ACEOF
4527
/* end confdefs.h. */
4528
#include <$ac_header>
4530
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4531
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4533
grep -v '^ *+' conftest.er1 >conftest.err
4535
cat conftest.err >&5
4536
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4537
(exit $ac_status); } >/dev/null; then
4538
if test -s conftest.err; then
4539
ac_cpp_err=$ac_c_preproc_warn_flag
4540
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4547
if test -z "$ac_cpp_err"; then
4548
ac_header_preproc=yes
4550
echo "$as_me: failed program was:" >&5
4551
sed 's/^/| /' conftest.$ac_ext >&5
4553
ac_header_preproc=no
4555
rm -f conftest.err conftest.$ac_ext
4556
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4557
echo "${ECHO_T}$ac_header_preproc" >&6
4559
# So? What about this header?
4560
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4562
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4563
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4564
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4565
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4566
ac_header_preproc=yes
4569
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4570
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4571
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4572
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4573
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4574
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4575
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4576
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4577
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4578
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4579
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4580
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4583
## -------------------------------------- ##
4584
## Report this to expat-bugs@libexpat.org ##
4585
## -------------------------------------- ##
4588
sed "s/^/$as_me: WARNING: /" >&2
4591
echo "$as_me:$LINENO: checking for $ac_header" >&5
4592
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4593
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4594
echo $ECHO_N "(cached) $ECHO_C" >&6
4596
eval "$as_ac_Header=\$ac_header_preproc"
4598
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4599
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4602
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4603
cat >>confdefs.h <<_ACEOF
4604
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4612
ac_cpp='$CXXCPP $CPPFLAGS'
4613
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4614
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4615
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4616
if test -n "$ac_tool_prefix"; then
4617
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4619
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4620
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4621
echo "$as_me:$LINENO: checking for $ac_word" >&5
4622
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4623
if test "${ac_cv_prog_CXX+set}" = set; then
4624
echo $ECHO_N "(cached) $ECHO_C" >&6
4626
if test -n "$CXX"; then
4627
ac_cv_prog_CXX="$CXX" # Let the user override the test.
4629
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4633
test -z "$as_dir" && as_dir=.
4634
for ac_exec_ext in '' $ac_executable_extensions; do
4635
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4636
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4637
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4646
if test -n "$CXX"; then
4647
echo "$as_me:$LINENO: result: $CXX" >&5
4648
echo "${ECHO_T}$CXX" >&6
4650
echo "$as_me:$LINENO: result: no" >&5
4651
echo "${ECHO_T}no" >&6
4654
test -n "$CXX" && break
4657
if test -z "$CXX"; then
4659
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4661
# Extract the first word of "$ac_prog", so it can be a program name with args.
4662
set dummy $ac_prog; ac_word=$2
4663
echo "$as_me:$LINENO: checking for $ac_word" >&5
4664
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4665
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4666
echo $ECHO_N "(cached) $ECHO_C" >&6
4668
if test -n "$ac_ct_CXX"; then
4669
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4671
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4675
test -z "$as_dir" && as_dir=.
4676
for ac_exec_ext in '' $ac_executable_extensions; do
4677
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4678
ac_cv_prog_ac_ct_CXX="$ac_prog"
4679
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4687
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4688
if test -n "$ac_ct_CXX"; then
4689
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4690
echo "${ECHO_T}$ac_ct_CXX" >&6
4692
echo "$as_me:$LINENO: result: no" >&5
4693
echo "${ECHO_T}no" >&6
4696
test -n "$ac_ct_CXX" && break
4698
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4704
# Provide some information about the compiler.
4705
echo "$as_me:$LINENO:" \
4706
"checking for C++ compiler version" >&5
4707
ac_compiler=`set X $ac_compile; echo $2`
4708
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4709
(eval $ac_compiler --version </dev/null >&5) 2>&5
4711
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712
(exit $ac_status); }
4713
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4714
(eval $ac_compiler -v </dev/null >&5) 2>&5
4716
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717
(exit $ac_status); }
4718
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4719
(eval $ac_compiler -V </dev/null >&5) 2>&5
4721
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722
(exit $ac_status); }
4724
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4725
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4726
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4727
echo $ECHO_N "(cached) $ECHO_C" >&6
4729
cat >conftest.$ac_ext <<_ACEOF
4732
cat confdefs.h >>conftest.$ac_ext
4733
cat >>conftest.$ac_ext <<_ACEOF
4734
/* end confdefs.h. */
4747
rm -f conftest.$ac_objext
4748
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4749
(eval $ac_compile) 2>conftest.er1
4751
grep -v '^ *+' conftest.er1 >conftest.err
4753
cat conftest.err >&5
4754
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755
(exit $ac_status); } &&
4756
{ ac_try='test -z "$ac_cxx_werror_flag"
4757
|| test ! -s conftest.err'
4758
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4761
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762
(exit $ac_status); }; } &&
4763
{ ac_try='test -s conftest.$ac_objext'
4764
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4767
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768
(exit $ac_status); }; }; then
4771
echo "$as_me: failed program was:" >&5
4772
sed 's/^/| /' conftest.$ac_ext >&5
4776
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4777
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4780
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4781
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4782
GXX=`test $ac_compiler_gnu = yes && echo yes`
4783
ac_test_CXXFLAGS=${CXXFLAGS+set}
4784
ac_save_CXXFLAGS=$CXXFLAGS
4786
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4787
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4788
if test "${ac_cv_prog_cxx_g+set}" = set; then
4789
echo $ECHO_N "(cached) $ECHO_C" >&6
4791
cat >conftest.$ac_ext <<_ACEOF
4794
cat confdefs.h >>conftest.$ac_ext
4795
cat >>conftest.$ac_ext <<_ACEOF
4796
/* end confdefs.h. */
4806
rm -f conftest.$ac_objext
4807
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4808
(eval $ac_compile) 2>conftest.er1
4810
grep -v '^ *+' conftest.er1 >conftest.err
4812
cat conftest.err >&5
4813
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814
(exit $ac_status); } &&
4815
{ ac_try='test -z "$ac_cxx_werror_flag"
4816
|| test ! -s conftest.err'
4817
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4820
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821
(exit $ac_status); }; } &&
4822
{ ac_try='test -s conftest.$ac_objext'
4823
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4826
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827
(exit $ac_status); }; }; then
4828
ac_cv_prog_cxx_g=yes
4830
echo "$as_me: failed program was:" >&5
4831
sed 's/^/| /' conftest.$ac_ext >&5
4835
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4837
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4838
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4839
if test "$ac_test_CXXFLAGS" = set; then
4840
CXXFLAGS=$ac_save_CXXFLAGS
4841
elif test $ac_cv_prog_cxx_g = yes; then
4842
if test "$GXX" = yes; then
4848
if test "$GXX" = yes; then
4854
for ac_declaration in \
4856
'extern "C" void std::exit (int) throw (); using std::exit;' \
4857
'extern "C" void std::exit (int); using std::exit;' \
4858
'extern "C" void exit (int) throw ();' \
4859
'extern "C" void exit (int);' \
4862
cat >conftest.$ac_ext <<_ACEOF
4865
cat confdefs.h >>conftest.$ac_ext
4866
cat >>conftest.$ac_ext <<_ACEOF
4867
/* end confdefs.h. */
4878
rm -f conftest.$ac_objext
4879
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4880
(eval $ac_compile) 2>conftest.er1
4882
grep -v '^ *+' conftest.er1 >conftest.err
4884
cat conftest.err >&5
4885
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886
(exit $ac_status); } &&
4887
{ ac_try='test -z "$ac_cxx_werror_flag"
4888
|| test ! -s conftest.err'
4889
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4892
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893
(exit $ac_status); }; } &&
4894
{ ac_try='test -s conftest.$ac_objext'
4895
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4898
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4899
(exit $ac_status); }; }; then
4902
echo "$as_me: failed program was:" >&5
4903
sed 's/^/| /' conftest.$ac_ext >&5
4907
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4908
cat >conftest.$ac_ext <<_ACEOF
4911
cat confdefs.h >>conftest.$ac_ext
4912
cat >>conftest.$ac_ext <<_ACEOF
4913
/* end confdefs.h. */
4923
rm -f conftest.$ac_objext
4924
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4925
(eval $ac_compile) 2>conftest.er1
4927
grep -v '^ *+' conftest.er1 >conftest.err
4929
cat conftest.err >&5
4930
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931
(exit $ac_status); } &&
4932
{ ac_try='test -z "$ac_cxx_werror_flag"
4933
|| test ! -s conftest.err'
4934
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4937
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938
(exit $ac_status); }; } &&
4939
{ ac_try='test -s conftest.$ac_objext'
4940
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4943
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944
(exit $ac_status); }; }; then
4947
echo "$as_me: failed program was:" >&5
4948
sed 's/^/| /' conftest.$ac_ext >&5
4951
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4954
if test -n "$ac_declaration"; then
4955
echo '#ifdef __cplusplus' >>confdefs.h
4956
echo $ac_declaration >>confdefs.h
4957
echo '#endif' >>confdefs.h
4961
ac_cpp='$CXXCPP $CPPFLAGS'
4962
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4963
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4964
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4968
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
4969
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
4970
(test "X$CXX" != "Xg++"))) ; then
4972
ac_cpp='$CXXCPP $CPPFLAGS'
4973
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4974
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4975
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4976
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4977
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4978
if test -z "$CXXCPP"; then
4979
if test "${ac_cv_prog_CXXCPP+set}" = set; then
4980
echo $ECHO_N "(cached) $ECHO_C" >&6
4982
# Double quotes because CXXCPP needs to be expanded
4983
for CXXCPP in "$CXX -E" "/lib/cpp"
4986
for ac_cxx_preproc_warn_flag in '' yes
4988
# Use a header file that comes with gcc, so configuring glibc
4989
# with a fresh cross-compiler works.
4990
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4991
# <limits.h> exists even on freestanding compilers.
4992
# On the NeXT, cc -E runs the code through the compiler's parser,
4993
# not just through cpp. "Syntax error" is here to catch this case.
4994
cat >conftest.$ac_ext <<_ACEOF
4997
cat confdefs.h >>conftest.$ac_ext
4998
cat >>conftest.$ac_ext <<_ACEOF
4999
/* end confdefs.h. */
5001
# include <limits.h>
5003
# include <assert.h>
5007
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5008
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5010
grep -v '^ *+' conftest.er1 >conftest.err
5012
cat conftest.err >&5
5013
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014
(exit $ac_status); } >/dev/null; then
5015
if test -s conftest.err; then
5016
ac_cpp_err=$ac_cxx_preproc_warn_flag
5017
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5024
if test -z "$ac_cpp_err"; then
5027
echo "$as_me: failed program was:" >&5
5028
sed 's/^/| /' conftest.$ac_ext >&5
5030
# Broken: fails on valid input.
5033
rm -f conftest.err conftest.$ac_ext
5035
# OK, works on sane cases. Now check whether non-existent headers
5036
# can be detected and how.
5037
cat >conftest.$ac_ext <<_ACEOF
5040
cat confdefs.h >>conftest.$ac_ext
5041
cat >>conftest.$ac_ext <<_ACEOF
5042
/* end confdefs.h. */
5043
#include <ac_nonexistent.h>
5045
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5046
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5048
grep -v '^ *+' conftest.er1 >conftest.err
5050
cat conftest.err >&5
5051
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052
(exit $ac_status); } >/dev/null; then
5053
if test -s conftest.err; then
5054
ac_cpp_err=$ac_cxx_preproc_warn_flag
5055
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5062
if test -z "$ac_cpp_err"; then
5063
# Broken: success on invalid input.
5066
echo "$as_me: failed program was:" >&5
5067
sed 's/^/| /' conftest.$ac_ext >&5
5069
# Passes both tests.
5073
rm -f conftest.err conftest.$ac_ext
5076
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5077
rm -f conftest.err conftest.$ac_ext
5078
if $ac_preproc_ok; then
5083
ac_cv_prog_CXXCPP=$CXXCPP
5086
CXXCPP=$ac_cv_prog_CXXCPP
5088
ac_cv_prog_CXXCPP=$CXXCPP
5090
echo "$as_me:$LINENO: result: $CXXCPP" >&5
5091
echo "${ECHO_T}$CXXCPP" >&6
5093
for ac_cxx_preproc_warn_flag in '' yes
5095
# Use a header file that comes with gcc, so configuring glibc
5096
# with a fresh cross-compiler works.
5097
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5098
# <limits.h> exists even on freestanding compilers.
5099
# On the NeXT, cc -E runs the code through the compiler's parser,
5100
# not just through cpp. "Syntax error" is here to catch this case.
5101
cat >conftest.$ac_ext <<_ACEOF
5104
cat confdefs.h >>conftest.$ac_ext
5105
cat >>conftest.$ac_ext <<_ACEOF
5106
/* end confdefs.h. */
5108
# include <limits.h>
5110
# include <assert.h>
5114
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5115
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5117
grep -v '^ *+' conftest.er1 >conftest.err
5119
cat conftest.err >&5
5120
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121
(exit $ac_status); } >/dev/null; then
5122
if test -s conftest.err; then
5123
ac_cpp_err=$ac_cxx_preproc_warn_flag
5124
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5131
if test -z "$ac_cpp_err"; then
5134
echo "$as_me: failed program was:" >&5
5135
sed 's/^/| /' conftest.$ac_ext >&5
5137
# Broken: fails on valid input.
5140
rm -f conftest.err conftest.$ac_ext
5142
# OK, works on sane cases. Now check whether non-existent headers
5143
# can be detected and how.
5144
cat >conftest.$ac_ext <<_ACEOF
5147
cat confdefs.h >>conftest.$ac_ext
5148
cat >>conftest.$ac_ext <<_ACEOF
5149
/* end confdefs.h. */
5150
#include <ac_nonexistent.h>
5152
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5153
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5155
grep -v '^ *+' conftest.er1 >conftest.err
5157
cat conftest.err >&5
5158
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5159
(exit $ac_status); } >/dev/null; then
5160
if test -s conftest.err; then
5161
ac_cpp_err=$ac_cxx_preproc_warn_flag
5162
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5169
if test -z "$ac_cpp_err"; then
5170
# Broken: success on invalid input.
5173
echo "$as_me: failed program was:" >&5
5174
sed 's/^/| /' conftest.$ac_ext >&5
5176
# Passes both tests.
5180
rm -f conftest.err conftest.$ac_ext
5183
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5184
rm -f conftest.err conftest.$ac_ext
5185
if $ac_preproc_ok; then
5188
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5189
See \`config.log' for more details." >&5
5190
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5191
See \`config.log' for more details." >&2;}
5192
{ (exit 1); exit 1; }; }
5196
ac_cpp='$CXXCPP $CPPFLAGS'
5197
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5198
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5199
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5205
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5206
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5207
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5208
if test -n "$ac_tool_prefix"; then
5209
for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5211
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5212
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5213
echo "$as_me:$LINENO: checking for $ac_word" >&5
5214
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5215
if test "${ac_cv_prog_F77+set}" = set; then
5216
echo $ECHO_N "(cached) $ECHO_C" >&6
5218
if test -n "$F77"; then
5219
ac_cv_prog_F77="$F77" # Let the user override the test.
5221
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5225
test -z "$as_dir" && as_dir=.
5226
for ac_exec_ext in '' $ac_executable_extensions; do
5227
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5228
ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5229
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5238
if test -n "$F77"; then
5239
echo "$as_me:$LINENO: result: $F77" >&5
5240
echo "${ECHO_T}$F77" >&6
5242
echo "$as_me:$LINENO: result: no" >&5
5243
echo "${ECHO_T}no" >&6
5246
test -n "$F77" && break
5249
if test -z "$F77"; then
5251
for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5253
# Extract the first word of "$ac_prog", so it can be a program name with args.
5254
set dummy $ac_prog; ac_word=$2
5255
echo "$as_me:$LINENO: checking for $ac_word" >&5
5256
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5257
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5258
echo $ECHO_N "(cached) $ECHO_C" >&6
5260
if test -n "$ac_ct_F77"; then
5261
ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5263
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267
test -z "$as_dir" && as_dir=.
5268
for ac_exec_ext in '' $ac_executable_extensions; do
5269
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5270
ac_cv_prog_ac_ct_F77="$ac_prog"
5271
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5279
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5280
if test -n "$ac_ct_F77"; then
5281
echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5282
echo "${ECHO_T}$ac_ct_F77" >&6
5284
echo "$as_me:$LINENO: result: no" >&5
5285
echo "${ECHO_T}no" >&6
5288
test -n "$ac_ct_F77" && break
5295
# Provide some information about the compiler.
5296
echo "$as_me:5296:" \
5297
"checking for Fortran 77 compiler version" >&5
5298
ac_compiler=`set X $ac_compile; echo $2`
5299
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5300
(eval $ac_compiler --version </dev/null >&5) 2>&5
5302
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5303
(exit $ac_status); }
5304
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5305
(eval $ac_compiler -v </dev/null >&5) 2>&5
5307
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5308
(exit $ac_status); }
5309
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5310
(eval $ac_compiler -V </dev/null >&5) 2>&5
5312
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5313
(exit $ac_status); }
5316
# If we don't use `.F' as extension, the preprocessor is not run on the
5317
# input file. (Note that this only needs to work for GNU compilers.)
5320
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5321
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5322
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5323
echo $ECHO_N "(cached) $ECHO_C" >&6
5325
cat >conftest.$ac_ext <<_ACEOF
5333
rm -f conftest.$ac_objext
5334
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5335
(eval $ac_compile) 2>conftest.er1
5337
grep -v '^ *+' conftest.er1 >conftest.err
5339
cat conftest.err >&5
5340
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5341
(exit $ac_status); } &&
5342
{ ac_try='test -z "$ac_f77_werror_flag"
5343
|| test ! -s conftest.err'
5344
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5347
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348
(exit $ac_status); }; } &&
5349
{ ac_try='test -s conftest.$ac_objext'
5350
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5353
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5354
(exit $ac_status); }; }; then
5357
echo "$as_me: failed program was:" >&5
5358
sed 's/^/| /' conftest.$ac_ext >&5
5362
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5363
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5366
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5367
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5369
ac_test_FFLAGS=${FFLAGS+set}
5370
ac_save_FFLAGS=$FFLAGS
5372
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5373
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5374
if test "${ac_cv_prog_f77_g+set}" = set; then
5375
echo $ECHO_N "(cached) $ECHO_C" >&6
5378
cat >conftest.$ac_ext <<_ACEOF
5383
rm -f conftest.$ac_objext
5384
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5385
(eval $ac_compile) 2>conftest.er1
5387
grep -v '^ *+' conftest.er1 >conftest.err
5389
cat conftest.err >&5
5390
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5391
(exit $ac_status); } &&
5392
{ ac_try='test -z "$ac_f77_werror_flag"
5393
|| test ! -s conftest.err'
5394
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5397
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398
(exit $ac_status); }; } &&
5399
{ ac_try='test -s conftest.$ac_objext'
5400
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5403
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404
(exit $ac_status); }; }; then
5405
ac_cv_prog_f77_g=yes
5407
echo "$as_me: failed program was:" >&5
5408
sed 's/^/| /' conftest.$ac_ext >&5
5412
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5415
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5416
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5417
if test "$ac_test_FFLAGS" = set; then
5418
FFLAGS=$ac_save_FFLAGS
5419
elif test $ac_cv_prog_f77_g = yes; then
5420
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5426
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5433
G77=`test $ac_compiler_gnu = yes && echo yes`
5435
ac_cpp='$CPP $CPPFLAGS'
5436
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5437
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5438
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5442
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5444
# find the maximum length of command line arguments
5445
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5446
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5447
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5448
echo $ECHO_N "(cached) $ECHO_C" >&6
5455
# On DJGPP, this test can blow up pretty badly due to problems in libc
5456
# (any single argument exceeding 2000 bytes causes a buffer overrun
5457
# during glob expansion). Even if it were fixed, the result of this
5458
# check would be larger than it should be.
5459
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5463
# Under GNU Hurd, this test is not required because there is
5464
# no limit to the length of command line arguments.
5465
# Libtool will interpret -1 as no limit whatsoever
5466
lt_cv_sys_max_cmd_len=-1;
5470
# On Win9x/ME, this test blows up -- it succeeds, but takes
5471
# about 5 minutes as the teststring grows exponentially.
5472
# Worse, since 9x/ME are not pre-emptively multitasking,
5473
# you end up with a "frozen" computer, even though with patience
5474
# the test eventually succeeds (with a max line length of 256k).
5475
# Instead, let's just punt: use the minimum linelength reported by
5476
# all of the supported platforms: 8192 (on NT/2K/XP).
5477
lt_cv_sys_max_cmd_len=8192;
5481
# On AmigaOS with pdksh, this test takes hours, literally.
5482
# So we just punt and use a minimum line length of 8192.
5483
lt_cv_sys_max_cmd_len=8192;
5486
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5487
# This has been around since 386BSD, at least. Likely further.
5488
if test -x /sbin/sysctl; then
5489
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5490
elif test -x /usr/sbin/sysctl; then
5491
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5493
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5495
# And add a safety zone
5496
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5497
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5501
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5502
lt_cv_sys_max_cmd_len=196608
5506
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5507
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5508
# nice to cause kernel panics so lets avoid the loop below.
5509
# First set a reasonable default.
5510
lt_cv_sys_max_cmd_len=16384
5512
if test -x /sbin/sysconfig; then
5513
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5514
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5519
lt_cv_sys_max_cmd_len=102400
5521
sysv5* | sco5v6* | sysv4.2uw2*)
5522
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5523
if test -n "$kargmax"; then
5524
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5526
lt_cv_sys_max_cmd_len=32768
5530
# If test is not a shell built-in, we'll probably end up computing a
5531
# maximum length that is only half of the actual maximum length, but
5533
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5534
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5535
= "XX$teststring") >/dev/null 2>&1 &&
5536
new_result=`expr "X$teststring" : ".*" 2>&1` &&
5537
lt_cv_sys_max_cmd_len=$new_result &&
5538
test $i != 17 # 1/2 MB should be enough
5541
teststring=$teststring$teststring
5544
# Add a significant safety factor because C++ compilers can tack on massive
5545
# amounts of additional arguments before passing them to the linker.
5546
# It appears as though 1/2 is a usable value.
5547
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5553
if test -n $lt_cv_sys_max_cmd_len ; then
5554
echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5555
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5557
echo "$as_me:$LINENO: result: none" >&5
5558
echo "${ECHO_T}none" >&6
5007
test -z "$DLLTOOL" && DLLTOOL=dlltool
5015
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5016
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5017
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5018
$as_echo_n "(cached) " >&6
5020
lt_cv_sharedlib_from_linklib_cmd='unknown'
5023
cygwin* | mingw* | pw32* | cegcc*)
5024
# two different shell functions defined in ltmain.sh
5025
# decide which to use based on capabilities of $DLLTOOL
5026
case `$DLLTOOL --help 2>&1` in
5027
*--identify-strict*)
5028
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5031
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5036
# fallback: assume linklib IS sharedlib
5037
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5043
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5044
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5045
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5054
if test -n "$ac_tool_prefix"; then
5057
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5058
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5060
$as_echo_n "checking for $ac_word... " >&6; }
5061
if ${ac_cv_prog_AR+:} false; then :
5062
$as_echo_n "(cached) " >&6
5064
if test -n "$AR"; then
5065
ac_cv_prog_AR="$AR" # Let the user override the test.
5067
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5071
test -z "$as_dir" && as_dir=.
5072
for ac_exec_ext in '' $ac_executable_extensions; do
5073
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5074
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5075
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5085
if test -n "$AR"; then
5086
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5087
$as_echo "$AR" >&6; }
5089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5090
$as_echo "no" >&6; }
5094
test -n "$AR" && break
5097
if test -z "$AR"; then
5101
# Extract the first word of "$ac_prog", so it can be a program name with args.
5102
set dummy $ac_prog; ac_word=$2
5103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5104
$as_echo_n "checking for $ac_word... " >&6; }
5105
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5106
$as_echo_n "(cached) " >&6
5108
if test -n "$ac_ct_AR"; then
5109
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5111
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5115
test -z "$as_dir" && as_dir=.
5116
for ac_exec_ext in '' $ac_executable_extensions; do
5117
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5118
ac_cv_prog_ac_ct_AR="$ac_prog"
5119
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5128
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5129
if test -n "$ac_ct_AR"; then
5130
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5131
$as_echo "$ac_ct_AR" >&6; }
5133
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5134
$as_echo "no" >&6; }
5138
test -n "$ac_ct_AR" && break
5141
if test "x$ac_ct_AR" = x; then
5144
case $cross_compiling:$ac_tool_warned in
5146
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5147
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5148
ac_tool_warned=yes ;;
5167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5168
$as_echo_n "checking for archiver @FILE support... " >&6; }
5169
if ${lt_cv_ar_at_file+:} false; then :
5170
$as_echo_n "(cached) " >&6
5173
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5174
/* end confdefs.h. */
5184
if ac_fn_c_try_compile "$LINENO"; then :
5185
echo conftest.$ac_objext > conftest.lst
5186
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5187
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5188
(eval $lt_ar_try) 2>&5
5190
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5191
test $ac_status = 0; }
5192
if test "$ac_status" -eq 0; then
5193
# Ensure the archiver fails upon bogus file names.
5194
rm -f conftest.$ac_objext libconftest.a
5195
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5196
(eval $lt_ar_try) 2>&5
5198
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5199
test $ac_status = 0; }
5200
if test "$ac_status" -ne 0; then
5204
rm -f conftest.* libconftest.a
5207
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5211
$as_echo "$lt_cv_ar_at_file" >&6; }
5213
if test "x$lt_cv_ar_at_file" = xno; then
5216
archiver_list_spec=$lt_cv_ar_at_file
5225
if test -n "$ac_tool_prefix"; then
5226
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5227
set dummy ${ac_tool_prefix}strip; ac_word=$2
5228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5229
$as_echo_n "checking for $ac_word... " >&6; }
5230
if ${ac_cv_prog_STRIP+:} false; then :
5231
$as_echo_n "(cached) " >&6
5233
if test -n "$STRIP"; then
5234
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5236
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5240
test -z "$as_dir" && as_dir=.
5241
for ac_exec_ext in '' $ac_executable_extensions; do
5242
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5243
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5244
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5253
STRIP=$ac_cv_prog_STRIP
5254
if test -n "$STRIP"; then
5255
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5256
$as_echo "$STRIP" >&6; }
5258
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259
$as_echo "no" >&6; }
5264
if test -z "$ac_cv_prog_STRIP"; then
5266
# Extract the first word of "strip", so it can be a program name with args.
5267
set dummy strip; ac_word=$2
5268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5269
$as_echo_n "checking for $ac_word... " >&6; }
5270
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5271
$as_echo_n "(cached) " >&6
5273
if test -n "$ac_ct_STRIP"; then
5274
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5276
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5280
test -z "$as_dir" && as_dir=.
5281
for ac_exec_ext in '' $ac_executable_extensions; do
5282
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5283
ac_cv_prog_ac_ct_STRIP="strip"
5284
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5293
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5294
if test -n "$ac_ct_STRIP"; then
5295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5296
$as_echo "$ac_ct_STRIP" >&6; }
5298
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5299
$as_echo "no" >&6; }
5302
if test "x$ac_ct_STRIP" = x; then
5305
case $cross_compiling:$ac_tool_warned in
5307
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5308
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5309
ac_tool_warned=yes ;;
5314
STRIP="$ac_cv_prog_STRIP"
5317
test -z "$STRIP" && STRIP=:
5324
if test -n "$ac_tool_prefix"; then
5325
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5326
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5327
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5328
$as_echo_n "checking for $ac_word... " >&6; }
5329
if ${ac_cv_prog_RANLIB+:} false; then :
5330
$as_echo_n "(cached) " >&6
5332
if test -n "$RANLIB"; then
5333
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5335
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5339
test -z "$as_dir" && as_dir=.
5340
for ac_exec_ext in '' $ac_executable_extensions; do
5341
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5342
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5343
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5352
RANLIB=$ac_cv_prog_RANLIB
5353
if test -n "$RANLIB"; then
5354
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5355
$as_echo "$RANLIB" >&6; }
5357
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5358
$as_echo "no" >&6; }
5363
if test -z "$ac_cv_prog_RANLIB"; then
5364
ac_ct_RANLIB=$RANLIB
5365
# Extract the first word of "ranlib", so it can be a program name with args.
5366
set dummy ranlib; ac_word=$2
5367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5368
$as_echo_n "checking for $ac_word... " >&6; }
5369
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5370
$as_echo_n "(cached) " >&6
5372
if test -n "$ac_ct_RANLIB"; then
5373
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5375
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379
test -z "$as_dir" && as_dir=.
5380
for ac_exec_ext in '' $ac_executable_extensions; do
5381
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5382
ac_cv_prog_ac_ct_RANLIB="ranlib"
5383
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5392
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5393
if test -n "$ac_ct_RANLIB"; then
5394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5395
$as_echo "$ac_ct_RANLIB" >&6; }
5397
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398
$as_echo "no" >&6; }
5401
if test "x$ac_ct_RANLIB" = x; then
5404
case $cross_compiling:$ac_tool_warned in
5406
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5407
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5408
ac_tool_warned=yes ;;
5410
RANLIB=$ac_ct_RANLIB
5413
RANLIB="$ac_cv_prog_RANLIB"
5416
test -z "$RANLIB" && RANLIB=:
5423
# Determine commands to create old-style static archives.
5424
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5425
old_postinstall_cmds='chmod 644 $oldlib'
5426
old_postuninstall_cmds=
5428
if test -n "$RANLIB"; then
5431
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5434
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5437
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5442
lock_old_archive_extraction=yes ;;
5444
lock_old_archive_extraction=no ;;
5467
for ac_prog in gawk mawk nawk awk
5469
# Extract the first word of "$ac_prog", so it can be a program name with args.
5470
set dummy $ac_prog; ac_word=$2
5471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472
$as_echo_n "checking for $ac_word... " >&6; }
5473
if ${ac_cv_prog_AWK+:} false; then :
5474
$as_echo_n "(cached) " >&6
5476
if test -n "$AWK"; then
5477
ac_cv_prog_AWK="$AWK" # Let the user override the test.
5479
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483
test -z "$as_dir" && as_dir=.
5484
for ac_exec_ext in '' $ac_executable_extensions; do
5485
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5486
ac_cv_prog_AWK="$ac_prog"
5487
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5497
if test -n "$AWK"; then
5498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5499
$as_echo "$AWK" >&6; }
5501
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502
$as_echo "no" >&6; }
5506
test -n "$AWK" && break
5527
# If no C compiler was specified, use CC.
5530
# If no C compiler flags were specified, use CFLAGS.
5531
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5533
# Allow CC to be a program name with arguments.
5564
5537
# Check for command to grab the raw symbol name followed by C symbol from nm.
5565
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5566
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5567
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5568
echo $ECHO_N "(cached) $ECHO_C" >&6
5538
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5539
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5540
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5541
$as_echo_n "(cached) " >&6
5571
5544
# These are sane defaults that work on at least a few old systems.
10091
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10092
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
12228
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12229
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
10093
12230
with_gnu_ld=$lt_cv_prog_gnu_ld
10097
# Check if GNU C++ uses GNU ld as the underlying linker, since the
10098
# archiving commands below assume that GNU ld is being used.
10099
if test "$with_gnu_ld" = yes; then
10100
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10101
archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10103
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10104
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10106
# If archive_cmds runs LD, not CC, wlarc should be empty
10107
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10108
# investigate it a little bit more. (MM)
10111
# ancient GNU ld didn't support --whole-archive et. al.
10112
if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10113
grep 'no-whole-archive' > /dev/null; then
10114
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10116
whole_archive_flag_spec_CXX=
10122
# A generic and very simple default shared library creation
10123
# command for GNU C++ for the case where it uses the native
10124
# linker, instead of GNU ld. If possible, this setting should
10125
# overridden to take advantage of the native linker features on
10126
# the platform it is being used on.
10127
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10130
# Commands to make compiler produce verbose output that lists
10131
# what "hidden" libraries, object files and flags are used when
10132
# linking a shared library.
10133
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10141
# PORTME: fill in a description of your system's C++ link characteristics
10142
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10143
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10147
# FIXME: insert proper C++ library support
10151
if test "$host_cpu" = ia64; then
10152
# On IA64, the linker does run time linking by default, so we don't
10153
# have to do anything special.
10154
aix_use_runtimelinking=no
10155
exp_sym_flag='-Bexport'
10158
aix_use_runtimelinking=no
10160
# Test if we are trying to use run time linking or normal
10161
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10162
# need to do runtime linking.
10163
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10164
for ld_flag in $LDFLAGS; do
10167
aix_use_runtimelinking=yes
10175
exp_sym_flag='-bexport'
10176
no_entry_flag='-bnoentry'
10179
# When large executables or shared objects are built, AIX ld can
10180
# have problems creating the table of contents. If linking a library
10181
# or program results in "error TOC overflow" add -mminimal-toc to
10182
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10183
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10185
archive_cmds_CXX=''
10186
hardcode_direct_CXX=yes
10187
hardcode_libdir_separator_CXX=':'
10188
link_all_deplibs_CXX=yes
10190
if test "$GXX" = yes; then
10191
case $host_os in aix4.[012]|aix4.[012].*)
10192
# We only want to do this on AIX 4.2 and lower, the check
10193
# below for broken collect2 doesn't work under 4.3+
10194
collect2name=`${CC} -print-prog-name=collect2`
10195
if test -f "$collect2name" && \
10196
strings "$collect2name" | grep resolve_lib_name >/dev/null
10198
# We have reworked collect2
10199
hardcode_direct_CXX=yes
10201
# We have old collect2
10202
hardcode_direct_CXX=unsupported
10203
# It fails to find uninstalled libraries when the uninstalled
10204
# path is not listed in the libpath. Setting hardcode_minus_L
10205
# to unsupported forces relinking
10206
hardcode_minus_L_CXX=yes
10207
hardcode_libdir_flag_spec_CXX='-L$libdir'
10208
hardcode_libdir_separator_CXX=
10212
shared_flag='-shared'
10213
if test "$aix_use_runtimelinking" = yes; then
10214
shared_flag="$shared_flag "'${wl}-G'
10218
if test "$host_cpu" = ia64; then
10219
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10220
# chokes on -Wl,-G. The following line is correct:
10223
if test "$aix_use_runtimelinking" = yes; then
10224
shared_flag='${wl}-G'
10226
shared_flag='${wl}-bM:SRE'
10231
# It seems that -bexpall does not export symbols beginning with
10232
# underscore (_), so it is better to generate a list of symbols to export.
10233
always_export_symbols_CXX=yes
10234
if test "$aix_use_runtimelinking" = yes; then
10235
# Warning - without using the other runtime loading flags (-brtl),
10236
# -berok will link without error, but may produce a broken library.
10237
allow_undefined_flag_CXX='-berok'
10238
# Determine the default libpath from the value encoded in an empty executable.
10239
cat >conftest.$ac_ext <<_ACEOF
10242
cat confdefs.h >>conftest.$ac_ext
10243
cat >>conftest.$ac_ext <<_ACEOF
10244
/* end confdefs.h. */
10254
rm -f conftest.$ac_objext conftest$ac_exeext
10255
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10256
(eval $ac_link) 2>conftest.er1
10258
grep -v '^ *+' conftest.er1 >conftest.err
10260
cat conftest.err >&5
10261
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262
(exit $ac_status); } &&
10263
{ ac_try='test -z "$ac_cxx_werror_flag"
10264
|| test ! -s conftest.err'
10265
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10266
(eval $ac_try) 2>&5
10268
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10269
(exit $ac_status); }; } &&
10270
{ ac_try='test -s conftest$ac_exeext'
10271
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10272
(eval $ac_try) 2>&5
10274
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275
(exit $ac_status); }; }; then
10277
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10279
# Check for a 64-bit object if we didn't find anything.
10280
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10283
echo "$as_me: failed program was:" >&5
10284
sed 's/^/| /' conftest.$ac_ext >&5
10287
rm -f conftest.err conftest.$ac_objext \
10288
conftest$ac_exeext conftest.$ac_ext
10289
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10291
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10293
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 echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10295
if test "$host_cpu" = ia64; then
10296
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
10297
allow_undefined_flag_CXX="-z nodefs"
10298
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"
10300
# Determine the default libpath from the value encoded in an empty executable.
10301
cat >conftest.$ac_ext <<_ACEOF
10304
cat confdefs.h >>conftest.$ac_ext
10305
cat >>conftest.$ac_ext <<_ACEOF
10306
/* end confdefs.h. */
10316
rm -f conftest.$ac_objext conftest$ac_exeext
10317
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10318
(eval $ac_link) 2>conftest.er1
10320
grep -v '^ *+' conftest.er1 >conftest.err
10322
cat conftest.err >&5
10323
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10324
(exit $ac_status); } &&
10325
{ ac_try='test -z "$ac_cxx_werror_flag"
10326
|| test ! -s conftest.err'
10327
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10328
(eval $ac_try) 2>&5
10330
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10331
(exit $ac_status); }; } &&
10332
{ ac_try='test -s conftest$ac_exeext'
10333
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10334
(eval $ac_try) 2>&5
10336
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10337
(exit $ac_status); }; }; then
10339
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10341
# Check for a 64-bit object if we didn't find anything.
10342
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10345
echo "$as_me: failed program was:" >&5
10346
sed 's/^/| /' conftest.$ac_ext >&5
10349
rm -f conftest.err conftest.$ac_objext \
10350
conftest$ac_exeext conftest.$ac_ext
10351
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10353
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10354
# Warning - without using the other run time loading flags,
10355
# -berok will link without error, but may produce a broken library.
10356
no_undefined_flag_CXX=' ${wl}-bernotok'
10357
allow_undefined_flag_CXX=' ${wl}-berok'
10358
# Exported symbols can be pulled into shared objects from archives
10359
whole_archive_flag_spec_CXX='$convenience'
10360
archive_cmds_need_lc_CXX=yes
10361
# This is similar to how AIX traditionally builds its shared libraries.
10362
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'
10368
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10369
allow_undefined_flag_CXX=unsupported
10370
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10371
# support --undefined. This deserves some investigation. FIXME
10372
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10379
case $cc_basename in
10381
# FIXME: insert proper C++ library support
10387
cygwin* | mingw* | pw32*)
10388
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10389
# as there is no search path for DLLs.
10390
hardcode_libdir_flag_spec_CXX='-L$libdir'
10391
allow_undefined_flag_CXX=unsupported
10392
always_export_symbols_CXX=no
10393
enable_shared_with_static_runtimes_CXX=yes
10395
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10396
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'
10397
# If the export-symbols file already is a .def file (1st line
10398
# is EXPORTS), use it as is; otherwise, prepend...
10399
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10400
cp $export_symbols $output_objdir/$soname.def;
10402
echo EXPORTS > $output_objdir/$soname.def;
10403
cat $export_symbols >> $output_objdir/$soname.def;
10405
$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'
10410
darwin* | rhapsody*)
10412
rhapsody* | darwin1.[012])
10413
allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10416
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10417
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10419
case ${MACOSX_DEPLOYMENT_TARGET} in
10421
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10424
allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10430
archive_cmds_need_lc_CXX=no
10431
hardcode_direct_CXX=no
10432
hardcode_automatic_CXX=yes
10433
hardcode_shlibpath_var_CXX=unsupported
10434
whole_archive_flag_spec_CXX=''
10435
link_all_deplibs_CXX=yes
10437
if test "$GXX" = yes ; then
10438
lt_int_apple_cc_single_mod=no
10439
output_verbose_link_cmd='echo'
10440
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
10441
lt_int_apple_cc_single_mod=yes
10443
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10444
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10446
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'
12238
# Check if GNU C++ uses GNU ld as the underlying linker, since the
12239
# archiving commands below assume that GNU ld is being used.
12240
if test "$with_gnu_ld" = yes; then
12241
archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12242
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'
12244
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12245
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12247
# If archive_cmds runs LD, not CC, wlarc should be empty
12248
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12249
# investigate it a little bit more. (MM)
12252
# ancient GNU ld didn't support --whole-archive et. al.
12253
if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12254
$GREP 'no-whole-archive' > /dev/null; then
12255
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12257
whole_archive_flag_spec_CXX=
10448
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10449
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10450
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10451
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10453
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10455
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10457
case $cc_basename in
10459
output_verbose_link_cmd='echo'
10460
archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
10461
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10462
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10463
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10464
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12263
# A generic and very simple default shared library creation
12264
# command for GNU C++ for the case where it uses the native
12265
# linker, instead of GNU ld. If possible, this setting should
12266
# overridden to take advantage of the native linker features on
12267
# the platform it is being used on.
12268
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10474
case $cc_basename in
10476
# FIXME: insert proper C++ library support
10480
# Green Hills C++ Compiler
10481
# FIXME: insert proper C++ library support
10485
# FIXME: insert proper C++ library support
10491
# C++ shared libraries reported to be fairly broken before switch to ELF
10495
archive_cmds_need_lc_CXX=no
10497
freebsd* | kfreebsd*-gnu | dragonfly*)
10498
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10505
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10506
hardcode_libdir_separator_CXX=:
10507
export_dynamic_flag_spec_CXX='${wl}-E'
10508
hardcode_direct_CXX=yes
10509
hardcode_minus_L_CXX=yes # Not in the search PATH,
10510
# but as the default
10511
# location of the library.
10513
case $cc_basename in
10515
# FIXME: insert proper C++ library support
10519
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'
10520
12271
# Commands to make compiler produce verbose output that lists
10521
12272
# what "hidden" libraries, object files and flags are used when
10522
12273
# linking a shared library.
10524
# There doesn't appear to be a way to prevent this compiler from
10525
# explicitly linking system object files so we need to strip them
10526
# from the output so that they don't get included in the library
10528
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; echo $list'
10531
if test "$GXX" = yes; then
10532
archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${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'
12274
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12282
# PORTME: fill in a description of your system's C++ link characteristics
12283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12284
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10534
12288
# FIXME: insert proper C++ library support
10535
12289
ld_shlibs_CXX=no
10541
if test $with_gnu_ld = no; then
10542
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10543
hardcode_libdir_separator_CXX=:
10547
hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
12292
if test "$host_cpu" = ia64; then
12293
# On IA64, the linker does run time linking by default, so we don't
12294
# have to do anything special.
12295
aix_use_runtimelinking=no
12296
exp_sym_flag='-Bexport'
12299
aix_use_runtimelinking=no
12301
# Test if we are trying to use run time linking or normal
12302
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
12303
# need to do runtime linking.
12304
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12305
for ld_flag in $LDFLAGS; do
12308
aix_use_runtimelinking=yes
12316
exp_sym_flag='-bexport'
12317
no_entry_flag='-bnoentry'
12320
# When large executables or shared objects are built, AIX ld can
12321
# have problems creating the table of contents. If linking a library
12322
# or program results in "error TOC overflow" add -mminimal-toc to
12323
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12324
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12326
archive_cmds_CXX=''
12327
hardcode_direct_CXX=yes
12328
hardcode_direct_absolute_CXX=yes
12329
hardcode_libdir_separator_CXX=':'
12330
link_all_deplibs_CXX=yes
12331
file_list_spec_CXX='${wl}-f,'
12333
if test "$GXX" = yes; then
12334
case $host_os in aix4.[012]|aix4.[012].*)
12335
# We only want to do this on AIX 4.2 and lower, the check
12336
# below for broken collect2 doesn't work under 4.3+
12337
collect2name=`${CC} -print-prog-name=collect2`
12338
if test -f "$collect2name" &&
12339
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12341
# We have reworked collect2
12344
# We have old collect2
12345
hardcode_direct_CXX=unsupported
12346
# It fails to find uninstalled libraries when the uninstalled
12347
# path is not listed in the libpath. Setting hardcode_minus_L
12348
# to unsupported forces relinking
12349
hardcode_minus_L_CXX=yes
12350
hardcode_libdir_flag_spec_CXX='-L$libdir'
12351
hardcode_libdir_separator_CXX=
12354
shared_flag='-shared'
12355
if test "$aix_use_runtimelinking" = yes; then
12356
shared_flag="$shared_flag "'${wl}-G'
12360
if test "$host_cpu" = ia64; then
12361
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12362
# chokes on -Wl,-G. The following line is correct:
12365
if test "$aix_use_runtimelinking" = yes; then
12366
shared_flag='${wl}-G'
12368
shared_flag='${wl}-bM:SRE'
12373
export_dynamic_flag_spec_CXX='${wl}-bexpall'
12374
# It seems that -bexpall does not export symbols beginning with
12375
# underscore (_), so it is better to generate a list of symbols to
12377
always_export_symbols_CXX=yes
12378
if test "$aix_use_runtimelinking" = yes; then
12379
# Warning - without using the other runtime loading flags (-brtl),
12380
# -berok will link without error, but may produce a broken library.
12381
allow_undefined_flag_CXX='-berok'
12382
# Determine the default libpath from the value encoded in an empty
12384
if test "${lt_cv_aix_libpath+set}" = set; then
12385
aix_libpath=$lt_cv_aix_libpath
12387
if ${lt_cv_aix_libpath__CXX+:} false; then :
12388
$as_echo_n "(cached) " >&6
12390
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12391
/* end confdefs.h. */
12401
if ac_fn_cxx_try_link "$LINENO"; then :
12403
lt_aix_libpath_sed='
12404
/Import File Strings/,/^$/ {
12406
s/^0 *\([^ ]*\) *$/\1/
12410
lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12411
# Check for a 64-bit object if we didn't find anything.
12412
if test -z "$lt_cv_aix_libpath__CXX"; then
12413
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12416
rm -f core conftest.err conftest.$ac_objext \
12417
conftest$ac_exeext conftest.$ac_ext
12418
if test -z "$lt_cv_aix_libpath__CXX"; then
12419
lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12424
aix_libpath=$lt_cv_aix_libpath__CXX
12427
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12429
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"
12431
if test "$host_cpu" = ia64; then
12432
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12433
allow_undefined_flag_CXX="-z nodefs"
12434
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"
12436
# Determine the default libpath from the value encoded in an
12437
# empty executable.
12438
if test "${lt_cv_aix_libpath+set}" = set; then
12439
aix_libpath=$lt_cv_aix_libpath
12441
if ${lt_cv_aix_libpath__CXX+:} false; then :
12442
$as_echo_n "(cached) " >&6
12444
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12445
/* end confdefs.h. */
12455
if ac_fn_cxx_try_link "$LINENO"; then :
12457
lt_aix_libpath_sed='
12458
/Import File Strings/,/^$/ {
12460
s/^0 *\([^ ]*\) *$/\1/
12464
lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12465
# Check for a 64-bit object if we didn't find anything.
12466
if test -z "$lt_cv_aix_libpath__CXX"; then
12467
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12470
rm -f core conftest.err conftest.$ac_objext \
12471
conftest$ac_exeext conftest.$ac_ext
12472
if test -z "$lt_cv_aix_libpath__CXX"; then
12473
lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12478
aix_libpath=$lt_cv_aix_libpath__CXX
12481
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12482
# Warning - without using the other run time loading flags,
12483
# -berok will link without error, but may produce a broken library.
12484
no_undefined_flag_CXX=' ${wl}-bernotok'
12485
allow_undefined_flag_CXX=' ${wl}-berok'
12486
if test "$with_gnu_ld" = yes; then
12487
# We only use this code for GNU lds that support --whole-archive.
12488
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12490
# Exported symbols can be pulled into shared objects from archives
12491
whole_archive_flag_spec_CXX='$convenience'
12493
archive_cmds_need_lc_CXX=yes
12494
# This is similar to how AIX traditionally builds its shared
12496
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'
12502
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12503
allow_undefined_flag_CXX=unsupported
12504
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12505
# support --undefined. This deserves some investigation. FIXME
12506
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12513
case $cc_basename in
12515
# FIXME: insert proper C++ library support
12521
cygwin* | mingw* | pw32* | cegcc*)
12522
case $GXX,$cc_basename in
12525
# hardcode_libdir_flag_spec is actually meaningless, as there is
12526
# no search path for DLLs.
12527
hardcode_libdir_flag_spec_CXX=' '
12528
allow_undefined_flag_CXX=unsupported
12529
always_export_symbols_CXX=yes
12530
file_list_spec_CXX='@'
12531
# Tell ltmain to make .lib files, not .a files.
12533
# Tell ltmain to make .dll files, not .so files.
12535
# FIXME: Setting linknames here is a bad hack.
12536
archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12537
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12538
$SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12540
$SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12542
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12544
# The linker will not automatically build a static lib if we build a DLL.
12545
# _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12546
enable_shared_with_static_runtimes_CXX=yes
12548
old_postinstall_cmds_CXX='chmod 644 $oldlib'
12549
postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12550
lt_tool_outputfile="@TOOL_OUTPUT@"~
12551
case $lt_outputfile in
12554
lt_outputfile="$lt_outputfile.exe"
12555
lt_tool_outputfile="$lt_tool_outputfile.exe"
12558
func_to_tool_file "$lt_outputfile"~
12559
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12560
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12561
$RM "$lt_outputfile.manifest";
12566
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12567
# as there is no search path for DLLs.
12568
hardcode_libdir_flag_spec_CXX='-L$libdir'
12569
export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12570
allow_undefined_flag_CXX=unsupported
12571
always_export_symbols_CXX=no
12572
enable_shared_with_static_runtimes_CXX=yes
12574
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12575
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'
12576
# If the export-symbols file already is a .def file (1st line
12577
# is EXPORTS), use it as is; otherwise, prepend...
12578
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12579
cp $export_symbols $output_objdir/$soname.def;
12581
echo EXPORTS > $output_objdir/$soname.def;
12582
cat $export_symbols >> $output_objdir/$soname.def;
12584
$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'
12591
darwin* | rhapsody*)
12594
archive_cmds_need_lc_CXX=no
12595
hardcode_direct_CXX=no
12596
hardcode_automatic_CXX=yes
12597
hardcode_shlibpath_var_CXX=unsupported
12598
if test "$lt_cv_ld_force_load" = "yes"; then
12599
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\"`'
12601
whole_archive_flag_spec_CXX=''
12603
link_all_deplibs_CXX=yes
12604
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12605
case $cc_basename in
12606
ifort*) _lt_dar_can_shared=yes ;;
12607
*) _lt_dar_can_shared=$GCC ;;
12609
if test "$_lt_dar_can_shared" = "yes"; then
12610
output_verbose_link_cmd=func_echo_all
12611
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}"
12612
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12613
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}"
12614
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}"
12615
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12616
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}"
12617
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}"
12627
case $cc_basename in
12629
# FIXME: insert proper C++ library support
12633
# Green Hills C++ Compiler
12634
# FIXME: insert proper C++ library support
12638
# FIXME: insert proper C++ library support
12645
# C++ shared libraries reported to be fairly broken before
12651
archive_cmds_need_lc_CXX=no
12654
freebsd* | dragonfly*)
12655
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12664
archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12665
link_all_deplibs_CXX=yes
12669
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12670
hardcode_libdir_separator_CXX=:
12671
export_dynamic_flag_spec_CXX='${wl}-E'
12672
hardcode_direct_CXX=yes
12673
hardcode_minus_L_CXX=yes # Not in the search PATH,
12674
# but as the default
12675
# location of the library.
12677
case $cc_basename in
12679
# FIXME: insert proper C++ library support
12683
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'
12684
# Commands to make compiler produce verbose output that lists
12685
# what "hidden" libraries, object files and flags are used when
12686
# linking a shared library.
12688
# There doesn't appear to be a way to prevent this compiler from
12689
# explicitly linking system object files so we need to strip them
12690
# from the output so that they don't get included in the library
12692
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"'
12695
if test "$GXX" = yes; then
12696
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'
12698
# FIXME: insert proper C++ library support
12706
if test $with_gnu_ld = no; then
12707
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12708
hardcode_libdir_separator_CXX=:
12714
export_dynamic_flag_spec_CXX='${wl}-E'
12720
hardcode_direct_CXX=no
12721
hardcode_shlibpath_var_CXX=no
12724
hardcode_direct_CXX=yes
12725
hardcode_direct_absolute_CXX=yes
12726
hardcode_minus_L_CXX=yes # Not in the search PATH,
12727
# but as the default
12728
# location of the library.
12732
case $cc_basename in
12734
# FIXME: insert proper C++ library support
12740
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12743
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12746
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12749
# Commands to make compiler produce verbose output that lists
12750
# what "hidden" libraries, object files and flags are used when
12751
# linking a shared library.
12753
# There doesn't appear to be a way to prevent this compiler from
12754
# explicitly linking system object files so we need to strip them
12755
# from the output so that they don't get included in the library
12757
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"'
12760
if test "$GXX" = yes; then
12761
if test $with_gnu_ld = no; then
12764
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12767
archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12770
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'
12775
# FIXME: insert proper C++ library support
12783
hardcode_direct_CXX=no
12784
hardcode_shlibpath_var_CXX=no
12785
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10550
12786
export_dynamic_flag_spec_CXX='${wl}-E'
10556
hardcode_direct_CXX=no
12787
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12788
# Instead, shared libraries are loaded at an image base (0x10000000 by
12789
# default) and relocated if they conflict, which is a slow very memory
12790
# consuming and fragmenting process. To avoid this, we pick a random,
12791
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12792
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
12793
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'
12794
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'
12797
case $cc_basename in
12800
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'
12802
# Archives containing C++ object files must be created using
12803
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
12804
# necessary to make sure instantiated templates are included
12806
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12809
if test "$GXX" = yes; then
12810
if test "$with_gnu_ld" = no; then
12811
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'
12813
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'
12816
link_all_deplibs_CXX=yes
12819
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12820
hardcode_libdir_separator_CXX=:
12821
inherit_rpath_CXX=yes
12824
linux* | k*bsd*-gnu | kopensolaris*-gnu)
12825
case $cc_basename in
12827
# Kuck and Associates, Inc. (KAI) C++ Compiler
12829
# KCC will only create a shared library if the output file
12830
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12831
# to its proper name (with version) after linking.
12832
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'
12833
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'
12834
# Commands to make compiler produce verbose output that lists
12835
# what "hidden" libraries, object files and flags are used when
12836
# linking a shared library.
12838
# There doesn't appear to be a way to prevent this compiler from
12839
# explicitly linking system object files so we need to strip them
12840
# from the output so that they don't get included in the library
12842
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"'
12844
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12845
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12847
# Archives containing C++ object files must be created using
12848
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12849
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12854
# version 8.0 and above of icpc choke on multiply defined symbols
12855
# if we add $predep_objects and $postdep_objects, however 7.1 and
12856
# earlier do not add the objects themselves.
12857
case `$CC -V 2>&1` in
12859
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12860
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'
12862
*) # Version 8.0 or newer
12865
ia64*) tmp_idyn=' -i_dynamic';;
12867
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12868
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'
12871
archive_cmds_need_lc_CXX=no
12872
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12873
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12874
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12877
# Portland Group C++ compiler
12879
*pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12880
prelink_cmds_CXX='tpldir=Template.dir~
12882
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12883
compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12884
old_archive_cmds_CXX='tpldir=Template.dir~
12886
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12887
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12889
archive_cmds_CXX='tpldir=Template.dir~
12891
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12892
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12893
archive_expsym_cmds_CXX='tpldir=Template.dir~
12895
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12896
$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'
12898
*) # Version 6 and above use weak symbols
12899
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12900
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'
12904
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12905
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12906
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'
12910
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12911
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'
12913
runpath_var=LD_RUN_PATH
12914
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12915
hardcode_libdir_separator_CXX=:
12917
# Commands to make compiler produce verbose output that lists
12918
# what "hidden" libraries, object files and flags are used when
12919
# linking a shared library.
12921
# There doesn't appear to be a way to prevent this compiler from
12922
# explicitly linking system object files so we need to strip them
12923
# from the output so that they don't get included in the library
12925
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'
12927
xl* | mpixl* | bgxl*)
12928
# IBM XL 8.0 on PPC, with GNU ld
12929
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12930
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12931
archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12932
if test "x$supports_anon_versioning" = xyes; then
12933
archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12934
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12935
echo "local: *; };" >> $output_objdir/$libname.ver~
12936
$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12940
case `$CC -V 2>&1 | sed 5q` in
12943
no_undefined_flag_CXX=' -zdefs'
12944
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12945
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'
12946
hardcode_libdir_flag_spec_CXX='-R$libdir'
12947
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'
12948
compiler_needs_object_CXX=yes
12950
# Not sure whether something based on
12951
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12953
output_verbose_link_cmd='func_echo_all'
12955
# Archives containing C++ object files must be created using
12956
# "CC -xar", where "CC" is the Sun C++ compiler. This is
12957
# necessary to make sure instantiated templates are included
12959
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12967
# FIXME: insert proper C++ library support
12972
# FIXME: insert proper C++ library support
12977
case $cc_basename in
12979
# FIXME: insert proper C++ library support
12983
# FIXME: insert proper C++ library support
12990
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12991
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12993
hardcode_libdir_flag_spec_CXX='-R$libdir'
12994
hardcode_direct_CXX=yes
12995
hardcode_shlibpath_var_CXX=no
12997
# Workaround some broken pre-1.5 toolchains
12998
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13006
# C++ shared libraries are fairly broken
13011
if test -f /usr/libexec/ld.so; then
13012
hardcode_direct_CXX=yes
13013
hardcode_shlibpath_var_CXX=no
13014
hardcode_direct_absolute_CXX=yes
13015
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13016
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13017
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13018
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13019
export_dynamic_flag_spec_CXX='${wl}-E'
13020
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13022
output_verbose_link_cmd=func_echo_all
13028
osf3* | osf4* | osf5*)
13029
case $cc_basename in
13031
# Kuck and Associates, Inc. (KAI) C++ Compiler
13033
# KCC will only create a shared library if the output file
13034
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13035
# to its proper name (with version) after linking.
13036
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'
13038
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13039
hardcode_libdir_separator_CXX=:
13041
# Archives containing C++ object files must be created using
13042
# the KAI C++ compiler.
13044
osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13045
*) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13049
# Rational C++ 2.4.1
13050
# FIXME: insert proper C++ library support
13056
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13057
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'
13058
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13061
allow_undefined_flag_CXX=' -expect_unresolved \*'
13062
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'
13063
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13064
echo "-hidden">> $lib.exp~
13065
$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~
13067
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13071
hardcode_libdir_separator_CXX=:
13073
# Commands to make compiler produce verbose output that lists
13074
# what "hidden" libraries, object files and flags are used when
13075
# linking a shared library.
13077
# There doesn't appear to be a way to prevent this compiler from
13078
# explicitly linking system object files so we need to strip them
13079
# from the output so that they don't get included in the library
13081
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"'
13084
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13085
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13088
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'
13091
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'
13095
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13096
hardcode_libdir_separator_CXX=:
13098
# Commands to make compiler produce verbose output that lists
13099
# what "hidden" libraries, object files and flags are used when
13100
# linking a shared library.
13101
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13104
# FIXME: insert proper C++ library support
13112
# FIXME: insert proper C++ library support
13117
case $cc_basename in
13120
# FIXME: insert proper C++ library support
13125
# FIXME: insert proper C++ library support
13129
# FIXME: insert proper C++ library support
13136
case $cc_basename in
13138
# Sun C++ 4.2, 5.x and Centerline C++
13139
archive_cmds_need_lc_CXX=yes
13140
no_undefined_flag_CXX=' -zdefs'
13141
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13142
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13143
$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'
13145
hardcode_libdir_flag_spec_CXX='-R$libdir'
13146
hardcode_shlibpath_var_CXX=no
13148
solaris2.[0-5] | solaris2.[0-5].*) ;;
13150
# The compiler driver will combine and reorder linker options,
13151
# but understands `-z linker_flag'.
13152
# Supported since Solaris 2.6 (maybe 2.5.1?)
13153
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13156
link_all_deplibs_CXX=yes
13158
output_verbose_link_cmd='func_echo_all'
13160
# Archives containing C++ object files must be created using
13161
# "CC -xar", where "CC" is the Sun C++ compiler. This is
13162
# necessary to make sure instantiated templates are included
13164
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13167
# Green Hills C++ Compiler
13168
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13170
# The C++ compiler must be used to create the archive.
13171
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13174
# GNU C++ compiler with Solaris linker
13175
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13176
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13177
if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13178
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13179
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13180
$CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13182
# Commands to make compiler produce verbose output that lists
13183
# what "hidden" libraries, object files and flags are used when
13184
# linking a shared library.
13185
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13187
# g++ 2.7 appears to require `-G' NOT `-shared' on this
13189
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13190
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13191
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13193
# Commands to make compiler produce verbose output that lists
13194
# what "hidden" libraries, object files and flags are used when
13195
# linking a shared library.
13196
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13199
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13201
solaris2.[0-5] | solaris2.[0-5].*) ;;
13203
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13211
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13212
no_undefined_flag_CXX='${wl}-z,text'
13213
archive_cmds_need_lc_CXX=no
10557
13214
hardcode_shlibpath_var_CXX=no
10560
hardcode_direct_CXX=yes
10561
hardcode_minus_L_CXX=yes # Not in the search PATH,
10562
# but as the default
10563
# location of the library.
13215
runpath_var='LD_RUN_PATH'
10567
case $cc_basename in
10569
# FIXME: insert proper C++ library support
10575
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10578
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13217
case $cc_basename in
13219
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13220
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10581
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10584
# Commands to make compiler produce verbose output that lists
10585
# what "hidden" libraries, object files and flags are used when
10586
# linking a shared library.
10588
# There doesn't appear to be a way to prevent this compiler from
10589
# explicitly linking system object files so we need to strip them
10590
# from the output so that they don't get included in the library
10592
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; echo $list'
10595
if test "$GXX" = yes; then
10596
if test $with_gnu_ld = no; then
10599
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10602
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10605
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10610
# FIXME: insert proper C++ library support
10617
hardcode_direct_CXX=no
10618
hardcode_shlibpath_var_CXX=no
10619
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10620
export_dynamic_flag_spec_CXX='${wl}-E'
10621
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10622
# Instead, shared libraries are loaded at an image base (0x10000000 by
10623
# default) and relocated if they conflict, which is a slow very memory
10624
# consuming and fragmenting process. To avoid this, we pick a random,
10625
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10626
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
10627
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'
10628
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'
10631
case $cc_basename in
10634
archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10636
# Archives containing C++ object files must be created using
10637
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
10638
# necessary to make sure instantiated templates are included
10640
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10643
if test "$GXX" = yes; then
10644
if test "$with_gnu_ld" = no; then
10645
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10647
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
10650
link_all_deplibs_CXX=yes
10653
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10654
hardcode_libdir_separator_CXX=:
10657
case $cc_basename in
10659
# Kuck and Associates, Inc. (KAI) C++ Compiler
10661
# KCC will only create a shared library if the output file
10662
# ends with ".so" (or ".sl" for HP-UX), so rename the library
10663
# to its proper name (with version) after linking.
10664
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'
10665
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'
10666
# Commands to make compiler produce verbose output that lists
10667
# what "hidden" libraries, object files and flags are used when
10668
# linking a shared library.
10670
# There doesn't appear to be a way to prevent this compiler from
10671
# explicitly linking system object files so we need to strip them
10672
# from the output so that they don't get included in the library
10674
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; echo $list'
10676
hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10677
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10679
# Archives containing C++ object files must be created using
10680
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
10681
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10686
# version 8.0 and above of icpc choke on multiply defined symbols
10687
# if we add $predep_objects and $postdep_objects, however 7.1 and
10688
# earlier do not add the objects themselves.
10689
case `$CC -V 2>&1` in
10691
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10692
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'
10694
*) # Version 8.0 or newer
10697
ia64*) tmp_idyn=' -i_dynamic';;
10699
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10700
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'
13223
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13224
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13229
sysv5* | sco3.2v5* | sco5v6*)
13230
# Note: We can NOT use -z defs as we might desire, because we do not
13231
# link with -lc, and that would cause any symbols used from libc to
13232
# always be unresolved, which means just about no library would
13233
# ever link correctly. If we're not using GNU ld we use -z text
13234
# though, which does catch some bad symbols but isn't as heavy-handed
13236
no_undefined_flag_CXX='${wl}-z,text'
13237
allow_undefined_flag_CXX='${wl}-z,nodefs'
10703
13238
archive_cmds_need_lc_CXX=no
10704
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10705
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10706
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10709
# Portland Group C++ compiler
10710
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10711
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'
10713
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10714
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10715
whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
10719
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10720
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'
10722
runpath_var=LD_RUN_PATH
10723
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10724
hardcode_libdir_separator_CXX=:
10726
# Commands to make compiler produce verbose output that lists
10727
# what "hidden" libraries, object files and flags are used when
10728
# linking a shared library.
10730
# There doesn't appear to be a way to prevent this compiler from
10731
# explicitly linking system object files so we need to strip them
10732
# from the output so that they don't get included in the library
10734
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $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; echo $list'
10739
# FIXME: insert proper C++ library support
10743
# FIXME: insert proper C++ library support
10747
case $cc_basename in
10749
# FIXME: insert proper C++ library support
10753
# FIXME: insert proper C++ library support
10759
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10760
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10762
hardcode_libdir_flag_spec_CXX='-R$libdir'
10763
hardcode_direct_CXX=yes
10764
hardcode_shlibpath_var_CXX=no
10766
# Workaround some broken pre-1.5 toolchains
10767
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10770
# C++ shared libraries are fairly broken
10774
hardcode_direct_CXX=yes
10775
hardcode_shlibpath_var_CXX=no
10776
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10777
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10778
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10779
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10780
export_dynamic_flag_spec_CXX='${wl}-E'
10781
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10783
output_verbose_link_cmd='echo'
10786
case $cc_basename in
10788
# Kuck and Associates, Inc. (KAI) C++ Compiler
10790
# KCC will only create a shared library if the output file
10791
# ends with ".so" (or ".sl" for HP-UX), so rename the library
10792
# to its proper name (with version) after linking.
10793
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'
10795
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10796
hardcode_libdir_separator_CXX=:
10798
# Archives containing C++ object files must be created using
10799
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
10800
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10804
# Rational C++ 2.4.1
10805
# FIXME: insert proper C++ library support
10809
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10810
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10812
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10813
hardcode_libdir_separator_CXX=:
10815
# Commands to make compiler produce verbose output that lists
10816
# what "hidden" libraries, object files and flags are used when
10817
# linking a shared library.
10819
# There doesn't appear to be a way to prevent this compiler from
10820
# explicitly linking system object files so we need to strip them
10821
# from the output so that they don't get included in the library
10823
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $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; echo $list'
10826
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10827
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10828
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10830
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10831
hardcode_libdir_separator_CXX=:
10833
# Commands to make compiler produce verbose output that lists
10834
# what "hidden" libraries, object files and flags are used when
10835
# linking a shared library.
10836
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10839
# FIXME: insert proper C++ library support
10846
case $cc_basename in
10848
# Kuck and Associates, Inc. (KAI) C++ Compiler
10850
# KCC will only create a shared library if the output file
10851
# ends with ".so" (or ".sl" for HP-UX), so rename the library
10852
# to its proper name (with version) after linking.
10853
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'
10855
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10856
hardcode_libdir_separator_CXX=:
10858
# Archives containing C++ object files must be created using
10859
# the KAI C++ compiler.
10860
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10863
# Rational C++ 2.4.1
10864
# FIXME: insert proper C++ library support
10868
allow_undefined_flag_CXX=' -expect_unresolved \*'
10869
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10870
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10871
echo "-hidden">> $lib.exp~
10872
$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~
10875
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10876
hardcode_libdir_separator_CXX=:
10878
# Commands to make compiler produce verbose output that lists
10879
# what "hidden" libraries, object files and flags are used when
10880
# linking a shared library.
10882
# There doesn't appear to be a way to prevent this compiler from
10883
# explicitly linking system object files so we need to strip them
10884
# from the output so that they don't get included in the library
10886
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $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; echo $list'
10889
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10890
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10891
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10893
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10894
hardcode_libdir_separator_CXX=:
10896
# Commands to make compiler produce verbose output that lists
10897
# what "hidden" libraries, object files and flags are used when
10898
# linking a shared library.
10899
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10902
# FIXME: insert proper C++ library support
10909
# FIXME: insert proper C++ library support
10913
case $cc_basename in
10916
# FIXME: insert proper C++ library support
10921
# FIXME: insert proper C++ library support
10925
# FIXME: insert proper C++ library support
10931
case $cc_basename in
10933
# Sun C++ 4.2, 5.x and Centerline C++
10934
archive_cmds_need_lc_CXX=yes
10935
no_undefined_flag_CXX=' -zdefs'
10936
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10937
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10938
$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'
10940
hardcode_libdir_flag_spec_CXX='-R$libdir'
10941
13239
hardcode_shlibpath_var_CXX=no
10943
solaris2.[0-5] | solaris2.[0-5].*) ;;
13240
hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13241
hardcode_libdir_separator_CXX=':'
13242
link_all_deplibs_CXX=yes
13243
export_dynamic_flag_spec_CXX='${wl}-Bexport'
13244
runpath_var='LD_RUN_PATH'
13246
case $cc_basename in
13248
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13249
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13250
old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13251
'"$old_archive_cmds_CXX"
13252
reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13253
'"$reload_cmds_CXX"
10945
# The C++ compiler is used as linker so we must use $wl
10946
# flag to pass the commands to the underlying system
10947
# linker. We must also pass each convience library through
10948
# to the system linker between allextract/defaultextract.
10949
# The C++ compiler will combine linker options so we
10950
# cannot just pass the convience library names through
10952
# Supported since Solaris 2.6 (maybe 2.5.1?)
10953
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
13256
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13257
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10956
link_all_deplibs_CXX=yes
10958
output_verbose_link_cmd='echo'
10960
# Archives containing C++ object files must be created using
10961
# "CC -xar", where "CC" is the Sun C++ compiler. This is
10962
# necessary to make sure instantiated templates are included
10964
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10967
# Green Hills C++ Compiler
10968
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10970
# The C++ compiler must be used to create the archive.
10971
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10974
# GNU C++ compiler with Solaris linker
10975
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10976
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10977
if $CC --version | grep -v '^2\.7' > /dev/null; then
10978
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10979
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10980
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10982
# Commands to make compiler produce verbose output that lists
10983
# what "hidden" libraries, object files and flags are used when
10984
# linking a shared library.
10985
output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10987
# g++ 2.7 appears to require `-G' NOT `-shared' on this
10989
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10990
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10991
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10993
# Commands to make compiler produce verbose output that lists
10994
# what "hidden" libraries, object files and flags are used when
10995
# linking a shared library.
10996
output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10999
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
11004
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11005
no_undefined_flag_CXX='${wl}-z,text'
11006
archive_cmds_need_lc_CXX=no
11007
hardcode_shlibpath_var_CXX=no
11008
runpath_var='LD_RUN_PATH'
11010
case $cc_basename in
11012
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11013
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11016
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11017
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11021
sysv5* | sco3.2v5* | sco5v6*)
11022
# Note: We can NOT use -z defs as we might desire, because we do not
11023
# link with -lc, and that would cause any symbols used from libc to
11024
# always be unresolved, which means just about no library would
11025
# ever link correctly. If we're not using GNU ld we use -z text
11026
# though, which does catch some bad symbols but isn't as heavy-handed
11028
# For security reasons, it is highly recommended that you always
11029
# use absolute paths for naming shared libraries, and exclude the
11030
# DT_RUNPATH tag from executables and libraries. But doing so
11031
# requires that you compile everything twice, which is a pain.
11032
# So that behaviour is only enabled if SCOABSPATH is set to a
11033
# non-empty value in the environment. Most likely only useful for
11034
# creating official distributions of packages.
11035
# This is a hack until libtool officially supports absolute path
11036
# names for shared libraries.
11037
no_undefined_flag_CXX='${wl}-z,text'
11038
allow_undefined_flag_CXX='${wl}-z,nodefs'
11039
archive_cmds_need_lc_CXX=no
11040
hardcode_shlibpath_var_CXX=no
11041
hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11042
hardcode_libdir_separator_CXX=':'
11043
link_all_deplibs_CXX=yes
11044
export_dynamic_flag_spec_CXX='${wl}-Bexport'
11045
runpath_var='LD_RUN_PATH'
11047
case $cc_basename in
11049
archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11050
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11053
archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11054
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11059
case $cc_basename in
11061
# NonStop-UX NCC 3.20
11062
# FIXME: insert proper C++ library support
11066
# FIXME: insert proper C++ library support
11072
# FIXME: insert proper C++ library support
11076
# FIXME: insert proper C++ library support
11080
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11081
echo "${ECHO_T}$ld_shlibs_CXX" >&6
11082
test "$ld_shlibs_CXX" = no && can_build_shared=no
11088
## There is no encapsulation within the following macros, do not change
11089
## the running order or otherwise move them around unless you know exactly
11090
## what you are doing...
11092
cat > conftest.$ac_ext <<EOF
13263
case $cc_basename in
13265
# NonStop-UX NCC 3.20
13266
# FIXME: insert proper C++ library support
13270
# FIXME: insert proper C++ library support
13277
# FIXME: insert proper C++ library support
13282
# FIXME: insert proper C++ library support
13287
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13288
$as_echo "$ld_shlibs_CXX" >&6; }
13289
test "$ld_shlibs_CXX" = no && can_build_shared=no
13295
## There is no encapsulation within the following macros, do not change
13296
## the running order or otherwise move them around unless you know exactly
13297
## what you are doing...
13298
# Dependencies to place before and after the object being linked:
13299
predep_objects_CXX=
13300
postdep_objects_CXX=
13303
compiler_lib_search_path_CXX=
13305
cat > conftest.$ac_ext <<_LT_EOF
12391
15025
# directories.
12392
15026
hardcode_action_CXX=unsupported
12394
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12395
echo "${ECHO_T}$hardcode_action_CXX" >&6
12397
if test "$hardcode_action_CXX" = relink; then
12398
# Fast installation is not supported
12399
enable_fast_install=no
12400
elif test "$shlibpath_overrides_runpath" = yes ||
12401
test "$enable_shared" = no; then
12402
# Fast installation is not necessary
12403
enable_fast_install=needless
12407
# The else clause should only fire when bootstrapping the
12408
# libtool distribution, otherwise you forgot to ship ltmain.sh
12409
# with your package, and you will get complaints that there are
12410
# no rules to generate ltmain.sh.
12411
if test -f "$ltmain"; then
12412
# See if we are running on zsh, and set the options which allow our commands through
12413
# without removal of \ escapes.
12414
if test -n "${ZSH_VERSION+set}" ; then
12415
setopt NO_GLOB_SUBST
12417
# Now quote all the things that may contain metacharacters while being
12418
# careful not to overquote the AC_SUBSTed values. We take copies of the
12419
# variables and quote the copies for generation of the libtool script.
12420
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12422
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12423
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12424
deplibs_check_method reload_flag reload_cmds need_locks \
12425
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12426
lt_cv_sys_global_symbol_to_c_name_address \
12427
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12428
old_postinstall_cmds old_postuninstall_cmds \
12432
lt_prog_compiler_wl_CXX \
12433
lt_prog_compiler_pic_CXX \
12434
lt_prog_compiler_static_CXX \
12435
lt_prog_compiler_no_builtin_flag_CXX \
12436
export_dynamic_flag_spec_CXX \
12437
thread_safe_flag_spec_CXX \
12438
whole_archive_flag_spec_CXX \
12439
enable_shared_with_static_runtimes_CXX \
12440
old_archive_cmds_CXX \
12441
old_archive_from_new_cmds_CXX \
12442
predep_objects_CXX \
12443
postdep_objects_CXX \
12446
compiler_lib_search_path_CXX \
12448
archive_expsym_cmds_CXX \
12449
postinstall_cmds_CXX \
12450
postuninstall_cmds_CXX \
12451
old_archive_from_expsyms_cmds_CXX \
12452
allow_undefined_flag_CXX \
12453
no_undefined_flag_CXX \
12454
export_symbols_cmds_CXX \
12455
hardcode_libdir_flag_spec_CXX \
12456
hardcode_libdir_flag_spec_ld_CXX \
12457
hardcode_libdir_separator_CXX \
12458
hardcode_automatic_CXX \
12460
module_expsym_cmds_CXX \
12461
lt_cv_prog_compiler_c_o_CXX \
12462
exclude_expsyms_CXX \
12463
include_expsyms_CXX; do
12466
old_archive_cmds_CXX | \
12467
old_archive_from_new_cmds_CXX | \
12468
archive_cmds_CXX | \
12469
archive_expsym_cmds_CXX | \
12470
module_cmds_CXX | \
12471
module_expsym_cmds_CXX | \
12472
old_archive_from_expsyms_cmds_CXX | \
12473
export_symbols_cmds_CXX | \
12474
extract_expsyms_cmds | reload_cmds | finish_cmds | \
12475
postinstall_cmds | postuninstall_cmds | \
12476
old_postinstall_cmds | old_postuninstall_cmds | \
12477
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12478
# Double-quote double-evaled strings.
12479
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12482
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12488
*'\$0 --fallback-echo"')
12489
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12495
cat <<__EOF__ >> "$cfgfile"
12496
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
12498
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12500
# Shell to use when invoking shell scripts.
12503
# Whether or not to build shared libraries.
12504
build_libtool_libs=$enable_shared
12506
# Whether or not to build static libraries.
12507
build_old_libs=$enable_static
12509
# Whether or not to add -lc for building shared libraries.
12510
build_libtool_need_lc=$archive_cmds_need_lc_CXX
12512
# Whether or not to disallow shared libs when runtime libs are static
12513
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12515
# Whether or not to optimize for fast installation.
12516
fast_install=$enable_fast_install
12519
host_alias=$host_alias
12523
# The build system.
12524
build_alias=$build_alias
12528
# An echo program that does not interpret backslashes.
12533
AR_FLAGS=$lt_AR_FLAGS
12538
# LTCC compiler flags.
12539
LTCFLAGS=$lt_LTCFLAGS
12541
# A language-specific compiler.
12542
CC=$lt_compiler_CXX
12544
# Is the compiler the GNU C compiler?
12550
# The linker used to build libraries.
12553
# Whether we need hard or soft links.
12556
# A BSD-compatible nm program.
12559
# A symbol stripping program
12562
# Used to examine libraries when file_magic_cmd begins "file"
12563
MAGIC_CMD=$MAGIC_CMD
12565
# Used on cygwin: DLL creation program.
12568
# Used on cygwin: object dumper.
12571
# Used on cygwin: assembler.
12574
# The name of the directory that contains temporary libtool files.
12577
# How to create reloadable object files.
12578
reload_flag=$lt_reload_flag
12579
reload_cmds=$lt_reload_cmds
12581
# How to pass a linker flag through the compiler.
12582
wl=$lt_lt_prog_compiler_wl_CXX
12584
# Object file suffix (normally "o").
12585
objext="$ac_objext"
12587
# Old archive suffix (normally "a").
12590
# Shared library suffix (normally ".so").
12591
shrext_cmds='$shrext_cmds'
12593
# Executable file suffix (normally "").
12596
# Additional compiler flags for building library objects.
12597
pic_flag=$lt_lt_prog_compiler_pic_CXX
12600
# What is the maximum length of a command?
12601
max_cmd_len=$lt_cv_sys_max_cmd_len
12603
# Does compiler simultaneously support -c and -o options?
12604
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12606
# Must we lock files when doing compilation?
12607
need_locks=$lt_need_locks
12609
# Do we need the lib prefix for modules?
12610
need_lib_prefix=$need_lib_prefix
12612
# Do we need a version for libraries?
12613
need_version=$need_version
12615
# Whether dlopen is supported.
12616
dlopen_support=$enable_dlopen
12618
# Whether dlopen of programs is supported.
12619
dlopen_self=$enable_dlopen_self
12621
# Whether dlopen of statically linked programs is supported.
12622
dlopen_self_static=$enable_dlopen_self_static
12624
# Compiler flag to prevent dynamic linking.
12625
link_static_flag=$lt_lt_prog_compiler_static_CXX
12627
# Compiler flag to turn off builtin functions.
12628
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12630
# Compiler flag to allow reflexive dlopens.
12631
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12633
# Compiler flag to generate shared objects directly from archives.
12634
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12636
# Compiler flag to generate thread-safe objects.
12637
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12639
# Library versioning type.
12640
version_type=$version_type
12642
# Format of library name prefix.
12643
libname_spec=$lt_libname_spec
12645
# List of archive names. First name is the real one, the rest are links.
12646
# The last name is the one that the linker finds with -lNAME.
12647
library_names_spec=$lt_library_names_spec
12649
# The coded name of the library, if different from the real name.
12650
soname_spec=$lt_soname_spec
12652
# Commands used to build and install an old-style archive.
12654
old_archive_cmds=$lt_old_archive_cmds_CXX
12655
old_postinstall_cmds=$lt_old_postinstall_cmds
12656
old_postuninstall_cmds=$lt_old_postuninstall_cmds
12658
# Create an old-style archive from a shared archive.
12659
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12661
# Create a temporary old-style archive to link instead of a shared archive.
12662
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12664
# Commands used to build and install a shared archive.
12665
archive_cmds=$lt_archive_cmds_CXX
12666
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12667
postinstall_cmds=$lt_postinstall_cmds
12668
postuninstall_cmds=$lt_postuninstall_cmds
12670
# Commands used to build a loadable module (assumed same as above if empty)
12671
module_cmds=$lt_module_cmds_CXX
12672
module_expsym_cmds=$lt_module_expsym_cmds_CXX
12674
# Commands to strip libraries.
12675
old_striplib=$lt_old_striplib
12676
striplib=$lt_striplib
12678
# Dependencies to place before the objects being linked to create a
12680
predep_objects=$lt_predep_objects_CXX
12682
# Dependencies to place after the objects being linked to create a
12684
postdep_objects=$lt_postdep_objects_CXX
12686
# Dependencies to place before the objects being linked to create a
12688
predeps=$lt_predeps_CXX
12690
# Dependencies to place after the objects being linked to create a
12692
postdeps=$lt_postdeps_CXX
12694
# The library search path used internally by the compiler when linking
12695
# a shared library.
12696
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12698
# Method to check whether dependent libraries are shared objects.
12699
deplibs_check_method=$lt_deplibs_check_method
12701
# Command to use when deplibs_check_method == file_magic.
12702
file_magic_cmd=$lt_file_magic_cmd
12704
# Flag that allows shared libraries with undefined symbols to be built.
12705
allow_undefined_flag=$lt_allow_undefined_flag_CXX
12707
# Flag that forces no undefined symbols.
12708
no_undefined_flag=$lt_no_undefined_flag_CXX
12710
# Commands used to finish a libtool library installation in a directory.
12711
finish_cmds=$lt_finish_cmds
12713
# Same as above, but a single script fragment to be evaled but not shown.
12714
finish_eval=$lt_finish_eval
12716
# Take the output of nm and produce a listing of raw symbols and C names.
12717
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12719
# Transform the output of nm in a proper C declaration
12720
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12722
# Transform the output of nm in a C name address pair
12723
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12725
# This is the shared library runtime path variable.
12726
runpath_var=$runpath_var
12728
# This is the shared library path variable.
12729
shlibpath_var=$shlibpath_var
12731
# Is shlibpath searched before the hard-coded library search path?
12732
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12734
# How to hardcode a shared library path into an executable.
12735
hardcode_action=$hardcode_action_CXX
12737
# Whether we should hardcode library paths into libraries.
12738
hardcode_into_libs=$hardcode_into_libs
12740
# Flag to hardcode \$libdir into a binary during linking.
12741
# This must work even if \$libdir does not exist.
12742
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12744
# If ld is used when linking, flag to hardcode \$libdir into
12745
# a binary during linking. This must work even if \$libdir does
12747
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12749
# Whether we need a single -rpath flag with a separated argument.
12750
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12752
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12753
# resulting binary.
12754
hardcode_direct=$hardcode_direct_CXX
12756
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12757
# resulting binary.
12758
hardcode_minus_L=$hardcode_minus_L_CXX
12760
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12761
# the resulting binary.
12762
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12764
# Set to yes if building a shared library automatically hardcodes DIR into the library
12765
# and all subsequent libraries and executables linked against it.
12766
hardcode_automatic=$hardcode_automatic_CXX
12768
# Variables whose values should be saved in libtool wrapper scripts and
12769
# restored at relink time.
12770
variables_saved_for_relink="$variables_saved_for_relink"
12772
# Whether libtool must link a program against all its dependency libraries.
12773
link_all_deplibs=$link_all_deplibs_CXX
12775
# Compile-time system search path for libraries
12776
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12778
# Run-time system search path for libraries
12779
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12781
# Fix the shell variable \$srcfile for the compiler.
12782
fix_srcfile_path="$fix_srcfile_path_CXX"
12784
# Set to yes if exported symbols are required.
12785
always_export_symbols=$always_export_symbols_CXX
12787
# The commands to list exported symbols.
12788
export_symbols_cmds=$lt_export_symbols_cmds_CXX
12790
# The commands to extract the exported symbol list from a shared archive.
12791
extract_expsyms_cmds=$lt_extract_expsyms_cmds
12793
# Symbols that should not be listed in the preloaded symbols.
12794
exclude_expsyms=$lt_exclude_expsyms_CXX
12796
# Symbols that must always be exported.
12797
include_expsyms=$lt_include_expsyms_CXX
12799
# ### END LIBTOOL TAG CONFIG: $tagname
12805
# If there is no Makefile yet, we rely on a make rule to execute
12806
# `config.status --recheck' to rerun these tests and create the
12807
# libtool script then.
12808
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12809
if test -f "$ltmain_in"; then
12810
test -f Makefile && make "$ltmain"
12816
ac_cpp='$CPP $CPPFLAGS'
12817
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12818
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12819
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12825
with_gnu_ldcxx=$with_gnu_ld
12826
with_gnu_ld=$lt_save_with_gnu_ld
12827
lt_cv_path_LDCXX=$lt_cv_path_LD
12828
lt_cv_path_LD=$lt_save_path_LD
12829
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12830
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12838
if test -n "$F77" && test "X$F77" != "Xno"; then
12841
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12842
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12843
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12846
archive_cmds_need_lc_F77=no
12847
allow_undefined_flag_F77=
12848
always_export_symbols_F77=no
12849
archive_expsym_cmds_F77=
12850
export_dynamic_flag_spec_F77=
12851
hardcode_direct_F77=no
12852
hardcode_libdir_flag_spec_F77=
12853
hardcode_libdir_flag_spec_ld_F77=
12854
hardcode_libdir_separator_F77=
12855
hardcode_minus_L_F77=no
12856
hardcode_automatic_F77=no
12858
module_expsym_cmds_F77=
12859
link_all_deplibs_F77=unknown
12860
old_archive_cmds_F77=$old_archive_cmds
12861
no_undefined_flag_F77=
12862
whole_archive_flag_spec_F77=
12863
enable_shared_with_static_runtimes_F77=no
12865
# Source file extension for f77 test sources.
12868
# Object file extension for compiled f77 test sources.
12872
# Code to be used in simple compile tests
12873
lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12875
# Code to be used in simple link tests
12876
lt_simple_link_test_code=" program t\n end\n"
12878
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12880
# If no C compiler was specified, use CC.
12883
# If no C compiler flags were specified, use CFLAGS.
12884
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12886
# Allow CC to be a program name with arguments.
12890
# save warnings/boilerplate of simple test code
12891
ac_outfile=conftest.$ac_objext
12892
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
12893
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12894
_lt_compiler_boilerplate=`cat conftest.err`
12897
ac_outfile=conftest.$ac_objext
12898
printf "$lt_simple_link_test_code" >conftest.$ac_ext
12899
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12900
_lt_linker_boilerplate=`cat conftest.err`
12904
# Allow CC to be a program name with arguments.
12909
for cc_temp in $compiler""; do
12911
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12912
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12917
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12920
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12921
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12922
echo "$as_me:$LINENO: result: $can_build_shared" >&5
12923
echo "${ECHO_T}$can_build_shared" >&6
12925
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12926
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12927
test "$can_build_shared" = "no" && enable_shared=no
12929
# On AIX, shared libraries and static libraries use the same namespace, and
12930
# are all built from PIC.
12933
test "$enable_shared" = yes && enable_static=no
12934
if test -n "$RANLIB"; then
12935
archive_cmds="$archive_cmds~\$RANLIB \$lib"
12936
postinstall_cmds='$RANLIB $lib'
12940
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12941
test "$enable_shared" = yes && enable_static=no
12945
echo "$as_me:$LINENO: result: $enable_shared" >&5
12946
echo "${ECHO_T}$enable_shared" >&6
12948
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12949
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12950
# Make sure either enable_shared or enable_static is yes.
12951
test "$enable_shared" = yes || enable_static=yes
12952
echo "$as_me:$LINENO: result: $enable_static" >&5
12953
echo "${ECHO_T}$enable_static" >&6
12958
lt_prog_compiler_wl_F77=
12959
lt_prog_compiler_pic_F77=
12960
lt_prog_compiler_static_F77=
12962
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12963
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12965
if test "$GCC" = yes; then
12966
lt_prog_compiler_wl_F77='-Wl,'
12967
lt_prog_compiler_static_F77='-static'
12971
# All AIX code is PIC.
12972
if test "$host_cpu" = ia64; then
12973
# AIX 5 now supports IA64 processor
12974
lt_prog_compiler_static_F77='-Bstatic'
12979
# FIXME: we need at least 68020 code to build shared libraries, but
12980
# adding the `-m68020' flag to GCC prevents building anything better,
12982
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12985
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12986
# PIC is the default for these OSes.
12989
mingw* | pw32* | os2*)
12990
# This hack is so that the source file can tell whether it is being
12991
# built for inclusion in a dll (and should export symbols for example).
12992
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12995
darwin* | rhapsody*)
12996
# PIC is the default on this platform
12997
# Common symbols not allowed in MH_DYLIB files
12998
lt_prog_compiler_pic_F77='-fno-common'
13002
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
13003
# Instead, we relocate shared libraries at runtime.
13007
# Just because we use GCC doesn't mean we suddenly get shared libraries
13008
# on systems that don't support them.
13009
lt_prog_compiler_can_build_shared_F77=no
13014
if test -d /usr/nec; then
13015
lt_prog_compiler_pic_F77=-Kconform_pic
13020
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13021
# not for PA HP-UX.
13027
lt_prog_compiler_pic_F77='-fPIC'
13033
lt_prog_compiler_pic_F77='-fPIC'
13037
# PORTME Check for flag to pass linker flags through the system compiler.
13040
lt_prog_compiler_wl_F77='-Wl,'
13041
if test "$host_cpu" = ia64; then
13042
# AIX 5 now supports IA64 processor
13043
lt_prog_compiler_static_F77='-Bstatic'
13045
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
13049
# PIC is the default on this platform
13050
# Common symbols not allowed in MH_DYLIB files
13051
case $cc_basename in
13053
lt_prog_compiler_pic_F77='-qnocommon'
13054
lt_prog_compiler_wl_F77='-Wl,'
13059
mingw* | pw32* | os2*)
13060
# This hack is so that the source file can tell whether it is being
13061
# built for inclusion in a dll (and should export symbols for example).
13062
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13065
hpux9* | hpux10* | hpux11*)
13066
lt_prog_compiler_wl_F77='-Wl,'
13067
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13068
# not for PA HP-UX.
13074
lt_prog_compiler_pic_F77='+Z'
13077
# Is there a better lt_prog_compiler_static that works with the bundled CC?
13078
lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
13081
irix5* | irix6* | nonstopux*)
13082
lt_prog_compiler_wl_F77='-Wl,'
13083
# PIC (with -KPIC) is the default.
13084
lt_prog_compiler_static_F77='-non_shared'
13088
lt_prog_compiler_pic_F77='-KPIC'
13089
lt_prog_compiler_static_F77='-Bstatic'
13093
case $cc_basename in
13095
lt_prog_compiler_wl_F77='-Wl,'
13096
lt_prog_compiler_pic_F77='-KPIC'
13097
lt_prog_compiler_static_F77='-static'
13099
pgcc* | pgf77* | pgf90* | pgf95*)
13100
# Portland Group compilers (*not* the Pentium gcc compiler,
13101
# which looks to be a dead project)
13102
lt_prog_compiler_wl_F77='-Wl,'
13103
lt_prog_compiler_pic_F77='-fpic'
13104
lt_prog_compiler_static_F77='-Bstatic'
13107
lt_prog_compiler_wl_F77='-Wl,'
13108
# All Alpha code is PIC.
13109
lt_prog_compiler_static_F77='-non_shared'
13114
osf3* | osf4* | osf5*)
13115
lt_prog_compiler_wl_F77='-Wl,'
13116
# All OSF/1 code is PIC.
13117
lt_prog_compiler_static_F77='-non_shared'
13121
lt_prog_compiler_pic_F77='-KPIC'
13122
lt_prog_compiler_static_F77='-Bstatic'
13123
case $cc_basename in
13124
f77* | f90* | f95*)
13125
lt_prog_compiler_wl_F77='-Qoption ld ';;
13127
lt_prog_compiler_wl_F77='-Wl,';;
13132
lt_prog_compiler_wl_F77='-Qoption ld '
13133
lt_prog_compiler_pic_F77='-PIC'
13134
lt_prog_compiler_static_F77='-Bstatic'
13137
sysv4 | sysv4.2uw2* | sysv4.3*)
13138
lt_prog_compiler_wl_F77='-Wl,'
13139
lt_prog_compiler_pic_F77='-KPIC'
13140
lt_prog_compiler_static_F77='-Bstatic'
13144
if test -d /usr/nec ;then
13145
lt_prog_compiler_pic_F77='-Kconform_pic'
13146
lt_prog_compiler_static_F77='-Bstatic'
13150
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13151
lt_prog_compiler_wl_F77='-Wl,'
13152
lt_prog_compiler_pic_F77='-KPIC'
13153
lt_prog_compiler_static_F77='-Bstatic'
13157
lt_prog_compiler_wl_F77='-Wl,'
13158
lt_prog_compiler_can_build_shared_F77=no
13162
lt_prog_compiler_pic_F77='-pic'
13163
lt_prog_compiler_static_F77='-Bstatic'
13167
lt_prog_compiler_can_build_shared_F77=no
13172
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13173
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13176
# Check to make sure the PIC flag actually works.
13178
if test -n "$lt_prog_compiler_pic_F77"; then
13180
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13181
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13182
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13183
echo $ECHO_N "(cached) $ECHO_C" >&6
13185
lt_prog_compiler_pic_works_F77=no
13186
ac_outfile=conftest.$ac_objext
13187
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13188
lt_compiler_flag="$lt_prog_compiler_pic_F77"
13189
# Insert the option either (1) after the last *FLAGS variable, or
13190
# (2) before a word containing "conftest.", or (3) at the end.
13191
# Note that $ac_compile itself does not contain backslashes and begins
13192
# with a dollar sign (not a hyphen), so the echo should work correctly.
13193
# The option is referenced via a variable to avoid confusing sed.
13194
lt_compile=`echo "$ac_compile" | $SED \
13195
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13196
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13197
-e 's:$: $lt_compiler_flag:'`
13198
(eval echo "\"\$as_me:13198: $lt_compile\"" >&5)
13199
(eval "$lt_compile" 2>conftest.err)
13201
cat conftest.err >&5
13202
echo "$as_me:13202: \$? = $ac_status" >&5
13203
if (exit $ac_status) && test -s "$ac_outfile"; then
13204
# The compiler can only warn and ignore the option if not recognized
13205
# So say no if there are warnings other than the usual output.
13206
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13207
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13208
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13209
lt_prog_compiler_pic_works_F77=yes
13215
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13216
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13218
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13219
case $lt_prog_compiler_pic_F77 in
13221
*) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13224
lt_prog_compiler_pic_F77=
13225
lt_prog_compiler_can_build_shared_F77=no
13230
# For platforms which do not support PIC, -DPIC is meaningless:
13232
lt_prog_compiler_pic_F77=
13235
lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13240
# Check to make sure the static flag actually works.
13242
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
13243
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13244
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13245
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13246
echo $ECHO_N "(cached) $ECHO_C" >&6
13248
lt_prog_compiler_static_works_F77=no
13249
save_LDFLAGS="$LDFLAGS"
13250
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13251
printf "$lt_simple_link_test_code" > conftest.$ac_ext
13252
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13253
# The linker can only warn and ignore the option if not recognized
13254
# So say no if there are warnings
13255
if test -s conftest.err; then
13256
# Append any errors to the config.log.
13257
cat conftest.err 1>&5
13258
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13259
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13260
if diff conftest.exp conftest.er2 >/dev/null; then
13261
lt_prog_compiler_static_works_F77=yes
13264
lt_prog_compiler_static_works_F77=yes
13268
LDFLAGS="$save_LDFLAGS"
13271
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13272
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
13274
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
13277
lt_prog_compiler_static_F77=
13281
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13282
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13283
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13284
echo $ECHO_N "(cached) $ECHO_C" >&6
13286
lt_cv_prog_compiler_c_o_F77=no
13287
$rm -r conftest 2>/dev/null
13291
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13293
lt_compiler_flag="-o out/conftest2.$ac_objext"
13294
# Insert the option either (1) after the last *FLAGS variable, or
13295
# (2) before a word containing "conftest.", or (3) at the end.
13296
# Note that $ac_compile itself does not contain backslashes and begins
13297
# with a dollar sign (not a hyphen), so the echo should work correctly.
13298
lt_compile=`echo "$ac_compile" | $SED \
13299
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13300
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13301
-e 's:$: $lt_compiler_flag:'`
13302
(eval echo "\"\$as_me:13302: $lt_compile\"" >&5)
13303
(eval "$lt_compile" 2>out/conftest.err)
13305
cat out/conftest.err >&5
13306
echo "$as_me:13306: \$? = $ac_status" >&5
13307
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13309
# The compiler can only warn and ignore the option if not recognized
13310
# So say no if there are warnings
13311
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13312
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13313
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13314
lt_cv_prog_compiler_c_o_F77=yes
13319
# SGI C++ compiler will create directory out/ii_files/ for
13320
# template instantiation
13321
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13322
$rm out/* && rmdir out
13328
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13329
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13332
hard_links="nottested"
13333
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13334
# do not overwrite the value of need_locks provided by the user
13335
echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13336
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13339
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13341
ln conftest.a conftest.b 2>&5 || hard_links=no
13342
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13343
echo "$as_me:$LINENO: result: $hard_links" >&5
13344
echo "${ECHO_T}$hard_links" >&6
13345
if test "$hard_links" = no; then
13346
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13347
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13354
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13355
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13358
allow_undefined_flag_F77=
13359
enable_shared_with_static_runtimes_F77=no
13361
archive_expsym_cmds_F77=
13362
old_archive_From_new_cmds_F77=
13363
old_archive_from_expsyms_cmds_F77=
13364
export_dynamic_flag_spec_F77=
13365
whole_archive_flag_spec_F77=
13366
thread_safe_flag_spec_F77=
13367
hardcode_libdir_flag_spec_F77=
13368
hardcode_libdir_flag_spec_ld_F77=
13369
hardcode_libdir_separator_F77=
13370
hardcode_direct_F77=no
13371
hardcode_minus_L_F77=no
13372
hardcode_shlibpath_var_F77=unsupported
13373
link_all_deplibs_F77=unknown
13374
hardcode_automatic_F77=no
13376
module_expsym_cmds_F77=
13377
always_export_symbols_F77=no
13378
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13379
# include_expsyms should be a list of space-separated symbols to be *always*
13380
# included in the symbol list
13381
include_expsyms_F77=
13382
# exclude_expsyms can be an extended regexp of symbols to exclude
13383
# it will be wrapped by ` (' and `)$', so one must not match beginning or
13384
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13385
# as well as any symbol that contains `d'.
13386
exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13387
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13388
# platforms (ab)use it in PIC code, but their linkers get confused if
13389
# the symbol is explicitly referenced. Since portable code cannot
13390
# rely on this symbol name, it's probably fine to never include it in
13391
# preloaded symbol tables.
13392
extract_expsyms_cmds=
13393
# Just being paranoid about ensuring that cc_basename is set.
13394
for cc_temp in $compiler""; do
13396
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13397
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13402
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13405
cygwin* | mingw* | pw32*)
13406
# FIXME: the MSVC++ port hasn't been tested in a loooong time
13407
# When not using gcc, we currently assume that we are using
13408
# Microsoft Visual C++.
13409
if test "$GCC" != yes; then
13414
# we just hope/assume this is gcc and not c89 (= MSVC++)
13423
if test "$with_gnu_ld" = yes; then
13424
# If archive_cmds runs LD, not CC, wlarc should be empty
13427
# Set some defaults for GNU ld with shared library support. These
13428
# are reset later if shared libraries are not supported. Putting them
13429
# here allows them to be overridden if necessary.
13430
runpath_var=LD_RUN_PATH
13431
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13432
export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13433
# ancient GNU ld didn't support --whole-archive et. al.
13434
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13435
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13437
whole_archive_flag_spec_F77=
13439
supports_anon_versioning=no
13440
case `$LD -v 2>/dev/null` in
13441
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13442
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13443
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13444
*\ 2.11.*) ;; # other 2.11 versions
13445
*) supports_anon_versioning=yes ;;
13448
# See if GNU ld supports shared libraries.
13450
aix3* | aix4* | aix5*)
13451
# On AIX/PPC, the GNU linker is very broken
13452
if test "$host_cpu" != ia64; then
13456
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
13457
*** to be unable to reliably create shared libraries on AIX.
13458
*** Therefore, libtool is disabling shared libraries support. If you
13459
*** really care for shared libraries, you may want to modify your PATH
13460
*** so that a non-GNU linker is found, and then restart.
13467
archive_cmds_F77='$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)'
13468
hardcode_libdir_flag_spec_F77='-L$libdir'
13469
hardcode_minus_L_F77=yes
13471
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13472
# that the semantics of dynamic libraries on AmigaOS, at least up
13473
# to version 4, is to share data among multiple programs linked
13474
# with the same dynamic library. Since this doesn't match the
13475
# behavior of shared libraries on other platforms, we can't use
13481
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13482
allow_undefined_flag_F77=unsupported
13483
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13484
# support --undefined. This deserves some investigation. FIXME
13485
archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13491
cygwin* | mingw* | pw32*)
13492
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13493
# as there is no search path for DLLs.
13494
hardcode_libdir_flag_spec_F77='-L$libdir'
13495
allow_undefined_flag_F77=unsupported
13496
always_export_symbols_F77=no
13497
enable_shared_with_static_runtimes_F77=yes
13498
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13500
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13501
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13502
# If the export-symbols file already is a .def file (1st line
13503
# is EXPORTS), use it as is; otherwise, prepend...
13504
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13505
cp $export_symbols $output_objdir/$soname.def;
13507
echo EXPORTS > $output_objdir/$soname.def;
13508
cat $export_symbols >> $output_objdir/$soname.def;
13510
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13517
hardcode_direct_F77=no
13518
hardcode_shlibpath_var_F77=no
13519
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13520
export_dynamic_flag_spec_F77='${wl}-E'
13521
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13522
# Instead, shared libraries are loaded at an image base (0x10000000 by
13523
# default) and relocated if they conflict, which is a slow very memory
13524
# consuming and fragmenting process. To avoid this, we pick a random,
13525
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13526
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
13527
archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13528
archive_expsym_cmds_F77='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'
13532
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13534
case $cc_basename,$host_cpu in
13535
pgcc*) # Portland Group C compiler
13536
whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13537
tmp_addflag=' $pic_flag'
13539
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
13540
whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13541
tmp_addflag=' $pic_flag -Mnomain' ;;
13542
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13543
tmp_addflag=' -i_dynamic' ;;
13544
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13545
tmp_addflag=' -i_dynamic -nofor_main' ;;
13546
ifc* | ifort*) # Intel Fortran compiler
13547
tmp_addflag=' -nofor_main' ;;
13549
archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13551
if test $supports_anon_versioning = yes; then
13552
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
13553
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13554
$echo "local: *; };" >> $output_objdir/$libname.ver~
13555
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13563
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13564
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13567
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13568
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13573
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13577
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
13578
*** create shared libraries on Solaris systems. Therefore, libtool
13579
*** is disabling shared libraries support. We urge you to upgrade GNU
13580
*** binutils to release 2.9.1 or newer. Another option is to modify
13581
*** your PATH or compiler configuration so that the native linker is
13582
*** used, and then restart.
13585
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13586
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13587
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13593
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13594
case `$LD -v 2>&1` in
13595
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13599
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13600
*** reliably create shared libraries on SCO systems. Therefore, libtool
13601
*** is disabling shared libraries support. We urge you to upgrade GNU
13602
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13603
*** your PATH or compiler configuration so that the native linker is
13604
*** used, and then restart.
13609
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13610
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
13611
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
13612
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
13621
archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13623
hardcode_direct_F77=yes
13624
hardcode_shlibpath_var_F77=no
13628
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13629
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13630
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13637
if test "$ld_shlibs_F77" = no; then
13639
hardcode_libdir_flag_spec_F77=
13640
export_dynamic_flag_spec_F77=
13641
whole_archive_flag_spec_F77=
13644
# PORTME fill in a description of your system's linker (not GNU ld)
13647
allow_undefined_flag_F77=unsupported
13648
always_export_symbols_F77=yes
13649
archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
13650
# Note: this linker hardcodes the directories in LIBPATH if there
13651
# are no directories specified by -L.
13652
hardcode_minus_L_F77=yes
13653
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13654
# Neither direct hardcoding nor static linking is supported with a
13656
hardcode_direct_F77=unsupported
13661
if test "$host_cpu" = ia64; then
13662
# On IA64, the linker does run time linking by default, so we don't
13663
# have to do anything special.
13664
aix_use_runtimelinking=no
13665
exp_sym_flag='-Bexport'
13668
# If we're using GNU nm, then we don't want the "-C" option.
13669
# -C means demangle to AIX nm, but means don't demangle with GNU nm
13670
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13671
export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13673
export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13675
aix_use_runtimelinking=no
13677
# Test if we are trying to use run time linking or normal
13678
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
13679
# need to do runtime linking.
13680
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13681
for ld_flag in $LDFLAGS; do
13682
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13683
aix_use_runtimelinking=yes
13690
exp_sym_flag='-bexport'
13691
no_entry_flag='-bnoentry'
13694
# When large executables or shared objects are built, AIX ld can
13695
# have problems creating the table of contents. If linking a library
13696
# or program results in "error TOC overflow" add -mminimal-toc to
13697
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13698
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13700
archive_cmds_F77=''
13701
hardcode_direct_F77=yes
13702
hardcode_libdir_separator_F77=':'
13703
link_all_deplibs_F77=yes
13705
if test "$GCC" = yes; then
13706
case $host_os in aix4.[012]|aix4.[012].*)
13707
# We only want to do this on AIX 4.2 and lower, the check
13708
# below for broken collect2 doesn't work under 4.3+
13709
collect2name=`${CC} -print-prog-name=collect2`
13710
if test -f "$collect2name" && \
13711
strings "$collect2name" | grep resolve_lib_name >/dev/null
13713
# We have reworked collect2
13714
hardcode_direct_F77=yes
13716
# We have old collect2
13717
hardcode_direct_F77=unsupported
13718
# It fails to find uninstalled libraries when the uninstalled
13719
# path is not listed in the libpath. Setting hardcode_minus_L
13720
# to unsupported forces relinking
13721
hardcode_minus_L_F77=yes
13722
hardcode_libdir_flag_spec_F77='-L$libdir'
13723
hardcode_libdir_separator_F77=
13727
shared_flag='-shared'
13728
if test "$aix_use_runtimelinking" = yes; then
13729
shared_flag="$shared_flag "'${wl}-G'
13733
if test "$host_cpu" = ia64; then
13734
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13735
# chokes on -Wl,-G. The following line is correct:
13738
if test "$aix_use_runtimelinking" = yes; then
13739
shared_flag='${wl}-G'
13741
shared_flag='${wl}-bM:SRE'
13746
# It seems that -bexpall does not export symbols beginning with
13747
# underscore (_), so it is better to generate a list of symbols to export.
13748
always_export_symbols_F77=yes
13749
if test "$aix_use_runtimelinking" = yes; then
13750
# Warning - without using the other runtime loading flags (-brtl),
13751
# -berok will link without error, but may produce a broken library.
13752
allow_undefined_flag_F77='-berok'
13753
# Determine the default libpath from the value encoded in an empty executable.
13754
cat >conftest.$ac_ext <<_ACEOF
13759
rm -f conftest.$ac_objext conftest$ac_exeext
13760
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13761
(eval $ac_link) 2>conftest.er1
13763
grep -v '^ *+' conftest.er1 >conftest.err
13765
cat conftest.err >&5
13766
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767
(exit $ac_status); } &&
13768
{ ac_try='test -z "$ac_f77_werror_flag"
13769
|| test ! -s conftest.err'
13770
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13771
(eval $ac_try) 2>&5
13773
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774
(exit $ac_status); }; } &&
13775
{ ac_try='test -s conftest$ac_exeext'
13776
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13777
(eval $ac_try) 2>&5
13779
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780
(exit $ac_status); }; }; then
13782
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13784
# Check for a 64-bit object if we didn't find anything.
13785
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13788
echo "$as_me: failed program was:" >&5
13789
sed 's/^/| /' conftest.$ac_ext >&5
13792
rm -f conftest.err conftest.$ac_objext \
13793
conftest$ac_exeext conftest.$ac_ext
13794
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13796
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13797
archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13799
if test "$host_cpu" = ia64; then
13800
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13801
allow_undefined_flag_F77="-z nodefs"
13802
archive_expsym_cmds_F77="\$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"
13804
# Determine the default libpath from the value encoded in an empty executable.
13805
cat >conftest.$ac_ext <<_ACEOF
13810
rm -f conftest.$ac_objext conftest$ac_exeext
13811
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13812
(eval $ac_link) 2>conftest.er1
13814
grep -v '^ *+' conftest.er1 >conftest.err
13816
cat conftest.err >&5
13817
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818
(exit $ac_status); } &&
13819
{ ac_try='test -z "$ac_f77_werror_flag"
13820
|| test ! -s conftest.err'
13821
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13822
(eval $ac_try) 2>&5
13824
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825
(exit $ac_status); }; } &&
13826
{ ac_try='test -s conftest$ac_exeext'
13827
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13828
(eval $ac_try) 2>&5
13830
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13831
(exit $ac_status); }; }; then
13833
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13835
# Check for a 64-bit object if we didn't find anything.
13836
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13839
echo "$as_me: failed program was:" >&5
13840
sed 's/^/| /' conftest.$ac_ext >&5
13843
rm -f conftest.err conftest.$ac_objext \
13844
conftest$ac_exeext conftest.$ac_ext
13845
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13847
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13848
# Warning - without using the other run time loading flags,
13849
# -berok will link without error, but may produce a broken library.
13850
no_undefined_flag_F77=' ${wl}-bernotok'
13851
allow_undefined_flag_F77=' ${wl}-berok'
13852
# Exported symbols can be pulled into shared objects from archives
13853
whole_archive_flag_spec_F77='$convenience'
13854
archive_cmds_need_lc_F77=yes
13855
# This is similar to how AIX traditionally builds its shared libraries.
13856
archive_expsym_cmds_F77="\$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'
13862
archive_cmds_F77='$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)'
13863
hardcode_libdir_flag_spec_F77='-L$libdir'
13864
hardcode_minus_L_F77=yes
13865
# see comment about different semantics on the GNU ld section
13870
export_dynamic_flag_spec_F77=-rdynamic
13873
cygwin* | mingw* | pw32*)
13874
# When not using gcc, we currently assume that we are using
13875
# Microsoft Visual C++.
13876
# hardcode_libdir_flag_spec is actually meaningless, as there is
13877
# no search path for DLLs.
13878
hardcode_libdir_flag_spec_F77=' '
13879
allow_undefined_flag_F77=unsupported
13880
# Tell ltmain to make .lib files, not .a files.
13882
# Tell ltmain to make .dll files, not .so files.
13884
# FIXME: Setting linknames here is a bad hack.
13885
archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13886
# The linker will automatically build a .lib file if we build a DLL.
13887
old_archive_From_new_cmds_F77='true'
13888
# FIXME: Should let the user specify the lib program.
13889
old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13890
fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
13891
enable_shared_with_static_runtimes_F77=yes
13894
darwin* | rhapsody*)
13896
rhapsody* | darwin1.[012])
13897
allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
13900
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13901
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13903
case ${MACOSX_DEPLOYMENT_TARGET} in
13905
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13908
allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
13914
archive_cmds_need_lc_F77=no
13915
hardcode_direct_F77=no
13916
hardcode_automatic_F77=yes
13917
hardcode_shlibpath_var_F77=unsupported
13918
whole_archive_flag_spec_F77=''
13919
link_all_deplibs_F77=yes
13920
if test "$GCC" = yes ; then
13921
output_verbose_link_cmd='echo'
13922
archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13923
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13924
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13925
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13926
module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13928
case $cc_basename in
13930
output_verbose_link_cmd='echo'
13931
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
13932
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13933
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13934
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13935
module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13945
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13946
hardcode_libdir_flag_spec_F77='-L$libdir'
13947
hardcode_shlibpath_var_F77=no
13954
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13955
# support. Future versions do this automatically, but an explicit c++rt0.o
13956
# does not break anything, and helps significantly (at the cost of a little
13959
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13960
hardcode_libdir_flag_spec_F77='-R$libdir'
13961
hardcode_direct_F77=yes
13962
hardcode_shlibpath_var_F77=no
13965
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
13967
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13968
hardcode_direct_F77=yes
13969
hardcode_minus_L_F77=yes
13970
hardcode_shlibpath_var_F77=no
13973
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13974
freebsd* | kfreebsd*-gnu | dragonfly*)
13975
archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13976
hardcode_libdir_flag_spec_F77='-R$libdir'
13977
hardcode_direct_F77=yes
13978
hardcode_shlibpath_var_F77=no
13982
if test "$GCC" = yes; then
13983
archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13985
archive_cmds_F77='$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'
13987
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13988
hardcode_libdir_separator_F77=:
13989
hardcode_direct_F77=yes
13991
# hardcode_minus_L: Not really in the search PATH,
13992
# but as the default location of the library.
13993
hardcode_minus_L_F77=yes
13994
export_dynamic_flag_spec_F77='${wl}-E'
13998
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13999
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14001
archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14003
if test "$with_gnu_ld" = no; then
14004
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14005
hardcode_libdir_separator_F77=:
14007
hardcode_direct_F77=yes
14008
export_dynamic_flag_spec_F77='${wl}-E'
14010
# hardcode_minus_L: Not really in the search PATH,
14011
# but as the default location of the library.
14012
hardcode_minus_L_F77=yes
14017
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14020
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14023
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14026
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14032
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14035
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14038
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14042
if test "$with_gnu_ld" = no; then
14043
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14044
hardcode_libdir_separator_F77=:
14048
hardcode_libdir_flag_spec_ld_F77='+b $libdir'
14049
hardcode_direct_F77=no
14050
hardcode_shlibpath_var_F77=no
14053
hardcode_direct_F77=yes
14054
export_dynamic_flag_spec_F77='${wl}-E'
14056
# hardcode_minus_L: Not really in the search PATH,
14057
# but as the default location of the library.
14058
hardcode_minus_L_F77=yes
14064
irix5* | irix6* | nonstopux*)
14065
if test "$GCC" = yes; then
14066
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14068
archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14069
hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
14071
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14072
hardcode_libdir_separator_F77=:
14073
link_all_deplibs_F77=yes
14077
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14078
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14080
archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14082
hardcode_libdir_flag_spec_F77='-R$libdir'
14083
hardcode_direct_F77=yes
14084
hardcode_shlibpath_var_F77=no
14088
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14089
hardcode_direct_F77=yes
14090
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14091
hardcode_libdir_separator_F77=:
14092
hardcode_shlibpath_var_F77=no
14096
hardcode_direct_F77=yes
14097
hardcode_shlibpath_var_F77=no
14098
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14099
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14100
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14101
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14102
export_dynamic_flag_spec_F77='${wl}-E'
14105
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14106
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14107
hardcode_libdir_flag_spec_F77='-R$libdir'
14110
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14111
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14118
hardcode_libdir_flag_spec_F77='-L$libdir'
14119
hardcode_minus_L_F77=yes
14120
allow_undefined_flag_F77=unsupported
14121
archive_cmds_F77='$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'
14122
old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14126
if test "$GCC" = yes; then
14127
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
14128
archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14130
allow_undefined_flag_F77=' -expect_unresolved \*'
14131
archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14133
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14134
hardcode_libdir_separator_F77=:
14137
osf4* | osf5*) # as osf3* with the addition of -msym flag
14138
if test "$GCC" = yes; then
14139
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
14140
archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14141
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
14143
allow_undefined_flag_F77=' -expect_unresolved \*'
14144
archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14145
archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
14146
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
14148
# Both c and cxx compiler support -rpath directly
14149
hardcode_libdir_flag_spec_F77='-rpath $libdir'
14151
hardcode_libdir_separator_F77=:
14155
no_undefined_flag_F77=' -z text'
14156
if test "$GCC" = yes; then
14158
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14159
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14160
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14163
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14164
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14165
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14167
hardcode_libdir_flag_spec_F77='-R$libdir'
14168
hardcode_shlibpath_var_F77=no
14170
solaris2.[0-5] | solaris2.[0-5].*) ;;
14172
# The compiler driver will combine linker options so we
14173
# cannot just pass the convience library names through
14174
# without $wl, iff we do not link with $LD.
14175
# Luckily, gcc supports the same syntax we need for Sun Studio.
14176
# Supported since Solaris 2.6 (maybe 2.5.1?)
14179
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
14181
whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14184
link_all_deplibs_F77=yes
14188
if test "x$host_vendor" = xsequent; then
14189
# Use $CC to link under sequent, because it throws in some extra .o
14190
# files that make .init and .fini sections work.
14191
archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14193
archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14195
hardcode_libdir_flag_spec_F77='-L$libdir'
14196
hardcode_direct_F77=yes
14197
hardcode_minus_L_F77=yes
14198
hardcode_shlibpath_var_F77=no
14202
case $host_vendor in
14204
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14205
hardcode_direct_F77=yes # is this really true???
14208
## LD is ld it makes a PLAMLIB
14209
## CC just makes a GrossModule.
14210
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14211
reload_cmds_F77='$CC -r -o $output$reload_objs'
14212
hardcode_direct_F77=no
14215
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14216
hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
14219
runpath_var='LD_RUN_PATH'
14220
hardcode_shlibpath_var_F77=no
14224
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14225
hardcode_shlibpath_var_F77=no
14226
export_dynamic_flag_spec_F77='-Bexport'
14230
if test -d /usr/nec; then
14231
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14232
hardcode_shlibpath_var_F77=no
14233
runpath_var=LD_RUN_PATH
14234
hardcode_runpath_var=yes
14239
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
14240
no_undefined_flag_F77='${wl}-z,text'
14241
archive_cmds_need_lc_F77=no
14242
hardcode_shlibpath_var_F77=no
14243
runpath_var='LD_RUN_PATH'
14245
if test "$GCC" = yes; then
14246
archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14247
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14249
archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14250
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14254
sysv5* | sco3.2v5* | sco5v6*)
14255
# Note: We can NOT use -z defs as we might desire, because we do not
14256
# link with -lc, and that would cause any symbols used from libc to
14257
# always be unresolved, which means just about no library would
14258
# ever link correctly. If we're not using GNU ld we use -z text
14259
# though, which does catch some bad symbols but isn't as heavy-handed
14261
no_undefined_flag_F77='${wl}-z,text'
14262
allow_undefined_flag_F77='${wl}-z,nodefs'
14263
archive_cmds_need_lc_F77=no
14264
hardcode_shlibpath_var_F77=no
14265
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14266
hardcode_libdir_separator_F77=':'
14267
link_all_deplibs_F77=yes
14268
export_dynamic_flag_spec_F77='${wl}-Bexport'
14269
runpath_var='LD_RUN_PATH'
14271
if test "$GCC" = yes; then
14272
archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14273
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14275
archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14276
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14281
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14282
hardcode_libdir_flag_spec_F77='-L$libdir'
14283
hardcode_shlibpath_var_F77=no
14292
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14293
echo "${ECHO_T}$ld_shlibs_F77" >&6
14294
test "$ld_shlibs_F77" = no && can_build_shared=no
14297
# Do we need to explicitly link libc?
14299
case "x$archive_cmds_need_lc_F77" in
14301
# Assume -lc should be added
14302
archive_cmds_need_lc_F77=yes
14304
if test "$enable_shared" = yes && test "$GCC" = yes; then
14305
case $archive_cmds_F77 in
14307
# FIXME: we may have to deal with multi-command sequences.
14310
# Test whether the compiler implicitly links with -lc since on some
14311
# systems, -lgcc has to come before -lc. If gcc already passes -lc
14312
# to ld, don't add -lc before -lgcc.
14313
echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14314
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14316
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14318
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14319
(eval $ac_compile) 2>&5
14321
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322
(exit $ac_status); } 2>conftest.err; then
14325
libobjs=conftest.$ac_objext
14327
wl=$lt_prog_compiler_wl_F77
14328
pic_flag=$lt_prog_compiler_pic_F77
14334
lt_save_allow_undefined_flag=$allow_undefined_flag_F77
14335
allow_undefined_flag_F77=
14336
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14337
(eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14339
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14340
(exit $ac_status); }
14342
archive_cmds_need_lc_F77=no
14344
archive_cmds_need_lc_F77=yes
14346
allow_undefined_flag_F77=$lt_save_allow_undefined_flag
14348
cat conftest.err 1>&5
14351
echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14352
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14359
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14360
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14361
library_names_spec=
14362
libname_spec='lib$name'
14366
postuninstall_cmds=
14370
shlibpath_overrides_runpath=unknown
14372
dynamic_linker="$host_os ld.so"
14373
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14374
if test "$GCC" = yes; then
14375
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14376
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14377
# if the path contains ";" then we assume it to be the separator
14378
# otherwise default to the standard path separator (i.e. ":") - it is
14379
# assumed that no part of a normal pathname contains ";" but that should
14380
# okay in the real world where ";" in dirpaths is itself problematic.
14381
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14383
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14386
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14388
need_lib_prefix=unknown
14389
hardcode_into_libs=no
14391
# when you set need_version to no, make sure it does not cause -set_version
14392
# flags to be left without arguments
14393
need_version=unknown
14398
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14399
shlibpath_var=LIBPATH
14401
# AIX 3 has no versioning support, so we append a major version to the name.
14402
soname_spec='${libname}${release}${shared_ext}$major'
14409
hardcode_into_libs=yes
14410
if test "$host_cpu" = ia64; then
14411
# AIX 5 supports IA64
14412
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14413
shlibpath_var=LD_LIBRARY_PATH
14415
# With GCC up to 2.95.x, collect2 would create an import file
14416
# for dependence libraries. The import file would start with
14417
# the line `#! .'. This would cause the generated library to
14418
# depend on `.', always an invalid library. This was fixed in
14419
# development snapshots of GCC prior to 3.0.
14421
aix4 | aix4.[01] | aix4.[01].*)
14422
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14424
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14427
can_build_shared=no
14431
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14432
# soname into executable. Probably we can add versioning support to
14433
# collect2, so additional links can be useful in future.
14434
if test "$aix_use_runtimelinking" = yes; then
14435
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
14436
# instead of lib<name>.a to let people know that these are not
14437
# typical AIX shared libraries.
14438
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14440
# We preserve .a as extension for shared libraries through AIX4.2
14441
# and later when we are not doing run time linking.
14442
library_names_spec='${libname}${release}.a $libname.a'
14443
soname_spec='${libname}${release}${shared_ext}$major'
14445
shlibpath_var=LIBPATH
14450
library_names_spec='$libname.ixlibrary $libname.a'
14451
# Create ${libname}_ixlibrary.a entries in /sys/libs.
14452
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14456
library_names_spec='${libname}${shared_ext}'
14457
dynamic_linker="$host_os ld.so"
14458
shlibpath_var=LIBRARY_PATH
14464
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14465
soname_spec='${libname}${release}${shared_ext}$major'
14466
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14467
shlibpath_var=LD_LIBRARY_PATH
14468
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14469
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14470
# the default ld.so.conf also contains /usr/contrib/lib and
14471
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14472
# libtool to hard-code these into programs
14475
cygwin* | mingw* | pw32*)
14476
version_type=windows
14481
case $GCC,$host_os in
14482
yes,cygwin* | yes,mingw* | yes,pw32*)
14483
library_names_spec='$libname.dll.a'
14484
# DLL is installed to $(libdir)/../bin by postinstall_cmds
14485
postinstall_cmds='base_file=`basename \${file}`~
14486
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14487
dldir=$destdir/`dirname \$dlpath`~
14488
test -d \$dldir || mkdir -p \$dldir~
14489
$install_prog $dir/$dlname \$dldir/$dlname~
14490
chmod a+x \$dldir/$dlname'
14491
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14492
dlpath=$dir/\$dldll~
14494
shlibpath_overrides_runpath=yes
14498
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
14499
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14500
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14503
# MinGW DLLs use traditional 'lib' prefix
14504
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14505
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14506
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14507
# It is most probably a Windows format PATH printed by
14508
# mingw gcc, but we are running on Cygwin. Gcc prints its search
14509
# path with ; separators, and with drive letters. We can handle the
14510
# drive letters (cygwin fileutils understands them), so leave them,
14511
# especially as we might pass files found there to a mingw objdump,
14512
# which wouldn't understand a cygwinified path. Ahh.
14513
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14515
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14519
# pw32 DLLs use 'pw' prefix rather than 'lib'
14520
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14526
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14529
dynamic_linker='Win32 ld.exe'
14530
# FIXME: first we should search . and the directory the executable is in
14534
darwin* | rhapsody*)
14535
dynamic_linker="$host_os dyld"
14536
version_type=darwin
14539
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14540
soname_spec='${libname}${release}${major}$shared_ext'
14541
shlibpath_overrides_runpath=yes
14542
shlibpath_var=DYLD_LIBRARY_PATH
14543
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14544
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14545
if test "$GCC" = yes; then
14546
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14548
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14550
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14557
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14558
soname_spec='${libname}${release}${shared_ext}$major'
14559
shlibpath_var=LD_LIBRARY_PATH
14570
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14571
soname_spec='${libname}${release}${shared_ext}$major'
14572
shlibpath_var=LD_LIBRARY_PATH
14573
shlibpath_overrides_runpath=no
14574
hardcode_into_libs=yes
14575
dynamic_linker='GNU ld.so'
14578
freebsd* | dragonfly*)
14579
# DragonFly does not have aout. When/if they implement a new
14580
# versioning mechanism, adjust this.
14581
if test -x /usr/bin/objformat; then
14582
objformat=`/usr/bin/objformat`
14585
freebsd[123]*) objformat=aout ;;
14586
*) objformat=elf ;;
14589
version_type=freebsd-$objformat
14590
case $version_type in
14592
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14597
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14601
shlibpath_var=LD_LIBRARY_PATH
14604
shlibpath_overrides_runpath=yes
14606
freebsd3.[01]* | freebsdelf3.[01]*)
14607
shlibpath_overrides_runpath=yes
14608
hardcode_into_libs=yes
14610
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14611
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14612
shlibpath_overrides_runpath=no
14613
hardcode_into_libs=yes
14615
freebsd*) # from 4.6 on
14616
shlibpath_overrides_runpath=yes
14617
hardcode_into_libs=yes
14626
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14627
soname_spec='${libname}${release}${shared_ext}$major'
14628
shlibpath_var=LD_LIBRARY_PATH
14629
hardcode_into_libs=yes
14632
hpux9* | hpux10* | hpux11*)
14633
# Give a soname corresponding to the major version so that dld.sl refuses to
14634
# link against other versions.
14641
hardcode_into_libs=yes
14642
dynamic_linker="$host_os dld.so"
14643
shlibpath_var=LD_LIBRARY_PATH
14644
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14645
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14646
soname_spec='${libname}${release}${shared_ext}$major'
14647
if test "X$HPUX_IA64_MODE" = X32; then
14648
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14650
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14652
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14656
hardcode_into_libs=yes
14657
dynamic_linker="$host_os dld.sl"
14658
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14659
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14660
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14661
soname_spec='${libname}${release}${shared_ext}$major'
14662
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14663
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14667
dynamic_linker="$host_os dld.sl"
14668
shlibpath_var=SHLIB_PATH
14669
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14670
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14671
soname_spec='${libname}${release}${shared_ext}$major'
14674
# HP-UX runs *really* slowly unless shared libraries are mode 555.
14675
postinstall_cmds='chmod 555 $lib'
14682
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14683
soname_spec='${libname}${release}${shared_ext}$major'
14684
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14685
shlibpath_var=LD_LIBRARY_PATH
14686
shlibpath_overrides_runpath=no
14687
hardcode_into_libs=yes
14690
irix5* | irix6* | nonstopux*)
14692
nonstopux*) version_type=nonstopux ;;
14694
if test "$lt_cv_prog_gnu_ld" = yes; then
14702
soname_spec='${libname}${release}${shared_ext}$major'
14703
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14705
irix5* | nonstopux*)
14706
libsuff= shlibsuff=
14709
case $LD in # libtool.m4 will add one of these switches to LD
14710
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14711
libsuff= shlibsuff= libmagic=32-bit;;
14712
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14713
libsuff=32 shlibsuff=N32 libmagic=N32;;
14714
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14715
libsuff=64 shlibsuff=64 libmagic=64-bit;;
14716
*) libsuff= shlibsuff= libmagic=never-match;;
14720
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14721
shlibpath_overrides_runpath=no
14722
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14723
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14724
hardcode_into_libs=yes
14727
# No shared lib support for Linux oldld, aout, or coff.
14728
linux*oldld* | linux*aout* | linux*coff*)
14732
# This must be Linux ELF.
14737
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14738
soname_spec='${libname}${release}${shared_ext}$major'
14739
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14740
shlibpath_var=LD_LIBRARY_PATH
14741
shlibpath_overrides_runpath=no
14742
# This implies no fast_install, which is unacceptable.
14743
# Some rework will be needed to allow for fast_install
14744
# before this can be enabled.
14745
hardcode_into_libs=yes
14747
# Append ld.so.conf contents to the search path
14748
if test -f /etc/ld.so.conf; then
14749
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14750
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14753
# We used to test for /lib/ld.so.1 and disable shared libraries on
14754
# powerpc, because MkLinux only supported shared libraries with the
14755
# GNU dynamic linker. Since this was broken with cross compilers,
14756
# most powerpc-linux boxes support dynamic linking these days and
14757
# people can always --disable-shared, the test was removed, and we
14758
# assume the GNU/Linux dynamic linker is in use.
14759
dynamic_linker='GNU/Linux ld.so'
14766
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14767
soname_spec='${libname}${release}${shared_ext}$major'
14768
shlibpath_var=LD_LIBRARY_PATH
14769
shlibpath_overrides_runpath=no
14770
hardcode_into_libs=yes
14771
dynamic_linker='GNU ld.so'
14778
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14779
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14780
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14781
dynamic_linker='NetBSD (a.out) ld.so'
14783
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14784
soname_spec='${libname}${release}${shared_ext}$major'
14785
dynamic_linker='NetBSD ld.elf_so'
14787
shlibpath_var=LD_LIBRARY_PATH
14788
shlibpath_overrides_runpath=yes
14789
hardcode_into_libs=yes
14794
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14795
shlibpath_var=LD_LIBRARY_PATH
14796
shlibpath_overrides_runpath=yes
14803
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14804
soname_spec='${libname}${release}${shared_ext}$major'
14805
shlibpath_var=LD_LIBRARY_PATH
14806
shlibpath_overrides_runpath=yes
14811
sys_lib_dlsearch_path_spec="/usr/lib"
14813
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14815
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14816
*) need_version=no ;;
14818
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14819
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14820
shlibpath_var=LD_LIBRARY_PATH
14821
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14823
openbsd2.[89] | openbsd2.[89].*)
14824
shlibpath_overrides_runpath=no
14827
shlibpath_overrides_runpath=yes
14831
shlibpath_overrides_runpath=yes
14836
libname_spec='$name'
14839
library_names_spec='$libname${shared_ext} $libname.a'
14840
dynamic_linker='OS/2 ld.exe'
14841
shlibpath_var=LIBPATH
14844
osf3* | osf4* | osf5*)
14848
soname_spec='${libname}${release}${shared_ext}$major'
14849
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14850
shlibpath_var=LD_LIBRARY_PATH
14851
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14852
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14859
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14860
soname_spec='${libname}${release}${shared_ext}$major'
14861
shlibpath_var=LD_LIBRARY_PATH
14862
shlibpath_overrides_runpath=yes
14863
hardcode_into_libs=yes
14864
# ldd complains unless libraries are executable
14865
postinstall_cmds='chmod +x $lib'
14870
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14871
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14872
shlibpath_var=LD_LIBRARY_PATH
14873
shlibpath_overrides_runpath=yes
14874
if test "$with_gnu_ld" = yes; then
14882
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14883
soname_spec='${libname}${release}${shared_ext}$major'
14884
shlibpath_var=LD_LIBRARY_PATH
14885
case $host_vendor in
14887
shlibpath_overrides_runpath=no
14889
export_dynamic_flag_spec='${wl}-Blargedynsym'
14890
runpath_var=LD_RUN_PATH
14898
shlibpath_overrides_runpath=no
14899
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14905
if test -d /usr/nec ;then
14907
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14908
soname_spec='$libname${shared_ext}.$major'
14909
shlibpath_var=LD_LIBRARY_PATH
14913
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14914
version_type=freebsd-elf
14917
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14918
soname_spec='${libname}${release}${shared_ext}$major'
14919
shlibpath_var=LD_LIBRARY_PATH
14920
hardcode_into_libs=yes
14921
if test "$with_gnu_ld" = yes; then
14922
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14923
shlibpath_overrides_runpath=no
14925
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14926
shlibpath_overrides_runpath=yes
14929
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14933
sys_lib_dlsearch_path_spec='/usr/lib'
14938
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14939
soname_spec='${libname}${release}${shared_ext}$major'
14940
shlibpath_var=LD_LIBRARY_PATH
14947
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14948
echo "${ECHO_T}$dynamic_linker" >&6
14949
test "$dynamic_linker" = no && can_build_shared=no
14951
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14952
if test "$GCC" = yes; then
14953
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14956
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14957
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14958
hardcode_action_F77=
14959
if test -n "$hardcode_libdir_flag_spec_F77" || \
14960
test -n "$runpath_var_F77" || \
14961
test "X$hardcode_automatic_F77" = "Xyes" ; then
14963
# We can hardcode non-existant directories.
14964
if test "$hardcode_direct_F77" != no &&
14965
# If the only mechanism to avoid hardcoding is shlibpath_var, we
14966
# have to relink, otherwise we might link with an installed library
14967
# when we should be linking with a yet-to-be-installed one
14968
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14969
test "$hardcode_minus_L_F77" != no; then
14970
# Linking always hardcodes the temporary library directory.
14971
hardcode_action_F77=relink
14973
# We can link without hardcoding, and we can hardcode nonexisting dirs.
14974
hardcode_action_F77=immediate
14977
# We cannot hardcode anything, or else we can only hardcode existing
14979
hardcode_action_F77=unsupported
14981
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14982
echo "${ECHO_T}$hardcode_action_F77" >&6
14984
if test "$hardcode_action_F77" = relink; then
14985
# Fast installation is not supported
14986
enable_fast_install=no
14987
elif test "$shlibpath_overrides_runpath" = yes ||
14988
test "$enable_shared" = no; then
14989
# Fast installation is not necessary
14990
enable_fast_install=needless
14994
# The else clause should only fire when bootstrapping the
14995
# libtool distribution, otherwise you forgot to ship ltmain.sh
14996
# with your package, and you will get complaints that there are
14997
# no rules to generate ltmain.sh.
14998
if test -f "$ltmain"; then
14999
# See if we are running on zsh, and set the options which allow our commands through
15000
# without removal of \ escapes.
15001
if test -n "${ZSH_VERSION+set}" ; then
15002
setopt NO_GLOB_SUBST
15004
# Now quote all the things that may contain metacharacters while being
15005
# careful not to overquote the AC_SUBSTed values. We take copies of the
15006
# variables and quote the copies for generation of the libtool script.
15007
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15009
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15010
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15011
deplibs_check_method reload_flag reload_cmds need_locks \
15012
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15013
lt_cv_sys_global_symbol_to_c_name_address \
15014
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15015
old_postinstall_cmds old_postuninstall_cmds \
15019
lt_prog_compiler_wl_F77 \
15020
lt_prog_compiler_pic_F77 \
15021
lt_prog_compiler_static_F77 \
15022
lt_prog_compiler_no_builtin_flag_F77 \
15023
export_dynamic_flag_spec_F77 \
15024
thread_safe_flag_spec_F77 \
15025
whole_archive_flag_spec_F77 \
15026
enable_shared_with_static_runtimes_F77 \
15027
old_archive_cmds_F77 \
15028
old_archive_from_new_cmds_F77 \
15029
predep_objects_F77 \
15030
postdep_objects_F77 \
15033
compiler_lib_search_path_F77 \
15035
archive_expsym_cmds_F77 \
15036
postinstall_cmds_F77 \
15037
postuninstall_cmds_F77 \
15038
old_archive_from_expsyms_cmds_F77 \
15039
allow_undefined_flag_F77 \
15040
no_undefined_flag_F77 \
15041
export_symbols_cmds_F77 \
15042
hardcode_libdir_flag_spec_F77 \
15043
hardcode_libdir_flag_spec_ld_F77 \
15044
hardcode_libdir_separator_F77 \
15045
hardcode_automatic_F77 \
15047
module_expsym_cmds_F77 \
15048
lt_cv_prog_compiler_c_o_F77 \
15049
exclude_expsyms_F77 \
15050
include_expsyms_F77; do
15053
old_archive_cmds_F77 | \
15054
old_archive_from_new_cmds_F77 | \
15055
archive_cmds_F77 | \
15056
archive_expsym_cmds_F77 | \
15057
module_cmds_F77 | \
15058
module_expsym_cmds_F77 | \
15059
old_archive_from_expsyms_cmds_F77 | \
15060
export_symbols_cmds_F77 | \
15061
extract_expsyms_cmds | reload_cmds | finish_cmds | \
15062
postinstall_cmds | postuninstall_cmds | \
15063
old_postinstall_cmds | old_postuninstall_cmds | \
15064
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15065
# Double-quote double-evaled strings.
15066
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15069
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15075
*'\$0 --fallback-echo"')
15076
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15082
cat <<__EOF__ >> "$cfgfile"
15083
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
15085
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15087
# Shell to use when invoking shell scripts.
15090
# Whether or not to build shared libraries.
15091
build_libtool_libs=$enable_shared
15093
# Whether or not to build static libraries.
15094
build_old_libs=$enable_static
15096
# Whether or not to add -lc for building shared libraries.
15097
build_libtool_need_lc=$archive_cmds_need_lc_F77
15099
# Whether or not to disallow shared libs when runtime libs are static
15100
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15102
# Whether or not to optimize for fast installation.
15103
fast_install=$enable_fast_install
15106
host_alias=$host_alias
15110
# The build system.
15111
build_alias=$build_alias
15115
# An echo program that does not interpret backslashes.
15120
AR_FLAGS=$lt_AR_FLAGS
15125
# LTCC compiler flags.
15126
LTCFLAGS=$lt_LTCFLAGS
15128
# A language-specific compiler.
15129
CC=$lt_compiler_F77
15131
# Is the compiler the GNU C compiler?
15137
# The linker used to build libraries.
15140
# Whether we need hard or soft links.
15143
# A BSD-compatible nm program.
15146
# A symbol stripping program
15149
# Used to examine libraries when file_magic_cmd begins "file"
15150
MAGIC_CMD=$MAGIC_CMD
15152
# Used on cygwin: DLL creation program.
15155
# Used on cygwin: object dumper.
15158
# Used on cygwin: assembler.
15161
# The name of the directory that contains temporary libtool files.
15164
# How to create reloadable object files.
15165
reload_flag=$lt_reload_flag
15166
reload_cmds=$lt_reload_cmds
15168
# How to pass a linker flag through the compiler.
15169
wl=$lt_lt_prog_compiler_wl_F77
15171
# Object file suffix (normally "o").
15172
objext="$ac_objext"
15174
# Old archive suffix (normally "a").
15177
# Shared library suffix (normally ".so").
15178
shrext_cmds='$shrext_cmds'
15180
# Executable file suffix (normally "").
15183
# Additional compiler flags for building library objects.
15184
pic_flag=$lt_lt_prog_compiler_pic_F77
15187
# What is the maximum length of a command?
15188
max_cmd_len=$lt_cv_sys_max_cmd_len
15190
# Does compiler simultaneously support -c and -o options?
15191
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15193
# Must we lock files when doing compilation?
15194
need_locks=$lt_need_locks
15196
# Do we need the lib prefix for modules?
15197
need_lib_prefix=$need_lib_prefix
15199
# Do we need a version for libraries?
15200
need_version=$need_version
15202
# Whether dlopen is supported.
15203
dlopen_support=$enable_dlopen
15205
# Whether dlopen of programs is supported.
15206
dlopen_self=$enable_dlopen_self
15208
# Whether dlopen of statically linked programs is supported.
15209
dlopen_self_static=$enable_dlopen_self_static
15211
# Compiler flag to prevent dynamic linking.
15212
link_static_flag=$lt_lt_prog_compiler_static_F77
15214
# Compiler flag to turn off builtin functions.
15215
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15217
# Compiler flag to allow reflexive dlopens.
15218
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15220
# Compiler flag to generate shared objects directly from archives.
15221
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15223
# Compiler flag to generate thread-safe objects.
15224
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15226
# Library versioning type.
15227
version_type=$version_type
15229
# Format of library name prefix.
15230
libname_spec=$lt_libname_spec
15232
# List of archive names. First name is the real one, the rest are links.
15233
# The last name is the one that the linker finds with -lNAME.
15234
library_names_spec=$lt_library_names_spec
15236
# The coded name of the library, if different from the real name.
15237
soname_spec=$lt_soname_spec
15239
# Commands used to build and install an old-style archive.
15241
old_archive_cmds=$lt_old_archive_cmds_F77
15242
old_postinstall_cmds=$lt_old_postinstall_cmds
15243
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15245
# Create an old-style archive from a shared archive.
15246
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15248
# Create a temporary old-style archive to link instead of a shared archive.
15249
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15251
# Commands used to build and install a shared archive.
15252
archive_cmds=$lt_archive_cmds_F77
15253
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15254
postinstall_cmds=$lt_postinstall_cmds
15255
postuninstall_cmds=$lt_postuninstall_cmds
15257
# Commands used to build a loadable module (assumed same as above if empty)
15258
module_cmds=$lt_module_cmds_F77
15259
module_expsym_cmds=$lt_module_expsym_cmds_F77
15261
# Commands to strip libraries.
15262
old_striplib=$lt_old_striplib
15263
striplib=$lt_striplib
15265
# Dependencies to place before the objects being linked to create a
15267
predep_objects=$lt_predep_objects_F77
15269
# Dependencies to place after the objects being linked to create a
15271
postdep_objects=$lt_postdep_objects_F77
15273
# Dependencies to place before the objects being linked to create a
15275
predeps=$lt_predeps_F77
15277
# Dependencies to place after the objects being linked to create a
15279
postdeps=$lt_postdeps_F77
15281
# The library search path used internally by the compiler when linking
15282
# a shared library.
15283
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15285
# Method to check whether dependent libraries are shared objects.
15286
deplibs_check_method=$lt_deplibs_check_method
15288
# Command to use when deplibs_check_method == file_magic.
15289
file_magic_cmd=$lt_file_magic_cmd
15291
# Flag that allows shared libraries with undefined symbols to be built.
15292
allow_undefined_flag=$lt_allow_undefined_flag_F77
15294
# Flag that forces no undefined symbols.
15295
no_undefined_flag=$lt_no_undefined_flag_F77
15297
# Commands used to finish a libtool library installation in a directory.
15298
finish_cmds=$lt_finish_cmds
15300
# Same as above, but a single script fragment to be evaled but not shown.
15301
finish_eval=$lt_finish_eval
15303
# Take the output of nm and produce a listing of raw symbols and C names.
15304
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15306
# Transform the output of nm in a proper C declaration
15307
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15309
# Transform the output of nm in a C name address pair
15310
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15312
# This is the shared library runtime path variable.
15313
runpath_var=$runpath_var
15315
# This is the shared library path variable.
15316
shlibpath_var=$shlibpath_var
15318
# Is shlibpath searched before the hard-coded library search path?
15319
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15321
# How to hardcode a shared library path into an executable.
15322
hardcode_action=$hardcode_action_F77
15324
# Whether we should hardcode library paths into libraries.
15325
hardcode_into_libs=$hardcode_into_libs
15327
# Flag to hardcode \$libdir into a binary during linking.
15328
# This must work even if \$libdir does not exist.
15329
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15331
# If ld is used when linking, flag to hardcode \$libdir into
15332
# a binary during linking. This must work even if \$libdir does
15334
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15336
# Whether we need a single -rpath flag with a separated argument.
15337
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15339
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15340
# resulting binary.
15341
hardcode_direct=$hardcode_direct_F77
15343
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15344
# resulting binary.
15345
hardcode_minus_L=$hardcode_minus_L_F77
15347
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15348
# the resulting binary.
15349
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15351
# Set to yes if building a shared library automatically hardcodes DIR into the library
15352
# and all subsequent libraries and executables linked against it.
15353
hardcode_automatic=$hardcode_automatic_F77
15355
# Variables whose values should be saved in libtool wrapper scripts and
15356
# restored at relink time.
15357
variables_saved_for_relink="$variables_saved_for_relink"
15359
# Whether libtool must link a program against all its dependency libraries.
15360
link_all_deplibs=$link_all_deplibs_F77
15362
# Compile-time system search path for libraries
15363
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15365
# Run-time system search path for libraries
15366
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15368
# Fix the shell variable \$srcfile for the compiler.
15369
fix_srcfile_path="$fix_srcfile_path_F77"
15371
# Set to yes if exported symbols are required.
15372
always_export_symbols=$always_export_symbols_F77
15374
# The commands to list exported symbols.
15375
export_symbols_cmds=$lt_export_symbols_cmds_F77
15377
# The commands to extract the exported symbol list from a shared archive.
15378
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15380
# Symbols that should not be listed in the preloaded symbols.
15381
exclude_expsyms=$lt_exclude_expsyms_F77
15383
# Symbols that must always be exported.
15384
include_expsyms=$lt_include_expsyms_F77
15386
# ### END LIBTOOL TAG CONFIG: $tagname
15392
# If there is no Makefile yet, we rely on a make rule to execute
15393
# `config.status --recheck' to rerun these tests and create the
15394
# libtool script then.
15395
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15396
if test -f "$ltmain_in"; then
15397
test -f Makefile && make "$ltmain"
15403
ac_cpp='$CPP $CPPFLAGS'
15404
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15405
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15406
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15416
if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15420
# Source file extension for Java test sources.
15423
# Object file extension for compiled Java test sources.
15427
# Code to be used in simple compile tests
15428
lt_simple_compile_test_code="class foo {}\n"
15430
# Code to be used in simple link tests
15431
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
15433
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15435
# If no C compiler was specified, use CC.
15438
# If no C compiler flags were specified, use CFLAGS.
15439
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15441
# Allow CC to be a program name with arguments.
15445
# save warnings/boilerplate of simple test code
15446
ac_outfile=conftest.$ac_objext
15447
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
15448
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15449
_lt_compiler_boilerplate=`cat conftest.err`
15452
ac_outfile=conftest.$ac_objext
15453
printf "$lt_simple_link_test_code" >conftest.$ac_ext
15454
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15455
_lt_linker_boilerplate=`cat conftest.err`
15459
# Allow CC to be a program name with arguments.
15464
for cc_temp in $compiler""; do
15466
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15467
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15472
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15475
# GCJ did not exist at the time GCC didn't implicitly link libc in.
15476
archive_cmds_need_lc_GCJ=no
15478
old_archive_cmds_GCJ=$old_archive_cmds
15481
## There is no encapsulation within the following macros, do not change
15482
## the running order or otherwise move them around unless you know exactly
15483
## what you are doing...
15485
lt_prog_compiler_no_builtin_flag_GCJ=
15487
if test "$GCC" = yes; then
15488
lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15491
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15492
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15493
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15494
echo $ECHO_N "(cached) $ECHO_C" >&6
15496
lt_cv_prog_compiler_rtti_exceptions=no
15497
ac_outfile=conftest.$ac_objext
15498
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15499
lt_compiler_flag="-fno-rtti -fno-exceptions"
15500
# Insert the option either (1) after the last *FLAGS variable, or
15501
# (2) before a word containing "conftest.", or (3) at the end.
15502
# Note that $ac_compile itself does not contain backslashes and begins
15503
# with a dollar sign (not a hyphen), so the echo should work correctly.
15504
# The option is referenced via a variable to avoid confusing sed.
15505
lt_compile=`echo "$ac_compile" | $SED \
15506
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15507
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15508
-e 's:$: $lt_compiler_flag:'`
15509
(eval echo "\"\$as_me:15509: $lt_compile\"" >&5)
15510
(eval "$lt_compile" 2>conftest.err)
15512
cat conftest.err >&5
15513
echo "$as_me:15513: \$? = $ac_status" >&5
15514
if (exit $ac_status) && test -s "$ac_outfile"; then
15515
# The compiler can only warn and ignore the option if not recognized
15516
# So say no if there are warnings other than the usual output.
15517
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15518
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15519
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15520
lt_cv_prog_compiler_rtti_exceptions=yes
15526
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15527
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15529
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15530
lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15537
lt_prog_compiler_wl_GCJ=
15538
lt_prog_compiler_pic_GCJ=
15539
lt_prog_compiler_static_GCJ=
15541
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15542
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15544
if test "$GCC" = yes; then
15545
lt_prog_compiler_wl_GCJ='-Wl,'
15546
lt_prog_compiler_static_GCJ='-static'
15550
# All AIX code is PIC.
15551
if test "$host_cpu" = ia64; then
15552
# AIX 5 now supports IA64 processor
15553
lt_prog_compiler_static_GCJ='-Bstatic'
15558
# FIXME: we need at least 68020 code to build shared libraries, but
15559
# adding the `-m68020' flag to GCC prevents building anything better,
15561
lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15564
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15565
# PIC is the default for these OSes.
15568
mingw* | pw32* | os2*)
15569
# This hack is so that the source file can tell whether it is being
15570
# built for inclusion in a dll (and should export symbols for example).
15571
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15574
darwin* | rhapsody*)
15575
# PIC is the default on this platform
15576
# Common symbols not allowed in MH_DYLIB files
15577
lt_prog_compiler_pic_GCJ='-fno-common'
15581
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
15582
# Instead, we relocate shared libraries at runtime.
15586
# Just because we use GCC doesn't mean we suddenly get shared libraries
15587
# on systems that don't support them.
15588
lt_prog_compiler_can_build_shared_GCJ=no
15593
if test -d /usr/nec; then
15594
lt_prog_compiler_pic_GCJ=-Kconform_pic
15599
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15600
# not for PA HP-UX.
15606
lt_prog_compiler_pic_GCJ='-fPIC'
15612
lt_prog_compiler_pic_GCJ='-fPIC'
15616
# PORTME Check for flag to pass linker flags through the system compiler.
15619
lt_prog_compiler_wl_GCJ='-Wl,'
15620
if test "$host_cpu" = ia64; then
15621
# AIX 5 now supports IA64 processor
15622
lt_prog_compiler_static_GCJ='-Bstatic'
15624
lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15628
# PIC is the default on this platform
15629
# Common symbols not allowed in MH_DYLIB files
15630
case $cc_basename in
15632
lt_prog_compiler_pic_GCJ='-qnocommon'
15633
lt_prog_compiler_wl_GCJ='-Wl,'
15638
mingw* | pw32* | os2*)
15639
# This hack is so that the source file can tell whether it is being
15640
# built for inclusion in a dll (and should export symbols for example).
15641
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15644
hpux9* | hpux10* | hpux11*)
15645
lt_prog_compiler_wl_GCJ='-Wl,'
15646
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15647
# not for PA HP-UX.
15653
lt_prog_compiler_pic_GCJ='+Z'
15656
# Is there a better lt_prog_compiler_static that works with the bundled CC?
15657
lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15660
irix5* | irix6* | nonstopux*)
15661
lt_prog_compiler_wl_GCJ='-Wl,'
15662
# PIC (with -KPIC) is the default.
15663
lt_prog_compiler_static_GCJ='-non_shared'
15667
lt_prog_compiler_pic_GCJ='-KPIC'
15668
lt_prog_compiler_static_GCJ='-Bstatic'
15672
case $cc_basename in
15674
lt_prog_compiler_wl_GCJ='-Wl,'
15675
lt_prog_compiler_pic_GCJ='-KPIC'
15676
lt_prog_compiler_static_GCJ='-static'
15678
pgcc* | pgf77* | pgf90* | pgf95*)
15679
# Portland Group compilers (*not* the Pentium gcc compiler,
15680
# which looks to be a dead project)
15681
lt_prog_compiler_wl_GCJ='-Wl,'
15682
lt_prog_compiler_pic_GCJ='-fpic'
15683
lt_prog_compiler_static_GCJ='-Bstatic'
15686
lt_prog_compiler_wl_GCJ='-Wl,'
15687
# All Alpha code is PIC.
15688
lt_prog_compiler_static_GCJ='-non_shared'
15693
osf3* | osf4* | osf5*)
15694
lt_prog_compiler_wl_GCJ='-Wl,'
15695
# All OSF/1 code is PIC.
15696
lt_prog_compiler_static_GCJ='-non_shared'
15700
lt_prog_compiler_pic_GCJ='-KPIC'
15701
lt_prog_compiler_static_GCJ='-Bstatic'
15702
case $cc_basename in
15703
f77* | f90* | f95*)
15704
lt_prog_compiler_wl_GCJ='-Qoption ld ';;
15706
lt_prog_compiler_wl_GCJ='-Wl,';;
15711
lt_prog_compiler_wl_GCJ='-Qoption ld '
15712
lt_prog_compiler_pic_GCJ='-PIC'
15713
lt_prog_compiler_static_GCJ='-Bstatic'
15716
sysv4 | sysv4.2uw2* | sysv4.3*)
15717
lt_prog_compiler_wl_GCJ='-Wl,'
15718
lt_prog_compiler_pic_GCJ='-KPIC'
15719
lt_prog_compiler_static_GCJ='-Bstatic'
15723
if test -d /usr/nec ;then
15724
lt_prog_compiler_pic_GCJ='-Kconform_pic'
15725
lt_prog_compiler_static_GCJ='-Bstatic'
15729
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15730
lt_prog_compiler_wl_GCJ='-Wl,'
15731
lt_prog_compiler_pic_GCJ='-KPIC'
15732
lt_prog_compiler_static_GCJ='-Bstatic'
15736
lt_prog_compiler_wl_GCJ='-Wl,'
15737
lt_prog_compiler_can_build_shared_GCJ=no
15741
lt_prog_compiler_pic_GCJ='-pic'
15742
lt_prog_compiler_static_GCJ='-Bstatic'
15746
lt_prog_compiler_can_build_shared_GCJ=no
15751
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15752
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15755
# Check to make sure the PIC flag actually works.
15757
if test -n "$lt_prog_compiler_pic_GCJ"; then
15759
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15760
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15761
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15762
echo $ECHO_N "(cached) $ECHO_C" >&6
15764
lt_prog_compiler_pic_works_GCJ=no
15765
ac_outfile=conftest.$ac_objext
15766
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15767
lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15768
# Insert the option either (1) after the last *FLAGS variable, or
15769
# (2) before a word containing "conftest.", or (3) at the end.
15770
# Note that $ac_compile itself does not contain backslashes and begins
15771
# with a dollar sign (not a hyphen), so the echo should work correctly.
15772
# The option is referenced via a variable to avoid confusing sed.
15773
lt_compile=`echo "$ac_compile" | $SED \
15774
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15775
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15776
-e 's:$: $lt_compiler_flag:'`
15777
(eval echo "\"\$as_me:15777: $lt_compile\"" >&5)
15778
(eval "$lt_compile" 2>conftest.err)
15780
cat conftest.err >&5
15781
echo "$as_me:15781: \$? = $ac_status" >&5
15782
if (exit $ac_status) && test -s "$ac_outfile"; then
15783
# The compiler can only warn and ignore the option if not recognized
15784
# So say no if there are warnings other than the usual output.
15785
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15786
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15787
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15788
lt_prog_compiler_pic_works_GCJ=yes
15794
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15795
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15797
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15798
case $lt_prog_compiler_pic_GCJ in
15800
*) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15803
lt_prog_compiler_pic_GCJ=
15804
lt_prog_compiler_can_build_shared_GCJ=no
15809
# For platforms which do not support PIC, -DPIC is meaningless:
15811
lt_prog_compiler_pic_GCJ=
15814
lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15819
# Check to make sure the static flag actually works.
15821
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
15822
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15823
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15824
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
15825
echo $ECHO_N "(cached) $ECHO_C" >&6
15827
lt_prog_compiler_static_works_GCJ=no
15828
save_LDFLAGS="$LDFLAGS"
15829
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15830
printf "$lt_simple_link_test_code" > conftest.$ac_ext
15831
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15832
# The linker can only warn and ignore the option if not recognized
15833
# So say no if there are warnings
15834
if test -s conftest.err; then
15835
# Append any errors to the config.log.
15836
cat conftest.err 1>&5
15837
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15838
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15839
if diff conftest.exp conftest.er2 >/dev/null; then
15840
lt_prog_compiler_static_works_GCJ=yes
15843
lt_prog_compiler_static_works_GCJ=yes
15847
LDFLAGS="$save_LDFLAGS"
15850
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
15851
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
15853
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
15856
lt_prog_compiler_static_GCJ=
15860
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15861
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15862
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15863
echo $ECHO_N "(cached) $ECHO_C" >&6
15865
lt_cv_prog_compiler_c_o_GCJ=no
15866
$rm -r conftest 2>/dev/null
15870
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15872
lt_compiler_flag="-o out/conftest2.$ac_objext"
15873
# Insert the option either (1) after the last *FLAGS variable, or
15874
# (2) before a word containing "conftest.", or (3) at the end.
15875
# Note that $ac_compile itself does not contain backslashes and begins
15876
# with a dollar sign (not a hyphen), so the echo should work correctly.
15877
lt_compile=`echo "$ac_compile" | $SED \
15878
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15879
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15880
-e 's:$: $lt_compiler_flag:'`
15881
(eval echo "\"\$as_me:15881: $lt_compile\"" >&5)
15882
(eval "$lt_compile" 2>out/conftest.err)
15884
cat out/conftest.err >&5
15885
echo "$as_me:15885: \$? = $ac_status" >&5
15886
if (exit $ac_status) && test -s out/conftest2.$ac_objext
15888
# The compiler can only warn and ignore the option if not recognized
15889
# So say no if there are warnings
15890
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15891
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15892
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15893
lt_cv_prog_compiler_c_o_GCJ=yes
15898
# SGI C++ compiler will create directory out/ii_files/ for
15899
# template instantiation
15900
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15901
$rm out/* && rmdir out
15907
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15908
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15911
hard_links="nottested"
15912
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15913
# do not overwrite the value of need_locks provided by the user
15914
echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15915
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15918
ln conftest.a conftest.b 2>/dev/null && hard_links=no
15920
ln conftest.a conftest.b 2>&5 || hard_links=no
15921
ln conftest.a conftest.b 2>/dev/null && hard_links=no
15922
echo "$as_me:$LINENO: result: $hard_links" >&5
15923
echo "${ECHO_T}$hard_links" >&6
15924
if test "$hard_links" = no; then
15925
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15926
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15933
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15934
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15937
allow_undefined_flag_GCJ=
15938
enable_shared_with_static_runtimes_GCJ=no
15940
archive_expsym_cmds_GCJ=
15941
old_archive_From_new_cmds_GCJ=
15942
old_archive_from_expsyms_cmds_GCJ=
15943
export_dynamic_flag_spec_GCJ=
15944
whole_archive_flag_spec_GCJ=
15945
thread_safe_flag_spec_GCJ=
15946
hardcode_libdir_flag_spec_GCJ=
15947
hardcode_libdir_flag_spec_ld_GCJ=
15948
hardcode_libdir_separator_GCJ=
15949
hardcode_direct_GCJ=no
15950
hardcode_minus_L_GCJ=no
15951
hardcode_shlibpath_var_GCJ=unsupported
15952
link_all_deplibs_GCJ=unknown
15953
hardcode_automatic_GCJ=no
15955
module_expsym_cmds_GCJ=
15956
always_export_symbols_GCJ=no
15957
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15958
# include_expsyms should be a list of space-separated symbols to be *always*
15959
# included in the symbol list
15960
include_expsyms_GCJ=
15961
# exclude_expsyms can be an extended regexp of symbols to exclude
15962
# it will be wrapped by ` (' and `)$', so one must not match beginning or
15963
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15964
# as well as any symbol that contains `d'.
15965
exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15966
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15967
# platforms (ab)use it in PIC code, but their linkers get confused if
15968
# the symbol is explicitly referenced. Since portable code cannot
15969
# rely on this symbol name, it's probably fine to never include it in
15970
# preloaded symbol tables.
15971
extract_expsyms_cmds=
15972
# Just being paranoid about ensuring that cc_basename is set.
15973
for cc_temp in $compiler""; do
15975
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15976
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15981
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15984
cygwin* | mingw* | pw32*)
15985
# FIXME: the MSVC++ port hasn't been tested in a loooong time
15986
# When not using gcc, we currently assume that we are using
15987
# Microsoft Visual C++.
15988
if test "$GCC" != yes; then
15993
# we just hope/assume this is gcc and not c89 (= MSVC++)
16002
if test "$with_gnu_ld" = yes; then
16003
# If archive_cmds runs LD, not CC, wlarc should be empty
16006
# Set some defaults for GNU ld with shared library support. These
16007
# are reset later if shared libraries are not supported. Putting them
16008
# here allows them to be overridden if necessary.
16009
runpath_var=LD_RUN_PATH
16010
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
16011
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
16012
# ancient GNU ld didn't support --whole-archive et. al.
16013
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16014
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16016
whole_archive_flag_spec_GCJ=
16018
supports_anon_versioning=no
16019
case `$LD -v 2>/dev/null` in
16020
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16021
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16022
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16023
*\ 2.11.*) ;; # other 2.11 versions
16024
*) supports_anon_versioning=yes ;;
16027
# See if GNU ld supports shared libraries.
16029
aix3* | aix4* | aix5*)
16030
# On AIX/PPC, the GNU linker is very broken
16031
if test "$host_cpu" != ia64; then
16035
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
16036
*** to be unable to reliably create shared libraries on AIX.
16037
*** Therefore, libtool is disabling shared libraries support. If you
16038
*** really care for shared libraries, you may want to modify your PATH
16039
*** so that a non-GNU linker is found, and then restart.
16046
archive_cmds_GCJ='$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)'
16047
hardcode_libdir_flag_spec_GCJ='-L$libdir'
16048
hardcode_minus_L_GCJ=yes
16050
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16051
# that the semantics of dynamic libraries on AmigaOS, at least up
16052
# to version 4, is to share data among multiple programs linked
16053
# with the same dynamic library. Since this doesn't match the
16054
# behavior of shared libraries on other platforms, we can't use
16060
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16061
allow_undefined_flag_GCJ=unsupported
16062
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16063
# support --undefined. This deserves some investigation. FIXME
16064
archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16070
cygwin* | mingw* | pw32*)
16071
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16072
# as there is no search path for DLLs.
16073
hardcode_libdir_flag_spec_GCJ='-L$libdir'
16074
allow_undefined_flag_GCJ=unsupported
16075
always_export_symbols_GCJ=no
16076
enable_shared_with_static_runtimes_GCJ=yes
16077
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16079
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16080
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16081
# If the export-symbols file already is a .def file (1st line
16082
# is EXPORTS), use it as is; otherwise, prepend...
16083
archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16084
cp $export_symbols $output_objdir/$soname.def;
16086
echo EXPORTS > $output_objdir/$soname.def;
16087
cat $export_symbols >> $output_objdir/$soname.def;
16089
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16096
hardcode_direct_GCJ=no
16097
hardcode_shlibpath_var_GCJ=no
16098
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16099
export_dynamic_flag_spec_GCJ='${wl}-E'
16100
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16101
# Instead, shared libraries are loaded at an image base (0x10000000 by
16102
# default) and relocated if they conflict, which is a slow very memory
16103
# consuming and fragmenting process. To avoid this, we pick a random,
16104
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16105
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
16106
archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16107
archive_expsym_cmds_GCJ='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'
16111
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16113
case $cc_basename,$host_cpu in
16114
pgcc*) # Portland Group C compiler
16115
whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16116
tmp_addflag=' $pic_flag'
16118
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
16119
whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16120
tmp_addflag=' $pic_flag -Mnomain' ;;
16121
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
16122
tmp_addflag=' -i_dynamic' ;;
16123
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
16124
tmp_addflag=' -i_dynamic -nofor_main' ;;
16125
ifc* | ifort*) # Intel Fortran compiler
16126
tmp_addflag=' -nofor_main' ;;
16128
archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16130
if test $supports_anon_versioning = yes; then
16131
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16132
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16133
$echo "local: *; };" >> $output_objdir/$libname.ver~
16134
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16142
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16143
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16146
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16147
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16152
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16156
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
16157
*** create shared libraries on Solaris systems. Therefore, libtool
16158
*** is disabling shared libraries support. We urge you to upgrade GNU
16159
*** binutils to release 2.9.1 or newer. Another option is to modify
16160
*** your PATH or compiler configuration so that the native linker is
16161
*** used, and then restart.
16164
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16165
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16166
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16172
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
16173
case `$LD -v 2>&1` in
16174
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
16178
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16179
*** reliably create shared libraries on SCO systems. Therefore, libtool
16180
*** is disabling shared libraries support. We urge you to upgrade GNU
16181
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16182
*** your PATH or compiler configuration so that the native linker is
16183
*** used, and then restart.
16188
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16189
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16190
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16191
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16200
archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16202
hardcode_direct_GCJ=yes
16203
hardcode_shlibpath_var_GCJ=no
16207
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16208
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16209
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16216
if test "$ld_shlibs_GCJ" = no; then
16218
hardcode_libdir_flag_spec_GCJ=
16219
export_dynamic_flag_spec_GCJ=
16220
whole_archive_flag_spec_GCJ=
16223
# PORTME fill in a description of your system's linker (not GNU ld)
16226
allow_undefined_flag_GCJ=unsupported
16227
always_export_symbols_GCJ=yes
16228
archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
16229
# Note: this linker hardcodes the directories in LIBPATH if there
16230
# are no directories specified by -L.
16231
hardcode_minus_L_GCJ=yes
16232
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16233
# Neither direct hardcoding nor static linking is supported with a
16235
hardcode_direct_GCJ=unsupported
16240
if test "$host_cpu" = ia64; then
16241
# On IA64, the linker does run time linking by default, so we don't
16242
# have to do anything special.
16243
aix_use_runtimelinking=no
16244
exp_sym_flag='-Bexport'
16247
# If we're using GNU nm, then we don't want the "-C" option.
16248
# -C means demangle to AIX nm, but means don't demangle with GNU nm
16249
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
16250
export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16252
export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16254
aix_use_runtimelinking=no
16256
# Test if we are trying to use run time linking or normal
16257
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
16258
# need to do runtime linking.
16259
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
16260
for ld_flag in $LDFLAGS; do
16261
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16262
aix_use_runtimelinking=yes
16269
exp_sym_flag='-bexport'
16270
no_entry_flag='-bnoentry'
16273
# When large executables or shared objects are built, AIX ld can
16274
# have problems creating the table of contents. If linking a library
16275
# or program results in "error TOC overflow" add -mminimal-toc to
16276
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16277
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16279
archive_cmds_GCJ=''
16280
hardcode_direct_GCJ=yes
16281
hardcode_libdir_separator_GCJ=':'
16282
link_all_deplibs_GCJ=yes
16284
if test "$GCC" = yes; then
16285
case $host_os in aix4.[012]|aix4.[012].*)
16286
# We only want to do this on AIX 4.2 and lower, the check
16287
# below for broken collect2 doesn't work under 4.3+
16288
collect2name=`${CC} -print-prog-name=collect2`
16289
if test -f "$collect2name" && \
16290
strings "$collect2name" | grep resolve_lib_name >/dev/null
16292
# We have reworked collect2
16293
hardcode_direct_GCJ=yes
16295
# We have old collect2
16296
hardcode_direct_GCJ=unsupported
16297
# It fails to find uninstalled libraries when the uninstalled
16298
# path is not listed in the libpath. Setting hardcode_minus_L
16299
# to unsupported forces relinking
16300
hardcode_minus_L_GCJ=yes
16301
hardcode_libdir_flag_spec_GCJ='-L$libdir'
16302
hardcode_libdir_separator_GCJ=
16306
shared_flag='-shared'
16307
if test "$aix_use_runtimelinking" = yes; then
16308
shared_flag="$shared_flag "'${wl}-G'
16312
if test "$host_cpu" = ia64; then
16313
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16314
# chokes on -Wl,-G. The following line is correct:
16317
if test "$aix_use_runtimelinking" = yes; then
16318
shared_flag='${wl}-G'
16320
shared_flag='${wl}-bM:SRE'
16325
# It seems that -bexpall does not export symbols beginning with
16326
# underscore (_), so it is better to generate a list of symbols to export.
16327
always_export_symbols_GCJ=yes
16328
if test "$aix_use_runtimelinking" = yes; then
16329
# Warning - without using the other runtime loading flags (-brtl),
16330
# -berok will link without error, but may produce a broken library.
16331
allow_undefined_flag_GCJ='-berok'
16332
# Determine the default libpath from the value encoded in an empty executable.
16333
cat >conftest.$ac_ext <<_ACEOF
16336
cat confdefs.h >>conftest.$ac_ext
16337
cat >>conftest.$ac_ext <<_ACEOF
16338
/* end confdefs.h. */
16348
rm -f conftest.$ac_objext conftest$ac_exeext
16349
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16350
(eval $ac_link) 2>conftest.er1
16352
grep -v '^ *+' conftest.er1 >conftest.err
16354
cat conftest.err >&5
16355
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356
(exit $ac_status); } &&
16357
{ ac_try='test -z "$ac_c_werror_flag"
16358
|| test ! -s conftest.err'
16359
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16360
(eval $ac_try) 2>&5
16362
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363
(exit $ac_status); }; } &&
16364
{ ac_try='test -s conftest$ac_exeext'
16365
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16366
(eval $ac_try) 2>&5
16368
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369
(exit $ac_status); }; }; then
16371
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16373
# Check for a 64-bit object if we didn't find anything.
16374
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16377
echo "$as_me: failed program was:" >&5
16378
sed 's/^/| /' conftest.$ac_ext >&5
16381
rm -f conftest.err conftest.$ac_objext \
16382
conftest$ac_exeext conftest.$ac_ext
16383
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16385
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16386
archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16388
if test "$host_cpu" = ia64; then
16389
hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
16390
allow_undefined_flag_GCJ="-z nodefs"
16391
archive_expsym_cmds_GCJ="\$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"
16393
# Determine the default libpath from the value encoded in an empty executable.
16394
cat >conftest.$ac_ext <<_ACEOF
16397
cat confdefs.h >>conftest.$ac_ext
16398
cat >>conftest.$ac_ext <<_ACEOF
16399
/* end confdefs.h. */
16409
rm -f conftest.$ac_objext conftest$ac_exeext
16410
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16411
(eval $ac_link) 2>conftest.er1
16413
grep -v '^ *+' conftest.er1 >conftest.err
16415
cat conftest.err >&5
16416
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417
(exit $ac_status); } &&
16418
{ ac_try='test -z "$ac_c_werror_flag"
16419
|| test ! -s conftest.err'
16420
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16421
(eval $ac_try) 2>&5
16423
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424
(exit $ac_status); }; } &&
16425
{ ac_try='test -s conftest$ac_exeext'
16426
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16427
(eval $ac_try) 2>&5
16429
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430
(exit $ac_status); }; }; then
16432
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16434
# Check for a 64-bit object if we didn't find anything.
16435
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16438
echo "$as_me: failed program was:" >&5
16439
sed 's/^/| /' conftest.$ac_ext >&5
16442
rm -f conftest.err conftest.$ac_objext \
16443
conftest$ac_exeext conftest.$ac_ext
16444
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16446
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16447
# Warning - without using the other run time loading flags,
16448
# -berok will link without error, but may produce a broken library.
16449
no_undefined_flag_GCJ=' ${wl}-bernotok'
16450
allow_undefined_flag_GCJ=' ${wl}-berok'
16451
# Exported symbols can be pulled into shared objects from archives
16452
whole_archive_flag_spec_GCJ='$convenience'
16453
archive_cmds_need_lc_GCJ=yes
16454
# This is similar to how AIX traditionally builds its shared libraries.
16455
archive_expsym_cmds_GCJ="\$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'
16461
archive_cmds_GCJ='$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)'
16462
hardcode_libdir_flag_spec_GCJ='-L$libdir'
16463
hardcode_minus_L_GCJ=yes
16464
# see comment about different semantics on the GNU ld section
16469
export_dynamic_flag_spec_GCJ=-rdynamic
16472
cygwin* | mingw* | pw32*)
16473
# When not using gcc, we currently assume that we are using
16474
# Microsoft Visual C++.
16475
# hardcode_libdir_flag_spec is actually meaningless, as there is
16476
# no search path for DLLs.
16477
hardcode_libdir_flag_spec_GCJ=' '
16478
allow_undefined_flag_GCJ=unsupported
16479
# Tell ltmain to make .lib files, not .a files.
16481
# Tell ltmain to make .dll files, not .so files.
16483
# FIXME: Setting linknames here is a bad hack.
16484
archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16485
# The linker will automatically build a .lib file if we build a DLL.
16486
old_archive_From_new_cmds_GCJ='true'
16487
# FIXME: Should let the user specify the lib program.
16488
old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
16489
fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
16490
enable_shared_with_static_runtimes_GCJ=yes
16493
darwin* | rhapsody*)
16495
rhapsody* | darwin1.[012])
16496
allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
16499
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16500
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16502
case ${MACOSX_DEPLOYMENT_TARGET} in
16504
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16507
allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
16513
archive_cmds_need_lc_GCJ=no
16514
hardcode_direct_GCJ=no
16515
hardcode_automatic_GCJ=yes
16516
hardcode_shlibpath_var_GCJ=unsupported
16517
whole_archive_flag_spec_GCJ=''
16518
link_all_deplibs_GCJ=yes
16519
if test "$GCC" = yes ; then
16520
output_verbose_link_cmd='echo'
16521
archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16522
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16523
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16524
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16525
module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16527
case $cc_basename in
16529
output_verbose_link_cmd='echo'
16530
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16531
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16532
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16533
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16534
module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16544
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16545
hardcode_libdir_flag_spec_GCJ='-L$libdir'
16546
hardcode_shlibpath_var_GCJ=no
16553
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16554
# support. Future versions do this automatically, but an explicit c++rt0.o
16555
# does not break anything, and helps significantly (at the cost of a little
16558
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16559
hardcode_libdir_flag_spec_GCJ='-R$libdir'
16560
hardcode_direct_GCJ=yes
16561
hardcode_shlibpath_var_GCJ=no
16564
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
16566
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16567
hardcode_direct_GCJ=yes
16568
hardcode_minus_L_GCJ=yes
16569
hardcode_shlibpath_var_GCJ=no
16572
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16573
freebsd* | kfreebsd*-gnu | dragonfly*)
16574
archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16575
hardcode_libdir_flag_spec_GCJ='-R$libdir'
16576
hardcode_direct_GCJ=yes
16577
hardcode_shlibpath_var_GCJ=no
16581
if test "$GCC" = yes; then
16582
archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16584
archive_cmds_GCJ='$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'
16586
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16587
hardcode_libdir_separator_GCJ=:
16588
hardcode_direct_GCJ=yes
16590
# hardcode_minus_L: Not really in the search PATH,
16591
# but as the default location of the library.
16592
hardcode_minus_L_GCJ=yes
16593
export_dynamic_flag_spec_GCJ='${wl}-E'
16597
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16598
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16600
archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16602
if test "$with_gnu_ld" = no; then
16603
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16604
hardcode_libdir_separator_GCJ=:
16606
hardcode_direct_GCJ=yes
16607
export_dynamic_flag_spec_GCJ='${wl}-E'
16609
# hardcode_minus_L: Not really in the search PATH,
16610
# but as the default location of the library.
16611
hardcode_minus_L_GCJ=yes
16616
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16619
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16622
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16625
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16631
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16634
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16637
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16641
if test "$with_gnu_ld" = no; then
16642
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16643
hardcode_libdir_separator_GCJ=:
16647
hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
16648
hardcode_direct_GCJ=no
16649
hardcode_shlibpath_var_GCJ=no
16652
hardcode_direct_GCJ=yes
16653
export_dynamic_flag_spec_GCJ='${wl}-E'
16655
# hardcode_minus_L: Not really in the search PATH,
16656
# but as the default location of the library.
16657
hardcode_minus_L_GCJ=yes
16663
irix5* | irix6* | nonstopux*)
16664
if test "$GCC" = yes; then
16665
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16667
archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16668
hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
16670
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16671
hardcode_libdir_separator_GCJ=:
16672
link_all_deplibs_GCJ=yes
16676
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16677
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16679
archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16681
hardcode_libdir_flag_spec_GCJ='-R$libdir'
16682
hardcode_direct_GCJ=yes
16683
hardcode_shlibpath_var_GCJ=no
16687
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16688
hardcode_direct_GCJ=yes
16689
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16690
hardcode_libdir_separator_GCJ=:
16691
hardcode_shlibpath_var_GCJ=no
16695
hardcode_direct_GCJ=yes
16696
hardcode_shlibpath_var_GCJ=no
16697
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16698
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16699
archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16700
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16701
export_dynamic_flag_spec_GCJ='${wl}-E'
16704
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16705
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16706
hardcode_libdir_flag_spec_GCJ='-R$libdir'
16709
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16710
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16717
hardcode_libdir_flag_spec_GCJ='-L$libdir'
16718
hardcode_minus_L_GCJ=yes
16719
allow_undefined_flag_GCJ=unsupported
16720
archive_cmds_GCJ='$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'
16721
old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16725
if test "$GCC" = yes; then
16726
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16727
archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16729
allow_undefined_flag_GCJ=' -expect_unresolved \*'
16730
archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16732
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16733
hardcode_libdir_separator_GCJ=:
16736
osf4* | osf5*) # as osf3* with the addition of -msym flag
16737
if test "$GCC" = yes; then
16738
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16739
archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16740
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16742
allow_undefined_flag_GCJ=' -expect_unresolved \*'
16743
archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16744
archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16745
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
16747
# Both c and cxx compiler support -rpath directly
16748
hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16750
hardcode_libdir_separator_GCJ=:
16754
no_undefined_flag_GCJ=' -z text'
16755
if test "$GCC" = yes; then
16757
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16758
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16759
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16762
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16763
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16764
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16766
hardcode_libdir_flag_spec_GCJ='-R$libdir'
16767
hardcode_shlibpath_var_GCJ=no
16769
solaris2.[0-5] | solaris2.[0-5].*) ;;
16771
# The compiler driver will combine linker options so we
16772
# cannot just pass the convience library names through
16773
# without $wl, iff we do not link with $LD.
16774
# Luckily, gcc supports the same syntax we need for Sun Studio.
16775
# Supported since Solaris 2.6 (maybe 2.5.1?)
16778
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16780
whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
16783
link_all_deplibs_GCJ=yes
16787
if test "x$host_vendor" = xsequent; then
16788
# Use $CC to link under sequent, because it throws in some extra .o
16789
# files that make .init and .fini sections work.
16790
archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16792
archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16794
hardcode_libdir_flag_spec_GCJ='-L$libdir'
16795
hardcode_direct_GCJ=yes
16796
hardcode_minus_L_GCJ=yes
16797
hardcode_shlibpath_var_GCJ=no
16801
case $host_vendor in
16803
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16804
hardcode_direct_GCJ=yes # is this really true???
16807
## LD is ld it makes a PLAMLIB
16808
## CC just makes a GrossModule.
16809
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16810
reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16811
hardcode_direct_GCJ=no
16814
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16815
hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16818
runpath_var='LD_RUN_PATH'
16819
hardcode_shlibpath_var_GCJ=no
16823
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16824
hardcode_shlibpath_var_GCJ=no
16825
export_dynamic_flag_spec_GCJ='-Bexport'
16829
if test -d /usr/nec; then
16830
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16831
hardcode_shlibpath_var_GCJ=no
16832
runpath_var=LD_RUN_PATH
16833
hardcode_runpath_var=yes
16838
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
16839
no_undefined_flag_GCJ='${wl}-z,text'
16840
archive_cmds_need_lc_GCJ=no
16841
hardcode_shlibpath_var_GCJ=no
16842
runpath_var='LD_RUN_PATH'
16844
if test "$GCC" = yes; then
16845
archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16846
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16848
archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16849
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16853
sysv5* | sco3.2v5* | sco5v6*)
16854
# Note: We can NOT use -z defs as we might desire, because we do not
16855
# link with -lc, and that would cause any symbols used from libc to
16856
# always be unresolved, which means just about no library would
16857
# ever link correctly. If we're not using GNU ld we use -z text
16858
# though, which does catch some bad symbols but isn't as heavy-handed
16860
no_undefined_flag_GCJ='${wl}-z,text'
16861
allow_undefined_flag_GCJ='${wl}-z,nodefs'
16862
archive_cmds_need_lc_GCJ=no
16863
hardcode_shlibpath_var_GCJ=no
16864
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16865
hardcode_libdir_separator_GCJ=':'
16866
link_all_deplibs_GCJ=yes
16867
export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16868
runpath_var='LD_RUN_PATH'
16870
if test "$GCC" = yes; then
16871
archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16872
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16874
archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16875
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16880
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16881
hardcode_libdir_flag_spec_GCJ='-L$libdir'
16882
hardcode_shlibpath_var_GCJ=no
16891
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16892
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16893
test "$ld_shlibs_GCJ" = no && can_build_shared=no
16896
# Do we need to explicitly link libc?
16898
case "x$archive_cmds_need_lc_GCJ" in
16900
# Assume -lc should be added
16901
archive_cmds_need_lc_GCJ=yes
16903
if test "$enable_shared" = yes && test "$GCC" = yes; then
16904
case $archive_cmds_GCJ in
16906
# FIXME: we may have to deal with multi-command sequences.
16909
# Test whether the compiler implicitly links with -lc since on some
16910
# systems, -lgcc has to come before -lc. If gcc already passes -lc
16911
# to ld, don't add -lc before -lgcc.
16912
echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16913
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16915
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16917
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16918
(eval $ac_compile) 2>&5
16920
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921
(exit $ac_status); } 2>conftest.err; then
16924
libobjs=conftest.$ac_objext
16926
wl=$lt_prog_compiler_wl_GCJ
16927
pic_flag=$lt_prog_compiler_pic_GCJ
16933
lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16934
allow_undefined_flag_GCJ=
16935
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16936
(eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16938
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939
(exit $ac_status); }
16941
archive_cmds_need_lc_GCJ=no
16943
archive_cmds_need_lc_GCJ=yes
16945
allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16947
cat conftest.err 1>&5
16950
echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16951
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16958
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16959
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16960
library_names_spec=
16961
libname_spec='lib$name'
16965
postuninstall_cmds=
16969
shlibpath_overrides_runpath=unknown
16971
dynamic_linker="$host_os ld.so"
16972
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16973
if test "$GCC" = yes; then
16974
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16975
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16976
# if the path contains ";" then we assume it to be the separator
16977
# otherwise default to the standard path separator (i.e. ":") - it is
16978
# assumed that no part of a normal pathname contains ";" but that should
16979
# okay in the real world where ";" in dirpaths is itself problematic.
16980
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16982
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16985
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16987
need_lib_prefix=unknown
16988
hardcode_into_libs=no
16990
# when you set need_version to no, make sure it does not cause -set_version
16991
# flags to be left without arguments
16992
need_version=unknown
16997
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16998
shlibpath_var=LIBPATH
17000
# AIX 3 has no versioning support, so we append a major version to the name.
17001
soname_spec='${libname}${release}${shared_ext}$major'
17008
hardcode_into_libs=yes
17009
if test "$host_cpu" = ia64; then
17010
# AIX 5 supports IA64
17011
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17012
shlibpath_var=LD_LIBRARY_PATH
17014
# With GCC up to 2.95.x, collect2 would create an import file
17015
# for dependence libraries. The import file would start with
17016
# the line `#! .'. This would cause the generated library to
17017
# depend on `.', always an invalid library. This was fixed in
17018
# development snapshots of GCC prior to 3.0.
17020
aix4 | aix4.[01] | aix4.[01].*)
17021
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17023
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17026
can_build_shared=no
17030
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17031
# soname into executable. Probably we can add versioning support to
17032
# collect2, so additional links can be useful in future.
17033
if test "$aix_use_runtimelinking" = yes; then
17034
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
17035
# instead of lib<name>.a to let people know that these are not
17036
# typical AIX shared libraries.
17037
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17039
# We preserve .a as extension for shared libraries through AIX4.2
17040
# and later when we are not doing run time linking.
17041
library_names_spec='${libname}${release}.a $libname.a'
17042
soname_spec='${libname}${release}${shared_ext}$major'
17044
shlibpath_var=LIBPATH
17049
library_names_spec='$libname.ixlibrary $libname.a'
17050
# Create ${libname}_ixlibrary.a entries in /sys/libs.
17051
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
17055
library_names_spec='${libname}${shared_ext}'
17056
dynamic_linker="$host_os ld.so"
17057
shlibpath_var=LIBRARY_PATH
17063
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17064
soname_spec='${libname}${release}${shared_ext}$major'
17065
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17066
shlibpath_var=LD_LIBRARY_PATH
17067
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17068
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17069
# the default ld.so.conf also contains /usr/contrib/lib and
17070
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17071
# libtool to hard-code these into programs
17074
cygwin* | mingw* | pw32*)
17075
version_type=windows
17080
case $GCC,$host_os in
17081
yes,cygwin* | yes,mingw* | yes,pw32*)
17082
library_names_spec='$libname.dll.a'
17083
# DLL is installed to $(libdir)/../bin by postinstall_cmds
17084
postinstall_cmds='base_file=`basename \${file}`~
17085
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17086
dldir=$destdir/`dirname \$dlpath`~
17087
test -d \$dldir || mkdir -p \$dldir~
17088
$install_prog $dir/$dlname \$dldir/$dlname~
17089
chmod a+x \$dldir/$dlname'
17090
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17091
dlpath=$dir/\$dldll~
17093
shlibpath_overrides_runpath=yes
17097
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
17098
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17099
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17102
# MinGW DLLs use traditional 'lib' prefix
17103
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17104
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17105
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17106
# It is most probably a Windows format PATH printed by
17107
# mingw gcc, but we are running on Cygwin. Gcc prints its search
17108
# path with ; separators, and with drive letters. We can handle the
17109
# drive letters (cygwin fileutils understands them), so leave them,
17110
# especially as we might pass files found there to a mingw objdump,
17111
# which wouldn't understand a cygwinified path. Ahh.
17112
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17114
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17118
# pw32 DLLs use 'pw' prefix rather than 'lib'
17119
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17125
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17128
dynamic_linker='Win32 ld.exe'
17129
# FIXME: first we should search . and the directory the executable is in
17133
darwin* | rhapsody*)
17134
dynamic_linker="$host_os dyld"
17135
version_type=darwin
17138
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17139
soname_spec='${libname}${release}${major}$shared_ext'
17140
shlibpath_overrides_runpath=yes
17141
shlibpath_var=DYLD_LIBRARY_PATH
17142
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17143
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17144
if test "$GCC" = yes; then
17145
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17147
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17149
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17156
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17157
soname_spec='${libname}${release}${shared_ext}$major'
17158
shlibpath_var=LD_LIBRARY_PATH
17169
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17170
soname_spec='${libname}${release}${shared_ext}$major'
17171
shlibpath_var=LD_LIBRARY_PATH
17172
shlibpath_overrides_runpath=no
17173
hardcode_into_libs=yes
17174
dynamic_linker='GNU ld.so'
17177
freebsd* | dragonfly*)
17178
# DragonFly does not have aout. When/if they implement a new
17179
# versioning mechanism, adjust this.
17180
if test -x /usr/bin/objformat; then
17181
objformat=`/usr/bin/objformat`
17184
freebsd[123]*) objformat=aout ;;
17185
*) objformat=elf ;;
17188
version_type=freebsd-$objformat
17189
case $version_type in
17191
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17196
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17200
shlibpath_var=LD_LIBRARY_PATH
17203
shlibpath_overrides_runpath=yes
17205
freebsd3.[01]* | freebsdelf3.[01]*)
17206
shlibpath_overrides_runpath=yes
17207
hardcode_into_libs=yes
17209
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17210
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17211
shlibpath_overrides_runpath=no
17212
hardcode_into_libs=yes
17214
freebsd*) # from 4.6 on
17215
shlibpath_overrides_runpath=yes
17216
hardcode_into_libs=yes
17225
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17226
soname_spec='${libname}${release}${shared_ext}$major'
17227
shlibpath_var=LD_LIBRARY_PATH
17228
hardcode_into_libs=yes
17231
hpux9* | hpux10* | hpux11*)
17232
# Give a soname corresponding to the major version so that dld.sl refuses to
17233
# link against other versions.
17240
hardcode_into_libs=yes
17241
dynamic_linker="$host_os dld.so"
17242
shlibpath_var=LD_LIBRARY_PATH
17243
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17244
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17245
soname_spec='${libname}${release}${shared_ext}$major'
17246
if test "X$HPUX_IA64_MODE" = X32; then
17247
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17249
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17251
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17255
hardcode_into_libs=yes
17256
dynamic_linker="$host_os dld.sl"
17257
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17258
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17259
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17260
soname_spec='${libname}${release}${shared_ext}$major'
17261
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17262
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17266
dynamic_linker="$host_os dld.sl"
17267
shlibpath_var=SHLIB_PATH
17268
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17269
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17270
soname_spec='${libname}${release}${shared_ext}$major'
17273
# HP-UX runs *really* slowly unless shared libraries are mode 555.
17274
postinstall_cmds='chmod 555 $lib'
17281
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17282
soname_spec='${libname}${release}${shared_ext}$major'
17283
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17284
shlibpath_var=LD_LIBRARY_PATH
17285
shlibpath_overrides_runpath=no
17286
hardcode_into_libs=yes
17289
irix5* | irix6* | nonstopux*)
17291
nonstopux*) version_type=nonstopux ;;
17293
if test "$lt_cv_prog_gnu_ld" = yes; then
17301
soname_spec='${libname}${release}${shared_ext}$major'
17302
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17304
irix5* | nonstopux*)
17305
libsuff= shlibsuff=
17308
case $LD in # libtool.m4 will add one of these switches to LD
17309
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17310
libsuff= shlibsuff= libmagic=32-bit;;
17311
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17312
libsuff=32 shlibsuff=N32 libmagic=N32;;
17313
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17314
libsuff=64 shlibsuff=64 libmagic=64-bit;;
17315
*) libsuff= shlibsuff= libmagic=never-match;;
17319
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17320
shlibpath_overrides_runpath=no
17321
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17322
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17323
hardcode_into_libs=yes
17326
# No shared lib support for Linux oldld, aout, or coff.
17327
linux*oldld* | linux*aout* | linux*coff*)
17331
# This must be Linux ELF.
17336
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17337
soname_spec='${libname}${release}${shared_ext}$major'
17338
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17339
shlibpath_var=LD_LIBRARY_PATH
17340
shlibpath_overrides_runpath=no
17341
# This implies no fast_install, which is unacceptable.
17342
# Some rework will be needed to allow for fast_install
17343
# before this can be enabled.
17344
hardcode_into_libs=yes
17346
# Append ld.so.conf contents to the search path
17347
if test -f /etc/ld.so.conf; then
17348
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17349
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17352
# We used to test for /lib/ld.so.1 and disable shared libraries on
17353
# powerpc, because MkLinux only supported shared libraries with the
17354
# GNU dynamic linker. Since this was broken with cross compilers,
17355
# most powerpc-linux boxes support dynamic linking these days and
17356
# people can always --disable-shared, the test was removed, and we
17357
# assume the GNU/Linux dynamic linker is in use.
17358
dynamic_linker='GNU/Linux ld.so'
17365
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17366
soname_spec='${libname}${release}${shared_ext}$major'
17367
shlibpath_var=LD_LIBRARY_PATH
17368
shlibpath_overrides_runpath=no
17369
hardcode_into_libs=yes
17370
dynamic_linker='GNU ld.so'
17377
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17378
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17379
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17380
dynamic_linker='NetBSD (a.out) ld.so'
17382
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17383
soname_spec='${libname}${release}${shared_ext}$major'
17384
dynamic_linker='NetBSD ld.elf_so'
17386
shlibpath_var=LD_LIBRARY_PATH
17387
shlibpath_overrides_runpath=yes
17388
hardcode_into_libs=yes
17393
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17394
shlibpath_var=LD_LIBRARY_PATH
17395
shlibpath_overrides_runpath=yes
17402
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17403
soname_spec='${libname}${release}${shared_ext}$major'
17404
shlibpath_var=LD_LIBRARY_PATH
17405
shlibpath_overrides_runpath=yes
17410
sys_lib_dlsearch_path_spec="/usr/lib"
17412
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17414
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17415
*) need_version=no ;;
17417
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17418
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17419
shlibpath_var=LD_LIBRARY_PATH
17420
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17422
openbsd2.[89] | openbsd2.[89].*)
17423
shlibpath_overrides_runpath=no
17426
shlibpath_overrides_runpath=yes
17430
shlibpath_overrides_runpath=yes
17435
libname_spec='$name'
17438
library_names_spec='$libname${shared_ext} $libname.a'
17439
dynamic_linker='OS/2 ld.exe'
17440
shlibpath_var=LIBPATH
17443
osf3* | osf4* | osf5*)
17447
soname_spec='${libname}${release}${shared_ext}$major'
17448
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17449
shlibpath_var=LD_LIBRARY_PATH
17450
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17451
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17458
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17459
soname_spec='${libname}${release}${shared_ext}$major'
17460
shlibpath_var=LD_LIBRARY_PATH
17461
shlibpath_overrides_runpath=yes
17462
hardcode_into_libs=yes
17463
# ldd complains unless libraries are executable
17464
postinstall_cmds='chmod +x $lib'
17469
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17470
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17471
shlibpath_var=LD_LIBRARY_PATH
17472
shlibpath_overrides_runpath=yes
17473
if test "$with_gnu_ld" = yes; then
17481
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17482
soname_spec='${libname}${release}${shared_ext}$major'
17483
shlibpath_var=LD_LIBRARY_PATH
17484
case $host_vendor in
17486
shlibpath_overrides_runpath=no
17488
export_dynamic_flag_spec='${wl}-Blargedynsym'
17489
runpath_var=LD_RUN_PATH
17497
shlibpath_overrides_runpath=no
17498
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17504
if test -d /usr/nec ;then
17506
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17507
soname_spec='$libname${shared_ext}.$major'
17508
shlibpath_var=LD_LIBRARY_PATH
17512
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17513
version_type=freebsd-elf
17516
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17517
soname_spec='${libname}${release}${shared_ext}$major'
17518
shlibpath_var=LD_LIBRARY_PATH
17519
hardcode_into_libs=yes
17520
if test "$with_gnu_ld" = yes; then
17521
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17522
shlibpath_overrides_runpath=no
17524
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17525
shlibpath_overrides_runpath=yes
17528
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17532
sys_lib_dlsearch_path_spec='/usr/lib'
17537
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17538
soname_spec='${libname}${release}${shared_ext}$major'
17539
shlibpath_var=LD_LIBRARY_PATH
17546
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17547
echo "${ECHO_T}$dynamic_linker" >&6
17548
test "$dynamic_linker" = no && can_build_shared=no
17550
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17551
if test "$GCC" = yes; then
17552
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17555
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17556
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17557
hardcode_action_GCJ=
17558
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17559
test -n "$runpath_var_GCJ" || \
17560
test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17562
# We can hardcode non-existant directories.
17563
if test "$hardcode_direct_GCJ" != no &&
17564
# If the only mechanism to avoid hardcoding is shlibpath_var, we
17565
# have to relink, otherwise we might link with an installed library
17566
# when we should be linking with a yet-to-be-installed one
17567
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17568
test "$hardcode_minus_L_GCJ" != no; then
17569
# Linking always hardcodes the temporary library directory.
17570
hardcode_action_GCJ=relink
17572
# We can link without hardcoding, and we can hardcode nonexisting dirs.
17573
hardcode_action_GCJ=immediate
17576
# We cannot hardcode anything, or else we can only hardcode existing
17578
hardcode_action_GCJ=unsupported
17580
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17581
echo "${ECHO_T}$hardcode_action_GCJ" >&6
17583
if test "$hardcode_action_GCJ" = relink; then
17584
# Fast installation is not supported
17585
enable_fast_install=no
17586
elif test "$shlibpath_overrides_runpath" = yes ||
17587
test "$enable_shared" = no; then
17588
# Fast installation is not necessary
17589
enable_fast_install=needless
17593
# The else clause should only fire when bootstrapping the
17594
# libtool distribution, otherwise you forgot to ship ltmain.sh
17595
# with your package, and you will get complaints that there are
17596
# no rules to generate ltmain.sh.
17597
if test -f "$ltmain"; then
17598
# See if we are running on zsh, and set the options which allow our commands through
17599
# without removal of \ escapes.
17600
if test -n "${ZSH_VERSION+set}" ; then
17601
setopt NO_GLOB_SUBST
17603
# Now quote all the things that may contain metacharacters while being
17604
# careful not to overquote the AC_SUBSTed values. We take copies of the
17605
# variables and quote the copies for generation of the libtool script.
17606
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17608
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17609
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17610
deplibs_check_method reload_flag reload_cmds need_locks \
17611
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17612
lt_cv_sys_global_symbol_to_c_name_address \
17613
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17614
old_postinstall_cmds old_postuninstall_cmds \
17618
lt_prog_compiler_wl_GCJ \
17619
lt_prog_compiler_pic_GCJ \
17620
lt_prog_compiler_static_GCJ \
17621
lt_prog_compiler_no_builtin_flag_GCJ \
17622
export_dynamic_flag_spec_GCJ \
17623
thread_safe_flag_spec_GCJ \
17624
whole_archive_flag_spec_GCJ \
17625
enable_shared_with_static_runtimes_GCJ \
17626
old_archive_cmds_GCJ \
17627
old_archive_from_new_cmds_GCJ \
17628
predep_objects_GCJ \
17629
postdep_objects_GCJ \
17632
compiler_lib_search_path_GCJ \
17634
archive_expsym_cmds_GCJ \
17635
postinstall_cmds_GCJ \
17636
postuninstall_cmds_GCJ \
17637
old_archive_from_expsyms_cmds_GCJ \
17638
allow_undefined_flag_GCJ \
17639
no_undefined_flag_GCJ \
17640
export_symbols_cmds_GCJ \
17641
hardcode_libdir_flag_spec_GCJ \
17642
hardcode_libdir_flag_spec_ld_GCJ \
17643
hardcode_libdir_separator_GCJ \
17644
hardcode_automatic_GCJ \
17646
module_expsym_cmds_GCJ \
17647
lt_cv_prog_compiler_c_o_GCJ \
17648
exclude_expsyms_GCJ \
17649
include_expsyms_GCJ; do
17652
old_archive_cmds_GCJ | \
17653
old_archive_from_new_cmds_GCJ | \
17654
archive_cmds_GCJ | \
17655
archive_expsym_cmds_GCJ | \
17656
module_cmds_GCJ | \
17657
module_expsym_cmds_GCJ | \
17658
old_archive_from_expsyms_cmds_GCJ | \
17659
export_symbols_cmds_GCJ | \
17660
extract_expsyms_cmds | reload_cmds | finish_cmds | \
17661
postinstall_cmds | postuninstall_cmds | \
17662
old_postinstall_cmds | old_postuninstall_cmds | \
17663
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17664
# Double-quote double-evaled strings.
17665
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17668
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17674
*'\$0 --fallback-echo"')
17675
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17681
cat <<__EOF__ >> "$cfgfile"
17682
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
17684
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17686
# Shell to use when invoking shell scripts.
17689
# Whether or not to build shared libraries.
17690
build_libtool_libs=$enable_shared
17692
# Whether or not to build static libraries.
17693
build_old_libs=$enable_static
17695
# Whether or not to add -lc for building shared libraries.
17696
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17698
# Whether or not to disallow shared libs when runtime libs are static
17699
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17701
# Whether or not to optimize for fast installation.
17702
fast_install=$enable_fast_install
17705
host_alias=$host_alias
17709
# The build system.
17710
build_alias=$build_alias
17714
# An echo program that does not interpret backslashes.
17719
AR_FLAGS=$lt_AR_FLAGS
17724
# LTCC compiler flags.
17725
LTCFLAGS=$lt_LTCFLAGS
17727
# A language-specific compiler.
17728
CC=$lt_compiler_GCJ
17730
# Is the compiler the GNU C compiler?
17736
# The linker used to build libraries.
17739
# Whether we need hard or soft links.
17742
# A BSD-compatible nm program.
17745
# A symbol stripping program
17748
# Used to examine libraries when file_magic_cmd begins "file"
17749
MAGIC_CMD=$MAGIC_CMD
17751
# Used on cygwin: DLL creation program.
17754
# Used on cygwin: object dumper.
17757
# Used on cygwin: assembler.
17760
# The name of the directory that contains temporary libtool files.
17763
# How to create reloadable object files.
17764
reload_flag=$lt_reload_flag
17765
reload_cmds=$lt_reload_cmds
17767
# How to pass a linker flag through the compiler.
17768
wl=$lt_lt_prog_compiler_wl_GCJ
17770
# Object file suffix (normally "o").
17771
objext="$ac_objext"
17773
# Old archive suffix (normally "a").
17776
# Shared library suffix (normally ".so").
17777
shrext_cmds='$shrext_cmds'
17779
# Executable file suffix (normally "").
17782
# Additional compiler flags for building library objects.
17783
pic_flag=$lt_lt_prog_compiler_pic_GCJ
17786
# What is the maximum length of a command?
17787
max_cmd_len=$lt_cv_sys_max_cmd_len
17789
# Does compiler simultaneously support -c and -o options?
17790
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17792
# Must we lock files when doing compilation?
17793
need_locks=$lt_need_locks
17795
# Do we need the lib prefix for modules?
17796
need_lib_prefix=$need_lib_prefix
17798
# Do we need a version for libraries?
17799
need_version=$need_version
17801
# Whether dlopen is supported.
17802
dlopen_support=$enable_dlopen
17804
# Whether dlopen of programs is supported.
17805
dlopen_self=$enable_dlopen_self
17807
# Whether dlopen of statically linked programs is supported.
17808
dlopen_self_static=$enable_dlopen_self_static
17810
# Compiler flag to prevent dynamic linking.
17811
link_static_flag=$lt_lt_prog_compiler_static_GCJ
17813
# Compiler flag to turn off builtin functions.
17814
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17816
# Compiler flag to allow reflexive dlopens.
17817
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17819
# Compiler flag to generate shared objects directly from archives.
17820
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17822
# Compiler flag to generate thread-safe objects.
17823
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17825
# Library versioning type.
17826
version_type=$version_type
17828
# Format of library name prefix.
17829
libname_spec=$lt_libname_spec
17831
# List of archive names. First name is the real one, the rest are links.
17832
# The last name is the one that the linker finds with -lNAME.
17833
library_names_spec=$lt_library_names_spec
17835
# The coded name of the library, if different from the real name.
17836
soname_spec=$lt_soname_spec
17838
# Commands used to build and install an old-style archive.
17840
old_archive_cmds=$lt_old_archive_cmds_GCJ
17841
old_postinstall_cmds=$lt_old_postinstall_cmds
17842
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17844
# Create an old-style archive from a shared archive.
17845
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17847
# Create a temporary old-style archive to link instead of a shared archive.
17848
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17850
# Commands used to build and install a shared archive.
17851
archive_cmds=$lt_archive_cmds_GCJ
17852
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17853
postinstall_cmds=$lt_postinstall_cmds
17854
postuninstall_cmds=$lt_postuninstall_cmds
17856
# Commands used to build a loadable module (assumed same as above if empty)
17857
module_cmds=$lt_module_cmds_GCJ
17858
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17860
# Commands to strip libraries.
17861
old_striplib=$lt_old_striplib
17862
striplib=$lt_striplib
17864
# Dependencies to place before the objects being linked to create a
17866
predep_objects=$lt_predep_objects_GCJ
17868
# Dependencies to place after the objects being linked to create a
17870
postdep_objects=$lt_postdep_objects_GCJ
17872
# Dependencies to place before the objects being linked to create a
17874
predeps=$lt_predeps_GCJ
17876
# Dependencies to place after the objects being linked to create a
17878
postdeps=$lt_postdeps_GCJ
17880
# The library search path used internally by the compiler when linking
17881
# a shared library.
17882
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17884
# Method to check whether dependent libraries are shared objects.
17885
deplibs_check_method=$lt_deplibs_check_method
17887
# Command to use when deplibs_check_method == file_magic.
17888
file_magic_cmd=$lt_file_magic_cmd
17890
# Flag that allows shared libraries with undefined symbols to be built.
17891
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17893
# Flag that forces no undefined symbols.
17894
no_undefined_flag=$lt_no_undefined_flag_GCJ
17896
# Commands used to finish a libtool library installation in a directory.
17897
finish_cmds=$lt_finish_cmds
17899
# Same as above, but a single script fragment to be evaled but not shown.
17900
finish_eval=$lt_finish_eval
17902
# Take the output of nm and produce a listing of raw symbols and C names.
17903
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17905
# Transform the output of nm in a proper C declaration
17906
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17908
# Transform the output of nm in a C name address pair
17909
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17911
# This is the shared library runtime path variable.
17912
runpath_var=$runpath_var
17914
# This is the shared library path variable.
17915
shlibpath_var=$shlibpath_var
17917
# Is shlibpath searched before the hard-coded library search path?
17918
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17920
# How to hardcode a shared library path into an executable.
17921
hardcode_action=$hardcode_action_GCJ
17923
# Whether we should hardcode library paths into libraries.
17924
hardcode_into_libs=$hardcode_into_libs
17926
# Flag to hardcode \$libdir into a binary during linking.
17927
# This must work even if \$libdir does not exist.
17928
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17930
# If ld is used when linking, flag to hardcode \$libdir into
17931
# a binary during linking. This must work even if \$libdir does
17933
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17935
# Whether we need a single -rpath flag with a separated argument.
17936
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17938
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17939
# resulting binary.
17940
hardcode_direct=$hardcode_direct_GCJ
17942
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17943
# resulting binary.
17944
hardcode_minus_L=$hardcode_minus_L_GCJ
17946
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17947
# the resulting binary.
17948
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17950
# Set to yes if building a shared library automatically hardcodes DIR into the library
17951
# and all subsequent libraries and executables linked against it.
17952
hardcode_automatic=$hardcode_automatic_GCJ
17954
# Variables whose values should be saved in libtool wrapper scripts and
17955
# restored at relink time.
17956
variables_saved_for_relink="$variables_saved_for_relink"
17958
# Whether libtool must link a program against all its dependency libraries.
17959
link_all_deplibs=$link_all_deplibs_GCJ
17961
# Compile-time system search path for libraries
17962
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17964
# Run-time system search path for libraries
17965
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17967
# Fix the shell variable \$srcfile for the compiler.
17968
fix_srcfile_path="$fix_srcfile_path_GCJ"
17970
# Set to yes if exported symbols are required.
17971
always_export_symbols=$always_export_symbols_GCJ
17973
# The commands to list exported symbols.
17974
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17976
# The commands to extract the exported symbol list from a shared archive.
17977
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17979
# Symbols that should not be listed in the preloaded symbols.
17980
exclude_expsyms=$lt_exclude_expsyms_GCJ
17982
# Symbols that must always be exported.
17983
include_expsyms=$lt_include_expsyms_GCJ
17985
# ### END LIBTOOL TAG CONFIG: $tagname
17991
# If there is no Makefile yet, we rely on a make rule to execute
17992
# `config.status --recheck' to rerun these tests and create the
17993
# libtool script then.
17994
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17995
if test -f "$ltmain_in"; then
17996
test -f Makefile && make "$ltmain"
18002
ac_cpp='$CPP $CPPFLAGS'
18003
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18004
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18005
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18018
# Source file extension for RC test sources.
18021
# Object file extension for compiled RC test sources.
18025
# Code to be used in simple compile tests
18026
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18028
# Code to be used in simple link tests
18029
lt_simple_link_test_code="$lt_simple_compile_test_code"
18031
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18033
# If no C compiler was specified, use CC.
18036
# If no C compiler flags were specified, use CFLAGS.
18037
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18039
# Allow CC to be a program name with arguments.
18043
# save warnings/boilerplate of simple test code
18044
ac_outfile=conftest.$ac_objext
18045
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18046
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18047
_lt_compiler_boilerplate=`cat conftest.err`
18050
ac_outfile=conftest.$ac_objext
18051
printf "$lt_simple_link_test_code" >conftest.$ac_ext
18052
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18053
_lt_linker_boilerplate=`cat conftest.err`
18057
# Allow CC to be a program name with arguments.
18062
for cc_temp in $compiler""; do
18064
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18065
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18070
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18072
lt_cv_prog_compiler_c_o_RC=yes
18074
# The else clause should only fire when bootstrapping the
18075
# libtool distribution, otherwise you forgot to ship ltmain.sh
18076
# with your package, and you will get complaints that there are
18077
# no rules to generate ltmain.sh.
18078
if test -f "$ltmain"; then
18079
# See if we are running on zsh, and set the options which allow our commands through
18080
# without removal of \ escapes.
18081
if test -n "${ZSH_VERSION+set}" ; then
18082
setopt NO_GLOB_SUBST
18084
# Now quote all the things that may contain metacharacters while being
18085
# careful not to overquote the AC_SUBSTed values. We take copies of the
18086
# variables and quote the copies for generation of the libtool script.
18087
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18089
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18090
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18091
deplibs_check_method reload_flag reload_cmds need_locks \
18092
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18093
lt_cv_sys_global_symbol_to_c_name_address \
18094
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18095
old_postinstall_cmds old_postuninstall_cmds \
18099
lt_prog_compiler_wl_RC \
18100
lt_prog_compiler_pic_RC \
18101
lt_prog_compiler_static_RC \
18102
lt_prog_compiler_no_builtin_flag_RC \
18103
export_dynamic_flag_spec_RC \
18104
thread_safe_flag_spec_RC \
18105
whole_archive_flag_spec_RC \
18106
enable_shared_with_static_runtimes_RC \
18107
old_archive_cmds_RC \
18108
old_archive_from_new_cmds_RC \
18109
predep_objects_RC \
18110
postdep_objects_RC \
18113
compiler_lib_search_path_RC \
18115
archive_expsym_cmds_RC \
18116
postinstall_cmds_RC \
18117
postuninstall_cmds_RC \
18118
old_archive_from_expsyms_cmds_RC \
18119
allow_undefined_flag_RC \
18120
no_undefined_flag_RC \
18121
export_symbols_cmds_RC \
18122
hardcode_libdir_flag_spec_RC \
18123
hardcode_libdir_flag_spec_ld_RC \
18124
hardcode_libdir_separator_RC \
18125
hardcode_automatic_RC \
18127
module_expsym_cmds_RC \
18128
lt_cv_prog_compiler_c_o_RC \
18129
exclude_expsyms_RC \
18130
include_expsyms_RC; do
18133
old_archive_cmds_RC | \
18134
old_archive_from_new_cmds_RC | \
18135
archive_cmds_RC | \
18136
archive_expsym_cmds_RC | \
18138
module_expsym_cmds_RC | \
18139
old_archive_from_expsyms_cmds_RC | \
18140
export_symbols_cmds_RC | \
18141
extract_expsyms_cmds | reload_cmds | finish_cmds | \
18142
postinstall_cmds | postuninstall_cmds | \
18143
old_postinstall_cmds | old_postuninstall_cmds | \
18144
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18145
# Double-quote double-evaled strings.
18146
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18149
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18155
*'\$0 --fallback-echo"')
18156
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18162
cat <<__EOF__ >> "$cfgfile"
18163
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18165
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18167
# Shell to use when invoking shell scripts.
18170
# Whether or not to build shared libraries.
18171
build_libtool_libs=$enable_shared
18173
# Whether or not to build static libraries.
18174
build_old_libs=$enable_static
18176
# Whether or not to add -lc for building shared libraries.
18177
build_libtool_need_lc=$archive_cmds_need_lc_RC
18179
# Whether or not to disallow shared libs when runtime libs are static
18180
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18182
# Whether or not to optimize for fast installation.
18183
fast_install=$enable_fast_install
18186
host_alias=$host_alias
18190
# The build system.
18191
build_alias=$build_alias
18195
# An echo program that does not interpret backslashes.
18200
AR_FLAGS=$lt_AR_FLAGS
18205
# LTCC compiler flags.
18206
LTCFLAGS=$lt_LTCFLAGS
18208
# A language-specific compiler.
18211
# Is the compiler the GNU C compiler?
18217
# The linker used to build libraries.
18220
# Whether we need hard or soft links.
18223
# A BSD-compatible nm program.
18226
# A symbol stripping program
18229
# Used to examine libraries when file_magic_cmd begins "file"
18230
MAGIC_CMD=$MAGIC_CMD
18232
# Used on cygwin: DLL creation program.
18235
# Used on cygwin: object dumper.
18238
# Used on cygwin: assembler.
18241
# The name of the directory that contains temporary libtool files.
18244
# How to create reloadable object files.
18245
reload_flag=$lt_reload_flag
18246
reload_cmds=$lt_reload_cmds
18248
# How to pass a linker flag through the compiler.
18249
wl=$lt_lt_prog_compiler_wl_RC
18251
# Object file suffix (normally "o").
18252
objext="$ac_objext"
18254
# Old archive suffix (normally "a").
18257
# Shared library suffix (normally ".so").
18258
shrext_cmds='$shrext_cmds'
18260
# Executable file suffix (normally "").
18263
# Additional compiler flags for building library objects.
18264
pic_flag=$lt_lt_prog_compiler_pic_RC
18267
# What is the maximum length of a command?
18268
max_cmd_len=$lt_cv_sys_max_cmd_len
18270
# Does compiler simultaneously support -c and -o options?
18271
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18273
# Must we lock files when doing compilation?
18274
need_locks=$lt_need_locks
18276
# Do we need the lib prefix for modules?
18277
need_lib_prefix=$need_lib_prefix
18279
# Do we need a version for libraries?
18280
need_version=$need_version
18282
# Whether dlopen is supported.
18283
dlopen_support=$enable_dlopen
18285
# Whether dlopen of programs is supported.
18286
dlopen_self=$enable_dlopen_self
18288
# Whether dlopen of statically linked programs is supported.
18289
dlopen_self_static=$enable_dlopen_self_static
18291
# Compiler flag to prevent dynamic linking.
18292
link_static_flag=$lt_lt_prog_compiler_static_RC
18294
# Compiler flag to turn off builtin functions.
18295
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18297
# Compiler flag to allow reflexive dlopens.
18298
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18300
# Compiler flag to generate shared objects directly from archives.
18301
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18303
# Compiler flag to generate thread-safe objects.
18304
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18306
# Library versioning type.
18307
version_type=$version_type
18309
# Format of library name prefix.
18310
libname_spec=$lt_libname_spec
18312
# List of archive names. First name is the real one, the rest are links.
18313
# The last name is the one that the linker finds with -lNAME.
18314
library_names_spec=$lt_library_names_spec
18316
# The coded name of the library, if different from the real name.
18317
soname_spec=$lt_soname_spec
18319
# Commands used to build and install an old-style archive.
18321
old_archive_cmds=$lt_old_archive_cmds_RC
18322
old_postinstall_cmds=$lt_old_postinstall_cmds
18323
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18325
# Create an old-style archive from a shared archive.
18326
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18328
# Create a temporary old-style archive to link instead of a shared archive.
18329
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18331
# Commands used to build and install a shared archive.
18332
archive_cmds=$lt_archive_cmds_RC
18333
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18334
postinstall_cmds=$lt_postinstall_cmds
18335
postuninstall_cmds=$lt_postuninstall_cmds
18337
# Commands used to build a loadable module (assumed same as above if empty)
18338
module_cmds=$lt_module_cmds_RC
18339
module_expsym_cmds=$lt_module_expsym_cmds_RC
18341
# Commands to strip libraries.
18342
old_striplib=$lt_old_striplib
18343
striplib=$lt_striplib
18345
# Dependencies to place before the objects being linked to create a
18347
predep_objects=$lt_predep_objects_RC
18349
# Dependencies to place after the objects being linked to create a
18351
postdep_objects=$lt_postdep_objects_RC
18353
# Dependencies to place before the objects being linked to create a
18355
predeps=$lt_predeps_RC
18357
# Dependencies to place after the objects being linked to create a
18359
postdeps=$lt_postdeps_RC
18361
# The library search path used internally by the compiler when linking
18362
# a shared library.
18363
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18365
# Method to check whether dependent libraries are shared objects.
18366
deplibs_check_method=$lt_deplibs_check_method
18368
# Command to use when deplibs_check_method == file_magic.
18369
file_magic_cmd=$lt_file_magic_cmd
18371
# Flag that allows shared libraries with undefined symbols to be built.
18372
allow_undefined_flag=$lt_allow_undefined_flag_RC
18374
# Flag that forces no undefined symbols.
18375
no_undefined_flag=$lt_no_undefined_flag_RC
18377
# Commands used to finish a libtool library installation in a directory.
18378
finish_cmds=$lt_finish_cmds
18380
# Same as above, but a single script fragment to be evaled but not shown.
18381
finish_eval=$lt_finish_eval
18383
# Take the output of nm and produce a listing of raw symbols and C names.
18384
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18386
# Transform the output of nm in a proper C declaration
18387
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18389
# Transform the output of nm in a C name address pair
18390
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18392
# This is the shared library runtime path variable.
18393
runpath_var=$runpath_var
18395
# This is the shared library path variable.
18396
shlibpath_var=$shlibpath_var
18398
# Is shlibpath searched before the hard-coded library search path?
18399
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18401
# How to hardcode a shared library path into an executable.
18402
hardcode_action=$hardcode_action_RC
18404
# Whether we should hardcode library paths into libraries.
18405
hardcode_into_libs=$hardcode_into_libs
18407
# Flag to hardcode \$libdir into a binary during linking.
18408
# This must work even if \$libdir does not exist.
18409
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18411
# If ld is used when linking, flag to hardcode \$libdir into
18412
# a binary during linking. This must work even if \$libdir does
18414
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18416
# Whether we need a single -rpath flag with a separated argument.
18417
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18419
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18420
# resulting binary.
18421
hardcode_direct=$hardcode_direct_RC
18423
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18424
# resulting binary.
18425
hardcode_minus_L=$hardcode_minus_L_RC
18427
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18428
# the resulting binary.
18429
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18431
# Set to yes if building a shared library automatically hardcodes DIR into the library
18432
# and all subsequent libraries and executables linked against it.
18433
hardcode_automatic=$hardcode_automatic_RC
18435
# Variables whose values should be saved in libtool wrapper scripts and
18436
# restored at relink time.
18437
variables_saved_for_relink="$variables_saved_for_relink"
18439
# Whether libtool must link a program against all its dependency libraries.
18440
link_all_deplibs=$link_all_deplibs_RC
18442
# Compile-time system search path for libraries
18443
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18445
# Run-time system search path for libraries
18446
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18448
# Fix the shell variable \$srcfile for the compiler.
18449
fix_srcfile_path="$fix_srcfile_path_RC"
18451
# Set to yes if exported symbols are required.
18452
always_export_symbols=$always_export_symbols_RC
18454
# The commands to list exported symbols.
18455
export_symbols_cmds=$lt_export_symbols_cmds_RC
18457
# The commands to extract the exported symbol list from a shared archive.
18458
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18460
# Symbols that should not be listed in the preloaded symbols.
18461
exclude_expsyms=$lt_exclude_expsyms_RC
18463
# Symbols that must always be exported.
18464
include_expsyms=$lt_include_expsyms_RC
18466
# ### END LIBTOOL TAG CONFIG: $tagname
18472
# If there is no Makefile yet, we rely on a make rule to execute
18473
# `config.status --recheck' to rerun these tests and create the
18474
# libtool script then.
18475
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18476
if test -f "$ltmain_in"; then
18477
test -f Makefile && make "$ltmain"
18483
ac_cpp='$CPP $CPPFLAGS'
18484
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18485
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18486
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18493
{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18494
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18495
{ (exit 1); exit 1; }; }
18499
# Append the new tag name to the list of available tags.
18500
if test -n "$tagname" ; then
18501
available_tags="$available_tags $tagname"
18507
# Now substitute the updated list of available tags.
18508
if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18509
mv "${ofile}T" "$ofile"
18513
{ { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18514
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18515
{ (exit 1); exit 1; }; }
18521
# This can be used to rebuild libtool when needed
18522
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18524
# Always use our own libtool.
18525
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
18527
# Prevent multiple expansion
18554
ac_cpp='$CPP $CPPFLAGS'
18555
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18556
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18557
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18558
if test -n "$ac_tool_prefix"; then
18559
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
18560
set dummy ${ac_tool_prefix}gcc; ac_word=$2
18561
echo "$as_me:$LINENO: checking for $ac_word" >&5
18562
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18563
if test "${ac_cv_prog_CC+set}" = set; then
18564
echo $ECHO_N "(cached) $ECHO_C" >&6
18566
if test -n "$CC"; then
18567
ac_cv_prog_CC="$CC" # Let the user override the test.
18569
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18570
for as_dir in $PATH
18573
test -z "$as_dir" && as_dir=.
18574
for ac_exec_ext in '' $ac_executable_extensions; do
18575
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18576
ac_cv_prog_CC="${ac_tool_prefix}gcc"
18577
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18586
if test -n "$CC"; then
18587
echo "$as_me:$LINENO: result: $CC" >&5
18588
echo "${ECHO_T}$CC" >&6
18590
echo "$as_me:$LINENO: result: no" >&5
18591
echo "${ECHO_T}no" >&6
18595
if test -z "$ac_cv_prog_CC"; then
18597
# Extract the first word of "gcc", so it can be a program name with args.
18598
set dummy gcc; ac_word=$2
18599
echo "$as_me:$LINENO: checking for $ac_word" >&5
18600
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18601
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18602
echo $ECHO_N "(cached) $ECHO_C" >&6
18604
if test -n "$ac_ct_CC"; then
18605
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
18607
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18608
for as_dir in $PATH
18611
test -z "$as_dir" && as_dir=.
18612
for ac_exec_ext in '' $ac_executable_extensions; do
18613
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18614
ac_cv_prog_ac_ct_CC="gcc"
18615
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18623
ac_ct_CC=$ac_cv_prog_ac_ct_CC
18624
if test -n "$ac_ct_CC"; then
18625
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18626
echo "${ECHO_T}$ac_ct_CC" >&6
18628
echo "$as_me:$LINENO: result: no" >&5
18629
echo "${ECHO_T}no" >&6
18634
CC="$ac_cv_prog_CC"
18637
if test -z "$CC"; then
18638
if test -n "$ac_tool_prefix"; then
18639
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
18640
set dummy ${ac_tool_prefix}cc; ac_word=$2
18641
echo "$as_me:$LINENO: checking for $ac_word" >&5
18642
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18643
if test "${ac_cv_prog_CC+set}" = set; then
18644
echo $ECHO_N "(cached) $ECHO_C" >&6
18646
if test -n "$CC"; then
18647
ac_cv_prog_CC="$CC" # Let the user override the test.
18649
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18650
for as_dir in $PATH
18653
test -z "$as_dir" && as_dir=.
18654
for ac_exec_ext in '' $ac_executable_extensions; do
18655
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18656
ac_cv_prog_CC="${ac_tool_prefix}cc"
18657
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18666
if test -n "$CC"; then
18667
echo "$as_me:$LINENO: result: $CC" >&5
18668
echo "${ECHO_T}$CC" >&6
18670
echo "$as_me:$LINENO: result: no" >&5
18671
echo "${ECHO_T}no" >&6
18675
if test -z "$ac_cv_prog_CC"; then
18677
# Extract the first word of "cc", so it can be a program name with args.
18678
set dummy cc; ac_word=$2
18679
echo "$as_me:$LINENO: checking for $ac_word" >&5
18680
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18681
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18682
echo $ECHO_N "(cached) $ECHO_C" >&6
18684
if test -n "$ac_ct_CC"; then
18685
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
18687
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18688
for as_dir in $PATH
18691
test -z "$as_dir" && as_dir=.
18692
for ac_exec_ext in '' $ac_executable_extensions; do
18693
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18694
ac_cv_prog_ac_ct_CC="cc"
18695
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18703
ac_ct_CC=$ac_cv_prog_ac_ct_CC
18704
if test -n "$ac_ct_CC"; then
18705
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18706
echo "${ECHO_T}$ac_ct_CC" >&6
18708
echo "$as_me:$LINENO: result: no" >&5
18709
echo "${ECHO_T}no" >&6
18714
CC="$ac_cv_prog_CC"
18718
if test -z "$CC"; then
18719
# Extract the first word of "cc", so it can be a program name with args.
18720
set dummy cc; ac_word=$2
18721
echo "$as_me:$LINENO: checking for $ac_word" >&5
18722
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18723
if test "${ac_cv_prog_CC+set}" = set; then
18724
echo $ECHO_N "(cached) $ECHO_C" >&6
18726
if test -n "$CC"; then
18727
ac_cv_prog_CC="$CC" # Let the user override the test.
18729
ac_prog_rejected=no
18730
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18731
for as_dir in $PATH
18734
test -z "$as_dir" && as_dir=.
18735
for ac_exec_ext in '' $ac_executable_extensions; do
18736
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18737
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
18738
ac_prog_rejected=yes
18742
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18748
if test $ac_prog_rejected = yes; then
18749
# We found a bogon in the path, so make sure we never use it.
18750
set dummy $ac_cv_prog_CC
18752
if test $# != 0; then
18753
# We chose a different compiler from the bogus one.
18754
# However, it has the same basename, so the bogon will be chosen
18755
# first if we set CC to just the basename; use the full file name.
18757
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
18763
if test -n "$CC"; then
18764
echo "$as_me:$LINENO: result: $CC" >&5
18765
echo "${ECHO_T}$CC" >&6
18767
echo "$as_me:$LINENO: result: no" >&5
18768
echo "${ECHO_T}no" >&6
18772
if test -z "$CC"; then
18773
if test -n "$ac_tool_prefix"; then
18776
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18777
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18778
echo "$as_me:$LINENO: checking for $ac_word" >&5
18779
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18780
if test "${ac_cv_prog_CC+set}" = set; then
18781
echo $ECHO_N "(cached) $ECHO_C" >&6
18783
if test -n "$CC"; then
18784
ac_cv_prog_CC="$CC" # Let the user override the test.
18786
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18787
for as_dir in $PATH
18790
test -z "$as_dir" && as_dir=.
18791
for ac_exec_ext in '' $ac_executable_extensions; do
18792
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18793
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
18794
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18803
if test -n "$CC"; then
18804
echo "$as_me:$LINENO: result: $CC" >&5
18805
echo "${ECHO_T}$CC" >&6
18807
echo "$as_me:$LINENO: result: no" >&5
18808
echo "${ECHO_T}no" >&6
18811
test -n "$CC" && break
18814
if test -z "$CC"; then
18818
# Extract the first word of "$ac_prog", so it can be a program name with args.
18819
set dummy $ac_prog; ac_word=$2
18820
echo "$as_me:$LINENO: checking for $ac_word" >&5
18821
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18822
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18823
echo $ECHO_N "(cached) $ECHO_C" >&6
18825
if test -n "$ac_ct_CC"; then
18826
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
18828
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18829
for as_dir in $PATH
18832
test -z "$as_dir" && as_dir=.
18833
for ac_exec_ext in '' $ac_executable_extensions; do
18834
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18835
ac_cv_prog_ac_ct_CC="$ac_prog"
18836
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18844
ac_ct_CC=$ac_cv_prog_ac_ct_CC
18845
if test -n "$ac_ct_CC"; then
18846
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18847
echo "${ECHO_T}$ac_ct_CC" >&6
18849
echo "$as_me:$LINENO: result: no" >&5
18850
echo "${ECHO_T}no" >&6
18853
test -n "$ac_ct_CC" && break
18862
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
18863
See \`config.log' for more details." >&5
18864
echo "$as_me: error: no acceptable C compiler found in \$PATH
18865
See \`config.log' for more details." >&2;}
18866
{ (exit 1); exit 1; }; }
18868
# Provide some information about the compiler.
18869
echo "$as_me:$LINENO:" \
18870
"checking for C compiler version" >&5
18871
ac_compiler=`set X $ac_compile; echo $2`
18872
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
18873
(eval $ac_compiler --version </dev/null >&5) 2>&5
18875
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18876
(exit $ac_status); }
18877
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
18878
(eval $ac_compiler -v </dev/null >&5) 2>&5
18880
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881
(exit $ac_status); }
18882
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
18883
(eval $ac_compiler -V </dev/null >&5) 2>&5
18885
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886
(exit $ac_status); }
18888
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
18889
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
18890
if test "${ac_cv_c_compiler_gnu+set}" = set; then
18891
echo $ECHO_N "(cached) $ECHO_C" >&6
18893
cat >conftest.$ac_ext <<_ACEOF
18896
cat confdefs.h >>conftest.$ac_ext
18897
cat >>conftest.$ac_ext <<_ACEOF
18898
/* end confdefs.h. */
18911
rm -f conftest.$ac_objext
18912
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18913
(eval $ac_compile) 2>conftest.er1
18915
grep -v '^ *+' conftest.er1 >conftest.err
18917
cat conftest.err >&5
18918
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18919
(exit $ac_status); } &&
18920
{ ac_try='test -z "$ac_c_werror_flag"
18921
|| test ! -s conftest.err'
18922
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18923
(eval $ac_try) 2>&5
18925
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926
(exit $ac_status); }; } &&
18927
{ ac_try='test -s conftest.$ac_objext'
18928
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18929
(eval $ac_try) 2>&5
18931
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18932
(exit $ac_status); }; }; then
18933
ac_compiler_gnu=yes
18935
echo "$as_me: failed program was:" >&5
18936
sed 's/^/| /' conftest.$ac_ext >&5
18940
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18941
ac_cv_c_compiler_gnu=$ac_compiler_gnu
18944
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
18945
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
18946
GCC=`test $ac_compiler_gnu = yes && echo yes`
18947
ac_test_CFLAGS=${CFLAGS+set}
18948
ac_save_CFLAGS=$CFLAGS
18950
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18951
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
18952
if test "${ac_cv_prog_cc_g+set}" = set; then
18953
echo $ECHO_N "(cached) $ECHO_C" >&6
18955
cat >conftest.$ac_ext <<_ACEOF
18958
cat confdefs.h >>conftest.$ac_ext
18959
cat >>conftest.$ac_ext <<_ACEOF
18960
/* end confdefs.h. */
18970
rm -f conftest.$ac_objext
18971
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18972
(eval $ac_compile) 2>conftest.er1
18974
grep -v '^ *+' conftest.er1 >conftest.err
18976
cat conftest.err >&5
18977
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978
(exit $ac_status); } &&
18979
{ ac_try='test -z "$ac_c_werror_flag"
18980
|| test ! -s conftest.err'
18981
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18982
(eval $ac_try) 2>&5
18984
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985
(exit $ac_status); }; } &&
18986
{ ac_try='test -s conftest.$ac_objext'
18987
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18988
(eval $ac_try) 2>&5
18990
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991
(exit $ac_status); }; }; then
18992
ac_cv_prog_cc_g=yes
18994
echo "$as_me: failed program was:" >&5
18995
sed 's/^/| /' conftest.$ac_ext >&5
18999
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19001
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19002
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
19003
if test "$ac_test_CFLAGS" = set; then
19004
CFLAGS=$ac_save_CFLAGS
19005
elif test $ac_cv_prog_cc_g = yes; then
19006
if test "$GCC" = yes; then
19012
if test "$GCC" = yes; then
19018
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
19019
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
19020
if test "${ac_cv_prog_cc_stdc+set}" = set; then
19021
echo $ECHO_N "(cached) $ECHO_C" >&6
19023
ac_cv_prog_cc_stdc=no
19025
cat >conftest.$ac_ext <<_ACEOF
19028
cat confdefs.h >>conftest.$ac_ext
19029
cat >>conftest.$ac_ext <<_ACEOF
19030
/* end confdefs.h. */
19031
#include <stdarg.h>
19033
#include <sys/types.h>
19034
#include <sys/stat.h>
19035
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
19036
struct buf { int x; };
19037
FILE * (*rcsopen) (struct buf *, struct stat *, int);
19038
static char *e (p, i)
19044
static char *f (char * (*g) (char **, int), char **p, ...)
19049
s = g (p, va_arg (v,int));
19054
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
19055
function prototypes and stuff, but not '\xHH' hex character constants.
19056
These don't provoke an error unfortunately, instead are silently treated
19057
as 'x'. The following induces an error, until -std1 is added to get
19058
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
19059
array size at least. It's necessary to write '\x00'==0 to get something
19060
that's true only with -std1. */
19061
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
19063
int test (int i, double x);
19064
struct s1 {int (*f) (int a);};
19065
struct s2 {int (*f) (double a);};
19066
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
19072
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
19077
# Don't try gcc -ansi; that turns off useful extensions and
19078
# breaks some systems' header files.
19079
# AIX -qlanglvl=ansi
19080
# Ultrix and OSF/1 -std1
19081
# HP-UX 10.20 and later -Ae
19082
# HP-UX older versions -Aa -D_HPUX_SOURCE
19083
# SVR4 -Xc -D__EXTENSIONS__
19084
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
19086
CC="$ac_save_CC $ac_arg"
19087
rm -f conftest.$ac_objext
19088
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19089
(eval $ac_compile) 2>conftest.er1
19091
grep -v '^ *+' conftest.er1 >conftest.err
19093
cat conftest.err >&5
19094
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19095
(exit $ac_status); } &&
19096
{ ac_try='test -z "$ac_c_werror_flag"
19097
|| test ! -s conftest.err'
19098
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19099
(eval $ac_try) 2>&5
19101
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102
(exit $ac_status); }; } &&
19103
{ ac_try='test -s conftest.$ac_objext'
19104
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19105
(eval $ac_try) 2>&5
19107
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108
(exit $ac_status); }; }; then
19109
ac_cv_prog_cc_stdc=$ac_arg
19112
echo "$as_me: failed program was:" >&5
19113
sed 's/^/| /' conftest.$ac_ext >&5
19116
rm -f conftest.err conftest.$ac_objext
19118
rm -f conftest.$ac_ext conftest.$ac_objext
19123
case "x$ac_cv_prog_cc_stdc" in
19125
echo "$as_me:$LINENO: result: none needed" >&5
19126
echo "${ECHO_T}none needed" >&6 ;;
19128
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
19129
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
19130
CC="$CC $ac_cv_prog_cc_stdc" ;;
19133
# Some people use a C++ compiler to compile C. Since we use `exit',
19134
# in C++ we need to declare it. In case someone uses the same compiler
19135
# for both compiling C and C++ we need to have the C++ compiler decide
19136
# the declaration of exit, since it's the most demanding environment.
19137
cat >conftest.$ac_ext <<_ACEOF
19138
#ifndef __cplusplus
19142
rm -f conftest.$ac_objext
19143
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19144
(eval $ac_compile) 2>conftest.er1
19146
grep -v '^ *+' conftest.er1 >conftest.err
19148
cat conftest.err >&5
19149
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19150
(exit $ac_status); } &&
19151
{ ac_try='test -z "$ac_c_werror_flag"
19152
|| test ! -s conftest.err'
19153
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19154
(eval $ac_try) 2>&5
19156
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157
(exit $ac_status); }; } &&
19158
{ ac_try='test -s conftest.$ac_objext'
19159
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19160
(eval $ac_try) 2>&5
19162
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163
(exit $ac_status); }; }; then
19164
for ac_declaration in \
19166
'extern "C" void std::exit (int) throw (); using std::exit;' \
19167
'extern "C" void std::exit (int); using std::exit;' \
19168
'extern "C" void exit (int) throw ();' \
19169
'extern "C" void exit (int);' \
19172
cat >conftest.$ac_ext <<_ACEOF
19175
cat confdefs.h >>conftest.$ac_ext
19176
cat >>conftest.$ac_ext <<_ACEOF
19177
/* end confdefs.h. */
19179
#include <stdlib.h>
19188
rm -f conftest.$ac_objext
19189
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19190
(eval $ac_compile) 2>conftest.er1
19192
grep -v '^ *+' conftest.er1 >conftest.err
19194
cat conftest.err >&5
19195
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196
(exit $ac_status); } &&
19197
{ ac_try='test -z "$ac_c_werror_flag"
19198
|| test ! -s conftest.err'
19199
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200
(eval $ac_try) 2>&5
19202
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203
(exit $ac_status); }; } &&
19204
{ ac_try='test -s conftest.$ac_objext'
19205
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19206
(eval $ac_try) 2>&5
19208
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209
(exit $ac_status); }; }; then
19212
echo "$as_me: failed program was:" >&5
19213
sed 's/^/| /' conftest.$ac_ext >&5
19217
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19218
cat >conftest.$ac_ext <<_ACEOF
19221
cat confdefs.h >>conftest.$ac_ext
19222
cat >>conftest.$ac_ext <<_ACEOF
19223
/* end confdefs.h. */
19233
rm -f conftest.$ac_objext
19234
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19235
(eval $ac_compile) 2>conftest.er1
19237
grep -v '^ *+' conftest.er1 >conftest.err
19239
cat conftest.err >&5
19240
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241
(exit $ac_status); } &&
19242
{ ac_try='test -z "$ac_c_werror_flag"
19243
|| test ! -s conftest.err'
19244
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19245
(eval $ac_try) 2>&5
19247
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248
(exit $ac_status); }; } &&
19249
{ ac_try='test -s conftest.$ac_objext'
19250
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19251
(eval $ac_try) 2>&5
19253
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254
(exit $ac_status); }; }; then
19257
echo "$as_me: failed program was:" >&5
19258
sed 's/^/| /' conftest.$ac_ext >&5
19261
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19264
if test -n "$ac_declaration"; then
19265
echo '#ifdef __cplusplus' >>confdefs.h
19266
echo $ac_declaration >>confdefs.h
19267
echo '#endif' >>confdefs.h
19271
echo "$as_me: failed program was:" >&5
19272
sed 's/^/| /' conftest.$ac_ext >&5
19275
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19277
ac_cpp='$CPP $CPPFLAGS'
19278
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19279
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19280
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15028
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15029
$as_echo "$hardcode_action_CXX" >&6; }
15031
if test "$hardcode_action_CXX" = relink ||
15032
test "$inherit_rpath_CXX" = yes; then
15033
# Fast installation is not supported
15034
enable_fast_install=no
15035
elif test "$shlibpath_overrides_runpath" = yes ||
15036
test "$enable_shared" = no; then
15037
# Fast installation is not necessary
15038
enable_fast_install=needless
15047
fi # test -n "$compiler"
15050
CFLAGS=$lt_save_CFLAGS
15054
with_gnu_ld=$lt_save_with_gnu_ld
15055
lt_cv_path_LDCXX=$lt_cv_path_LD
15056
lt_cv_path_LD=$lt_save_path_LD
15057
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15058
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15059
fi # test "$_lt_caught_CXX_error" != yes
15062
ac_cpp='$CPP $CPPFLAGS'
15063
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15064
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15065
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19282
15068
# Find a good install program. We prefer a C program (faster),
19283
15069
# so one script is as good as another. But avoid the broken or
21399
17239
if $ac_need_defaults; then
21400
17240
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21401
17241
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17242
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21404
17245
# Have a temporary directory for convenience. Make it in the build tree
21405
# simply because there is no reason to put it here, and in addition,
17246
# simply because there is no reason against having it here, and in addition,
21406
17247
# creating and moving files from /tmp can sometimes cause problems.
21407
# Create a temporary directory, and hook for its removal unless debugging.
17248
# Hook for its removal unless debugging.
17249
# Note that there is a small window in which the directory will not be cleaned:
17250
# after its creation but before its name has been assigned to `$tmp'.
21410
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21411
trap '{ (exit 1); exit 1; }' 1 2 13 15
17254
trap 'exit_status=$?
17255
: "${ac_tmp:=$tmp}"
17256
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17258
trap 'as_fn_exit 1' 1 2 13 15
21414
17260
# Create a (secure) tmp directory for tmp files.
21417
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21418
test -n "$tmp" && test -d "$tmp"
17263
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21421
tmp=./confstat$$-$RANDOM
21422
(umask 077 && mkdir $tmp)
17267
tmp=./conf$$-$RANDOM
17268
(umask 077 && mkdir "$tmp")
17269
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17272
# Set up the scripts for CONFIG_FILES section.
17273
# No need to generate them if there are no CONFIG_FILES.
17274
# This happens for instance with `./config.status config.h'.
17275
if test -n "$CONFIG_FILES"; then
17278
ac_cr=`echo X | tr X '\015'`
17279
# On cygwin, bash can eat \r inside `` if the user requested igncr.
17280
# But we know of no other shell where ac_cr would be empty at this
17281
# point, so we can use a bashism as a fallback.
17282
if test "x$ac_cr" = x; then
17283
eval ac_cr=\$\'\\r\'
17285
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17286
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17289
ac_cs_awk_cr=$ac_cr
17292
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21425
echo "$me: cannot create a temporary directory in ." >&2
21426
{ (exit 1); exit 1; }
21431
cat >>$CONFIG_STATUS <<_ACEOF
21434
# CONFIG_FILES section.
21437
# No need to generate the scripts if there are no CONFIG_FILES.
21438
# This happens for instance when ./config.status config.h
21439
if test -n "\$CONFIG_FILES"; then
21440
# Protect against being on the right side of a sed subst in config.status.
21441
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21442
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21443
s,@SHELL@,$SHELL,;t t
21444
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21445
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21446
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21447
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21448
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21449
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21450
s,@exec_prefix@,$exec_prefix,;t t
21451
s,@prefix@,$prefix,;t t
21452
s,@program_transform_name@,$program_transform_name,;t t
21453
s,@bindir@,$bindir,;t t
21454
s,@sbindir@,$sbindir,;t t
21455
s,@libexecdir@,$libexecdir,;t t
21456
s,@datadir@,$datadir,;t t
21457
s,@sysconfdir@,$sysconfdir,;t t
21458
s,@sharedstatedir@,$sharedstatedir,;t t
21459
s,@localstatedir@,$localstatedir,;t t
21460
s,@libdir@,$libdir,;t t
21461
s,@includedir@,$includedir,;t t
21462
s,@oldincludedir@,$oldincludedir,;t t
21463
s,@infodir@,$infodir,;t t
21464
s,@mandir@,$mandir,;t t
21465
s,@build_alias@,$build_alias,;t t
21466
s,@host_alias@,$host_alias,;t t
21467
s,@target_alias@,$target_alias,;t t
21468
s,@DEFS@,$DEFS,;t t
21469
s,@ECHO_C@,$ECHO_C,;t t
21470
s,@ECHO_N@,$ECHO_N,;t t
21471
s,@ECHO_T@,$ECHO_T,;t t
21472
s,@LIBS@,$LIBS,;t t
21473
s,@build@,$build,;t t
21474
s,@build_cpu@,$build_cpu,;t t
21475
s,@build_vendor@,$build_vendor,;t t
21476
s,@build_os@,$build_os,;t t
21477
s,@host@,$host,;t t
21478
s,@host_cpu@,$host_cpu,;t t
21479
s,@host_vendor@,$host_vendor,;t t
21480
s,@host_os@,$host_os,;t t
21482
s,@CFLAGS@,$CFLAGS,;t t
21483
s,@LDFLAGS@,$LDFLAGS,;t t
21484
s,@CPPFLAGS@,$CPPFLAGS,;t t
21485
s,@ac_ct_CC@,$ac_ct_CC,;t t
21486
s,@EXEEXT@,$EXEEXT,;t t
21487
s,@OBJEXT@,$OBJEXT,;t t
21488
s,@EGREP@,$EGREP,;t t
21489
s,@LN_S@,$LN_S,;t t
21490
s,@ECHO@,$ECHO,;t t
21492
s,@ac_ct_AR@,$ac_ct_AR,;t t
21493
s,@RANLIB@,$RANLIB,;t t
21494
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21495
s,@STRIP@,$STRIP,;t t
21496
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21497
s,@DLLTOOL@,$DLLTOOL,;t t
21498
s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
21500
s,@ac_ct_AS@,$ac_ct_AS,;t t
21501
s,@OBJDUMP@,$OBJDUMP,;t t
21502
s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
21505
s,@CXXFLAGS@,$CXXFLAGS,;t t
21506
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21507
s,@CXXCPP@,$CXXCPP,;t t
21509
s,@FFLAGS@,$FFLAGS,;t t
21510
s,@ac_ct_F77@,$ac_ct_F77,;t t
21511
s,@LIBTOOL@,$LIBTOOL,;t t
21512
s,@LIBCURRENT@,$LIBCURRENT,;t t
21513
s,@LIBREVISION@,$LIBREVISION,;t t
21514
s,@LIBAGE@,$LIBAGE,;t t
21515
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21516
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21517
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21518
s,@FILEMAP@,$FILEMAP,;t t
21519
s,@LIBOBJS@,$LIBOBJS,;t t
21520
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21525
cat >>$CONFIG_STATUS <<\_ACEOF
21526
# Split the substitutions into bite-sized pieces for seds with
21527
# small command number limits, like on Digital OSF/1 and HP-UX.
21528
ac_max_sed_lines=48
21529
ac_sed_frag=1 # Number of current file.
21530
ac_beg=1 # First line for current file.
21531
ac_end=$ac_max_sed_lines # Line after last line for current file.
21534
while $ac_more_lines; do
21535
if test $ac_beg -gt 1; then
21536
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21538
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21540
if test ! -s $tmp/subs.frag; then
21541
ac_more_lines=false
21543
# The purpose of the label and of the branching condition is to
21544
# speed up the sed processing (if there are no `@' at all, there
21545
# is no need to browse any of the substitutions).
21546
# These are the two extra sed commands mentioned above.
21548
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21549
if test -z "$ac_sed_cmds"; then
21550
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21552
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21554
ac_sed_frag=`expr $ac_sed_frag + 1`
21556
ac_end=`expr $ac_end + $ac_max_sed_lines`
21559
if test -z "$ac_sed_cmds"; then
17297
echo "cat >conf$$subs.awk <<_ACEOF" &&
17298
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17300
} >conf$$subs.sh ||
17301
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17302
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17304
for ac_last_try in false false false false false :; do
17305
. ./conf$$subs.sh ||
17306
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17308
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17309
if test $ac_delim_n = $ac_delim_num; then
17311
elif $ac_last_try; then
17312
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17314
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17317
rm -f conf$$subs.sh
17319
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17320
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17324
s/^/S["/; s/!.*/"]=/
17334
s/\(.\{148\}\)..*/\1/
17336
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17341
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17348
s/\(.\{148\}\)..*/\1/
17350
s/["\\]/\\&/g; s/^/"/; s/$/"/
17354
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17359
' <conf$$subs.awk | sed '
17364
' >>$CONFIG_STATUS || ac_write_fail=1
17365
rm -f conf$$subs.awk
17366
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17368
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17369
for (key in S) S_is_set[key] = 1
17375
nfields = split(line, field, "@")
17377
len = length(field[1])
17378
for (i = 2; i < nfields; i++) {
17380
keylen = length(key)
17381
if (S_is_set[key]) {
17383
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17384
len += length(value) + length(field[++i])
17395
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17396
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17397
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17400
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17401
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17404
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17405
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17406
# trailing colons and then remove the whole line if VPATH becomes empty
17407
# (actually we leave an empty line to preserve line numbers).
17408
if test "x$srcdir" = x.; then
17409
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17427
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21562
17428
fi # test -n "$CONFIG_FILES"
21565
cat >>$CONFIG_STATUS <<\_ACEOF
21566
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21567
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21569
- | *:- | *:-:* ) # input from stdin
21571
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21572
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21573
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21574
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21575
* ) ac_file_in=$ac_file.in ;;
21578
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21579
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
17430
# Set up the scripts for CONFIG_HEADERS section.
17431
# No need to generate them if there are no CONFIG_HEADERS.
17432
# This happens for instance with `./config.status Makefile'.
17433
if test -n "$CONFIG_HEADERS"; then
17434
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17438
# Transform confdefs.h into an awk script `defines.awk', embedded as
17439
# here-document in config.status, that substitutes the proper values into
17440
# config.h.in to produce config.h.
17442
# Create a delimiter string that does not exist in confdefs.h, to ease
17443
# handling of long lines.
17445
for ac_last_try in false false :; do
17446
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17447
if test -z "$ac_tt"; then
17449
elif $ac_last_try; then
17450
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17452
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17456
# For the awk script, D is an array of macro values keyed by name,
17457
# likewise P contains macro parameters if any. Preserve backslash
17458
# newline sequences.
17460
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17462
s/.\{148\}/&'"$ac_delim"'/g
17465
s/^[ ]*#[ ]*define[ ][ ]*/ /
17472
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17474
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17478
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17479
D["\1"]=" \3\\\\\\n"\\/p
17481
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17486
s/.\{148\}/&'"$ac_delim"'/g
17491
s/["\\]/\\&/g; s/^/"/; s/$/"/p
17494
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17496
' <confdefs.h | sed '
17497
s/'"$ac_delim"'/"\\\
17498
"/g' >>$CONFIG_STATUS || ac_write_fail=1
17500
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17501
for (key in D) D_is_set[key] = 1
17504
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17506
split(line, arg, " ")
17507
if (arg[1] == "#") {
17511
defundef = substr(arg[1], 2)
17514
split(mac1, mac2, "(") #)
17516
prefix = substr(line, 1, index(line, defundef) - 1)
17517
if (D_is_set[macro]) {
17518
# Preserve the white space surrounding the "#".
17519
print prefix "define", macro P[macro] D[macro]
17522
# Replace #undef with comments. This is necessary, for example,
17523
# in the case of _POSIX_SOURCE, which is predefined and required
17524
# on some systems where configure will not decide to define it.
17525
if (defundef == "undef") {
17526
print "/*", prefix defundef, macro, "*/"
17534
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17535
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17536
fi # test -n "$CONFIG_HEADERS"
17539
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17544
:[FHLC]) ac_mode=$ac_tag; continue;;
17546
case $ac_mode$ac_tag in
17548
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17549
:[FH]-) ac_tag=-:-;;
17550
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17567
-) ac_f="$ac_tmp/stdin";;
17568
*) # Look for the file first in the build tree, then in the source tree
17569
# (if the path is not absolute). The absolute path cannot be DOS-style,
17570
# because $ac_f cannot contain `:'.
17574
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17576
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17578
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17579
as_fn_append ac_file_inputs " '$ac_f'"
17582
# Let's still pretend it is `configure' which instantiates (i.e., don't
17583
# use $as_me), people would be surprised to read:
17584
# /* config.h. Generated by config.status. */
17585
configure_input='Generated from '`
17586
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17588
if test x"$ac_file" != x-; then
17589
configure_input="$ac_file. $configure_input"
17590
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17591
$as_echo "$as_me: creating $ac_file" >&6;}
17593
# Neutralize special characters interpreted by sed in replacement strings.
17594
case $configure_input in #(
17595
*\&* | *\|* | *\\* )
17596
ac_sed_conf_input=`$as_echo "$configure_input" |
17597
sed 's/[\\\\&|]/\\\\&/g'`;; #(
17598
*) ac_sed_conf_input=$configure_input;;
17602
*:-:* | *:-) cat >"$ac_tmp/stdin" \
17603
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17608
ac_dir=`$as_dirname -- "$ac_file" ||
21580
17609
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21581
17610
X"$ac_file" : 'X\(//\)[^/]' \| \
21582
17611
X"$ac_file" : 'X\(//\)$' \| \
21583
X"$ac_file" : 'X\(/\)' \| \
21584
. : '\(.\)' 2>/dev/null ||
21586
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21587
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21588
/^X\(\/\/\)$/{ s//\1/; q; }
21589
/^X\(\/\).*/{ s//\1/; q; }
21591
{ if $as_mkdir_p; then
21596
while test ! -d "$as_dir"; do
21597
as_dirs="$as_dir $as_dirs"
21598
as_dir=`(dirname "$as_dir") 2>/dev/null ||
21599
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21600
X"$as_dir" : 'X\(//\)[^/]' \| \
21601
X"$as_dir" : 'X\(//\)$' \| \
21602
X"$as_dir" : 'X\(/\)' \| \
21603
. : '\(.\)' 2>/dev/null ||
21605
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21606
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21607
/^X\(\/\/\)$/{ s//\1/; q; }
21608
/^X\(\/\).*/{ s//\1/; q; }
21611
test ! -n "$as_dirs" || mkdir $as_dirs
21612
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21613
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21614
{ (exit 1); exit 1; }; }; }
17612
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17613
$as_echo X"$ac_file" |
17614
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17618
/^X\(\/\/\)[^/].*/{
17631
as_dir="$ac_dir"; as_fn_mkdir_p
21616
17632
ac_builddir=.
21618
if test "$ac_dir" != .; then
21619
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21620
# A "../" for each directory in $ac_dir_suffix.
21621
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21623
ac_dir_suffix= ac_top_builddir=
17635
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17637
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17638
# A ".." for each directory in $ac_dir_suffix.
17639
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17640
case $ac_top_builddir_sub in
17641
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17642
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17645
ac_abs_top_builddir=$ac_pwd
17646
ac_abs_builddir=$ac_pwd$ac_dir_suffix
17647
# for backward compatibility:
17648
ac_top_builddir=$ac_top_build_prefix
21626
17650
case $srcdir in
21627
.) # No --srcdir option. We are building in place.
17651
.) # We are building in place.
21629
if test -z "$ac_top_builddir"; then
21632
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21634
[\\/]* | ?:[\\/]* ) # Absolute path.
17653
ac_top_srcdir=$ac_top_builddir_sub
17654
ac_abs_top_srcdir=$ac_pwd ;;
17655
[\\/]* | ?:[\\/]* ) # Absolute name.
21635
17656
ac_srcdir=$srcdir$ac_dir_suffix;
21636
ac_top_srcdir=$srcdir ;;
21637
*) # Relative path.
21638
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21639
ac_top_srcdir=$ac_top_builddir$srcdir ;;
21642
# Do not use `cd foo && pwd` to compute absolute paths, because
21643
# the directories may not exist.
21645
.) ac_abs_builddir="$ac_dir";;
21648
.) ac_abs_builddir=`pwd`;;
21649
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21650
*) ac_abs_builddir=`pwd`/"$ac_dir";;
21653
case $ac_abs_builddir in
21654
.) ac_abs_top_builddir=${ac_top_builddir}.;;
21656
case ${ac_top_builddir}. in
21657
.) ac_abs_top_builddir=$ac_abs_builddir;;
21658
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21659
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21662
case $ac_abs_builddir in
21663
.) ac_abs_srcdir=$ac_srcdir;;
21666
.) ac_abs_srcdir=$ac_abs_builddir;;
21667
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21668
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21671
case $ac_abs_builddir in
21672
.) ac_abs_top_srcdir=$ac_top_srcdir;;
21674
case $ac_top_srcdir in
21675
.) ac_abs_top_srcdir=$ac_abs_builddir;;
21676
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21677
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
17657
ac_top_srcdir=$srcdir
17658
ac_abs_top_srcdir=$srcdir ;;
17659
*) # Relative name.
17660
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17661
ac_top_srcdir=$ac_top_build_prefix$srcdir
17662
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17664
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21682
17673
case $INSTALL in
21683
17674
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21684
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
17675
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21687
if test x"$ac_file" != x-; then
21688
{ echo "$as_me:$LINENO: creating $ac_file" >&5
21689
echo "$as_me: creating $ac_file" >&6;}
21692
# Let's still pretend it is `configure' which instantiates (i.e., don't
21693
# use $as_me), people would be surprised to read:
21694
# /* config.h. Generated by config.status. */
21695
if test x"$ac_file" = x-; then
21698
configure_input="$ac_file. "
21700
configure_input=$configure_input"Generated from `echo $ac_file_in |
21701
sed 's,.*/,,'` by configure."
21703
# First look for the input files in the build tree, otherwise in the
21705
ac_file_inputs=`IFS=:
21706
for f in $ac_file_in; do
21708
-) echo $tmp/stdin ;;
21710
# Absolute (can't be DOS-style, as IFS=:)
21711
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21712
echo "$as_me: error: cannot find input file: $f" >&2;}
21713
{ (exit 1); exit 1; }; }
21716
if test -f "$f"; then
21719
elif test -f "$srcdir/$f"; then
21724
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21725
echo "$as_me: error: cannot find input file: $f" >&2;}
21726
{ (exit 1); exit 1; }; }
21729
done` || { (exit 1); exit 1; }
21731
cat >>$CONFIG_STATUS <<_ACEOF
17679
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17680
# If the template does not know about datarootdir, expand it.
17681
# FIXME: This hack should be removed a few years after 2.60.
17682
ac_datarootdir_hack=; ac_datarootdir_seen=
17693
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17694
*datarootdir*) ac_datarootdir_seen=yes;;
17695
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17696
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17697
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17699
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17700
ac_datarootdir_hack='
17701
s&@datadir@&$datadir&g
17702
s&@docdir@&$docdir&g
17703
s&@infodir@&$infodir&g
17704
s&@localedir@&$localedir&g
17705
s&@mandir@&$mandir&g
17706
s&\\\${datarootdir}&$datarootdir&g' ;;
17710
# Neutralize VPATH when `$srcdir' = `.'.
17711
# Shell code in configure.ac might set extrasub.
17712
# FIXME: do we really want to maintain this feature?
17713
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17714
ac_sed_extra="$ac_vpsub
21735
cat >>$CONFIG_STATUS <<\_ACEOF
17717
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21737
17719
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21738
s,@configure_input@,$configure_input,;t t
21739
s,@srcdir@,$ac_srcdir,;t t
21740
s,@abs_srcdir@,$ac_abs_srcdir,;t t
21741
s,@top_srcdir@,$ac_top_srcdir,;t t
21742
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21743
s,@builddir@,$ac_builddir,;t t
21744
s,@abs_builddir@,$ac_abs_builddir,;t t
21745
s,@top_builddir@,$ac_top_builddir,;t t
21746
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21747
s,@INSTALL@,$ac_INSTALL,;t t
21748
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21750
if test x"$ac_file" != x-; then
21751
mv $tmp/out $ac_file
21759
cat >>$CONFIG_STATUS <<\_ACEOF
21762
# CONFIG_HEADER section.
21765
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21766
# NAME is the cpp macro being defined and VALUE is the value it is being given.
21768
# ac_d sets the value in "#define NAME VALUE" lines.
21769
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21770
ac_dB='[ ].*$,\1#\2'
21773
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21774
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21775
ac_uB='$,\1#\2define\3'
21779
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21780
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17720
s|@configure_input@|$ac_sed_conf_input|;t t
17721
s&@top_builddir@&$ac_top_builddir_sub&;t t
17722
s&@top_build_prefix@&$ac_top_build_prefix&;t t
17723
s&@srcdir@&$ac_srcdir&;t t
17724
s&@abs_srcdir@&$ac_abs_srcdir&;t t
17725
s&@top_srcdir@&$ac_top_srcdir&;t t
17726
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17727
s&@builddir@&$ac_builddir&;t t
17728
s&@abs_builddir@&$ac_abs_builddir&;t t
17729
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17730
s&@INSTALL@&$ac_INSTALL&;t t
17731
$ac_datarootdir_hack
17733
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17734
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17736
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17737
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17738
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17739
"$ac_tmp/out"`; test -z "$ac_out"; } &&
17740
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17741
which seems to be undefined. Please make sure it is defined" >&5
17742
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17743
which seems to be undefined. Please make sure it is defined" >&2;}
17745
rm -f "$ac_tmp/stdin"
21781
17746
case $ac_file in
21782
- | *:- | *:-:* ) # input from stdin
21784
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21785
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21786
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21787
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21788
* ) ac_file_in=$ac_file.in ;;
21791
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21792
echo "$as_me: creating $ac_file" >&6;}
21794
# First look for the input files in the build tree, otherwise in the
21796
ac_file_inputs=`IFS=:
21797
for f in $ac_file_in; do
21799
-) echo $tmp/stdin ;;
21801
# Absolute (can't be DOS-style, as IFS=:)
21802
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21803
echo "$as_me: error: cannot find input file: $f" >&2;}
21804
{ (exit 1); exit 1; }; }
21805
# Do quote $f, to prevent DOS paths from being IFS'd.
21808
if test -f "$f"; then
21811
elif test -f "$srcdir/$f"; then
21816
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21817
echo "$as_me: error: cannot find input file: $f" >&2;}
21818
{ (exit 1); exit 1; }; }
21821
done` || { (exit 1); exit 1; }
21822
# Remove the trailing spaces.
21823
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21827
# Transform confdefs.h into two sed scripts, `conftest.defines' and
21828
# `conftest.undefs', that substitutes the proper values into
21829
# config.h.in to produce config.h. The first handles `#define'
21830
# templates, and the second `#undef' templates.
21831
# And first: Protect against being on the right side of a sed subst in
21832
# config.status. Protect against being in an unquoted here document
21833
# in config.status.
21834
rm -f conftest.defines conftest.undefs
21835
# Using a here document instead of a string reduces the quoting nightmare.
21836
# Putting comments in sed scripts is not portable.
21838
# `end' is used to avoid that the second main sed command (meant for
21839
# 0-ary CPP macros) applies to n-ary macro definitions.
21840
# See the Autoconf documentation for `clear'.
21841
cat >confdef2sed.sed <<\_ACEOF
21846
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21848
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21851
# If some macros were called several times there might be several times
21852
# the same #defines, which is useless. Nevertheless, we may not want to
21853
# sort them, since we want the *last* AC-DEFINE to be honored.
21854
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21855
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21856
rm -f confdef2sed.sed
21858
# This sed command replaces #undef with comments. This is necessary, for
21859
# example, in the case of _POSIX_SOURCE, which is predefined and required
21860
# on some systems where configure will not decide to define it.
21861
cat >>conftest.undefs <<\_ACEOF
21862
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21865
# Break up conftest.defines because some shells have a limit on the size
21866
# of here documents, and old seds have small limits too (100 cmds).
21867
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21868
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21869
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21870
echo ' :' >>$CONFIG_STATUS
21871
rm -f conftest.tail
21872
while grep . conftest.defines >/dev/null
21874
# Write a limited-size here document to $tmp/defines.sed.
21875
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21876
# Speed up: don't consider the non `#define' lines.
21877
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21878
# Work around the forget-to-reset-the-flag bug.
21879
echo 't clr' >>$CONFIG_STATUS
21880
echo ': clr' >>$CONFIG_STATUS
21881
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21883
sed -f $tmp/defines.sed $tmp/in >$tmp/out
21885
mv $tmp/out $tmp/in
21887
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21888
rm -f conftest.defines
21889
mv conftest.tail conftest.defines
21891
rm -f conftest.defines
21892
echo ' fi # grep' >>$CONFIG_STATUS
21893
echo >>$CONFIG_STATUS
21895
# Break up conftest.undefs because some shells have a limit on the size
21896
# of here documents, and old seds have small limits too (100 cmds).
21897
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21898
rm -f conftest.tail
21899
while grep . conftest.undefs >/dev/null
21901
# Write a limited-size here document to $tmp/undefs.sed.
21902
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21903
# Speed up: don't consider the non `#undef'
21904
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21905
# Work around the forget-to-reset-the-flag bug.
21906
echo 't clr' >>$CONFIG_STATUS
21907
echo ': clr' >>$CONFIG_STATUS
21908
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21910
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21912
mv $tmp/out $tmp/in
21914
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21915
rm -f conftest.undefs
21916
mv conftest.tail conftest.undefs
21918
rm -f conftest.undefs
21920
cat >>$CONFIG_STATUS <<\_ACEOF
21921
# Let's still pretend it is `configure' which instantiates (i.e., don't
21922
# use $as_me), people would be surprised to read:
21923
# /* config.h. Generated by config.status. */
21924
if test x"$ac_file" = x-; then
21925
echo "/* Generated by configure. */" >$tmp/config.h
21927
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21929
cat $tmp/in >>$tmp/config.h
17747
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17748
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17750
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
21931
17756
if test x"$ac_file" != x-; then
21932
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21933
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21934
echo "$as_me: $ac_file is unchanged" >&6;}
17758
$as_echo "/* $configure_input */" \
17759
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17760
} >"$ac_tmp/config.h" \
17761
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17762
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17763
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17764
$as_echo "$as_me: $ac_file is unchanged" >&6;}
21936
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21937
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21938
X"$ac_file" : 'X\(//\)[^/]' \| \
21939
X"$ac_file" : 'X\(//\)$' \| \
21940
X"$ac_file" : 'X\(/\)' \| \
21941
. : '\(.\)' 2>/dev/null ||
21943
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21944
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21945
/^X\(\/\/\)$/{ s//\1/; q; }
21946
/^X\(\/\).*/{ s//\1/; q; }
21948
{ if $as_mkdir_p; then
21953
while test ! -d "$as_dir"; do
21954
as_dirs="$as_dir $as_dirs"
21955
as_dir=`(dirname "$as_dir") 2>/dev/null ||
21956
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21957
X"$as_dir" : 'X\(//\)[^/]' \| \
21958
X"$as_dir" : 'X\(//\)$' \| \
21959
X"$as_dir" : 'X\(/\)' \| \
21960
. : '\(.\)' 2>/dev/null ||
21962
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21963
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21964
/^X\(\/\/\)$/{ s//\1/; q; }
21965
/^X\(\/\).*/{ s//\1/; q; }
21968
test ! -n "$as_dirs" || mkdir $as_dirs
21969
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21970
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21971
{ (exit 1); exit 1; }; }; }
21974
mv $tmp/config.h $ac_file
17767
mv "$ac_tmp/config.h" "$ac_file" \
17768
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
21978
rm -f $tmp/config.h
17771
$as_echo "/* $configure_input */" \
17772
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17773
|| as_fn_error $? "could not create -" "$LINENO" 5
21983
cat >>$CONFIG_STATUS <<\_ACEOF
21985
{ (exit 0); exit 0; }
21987
chmod +x $CONFIG_STATUS
17777
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17778
$as_echo "$as_me: executing $ac_file commands" >&6;}
17783
case $ac_file$ac_mode in
17786
# See if we are running on zsh, and set the options which allow our
17787
# commands through without removal of \ escapes.
17788
if test -n "${ZSH_VERSION+set}" ; then
17789
setopt NO_GLOB_SUBST
17792
cfgfile="${ofile}T"
17793
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17796
cat <<_LT_EOF >> "$cfgfile"
17799
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17800
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17801
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17802
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17804
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17805
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17807
# Written by Gordon Matzigkeit, 1996
17809
# This file is part of GNU Libtool.
17811
# GNU Libtool is free software; you can redistribute it and/or
17812
# modify it under the terms of the GNU General Public License as
17813
# published by the Free Software Foundation; either version 2 of
17814
# the License, or (at your option) any later version.
17816
# As a special exception to the GNU General Public License,
17817
# if you distribute this file as part of a program or library that
17818
# is built using GNU Libtool, you may include this file under the
17819
# same distribution terms that you use for the rest of that program.
17821
# GNU Libtool is distributed in the hope that it will be useful,
17822
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17823
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17824
# GNU General Public License for more details.
17826
# You should have received a copy of the GNU General Public License
17827
# along with GNU Libtool; see the file COPYING. If not, a copy
17828
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17829
# obtained by writing to the Free Software Foundation, Inc.,
17830
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17833
# The names of the tagged configurations supported by this script.
17834
available_tags="CXX "
17836
# ### BEGIN LIBTOOL CONFIG
17838
# Assembler program.
17841
# DLL creation program.
17842
DLLTOOL=$lt_DLLTOOL
17844
# Object dumper program.
17845
OBJDUMP=$lt_OBJDUMP
17847
# Which release of libtool.m4 was used?
17848
macro_version=$macro_version
17849
macro_revision=$macro_revision
17851
# Whether or not to build shared libraries.
17852
build_libtool_libs=$enable_shared
17854
# Whether or not to build static libraries.
17855
build_old_libs=$enable_static
17857
# What type of objects to build.
17860
# Whether or not to optimize for fast installation.
17861
fast_install=$enable_fast_install
17863
# Shell to use when invoking shell scripts.
17866
# An echo program that protects backslashes.
17870
host_alias=$host_alias
17874
# The build system.
17875
build_alias=$build_alias
17879
# A sed program that does not truncate output.
17882
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17883
Xsed="\$SED -e 1s/^X//"
17885
# A grep program that handles long lines.
17891
# A literal string matcher.
17894
# A BSD- or MS-compatible name lister.
17897
# Whether we need soft or hard links.
17900
# What is the maximum length of a command?
17901
max_cmd_len=$max_cmd_len
17903
# Object file suffix (normally "o").
17906
# Executable file suffix (normally "").
17909
# whether the shell understands "unset".
17912
# turn spaces into newlines.
17915
# turn newlines into spaces.
17918
# convert \$build file names to \$host format.
17919
to_host_file_cmd=$lt_cv_to_host_file_cmd
17921
# convert \$build files to toolchain format.
17922
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17924
# Method to check whether dependent libraries are shared objects.
17925
deplibs_check_method=$lt_deplibs_check_method
17927
# Command to use when deplibs_check_method = "file_magic".
17928
file_magic_cmd=$lt_file_magic_cmd
17930
# How to find potential files when deplibs_check_method = "file_magic".
17931
file_magic_glob=$lt_file_magic_glob
17933
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17934
want_nocaseglob=$lt_want_nocaseglob
17936
# Command to associate shared and link libraries.
17937
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17942
# Flags to create an archive.
17943
AR_FLAGS=$lt_AR_FLAGS
17945
# How to feed a file listing to the archiver.
17946
archiver_list_spec=$lt_archiver_list_spec
17948
# A symbol stripping program.
17951
# Commands used to install an old-style archive.
17953
old_postinstall_cmds=$lt_old_postinstall_cmds
17954
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17956
# Whether to use a lock for old archive extraction.
17957
lock_old_archive_extraction=$lock_old_archive_extraction
17962
# LTCC compiler flags.
17963
LTCFLAGS=$lt_CFLAGS
17965
# Take the output of nm and produce a listing of raw symbols and C names.
17966
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17968
# Transform the output of nm in a proper C declaration.
17969
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17971
# Transform the output of nm in a C name address pair.
17972
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17974
# Transform the output of nm in a C name address pair when lib prefix is needed.
17975
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17977
# Specify filename containing input files for \$NM.
17978
nm_file_list_spec=$lt_nm_file_list_spec
17980
# The root where to search for dependent libraries,and in which our libraries should be installed.
17981
lt_sysroot=$lt_sysroot
17983
# The name of the directory that contains temporary libtool files.
17986
# Used to examine libraries when file_magic_cmd begins with "file".
17987
MAGIC_CMD=$MAGIC_CMD
17989
# Must we lock files when doing compilation?
17990
need_locks=$lt_need_locks
17993
MANIFEST_TOOL=$lt_MANIFEST_TOOL
17995
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17996
DSYMUTIL=$lt_DSYMUTIL
17998
# Tool to change global to local symbols on Mac OS X.
18001
# Tool to manipulate fat objects and archives on Mac OS X.
18004
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
18007
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18008
OTOOL64=$lt_OTOOL64
18010
# Old archive suffix (normally "a").
18013
# Shared library suffix (normally ".so").
18014
shrext_cmds=$lt_shrext_cmds
18016
# The commands to extract the exported symbol list from a shared archive.
18017
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18019
# Variables whose values should be saved in libtool wrapper scripts and
18020
# restored at link time.
18021
variables_saved_for_relink=$lt_variables_saved_for_relink
18023
# Do we need the "lib" prefix for modules?
18024
need_lib_prefix=$need_lib_prefix
18026
# Do we need a version for libraries?
18027
need_version=$need_version
18029
# Library versioning type.
18030
version_type=$version_type
18032
# Shared library runtime path variable.
18033
runpath_var=$runpath_var
18035
# Shared library path variable.
18036
shlibpath_var=$shlibpath_var
18038
# Is shlibpath searched before the hard-coded library search path?
18039
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18041
# Format of library name prefix.
18042
libname_spec=$lt_libname_spec
18044
# List of archive names. First name is the real one, the rest are links.
18045
# The last name is the one that the linker finds with -lNAME
18046
library_names_spec=$lt_library_names_spec
18048
# The coded name of the library, if different from the real name.
18049
soname_spec=$lt_soname_spec
18051
# Permission mode override for installation of shared libraries.
18052
install_override_mode=$lt_install_override_mode
18054
# Command to use after installation of a shared archive.
18055
postinstall_cmds=$lt_postinstall_cmds
18057
# Command to use after uninstallation of a shared archive.
18058
postuninstall_cmds=$lt_postuninstall_cmds
18060
# Commands used to finish a libtool library installation in a directory.
18061
finish_cmds=$lt_finish_cmds
18063
# As "finish_cmds", except a single script fragment to be evaled but
18065
finish_eval=$lt_finish_eval
18067
# Whether we should hardcode library paths into libraries.
18068
hardcode_into_libs=$hardcode_into_libs
18070
# Compile-time system search path for libraries.
18071
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18073
# Run-time system search path for libraries.
18074
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18076
# Whether dlopen is supported.
18077
dlopen_support=$enable_dlopen
18079
# Whether dlopen of programs is supported.
18080
dlopen_self=$enable_dlopen_self
18082
# Whether dlopen of statically linked programs is supported.
18083
dlopen_self_static=$enable_dlopen_self_static
18085
# Commands to strip libraries.
18086
old_striplib=$lt_old_striplib
18087
striplib=$lt_striplib
18090
# The linker used to build libraries.
18093
# How to create reloadable object files.
18094
reload_flag=$lt_reload_flag
18095
reload_cmds=$lt_reload_cmds
18097
# Commands used to build an old-style archive.
18098
old_archive_cmds=$lt_old_archive_cmds
18100
# A language specific compiler.
18103
# Is the compiler the GNU compiler?
18106
# Compiler flag to turn off builtin functions.
18107
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18109
# Additional compiler flags for building library objects.
18110
pic_flag=$lt_lt_prog_compiler_pic
18112
# How to pass a linker flag through the compiler.
18113
wl=$lt_lt_prog_compiler_wl
18115
# Compiler flag to prevent dynamic linking.
18116
link_static_flag=$lt_lt_prog_compiler_static
18118
# Does compiler simultaneously support -c and -o options?
18119
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18121
# Whether or not to add -lc for building shared libraries.
18122
build_libtool_need_lc=$archive_cmds_need_lc
18124
# Whether or not to disallow shared libs when runtime libs are static.
18125
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18127
# Compiler flag to allow reflexive dlopens.
18128
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18130
# Compiler flag to generate shared objects directly from archives.
18131
whole_archive_flag_spec=$lt_whole_archive_flag_spec
18133
# Whether the compiler copes with passing no objects directly.
18134
compiler_needs_object=$lt_compiler_needs_object
18136
# Create an old-style archive from a shared archive.
18137
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18139
# Create a temporary old-style archive to link instead of a shared archive.
18140
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18142
# Commands used to build a shared archive.
18143
archive_cmds=$lt_archive_cmds
18144
archive_expsym_cmds=$lt_archive_expsym_cmds
18146
# Commands used to build a loadable module if different from building
18147
# a shared archive.
18148
module_cmds=$lt_module_cmds
18149
module_expsym_cmds=$lt_module_expsym_cmds
18151
# Whether we are building with GNU ld or not.
18152
with_gnu_ld=$lt_with_gnu_ld
18154
# Flag that allows shared libraries with undefined symbols to be built.
18155
allow_undefined_flag=$lt_allow_undefined_flag
18157
# Flag that enforces no undefined symbols.
18158
no_undefined_flag=$lt_no_undefined_flag
18160
# Flag to hardcode \$libdir into a binary during linking.
18161
# This must work even if \$libdir does not exist
18162
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18164
# If ld is used when linking, flag to hardcode \$libdir into a binary
18165
# during linking. This must work even if \$libdir does not exist.
18166
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18168
# Whether we need a single "-rpath" flag with a separated argument.
18169
hardcode_libdir_separator=$lt_hardcode_libdir_separator
18171
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18172
# DIR into the resulting binary.
18173
hardcode_direct=$hardcode_direct
18175
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18176
# DIR into the resulting binary and the resulting library dependency is
18177
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18178
# library is relocated.
18179
hardcode_direct_absolute=$hardcode_direct_absolute
18181
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18182
# into the resulting binary.
18183
hardcode_minus_L=$hardcode_minus_L
18185
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18186
# into the resulting binary.
18187
hardcode_shlibpath_var=$hardcode_shlibpath_var
18189
# Set to "yes" if building a shared library automatically hardcodes DIR
18190
# into the library and all subsequent libraries and executables linked
18192
hardcode_automatic=$hardcode_automatic
18194
# Set to yes if linker adds runtime paths of dependent libraries
18195
# to runtime path list.
18196
inherit_rpath=$inherit_rpath
18198
# Whether libtool must link a program against all its dependency libraries.
18199
link_all_deplibs=$link_all_deplibs
18201
# Set to "yes" if exported symbols are required.
18202
always_export_symbols=$always_export_symbols
18204
# The commands to list exported symbols.
18205
export_symbols_cmds=$lt_export_symbols_cmds
18207
# Symbols that should not be listed in the preloaded symbols.
18208
exclude_expsyms=$lt_exclude_expsyms
18210
# Symbols that must always be exported.
18211
include_expsyms=$lt_include_expsyms
18213
# Commands necessary for linking programs (against libraries) with templates.
18214
prelink_cmds=$lt_prelink_cmds
18216
# Commands necessary for finishing linking programs.
18217
postlink_cmds=$lt_postlink_cmds
18219
# Specify filename containing input files.
18220
file_list_spec=$lt_file_list_spec
18222
# How to hardcode a shared library path into an executable.
18223
hardcode_action=$hardcode_action
18225
# The directories searched by this compiler when creating a shared library.
18226
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18228
# Dependencies to place before and after the objects being linked to
18229
# create a shared library.
18230
predep_objects=$lt_predep_objects
18231
postdep_objects=$lt_postdep_objects
18232
predeps=$lt_predeps
18233
postdeps=$lt_postdeps
18235
# The library search path used internally by the compiler when linking
18236
# a shared library.
18237
compiler_lib_search_path=$lt_compiler_lib_search_path
18239
# ### END LIBTOOL CONFIG
18245
cat <<\_LT_EOF >> "$cfgfile"
18246
# AIX sometimes has problems with the GCC collect2 program. For some
18247
# reason, if we set the COLLECT_NAMES environment variable, the problems
18248
# vanish in a puff of smoke.
18249
if test "X${COLLECT_NAMES+set}" != Xset; then
18251
export COLLECT_NAMES
18258
ltmain="$ac_aux_dir/ltmain.sh"
18261
# We use sed instead of cat because bash on DJGPP gets confused if
18262
# if finds mixed CR/LF and LF-only lines. Since sed operates in
18263
# text mode, it properly converts lines to CR/LF. This bash problem
18264
# is reportedly fixed, but why not run on old versions too?
18265
sed '$q' "$ltmain" >> "$cfgfile" \
18266
|| (rm -f "$cfgfile"; exit 1)
18268
if test x"$xsi_shell" = xyes; then
18269
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18273
\ */*) func_dirname_result="${1%/*}${2}" ;;\
18274
\ * ) func_dirname_result="${3}" ;;\
18276
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18277
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18278
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18279
test 0 -eq $? || _lt_function_replace_fail=:
18282
sed -e '/^func_basename ()$/,/^} # func_basename /c\
18285
\ func_basename_result="${1##*/}"\
18286
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18287
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18288
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18289
test 0 -eq $? || _lt_function_replace_fail=:
18292
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18293
func_dirname_and_basename ()\
18296
\ */*) func_dirname_result="${1%/*}${2}" ;;\
18297
\ * ) func_dirname_result="${3}" ;;\
18299
\ func_basename_result="${1##*/}"\
18300
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18301
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18302
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18303
test 0 -eq $? || _lt_function_replace_fail=:
18306
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18309
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18310
\ # positional parameters, so assign one to ordinary parameter first.\
18311
\ func_stripname_result=${3}\
18312
\ func_stripname_result=${func_stripname_result#"${1}"}\
18313
\ func_stripname_result=${func_stripname_result%"${2}"}\
18314
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18315
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18316
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18317
test 0 -eq $? || _lt_function_replace_fail=:
18320
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18321
func_split_long_opt ()\
18323
\ func_split_long_opt_name=${1%%=*}\
18324
\ func_split_long_opt_arg=${1#*=}\
18325
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18326
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18327
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18328
test 0 -eq $? || _lt_function_replace_fail=:
18331
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18332
func_split_short_opt ()\
18334
\ func_split_short_opt_arg=${1#??}\
18335
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18336
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18337
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18338
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18339
test 0 -eq $? || _lt_function_replace_fail=:
18342
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18346
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18347
\ *) func_lo2o_result=${1} ;;\
18349
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18350
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18351
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18352
test 0 -eq $? || _lt_function_replace_fail=:
18355
sed -e '/^func_xform ()$/,/^} # func_xform /c\
18358
func_xform_result=${1%.*}.lo\
18359
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18360
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18361
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18362
test 0 -eq $? || _lt_function_replace_fail=:
18365
sed -e '/^func_arith ()$/,/^} # func_arith /c\
18368
func_arith_result=$(( $* ))\
18369
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18370
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18371
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18372
test 0 -eq $? || _lt_function_replace_fail=:
18375
sed -e '/^func_len ()$/,/^} # func_len /c\
18378
func_len_result=${#1}\
18379
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18380
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18381
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18382
test 0 -eq $? || _lt_function_replace_fail=:
18386
if test x"$lt_shell_append" = xyes; then
18387
sed -e '/^func_append ()$/,/^} # func_append /c\
18390
eval "${1}+=\\${2}"\
18391
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18392
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18393
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18394
test 0 -eq $? || _lt_function_replace_fail=:
18397
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18398
func_append_quoted ()\
18400
\ func_quote_for_eval "${2}"\
18401
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18402
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18403
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18404
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18405
test 0 -eq $? || _lt_function_replace_fail=:
18408
# Save a `func_append' function call where possible by direct use of '+='
18409
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18410
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18411
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18412
test 0 -eq $? || _lt_function_replace_fail=:
18414
# Save a `func_append' function call even when '+=' is not available
18415
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18416
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18417
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18418
test 0 -eq $? || _lt_function_replace_fail=:
18421
if test x"$_lt_function_replace_fail" = x":"; then
18422
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18423
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18427
mv -f "$cfgfile" "$ofile" ||
18428
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18432
cat <<_LT_EOF >> "$ofile"
18434
# ### BEGIN LIBTOOL TAG CONFIG: CXX
18436
# The linker used to build libraries.
18439
# How to create reloadable object files.
18440
reload_flag=$lt_reload_flag_CXX
18441
reload_cmds=$lt_reload_cmds_CXX
18443
# Commands used to build an old-style archive.
18444
old_archive_cmds=$lt_old_archive_cmds_CXX
18446
# A language specific compiler.
18447
CC=$lt_compiler_CXX
18449
# Is the compiler the GNU compiler?
18452
# Compiler flag to turn off builtin functions.
18453
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18455
# Additional compiler flags for building library objects.
18456
pic_flag=$lt_lt_prog_compiler_pic_CXX
18458
# How to pass a linker flag through the compiler.
18459
wl=$lt_lt_prog_compiler_wl_CXX
18461
# Compiler flag to prevent dynamic linking.
18462
link_static_flag=$lt_lt_prog_compiler_static_CXX
18464
# Does compiler simultaneously support -c and -o options?
18465
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18467
# Whether or not to add -lc for building shared libraries.
18468
build_libtool_need_lc=$archive_cmds_need_lc_CXX
18470
# Whether or not to disallow shared libs when runtime libs are static.
18471
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18473
# Compiler flag to allow reflexive dlopens.
18474
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18476
# Compiler flag to generate shared objects directly from archives.
18477
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18479
# Whether the compiler copes with passing no objects directly.
18480
compiler_needs_object=$lt_compiler_needs_object_CXX
18482
# Create an old-style archive from a shared archive.
18483
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18485
# Create a temporary old-style archive to link instead of a shared archive.
18486
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18488
# Commands used to build a shared archive.
18489
archive_cmds=$lt_archive_cmds_CXX
18490
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18492
# Commands used to build a loadable module if different from building
18493
# a shared archive.
18494
module_cmds=$lt_module_cmds_CXX
18495
module_expsym_cmds=$lt_module_expsym_cmds_CXX
18497
# Whether we are building with GNU ld or not.
18498
with_gnu_ld=$lt_with_gnu_ld_CXX
18500
# Flag that allows shared libraries with undefined symbols to be built.
18501
allow_undefined_flag=$lt_allow_undefined_flag_CXX
18503
# Flag that enforces no undefined symbols.
18504
no_undefined_flag=$lt_no_undefined_flag_CXX
18506
# Flag to hardcode \$libdir into a binary during linking.
18507
# This must work even if \$libdir does not exist
18508
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18510
# If ld is used when linking, flag to hardcode \$libdir into a binary
18511
# during linking. This must work even if \$libdir does not exist.
18512
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18514
# Whether we need a single "-rpath" flag with a separated argument.
18515
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18517
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18518
# DIR into the resulting binary.
18519
hardcode_direct=$hardcode_direct_CXX
18521
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18522
# DIR into the resulting binary and the resulting library dependency is
18523
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18524
# library is relocated.
18525
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18527
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18528
# into the resulting binary.
18529
hardcode_minus_L=$hardcode_minus_L_CXX
18531
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18532
# into the resulting binary.
18533
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18535
# Set to "yes" if building a shared library automatically hardcodes DIR
18536
# into the library and all subsequent libraries and executables linked
18538
hardcode_automatic=$hardcode_automatic_CXX
18540
# Set to yes if linker adds runtime paths of dependent libraries
18541
# to runtime path list.
18542
inherit_rpath=$inherit_rpath_CXX
18544
# Whether libtool must link a program against all its dependency libraries.
18545
link_all_deplibs=$link_all_deplibs_CXX
18547
# Set to "yes" if exported symbols are required.
18548
always_export_symbols=$always_export_symbols_CXX
18550
# The commands to list exported symbols.
18551
export_symbols_cmds=$lt_export_symbols_cmds_CXX
18553
# Symbols that should not be listed in the preloaded symbols.
18554
exclude_expsyms=$lt_exclude_expsyms_CXX
18556
# Symbols that must always be exported.
18557
include_expsyms=$lt_include_expsyms_CXX
18559
# Commands necessary for linking programs (against libraries) with templates.
18560
prelink_cmds=$lt_prelink_cmds_CXX
18562
# Commands necessary for finishing linking programs.
18563
postlink_cmds=$lt_postlink_cmds_CXX
18565
# Specify filename containing input files.
18566
file_list_spec=$lt_file_list_spec_CXX
18568
# How to hardcode a shared library path into an executable.
18569
hardcode_action=$hardcode_action_CXX
18571
# The directories searched by this compiler when creating a shared library.
18572
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18574
# Dependencies to place before and after the objects being linked to
18575
# create a shared library.
18576
predep_objects=$lt_predep_objects_CXX
18577
postdep_objects=$lt_postdep_objects_CXX
18578
predeps=$lt_predeps_CXX
18579
postdeps=$lt_postdeps_CXX
18581
# The library search path used internally by the compiler when linking
18582
# a shared library.
18583
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18585
# ### END LIBTOOL TAG CONFIG: CXX
21988
18596
ac_clean_files=$ac_clean_files_save
18598
test $ac_write_fail = 0 ||
18599
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21991
18602
# configure is writing to config.log, and then calls config.status.
21992
18603
# config.status does its own redirection, appending to config.log.