Skip to content

Commit 5e313b4

Browse files
Regenerating build [ci skip]
1 parent a19eb06 commit 5e313b4

16 files changed

+5910
-138699
lines changed

Diff for: build/32bits/Makefile.frag

-5
This file was deleted.

Diff for: build/32bits/config.m4

+2-126
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<<<<<<< HEAD
21
PHP_ARG_ENABLE(phalcon, whether to enable phalcon, [ --enable-phalcon Enable Phalcon])
32

43
if test "$PHP_PHALCON" = "yes"; then
@@ -12,25 +11,6 @@ if test "$PHP_PHALCON" = "yes"; then
1211
AC_DEFINE(HAVE_PHALCON, 1, [Whether you have Phalcon])
1312
PHP_NEW_EXTENSION(phalcon, phalcon.zep.c, $ext_shared)
1413
PHP_SUBST(PHALCON_SHARED_LIBADD)
15-
=======
16-
PHP_ARG_ENABLE(phalcon, whether to enable phalcon framework, [ --enable-phalcon Enable phalcon framework])
17-
PHP_ARG_WITH(non-free, wheter to enable non-free css and js minifier, [ --without-non-free Disable non-free minifiers], yes, no)
18-
19-
AC_MSG_CHECKING([Include non-free minifiers])
20-
if test "$PHP_NON_FREE" = "yes"; then
21-
AC_DEFINE([PHALCON_NON_FREE], [1], [Whether non-free minifiers are available])
22-
AC_MSG_RESULT([yes, css and js])
23-
else
24-
AC_MSG_RESULT([no])
25-
fi
26-
27-
if test "$PHP_PHALCON" = "yes"; then
28-
AC_DEFINE(HAVE_PHALCON, 1, [Whether you have Phalcon Framework])
29-
PHP_NEW_EXTENSION(phalcon, phalcon.c, $ext_shared)
30-
PHP_ADD_EXTENSION_DEP([phalcon], [spl])
31-
>>>>>>> master
32-
33-
PHP_C_BIGENDIAN
3414

3515
old_CPPFLAGS=$CPPFLAGS
3616
CPPFLAGS="$CPPFLAGS $INCLUDES"
@@ -52,47 +32,14 @@ if test "$PHP_PHALCON" = "yes"; then
5232
[[#include "php_config.h"]]
5333
)
5434

55-
AC_CHECK_HEADERS(
56-
[ext/json/php_json.h],
57-
[
58-
PHP_ADD_EXTENSION_DEP([phalcon], [json])
59-
AC_DEFINE([PHALCON_USE_PHP_JSON], [1], [Whether PHP json extension is present at compile time])
60-
],
61-
,
62-
[[#include "main/php.h"]]
63-
)
64-
65-
6635
AC_CHECK_DECL(
67-
[HAVE_PHP_SESSION],
36+
[HAVE_JSON],
6837
[
6938
AC_CHECK_HEADERS(
70-
[ext/session/php_session.h],
39+
[ext/json/php_json.h],
7140
[
72-
<<<<<<< HEAD
7341
PHP_ADD_EXTENSION_DEP([phalcon], [json])
7442
AC_DEFINE([ZEPHIR_USE_PHP_JSON], [1], [Whether PHP json extension is present at compile time])
75-
=======
76-
PHP_ADD_EXTENSION_DEP([phalcon], [session])
77-
AC_DEFINE([PHALCON_USE_PHP_SESSION], [1], [Whether PHP session extension is present at compile time])
78-
],
79-
,
80-
[[#include "main/php.h"]]
81-
)
82-
],
83-
,
84-
[[#include "php_config.h"]]
85-
)
86-
87-
AC_CHECK_DECL(
88-
[HAVE_HASH_EXT],
89-
[
90-
AC_CHECK_HEADERS(
91-
[ext/hash/php_hash.h],
92-
[
93-
PHP_ADD_EXTENSION_DEP([phalcon], [hash])
94-
AC_DEFINE([PHALCON_USE_PHP_HASH], [1], [Whether PHP hash extension is present at compile time])
95-
>>>>>>> master
9643
],
9744
,
9845
[[#include "main/php.h"]]
@@ -104,77 +51,6 @@ if test "$PHP_PHALCON" = "yes"; then
10451

10552
CPPFLAGS=$old_CPPFLAGS
10653

107-
<<<<<<< HEAD
10854
PHP_INSTALL_HEADERS([ext/phalcon], [php_PHALCON.h])
10955

110-
=======
111-
PHP_ADD_MAKEFILE_FRAGMENT([Makefile.frag])
112-
fi
113-
114-
PHP_ARG_ENABLE(coverage, whether to include code coverage symbols,
115-
[ --enable-coverage Enable code coverage symbols, maintainers only!], no, no)
116-
117-
if test "$PHP_COVERAGE" = "yes"; then
118-
if test "$GCC" != "yes"; then
119-
AC_MSG_ERROR([GCC is required for --enable-coverage])
120-
fi
121-
122-
case `$php_shtool path $CC` in
123-
*ccache*[)] gcc_ccache=yes;;
124-
*[)] gcc_ccache=no;;
125-
esac
126-
127-
if test "$gcc_ccache" = "yes" && (test -z "$CCACHE_DISABLE" || test "$CCACHE_DISABLE" != "1"); then
128-
AC_MSG_ERROR([ccache must be disabled when --enable-coverage option is used. You can disable ccache by setting environment variable CCACHE_DISABLE=1.])
129-
fi
130-
131-
lcov_version_list="1.5 1.6 1.7 1.9 1.10"
132-
133-
AC_CHECK_PROG(LCOV, lcov, lcov)
134-
AC_CHECK_PROG(GENHTML, genhtml, genhtml)
135-
PHP_SUBST(LCOV)
136-
PHP_SUBST(GENHTML)
137-
138-
if test "$LCOV"; then
139-
AC_CACHE_CHECK([for lcov version], php_cv_lcov_version, [
140-
php_cv_lcov_version=invalid
141-
lcov_version=`$LCOV -v 2>/dev/null | $SED -e 's/^.* //'` #'
142-
for lcov_check_version in $lcov_version_list; do
143-
if test "$lcov_version" = "$lcov_check_version"; then
144-
php_cv_lcov_version="$lcov_check_version (ok)"
145-
fi
146-
done
147-
])
148-
else
149-
lcov_msg="To enable code coverage reporting you must have one of the following LCOV versions installed: $lcov_version_list"
150-
AC_MSG_ERROR([$lcov_msg])
151-
fi
152-
153-
case $php_cv_lcov_version in
154-
""|invalid[)]
155-
lcov_msg="You must have one of the following versions of LCOV: $lcov_version_list (found: $lcov_version)."
156-
AC_MSG_ERROR([$lcov_msg])
157-
LCOV="exit 0;"
158-
;;
159-
esac
160-
161-
if test -z "$GENHTML"; then
162-
AC_MSG_ERROR([Could not find genhtml from the LCOV package])
163-
fi
164-
165-
changequote({,})
166-
CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9s]*//g'`
167-
CXXFLAGS=`echo "$CXXFLAGS" | $SED -e 's/-O[0-9s]*//g'`
168-
changequote([,])
169-
170-
CFLAGS="$CFLAGS -O0 --coverage"
171-
CXXFLAGS="$CXXFLAGS -O0 --coverage"
172-
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -precious-files-regex \.gcno\\\$$"
173-
174-
PHP_ADD_MAKEFILE_FRAGMENT([Makefile.frag.coverage])
175-
fi
176-
177-
if test "$GCC" = "yes"; then
178-
PHP_ADD_MAKEFILE_FRAGMENT([Makefile.frag.deps])
179-
>>>>>>> master
18056
fi

0 commit comments

Comments
 (0)