10139N/A #endif /* HAVE_PATHNAME_STYLE_DOS */
10139N/A #endif /* HAVE_INSTANTIATIONS */
15713N/A@@ -239,6 +239,9 @@ AM_PROG_LIBTOOL
10139N/A AC_CHECK_LIB(pthread,pthread_create,,AC_CHECK_LIB(threads,cthread_fork))
15713N/A+dnl *** check for socket library ***
15713N/A+AC_CHECK_FUNC(socket,,[AC_CHECK_LIB(socket,socket)])
15713N/A@@ -352,14 +355,8 @@ dnl FIXME these need tests for non-GNU c
10139N/A ac_cv_c_gnu_automatic_templates=yes,
10139N/A ac_cv_c_gnu_automatic_templates=no)
10139N/A- if test "$ac_cv_c_gnu_automatic_templates" = yes; then
10139N/A- AC_DEFINE(SP_DEFINE_TEMPLATES,1,
10139N/A+ AC_DEFINE(SP_DEFINE_TEMPLATES,1,
10139N/A [define this to include template definitions in the headers])
10139N/A- [define this to compile explicit template instantiations])
10139N/A- CXXFLAGS="$CXXFLAGS -fno-implicit-templates"
10139N/A AC_CACHE_CHECK(whether GNU C++ links with libg++ if we include
new.h,
10139N/A-RTTI_DEF1(SearchResultMessageArg, OtherMessageArg);
10139N/A+RTTI_DEF1(SearchResultMessageArg, OtherMessageArg)
10139N/A SearchResultMessageArg::SearchResultMessageArg()
10139N/A // Open file for writing external entity declarations if we are preserving
10139N/A- ParserApp::AppChar filePath[strlen(outputDir_) + 21];
10139N/A+ char *filePath = (char *)malloc (strlen(outputDir_) + 21);
10139N/A strcat (filePath, EXT_ENT_FILE);
10139N/A // Open file for writing external entity declarations if we are preserving
10139N/A- char filePath[strlen(outputDir_) + 21];
10139N/A+ char *filePath = (char *)malloc (strlen(outputDir_) + 21);
10139N/A strcat (filePath, INT_ENT_FILE);
10139N/A- char filePath[strlen(outputDir_) + 9 +
10139N/A+ char *filePath = (char *)malloc (strlen(outputDir_) + 9 +
10139N/A void XmlOutputEventHandler::uniqueFilename(char *filePath) {
10139N/A- char baseFilePath[strlen(filePath)];
10139N/A+ char *baseFilePath = (char *)malloc (strlen(filePath));
10139N/A strcpy (baseFilePath, filePath);