Mercurial > hg > octave-jordi
diff aclocal.m4 @ 3074:42975c59d2a0
[project @ 1997-07-24 19:33:35 by jwe]
author | jwe |
---|---|
date | Thu, 24 Jul 1997 19:35:44 +0000 |
parents | db6d57d718f7 |
children | eb827eb9b8ff |
line wrap: on
line diff
--- a/aclocal.m4 +++ b/aclocal.m4 @@ -85,17 +85,18 @@ ld_run_path=`echo $foutput | \ 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 -dnl systems... +dnl We are only supposed to find this on Solaris systems... +dnl Uh, the run path should be absolute, shouldn't it? dnl -if test -n "$ld_run_path"; then - if test "$ac_cv_prog_gcc" = yes; then - ld_run_path="-Xlinker -R -Xlinker $ld_run_path" - else - ld_run_path="-R $ld_run_path" - fi -fi +case "$ld_run_path" in + /*) + if test "$ac_cv_prog_gcc" = yes; then + ld_run_path="-Xlinker -R -Xlinker $ld_run_path" + else + ld_run_path="-R $ld_run_path" + fi + ;; +esac dnl flibs= lflags=