summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vtorri@univ-evry.fr>2009-03-11 00:36:27 +0100
committerAlbert Astals Cid <aacid@kde.org>2009-03-11 00:41:14 +0100
commitd15e47158ae31909212d3875159046afb208de97 (patch)
tree3120e2ced344adfd4120a5efa965cf6816c3ebd8 /configure.ac
parentb3f569f9a6c117c097acac52ae6552209fcd2101 (diff)
Better check for pkg-config
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 1 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index d32f0482..69eca913 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,10 +22,7 @@ AC_CHECK_FUNC(gettimeofday, AC_DEFINE(HAVE_GETTIMEOFDAY, 1, [Defines if gettimeo
AC_CHECK_FUNC(localtime_r, AC_DEFINE(HAVE_LOCALTIME_R, 1, [Defines if localtime_r is available on your system]))
dnl ##### Check for pkgconfig
-AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, yes, no)
-if test "x$HAVE_PKGCONFIG" = "xno"; then
- AC_MSG_ERROR("*** pkg-config not found ***")
-fi
+PKG_PROG_PKG_CONFIG
dnl Enable these unconditionally.
AC_DEFINE([OPI_SUPPORT], [1], [Generate OPI comments in PS output.])