Project

General

Profile

Feature #404 ยป 0050-Update-progtest.m4-to-serial-10.patch

Marko Lindqvist, 04/06/2024 07:15 PM

View differences:

m4/progtest.m4
# progtest.m4 serial 9 (gettext-0.21.1)
dnl Copyright (C) 1996-2003, 2005, 2008-2022 Free Software Foundation, Inc.
# progtest.m4
# serial 10 (gettext-0.23)
dnl Copyright (C) 1996-2003, 2005, 2008-2024 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
......
ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
;;
*)
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
gt_saved_IFS="$IFS"; IFS=$PATH_SEPARATOR
for ac_dir in m4_if([$5], , $PATH, [$5]); do
IFS="$ac_save_IFS"
IFS="$gt_saved_IFS"
test -z "$ac_dir" && ac_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
......
fi
done
done
IFS="$ac_save_IFS"
IFS="$gt_saved_IFS"
dnl If no 4th arg is given, leave the cache variable unset,
dnl so AC_PATH_PROGS will keep looking.
m4_if([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
    (1-1/1)