summaryrefslogtreecommitdiffstats
path: root/gl/m4/progtest.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gl/m4/progtest.m4')
-rw-r--r--gl/m4/progtest.m420
1 files changed, 10 insertions, 10 deletions
diff --git a/gl/m4/progtest.m4 b/gl/m4/progtest.m4
index 7b391232..4a5b0b4c 100644
--- a/gl/m4/progtest.m4
+++ b/gl/m4/progtest.m4
@@ -1,22 +1,22 @@
1# progtest.m4 serial 7 (gettext-0.18.2) 1# progtest.m4 serial 9 (gettext-0.21.1)
2dnl Copyright (C) 1996-2003, 2005, 2008-2013 Free Software Foundation, Inc. 2dnl Copyright (C) 1996-2003, 2005, 2008-2022 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved. 5dnl with or without modifications, as long as this notice is preserved.
6dnl 6dnl
7dnl This file can can be used in projects which are not available under 7dnl This file can be used in projects which are not available under
8dnl the GNU General Public License or the GNU Library General Public 8dnl the GNU General Public License or the GNU Lesser General Public
9dnl License but which still want to provide support for the GNU gettext 9dnl License but which still want to provide support for the GNU gettext
10dnl functionality. 10dnl functionality.
11dnl Please note that the actual code of the GNU gettext library is covered 11dnl Please note that the actual code of the GNU gettext library is covered
12dnl by the GNU Library General Public License, and the rest of the GNU 12dnl by the GNU Lesser General Public License, and the rest of the GNU
13dnl gettext package package is covered by the GNU General Public License. 13dnl gettext package is covered by the GNU General Public License.
14dnl They are *not* in the public domain. 14dnl They are *not* in the public domain.
15 15
16dnl Authors: 16dnl Authors:
17dnl Ulrich Drepper <drepper@cygnus.com>, 1996. 17dnl Ulrich Drepper <drepper@cygnus.com>, 1996.
18 18
19AC_PREREQ([2.50]) 19AC_PREREQ([2.53])
20 20
21# Search path for a program which passes the given test. 21# Search path for a program which passes the given test.
22 22
@@ -61,7 +61,7 @@ AC_CACHE_VAL([ac_cv_path_$1],
61 ;; 61 ;;
62 *) 62 *)
63 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 63 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
64 for ac_dir in ifelse([$5], , $PATH, [$5]); do 64 for ac_dir in m4_if([$5], , $PATH, [$5]); do
65 IFS="$ac_save_IFS" 65 IFS="$ac_save_IFS"
66 test -z "$ac_dir" && ac_dir=. 66 test -z "$ac_dir" && ac_dir=.
67 for ac_exec_ext in '' $ac_executable_extensions; do 67 for ac_exec_ext in '' $ac_executable_extensions; do
@@ -77,12 +77,12 @@ AC_CACHE_VAL([ac_cv_path_$1],
77 IFS="$ac_save_IFS" 77 IFS="$ac_save_IFS"
78dnl If no 4th arg is given, leave the cache variable unset, 78dnl If no 4th arg is given, leave the cache variable unset,
79dnl so AC_PATH_PROGS will keep looking. 79dnl so AC_PATH_PROGS will keep looking.
80ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" 80m4_if([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
81])dnl 81])dnl
82 ;; 82 ;;
83esac])dnl 83esac])dnl
84$1="$ac_cv_path_$1" 84$1="$ac_cv_path_$1"
85if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then 85if test m4_if([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
86 AC_MSG_RESULT([$][$1]) 86 AC_MSG_RESULT([$][$1])
87else 87else
88 AC_MSG_RESULT([no]) 88 AC_MSG_RESULT([no])