Deleted Added
full compact
3c3
< # Generated by GNU Autoconf 2.61 for file 5.00.
---
> # Generated by GNU Autoconf 2.61 for file 5.03.
598,599c598,599
< if (echo_test_string="`eval $cmd`") 2>/dev/null &&
< echo_test_string="`eval $cmd`" &&
---
> if (echo_test_string=`eval $cmd`) 2>/dev/null &&
> echo_test_string=`eval $cmd` &&
731,732c731,732
< PACKAGE_VERSION='5.00'
< PACKAGE_STRING='file 5.00'
---
> PACKAGE_VERSION='5.03'
> PACKAGE_STRING='file 5.03'
829a830
> pkgdatadir
858a860
> SED
863a866,867
> DSYMUTIL
> NMEDIT
1398c1402
< \`configure' configures file 5.00 to adapt to many kinds of systems.
---
> \`configure' configures file 5.03 to adapt to many kinds of systems.
1468c1472
< short | recursive ) echo "Configuration of file 5.00:";;
---
> short | recursive ) echo "Configuration of file 5.03:";;
1575c1579
< file configure 5.00
---
> file configure 5.03
1589c1593
< It was created by file $as_me 5.00, which was
---
> It was created by file $as_me 5.03, which was
2279c2283
< VERSION='5.00'
---
> VERSION='5.03'
2426a2431
> #AC_CONFIG_MACRO_DIR([m4])
2510a2516
> pkgdatadir='$(datadir)/misc'
2511a2518
>
4004c4011
< if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
---
> if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4009a4017
> IFS=$as_save_IFS
4043a4052
>
4267c4276
< # but apparently some GNU ld's only accept -v.
---
> # but apparently some variants of GNU ld only accept -v.
4301c4310
< # I'd rather use --version here, but apparently some GNU ld's only accept -v.
---
> # I'd rather use --version here, but apparently some GNU lds only accept -v.
4334c4343
< reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
---
> reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4350,4368c4359,4376
< lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
< for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
< IFS="$lt_save_ifs"
< test -z "$ac_dir" && ac_dir=.
< tmp_nm="$ac_dir/${ac_tool_prefix}nm"
< if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
< # Check to see if the nm accepts a BSD-compat flag.
< # Adding the `sed 1q' prevents false positives on HP-UX, which says:
< # nm: unknown option "B" ignored
< # Tru64's nm complains that /dev/null is an invalid object file
< case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
< */dev/null* | *'Invalid file or object type'*)
< lt_cv_path_NM="$tmp_nm -B"
< break
< ;;
< *)
< case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
< */dev/null*)
< lt_cv_path_NM="$tmp_nm -p"
---
> lt_nm_to_check="${ac_tool_prefix}nm"
> if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
> lt_nm_to_check="$lt_nm_to_check nm"
> fi
> for lt_tmp_nm in $lt_nm_to_check; do
> lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
> for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
> IFS="$lt_save_ifs"
> test -z "$ac_dir" && ac_dir=.
> tmp_nm="$ac_dir/$lt_tmp_nm"
> if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
> # Check to see if the nm accepts a BSD-compat flag.
> # Adding the `sed 1q' prevents false positives on HP-UX, which says:
> # nm: unknown option "B" ignored
> # Tru64's nm complains that /dev/null is an invalid object file
> case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
> */dev/null* | *'Invalid file or object type'*)
> lt_cv_path_NM="$tmp_nm -B"
4372,4373c4380,4389
< lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
< continue # so that we can try to find one that supports BSD flags
---
> case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
> */dev/null*)
> lt_cv_path_NM="$tmp_nm -p"
> break
> ;;
> *)
> lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
> continue # so that we can try to find one that supports BSD flags
> ;;
> esac
4376,4377c4392,4394
< esac
< fi
---
> fi
> done
> IFS="$lt_save_ifs"
4379d4395
< IFS="$lt_save_ifs"
4387,4388c4403,4404
< { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
< echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
---
> { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
> echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4407c4423
< aix4* | aix5*)
---
> aix[4-9]*)
4429,4431c4445,4453
< # func_win32_libid shell function, so use a weaker test based on 'objdump'.
< lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
< lt_cv_file_magic_cmd='$OBJDUMP -f'
---
> # func_win32_libid shell function, so use a weaker test based on 'objdump',
> # unless we find 'file', for example because we are cross-compiling.
> if ( file / ) >/dev/null 2>&1; then
> lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
> lt_cv_file_magic_cmd='func_win32_libid'
> else
> lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
> lt_cv_file_magic_cmd='$OBJDUMP -f'
> fi
4438c4460
< freebsd* | kfreebsd*-gnu | dragonfly*)
---
> freebsd* | dragonfly*)
4460c4482
< case "$host_cpu" in
---
> case $host_cpu in
4475a4498,4502
> interix[3-9]*)
> # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
> lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
> ;;
>
4487c4514
< linux*)
---
> linux* | k*bsd*-gnu)
4521c4548
< sco3.2v5*)
---
> rdos*)
4529c4556
< sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
---
> sysv4 | sysv4.3*)
4549a4577,4579
> pc)
> lt_cv_deplibs_check_method=pass_all
> ;;
4553c4583
< sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
---
> sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4570a4601,4603
> # If no C compiler flags were specified, use CFLAGS.
> LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
>
4606c4639
< echo '#line 4606 "configure"' > conftest.$ac_ext
---
> echo '#line 4639 "configure"' > conftest.$ac_ext
4641c4674,4675
< x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
---
> x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
> s390*-*linux*|sparc*-*linux*)
4649c4683
< case "`/usr/bin/file conftest.o`" in
---
> case `/usr/bin/file conftest.o` in
4651a4686,4688
> x86_64-*kfreebsd*-gnu)
> LD="${LD-ld} -m elf_i386_fbsd"
> ;;
4667a4705,4707
> x86_64-*kfreebsd*-gnu)
> LD="${LD-ld} -m elf_x86_64_fbsd"
> ;;
4758a4799,4821
> sparc*-*solaris*)
> # Find out which ABI we are using.
> echo 'int i;' > conftest.$ac_ext
> if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
> (eval $ac_compile) 2>&5
> ac_status=$?
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); }; then
> case `/usr/bin/file conftest.o` in
> *64-bit*)
> case $lt_cv_prog_gnu_ld in
> yes*) LD="${LD-ld} -m elf64_sparc" ;;
> *)
> if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
> LD="${LD-ld} -64"
> fi
> ;;
> esac
> ;;
> esac
> fi
> rm -rf conftest*
> ;;
4759a4823
>
6353d6416
<
6403c6466
< lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
---
> lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6408a6472,6477
>
> interix*)
> # We know the value 262144 and hardcode it with a safety zone (like BSD)
> lt_cv_sys_max_cmd_len=196608
> ;;
>
6421a6491,6501
> sco3.2v5*)
> lt_cv_sys_max_cmd_len=102400
> ;;
> sysv5* | sco5v6* | sysv4.2uw2*)
> kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
> if test -n "$kargmax"; then
> lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
> else
> lt_cv_sys_max_cmd_len=32768
> fi
> ;;
6423,6427c6503,6509
< # If test is not a shell built-in, we'll probably end up computing a
< # maximum length that is only half of the actual maximum length, but
< # we can't tell.
< SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
< while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
---
> lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
> if test -n "$lt_cv_sys_max_cmd_len"; then
> lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
> lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
> else
> SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
> while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6429,6440c6511,6523
< new_result=`expr "X$teststring" : ".*" 2>&1` &&
< lt_cv_sys_max_cmd_len=$new_result &&
< test $i != 17 # 1/2 MB should be enough
< do
< i=`expr $i + 1`
< teststring=$teststring$teststring
< done
< teststring=
< # Add a significant safety factor because C++ compilers can tack on massive
< # amounts of additional arguments before passing them to the linker.
< # It appears as though 1/2 is a usable value.
< lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
---
> new_result=`expr "X$teststring" : ".*" 2>&1` &&
> lt_cv_sys_max_cmd_len=$new_result &&
> test $i != 17 # 1/2 MB should be enough
> do
> i=`expr $i + 1`
> teststring=$teststring$teststring
> done
> teststring=
> # Add a significant safety factor because C++ compilers can tack on massive
> # amounts of additional arguments before passing them to the linker.
> # It appears as though 1/2 is a usable value.
> lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
> fi
6456a6540
>
6494c6578
< linux*)
---
> linux* | k*bsd*-gnu)
6507c6591
< solaris* | sysv5*)
---
> solaris*)
6509a6594,6602
> sco3.2v5*)
> symcode='[DT]'
> ;;
> sysv4.2uw2*)
> symcode='[DT]'
> ;;
> sysv5* | sco5v6* | unixware* | OpenUNIX*)
> symcode='[ABDT]'
> ;;
6638c6731
< rm -f conftest* conftst*
---
> rm -rf conftest* conftst*
6718c6811
< # All known linkers require a `.a' archive for static linking (except M$VC,
---
> # All known linkers require a `.a' archive for static linking (except MSVC,
7022a7116
> test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7035c7129
< old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
---
> old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7042c7136
< old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
---
> old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7045c7139
< old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
---
> old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7087c7181
< file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
---
> file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7149c7243
< file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
---
> file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7196a7291,7602
>
> case $host_os in
> rhapsody* | darwin*)
> if test -n "$ac_tool_prefix"; then
> # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
> set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
> { echo "$as_me:$LINENO: checking for $ac_word" >&5
> echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
> if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> if test -n "$DSYMUTIL"; then
> ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
> else
> as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
> for as_dir in $PATH
> do
> IFS=$as_save_IFS
> test -z "$as_dir" && as_dir=.
> for ac_exec_ext in '' $ac_executable_extensions; do
> if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
> ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
> echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
> break 2
> fi
> done
> done
> IFS=$as_save_IFS
>
> fi
> fi
> DSYMUTIL=$ac_cv_prog_DSYMUTIL
> if test -n "$DSYMUTIL"; then
> { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
> echo "${ECHO_T}$DSYMUTIL" >&6; }
> else
> { echo "$as_me:$LINENO: result: no" >&5
> echo "${ECHO_T}no" >&6; }
> fi
>
>
> fi
> if test -z "$ac_cv_prog_DSYMUTIL"; then
> ac_ct_DSYMUTIL=$DSYMUTIL
> # Extract the first word of "dsymutil", so it can be a program name with args.
> set dummy dsymutil; ac_word=$2
> { echo "$as_me:$LINENO: checking for $ac_word" >&5
> echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
> if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> if test -n "$ac_ct_DSYMUTIL"; then
> ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
> else
> as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
> for as_dir in $PATH
> do
> IFS=$as_save_IFS
> test -z "$as_dir" && as_dir=.
> for ac_exec_ext in '' $ac_executable_extensions; do
> if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
> ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
> echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
> break 2
> fi
> done
> done
> IFS=$as_save_IFS
>
> fi
> fi
> ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
> if test -n "$ac_ct_DSYMUTIL"; then
> { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
> echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
> else
> { echo "$as_me:$LINENO: result: no" >&5
> echo "${ECHO_T}no" >&6; }
> fi
>
> if test "x$ac_ct_DSYMUTIL" = x; then
> DSYMUTIL=":"
> else
> case $cross_compiling:$ac_tool_warned in
> yes:)
> { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
> whose name does not start with the host triplet. If you think this
> configuration is useful to you, please write to autoconf@gnu.org." >&5
> echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
> whose name does not start with the host triplet. If you think this
> configuration is useful to you, please write to autoconf@gnu.org." >&2;}
> ac_tool_warned=yes ;;
> esac
> DSYMUTIL=$ac_ct_DSYMUTIL
> fi
> else
> DSYMUTIL="$ac_cv_prog_DSYMUTIL"
> fi
>
> if test -n "$ac_tool_prefix"; then
> # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
> set dummy ${ac_tool_prefix}nmedit; ac_word=$2
> { echo "$as_me:$LINENO: checking for $ac_word" >&5
> echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
> if test "${ac_cv_prog_NMEDIT+set}" = set; then
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> if test -n "$NMEDIT"; then
> ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
> else
> as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
> for as_dir in $PATH
> do
> IFS=$as_save_IFS
> test -z "$as_dir" && as_dir=.
> for ac_exec_ext in '' $ac_executable_extensions; do
> if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
> ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
> echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
> break 2
> fi
> done
> done
> IFS=$as_save_IFS
>
> fi
> fi
> NMEDIT=$ac_cv_prog_NMEDIT
> if test -n "$NMEDIT"; then
> { echo "$as_me:$LINENO: result: $NMEDIT" >&5
> echo "${ECHO_T}$NMEDIT" >&6; }
> else
> { echo "$as_me:$LINENO: result: no" >&5
> echo "${ECHO_T}no" >&6; }
> fi
>
>
> fi
> if test -z "$ac_cv_prog_NMEDIT"; then
> ac_ct_NMEDIT=$NMEDIT
> # Extract the first word of "nmedit", so it can be a program name with args.
> set dummy nmedit; ac_word=$2
> { echo "$as_me:$LINENO: checking for $ac_word" >&5
> echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
> if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> if test -n "$ac_ct_NMEDIT"; then
> ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
> else
> as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
> for as_dir in $PATH
> do
> IFS=$as_save_IFS
> test -z "$as_dir" && as_dir=.
> for ac_exec_ext in '' $ac_executable_extensions; do
> if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
> ac_cv_prog_ac_ct_NMEDIT="nmedit"
> echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
> break 2
> fi
> done
> done
> IFS=$as_save_IFS
>
> fi
> fi
> ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
> if test -n "$ac_ct_NMEDIT"; then
> { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
> echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
> else
> { echo "$as_me:$LINENO: result: no" >&5
> echo "${ECHO_T}no" >&6; }
> fi
>
> if test "x$ac_ct_NMEDIT" = x; then
> NMEDIT=":"
> else
> case $cross_compiling:$ac_tool_warned in
> yes:)
> { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
> whose name does not start with the host triplet. If you think this
> configuration is useful to you, please write to autoconf@gnu.org." >&5
> echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
> whose name does not start with the host triplet. If you think this
> configuration is useful to you, please write to autoconf@gnu.org." >&2;}
> ac_tool_warned=yes ;;
> esac
> NMEDIT=$ac_ct_NMEDIT
> fi
> else
> NMEDIT="$ac_cv_prog_NMEDIT"
> fi
>
>
> { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
> echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
> if test "${lt_cv_apple_cc_single_mod+set}" = set; then
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> lt_cv_apple_cc_single_mod=no
> if test -z "${LT_MULTI_MODULE}"; then
> # By default we will add the -single_module flag. You can override
> # by either setting the environment variable LT_MULTI_MODULE
> # non-empty at configure time, or by adding -multi_module to the
> # link flags.
> echo "int foo(void){return 1;}" > conftest.c
> $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
> -dynamiclib ${wl}-single_module conftest.c
> if test -f libconftest.dylib; then
> lt_cv_apple_cc_single_mod=yes
> rm -rf libconftest.dylib*
> fi
> rm conftest.c
> fi
> fi
> { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
> echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
> { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
> echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
> if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> lt_cv_ld_exported_symbols_list=no
> save_LDFLAGS=$LDFLAGS
> echo "_main" > conftest.sym
> LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
> cat >conftest.$ac_ext <<_ACEOF
> /* confdefs.h. */
> _ACEOF
> cat confdefs.h >>conftest.$ac_ext
> cat >>conftest.$ac_ext <<_ACEOF
> /* end confdefs.h. */
>
> int
> main ()
> {
>
> ;
> return 0;
> }
> _ACEOF
> rm -f conftest.$ac_objext conftest$ac_exeext
> if { (ac_try="$ac_link"
> case "(($ac_try" in
> *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
> *) ac_try_echo=$ac_try;;
> esac
> eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
> (eval "$ac_link") 2>conftest.er1
> ac_status=$?
> grep -v '^ *+' conftest.er1 >conftest.err
> rm -f conftest.er1
> cat conftest.err >&5
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); } && {
> test -z "$ac_c_werror_flag" ||
> test ! -s conftest.err
> } && test -s conftest$ac_exeext &&
> $as_test_x conftest$ac_exeext; then
> lt_cv_ld_exported_symbols_list=yes
> else
> echo "$as_me: failed program was:" >&5
> sed 's/^/| /' conftest.$ac_ext >&5
>
> lt_cv_ld_exported_symbols_list=no
> fi
>
> rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
> conftest$ac_exeext conftest.$ac_ext
> LDFLAGS="$save_LDFLAGS"
>
> fi
> { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
> echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
> case $host_os in
> rhapsody* | darwin1.[0123])
> _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
> darwin1.*)
> _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
> darwin*)
> # if running on 10.5 or later, the deployment target defaults
> # to the OS version, if on x86, and 10.4, the deployment
> # target defaults to 10.4. Don't you love it?
> case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
> 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
> _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
> 10.[012]*)
> _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
> 10.*)
> _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
> esac
> ;;
> esac
> if test "$lt_cv_apple_cc_single_mod" = "yes"; then
> _lt_dar_single_mod='$single_module'
> fi
> if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
> _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
> else
> _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
> fi
> if test "$DSYMUTIL" != ":"; then
> _lt_dsymutil="~$DSYMUTIL \$lib || :"
> else
> _lt_dsymutil=
> fi
> ;;
> esac
>
>
7235c7641
< lt_simple_compile_test_code="int some_variable = 0;\n"
---
> lt_simple_compile_test_code="int some_variable = 0;"
7238c7644
< lt_simple_link_test_code='int main(){return(0);}\n'
---
> lt_simple_link_test_code='int main(){return(0);}'
7243a7650,7652
> # If no C compiler flags were specified, use CFLAGS.
> LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
>
7250,7251c7659,7660
< printf "$lt_simple_compile_test_code" >conftest.$ac_ext
< eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
---
> echo "$lt_simple_compile_test_code" >conftest.$ac_ext
> eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7256,7257c7665,7666
< printf "$lt_simple_link_test_code" >conftest.$ac_ext
< eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
---
> echo "$lt_simple_link_test_code" >conftest.$ac_ext
> eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7259c7668
< $rm conftest*
---
> $rm -r conftest*
7262,7282d7670
< #
< # Check for any special shared library compilation flags.
< #
< lt_prog_cc_shlib=
< if test "$GCC" = no; then
< case $host_os in
< sco3.2v5*)
< lt_prog_cc_shlib='-belf'
< ;;
< esac
< fi
< if test -n "$lt_prog_cc_shlib"; then
< { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
< echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
< if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
< else
< { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
< echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
< lt_cv_prog_cc_can_build_shared=no
< fi
< fi
7284,7327d7671
<
< #
< # Check to make sure the static flag actually works.
< #
< { echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
< echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
< if test "${lt_prog_compiler_static_works+set}" = set; then
< echo $ECHO_N "(cached) $ECHO_C" >&6
< else
< lt_prog_compiler_static_works=no
< save_LDFLAGS="$LDFLAGS"
< LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
< printf "$lt_simple_link_test_code" > conftest.$ac_ext
< if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
< # The compiler can only warn and ignore the option if not recognized
< # So say no if there are warnings
< if test -s conftest.err; then
< # Append any errors to the config.log.
< cat conftest.err 1>&5
< $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
< $SED '/^$/d' conftest.err >conftest.er2
< if diff conftest.exp conftest.er2 >/dev/null; then
< lt_prog_compiler_static_works=yes
< fi
< else
< lt_prog_compiler_static_works=yes
< fi
< fi
< $rm conftest*
< LDFLAGS="$save_LDFLAGS"
<
< fi
< { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
< echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
<
< if test x"$lt_prog_compiler_static_works" = xyes; then
< :
< else
< lt_prog_compiler_static=
< fi
<
<
<
<
7341c7685
< printf "$lt_simple_compile_test_code" > conftest.$ac_ext
---
> echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7349c7693
< -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
---
> -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7352c7696
< (eval echo "\"\$as_me:7352: $lt_compile\"" >&5)
---
> (eval echo "\"\$as_me:7696: $lt_compile\"" >&5)
7356c7700
< echo "$as_me:7356: \$? = $ac_status" >&5
---
> echo "$as_me:7700: \$? = $ac_status" >&5
7360,7362c7704,7706
< $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
< $SED '/^$/d' conftest.err >conftest.er2
< if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
---
> $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
> $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
> if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7407c7751
< beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
---
> beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7411c7755
< mingw* | pw32* | os2*)
---
> mingw* | cygwin* | pw32* | os2*)
7413a7758,7759
> # Although the cygwin gcc ignores -fPIC, still need this for old-style
> # (--disable-auto-import) libraries
7422a7769,7773
> interix[3-9]*)
> # Interix 3.x gcc -fpic/-fPIC options generate broken code.
> # Instead, we relocate shared libraries at runtime.
> ;;
>
7439c7790
< case "$host_cpu" in
---
> case $host_cpu in
7476c7827
< mingw* | pw32* | os2*)
---
> mingw* | cygwin* | pw32* | os2*)
7486c7837
< case "$host_cpu" in
---
> case $host_cpu in
7509c7860
< linux*)
---
> linux* | k*bsd*-gnu)
7516c7867
< pgcc* | pgf77* | pgf90*)
---
> pgcc* | pgf77* | pgf90* | pgf95*)
7521c7872
< lt_prog_compiler_static='-static'
---
> lt_prog_compiler_static='-Bstatic'
7527a7879,7894
> *)
> case `$CC -V 2>&1 | sed 5q` in
> *Sun\ C*)
> # Sun C 5.9
> lt_prog_compiler_pic='-KPIC'
> lt_prog_compiler_static='-Bstatic'
> lt_prog_compiler_wl='-Wl,'
> ;;
> *Sun\ F*)
> # Sun Fortran 8.3 passes all unrecognized flags to the linker
> lt_prog_compiler_pic='-KPIC'
> lt_prog_compiler_static='-Bstatic'
> lt_prog_compiler_wl=''
> ;;
> esac
> ;;
7537,7539c7904,7905
< sco3.2v5*)
< lt_prog_compiler_pic='-Kpic'
< lt_prog_compiler_static='-dn'
---
> rdos*)
> lt_prog_compiler_static='-non_shared'
7559c7925
< sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
---
> sysv4 | sysv4.2uw2* | sysv4.3*)
7571a7938,7943
> sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
> lt_prog_compiler_wl='-Wl,'
> lt_prog_compiler_pic='-KPIC'
> lt_prog_compiler_static='-Bstatic'
> ;;
>
7598c7970
< if test "${lt_prog_compiler_pic_works+set}" = set; then
---
> if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7601c7973
< lt_prog_compiler_pic_works=no
---
> lt_cv_prog_compiler_pic_works=no
7603c7975
< printf "$lt_simple_compile_test_code" > conftest.$ac_ext
---
> echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7611c7983
< -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
---
> -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7614c7986
< (eval echo "\"\$as_me:7614: $lt_compile\"" >&5)
---
> (eval echo "\"\$as_me:7986: $lt_compile\"" >&5)
7618c7990
< echo "$as_me:7618: \$? = $ac_status" >&5
---
> echo "$as_me:7990: \$? = $ac_status" >&5
7622,7625c7994,7997
< $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
< $SED '/^$/d' conftest.err >conftest.er2
< if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
< lt_prog_compiler_pic_works=yes
---
> $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
> $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
> if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
> lt_cv_prog_compiler_pic_works=yes
7631,7632c8003,8004
< { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
< echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
---
> { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
> echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7634c8006
< if test x"$lt_prog_compiler_pic_works" = xyes; then
---
> if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7645c8017
< case "$host_os" in
---
> case $host_os in
7654a8027,8068
> #
> # Check to make sure the static flag actually works.
> #
> wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
> { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
> echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
> if test "${lt_cv_prog_compiler_static_works+set}" = set; then
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> lt_cv_prog_compiler_static_works=no
> save_LDFLAGS="$LDFLAGS"
> LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
> echo "$lt_simple_link_test_code" > conftest.$ac_ext
> if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
> # The linker can only warn and ignore the option if not recognized
> # So say no if there are warnings
> if test -s conftest.err; then
> # Append any errors to the config.log.
> cat conftest.err 1>&5
> $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
> $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
> if diff conftest.exp conftest.er2 >/dev/null; then
> lt_cv_prog_compiler_static_works=yes
> fi
> else
> lt_cv_prog_compiler_static_works=yes
> fi
> fi
> $rm -r conftest*
> LDFLAGS="$save_LDFLAGS"
>
> fi
> { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
> echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
>
> if test x"$lt_cv_prog_compiler_static_works" = xyes; then
> :
> else
> lt_prog_compiler_static=
> fi
>
>
7665c8079
< printf "$lt_simple_compile_test_code" > conftest.$ac_ext
---
> echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7673c8087
< -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
---
> -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7676c8090
< (eval echo "\"\$as_me:7676: $lt_compile\"" >&5)
---
> (eval echo "\"\$as_me:8090: $lt_compile\"" >&5)
7680c8094
< echo "$as_me:7680: \$? = $ac_status" >&5
---
> echo "$as_me:8094: \$? = $ac_status" >&5
7685,7687c8099,8101
< $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
< $SED '/^$/d' out/conftest.err >out/conftest.er2
< if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
---
> $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
> $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
> if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7691c8105
< chmod u+w .
---
> chmod u+w . 2>&5
7760c8174
< exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
---
> exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7765a8180
> # Exclude shared library initialization/finalization symbols.
7786a8202,8205
> interix*)
> # we just hope/assume this is gcc and not c89 (= MSVC++)
> with_gnu_ld=yes
> ;;
7820c8239
< aix3* | aix4* | aix5*)
---
> aix[3-9]*)
7868c8287
< export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
---
> export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7871c8290
< archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
---
> archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7880c8299
< $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
---
> $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7886c8305,8320
< linux*)
---
> interix[3-9]*)
> hardcode_direct=no
> hardcode_shlibpath_var=no
> hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
> export_dynamic_flag_spec='${wl}-E'
> # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
> # Instead, shared libraries are loaded at an image base (0x10000000 by
> # default) and relocated if they conflict, which is a slow very memory
> # consuming and fragmenting process. To avoid this, we pick a random,
> # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
> # time. Moving up from 0x10000000 also allows more sbrk(2) space.
> archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
> 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'
> ;;
>
> gnu* | linux* | k*bsd*-gnu)
7891c8325
< whole_archive_flag_spec='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
---
> whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7894,7895c8328,8329
< pgf77* | pgf90* ) # Portland Group f77 and f90 compilers
< whole_archive_flag_spec='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
---
> pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
> whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7904c8338,8347
< archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
---
> case `$CC -V 2>&1 | sed 5q` in
> *Sun\ C*) # Sun C 5.9
> 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'
> tmp_sharedflag='-G' ;;
> *Sun\ F*) # Sun Fortran 8.3
> tmp_sharedflag='-G' ;;
> *)
> tmp_sharedflag='-shared' ;;
> esac
> archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7910c8353
< $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
---
> $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7927c8370
< solaris* | sysv5*)
---
> solaris*)
7947a8391,8417
> sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
> case `$LD -v 2>&1` in
> *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
> ld_shlibs=no
> cat <<_LT_EOF 1>&2
>
> *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
> *** reliably create shared libraries on SCO systems. Therefore, libtool
> *** is disabling shared libraries support. We urge you to upgrade GNU
> *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
> *** your PATH or compiler configuration so that the native linker is
> *** used, and then restart.
>
> _LT_EOF
> ;;
> *)
> if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
> hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
> archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
> archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
> else
> ld_shlibs=no
> fi
> ;;
> esac
> ;;
>
7981c8451
< if test "$GCC" = yes && test -z "$link_static_flag"; then
---
> if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7988c8458
< aix4* | aix5*)
---
> aix[4-9]*)
8008c8478
< case $host_os in aix4.[23]|aix4.[23].*|aix5*)
---
> case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8014a8485
> ;;
8041c8512
< hardcode_direct=yes
---
> :
8051a8523
> ;;
8064c8536
< if test "$aix_use_runtimelinking" = yes; then
---
> if test "$aix_use_runtimelinking" = yes; then
8068c8540
< fi
---
> fi
8114,8115c8586,8593
< aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
< }'`
---
> lt_aix_libpath_sed='
> /Import File Strings/,/^$/ {
> /^0/ {
> s/^0 *\(.*\)$/\1/
> p
> }
> }'
> aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8117,8118c8595,8597
< 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; }
< }'`; fi
---
> if test -z "$aix_libpath"; then
> aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
> fi
8131c8610
< archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
---
> archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8136c8615
< archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
---
> archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8173,8174c8652,8659
< aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
< }'`
---
> lt_aix_libpath_sed='
> /Import File Strings/,/^$/ {
> /^0/ {
> s/^0 *\(.*\)$/\1/
> p
> }
> }'
> aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8176,8177c8661,8663
< 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; }
< }'`; fi
---
> if test -z "$aix_libpath"; then
> aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
> fi
8194,8195d8679
< # -bexpall does not export symbols beginning with underscore (_)
< always_export_symbols=yes
8197c8681
< whole_archive_flag_spec=' '
---
> whole_archive_flag_spec='$convenience'
8199,8200c8683,8684
< # This is similar to how AIX traditionally builds it's shared libraries.
< archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
---
> # This is similar to how AIX traditionally builds its shared libraries.
> archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8233c8717
< old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
---
> old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8239c8723
< case "$host_os" in
---
> case $host_os in
8266,8270c8750,8753
< archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
< module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
< # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
< archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
< 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}'
---
> archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
> module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
> archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
> module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8275c8758
< archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
---
> archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8277,8278c8760,8761
< # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
< 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}'
---
> # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
> 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}'
8318c8801
< freebsd* | kfreebsd*-gnu | dragonfly*)
---
> freebsd* | dragonfly*)
8341c8824
< hpux10* | hpux11*)
---
> hpux10*)
8343,8344c8826,8846
< case "$host_cpu" in
< hppa*64*|ia64*)
---
> archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
> else
> archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
> fi
> if test "$with_gnu_ld" = no; then
> hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
> hardcode_libdir_separator=:
>
> hardcode_direct=yes
> export_dynamic_flag_spec='${wl}-E'
>
> # hardcode_minus_L: Not really in the search PATH,
> # but as the default location of the library.
> hardcode_minus_L=yes
> fi
> ;;
>
> hpux11*)
> if test "$GCC" = yes -a "$with_gnu_ld" = no; then
> case $host_cpu in
> hppa*64*)
8346a8849,8851
> ia64*)
> archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
> ;;
8352,8354c8857,8859
< case "$host_cpu" in
< hppa*64*|ia64*)
< archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
---
> case $host_cpu in
> hppa*64*)
> archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8355a8861,8863
> ia64*)
> archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
> ;;
8357c8865
< archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
---
> archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8362,8364c8870,8874
< case "$host_cpu" in
< hppa*64*)
< hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
---
> hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
> hardcode_libdir_separator=:
>
> case $host_cpu in
> hppa*64*|ia64*)
8366d8875
< hardcode_libdir_separator=:
8370,8378d8878
< ia64*)
< hardcode_libdir_flag_spec='-L$libdir'
< hardcode_direct=no
< hardcode_shlibpath_var=no
<
< # hardcode_minus_L: Not really in the search PATH,
< # but as the default location of the library.
< hardcode_minus_L=yes
< ;;
8380,8381d8879
< hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
< hardcode_libdir_separator=:
8425,8431c8923,8942
< hardcode_direct=yes
< hardcode_shlibpath_var=no
< if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
< archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
< archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
< hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
< export_dynamic_flag_spec='${wl}-E'
---
> if test -f /usr/libexec/ld.so; then
> hardcode_direct=yes
> hardcode_shlibpath_var=no
> if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
> archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
> archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
> hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
> export_dynamic_flag_spec='${wl}-E'
> else
> case $host_os in
> openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
> archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
> hardcode_libdir_flag_spec='-R$libdir'
> ;;
> *)
> archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
> hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
> ;;
> esac
> fi
8433,8442c8944
< case $host_os in
< openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
< archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
< hardcode_libdir_flag_spec='-R$libdir'
< ;;
< *)
< archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
< hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
< ;;
< esac
---
> ld_shlibs=no
8483,8490d8984
< sco3.2v5*)
< archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
< hardcode_shlibpath_var=no
< export_dynamic_flag_spec='${wl}-Bexport'
< runpath_var=LD_RUN_PATH
< hardcode_runpath_var=yes
< ;;
<
8509,8512c9003,9005
< # The compiler driver will combine linker options so we
< # cannot just pass the convience library names through
< # without $wl, iff we do not link with $LD.
< # Luckily, gcc supports the same syntax we need for Sun Studio.
---
> # The compiler driver will combine and reorder linker options,
> # but understands `-z linker_flag'. GCC discards it without `$wl',
> # but is careful enough not to reorder.
8514,8519c9007,9012
< case $wlarc in
< '')
< whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
< *)
< 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' ;;
< esac ;;
---
> if test "$GCC" = yes; then
> whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
> else
> whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
> fi
> ;;
8576,8579c9069,9071
< sysv4.2uw2*)
< archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
< hardcode_direct=yes
< hardcode_minus_L=no
---
> sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
> no_undefined_flag='${wl}-z,text'
> archive_cmds_need_lc=no
8581,8583c9073
< hardcode_runpath_var=yes
< runpath_var=LD_RUN_PATH
< ;;
---
> runpath_var='LD_RUN_PATH'
8585,8586d9074
< sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
< no_undefined_flag='${wl}-z ${wl}text'
8588c9076,9077
< archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
---
> archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
> archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8590c9079,9080
< archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
---
> archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
> archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8592,8593d9081
< runpath_var='LD_RUN_PATH'
< hardcode_shlibpath_var=no
8596,8603c9084,9093
< sysv5*)
< no_undefined_flag=' -z text'
< # $CC -shared without GNU ld will not create a library from C++
< # object files and a static libstdc++, better avoid it by now
< archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
< archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
< $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
< hardcode_libdir_flag_spec=
---
> sysv5* | sco3.2v5* | sco5v6*)
> # Note: We can NOT use -z defs as we might desire, because we do not
> # link with -lc, and that would cause any symbols used from libc to
> # always be unresolved, which means just about no library would
> # ever link correctly. If we're not using GNU ld we use -z text
> # though, which does catch some bad symbols but isn't as heavy-handed
> # as -z defs.
> no_undefined_flag='${wl}-z,text'
> allow_undefined_flag='${wl}-z,nodefs'
> archive_cmds_need_lc=no
8604a9095,9098
> hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
> hardcode_libdir_separator=':'
> link_all_deplibs=yes
> export_dynamic_flag_spec='${wl}-Bexport'
8605a9100,9107
>
> if test "$GCC" = yes; then
> archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
> archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
> else
> archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
> archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
> fi
8624,8628d9125
< variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
< if test "$GCC" = yes; then
< variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
< fi
<
8649c9146
< printf "$lt_simple_compile_test_code" > conftest.$ac_ext
---
> echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8660a9158
> pic_flag=$lt_prog_compiler_pic
8705a9204
>
8707,8708c9206,9211
< sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
< if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
---
> case $host_os in
> darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
> *) lt_awk_arg="/^libraries:/" ;;
> esac
> lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
> if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
8713c9216
< sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
---
> lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8715c9218
< sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
---
> lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8716a9220,9252
> # Ok, now we have the path, separated by spaces, we can step through it
> # and add multilib dir if necessary.
> lt_tmp_lt_search_path_spec=
> lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
> for lt_sys_path in $lt_search_path_spec; do
> if test -d "$lt_sys_path/$lt_multi_os_dir"; then
> lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
> else
> test -d "$lt_sys_path" && \
> lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
> fi
> done
> lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
> BEGIN {RS=" "; FS="/|\n";} {
> lt_foo="";
> lt_count=0;
> for (lt_i = NF; lt_i > 0; lt_i--) {
> if ($lt_i != "" && $lt_i != ".") {
> if ($lt_i == "..") {
> lt_count++;
> } else {
> if (lt_count == 0) {
> lt_foo="/" $lt_i lt_foo;
> } else {
> lt_count--;
> }
> }
> }
> }
> if (lt_foo != "") { lt_freq[lt_foo]++; }
> if (lt_freq[lt_foo] == 1) { print lt_foo; }
> }'`
> sys_lib_search_path_spec=`echo $lt_search_path_spec`
8737c9273
< aix4* | aix5*)
---
> aix[4-9]*)
8821c9357,9358
< $install_prog $dir/$dlname \$dldir/$dlname'
---
> $install_prog $dir/$dlname \$dldir/$dlname~
> chmod a+x \$dldir/$dlname'
8874,8880c9411,9413
< shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
< # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
< if test "$GCC" = yes; then
< 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"`
< else
< sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
< fi
---
> shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
>
> sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8897,8908d9429
< kfreebsd*-gnu)
< version_type=linux
< need_lib_prefix=no
< need_version=no
< library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
< soname_spec='${libname}${release}${shared_ext}$major'
< shlibpath_var=LD_LIBRARY_PATH
< shlibpath_overrides_runpath=no
< hardcode_into_libs=yes
< dynamic_linker='GNU ld.so'
< ;;
<
8912c9433,9440
< objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
---
> if test -x /usr/bin/objformat; then
> objformat=`/usr/bin/objformat`
> else
> case $host_os in
> freebsd[123]*) objformat=aout ;;
> *) objformat=elf ;;
> esac
> fi
8934c9462,9463
< *) # from 3.2 on
---
> freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
> freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8937a9467,9470
> *) # from 4.6 on, and DragonFly
> shlibpath_overrides_runpath=yes
> hardcode_into_libs=yes
> ;;
8957c9490
< case "$host_cpu" in
---
> case $host_cpu in
8996a9530,9541
> interix[3-9]*)
> version_type=linux
> need_lib_prefix=no
> need_version=no
> library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
> soname_spec='${libname}${release}${shared_ext}$major'
> dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
> shlibpath_var=LD_LIBRARY_PATH
> shlibpath_overrides_runpath=no
> hardcode_into_libs=yes
> ;;
>
9040c9585
< linux*)
---
> linux* | k*bsd*-gnu)
9056c9601
< 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' ' '`
---
> 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' ' '`
9069,9080d9613
< knetbsd*-gnu)
< version_type=linux
< need_lib_prefix=no
< need_version=no
< library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
< soname_spec='${libname}${release}${shared_ext}$major'
< shlibpath_var=LD_LIBRARY_PATH
< shlibpath_overrides_runpath=no
< hardcode_into_libs=yes
< dynamic_linker='GNU ld.so'
< ;;
<
9117a9651
> sys_lib_dlsearch_path_spec="/usr/lib"
9161,9165c9695,9696
< sco3.2v5*)
< version_type=osf
< soname_spec='${libname}${release}${shared_ext}$major'
< library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
< shlibpath_var=LD_LIBRARY_PATH
---
> rdos*)
> dynamic_linker=no
9193c9724
< sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
---
> sysv4 | sysv4.3*)
9225a9757,9779
> sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
> version_type=freebsd-elf
> need_lib_prefix=no
> need_version=no
> library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
> soname_spec='${libname}${release}${shared_ext}$major'
> shlibpath_var=LD_LIBRARY_PATH
> hardcode_into_libs=yes
> if test "$with_gnu_ld" = yes; then
> sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
> shlibpath_overrides_runpath=no
> else
> sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
> shlibpath_overrides_runpath=yes
> case $host_os in
> sco3.2v5*)
> sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
> ;;
> esac
> fi
> sys_lib_dlsearch_path_spec='/usr/lib'
> ;;
>
9240a9795,9814
> if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
> fi
>
> sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
> if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
> fi
>
> sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
>
> variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
> if test "$GCC" = yes; then
> variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
> fi
>
9292a9867
> old_striplib="$STRIP -S"
9554c10129
< lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
---
> lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9830c10405
< lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
---
> lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
9863c10438
< eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
---
> wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9879c10454
< #line 9879 "configure"
---
> #line 10454 "configure"
9935a10511,10512
> else
> puts (dlerror ());
9945c10522
< (./conftest; exit; ) 2>/dev/null
---
> (./conftest; exit; ) >&5 2>/dev/null
9950c10527
< x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
---
> x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9965c10542
< LDFLAGS="$LDFLAGS $link_static_flag"
---
> wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9977c10554
< #line 9977 "configure"
---
> #line 10554 "configure"
10033a10611,10612
> else
> puts (dlerror ());
10043c10622
< (./conftest; exit; ) 2>/dev/null
---
> (./conftest; exit; ) >&5 2>/dev/null
10048c10627
< x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
---
> x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10081c10660
< # Report which librarie types wil actually be built
---
> # Report which library types will actually be built
10093c10672
< case "$host_os" in
---
> case $host_os in
10102c10681
< aix4* | aix5*)
---
> aix[4-9]*)
10131c10710
< for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
---
> for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10157a10737
> compiler_lib_search_dirs \
10172a10753
> fix_srcfile_path \
10217c10798
< # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
---
> # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10296a10878,10880
> # LTCC compiler flags.
> LTCFLAGS=$lt_LTCFLAGS
>
10449a11034,11037
> # The directories searched by this compiler when creating a shared
> # library
> compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
>
10538c11126
< fix_srcfile_path="$fix_srcfile_path"
---
> fix_srcfile_path=$lt_fix_srcfile_path
10626a11215,11217
> if test -z "$LTCFLAGS"; then
> eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
> fi
10678a11270
> hardcode_shlibpath_var_CXX=unsupported
10693a11286
> compiler_lib_search_dirs_CXX=
10696c11289
< ac_ext=cc
---
> ac_ext=cpp
10703c11296
< lt_simple_compile_test_code="int some_variable = 0;\n"
---
> lt_simple_compile_test_code="int some_variable = 0;"
10706c11299
< lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
---
> lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10712a11306,11308
> # If no C compiler flags were specified, use CFLAGS.
> LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
>
10719,10720c11315,11316
< printf "$lt_simple_compile_test_code" >conftest.$ac_ext
< eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
---
> echo "$lt_simple_compile_test_code" >conftest.$ac_ext
> eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10725,10726c11321,11322
< printf "$lt_simple_link_test_code" >conftest.$ac_ext
< eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
---
> echo "$lt_simple_link_test_code" >conftest.$ac_ext
> eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10728c11324
< $rm conftest*
---
> $rm -r conftest*
10741c11337
< unset lt_cv_prog_gnu_ld
---
> $as_unset lt_cv_prog_gnu_ld
10746c11342
< unset lt_cv_path_LD
---
> $as_unset lt_cv_path_LD
10832c11428
< # but apparently some GNU ld's only accept -v.
---
> # but apparently some variants of GNU ld only accept -v.
10866c11462
< # I'd rather use --version here, but apparently some GNU ld's only accept -v.
---
> # I'd rather use --version here, but apparently some GNU lds only accept -v.
10935c11531
< aix4* | aix5*)
---
> aix[4-9]*)
10948c11544
< case $host_os in aix4.[23]|aix4.[23].*|aix5*)
---
> case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10956a11553
> ;;
10983c11580
< hardcode_direct_CXX=yes
---
> :
10993a11591
> ;;
11056,11057c11654,11661
< aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
< }'`
---
> lt_aix_libpath_sed='
> /Import File Strings/,/^$/ {
> /^0/ {
> s/^0 *\(.*\)$/\1/
> p
> }
> }'
> aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11059,11060c11663,11665
< 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; }
< }'`; fi
---
> if test -z "$aix_libpath"; then
> aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
> fi
11074c11679
< archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
---
> archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11079c11684
< archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
---
> archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11116,11117c11721,11728
< aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
< }'`
---
> lt_aix_libpath_sed='
> /Import File Strings/,/^$/ {
> /^0/ {
> s/^0 *\(.*\)$/\1/
> p
> }
> }'
> aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11119,11120c11730,11732
< 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; }
< }'`; fi
---
> if test -z "$aix_libpath"; then
> aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
> fi
11137,11138d11748
< # -bexpall does not export symbols beginning with underscore (_)
< always_export_symbols_CXX=yes
11140c11750
< whole_archive_flag_spec_CXX=' '
---
> whole_archive_flag_spec_CXX='$convenience'
11142,11143c11752,11753
< # This is similar to how AIX traditionally builds it's shared libraries.
< archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
---
> # This is similar to how AIX traditionally builds its shared libraries.
> archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11146a11757,11768
>
> beos*)
> if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
> allow_undefined_flag_CXX=unsupported
> # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
> # support --undefined. This deserves some investigation. FIXME
> archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
> else
> ld_shlibs_CXX=no
> fi
> ;;
>
11156d11777
<
11166c11787
< archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
---
> archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11175c11796
< $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
---
> $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11181,11199d11801
< case "$host_os" in
< rhapsody* | darwin1.[012])
< allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
< ;;
< *) # Darwin 1.3 on
< if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
< allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
< else
< case ${MACOSX_DEPLOYMENT_TARGET} in
< 10.[012])
< allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
< ;;
< 10.*)
< allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
< ;;
< esac
< fi
< ;;
< esac
11206,11208c11808,11809
<
< if test "$GXX" = yes ; then
< lt_int_apple_cc_single_mod=no
---
> allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
> if test "$GXX" = yes ; then
11210,11211c11811,11817
< if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
< lt_int_apple_cc_single_mod=yes
---
> archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
> module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
> archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
> module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
> if test "$lt_cv_apple_cc_single_mod" != "yes"; then
> archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
> archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
11213,11214d11818
< if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
< archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11216,11226d11819
< archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
< fi
< module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
< # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
< if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
< archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
< else
< archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
< fi
< 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}'
< else
11230c11823
< 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'
---
> 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'
11232,11233c11825,11826
< # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
< 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}'
---
> # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
> 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}'
11267c11860
< freebsd* | kfreebsd*-gnu | dragonfly*)
---
> freebsd* | dragonfly*)
11312,11320c11905,11909
< case "$host_cpu" in
< hppa*64*)
< hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
< hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
< hardcode_libdir_separator_CXX=:
< ;;
< ia64*)
< hardcode_libdir_flag_spec_CXX='-L$libdir'
< ;;
---
> hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
> hardcode_libdir_separator_CXX=:
>
> case $host_cpu in
> hppa*64*|ia64*) ;;
11322,11323d11910
< hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
< hardcode_libdir_separator_CXX=:
11328,11329c11915,11916
< case "$host_cpu" in
< hppa*64*)
---
> case $host_cpu in
> hppa*64*|ia64*)
11333,11339d11919
< ia64*)
< hardcode_direct_CXX=no
< hardcode_shlibpath_var_CXX=no
< hardcode_minus_L_CXX=yes # Not in the search PATH,
< # but as the default
< # location of the library.
< ;;
11354,11356c11934,11936
< case "$host_cpu" in
< hppa*64*|ia64*)
< archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
---
> case $host_cpu in
> hppa*64*)
> archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11357a11938,11940
> ia64*)
> archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
> ;;
11375,11377c11958,11960
< case "$host_cpu" in
< ia64*|hppa*64*)
< archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
---
> case $host_cpu in
> hppa*64*)
> archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11378a11962,11964
> ia64*)
> archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
> ;;
11390a11977,11990
> interix[3-9]*)
> hardcode_direct_CXX=no
> hardcode_shlibpath_var_CXX=no
> hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
> export_dynamic_flag_spec_CXX='${wl}-E'
> # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
> # Instead, shared libraries are loaded at an image base (0x10000000 by
> # default) and relocated if they conflict, which is a slow very memory
> # consuming and fragmenting process. To avoid this, we pick a random,
> # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
> # time. Moving up from 0x10000000 also allows more sbrk(2) space.
> archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
> archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
> ;;
11417c12017
< linux*)
---
> linux* | k*bsd*-gnu)
11469c12069
< pgCC*)
---
> pgCC* | pgcpp*)
11476c12076
< whole_archive_flag_spec_CXX='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
---
> whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11496a12097,12119
> *)
> case `$CC -V 2>&1 | sed 5q` in
> *Sun\ C*)
> # Sun C++ 5.9
> no_undefined_flag_CXX=' -zdefs'
> archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
> 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'
> hardcode_libdir_flag_spec_CXX='-R$libdir'
> 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'
>
> # Not sure whether something based on
> # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
> # would be better.
> output_verbose_link_cmd='echo'
>
> # Archives containing C++ object files must be created using
> # "CC -xar", where "CC" is the Sun C++ compiler. This is
> # necessary to make sure instantiated templates are included
> # in the archive.
> old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
> ;;
> esac
> ;;
11535,11542c12158,12170
< hardcode_direct_CXX=yes
< hardcode_shlibpath_var_CXX=no
< archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
< hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
< if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
< archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
< export_dynamic_flag_spec_CXX='${wl}-E'
< whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
---
> if test -f /usr/libexec/ld.so; then
> hardcode_direct_CXX=yes
> hardcode_shlibpath_var_CXX=no
> archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
> hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
> if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
> archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
> export_dynamic_flag_spec_CXX='${wl}-E'
> whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
> fi
> output_verbose_link_cmd='echo'
> else
> ld_shlibs_CXX=no
11544d12171
< output_verbose_link_cmd='echo'
11673,11685d12299
< sco*)
< archive_cmds_need_lc_CXX=no
< case $cc_basename in
< CC*)
< # FIXME: insert proper C++ library support
< ld_shlibs_CXX=no
< ;;
< *)
< # FIXME: insert proper C++ library support
< ld_shlibs_CXX=no
< ;;
< esac
< ;;
11707a12322
> archive_cmds_need_lc_CXX=yes
11709c12324
< archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
---
> archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11711c12326
< $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
---
> $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11718,11724c12333,12334
< # The C++ compiler is used as linker so we must use $wl
< # flag to pass the commands to the underlying system
< # linker. We must also pass each convience library through
< # to the system linker between allextract/defaultextract.
< # The C++ compiler will combine linker options so we
< # cannot just pass the convience library names through
< # without $wl.
---
> # The compiler driver will combine and reorder linker options,
> # but understands `-z linker_flag'.
11726c12336
< 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'
---
> whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11731,11739c12341
< # Commands to make compiler produce verbose output that lists
< # what "hidden" libraries, object files and flags are used when
< # linking a shared library.
< #
< # There doesn't appear to be a way to prevent this compiler from
< # explicitly linking system object files so we need to strip them
< # from the output so that they don't get included in the library
< # dependencies.
< output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
---
> output_verbose_link_cmd='echo'
11780a12383,12388
> case $host_os in
> solaris2.[0-5] | solaris2.[0-5].*) ;;
> *)
> whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
> ;;
> esac
11785c12393,12394
< sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
---
> sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
> no_undefined_flag_CXX='${wl}-z,text'
11786a12396,12408
> hardcode_shlibpath_var_CXX=no
> runpath_var='LD_RUN_PATH'
>
> case $cc_basename in
> CC*)
> archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
> archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
> ;;
> *)
> archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
> archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
> ;;
> esac
11787a12410,12446
> sysv5* | sco3.2v5* | sco5v6*)
> # Note: We can NOT use -z defs as we might desire, because we do not
> # link with -lc, and that would cause any symbols used from libc to
> # always be unresolved, which means just about no library would
> # ever link correctly. If we're not using GNU ld we use -z text
> # though, which does catch some bad symbols but isn't as heavy-handed
> # as -z defs.
> # For security reasons, it is highly recommended that you always
> # use absolute paths for naming shared libraries, and exclude the
> # DT_RUNPATH tag from executables and libraries. But doing so
> # requires that you compile everything twice, which is a pain.
> # So that behaviour is only enabled if SCOABSPATH is set to a
> # non-empty value in the environment. Most likely only useful for
> # creating official distributions of packages.
> # This is a hack until libtool officially supports absolute path
> # names for shared libraries.
> no_undefined_flag_CXX='${wl}-z,text'
> allow_undefined_flag_CXX='${wl}-z,nodefs'
> archive_cmds_need_lc_CXX=no
> hardcode_shlibpath_var_CXX=no
> hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
> hardcode_libdir_separator_CXX=':'
> link_all_deplibs_CXX=yes
> export_dynamic_flag_spec_CXX='${wl}-Bexport'
> runpath_var='LD_RUN_PATH'
>
> case $cc_basename in
> CC*)
> archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
> archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
> ;;
> *)
> archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
> archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
> ;;
> esac
> ;;
11817d12475
<
11843c12501
< output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
---
> output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11918a12577,12636
> compiler_lib_search_dirs_CXX=
> if test -n "$compiler_lib_search_path_CXX"; then
> compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
> fi
>
> # PORTME: override above test on systems where it is broken
> case $host_os in
> interix[3-9]*)
> # Interix 3.5 installs completely hosed .la files for C++, so rather than
> # hack all around it, let's just trust "g++" to DTRT.
> predep_objects_CXX=
> postdep_objects_CXX=
> postdeps_CXX=
> ;;
>
> linux*)
> case `$CC -V 2>&1 | sed 5q` in
> *Sun\ C*)
> # Sun C++ 5.9
> #
> # The more standards-conforming stlport4 library is
> # incompatible with the Cstd library. Avoid specifying
> # it if it's in CXXFLAGS. Ignore libCrun as
> # -library=stlport4 depends on it.
> case " $CXX $CXXFLAGS " in
> *" -library=stlport4 "*)
> solaris_use_stlport4=yes
> ;;
> esac
> if test "$solaris_use_stlport4" != yes; then
> postdeps_CXX='-library=Cstd -library=Crun'
> fi
> ;;
> esac
> ;;
>
> solaris*)
> case $cc_basename in
> CC*)
> # The more standards-conforming stlport4 library is
> # incompatible with the Cstd library. Avoid specifying
> # it if it's in CXXFLAGS. Ignore libCrun as
> # -library=stlport4 depends on it.
> case " $CXX $CXXFLAGS " in
> *" -library=stlport4 "*)
> solaris_use_stlport4=yes
> ;;
> esac
>
> # Adding this requires a known-good setup of shared libraries for
> # Sun compiler versions before 5.6, else PIC objects from an old
> # archive will be linked into the output, leading to subtle bugs.
> if test "$solaris_use_stlport4" != yes; then
> postdeps_CXX='-library=Cstd -library=Crun'
> fi
> ;;
> esac
> ;;
> esac
>
11949c12667
< beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
---
> beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11952c12670
< mingw* | os2* | pw32*)
---
> mingw* | cygwin* | os2* | pw32*)
11954a12673,12674
> # Although the cygwin gcc ignores -fPIC, still need this for old-style
> # (--disable-auto-import) libraries
11965a12686,12689
> interix[3-9]*)
> # Interix 3.x gcc -fpic/-fPIC options generate broken code.
> # Instead, we relocate shared libraries at runtime.
> ;;
11974c12698
< case "$host_cpu" in
---
> case $host_cpu in
11988c12712
< aix4* | aix5*)
---
> aix[4-9]*)
12028c12752
< freebsd* | kfreebsd*-gnu | dragonfly*)
---
> freebsd* | dragonfly*)
12035c12759
< lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
---
> lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12042,12043c12766,12767
< lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
< case "$host_cpu" in
---
> lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
> case $host_cpu in
12055a12780,12783
> interix*)
> # This is c89, which is MS Visual C++ (no shared libs)
> # Anyone wants to do a port?
> ;;
12067c12795
< linux*)
---
> linux* | k*bsd*-gnu)
12080c12808
< pgCC*)
---
> pgCC* | pgcpp*)
12084c12812
< lt_prog_compiler_static_CXX='-static'
---
> lt_prog_compiler_static_CXX='-Bstatic'
12093a12822,12829
> case `$CC -V 2>&1 | sed 5q` in
> *Sun\ C*)
> # Sun C++ 5.9
> lt_prog_compiler_pic_CXX='-KPIC'
> lt_prog_compiler_static_CXX='-Bstatic'
> lt_prog_compiler_wl_CXX='-Qoption ld '
> ;;
> esac
12135,12143d12870
< sco*)
< case $cc_basename in
< CC*)
< lt_prog_compiler_pic_CXX='-fPIC'
< ;;
< *)
< ;;
< esac
< ;;
12185c12912,12919
< unixware*)
---
> sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
> case $cc_basename in
> CC*)
> lt_prog_compiler_wl_CXX='-Wl,'
> lt_prog_compiler_pic_CXX='-KPIC'
> lt_prog_compiler_static_CXX='-Bstatic'
> ;;
> esac
12205c12939
< if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
---
> if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
12208c12942
< lt_prog_compiler_pic_works_CXX=no
---
> lt_cv_prog_compiler_pic_works_CXX=no
12210c12944
< printf "$lt_simple_compile_test_code" > conftest.$ac_ext
---
> echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12218c12952
< -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
---
> -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12221c12955
< (eval echo "\"\$as_me:12221: $lt_compile\"" >&5)
---
> (eval echo "\"\$as_me:12955: $lt_compile\"" >&5)
12225c12959
< echo "$as_me:12225: \$? = $ac_status" >&5
---
> echo "$as_me:12959: \$? = $ac_status" >&5
12229,12232c12963,12966
< $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
< $SED '/^$/d' conftest.err >conftest.er2
< if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
< lt_prog_compiler_pic_works_CXX=yes
---
> $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
> $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
> if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
> lt_cv_prog_compiler_pic_works_CXX=yes
12238,12239c12972,12973
< { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
< echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
---
> { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
> echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12241c12975
< if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
---
> if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
12252c12986
< case "$host_os" in
---
> case $host_os in
12261a12996,13037
> #
> # Check to make sure the static flag actually works.
> #
> wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
> { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
> echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
> if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> lt_cv_prog_compiler_static_works_CXX=no
> save_LDFLAGS="$LDFLAGS"
> LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
> echo "$lt_simple_link_test_code" > conftest.$ac_ext
> if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
> # The linker can only warn and ignore the option if not recognized
> # So say no if there are warnings
> if test -s conftest.err; then
> # Append any errors to the config.log.
> cat conftest.err 1>&5
> $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
> $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
> if diff conftest.exp conftest.er2 >/dev/null; then
> lt_cv_prog_compiler_static_works_CXX=yes
> fi
> else
> lt_cv_prog_compiler_static_works_CXX=yes
> fi
> fi
> $rm -r conftest*
> LDFLAGS="$save_LDFLAGS"
>
> fi
> { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
> echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
>
> if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
> :
> else
> lt_prog_compiler_static_CXX=
> fi
>
>
12272c13048
< printf "$lt_simple_compile_test_code" > conftest.$ac_ext
---
> echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12280c13056
< -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
---
> -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12283c13059
< (eval echo "\"\$as_me:12283: $lt_compile\"" >&5)
---
> (eval echo "\"\$as_me:13059: $lt_compile\"" >&5)
12287c13063
< echo "$as_me:12287: \$? = $ac_status" >&5
---
> echo "$as_me:13063: \$? = $ac_status" >&5
12292,12294c13068,13070
< $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
< $SED '/^$/d' out/conftest.err >out/conftest.er2
< if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
---
> $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
> $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
> if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12298c13074
< chmod u+w .
---
> chmod u+w . 2>&5
12340c13116
< aix4* | aix5*)
---
> aix[4-9]*)
12353c13129
< export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
---
> export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12358a13135
> exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12364,12368d13140
< variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
< if test "$GCC" = yes; then
< variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
< fi
<
12389c13161
< printf "$lt_simple_compile_test_code" > conftest.$ac_ext
---
> echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12400a13173
> pic_flag=$lt_prog_compiler_pic_CXX
12446,12459c13219
< if test "$GCC" = yes; then
< sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
< if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
< # if the path contains ";" then we assume it to be the separator
< # otherwise default to the standard path separator (i.e. ":") - it is
< # assumed that no part of a normal pathname contains ";" but that should
< # okay in the real world where ";" in dirpaths is itself problematic.
< sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
< else
< sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
< fi
< else
< sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
< fi
---
>
12477c13237
< aix4* | aix5*)
---
> aix[4-9]*)
12561c13321,13322
< $install_prog $dir/$dlname \$dldir/$dlname'
---
> $install_prog $dir/$dlname \$dldir/$dlname~
> chmod a+x \$dldir/$dlname'
12614,12620c13375,13376
< shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
< # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
< if test "$GCC" = yes; then
< 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"`
< else
< sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
< fi
---
> shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
>
12637,12648d13392
< kfreebsd*-gnu)
< version_type=linux
< need_lib_prefix=no
< need_version=no
< library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
< soname_spec='${libname}${release}${shared_ext}$major'
< shlibpath_var=LD_LIBRARY_PATH
< shlibpath_overrides_runpath=no
< hardcode_into_libs=yes
< dynamic_linker='GNU ld.so'
< ;;
<
12652c13396,13403
< objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
---
> if test -x /usr/bin/objformat; then
> objformat=`/usr/bin/objformat`
> else
> case $host_os in
> freebsd[123]*) objformat=aout ;;
> *) objformat=elf ;;
> esac
> fi
12674c13425,13426
< *) # from 3.2 on
---
> freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
> freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12677a13430,13433
> *) # from 4.6 on, and DragonFly
> shlibpath_overrides_runpath=yes
> hardcode_into_libs=yes
> ;;
12697c13453
< case "$host_cpu" in
---
> case $host_cpu in
12736a13493,13504
> interix[3-9]*)
> version_type=linux
> need_lib_prefix=no
> need_version=no
> library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
> soname_spec='${libname}${release}${shared_ext}$major'
> dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
> shlibpath_var=LD_LIBRARY_PATH
> shlibpath_overrides_runpath=no
> hardcode_into_libs=yes
> ;;
>
12780c13548
< linux*)
---
> linux* | k*bsd*-gnu)
12796c13564
< 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' ' '`
---
> 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' ' '`
12809,12820d13576
< knetbsd*-gnu)
< version_type=linux
< need_lib_prefix=no
< need_version=no
< library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
< soname_spec='${libname}${release}${shared_ext}$major'
< shlibpath_var=LD_LIBRARY_PATH
< shlibpath_overrides_runpath=no
< hardcode_into_libs=yes
< dynamic_linker='GNU ld.so'
< ;;
<
12857a13614
> sys_lib_dlsearch_path_spec="/usr/lib"
12901,12905c13658,13659
< sco3.2v5*)
< version_type=osf
< soname_spec='${libname}${release}${shared_ext}$major'
< library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
< shlibpath_var=LD_LIBRARY_PATH
---
> rdos*)
> dynamic_linker=no
12933c13687
< sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
---
> sysv4 | sysv4.3*)
12965a13720,13742
> sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
> version_type=freebsd-elf
> need_lib_prefix=no
> need_version=no
> library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
> soname_spec='${libname}${release}${shared_ext}$major'
> shlibpath_var=LD_LIBRARY_PATH
> hardcode_into_libs=yes
> if test "$with_gnu_ld" = yes; then
> sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
> shlibpath_overrides_runpath=no
> else
> sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
> shlibpath_overrides_runpath=yes
> case $host_os in
> sco3.2v5*)
> sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
> ;;
> esac
> fi
> sys_lib_dlsearch_path_spec='/usr/lib'
> ;;
>
12980a13758,13777
> if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
> fi
>
> sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
> if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
> fi
>
> sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
>
> variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
> if test "$GCC" = yes; then
> variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
> fi
>
13018,13045d13814
< striplib=
< old_striplib=
< { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
< echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
< if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
< test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
< test -z "$striplib" && striplib="$STRIP --strip-unneeded"
< { echo "$as_me:$LINENO: result: yes" >&5
< echo "${ECHO_T}yes" >&6; }
< else
< # FIXME - insert some real tests, host_os isn't really good enough
< case $host_os in
< darwin*)
< if test -n "$STRIP" ; then
< striplib="$STRIP -x"
< { echo "$as_me:$LINENO: result: yes" >&5
< echo "${ECHO_T}yes" >&6; }
< else
< { echo "$as_me:$LINENO: result: no" >&5
< echo "${ECHO_T}no" >&6; }
< fi
< ;;
< *)
< { echo "$as_me:$LINENO: result: no" >&5
< echo "${ECHO_T}no" >&6; }
< ;;
< esac
< fi
13047,13820d13815
< if test "x$enable_dlopen" != xyes; then
< enable_dlopen=unknown
< enable_dlopen_self=unknown
< enable_dlopen_self_static=unknown
< else
< lt_cv_dlopen=no
< lt_cv_dlopen_libs=
<
< case $host_os in
< beos*)
< lt_cv_dlopen="load_add_on"
< lt_cv_dlopen_libs=
< lt_cv_dlopen_self=yes
< ;;
<
< mingw* | pw32*)
< lt_cv_dlopen="LoadLibrary"
< lt_cv_dlopen_libs=
< ;;
<
< cygwin*)
< lt_cv_dlopen="dlopen"
< lt_cv_dlopen_libs=
< ;;
<
< darwin*)
< # if libdl is installed we need to link against it
< { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
< echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
< if test "${ac_cv_lib_dl_dlopen+set}" = set; then
< echo $ECHO_N "(cached) $ECHO_C" >&6
< else
< ac_check_lib_save_LIBS=$LIBS
< LIBS="-ldl $LIBS"
< cat >conftest.$ac_ext <<_ACEOF
< /* confdefs.h. */
< _ACEOF
< cat confdefs.h >>conftest.$ac_ext
< cat >>conftest.$ac_ext <<_ACEOF
< /* end confdefs.h. */
<
< /* Override any GCC internal prototype to avoid an error.
< Use char because int might match the return type of a GCC
< builtin and then its argument prototype would still apply. */
< #ifdef __cplusplus
< extern "C"
< #endif
< char dlopen ();
< int
< main ()
< {
< return dlopen ();
< ;
< return 0;
< }
< _ACEOF
< rm -f conftest.$ac_objext conftest$ac_exeext
< if { (ac_try="$ac_link"
< case "(($ac_try" in
< *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
< *) ac_try_echo=$ac_try;;
< esac
< eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
< (eval "$ac_link") 2>conftest.er1
< ac_status=$?
< grep -v '^ *+' conftest.er1 >conftest.err
< rm -f conftest.er1
< cat conftest.err >&5
< echo "$as_me:$LINENO: \$? = $ac_status" >&5
< (exit $ac_status); } && {
< test -z "$ac_cxx_werror_flag" ||
< test ! -s conftest.err
< } && test -s conftest$ac_exeext &&
< $as_test_x conftest$ac_exeext; then
< ac_cv_lib_dl_dlopen=yes
< else
< echo "$as_me: failed program was:" >&5
< sed 's/^/| /' conftest.$ac_ext >&5
<
< ac_cv_lib_dl_dlopen=no
< fi
<
< rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
< conftest$ac_exeext conftest.$ac_ext
< LIBS=$ac_check_lib_save_LIBS
< fi
< { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
< echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
< if test $ac_cv_lib_dl_dlopen = yes; then
< lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
< else
<
< lt_cv_dlopen="dyld"
< lt_cv_dlopen_libs=
< lt_cv_dlopen_self=yes
<
< fi
<
< ;;
<
< *)
< { echo "$as_me:$LINENO: checking for shl_load" >&5
< echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
< if test "${ac_cv_func_shl_load+set}" = set; then
< echo $ECHO_N "(cached) $ECHO_C" >&6
< else
< cat >conftest.$ac_ext <<_ACEOF
< /* confdefs.h. */
< _ACEOF
< cat confdefs.h >>conftest.$ac_ext
< cat >>conftest.$ac_ext <<_ACEOF
< /* end confdefs.h. */
< /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
< For example, HP-UX 11i <limits.h> declares gettimeofday. */
< #define shl_load innocuous_shl_load
<
< /* System header to define __stub macros and hopefully few prototypes,
< which can conflict with char shl_load (); below.
< Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
< <limits.h> exists even on freestanding compilers. */
<
< #ifdef __STDC__
< # include <limits.h>
< #else
< # include <assert.h>
< #endif
<
< #undef shl_load
<
< /* Override any GCC internal prototype to avoid an error.
< Use char because int might match the return type of a GCC
< builtin and then its argument prototype would still apply. */
< #ifdef __cplusplus
< extern "C"
< #endif
< char shl_load ();
< /* The GNU C library defines this for functions which it implements
< to always fail with ENOSYS. Some functions are actually named
< something starting with __ and the normal name is an alias. */
< #if defined __stub_shl_load || defined __stub___shl_load
< choke me
< #endif
<
< int
< main ()
< {
< return shl_load ();
< ;
< return 0;
< }
< _ACEOF
< rm -f conftest.$ac_objext conftest$ac_exeext
< if { (ac_try="$ac_link"
< case "(($ac_try" in
< *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
< *) ac_try_echo=$ac_try;;
< esac
< eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
< (eval "$ac_link") 2>conftest.er1
< ac_status=$?
< grep -v '^ *+' conftest.er1 >conftest.err
< rm -f conftest.er1
< cat conftest.err >&5
< echo "$as_me:$LINENO: \$? = $ac_status" >&5
< (exit $ac_status); } && {
< test -z "$ac_cxx_werror_flag" ||
< test ! -s conftest.err
< } && test -s conftest$ac_exeext &&
< $as_test_x conftest$ac_exeext; then
< ac_cv_func_shl_load=yes
< else
< echo "$as_me: failed program was:" >&5
< sed 's/^/| /' conftest.$ac_ext >&5
<
< ac_cv_func_shl_load=no
< fi
<
< rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
< conftest$ac_exeext conftest.$ac_ext
< fi
< { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
< echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
< if test $ac_cv_func_shl_load = yes; then
< lt_cv_dlopen="shl_load"
< else
< { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
< echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
< if test "${ac_cv_lib_dld_shl_load+set}" = set; then
< echo $ECHO_N "(cached) $ECHO_C" >&6
< else
< ac_check_lib_save_LIBS=$LIBS
< LIBS="-ldld $LIBS"
< cat >conftest.$ac_ext <<_ACEOF
< /* confdefs.h. */
< _ACEOF
< cat confdefs.h >>conftest.$ac_ext
< cat >>conftest.$ac_ext <<_ACEOF
< /* end confdefs.h. */
<
< /* Override any GCC internal prototype to avoid an error.
< Use char because int might match the return type of a GCC
< builtin and then its argument prototype would still apply. */
< #ifdef __cplusplus
< extern "C"
< #endif
< char shl_load ();
< int
< main ()
< {
< return shl_load ();
< ;
< return 0;
< }
< _ACEOF
< rm -f conftest.$ac_objext conftest$ac_exeext
< if { (ac_try="$ac_link"
< case "(($ac_try" in
< *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
< *) ac_try_echo=$ac_try;;
< esac
< eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
< (eval "$ac_link") 2>conftest.er1
< ac_status=$?
< grep -v '^ *+' conftest.er1 >conftest.err
< rm -f conftest.er1
< cat conftest.err >&5
< echo "$as_me:$LINENO: \$? = $ac_status" >&5
< (exit $ac_status); } && {
< test -z "$ac_cxx_werror_flag" ||
< test ! -s conftest.err
< } && test -s conftest$ac_exeext &&
< $as_test_x conftest$ac_exeext; then
< ac_cv_lib_dld_shl_load=yes
< else
< echo "$as_me: failed program was:" >&5
< sed 's/^/| /' conftest.$ac_ext >&5
<
< ac_cv_lib_dld_shl_load=no
< fi
<
< rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
< conftest$ac_exeext conftest.$ac_ext
< LIBS=$ac_check_lib_save_LIBS
< fi
< { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
< echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
< if test $ac_cv_lib_dld_shl_load = yes; then
< lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
< else
< { echo "$as_me:$LINENO: checking for dlopen" >&5
< echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
< if test "${ac_cv_func_dlopen+set}" = set; then
< echo $ECHO_N "(cached) $ECHO_C" >&6
< else
< cat >conftest.$ac_ext <<_ACEOF
< /* confdefs.h. */
< _ACEOF
< cat confdefs.h >>conftest.$ac_ext
< cat >>conftest.$ac_ext <<_ACEOF
< /* end confdefs.h. */
< /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
< For example, HP-UX 11i <limits.h> declares gettimeofday. */
< #define dlopen innocuous_dlopen
<
< /* System header to define __stub macros and hopefully few prototypes,
< which can conflict with char dlopen (); below.
< Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
< <limits.h> exists even on freestanding compilers. */
<
< #ifdef __STDC__
< # include <limits.h>
< #else
< # include <assert.h>
< #endif
<
< #undef dlopen
<
< /* Override any GCC internal prototype to avoid an error.
< Use char because int might match the return type of a GCC
< builtin and then its argument prototype would still apply. */
< #ifdef __cplusplus
< extern "C"
< #endif
< char dlopen ();
< /* The GNU C library defines this for functions which it implements
< to always fail with ENOSYS. Some functions are actually named
< something starting with __ and the normal name is an alias. */
< #if defined __stub_dlopen || defined __stub___dlopen
< choke me
< #endif
<
< int
< main ()
< {
< return dlopen ();
< ;
< return 0;
< }
< _ACEOF
< rm -f conftest.$ac_objext conftest$ac_exeext
< if { (ac_try="$ac_link"
< case "(($ac_try" in
< *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
< *) ac_try_echo=$ac_try;;
< esac
< eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
< (eval "$ac_link") 2>conftest.er1
< ac_status=$?
< grep -v '^ *+' conftest.er1 >conftest.err
< rm -f conftest.er1
< cat conftest.err >&5
< echo "$as_me:$LINENO: \$? = $ac_status" >&5
< (exit $ac_status); } && {
< test -z "$ac_cxx_werror_flag" ||
< test ! -s conftest.err
< } && test -s conftest$ac_exeext &&
< $as_test_x conftest$ac_exeext; then
< ac_cv_func_dlopen=yes
< else
< echo "$as_me: failed program was:" >&5
< sed 's/^/| /' conftest.$ac_ext >&5
<
< ac_cv_func_dlopen=no
< fi
<
< rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
< conftest$ac_exeext conftest.$ac_ext
< fi
< { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
< echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
< if test $ac_cv_func_dlopen = yes; then
< lt_cv_dlopen="dlopen"
< else
< { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
< echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
< if test "${ac_cv_lib_dl_dlopen+set}" = set; then
< echo $ECHO_N "(cached) $ECHO_C" >&6
< else
< ac_check_lib_save_LIBS=$LIBS
< LIBS="-ldl $LIBS"
< cat >conftest.$ac_ext <<_ACEOF
< /* confdefs.h. */
< _ACEOF
< cat confdefs.h >>conftest.$ac_ext
< cat >>conftest.$ac_ext <<_ACEOF
< /* end confdefs.h. */
<
< /* Override any GCC internal prototype to avoid an error.
< Use char because int might match the return type of a GCC
< builtin and then its argument prototype would still apply. */
< #ifdef __cplusplus
< extern "C"
< #endif
< char dlopen ();
< int
< main ()
< {
< return dlopen ();
< ;
< return 0;
< }
< _ACEOF
< rm -f conftest.$ac_objext conftest$ac_exeext
< if { (ac_try="$ac_link"
< case "(($ac_try" in
< *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
< *) ac_try_echo=$ac_try;;
< esac
< eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
< (eval "$ac_link") 2>conftest.er1
< ac_status=$?
< grep -v '^ *+' conftest.er1 >conftest.err
< rm -f conftest.er1
< cat conftest.err >&5
< echo "$as_me:$LINENO: \$? = $ac_status" >&5
< (exit $ac_status); } && {
< test -z "$ac_cxx_werror_flag" ||
< test ! -s conftest.err
< } && test -s conftest$ac_exeext &&
< $as_test_x conftest$ac_exeext; then
< ac_cv_lib_dl_dlopen=yes
< else
< echo "$as_me: failed program was:" >&5
< sed 's/^/| /' conftest.$ac_ext >&5
<
< ac_cv_lib_dl_dlopen=no
< fi
<
< rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
< conftest$ac_exeext conftest.$ac_ext
< LIBS=$ac_check_lib_save_LIBS
< fi
< { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
< echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
< if test $ac_cv_lib_dl_dlopen = yes; then
< lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
< else
< { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
< echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
< if test "${ac_cv_lib_svld_dlopen+set}" = set; then
< echo $ECHO_N "(cached) $ECHO_C" >&6
< else
< ac_check_lib_save_LIBS=$LIBS
< LIBS="-lsvld $LIBS"
< cat >conftest.$ac_ext <<_ACEOF
< /* confdefs.h. */
< _ACEOF
< cat confdefs.h >>conftest.$ac_ext
< cat >>conftest.$ac_ext <<_ACEOF
< /* end confdefs.h. */
<
< /* Override any GCC internal prototype to avoid an error.
< Use char because int might match the return type of a GCC
< builtin and then its argument prototype would still apply. */
< #ifdef __cplusplus
< extern "C"
< #endif
< char dlopen ();
< int
< main ()
< {
< return dlopen ();
< ;
< return 0;
< }
< _ACEOF
< rm -f conftest.$ac_objext conftest$ac_exeext
< if { (ac_try="$ac_link"
< case "(($ac_try" in
< *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
< *) ac_try_echo=$ac_try;;
< esac
< eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
< (eval "$ac_link") 2>conftest.er1
< ac_status=$?
< grep -v '^ *+' conftest.er1 >conftest.err
< rm -f conftest.er1
< cat conftest.err >&5
< echo "$as_me:$LINENO: \$? = $ac_status" >&5
< (exit $ac_status); } && {
< test -z "$ac_cxx_werror_flag" ||
< test ! -s conftest.err
< } && test -s conftest$ac_exeext &&
< $as_test_x conftest$ac_exeext; then
< ac_cv_lib_svld_dlopen=yes
< else
< echo "$as_me: failed program was:" >&5
< sed 's/^/| /' conftest.$ac_ext >&5
<
< ac_cv_lib_svld_dlopen=no
< fi
<
< rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
< conftest$ac_exeext conftest.$ac_ext
< LIBS=$ac_check_lib_save_LIBS
< fi
< { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
< echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
< if test $ac_cv_lib_svld_dlopen = yes; then
< lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
< else
< { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
< echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
< if test "${ac_cv_lib_dld_dld_link+set}" = set; then
< echo $ECHO_N "(cached) $ECHO_C" >&6
< else
< ac_check_lib_save_LIBS=$LIBS
< LIBS="-ldld $LIBS"
< cat >conftest.$ac_ext <<_ACEOF
< /* confdefs.h. */
< _ACEOF
< cat confdefs.h >>conftest.$ac_ext
< cat >>conftest.$ac_ext <<_ACEOF
< /* end confdefs.h. */
<
< /* Override any GCC internal prototype to avoid an error.
< Use char because int might match the return type of a GCC
< builtin and then its argument prototype would still apply. */
< #ifdef __cplusplus
< extern "C"
< #endif
< char dld_link ();
< int
< main ()
< {
< return dld_link ();
< ;
< return 0;
< }
< _ACEOF
< rm -f conftest.$ac_objext conftest$ac_exeext
< if { (ac_try="$ac_link"
< case "(($ac_try" in
< *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
< *) ac_try_echo=$ac_try;;
< esac
< eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
< (eval "$ac_link") 2>conftest.er1
< ac_status=$?
< grep -v '^ *+' conftest.er1 >conftest.err
< rm -f conftest.er1
< cat conftest.err >&5
< echo "$as_me:$LINENO: \$? = $ac_status" >&5
< (exit $ac_status); } && {
< test -z "$ac_cxx_werror_flag" ||
< test ! -s conftest.err
< } && test -s conftest$ac_exeext &&
< $as_test_x conftest$ac_exeext; then
< ac_cv_lib_dld_dld_link=yes
< else
< echo "$as_me: failed program was:" >&5
< sed 's/^/| /' conftest.$ac_ext >&5
<
< ac_cv_lib_dld_dld_link=no
< fi
<
< rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
< conftest$ac_exeext conftest.$ac_ext
< LIBS=$ac_check_lib_save_LIBS
< fi
< { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
< echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
< if test $ac_cv_lib_dld_dld_link = yes; then
< lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
< fi
<
<
< fi
<
<
< fi
<
<
< fi
<
<
< fi
<
<
< fi
<
< ;;
< esac
<
< if test "x$lt_cv_dlopen" != xno; then
< enable_dlopen=yes
< else
< enable_dlopen=no
< fi
<
< case $lt_cv_dlopen in
< dlopen)
< save_CPPFLAGS="$CPPFLAGS"
< test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
<
< save_LDFLAGS="$LDFLAGS"
< eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
<
< save_LIBS="$LIBS"
< LIBS="$lt_cv_dlopen_libs $LIBS"
<
< { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
< echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
< if test "${lt_cv_dlopen_self+set}" = set; then
< echo $ECHO_N "(cached) $ECHO_C" >&6
< else
< if test "$cross_compiling" = yes; then :
< lt_cv_dlopen_self=cross
< else
< lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
< lt_status=$lt_dlunknown
< cat > conftest.$ac_ext <<EOF
< #line 13619 "configure"
< #include "confdefs.h"
<
< #if HAVE_DLFCN_H
< #include <dlfcn.h>
< #endif
<
< #include <stdio.h>
<
< #ifdef RTLD_GLOBAL
< # define LT_DLGLOBAL RTLD_GLOBAL
< #else
< # ifdef DL_GLOBAL
< # define LT_DLGLOBAL DL_GLOBAL
< # else
< # define LT_DLGLOBAL 0
< # endif
< #endif
<
< /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
< find out it does not work in some platform. */
< #ifndef LT_DLLAZY_OR_NOW
< # ifdef RTLD_LAZY
< # define LT_DLLAZY_OR_NOW RTLD_LAZY
< # else
< # ifdef DL_LAZY
< # define LT_DLLAZY_OR_NOW DL_LAZY
< # else
< # ifdef RTLD_NOW
< # define LT_DLLAZY_OR_NOW RTLD_NOW
< # else
< # ifdef DL_NOW
< # define LT_DLLAZY_OR_NOW DL_NOW
< # else
< # define LT_DLLAZY_OR_NOW 0
< # endif
< # endif
< # endif
< # endif
< #endif
<
< #ifdef __cplusplus
< extern "C" void exit (int);
< #endif
<
< void fnord() { int i=42;}
< int main ()
< {
< void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
< int status = $lt_dlunknown;
<
< if (self)
< {
< if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
< else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
< /* dlclose (self); */
< }
<
< exit (status);
< }
< EOF
< if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
< (eval $ac_link) 2>&5
< ac_status=$?
< echo "$as_me:$LINENO: \$? = $ac_status" >&5
< (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
< (./conftest; exit; ) 2>/dev/null
< lt_status=$?
< case x$lt_status in
< x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
< x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
< x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
< esac
< else :
< # compilation failed
< lt_cv_dlopen_self=no
< fi
< fi
< rm -fr conftest*
<
<
< fi
< { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
< echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
<
< if test "x$lt_cv_dlopen_self" = xyes; then
< LDFLAGS="$LDFLAGS $link_static_flag"
< { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
< echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
< if test "${lt_cv_dlopen_self_static+set}" = set; then
< echo $ECHO_N "(cached) $ECHO_C" >&6
< else
< if test "$cross_compiling" = yes; then :
< lt_cv_dlopen_self_static=cross
< else
< lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
< lt_status=$lt_dlunknown
< cat > conftest.$ac_ext <<EOF
< #line 13717 "configure"
< #include "confdefs.h"
<
< #if HAVE_DLFCN_H
< #include <dlfcn.h>
< #endif
<
< #include <stdio.h>
<
< #ifdef RTLD_GLOBAL
< # define LT_DLGLOBAL RTLD_GLOBAL
< #else
< # ifdef DL_GLOBAL
< # define LT_DLGLOBAL DL_GLOBAL
< # else
< # define LT_DLGLOBAL 0
< # endif
< #endif
<
< /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
< find out it does not work in some platform. */
< #ifndef LT_DLLAZY_OR_NOW
< # ifdef RTLD_LAZY
< # define LT_DLLAZY_OR_NOW RTLD_LAZY
< # else
< # ifdef DL_LAZY
< # define LT_DLLAZY_OR_NOW DL_LAZY
< # else
< # ifdef RTLD_NOW
< # define LT_DLLAZY_OR_NOW RTLD_NOW
< # else
< # ifdef DL_NOW
< # define LT_DLLAZY_OR_NOW DL_NOW
< # else
< # define LT_DLLAZY_OR_NOW 0
< # endif
< # endif
< # endif
< # endif
< #endif
<
< #ifdef __cplusplus
< extern "C" void exit (int);
< #endif
<
< void fnord() { int i=42;}
< int main ()
< {
< void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
< int status = $lt_dlunknown;
<
< if (self)
< {
< if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
< else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
< /* dlclose (self); */
< }
<
< exit (status);
< }
< EOF
< if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
< (eval $ac_link) 2>&5
< ac_status=$?
< echo "$as_me:$LINENO: \$? = $ac_status" >&5
< (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
< (./conftest; exit; ) 2>/dev/null
< lt_status=$?
< case x$lt_status in
< x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
< x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
< x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
< esac
< else :
< # compilation failed
< lt_cv_dlopen_self_static=no
< fi
< fi
< rm -fr conftest*
<
<
< fi
< { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
< echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
< fi
<
< CPPFLAGS="$save_CPPFLAGS"
< LDFLAGS="$save_LDFLAGS"
< LIBS="$save_LIBS"
< ;;
< esac
<
< case $lt_cv_dlopen_self in
< yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
< *) enable_dlopen_self=unknown ;;
< esac
<
< case $lt_cv_dlopen_self_static in
< yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
< *) enable_dlopen_self_static=unknown ;;
< esac
< fi
<
<
13834c13829
< for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
---
> for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13860a13856
> compiler_lib_search_dirs_CXX \
13875a13872
> fix_srcfile_path_CXX \
13951a13949,13951
> # LTCC compiler flags.
> LTCFLAGS=$lt_LTCFLAGS
>
14104a14105,14108
> # The directories searched by this compiler when creating a shared
> # library
> compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
>
14193c14197
< fix_srcfile_path="$fix_srcfile_path_CXX"
---
> fix_srcfile_path=$lt_fix_srcfile_path
14284c14288,14292
< lt_simple_compile_test_code=" subroutine t\n return\n end\n"
---
> lt_simple_compile_test_code="\
> subroutine t
> return
> end
> "
14287c14295,14298
< lt_simple_link_test_code=" program t\n end\n"
---
> lt_simple_link_test_code="\
> program t
> end
> "
14293a14305,14307
> # If no C compiler flags were specified, use CFLAGS.
> LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
>
14300,14301c14314,14315
< printf "$lt_simple_compile_test_code" >conftest.$ac_ext
< eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
---
> echo "$lt_simple_compile_test_code" >conftest.$ac_ext
> eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14306,14307c14320,14321
< printf "$lt_simple_link_test_code" >conftest.$ac_ext
< eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
---
> echo "$lt_simple_link_test_code" >conftest.$ac_ext
> eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14309c14323
< $rm conftest*
---
> $rm -r conftest*
14339c14353
< case "$host_os" in
---
> case $host_os in
14347c14361
< aix4* | aix5*)
---
> aix[4-9]*)
14363,14364d14376
< test "$ld_shlibs_F77" = no && can_build_shared=no
<
14395c14407
< beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
---
> beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14399c14411
< mingw* | pw32* | os2*)
---
> mingw* | cygwin* | pw32* | os2*)
14401a14414,14415
> # Although the cygwin gcc ignores -fPIC, still need this for old-style
> # (--disable-auto-import) libraries
14410a14425,14429
> interix[3-9]*)
> # Interix 3.x gcc -fpic/-fPIC options generate broken code.
> # Instead, we relocate shared libraries at runtime.
> ;;
>
14427c14446
< case "$host_cpu" in
---
> case $host_cpu in
14464c14483
< mingw* | pw32* | os2*)
---
> mingw* | cygwin* | pw32* | os2*)
14474c14493
< case "$host_cpu" in
---
> case $host_cpu in
14497c14516
< linux*)
---
> linux* | k*bsd*-gnu)
14504c14523
< pgcc* | pgf77* | pgf90*)
---
> pgcc* | pgf77* | pgf90* | pgf95*)
14509c14528
< lt_prog_compiler_static_F77='-static'
---
> lt_prog_compiler_static_F77='-Bstatic'
14515a14535,14550
> *)
> case `$CC -V 2>&1 | sed 5q` in
> *Sun\ C*)
> # Sun C 5.9
> lt_prog_compiler_pic_F77='-KPIC'
> lt_prog_compiler_static_F77='-Bstatic'
> lt_prog_compiler_wl_F77='-Wl,'
> ;;
> *Sun\ F*)
> # Sun Fortran 8.3 passes all unrecognized flags to the linker
> lt_prog_compiler_pic_F77='-KPIC'
> lt_prog_compiler_static_F77='-Bstatic'
> lt_prog_compiler_wl_F77=''
> ;;
> esac
> ;;
14525,14527c14560,14561
< sco3.2v5*)
< lt_prog_compiler_pic_F77='-Kpic'
< lt_prog_compiler_static_F77='-dn'
---
> rdos*)
> lt_prog_compiler_static_F77='-non_shared'
14547c14581
< sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
---
> sysv4 | sysv4.2uw2* | sysv4.3*)
14559a14594,14599
> sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
> lt_prog_compiler_wl_F77='-Wl,'
> lt_prog_compiler_pic_F77='-KPIC'
> lt_prog_compiler_static_F77='-Bstatic'
> ;;
>
14586c14626
< if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
---
> if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14589c14629
< lt_prog_compiler_pic_works_F77=no
---
> lt_cv_prog_compiler_pic_works_F77=no
14591c14631
< printf "$lt_simple_compile_test_code" > conftest.$ac_ext
---
> echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14599c14639
< -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
---
> -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14602c14642
< (eval echo "\"\$as_me:14602: $lt_compile\"" >&5)
---
> (eval echo "\"\$as_me:14642: $lt_compile\"" >&5)
14606c14646
< echo "$as_me:14606: \$? = $ac_status" >&5
---
> echo "$as_me:14646: \$? = $ac_status" >&5
14610,14613c14650,14653
< $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
< $SED '/^$/d' conftest.err >conftest.er2
< if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
< lt_prog_compiler_pic_works_F77=yes
---
> $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
> $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
> if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
> lt_cv_prog_compiler_pic_works_F77=yes
14619,14620c14659,14660
< { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
< echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
---
> { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
> echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
14622c14662
< if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
---
> if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
14633c14673
< case "$host_os" in
---
> case $host_os in
14642a14683,14724
> #
> # Check to make sure the static flag actually works.
> #
> wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
> { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
> echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
> if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> lt_cv_prog_compiler_static_works_F77=no
> save_LDFLAGS="$LDFLAGS"
> LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
> echo "$lt_simple_link_test_code" > conftest.$ac_ext
> if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
> # The linker can only warn and ignore the option if not recognized
> # So say no if there are warnings
> if test -s conftest.err; then
> # Append any errors to the config.log.
> cat conftest.err 1>&5
> $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
> $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
> if diff conftest.exp conftest.er2 >/dev/null; then
> lt_cv_prog_compiler_static_works_F77=yes
> fi
> else
> lt_cv_prog_compiler_static_works_F77=yes
> fi
> fi
> $rm -r conftest*
> LDFLAGS="$save_LDFLAGS"
>
> fi
> { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
> echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
>
> if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
> :
> else
> lt_prog_compiler_static_F77=
> fi
>
>
14653c14735
< printf "$lt_simple_compile_test_code" > conftest.$ac_ext
---
> echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14661c14743
< -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
---
> -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14664c14746
< (eval echo "\"\$as_me:14664: $lt_compile\"" >&5)
---
> (eval echo "\"\$as_me:14746: $lt_compile\"" >&5)
14668c14750
< echo "$as_me:14668: \$? = $ac_status" >&5
---
> echo "$as_me:14750: \$? = $ac_status" >&5
14673,14675c14755,14757
< $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
< $SED '/^$/d' out/conftest.err >out/conftest.er2
< if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
---
> $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
> $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
> if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14679c14761
< chmod u+w .
---
> chmod u+w . 2>&5
14748c14830
< exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
---
> exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14753a14836
> # Exclude shared library initialization/finalization symbols.
14774a14858,14861
> interix*)
> # we just hope/assume this is gcc and not c89 (= MSVC++)
> with_gnu_ld=yes
> ;;
14808c14895
< aix3* | aix4* | aix5*)
---
> aix[3-9]*)
14856c14943
< export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
---
> export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14859c14946
< archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
---
> archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14868c14955
< $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
---
> $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14874c14961,14976
< linux*)
---
> interix[3-9]*)
> hardcode_direct_F77=no
> hardcode_shlibpath_var_F77=no
> hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
> export_dynamic_flag_spec_F77='${wl}-E'
> # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
> # Instead, shared libraries are loaded at an image base (0x10000000 by
> # default) and relocated if they conflict, which is a slow very memory
> # consuming and fragmenting process. To avoid this, we pick a random,
> # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
> # time. Moving up from 0x10000000 also allows more sbrk(2) space.
> archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
> 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'
> ;;
>
> gnu* | linux* | k*bsd*-gnu)
14879c14981
< whole_archive_flag_spec_F77='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
---
> whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14882,14883c14984,14985
< pgf77* | pgf90* ) # Portland Group f77 and f90 compilers
< whole_archive_flag_spec_F77='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
---
> pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
> whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14892c14994,15003
< archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
---
> case `$CC -V 2>&1 | sed 5q` in
> *Sun\ C*) # Sun C 5.9
> 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'
> tmp_sharedflag='-G' ;;
> *Sun\ F*) # Sun Fortran 8.3
> tmp_sharedflag='-G' ;;
> *)
> tmp_sharedflag='-shared' ;;
> esac
> archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14898c15009
< $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
---
> $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14915c15026
< solaris* | sysv5*)
---
> solaris*)
14935a15047,15073
> sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
> case `$LD -v 2>&1` in
> *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
> ld_shlibs_F77=no
> cat <<_LT_EOF 1>&2
>
> *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
> *** reliably create shared libraries on SCO systems. Therefore, libtool
> *** is disabling shared libraries support. We urge you to upgrade GNU
> *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
> *** your PATH or compiler configuration so that the native linker is
> *** used, and then restart.
>
> _LT_EOF
> ;;
> *)
> if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
> hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
> archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
> archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
> else
> ld_shlibs_F77=no
> fi
> ;;
> esac
> ;;
>
14969c15107
< if test "$GCC" = yes && test -z "$link_static_flag"; then
---
> if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14976c15114
< aix4* | aix5*)
---
> aix[4-9]*)
14996c15134
< case $host_os in aix4.[23]|aix4.[23].*|aix5*)
---
> case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15002a15141
> ;;
15029c15168
< hardcode_direct_F77=yes
---
> :
15039a15179
> ;;
15052c15192
< if test "$aix_use_runtimelinking" = yes; then
---
> if test "$aix_use_runtimelinking" = yes; then
15056c15196
< fi
---
> fi
15092,15093c15232,15239
< aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
< }'`
---
> lt_aix_libpath_sed='
> /Import File Strings/,/^$/ {
> /^0/ {
> s/^0 *\(.*\)$/\1/
> p
> }
> }'
> aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15095,15096c15241,15243
< 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; }
< }'`; fi
---
> if test -z "$aix_libpath"; then
> aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
> fi
15109c15256
< archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
---
> archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15114c15261
< archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
---
> archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
15141,15142c15288,15295
< aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
< }'`
---
> lt_aix_libpath_sed='
> /Import File Strings/,/^$/ {
> /^0/ {
> s/^0 *\(.*\)$/\1/
> p
> }
> }'
> aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15144,15145c15297,15299
< 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; }
< }'`; fi
---
> if test -z "$aix_libpath"; then
> aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
> fi
15162,15163d15315
< # -bexpall does not export symbols beginning with underscore (_)
< always_export_symbols_F77=yes
15165c15317
< whole_archive_flag_spec_F77=' '
---
> whole_archive_flag_spec_F77='$convenience'
15167,15168c15319,15320
< # This is similar to how AIX traditionally builds it's shared libraries.
< archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
---
> # This is similar to how AIX traditionally builds its shared libraries.
> archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15201c15353
< old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
---
> old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
15207c15359
< case "$host_os" in
---
> case $host_os in
15234,15238c15386,15389
< archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
< module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
< # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
< archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
< 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}'
---
> archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
> module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
> archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
> module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15243c15394
< archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
---
> archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15245,15246c15396,15397
< # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
< 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}'
---
> # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
> 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}'
15286c15437
< freebsd* | kfreebsd*-gnu | dragonfly*)
---
> freebsd* | dragonfly*)
15309c15460
< hpux10* | hpux11*)
---
> hpux10*)
15311,15312c15462,15482
< case "$host_cpu" in
< hppa*64*|ia64*)
---
> archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
> else
> archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
> fi
> if test "$with_gnu_ld" = no; then
> hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
> hardcode_libdir_separator_F77=:
>
> hardcode_direct_F77=yes
> export_dynamic_flag_spec_F77='${wl}-E'
>
> # hardcode_minus_L: Not really in the search PATH,
> # but as the default location of the library.
> hardcode_minus_L_F77=yes
> fi
> ;;
>
> hpux11*)
> if test "$GCC" = yes -a "$with_gnu_ld" = no; then
> case $host_cpu in
> hppa*64*)
15314a15485,15487
> ia64*)
> archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
> ;;
15320,15322c15493,15495
< case "$host_cpu" in
< hppa*64*|ia64*)
< archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
---
> case $host_cpu in
> hppa*64*)
> archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15323a15497,15499
> ia64*)
> archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
> ;;
15325c15501
< archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
---
> archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15330,15332c15506,15510
< case "$host_cpu" in
< hppa*64*)
< hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
---
> hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
> hardcode_libdir_separator_F77=:
>
> case $host_cpu in
> hppa*64*|ia64*)
15334d15511
< hardcode_libdir_separator_F77=:
15338,15346d15514
< ia64*)
< hardcode_libdir_flag_spec_F77='-L$libdir'
< hardcode_direct_F77=no
< hardcode_shlibpath_var_F77=no
<
< # hardcode_minus_L: Not really in the search PATH,
< # but as the default location of the library.
< hardcode_minus_L_F77=yes
< ;;
15348,15349d15515
< hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
< hardcode_libdir_separator_F77=:
15393,15399c15559,15578
< hardcode_direct_F77=yes
< hardcode_shlibpath_var_F77=no
< if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
< archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
< archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
< hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
< export_dynamic_flag_spec_F77='${wl}-E'
---
> if test -f /usr/libexec/ld.so; then
> hardcode_direct_F77=yes
> hardcode_shlibpath_var_F77=no
> if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
> archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
> archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
> hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
> export_dynamic_flag_spec_F77='${wl}-E'
> else
> case $host_os in
> openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
> archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
> hardcode_libdir_flag_spec_F77='-R$libdir'
> ;;
> *)
> archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
> hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
> ;;
> esac
> fi
15401,15410c15580
< case $host_os in
< openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
< archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
< hardcode_libdir_flag_spec_F77='-R$libdir'
< ;;
< *)
< archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
< hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
< ;;
< esac
---
> ld_shlibs_F77=no
15451,15458d15620
< sco3.2v5*)
< archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
< hardcode_shlibpath_var_F77=no
< export_dynamic_flag_spec_F77='${wl}-Bexport'
< runpath_var=LD_RUN_PATH
< hardcode_runpath_var=yes
< ;;
<
15477,15480c15639,15641
< # The compiler driver will combine linker options so we
< # cannot just pass the convience library names through
< # without $wl, iff we do not link with $LD.
< # Luckily, gcc supports the same syntax we need for Sun Studio.
---
> # The compiler driver will combine and reorder linker options,
> # but understands `-z linker_flag'. GCC discards it without `$wl',
> # but is careful enough not to reorder.
15482,15487c15643,15648
< case $wlarc in
< '')
< whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
< *)
< 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' ;;
< esac ;;
---
> if test "$GCC" = yes; then
> whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
> else
> whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
> fi
> ;;
15544,15547c15705,15707
< sysv4.2uw2*)
< archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
< hardcode_direct_F77=yes
< hardcode_minus_L_F77=no
---
> sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
> no_undefined_flag_F77='${wl}-z,text'
> archive_cmds_need_lc_F77=no
15549,15551c15709
< hardcode_runpath_var=yes
< runpath_var=LD_RUN_PATH
< ;;
---
> runpath_var='LD_RUN_PATH'
15553,15554d15710
< sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
< no_undefined_flag_F77='${wl}-z ${wl}text'
15556c15712,15713
< archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
---
> archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
> archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15558c15715,15716
< archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
---
> archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
> archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15560,15561d15717
< runpath_var='LD_RUN_PATH'
< hardcode_shlibpath_var_F77=no
15564,15571c15720,15729
< sysv5*)
< no_undefined_flag_F77=' -z text'
< # $CC -shared without GNU ld will not create a library from C++
< # object files and a static libstdc++, better avoid it by now
< archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
< archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
< $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
< hardcode_libdir_flag_spec_F77=
---
> sysv5* | sco3.2v5* | sco5v6*)
> # Note: We can NOT use -z defs as we might desire, because we do not
> # link with -lc, and that would cause any symbols used from libc to
> # always be unresolved, which means just about no library would
> # ever link correctly. If we're not using GNU ld we use -z text
> # though, which does catch some bad symbols but isn't as heavy-handed
> # as -z defs.
> no_undefined_flag_F77='${wl}-z,text'
> allow_undefined_flag_F77='${wl}-z,nodefs'
> archive_cmds_need_lc_F77=no
15572a15731,15734
> hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
> hardcode_libdir_separator_F77=':'
> link_all_deplibs_F77=yes
> export_dynamic_flag_spec_F77='${wl}-Bexport'
15573a15736,15743
>
> if test "$GCC" = yes; then
> archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
> archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
> else
> archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
> archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
> fi
15592,15596d15761
< variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
< if test "$GCC" = yes; then
< variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
< fi
<
15617c15782
< printf "$lt_simple_compile_test_code" > conftest.$ac_ext
---
> echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15628a15794
> pic_flag=$lt_prog_compiler_pic_F77
15674,15687c15840
< if test "$GCC" = yes; then
< sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
< if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
< # if the path contains ";" then we assume it to be the separator
< # otherwise default to the standard path separator (i.e. ":") - it is
< # assumed that no part of a normal pathname contains ";" but that should
< # okay in the real world where ";" in dirpaths is itself problematic.
< sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
< else
< sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
< fi
< else
< sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
< fi
---
>
15705c15858
< aix4* | aix5*)
---
> aix[4-9]*)
15789c15942,15943
< $install_prog $dir/$dlname \$dldir/$dlname'
---
> $install_prog $dir/$dlname \$dldir/$dlname~
> chmod a+x \$dldir/$dlname'
15842,15848c15996,15997
< shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
< # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
< if test "$GCC" = yes; then
< 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"`
< else
< sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
< fi
---
> shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
>
15865,15876d16013
< kfreebsd*-gnu)
< version_type=linux
< need_lib_prefix=no
< need_version=no
< library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
< soname_spec='${libname}${release}${shared_ext}$major'
< shlibpath_var=LD_LIBRARY_PATH
< shlibpath_overrides_runpath=no
< hardcode_into_libs=yes
< dynamic_linker='GNU ld.so'
< ;;
<
15880c16017,16024
< objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
---
> if test -x /usr/bin/objformat; then
> objformat=`/usr/bin/objformat`
> else
> case $host_os in
> freebsd[123]*) objformat=aout ;;
> *) objformat=elf ;;
> esac
> fi
15902c16046,16047
< *) # from 3.2 on
---
> freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
> freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15905a16051,16054
> *) # from 4.6 on, and DragonFly
> shlibpath_overrides_runpath=yes
> hardcode_into_libs=yes
> ;;
15925c16074
< case "$host_cpu" in
---
> case $host_cpu in
15964a16114,16125
> interix[3-9]*)
> version_type=linux
> need_lib_prefix=no
> need_version=no
> library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
> soname_spec='${libname}${release}${shared_ext}$major'
> dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
> shlibpath_var=LD_LIBRARY_PATH
> shlibpath_overrides_runpath=no
> hardcode_into_libs=yes
> ;;
>
16008c16169
< linux*)
---
> linux* | k*bsd*-gnu)
16024c16185
< 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' ' '`
---
> 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' ' '`
16037,16048d16197
< knetbsd*-gnu)
< version_type=linux
< need_lib_prefix=no
< need_version=no
< library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
< soname_spec='${libname}${release}${shared_ext}$major'
< shlibpath_var=LD_LIBRARY_PATH
< shlibpath_overrides_runpath=no
< hardcode_into_libs=yes
< dynamic_linker='GNU ld.so'
< ;;
<
16085a16235
> sys_lib_dlsearch_path_spec="/usr/lib"
16129,16133c16279,16280
< sco3.2v5*)
< version_type=osf
< soname_spec='${libname}${release}${shared_ext}$major'
< library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
< shlibpath_var=LD_LIBRARY_PATH
---
> rdos*)
> dynamic_linker=no
16161c16308
< sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
---
> sysv4 | sysv4.3*)
16193a16341,16363
> sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
> version_type=freebsd-elf
> need_lib_prefix=no
> need_version=no
> library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
> soname_spec='${libname}${release}${shared_ext}$major'
> shlibpath_var=LD_LIBRARY_PATH
> hardcode_into_libs=yes
> if test "$with_gnu_ld" = yes; then
> sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
> shlibpath_overrides_runpath=no
> else
> sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
> shlibpath_overrides_runpath=yes
> case $host_os in
> sco3.2v5*)
> sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
> ;;
> esac
> fi
> sys_lib_dlsearch_path_spec='/usr/lib'
> ;;
>
16208a16379,16398
> if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
> fi
>
> sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
> if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
> fi
>
> sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
>
> variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
> if test "$GCC" = yes; then
> variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
> fi
>
16246,16273d16435
< striplib=
< old_striplib=
< { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
< echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
< if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
< test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
< test -z "$striplib" && striplib="$STRIP --strip-unneeded"
< { echo "$as_me:$LINENO: result: yes" >&5
< echo "${ECHO_T}yes" >&6; }
< else
< # FIXME - insert some real tests, host_os isn't really good enough
< case $host_os in
< darwin*)
< if test -n "$STRIP" ; then
< striplib="$STRIP -x"
< { echo "$as_me:$LINENO: result: yes" >&5
< echo "${ECHO_T}yes" >&6; }
< else
< { echo "$as_me:$LINENO: result: no" >&5
< echo "${ECHO_T}no" >&6; }
< fi
< ;;
< *)
< { echo "$as_me:$LINENO: result: no" >&5
< echo "${ECHO_T}no" >&6; }
< ;;
< esac
< fi
16275,16276d16436
<
<
16290c16450
< for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
---
> for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16316a16477
> compiler_lib_search_dirs_F77 \
16331a16493
> fix_srcfile_path_F77 \
16407a16570,16572
> # LTCC compiler flags.
> LTCFLAGS=$lt_LTCFLAGS
>
16560a16726,16729
> # The directories searched by this compiler when creating a shared
> # library
> compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
>
16649c16818
< fix_srcfile_path="$fix_srcfile_path_F77"
---
> fix_srcfile_path=$lt_fix_srcfile_path
16707c16876
< lt_simple_compile_test_code="class foo {}\n"
---
> lt_simple_compile_test_code="class foo {}"
16710c16879
< lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
---
> lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
16716a16886,16888
> # If no C compiler flags were specified, use CFLAGS.
> LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
>
16723,16724c16895,16896
< printf "$lt_simple_compile_test_code" >conftest.$ac_ext
< eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
---
> echo "$lt_simple_compile_test_code" >conftest.$ac_ext
> eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16729,16730c16901,16902
< printf "$lt_simple_link_test_code" >conftest.$ac_ext
< eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
---
> echo "$lt_simple_link_test_code" >conftest.$ac_ext
> eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16732c16904
< $rm conftest*
---
> $rm -r conftest*
16770c16942
< printf "$lt_simple_compile_test_code" > conftest.$ac_ext
---
> echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16778c16950
< -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
---
> -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16781c16953
< (eval echo "\"\$as_me:16781: $lt_compile\"" >&5)
---
> (eval echo "\"\$as_me:16953: $lt_compile\"" >&5)
16785c16957
< echo "$as_me:16785: \$? = $ac_status" >&5
---
> echo "$as_me:16957: \$? = $ac_status" >&5
16789,16791c16961,16963
< $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
< $SED '/^$/d' conftest.err >conftest.er2
< if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
---
> $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
> $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
> if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16836c17008
< beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
---
> beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16840c17012
< mingw* | pw32* | os2*)
---
> mingw* | cygwin* | pw32* | os2*)
16843c17015,17017
< lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
---
> # Although the cygwin gcc ignores -fPIC, still need this for old-style
> # (--disable-auto-import) libraries
>
16851a17026,17030
> interix[3-9]*)
> # Interix 3.x gcc -fpic/-fPIC options generate broken code.
> # Instead, we relocate shared libraries at runtime.
> ;;
>
16868c17047
< case "$host_cpu" in
---
> case $host_cpu in
16905c17084
< mingw* | pw32* | os2*)
---
> mingw* | cygwin* | pw32* | os2*)
16908c17087
< lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
---
>
16915c17094
< case "$host_cpu" in
---
> case $host_cpu in
16938c17117
< linux*)
---
> linux* | k*bsd*-gnu)
16945c17124
< pgcc* | pgf77* | pgf90*)
---
> pgcc* | pgf77* | pgf90* | pgf95*)
16950c17129
< lt_prog_compiler_static_GCJ='-static'
---
> lt_prog_compiler_static_GCJ='-Bstatic'
16956a17136,17151
> *)
> case `$CC -V 2>&1 | sed 5q` in
> *Sun\ C*)
> # Sun C 5.9
> lt_prog_compiler_pic_GCJ='-KPIC'
> lt_prog_compiler_static_GCJ='-Bstatic'
> lt_prog_compiler_wl_GCJ='-Wl,'
> ;;
> *Sun\ F*)
> # Sun Fortran 8.3 passes all unrecognized flags to the linker
> lt_prog_compiler_pic_GCJ='-KPIC'
> lt_prog_compiler_static_GCJ='-Bstatic'
> lt_prog_compiler_wl_GCJ=''
> ;;
> esac
> ;;
16966,16968c17161,17162
< sco3.2v5*)
< lt_prog_compiler_pic_GCJ='-Kpic'
< lt_prog_compiler_static_GCJ='-dn'
---
> rdos*)
> lt_prog_compiler_static_GCJ='-non_shared'
16988c17182
< sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
---
> sysv4 | sysv4.2uw2* | sysv4.3*)
17000a17195,17200
> sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
> lt_prog_compiler_wl_GCJ='-Wl,'
> lt_prog_compiler_pic_GCJ='-KPIC'
> lt_prog_compiler_static_GCJ='-Bstatic'
> ;;
>
17027c17227
< if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
---
> if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17030c17230
< lt_prog_compiler_pic_works_GCJ=no
---
> lt_cv_prog_compiler_pic_works_GCJ=no
17032c17232
< printf "$lt_simple_compile_test_code" > conftest.$ac_ext
---
> echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17040c17240
< -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
---
> -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17043c17243
< (eval echo "\"\$as_me:17043: $lt_compile\"" >&5)
---
> (eval echo "\"\$as_me:17243: $lt_compile\"" >&5)
17047c17247
< echo "$as_me:17047: \$? = $ac_status" >&5
---
> echo "$as_me:17247: \$? = $ac_status" >&5
17051,17054c17251,17254
< $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
< $SED '/^$/d' conftest.err >conftest.er2
< if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
< lt_prog_compiler_pic_works_GCJ=yes
---
> $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
> $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
> if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
> lt_cv_prog_compiler_pic_works_GCJ=yes
17060,17061c17260,17261
< { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
< echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
---
> { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
> echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17063c17263
< if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
---
> if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
17074c17274
< case "$host_os" in
---
> case $host_os in
17083a17284,17325
> #
> # Check to make sure the static flag actually works.
> #
> wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
> { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
> echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
> if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> lt_cv_prog_compiler_static_works_GCJ=no
> save_LDFLAGS="$LDFLAGS"
> LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
> echo "$lt_simple_link_test_code" > conftest.$ac_ext
> if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
> # The linker can only warn and ignore the option if not recognized
> # So say no if there are warnings
> if test -s conftest.err; then
> # Append any errors to the config.log.
> cat conftest.err 1>&5
> $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
> $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
> if diff conftest.exp conftest.er2 >/dev/null; then
> lt_cv_prog_compiler_static_works_GCJ=yes
> fi
> else
> lt_cv_prog_compiler_static_works_GCJ=yes
> fi
> fi
> $rm -r conftest*
> LDFLAGS="$save_LDFLAGS"
>
> fi
> { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
> echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
>
> if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
> :
> else
> lt_prog_compiler_static_GCJ=
> fi
>
>
17094c17336
< printf "$lt_simple_compile_test_code" > conftest.$ac_ext
---
> echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17102c17344
< -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
---
> -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17105c17347
< (eval echo "\"\$as_me:17105: $lt_compile\"" >&5)
---
> (eval echo "\"\$as_me:17347: $lt_compile\"" >&5)
17109c17351
< echo "$as_me:17109: \$? = $ac_status" >&5
---
> echo "$as_me:17351: \$? = $ac_status" >&5
17114,17116c17356,17358
< $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
< $SED '/^$/d' out/conftest.err >out/conftest.er2
< if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
---
> $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
> $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
> if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17120c17362
< chmod u+w .
---
> chmod u+w . 2>&5
17189c17431
< exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
---
> exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17194a17437
> # Exclude shared library initialization/finalization symbols.
17215a17459,17462
> interix*)
> # we just hope/assume this is gcc and not c89 (= MSVC++)
> with_gnu_ld=yes
> ;;
17249c17496
< aix3* | aix4* | aix5*)
---
> aix[3-9]*)
17297c17544
< export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
---
> export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17300c17547
< archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
---
> archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17309c17556
< $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
---
> $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17315c17562,17577
< linux*)
---
> interix[3-9]*)
> hardcode_direct_GCJ=no
> hardcode_shlibpath_var_GCJ=no
> hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
> export_dynamic_flag_spec_GCJ='${wl}-E'
> # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
> # Instead, shared libraries are loaded at an image base (0x10000000 by
> # default) and relocated if they conflict, which is a slow very memory
> # consuming and fragmenting process. To avoid this, we pick a random,
> # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
> # time. Moving up from 0x10000000 also allows more sbrk(2) space.
> archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
> 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'
> ;;
>
> gnu* | linux* | k*bsd*-gnu)
17320c17582
< whole_archive_flag_spec_GCJ='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
---
> whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17323,17324c17585,17586
< pgf77* | pgf90* ) # Portland Group f77 and f90 compilers
< whole_archive_flag_spec_GCJ='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
---
> pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
> whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17333c17595,17604
< archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
---
> case `$CC -V 2>&1 | sed 5q` in
> *Sun\ C*) # Sun C 5.9
> 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'
> tmp_sharedflag='-G' ;;
> *Sun\ F*) # Sun Fortran 8.3
> tmp_sharedflag='-G' ;;
> *)
> tmp_sharedflag='-shared' ;;
> esac
> archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17339c17610
< $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
---
> $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17356c17627
< solaris* | sysv5*)
---
> solaris*)
17376a17648,17674
> sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
> case `$LD -v 2>&1` in
> *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
> ld_shlibs_GCJ=no
> cat <<_LT_EOF 1>&2
>
> *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
> *** reliably create shared libraries on SCO systems. Therefore, libtool
> *** is disabling shared libraries support. We urge you to upgrade GNU
> *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
> *** your PATH or compiler configuration so that the native linker is
> *** used, and then restart.
>
> _LT_EOF
> ;;
> *)
> if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
> hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
> archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
> archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
> else
> ld_shlibs_GCJ=no
> fi
> ;;
> esac
> ;;
>
17410c17708
< if test "$GCC" = yes && test -z "$link_static_flag"; then
---
> if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17417c17715
< aix4* | aix5*)
---
> aix[4-9]*)
17437c17735
< case $host_os in aix4.[23]|aix4.[23].*|aix5*)
---
> case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17443a17742
> ;;
17470c17769
< hardcode_direct_GCJ=yes
---
> :
17480a17780
> ;;
17493c17793
< if test "$aix_use_runtimelinking" = yes; then
---
> if test "$aix_use_runtimelinking" = yes; then
17497c17797
< fi
---
> fi
17543,17544c17843,17850
< aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
< }'`
---
> lt_aix_libpath_sed='
> /Import File Strings/,/^$/ {
> /^0/ {
> s/^0 *\(.*\)$/\1/
> p
> }
> }'
> aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17546,17547c17852,17854
< 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; }
< }'`; fi
---
> if test -z "$aix_libpath"; then
> aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
> fi
17560c17867
< archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
---
> archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17565c17872
< archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
---
> archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
17602,17603c17909,17916
< aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
< }'`
---
> lt_aix_libpath_sed='
> /Import File Strings/,/^$/ {
> /^0/ {
> s/^0 *\(.*\)$/\1/
> p
> }
> }'
> aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17605,17606c17918,17920
< 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; }
< }'`; fi
---
> if test -z "$aix_libpath"; then
> aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
> fi
17623,17624d17936
< # -bexpall does not export symbols beginning with underscore (_)
< always_export_symbols_GCJ=yes
17626c17938
< whole_archive_flag_spec_GCJ=' '
---
> whole_archive_flag_spec_GCJ='$convenience'
17628,17629c17940,17941
< # This is similar to how AIX traditionally builds it's shared libraries.
< archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
---
> # This is similar to how AIX traditionally builds its shared libraries.
> archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17662c17974
< old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
---
> old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
17668c17980
< case "$host_os" in
---
> case $host_os in
17695,17699c18007,18010
< archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
< module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
< # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
< archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
< 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}'
---
> archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
> module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
> archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
> module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
17704c18015
< archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
---
> archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17706,17707c18017,18018
< # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
< 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}'
---
> # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
> 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}'
17747c18058
< freebsd* | kfreebsd*-gnu | dragonfly*)
---
> freebsd* | dragonfly*)
17770c18081
< hpux10* | hpux11*)
---
> hpux10*)
17772,17773c18083,18103
< case "$host_cpu" in
< hppa*64*|ia64*)
---
> archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
> else
> archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
> fi
> if test "$with_gnu_ld" = no; then
> hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
> hardcode_libdir_separator_GCJ=:
>
> hardcode_direct_GCJ=yes
> export_dynamic_flag_spec_GCJ='${wl}-E'
>
> # hardcode_minus_L: Not really in the search PATH,
> # but as the default location of the library.
> hardcode_minus_L_GCJ=yes
> fi
> ;;
>
> hpux11*)
> if test "$GCC" = yes -a "$with_gnu_ld" = no; then
> case $host_cpu in
> hppa*64*)
17775a18106,18108
> ia64*)
> archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
> ;;
17781,17783c18114,18116
< case "$host_cpu" in
< hppa*64*|ia64*)
< archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
---
> case $host_cpu in
> hppa*64*)
> archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17784a18118,18120
> ia64*)
> archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
> ;;
17786c18122
< archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
---
> archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17791,17793c18127,18131
< case "$host_cpu" in
< hppa*64*)
< hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
---
> hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
> hardcode_libdir_separator_GCJ=:
>
> case $host_cpu in
> hppa*64*|ia64*)
17795d18132
< hardcode_libdir_separator_GCJ=:
17799,17807d18135
< ia64*)
< hardcode_libdir_flag_spec_GCJ='-L$libdir'
< hardcode_direct_GCJ=no
< hardcode_shlibpath_var_GCJ=no
<
< # hardcode_minus_L: Not really in the search PATH,
< # but as the default location of the library.
< hardcode_minus_L_GCJ=yes
< ;;
17809,17810d18136
< hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
< hardcode_libdir_separator_GCJ=:
17854,17860c18180,18199
< hardcode_direct_GCJ=yes
< hardcode_shlibpath_var_GCJ=no
< if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
< archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
< archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
< hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
< export_dynamic_flag_spec_GCJ='${wl}-E'
---
> if test -f /usr/libexec/ld.so; then
> hardcode_direct_GCJ=yes
> hardcode_shlibpath_var_GCJ=no
> if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
> archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
> archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
> hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
> export_dynamic_flag_spec_GCJ='${wl}-E'
> else
> case $host_os in
> openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
> archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
> hardcode_libdir_flag_spec_GCJ='-R$libdir'
> ;;
> *)
> archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
> hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
> ;;
> esac
> fi
17862,17871c18201
< case $host_os in
< openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
< archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
< hardcode_libdir_flag_spec_GCJ='-R$libdir'
< ;;
< *)
< archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
< hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
< ;;
< esac
---
> ld_shlibs_GCJ=no
17912,17919d18241
< sco3.2v5*)
< archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
< hardcode_shlibpath_var_GCJ=no
< export_dynamic_flag_spec_GCJ='${wl}-Bexport'
< runpath_var=LD_RUN_PATH
< hardcode_runpath_var=yes
< ;;
<
17938,17941c18260,18262
< # The compiler driver will combine linker options so we
< # cannot just pass the convience library names through
< # without $wl, iff we do not link with $LD.
< # Luckily, gcc supports the same syntax we need for Sun Studio.
---
> # The compiler driver will combine and reorder linker options,
> # but understands `-z linker_flag'. GCC discards it without `$wl',
> # but is careful enough not to reorder.
17943,17948c18264,18269
< case $wlarc in
< '')
< whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
< *)
< 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' ;;
< esac ;;
---
> if test "$GCC" = yes; then
> whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
> else
> whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
> fi
> ;;
18005,18008c18326,18328
< sysv4.2uw2*)
< archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
< hardcode_direct_GCJ=yes
< hardcode_minus_L_GCJ=no
---
> sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
> no_undefined_flag_GCJ='${wl}-z,text'
> archive_cmds_need_lc_GCJ=no
18010,18012c18330
< hardcode_runpath_var=yes
< runpath_var=LD_RUN_PATH
< ;;
---
> runpath_var='LD_RUN_PATH'
18014,18015d18331
< sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
< no_undefined_flag_GCJ='${wl}-z ${wl}text'
18017c18333,18334
< archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
---
> archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
> archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18019c18336,18337
< archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
---
> archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
> archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18021,18022d18338
< runpath_var='LD_RUN_PATH'
< hardcode_shlibpath_var_GCJ=no
18025,18032c18341,18350
< sysv5*)
< no_undefined_flag_GCJ=' -z text'
< # $CC -shared without GNU ld will not create a library from C++
< # object files and a static libstdc++, better avoid it by now
< archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
< archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
< $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
< hardcode_libdir_flag_spec_GCJ=
---
> sysv5* | sco3.2v5* | sco5v6*)
> # Note: We can NOT use -z defs as we might desire, because we do not
> # link with -lc, and that would cause any symbols used from libc to
> # always be unresolved, which means just about no library would
> # ever link correctly. If we're not using GNU ld we use -z text
> # though, which does catch some bad symbols but isn't as heavy-handed
> # as -z defs.
> no_undefined_flag_GCJ='${wl}-z,text'
> allow_undefined_flag_GCJ='${wl}-z,nodefs'
> archive_cmds_need_lc_GCJ=no
18033a18352,18355
> hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
> hardcode_libdir_separator_GCJ=':'
> link_all_deplibs_GCJ=yes
> export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18034a18357,18364
>
> if test "$GCC" = yes; then
> archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
> archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
> else
> archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
> archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
> fi
18053,18057d18382
< variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
< if test "$GCC" = yes; then
< variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
< fi
<
18078c18403
< printf "$lt_simple_compile_test_code" > conftest.$ac_ext
---
> echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18089a18415
> pic_flag=$lt_prog_compiler_pic_GCJ
18135,18148c18461
< if test "$GCC" = yes; then
< sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
< if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
< # if the path contains ";" then we assume it to be the separator
< # otherwise default to the standard path separator (i.e. ":") - it is
< # assumed that no part of a normal pathname contains ";" but that should
< # okay in the real world where ";" in dirpaths is itself problematic.
< sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
< else
< sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
< fi
< else
< sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
< fi
---
>
18166c18479
< aix4* | aix5*)
---
> aix[4-9]*)
18250c18563,18564
< $install_prog $dir/$dlname \$dldir/$dlname'
---
> $install_prog $dir/$dlname \$dldir/$dlname~
> chmod a+x \$dldir/$dlname'
18303,18309c18617,18618
< shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
< # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
< if test "$GCC" = yes; then
< 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"`
< else
< sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
< fi
---
> shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
>
18326,18337d18634
< kfreebsd*-gnu)
< version_type=linux
< need_lib_prefix=no
< need_version=no
< library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
< soname_spec='${libname}${release}${shared_ext}$major'
< shlibpath_var=LD_LIBRARY_PATH
< shlibpath_overrides_runpath=no
< hardcode_into_libs=yes
< dynamic_linker='GNU ld.so'
< ;;
<
18341c18638,18645
< objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
---
> if test -x /usr/bin/objformat; then
> objformat=`/usr/bin/objformat`
> else
> case $host_os in
> freebsd[123]*) objformat=aout ;;
> *) objformat=elf ;;
> esac
> fi
18363c18667,18668
< *) # from 3.2 on
---
> freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
> freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18366a18672,18675
> *) # from 4.6 on, and DragonFly
> shlibpath_overrides_runpath=yes
> hardcode_into_libs=yes
> ;;
18386c18695
< case "$host_cpu" in
---
> case $host_cpu in
18425a18735,18746
> interix[3-9]*)
> version_type=linux
> need_lib_prefix=no
> need_version=no
> library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
> soname_spec='${libname}${release}${shared_ext}$major'
> dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
> shlibpath_var=LD_LIBRARY_PATH
> shlibpath_overrides_runpath=no
> hardcode_into_libs=yes
> ;;
>
18469c18790
< linux*)
---
> linux* | k*bsd*-gnu)
18485c18806
< 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' ' '`
---
> 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' ' '`
18498,18509d18818
< knetbsd*-gnu)
< version_type=linux
< need_lib_prefix=no
< need_version=no
< library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
< soname_spec='${libname}${release}${shared_ext}$major'
< shlibpath_var=LD_LIBRARY_PATH
< shlibpath_overrides_runpath=no
< hardcode_into_libs=yes
< dynamic_linker='GNU ld.so'
< ;;
<
18546a18856
> sys_lib_dlsearch_path_spec="/usr/lib"
18590,18594c18900,18901
< sco3.2v5*)
< version_type=osf
< soname_spec='${libname}${release}${shared_ext}$major'
< library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
< shlibpath_var=LD_LIBRARY_PATH
---
> rdos*)
> dynamic_linker=no
18622c18929
< sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
---
> sysv4 | sysv4.3*)
18654a18962,18984
> sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
> version_type=freebsd-elf
> need_lib_prefix=no
> need_version=no
> library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
> soname_spec='${libname}${release}${shared_ext}$major'
> shlibpath_var=LD_LIBRARY_PATH
> hardcode_into_libs=yes
> if test "$with_gnu_ld" = yes; then
> sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
> shlibpath_overrides_runpath=no
> else
> sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
> shlibpath_overrides_runpath=yes
> case $host_os in
> sco3.2v5*)
> sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
> ;;
> esac
> fi
> sys_lib_dlsearch_path_spec='/usr/lib'
> ;;
>
18669a19000,19019
> if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
> fi
>
> sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
> if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
> fi
>
> sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
>
> variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
> if test "$GCC" = yes; then
> variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
> fi
>
18707,18734d19056
< striplib=
< old_striplib=
< { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
< echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
< if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
< test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
< test -z "$striplib" && striplib="$STRIP --strip-unneeded"
< { echo "$as_me:$LINENO: result: yes" >&5
< echo "${ECHO_T}yes" >&6; }
< else
< # FIXME - insert some real tests, host_os isn't really good enough
< case $host_os in
< darwin*)
< if test -n "$STRIP" ; then
< striplib="$STRIP -x"
< { echo "$as_me:$LINENO: result: yes" >&5
< echo "${ECHO_T}yes" >&6; }
< else
< { echo "$as_me:$LINENO: result: no" >&5
< echo "${ECHO_T}no" >&6; }
< fi
< ;;
< *)
< { echo "$as_me:$LINENO: result: no" >&5
< echo "${ECHO_T}no" >&6; }
< ;;
< esac
< fi
18736,19509d19057
< if test "x$enable_dlopen" != xyes; then
< enable_dlopen=unknown
< enable_dlopen_self=unknown
< enable_dlopen_self_static=unknown
< else
< lt_cv_dlopen=no
< lt_cv_dlopen_libs=
<
< case $host_os in
< beos*)
< lt_cv_dlopen="load_add_on"
< lt_cv_dlopen_libs=
< lt_cv_dlopen_self=yes
< ;;
<
< mingw* | pw32*)
< lt_cv_dlopen="LoadLibrary"
< lt_cv_dlopen_libs=
< ;;
<
< cygwin*)
< lt_cv_dlopen="dlopen"
< lt_cv_dlopen_libs=
< ;;
<
< darwin*)
< # if libdl is installed we need to link against it
< { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
< echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
< if test "${ac_cv_lib_dl_dlopen+set}" = set; then
< echo $ECHO_N "(cached) $ECHO_C" >&6
< else
< ac_check_lib_save_LIBS=$LIBS
< LIBS="-ldl $LIBS"
< cat >conftest.$ac_ext <<_ACEOF
< /* confdefs.h. */
< _ACEOF
< cat confdefs.h >>conftest.$ac_ext
< cat >>conftest.$ac_ext <<_ACEOF
< /* end confdefs.h. */
<
< /* Override any GCC internal prototype to avoid an error.
< Use char because int might match the return type of a GCC
< builtin and then its argument prototype would still apply. */
< #ifdef __cplusplus
< extern "C"
< #endif
< char dlopen ();
< int
< main ()
< {
< return dlopen ();
< ;
< return 0;
< }
< _ACEOF
< rm -f conftest.$ac_objext conftest$ac_exeext
< if { (ac_try="$ac_link"
< case "(($ac_try" in
< *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
< *) ac_try_echo=$ac_try;;
< esac
< eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
< (eval "$ac_link") 2>conftest.er1
< ac_status=$?
< grep -v '^ *+' conftest.er1 >conftest.err
< rm -f conftest.er1
< cat conftest.err >&5
< echo "$as_me:$LINENO: \$? = $ac_status" >&5
< (exit $ac_status); } && {
< test -z "$ac_c_werror_flag" ||
< test ! -s conftest.err
< } && test -s conftest$ac_exeext &&
< $as_test_x conftest$ac_exeext; then
< ac_cv_lib_dl_dlopen=yes
< else
< echo "$as_me: failed program was:" >&5
< sed 's/^/| /' conftest.$ac_ext >&5
<
< ac_cv_lib_dl_dlopen=no
< fi
<
< rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
< conftest$ac_exeext conftest.$ac_ext
< LIBS=$ac_check_lib_save_LIBS
< fi
< { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
< echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
< if test $ac_cv_lib_dl_dlopen = yes; then
< lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
< else
<
< lt_cv_dlopen="dyld"
< lt_cv_dlopen_libs=
< lt_cv_dlopen_self=yes
<
< fi
<
< ;;
<
< *)
< { echo "$as_me:$LINENO: checking for shl_load" >&5
< echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
< if test "${ac_cv_func_shl_load+set}" = set; then
< echo $ECHO_N "(cached) $ECHO_C" >&6
< else
< cat >conftest.$ac_ext <<_ACEOF
< /* confdefs.h. */
< _ACEOF
< cat confdefs.h >>conftest.$ac_ext
< cat >>conftest.$ac_ext <<_ACEOF
< /* end confdefs.h. */
< /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
< For example, HP-UX 11i <limits.h> declares gettimeofday. */
< #define shl_load innocuous_shl_load
<
< /* System header to define __stub macros and hopefully few prototypes,
< which can conflict with char shl_load (); below.
< Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
< <limits.h> exists even on freestanding compilers. */
<
< #ifdef __STDC__
< # include <limits.h>
< #else
< # include <assert.h>
< #endif
<
< #undef shl_load
<
< /* Override any GCC internal prototype to avoid an error.
< Use char because int might match the return type of a GCC
< builtin and then its argument prototype would still apply. */
< #ifdef __cplusplus
< extern "C"
< #endif
< char shl_load ();
< /* The GNU C library defines this for functions which it implements
< to always fail with ENOSYS. Some functions are actually named
< something starting with __ and the normal name is an alias. */
< #if defined __stub_shl_load || defined __stub___shl_load
< choke me
< #endif
<
< int
< main ()
< {
< return shl_load ();
< ;
< return 0;
< }
< _ACEOF
< rm -f conftest.$ac_objext conftest$ac_exeext
< if { (ac_try="$ac_link"
< case "(($ac_try" in
< *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
< *) ac_try_echo=$ac_try;;
< esac
< eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
< (eval "$ac_link") 2>conftest.er1
< ac_status=$?
< grep -v '^ *+' conftest.er1 >conftest.err
< rm -f conftest.er1
< cat conftest.err >&5
< echo "$as_me:$LINENO: \$? = $ac_status" >&5
< (exit $ac_status); } && {
< test -z "$ac_c_werror_flag" ||
< test ! -s conftest.err
< } && test -s conftest$ac_exeext &&
< $as_test_x conftest$ac_exeext; then
< ac_cv_func_shl_load=yes
< else
< echo "$as_me: failed program was:" >&5
< sed 's/^/| /' conftest.$ac_ext >&5
<
< ac_cv_func_shl_load=no
< fi
<
< rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
< conftest$ac_exeext conftest.$ac_ext
< fi
< { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
< echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
< if test $ac_cv_func_shl_load = yes; then
< lt_cv_dlopen="shl_load"
< else
< { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
< echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
< if test "${ac_cv_lib_dld_shl_load+set}" = set; then
< echo $ECHO_N "(cached) $ECHO_C" >&6
< else
< ac_check_lib_save_LIBS=$LIBS
< LIBS="-ldld $LIBS"
< cat >conftest.$ac_ext <<_ACEOF
< /* confdefs.h. */
< _ACEOF
< cat confdefs.h >>conftest.$ac_ext
< cat >>conftest.$ac_ext <<_ACEOF
< /* end confdefs.h. */
<
< /* Override any GCC internal prototype to avoid an error.
< Use char because int might match the return type of a GCC
< builtin and then its argument prototype would still apply. */
< #ifdef __cplusplus
< extern "C"
< #endif
< char shl_load ();
< int
< main ()
< {
< return shl_load ();
< ;
< return 0;
< }
< _ACEOF
< rm -f conftest.$ac_objext conftest$ac_exeext
< if { (ac_try="$ac_link"
< case "(($ac_try" in
< *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
< *) ac_try_echo=$ac_try;;
< esac
< eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
< (eval "$ac_link") 2>conftest.er1
< ac_status=$?
< grep -v '^ *+' conftest.er1 >conftest.err
< rm -f conftest.er1
< cat conftest.err >&5
< echo "$as_me:$LINENO: \$? = $ac_status" >&5
< (exit $ac_status); } && {
< test -z "$ac_c_werror_flag" ||
< test ! -s conftest.err
< } && test -s conftest$ac_exeext &&
< $as_test_x conftest$ac_exeext; then
< ac_cv_lib_dld_shl_load=yes
< else
< echo "$as_me: failed program was:" >&5
< sed 's/^/| /' conftest.$ac_ext >&5
<
< ac_cv_lib_dld_shl_load=no
< fi
<
< rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
< conftest$ac_exeext conftest.$ac_ext
< LIBS=$ac_check_lib_save_LIBS
< fi
< { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
< echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
< if test $ac_cv_lib_dld_shl_load = yes; then
< lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
< else
< { echo "$as_me:$LINENO: checking for dlopen" >&5
< echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
< if test "${ac_cv_func_dlopen+set}" = set; then
< echo $ECHO_N "(cached) $ECHO_C" >&6
< else
< cat >conftest.$ac_ext <<_ACEOF
< /* confdefs.h. */
< _ACEOF
< cat confdefs.h >>conftest.$ac_ext
< cat >>conftest.$ac_ext <<_ACEOF
< /* end confdefs.h. */
< /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
< For example, HP-UX 11i <limits.h> declares gettimeofday. */
< #define dlopen innocuous_dlopen
<
< /* System header to define __stub macros and hopefully few prototypes,
< which can conflict with char dlopen (); below.
< Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
< <limits.h> exists even on freestanding compilers. */
<
< #ifdef __STDC__
< # include <limits.h>
< #else
< # include <assert.h>
< #endif
<
< #undef dlopen
<
< /* Override any GCC internal prototype to avoid an error.
< Use char because int might match the return type of a GCC
< builtin and then its argument prototype would still apply. */
< #ifdef __cplusplus
< extern "C"
< #endif
< char dlopen ();
< /* The GNU C library defines this for functions which it implements
< to always fail with ENOSYS. Some functions are actually named
< something starting with __ and the normal name is an alias. */
< #if defined __stub_dlopen || defined __stub___dlopen
< choke me
< #endif
<
< int
< main ()
< {
< return dlopen ();
< ;
< return 0;
< }
< _ACEOF
< rm -f conftest.$ac_objext conftest$ac_exeext
< if { (ac_try="$ac_link"
< case "(($ac_try" in
< *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
< *) ac_try_echo=$ac_try;;
< esac
< eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
< (eval "$ac_link") 2>conftest.er1
< ac_status=$?
< grep -v '^ *+' conftest.er1 >conftest.err
< rm -f conftest.er1
< cat conftest.err >&5
< echo "$as_me:$LINENO: \$? = $ac_status" >&5
< (exit $ac_status); } && {
< test -z "$ac_c_werror_flag" ||
< test ! -s conftest.err
< } && test -s conftest$ac_exeext &&
< $as_test_x conftest$ac_exeext; then
< ac_cv_func_dlopen=yes
< else
< echo "$as_me: failed program was:" >&5
< sed 's/^/| /' conftest.$ac_ext >&5
<
< ac_cv_func_dlopen=no
< fi
<
< rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
< conftest$ac_exeext conftest.$ac_ext
< fi
< { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
< echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
< if test $ac_cv_func_dlopen = yes; then
< lt_cv_dlopen="dlopen"
< else
< { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
< echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
< if test "${ac_cv_lib_dl_dlopen+set}" = set; then
< echo $ECHO_N "(cached) $ECHO_C" >&6
< else
< ac_check_lib_save_LIBS=$LIBS
< LIBS="-ldl $LIBS"
< cat >conftest.$ac_ext <<_ACEOF
< /* confdefs.h. */
< _ACEOF
< cat confdefs.h >>conftest.$ac_ext
< cat >>conftest.$ac_ext <<_ACEOF
< /* end confdefs.h. */
<
< /* Override any GCC internal prototype to avoid an error.
< Use char because int might match the return type of a GCC
< builtin and then its argument prototype would still apply. */
< #ifdef __cplusplus
< extern "C"
< #endif
< char dlopen ();
< int
< main ()
< {
< return dlopen ();
< ;
< return 0;
< }
< _ACEOF
< rm -f conftest.$ac_objext conftest$ac_exeext
< if { (ac_try="$ac_link"
< case "(($ac_try" in
< *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
< *) ac_try_echo=$ac_try;;
< esac
< eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
< (eval "$ac_link") 2>conftest.er1
< ac_status=$?
< grep -v '^ *+' conftest.er1 >conftest.err
< rm -f conftest.er1
< cat conftest.err >&5
< echo "$as_me:$LINENO: \$? = $ac_status" >&5
< (exit $ac_status); } && {
< test -z "$ac_c_werror_flag" ||
< test ! -s conftest.err
< } && test -s conftest$ac_exeext &&
< $as_test_x conftest$ac_exeext; then
< ac_cv_lib_dl_dlopen=yes
< else
< echo "$as_me: failed program was:" >&5
< sed 's/^/| /' conftest.$ac_ext >&5
<
< ac_cv_lib_dl_dlopen=no
< fi
<
< rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
< conftest$ac_exeext conftest.$ac_ext
< LIBS=$ac_check_lib_save_LIBS
< fi
< { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
< echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
< if test $ac_cv_lib_dl_dlopen = yes; then
< lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
< else
< { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
< echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
< if test "${ac_cv_lib_svld_dlopen+set}" = set; then
< echo $ECHO_N "(cached) $ECHO_C" >&6
< else
< ac_check_lib_save_LIBS=$LIBS
< LIBS="-lsvld $LIBS"
< cat >conftest.$ac_ext <<_ACEOF
< /* confdefs.h. */
< _ACEOF
< cat confdefs.h >>conftest.$ac_ext
< cat >>conftest.$ac_ext <<_ACEOF
< /* end confdefs.h. */
<
< /* Override any GCC internal prototype to avoid an error.
< Use char because int might match the return type of a GCC
< builtin and then its argument prototype would still apply. */
< #ifdef __cplusplus
< extern "C"
< #endif
< char dlopen ();
< int
< main ()
< {
< return dlopen ();
< ;
< return 0;
< }
< _ACEOF
< rm -f conftest.$ac_objext conftest$ac_exeext
< if { (ac_try="$ac_link"
< case "(($ac_try" in
< *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
< *) ac_try_echo=$ac_try;;
< esac
< eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
< (eval "$ac_link") 2>conftest.er1
< ac_status=$?
< grep -v '^ *+' conftest.er1 >conftest.err
< rm -f conftest.er1
< cat conftest.err >&5
< echo "$as_me:$LINENO: \$? = $ac_status" >&5
< (exit $ac_status); } && {
< test -z "$ac_c_werror_flag" ||
< test ! -s conftest.err
< } && test -s conftest$ac_exeext &&
< $as_test_x conftest$ac_exeext; then
< ac_cv_lib_svld_dlopen=yes
< else
< echo "$as_me: failed program was:" >&5
< sed 's/^/| /' conftest.$ac_ext >&5
<
< ac_cv_lib_svld_dlopen=no
< fi
<
< rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
< conftest$ac_exeext conftest.$ac_ext
< LIBS=$ac_check_lib_save_LIBS
< fi
< { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
< echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
< if test $ac_cv_lib_svld_dlopen = yes; then
< lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
< else
< { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
< echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
< if test "${ac_cv_lib_dld_dld_link+set}" = set; then
< echo $ECHO_N "(cached) $ECHO_C" >&6
< else
< ac_check_lib_save_LIBS=$LIBS
< LIBS="-ldld $LIBS"
< cat >conftest.$ac_ext <<_ACEOF
< /* confdefs.h. */
< _ACEOF
< cat confdefs.h >>conftest.$ac_ext
< cat >>conftest.$ac_ext <<_ACEOF
< /* end confdefs.h. */
<
< /* Override any GCC internal prototype to avoid an error.
< Use char because int might match the return type of a GCC
< builtin and then its argument prototype would still apply. */
< #ifdef __cplusplus
< extern "C"
< #endif
< char dld_link ();
< int
< main ()
< {
< return dld_link ();
< ;
< return 0;
< }
< _ACEOF
< rm -f conftest.$ac_objext conftest$ac_exeext
< if { (ac_try="$ac_link"
< case "(($ac_try" in
< *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
< *) ac_try_echo=$ac_try;;
< esac
< eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
< (eval "$ac_link") 2>conftest.er1
< ac_status=$?
< grep -v '^ *+' conftest.er1 >conftest.err
< rm -f conftest.er1
< cat conftest.err >&5
< echo "$as_me:$LINENO: \$? = $ac_status" >&5
< (exit $ac_status); } && {
< test -z "$ac_c_werror_flag" ||
< test ! -s conftest.err
< } && test -s conftest$ac_exeext &&
< $as_test_x conftest$ac_exeext; then
< ac_cv_lib_dld_dld_link=yes
< else
< echo "$as_me: failed program was:" >&5
< sed 's/^/| /' conftest.$ac_ext >&5
<
< ac_cv_lib_dld_dld_link=no
< fi
<
< rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
< conftest$ac_exeext conftest.$ac_ext
< LIBS=$ac_check_lib_save_LIBS
< fi
< { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
< echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
< if test $ac_cv_lib_dld_dld_link = yes; then
< lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
< fi
<
<
< fi
<
<
< fi
<
<
< fi
<
<
< fi
<
<
< fi
<
< ;;
< esac
<
< if test "x$lt_cv_dlopen" != xno; then
< enable_dlopen=yes
< else
< enable_dlopen=no
< fi
<
< case $lt_cv_dlopen in
< dlopen)
< save_CPPFLAGS="$CPPFLAGS"
< test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
<
< save_LDFLAGS="$LDFLAGS"
< eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
<
< save_LIBS="$LIBS"
< LIBS="$lt_cv_dlopen_libs $LIBS"
<
< { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
< echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
< if test "${lt_cv_dlopen_self+set}" = set; then
< echo $ECHO_N "(cached) $ECHO_C" >&6
< else
< if test "$cross_compiling" = yes; then :
< lt_cv_dlopen_self=cross
< else
< lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
< lt_status=$lt_dlunknown
< cat > conftest.$ac_ext <<EOF
< #line 19308 "configure"
< #include "confdefs.h"
<
< #if HAVE_DLFCN_H
< #include <dlfcn.h>
< #endif
<
< #include <stdio.h>
<
< #ifdef RTLD_GLOBAL
< # define LT_DLGLOBAL RTLD_GLOBAL
< #else
< # ifdef DL_GLOBAL
< # define LT_DLGLOBAL DL_GLOBAL
< # else
< # define LT_DLGLOBAL 0
< # endif
< #endif
<
< /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
< find out it does not work in some platform. */
< #ifndef LT_DLLAZY_OR_NOW
< # ifdef RTLD_LAZY
< # define LT_DLLAZY_OR_NOW RTLD_LAZY
< # else
< # ifdef DL_LAZY
< # define LT_DLLAZY_OR_NOW DL_LAZY
< # else
< # ifdef RTLD_NOW
< # define LT_DLLAZY_OR_NOW RTLD_NOW
< # else
< # ifdef DL_NOW
< # define LT_DLLAZY_OR_NOW DL_NOW
< # else
< # define LT_DLLAZY_OR_NOW 0
< # endif
< # endif
< # endif
< # endif
< #endif
<
< #ifdef __cplusplus
< extern "C" void exit (int);
< #endif
<
< void fnord() { int i=42;}
< int main ()
< {
< void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
< int status = $lt_dlunknown;
<
< if (self)
< {
< if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
< else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
< /* dlclose (self); */
< }
<
< exit (status);
< }
< EOF
< if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
< (eval $ac_link) 2>&5
< ac_status=$?
< echo "$as_me:$LINENO: \$? = $ac_status" >&5
< (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
< (./conftest; exit; ) 2>/dev/null
< lt_status=$?
< case x$lt_status in
< x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
< x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
< x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
< esac
< else :
< # compilation failed
< lt_cv_dlopen_self=no
< fi
< fi
< rm -fr conftest*
<
<
< fi
< { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
< echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
<
< if test "x$lt_cv_dlopen_self" = xyes; then
< LDFLAGS="$LDFLAGS $link_static_flag"
< { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
< echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
< if test "${lt_cv_dlopen_self_static+set}" = set; then
< echo $ECHO_N "(cached) $ECHO_C" >&6
< else
< if test "$cross_compiling" = yes; then :
< lt_cv_dlopen_self_static=cross
< else
< lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
< lt_status=$lt_dlunknown
< cat > conftest.$ac_ext <<EOF
< #line 19406 "configure"
< #include "confdefs.h"
<
< #if HAVE_DLFCN_H
< #include <dlfcn.h>
< #endif
<
< #include <stdio.h>
<
< #ifdef RTLD_GLOBAL
< # define LT_DLGLOBAL RTLD_GLOBAL
< #else
< # ifdef DL_GLOBAL
< # define LT_DLGLOBAL DL_GLOBAL
< # else
< # define LT_DLGLOBAL 0
< # endif
< #endif
<
< /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
< find out it does not work in some platform. */
< #ifndef LT_DLLAZY_OR_NOW
< # ifdef RTLD_LAZY
< # define LT_DLLAZY_OR_NOW RTLD_LAZY
< # else
< # ifdef DL_LAZY
< # define LT_DLLAZY_OR_NOW DL_LAZY
< # else
< # ifdef RTLD_NOW
< # define LT_DLLAZY_OR_NOW RTLD_NOW
< # else
< # ifdef DL_NOW
< # define LT_DLLAZY_OR_NOW DL_NOW
< # else
< # define LT_DLLAZY_OR_NOW 0
< # endif
< # endif
< # endif
< # endif
< #endif
<
< #ifdef __cplusplus
< extern "C" void exit (int);
< #endif
<
< void fnord() { int i=42;}
< int main ()
< {
< void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
< int status = $lt_dlunknown;
<
< if (self)
< {
< if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
< else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
< /* dlclose (self); */
< }
<
< exit (status);
< }
< EOF
< if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
< (eval $ac_link) 2>&5
< ac_status=$?
< echo "$as_me:$LINENO: \$? = $ac_status" >&5
< (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
< (./conftest; exit; ) 2>/dev/null
< lt_status=$?
< case x$lt_status in
< x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
< x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
< x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
< esac
< else :
< # compilation failed
< lt_cv_dlopen_self_static=no
< fi
< fi
< rm -fr conftest*
<
<
< fi
< { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
< echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
< fi
<
< CPPFLAGS="$save_CPPFLAGS"
< LDFLAGS="$save_LDFLAGS"
< LIBS="$save_LIBS"
< ;;
< esac
<
< case $lt_cv_dlopen_self in
< yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
< *) enable_dlopen_self=unknown ;;
< esac
<
< case $lt_cv_dlopen_self_static in
< yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
< *) enable_dlopen_self_static=unknown ;;
< esac
< fi
<
<
19523c19071
< for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
---
> for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19549a19098
> compiler_lib_search_dirs_GCJ \
19564a19114
> fix_srcfile_path_GCJ \
19640a19191,19193
> # LTCC compiler flags.
> LTCFLAGS=$lt_LTCFLAGS
>
19793a19347,19350
> # The directories searched by this compiler when creating a shared
> # library
> compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
>
19882c19439
< fix_srcfile_path="$fix_srcfile_path_GCJ"
---
> fix_srcfile_path=$lt_fix_srcfile_path
19939c19496
< lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
---
> lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19948a19506,19508
> # If no C compiler flags were specified, use CFLAGS.
> LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
>
19955,19956c19515,19516
< printf "$lt_simple_compile_test_code" >conftest.$ac_ext
< eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
---
> echo "$lt_simple_compile_test_code" >conftest.$ac_ext
> eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19961,19962c19521,19522
< printf "$lt_simple_link_test_code" >conftest.$ac_ext
< eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
---
> echo "$lt_simple_link_test_code" >conftest.$ac_ext
> eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19964c19524
< $rm conftest*
---
> $rm -r conftest*
19997c19557
< for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
---
> for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20023a19584
> compiler_lib_search_dirs_RC \
20038a19600
> fix_srcfile_path_RC \
20114a19677,19679
> # LTCC compiler flags.
> LTCFLAGS=$lt_LTCFLAGS
>
20267a19833,19836
> # The directories searched by this compiler when creating a shared
> # library
> compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
>
20356c19925
< fix_srcfile_path="$fix_srcfile_path_RC"
---
> fix_srcfile_path=$lt_fix_srcfile_path
22428a21998
>
22547a22118
>
23143a22715,22772
> { echo "$as_me:$LINENO: checking for struct option in getopt" >&5
> echo $ECHO_N "checking for struct option in getopt... $ECHO_C" >&6; }
> if test "${ac_cv_struct_option_getopt_h+set}" = set; then
> echo $ECHO_N "(cached) $ECHO_C" >&6
> else
> cat >conftest.$ac_ext <<_ACEOF
> /* confdefs.h. */
> _ACEOF
> cat confdefs.h >>conftest.$ac_ext
> cat >>conftest.$ac_ext <<_ACEOF
> /* end confdefs.h. */
> #include <getopt.h>
> int
> main ()
> {
> struct option op; op.name;
> ;
> return 0;
> }
> _ACEOF
> rm -f conftest.$ac_objext
> if { (ac_try="$ac_compile"
> case "(($ac_try" in
> *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
> *) ac_try_echo=$ac_try;;
> esac
> eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
> (eval "$ac_compile") 2>conftest.er1
> ac_status=$?
> grep -v '^ *+' conftest.er1 >conftest.err
> rm -f conftest.er1
> cat conftest.err >&5
> echo "$as_me:$LINENO: \$? = $ac_status" >&5
> (exit $ac_status); } && {
> test -z "$ac_c_werror_flag" ||
> test ! -s conftest.err
> } && test -s conftest.$ac_objext; then
> ac_cv_struct_option_getopt_h=yes
> else
> echo "$as_me: failed program was:" >&5
> sed 's/^/| /' conftest.$ac_ext >&5
>
> ac_cv_struct_option_getopt_h=no
> fi
>
> rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
> fi
> { echo "$as_me:$LINENO: result: $ac_cv_struct_option_getopt_h" >&5
> echo "${ECHO_T}$ac_cv_struct_option_getopt_h" >&6; }
> if test "$ac_cv_struct_option_getopt_h" = yes; then
>
> cat >>confdefs.h <<\_ACEOF
> #define HAVE_STRUCT_OPTION 1
> _ACEOF
>
> fi
>
>
23923c23552
< enableval=$enable_warnings; if test "${enableval}" = no -o $GCC = no; then
---
> enableval=$enable_warnings; if test "${enableval}" = no -o "$GCC" = no; then
23937c23566
< if test $GCC = no; then
---
> if test "$GCC" = no; then
24677c24306
< This file was extended by file $as_me 5.00, which was
---
> This file was extended by file $as_me 5.03, which was
24730c24359
< file config.status 5.00
---
> file config.status 5.03
24972a24602
> pkgdatadir!$pkgdatadir$ac_delim
25001a24632
> SED!$SED$ac_delim
25007,25010c24638,24639
< CPP!$CPP$ac_delim
< CXX!$CXX$ac_delim
< CXXFLAGS!$CXXFLAGS$ac_delim
< ac_ct_CXX!$ac_ct_CXX$ac_delim
---
> DSYMUTIL!$DSYMUTIL$ac_delim
> NMEDIT!$NMEDIT$ac_delim
25051a24681,24684
> CPP!$CPP$ac_delim
> CXX!$CXX$ac_delim
> CXXFLAGS!$CXXFLAGS$ac_delim
> ac_ct_CXX!$ac_ct_CXX$ac_delim
25066c24699
< if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
---
> if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 16; then