Mercurial > hg > svcore
diff acinclude.m4 @ 672:5f75414d85f6
* When using user-supplied {module}_LIBS, actually insert them into LIBS...
author | Chris Cannam |
---|---|
date | Tue, 08 Mar 2011 10:46:36 +0000 |
parents | 59ae875b017b |
children | a98af74f8e2f |
line wrap: on
line diff
--- a/acinclude.m4 Tue Mar 08 10:31:12 2011 +0000 +++ b/acinclude.m4 Tue Mar 08 10:46:36 2011 +0000 @@ -10,6 +10,8 @@ SV_MODULE_FAILED=1 if test -n "$$1_LIBS" ; then AC_MSG_NOTICE([User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE]) + CXXFLAGS="$CXXFLAGS $$1_CFLAGS" + LIBS="$LIBS $$1_LIBS" SV_MODULE_FAILED="" fi if test -z "$SV_MODULE_VERSION_TEST" ; then @@ -37,6 +39,8 @@ SV_MODULE_FAILED=1 if test -n "$$1_LIBS" ; then AC_MSG_NOTICE([User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE]) + CXXFLAGS="$CXXFLAGS $$1_CFLAGS" + LIBS="$LIBS $$1_LIBS" SV_MODULE_FAILED="" fi if test -z "$SV_MODULE_VERSION_TEST" ; then