diff options
Diffstat (limited to 'gprof/configure')
-rwxr-xr-x | gprof/configure | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gprof/configure b/gprof/configure index 264cb00..5a9b2fa 100755 --- a/gprof/configure +++ b/gprof/configure @@ -1074,10 +1074,7 @@ if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else 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=. @@ -1095,6 +1092,9 @@ else done IFS="$ac_save_ifs" ;; + *) + ac_cv_path_LD="$LD" # Let the user override the test with a path. + ;; esac fi |