Properly find Xerces-C 2.2 (it needs a namespace)
authorwarlord <warlord@cb58f699-b61c-0410-a6fe-9272a202ed29>
Mon, 7 Apr 2003 18:53:50 +0000 (18:53 +0000)
committerwarlord <warlord@cb58f699-b61c-0410-a6fe-9272a202ed29>
Mon, 7 Apr 2003 18:53:50 +0000 (18:53 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@355 cb58f699-b61c-0410-a6fe-9272a202ed29

configure.ac

index b8e8a4b..f034b08 100644 (file)
@@ -102,7 +102,7 @@ saved_LIBS="$LIBS"
 LIBS="-lxerces-c $LIBS"
 AC_TRY_LINK(
        [#include <xercesc/util/PlatformUtils.hpp>],
-        [XMLPlatformUtils::Initialize()],
+        [xercesc::XMLPlatformUtils::Initialize()],
        [AC_DEFINE(HAVE_LIBXERCESC,1,[Define if Xerces-C library was found])],
        [AC_MSG_ERROR([unable to link with Xerces])
                LIBS="$saved_LIBS"