xref: /PHP-5.3/sapi/tux/config.m4 (revision eb923bf6)
1dnl
2dnl $Id$
3dnl
4
5PHP_ARG_WITH(tux,,
6[  --with-tux=MODULEDIR    Build PHP as a TUX module (Linux only)], no, no)
7
8AC_MSG_CHECKING([for TUX])
9if test "$PHP_TUX" != "no"; then
10  INSTALL_IT="\$(INSTALL) -m 0755 $SAPI_SHARED $PHP_TUX/php5.tux.so"
11  AC_CHECK_HEADERS(tuxmodule.h,[:],[AC_MSG_ERROR([Cannot find tuxmodule.h])])
12  PHP_SELECT_SAPI(tux, shared, php_tux.c)
13  AC_MSG_RESULT([$PHP_TUX])
14else
15  AC_MSG_RESULT(no)
16fi
17