diff options
Diffstat (limited to 'libfontenc')
-rw-r--r-- | libfontenc/configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libfontenc/configure.ac b/libfontenc/configure.ac index 282167c71..78dbf9ac9 100644 --- a/libfontenc/configure.ac +++ b/libfontenc/configure.ac @@ -48,8 +48,10 @@ XORG_FONT_MACROS_VERSION(1.1) XORG_FONTSUBDIR([ENCODINGSDIR], [encodingsdir], [encodings])
# zlib
-
-AC_CHECK_LIB(z, gzclose)
+AC_CHECK_HEADER([zlib.h], [],
+ AC_MSG_FAILURE([zlib.h is required to compile libfontenc]))
+AC_CHECK_LIB(z, gzclose, [],
+ AC_MSG_FAILURE([zlib is required to compile libfontenc]))
# Check for dependencies
PKG_CHECK_MODULES(FONTENC, xproto)
|