mirror of
https://gitlab.com/gnuwget/wget.git
synced 2026-10-23 07:08:57 +03:00
Replace hard-coded : with ${PATH_SEPARATOR}
On OS/2, a path separator is ;.
This fixes that configure cannot find some programs such as msgfmt.
* m4/wget.m4 (AM_PATH_PROG_WITH_TEST): Replace : with ${PATH_SEPARATOR}.
Copyright-paperwork-exempt: Yes
This commit is contained in:
@@ -161,7 +161,7 @@ AC_CACHE_VAL(ac_cv_path_$1,
|
||||
ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
|
||||
;;
|
||||
*)
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
|
||||
for ac_dir in ifelse([$5], , $PATH, [$5]); do
|
||||
test -z "$ac_dir" && ac_dir=.
|
||||
if test -f $ac_dir/$ac_word; then
|
||||
|
||||
Reference in New Issue
Block a user