1603
1605
test -n "$ac_init_help" && exit $ac_status
1604
1606
if $ac_init_version; then
1606
xf86-video-savage configure 2.1.2
1608
xf86-video-savage configure 2.1.3
1607
1609
generated by GNU Autoconf 2.61
1609
1611
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2158
2161
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2161
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2162
# We used to keeping the `.' as first argument, in order to
2163
# allow $(mkdir_p) to be used without argument. As in
2164
# $(mkdir_p) $(somedir)
2165
# where $(somedir) is conditionally defined. However this is wrong
2167
# 1. if the package is installed by a user who cannot write `.'
2168
# make install will fail,
2169
# 2. the above comment should most certainly read
2170
# $(mkdir_p) $(DESTDIR)$(somedir)
2171
# so it does not work when $(somedir) is undefined and
2172
# $(DESTDIR) is not.
2173
# To support the latter case, we have to write
2174
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2175
# so the `.' trick is pointless.
2176
mkdir_p='mkdir -p --'
2164
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2165
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2166
if test -z "$MKDIR_P"; then
2167
if test "${ac_cv_path_mkdir+set}" = set; then
2168
echo $ECHO_N "(cached) $ECHO_C" >&6
2178
# On NextStep and OpenStep, the `mkdir' command does not
2179
# recognize any option. It will interpret all options as
2180
# directories to create, and then abort because `.' already
2182
for d in ./-p ./--version;
2184
test -d $d && rmdir $d
2186
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2187
if test -f "$ac_aux_dir/mkinstalldirs"; then
2188
mkdir_p='$(mkinstalldirs)'
2170
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2171
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2174
test -z "$as_dir" && as_dir=.
2175
for ac_prog in mkdir gmkdir; do
2176
for ac_exec_ext in '' $ac_executable_extensions; do
2177
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2178
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2179
'mkdir (GNU coreutils) '* | \
2180
'mkdir (coreutils) '* | \
2181
'mkdir (fileutils) '4.1*)
2182
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2192
if test "${ac_cv_path_mkdir+set}" = set; then
2193
MKDIR_P="$ac_cv_path_mkdir -p"
2190
mkdir_p='$(install_sh) -d'
2195
# As a last resort, use the slow shell script. Don't cache a
2196
# value for MKDIR_P within a source directory, because that will
2197
# break other packages using the cache if that directory is
2198
# removed, or if the value is a relative name.
2199
test -d ./--version && rmdir ./--version
2200
MKDIR_P="$ac_install_sh -d"
2203
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2204
echo "${ECHO_T}$MKDIR_P" >&6; }
2208
[\\/$]* | ?:[\\/]*) ;;
2209
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2194
2212
for ac_prog in gawk mawk nawk awk
2273
2291
rmdir .tst 2>/dev/null
2275
# test to see if srcdir already configured
2276
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2277
test -f $srcdir/config.status; then
2278
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2293
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2294
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2295
# is not polluted with repeated "-I."
2296
am__isrc=' -I$(srcdir)'
2297
# test to see if srcdir already configured
2298
if test -f $srcdir/config.status; then
2299
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2279
2300
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2280
2301
{ (exit 1); exit 1; }; }
2283
2305
# test whether we have cygpath
3728
3744
test -z "$as_dir" && as_dir=.
3729
3745
for lt_ac_prog in sed gsed; do
3730
3746
for ac_exec_ext in '' $ac_executable_extensions; do
3731
if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3747
if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3732
3748
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3739
3756
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4129
4147
echo "${ECHO_T}no, using $LN_S" >&6; }
4132
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4133
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4150
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4151
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4134
4152
if test "${lt_cv_deplibs_check_method+set}" = set; then
4135
4153
echo $ECHO_N "(cached) $ECHO_C" >&6
4172
4190
mingw* | pw32*)
4173
4191
# Base MSYS/MinGW do not provide the 'file' command needed by
4174
# func_win32_libid shell function, so use a weaker test based on 'objdump'.
4175
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4176
lt_cv_file_magic_cmd='$OBJDUMP -f'
4192
# func_win32_libid shell function, so use a weaker test based on 'objdump',
4193
# unless we find 'file', for example because we are cross-compiling.
4194
if ( file / ) >/dev/null 2>&1; then
4195
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4196
lt_cv_file_magic_cmd='func_win32_libid'
4198
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4199
lt_cv_file_magic_cmd='$OBJDUMP -f'
4179
4203
darwin* | rhapsody*)
6213
# If test is not a shell built-in, we'll probably end up computing a
6214
# maximum length that is only half of the actual maximum length, but
6216
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6217
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6247
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6248
if test -n "$lt_cv_sys_max_cmd_len"; then
6249
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6250
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6252
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6253
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6218
6254
= "XX$teststring") >/dev/null 2>&1 &&
6219
new_result=`expr "X$teststring" : ".*" 2>&1` &&
6220
lt_cv_sys_max_cmd_len=$new_result &&
6221
test $i != 17 # 1/2 MB should be enough
6224
teststring=$teststring$teststring
6227
# Add a significant safety factor because C++ compilers can tack on massive
6228
# amounts of additional arguments before passing them to the linker.
6229
# It appears as though 1/2 is a usable value.
6230
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6255
new_result=`expr "X$teststring" : ".*" 2>&1` &&
6256
lt_cv_sys_max_cmd_len=$new_result &&
6257
test $i != 17 # 1/2 MB should be enough
6260
teststring=$teststring$teststring
6263
# Add a significant safety factor because C++ compilers can tack on massive
6264
# amounts of additional arguments before passing them to the linker.
6265
# It appears as though 1/2 is a usable value.
6266
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7034
7072
# Code to be used in simple compile tests
7035
lt_simple_compile_test_code="int some_variable = 0;\n"
7073
lt_simple_compile_test_code="int some_variable = 0;"
7037
7075
# Code to be used in simple link tests
7038
lt_simple_link_test_code='int main(){return(0);}\n'
7076
lt_simple_link_test_code='int main(){return(0);}'
7041
7079
# If no C compiler was specified, use CC.
7051
7089
# save warnings/boilerplate of simple test code
7052
7090
ac_outfile=conftest.$ac_objext
7053
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
7091
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7054
7092
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7055
7093
_lt_compiler_boilerplate=`cat conftest.err`
7058
7096
ac_outfile=conftest.$ac_objext
7059
printf "$lt_simple_link_test_code" >conftest.$ac_ext
7097
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7060
7098
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7061
7099
_lt_linker_boilerplate=`cat conftest.err`
7077
7115
lt_cv_prog_compiler_rtti_exceptions=no
7078
7116
ac_outfile=conftest.$ac_objext
7079
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7117
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7080
7118
lt_compiler_flag="-fno-rtti -fno-exceptions"
7081
7119
# Insert the option either (1) after the last *FLAGS variable, or
7082
7120
# (2) before a word containing "conftest.", or (3) at the end.
7087
7125
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7088
7126
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7089
7127
-e 's:$: $lt_compiler_flag:'`
7090
(eval echo "\"\$as_me:7090: $lt_compile\"" >&5)
7128
(eval echo "\"\$as_me:7128: $lt_compile\"" >&5)
7091
7129
(eval "$lt_compile" 2>conftest.err)
7093
7131
cat conftest.err >&5
7094
echo "$as_me:7094: \$? = $ac_status" >&5
7132
echo "$as_me:7132: \$? = $ac_status" >&5
7095
7133
if (exit $ac_status) && test -s "$ac_outfile"; then
7096
7134
# The compiler can only warn and ignore the option if not recognized
7097
7135
# So say no if there are warnings other than the usual output.
7142
7180
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7145
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7183
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7146
7184
# PIC is the default for these OSes.
7149
mingw* | pw32* | os2*)
7187
mingw* | cygwin* | pw32* | os2*)
7150
7188
# This hack is so that the source file can tell whether it is being
7151
7189
# built for inclusion in a dll (and should export symbols for example).
7190
# Although the cygwin gcc ignores -fPIC, still need this for old-style
7191
# (--disable-auto-import) libraries
7152
7192
lt_prog_compiler_pic='-DDLL_EXPORT'
7268
7308
# All Alpha code is PIC.
7269
7309
lt_prog_compiler_static='-non_shared'
7312
case `$CC -V 2>&1 | sed 5q` in
7315
lt_prog_compiler_pic='-KPIC'
7316
lt_prog_compiler_static='-Bstatic'
7317
lt_prog_compiler_wl='-Wl,'
7320
# Sun Fortran 8.3 passes all unrecognized flags to the linker
7321
lt_prog_compiler_pic='-KPIC'
7322
lt_prog_compiler_static='-Bstatic'
7323
lt_prog_compiler_wl=''
7345
7405
lt_prog_compiler_pic_works=no
7346
7406
ac_outfile=conftest.$ac_objext
7347
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7407
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7348
7408
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7349
7409
# Insert the option either (1) after the last *FLAGS variable, or
7350
7410
# (2) before a word containing "conftest.", or (3) at the end.
7355
7415
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7356
7416
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7357
7417
-e 's:$: $lt_compiler_flag:'`
7358
(eval echo "\"\$as_me:7358: $lt_compile\"" >&5)
7418
(eval echo "\"\$as_me:7418: $lt_compile\"" >&5)
7359
7419
(eval "$lt_compile" 2>conftest.err)
7361
7421
cat conftest.err >&5
7362
echo "$as_me:7362: \$? = $ac_status" >&5
7422
echo "$as_me:7422: \$? = $ac_status" >&5
7363
7423
if (exit $ac_status) && test -s "$ac_outfile"; then
7364
7424
# The compiler can only warn and ignore the option if not recognized
7365
7425
# So say no if there are warnings other than the usual output.
7459
7519
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7460
7520
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7461
7521
-e 's:$: $lt_compiler_flag:'`
7462
(eval echo "\"\$as_me:7462: $lt_compile\"" >&5)
7522
(eval echo "\"\$as_me:7522: $lt_compile\"" >&5)
7463
7523
(eval "$lt_compile" 2>out/conftest.err)
7465
7525
cat out/conftest.err >&5
7466
echo "$as_me:7466: \$? = $ac_status" >&5
7526
echo "$as_me:7526: \$? = $ac_status" >&5
7467
7527
if (exit $ac_status) && test -s out/conftest2.$ac_objext
7469
7529
# The compiler can only warn and ignore the option if not recognized
7655
7715
allow_undefined_flag=unsupported
7656
7716
always_export_symbols=no
7657
7717
enable_shared_with_static_runtimes=yes
7658
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7718
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7660
7720
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7661
7721
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7688
7748
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'
7691
linux* | k*bsd*-gnu)
7751
gnu* | linux* | k*bsd*-gnu)
7692
7752
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7694
7754
case $cc_basename,$host_cpu in
7706
7766
ifc* | ifort*) # Intel Fortran compiler
7707
7767
tmp_addflag=' -nofor_main' ;;
7709
archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7769
case `$CC -V 2>&1 | sed 5q` in
7770
*Sun\ C*) # Sun C 5.9
7771
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'
7772
tmp_sharedflag='-G' ;;
7773
*Sun\ F*) # Sun Fortran 8.3
7774
tmp_sharedflag='-G' ;;
7776
tmp_sharedflag='-shared' ;;
7778
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7711
7780
if test $supports_anon_versioning = yes; then
7712
7781
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7713
7782
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7714
7783
$echo "local: *; };" >> $output_objdir/$libname.ver~
7715
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7784
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7717
7786
link_all_deplibs=no
7946
8015
} && test -s conftest$ac_exeext &&
7947
8016
$as_test_x conftest$ac_exeext; then
7949
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8018
lt_aix_libpath_sed='
8019
/Import File Strings/,/^$/ {
8025
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7951
8026
# Check for a 64-bit object if we didn't find anything.
7952
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; }
8027
if test -z "$aix_libpath"; then
8028
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7955
8031
echo "$as_me: failed program was:" >&5
7956
8032
sed 's/^/| /' conftest.$ac_ext >&5
8005
8081
} && test -s conftest$ac_exeext &&
8006
8082
$as_test_x conftest$ac_exeext; then
8008
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8084
lt_aix_libpath_sed='
8085
/Import File Strings/,/^$/ {
8091
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8010
8092
# Check for a 64-bit object if we didn't find anything.
8011
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; }
8093
if test -z "$aix_libpath"; then
8094
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8014
8097
echo "$as_me: failed program was:" >&5
8015
8098
sed 's/^/| /' conftest.$ac_ext >&5
8105
8188
case $cc_basename in
8107
8190
output_verbose_link_cmd='echo'
8108
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8191
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8109
8192
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8110
8193
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8111
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}'
8194
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}'
8112
8195
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}'
8274
hardcode_shlibpath_var=no
8275
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8276
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8277
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8278
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8279
export_dynamic_flag_spec='${wl}-E'
8356
if test -f /usr/libexec/ld.so; then
8358
hardcode_shlibpath_var=no
8359
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8360
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8361
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8362
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8363
export_dynamic_flag_spec='${wl}-E'
8366
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8367
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8368
hardcode_libdir_flag_spec='-R$libdir'
8371
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8372
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8282
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8283
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8284
hardcode_libdir_flag_spec='-R$libdir'
8287
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8288
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8346
8433
case $host_os in
8347
8434
solaris2.[0-5] | solaris2.[0-5].*) ;;
8349
# The compiler driver will combine linker options so we
8350
# cannot just pass the convience library names through
8351
# without $wl, iff we do not link with $LD.
8352
# Luckily, gcc supports the same syntax we need for Sun Studio.
8436
# The compiler driver will combine and reorder linker options,
8437
# but understands `-z linker_flag'. GCC discards it without `$wl',
8438
# but is careful enough not to reorder.
8353
8439
# Supported since Solaris 2.6 (maybe 2.5.1?)
8356
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
8358
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' ;;
8440
if test "$GCC" = yes; then
8441
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8443
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8361
8447
link_all_deplibs=yes
8548
8634
version_type=none
8549
8635
dynamic_linker="$host_os ld.so"
8550
8636
sys_lib_dlsearch_path_spec="/lib /usr/lib"
8551
8638
if test "$GCC" = yes; then
8552
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8553
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8640
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8641
*) lt_awk_arg="/^libraries:/" ;;
8643
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8644
if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
8554
8645
# if the path contains ";" then we assume it to be the separator
8555
8646
# otherwise default to the standard path separator (i.e. ":") - it is
8556
8647
# assumed that no part of a normal pathname contains ";" but that should
8557
8648
# okay in the real world where ";" in dirpaths is itself problematic.
8558
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8649
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8560
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8651
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8653
# Ok, now we have the path, separated by spaces, we can step through it
8654
# and add multilib dir if necessary.
8655
lt_tmp_lt_search_path_spec=
8656
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8657
for lt_sys_path in $lt_search_path_spec; do
8658
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8659
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8661
test -d "$lt_sys_path" && \
8662
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8665
lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
8666
BEGIN {RS=" "; FS="/|\n";} {
8669
for (lt_i = NF; lt_i > 0; lt_i--) {
8670
if ($lt_i != "" && $lt_i != ".") {
8671
if ($lt_i == "..") {
8674
if (lt_count == 0) {
8675
lt_foo="/" $lt_i lt_foo;
8682
if (lt_foo != "") { lt_freq[lt_foo]++; }
8683
if (lt_freq[lt_foo] == 1) { print lt_foo; }
8685
sys_lib_search_path_spec=`echo $lt_search_path_spec`
8563
8687
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8718
8842
shlibpath_overrides_runpath=yes
8719
8843
shlibpath_var=DYLD_LIBRARY_PATH
8720
8844
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8721
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8722
if test "$GCC" = yes; then
8723
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"`
8725
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8846
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8727
8847
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8912
9032
# Append ld.so.conf contents to the search path
8913
9033
if test -f /etc/ld.so.conf; then
8914
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' ' '`
9034
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' ' '`
8915
9035
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10098
10224
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10099
10225
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10101
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10227
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10102
10228
# Free Software Foundation, Inc.
10104
10230
# This file is part of GNU Libtool:
10591
10717
objext_CXX=$objext
10593
10719
# Code to be used in simple compile tests
10594
lt_simple_compile_test_code="int some_variable = 0;\n"
10720
lt_simple_compile_test_code="int some_variable = 0;"
10596
10722
# Code to be used in simple link tests
10597
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10723
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10599
10725
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10611
10737
# save warnings/boilerplate of simple test code
10612
10738
ac_outfile=conftest.$ac_objext
10613
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10739
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10614
10740
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10615
10741
_lt_compiler_boilerplate=`cat conftest.err`
10616
10742
$rm conftest*
10618
10744
ac_outfile=conftest.$ac_objext
10619
printf "$lt_simple_link_test_code" >conftest.$ac_ext
10745
echo "$lt_simple_link_test_code" >conftest.$ac_ext
10620
10746
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10621
10747
_lt_linker_boilerplate=`cat conftest.err`
10622
10748
$rm conftest*
10949
11075
} && test -s conftest$ac_exeext &&
10950
11076
$as_test_x conftest$ac_exeext; then
10952
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11078
lt_aix_libpath_sed='
11079
/Import File Strings/,/^$/ {
11085
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10954
11086
# Check for a 64-bit object if we didn't find anything.
10955
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; }
11087
if test -z "$aix_libpath"; then
11088
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10958
11091
echo "$as_me: failed program was:" >&5
10959
11092
sed 's/^/| /' conftest.$ac_ext >&5
11009
11142
} && test -s conftest$ac_exeext &&
11010
11143
$as_test_x conftest$ac_exeext; then
11012
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11145
lt_aix_libpath_sed='
11146
/Import File Strings/,/^$/ {
11152
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11014
11153
# Check for a 64-bit object if we didn't find anything.
11015
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; }
11154
if test -z "$aix_libpath"; then
11155
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11018
11158
echo "$as_me: failed program was:" >&5
11019
11159
sed 's/^/| /' conftest.$ac_ext >&5
11132
11272
case $cc_basename in
11134
11274
output_verbose_link_cmd='echo'
11135
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'
11275
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'
11136
11276
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11137
11277
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11138
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}'
11278
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}'
11139
11279
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}'
11408
11546
# dependencies.
11409
11547
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'
11550
case `$CC -V 2>&1 | sed 5q` in
11553
no_undefined_flag_CXX=' -zdefs'
11554
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11555
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'
11556
hardcode_libdir_flag_spec_CXX='-R$libdir'
11557
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'
11559
# Not sure whether something based on
11560
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11562
output_verbose_link_cmd='echo'
11564
# Archives containing C++ object files must be created using
11565
# "CC -xar", where "CC" is the Sun C++ compiler. This is
11566
# necessary to make sure instantiated templates are included
11568
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11446
11607
ld_shlibs_CXX=no
11449
hardcode_direct_CXX=yes
11450
hardcode_shlibpath_var_CXX=no
11451
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11452
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11453
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11454
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11455
export_dynamic_flag_spec_CXX='${wl}-E'
11456
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11610
if test -f /usr/libexec/ld.so; then
11611
hardcode_direct_CXX=yes
11612
hardcode_shlibpath_var_CXX=no
11613
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11614
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11615
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11616
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11617
export_dynamic_flag_spec_CXX='${wl}-E'
11618
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11620
output_verbose_link_cmd='echo'
11458
output_verbose_link_cmd='echo'
11461
11626
case $cc_basename in
11617
11782
case $host_os in
11618
11783
solaris2.[0-5] | solaris2.[0-5].*) ;;
11620
# The C++ compiler is used as linker so we must use $wl
11621
# flag to pass the commands to the underlying system
11622
# linker. We must also pass each convience library through
11623
# to the system linker between allextract/defaultextract.
11624
# The C++ compiler will combine linker options so we
11625
# cannot just pass the convience library names through
11785
# The compiler driver will combine and reorder linker options,
11786
# but understands `-z linker_flag'.
11627
11787
# Supported since Solaris 2.6 (maybe 2.5.1?)
11628
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'
11788
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11631
11791
link_all_deplibs_CXX=yes
11871
12037
postdeps_CXX=
12041
case `$CC -V 2>&1 | sed 5q` in
12045
# The more standards-conforming stlport4 library is
12046
# incompatible with the Cstd library. Avoid specifying
12047
# it if it's in CXXFLAGS. Ignore libCrun as
12048
# -library=stlport4 depends on it.
12049
case " $CXX $CXXFLAGS " in
12050
*" -library=stlport4 "*)
12051
solaris_use_stlport4=yes
12054
if test "$solaris_use_stlport4" != yes; then
12055
postdeps_CXX='-library=Cstd -library=Crun'
11875
12062
case $cc_basename in
12064
# The more standards-conforming stlport4 library is
12065
# incompatible with the Cstd library. Avoid specifying
12066
# it if it's in CXXFLAGS. Ignore libCrun as
12067
# -library=stlport4 depends on it.
12068
case " $CXX $CXXFLAGS " in
12069
*" -library=stlport4 "*)
12070
solaris_use_stlport4=yes
11877
12074
# Adding this requires a known-good setup of shared libraries for
11878
12075
# Sun compiler versions before 5.6, else PIC objects from an old
11879
12076
# archive will be linked into the output, leading to subtle bugs.
11880
postdeps_CXX='-lCstd -lCrun'
12077
if test "$solaris_use_stlport4" != yes; then
12078
postdeps_CXX='-library=Cstd -library=Crun'
11914
12113
# like `-m68040'.
11915
12114
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
11917
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12116
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11918
12117
# PIC is the default for these OSes.
11920
mingw* | os2* | pw32*)
12119
mingw* | cygwin* | os2* | pw32*)
11921
12120
# This hack is so that the source file can tell whether it is being
11922
12121
# built for inclusion in a dll (and should export symbols for example).
12122
# Although the cygwin gcc ignores -fPIC, still need this for old-style
12123
# (--disable-auto-import) libraries
11923
12124
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
11925
12126
darwin* | rhapsody*)
12182
12391
lt_prog_compiler_pic_works_CXX=no
12183
12392
ac_outfile=conftest.$ac_objext
12184
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12393
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12185
12394
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12186
12395
# Insert the option either (1) after the last *FLAGS variable, or
12187
12396
# (2) before a word containing "conftest.", or (3) at the end.
12192
12401
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12193
12402
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12194
12403
-e 's:$: $lt_compiler_flag:'`
12195
(eval echo "\"\$as_me:12195: $lt_compile\"" >&5)
12404
(eval echo "\"\$as_me:12404: $lt_compile\"" >&5)
12196
12405
(eval "$lt_compile" 2>conftest.err)
12198
12407
cat conftest.err >&5
12199
echo "$as_me:12199: \$? = $ac_status" >&5
12408
echo "$as_me:12408: \$? = $ac_status" >&5
12200
12409
if (exit $ac_status) && test -s "$ac_outfile"; then
12201
12410
# The compiler can only warn and ignore the option if not recognized
12202
12411
# So say no if there are warnings other than the usual output.
12296
12505
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12297
12506
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12298
12507
-e 's:$: $lt_compiler_flag:'`
12299
(eval echo "\"\$as_me:12299: $lt_compile\"" >&5)
12508
(eval echo "\"\$as_me:12508: $lt_compile\"" >&5)
12300
12509
(eval "$lt_compile" 2>out/conftest.err)
12302
12511
cat out/conftest.err >&5
12303
echo "$as_me:12303: \$? = $ac_status" >&5
12512
echo "$as_me:12512: \$? = $ac_status" >&5
12304
12513
if (exit $ac_status) && test -s out/conftest2.$ac_objext
12306
12515
# The compiler can only warn and ignore the option if not recognized
12458
12667
version_type=none
12459
12668
dynamic_linker="$host_os ld.so"
12460
12669
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12461
if test "$GCC" = yes; then
12462
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12463
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
12464
# if the path contains ";" then we assume it to be the separator
12465
# otherwise default to the standard path separator (i.e. ":") - it is
12466
# assumed that no part of a normal pathname contains ";" but that should
12467
# okay in the real world where ";" in dirpaths is itself problematic.
12468
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12470
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12473
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12475
12671
need_lib_prefix=unknown
12476
12672
hardcode_into_libs=no
12628
12824
shlibpath_overrides_runpath=yes
12629
12825
shlibpath_var=DYLD_LIBRARY_PATH
12630
12826
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12631
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12632
if test "$GCC" = yes; then
12633
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"`
12635
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
12637
12828
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12822
13013
# Append ld.so.conf contents to the search path
12823
13014
if test -f /etc/ld.so.conf; then
12824
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' ' '`
13015
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' ' '`
12825
13016
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13552
13755
# save warnings/boilerplate of simple test code
13553
13756
ac_outfile=conftest.$ac_objext
13554
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13757
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13555
13758
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13556
13759
_lt_compiler_boilerplate=`cat conftest.err`
13557
13760
$rm conftest*
13559
13762
ac_outfile=conftest.$ac_objext
13560
printf "$lt_simple_link_test_code" >conftest.$ac_ext
13763
echo "$lt_simple_link_test_code" >conftest.$ac_ext
13561
13764
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13562
13765
_lt_linker_boilerplate=`cat conftest.err`
13563
13766
$rm conftest*
13644
13847
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
13647
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13850
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13648
13851
# PIC is the default for these OSes.
13651
mingw* | pw32* | os2*)
13854
mingw* | cygwin* | pw32* | os2*)
13652
13855
# This hack is so that the source file can tell whether it is being
13653
13856
# built for inclusion in a dll (and should export symbols for example).
13857
# Although the cygwin gcc ignores -fPIC, still need this for old-style
13858
# (--disable-auto-import) libraries
13654
13859
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13770
13975
# All Alpha code is PIC.
13771
13976
lt_prog_compiler_static_F77='-non_shared'
13979
case `$CC -V 2>&1 | sed 5q` in
13982
lt_prog_compiler_pic_F77='-KPIC'
13983
lt_prog_compiler_static_F77='-Bstatic'
13984
lt_prog_compiler_wl_F77='-Wl,'
13987
# Sun Fortran 8.3 passes all unrecognized flags to the linker
13988
lt_prog_compiler_pic_F77='-KPIC'
13989
lt_prog_compiler_static_F77='-Bstatic'
13990
lt_prog_compiler_wl_F77=''
13847
14072
lt_prog_compiler_pic_works_F77=no
13848
14073
ac_outfile=conftest.$ac_objext
13849
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14074
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13850
14075
lt_compiler_flag="$lt_prog_compiler_pic_F77"
13851
14076
# Insert the option either (1) after the last *FLAGS variable, or
13852
14077
# (2) before a word containing "conftest.", or (3) at the end.
13857
14082
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13858
14083
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13859
14084
-e 's:$: $lt_compiler_flag:'`
13860
(eval echo "\"\$as_me:13860: $lt_compile\"" >&5)
14085
(eval echo "\"\$as_me:14085: $lt_compile\"" >&5)
13861
14086
(eval "$lt_compile" 2>conftest.err)
13863
14088
cat conftest.err >&5
13864
echo "$as_me:13864: \$? = $ac_status" >&5
14089
echo "$as_me:14089: \$? = $ac_status" >&5
13865
14090
if (exit $ac_status) && test -s "$ac_outfile"; then
13866
14091
# The compiler can only warn and ignore the option if not recognized
13867
14092
# So say no if there are warnings other than the usual output.
13961
14186
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13962
14187
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13963
14188
-e 's:$: $lt_compiler_flag:'`
13964
(eval echo "\"\$as_me:13964: $lt_compile\"" >&5)
14189
(eval echo "\"\$as_me:14189: $lt_compile\"" >&5)
13965
14190
(eval "$lt_compile" 2>out/conftest.err)
13967
14192
cat out/conftest.err >&5
13968
echo "$as_me:13968: \$? = $ac_status" >&5
14193
echo "$as_me:14193: \$? = $ac_status" >&5
13969
14194
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13971
14196
# The compiler can only warn and ignore the option if not recognized
14157
14382
allow_undefined_flag_F77=unsupported
14158
14383
always_export_symbols_F77=no
14159
14384
enable_shared_with_static_runtimes_F77=yes
14160
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14385
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14162
14387
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14163
14388
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14190
14415
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'
14193
linux* | k*bsd*-gnu)
14418
gnu* | linux* | k*bsd*-gnu)
14194
14419
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14196
14421
case $cc_basename,$host_cpu in
14208
14433
ifc* | ifort*) # Intel Fortran compiler
14209
14434
tmp_addflag=' -nofor_main' ;;
14211
archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14436
case `$CC -V 2>&1 | sed 5q` in
14437
*Sun\ C*) # Sun C 5.9
14438
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'
14439
tmp_sharedflag='-G' ;;
14440
*Sun\ F*) # Sun Fortran 8.3
14441
tmp_sharedflag='-G' ;;
14443
tmp_sharedflag='-shared' ;;
14445
archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14213
14447
if test $supports_anon_versioning = yes; then
14214
14448
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14215
14449
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14216
14450
$echo "local: *; };" >> $output_objdir/$libname.ver~
14217
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14451
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14219
14453
link_all_deplibs_F77=no
14438
14672
} && test -s conftest$ac_exeext &&
14439
14673
$as_test_x conftest$ac_exeext; then
14441
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14675
lt_aix_libpath_sed='
14676
/Import File Strings/,/^$/ {
14682
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14443
14683
# Check for a 64-bit object if we didn't find anything.
14444
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; }
14684
if test -z "$aix_libpath"; then
14685
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14447
14688
echo "$as_me: failed program was:" >&5
14448
14689
sed 's/^/| /' conftest.$ac_ext >&5
14487
14728
} && test -s conftest$ac_exeext &&
14488
14729
$as_test_x conftest$ac_exeext; then
14490
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14731
lt_aix_libpath_sed='
14732
/Import File Strings/,/^$/ {
14738
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14492
14739
# Check for a 64-bit object if we didn't find anything.
14493
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; }
14740
if test -z "$aix_libpath"; then
14741
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14496
14744
echo "$as_me: failed program was:" >&5
14497
14745
sed 's/^/| /' conftest.$ac_ext >&5
14587
14835
case $cc_basename in
14589
14837
output_verbose_link_cmd='echo'
14590
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14838
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14591
14839
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14592
14840
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14593
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}'
14841
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}'
14594
14842
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}'
14755
hardcode_direct_F77=yes
14756
hardcode_shlibpath_var_F77=no
14757
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14758
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14759
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14760
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14761
export_dynamic_flag_spec_F77='${wl}-E'
15003
if test -f /usr/libexec/ld.so; then
15004
hardcode_direct_F77=yes
15005
hardcode_shlibpath_var_F77=no
15006
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15007
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15008
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15009
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15010
export_dynamic_flag_spec_F77='${wl}-E'
15013
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15014
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15015
hardcode_libdir_flag_spec_F77='-R$libdir'
15018
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15019
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14764
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14765
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14766
hardcode_libdir_flag_spec_F77='-R$libdir'
14769
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14770
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14828
15080
case $host_os in
14829
15081
solaris2.[0-5] | solaris2.[0-5].*) ;;
14831
# The compiler driver will combine linker options so we
14832
# cannot just pass the convience library names through
14833
# without $wl, iff we do not link with $LD.
14834
# Luckily, gcc supports the same syntax we need for Sun Studio.
15083
# The compiler driver will combine and reorder linker options,
15084
# but understands `-z linker_flag'. GCC discards it without `$wl',
15085
# but is careful enough not to reorder.
14835
15086
# Supported since Solaris 2.6 (maybe 2.5.1?)
14838
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
14840
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' ;;
15087
if test "$GCC" = yes; then
15088
whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15090
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
14843
15094
link_all_deplibs_F77=yes
15030
15281
version_type=none
15031
15282
dynamic_linker="$host_os ld.so"
15032
15283
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15033
if test "$GCC" = yes; then
15034
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15035
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15036
# if the path contains ";" then we assume it to be the separator
15037
# otherwise default to the standard path separator (i.e. ":") - it is
15038
# assumed that no part of a normal pathname contains ";" but that should
15039
# okay in the real world where ";" in dirpaths is itself problematic.
15040
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15042
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15045
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15047
15285
need_lib_prefix=unknown
15048
15286
hardcode_into_libs=no
15200
15438
shlibpath_overrides_runpath=yes
15201
15439
shlibpath_var=DYLD_LIBRARY_PATH
15202
15440
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15203
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15204
if test "$GCC" = yes; then
15205
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"`
15207
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15209
15442
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15394
15627
# Append ld.so.conf contents to the search path
15395
15628
if test -f /etc/ld.so.conf; then
15396
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' ' '`
15629
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' ' '`
15397
15630
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16071
16309
objext_GCJ=$objext
16073
16311
# Code to be used in simple compile tests
16074
lt_simple_compile_test_code="class foo {}\n"
16312
lt_simple_compile_test_code="class foo {}"
16076
16314
# Code to be used in simple link tests
16077
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
16315
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
16079
16317
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16091
16329
# save warnings/boilerplate of simple test code
16092
16330
ac_outfile=conftest.$ac_objext
16093
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16331
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16094
16332
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16095
16333
_lt_compiler_boilerplate=`cat conftest.err`
16096
16334
$rm conftest*
16098
16336
ac_outfile=conftest.$ac_objext
16099
printf "$lt_simple_link_test_code" >conftest.$ac_ext
16337
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16100
16338
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16101
16339
_lt_linker_boilerplate=`cat conftest.err`
16102
16340
$rm conftest*
16138
16376
lt_cv_prog_compiler_rtti_exceptions=no
16139
16377
ac_outfile=conftest.$ac_objext
16140
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16378
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16141
16379
lt_compiler_flag="-fno-rtti -fno-exceptions"
16142
16380
# Insert the option either (1) after the last *FLAGS variable, or
16143
16381
# (2) before a word containing "conftest.", or (3) at the end.
16148
16386
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16149
16387
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16150
16388
-e 's:$: $lt_compiler_flag:'`
16151
(eval echo "\"\$as_me:16151: $lt_compile\"" >&5)
16389
(eval echo "\"\$as_me:16389: $lt_compile\"" >&5)
16152
16390
(eval "$lt_compile" 2>conftest.err)
16154
16392
cat conftest.err >&5
16155
echo "$as_me:16155: \$? = $ac_status" >&5
16393
echo "$as_me:16393: \$? = $ac_status" >&5
16156
16394
if (exit $ac_status) && test -s "$ac_outfile"; then
16157
16395
# The compiler can only warn and ignore the option if not recognized
16158
16396
# So say no if there are warnings other than the usual output.
16203
16441
lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16206
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16444
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16207
16445
# PIC is the default for these OSes.
16210
mingw* | pw32* | os2*)
16448
mingw* | cygwin* | pw32* | os2*)
16211
16449
# This hack is so that the source file can tell whether it is being
16212
16450
# built for inclusion in a dll (and should export symbols for example).
16451
# Although the cygwin gcc ignores -fPIC, still need this for old-style
16452
# (--disable-auto-import) libraries
16213
16453
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16329
16569
# All Alpha code is PIC.
16330
16570
lt_prog_compiler_static_GCJ='-non_shared'
16573
case `$CC -V 2>&1 | sed 5q` in
16576
lt_prog_compiler_pic_GCJ='-KPIC'
16577
lt_prog_compiler_static_GCJ='-Bstatic'
16578
lt_prog_compiler_wl_GCJ='-Wl,'
16581
# Sun Fortran 8.3 passes all unrecognized flags to the linker
16582
lt_prog_compiler_pic_GCJ='-KPIC'
16583
lt_prog_compiler_static_GCJ='-Bstatic'
16584
lt_prog_compiler_wl_GCJ=''
16406
16666
lt_prog_compiler_pic_works_GCJ=no
16407
16667
ac_outfile=conftest.$ac_objext
16408
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16668
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16409
16669
lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16410
16670
# Insert the option either (1) after the last *FLAGS variable, or
16411
16671
# (2) before a word containing "conftest.", or (3) at the end.
16416
16676
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16417
16677
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16418
16678
-e 's:$: $lt_compiler_flag:'`
16419
(eval echo "\"\$as_me:16419: $lt_compile\"" >&5)
16679
(eval echo "\"\$as_me:16679: $lt_compile\"" >&5)
16420
16680
(eval "$lt_compile" 2>conftest.err)
16422
16682
cat conftest.err >&5
16423
echo "$as_me:16423: \$? = $ac_status" >&5
16683
echo "$as_me:16683: \$? = $ac_status" >&5
16424
16684
if (exit $ac_status) && test -s "$ac_outfile"; then
16425
16685
# The compiler can only warn and ignore the option if not recognized
16426
16686
# So say no if there are warnings other than the usual output.
16520
16780
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16521
16781
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16522
16782
-e 's:$: $lt_compiler_flag:'`
16523
(eval echo "\"\$as_me:16523: $lt_compile\"" >&5)
16783
(eval echo "\"\$as_me:16783: $lt_compile\"" >&5)
16524
16784
(eval "$lt_compile" 2>out/conftest.err)
16526
16786
cat out/conftest.err >&5
16527
echo "$as_me:16527: \$? = $ac_status" >&5
16787
echo "$as_me:16787: \$? = $ac_status" >&5
16528
16788
if (exit $ac_status) && test -s out/conftest2.$ac_objext
16530
16790
# The compiler can only warn and ignore the option if not recognized
16716
16976
allow_undefined_flag_GCJ=unsupported
16717
16977
always_export_symbols_GCJ=no
16718
16978
enable_shared_with_static_runtimes_GCJ=yes
16719
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16979
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16721
16981
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16722
16982
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16749
17009
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'
16752
linux* | k*bsd*-gnu)
17012
gnu* | linux* | k*bsd*-gnu)
16753
17013
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16755
17015
case $cc_basename,$host_cpu in
16767
17027
ifc* | ifort*) # Intel Fortran compiler
16768
17028
tmp_addflag=' -nofor_main' ;;
16770
archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17030
case `$CC -V 2>&1 | sed 5q` in
17031
*Sun\ C*) # Sun C 5.9
17032
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'
17033
tmp_sharedflag='-G' ;;
17034
*Sun\ F*) # Sun Fortran 8.3
17035
tmp_sharedflag='-G' ;;
17037
tmp_sharedflag='-shared' ;;
17039
archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16772
17041
if test $supports_anon_versioning = yes; then
16773
17042
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16774
17043
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16775
17044
$echo "local: *; };" >> $output_objdir/$libname.ver~
16776
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17045
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16778
17047
link_all_deplibs_GCJ=no
17007
17276
} && test -s conftest$ac_exeext &&
17008
17277
$as_test_x conftest$ac_exeext; then
17010
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17279
lt_aix_libpath_sed='
17280
/Import File Strings/,/^$/ {
17286
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17012
17287
# Check for a 64-bit object if we didn't find anything.
17013
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; }
17288
if test -z "$aix_libpath"; then
17289
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17016
17292
echo "$as_me: failed program was:" >&5
17017
17293
sed 's/^/| /' conftest.$ac_ext >&5
17066
17342
} && test -s conftest$ac_exeext &&
17067
17343
$as_test_x conftest$ac_exeext; then
17069
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17345
lt_aix_libpath_sed='
17346
/Import File Strings/,/^$/ {
17352
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17071
17353
# Check for a 64-bit object if we didn't find anything.
17072
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; }
17354
if test -z "$aix_libpath"; then
17355
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17075
17358
echo "$as_me: failed program was:" >&5
17076
17359
sed 's/^/| /' conftest.$ac_ext >&5
17166
17449
case $cc_basename in
17168
17451
output_verbose_link_cmd='echo'
17169
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17452
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17170
17453
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17171
17454
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17172
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}'
17455
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}'
17173
17456
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}'
17334
hardcode_direct_GCJ=yes
17335
hardcode_shlibpath_var_GCJ=no
17336
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17337
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17338
archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17339
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17340
export_dynamic_flag_spec_GCJ='${wl}-E'
17617
if test -f /usr/libexec/ld.so; then
17618
hardcode_direct_GCJ=yes
17619
hardcode_shlibpath_var_GCJ=no
17620
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17621
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17622
archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17623
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17624
export_dynamic_flag_spec_GCJ='${wl}-E'
17627
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17628
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17629
hardcode_libdir_flag_spec_GCJ='-R$libdir'
17632
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17633
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17343
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17344
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17345
hardcode_libdir_flag_spec_GCJ='-R$libdir'
17348
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17349
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17407
17694
case $host_os in
17408
17695
solaris2.[0-5] | solaris2.[0-5].*) ;;
17410
# The compiler driver will combine linker options so we
17411
# cannot just pass the convience library names through
17412
# without $wl, iff we do not link with $LD.
17413
# Luckily, gcc supports the same syntax we need for Sun Studio.
17697
# The compiler driver will combine and reorder linker options,
17698
# but understands `-z linker_flag'. GCC discards it without `$wl',
17699
# but is careful enough not to reorder.
17414
17700
# Supported since Solaris 2.6 (maybe 2.5.1?)
17417
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
17419
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' ;;
17701
if test "$GCC" = yes; then
17702
whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17704
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
17422
17708
link_all_deplibs_GCJ=yes
17609
17895
version_type=none
17610
17896
dynamic_linker="$host_os ld.so"
17611
17897
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17612
if test "$GCC" = yes; then
17613
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17614
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17615
# if the path contains ";" then we assume it to be the separator
17616
# otherwise default to the standard path separator (i.e. ":") - it is
17617
# assumed that no part of a normal pathname contains ";" but that should
17618
# okay in the real world where ";" in dirpaths is itself problematic.
17619
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17621
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17624
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17626
17899
need_lib_prefix=unknown
17627
17900
hardcode_into_libs=no
17779
18052
shlibpath_overrides_runpath=yes
17780
18053
shlibpath_var=DYLD_LIBRARY_PATH
17781
18054
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17782
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17783
if test "$GCC" = yes; then
17784
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"`
17786
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17788
18056
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17973
18241
# Append ld.so.conf contents to the search path
17974
18242
if test -f /etc/ld.so.conf; then
17975
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' ' '`
18243
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' ' '`
17976
18244
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18669
18942
# save warnings/boilerplate of simple test code
18670
18943
ac_outfile=conftest.$ac_objext
18671
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18944
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18672
18945
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18673
18946
_lt_compiler_boilerplate=`cat conftest.err`
18674
18947
$rm conftest*
18676
18949
ac_outfile=conftest.$ac_objext
18677
printf "$lt_simple_link_test_code" >conftest.$ac_ext
18950
echo "$lt_simple_link_test_code" >conftest.$ac_ext
18678
18951
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18679
18952
_lt_linker_boilerplate=`cat conftest.err`
18680
18953
$rm conftest*
20423
20696
and XORG_LIBS to avoid the need to call pkg-config.
20424
20697
See the pkg-config man page for more details.
20426
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20699
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20427
20700
See \`config.log' for more details." >&5
20428
20701
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
20429
20702
is in your PATH or set the PKG_CONFIG environment variable to the full
20817
21088
and DRI_LIBS to avoid the need to call pkg-config.
20818
21089
See the pkg-config man page for more details.
20820
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
21091
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20821
21092
See \`config.log' for more details." >&5
20822
21093
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
20823
21094
is in your PATH or set the PKG_CONFIG environment variable to the full
21735
22009
CXX!$CXX$ac_delim
21736
22010
CXXFLAGS!$CXXFLAGS$ac_delim
21737
22011
ac_ct_CXX!$ac_ct_CXX$ac_delim
22014
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22016
elif $ac_last_try; then
22017
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22018
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22019
{ (exit 1); exit 1; }; }
22021
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22025
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22026
if test -n "$ac_eof"; then
22027
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22028
ac_eof=`expr $ac_eof + 1`
22031
cat >>$CONFIG_STATUS <<_ACEOF
22032
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22033
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22036
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22037
s/^/s,@/; s/!/@,|#_!!_#|/
22040
s/'"$ac_delim"'$/,g/; t
22042
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22043
' >>$CONFIG_STATUS <conf$$subs.sed
22044
rm -f conf$$subs.sed
22045
cat >>$CONFIG_STATUS <<_ACEOF
22051
for ac_last_try in false false false false false :; do
22052
cat >conf$$subs.sed <<_ACEOF
21738
22053
CXXDEPMODE!$CXXDEPMODE$ac_delim
21739
22054
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21742
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21744
elif $ac_last_try; then
21745
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21746
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21747
{ (exit 1); exit 1; }; }
21749
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21753
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21754
if test -n "$ac_eof"; then
21755
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21756
ac_eof=`expr $ac_eof + 1`
21759
cat >>$CONFIG_STATUS <<_ACEOF
21760
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21761
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21764
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21765
s/^/s,@/; s/!/@,|#_!!_#|/
21768
s/'"$ac_delim"'$/,g/; t
21770
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21771
' >>$CONFIG_STATUS <conf$$subs.sed
21772
rm -f conf$$subs.sed
21773
cat >>$CONFIG_STATUS <<_ACEOF
21779
for ac_last_try in false false false false false :; do
21780
cat >conf$$subs.sed <<_ACEOF
21781
22055
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21782
22056
CXXCPP!$CXXCPP$ac_delim
21783
22057
F77!$F77$ac_delim
22253
22533
# some people rename them; so instead we look at the file content.
22254
22534
# Grep'ing the first line is not enough: some people post-process
22255
22535
# each Makefile.in and add a new line on top of each file to say so.
22256
# So let's grep whole file.
22257
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
22536
# Grep'ing the whole file is not good either: AIX grep has a line
22537
# limit of 2048, but all sed's we know have understand at least 4000.
22538
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
22258
22539
dirpart=`$as_dirname -- "$mf" ||
22259
22540
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22260
22541
X"$mf" : 'X\(//\)[^/]' \| \