You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2007/07/17 13:59:48 UTC

svn commit: r556895 - /activemq/activemq-cpp/trunk/src/decaf/configure.ac

Author: tabish
Date: Tue Jul 17 04:59:46 2007
New Revision: 556895

URL: http://svn.apache.org/viewvc?view=rev&rev=556895
Log:
http://issues.apache.org/activemq/browse/AMQCPP-103

Modified:
    activemq/activemq-cpp/trunk/src/decaf/configure.ac

Modified: activemq/activemq-cpp/trunk/src/decaf/configure.ac
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/configure.ac?view=diff&rev=556895&r1=556894&r2=556895
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/configure.ac (original)
+++ activemq/activemq-cpp/trunk/src/decaf/configure.ac Tue Jul 17 04:59:46 2007
@@ -72,7 +72,6 @@
 AC_CHECK_SIZEOF(double, 8)
 
 AC_CHECK_HEADERS([uuid.h uuid/uuid.h], [AC_DEFINE([HAVE_UUID_T], [1], [Define if uuid_t exists.])])
-# AC_CHECK_HEADERS([uuid/uuid.h])
 AC_CHECK_HEADERS([objbase.h])
 AC_CHECK_HEADERS([repcdce.h])
 AC_CHECK_HEADERS([sys/filio.h])
@@ -87,6 +86,11 @@
 AM_PATH_CPPUNIT(1.10.2, cppunit=yes, cppunit=no; AC_MSG_RESULT([no. Unit and Integration tests disabled]))
 AM_CONDITIONAL(BUILD_CPPUNIT_TESTS, test x$cppunit = xyes)
 
+APR_FIND_APR([], [], 1, 1)
+if test $apr_found = "no"; then
+  AC_MSG_ERROR([APR not found])
+fi
+
 PLAT_CXXFLAGS=
 PLAT_LIBS=
 
@@ -127,7 +131,7 @@
 ## Flags for building the test applications.
 AC_SUBST([DECAF_TEST_CXXFLAGS])
 AC_SUBST([DECAF_TEST_LIBS])
-DECAF_TEST_CXXFLAGS="$AMQ_CXXFLAGS -Wno-non-virtual-dtor -Wno-unused-parameter -Wno-uninitialized"
+DECAF_TEST_CXXFLAGS="PLAT_CXXFLAGS -Wno-non-virtual-dtor -Wno-unused-parameter -Wno-uninitialized"
 DECAF_TEST_LIBS="../main/libdecaf.la"
 
 # Check to see if the compiler supports the visibility flags.