summaryrefslogtreecommitdiffstats
path: root/src/external/libdhash.m4
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-08-17 12:39:45 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-08-19 11:15:09 -0400
commit551aa6c36797ed720487f5974dcadabf19e6ff9f (patch)
tree6f27967514430f4d3975de13ddadd9ab8b536dbd /src/external/libdhash.m4
parentad42d90b7e23978b62e36d6885d5fea0a105d6d0 (diff)
downloadsssd-551aa6c36797ed720487f5974dcadabf19e6ff9f.tar.gz
sssd-551aa6c36797ed720487f5974dcadabf19e6ff9f.tar.xz
sssd-551aa6c36797ed720487f5974dcadabf19e6ff9f.zip
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.
Diffstat (limited to 'src/external/libdhash.m4')
-rw-r--r--src/external/libdhash.m418
1 files changed, 8 insertions, 10 deletions
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)
+