AC_SUBST([requirements_pc_eet])
AC_SUBST([requirements_libs_eet])
-DEBUG_CFLAGS=""
-AC_SUBST([DEBUG_CFLAGS])
-
AC_OUTPUT([
Makefile
eet.pc
m4_defn([UPEFL])[]_CFLAGS="${m4_defn([UPEFL])[]_CFLAGS} -fprofile-arcs -ftest-coverage"
m4_defn([UPEFL])[]_LIBS="${m4_defn([UPEFL])[]_LIBS} -lgcov"
# remove any optimisation flag and force debug symbols
- m4_defn([UPEFL])[]_CFLAGS="${m4_defn([UPEFL])[]_CFLAGS} -g -O0 -DDEBUG"
+ if test "x${prefer_assert}" = "xno"; then
+ m4_defn([UPEFL])[]_CFLAGS="${m4_defn([UPEFL])[]_CFLAGS} -DNDEBUG"
+ else
+ m4_defn([UPEFL])[]_CFLAGS="${m4_defn([UPEFL])[]_CFLAGS} -g -O0 -DDEBUG"
+ fi
efl_enable_coverage="yes"
else
AC_MSG_WARN([lcov is not found, disable profiling instrumentation])
fi
fi
-dnl Substitution
-AC_SUBST(EFL_COVERAGE_CFLAGS)
-AC_SUBST(EFL_COVERAGE_LIBS)
-
AM_CONDITIONAL(EFL_ENABLE_TESTS, test "x${_efl_enable_tests}" = "xyes")
AS_IF([test "x$_efl_enable_tests" = "xyes"], [$2], [$3])
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
@EET_CFLAGS@ \
-@EFL_EET_BUILD@ \
-@EFL_COVERAGE_CFLAGS@
+@EFL_EET_BUILD@
includes_HEADERS = Eet.h
includesdir = $(includedir)/eet-@VMAJ@
lz4/lz4hc.c \
lz4/lz4hc.h
-libeet_la_CFLAGS = @DEBUG_CFLAGS@
-libeet_la_LIBADD = @EFL_COVERAGE_LIBS@ @EET_LIBS@ -lm
+libeet_la_LIBADD = @EET_LIBS@ -lm
libeet_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@
EXTRA_DIST = lz4/README