summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-09-18 16:41:46 -0400
committerTavian Barnes <tavianator@gmail.com>2011-09-18 16:41:46 -0400
commit126c9b7b4b2c5f43b7d86f821bf5b7a416836a7e (patch)
tree9fde95885c177e182d3f2f9763898f1152b4799c
parent57ca6b8f4789d74a3d743a1f11c3b189c59d4edf (diff)
downloaddimension-126c9b7b4b2c5f43b7d86f821bf5b7a416836a7e.tar.xz
Fix ./configure --{enable,disable}-png.
If the first call to PKG_CHECK_MODULES() doesn't happen, a PKG_PROG_PKG_CONFIG is needed.
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index cd2af0a..06e9b0a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,6 +35,7 @@ AC_PROG_LN_S
AC_PROG_MAKE_SET
LT_INIT([win32-dll disable-static])
AM_PATH_PYTHON([3.2])
+PKG_PROG_PKG_CONFIG
dnl Find the math library
AC_SEARCH_LIBS([sqrt], [m], [], [AC_MSG_ERROR([sqrt() function not found])])