summaryrefslogtreecommitdiff
path: root/sapi/roxen
diff options
context:
space:
mode:
authorDavid Hedbor <neotron@php.net>2000-06-05 21:05:40 +0000
committerDavid Hedbor <neotron@php.net>2000-06-05 21:05:40 +0000
commitebe02095dfe3da2a375bb6d3ce3337562aceb524 (patch)
tree607e5eef3ec078930f36ea74706df4b05613789d /sapi/roxen
parentff8a716efe17e87ac381d9931a685ff275ac0b2c (diff)
downloadphp-git-ebe02095dfe3da2a375bb6d3ce3337562aceb524.tar.gz
Fixed include directory problems.
Diffstat (limited to 'sapi/roxen')
-rw-r--r--sapi/roxen/Makefile.in2
-rw-r--r--sapi/roxen/config.m44
2 files changed, 5 insertions, 1 deletions
diff --git a/sapi/roxen/Makefile.in b/sapi/roxen/Makefile.in
index c49bf97ead..8264f88b74 100644
--- a/sapi/roxen/Makefile.in
+++ b/sapi/roxen/Makefile.in
@@ -2,4 +2,6 @@
LTLIBRARY_NAME = libsapi.la
LTLIBRARY_SOURCES = roxen.c
+PRE_INCLUDES = $(PIKE_INCLUDE_DIR)
+
include $(top_srcdir)/build/ltlib.mk
diff --git a/sapi/roxen/config.m4 b/sapi/roxen/config.m4
index d568bac752..f1b1859548 100644
--- a/sapi/roxen/config.m4
+++ b/sapi/roxen/config.m4
@@ -25,7 +25,7 @@ AC_ARG_WITH(roxen,
else
AC_MSG_ERROR(Roxen/PHP requires Pike 0.7.79 or newer)
fi
- AC_ADD_INCLUDE($PIKE_INCLUDE_DIR)
+
AC_DEFINE(HAVE_ROXEN,1,[Whether you use Roxen])
PHP_SAPI=roxen
PHP_BUILD_SHARED
@@ -34,6 +34,8 @@ AC_ARG_WITH(roxen,
Pike binary used: $PIKE
Pike include dir: $PIKE_INCLUDE_DIR
Pike module directory: $PIKE_MODULE_DIR"
+ PIKE_INCLUDE_DIR=" -I$PIKE_INCLUDE_DIR "
+ PHP_SUBST(PIKE_INCLUDE_DIR)
])
AC_MSG_RESULT($RESULT)