summaryrefslogtreecommitdiffstats
path: root/missing-glyph-checker/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'missing-glyph-checker/configure.ac')
-rw-r--r--missing-glyph-checker/configure.ac41
1 files changed, 41 insertions, 0 deletions
diff --git a/missing-glyph-checker/configure.ac b/missing-glyph-checker/configure.ac
new file mode 100644
index 0000000..29d3d67
--- /dev/null
+++ b/missing-glyph-checker/configure.ac
@@ -0,0 +1,41 @@
+dnl Process this file with autoconf to produce a configure script.
+AC_INIT([missing-glyph-checker], 0.1)
+
+. ./requires
+
+AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)
+AM_MAINTAINER_MODE
+AM_CONFIG_HEADER([config.h])
+
+AC_PROG_LIBTOOL
+AC_PROG_CC
+
+GNOME_COMPILE_WARNINGS
+
+GNOME_COMMON_INIT
+GNOME_DEBUG_CHECK
+GNOME_MAINTAINER_MODE_DEFINES
+
+CFLAGS="$CFLAGS $WARN_CFLAGS"
+
+dnl ======================================================================
+dnl check pkg-config stuff
+dnl ======================================================================
+PKG_CHECK_MODULES(FONTCONFIG, fontconfig,
+ ,,AC_MSG_ERROR([no fontconfig found]))
+PKG_CHECK_MODULES(FREETYPE, freetype2,
+ ,,AC_MSG_ERROR([no freetype found]))
+AM_PATH_GLIB_2_0($GLIB_REQUIRED, :,
+ AC_MSG_ERROR([
+*** GLIB $GLIB_REQUIRED or better is required. The latest version of
+*** GLIB is always available from ftp://ftp.gtk.org/.]),
+ glib)
+
+dnl ======================================================================
+dnl output
+dnl ======================================================================
+AC_CONFIG_FILES([
+ Makefile
+ src/Makefile
+])
+AC_OUTPUT