summaryrefslogtreecommitdiffstats
path: root/m4/progtest.m4
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2001-12-18 08:00:10 +0000
committerThomas Roessler <roessler@does-not-exist.org>2001-12-18 08:00:10 +0000
commitda4159914515b0ae9690ba24053920476526bad0 (patch)
treeec75134fa5905c8463d7c1a2621c575cea3ec2c4 /m4/progtest.m4
parente86e391d6ca525a8dd02ad4f242bf89b26b8319a (diff)
Updating to gettext-0.10.40.
Diffstat (limited to 'm4/progtest.m4')
-rw-r--r--m4/progtest.m414
1 files changed, 9 insertions, 5 deletions
diff --git a/m4/progtest.m4 b/m4/progtest.m4
index aa62ce0c..6b0500e9 100644
--- a/m4/progtest.m4
+++ b/m4/progtest.m4
@@ -2,11 +2,15 @@
# Ulrich Drepper <drepper@cygnus.com>, 1996.
#
# This file can be copied and used freely without restrictions. It can
-# be used in projects which are not available under the GNU Public License
-# but which still want to provide support for the GNU gettext functionality.
-# Please note that the actual code is *not* freely available.
+# be used in projects which are not available under the GNU General Public
+# License or the GNU Library General Public License but which still want
+# to provide support for the GNU gettext functionality.
+# Please note that the actual code of the GNU gettext library is covered
+# by the GNU Library General Public License, and the rest of the GNU
+# gettext package package is covered by the GNU General Public License.
+# They are *not* in the public domain.
-# serial 1
+# serial 2
dnl MUTT_AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
@@ -38,7 +42,7 @@ ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
;;
esac])dnl
$1="$ac_cv_path_$1"
-if test -n "[$]$1"; then
+if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
AC_MSG_RESULT([$]$1)
else
AC_MSG_RESULT(no)