makefile_in_files = $(makefile_am_files:.am=.in)
makefile_files = $(makefile_am_files:e.am=e)
-config_h_in = php_config.h.in
+config_h_in = main/php_config.h.in
acconfig_h_SOURCES = acconfig.h.in $(config_h_files)
INSTALL = $(top_srcdir)/build/shtool install -c
INSTALL_DATA = $(INSTALL) -m 644
-DEFS = -I. -I$(srcdir) -I$(top_builddir) -I$(top_builddir)/main
+DEFS = -I. -I$(srcdir) -I$(top_builddir)/main
moduledir = $(EXTENSION_DIR)
rm -f php_version.h.new
fi
-AM_CONFIG_HEADER(php_config.h)
+AM_CONFIG_HEADER(main/php_config.h)
AM_MAINTAINER_MODE
AC_CANONICAL_HOST
LDFLAGS="$LDFLAGS -L/usr/pkg/lib"
fi
-INCLUDES="$INCLUDES -I\$(top_builddir)/Zend -I\$(top_srcdir)"
+INCLUDES="$INCLUDES -I\$(top_builddir)/Zend"
AC_CHECK_LIB(socket, socket, [
fi
if test "$abs_srcdir" != "$abs_builddir"; then
- INCLUDES="$INCLUDES -I\$(top_srcdir)/main -I\$(top_srcdir)/Zend"
+ INCLUDES="$INCLUDES -I\$(top_srcdir)/main -I\$(top_srcdir)/Zend -I\$(top_srcdir)"
INCLUDES="$INCLUDES -I\$(top_srcdir)/TSRM"
fi
PHP_GEN_CONFIG_VARS
-ALL_OUTPUT_FILES="php4.spec Zend/Makefile build-defs.h $PHP_OUTPUT_FILES"
+ALL_OUTPUT_FILES="php4.spec Zend/Makefile main/build-defs.h $PHP_OUTPUT_FILES"
AC_OUTPUT($ALL_OUTPUT_FILES, [], [
#
if test -d TSRM; then
- echo '#include "../php_config.h"' > TSRM/tsrm_config.h
+ echo '#include "../main/php_config.h"' > TSRM/tsrm_config.h
fi
cat >Zend/zend_config.h <<FEO
-#include "../php_config.h"
+#include "../main/php_config.h"
#if defined(APACHE) && defined(PHP_API_VERSION)
#undef HAVE_DLFCN_H
#endif