summaryrefslogtreecommitdiff
path: root/ext/opcache/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ext/opcache/config.m4')
-rw-r--r--ext/opcache/config.m410
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4
index 7b500f023d..1e49c0d958 100644
--- a/ext/opcache/config.m4
+++ b/ext/opcache/config.m4
@@ -348,12 +348,12 @@ AC_MSG_CHECKING("whether flock struct is linux ordered")
AC_TRY_RUN([
#include <fcntl.h>
struct flock lock = { 1, 2, 3, 4, 5 };
- int main() {
+ int main() {
if(lock.l_type == 1 && lock.l_whence == 2 && lock.l_start == 3 && lock.l_len == 4) {
return 0;
}
return 1;
- }
+ }
], [
flock_type=linux
AC_DEFINE([HAVE_FLOCK_LINUX], [], [Struct flock is Linux-type])
@@ -364,15 +364,15 @@ AC_MSG_CHECKING("whether flock struct is BSD ordered")
AC_TRY_RUN([
#include <fcntl.h>
struct flock lock = { 1, 2, 3, 4, 5 };
- int main() {
+ int main() {
if(lock.l_start == 1 && lock.l_len == 2 && lock.l_type == 4 && lock.l_whence == 5) {
return 0;
}
return 1;
- }
+ }
], [
flock_type=bsd
- AC_DEFINE([HAVE_FLOCK_BSD], [], [Struct flock is BSD-type])
+ AC_DEFINE([HAVE_FLOCK_BSD], [], [Struct flock is BSD-type])
AC_MSG_RESULT("yes")
], AC_MSG_RESULT("no") )