1618
1616
test -n "$ac_init_help" && exit $ac_status
1619
1617
if $ac_init_version; then
1621
pygoocanvas configure 0.8.0
1619
pygoocanvas configure 0.9.0
1622
1620
generated by GNU Autoconf 2.61
1624
1622
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2190
2187
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2193
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2194
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2195
if test -z "$MKDIR_P"; then
2196
if test "${ac_cv_path_mkdir+set}" = set; then
2197
echo $ECHO_N "(cached) $ECHO_C" >&6
2190
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2191
# We used to keeping the `.' as first argument, in order to
2192
# allow $(mkdir_p) to be used without argument. As in
2193
# $(mkdir_p) $(somedir)
2194
# where $(somedir) is conditionally defined. However this is wrong
2196
# 1. if the package is installed by a user who cannot write `.'
2197
# make install will fail,
2198
# 2. the above comment should most certainly read
2199
# $(mkdir_p) $(DESTDIR)$(somedir)
2200
# so it does not work when $(somedir) is undefined and
2201
# $(DESTDIR) is not.
2202
# To support the latter case, we have to write
2203
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2204
# so the `.' trick is pointless.
2205
mkdir_p='mkdir -p --'
2199
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2200
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2203
test -z "$as_dir" && as_dir=.
2204
for ac_prog in mkdir gmkdir; do
2205
for ac_exec_ext in '' $ac_executable_extensions; do
2206
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2207
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2208
'mkdir (GNU coreutils) '* | \
2209
'mkdir (coreutils) '* | \
2210
'mkdir (fileutils) '4.1*)
2211
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2221
if test "${ac_cv_path_mkdir+set}" = set; then
2222
MKDIR_P="$ac_cv_path_mkdir -p"
2207
# On NextStep and OpenStep, the `mkdir' command does not
2208
# recognize any option. It will interpret all options as
2209
# directories to create, and then abort because `.' already
2211
for d in ./-p ./--version;
2213
test -d $d && rmdir $d
2215
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2216
if test -f "$ac_aux_dir/mkinstalldirs"; then
2217
mkdir_p='$(mkinstalldirs)'
2224
# As a last resort, use the slow shell script. Don't cache a
2225
# value for MKDIR_P within a source directory, because that will
2226
# break other packages using the cache if that directory is
2227
# removed, or if the value is a relative name.
2228
test -d ./--version && rmdir ./--version
2229
MKDIR_P="$ac_install_sh -d"
2219
mkdir_p='$(install_sh) -d'
2232
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2233
echo "${ECHO_T}$MKDIR_P" >&6; }
2237
[\\/$]* | ?:[\\/]*) ;;
2238
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2241
2223
for ac_prog in gawk mawk nawk awk
2320
2302
rmdir .tst 2>/dev/null
2322
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2323
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2324
# is not polluted with repeated "-I."
2325
am__isrc=' -I$(srcdir)'
2326
# test to see if srcdir already configured
2327
if test -f $srcdir/config.status; then
2328
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2304
# test to see if srcdir already configured
2305
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2306
test -f $srcdir/config.status; then
2307
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2329
2308
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2330
2309
{ (exit 1); exit 1; }; }
2334
2312
# test whether we have cygpath
3795
3781
test -z "$as_dir" && as_dir=.
3796
3782
for lt_ac_prog in sed gsed; do
3797
3783
for ac_exec_ext in '' $ac_executable_extensions; do
3798
if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3784
if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3799
3785
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3807
3792
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4198
4182
echo "${ECHO_T}no, using $LN_S" >&6; }
4201
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4202
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4185
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4186
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4203
4187
if test "${lt_cv_deplibs_check_method+set}" = set; then
4204
4188
echo $ECHO_N "(cached) $ECHO_C" >&6
4241
4225
mingw* | pw32*)
4242
4226
# Base MSYS/MinGW do not provide the 'file' command needed by
4243
# func_win32_libid shell function, so use a weaker test based on 'objdump',
4244
# unless we find 'file', for example because we are cross-compiling.
4245
if ( file / ) >/dev/null 2>&1; then
4246
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4247
lt_cv_file_magic_cmd='func_win32_libid'
4249
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4250
lt_cv_file_magic_cmd='$OBJDUMP -f'
4227
# func_win32_libid shell function, so use a weaker test based on 'objdump'.
4228
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4229
lt_cv_file_magic_cmd='$OBJDUMP -f'
4254
4232
darwin* | rhapsody*)
7391
7358
test -z "$pic_mode" && pic_mode=default
7393
# Check if we have a version mismatch between libtool.m4 and ltmain.sh.
7395
# Note: This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined.
7396
# We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually
7397
# calls AC_LIBTOOL_CONFIG and creates libtool.
7399
{ echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5
7400
echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6; }
7401
if test "x$ltmain" = "x" ; then
7402
{ echo "$as_me:$LINENO: result: no" >&5
7403
echo "${ECHO_T}no" >&6; }
7404
{ { echo "$as_me:$LINENO: error:
7406
*** [Gentoo] sanity check failed! ***
7407
*** \$ltmain is not defined, please check the patch for consistency! ***
7409
echo "$as_me: error:
7411
*** [Gentoo] sanity check failed! ***
7412
*** \$ltmain is not defined, please check the patch for consistency! ***
7414
{ (exit 1); exit 1; }; }
7416
gentoo_lt_version="1.5.23b"
7417
gentoo_ltmain_version=`sed -n '/^[ ]*VERSION=/{s/^[ ]*VERSION=//;p;q;}' "$ltmain"`
7418
if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then
7419
{ echo "$as_me:$LINENO: result: no" >&5
7420
echo "${ECHO_T}no" >&6; }
7421
{ { echo "$as_me:$LINENO: error:
7423
*** [Gentoo] sanity check failed! ***
7424
*** libtool.m4 and ltmain.sh have a version mismatch! ***
7425
*** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
7429
libtoolize --copy --force
7431
if appropriate, please contact the maintainer of this
7432
package (or your distribution) for help.
7434
echo "$as_me: error:
7436
*** [Gentoo] sanity check failed! ***
7437
*** libtool.m4 and ltmain.sh have a version mismatch! ***
7438
*** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
7442
libtoolize --copy --force
7444
if appropriate, please contact the maintainer of this
7445
package (or your distribution) for help.
7447
{ (exit 1); exit 1; }; }
7449
{ echo "$as_me:$LINENO: result: yes" >&5
7450
echo "${ECHO_T}yes" >&6; }
7454
7360
# Use C for the default configuration in the libtool script
7456
7362
lt_save_CC="$CC"
7471
7377
# Code to be used in simple compile tests
7472
lt_simple_compile_test_code="int some_variable = 0;"
7378
lt_simple_compile_test_code="int some_variable = 0;\n"
7474
7380
# Code to be used in simple link tests
7475
lt_simple_link_test_code='int main(){return(0);}'
7381
lt_simple_link_test_code='int main(){return(0);}\n'
7478
7384
# If no C compiler was specified, use CC.
7488
7394
# save warnings/boilerplate of simple test code
7489
7395
ac_outfile=conftest.$ac_objext
7490
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7396
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
7491
7397
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7492
7398
_lt_compiler_boilerplate=`cat conftest.err`
7495
7401
ac_outfile=conftest.$ac_objext
7496
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7402
printf "$lt_simple_link_test_code" >conftest.$ac_ext
7497
7403
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7498
7404
_lt_linker_boilerplate=`cat conftest.err`
7514
7420
lt_cv_prog_compiler_rtti_exceptions=no
7515
7421
ac_outfile=conftest.$ac_objext
7516
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7422
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7517
7423
lt_compiler_flag="-fno-rtti -fno-exceptions"
7518
7424
# Insert the option either (1) after the last *FLAGS variable, or
7519
7425
# (2) before a word containing "conftest.", or (3) at the end.
7524
7430
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7525
7431
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7526
7432
-e 's:$: $lt_compiler_flag:'`
7527
(eval echo "\"\$as_me:7527: $lt_compile\"" >&5)
7433
(eval echo "\"\$as_me:7433: $lt_compile\"" >&5)
7528
7434
(eval "$lt_compile" 2>conftest.err)
7530
7436
cat conftest.err >&5
7531
echo "$as_me:7531: \$? = $ac_status" >&5
7437
echo "$as_me:7437: \$? = $ac_status" >&5
7532
7438
if (exit $ac_status) && test -s "$ac_outfile"; then
7533
7439
# The compiler can only warn and ignore the option if not recognized
7534
7440
# So say no if there are warnings other than the usual output.
7579
7485
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7582
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7488
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7583
7489
# PIC is the default for these OSes.
7586
mingw* | cygwin* | pw32* | os2*)
7492
mingw* | pw32* | os2*)
7587
7493
# This hack is so that the source file can tell whether it is being
7588
7494
# built for inclusion in a dll (and should export symbols for example).
7589
# Although the cygwin gcc ignores -fPIC, still need this for old-style
7590
# (--disable-auto-import) libraries
7591
7495
lt_prog_compiler_pic='-DDLL_EXPORT'
7707
7611
# All Alpha code is PIC.
7708
7612
lt_prog_compiler_static='-non_shared'
7711
case `$CC -V 2>&1 | sed 5q` in
7714
lt_prog_compiler_pic='-KPIC'
7715
lt_prog_compiler_static='-Bstatic'
7716
lt_prog_compiler_wl='-Wl,'
7719
# Sun Fortran 8.3 passes all unrecognized flags to the linker
7720
lt_prog_compiler_pic='-KPIC'
7721
lt_prog_compiler_static='-Bstatic'
7722
lt_prog_compiler_wl=''
7804
7688
lt_prog_compiler_pic_works=no
7805
7689
ac_outfile=conftest.$ac_objext
7806
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7690
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7807
7691
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7808
7692
# Insert the option either (1) after the last *FLAGS variable, or
7809
7693
# (2) before a word containing "conftest.", or (3) at the end.
7814
7698
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7815
7699
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7816
7700
-e 's:$: $lt_compiler_flag:'`
7817
(eval echo "\"\$as_me:7817: $lt_compile\"" >&5)
7701
(eval echo "\"\$as_me:7701: $lt_compile\"" >&5)
7818
7702
(eval "$lt_compile" 2>conftest.err)
7820
7704
cat conftest.err >&5
7821
echo "$as_me:7821: \$? = $ac_status" >&5
7705
echo "$as_me:7705: \$? = $ac_status" >&5
7822
7706
if (exit $ac_status) && test -s "$ac_outfile"; then
7823
7707
# The compiler can only warn and ignore the option if not recognized
7824
7708
# So say no if there are warnings other than the usual output.
7918
7802
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7919
7803
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7920
7804
-e 's:$: $lt_compiler_flag:'`
7921
(eval echo "\"\$as_me:7921: $lt_compile\"" >&5)
7805
(eval echo "\"\$as_me:7805: $lt_compile\"" >&5)
7922
7806
(eval "$lt_compile" 2>out/conftest.err)
7924
7808
cat out/conftest.err >&5
7925
echo "$as_me:7925: \$? = $ac_status" >&5
7809
echo "$as_me:7809: \$? = $ac_status" >&5
7926
7810
if (exit $ac_status) && test -s out/conftest2.$ac_objext
7928
7812
# The compiler can only warn and ignore the option if not recognized
8114
7998
allow_undefined_flag=unsupported
8115
7999
always_export_symbols=no
8116
8000
enable_shared_with_static_runtimes=yes
8117
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8001
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
8119
8003
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
8120
8004
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8147
8031
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'
8150
gnu* | linux* | k*bsd*-gnu)
8034
linux* | k*bsd*-gnu)
8151
8035
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8153
8037
case $cc_basename,$host_cpu in
8165
8049
ifc* | ifort*) # Intel Fortran compiler
8166
8050
tmp_addflag=' -nofor_main' ;;
8168
case `$CC -V 2>&1 | sed 5q` in
8169
*Sun\ C*) # Sun C 5.9
8170
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'
8171
tmp_sharedflag='-G' ;;
8172
*Sun\ F*) # Sun Fortran 8.3
8173
tmp_sharedflag='-G' ;;
8175
tmp_sharedflag='-shared' ;;
8177
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8052
archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8179
8054
if test $supports_anon_versioning = yes; then
8180
8055
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8181
8056
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8182
8057
$echo "local: *; };" >> $output_objdir/$libname.ver~
8183
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8058
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8066
netbsd* | netbsdelf*-gnu)
8191
8067
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8192
8068
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8413
8289
} && test -s conftest$ac_exeext &&
8414
8290
$as_test_x conftest$ac_exeext; then
8416
lt_aix_libpath_sed='
8417
/Import File Strings/,/^$/ {
8423
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8292
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8424
8294
# Check for a 64-bit object if we didn't find anything.
8425
if test -z "$aix_libpath"; then
8426
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8295
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; }
8429
8298
echo "$as_me: failed program was:" >&5
8430
8299
sed 's/^/| /' conftest.$ac_ext >&5
8479
8348
} && test -s conftest$ac_exeext &&
8480
8349
$as_test_x conftest$ac_exeext; then
8482
lt_aix_libpath_sed='
8483
/Import File Strings/,/^$/ {
8489
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8351
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8490
8353
# Check for a 64-bit object if we didn't find anything.
8491
if test -z "$aix_libpath"; then
8492
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8354
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; }
8495
8357
echo "$as_me: failed program was:" >&5
8496
8358
sed 's/^/| /' conftest.$ac_ext >&5
8827
8689
case $host_os in
8828
8690
solaris2.[0-5] | solaris2.[0-5].*) ;;
8830
# The compiler driver will combine and reorder linker options,
8831
# but understands `-z linker_flag'. GCC discards it without `$wl',
8832
# but is careful enough not to reorder.
8692
# The compiler driver will combine linker options so we
8693
# cannot just pass the convience library names through
8694
# without $wl, iff we do not link with $LD.
8695
# Luckily, gcc supports the same syntax we need for Sun Studio.
8833
8696
# Supported since Solaris 2.6 (maybe 2.5.1?)
8834
if test "$GCC" = yes; then
8835
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8837
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8699
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
8701
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' ;;
8841
8704
link_all_deplibs=yes
9028
8891
version_type=none
9029
8892
dynamic_linker="$host_os ld.so"
9030
8893
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9032
8894
if test "$GCC" = yes; then
9034
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9035
*) lt_awk_arg="/^libraries:/" ;;
9037
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9038
if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
8895
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8896
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
9039
8897
# if the path contains ";" then we assume it to be the separator
9040
8898
# otherwise default to the standard path separator (i.e. ":") - it is
9041
8899
# assumed that no part of a normal pathname contains ";" but that should
9042
8900
# okay in the real world where ";" in dirpaths is itself problematic.
9043
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8901
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9045
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8903
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9047
# Ok, now we have the path, separated by spaces, we can step through it
9048
# and add multilib dir if necessary.
9049
lt_tmp_lt_search_path_spec=
9050
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9051
for lt_sys_path in $lt_search_path_spec; do
9052
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9053
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9055
test -d "$lt_sys_path" && \
9056
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9059
lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
9060
BEGIN {RS=" "; FS="/|\n";} {
9063
for (lt_i = NF; lt_i > 0; lt_i--) {
9064
if ($lt_i != "" && $lt_i != ".") {
9065
if ($lt_i == "..") {
9068
if (lt_count == 0) {
9069
lt_foo="/" $lt_i lt_foo;
9076
if (lt_foo != "") { lt_freq[lt_foo]++; }
9077
if (lt_freq[lt_foo] == 1) { print lt_foo; }
9079
sys_lib_search_path_spec=`echo $lt_search_path_spec`
9081
8906
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9236
9061
shlibpath_overrides_runpath=yes
9237
9062
shlibpath_var=DYLD_LIBRARY_PATH
9238
9063
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9240
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9064
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9065
if test "$GCC" = yes; then
9066
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"`
9068
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
9241
9070
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9439
9255
# Append ld.so.conf contents to the search path
9440
9256
if test -f /etc/ld.so.conf; then
9441
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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9257
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' ' '`
9442
9258
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10618
10441
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10619
10442
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10621
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10444
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10622
10445
# Free Software Foundation, Inc.
10624
10447
# This file is part of GNU Libtool:
11111
10934
objext_CXX=$objext
11113
10936
# Code to be used in simple compile tests
11114
lt_simple_compile_test_code="int some_variable = 0;"
10937
lt_simple_compile_test_code="int some_variable = 0;\n"
11116
10939
# Code to be used in simple link tests
11117
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10940
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
11119
10942
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11131
10954
# save warnings/boilerplate of simple test code
11132
10955
ac_outfile=conftest.$ac_objext
11133
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10956
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
11134
10957
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11135
10958
_lt_compiler_boilerplate=`cat conftest.err`
11136
10959
$rm conftest*
11138
10961
ac_outfile=conftest.$ac_objext
11139
echo "$lt_simple_link_test_code" >conftest.$ac_ext
10962
printf "$lt_simple_link_test_code" >conftest.$ac_ext
11140
10963
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11141
10964
_lt_linker_boilerplate=`cat conftest.err`
11142
10965
$rm conftest*
11469
11292
} && test -s conftest$ac_exeext &&
11470
11293
$as_test_x conftest$ac_exeext; then
11472
lt_aix_libpath_sed='
11473
/Import File Strings/,/^$/ {
11479
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11295
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11480
11297
# Check for a 64-bit object if we didn't find anything.
11481
if test -z "$aix_libpath"; then
11482
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11298
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; }
11485
11301
echo "$as_me: failed program was:" >&5
11486
11302
sed 's/^/| /' conftest.$ac_ext >&5
11536
11352
} && test -s conftest$ac_exeext &&
11537
11353
$as_test_x conftest$ac_exeext; then
11539
lt_aix_libpath_sed='
11540
/Import File Strings/,/^$/ {
11546
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11355
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11547
11357
# Check for a 64-bit object if we didn't find anything.
11548
if test -z "$aix_libpath"; then
11549
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11358
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; }
11552
11361
echo "$as_me: failed program was:" >&5
11553
11362
sed 's/^/| /' conftest.$ac_ext >&5
11940
11751
# dependencies.
11941
11752
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'
11944
case `$CC -V 2>&1 | sed 5q` in
11947
no_undefined_flag_CXX=' -zdefs'
11948
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11949
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'
11950
hardcode_libdir_flag_spec_CXX='-R$libdir'
11951
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'
11953
# Not sure whether something based on
11954
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11956
output_verbose_link_cmd='echo'
11958
# Archives containing C++ object files must be created using
11959
# "CC -xar", where "CC" is the Sun C++ compiler. This is
11960
# necessary to make sure instantiated templates are included
11962
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12172
11960
case $host_os in
12173
11961
solaris2.[0-5] | solaris2.[0-5].*) ;;
12175
# The compiler driver will combine and reorder linker options,
12176
# but understands `-z linker_flag'.
11963
# The C++ compiler is used as linker so we must use $wl
11964
# flag to pass the commands to the underlying system
11965
# linker. We must also pass each convience library through
11966
# to the system linker between allextract/defaultextract.
11967
# The C++ compiler will combine linker options so we
11968
# cannot just pass the convience library names through
12177
11970
# Supported since Solaris 2.6 (maybe 2.5.1?)
12178
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11971
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'
12181
11974
link_all_deplibs_CXX=yes
12427
12214
postdeps_CXX=
12431
case `$CC -V 2>&1 | sed 5q` in
12435
# The more standards-conforming stlport4 library is
12436
# incompatible with the Cstd library. Avoid specifying
12437
# it if it's in CXXFLAGS. Ignore libCrun as
12438
# -library=stlport4 depends on it.
12439
case " $CXX $CXXFLAGS " in
12440
*" -library=stlport4 "*)
12441
solaris_use_stlport4=yes
12444
if test "$solaris_use_stlport4" != yes; then
12445
postdeps_CXX='-library=Cstd -library=Crun'
12452
12218
case $cc_basename in
12454
# The more standards-conforming stlport4 library is
12455
# incompatible with the Cstd library. Avoid specifying
12456
# it if it's in CXXFLAGS. Ignore libCrun as
12457
# -library=stlport4 depends on it.
12458
case " $CXX $CXXFLAGS " in
12459
*" -library=stlport4 "*)
12460
solaris_use_stlport4=yes
12464
12220
# Adding this requires a known-good setup of shared libraries for
12465
12221
# Sun compiler versions before 5.6, else PIC objects from an old
12466
12222
# archive will be linked into the output, leading to subtle bugs.
12467
if test "$solaris_use_stlport4" != yes; then
12468
postdeps_CXX='-library=Cstd -library=Crun'
12223
postdeps_CXX='-lCstd -lCrun'
12503
12257
# like `-m68040'.
12504
12258
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12506
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12260
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12507
12261
# PIC is the default for these OSes.
12509
mingw* | cygwin* | os2* | pw32*)
12263
mingw* | os2* | pw32*)
12510
12264
# This hack is so that the source file can tell whether it is being
12511
12265
# built for inclusion in a dll (and should export symbols for example).
12512
# Although the cygwin gcc ignores -fPIC, still need this for old-style
12513
# (--disable-auto-import) libraries
12514
12266
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12516
12268
darwin* | rhapsody*)
12781
12525
lt_prog_compiler_pic_works_CXX=no
12782
12526
ac_outfile=conftest.$ac_objext
12783
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12527
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12784
12528
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12785
12529
# Insert the option either (1) after the last *FLAGS variable, or
12786
12530
# (2) before a word containing "conftest.", or (3) at the end.
12791
12535
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12792
12536
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12793
12537
-e 's:$: $lt_compiler_flag:'`
12794
(eval echo "\"\$as_me:12794: $lt_compile\"" >&5)
12538
(eval echo "\"\$as_me:12538: $lt_compile\"" >&5)
12795
12539
(eval "$lt_compile" 2>conftest.err)
12797
12541
cat conftest.err >&5
12798
echo "$as_me:12798: \$? = $ac_status" >&5
12542
echo "$as_me:12542: \$? = $ac_status" >&5
12799
12543
if (exit $ac_status) && test -s "$ac_outfile"; then
12800
12544
# The compiler can only warn and ignore the option if not recognized
12801
12545
# So say no if there are warnings other than the usual output.
12895
12639
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12896
12640
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12897
12641
-e 's:$: $lt_compiler_flag:'`
12898
(eval echo "\"\$as_me:12898: $lt_compile\"" >&5)
12642
(eval echo "\"\$as_me:12642: $lt_compile\"" >&5)
12899
12643
(eval "$lt_compile" 2>out/conftest.err)
12901
12645
cat out/conftest.err >&5
12902
echo "$as_me:12902: \$? = $ac_status" >&5
12646
echo "$as_me:12646: \$? = $ac_status" >&5
12903
12647
if (exit $ac_status) && test -s out/conftest2.$ac_objext
12905
12649
# The compiler can only warn and ignore the option if not recognized
13054
12801
version_type=none
13055
12802
dynamic_linker="$host_os ld.so"
13056
12803
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12804
if test "$GCC" = yes; then
12805
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12806
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
12807
# if the path contains ";" then we assume it to be the separator
12808
# otherwise default to the standard path separator (i.e. ":") - it is
12809
# assumed that no part of a normal pathname contains ";" but that should
12810
# okay in the real world where ";" in dirpaths is itself problematic.
12811
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12813
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12816
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13058
12818
need_lib_prefix=unknown
13059
12819
hardcode_into_libs=no
13211
12971
shlibpath_overrides_runpath=yes
13212
12972
shlibpath_var=DYLD_LIBRARY_PATH
13213
12973
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12974
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12975
if test "$GCC" = yes; then
12976
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"`
12978
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
13215
12980
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13413
13165
# Append ld.so.conf contents to the search path
13414
13166
if test -f /etc/ld.so.conf; then
13415
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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13167
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' ' '`
13416
13168
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14142
13895
# save warnings/boilerplate of simple test code
14143
13896
ac_outfile=conftest.$ac_objext
14144
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13897
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14145
13898
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14146
13899
_lt_compiler_boilerplate=`cat conftest.err`
14147
13900
$rm conftest*
14149
13902
ac_outfile=conftest.$ac_objext
14150
echo "$lt_simple_link_test_code" >conftest.$ac_ext
13903
printf "$lt_simple_link_test_code" >conftest.$ac_ext
14151
13904
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14152
13905
_lt_linker_boilerplate=`cat conftest.err`
14153
13906
$rm conftest*
14234
13987
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14237
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13990
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14238
13991
# PIC is the default for these OSes.
14241
mingw* | cygwin* | pw32* | os2*)
13994
mingw* | pw32* | os2*)
14242
13995
# This hack is so that the source file can tell whether it is being
14243
13996
# built for inclusion in a dll (and should export symbols for example).
14244
# Although the cygwin gcc ignores -fPIC, still need this for old-style
14245
# (--disable-auto-import) libraries
14246
13997
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14362
14113
# All Alpha code is PIC.
14363
14114
lt_prog_compiler_static_F77='-non_shared'
14366
case `$CC -V 2>&1 | sed 5q` in
14369
lt_prog_compiler_pic_F77='-KPIC'
14370
lt_prog_compiler_static_F77='-Bstatic'
14371
lt_prog_compiler_wl_F77='-Wl,'
14374
# Sun Fortran 8.3 passes all unrecognized flags to the linker
14375
lt_prog_compiler_pic_F77='-KPIC'
14376
lt_prog_compiler_static_F77='-Bstatic'
14377
lt_prog_compiler_wl_F77=''
14459
14190
lt_prog_compiler_pic_works_F77=no
14460
14191
ac_outfile=conftest.$ac_objext
14461
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14192
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14462
14193
lt_compiler_flag="$lt_prog_compiler_pic_F77"
14463
14194
# Insert the option either (1) after the last *FLAGS variable, or
14464
14195
# (2) before a word containing "conftest.", or (3) at the end.
14469
14200
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14470
14201
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14471
14202
-e 's:$: $lt_compiler_flag:'`
14472
(eval echo "\"\$as_me:14472: $lt_compile\"" >&5)
14203
(eval echo "\"\$as_me:14203: $lt_compile\"" >&5)
14473
14204
(eval "$lt_compile" 2>conftest.err)
14475
14206
cat conftest.err >&5
14476
echo "$as_me:14476: \$? = $ac_status" >&5
14207
echo "$as_me:14207: \$? = $ac_status" >&5
14477
14208
if (exit $ac_status) && test -s "$ac_outfile"; then
14478
14209
# The compiler can only warn and ignore the option if not recognized
14479
14210
# So say no if there are warnings other than the usual output.
14573
14304
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14574
14305
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14575
14306
-e 's:$: $lt_compiler_flag:'`
14576
(eval echo "\"\$as_me:14576: $lt_compile\"" >&5)
14307
(eval echo "\"\$as_me:14307: $lt_compile\"" >&5)
14577
14308
(eval "$lt_compile" 2>out/conftest.err)
14579
14310
cat out/conftest.err >&5
14580
echo "$as_me:14580: \$? = $ac_status" >&5
14311
echo "$as_me:14311: \$? = $ac_status" >&5
14581
14312
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14583
14314
# The compiler can only warn and ignore the option if not recognized
14769
14500
allow_undefined_flag_F77=unsupported
14770
14501
always_export_symbols_F77=no
14771
14502
enable_shared_with_static_runtimes_F77=yes
14772
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14503
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14774
14505
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14775
14506
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14802
14533
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'
14805
gnu* | linux* | k*bsd*-gnu)
14536
linux* | k*bsd*-gnu)
14806
14537
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14808
14539
case $cc_basename,$host_cpu in
14820
14551
ifc* | ifort*) # Intel Fortran compiler
14821
14552
tmp_addflag=' -nofor_main' ;;
14823
case `$CC -V 2>&1 | sed 5q` in
14824
*Sun\ C*) # Sun C 5.9
14825
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'
14826
tmp_sharedflag='-G' ;;
14827
*Sun\ F*) # Sun Fortran 8.3
14828
tmp_sharedflag='-G' ;;
14830
tmp_sharedflag='-shared' ;;
14832
archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14554
archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14834
14556
if test $supports_anon_versioning = yes; then
14835
14557
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14836
14558
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14837
14559
$echo "local: *; };" >> $output_objdir/$libname.ver~
14838
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14560
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14562
link_all_deplibs_F77=no
14841
14564
ld_shlibs_F77=no
14568
netbsd* | netbsdelf*-gnu)
14846
14569
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14847
14570
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15058
14781
} && test -s conftest$ac_exeext &&
15059
14782
$as_test_x conftest$ac_exeext; then
15061
lt_aix_libpath_sed='
15062
/Import File Strings/,/^$/ {
15068
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14784
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15069
14786
# Check for a 64-bit object if we didn't find anything.
15070
if test -z "$aix_libpath"; then
15071
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14787
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; }
15074
14790
echo "$as_me: failed program was:" >&5
15075
14791
sed 's/^/| /' conftest.$ac_ext >&5
15114
14830
} && test -s conftest$ac_exeext &&
15115
14831
$as_test_x conftest$ac_exeext; then
15117
lt_aix_libpath_sed='
15118
/Import File Strings/,/^$/ {
15124
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14833
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15125
14835
# Check for a 64-bit object if we didn't find anything.
15126
if test -z "$aix_libpath"; then
15127
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14836
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; }
15130
14839
echo "$as_me: failed program was:" >&5
15131
14840
sed 's/^/| /' conftest.$ac_ext >&5
15462
15171
case $host_os in
15463
15172
solaris2.[0-5] | solaris2.[0-5].*) ;;
15465
# The compiler driver will combine and reorder linker options,
15466
# but understands `-z linker_flag'. GCC discards it without `$wl',
15467
# but is careful enough not to reorder.
15174
# The compiler driver will combine linker options so we
15175
# cannot just pass the convience library names through
15176
# without $wl, iff we do not link with $LD.
15177
# Luckily, gcc supports the same syntax we need for Sun Studio.
15468
15178
# Supported since Solaris 2.6 (maybe 2.5.1?)
15469
if test "$GCC" = yes; then
15470
whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15472
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
15181
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
15183
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' ;;
15476
15186
link_all_deplibs_F77=yes
15663
15373
version_type=none
15664
15374
dynamic_linker="$host_os ld.so"
15665
15375
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15376
if test "$GCC" = yes; then
15377
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15378
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15379
# if the path contains ";" then we assume it to be the separator
15380
# otherwise default to the standard path separator (i.e. ":") - it is
15381
# assumed that no part of a normal pathname contains ";" but that should
15382
# okay in the real world where ";" in dirpaths is itself problematic.
15383
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15385
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15388
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15667
15390
need_lib_prefix=unknown
15668
15391
hardcode_into_libs=no
15820
15543
shlibpath_overrides_runpath=yes
15821
15544
shlibpath_var=DYLD_LIBRARY_PATH
15822
15545
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15546
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15547
if test "$GCC" = yes; then
15548
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"`
15550
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15824
15552
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16022
15737
# Append ld.so.conf contents to the search path
16023
15738
if test -f /etc/ld.so.conf; then
16024
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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15739
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' ' '`
16025
15740
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16691
16414
objext_GCJ=$objext
16693
16416
# Code to be used in simple compile tests
16694
lt_simple_compile_test_code="class foo {}"
16417
lt_simple_compile_test_code="class foo {}\n"
16696
16419
# Code to be used in simple link tests
16697
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
16420
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
16699
16422
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16711
16434
# save warnings/boilerplate of simple test code
16712
16435
ac_outfile=conftest.$ac_objext
16713
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16436
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16714
16437
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16715
16438
_lt_compiler_boilerplate=`cat conftest.err`
16716
16439
$rm conftest*
16718
16441
ac_outfile=conftest.$ac_objext
16719
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16442
printf "$lt_simple_link_test_code" >conftest.$ac_ext
16720
16443
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16721
16444
_lt_linker_boilerplate=`cat conftest.err`
16722
16445
$rm conftest*
16758
16481
lt_cv_prog_compiler_rtti_exceptions=no
16759
16482
ac_outfile=conftest.$ac_objext
16760
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16483
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16761
16484
lt_compiler_flag="-fno-rtti -fno-exceptions"
16762
16485
# Insert the option either (1) after the last *FLAGS variable, or
16763
16486
# (2) before a word containing "conftest.", or (3) at the end.
16768
16491
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16769
16492
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16770
16493
-e 's:$: $lt_compiler_flag:'`
16771
(eval echo "\"\$as_me:16771: $lt_compile\"" >&5)
16494
(eval echo "\"\$as_me:16494: $lt_compile\"" >&5)
16772
16495
(eval "$lt_compile" 2>conftest.err)
16774
16497
cat conftest.err >&5
16775
echo "$as_me:16775: \$? = $ac_status" >&5
16498
echo "$as_me:16498: \$? = $ac_status" >&5
16776
16499
if (exit $ac_status) && test -s "$ac_outfile"; then
16777
16500
# The compiler can only warn and ignore the option if not recognized
16778
16501
# So say no if there are warnings other than the usual output.
16823
16546
lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16826
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16549
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16827
16550
# PIC is the default for these OSes.
16830
mingw* | cygwin* | pw32* | os2*)
16553
mingw* | pw32* | os2*)
16831
16554
# This hack is so that the source file can tell whether it is being
16832
16555
# built for inclusion in a dll (and should export symbols for example).
16833
# Although the cygwin gcc ignores -fPIC, still need this for old-style
16834
# (--disable-auto-import) libraries
16835
16556
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16951
16672
# All Alpha code is PIC.
16952
16673
lt_prog_compiler_static_GCJ='-non_shared'
16955
case `$CC -V 2>&1 | sed 5q` in
16958
lt_prog_compiler_pic_GCJ='-KPIC'
16959
lt_prog_compiler_static_GCJ='-Bstatic'
16960
lt_prog_compiler_wl_GCJ='-Wl,'
16963
# Sun Fortran 8.3 passes all unrecognized flags to the linker
16964
lt_prog_compiler_pic_GCJ='-KPIC'
16965
lt_prog_compiler_static_GCJ='-Bstatic'
16966
lt_prog_compiler_wl_GCJ=''
17048
16749
lt_prog_compiler_pic_works_GCJ=no
17049
16750
ac_outfile=conftest.$ac_objext
17050
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16751
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17051
16752
lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17052
16753
# Insert the option either (1) after the last *FLAGS variable, or
17053
16754
# (2) before a word containing "conftest.", or (3) at the end.
17058
16759
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17059
16760
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17060
16761
-e 's:$: $lt_compiler_flag:'`
17061
(eval echo "\"\$as_me:17061: $lt_compile\"" >&5)
16762
(eval echo "\"\$as_me:16762: $lt_compile\"" >&5)
17062
16763
(eval "$lt_compile" 2>conftest.err)
17064
16765
cat conftest.err >&5
17065
echo "$as_me:17065: \$? = $ac_status" >&5
16766
echo "$as_me:16766: \$? = $ac_status" >&5
17066
16767
if (exit $ac_status) && test -s "$ac_outfile"; then
17067
16768
# The compiler can only warn and ignore the option if not recognized
17068
16769
# So say no if there are warnings other than the usual output.
17162
16863
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17163
16864
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17164
16865
-e 's:$: $lt_compiler_flag:'`
17165
(eval echo "\"\$as_me:17165: $lt_compile\"" >&5)
16866
(eval echo "\"\$as_me:16866: $lt_compile\"" >&5)
17166
16867
(eval "$lt_compile" 2>out/conftest.err)
17168
16869
cat out/conftest.err >&5
17169
echo "$as_me:17169: \$? = $ac_status" >&5
16870
echo "$as_me:16870: \$? = $ac_status" >&5
17170
16871
if (exit $ac_status) && test -s out/conftest2.$ac_objext
17172
16873
# The compiler can only warn and ignore the option if not recognized
17358
17059
allow_undefined_flag_GCJ=unsupported
17359
17060
always_export_symbols_GCJ=no
17360
17061
enable_shared_with_static_runtimes_GCJ=yes
17361
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17062
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17363
17064
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17364
17065
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17391
17092
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'
17394
gnu* | linux* | k*bsd*-gnu)
17095
linux* | k*bsd*-gnu)
17395
17096
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17397
17098
case $cc_basename,$host_cpu in
17409
17110
ifc* | ifort*) # Intel Fortran compiler
17410
17111
tmp_addflag=' -nofor_main' ;;
17412
case `$CC -V 2>&1 | sed 5q` in
17413
*Sun\ C*) # Sun C 5.9
17414
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'
17415
tmp_sharedflag='-G' ;;
17416
*Sun\ F*) # Sun Fortran 8.3
17417
tmp_sharedflag='-G' ;;
17419
tmp_sharedflag='-shared' ;;
17421
archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17113
archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17423
17115
if test $supports_anon_versioning = yes; then
17424
17116
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17425
17117
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17426
17118
$echo "local: *; };" >> $output_objdir/$libname.ver~
17427
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17119
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17121
link_all_deplibs_GCJ=no
17430
17123
ld_shlibs_GCJ=no
17127
netbsd* | netbsdelf*-gnu)
17435
17128
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17436
17129
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17657
17350
} && test -s conftest$ac_exeext &&
17658
17351
$as_test_x conftest$ac_exeext; then
17660
lt_aix_libpath_sed='
17661
/Import File Strings/,/^$/ {
17667
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17353
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17668
17355
# Check for a 64-bit object if we didn't find anything.
17669
if test -z "$aix_libpath"; then
17670
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17356
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; }
17673
17359
echo "$as_me: failed program was:" >&5
17674
17360
sed 's/^/| /' conftest.$ac_ext >&5
17723
17409
} && test -s conftest$ac_exeext &&
17724
17410
$as_test_x conftest$ac_exeext; then
17726
lt_aix_libpath_sed='
17727
/Import File Strings/,/^$/ {
17733
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17412
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17734
17414
# Check for a 64-bit object if we didn't find anything.
17735
if test -z "$aix_libpath"; then
17736
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17415
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; }
17739
17418
echo "$as_me: failed program was:" >&5
17740
17419
sed 's/^/| /' conftest.$ac_ext >&5
18071
17750
case $host_os in
18072
17751
solaris2.[0-5] | solaris2.[0-5].*) ;;
18074
# The compiler driver will combine and reorder linker options,
18075
# but understands `-z linker_flag'. GCC discards it without `$wl',
18076
# but is careful enough not to reorder.
17753
# The compiler driver will combine linker options so we
17754
# cannot just pass the convience library names through
17755
# without $wl, iff we do not link with $LD.
17756
# Luckily, gcc supports the same syntax we need for Sun Studio.
18077
17757
# Supported since Solaris 2.6 (maybe 2.5.1?)
18078
if test "$GCC" = yes; then
18079
whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18081
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
17760
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
17762
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' ;;
18085
17765
link_all_deplibs_GCJ=yes
18272
17952
version_type=none
18273
17953
dynamic_linker="$host_os ld.so"
18274
17954
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17955
if test "$GCC" = yes; then
17956
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17957
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17958
# if the path contains ";" then we assume it to be the separator
17959
# otherwise default to the standard path separator (i.e. ":") - it is
17960
# assumed that no part of a normal pathname contains ";" but that should
17961
# okay in the real world where ";" in dirpaths is itself problematic.
17962
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17964
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17967
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18276
17969
need_lib_prefix=unknown
18277
17970
hardcode_into_libs=no
18429
18122
shlibpath_overrides_runpath=yes
18430
18123
shlibpath_var=DYLD_LIBRARY_PATH
18431
18124
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18125
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18126
if test "$GCC" = yes; then
18127
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"`
18129
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18433
18131
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18631
18316
# Append ld.so.conf contents to the search path
18632
18317
if test -f /etc/ld.so.conf; then
18633
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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18318
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' ' '`
18634
18319
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19319
19012
# save warnings/boilerplate of simple test code
19320
19013
ac_outfile=conftest.$ac_objext
19321
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19014
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19322
19015
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19323
19016
_lt_compiler_boilerplate=`cat conftest.err`
19324
19017
$rm conftest*
19326
19019
ac_outfile=conftest.$ac_objext
19327
echo "$lt_simple_link_test_code" >conftest.$ac_ext
19020
printf "$lt_simple_link_test_code" >conftest.$ac_ext
19328
19021
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19329
19022
_lt_linker_boilerplate=`cat conftest.err`
19330
19023
$rm conftest*
20391
20086
if test -n "$PKG_CONFIG" && \
20392
20087
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" pygtk-2.0 >= 2.10.0,
20394
20089
pycairo >= 1.2.0
20396
20091
($PKG_CONFIG --exists --print-errors " pygtk-2.0 >= 2.10.0,
20398
20093
pycairo >= 1.2.0
20401
20096
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20402
20097
(exit $ac_status); }; then
20403
20098
pkg_cv_PYGOOCANVAS_CFLAGS=`$PKG_CONFIG --cflags " pygtk-2.0 >= 2.10.0,
20405
20100
pycairo >= 1.2.0
20406
20101
" 2>/dev/null`
20418
20113
if test -n "$PKG_CONFIG" && \
20419
20114
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" pygtk-2.0 >= 2.10.0,
20421
20116
pycairo >= 1.2.0
20423
20118
($PKG_CONFIG --exists --print-errors " pygtk-2.0 >= 2.10.0,
20425
20120
pycairo >= 1.2.0
20428
20123
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429
20124
(exit $ac_status); }; then
20430
20125
pkg_cv_PYGOOCANVAS_LIBS=`$PKG_CONFIG --libs " pygtk-2.0 >= 2.10.0,
20432
20127
pycairo >= 1.2.0
20433
20128
" 2>/dev/null`
22147
21839
# some people rename them; so instead we look at the file content.
22148
21840
# Grep'ing the first line is not enough: some people post-process
22149
21841
# each Makefile.in and add a new line on top of each file to say so.
22150
# Grep'ing the whole file is not good either: AIX grep has a line
22151
# limit of 2048, but all sed's we know have understand at least 4000.
22152
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
21842
# So let's grep whole file.
21843
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
22153
21844
dirpart=`$as_dirname -- "$mf" ||
22154
21845
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22155
21846
X"$mf" : 'X\(//\)[^/]' \| \