1636
1638
test -n "$ac_init_help" && exit $ac_status
1637
1639
if $ac_init_version; then
1639
libXfont configure 1.3.0
1641
libXfont configure 1.3.1
1640
1642
generated by GNU Autoconf 2.61
1642
1644
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2186
2189
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2189
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2190
# We used to keeping the `.' as first argument, in order to
2191
# allow $(mkdir_p) to be used without argument. As in
2192
# $(mkdir_p) $(somedir)
2193
# where $(somedir) is conditionally defined. However this is wrong
2195
# 1. if the package is installed by a user who cannot write `.'
2196
# make install will fail,
2197
# 2. the above comment should most certainly read
2198
# $(mkdir_p) $(DESTDIR)$(somedir)
2199
# so it does not work when $(somedir) is undefined and
2200
# $(DESTDIR) is not.
2201
# To support the latter case, we have to write
2202
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2203
# so the `.' trick is pointless.
2204
mkdir_p='mkdir -p --'
2192
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2193
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2194
if test -z "$MKDIR_P"; then
2195
if test "${ac_cv_path_mkdir+set}" = set; then
2196
echo $ECHO_N "(cached) $ECHO_C" >&6
2206
# On NextStep and OpenStep, the `mkdir' command does not
2207
# recognize any option. It will interpret all options as
2208
# directories to create, and then abort because `.' already
2210
for d in ./-p ./--version;
2212
test -d $d && rmdir $d
2214
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2215
if test -f "$ac_aux_dir/mkinstalldirs"; then
2216
mkdir_p='$(mkinstalldirs)'
2198
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2199
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2202
test -z "$as_dir" && as_dir=.
2203
for ac_prog in mkdir gmkdir; do
2204
for ac_exec_ext in '' $ac_executable_extensions; do
2205
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2206
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2207
'mkdir (GNU coreutils) '* | \
2208
'mkdir (coreutils) '* | \
2209
'mkdir (fileutils) '4.1*)
2210
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2220
if test "${ac_cv_path_mkdir+set}" = set; then
2221
MKDIR_P="$ac_cv_path_mkdir -p"
2218
mkdir_p='$(install_sh) -d'
2223
# As a last resort, use the slow shell script. Don't cache a
2224
# value for MKDIR_P within a source directory, because that will
2225
# break other packages using the cache if that directory is
2226
# removed, or if the value is a relative name.
2227
test -d ./--version && rmdir ./--version
2228
MKDIR_P="$ac_install_sh -d"
2231
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2232
echo "${ECHO_T}$MKDIR_P" >&6; }
2236
[\\/$]* | ?:[\\/]*) ;;
2237
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2222
2240
for ac_prog in gawk mawk nawk awk
2301
2319
rmdir .tst 2>/dev/null
2303
# test to see if srcdir already configured
2304
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2305
test -f $srcdir/config.status; then
2306
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2321
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2322
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2323
# is not polluted with repeated "-I."
2324
am__isrc=' -I$(srcdir)'
2325
# test to see if srcdir already configured
2326
if test -f $srcdir/config.status; then
2327
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2307
2328
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2308
2329
{ (exit 1); exit 1; }; }
2311
2333
# test whether we have cygpath
3734
3752
test -z "$as_dir" && as_dir=.
3735
3753
for lt_ac_prog in sed gsed; do
3736
3754
for ac_exec_ext in '' $ac_executable_extensions; do
3737
if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3755
if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3738
3756
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3745
3764
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4135
4155
echo "${ECHO_T}no, using $LN_S" >&6; }
4138
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4139
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4158
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4159
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4140
4160
if test "${lt_cv_deplibs_check_method+set}" = set; then
4141
4161
echo $ECHO_N "(cached) $ECHO_C" >&6
4178
4198
mingw* | pw32*)
4179
4199
# Base MSYS/MinGW do not provide the 'file' command needed by
4180
# func_win32_libid shell function, so use a weaker test based on 'objdump'.
4181
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4182
lt_cv_file_magic_cmd='$OBJDUMP -f'
4200
# func_win32_libid shell function, so use a weaker test based on 'objdump',
4201
# unless we find 'file', for example because we are cross-compiling.
4202
if ( file / ) >/dev/null 2>&1; then
4203
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4204
lt_cv_file_magic_cmd='func_win32_libid'
4206
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4207
lt_cv_file_magic_cmd='$OBJDUMP -f'
4185
4211
darwin* | rhapsody*)
6219
# If test is not a shell built-in, we'll probably end up computing a
6220
# maximum length that is only half of the actual maximum length, but
6222
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6223
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6255
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6256
if test -n "$lt_cv_sys_max_cmd_len"; then
6257
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6258
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6260
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6261
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6224
6262
= "XX$teststring") >/dev/null 2>&1 &&
6225
new_result=`expr "X$teststring" : ".*" 2>&1` &&
6226
lt_cv_sys_max_cmd_len=$new_result &&
6227
test $i != 17 # 1/2 MB should be enough
6230
teststring=$teststring$teststring
6233
# Add a significant safety factor because C++ compilers can tack on massive
6234
# amounts of additional arguments before passing them to the linker.
6235
# It appears as though 1/2 is a usable value.
6236
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6263
new_result=`expr "X$teststring" : ".*" 2>&1` &&
6264
lt_cv_sys_max_cmd_len=$new_result &&
6265
test $i != 17 # 1/2 MB should be enough
6268
teststring=$teststring$teststring
6271
# Add a significant safety factor because C++ compilers can tack on massive
6272
# amounts of additional arguments before passing them to the linker.
6273
# It appears as though 1/2 is a usable value.
6274
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7040
7080
# Code to be used in simple compile tests
7041
lt_simple_compile_test_code="int some_variable = 0;\n"
7081
lt_simple_compile_test_code="int some_variable = 0;"
7043
7083
# Code to be used in simple link tests
7044
lt_simple_link_test_code='int main(){return(0);}\n'
7084
lt_simple_link_test_code='int main(){return(0);}'
7047
7087
# If no C compiler was specified, use CC.
7057
7097
# save warnings/boilerplate of simple test code
7058
7098
ac_outfile=conftest.$ac_objext
7059
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
7099
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7060
7100
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7061
7101
_lt_compiler_boilerplate=`cat conftest.err`
7064
7104
ac_outfile=conftest.$ac_objext
7065
printf "$lt_simple_link_test_code" >conftest.$ac_ext
7105
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7066
7106
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7067
7107
_lt_linker_boilerplate=`cat conftest.err`
7083
7123
lt_cv_prog_compiler_rtti_exceptions=no
7084
7124
ac_outfile=conftest.$ac_objext
7085
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7125
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7086
7126
lt_compiler_flag="-fno-rtti -fno-exceptions"
7087
7127
# Insert the option either (1) after the last *FLAGS variable, or
7088
7128
# (2) before a word containing "conftest.", or (3) at the end.
7093
7133
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7094
7134
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7095
7135
-e 's:$: $lt_compiler_flag:'`
7096
(eval echo "\"\$as_me:7096: $lt_compile\"" >&5)
7136
(eval echo "\"\$as_me:7136: $lt_compile\"" >&5)
7097
7137
(eval "$lt_compile" 2>conftest.err)
7099
7139
cat conftest.err >&5
7100
echo "$as_me:7100: \$? = $ac_status" >&5
7140
echo "$as_me:7140: \$? = $ac_status" >&5
7101
7141
if (exit $ac_status) && test -s "$ac_outfile"; then
7102
7142
# The compiler can only warn and ignore the option if not recognized
7103
7143
# So say no if there are warnings other than the usual output.
7148
7188
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7151
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7191
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7152
7192
# PIC is the default for these OSes.
7155
mingw* | pw32* | os2*)
7195
mingw* | cygwin* | pw32* | os2*)
7156
7196
# This hack is so that the source file can tell whether it is being
7157
7197
# built for inclusion in a dll (and should export symbols for example).
7198
# Although the cygwin gcc ignores -fPIC, still need this for old-style
7199
# (--disable-auto-import) libraries
7158
7200
lt_prog_compiler_pic='-DDLL_EXPORT'
7274
7316
# All Alpha code is PIC.
7275
7317
lt_prog_compiler_static='-non_shared'
7320
case `$CC -V 2>&1 | sed 5q` in
7323
lt_prog_compiler_pic='-KPIC'
7324
lt_prog_compiler_static='-Bstatic'
7325
lt_prog_compiler_wl='-Wl,'
7328
# Sun Fortran 8.3 passes all unrecognized flags to the linker
7329
lt_prog_compiler_pic='-KPIC'
7330
lt_prog_compiler_static='-Bstatic'
7331
lt_prog_compiler_wl=''
7351
7413
lt_prog_compiler_pic_works=no
7352
7414
ac_outfile=conftest.$ac_objext
7353
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7415
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7354
7416
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7355
7417
# Insert the option either (1) after the last *FLAGS variable, or
7356
7418
# (2) before a word containing "conftest.", or (3) at the end.
7361
7423
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7362
7424
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7363
7425
-e 's:$: $lt_compiler_flag:'`
7364
(eval echo "\"\$as_me:7364: $lt_compile\"" >&5)
7426
(eval echo "\"\$as_me:7426: $lt_compile\"" >&5)
7365
7427
(eval "$lt_compile" 2>conftest.err)
7367
7429
cat conftest.err >&5
7368
echo "$as_me:7368: \$? = $ac_status" >&5
7430
echo "$as_me:7430: \$? = $ac_status" >&5
7369
7431
if (exit $ac_status) && test -s "$ac_outfile"; then
7370
7432
# The compiler can only warn and ignore the option if not recognized
7371
7433
# So say no if there are warnings other than the usual output.
7465
7527
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7466
7528
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7467
7529
-e 's:$: $lt_compiler_flag:'`
7468
(eval echo "\"\$as_me:7468: $lt_compile\"" >&5)
7530
(eval echo "\"\$as_me:7530: $lt_compile\"" >&5)
7469
7531
(eval "$lt_compile" 2>out/conftest.err)
7471
7533
cat out/conftest.err >&5
7472
echo "$as_me:7472: \$? = $ac_status" >&5
7534
echo "$as_me:7534: \$? = $ac_status" >&5
7473
7535
if (exit $ac_status) && test -s out/conftest2.$ac_objext
7475
7537
# The compiler can only warn and ignore the option if not recognized
7661
7723
allow_undefined_flag=unsupported
7662
7724
always_export_symbols=no
7663
7725
enable_shared_with_static_runtimes=yes
7664
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7726
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7666
7728
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7667
7729
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7694
7756
archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7697
linux* | k*bsd*-gnu)
7759
gnu* | linux* | k*bsd*-gnu)
7698
7760
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7700
7762
case $cc_basename,$host_cpu in
7712
7774
ifc* | ifort*) # Intel Fortran compiler
7713
7775
tmp_addflag=' -nofor_main' ;;
7715
archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7777
case `$CC -V 2>&1 | sed 5q` in
7778
*Sun\ C*) # Sun C 5.9
7779
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7780
tmp_sharedflag='-G' ;;
7781
*Sun\ F*) # Sun Fortran 8.3
7782
tmp_sharedflag='-G' ;;
7784
tmp_sharedflag='-shared' ;;
7786
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7717
7788
if test $supports_anon_versioning = yes; then
7718
7789
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7719
7790
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7720
7791
$echo "local: *; };" >> $output_objdir/$libname.ver~
7721
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7792
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7723
7794
link_all_deplibs=no
7952
8023
} && test -s conftest$ac_exeext &&
7953
8024
$as_test_x conftest$ac_exeext; then
7955
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8026
lt_aix_libpath_sed='
8027
/Import File Strings/,/^$/ {
8033
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7957
8034
# Check for a 64-bit object if we didn't find anything.
7958
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; }
8035
if test -z "$aix_libpath"; then
8036
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7961
8039
echo "$as_me: failed program was:" >&5
7962
8040
sed 's/^/| /' conftest.$ac_ext >&5
8011
8089
} && test -s conftest$ac_exeext &&
8012
8090
$as_test_x conftest$ac_exeext; then
8014
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8092
lt_aix_libpath_sed='
8093
/Import File Strings/,/^$/ {
8099
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8016
8100
# Check for a 64-bit object if we didn't find anything.
8017
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; }
8101
if test -z "$aix_libpath"; then
8102
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8020
8105
echo "$as_me: failed program was:" >&5
8021
8106
sed 's/^/| /' conftest.$ac_ext >&5
8111
8196
case $cc_basename in
8113
8198
output_verbose_link_cmd='echo'
8114
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8199
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8115
8200
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8116
8201
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8117
archive_expsym_cmds='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}'
8202
archive_expsym_cmds='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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8118
8203
module_expsym_cmds='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}'
8280
hardcode_shlibpath_var=no
8281
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8282
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8283
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8284
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8285
export_dynamic_flag_spec='${wl}-E'
8364
if test -f /usr/libexec/ld.so; then
8366
hardcode_shlibpath_var=no
8367
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8368
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8369
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8370
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8371
export_dynamic_flag_spec='${wl}-E'
8374
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8375
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8376
hardcode_libdir_flag_spec='-R$libdir'
8379
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8380
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8288
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8289
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8290
hardcode_libdir_flag_spec='-R$libdir'
8293
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8294
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8352
8441
case $host_os in
8353
8442
solaris2.[0-5] | solaris2.[0-5].*) ;;
8355
# The compiler driver will combine linker options so we
8356
# cannot just pass the convience library names through
8357
# without $wl, iff we do not link with $LD.
8358
# Luckily, gcc supports the same syntax we need for Sun Studio.
8444
# The compiler driver will combine and reorder linker options,
8445
# but understands `-z linker_flag'. GCC discards it without `$wl',
8446
# but is careful enough not to reorder.
8359
8447
# Supported since Solaris 2.6 (maybe 2.5.1?)
8362
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
8364
whole_archive_flag_spec='${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' ;;
8448
if test "$GCC" = yes; then
8449
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8451
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8367
8455
link_all_deplibs=yes
8554
8642
version_type=none
8555
8643
dynamic_linker="$host_os ld.so"
8556
8644
sys_lib_dlsearch_path_spec="/lib /usr/lib"
8557
8646
if test "$GCC" = yes; then
8558
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8559
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8648
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8649
*) lt_awk_arg="/^libraries:/" ;;
8651
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8652
if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
8560
8653
# if the path contains ";" then we assume it to be the separator
8561
8654
# otherwise default to the standard path separator (i.e. ":") - it is
8562
8655
# assumed that no part of a normal pathname contains ";" but that should
8563
8656
# okay in the real world where ";" in dirpaths is itself problematic.
8564
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8657
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8566
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8659
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8661
# Ok, now we have the path, separated by spaces, we can step through it
8662
# and add multilib dir if necessary.
8663
lt_tmp_lt_search_path_spec=
8664
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8665
for lt_sys_path in $lt_search_path_spec; do
8666
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8667
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8669
test -d "$lt_sys_path" && \
8670
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8673
lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
8674
BEGIN {RS=" "; FS="/|\n";} {
8677
for (lt_i = NF; lt_i > 0; lt_i--) {
8678
if ($lt_i != "" && $lt_i != ".") {
8679
if ($lt_i == "..") {
8682
if (lt_count == 0) {
8683
lt_foo="/" $lt_i lt_foo;
8690
if (lt_foo != "") { lt_freq[lt_foo]++; }
8691
if (lt_freq[lt_foo] == 1) { print lt_foo; }
8693
sys_lib_search_path_spec=`echo $lt_search_path_spec`
8569
8695
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8724
8850
shlibpath_overrides_runpath=yes
8725
8851
shlibpath_var=DYLD_LIBRARY_PATH
8726
8852
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8727
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8728
if test "$GCC" = yes; then
8729
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"`
8731
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8854
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8733
8855
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8918
9040
# Append ld.so.conf contents to the search path
8919
9041
if test -f /etc/ld.so.conf; then
8920
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' ' '`
9042
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8921
9043
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10104
10232
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10105
10233
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10107
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10235
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10108
10236
# Free Software Foundation, Inc.
10110
10238
# This file is part of GNU Libtool:
10597
10725
objext_CXX=$objext
10599
10727
# Code to be used in simple compile tests
10600
lt_simple_compile_test_code="int some_variable = 0;\n"
10728
lt_simple_compile_test_code="int some_variable = 0;"
10602
10730
# Code to be used in simple link tests
10603
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10731
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10605
10733
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10617
10745
# save warnings/boilerplate of simple test code
10618
10746
ac_outfile=conftest.$ac_objext
10619
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10747
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10620
10748
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10621
10749
_lt_compiler_boilerplate=`cat conftest.err`
10622
10750
$rm conftest*
10624
10752
ac_outfile=conftest.$ac_objext
10625
printf "$lt_simple_link_test_code" >conftest.$ac_ext
10753
echo "$lt_simple_link_test_code" >conftest.$ac_ext
10626
10754
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10627
10755
_lt_linker_boilerplate=`cat conftest.err`
10628
10756
$rm conftest*
10955
11083
} && test -s conftest$ac_exeext &&
10956
11084
$as_test_x conftest$ac_exeext; then
10958
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11086
lt_aix_libpath_sed='
11087
/Import File Strings/,/^$/ {
11093
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10960
11094
# Check for a 64-bit object if we didn't find anything.
10961
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; }
11095
if test -z "$aix_libpath"; then
11096
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10964
11099
echo "$as_me: failed program was:" >&5
10965
11100
sed 's/^/| /' conftest.$ac_ext >&5
11015
11150
} && test -s conftest$ac_exeext &&
11016
11151
$as_test_x conftest$ac_exeext; then
11018
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11153
lt_aix_libpath_sed='
11154
/Import File Strings/,/^$/ {
11160
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11020
11161
# Check for a 64-bit object if we didn't find anything.
11021
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; }
11162
if test -z "$aix_libpath"; then
11163
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11024
11166
echo "$as_me: failed program was:" >&5
11025
11167
sed 's/^/| /' conftest.$ac_ext >&5
11138
11280
case $cc_basename in
11140
11282
output_verbose_link_cmd='echo'
11141
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'
11283
archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11142
11284
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11143
11285
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11144
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}'
11286
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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11145
11287
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}'
11414
11554
# dependencies.
11415
11555
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'
11558
case `$CC -V 2>&1 | sed 5q` in
11561
no_undefined_flag_CXX=' -zdefs'
11562
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11563
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'
11564
hardcode_libdir_flag_spec_CXX='-R$libdir'
11565
whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11567
# Not sure whether something based on
11568
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11570
output_verbose_link_cmd='echo'
11572
# Archives containing C++ object files must be created using
11573
# "CC -xar", where "CC" is the Sun C++ compiler. This is
11574
# necessary to make sure instantiated templates are included
11576
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11452
11615
ld_shlibs_CXX=no
11455
hardcode_direct_CXX=yes
11456
hardcode_shlibpath_var_CXX=no
11457
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11458
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11459
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11460
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11461
export_dynamic_flag_spec_CXX='${wl}-E'
11462
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11618
if test -f /usr/libexec/ld.so; then
11619
hardcode_direct_CXX=yes
11620
hardcode_shlibpath_var_CXX=no
11621
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11622
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11623
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11624
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11625
export_dynamic_flag_spec_CXX='${wl}-E'
11626
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11628
output_verbose_link_cmd='echo'
11464
output_verbose_link_cmd='echo'
11467
11634
case $cc_basename in
11623
11790
case $host_os in
11624
11791
solaris2.[0-5] | solaris2.[0-5].*) ;;
11626
# The C++ compiler is used as linker so we must use $wl
11627
# flag to pass the commands to the underlying system
11628
# linker. We must also pass each convience library through
11629
# to the system linker between allextract/defaultextract.
11630
# The C++ compiler will combine linker options so we
11631
# cannot just pass the convience library names through
11793
# The compiler driver will combine and reorder linker options,
11794
# but understands `-z linker_flag'.
11633
11795
# Supported since Solaris 2.6 (maybe 2.5.1?)
11634
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'
11796
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11637
11799
link_all_deplibs_CXX=yes
11877
12045
postdeps_CXX=
12049
case `$CC -V 2>&1 | sed 5q` in
12053
# The more standards-conforming stlport4 library is
12054
# incompatible with the Cstd library. Avoid specifying
12055
# it if it's in CXXFLAGS. Ignore libCrun as
12056
# -library=stlport4 depends on it.
12057
case " $CXX $CXXFLAGS " in
12058
*" -library=stlport4 "*)
12059
solaris_use_stlport4=yes
12062
if test "$solaris_use_stlport4" != yes; then
12063
postdeps_CXX='-library=Cstd -library=Crun'
11881
12070
case $cc_basename in
12072
# The more standards-conforming stlport4 library is
12073
# incompatible with the Cstd library. Avoid specifying
12074
# it if it's in CXXFLAGS. Ignore libCrun as
12075
# -library=stlport4 depends on it.
12076
case " $CXX $CXXFLAGS " in
12077
*" -library=stlport4 "*)
12078
solaris_use_stlport4=yes
11883
12082
# Adding this requires a known-good setup of shared libraries for
11884
12083
# Sun compiler versions before 5.6, else PIC objects from an old
11885
12084
# archive will be linked into the output, leading to subtle bugs.
11886
postdeps_CXX='-lCstd -lCrun'
12085
if test "$solaris_use_stlport4" != yes; then
12086
postdeps_CXX='-library=Cstd -library=Crun'
11920
12121
# like `-m68040'.
11921
12122
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
11923
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12124
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11924
12125
# PIC is the default for these OSes.
11926
mingw* | os2* | pw32*)
12127
mingw* | cygwin* | os2* | pw32*)
11927
12128
# This hack is so that the source file can tell whether it is being
11928
12129
# built for inclusion in a dll (and should export symbols for example).
12130
# Although the cygwin gcc ignores -fPIC, still need this for old-style
12131
# (--disable-auto-import) libraries
11929
12132
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
11931
12134
darwin* | rhapsody*)
12188
12399
lt_prog_compiler_pic_works_CXX=no
12189
12400
ac_outfile=conftest.$ac_objext
12190
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12401
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12191
12402
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12192
12403
# Insert the option either (1) after the last *FLAGS variable, or
12193
12404
# (2) before a word containing "conftest.", or (3) at the end.
12198
12409
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12199
12410
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12200
12411
-e 's:$: $lt_compiler_flag:'`
12201
(eval echo "\"\$as_me:12201: $lt_compile\"" >&5)
12412
(eval echo "\"\$as_me:12412: $lt_compile\"" >&5)
12202
12413
(eval "$lt_compile" 2>conftest.err)
12204
12415
cat conftest.err >&5
12205
echo "$as_me:12205: \$? = $ac_status" >&5
12416
echo "$as_me:12416: \$? = $ac_status" >&5
12206
12417
if (exit $ac_status) && test -s "$ac_outfile"; then
12207
12418
# The compiler can only warn and ignore the option if not recognized
12208
12419
# So say no if there are warnings other than the usual output.
12302
12513
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12303
12514
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12304
12515
-e 's:$: $lt_compiler_flag:'`
12305
(eval echo "\"\$as_me:12305: $lt_compile\"" >&5)
12516
(eval echo "\"\$as_me:12516: $lt_compile\"" >&5)
12306
12517
(eval "$lt_compile" 2>out/conftest.err)
12308
12519
cat out/conftest.err >&5
12309
echo "$as_me:12309: \$? = $ac_status" >&5
12520
echo "$as_me:12520: \$? = $ac_status" >&5
12310
12521
if (exit $ac_status) && test -s out/conftest2.$ac_objext
12312
12523
# The compiler can only warn and ignore the option if not recognized
12464
12675
version_type=none
12465
12676
dynamic_linker="$host_os ld.so"
12466
12677
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12467
if test "$GCC" = yes; then
12468
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12469
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
12470
# if the path contains ";" then we assume it to be the separator
12471
# otherwise default to the standard path separator (i.e. ":") - it is
12472
# assumed that no part of a normal pathname contains ";" but that should
12473
# okay in the real world where ";" in dirpaths is itself problematic.
12474
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12476
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12479
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12481
12679
need_lib_prefix=unknown
12482
12680
hardcode_into_libs=no
12634
12832
shlibpath_overrides_runpath=yes
12635
12833
shlibpath_var=DYLD_LIBRARY_PATH
12636
12834
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12637
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12638
if test "$GCC" = yes; then
12639
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"`
12641
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
12643
12836
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12828
13021
# Append ld.so.conf contents to the search path
12829
13022
if test -f /etc/ld.so.conf; then
12830
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' ' '`
13023
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12831
13024
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13558
13763
# save warnings/boilerplate of simple test code
13559
13764
ac_outfile=conftest.$ac_objext
13560
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13765
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13561
13766
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13562
13767
_lt_compiler_boilerplate=`cat conftest.err`
13563
13768
$rm conftest*
13565
13770
ac_outfile=conftest.$ac_objext
13566
printf "$lt_simple_link_test_code" >conftest.$ac_ext
13771
echo "$lt_simple_link_test_code" >conftest.$ac_ext
13567
13772
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13568
13773
_lt_linker_boilerplate=`cat conftest.err`
13569
13774
$rm conftest*
13650
13855
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
13653
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13858
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13654
13859
# PIC is the default for these OSes.
13657
mingw* | pw32* | os2*)
13862
mingw* | cygwin* | pw32* | os2*)
13658
13863
# This hack is so that the source file can tell whether it is being
13659
13864
# built for inclusion in a dll (and should export symbols for example).
13865
# Although the cygwin gcc ignores -fPIC, still need this for old-style
13866
# (--disable-auto-import) libraries
13660
13867
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13776
13983
# All Alpha code is PIC.
13777
13984
lt_prog_compiler_static_F77='-non_shared'
13987
case `$CC -V 2>&1 | sed 5q` in
13990
lt_prog_compiler_pic_F77='-KPIC'
13991
lt_prog_compiler_static_F77='-Bstatic'
13992
lt_prog_compiler_wl_F77='-Wl,'
13995
# Sun Fortran 8.3 passes all unrecognized flags to the linker
13996
lt_prog_compiler_pic_F77='-KPIC'
13997
lt_prog_compiler_static_F77='-Bstatic'
13998
lt_prog_compiler_wl_F77=''
13853
14080
lt_prog_compiler_pic_works_F77=no
13854
14081
ac_outfile=conftest.$ac_objext
13855
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14082
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13856
14083
lt_compiler_flag="$lt_prog_compiler_pic_F77"
13857
14084
# Insert the option either (1) after the last *FLAGS variable, or
13858
14085
# (2) before a word containing "conftest.", or (3) at the end.
13863
14090
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13864
14091
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13865
14092
-e 's:$: $lt_compiler_flag:'`
13866
(eval echo "\"\$as_me:13866: $lt_compile\"" >&5)
14093
(eval echo "\"\$as_me:14093: $lt_compile\"" >&5)
13867
14094
(eval "$lt_compile" 2>conftest.err)
13869
14096
cat conftest.err >&5
13870
echo "$as_me:13870: \$? = $ac_status" >&5
14097
echo "$as_me:14097: \$? = $ac_status" >&5
13871
14098
if (exit $ac_status) && test -s "$ac_outfile"; then
13872
14099
# The compiler can only warn and ignore the option if not recognized
13873
14100
# So say no if there are warnings other than the usual output.
13967
14194
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13968
14195
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13969
14196
-e 's:$: $lt_compiler_flag:'`
13970
(eval echo "\"\$as_me:13970: $lt_compile\"" >&5)
14197
(eval echo "\"\$as_me:14197: $lt_compile\"" >&5)
13971
14198
(eval "$lt_compile" 2>out/conftest.err)
13973
14200
cat out/conftest.err >&5
13974
echo "$as_me:13974: \$? = $ac_status" >&5
14201
echo "$as_me:14201: \$? = $ac_status" >&5
13975
14202
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13977
14204
# The compiler can only warn and ignore the option if not recognized
14163
14390
allow_undefined_flag_F77=unsupported
14164
14391
always_export_symbols_F77=no
14165
14392
enable_shared_with_static_runtimes_F77=yes
14166
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14393
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14168
14395
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14169
14396
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14196
14423
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'
14199
linux* | k*bsd*-gnu)
14426
gnu* | linux* | k*bsd*-gnu)
14200
14427
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14202
14429
case $cc_basename,$host_cpu in
14214
14441
ifc* | ifort*) # Intel Fortran compiler
14215
14442
tmp_addflag=' -nofor_main' ;;
14217
archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14444
case `$CC -V 2>&1 | sed 5q` in
14445
*Sun\ C*) # Sun C 5.9
14446
whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14447
tmp_sharedflag='-G' ;;
14448
*Sun\ F*) # Sun Fortran 8.3
14449
tmp_sharedflag='-G' ;;
14451
tmp_sharedflag='-shared' ;;
14453
archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14219
14455
if test $supports_anon_versioning = yes; then
14220
14456
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14221
14457
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14222
14458
$echo "local: *; };" >> $output_objdir/$libname.ver~
14223
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14459
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14225
14461
link_all_deplibs_F77=no
14444
14680
} && test -s conftest$ac_exeext &&
14445
14681
$as_test_x conftest$ac_exeext; then
14447
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14683
lt_aix_libpath_sed='
14684
/Import File Strings/,/^$/ {
14690
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14449
14691
# Check for a 64-bit object if we didn't find anything.
14450
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; }
14692
if test -z "$aix_libpath"; then
14693
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14453
14696
echo "$as_me: failed program was:" >&5
14454
14697
sed 's/^/| /' conftest.$ac_ext >&5
14493
14736
} && test -s conftest$ac_exeext &&
14494
14737
$as_test_x conftest$ac_exeext; then
14496
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14739
lt_aix_libpath_sed='
14740
/Import File Strings/,/^$/ {
14746
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14498
14747
# Check for a 64-bit object if we didn't find anything.
14499
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; }
14748
if test -z "$aix_libpath"; then
14749
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14502
14752
echo "$as_me: failed program was:" >&5
14503
14753
sed 's/^/| /' conftest.$ac_ext >&5
14593
14843
case $cc_basename in
14595
14845
output_verbose_link_cmd='echo'
14596
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14846
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14597
14847
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14598
14848
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14599
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}'
14849
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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14600
14850
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}'
14761
hardcode_direct_F77=yes
14762
hardcode_shlibpath_var_F77=no
14763
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14764
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14765
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14766
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14767
export_dynamic_flag_spec_F77='${wl}-E'
15011
if test -f /usr/libexec/ld.so; then
15012
hardcode_direct_F77=yes
15013
hardcode_shlibpath_var_F77=no
15014
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15015
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15016
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15017
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15018
export_dynamic_flag_spec_F77='${wl}-E'
15021
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15022
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15023
hardcode_libdir_flag_spec_F77='-R$libdir'
15026
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15027
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14770
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14771
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14772
hardcode_libdir_flag_spec_F77='-R$libdir'
14775
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14776
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14834
15088
case $host_os in
14835
15089
solaris2.[0-5] | solaris2.[0-5].*) ;;
14837
# The compiler driver will combine linker options so we
14838
# cannot just pass the convience library names through
14839
# without $wl, iff we do not link with $LD.
14840
# Luckily, gcc supports the same syntax we need for Sun Studio.
15091
# The compiler driver will combine and reorder linker options,
15092
# but understands `-z linker_flag'. GCC discards it without `$wl',
15093
# but is careful enough not to reorder.
14841
15094
# Supported since Solaris 2.6 (maybe 2.5.1?)
14844
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
14846
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' ;;
15095
if test "$GCC" = yes; then
15096
whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15098
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
14849
15102
link_all_deplibs_F77=yes
15036
15289
version_type=none
15037
15290
dynamic_linker="$host_os ld.so"
15038
15291
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15039
if test "$GCC" = yes; then
15040
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15041
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15042
# if the path contains ";" then we assume it to be the separator
15043
# otherwise default to the standard path separator (i.e. ":") - it is
15044
# assumed that no part of a normal pathname contains ";" but that should
15045
# okay in the real world where ";" in dirpaths is itself problematic.
15046
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15048
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15051
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15053
15293
need_lib_prefix=unknown
15054
15294
hardcode_into_libs=no
15206
15446
shlibpath_overrides_runpath=yes
15207
15447
shlibpath_var=DYLD_LIBRARY_PATH
15208
15448
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15209
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15210
if test "$GCC" = yes; then
15211
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"`
15213
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15215
15450
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15400
15635
# Append ld.so.conf contents to the search path
15401
15636
if test -f /etc/ld.so.conf; then
15402
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' ' '`
15637
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15403
15638
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16077
16317
objext_GCJ=$objext
16079
16319
# Code to be used in simple compile tests
16080
lt_simple_compile_test_code="class foo {}\n"
16320
lt_simple_compile_test_code="class foo {}"
16082
16322
# Code to be used in simple link tests
16083
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
16323
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
16085
16325
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16097
16337
# save warnings/boilerplate of simple test code
16098
16338
ac_outfile=conftest.$ac_objext
16099
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16339
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16100
16340
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16101
16341
_lt_compiler_boilerplate=`cat conftest.err`
16102
16342
$rm conftest*
16104
16344
ac_outfile=conftest.$ac_objext
16105
printf "$lt_simple_link_test_code" >conftest.$ac_ext
16345
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16106
16346
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16107
16347
_lt_linker_boilerplate=`cat conftest.err`
16108
16348
$rm conftest*
16144
16384
lt_cv_prog_compiler_rtti_exceptions=no
16145
16385
ac_outfile=conftest.$ac_objext
16146
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16386
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16147
16387
lt_compiler_flag="-fno-rtti -fno-exceptions"
16148
16388
# Insert the option either (1) after the last *FLAGS variable, or
16149
16389
# (2) before a word containing "conftest.", or (3) at the end.
16154
16394
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16155
16395
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16156
16396
-e 's:$: $lt_compiler_flag:'`
16157
(eval echo "\"\$as_me:16157: $lt_compile\"" >&5)
16397
(eval echo "\"\$as_me:16397: $lt_compile\"" >&5)
16158
16398
(eval "$lt_compile" 2>conftest.err)
16160
16400
cat conftest.err >&5
16161
echo "$as_me:16161: \$? = $ac_status" >&5
16401
echo "$as_me:16401: \$? = $ac_status" >&5
16162
16402
if (exit $ac_status) && test -s "$ac_outfile"; then
16163
16403
# The compiler can only warn and ignore the option if not recognized
16164
16404
# So say no if there are warnings other than the usual output.
16209
16449
lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16212
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16452
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16213
16453
# PIC is the default for these OSes.
16216
mingw* | pw32* | os2*)
16456
mingw* | cygwin* | pw32* | os2*)
16217
16457
# This hack is so that the source file can tell whether it is being
16218
16458
# built for inclusion in a dll (and should export symbols for example).
16459
# Although the cygwin gcc ignores -fPIC, still need this for old-style
16460
# (--disable-auto-import) libraries
16219
16461
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16335
16577
# All Alpha code is PIC.
16336
16578
lt_prog_compiler_static_GCJ='-non_shared'
16581
case `$CC -V 2>&1 | sed 5q` in
16584
lt_prog_compiler_pic_GCJ='-KPIC'
16585
lt_prog_compiler_static_GCJ='-Bstatic'
16586
lt_prog_compiler_wl_GCJ='-Wl,'
16589
# Sun Fortran 8.3 passes all unrecognized flags to the linker
16590
lt_prog_compiler_pic_GCJ='-KPIC'
16591
lt_prog_compiler_static_GCJ='-Bstatic'
16592
lt_prog_compiler_wl_GCJ=''
16412
16674
lt_prog_compiler_pic_works_GCJ=no
16413
16675
ac_outfile=conftest.$ac_objext
16414
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16676
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16415
16677
lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16416
16678
# Insert the option either (1) after the last *FLAGS variable, or
16417
16679
# (2) before a word containing "conftest.", or (3) at the end.
16422
16684
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16423
16685
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16424
16686
-e 's:$: $lt_compiler_flag:'`
16425
(eval echo "\"\$as_me:16425: $lt_compile\"" >&5)
16687
(eval echo "\"\$as_me:16687: $lt_compile\"" >&5)
16426
16688
(eval "$lt_compile" 2>conftest.err)
16428
16690
cat conftest.err >&5
16429
echo "$as_me:16429: \$? = $ac_status" >&5
16691
echo "$as_me:16691: \$? = $ac_status" >&5
16430
16692
if (exit $ac_status) && test -s "$ac_outfile"; then
16431
16693
# The compiler can only warn and ignore the option if not recognized
16432
16694
# So say no if there are warnings other than the usual output.
16526
16788
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16527
16789
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16528
16790
-e 's:$: $lt_compiler_flag:'`
16529
(eval echo "\"\$as_me:16529: $lt_compile\"" >&5)
16791
(eval echo "\"\$as_me:16791: $lt_compile\"" >&5)
16530
16792
(eval "$lt_compile" 2>out/conftest.err)
16532
16794
cat out/conftest.err >&5
16533
echo "$as_me:16533: \$? = $ac_status" >&5
16795
echo "$as_me:16795: \$? = $ac_status" >&5
16534
16796
if (exit $ac_status) && test -s out/conftest2.$ac_objext
16536
16798
# The compiler can only warn and ignore the option if not recognized
16722
16984
allow_undefined_flag_GCJ=unsupported
16723
16985
always_export_symbols_GCJ=no
16724
16986
enable_shared_with_static_runtimes_GCJ=yes
16725
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16987
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16727
16989
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16728
16990
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16755
17017
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'
16758
linux* | k*bsd*-gnu)
17020
gnu* | linux* | k*bsd*-gnu)
16759
17021
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16761
17023
case $cc_basename,$host_cpu in
16773
17035
ifc* | ifort*) # Intel Fortran compiler
16774
17036
tmp_addflag=' -nofor_main' ;;
16776
archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17038
case `$CC -V 2>&1 | sed 5q` in
17039
*Sun\ C*) # Sun C 5.9
17040
whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17041
tmp_sharedflag='-G' ;;
17042
*Sun\ F*) # Sun Fortran 8.3
17043
tmp_sharedflag='-G' ;;
17045
tmp_sharedflag='-shared' ;;
17047
archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16778
17049
if test $supports_anon_versioning = yes; then
16779
17050
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16780
17051
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16781
17052
$echo "local: *; };" >> $output_objdir/$libname.ver~
16782
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17053
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16784
17055
link_all_deplibs_GCJ=no
17013
17284
} && test -s conftest$ac_exeext &&
17014
17285
$as_test_x conftest$ac_exeext; then
17016
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17287
lt_aix_libpath_sed='
17288
/Import File Strings/,/^$/ {
17294
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17018
17295
# Check for a 64-bit object if we didn't find anything.
17019
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; }
17296
if test -z "$aix_libpath"; then
17297
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17022
17300
echo "$as_me: failed program was:" >&5
17023
17301
sed 's/^/| /' conftest.$ac_ext >&5
17072
17350
} && test -s conftest$ac_exeext &&
17073
17351
$as_test_x conftest$ac_exeext; then
17075
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17353
lt_aix_libpath_sed='
17354
/Import File Strings/,/^$/ {
17360
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17077
17361
# Check for a 64-bit object if we didn't find anything.
17078
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; }
17362
if test -z "$aix_libpath"; then
17363
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17081
17366
echo "$as_me: failed program was:" >&5
17082
17367
sed 's/^/| /' conftest.$ac_ext >&5
17172
17457
case $cc_basename in
17174
17459
output_verbose_link_cmd='echo'
17175
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17460
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17176
17461
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17177
17462
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17178
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}'
17463
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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17179
17464
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}'
17340
hardcode_direct_GCJ=yes
17341
hardcode_shlibpath_var_GCJ=no
17342
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17343
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17344
archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17345
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17346
export_dynamic_flag_spec_GCJ='${wl}-E'
17625
if test -f /usr/libexec/ld.so; then
17626
hardcode_direct_GCJ=yes
17627
hardcode_shlibpath_var_GCJ=no
17628
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17629
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17630
archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17631
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17632
export_dynamic_flag_spec_GCJ='${wl}-E'
17635
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17636
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17637
hardcode_libdir_flag_spec_GCJ='-R$libdir'
17640
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17641
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17349
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17350
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17351
hardcode_libdir_flag_spec_GCJ='-R$libdir'
17354
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17355
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17413
17702
case $host_os in
17414
17703
solaris2.[0-5] | solaris2.[0-5].*) ;;
17416
# The compiler driver will combine linker options so we
17417
# cannot just pass the convience library names through
17418
# without $wl, iff we do not link with $LD.
17419
# Luckily, gcc supports the same syntax we need for Sun Studio.
17705
# The compiler driver will combine and reorder linker options,
17706
# but understands `-z linker_flag'. GCC discards it without `$wl',
17707
# but is careful enough not to reorder.
17420
17708
# Supported since Solaris 2.6 (maybe 2.5.1?)
17423
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
17425
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' ;;
17709
if test "$GCC" = yes; then
17710
whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17712
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
17428
17716
link_all_deplibs_GCJ=yes
17615
17903
version_type=none
17616
17904
dynamic_linker="$host_os ld.so"
17617
17905
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17618
if test "$GCC" = yes; then
17619
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17620
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17621
# if the path contains ";" then we assume it to be the separator
17622
# otherwise default to the standard path separator (i.e. ":") - it is
17623
# assumed that no part of a normal pathname contains ";" but that should
17624
# okay in the real world where ";" in dirpaths is itself problematic.
17625
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17627
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17630
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17632
17907
need_lib_prefix=unknown
17633
17908
hardcode_into_libs=no
17785
18060
shlibpath_overrides_runpath=yes
17786
18061
shlibpath_var=DYLD_LIBRARY_PATH
17787
18062
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17788
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17789
if test "$GCC" = yes; then
17790
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"`
17792
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17794
18064
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17979
18249
# Append ld.so.conf contents to the search path
17980
18250
if test -f /etc/ld.so.conf; then
17981
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' ' '`
18251
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17982
18252
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18675
18950
# save warnings/boilerplate of simple test code
18676
18951
ac_outfile=conftest.$ac_objext
18677
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18952
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18678
18953
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18679
18954
_lt_compiler_boilerplate=`cat conftest.err`
18680
18955
$rm conftest*
18682
18957
ac_outfile=conftest.$ac_objext
18683
printf "$lt_simple_link_test_code" >conftest.$ac_ext
18958
echo "$lt_simple_link_test_code" >conftest.$ac_ext
18684
18959
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18685
18960
_lt_linker_boilerplate=`cat conftest.err`
18686
18961
$rm conftest*
20080
20336
and FONTCACHEPROTO_LIBS to avoid the need to call pkg-config.
20081
20337
See the pkg-config man page for more details.
20083
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20339
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20084
20340
See \`config.log' for more details." >&5
20085
20341
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
20086
20342
is in your PATH or set the PKG_CONFIG environment variable to the full
20368
20622
and XFONT_LIBS to avoid the need to call pkg-config.
20369
20623
See the pkg-config man page for more details.
20371
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20625
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20372
20626
See \`config.log' for more details." >&5
20373
20627
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
20374
20628
is in your PATH or set the PKG_CONFIG environment variable to the full
21796
22053
CXXDEPMODE!$CXXDEPMODE$ac_delim
21797
22054
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21798
22055
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
22058
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22060
elif $ac_last_try; then
22061
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22062
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22063
{ (exit 1); exit 1; }; }
22065
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22069
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22070
if test -n "$ac_eof"; then
22071
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22072
ac_eof=`expr $ac_eof + 1`
22075
cat >>$CONFIG_STATUS <<_ACEOF
22076
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22077
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22080
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22081
s/^/s,@/; s/!/@,|#_!!_#|/
22084
s/'"$ac_delim"'$/,g/; t
22086
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22087
' >>$CONFIG_STATUS <conf$$subs.sed
22088
rm -f conf$$subs.sed
22089
cat >>$CONFIG_STATUS <<_ACEOF
22095
for ac_last_try in false false false false false :; do
22096
cat >conf$$subs.sed <<_ACEOF
21799
22097
CXXCPP!$CXXCPP$ac_delim
21800
22098
F77!$F77$ac_delim
21803
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21805
elif $ac_last_try; then
21806
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21807
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21808
{ (exit 1); exit 1; }; }
21810
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21814
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21815
if test -n "$ac_eof"; then
21816
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21817
ac_eof=`expr $ac_eof + 1`
21820
cat >>$CONFIG_STATUS <<_ACEOF
21821
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21822
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21825
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21826
s/^/s,@/; s/!/@,|#_!!_#|/
21829
s/'"$ac_delim"'$/,g/; t
21831
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21832
' >>$CONFIG_STATUS <conf$$subs.sed
21833
rm -f conf$$subs.sed
21834
cat >>$CONFIG_STATUS <<_ACEOF
21840
for ac_last_try in false false false false false :; do
21841
cat >conf$$subs.sed <<_ACEOF
21842
22099
FFLAGS!$FFLAGS$ac_delim
21843
22100
ac_ct_F77!$ac_ct_F77$ac_delim
21844
22101
LIBTOOL!$LIBTOOL$ac_delim
22325
22588
# some people rename them; so instead we look at the file content.
22326
22589
# Grep'ing the first line is not enough: some people post-process
22327
22590
# each Makefile.in and add a new line on top of each file to say so.
22328
# So let's grep whole file.
22329
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
22591
# Grep'ing the whole file is not good either: AIX grep has a line
22592
# limit of 2048, but all sed's we know have understand at least 4000.
22593
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
22330
22594
dirpart=`$as_dirname -- "$mf" ||
22331
22595
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22332
22596
X"$mf" : 'X\(//\)[^/]' \| \