[parted-devel] [PATCH 1/3] Add CHECK unittext library detection to
Autoconf script
Otavio Salvador
otavio at ossystems.com.br
Thu Dec 7 17:54:39 CET 2006
From: Otavio Salvador <otavio at ossystems.com.br>
---
configure.ac | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index 8200564..5dc4ebc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -432,6 +432,10 @@ AC_CHECK_HEADER([execinfo.h], [
])
])
+dnl check for "check", unit testing library/header
+PKG_CHECK_MODULES([CHECK], [check >= 0.9.4])
+AM_CONDITIONAL(HAVE_CHECK, test "x$CHECK_LIBS" != "x")
+
dnl Checks for typedefs, structures and compiler characteristics.
AC_PROG_LD
@@ -486,6 +490,7 @@ libparted/fs/ntfs/Makefile
libparted/fs/reiserfs/Makefile
libparted/fs/ufs/Makefile
libparted/fs/xfs/Makefile
+libparted/tests/Makefile
parted/Makefile
partprobe/Makefile
doc/Makefile
More information about the parted-devel
mailing list