Lines 167-180
dnl ------------------------------------
Link Here
|
167 |
dnl Check for xerces |
167 |
dnl Check for xerces |
168 |
dnl ---------------------------------------- |
168 |
dnl ---------------------------------------- |
169 |
if test "$MINGW32" = yes; then |
169 |
if test "$MINGW32" = yes; then |
170 |
AC_MSG_CHECKING([for Xerces 3.0 experimental version]) |
170 |
AC_MSG_CHECKING([for Xerces 3 version]) |
171 |
AC_EGREP_HEADER([gXercesMajVersion = 3],[xercesc/util/XercesVersion.hpp], |
171 |
AC_EGREP_HEADER([XERCES_VERSION_MAJOR 3],[xercesc/util/XercesVersion.hpp], |
172 |
[AC_MSG_RESULT([found])], |
172 |
[AC_MSG_RESULT([found])], |
173 |
[AC_MSG_ERROR([not found])]) |
173 |
[AC_MSG_ERROR([not found])]) |
174 |
AC_CHECK_LIB(xerces, main,,[AC_MSG_ERROR([xerces is required to compile Enigma])]) |
174 |
AC_CHECK_LIB(xerces, main,,[AC_MSG_ERROR([xerces is required to compile Enigma])]) |
175 |
else |
175 |
else |
176 |
AC_MSG_CHECKING([for Xerces 3.0 experimental version]) |
176 |
AC_MSG_CHECKING([for Xerces 3 version]) |
177 |
AC_EGREP_HEADER([gXercesMajVersion = 3],[xercesc/util/XercesVersion.hpp], |
177 |
AC_EGREP_HEADER([XERCES_VERSION_MAJOR 3],[xercesc/util/XercesVersion.hpp], |
178 |
xerces3exp="yes", |
178 |
xerces3exp="yes", |
179 |
xerces3exp="no") |
179 |
xerces3exp="no") |
180 |
if test "x$xerces3exp" = xyes; then |
180 |
if test "x$xerces3exp" = xyes; then |