summaryrefslogtreecommitdiff
path: root/sapi/webjames/config.m4
diff options
context:
space:
mode:
authorAlex Waugh <alexwaugh@php.net>2001-11-05 12:07:49 +0000
committerAlex Waugh <alexwaugh@php.net>2001-11-05 12:07:49 +0000
commite06c1d7c7ea8ef8608fc28ad92624f6081dea0e9 (patch)
treedb4ab33226bcb5a2152c4968e4c25da2372280d0 /sapi/webjames/config.m4
parent92843788fa486f9953d8941af9d14fd5614b86c2 (diff)
downloadphp-git-e06c1d7c7ea8ef8608fc28ad92624f6081dea0e9.tar.gz
New SAPI module for the WebJames server on RISC OS
@- New SAPI module for the WebJames server on RISC OS (Alex Waugh)
Diffstat (limited to 'sapi/webjames/config.m4')
-rw-r--r--sapi/webjames/config.m420
1 files changed, 20 insertions, 0 deletions
diff --git a/sapi/webjames/config.m4 b/sapi/webjames/config.m4
new file mode 100644
index 0000000000..1c8750ad0f
--- /dev/null
+++ b/sapi/webjames/config.m4
@@ -0,0 +1,20 @@
+AC_ARG_WITH(webjames,
+[ --with-webjames=SRCDIR Build PHP as a WebJames module (RISC OS only)],[
+ PHP_EXPAND_PATH($withval, WEBJAMES)
+ INSTALL_IT="\
+ echo '\\#Created by PHP configure' > $WEBJAMES/build/php; \
+ echo 'PHP_LIBS = -l$abs_srcdir/$SAPI_STATIC \$(PHP_LIBS) \$(EXTRA_LIBS)' >> $WEBJAMES/build/php; \
+ echo 'PHP_LDFLAGS = \$(NATIVE_RPATHS) \$(PHP_LDFLAGS)' >> $WEBJAMES/build/php; \
+ echo 'PHP_CFLAGS = -DPHP \$(COMMON_FLAGS) \$(CFLAGS) \$(EXTRA_CFLAGS) -I$abs_srcdir/sapi/webjames' >> $WEBJAMES/build/php; \
+ echo 'WIMPSLOT = \$\$(WIMPSLOT_PHP)' >> $WEBJAMES/build/php; \
+ echo 'REMOVE_ATTRIBUTE=Action php-script.*' >> $WEBJAMES/build/php;"
+ PHP_WEBJAMES="yes, using $WEBJAMES"
+ PHP_ADD_INCLUDE($WEBJAMES)
+ PHP_BUILD_STATIC
+ PHP_SAPI=webjames
+],[
+ PHP_WEBJAMES="no"
+])
+
+AC_MSG_CHECKING(for webjames)
+AC_MSG_RESULT($PHP_WEBJAMES)