summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2010-02-21 21:19:30 (UTC)
committer Michael Krelin <hacker@klever.net>2010-02-21 21:19:30 (UTC)
commitce549cc7cc156ff1d6e15bcceb6c6178154af459 (patch) (side-by-side diff)
tree8060239cf3143be7970deea422a501461b652ef9
parent124c70b6d105d1d084bd2253d54c268cfa75f865 (diff)
downloadiii-ce549cc7cc156ff1d6e15bcceb6c6178154af459.zip
iii-ce549cc7cc156ff1d6e15bcceb6c6178154af459.tar.gz
iii-ce549cc7cc156ff1d6e15bcceb6c6178154af459.tar.bz2
don't override default pkg-config if-not-found action
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--configure.ac4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 515d465..a719cdd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,41 +1,39 @@
AC_INIT([iii], [0.1], [iii-bugs@klever.net])
AC_CONFIG_SRCDIR([src/iiid.cc])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([dist-bzip2])
AC_PROG_INSTALL
AC_PROG_CXX
AC_PROG_CC
PKG_PROG_PKG_CONFIG
AC_HEADER_STDC
AC_PATH_PROG([XSLTPROC],[xsltproc],[true])
-PKG_CHECK_MODULES([MODULES],[gsoap++ openssl libconfuse],,[
- AC_MSG_ERROR([one of the build dependencies isn't satisfied])
-])
+PKG_CHECK_MODULES([MODULES],[gsoap++ openssl libconfuse])
PKG_CHECK_MODULES([UUID],[uuid],[have_uuid=true],[have_uuid=false])
AM_CONDITIONAL([HAVE_UUID],[$have_uuid])
if $have_uuid ; then
AC_DEFINE([HAVE_LIBUUID],,[defined in presence of libuuid])
AC_SUBST([UUID_UUID],[uuid])
fi
AC_PATH_PROG([SOAPCPP2],[soapcpp2],[false])
test "$SOAPCPP2" = "false" && AC_MSG_ERROR([no soapcpp2 tool, part of gsoap package, found.])
notfound=false
AC_CHECK_HEADERS([archive.h],[
AC_CHECK_LIB([archive],[archive_read_new],,[notfound=true])
],[notfound=true])
$notfound && AC_MSG_ERROR([no required libarchive library found. get one from http://people.freebsd.org/~kientzle/libarchive/])
notfound=false
AC_LANG_PUSH([C++])
AC_CHECK_HEADERS([autosprintf.h],[
AC_CHECK_LIB([asprintf],[main],,[notfound=true])
],[notfound=true])
$notfound && AC_MSG_ERROR([no autosprintf, part of gettext, found])
AC_LANG_POP([C++])