From 41bf28914ae27d8cf9a93db5fa5f65ca5a68d4bf Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Fri, 27 Aug 2010 18:22:37 -0400 Subject: XORG_FONT_REQUIRED_PROG: should stop when program is missing #14436 The macro was designed to test for a program and, when missing, stop the configuration. The first parameter to the macro is a variable name which is used by AC_PATH_PROG to store the program path. The test failed to reference the variable content, it tested the variable name which is never blank. BDFTOPCF MKFONTSCALE MKFONTDIR COMPRESS and UCS2ANY were affected. Reviewed-by: Alan Coopersmith Tested-by: Jesse Adkins Signed-off-by: Gaetan Nadon --- fontutil.m4.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fontutil.m4.in b/fontutil.m4.in index 616366f..75feff8 100644 --- a/fontutil.m4.in +++ b/fontutil.m4.in @@ -138,7 +138,7 @@ AC_DEFUN([XORG_FONT_CHECK_ENCODING_LIST],[ AC_DEFUN([XORG_FONT_REQUIRED_PROG],[ AC_PATH_PROG($1, $2) - if test x"$1" = x; then + if test x"$$1" = x; then AC_MSG_ERROR([$2 is required to build $PACKAGE_NAME.]) fi ]) -- cgit v1.2.1