Skip to content

Commit 295940f

Browse files
bjoriderickr
authored andcommitted
Should all compile now!
1 parent f267ede commit 295940f

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

config.m4

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -134,22 +134,12 @@ if test "$MONGODB" != "no"; then
134134
EXTRA_LDFLAGS="$COVERAGE_CFLAGS"
135135
fi
136136

137-
if test "$PHP_FOUND_VERNUM" -ge "70000"; then
138-
MONGODB_BSON=""
139-
MONGODB_BSON_CLASSES=""
140-
MONGODB_ROOT="\
141-
php_phongo.c \
142-
phongo_compat.c \
143-
";
144-
MONGODB_CONTRIB=""
145-
MONGODB_MONGODB_CLASSES="\
146-
";
147-
MONGODB_MONGODB_EXCEPTIONS=""
148-
else
137+
if test "$PHP_FOUND_VERNUM" -lt "70000"; then
149138
AC_DEFINE(PHONGO_TODO_SSL, 1, [Worksfine in PHP5])
150139
AC_DEFINE(PHONGO_TODO_MAKE_STD_ZVAL, 1, [Worksfine in PHP5])
151140
AC_DEFINE(PHONGO_TODO_INI, 1, [Worksfine in PHP5])
152141
AC_DEFINE(PHONGO_TODO_STREAM, 1, [Worksfine in PHP5])
142+
fi
153143
MONGODB_BSON="\
154144
src/bson.c \
155145
";
@@ -204,7 +194,6 @@ else
204194
src/MongoDB/Exception/WriteException.c \
205195
src/MongoDB/Exception/BulkWriteException.c \
206196
";
207-
fi
208197

209198
YAJL_SOURCES="\
210199
yajl_version.c \

0 commit comments

Comments
 (0)