<div class="gmail_quote">On Fri, Aug 27, 2010 at 5:24 PM, Gaetan Nadon <span dir="ltr"><<a href="mailto:memsize@videotron.ca">memsize@videotron.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
The macro was designed to test for a program and, when missing, stop<br>
the configuration. The first parameter to the macro is a variable<br>
name which is used by AC_PATH_PROG to store the program path.<br>
The test failed to reference the variable content, it tested the<br>
variable name which is never blank.<br>
<br>
BDFTOPCF MKFONTSCALE MKFONTDIR COMPRESS and UCS2ANY were affected.<br>
<br>
Signed-off-by: Gaetan Nadon <<a href="mailto:memsize@videotron.ca">memsize@videotron.ca</a>><br>
---<br>
<a href="http://fontutil.m4.in" target="_blank">fontutil.m4.in</a> | 2 +-<br>
1 files changed, 1 insertions(+), 1 deletions(-)<br>
<br>
diff --git a/<a href="http://fontutil.m4.in" target="_blank">fontutil.m4.in</a> b/<a href="http://fontutil.m4.in" target="_blank">fontutil.m4.in</a><br>
index 616366f..75feff8 100644<br>
--- a/<a href="http://fontutil.m4.in" target="_blank">fontutil.m4.in</a><br>
+++ b/<a href="http://fontutil.m4.in" target="_blank">fontutil.m4.in</a><br>
@@ -138,7 +138,7 @@ AC_DEFUN([XORG_FONT_CHECK_ENCODING_LIST],[<br>
<br>
AC_DEFUN([XORG_FONT_REQUIRED_PROG],[<br>
AC_PATH_PROG($1, $2)<br>
- if test x"$1" = x; then<br>
+ if test x"$$1" = x; then<br>
AC_MSG_ERROR([$2 is required to build $PACKAGE_NAME.])<br>
fi<br>
])<br>
<font color="#888888">--<br>
1.6.0.4<br>
<br>
</font></blockquote></div><br>Works for me, and looks a whole lot better than my patch.<br><br>Tested-by: Jesse Adkins <<a href="mailto:jesserayadkins@gmail.com">jesserayadkins@gmail.com</a>><br><br>