24 |
|
|
25 |
# serial 46 AC_PROG_LIBTOOL |
# serial 46 AC_PROG_LIBTOOL |
26 |
|
|
|
builtin([undefine],[symbols]) |
|
|
|
|
27 |
AC_DEFUN([AC_PROG_LIBTOOL], |
AC_DEFUN([AC_PROG_LIBTOOL], |
28 |
[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl |
[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl |
29 |
|
|
1707 |
;; |
;; |
1708 |
|
|
1709 |
solaris*) |
solaris*) |
1710 |
no_undefined_flag=' -z defs' |
no_undefined_flag=' -z text' |
1711 |
# $CC -shared without GNU ld will not create a library from C++ |
# $CC -shared without GNU ld will not create a library from C++ |
1712 |
# object files and a static libstdc++, better avoid it by now |
# object files and a static libstdc++, better avoid it by now |
1713 |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags `test "x$allow_undefined_flag" = "x$no_undefined_flag" && $CC --print-libgcc-file-name`' |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
1714 |
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
1715 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags `test "x$allow_undefined_flag" = "x$no_undefined_flag" && $CC --print-libgcc-file-name`~$rm $lib.exp' |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
1716 |
hardcode_libdir_flag_spec='-R$libdir' |
hardcode_libdir_flag_spec='-R$libdir' |
1717 |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
1718 |
case $host_os in |
case $host_os in |