aboutsummaryrefslogtreecommitdiff
path: root/gprof/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/aclocal.m4')
-rw-r--r--gprof/aclocal.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/gprof/aclocal.m4 b/gprof/aclocal.m4
index eb454e8..39d4683 100644
--- a/gprof/aclocal.m4
+++ b/gprof/aclocal.m4
@@ -171,10 +171,7 @@ else
fi
AC_CACHE_VAL(ac_cv_path_LD,
[case "$LD" in
- /*)
- ac_cv_path_LD="$LD" # Let the user override the test with a path.
- ;;
- *)
+ "")
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
for ac_dir in $PATH; do
test -z "$ac_dir" && ac_dir=.
@@ -192,6 +189,9 @@ AC_CACHE_VAL(ac_cv_path_LD,
done
IFS="$ac_save_ifs"
;;
+ *)
+ ac_cv_path_LD="$LD" # Let the user override the test with a path.
+ ;;
esac])
LD="$ac_cv_path_LD"
if test -n "$LD"; then