equal
deleted
inserted
replaced
|
1 dnl |
|
2 dnl Autoconf support for external convergence layer |
|
3 dnl |
|
4 |
|
5 AC_DEFUN(AC_CONFIG_EXTERNAL_CL, [ |
|
6 ac_ecl='yes' |
|
7 AC_ARG_ENABLE(ecl, |
|
8 AC_HELP_STRING([--disable-ecl], |
|
9 [disable external convergence layer support]), |
|
10 ac_ecl=$enableval) |
|
11 dnl |
|
12 dnl First make sure we even want it |
|
13 dnl |
|
14 AC_MSG_CHECKING(whether to enable external convergence layer support) |
|
15 if test "$ac_ecl" = no; then |
|
16 AC_MSG_RESULT(no) |
|
17 EXTERNAL_CL_ENABLED=0 |
|
18 else |
|
19 AC_MSG_RESULT(yes) |
|
20 |
|
21 AC_OASYS_SUPPORTS(XERCES_C_ENABLED) |
|
22 if test $ac_oasys_supports_result != yes ; then |
|
23 AC_MSG_ERROR([external convergence layer support requires xerces... install it or configure --disable-ecl]) |
|
24 fi |
|
25 |
|
26 EXTERNAL_CL_ENABLED=1 |
|
27 AC_DEFINE_UNQUOTED(EXTERNAL_CL_ENABLED, 1, [whether external convergence layer support is enabled]) |
|
28 fi # EXTERNAL_CL_ENABLED |
|
29 ]) |