config.m4 419 B

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