diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-08-27 18:22:37 -0400 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2010-08-28 08:50:07 -0400 |
commit | 41bf28914ae27d8cf9a93db5fa5f65ca5a68d4bf (patch) | |
tree | 5caeb242a086842652bd74a28ad6a407b8839379 | |
parent | e8d3097d42969fa1e32eff2ece252ff584d3d56a (diff) | |
download | xorg-font-util-41bf28914ae27d8cf9a93db5fa5f65ca5a68d4bf.tar.gz |
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 <alan.coopersmith@oracle.com>
Tested-by: Jesse Adkins <jesserayadkins@gmail.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r-- | fontutil.m4.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 ]) |