1695
1712
test -n "$ac_init_help" && exit $ac_status
1696
1713
if $ac_init_version; then
1698
GStreamer Python Bindings configure 0.10.7
1715
GStreamer Python Bindings configure 0.10.8
1699
1716
generated by GNU Autoconf 2.61
1701
1718
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2246
2268
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2249
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2250
# We used to keeping the `.' as first argument, in order to
2251
# allow $(mkdir_p) to be used without argument. As in
2252
# $(mkdir_p) $(somedir)
2253
# where $(somedir) is conditionally defined. However this is wrong
2255
# 1. if the package is installed by a user who cannot write `.'
2256
# make install will fail,
2257
# 2. the above comment should most certainly read
2258
# $(mkdir_p) $(DESTDIR)$(somedir)
2259
# so it does not work when $(somedir) is undefined and
2260
# $(DESTDIR) is not.
2261
# To support the latter case, we have to write
2262
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2263
# so the `.' trick is pointless.
2264
mkdir_p='mkdir -p --'
2271
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2272
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2273
if test -z "$MKDIR_P"; then
2274
if test "${ac_cv_path_mkdir+set}" = set; then
2275
echo $ECHO_N "(cached) $ECHO_C" >&6
2266
# On NextStep and OpenStep, the `mkdir' command does not
2267
# recognize any option. It will interpret all options as
2268
# directories to create, and then abort because `.' already
2270
for d in ./-p ./--version;
2272
test -d $d && rmdir $d
2274
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2275
if test -f "$ac_aux_dir/mkinstalldirs"; then
2276
mkdir_p='$(mkinstalldirs)'
2277
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2278
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2281
test -z "$as_dir" && as_dir=.
2282
for ac_prog in mkdir gmkdir; do
2283
for ac_exec_ext in '' $ac_executable_extensions; do
2284
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2285
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2286
'mkdir (GNU coreutils) '* | \
2287
'mkdir (coreutils) '* | \
2288
'mkdir (fileutils) '4.1*)
2289
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2299
if test "${ac_cv_path_mkdir+set}" = set; then
2300
MKDIR_P="$ac_cv_path_mkdir -p"
2278
mkdir_p='$(install_sh) -d'
2302
# As a last resort, use the slow shell script. Don't cache a
2303
# value for MKDIR_P within a source directory, because that will
2304
# break other packages using the cache if that directory is
2305
# removed, or if the value is a relative name.
2306
test -d ./--version && rmdir ./--version
2307
MKDIR_P="$ac_install_sh -d"
2310
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2311
echo "${ECHO_T}$MKDIR_P" >&6; }
2315
[\\/$]* | ?:[\\/]*) ;;
2316
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2282
2319
for ac_prog in gawk mawk nawk awk
2361
2398
rmdir .tst 2>/dev/null
2363
# test to see if srcdir already configured
2364
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2365
test -f $srcdir/config.status; then
2366
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2400
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2401
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2402
# is not polluted with repeated "-I."
2403
am__isrc=' -I$(srcdir)'
2404
# test to see if srcdir already configured
2405
if test -f $srcdir/config.status; then
2406
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2367
2407
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2368
2408
{ (exit 1); exit 1; }; }
2371
2412
# test whether we have cygpath
3890
3925
test -z "$as_dir" && as_dir=.
3891
3926
for lt_ac_prog in sed gsed; do
3892
3927
for ac_exec_ext in '' $ac_executable_extensions; do
3893
if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3928
if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3894
3929
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3901
3937
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4291
4328
echo "${ECHO_T}no, using $LN_S" >&6; }
4294
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4295
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4331
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4332
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4296
4333
if test "${lt_cv_deplibs_check_method+set}" = set; then
4297
4334
echo $ECHO_N "(cached) $ECHO_C" >&6
4334
4371
mingw* | pw32*)
4335
4372
# Base MSYS/MinGW do not provide the 'file' command needed by
4336
# func_win32_libid shell function, so use a weaker test based on 'objdump'.
4337
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4338
lt_cv_file_magic_cmd='$OBJDUMP -f'
4373
# func_win32_libid shell function, so use a weaker test based on 'objdump',
4374
# unless we find 'file', for example because we are cross-compiling.
4375
if ( file / ) >/dev/null 2>&1; then
4376
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4377
lt_cv_file_magic_cmd='func_win32_libid'
4379
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4380
lt_cv_file_magic_cmd='$OBJDUMP -f'
4341
4384
darwin* | rhapsody*)
4342
4385
lt_cv_deplibs_check_method=pass_all
4345
freebsd* | kfreebsd*-gnu | dragonfly*)
4388
freebsd* | dragonfly*)
4346
4389
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4347
4390
case $host_cpu in
6375
# If test is not a shell built-in, we'll probably end up computing a
6376
# maximum length that is only half of the actual maximum length, but
6378
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6379
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6428
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6429
if test -n "$lt_cv_sys_max_cmd_len"; then
6430
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6431
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6433
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6434
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6380
6435
= "XX$teststring") >/dev/null 2>&1 &&
6381
new_result=`expr "X$teststring" : ".*" 2>&1` &&
6382
lt_cv_sys_max_cmd_len=$new_result &&
6383
test $i != 17 # 1/2 MB should be enough
6386
teststring=$teststring$teststring
6389
# Add a significant safety factor because C++ compilers can tack on massive
6390
# amounts of additional arguments before passing them to the linker.
6391
# It appears as though 1/2 is a usable value.
6392
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6436
new_result=`expr "X$teststring" : ".*" 2>&1` &&
6437
lt_cv_sys_max_cmd_len=$new_result &&
6438
test $i != 17 # 1/2 MB should be enough
6441
teststring=$teststring$teststring
6444
# Add a significant safety factor because C++ compilers can tack on massive
6445
# amounts of additional arguments before passing them to the linker.
6446
# It appears as though 1/2 is a usable value.
6447
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7257
7314
# Code to be used in simple compile tests
7258
lt_simple_compile_test_code="int some_variable = 0;\n"
7315
lt_simple_compile_test_code="int some_variable = 0;"
7260
7317
# Code to be used in simple link tests
7261
lt_simple_link_test_code='int main(){return(0);}\n'
7318
lt_simple_link_test_code='int main(){return(0);}'
7264
7321
# If no C compiler was specified, use CC.
7274
7331
# save warnings/boilerplate of simple test code
7275
7332
ac_outfile=conftest.$ac_objext
7276
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
7333
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7277
7334
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7278
7335
_lt_compiler_boilerplate=`cat conftest.err`
7281
7338
ac_outfile=conftest.$ac_objext
7282
printf "$lt_simple_link_test_code" >conftest.$ac_ext
7339
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7283
7340
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7284
7341
_lt_linker_boilerplate=`cat conftest.err`
7300
7357
lt_cv_prog_compiler_rtti_exceptions=no
7301
7358
ac_outfile=conftest.$ac_objext
7302
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7359
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7303
7360
lt_compiler_flag="-fno-rtti -fno-exceptions"
7304
7361
# Insert the option either (1) after the last *FLAGS variable, or
7305
7362
# (2) before a word containing "conftest.", or (3) at the end.
7310
7367
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7311
7368
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7312
7369
-e 's:$: $lt_compiler_flag:'`
7313
(eval echo "\"\$as_me:7313: $lt_compile\"" >&5)
7370
(eval echo "\"\$as_me:7370: $lt_compile\"" >&5)
7314
7371
(eval "$lt_compile" 2>conftest.err)
7316
7373
cat conftest.err >&5
7317
echo "$as_me:7317: \$? = $ac_status" >&5
7374
echo "$as_me:7374: \$? = $ac_status" >&5
7318
7375
if (exit $ac_status) && test -s "$ac_outfile"; then
7319
7376
# The compiler can only warn and ignore the option if not recognized
7320
7377
# So say no if there are warnings other than the usual output.
7365
7422
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7368
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7425
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7369
7426
# PIC is the default for these OSes.
7372
mingw* | pw32* | os2*)
7429
mingw* | cygwin* | pw32* | os2*)
7373
7430
# This hack is so that the source file can tell whether it is being
7374
7431
# built for inclusion in a dll (and should export symbols for example).
7432
# Although the cygwin gcc ignores -fPIC, still need this for old-style
7433
# (--disable-auto-import) libraries
7375
7434
lt_prog_compiler_pic='-DDLL_EXPORT'
7491
7550
# All Alpha code is PIC.
7492
7551
lt_prog_compiler_static='-non_shared'
7554
case `$CC -V 2>&1 | sed 5q` in
7557
lt_prog_compiler_pic='-KPIC'
7558
lt_prog_compiler_static='-Bstatic'
7559
lt_prog_compiler_wl='-Wl,'
7562
# Sun Fortran 8.3 passes all unrecognized flags to the linker
7563
lt_prog_compiler_pic='-KPIC'
7564
lt_prog_compiler_static='-Bstatic'
7565
lt_prog_compiler_wl=''
7568
7647
lt_prog_compiler_pic_works=no
7569
7648
ac_outfile=conftest.$ac_objext
7570
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7649
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7571
7650
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7572
7651
# Insert the option either (1) after the last *FLAGS variable, or
7573
7652
# (2) before a word containing "conftest.", or (3) at the end.
7578
7657
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7579
7658
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7580
7659
-e 's:$: $lt_compiler_flag:'`
7581
(eval echo "\"\$as_me:7581: $lt_compile\"" >&5)
7660
(eval echo "\"\$as_me:7660: $lt_compile\"" >&5)
7582
7661
(eval "$lt_compile" 2>conftest.err)
7584
7663
cat conftest.err >&5
7585
echo "$as_me:7585: \$? = $ac_status" >&5
7664
echo "$as_me:7664: \$? = $ac_status" >&5
7586
7665
if (exit $ac_status) && test -s "$ac_outfile"; then
7587
7666
# The compiler can only warn and ignore the option if not recognized
7588
7667
# So say no if there are warnings other than the usual output.
7682
7761
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7683
7762
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7684
7763
-e 's:$: $lt_compiler_flag:'`
7685
(eval echo "\"\$as_me:7685: $lt_compile\"" >&5)
7764
(eval echo "\"\$as_me:7764: $lt_compile\"" >&5)
7686
7765
(eval "$lt_compile" 2>out/conftest.err)
7688
7767
cat out/conftest.err >&5
7689
echo "$as_me:7689: \$? = $ac_status" >&5
7768
echo "$as_me:7768: \$? = $ac_status" >&5
7690
7769
if (exit $ac_status) && test -s out/conftest2.$ac_objext
7692
7771
# The compiler can only warn and ignore the option if not recognized
7878
7957
allow_undefined_flag=unsupported
7879
7958
always_export_symbols=no
7880
7959
enable_shared_with_static_runtimes=yes
7881
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7960
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7883
7962
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7884
7963
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7911
7990
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'
7993
gnu* | linux* | k*bsd*-gnu)
7915
7994
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7917
7996
case $cc_basename,$host_cpu in
7929
8008
ifc* | ifort*) # Intel Fortran compiler
7930
8009
tmp_addflag=' -nofor_main' ;;
7932
archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8011
case `$CC -V 2>&1 | sed 5q` in
8012
*Sun\ C*) # Sun C 5.9
8013
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'
8014
tmp_sharedflag='-G' ;;
8015
*Sun\ F*) # Sun Fortran 8.3
8016
tmp_sharedflag='-G' ;;
8018
tmp_sharedflag='-shared' ;;
8020
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7934
8022
if test $supports_anon_versioning = yes; then
7935
8023
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7936
8024
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7937
8025
$echo "local: *; };" >> $output_objdir/$libname.ver~
7938
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8026
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8168
8256
} && test -s conftest$ac_exeext &&
8169
8257
$as_test_x conftest$ac_exeext; then
8171
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8259
lt_aix_libpath_sed='
8260
/Import File Strings/,/^$/ {
8266
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8173
8267
# Check for a 64-bit object if we didn't find anything.
8174
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; }
8268
if test -z "$aix_libpath"; then
8269
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8177
8272
echo "$as_me: failed program was:" >&5
8178
8273
sed 's/^/| /' conftest.$ac_ext >&5
8227
8322
} && test -s conftest$ac_exeext &&
8228
8323
$as_test_x conftest$ac_exeext; then
8230
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8325
lt_aix_libpath_sed='
8326
/Import File Strings/,/^$/ {
8332
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8232
8333
# Check for a 64-bit object if we didn't find anything.
8233
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; }
8334
if test -z "$aix_libpath"; then
8335
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8236
8338
echo "$as_me: failed program was:" >&5
8237
8339
sed 's/^/| /' conftest.$ac_ext >&5
8327
8429
case $cc_basename in
8329
8431
output_verbose_link_cmd='echo'
8330
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8432
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8331
8433
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8332
8434
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8333
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}'
8435
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}'
8334
8436
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}'
8496
hardcode_shlibpath_var=no
8497
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8498
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8499
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8500
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8501
export_dynamic_flag_spec='${wl}-E'
8597
if test -f /usr/libexec/ld.so; then
8599
hardcode_shlibpath_var=no
8600
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8601
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8602
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8603
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8604
export_dynamic_flag_spec='${wl}-E'
8607
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8608
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8609
hardcode_libdir_flag_spec='-R$libdir'
8612
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8613
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8504
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8505
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8506
hardcode_libdir_flag_spec='-R$libdir'
8509
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8510
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8568
8674
case $host_os in
8569
8675
solaris2.[0-5] | solaris2.[0-5].*) ;;
8571
# The compiler driver will combine linker options so we
8572
# cannot just pass the convience library names through
8573
# without $wl, iff we do not link with $LD.
8574
# Luckily, gcc supports the same syntax we need for Sun Studio.
8677
# The compiler driver will combine and reorder linker options,
8678
# but understands `-z linker_flag'. GCC discards it without `$wl',
8679
# but is careful enough not to reorder.
8575
8680
# Supported since Solaris 2.6 (maybe 2.5.1?)
8578
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
8580
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' ;;
8681
if test "$GCC" = yes; then
8682
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8684
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8583
8688
link_all_deplibs=yes
8770
8875
version_type=none
8771
8876
dynamic_linker="$host_os ld.so"
8772
8877
sys_lib_dlsearch_path_spec="/lib /usr/lib"
8773
8879
if test "$GCC" = yes; then
8774
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8775
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8881
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8882
*) lt_awk_arg="/^libraries:/" ;;
8884
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8885
if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
8776
8886
# if the path contains ";" then we assume it to be the separator
8777
8887
# otherwise default to the standard path separator (i.e. ":") - it is
8778
8888
# assumed that no part of a normal pathname contains ";" but that should
8779
8889
# okay in the real world where ";" in dirpaths is itself problematic.
8780
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8890
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8782
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8892
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8894
# Ok, now we have the path, separated by spaces, we can step through it
8895
# and add multilib dir if necessary.
8896
lt_tmp_lt_search_path_spec=
8897
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8898
for lt_sys_path in $lt_search_path_spec; do
8899
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8900
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8902
test -d "$lt_sys_path" && \
8903
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8906
lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
8907
BEGIN {RS=" "; FS="/|\n";} {
8910
for (lt_i = NF; lt_i > 0; lt_i--) {
8911
if ($lt_i != "" && $lt_i != ".") {
8912
if ($lt_i == "..") {
8915
if (lt_count == 0) {
8916
lt_foo="/" $lt_i lt_foo;
8923
if (lt_foo != "") { lt_freq[lt_foo]++; }
8924
if (lt_freq[lt_foo] == 1) { print lt_foo; }
8926
sys_lib_search_path_spec=`echo $lt_search_path_spec`
8785
8928
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8925
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
8926
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8927
supports_anon_versioning=no
8928
case `$LD -v 2>/dev/null` in
8929
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8930
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8931
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8932
*\ 2.11.*) ;; # other 2.11 versions
8933
*) supports_anon_versioning=yes ;;
8935
if test $supports_anon_versioning = yes; then
8936
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8937
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8938
$echo "local: *; };" >> $output_objdir/$libname.ver~
8939
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8941
$archive_expsym_cmds="$archive_cmds"
8949
9068
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8964
9083
shlibpath_overrides_runpath=yes
8965
9084
shlibpath_var=DYLD_LIBRARY_PATH
8966
9085
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8967
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8968
if test "$GCC" = yes; then
8969
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"`
8971
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
9087
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8973
9088
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8986
9101
dynamic_linker=no
8993
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8994
soname_spec='${libname}${release}${shared_ext}$major'
8995
shlibpath_var=LD_LIBRARY_PATH
8996
shlibpath_overrides_runpath=no
8997
hardcode_into_libs=yes
8998
dynamic_linker='GNU ld.so'
9001
9104
freebsd* | dragonfly*)
9002
9105
# DragonFly does not have aout. When/if they implement a new
9003
9106
# versioning mechanism, adjust this.
9183
9286
# Append ld.so.conf contents to the search path
9184
9287
if test -f /etc/ld.so.conf; then
9185
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' ' '`
9288
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' ' '`
9186
9289
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10369
10466
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10370
10467
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10372
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10469
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10373
10470
# Free Software Foundation, Inc.
10375
10472
# This file is part of GNU Libtool:
10862
10959
objext_CXX=$objext
10864
10961
# Code to be used in simple compile tests
10865
lt_simple_compile_test_code="int some_variable = 0;\n"
10962
lt_simple_compile_test_code="int some_variable = 0;"
10867
10964
# Code to be used in simple link tests
10868
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10965
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10870
10967
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10882
10979
# save warnings/boilerplate of simple test code
10883
10980
ac_outfile=conftest.$ac_objext
10884
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10981
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10885
10982
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10886
10983
_lt_compiler_boilerplate=`cat conftest.err`
10887
10984
$rm conftest*
10889
10986
ac_outfile=conftest.$ac_objext
10890
printf "$lt_simple_link_test_code" >conftest.$ac_ext
10987
echo "$lt_simple_link_test_code" >conftest.$ac_ext
10891
10988
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10892
10989
_lt_linker_boilerplate=`cat conftest.err`
10893
10990
$rm conftest*
11220
11317
} && test -s conftest$ac_exeext &&
11221
11318
$as_test_x conftest$ac_exeext; then
11223
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11320
lt_aix_libpath_sed='
11321
/Import File Strings/,/^$/ {
11327
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11225
11328
# Check for a 64-bit object if we didn't find anything.
11226
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; }
11329
if test -z "$aix_libpath"; then
11330
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11229
11333
echo "$as_me: failed program was:" >&5
11230
11334
sed 's/^/| /' conftest.$ac_ext >&5
11280
11384
} && test -s conftest$ac_exeext &&
11281
11385
$as_test_x conftest$ac_exeext; then
11283
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11387
lt_aix_libpath_sed='
11388
/Import File Strings/,/^$/ {
11394
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11285
11395
# Check for a 64-bit object if we didn't find anything.
11286
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; }
11396
if test -z "$aix_libpath"; then
11397
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11289
11400
echo "$as_me: failed program was:" >&5
11290
11401
sed 's/^/| /' conftest.$ac_ext >&5
11403
11514
case $cc_basename in
11405
11516
output_verbose_link_cmd='echo'
11406
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'
11517
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'
11407
11518
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11408
11519
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11409
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}'
11520
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}'
11410
11521
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}'
11679
11788
# dependencies.
11680
11789
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'
11792
case `$CC -V 2>&1 | sed 5q` in
11795
no_undefined_flag_CXX=' -zdefs'
11796
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11797
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'
11798
hardcode_libdir_flag_spec_CXX='-R$libdir'
11799
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'
11801
# Not sure whether something based on
11802
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11804
output_verbose_link_cmd='echo'
11806
# Archives containing C++ object files must be created using
11807
# "CC -xar", where "CC" is the Sun C++ compiler. This is
11808
# necessary to make sure instantiated templates are included
11810
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11717
11849
ld_shlibs_CXX=no
11720
hardcode_direct_CXX=yes
11721
hardcode_shlibpath_var_CXX=no
11722
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11723
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11724
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11725
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11726
export_dynamic_flag_spec_CXX='${wl}-E'
11727
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11852
if test -f /usr/libexec/ld.so; then
11853
hardcode_direct_CXX=yes
11854
hardcode_shlibpath_var_CXX=no
11855
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11856
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11857
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11858
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11859
export_dynamic_flag_spec_CXX='${wl}-E'
11860
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11862
output_verbose_link_cmd='echo'
11729
output_verbose_link_cmd='echo'
11732
11868
case $cc_basename in
11888
12024
case $host_os in
11889
12025
solaris2.[0-5] | solaris2.[0-5].*) ;;
11891
# The C++ compiler is used as linker so we must use $wl
11892
# flag to pass the commands to the underlying system
11893
# linker. We must also pass each convience library through
11894
# to the system linker between allextract/defaultextract.
11895
# The C++ compiler will combine linker options so we
11896
# cannot just pass the convience library names through
12027
# The compiler driver will combine and reorder linker options,
12028
# but understands `-z linker_flag'.
11898
12029
# Supported since Solaris 2.6 (maybe 2.5.1?)
11899
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'
12030
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11902
12033
link_all_deplibs_CXX=yes
12142
12279
postdeps_CXX=
12283
case `$CC -V 2>&1 | sed 5q` in
12287
# The more standards-conforming stlport4 library is
12288
# incompatible with the Cstd library. Avoid specifying
12289
# it if it's in CXXFLAGS. Ignore libCrun as
12290
# -library=stlport4 depends on it.
12291
case " $CXX $CXXFLAGS " in
12292
*" -library=stlport4 "*)
12293
solaris_use_stlport4=yes
12296
if test "$solaris_use_stlport4" != yes; then
12297
postdeps_CXX='-library=Cstd -library=Crun'
12146
12304
case $cc_basename in
12306
# The more standards-conforming stlport4 library is
12307
# incompatible with the Cstd library. Avoid specifying
12308
# it if it's in CXXFLAGS. Ignore libCrun as
12309
# -library=stlport4 depends on it.
12310
case " $CXX $CXXFLAGS " in
12311
*" -library=stlport4 "*)
12312
solaris_use_stlport4=yes
12148
12316
# Adding this requires a known-good setup of shared libraries for
12149
12317
# Sun compiler versions before 5.6, else PIC objects from an old
12150
12318
# archive will be linked into the output, leading to subtle bugs.
12151
postdeps_CXX='-lCstd -lCrun'
12319
if test "$solaris_use_stlport4" != yes; then
12320
postdeps_CXX='-library=Cstd -library=Crun'
12185
12355
# like `-m68040'.
12186
12356
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12188
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12358
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12189
12359
# PIC is the default for these OSes.
12191
mingw* | os2* | pw32*)
12361
mingw* | cygwin* | os2* | pw32*)
12192
12362
# This hack is so that the source file can tell whether it is being
12193
12363
# built for inclusion in a dll (and should export symbols for example).
12364
# Although the cygwin gcc ignores -fPIC, still need this for old-style
12365
# (--disable-auto-import) libraries
12194
12366
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12196
12368
darwin* | rhapsody*)
12453
12633
lt_prog_compiler_pic_works_CXX=no
12454
12634
ac_outfile=conftest.$ac_objext
12455
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12635
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12456
12636
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12457
12637
# Insert the option either (1) after the last *FLAGS variable, or
12458
12638
# (2) before a word containing "conftest.", or (3) at the end.
12463
12643
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12464
12644
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12465
12645
-e 's:$: $lt_compiler_flag:'`
12466
(eval echo "\"\$as_me:12466: $lt_compile\"" >&5)
12646
(eval echo "\"\$as_me:12646: $lt_compile\"" >&5)
12467
12647
(eval "$lt_compile" 2>conftest.err)
12469
12649
cat conftest.err >&5
12470
echo "$as_me:12470: \$? = $ac_status" >&5
12650
echo "$as_me:12650: \$? = $ac_status" >&5
12471
12651
if (exit $ac_status) && test -s "$ac_outfile"; then
12472
12652
# The compiler can only warn and ignore the option if not recognized
12473
12653
# So say no if there are warnings other than the usual output.
12567
12747
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12568
12748
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12569
12749
-e 's:$: $lt_compiler_flag:'`
12570
(eval echo "\"\$as_me:12570: $lt_compile\"" >&5)
12750
(eval echo "\"\$as_me:12750: $lt_compile\"" >&5)
12571
12751
(eval "$lt_compile" 2>out/conftest.err)
12573
12753
cat out/conftest.err >&5
12574
echo "$as_me:12574: \$? = $ac_status" >&5
12754
echo "$as_me:12754: \$? = $ac_status" >&5
12575
12755
if (exit $ac_status) && test -s out/conftest2.$ac_objext
12577
12757
# The compiler can only warn and ignore the option if not recognized
12726
12906
version_type=none
12727
12907
dynamic_linker="$host_os ld.so"
12728
12908
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12729
if test "$GCC" = yes; then
12730
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12731
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
12732
# if the path contains ";" then we assume it to be the separator
12733
# otherwise default to the standard path separator (i.e. ":") - it is
12734
# assumed that no part of a normal pathname contains ";" but that should
12735
# okay in the real world where ";" in dirpaths is itself problematic.
12736
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12738
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12741
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12743
12910
need_lib_prefix=unknown
12744
12911
hardcode_into_libs=no
12881
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
12882
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12883
supports_anon_versioning=no
12884
case `$LD -v 2>/dev/null` in
12885
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12886
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12887
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12888
*\ 2.11.*) ;; # other 2.11 versions
12889
*) supports_anon_versioning=yes ;;
12891
if test $supports_anon_versioning = yes; then
12892
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
12893
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12894
$echo "local: *; };" >> $output_objdir/$libname.ver~
12895
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12897
$archive_expsym_cmds="$archive_cmds"
12905
13048
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12920
13063
shlibpath_overrides_runpath=yes
12921
13064
shlibpath_var=DYLD_LIBRARY_PATH
12922
13065
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12923
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12924
if test "$GCC" = yes; then
12925
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"`
12927
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
12929
13067
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12942
13080
dynamic_linker=no
12949
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12950
soname_spec='${libname}${release}${shared_ext}$major'
12951
shlibpath_var=LD_LIBRARY_PATH
12952
shlibpath_overrides_runpath=no
12953
hardcode_into_libs=yes
12954
dynamic_linker='GNU ld.so'
12957
13083
freebsd* | dragonfly*)
12958
13084
# DragonFly does not have aout. When/if they implement a new
12959
13085
# versioning mechanism, adjust this.
13139
13265
# Append ld.so.conf contents to the search path
13140
13266
if test -f /etc/ld.so.conf; then
13141
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' ' '`
13267
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' ' '`
13142
13268
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13869
13995
# save warnings/boilerplate of simple test code
13870
13996
ac_outfile=conftest.$ac_objext
13871
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13997
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13872
13998
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13873
13999
_lt_compiler_boilerplate=`cat conftest.err`
13874
14000
$rm conftest*
13876
14002
ac_outfile=conftest.$ac_objext
13877
printf "$lt_simple_link_test_code" >conftest.$ac_ext
14003
echo "$lt_simple_link_test_code" >conftest.$ac_ext
13878
14004
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13879
14005
_lt_linker_boilerplate=`cat conftest.err`
13880
14006
$rm conftest*
13961
14087
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
13964
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14090
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13965
14091
# PIC is the default for these OSes.
13968
mingw* | pw32* | os2*)
14094
mingw* | cygwin* | pw32* | os2*)
13969
14095
# This hack is so that the source file can tell whether it is being
13970
14096
# built for inclusion in a dll (and should export symbols for example).
14097
# Although the cygwin gcc ignores -fPIC, still need this for old-style
14098
# (--disable-auto-import) libraries
13971
14099
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14087
14215
# All Alpha code is PIC.
14088
14216
lt_prog_compiler_static_F77='-non_shared'
14219
case `$CC -V 2>&1 | sed 5q` in
14222
lt_prog_compiler_pic_F77='-KPIC'
14223
lt_prog_compiler_static_F77='-Bstatic'
14224
lt_prog_compiler_wl_F77='-Wl,'
14227
# Sun Fortran 8.3 passes all unrecognized flags to the linker
14228
lt_prog_compiler_pic_F77='-KPIC'
14229
lt_prog_compiler_static_F77='-Bstatic'
14230
lt_prog_compiler_wl_F77=''
14164
14312
lt_prog_compiler_pic_works_F77=no
14165
14313
ac_outfile=conftest.$ac_objext
14166
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14314
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14167
14315
lt_compiler_flag="$lt_prog_compiler_pic_F77"
14168
14316
# Insert the option either (1) after the last *FLAGS variable, or
14169
14317
# (2) before a word containing "conftest.", or (3) at the end.
14174
14322
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14175
14323
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14176
14324
-e 's:$: $lt_compiler_flag:'`
14177
(eval echo "\"\$as_me:14177: $lt_compile\"" >&5)
14325
(eval echo "\"\$as_me:14325: $lt_compile\"" >&5)
14178
14326
(eval "$lt_compile" 2>conftest.err)
14180
14328
cat conftest.err >&5
14181
echo "$as_me:14181: \$? = $ac_status" >&5
14329
echo "$as_me:14329: \$? = $ac_status" >&5
14182
14330
if (exit $ac_status) && test -s "$ac_outfile"; then
14183
14331
# The compiler can only warn and ignore the option if not recognized
14184
14332
# So say no if there are warnings other than the usual output.
14278
14426
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14279
14427
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14280
14428
-e 's:$: $lt_compiler_flag:'`
14281
(eval echo "\"\$as_me:14281: $lt_compile\"" >&5)
14429
(eval echo "\"\$as_me:14429: $lt_compile\"" >&5)
14282
14430
(eval "$lt_compile" 2>out/conftest.err)
14284
14432
cat out/conftest.err >&5
14285
echo "$as_me:14285: \$? = $ac_status" >&5
14433
echo "$as_me:14433: \$? = $ac_status" >&5
14286
14434
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14288
14436
# The compiler can only warn and ignore the option if not recognized
14474
14622
allow_undefined_flag_F77=unsupported
14475
14623
always_export_symbols_F77=no
14476
14624
enable_shared_with_static_runtimes_F77=yes
14477
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14625
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14479
14627
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14480
14628
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14507
14655
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'
14658
gnu* | linux* | k*bsd*-gnu)
14511
14659
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14513
14661
case $cc_basename,$host_cpu in
14525
14673
ifc* | ifort*) # Intel Fortran compiler
14526
14674
tmp_addflag=' -nofor_main' ;;
14528
archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14676
case `$CC -V 2>&1 | sed 5q` in
14677
*Sun\ C*) # Sun C 5.9
14678
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'
14679
tmp_sharedflag='-G' ;;
14680
*Sun\ F*) # Sun Fortran 8.3
14681
tmp_sharedflag='-G' ;;
14683
tmp_sharedflag='-shared' ;;
14685
archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14530
14687
if test $supports_anon_versioning = yes; then
14531
14688
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14532
14689
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14533
14690
$echo "local: *; };" >> $output_objdir/$libname.ver~
14534
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14691
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14537
14694
ld_shlibs_F77=no
14754
14911
} && test -s conftest$ac_exeext &&
14755
14912
$as_test_x conftest$ac_exeext; then
14757
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14914
lt_aix_libpath_sed='
14915
/Import File Strings/,/^$/ {
14921
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14759
14922
# Check for a 64-bit object if we didn't find anything.
14760
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; }
14923
if test -z "$aix_libpath"; then
14924
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14763
14927
echo "$as_me: failed program was:" >&5
14764
14928
sed 's/^/| /' conftest.$ac_ext >&5
14803
14967
} && test -s conftest$ac_exeext &&
14804
14968
$as_test_x conftest$ac_exeext; then
14806
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14970
lt_aix_libpath_sed='
14971
/Import File Strings/,/^$/ {
14977
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14808
14978
# Check for a 64-bit object if we didn't find anything.
14809
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; }
14979
if test -z "$aix_libpath"; then
14980
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14812
14983
echo "$as_me: failed program was:" >&5
14813
14984
sed 's/^/| /' conftest.$ac_ext >&5
14903
15074
case $cc_basename in
14905
15076
output_verbose_link_cmd='echo'
14906
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15077
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14907
15078
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14908
15079
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14909
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}'
15080
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}'
14910
15081
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}'
15071
hardcode_direct_F77=yes
15072
hardcode_shlibpath_var_F77=no
15073
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15074
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15075
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15076
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15077
export_dynamic_flag_spec_F77='${wl}-E'
15242
if test -f /usr/libexec/ld.so; then
15243
hardcode_direct_F77=yes
15244
hardcode_shlibpath_var_F77=no
15245
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15246
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15247
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15248
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15249
export_dynamic_flag_spec_F77='${wl}-E'
15252
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15253
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15254
hardcode_libdir_flag_spec_F77='-R$libdir'
15257
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15258
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15080
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15081
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15082
hardcode_libdir_flag_spec_F77='-R$libdir'
15085
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15086
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15144
15319
case $host_os in
15145
15320
solaris2.[0-5] | solaris2.[0-5].*) ;;
15147
# The compiler driver will combine linker options so we
15148
# cannot just pass the convience library names through
15149
# without $wl, iff we do not link with $LD.
15150
# Luckily, gcc supports the same syntax we need for Sun Studio.
15322
# The compiler driver will combine and reorder linker options,
15323
# but understands `-z linker_flag'. GCC discards it without `$wl',
15324
# but is careful enough not to reorder.
15151
15325
# Supported since Solaris 2.6 (maybe 2.5.1?)
15154
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
15156
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' ;;
15326
if test "$GCC" = yes; then
15327
whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15329
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
15159
15333
link_all_deplibs_F77=yes
15346
15520
version_type=none
15347
15521
dynamic_linker="$host_os ld.so"
15348
15522
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15349
if test "$GCC" = yes; then
15350
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15351
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15352
# if the path contains ";" then we assume it to be the separator
15353
# otherwise default to the standard path separator (i.e. ":") - it is
15354
# assumed that no part of a normal pathname contains ";" but that should
15355
# okay in the real world where ";" in dirpaths is itself problematic.
15356
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15358
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15361
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15363
15524
need_lib_prefix=unknown
15364
15525
hardcode_into_libs=no
15501
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
15502
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15503
supports_anon_versioning=no
15504
case `$LD -v 2>/dev/null` in
15505
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15506
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15507
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15508
*\ 2.11.*) ;; # other 2.11 versions
15509
*) supports_anon_versioning=yes ;;
15511
if test $supports_anon_versioning = yes; then
15512
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
15513
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15514
$echo "local: *; };" >> $output_objdir/$libname.ver~
15515
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15517
$archive_expsym_cmds="$archive_cmds"
15525
15662
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15540
15677
shlibpath_overrides_runpath=yes
15541
15678
shlibpath_var=DYLD_LIBRARY_PATH
15542
15679
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15543
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15544
if test "$GCC" = yes; then
15545
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"`
15547
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15549
15681
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15562
15694
dynamic_linker=no
15569
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15570
soname_spec='${libname}${release}${shared_ext}$major'
15571
shlibpath_var=LD_LIBRARY_PATH
15572
shlibpath_overrides_runpath=no
15573
hardcode_into_libs=yes
15574
dynamic_linker='GNU ld.so'
15577
15697
freebsd* | dragonfly*)
15578
15698
# DragonFly does not have aout. When/if they implement a new
15579
15699
# versioning mechanism, adjust this.
15759
15879
# Append ld.so.conf contents to the search path
15760
15880
if test -f /etc/ld.so.conf; then
15761
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' ' '`
15881
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' ' '`
15762
15882
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16436
16549
objext_GCJ=$objext
16438
16551
# Code to be used in simple compile tests
16439
lt_simple_compile_test_code="class foo {}\n"
16552
lt_simple_compile_test_code="class foo {}"
16441
16554
# Code to be used in simple link tests
16442
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
16555
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
16444
16557
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16456
16569
# save warnings/boilerplate of simple test code
16457
16570
ac_outfile=conftest.$ac_objext
16458
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16571
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16459
16572
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16460
16573
_lt_compiler_boilerplate=`cat conftest.err`
16461
16574
$rm conftest*
16463
16576
ac_outfile=conftest.$ac_objext
16464
printf "$lt_simple_link_test_code" >conftest.$ac_ext
16577
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16465
16578
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16466
16579
_lt_linker_boilerplate=`cat conftest.err`
16467
16580
$rm conftest*
16503
16616
lt_cv_prog_compiler_rtti_exceptions=no
16504
16617
ac_outfile=conftest.$ac_objext
16505
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16618
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16506
16619
lt_compiler_flag="-fno-rtti -fno-exceptions"
16507
16620
# Insert the option either (1) after the last *FLAGS variable, or
16508
16621
# (2) before a word containing "conftest.", or (3) at the end.
16513
16626
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16514
16627
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16515
16628
-e 's:$: $lt_compiler_flag:'`
16516
(eval echo "\"\$as_me:16516: $lt_compile\"" >&5)
16629
(eval echo "\"\$as_me:16629: $lt_compile\"" >&5)
16517
16630
(eval "$lt_compile" 2>conftest.err)
16519
16632
cat conftest.err >&5
16520
echo "$as_me:16520: \$? = $ac_status" >&5
16633
echo "$as_me:16633: \$? = $ac_status" >&5
16521
16634
if (exit $ac_status) && test -s "$ac_outfile"; then
16522
16635
# The compiler can only warn and ignore the option if not recognized
16523
16636
# So say no if there are warnings other than the usual output.
16568
16681
lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16571
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16684
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16572
16685
# PIC is the default for these OSes.
16575
mingw* | pw32* | os2*)
16688
mingw* | cygwin* | pw32* | os2*)
16576
16689
# This hack is so that the source file can tell whether it is being
16577
16690
# built for inclusion in a dll (and should export symbols for example).
16691
# Although the cygwin gcc ignores -fPIC, still need this for old-style
16692
# (--disable-auto-import) libraries
16578
16693
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16694
16809
# All Alpha code is PIC.
16695
16810
lt_prog_compiler_static_GCJ='-non_shared'
16813
case `$CC -V 2>&1 | sed 5q` in
16816
lt_prog_compiler_pic_GCJ='-KPIC'
16817
lt_prog_compiler_static_GCJ='-Bstatic'
16818
lt_prog_compiler_wl_GCJ='-Wl,'
16821
# Sun Fortran 8.3 passes all unrecognized flags to the linker
16822
lt_prog_compiler_pic_GCJ='-KPIC'
16823
lt_prog_compiler_static_GCJ='-Bstatic'
16824
lt_prog_compiler_wl_GCJ=''
16771
16906
lt_prog_compiler_pic_works_GCJ=no
16772
16907
ac_outfile=conftest.$ac_objext
16773
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16908
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16774
16909
lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16775
16910
# Insert the option either (1) after the last *FLAGS variable, or
16776
16911
# (2) before a word containing "conftest.", or (3) at the end.
16781
16916
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16782
16917
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16783
16918
-e 's:$: $lt_compiler_flag:'`
16784
(eval echo "\"\$as_me:16784: $lt_compile\"" >&5)
16919
(eval echo "\"\$as_me:16919: $lt_compile\"" >&5)
16785
16920
(eval "$lt_compile" 2>conftest.err)
16787
16922
cat conftest.err >&5
16788
echo "$as_me:16788: \$? = $ac_status" >&5
16923
echo "$as_me:16923: \$? = $ac_status" >&5
16789
16924
if (exit $ac_status) && test -s "$ac_outfile"; then
16790
16925
# The compiler can only warn and ignore the option if not recognized
16791
16926
# So say no if there are warnings other than the usual output.
16885
17020
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16886
17021
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16887
17022
-e 's:$: $lt_compiler_flag:'`
16888
(eval echo "\"\$as_me:16888: $lt_compile\"" >&5)
17023
(eval echo "\"\$as_me:17023: $lt_compile\"" >&5)
16889
17024
(eval "$lt_compile" 2>out/conftest.err)
16891
17026
cat out/conftest.err >&5
16892
echo "$as_me:16892: \$? = $ac_status" >&5
17027
echo "$as_me:17027: \$? = $ac_status" >&5
16893
17028
if (exit $ac_status) && test -s out/conftest2.$ac_objext
16895
17030
# The compiler can only warn and ignore the option if not recognized
17081
17216
allow_undefined_flag_GCJ=unsupported
17082
17217
always_export_symbols_GCJ=no
17083
17218
enable_shared_with_static_runtimes_GCJ=yes
17084
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17219
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17086
17221
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17087
17222
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17114
17249
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'
17252
gnu* | linux* | k*bsd*-gnu)
17118
17253
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17120
17255
case $cc_basename,$host_cpu in
17132
17267
ifc* | ifort*) # Intel Fortran compiler
17133
17268
tmp_addflag=' -nofor_main' ;;
17135
archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17270
case `$CC -V 2>&1 | sed 5q` in
17271
*Sun\ C*) # Sun C 5.9
17272
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'
17273
tmp_sharedflag='-G' ;;
17274
*Sun\ F*) # Sun Fortran 8.3
17275
tmp_sharedflag='-G' ;;
17277
tmp_sharedflag='-shared' ;;
17279
archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17137
17281
if test $supports_anon_versioning = yes; then
17138
17282
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17139
17283
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17140
17284
$echo "local: *; };" >> $output_objdir/$libname.ver~
17141
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17285
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17144
17288
ld_shlibs_GCJ=no
17371
17515
} && test -s conftest$ac_exeext &&
17372
17516
$as_test_x conftest$ac_exeext; then
17374
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17518
lt_aix_libpath_sed='
17519
/Import File Strings/,/^$/ {
17525
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17376
17526
# Check for a 64-bit object if we didn't find anything.
17377
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; }
17527
if test -z "$aix_libpath"; then
17528
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17380
17531
echo "$as_me: failed program was:" >&5
17381
17532
sed 's/^/| /' conftest.$ac_ext >&5
17430
17581
} && test -s conftest$ac_exeext &&
17431
17582
$as_test_x conftest$ac_exeext; then
17433
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17584
lt_aix_libpath_sed='
17585
/Import File Strings/,/^$/ {
17591
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17435
17592
# Check for a 64-bit object if we didn't find anything.
17436
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; }
17593
if test -z "$aix_libpath"; then
17594
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17439
17597
echo "$as_me: failed program was:" >&5
17440
17598
sed 's/^/| /' conftest.$ac_ext >&5
17530
17688
case $cc_basename in
17532
17690
output_verbose_link_cmd='echo'
17533
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17691
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17534
17692
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17535
17693
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17536
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}'
17694
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}'
17537
17695
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}'
17698
hardcode_direct_GCJ=yes
17699
hardcode_shlibpath_var_GCJ=no
17700
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17701
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17702
archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17703
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17704
export_dynamic_flag_spec_GCJ='${wl}-E'
17856
if test -f /usr/libexec/ld.so; then
17857
hardcode_direct_GCJ=yes
17858
hardcode_shlibpath_var_GCJ=no
17859
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17860
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17861
archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17862
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17863
export_dynamic_flag_spec_GCJ='${wl}-E'
17866
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17867
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17868
hardcode_libdir_flag_spec_GCJ='-R$libdir'
17871
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17872
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17707
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17708
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17709
hardcode_libdir_flag_spec_GCJ='-R$libdir'
17712
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17713
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17771
17933
case $host_os in
17772
17934
solaris2.[0-5] | solaris2.[0-5].*) ;;
17774
# The compiler driver will combine linker options so we
17775
# cannot just pass the convience library names through
17776
# without $wl, iff we do not link with $LD.
17777
# Luckily, gcc supports the same syntax we need for Sun Studio.
17936
# The compiler driver will combine and reorder linker options,
17937
# but understands `-z linker_flag'. GCC discards it without `$wl',
17938
# but is careful enough not to reorder.
17778
17939
# Supported since Solaris 2.6 (maybe 2.5.1?)
17781
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
17783
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' ;;
17940
if test "$GCC" = yes; then
17941
whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17943
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
17786
17947
link_all_deplibs_GCJ=yes
17973
18134
version_type=none
17974
18135
dynamic_linker="$host_os ld.so"
17975
18136
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17976
if test "$GCC" = yes; then
17977
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17978
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17979
# if the path contains ";" then we assume it to be the separator
17980
# otherwise default to the standard path separator (i.e. ":") - it is
17981
# assumed that no part of a normal pathname contains ";" but that should
17982
# okay in the real world where ";" in dirpaths is itself problematic.
17983
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17985
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17988
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17990
18138
need_lib_prefix=unknown
17991
18139
hardcode_into_libs=no
18128
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
18129
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18130
supports_anon_versioning=no
18131
case `$LD -v 2>/dev/null` in
18132
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
18133
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
18134
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
18135
*\ 2.11.*) ;; # other 2.11 versions
18136
*) supports_anon_versioning=yes ;;
18138
if test $supports_anon_versioning = yes; then
18139
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
18140
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18141
$echo "local: *; };" >> $output_objdir/$libname.ver~
18142
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18144
$archive_expsym_cmds="$archive_cmds"
18152
18276
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18167
18291
shlibpath_overrides_runpath=yes
18168
18292
shlibpath_var=DYLD_LIBRARY_PATH
18169
18293
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18170
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18171
if test "$GCC" = yes; then
18172
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"`
18174
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18176
18295
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18189
18308
dynamic_linker=no
18196
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18197
soname_spec='${libname}${release}${shared_ext}$major'
18198
shlibpath_var=LD_LIBRARY_PATH
18199
shlibpath_overrides_runpath=no
18200
hardcode_into_libs=yes
18201
dynamic_linker='GNU ld.so'
18204
18311
freebsd* | dragonfly*)
18205
18312
# DragonFly does not have aout. When/if they implement a new
18206
18313
# versioning mechanism, adjust this.
18386
18493
# Append ld.so.conf contents to the search path
18387
18494
if test -f /etc/ld.so.conf; then
18388
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' ' '`
18495
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' ' '`
18389
18496
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19082
19182
# save warnings/boilerplate of simple test code
19083
19183
ac_outfile=conftest.$ac_objext
19084
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19184
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19085
19185
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19086
19186
_lt_compiler_boilerplate=`cat conftest.err`
19087
19187
$rm conftest*
19089
19189
ac_outfile=conftest.$ac_objext
19090
printf "$lt_simple_link_test_code" >conftest.$ac_ext
19190
echo "$lt_simple_link_test_code" >conftest.$ac_ext
19091
19191
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19092
19192
_lt_linker_boilerplate=`cat conftest.err`
19093
19193
$rm conftest*
20470
GST_CONFIGPATH=`$PKG_CONFIG --variable=includedir gstreamer-0.10`"/gst/gstconfig.h"
20473
grep >/dev/null "#undef GST_DISABLE_GST_DEBUG" $GST_CONFIGPATH
20474
if test $? = 0; then
20475
GST_DISABLE_GST_DEBUG=0
20477
GST_DISABLE_GST_DEBUG=1
20482
grep >/dev/null "#undef GST_DISABLE_LOADSAVE" $GST_CONFIGPATH
20483
if test $? = 0; then
20484
GST_DISABLE_LOADSAVE=0
20486
GST_DISABLE_LOADSAVE=1
20491
grep >/dev/null "#undef GST_DISABLE_PARSE" $GST_CONFIGPATH
20492
if test $? = 0; then
20493
GST_DISABLE_PARSE=0
20495
GST_DISABLE_PARSE=1
20500
grep >/dev/null "#undef GST_DISABLE_TRACE" $GST_CONFIGPATH
20501
if test $? = 0; then
20502
GST_DISABLE_TRACE=0
20504
GST_DISABLE_TRACE=1
20509
grep >/dev/null "#undef GST_DISABLE_ALLOC_TRACE" $GST_CONFIGPATH
20510
if test $? = 0; then
20511
GST_DISABLE_ALLOC_TRACE=0
20513
GST_DISABLE_ALLOC_TRACE=1
20518
grep >/dev/null "#undef GST_DISABLE_REGISTRY" $GST_CONFIGPATH
20519
if test $? = 0; then
20520
GST_DISABLE_REGISTRY=0
20522
GST_DISABLE_REGISTRY=1
20527
grep >/dev/null "#undef GST_DISABLE_ENUMTYPES" $GST_CONFIGPATH
20528
if test $? = 0; then
20529
GST_DISABLE_ENUMTYPES=0
20531
GST_DISABLE_ENUMTYPES=1
20536
grep >/dev/null "#undef GST_DISABLE_INDEX" $GST_CONFIGPATH
20537
if test $? = 0; then
20538
GST_DISABLE_INDEX=0
20540
GST_DISABLE_INDEX=1
20545
grep >/dev/null "#undef GST_DISABLE_PLUGIN" $GST_CONFIGPATH
20546
if test $? = 0; then
20547
GST_DISABLE_PLUGIN=0
20549
GST_DISABLE_PLUGIN=1
20554
grep >/dev/null "#undef GST_DISABLE_URI" $GST_CONFIGPATH
20555
if test $? = 0; then
20563
grep >/dev/null "#undef GST_DISABLE_XML" $GST_CONFIGPATH
20564
if test $? = 0; then
20572
if test $GST_DISABLE_LOADSAVE = "1"; then
20573
{ echo "$as_me:$LINENO: WARNING: \"Load/Save XML persistence disabled\"" >&5
20574
echo "$as_me: WARNING: \"Load/Save XML persistence disabled\"" >&2;}
20575
IGNORE_GST_LOADSAVE="gst-disable-loadsave.ignore"
20577
IGNORE_GST_LOADSAVE=""
20344
20582
pkg_failed=no
20345
20583
{ echo "$as_me:$LINENO: checking for GST_CONTROLLER" >&5
20346
20584
echo $ECHO_N "checking for GST_CONTROLLER... $ECHO_C" >&6; }
22127
22367
IGNORE_GST_0_10_10!$IGNORE_GST_0_10_10$ac_delim
22128
22368
IGNORE_GST_0_10_11!$IGNORE_GST_0_10_11$ac_delim
22129
22369
IGNORE_GST_0_10_12!$IGNORE_GST_0_10_12$ac_delim
22370
IGNORE_GST_0_10_13!$IGNORE_GST_0_10_13$ac_delim
22371
IGNORE_GST_0_10_14!$IGNORE_GST_0_10_14$ac_delim
22130
22372
IGNORE_GST_PB_0_10_11!$IGNORE_GST_PB_0_10_11$ac_delim
22373
IGNORE_GST_PB_0_10_14!$IGNORE_GST_PB_0_10_14$ac_delim
22131
22374
HAVE_VIDEO_ORIENTATION!$HAVE_VIDEO_ORIENTATION$ac_delim
22132
22375
GST_BASE_CFLAGS!$GST_BASE_CFLAGS$ac_delim
22133
22376
GST_BASE_LIBS!$GST_BASE_LIBS$ac_delim
22377
GST_DISABLE_GST_DEBUG!$GST_DISABLE_GST_DEBUG$ac_delim
22378
GST_DISABLE_LOADSAVE!$GST_DISABLE_LOADSAVE$ac_delim
22379
GST_DISABLE_PARSE!$GST_DISABLE_PARSE$ac_delim
22380
GST_DISABLE_TRACE!$GST_DISABLE_TRACE$ac_delim
22381
GST_DISABLE_ALLOC_TRACE!$GST_DISABLE_ALLOC_TRACE$ac_delim
22382
GST_DISABLE_REGISTRY!$GST_DISABLE_REGISTRY$ac_delim
22383
GST_DISABLE_ENUMTYPES!$GST_DISABLE_ENUMTYPES$ac_delim
22384
GST_DISABLE_INDEX!$GST_DISABLE_INDEX$ac_delim
22385
GST_DISABLE_PLUGIN!$GST_DISABLE_PLUGIN$ac_delim
22386
GST_DISABLE_URI!$GST_DISABLE_URI$ac_delim
22387
GST_DISABLE_XML!$GST_DISABLE_XML$ac_delim
22388
IGNORE_GST_LOADSAVE!$IGNORE_GST_LOADSAVE$ac_delim
22134
22389
GST_CONTROLLER_CFLAGS!$GST_CONTROLLER_CFLAGS$ac_delim
22135
22390
GST_CONTROLLER_LIBS!$GST_CONTROLLER_LIBS$ac_delim
22136
22391
GST_NET_CFLAGS!$GST_NET_CFLAGS$ac_delim
22603
22864
# some people rename them; so instead we look at the file content.
22604
22865
# Grep'ing the first line is not enough: some people post-process
22605
22866
# each Makefile.in and add a new line on top of each file to say so.
22606
# So let's grep whole file.
22607
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
22867
# Grep'ing the whole file is not good either: AIX grep has a line
22868
# limit of 2048, but all sed's we know have understand at least 4000.
22869
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
22608
22870
dirpart=`$as_dirname -- "$mf" ||
22609
22871
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22610
22872
X"$mf" : 'X\(//\)[^/]' \| \