diff options
Diffstat (limited to 'lang')
-rw-r--r-- | lang/php5/Makefile | 8 | ||||
-rw-r--r-- | lang/php53/Makefile | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/lang/php5/Makefile b/lang/php5/Makefile index 47a564c6e1c8..36a0f5256094 100644 --- a/lang/php5/Makefile +++ b/lang/php5/Makefile @@ -115,6 +115,14 @@ CONFIGURE_ARGS+=--with-regex=system CONFIGURE_ARGS+=--with-regex=apache .endif +.if !defined(WITH_ZEND_VM) || ${WITH_ZEND_VM} == "CALL" +CONFIGURE_ARGS+=--with-zend-vm=CALL +.elif defined(WITH_ZEND_VM) && ${WITH_ZEND_VM} == "SWITCH" +CONFIGURE_ARGS+=--with-zend-vm=SWITCH +.elif defined(WITH_ZEND_VM) && ${WITH_ZEND_VM} == "GOTO" +CONFIGURE_ARGS+=--with-zend-vm=GOTO +.endif + CONFIGURE_ENV+= ac_cv_pthreads_lib=${PTHREAD_LIBS} \ ac_cv_pthreads_cflags=${PTHREAD_CFLAGS} \ pthreads_working="yes" diff --git a/lang/php53/Makefile b/lang/php53/Makefile index 47a564c6e1c8..36a0f5256094 100644 --- a/lang/php53/Makefile +++ b/lang/php53/Makefile @@ -115,6 +115,14 @@ CONFIGURE_ARGS+=--with-regex=system CONFIGURE_ARGS+=--with-regex=apache .endif +.if !defined(WITH_ZEND_VM) || ${WITH_ZEND_VM} == "CALL" +CONFIGURE_ARGS+=--with-zend-vm=CALL +.elif defined(WITH_ZEND_VM) && ${WITH_ZEND_VM} == "SWITCH" +CONFIGURE_ARGS+=--with-zend-vm=SWITCH +.elif defined(WITH_ZEND_VM) && ${WITH_ZEND_VM} == "GOTO" +CONFIGURE_ARGS+=--with-zend-vm=GOTO +.endif + CONFIGURE_ENV+= ac_cv_pthreads_lib=${PTHREAD_LIBS} \ ac_cv_pthreads_cflags=${PTHREAD_CFLAGS} \ pthreads_working="yes" |