[parted-devel] [PATCH 2/3] If CHECK is installed on configure time, build our unittest framework

Otavio Salvador otavio at ossystems.com.br
Thu Dec 7 17:54:45 CET 2006


From: Otavio Salvador <otavio at ossystems.com.br>


---

 libparted/Makefile.am |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/libparted/Makefile.am b/libparted/Makefile.am
index 0cb7c09..b071658 100644
--- a/libparted/Makefile.am
+++ b/libparted/Makefile.am
@@ -3,7 +3,13 @@
 #
 # This file may be modified and/or distributed without restriction.
 
-SUBDIRS       = labels fs
+if HAVE_CHECK
+SUBDIRS_CHECK = tests
+else
+SUBDIRS_CHECK =
+endif
+
+SUBDIRS       = labels fs . $(SUBDIRS_CHECK)
 
 LIBS = @INTLLIBS@ @LIBS@
 



More information about the parted-devel mailing list