1dnl 2dnl $Id$ 3dnl 4 5PHP_ARG_WITH(webjames,, 6[ --with-webjames=SRCDIR Build PHP as a WebJames module (RISC OS only)], no, no) 7 8AC_MSG_CHECKING([for webjames]) 9 10if test "$PHP_WEBJAMES" != "no"; then 11 PHP_EXPAND_PATH($PHP_WEBJAMES, PHP_WEBJAMES) 12 INSTALL_IT="\ 13 echo 'PHP_LIBS = -l$abs_srcdir/$SAPI_STATIC \$(PHP_LIBS) \$(EXTRA_LIBS)' > $PHP_WEBJAMES/build/php; \ 14 echo 'PHP_LDFLAGS = \$(NATIVE_RPATHS) \$(PHP_LDFLAGS)' >> $PHP_WEBJAMES/build/php; \ 15 echo 'PHP_CFLAGS = -DPHP \$(COMMON_FLAGS) \$(EXTRA_CFLAGS) -I$abs_srcdir/sapi/webjames' >> $PHP_WEBJAMES/build/php;" 16 PHP_ADD_INCLUDE($PHP_WEBJAMES) 17 PHP_SELECT_SAPI(webjames, static, webjames.c) 18 AC_MSG_RESULT([yes, using $PHP_WEBJAMES]) 19else 20 AC_MSG_RESULT(no) 21fi 22