summaryrefslogtreecommitdiff
path: root/ext/wddx/config.m4
blob: 2b8078f596c638d2eb7dee03bb0c98c5b74903ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
dnl $Id$
dnl config.m4 for extension wddx

AC_MSG_CHECKING(whether to include WDDX support)
AC_ARG_WITH(wddx,
[  --with-wddx             Include WDDX support],[
  if test "$withval" = "yes"; then
    if test "${with_xml+set}" != "set" -o "$with_xml" = "no"; then
	AC_MSG_ERROR(WDDX requires --with-xml)
    else
        AC_DEFINE(HAVE_WDDX, 1)
        AC_MSG_RESULT(yes)
        PHP_EXTENSION(wddx)
    fi
  else
    AC_MSG_RESULT(no)
  fi
],[
  AC_MSG_RESULT(no)
])