Annotation of embedaddon/php/sapi/webjames/config.m4, revision 1.1.1.2
1.1 misho 1: dnl
1.1.1.2 ! misho 2: dnl $Id$
1.1 misho 3: dnl
4:
5: PHP_ARG_WITH(webjames,,
6: [ --with-webjames=SRCDIR Build PHP as a WebJames module (RISC OS only)], no, no)
7:
8: AC_MSG_CHECKING([for webjames])
9:
10: if 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])
19: else
20: AC_MSG_RESULT(no)
21: fi
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>