Project

General

Profile

1
dnl Copyright (C) 2009 Facebook
2
dnl Copying and distribution of this file, with or without modification,
3
dnl are permitted in any medium without royalty provided the copyright
4
dnl notice and this notice are preserved.
5

    
6
PHP_ARG_ENABLE(thrift_protocol, whether to enable the thrift_protocol extension,
7
[  --enable-thrift_protocol	Enable the fbthrift_protocol extension])
8

    
9
if test "$PHP_THRIFT_PROTOCOL" != "no"; then
10
  PHP_REQUIRE_CXX()
11
  PHP_ADD_LIBRARY_WITH_PATH(stdc++, "", THRIFT_PROTOCOL_SHARED_LIBADD)
12
  PHP_SUBST(THRIFT_PROTOCOL_SHARED_LIBADD)
13
  PHP_NEW_EXTENSION(thrift_protocol, php_thrift_protocol.cpp, $ext_shared)
14
fi
15

    
(1-1/3)