/[libtool]/libtool/libtool.m4
ViewVC logotype

Diff of /libtool/libtool.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.314.2.118 by rwild, Mon Oct 31 18:54:20 2005 UTC revision 1.314.2.119 by rwild, Tue Nov 1 16:09:35 2005 UTC
# Line 854  int main () Line 854  int main ()
854        else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;        else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
855        /* dlclose (self); */        /* dlclose (self); */
856      }      }
857      else
858        puts (dlerror ());
859    
860      exit (status);      exit (status);
861  }]  }]
# Line 960  else Line 962  else
962      ])      ])
963    
964      if test "x$lt_cv_dlopen_self" = xyes; then      if test "x$lt_cv_dlopen_self" = xyes; then
965        LDFLAGS="$LDFLAGS $link_static_flag"        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
966        AC_CACHE_CHECK([whether a statically linked program can dlopen itself],        AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
967            lt_cv_dlopen_self_static, [dnl            lt_cv_dlopen_self_static, [dnl
968            _LT_AC_TRY_DLOPEN_SELF(            _LT_AC_TRY_DLOPEN_SELF(
# Line 4861  AC_MSG_CHECKING([for $compiler option to Line 4863  AC_MSG_CHECKING([for $compiler option to
4863          case $cc_basename in          case $cc_basename in
4864            CC*)            CC*)
4865              _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'              _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4866              _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"              _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
4867              if test "$host_cpu" != ia64; then              if test "$host_cpu" != ia64; then
4868                _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'                _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4869              fi              fi
4870              ;;              ;;
4871            aCC*)            aCC*)
4872              _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'              _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4873              _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"              _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
4874              case $host_cpu in              case $host_cpu in
4875              hppa*64*|ia64*)              hppa*64*|ia64*)
4876                # +Z the default                # +Z the default
# Line 5527  EOF Line 5529  EOF
5529        # Note: this linker hardcodes the directories in LIBPATH if there        # Note: this linker hardcodes the directories in LIBPATH if there
5530        # are no directories specified by -L.        # are no directories specified by -L.
5531        _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes        _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5532        if test "$GCC" = yes && test -z "$link_static_flag"; then        if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
5533          # Neither direct hardcoding nor static linking is supported with a          # Neither direct hardcoding nor static linking is supported with a
5534          # broken collect2.          # broken collect2.
5535          _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported          _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported

Legend:
Removed from v.1.314.2.118  
changed lines
  Added in v.1.314.2.119

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26