Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
is
vank
Commits
b3eeda24
Commit
b3eeda24
authored
Nov 25, 2021
by
tavit ohanian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change with php test
parent
88566c68
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
configure.ac
configure.ac
+22
-0
swig/src/php/.gitkeep
swig/src/php/.gitkeep
+0
-0
No files found.
configure.ac
View file @
b3eeda24
...
...
@@ -57,6 +57,28 @@ case "${gcc_version}" in
;;
esac
AC_SUBST(GCC_33)
dnl Look for php
if test "$enable_php" = "yes" ; then
dnl We don't want php < 5
dnl upstream required SWIGPHP5
AC_MSG_CHECKING([for a supported version of php])
php_version=`${PHP} -v | grep OPcache | sed 's/^.*v/v/' | sed 's/\-.*//'`
PHP_5=0
case "${php_version}" in
4.*)
AC_MSG_RESULT([no (${php_version})])
AC_MSG_ERROR([please use a recent (>= php5) version of php])
;;
*)
AC_MSG_RESULT([ok (${php_version})])
PHP_5=1
;;
esac
AC_SUBST(PHP_5)
done
AC_SUBST(SHARED)
VANK_STANDALONE=1
AC_DEFINE(VANK_STANDALONE, 1, [standalone vank])
...
...
swig/src/php/.gitkeep
0 → 100644
View file @
b3eeda24
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment