diff aclocal.m4 @ 2621:337a09dd1c06

[project @ 1997-01-24 21:49:41 by jwe]
author jwe
date Fri, 24 Jan 1997 21:55:06 +0000
parents c454cd888ada
children b35a5cd8107f
line wrap: on
line diff
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -126,8 +126,7 @@
 fi
 dnl
 ld_run_path=`echo $foutput | \
-  sed -n -e 's/.*\(LD_RUN_PATH *= *[^ ]*\).*/\1/p' | \
-  sed -e 's/LD_RUN_PATH *= *//'`
+  sed -n -e 's/^.*\(LD_RUN_PATH *= *\([^ ]*\).*/\1/p'`
 dnl
 dnl We are only supposed to find this on Solaris systems, and this
 dnl substitution is probably only going to work with gcc on those