File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / sapi / tux / config.m4
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:34:35 2012 UTC (12 years, 5 months ago) by misho
Branches: php, MAIN
CVS tags: v5_4_3elwix, v5_4_29p0, v5_4_29, v5_4_20p0, v5_4_20, v5_4_17p0, v5_4_17, HEAD
php 5.4.3+patches

dnl
dnl $Id: config.m4,v 1.1.1.2 2012/05/29 12:34:35 misho Exp $
dnl

PHP_ARG_WITH(tux,,
[  --with-tux=MODULEDIR    Build PHP as a TUX module (Linux only)], no, no)

AC_MSG_CHECKING([for TUX])
if test "$PHP_TUX" != "no"; then
  INSTALL_IT="\$(INSTALL) -m 0755 $SAPI_SHARED $PHP_TUX/php5.tux.so"
  AC_CHECK_HEADERS(tuxmodule.h,[:],[AC_MSG_ERROR([Cannot find tuxmodule.h])])
  PHP_SELECT_SAPI(tux, shared, php_tux.c)
  AC_MSG_RESULT([$PHP_TUX])
else
  AC_MSG_RESULT(no)
fi

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>