---
ChangeLog | 4 ++++
build-aux/build_unit_test.sh | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 30f8b74..f634518 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2011-02-17 Guillaume Lazzara <z(a)lrde.epita.fr>
+ * build-aux/build_unit_test.sh: Define HAVE_* for unit-tests.
+
+2011-02-17 Guillaume Lazzara <z(a)lrde.epita.fr>
+
* configure.ac: scribo/src/primitive/remove.
2011-02-17 Guillaume Lazzara <z(a)lrde.epita.fr>
diff --git a/build-aux/build_unit_test.sh b/build-aux/build_unit_test.sh
index 8492d64..8f7bd97 100755
--- a/build-aux/build_unit_test.sh
+++ b/build-aux/build_unit_test.sh
@@ -115,7 +115,7 @@ EOF
cppflags="${NAME}_CPPFLAGS="
ldflags="${NAME}_LDFLAGS="
for i in $IFDEF; do
- cppflags="${cppflags} \${${i}_CPPFLAGS} "
+ cppflags="${cppflags} \${${i}_CPPFLAGS} -DHAVE_${i}"
ldflags="${ldflags} \${${i}_LDFLAGS} "
done
echo "$cppflags \${AM_CPPFLAGS}" >>"$output"
--
1.5.6.5
Show replies by date