]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
authorAkim Demaille <akim@epita.fr>
Thu, 20 Feb 2003 16:52:10 +0000 (16:52 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 20 Feb 2003 16:52:10 +0000 (16:52 +0000)
$ac_prefix_program.
From Larry Jones.

ChangeLog
lib/autoconf/general.m4

index 705595427aec701e6167e4f8c05cd005fc7b7ffd..627b283544a50f1b16fdcc21cebb4c2a19584271 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-02-20  Akim Demaille  <akim@epita.fr>
+
+       * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
+       $ac_prefix_program.
+       From Larry Jones.
+
 2002-12-23  Paul Eggert  <eggert@twinsun.com>
 
        * 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  <martin@systinet.com>
-       
+
        * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
        \(.*\) match is too long and there is something more to be checked.
        <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
index 2dc8396b724476a682dbac01d8933cdc3b8d1dc0..e5d8c49ef4666155fdeeb85c834ce29c10c370f7 100644 (file)
@@ -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