]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4: Move the AC_LIBTOOL_SYS_DYNAMIC_LINKER check
authorPeter O'Gorman <peter@pogma.com>
Wed, 9 Apr 2003 17:54:06 +0000 (17:54 +0000)
committerRobert Boehne <rboehne@gnu.org>
Wed, 9 Apr 2003 17:54:06 +0000 (17:54 +0000)
to be before AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH, becuase the
value of shlibpath_overrides_runpath is used in the HARDCODE
test and is set in the DYNAMIC_LINKER test.
* ltmain.in(darwin): We never need to relink on darwin.

ChangeLog
libtool.m4
ltmain.in

index 17438aa0db6de6b6954daa7e96bf94cb9f444c8b..04ff9070abc71ace08d441ff15e902b0daa1a92c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-04-09  Peter O'Gorman  <peter@pogma.com>
+
+       * libtool.m4: Move the AC_LIBTOOL_SYS_DYNAMIC_LINKER check
+       to be before AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH, becuase the
+       value of shlibpath_overrides_runpath is used in the HARDCODE
+       test and is set in the DYNAMIC_LINKER test.
+       * ltmain.in(darwin): We never need to relink on darwin.
+
 2003-04-09  Samuel Meder  <meder@mcs.anl.gov>
 
        * libtool.m4 Switch on `basename $CC` not $CC
index 216fe12a5b9efd2f4023ddb249dbaeb993279ce2..bfcdcc8864e4cdb71facb4cb0349cda2d0178a40 100644 (file)
@@ -2510,9 +2510,9 @@ AC_LIBTOOL_PROG_COMPILER_PIC($1)
 AC_LIBTOOL_PROG_CC_C_O($1)
 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
 AC_LIBTOOL_PROG_LD_SHLIBS($1)
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
 AC_LIBTOOL_SYS_LIB_STRIP
-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
 AC_LIBTOOL_DLOPEN_SELF($1)
 
 # Report which librarie types wil actually be built
@@ -3442,9 +3442,9 @@ AC_LIBTOOL_PROG_COMPILER_PIC($1)
 AC_LIBTOOL_PROG_CC_C_O($1)
 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
 AC_LIBTOOL_PROG_LD_SHLIBS($1)
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
 AC_LIBTOOL_SYS_LIB_STRIP
-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
 AC_LIBTOOL_DLOPEN_SELF($1)
 
 AC_LIBTOOL_CONFIG($1)
@@ -3686,9 +3686,10 @@ AC_LIBTOOL_PROG_COMPILER_PIC($1)
 AC_LIBTOOL_PROG_CC_C_O($1)
 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
 AC_LIBTOOL_PROG_LD_SHLIBS($1)
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
 AC_LIBTOOL_SYS_LIB_STRIP
-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
+
 
 AC_LIBTOOL_CONFIG($1)
 
@@ -3740,9 +3741,9 @@ AC_LIBTOOL_PROG_COMPILER_PIC($1)
 AC_LIBTOOL_PROG_CC_C_O($1)
 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
 AC_LIBTOOL_PROG_LD_SHLIBS($1)
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
 AC_LIBTOOL_SYS_LIB_STRIP
-AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
 AC_LIBTOOL_DLOPEN_SELF($1)
 
 AC_LIBTOOL_CONFIG($1)
index 09b15501b2752e7b6d757e4184399ea5e518eec4..0e628b875134a023900a7c04188537ec1dca1b39 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -5051,7 +5051,9 @@ fi\
       # Quote the link command for shipping.
       relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@)"
       relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
-
+      if test "$hardcode_automatic" = yes ; then
+        relink_command=
+      fi  
       # Only create the output if not a dry run.
       if test -z "$run"; then
        for installed in no yes; do