Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed dependency on CppUnit

  • Loading branch information...
commit 5ff9b6997263d218f308c88761b33ff92d537a68 1 parent 1bac2c4
@davenger davenger authored
Showing with 3 additions and 20 deletions.
  1. +3 −8 INSTALL
  2. +0 −7 configure.ac
  3. +0 −5 tests/Makefile.am
View
11 INSTALL
@@ -14,18 +14,13 @@ On *nix, from the tarball:
CapturingScanner and GlueSimilarGlyphs feature), add `--enable-extra' option
to ./configure.
- If you want to build and run unit tests, install cppunit <http://cppunit.sourceforge.net>,
- add `--with-cppunit' option to ./configure and run `make check'.
-
You will find stubs for package specs in pkg/ directories. You can use them for providing
a package for your favourite distribution; your contribution will be highly appreciated.
On *nix, from VCS:
- You will need GNU autotools (autoconf, automake and libtool), bison, flex and cppunit.
- Please note that if you want to rebuild the tarball, cppunit is required, since its detection
- and using code is needed in configure script and makefiles.
+ You will need GNU autotools (autoconf, automake and libtool), bison and flex.
Once you have all this, simply run
$ autoreconf --install && ./configure && make all check && sudo make install
@@ -37,5 +32,5 @@ On Windows:
Unpack the tarball and run `nmake -f pkg\Makefile.win32 all'.
- If you want to build bleeding edge version from VCS, you'll need to install bison, flex,
- cppunit and create a project on your own.
+ If you want to build bleeding edge version from VCS, you'll need to install bison, flex
+ and create a project on your own.
View
7 configure.ac
@@ -14,13 +14,6 @@ AC_PROG_LEX
AC_PROG_YACC
AC_PROG_LIBTOOL
-# Check for cppunit
-AM_PATH_CPPUNIT([0.0.0],[with_unittests=yes],[
- AC_WARN([cppunit not found. Unit tests will not compile and run.])
- with_unittests=no
-])
-AM_CONDITIONAL([WITH_UNITTESTS], [test x"$with_unittests" = xyes])
-
# Just for conscience' sake
AC_CHECK_HEADERS([stdlib.h string.h sys/time.h])
AC_HEADER_STDBOOL
View
5 tests/Makefile.am
@@ -1,5 +1,3 @@
-if WITH_UNITTESTS
-
AM_CXXFLAGS = -Wall
if ENABLE_DEBUG
AM_CXXFLAGS += -DPIRE_DEBUG
@@ -37,6 +35,3 @@ CLEANFILES = inline_ut_2.cpp
inline_ut_2.cpp: $(srcdir)/inline_ut.cpp
../pire/pire_inline -o inline_ut_2.cpp $(srcdir)/inline_ut.cpp
-
-endif
-
Please sign in to comment.
Something went wrong with that request. Please try again.