From 0a59c6b0dd532997fca5dd21b833c1893cb58379 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Thu, 20 Feb 2003 16:52:10 +0000 Subject: [PATCH] * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote $ac_prefix_program. From Larry Jones. --- ChangeLog | 8 +++++++- lib/autoconf/general.m4 | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 705595427..627b28354 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-02-20 Akim Demaille + + * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote + $ac_prefix_program. + From Larry Jones. + 2002-12-23 Paul Eggert * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an @@ -37,7 +43,7 @@ the location has moved. 2002-12-02 Martin Frydl - + * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when \(.*\) match is too long and there is something more to be checked. diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index 2dc8396b7..e5d8c49ef 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -1,6 +1,6 @@ # This file is part of Autoconf. -*- Autoconf -*- # Parameterized macros. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -495,7 +495,7 @@ AC_DEFUN([AC_PREFIX_PROGRAM], dnl We reimplement AC_MSG_CHECKING (mostly) to avoid the ... in the middle. _AS_ECHO_N([checking for prefix by ]) AC_PATH_PROG(ac_prefix_program, [$1]) - if test -n $ac_prefix_program; then + if test -n "$ac_prefix_program"; then prefix=`AS_DIRNAME(["$ac_prefix_program"])` prefix=`AS_DIRNAME(["$prefix"])` fi -- 2.47.3