aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/Makefile.am
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-01-20 22:53:56 +0000
committerYang Tse <yangsita@gmail.com>2008-01-20 22:53:56 +0000
commita4eddf0d0dfb556f26201cc264a080f38e868f09 (patch)
tree33a7db1dc746a3bea57f6f1ba12707136a4b9ce3 /tests/libtest/Makefile.am
parentfcf9029179dcb24f18e2a0bc33bbad706c71055a (diff)
use internal *printf() clones since snprintf() not available on all platforms
Diffstat (limited to 'tests/libtest/Makefile.am')
-rw-r--r--tests/libtest/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/libtest/Makefile.am b/tests/libtest/Makefile.am
index a808a673f..a13f2454d 100644
--- a/tests/libtest/Makefile.am
+++ b/tests/libtest/Makefile.am
@@ -30,6 +30,7 @@ AUTOMAKE_OPTIONS = foreign nostdinc
# setup.h file
INCLUDES = -I$(top_srcdir)/include/curl \
+ -I$(top_srcdir)/include \
-I$(top_builddir)/lib \
-I$(top_srcdir)/lib
@@ -39,6 +40,7 @@ EXTRA_DIST = test75.pl test307.pl test610.pl test613.pl test1013.pl
# files used only in some libcurl test programs
TESTUTIL = testutil.c testutil.h
+MPRINTF = $(top_srcdir)/lib/mprintf.c $(top_srcdir)/lib/mprintf.h
# these files are used in every single test program below
SUPPORTFILES = first.c test.h
@@ -114,7 +116,7 @@ lib527_CFLAGS = -DLIB527
lib529_SOURCES = lib525.c $(SUPPORTFILES) $(TESTUTIL)
lib529_CFLAGS = -DLIB529
-lib530_SOURCES = lib530.c $(SUPPORTFILES) $(TESTUTIL)
+lib530_SOURCES = lib530.c $(SUPPORTFILES) $(TESTUTIL) $(MPRINTF)
lib530_CFLAGS = -DLIB530
lib532_SOURCES = lib526.c $(SUPPORTFILES) $(TESTUTIL)