From 551aa6c36797ed720487f5974dcadabf19e6ff9f Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 17 Aug 2010 12:39:45 -0400 Subject: Rewrite toplevel Makefile There is no longer a need to have nested Makefiles and configure scripts. This patch combines the src/ Makefile and configure.ac into the root. --- src/external/libdhash.m4 | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'src/external/libdhash.m4') diff --git a/src/external/libdhash.m4 b/src/external/libdhash.m4 index e3afdac38..4d5c5d1a5 100644 --- a/src/external/libdhash.m4 +++ b/src/external/libdhash.m4 @@ -1,12 +1,10 @@ -AC_SUBST(SYSTEM_DHASH_OBJ) -AC_SUBST(SYSTEM_DHASH_CFLAGS) -AC_SUBST(SYSTEM_DHASH_LIBS) +AC_SUBST(DHASH_OBJ) +AC_SUBST(DHASH_CFLAGS) +AC_SUBST(DHASH_LIBS) -PKG_CHECK_MODULES(SYSTEM_DHASH, dhash >= 0.4.0, - have_system_dhash=true, - have_system_dhash=false +PKG_CHECK_MODULES(DHASH, + dhash >= 0.4.0, + , + AC_MSG_ERROR("Please install libdhash-devel") ) -# This is future-compatible. Right now, we'll force the use of our -# in-tree copy. When dhash is split off as its own source package, we'll -# fix this test -AM_CONDITIONAL(HAVE_SYSTEM_DHASH, test x$have_system_dhash = xtrue_FORCE_IN_TREE) + -- cgit