* configure: Set and substitute RPATH_ENVVAR.
authorIan Lance Taylor <ian@airs.com>
Thu, 15 Feb 1996 19:00:54 +0000 (19:00 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 15 Feb 1996 19:00:54 +0000 (19:00 +0000)
* configure: Rebuild.
* Makefile.in (RPATH_ENVVAR): New variable.
(check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.

gas/ChangeLog
gas/configure
gas/configure.in

index 259b46d36e9cde5ff1fa3bf82e4d2c57d95e6143..5e61d18afeacb2c3ec12c310f98da9490e927b0a 100644 (file)
@@ -1,5 +1,10 @@
 Thu Feb 15 11:20:18 1996  Ian Lance Taylor  <ian@cygnus.com>
 
+       * configure: Set and substitute RPATH_ENVVAR.
+       * configure: Rebuild.
+       * Makefile.in (RPATH_ENVVAR): New variable.
+       (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
+
        * configure.in: Accept i686.  From H.J. Lu <hjl@zoom.com>: i386
        doesn't need opcodes.  If configuring shared, opcodes needs bfd.
        * configure: Rebuild.
index 11e5418a3335c69dae8785a90085a0ca3e02ebd0..c88acf3ed6227d6234d64696069cfcd327637751 100755 (executable)
@@ -2118,11 +2118,13 @@ EOF
 
 
 HLDFLAGS=
+RPATH_ENVVAR=LD_LIBRARY_PATH
 # If we have shared libraries, try to set rpath reasonably.
 if test "${shared}" = "true"; then
   case "${host}" in
   *-*-hpux*)
     HLDFLAGS='-Wl,+s,+b,$(libdir)'
+    RPATH_ENVVAR=SHLIB_PATH
     ;;
   *-*-irix5*)
     HLDFLAGS='-Wl,-rpath,$(libdir)'
@@ -2159,6 +2161,7 @@ case "${host}" in
 esac
 
 
+
 trap '' 1 2 15
 cat > confcache <<\EOF
 # This file is a shell script that caches the results of configure
@@ -2308,6 +2311,7 @@ s%@INSTALL_DATA@%$INSTALL_DATA%g
 s%@CPP@%$CPP%g
 s%@ALLOCA@%$ALLOCA%g
 s%@HLDFLAGS@%$HLDFLAGS%g
+s%@RPATH_ENVVAR@%$RPATH_ENVVAR%g
 
 CEOF
 EOF
index 372332bfdee3402df7147eeec4a94fc9e3e9b128..68054961ecce1308a47726d3768cc25383f49364 100644 (file)
@@ -619,11 +619,13 @@ GAS_CHECK_DECL_NEEDED(errno, f, int f, [
 ])
 
 HLDFLAGS=
+RPATH_ENVVAR=LD_LIBRARY_PATH
 # If we have shared libraries, try to set rpath reasonably.
 if test "${shared}" = "true"; then
   case "${host}" in
   *-*-hpux*)
     HLDFLAGS='-Wl,+s,+b,$(libdir)'
+    RPATH_ENVVAR=SHLIB_PATH
     ;;
   *-*-irix5*)
     HLDFLAGS='-Wl,-rpath,$(libdir)'
@@ -659,6 +661,7 @@ case "${host}" in
     ;;
 esac
 AC_SUBST(HLDFLAGS)
+AC_SUBST(RPATH_ENVVAR)
 
 dnl This must come last.
 AC_OUTPUT(Makefile doc/Makefile .gdbinit:gdbinit.in)
This page took 0.032627 seconds and 4 git commands to generate.