dnl dnl Autoconf support for external convergence layer dnl AC_DEFUN(AC_CONFIG_EXTERNAL_CL, [ ac_ecl='yes' AC_ARG_ENABLE(ecl, AC_HELP_STRING([--disable-ecl], [disable external convergence layer support]), ac_ecl=$enableval) dnl dnl First make sure we even want it dnl if test "$ac_ecl" = no; then EXTERNAL_CL_ENABLED=0 else if test ! "$XERCES_C_ENABLED" = 1 ; then AC_MSG_ERROR([external convergence layer support requires xerces... install it or configure --disable-ecl]) fi EXTERNAL_CL_ENABLED=1 AC_DEFINE_UNQUOTED(EXTERNAL_CL_ENABLED, 1, [whether external convergence layer support is enabled]) fi # EXTERNAL_CL_ENABLED ])