File: for-upstream-php8.patch

package info (click to toggle)
owfs 3.2p4%2Bdfsg1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,200 kB
  • sloc: ansic: 66,801; pascal: 5,957; tcl: 2,688; makefile: 1,348; python: 1,114; sh: 715; cs: 623; php: 600; perl: 587; java: 404; ruby: 289; cpp: 105; asm: 102; xml: 53
file content (13 lines) | stat: -rw-r--r-- 404 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Description: test for php >= 7 instead of php7
Author: Vincent Danjean <vdanjean@debian.org>
--- a/configure.ac
+++ b/configure.ac
@@ -685,7 +685,7 @@
 fi
 AC_SUBST(PHP)
 AC_SUBST(ENABLE_OWPHP)
-AM_CONDITIONAL(PHP7, test "${PHPVMAJOR}" = "7")
+AM_CONDITIONAL(PHP7, test "${PHPVMAJOR}" -ge "7")
 AM_CONDITIONAL(ENABLE_OWPHP, test "${ENABLE_OWPHP}" = "true")
 if test -z "$PHP" ; then
 	ENABLE_PHP="false"