Author: tabish
Date: Mon Nov 5 12:44:15 2007
New Revision: 592147
URL: http://svn.apache.org/viewvc?rev=592147&view=rev
Log:
http://issues.apache.org/activemq/browse/AMQCPP-103
Modified:
activemq/activemq-cpp/trunk/m4/decaf_tools.m4
Modified: activemq/activemq-cpp/trunk/m4/decaf_tools.m4
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/m4/decaf_tools.m4?rev=592147&r1=592146&r2=592147&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/m4/decaf_tools.m4 (original)
+++ activemq/activemq-cpp/trunk/m4/decaf_tools.m4 Mon Nov 5 12:44:15 2007
@@ -36,6 +36,20 @@
dnl Get build information from Decaf
+ DECAF_CPPFLAGS="`$decaf_config --cppflags`"
+ if test $? -ne 0; then
+ AC_MSG_ERROR([decaf-config --cppflags failed])
+ fi
+
+ DECAF_INCLUDES="`$decaf_config --includes`"
+ if test $? -ne 0; then
+ AC_MSG_ERROR([decaf-config --includes failed])
+ fi
+
+ DECAF_LIBS="`$decaf_config --libs`"
+ if test $? -ne 0; then
+ AC_MSG_ERROR([decaf-config --libs failed])
+ fi
AC_SUBST([DECAF_LIBS])
AC_SUBST([DECAF_INCLUDES])