Commit bed27157 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

build-aux/build_unit_test.sh: Define HAVE_* for unit-tests.

parent 843b5b38
2011-02-17 Guillaume Lazzara <z@lrde.epita.fr>
* build-aux/build_unit_test.sh: Define HAVE_* for unit-tests.
2011-02-17 Guillaume Lazzara <z@lrde.epita.fr> 2011-02-17 Guillaume Lazzara <z@lrde.epita.fr>
* configure.ac: scribo/src/primitive/remove. * configure.ac: scribo/src/primitive/remove.
......
...@@ -115,7 +115,7 @@ EOF ...@@ -115,7 +115,7 @@ EOF
cppflags="${NAME}_CPPFLAGS=" cppflags="${NAME}_CPPFLAGS="
ldflags="${NAME}_LDFLAGS=" ldflags="${NAME}_LDFLAGS="
for i in $IFDEF; do for i in $IFDEF; do
cppflags="${cppflags} \${${i}_CPPFLAGS} " cppflags="${cppflags} \${${i}_CPPFLAGS} -DHAVE_${i}"
ldflags="${ldflags} \${${i}_LDFLAGS} " ldflags="${ldflags} \${${i}_LDFLAGS} "
done done
echo "$cppflags \${AM_CPPFLAGS}" >>"$output" echo "$cppflags \${AM_CPPFLAGS}" >>"$output"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment