Don't define HAVE_FREETYPE unless we have freetype.h.
diff --git a/include/config.h.in b/include/config.h.in
index 5976ad3..b8227ea 100644
--- a/include/config.h.in
+++ b/include/config.h.in
@@ -472,12 +472,12 @@
/* Define if we have CUPS */
#undef HAVE_CUPS
-/* Define if FreeType 2 is installed */
-#undef HAVE_FREETYPE
-
/* Define if you have the <freetype/fttrigon.h> header file. */
#undef HAVE_FREETYPE_FTTRIGON_H
+/* Define if FreeType 2 is installed */
+#undef HAVE_FREETYPE
+
/* Define if we can use ppdev.h for parallel port access */
#undef HAVE_PPDEV