diff --git a/m4/dune_all.m4 b/m4/dune_all.m4 index 6874adf17ad9e0ce3696fce800fb6e593bf24abe..46cf711b0b3222881fb26f4828cc90324dabdf71 100644 --- a/m4/dune_all.m4 +++ b/m4/dune_all.m4 @@ -39,9 +39,9 @@ dnl do not use LT_INIT since we want to be compatible with libtool 1.5 AC_REQUIRE([DUNE_CHECK_MOD_DEPENDENCIES]) # convenience-variables if every found package should be used - AC_SUBST([ALL_PKG_LIBS], "$LIBS $DUNE_PKG_LIBS") - AC_SUBST([ALL_PKG_LDFLAGS], "$LDFLAGS $DUNE_PKG_LDFLAGS") - AC_SUBST([ALL_PKG_CPPFLAGS], "$CPPFLAGS $DUNE_PKG_CPPFLAGS") + AC_SUBST([ALL_PKG_LIBS], "$ALL_PKG_LIBS $DUNE_PKG_LIBS $LIBS") + AC_SUBST([ALL_PKG_LDFLAGS], "$LDFLAGS $DUNE_PKG_LDFLAGS $ALL_PKG_LDFLAGS") + AC_SUBST([ALL_PKG_CPPFLAGS], "$CPPFLAGS $DUNE_PKG_CPPFLAGS $ALL_PKG_CPPFLAGS") # convenience variables for all basic dune packages without extras AC_SUBST([DUNE_CPPFLAGS])