Making make check win.

This commit is contained in:
Micah Cowan 2007-10-18 22:16:08 -07:00
parent 212396c7e1
commit 20396f7dc7
4 changed files with 9 additions and 3 deletions

View File

@ -1,7 +1,8 @@
2007-10-18 Micah Cowan <micah@cowan.name>
* Makefile.am: version.c should not be distributed. Removed
config-post.h.
config-post.h. Add version.c dependency and gnulib include path
for libunittest.a.
* sysdep.h: Got contents of config-post.h
* config-post.h: Removed.
* wget.h: #include "config.h".

View File

@ -56,7 +56,8 @@ version.c: $(wget_SOURCES) $(LDADD) $(srcdir)/Makefile.am
check_LIBRARIES = libunittest.a
libunittest_a_SOURCES = $(wget_SOURCES) test.c test.h
libunittest_a_CPPFLAGS = -DTESTING
nodist_libunittest_a_SOURCES = version.c
libunittest_a_CPPFLAGS = -DTESTING -I$(top_srcdir)/lib
libunittest_a_LIBADD = $(ALLOCA) $(LIBOBJS)
CLEANFILES = *~ *.bak core core.[0-9]* version.c

View File

@ -1,3 +1,7 @@
2007-10-18 Micah Cowan <micah@cowan.name>
* Makefile.am: Add dependency for unit_tests on libgnu.a.
2007-10-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* WgetTest.pm.in: wget is built in the build tree. Use an

View File

@ -98,6 +98,6 @@ EXTRA_DIST = FTPServer.pm FTPTest.pm HTTPServer.pm HTTPTest.pm \
check_PROGRAMS = unit-tests
unit_tests_SOURCES =
LDADD = ../src/libunittest.a @LIBSSL@ @LIBGNUTLS@
LDADD = ../src/libunittest.a ../lib/libgnu.a @LIBSSL@ @LIBGNUTLS@
CLEANFILES = *~ *.bak core core.[0-9]*