Skip to content
Browse files

Updated thrift to the latest 0.8 version, generated new thrift interf…

…aces from the latest Casssandra 1.0.5 version and updated code to work with these.
  • Loading branch information...
1 parent fe306f5 commit aa801b3f9a169312d0ea0fb193aed21021698824 @kallaspriit committed
Showing with 1,067 additions and 95,884 deletions.
  1. +0 −785 thrift/Thrift.php
  2. +0 −51 thrift/autoload.php
  3. 0 thrift/ext/thrift_protocol/.deps
  4. BIN thrift/ext/thrift_protocol/.libs/php_thrift_protocol.o
  5. +1 −0 thrift/ext/thrift_protocol/.libs/thrift_protocol.la
  6. +35 −0 thrift/ext/thrift_protocol/.libs/thrift_protocol.lai
  7. BIN thrift/ext/thrift_protocol/.libs/thrift_protocol.so
  8. +0 −171 thrift/ext/thrift_protocol/Makefile
  9. 0 thrift/ext/thrift_protocol/Makefile.fragments
  10. +0 −118 thrift/ext/thrift_protocol/Makefile.global
  11. +0 −8 thrift/ext/thrift_protocol/Makefile.objects
  12. +0 −2,877 thrift/ext/thrift_protocol/acinclude.m4
  13. +0 −10,860 thrift/ext/thrift_protocol/aclocal.m4
  14. +0 −16,783 thrift/ext/thrift_protocol/autom4te.cache/output.0
  15. +0 −68 thrift/ext/thrift_protocol/autom4te.cache/requests
  16. +0 −459 thrift/ext/thrift_protocol/autom4te.cache/traces.0
  17. +0 −7,377 thrift/ext/thrift_protocol/build/libtool.m4
  18. +0 −368 thrift/ext/thrift_protocol/build/ltoptions.m4
  19. +0 −123 thrift/ext/thrift_protocol/build/ltsugar.m4
  20. +0 −23 thrift/ext/thrift_protocol/build/ltversion.m4
  21. +0 −92 thrift/ext/thrift_protocol/build/lt~obsolete.m4
  22. +0 −75 thrift/ext/thrift_protocol/build/mkdep.awk
  23. +0 −32 thrift/ext/thrift_protocol/build/scan_makefile_in.awk
  24. +0 −4,083 thrift/ext/thrift_protocol/build/shtool
  25. +0 −1,502 thrift/ext/thrift_protocol/config.guess
  26. +0 −63 thrift/ext/thrift_protocol/config.h
  27. +0 −62 thrift/ext/thrift_protocol/config.h.in
  28. +0 −734 thrift/ext/thrift_protocol/config.log
  29. +0 −15 thrift/ext/thrift_protocol/config.m4
  30. +0 −6 thrift/ext/thrift_protocol/config.nice
  31. +0 −1,853 thrift/ext/thrift_protocol/config.status
  32. +0 −1,714 thrift/ext/thrift_protocol/config.sub
  33. +8 −0 thrift/ext/thrift_protocol/config.w32
  34. +0 −16,783 thrift/ext/thrift_protocol/configure
  35. +0 −203 thrift/ext/thrift_protocol/configure.in
  36. 0 thrift/ext/thrift_protocol/install-sh
  37. +0 −9,063 thrift/ext/thrift_protocol/libtool
  38. +0 −8,413 thrift/ext/thrift_protocol/ltmain.sh
  39. 0 thrift/ext/thrift_protocol/missing
  40. 0 thrift/ext/thrift_protocol/mkinstalldirs
  41. +35 −0 thrift/ext/thrift_protocol/modules/thrift_protocol.la
  42. BIN thrift/ext/thrift_protocol/modules/thrift_protocol.so
  43. +0 −1,030 thrift/ext/thrift_protocol/php_thrift_protocol.cpp
  44. +0 −27 thrift/ext/thrift_protocol/php_thrift_protocol.h
  45. +12 −0 thrift/ext/thrift_protocol/php_thrift_protocol.lo
  46. +0 −2,456 thrift/ext/thrift_protocol/run-tests.php
  47. +35 −0 thrift/ext/thrift_protocol/thrift_protocol.la
  48. +0 −3,894 thrift/packages/cassandra/Cassandra.php
  49. +0 −13 thrift/packages/cassandra/cassandra_constants.php
  50. +0 −1,172 thrift/packages/cassandra/cassandra_types.php
  51. +0 −429 thrift/protocol/TBinaryProtocol.php
  52. +0 −69 thrift/protocol/TBinarySerializer.php
  53. +678 −0 thrift/protocol/TCompactProtocol.php
  54. +0 −374 thrift/protocol/TProtocol.php
  55. +114 −0 thrift/server/TForkingServer.php
  56. +95 −0 thrift/server/TServer.php
  57. +54 −0 thrift/server/TSimpleServer.php
  58. +0 −161 thrift/transport/TBufferedTransport.php
  59. +0 −179 thrift/transport/TFramedTransport.php
  60. +0 −200 thrift/transport/THttpClient.php
  61. +0 −82 thrift/transport/TMemoryBuffer.php
  62. +0 −46 thrift/transport/TNullTransport.php
  63. +0 −109 thrift/transport/TPhpStream.php
  64. +0 −96 thrift/transport/TServerSocket.php
  65. +0 −50 thrift/transport/TServerTransport.php
  66. +0 −321 thrift/transport/TSocket.php
  67. +0 −294 thrift/transport/TSocketPool.php
  68. +0 −106 thrift/transport/TTransport.php
  69. +0 −12 thrift/transport/TTransportFactory.php
View
785 thrift/Thrift.php
@@ -1,785 +0,0 @@
-<?php
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- * @package thrift
- */
-
-
-/**
- * Data types that can be sent via Thrift
- */
-class TType {
- const STOP = 0;
- const VOID = 1;
- const BOOL = 2;
- const BYTE = 3;
- const I08 = 3;
- const DOUBLE = 4;
- const I16 = 6;
- const I32 = 8;
- const I64 = 10;
- const STRING = 11;
- const UTF7 = 11;
- const STRUCT = 12;
- const MAP = 13;
- const SET = 14;
- const LST = 15; // N.B. cannot use LIST keyword in PHP!
- const UTF8 = 16;
- const UTF16 = 17;
-}
-
-/**
- * Message types for RPC
- */
-class TMessageType {
- const CALL = 1;
- const REPLY = 2;
- const EXCEPTION = 3;
- const ONEWAY = 4;
-}
-
-/**
- * NOTE(mcslee): This currently contains a ton of duplicated code from TBase
- * because we need to save CPU cycles and this is not yet in an extension.
- * Ideally we'd multiply-inherit TException from both Exception and Base, but
- * that's not possible in PHP and there are no modules either, so for now we
- * apologetically take a trip to HackTown.
- *
- * Can be called with standard Exception constructor (message, code) or with
- * Thrift Base object constructor (spec, vals).
- *
- * @param mixed $p1 Message (string) or type-spec (array)
- * @param mixed $p2 Code (integer) or values (array)
- */
-class TException extends Exception {
- function __construct($p1=null, $p2=0) {
- if (is_array($p1) && is_array($p2)) {
- $spec = $p1;
- $vals = $p2;
- foreach ($spec as $fid => $fspec) {
- $var = $fspec['var'];
- if (isset($vals[$var])) {
- $this->$var = $vals[$var];
- }
- }
- } else {
- parent::__construct($p1, $p2);
- }
- }
-
- static $tmethod = array(TType::BOOL => 'Bool',
- TType::BYTE => 'Byte',
- TType::I16 => 'I16',
- TType::I32 => 'I32',
- TType::I64 => 'I64',
- TType::DOUBLE => 'Double',
- TType::STRING => 'String');
-
- private function _readMap(&$var, $spec, $input) {
- $xfer = 0;
- $ktype = $spec['ktype'];
- $vtype = $spec['vtype'];
- $kread = $vread = null;
- if (isset(TBase::$tmethod[$ktype])) {
- $kread = 'read'.TBase::$tmethod[$ktype];
- } else {
- $kspec = $spec['key'];
- }
- if (isset(TBase::$tmethod[$vtype])) {
- $vread = 'read'.TBase::$tmethod[$vtype];
- } else {
- $vspec = $spec['val'];
- }
- $var = array();
- $_ktype = $_vtype = $size = 0;
- $xfer += $input->readMapBegin($_ktype, $_vtype, $size);
- for ($i = 0; $i < $size; ++$i) {
- $key = $val = null;
- if ($kread !== null) {
- $xfer += $input->$kread($key);
- } else {
- switch ($ktype) {
- case TType::STRUCT:
- $class = $kspec['class'];
- $key = new $class();
- $xfer += $key->read($input);
- break;
- case TType::MAP:
- $xfer += $this->_readMap($key, $kspec, $input);
- break;
- case TType::LST:
- $xfer += $this->_readList($key, $kspec, $input, false);
- break;
- case TType::SET:
- $xfer += $this->_readList($key, $kspec, $input, true);
- break;
- }
- }
- if ($vread !== null) {
- $xfer += $input->$vread($val);
- } else {
- switch ($vtype) {
- case TType::STRUCT:
- $class = $vspec['class'];
- $val = new $class();
- $xfer += $val->read($input);
- break;
- case TType::MAP:
- $xfer += $this->_readMap($val, $vspec, $input);
- break;
- case TType::LST:
- $xfer += $this->_readList($val, $vspec, $input, false);
- break;
- case TType::SET:
- $xfer += $this->_readList($val, $vspec, $input, true);
- break;
- }
- }
- $var[$key] = $val;
- }
- $xfer += $input->readMapEnd();
- return $xfer;
- }
-
- private function _readList(&$var, $spec, $input, $set=false) {
- $xfer = 0;
- $etype = $spec['etype'];
- $eread = $vread = null;
- if (isset(TBase::$tmethod[$etype])) {
- $eread = 'read'.TBase::$tmethod[$etype];
- } else {
- $espec = $spec['elem'];
- }
- $var = array();
- $_etype = $size = 0;
- if ($set) {
- $xfer += $input->readSetBegin($_etype, $size);
- } else {
- $xfer += $input->readListBegin($_etype, $size);
- }
- for ($i = 0; $i < $size; ++$i) {
- $elem = null;
- if ($eread !== null) {
- $xfer += $input->$eread($elem);
- } else {
- $espec = $spec['elem'];
- switch ($etype) {
- case TType::STRUCT:
- $class = $espec['class'];
- $elem = new $class();
- $xfer += $elem->read($input);
- break;
- case TType::MAP:
- $xfer += $this->_readMap($elem, $espec, $input);
- break;
- case TType::LST:
- $xfer += $this->_readList($elem, $espec, $input, false);
- break;
- case TType::SET:
- $xfer += $this->_readList($elem, $espec, $input, true);
- break;
- }
- }
- if ($set) {
- $var[$elem] = true;
- } else {
- $var []= $elem;
- }
- }
- if ($set) {
- $xfer += $input->readSetEnd();
- } else {
- $xfer += $input->readListEnd();
- }
- return $xfer;
- }
-
- protected function _read($class, $spec, $input) {
- $xfer = 0;
- $fname = null;
- $ftype = 0;
- $fid = 0;
- $xfer += $input->readStructBegin($fname);
- while (true) {
- $xfer += $input->readFieldBegin($fname, $ftype, $fid);
- if ($ftype == TType::STOP) {
- break;
- }
- if (isset($spec[$fid])) {
- $fspec = $spec[$fid];
- $var = $fspec['var'];
- if ($ftype == $fspec['type']) {
- $xfer = 0;
- if (isset(TBase::$tmethod[$ftype])) {
- $func = 'read'.TBase::$tmethod[$ftype];
- $xfer += $input->$func($this->$var);
- } else {
- switch ($ftype) {
- case TType::STRUCT:
- $class = $fspec['class'];
- $this->$var = new $class();
- $xfer += $this->$var->read($input);
- break;
- case TType::MAP:
- $xfer += $this->_readMap($this->$var, $fspec, $input);
- break;
- case TType::LST:
- $xfer += $this->_readList($this->$var, $fspec, $input, false);
- break;
- case TType::SET:
- $xfer += $this->_readList($this->$var, $fspec, $input, true);
- break;
- }
- }
- } else {
- $xfer += $input->skip($ftype);
- }
- } else {
- $xfer += $input->skip($ftype);
- }
- $xfer += $input->readFieldEnd();
- }
- $xfer += $input->readStructEnd();
- return $xfer;
- }
-
- private function _writeMap($var, $spec, $output) {
- $xfer = 0;
- $ktype = $spec['ktype'];
- $vtype = $spec['vtype'];
- $kwrite = $vwrite = null;
- if (isset(TBase::$tmethod[$ktype])) {
- $kwrite = 'write'.TBase::$tmethod[$ktype];
- } else {
- $kspec = $spec['key'];
- }
- if (isset(TBase::$tmethod[$vtype])) {
- $vwrite = 'write'.TBase::$tmethod[$vtype];
- } else {
- $vspec = $spec['val'];
- }
- $xfer += $output->writeMapBegin($ktype, $vtype, count($var));
- foreach ($var as $key => $val) {
- if (isset($kwrite)) {
- $xfer += $output->$kwrite($key);
- } else {
- switch ($ktype) {
- case TType::STRUCT:
- $xfer += $key->write($output);
- break;
- case TType::MAP:
- $xfer += $this->_writeMap($key, $kspec, $output);
- break;
- case TType::LST:
- $xfer += $this->_writeList($key, $kspec, $output, false);
- break;
- case TType::SET:
- $xfer += $this->_writeList($key, $kspec, $output, true);
- break;
- }
- }
- if (isset($vwrite)) {
- $xfer += $output->$vwrite($val);
- } else {
- switch ($vtype) {
- case TType::STRUCT:
- $xfer += $val->write($output);
- break;
- case TType::MAP:
- $xfer += $this->_writeMap($val, $vspec, $output);
- break;
- case TType::LST:
- $xfer += $this->_writeList($val, $vspec, $output, false);
- break;
- case TType::SET:
- $xfer += $this->_writeList($val, $vspec, $output, true);
- break;
- }
- }
- }
- $xfer += $output->writeMapEnd();
- return $xfer;
- }
-
- private function _writeList($var, $spec, $output, $set=false) {
- $xfer = 0;
- $etype = $spec['etype'];
- $ewrite = null;
- if (isset(TBase::$tmethod[$etype])) {
- $ewrite = 'write'.TBase::$tmethod[$etype];
- } else {
- $espec = $spec['elem'];
- }
- if ($set) {
- $xfer += $output->writeSetBegin($etype, count($var));
- } else {
- $xfer += $output->writeListBegin($etype, count($var));
- }
- foreach ($var as $key => $val) {
- $elem = $set ? $key : $val;
- if (isset($ewrite)) {
- $xfer += $output->$ewrite($elem);
- } else {
- switch ($etype) {
- case TType::STRUCT:
- $xfer += $elem->write($output);
- break;
- case TType::MAP:
- $xfer += $this->_writeMap($elem, $espec, $output);
- break;
- case TType::LST:
- $xfer += $this->_writeList($elem, $espec, $output, false);
- break;
- case TType::SET:
- $xfer += $this->_writeList($elem, $espec, $output, true);
- break;
- }
- }
- }
- if ($set) {
- $xfer += $output->writeSetEnd();
- } else {
- $xfer += $output->writeListEnd();
- }
- return $xfer;
- }
-
- protected function _write($class, $spec, $output) {
- $xfer = 0;
- $xfer += $output->writeStructBegin($class);
- foreach ($spec as $fid => $fspec) {
- $var = $fspec['var'];
- if ($this->$var !== null) {
- $ftype = $fspec['type'];
- $xfer += $output->writeFieldBegin($var, $ftype, $fid);
- if (isset(TBase::$tmethod[$ftype])) {
- $func = 'write'.TBase::$tmethod[$ftype];
- $xfer += $output->$func($this->$var);
- } else {
- switch ($ftype) {
- case TType::STRUCT:
- $xfer += $this->$var->write($output);
- break;
- case TType::MAP:
- $xfer += $this->_writeMap($this->$var, $fspec, $output);
- break;
- case TType::LST:
- $xfer += $this->_writeList($this->$var, $fspec, $output, false);
- break;
- case TType::SET:
- $xfer += $this->_writeList($this->$var, $fspec, $output, true);
- break;
- }
- }
- $xfer += $output->writeFieldEnd();
- }
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-
-}
-
-/**
- * Base class from which other Thrift structs extend. This is so that we can
- * cut back on the size of the generated code which is turning out to have a
- * nontrivial cost just to load thanks to the wondrously abysmal implementation
- * of PHP. Note that code is intentionally duplicated in here to avoid making
- * function calls for every field or member of a container..
- */
-abstract class TBase {
-
- static $tmethod = array(TType::BOOL => 'Bool',
- TType::BYTE => 'Byte',
- TType::I16 => 'I16',
- TType::I32 => 'I32',
- TType::I64 => 'I64',
- TType::DOUBLE => 'Double',
- TType::STRING => 'String');
-
- abstract function read($input);
-
- abstract function write($output);
-
- public function __construct($spec=null, $vals=null) {
- if (is_array($spec) && is_array($vals)) {
- foreach ($spec as $fid => $fspec) {
- $var = $fspec['var'];
- if (isset($vals[$var])) {
- $this->$var = $vals[$var];
- }
- }
- }
- }
-
- private function _readMap(&$var, $spec, $input) {
- $xfer = 0;
- $ktype = $spec['ktype'];
- $vtype = $spec['vtype'];
- $kread = $vread = null;
- if (isset(TBase::$tmethod[$ktype])) {
- $kread = 'read'.TBase::$tmethod[$ktype];
- } else {
- $kspec = $spec['key'];
- }
- if (isset(TBase::$tmethod[$vtype])) {
- $vread = 'read'.TBase::$tmethod[$vtype];
- } else {
- $vspec = $spec['val'];
- }
- $var = array();
- $_ktype = $_vtype = $size = 0;
- $xfer += $input->readMapBegin($_ktype, $_vtype, $size);
- for ($i = 0; $i < $size; ++$i) {
- $key = $val = null;
- if ($kread !== null) {
- $xfer += $input->$kread($key);
- } else {
- switch ($ktype) {
- case TType::STRUCT:
- $class = $kspec['class'];
- $key = new $class();
- $xfer += $key->read($input);
- break;
- case TType::MAP:
- $xfer += $this->_readMap($key, $kspec, $input);
- break;
- case TType::LST:
- $xfer += $this->_readList($key, $kspec, $input, false);
- break;
- case TType::SET:
- $xfer += $this->_readList($key, $kspec, $input, true);
- break;
- }
- }
- if ($vread !== null) {
- $xfer += $input->$vread($val);
- } else {
- switch ($vtype) {
- case TType::STRUCT:
- $class = $vspec['class'];
- $val = new $class();
- $xfer += $val->read($input);
- break;
- case TType::MAP:
- $xfer += $this->_readMap($val, $vspec, $input);
- break;
- case TType::LST:
- $xfer += $this->_readList($val, $vspec, $input, false);
- break;
- case TType::SET:
- $xfer += $this->_readList($val, $vspec, $input, true);
- break;
- }
- }
- $var[$key] = $val;
- }
- $xfer += $input->readMapEnd();
- return $xfer;
- }
-
- private function _readList(&$var, $spec, $input, $set=false) {
- $xfer = 0;
- $etype = $spec['etype'];
- $eread = $vread = null;
- if (isset(TBase::$tmethod[$etype])) {
- $eread = 'read'.TBase::$tmethod[$etype];
- } else {
- $espec = $spec['elem'];
- }
- $var = array();
- $_etype = $size = 0;
- if ($set) {
- $xfer += $input->readSetBegin($_etype, $size);
- } else {
- $xfer += $input->readListBegin($_etype, $size);
- }
- for ($i = 0; $i < $size; ++$i) {
- $elem = null;
- if ($eread !== null) {
- $xfer += $input->$eread($elem);
- } else {
- $espec = $spec['elem'];
- switch ($etype) {
- case TType::STRUCT:
- $class = $espec['class'];
- $elem = new $class();
- $xfer += $elem->read($input);
- break;
- case TType::MAP:
- $xfer += $this->_readMap($elem, $espec, $input);
- break;
- case TType::LST:
- $xfer += $this->_readList($elem, $espec, $input, false);
- break;
- case TType::SET:
- $xfer += $this->_readList($elem, $espec, $input, true);
- break;
- }
- }
- if ($set) {
- $var[$elem] = true;
- } else {
- $var []= $elem;
- }
- }
- if ($set) {
- $xfer += $input->readSetEnd();
- } else {
- $xfer += $input->readListEnd();
- }
- return $xfer;
- }
-
- protected function _read($class, $spec, $input) {
- $xfer = 0;
- $fname = null;
- $ftype = 0;
- $fid = 0;
- $xfer += $input->readStructBegin($fname);
- while (true) {
- $xfer += $input->readFieldBegin($fname, $ftype, $fid);
- if ($ftype == TType::STOP) {
- break;
- }
- if (isset($spec[$fid])) {
- $fspec = $spec[$fid];
- $var = $fspec['var'];
- if ($ftype == $fspec['type']) {
- $xfer = 0;
- if (isset(TBase::$tmethod[$ftype])) {
- $func = 'read'.TBase::$tmethod[$ftype];
- $xfer += $input->$func($this->$var);
- } else {
- switch ($ftype) {
- case TType::STRUCT:
- $class = $fspec['class'];
- $this->$var = new $class();
- $xfer += $this->$var->read($input);
- break;
- case TType::MAP:
- $xfer += $this->_readMap($this->$var, $fspec, $input);
- break;
- case TType::LST:
- $xfer += $this->_readList($this->$var, $fspec, $input, false);
- break;
- case TType::SET:
- $xfer += $this->_readList($this->$var, $fspec, $input, true);
- break;
- }
- }
- } else {
- $xfer += $input->skip($ftype);
- }
- } else {
- $xfer += $input->skip($ftype);
- }
- $xfer += $input->readFieldEnd();
- }
- $xfer += $input->readStructEnd();
- return $xfer;
- }
-
- private function _writeMap($var, $spec, $output) {
- $xfer = 0;
- $ktype = $spec['ktype'];
- $vtype = $spec['vtype'];
- $kwrite = $vwrite = null;
- if (isset(TBase::$tmethod[$ktype])) {
- $kwrite = 'write'.TBase::$tmethod[$ktype];
- } else {
- $kspec = $spec['key'];
- }
- if (isset(TBase::$tmethod[$vtype])) {
- $vwrite = 'write'.TBase::$tmethod[$vtype];
- } else {
- $vspec = $spec['val'];
- }
- $xfer += $output->writeMapBegin($ktype, $vtype, count($var));
- foreach ($var as $key => $val) {
- if (isset($kwrite)) {
- $xfer += $output->$kwrite($key);
- } else {
- switch ($ktype) {
- case TType::STRUCT:
- $xfer += $key->write($output);
- break;
- case TType::MAP:
- $xfer += $this->_writeMap($key, $kspec, $output);
- break;
- case TType::LST:
- $xfer += $this->_writeList($key, $kspec, $output, false);
- break;
- case TType::SET:
- $xfer += $this->_writeList($key, $kspec, $output, true);
- break;
- }
- }
- if (isset($vwrite)) {
- $xfer += $output->$vwrite($val);
- } else {
- switch ($vtype) {
- case TType::STRUCT:
- $xfer += $val->write($output);
- break;
- case TType::MAP:
- $xfer += $this->_writeMap($val, $vspec, $output);
- break;
- case TType::LST:
- $xfer += $this->_writeList($val, $vspec, $output, false);
- break;
- case TType::SET:
- $xfer += $this->_writeList($val, $vspec, $output, true);
- break;
- }
- }
- }
- $xfer += $output->writeMapEnd();
- return $xfer;
- }
-
- private function _writeList($var, $spec, $output, $set=false) {
- $xfer = 0;
- $etype = $spec['etype'];
- $ewrite = null;
- if (isset(TBase::$tmethod[$etype])) {
- $ewrite = 'write'.TBase::$tmethod[$etype];
- } else {
- $espec = $spec['elem'];
- }
- if ($set) {
- $xfer += $output->writeSetBegin($etype, count($var));
- } else {
- $xfer += $output->writeListBegin($etype, count($var));
- }
- foreach ($var as $key => $val) {
- $elem = $set ? $key : $val;
- if (isset($ewrite)) {
- $xfer += $output->$ewrite($elem);
- } else {
- switch ($etype) {
- case TType::STRUCT:
- $xfer += $elem->write($output);
- break;
- case TType::MAP:
- $xfer += $this->_writeMap($elem, $espec, $output);
- break;
- case TType::LST:
- $xfer += $this->_writeList($elem, $espec, $output, false);
- break;
- case TType::SET:
- $xfer += $this->_writeList($elem, $espec, $output, true);
- break;
- }
- }
- }
- if ($set) {
- $xfer += $output->writeSetEnd();
- } else {
- $xfer += $output->writeListEnd();
- }
- return $xfer;
- }
-
- protected function _write($class, $spec, $output) {
- $xfer = 0;
- $xfer += $output->writeStructBegin($class);
- foreach ($spec as $fid => $fspec) {
- $var = $fspec['var'];
- if ($this->$var !== null) {
- $ftype = $fspec['type'];
- $xfer += $output->writeFieldBegin($var, $ftype, $fid);
- if (isset(TBase::$tmethod[$ftype])) {
- $func = 'write'.TBase::$tmethod[$ftype];
- $xfer += $output->$func($this->$var);
- } else {
- switch ($ftype) {
- case TType::STRUCT:
- $xfer += $this->$var->write($output);
- break;
- case TType::MAP:
- $xfer += $this->_writeMap($this->$var, $fspec, $output);
- break;
- case TType::LST:
- $xfer += $this->_writeList($this->$var, $fspec, $output, false);
- break;
- case TType::SET:
- $xfer += $this->_writeList($this->$var, $fspec, $output, true);
- break;
- }
- }
- $xfer += $output->writeFieldEnd();
- }
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-}
-
-class TApplicationException extends TException {
- static $_TSPEC =
- array(1 => array('var' => 'message',
- 'type' => TType::STRING),
- 2 => array('var' => 'code',
- 'type' => TType::I32));
-
- const UNKNOWN = 0;
- const UNKNOWN_METHOD = 1;
- const INVALID_MESSAGE_TYPE = 2;
- const WRONG_METHOD_NAME = 3;
- const BAD_SEQUENCE_ID = 4;
- const MISSING_RESULT = 5;
-
- function __construct($message=null, $code=0) {
- parent::__construct($message, $code);
- }
-
- public function read($output) {
- return $this->_read('TApplicationException', self::$_TSPEC, $output);
- }
-
- public function write($output) {
- $xfer = 0;
- $xfer += $output->writeStructBegin('TApplicationException');
- if ($message = $this->getMessage()) {
- $xfer += $output->writeFieldBegin('message', TType::STRING, 1);
- $xfer += $output->writeString($message);
- $xfer += $output->writeFieldEnd();
- }
- if ($code = $this->getCode()) {
- $xfer += $output->writeFieldBegin('type', TType::I32, 2);
- $xfer += $output->writeI32($code);
- $xfer += $output->writeFieldEnd();
- }
- $xfer += $output->writeFieldStop();
- $xfer += $output->writeStructEnd();
- return $xfer;
- }
-}
-
-/**
- * Set global THRIFT ROOT automatically via inclusion here
- */
-if (!isset($GLOBALS['THRIFT_ROOT'])) {
- $GLOBALS['THRIFT_ROOT'] = dirname(__FILE__);
-}
-include_once $GLOBALS['THRIFT_ROOT'].'/protocol/TProtocol.php';
-include_once $GLOBALS['THRIFT_ROOT'].'/transport/TTransport.php';
View
51 thrift/autoload.php
@@ -1,51 +0,0 @@
-<?php
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- * @package thrift
- */
-
-
-/**
- * Include this file if you wish to use autoload with your PHP generated Thrift
- * code. The generated code will *not* include any defined Thrift classes by
- * default, except for the service interfaces. The generated code will populate
- * values into $GLOBALS['THRIFT_AUTOLOAD'] which can be used by the autoload
- * method below. If you have your own autoload system already in place, rename your
- * __autoload function to something else and then do:
- * $GLOBALS['AUTOLOAD_HOOKS'][] = 'my_autoload_func';
- *
- * Generate this code using the --gen php:autoload Thrift generator flag.
- */
-
-$GLOBALS['THRIFT_AUTOLOAD'] = array();
-$GLOBALS['AUTOLOAD_HOOKS'] = array();
-
-if (!function_exists('__autoload')) {
- function __autoload($class) {
- global $THRIFT_AUTOLOAD;
- $classl = strtolower($class);
- if (isset($THRIFT_AUTOLOAD[$classl])) {
- include_once $GLOBALS['THRIFT_ROOT'].'/packages/'.$THRIFT_AUTOLOAD[$classl];
- } else if (!empty($GLOBALS['AUTOLOAD_HOOKS'])) {
- foreach ($GLOBALS['AUTOLOAD_HOOKS'] as $hook) {
- $hook($class);
- }
- }
- }
-}
View
0 thrift/ext/thrift_protocol/.deps
No changes.
View
BIN thrift/ext/thrift_protocol/.libs/php_thrift_protocol.o
Binary file not shown.
View
1 thrift/ext/thrift_protocol/.libs/thrift_protocol.la
View
35 thrift/ext/thrift_protocol/.libs/thrift_protocol.lai
@@ -0,0 +1,35 @@
+# thrift_protocol.la - a libtool library file
+# Generated by ltmain.sh - GNU libtool 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname='thrift_protocol.so'
+
+# Names of this library.
+library_names='thrift_protocol.so thrift_protocol.so thrift_protocol.so'
+
+# The name of the static archive.
+old_library=''
+
+# Libraries that this one depends upon.
+dependency_libs=' -lstdc++'
+
+# Version information for thrift_protocol.
+current=0
+age=0
+revision=0
+
+# Is this an already installed library?
+installed=yes
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=yes
+
+# Files to dlopen/dlpreopen
+dlopen=''
+dlpreopen=''
+
+# Directory that this library needs to be installed in:
+libdir='/home/priit/thrift-0.8.0/lib/php/src/ext/thrift_protocol/modules'
View
BIN thrift/ext/thrift_protocol/.libs/thrift_protocol.so
Binary file not shown.
View
171 thrift/ext/thrift_protocol/Makefile
@@ -1,171 +0,0 @@
-srcdir = /data/www/lightspeed/library/phpcassa3/thrift/ext/thrift_protocol
-builddir = /data/www/lightspeed/library/phpcassa3/thrift/ext/thrift_protocol
-top_srcdir = /data/www/lightspeed/library/phpcassa3/thrift/ext/thrift_protocol
-top_builddir = /data/www/lightspeed/library/phpcassa3/thrift/ext/thrift_protocol
-EGREP = /bin/grep -E
-SED = /bin/sed
-CONFIGURE_COMMAND = './configure'
-CONFIGURE_OPTIONS =
-SHLIB_SUFFIX_NAME = so
-SHLIB_DL_SUFFIX_NAME = so
-ZEND_EXT_TYPE = zend_extension
-RE2C = exit 0;
-AWK = nawk
-THRIFT_PROTOCOL_SHARED_LIBADD = -lstdc++
-shared_objects_thrift_protocol = php_thrift_protocol.lo
-PHP_PECL_EXTENSION = thrift_protocol
-PHP_MODULES = $(phplibdir)/thrift_protocol.la
-PHP_ZEND_EX =
-all_targets = $(PHP_MODULES) $(PHP_ZEND_EX)
-install_targets = install-modules install-headers
-prefix = /usr
-exec_prefix = $(prefix)
-libdir = ${exec_prefix}/lib
-prefix = /usr
-phplibdir = /data/www/lightspeed/library/phpcassa3/thrift/ext/thrift_protocol/modules
-phpincludedir = /usr/include/php5
-CC = cc
-CFLAGS = -g -O2
-CFLAGS_CLEAN = $(CFLAGS)
-CPP = cc -E
-CPPFLAGS = -DHAVE_CONFIG_H
-CXX = g++
-CXXFLAGS = -g -O2
-CXXFLAGS_CLEAN = $(CXXFLAGS)
-EXTENSION_DIR = /usr/lib/php5/20090626
-PHP_EXECUTABLE = /usr/bin/php
-EXTRA_LDFLAGS =
-EXTRA_LIBS =
-INCLUDES = -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
-LFLAGS =
-LDFLAGS =
-SHARED_LIBTOOL =
-LIBTOOL = $(SHELL) $(top_builddir)/libtool
-SHELL = /bin/bash
-INSTALL_HEADERS =
-mkinstalldirs = $(top_srcdir)/build/shtool mkdir -p
-INSTALL = $(top_srcdir)/build/shtool install -c
-INSTALL_DATA = $(INSTALL) -m 644
-
-DEFS = -DPHP_ATOM_INC -I$(top_builddir)/include -I$(top_builddir)/main -I$(top_srcdir)
-COMMON_FLAGS = $(DEFS) $(INCLUDES) $(EXTRA_INCLUDES) $(CPPFLAGS) $(PHP_FRAMEWORKPATH)
-
-all: $(all_targets)
- @echo
- @echo "Build complete."
- @echo "Don't forget to run 'make test'."
- @echo
-
-build-modules: $(PHP_MODULES) $(PHP_ZEND_EX)
-
-libphp$(PHP_MAJOR_VERSION).la: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
- $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -rpath $(phptempdir) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS) $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@
- -@$(LIBTOOL) --silent --mode=install cp $@ $(phptempdir)/$@ >/dev/null 2>&1
-
-libs/libphp$(PHP_MAJOR_VERSION).bundle: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
- $(CC) $(MH_BUNDLE_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(PHP_GLOBAL_OBJS:.lo=.o) $(PHP_SAPI_OBJS:.lo=.o) $(PHP_FRAMEWORKS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@ && cp $@ libs/libphp$(PHP_MAJOR_VERSION).so
-
-install: $(all_targets) $(install_targets)
-
-install-sapi: $(OVERALL_TARGET)
- @echo "Installing PHP SAPI module: $(PHP_SAPI)"
- -@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir)
- -@if test ! -r $(phptempdir)/libphp$(PHP_MAJOR_VERSION).$(SHLIB_DL_SUFFIX_NAME); then \
- for i in 0.0.0 0.0 0; do \
- if test -r $(phptempdir)/libphp$(PHP_MAJOR_VERSION).$(SHLIB_DL_SUFFIX_NAME).$$i; then \
- $(LN_S) $(phptempdir)/libphp$(PHP_MAJOR_VERSION).$(SHLIB_DL_SUFFIX_NAME).$$i $(phptempdir)/libphp$(PHP_MAJOR_VERSION).$(SHLIB_DL_SUFFIX_NAME); \
- break; \
- fi; \
- done; \
- fi
- @$(INSTALL_IT)
-
-install-modules: build-modules
- @test -d modules && \
- $(mkinstalldirs) $(INSTALL_ROOT)$(EXTENSION_DIR)
- @echo "Installing shared extensions: $(INSTALL_ROOT)$(EXTENSION_DIR)/"
- @rm -f modules/*.la >/dev/null 2>&1
- @$(INSTALL) modules/* $(INSTALL_ROOT)$(EXTENSION_DIR)
-
-install-headers:
- -@if test "$(INSTALL_HEADERS)"; then \
- for i in `echo $(INSTALL_HEADERS)`; do \
- i=`$(top_srcdir)/build/shtool path -d $$i`; \
- paths="$$paths $(INSTALL_ROOT)$(phpincludedir)/$$i"; \
- done; \
- $(mkinstalldirs) $$paths && \
- echo "Installing header files: $(INSTALL_ROOT)$(phpincludedir)/" && \
- for i in `echo $(INSTALL_HEADERS)`; do \
- if test "$(PHP_PECL_EXTENSION)"; then \
- src=`echo $$i | $(SED) -e "s#ext/$(PHP_PECL_EXTENSION)/##g"`; \
- else \
- src=$$i; \
- fi; \
- if test -f "$(top_srcdir)/$$src"; then \
- $(INSTALL_DATA) $(top_srcdir)/$$src $(INSTALL_ROOT)$(phpincludedir)/$$i; \
- elif test -f "$(top_builddir)/$$src"; then \
- $(INSTALL_DATA) $(top_builddir)/$$src $(INSTALL_ROOT)$(phpincludedir)/$$i; \
- else \
- (cd $(top_srcdir)/$$src && $(INSTALL_DATA) *.h $(INSTALL_ROOT)$(phpincludedir)/$$i; \
- cd $(top_builddir)/$$src && $(INSTALL_DATA) *.h $(INSTALL_ROOT)$(phpincludedir)/$$i) 2>/dev/null || true; \
- fi \
- done; \
- fi
-
-PHP_TEST_SETTINGS = -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1'
-PHP_TEST_SHARED_EXTENSIONS = ` \
- if test "x$(PHP_MODULES)" != "x"; then \
- for i in $(PHP_MODULES)""; do \
- . $$i; $(top_srcdir)/build/shtool echo -n -- " -d extension=$$dlname"; \
- done; \
- fi; \
- if test "x$(PHP_ZEND_EX)" != "x"; then \
- for i in $(PHP_ZEND_EX)""; do \
- . $$i; $(top_srcdir)/build/shtool echo -n -- " -d $(ZEND_EXT_TYPE)=$(top_builddir)/modules/$$dlname"; \
- done; \
- fi`
-PHP_DEPRECATED_DIRECTIVES_REGEX = '^(define_syslog_variables|register_(globals|long_arrays)?|safe_mode|magic_quotes_(gpc|runtime|sybase)?|(zend_)?extension(_debug)?(_ts)?)[\t\ ]*='
-
-test: all
- -@if test ! -z "$(PHP_EXECUTABLE)" && test -x "$(PHP_EXECUTABLE)"; then \
- INI_FILE=`$(PHP_EXECUTABLE) -d 'display_errors=stderr' -r 'echo php_ini_loaded_file();' 2> /dev/null`; \
- if test "$$INI_FILE"; then \
- $(EGREP) -h -v $(PHP_DEPRECATED_DIRECTIVES_REGEX) "$$INI_FILE" > $(top_builddir)/tmp-php.ini; \
- else \
- echo > $(top_builddir)/tmp-php.ini; \
- fi; \
- INI_SCANNED_PATH=`$(PHP_EXECUTABLE) -d 'display_errors=stderr' -r '$$a = explode(",\n", trim(php_ini_scanned_files())); echo $$a[0];' 2> /dev/null`; \
- if test "$$INI_SCANNED_PATH"; then \
- INI_SCANNED_PATH=`$(top_srcdir)/build/shtool path -d $$INI_SCANNED_PATH`; \
- $(EGREP) -h -v $(PHP_DEPRECATED_DIRECTIVES_REGEX) "$$INI_SCANNED_PATH"/*.ini >> $(top_builddir)/tmp-php.ini; \
- fi; \
- TEST_PHP_EXECUTABLE=$(PHP_EXECUTABLE) \
- TEST_PHP_SRCDIR=$(top_srcdir) \
- CC="$(CC)" \
- $(PHP_EXECUTABLE) -n -c $(top_builddir)/tmp-php.ini $(PHP_TEST_SETTINGS) $(top_srcdir)/run-tests.php -n -c $(top_builddir)/tmp-php.ini -d extension_dir=$(top_builddir)/modules/ $(PHP_TEST_SHARED_EXTENSIONS) $(TESTS); \
- else \
- echo "ERROR: Cannot run tests without CLI sapi."; \
- fi
-
-clean:
- find . -name \*.gcno -o -name \*.gcda | xargs rm -f
- find . -name \*.lo -o -name \*.o | xargs rm -f
- find . -name \*.la -o -name \*.a | xargs rm -f
- find . -name \*.so | xargs rm -f
- find . -name .libs -a -type d|xargs rm -rf
- rm -f libphp$(PHP_MAJOR_VERSION).la $(SAPI_CLI_PATH) $(OVERALL_TARGET) modules/* libs/*
-
-distclean: clean
- rm -f Makefile config.cache config.log config.status Makefile.objects Makefile.fragments libtool main/php_config.h stamp-h sapi/apache/libphp$(PHP_MAJOR_VERSION).module buildmk.stamp
- $(EGREP) define'.*include/php' $(top_srcdir)/configure | $(SED) 's/.*>//'|xargs rm -f
-
-.PHONY: all clean install distclean test
-.NOEXPORT:
-php_thrift_protocol.lo: /data/www/lightspeed/library/phpcassa3/thrift/ext/thrift_protocol/php_thrift_protocol.cpp
- $(LIBTOOL) --mode=compile $(CXX) -I. -I/data/www/lightspeed/library/phpcassa3/thrift/ext/thrift_protocol $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS) -c /data/www/lightspeed/library/phpcassa3/thrift/ext/thrift_protocol/php_thrift_protocol.cpp -o php_thrift_protocol.lo
-$(phplibdir)/thrift_protocol.la: ./thrift_protocol.la
- $(LIBTOOL) --mode=install cp ./thrift_protocol.la $(phplibdir)
-
-./thrift_protocol.la: $(shared_objects_thrift_protocol) $(THRIFT_PROTOCOL_SHARED_DEPENDENCIES)
- $(LIBTOOL) --mode=link $(CC) $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS) -o $@ -export-dynamic -avoid-version -prefer-pic -module -rpath $(phplibdir) $(EXTRA_LDFLAGS) $(shared_objects_thrift_protocol) $(THRIFT_PROTOCOL_SHARED_LIBADD)
-
View
0 thrift/ext/thrift_protocol/Makefile.fragments
No changes.
View
118 thrift/ext/thrift_protocol/Makefile.global
@@ -1,118 +0,0 @@
-mkinstalldirs = $(top_srcdir)/build/shtool mkdir -p
-INSTALL = $(top_srcdir)/build/shtool install -c
-INSTALL_DATA = $(INSTALL) -m 644
-
-DEFS = -DPHP_ATOM_INC -I$(top_builddir)/include -I$(top_builddir)/main -I$(top_srcdir)
-COMMON_FLAGS = $(DEFS) $(INCLUDES) $(EXTRA_INCLUDES) $(CPPFLAGS) $(PHP_FRAMEWORKPATH)
-
-all: $(all_targets)
- @echo
- @echo "Build complete."
- @echo "Don't forget to run 'make test'."
- @echo
-
-build-modules: $(PHP_MODULES) $(PHP_ZEND_EX)
-
-libphp$(PHP_MAJOR_VERSION).la: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
- $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -rpath $(phptempdir) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS) $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@
- -@$(LIBTOOL) --silent --mode=install cp $@ $(phptempdir)/$@ >/dev/null 2>&1
-
-libs/libphp$(PHP_MAJOR_VERSION).bundle: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
- $(CC) $(MH_BUNDLE_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(PHP_GLOBAL_OBJS:.lo=.o) $(PHP_SAPI_OBJS:.lo=.o) $(PHP_FRAMEWORKS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@ && cp $@ libs/libphp$(PHP_MAJOR_VERSION).so
-
-install: $(all_targets) $(install_targets)
-
-install-sapi: $(OVERALL_TARGET)
- @echo "Installing PHP SAPI module: $(PHP_SAPI)"
- -@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir)
- -@if test ! -r $(phptempdir)/libphp$(PHP_MAJOR_VERSION).$(SHLIB_DL_SUFFIX_NAME); then \
- for i in 0.0.0 0.0 0; do \
- if test -r $(phptempdir)/libphp$(PHP_MAJOR_VERSION).$(SHLIB_DL_SUFFIX_NAME).$$i; then \
- $(LN_S) $(phptempdir)/libphp$(PHP_MAJOR_VERSION).$(SHLIB_DL_SUFFIX_NAME).$$i $(phptempdir)/libphp$(PHP_MAJOR_VERSION).$(SHLIB_DL_SUFFIX_NAME); \
- break; \
- fi; \
- done; \
- fi
- @$(INSTALL_IT)
-
-install-modules: build-modules
- @test -d modules && \
- $(mkinstalldirs) $(INSTALL_ROOT)$(EXTENSION_DIR)
- @echo "Installing shared extensions: $(INSTALL_ROOT)$(EXTENSION_DIR)/"
- @rm -f modules/*.la >/dev/null 2>&1
- @$(INSTALL) modules/* $(INSTALL_ROOT)$(EXTENSION_DIR)
-
-install-headers:
- -@if test "$(INSTALL_HEADERS)"; then \
- for i in `echo $(INSTALL_HEADERS)`; do \
- i=`$(top_srcdir)/build/shtool path -d $$i`; \
- paths="$$paths $(INSTALL_ROOT)$(phpincludedir)/$$i"; \
- done; \
- $(mkinstalldirs) $$paths && \
- echo "Installing header files: $(INSTALL_ROOT)$(phpincludedir)/" && \
- for i in `echo $(INSTALL_HEADERS)`; do \
- if test "$(PHP_PECL_EXTENSION)"; then \
- src=`echo $$i | $(SED) -e "s#ext/$(PHP_PECL_EXTENSION)/##g"`; \
- else \
- src=$$i; \
- fi; \
- if test -f "$(top_srcdir)/$$src"; then \
- $(INSTALL_DATA) $(top_srcdir)/$$src $(INSTALL_ROOT)$(phpincludedir)/$$i; \
- elif test -f "$(top_builddir)/$$src"; then \
- $(INSTALL_DATA) $(top_builddir)/$$src $(INSTALL_ROOT)$(phpincludedir)/$$i; \
- else \
- (cd $(top_srcdir)/$$src && $(INSTALL_DATA) *.h $(INSTALL_ROOT)$(phpincludedir)/$$i; \
- cd $(top_builddir)/$$src && $(INSTALL_DATA) *.h $(INSTALL_ROOT)$(phpincludedir)/$$i) 2>/dev/null || true; \
- fi \
- done; \
- fi
-
-PHP_TEST_SETTINGS = -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1'
-PHP_TEST_SHARED_EXTENSIONS = ` \
- if test "x$(PHP_MODULES)" != "x"; then \
- for i in $(PHP_MODULES)""; do \
- . $$i; $(top_srcdir)/build/shtool echo -n -- " -d extension=$$dlname"; \
- done; \
- fi; \
- if test "x$(PHP_ZEND_EX)" != "x"; then \
- for i in $(PHP_ZEND_EX)""; do \
- . $$i; $(top_srcdir)/build/shtool echo -n -- " -d $(ZEND_EXT_TYPE)=$(top_builddir)/modules/$$dlname"; \
- done; \
- fi`
-PHP_DEPRECATED_DIRECTIVES_REGEX = '^(define_syslog_variables|register_(globals|long_arrays)?|safe_mode|magic_quotes_(gpc|runtime|sybase)?|(zend_)?extension(_debug)?(_ts)?)[\t\ ]*='
-
-test: all
- -@if test ! -z "$(PHP_EXECUTABLE)" && test -x "$(PHP_EXECUTABLE)"; then \
- INI_FILE=`$(PHP_EXECUTABLE) -d 'display_errors=stderr' -r 'echo php_ini_loaded_file();' 2> /dev/null`; \
- if test "$$INI_FILE"; then \
- $(EGREP) -h -v $(PHP_DEPRECATED_DIRECTIVES_REGEX) "$$INI_FILE" > $(top_builddir)/tmp-php.ini; \
- else \
- echo > $(top_builddir)/tmp-php.ini; \
- fi; \
- INI_SCANNED_PATH=`$(PHP_EXECUTABLE) -d 'display_errors=stderr' -r '$$a = explode(",\n", trim(php_ini_scanned_files())); echo $$a[0];' 2> /dev/null`; \
- if test "$$INI_SCANNED_PATH"; then \
- INI_SCANNED_PATH=`$(top_srcdir)/build/shtool path -d $$INI_SCANNED_PATH`; \
- $(EGREP) -h -v $(PHP_DEPRECATED_DIRECTIVES_REGEX) "$$INI_SCANNED_PATH"/*.ini >> $(top_builddir)/tmp-php.ini; \
- fi; \
- TEST_PHP_EXECUTABLE=$(PHP_EXECUTABLE) \
- TEST_PHP_SRCDIR=$(top_srcdir) \
- CC="$(CC)" \
- $(PHP_EXECUTABLE) -n -c $(top_builddir)/tmp-php.ini $(PHP_TEST_SETTINGS) $(top_srcdir)/run-tests.php -n -c $(top_builddir)/tmp-php.ini -d extension_dir=$(top_builddir)/modules/ $(PHP_TEST_SHARED_EXTENSIONS) $(TESTS); \
- else \
- echo "ERROR: Cannot run tests without CLI sapi."; \
- fi
-
-clean:
- find . -name \*.gcno -o -name \*.gcda | xargs rm -f
- find . -name \*.lo -o -name \*.o | xargs rm -f
- find . -name \*.la -o -name \*.a | xargs rm -f
- find . -name \*.so | xargs rm -f
- find . -name .libs -a -type d|xargs rm -rf
- rm -f libphp$(PHP_MAJOR_VERSION).la $(SAPI_CLI_PATH) $(OVERALL_TARGET) modules/* libs/*
-
-distclean: clean
- rm -f Makefile config.cache config.log config.status Makefile.objects Makefile.fragments libtool main/php_config.h stamp-h sapi/apache/libphp$(PHP_MAJOR_VERSION).module buildmk.stamp
- $(EGREP) define'.*include/php' $(top_srcdir)/configure | $(SED) 's/.*>//'|xargs rm -f
-
-.PHONY: all clean install distclean test
-.NOEXPORT:
View
8 thrift/ext/thrift_protocol/Makefile.objects
@@ -1,8 +0,0 @@
-php_thrift_protocol.lo: /data/www/lightspeed/library/phpcassa3/thrift/ext/thrift_protocol/php_thrift_protocol.cpp
- $(LIBTOOL) --mode=compile $(CXX) -I. -I/data/www/lightspeed/library/phpcassa3/thrift/ext/thrift_protocol $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS) -c /data/www/lightspeed/library/phpcassa3/thrift/ext/thrift_protocol/php_thrift_protocol.cpp -o php_thrift_protocol.lo
-$(phplibdir)/thrift_protocol.la: ./thrift_protocol.la
- $(LIBTOOL) --mode=install cp ./thrift_protocol.la $(phplibdir)
-
-./thrift_protocol.la: $(shared_objects_thrift_protocol) $(THRIFT_PROTOCOL_SHARED_DEPENDENCIES)
- $(LIBTOOL) --mode=link $(CC) $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS) -o $@ -export-dynamic -avoid-version -prefer-pic -module -rpath $(phplibdir) $(EXTRA_LDFLAGS) $(shared_objects_thrift_protocol) $(THRIFT_PROTOCOL_SHARED_LIBADD)
-
View
2,877 thrift/ext/thrift_protocol/acinclude.m4
0 additions, 2,877 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
10,860 thrift/ext/thrift_protocol/aclocal.m4
0 additions, 10,860 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
16,783 thrift/ext/thrift_protocol/autom4te.cache/output.0
0 additions, 16,783 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
68 thrift/ext/thrift_protocol/autom4te.cache/requests
@@ -1,68 +0,0 @@
-# This file was generated by Autom4te Thu Aug 5 21:29:16 UTC 2010.
-# It contains the lists of macros which have been traced.
-# It can be safely removed.
-
-@request = (
- bless( [
- '0',
- 1,
- [
- '/usr/share/autoconf'
- ],
- [
- '/usr/share/autoconf/autoconf/autoconf.m4f',
- 'aclocal.m4',
- 'configure.in'
- ],
- {
- 'AM_PROG_F77_C_O' => 1,
- '_LT_AC_TAGCONFIG' => 1,
- 'm4_pattern_forbid' => 1,
- 'AC_INIT' => 1,
- 'AC_CANONICAL_TARGET' => 1,
- '_AM_COND_IF' => 1,
- 'AC_CONFIG_LIBOBJ_DIR' => 1,
- 'AC_SUBST' => 1,
- 'AC_CANONICAL_HOST' => 1,
- 'AC_FC_SRCEXT' => 1,
- 'AC_PROG_LIBTOOL' => 1,
- 'AM_INIT_AUTOMAKE' => 1,
- 'AC_CONFIG_SUBDIRS' => 1,
- 'AM_AUTOMAKE_VERSION' => 1,
- 'LT_CONFIG_LTDL_DIR' => 1,
- 'AC_CONFIG_LINKS' => 1,
- 'AC_REQUIRE_AUX_FILE' => 1,
- 'LT_SUPPORTED_TAG' => 1,
- 'm4_sinclude' => 1,
- 'AM_MAINTAINER_MODE' => 1,
- 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
- '_m4_warn' => 1,
- 'AM_PROG_CXX_C_O' => 1,
- '_AM_COND_ENDIF' => 1,
- 'AM_ENABLE_MULTILIB' => 1,
- 'AM_SILENT_RULES' => 1,
- 'AC_CONFIG_FILES' => 1,
- 'include' => 1,
- 'LT_INIT' => 1,
- 'AM_GNU_GETTEXT' => 1,
- 'AC_LIBSOURCE' => 1,
- 'AC_CANONICAL_BUILD' => 1,
- 'AM_PROG_FC_C_O' => 1,
- 'AC_FC_FREEFORM' => 1,
- 'AH_OUTPUT' => 1,
- 'AC_CONFIG_AUX_DIR' => 1,
- '_AM_SUBST_NOTMAKE' => 1,
- 'AM_PROG_CC_C_O' => 1,
- 'm4_pattern_allow' => 1,
- 'sinclude' => 1,
- 'AM_CONDITIONAL' => 1,
- 'AC_CANONICAL_SYSTEM' => 1,
- 'AC_CONFIG_HEADERS' => 1,
- 'AC_DEFINE_TRACE_LITERAL' => 1,
- 'm4_include' => 1,
- '_AM_COND_ELSE' => 1,
- 'AC_SUBST_TRACE' => 1
- }
- ], 'Autom4te::Request' )
- );
-
View
459 thrift/ext/thrift_protocol/autom4te.cache/traces.0
@@ -1,459 +0,0 @@
-m4trace:configure.in:6: -1- AC_INIT([config.m4])
-m4trace:configure.in:6: -1- m4_pattern_forbid([^_?A[CHUM]_])
-m4trace:configure.in:6: -1- m4_pattern_forbid([_AC_])
-m4trace:configure.in:6: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
-m4trace:configure.in:6: -1- m4_pattern_allow([^AS_FLAGS$])
-m4trace:configure.in:6: -1- m4_pattern_forbid([^_?m4_])
-m4trace:configure.in:6: -1- m4_pattern_forbid([^dnl$])
-m4trace:configure.in:6: -1- m4_pattern_forbid([^_?AS_])
-m4trace:configure.in:6: -1- AC_SUBST([SHELL])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([SHELL])
-m4trace:configure.in:6: -1- m4_pattern_allow([^SHELL$])
-m4trace:configure.in:6: -1- AC_SUBST([PATH_SEPARATOR])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
-m4trace:configure.in:6: -1- m4_pattern_allow([^PATH_SEPARATOR$])
-m4trace:configure.in:6: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([PACKAGE_NAME])
-m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_NAME$])
-m4trace:configure.in:6: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
-m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
-m4trace:configure.in:6: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
-m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_VERSION$])
-m4trace:configure.in:6: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([PACKAGE_STRING])
-m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_STRING$])
-m4trace:configure.in:6: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
-m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
-m4trace:configure.in:6: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([PACKAGE_URL])
-m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_URL$])
-m4trace:configure.in:6: -1- AC_SUBST([exec_prefix], [NONE])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([exec_prefix])
-m4trace:configure.in:6: -1- m4_pattern_allow([^exec_prefix$])
-m4trace:configure.in:6: -1- AC_SUBST([prefix], [NONE])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([prefix])
-m4trace:configure.in:6: -1- m4_pattern_allow([^prefix$])
-m4trace:configure.in:6: -1- AC_SUBST([program_transform_name], [s,x,x,])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([program_transform_name])
-m4trace:configure.in:6: -1- m4_pattern_allow([^program_transform_name$])
-m4trace:configure.in:6: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([bindir])
-m4trace:configure.in:6: -1- m4_pattern_allow([^bindir$])
-m4trace:configure.in:6: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([sbindir])
-m4trace:configure.in:6: -1- m4_pattern_allow([^sbindir$])
-m4trace:configure.in:6: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([libexecdir])
-m4trace:configure.in:6: -1- m4_pattern_allow([^libexecdir$])
-m4trace:configure.in:6: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([datarootdir])
-m4trace:configure.in:6: -1- m4_pattern_allow([^datarootdir$])
-m4trace:configure.in:6: -1- AC_SUBST([datadir], ['${datarootdir}'])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([datadir])
-m4trace:configure.in:6: -1- m4_pattern_allow([^datadir$])
-m4trace:configure.in:6: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([sysconfdir])
-m4trace:configure.in:6: -1- m4_pattern_allow([^sysconfdir$])
-m4trace:configure.in:6: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([sharedstatedir])
-m4trace:configure.in:6: -1- m4_pattern_allow([^sharedstatedir$])
-m4trace:configure.in:6: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([localstatedir])
-m4trace:configure.in:6: -1- m4_pattern_allow([^localstatedir$])
-m4trace:configure.in:6: -1- AC_SUBST([includedir], ['${prefix}/include'])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([includedir])
-m4trace:configure.in:6: -1- m4_pattern_allow([^includedir$])
-m4trace:configure.in:6: -1- AC_SUBST([oldincludedir], ['/usr/include'])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([oldincludedir])
-m4trace:configure.in:6: -1- m4_pattern_allow([^oldincludedir$])
-m4trace:configure.in:6: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
- ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
- ['${datarootdir}/doc/${PACKAGE}'])])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([docdir])
-m4trace:configure.in:6: -1- m4_pattern_allow([^docdir$])
-m4trace:configure.in:6: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([infodir])
-m4trace:configure.in:6: -1- m4_pattern_allow([^infodir$])
-m4trace:configure.in:6: -1- AC_SUBST([htmldir], ['${docdir}'])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([htmldir])
-m4trace:configure.in:6: -1- m4_pattern_allow([^htmldir$])
-m4trace:configure.in:6: -1- AC_SUBST([dvidir], ['${docdir}'])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([dvidir])
-m4trace:configure.in:6: -1- m4_pattern_allow([^dvidir$])
-m4trace:configure.in:6: -1- AC_SUBST([pdfdir], ['${docdir}'])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([pdfdir])
-m4trace:configure.in:6: -1- m4_pattern_allow([^pdfdir$])
-m4trace:configure.in:6: -1- AC_SUBST([psdir], ['${docdir}'])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([psdir])
-m4trace:configure.in:6: -1- m4_pattern_allow([^psdir$])
-m4trace:configure.in:6: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([libdir])
-m4trace:configure.in:6: -1- m4_pattern_allow([^libdir$])
-m4trace:configure.in:6: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([localedir])
-m4trace:configure.in:6: -1- m4_pattern_allow([^localedir$])
-m4trace:configure.in:6: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([mandir])
-m4trace:configure.in:6: -1- m4_pattern_allow([^mandir$])
-m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
-m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_NAME$])
-m4trace:configure.in:6: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
-@%:@undef PACKAGE_NAME])
-m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
-m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
-m4trace:configure.in:6: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
-@%:@undef PACKAGE_TARNAME])
-m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
-m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_VERSION$])
-m4trace:configure.in:6: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
-@%:@undef PACKAGE_VERSION])
-m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
-m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_STRING$])
-m4trace:configure.in:6: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
-@%:@undef PACKAGE_STRING])
-m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
-m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
-m4trace:configure.in:6: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
-@%:@undef PACKAGE_BUGREPORT])
-m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
-m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_URL$])
-m4trace:configure.in:6: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
-@%:@undef PACKAGE_URL])
-m4trace:configure.in:6: -1- AC_SUBST([DEFS])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([DEFS])
-m4trace:configure.in:6: -1- m4_pattern_allow([^DEFS$])
-m4trace:configure.in:6: -1- AC_SUBST([ECHO_C])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([ECHO_C])
-m4trace:configure.in:6: -1- m4_pattern_allow([^ECHO_C$])
-m4trace:configure.in:6: -1- AC_SUBST([ECHO_N])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([ECHO_N])
-m4trace:configure.in:6: -1- m4_pattern_allow([^ECHO_N$])
-m4trace:configure.in:6: -1- AC_SUBST([ECHO_T])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([ECHO_T])
-m4trace:configure.in:6: -1- m4_pattern_allow([^ECHO_T$])
-m4trace:configure.in:6: -1- AC_SUBST([LIBS])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([LIBS])
-m4trace:configure.in:6: -1- m4_pattern_allow([^LIBS$])
-m4trace:configure.in:6: -1- AC_SUBST([build_alias])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([build_alias])
-m4trace:configure.in:6: -1- m4_pattern_allow([^build_alias$])
-m4trace:configure.in:6: -1- AC_SUBST([host_alias])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([host_alias])
-m4trace:configure.in:6: -1- m4_pattern_allow([^host_alias$])
-m4trace:configure.in:6: -1- AC_SUBST([target_alias])
-m4trace:configure.in:6: -1- AC_SUBST_TRACE([target_alias])
-m4trace:configure.in:6: -1- m4_pattern_allow([^target_alias$])
-m4trace:configure.in:8: -1- AC_SUBST([GREP])
-m4trace:configure.in:8: -1- AC_SUBST_TRACE([GREP])
-m4trace:configure.in:8: -1- m4_pattern_allow([^GREP$])
-m4trace:configure.in:8: -1- AC_SUBST([EGREP])
-m4trace:configure.in:8: -1- AC_SUBST_TRACE([EGREP])
-m4trace:configure.in:8: -1- m4_pattern_allow([^EGREP$])
-m4trace:configure.in:8: -1- _m4_warn([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
-You should run autoupdate.], [aclocal.m4:9996: LT_AC_PROG_SED is expanded from...
-aclocal.m4:2632: PHP_CONFIG_NICE is expanded from...
-configure.in:8: the top level])
-m4trace:configure.in:8: -1- AC_SUBST([SED])
-m4trace:configure.in:8: -1- AC_SUBST_TRACE([SED])
-m4trace:configure.in:8: -1- m4_pattern_allow([^SED$])
-m4trace:configure.in:8: -1- AC_SUBST([EGREP])
-m4trace:configure.in:8: -1- AC_SUBST_TRACE([EGREP])
-m4trace:configure.in:8: -1- m4_pattern_allow([^EGREP$])
-m4trace:configure.in:8: -1- AC_SUBST([SED])
-m4trace:configure.in:8: -1- AC_SUBST_TRACE([SED])
-m4trace:configure.in:8: -1- m4_pattern_allow([^SED$])
-m4trace:configure.in:8: -1- AC_SUBST([CONFIGURE_COMMAND])
-m4trace:configure.in:8: -1- AC_SUBST_TRACE([CONFIGURE_COMMAND])
-m4trace:configure.in:8: -1- m4_pattern_allow([^CONFIGURE_COMMAND$])
-m4trace:configure.in:8: -1- AC_SUBST([CONFIGURE_OPTIONS])
-m4trace:configure.in:8: -1- AC_SUBST_TRACE([CONFIGURE_OPTIONS])
-m4trace:configure.in:8: -1- m4_pattern_allow([^CONFIGURE_OPTIONS$])
-m4trace:configure.in:26: -1- AC_SUBST([CC])
-m4trace:configure.in:26: -1- AC_SUBST_TRACE([CC])
-m4trace:configure.in:26: -1- m4_pattern_allow([^CC$])
-m4trace:configure.in:26: -1- AC_SUBST([CFLAGS])
-m4trace:configure.in:26: -1- AC_SUBST_TRACE([CFLAGS])
-m4trace:configure.in:26: -1- m4_pattern_allow([^CFLAGS$])
-m4trace:configure.in:26: -1- AC_SUBST([LDFLAGS])
-m4trace:configure.in:26: -1- AC_SUBST_TRACE([LDFLAGS])
-m4trace:configure.in:26: -1- m4_pattern_allow([^LDFLAGS$])
-m4trace:configure.in:26: -1- AC_SUBST([LIBS])
-m4trace:configure.in:26: -1- AC_SUBST_TRACE([LIBS])
-m4trace:configure.in:26: -1- m4_pattern_allow([^LIBS$])
-m4trace:configure.in:26: -1- AC_SUBST([CPPFLAGS])
-m4trace:configure.in:26: -1- AC_SUBST_TRACE([CPPFLAGS])
-m4trace:configure.in:26: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:configure.in:26: -1- AC_SUBST([CC])
-m4trace:configure.in:26: -1- AC_SUBST_TRACE([CC])
-m4trace:configure.in:26: -1- m4_pattern_allow([^CC$])
-m4trace:configure.in:26: -1- AC_SUBST([ac_ct_CC])
-m4trace:configure.in:26: -1- AC_SUBST_TRACE([ac_ct_CC])
-m4trace:configure.in:26: -1- m4_pattern_allow([^ac_ct_CC$])
-m4trace:configure.in:26: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
-m4trace:configure.in:26: -1- AC_SUBST_TRACE([EXEEXT])
-m4trace:configure.in:26: -1- m4_pattern_allow([^EXEEXT$])
-m4trace:configure.in:26: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
-m4trace:configure.in:26: -1- AC_SUBST_TRACE([OBJEXT])
-m4trace:configure.in:26: -1- m4_pattern_allow([^OBJEXT$])
-m4trace:configure.in:27: -1- AC_SUBST([CPP])
-m4trace:configure.in:27: -1- AC_SUBST_TRACE([CPP])
-m4trace:configure.in:27: -1- m4_pattern_allow([^CPP$])
-m4trace:configure.in:27: -1- AC_SUBST([CPPFLAGS])
-m4trace:configure.in:27: -1- AC_SUBST_TRACE([CPPFLAGS])
-m4trace:configure.in:27: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:configure.in:27: -1- AC_SUBST([CPP])
-m4trace:configure.in:27: -1- AC_SUBST_TRACE([CPP])
-m4trace:configure.in:27: -1- m4_pattern_allow([^CPP$])
-m4trace:configure.in:29: -1- AC_DEFINE_TRACE_LITERAL([NO_MINUS_C_MINUS_O])
-m4trace:configure.in:29: -1- m4_pattern_allow([^NO_MINUS_C_MINUS_O$])
-m4trace:configure.in:29: -1- AH_OUTPUT([NO_MINUS_C_MINUS_O], [/* Define to 1 if your C compiler doesn\'t accept -c and -o together. */
-@%:@undef NO_MINUS_C_MINUS_O])
-m4trace:configure.in:35: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
-You should run autoupdate.], [../../lib/autoconf/general.m4:2675: AC_TRY_LINK is expanded from...
-../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from...
-../../lib/autoconf/general.m4:2019: AC_CACHE_VAL is expanded from...
-aclocal.m4:301: PHP_RUNPATH_SWITCH is expanded from...
-configure.in:35: the top level])
-m4trace:configure.in:35: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
-You should run autoupdate.], [../../lib/autoconf/general.m4:2675: AC_TRY_LINK is expanded from...
-../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from...
-../../lib/autoconf/general.m4:2019: AC_CACHE_VAL is expanded from...
-aclocal.m4:301: PHP_RUNPATH_SWITCH is expanded from...
-configure.in:35: the top level])
-m4trace:configure.in:36: -1- AC_CANONICAL_HOST
-m4trace:configure.in:36: -1- AC_CANONICAL_BUILD
-m4trace:configure.in:36: -1- AC_REQUIRE_AUX_FILE([config.sub])
-m4trace:configure.in:36: -1- AC_REQUIRE_AUX_FILE([config.guess])
-m4trace:configure.in:36: -1- AC_SUBST([build], [$ac_cv_build])
-m4trace:configure.in:36: -1- AC_SUBST_TRACE([build])
-m4trace:configure.in:36: -1- m4_pattern_allow([^build$])
-m4trace:configure.in:36: -1- AC_SUBST([build_cpu], [$[1]])
-m4trace:configure.in:36: -1- AC_SUBST_TRACE([build_cpu])
-m4trace:configure.in:36: -1- m4_pattern_allow([^build_cpu$])
-m4trace:configure.in:36: -1- AC_SUBST([build_vendor], [$[2]])
-m4trace:configure.in:36: -1- AC_SUBST_TRACE([build_vendor])
-m4trace:configure.in:36: -1- m4_pattern_allow([^build_vendor$])
-m4trace:configure.in:36: -1- AC_SUBST([build_os])
-m4trace:configure.in:36: -1- AC_SUBST_TRACE([build_os])
-m4trace:configure.in:36: -1- m4_pattern_allow([^build_os$])
-m4trace:configure.in:36: -1- AC_SUBST([host], [$ac_cv_host])
-m4trace:configure.in:36: -1- AC_SUBST_TRACE([host])
-m4trace:configure.in:36: -1- m4_pattern_allow([^host$])
-m4trace:configure.in:36: -1- AC_SUBST([host_cpu], [$[1]])
-m4trace:configure.in:36: -1- AC_SUBST_TRACE([host_cpu])
-m4trace:configure.in:36: -1- m4_pattern_allow([^host_cpu$])
-m4trace:configure.in:36: -1- AC_SUBST([host_vendor], [$[2]])
-m4trace:configure.in:36: -1- AC_SUBST_TRACE([host_vendor])
-m4trace:configure.in:36: -1- m4_pattern_allow([^host_vendor$])
-m4trace:configure.in:36: -1- AC_SUBST([host_os])
-m4trace:configure.in:36: -1- AC_SUBST_TRACE([host_os])
-m4trace:configure.in:36: -1- m4_pattern_allow([^host_os$])
-m4trace:configure.in:36: -1- AC_CANONICAL_TARGET
-m4trace:configure.in:36: -1- AC_SUBST([target], [$ac_cv_target])
-m4trace:configure.in:36: -1- AC_SUBST_TRACE([target])
-m4trace:configure.in:36: -1- m4_pattern_allow([^target$])
-m4trace:configure.in:36: -1- AC_SUBST([target_cpu], [$[1]])
-m4trace:configure.in:36: -1- AC_SUBST_TRACE([target_cpu])
-m4trace:configure.in:36: -1- m4_pattern_allow([^target_cpu$])
-m4trace:configure.in:36: -1- AC_SUBST([target_vendor], [$[2]])
-m4trace:configure.in:36: -1- AC_SUBST_TRACE([target_vendor])
-m4trace:configure.in:36: -1- m4_pattern_allow([^target_vendor$])
-m4trace:configure.in:36: -1- AC_SUBST([target_os])
-m4trace:configure.in:36: -1- AC_SUBST_TRACE([target_os])
-m4trace:configure.in:36: -1- m4_pattern_allow([^target_os$])
-m4trace:configure.in:36: -1- AC_SUBST([SHLIB_SUFFIX_NAME])
-m4trace:configure.in:36: -1- AC_SUBST_TRACE([SHLIB_SUFFIX_NAME])
-m4trace:configure.in:36: -1- m4_pattern_allow([^SHLIB_SUFFIX_NAME$])
-m4trace:configure.in:36: -1- AC_SUBST([SHLIB_DL_SUFFIX_NAME])
-m4trace:configure.in:36: -1- AC_SUBST_TRACE([SHLIB_DL_SUFFIX_NAME])
-m4trace:configure.in:36: -1- m4_pattern_allow([^SHLIB_DL_SUFFIX_NAME$])
-m4trace:configure.in:134: -1- AC_SUBST([RE2C])
-m4trace:configure.in:134: -1- AC_SUBST_TRACE([RE2C])
-m4trace:configure.in:134: -1- m4_pattern_allow([^RE2C$])
-m4trace:configure.in:135: -1- AC_SUBST([AWK])
-m4trace:configure.in:135: -1- AC_SUBST_TRACE([AWK])
-m4trace:configure.in:135: -1- m4_pattern_allow([^AWK$])
-m4trace:configure.in:137: -1- sinclude([config.m4])
-m4trace:config.m4:10: -1- AC_SUBST([CXX])
-m4trace:config.m4:10: -1- AC_SUBST_TRACE([CXX])
-m4trace:config.m4:10: -1- m4_pattern_allow([^CXX$])
-m4trace:config.m4:10: -1- AC_SUBST([CXXFLAGS])
-m4trace:config.m4:10: -1- AC_SUBST_TRACE([CXXFLAGS])
-m4trace:config.m4:10: -1- m4_pattern_allow([^CXXFLAGS$])
-m4trace:config.m4:10: -1- AC_SUBST([LDFLAGS])
-m4trace:config.m4:10: -1- AC_SUBST_TRACE([LDFLAGS])
-m4trace:config.m4:10: -1- m4_pattern_allow([^LDFLAGS$])
-m4trace:config.m4:10: -1- AC_SUBST([LIBS])
-m4trace:config.m4:10: -1- AC_SUBST_TRACE([LIBS])
-m4trace:config.m4:10: -1- m4_pattern_allow([^LIBS$])
-m4trace:config.m4:10: -1- AC_SUBST([CPPFLAGS])
-m4trace:config.m4:10: -1- AC_SUBST_TRACE([CPPFLAGS])
-m4trace:config.m4:10: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:config.m4:10: -1- AC_SUBST([CXX])
-m4trace:config.m4:10: -1- AC_SUBST_TRACE([CXX])
-m4trace:config.m4:10: -1- m4_pattern_allow([^CXX$])
-m4trace:config.m4:10: -1- AC_SUBST([ac_ct_CXX])
-m4trace:config.m4:10: -1- AC_SUBST_TRACE([ac_ct_CXX])
-m4trace:config.m4:10: -1- m4_pattern_allow([^ac_ct_CXX$])
-m4trace:config.m4:10: -1- AC_SUBST([CXXCPP])
-m4trace:config.m4:10: -1- AC_SUBST_TRACE([CXXCPP])
-m4trace:config.m4:10: -1- m4_pattern_allow([^CXXCPP$])
-m4trace:config.m4:10: -1- AC_SUBST([CPPFLAGS])
-m4trace:config.m4:10: -1- AC_SUBST_TRACE([CPPFLAGS])
-m4trace:config.m4:10: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:config.m4:10: -1- AC_SUBST([CXXCPP])
-m4trace:config.m4:10: -1- AC_SUBST_TRACE([CXXCPP])
-m4trace:config.m4:10: -1- m4_pattern_allow([^CXXCPP$])
-m4trace:config.m4:13: -1- AC_DEFINE_TRACE_LITERAL([COMPILE_DL_THRIFT_PROTOCOL])
-m4trace:config.m4:13: -1- m4_pattern_allow([^COMPILE_DL_THRIFT_PROTOCOL$])
-m4trace:config.m4:13: -1- AH_OUTPUT([COMPILE_DL_THRIFT_PROTOCOL], [/* Whether to build thrift_protocol as dynamic module */
-@%:@undef COMPILE_DL_THRIFT_PROTOCOL])
-m4trace:configure.in:150: -1- AC_PROG_LIBTOOL
-m4trace:configure.in:150: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
-You should run autoupdate.], [aclocal.m4:2979: AC_PROG_LIBTOOL is expanded from...
-configure.in:150: the top level])
-m4trace:configure.in:150: -1- LT_INIT
-m4trace:configure.in:150: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
-m4trace:configure.in:150: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
-m4trace:configure.in:150: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
-m4trace:configure.in:150: -1- AC_SUBST([LIBTOOL])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([LIBTOOL])
-m4trace:configure.in:150: -1- m4_pattern_allow([^LIBTOOL$])
-m4trace:configure.in:150: -1- AC_SUBST([SED])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([SED])
-m4trace:configure.in:150: -1- m4_pattern_allow([^SED$])
-m4trace:configure.in:150: -1- AC_SUBST([FGREP])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([FGREP])
-m4trace:configure.in:150: -1- m4_pattern_allow([^FGREP$])
-m4trace:configure.in:150: -1- AC_SUBST([GREP])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([GREP])
-m4trace:configure.in:150: -1- m4_pattern_allow([^GREP$])
-m4trace:configure.in:150: -1- AC_SUBST([LD])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([LD])
-m4trace:configure.in:150: -1- m4_pattern_allow([^LD$])
-m4trace:configure.in:150: -1- AC_SUBST([DUMPBIN])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([DUMPBIN])
-m4trace:configure.in:150: -1- m4_pattern_allow([^DUMPBIN$])
-m4trace:configure.in:150: -1- AC_SUBST([ac_ct_DUMPBIN])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN])
-m4trace:configure.in:150: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
-m4trace:configure.in:150: -1- AC_SUBST([DUMPBIN])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([DUMPBIN])
-m4trace:configure.in:150: -1- m4_pattern_allow([^DUMPBIN$])
-m4trace:configure.in:150: -1- AC_SUBST([NM])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([NM])
-m4trace:configure.in:150: -1- m4_pattern_allow([^NM$])
-m4trace:configure.in:150: -1- AC_SUBST([LN_S], [$as_ln_s])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([LN_S])
-m4trace:configure.in:150: -1- m4_pattern_allow([^LN_S$])
-m4trace:configure.in:150: -1- AC_SUBST([OBJDUMP])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([OBJDUMP])
-m4trace:configure.in:150: -1- m4_pattern_allow([^OBJDUMP$])
-m4trace:configure.in:150: -1- AC_SUBST([OBJDUMP])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([OBJDUMP])
-m4trace:configure.in:150: -1- m4_pattern_allow([^OBJDUMP$])
-m4trace:configure.in:150: -1- AC_SUBST([AR])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([AR])
-m4trace:configure.in:150: -1- m4_pattern_allow([^AR$])
-m4trace:configure.in:150: -1- AC_SUBST([STRIP])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([STRIP])
-m4trace:configure.in:150: -1- m4_pattern_allow([^STRIP$])
-m4trace:configure.in:150: -1- AC_SUBST([RANLIB])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([RANLIB])
-m4trace:configure.in:150: -1- m4_pattern_allow([^RANLIB$])
-m4trace:configure.in:150: -1- m4_pattern_allow([LT_OBJDIR])
-m4trace:configure.in:150: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR])
-m4trace:configure.in:150: -1- m4_pattern_allow([^LT_OBJDIR$])
-m4trace:configure.in:150: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory in which libtool stores uninstalled libraries.
- */
-@%:@undef LT_OBJDIR])
-m4trace:configure.in:150: -1- AC_SUBST([lt_ECHO])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([lt_ECHO])
-m4trace:configure.in:150: -1- m4_pattern_allow([^lt_ECHO$])
-m4trace:configure.in:150: -1- LT_SUPPORTED_TAG([CC])
-m4trace:configure.in:150: -1- AC_SUBST([DSYMUTIL])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([DSYMUTIL])
-m4trace:configure.in:150: -1- m4_pattern_allow([^DSYMUTIL$])
-m4trace:configure.in:150: -1- AC_SUBST([NMEDIT])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([NMEDIT])
-m4trace:configure.in:150: -1- m4_pattern_allow([^NMEDIT$])
-m4trace:configure.in:150: -1- AC_SUBST([LIPO])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([LIPO])
-m4trace:configure.in:150: -1- m4_pattern_allow([^LIPO$])
-m4trace:configure.in:150: -1- AC_SUBST([OTOOL])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([OTOOL])
-m4trace:configure.in:150: -1- m4_pattern_allow([^OTOOL$])
-m4trace:configure.in:150: -1- AC_SUBST([OTOOL64])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([OTOOL64])
-m4trace:configure.in:150: -1- m4_pattern_allow([^OTOOL64$])
-m4trace:configure.in:150: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
-@%:@undef HAVE_DLFCN_H])
-m4trace:configure.in:150: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
-m4trace:configure.in:150: -1- m4_pattern_allow([^STDC_HEADERS$])
-m4trace:configure.in:150: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
-@%:@undef STDC_HEADERS])
-m4trace:configure.in:150: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
-@%:@undef HAVE_SYS_TYPES_H])
-m4trace:configure.in:150: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
-@%:@undef HAVE_SYS_STAT_H])
-m4trace:configure.in:150: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
-@%:@undef HAVE_STDLIB_H])
-m4trace:configure.in:150: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
-@%:@undef HAVE_STRING_H])
-m4trace:configure.in:150: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
-@%:@undef HAVE_MEMORY_H])
-m4trace:configure.in:150: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
-@%:@undef HAVE_STRINGS_H])
-m4trace:configure.in:150: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
-@%:@undef HAVE_INTTYPES_H])
-m4trace:configure.in:150: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
-@%:@undef HAVE_STDINT_H])
-m4trace:configure.in:150: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
-@%:@undef HAVE_UNISTD_H])
-m4trace:configure.in:150: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H])
-m4trace:configure.in:150: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
-m4trace:configure.in:150: -1- LT_SUPPORTED_TAG([CXX])
-m4trace:configure.in:150: -1- AC_SUBST([CXX])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([CXX])
-m4trace:configure.in:150: -1- m4_pattern_allow([^CXX$])
-m4trace:configure.in:150: -1- AC_SUBST([CXXFLAGS])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([CXXFLAGS])
-m4trace:configure.in:150: -1- m4_pattern_allow([^CXXFLAGS$])
-m4trace:configure.in:150: -1- AC_SUBST([LDFLAGS])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([LDFLAGS])
-m4trace:configure.in:150: -1- m4_pattern_allow([^LDFLAGS$])
-m4trace:configure.in:150: -1- AC_SUBST([LIBS])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([LIBS])
-m4trace:configure.in:150: -1- m4_pattern_allow([^LIBS$])
-m4trace:configure.in:150: -1- AC_SUBST([CPPFLAGS])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([CPPFLAGS])
-m4trace:configure.in:150: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:configure.in:150: -1- AC_SUBST([CXX])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([CXX])
-m4trace:configure.in:150: -1- m4_pattern_allow([^CXX$])
-m4trace:configure.in:150: -1- AC_SUBST([ac_ct_CXX])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([ac_ct_CXX])
-m4trace:configure.in:150: -1- m4_pattern_allow([^ac_ct_CXX$])
-m4trace:configure.in:150: -1- AC_SUBST([CXXCPP])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([CXXCPP])
-m4trace:configure.in:150: -1- m4_pattern_allow([^CXXCPP$])
-m4trace:configure.in:150: -1- AC_SUBST([CPPFLAGS])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([CPPFLAGS])
-m4trace:configure.in:150: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:configure.in:150: -1- AC_SUBST([CXXCPP])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([CXXCPP])
-m4trace:configure.in:150: -1- m4_pattern_allow([^CXXCPP$])
-m4trace:configure.in:150: -1- AC_SUBST([LD])
-m4trace:configure.in:150: -1- AC_SUBST_TRACE([LD])
-m4trace:configure.in:150: -1- m4_pattern_allow([^LD$])
-m4trace:configure.in:201: -1- AC_CONFIG_HEADERS([config.h])
-m4trace:configure.in:203: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
-m4trace:configure.in:203: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
-m4trace:configure.in:203: -1- m4_pattern_allow([^LIB@&t@OBJS$])
-m4trace:configure.in:203: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
-m4trace:configure.in:203: -1- AC_SUBST_TRACE([LTLIBOBJS])
-m4trace:configure.in:203: -1- m4_pattern_allow([^LTLIBOBJS$])
-m4trace:configure.in:203: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
View
7,377 thrift/ext/thrift_protocol/build/libtool.m4
0 additions, 7,377 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
368 thrift/ext/thrift_protocol/build/ltoptions.m4
@@ -1,368 +0,0 @@
-# Helper functions for option handling. -*- Autoconf -*-
-#
-# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
-# Written by Gary V. Vaughan, 2004
-#
-# This file is free software; the Free Software Foundation gives
-# unlimited permission to copy and/or distribute it, with or without
-# modifications, as long as this notice is preserved.
-
-# serial 6 ltoptions.m4
-
-# This is to help aclocal find these macros, as it can't see m4_define.
-AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
-
-
-# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
-# ------------------------------------------
-m4_define([_LT_MANGLE_OPTION],
-[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
-
-
-# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
-# ---------------------------------------
-# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
-# matching handler defined, dispatch to it. Other OPTION-NAMEs are
-# saved as a flag.
-m4_define([_LT_SET_OPTION],
-[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
-m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
- _LT_MANGLE_DEFUN([$1], [$2]),
- [m4_warning([Unknown $1 option `$2'])])[]dnl
-])
-
-
-# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
-# ------------------------------------------------------------
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
-m4_define([_LT_IF_OPTION],
-[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
-
-
-# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
-# -------------------------------------------------------
-# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
-# are set.
-m4_define([_LT_UNLESS_OPTIONS],
-[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
- [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
- [m4_define([$0_found])])])[]dnl
-m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
-])[]dnl
-])
-
-
-# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
-# ----------------------------------------
-# OPTION-LIST is a space-separated list of Libtool options associated
-# with MACRO-NAME. If any OPTION has a matching handler declared with
-# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
-# the unknown option and exit.
-m4_defun([_LT_SET_OPTIONS],
-[# Set options
-m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
- [_LT_SET_OPTION([$1], _LT_Option)])
-
-m4_if([$1],[LT_INIT],[
- dnl
- dnl Simply set some default values (i.e off) if boolean options were not
- dnl specified:
- _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
- ])
- _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
- ])
- dnl
- dnl If no reference was made to various pairs of opposing options, then
- dnl we run the default mode handler for the pair. For example, if neither
- dnl `shared' nor `disable-shared' was passed, we enable building of shared
- dnl archives by default:
- _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
- _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
- _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
- _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
- [_LT_ENABLE_FAST_INSTALL])
- ])
-])# _LT_SET_OPTIONS
-
-
-## --------------------------------- ##
-## Macros to handle LT_INIT options. ##
-## --------------------------------- ##
-
-# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
-# -----------------------------------------
-m4_define([_LT_MANGLE_DEFUN],
-[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
-
-
-# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
-# -----------------------------------------------
-m4_define([LT_OPTION_DEFINE],
-[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
-])# LT_OPTION_DEFINE
-
-
-# dlopen
-# ------
-LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
-])
-
-AU_DEFUN([AC_LIBTOOL_DLOPEN],
-[_LT_SET_OPTION([LT_INIT], [dlopen])
-AC_DIAGNOSE([obsolete],
-[$0: Remove this warning and the call to _LT_SET_OPTION when you
-put the `dlopen' option into LT_INIT's first parameter.])
-])
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
-
-
-# win32-dll
-# ---------
-# Declare package support for building win32 dll's.
-LT_OPTION_DEFINE([LT_INIT], [win32-dll],
-[enable_win32_dll=yes
-
-case $host in
-*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
- AC_CHECK_TOOL(AS, as, false)
- AC_CHECK_TOOL(DLLTOOL, dlltool, false)
- AC_CHECK_TOOL(OBJDUMP, objdump, false)
- ;;
-esac
-
-test -z "$AS" && AS=as
-_LT_DECL([], [AS], [0], [Assembler program])dnl
-
-test -z "$DLLTOOL" && DLLTOOL=dlltool
-_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
-
-test -z "$OBJDUMP" && OBJDUMP=objdump
-_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
-])# win32-dll
-
-AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
-_LT_SET_OPTION([LT_INIT], [win32-dll])
-AC_DIAGNOSE([obsolete],
-[$0: Remove this warning and the call to _LT_SET_OPTION when you
-put the `win32-dll' option into LT_INIT's first parameter.])
-])
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
-
-
-# _LT_ENABLE_SHARED([DEFAULT])
-# ----------------------------
-# implement the --enable-shared flag, and supports the `shared' and
-# `disable-shared' LT_INIT options.
-# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
-m4_define([_LT_ENABLE_SHARED],
-[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
-AC_ARG_ENABLE([shared],
- [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
- [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
- [p=${PACKAGE-default}
- case $enableval in
- yes) enable_shared=yes ;;
- no) enable_shared=no ;;
- *)
- enable_shared=no
- # Look at the argument we got. We use all the common list separators.
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
- for pkg in $enableval; do
- IFS="$lt_save_ifs"
- if test "X$pkg" = "X$p"; then
- enable_shared=yes
- fi
- done
- IFS="$lt_save_ifs"
- ;;
- esac],
- [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
-
- _LT_DECL([build_libtool_libs], [enable_shared], [0],
- [Whether or not to build shared libraries])
-])# _LT_ENABLE_SHARED
-
-LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
-LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
-
-# Old names:
-AC_DEFUN([AC_ENABLE_SHARED],
-[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
-])
-
-AC_DEFUN([AC_DISABLE_SHARED],
-[_LT_SET_OPTION([LT_INIT], [disable-shared])
-])
-
-AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
-AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AM_ENABLE_SHARED], [])
-dnl AC_DEFUN([AM_DISABLE_SHARED], [])
-
-
-
-# _LT_ENABLE_STATIC([DEFAULT])
-# ----------------------------
-# implement the --enable-static flag, and support the `static' and
-# `disable-static' LT_INIT options.
-# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
-m4_define([_LT_ENABLE_STATIC],
-[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
-AC_ARG_ENABLE([static],
- [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
- [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
- [p=${PACKAGE-default}
- case $enableval in
- yes) enable_static=yes ;;
- no) enable_static=no ;;
- *)
- enable_static=no
- # Look at the argument we got. We use all the common list separators.
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
- for pkg in $enableval; do
- IFS="$lt_save_ifs"
- if test "X$pkg" = "X$p"; then
- enable_static=yes
- fi
- done
- IFS="$lt_save_ifs"
- ;;
- esac],
- [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
-
- _LT_DECL([build_old_libs], [enable_static], [0],
- [Whether or not to build static libraries])
-])# _LT_ENABLE_STATIC
-
-LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
-LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
-
-# Old names:
-AC_DEFUN([AC_ENABLE_STATIC],
-[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
-])
-
-AC_DEFUN([AC_DISABLE_STATIC],
-[_LT_SET_OPTION([LT_INIT], [disable-static])
-])
-
-AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
-AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AM_ENABLE_STATIC], [])
-dnl AC_DEFUN([AM_DISABLE_STATIC], [])
-
-
-
-# _LT_ENABLE_FAST_INSTALL([DEFAULT])
-# ----------------------------------
-# implement the --enable-fast-install flag, and support the `fast-install'
-# and `disable-fast-install' LT_INIT options.
-# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
-m4_define([_LT_ENABLE_FAST_INSTALL],
-[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
-AC_ARG_ENABLE([fast-install],
- [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
- [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
- [p=${PACKAGE-default}
- case $enableval in
- yes) enable_fast_install=yes ;;
- no) enable_fast_install=no ;;
- *)
- enable_fast_install=no
- # Look at the argument we got. We use all the common list separators.
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
- for pkg in $enableval; do
- IFS="$lt_save_ifs"
- if test "X$pkg" = "X$p"; then
- enable_fast_install=yes
- fi
- done
- IFS="$lt_save_ifs"
- ;;
- esac],
- [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
-
-_LT_DECL([fast_install], [enable_fast_install], [0],
- [Whether or not to optimize for fast installation])dnl
-])# _LT_ENABLE_FAST_INSTALL
-
-LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
-LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
-
-# Old names:
-AU_DEFUN([AC_ENABLE_FAST_INSTALL],
-[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
-AC_DIAGNOSE([obsolete],
-[$0: Remove this warning and the call to _LT_SET_OPTION when you put
-the `fast-install' option into LT_INIT's first parameter.])
-])
-
-AU_DEFUN([AC_DISABLE_FAST_INSTALL],
-[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
-AC_DIAGNOSE([obsolete],
-[$0: Remove this warning and the call to _LT_SET_OPTION when you put
-the `disable-fast-install' option into LT_INIT's first parameter.])
-])
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
-dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
-
-
-# _LT_WITH_PIC([MODE])
-# --------------------
-# implement the --with-pic flag, and support the `pic-only' and `no-pic'
-# LT_INIT options.
-# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
-m4_define([_LT_WITH_PIC],
-[AC_ARG_WITH([pic],
- [AS_HELP_STRING([--with-pic],
- [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
- [pic_mode="$withval"],
- [pic_mode=default])
-
-test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
-
-_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
-])# _LT_WITH_PIC
-
-LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
-LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
-
-# Old name:
-AU_DEFUN([AC_LIBTOOL_PICMODE],
-[_LT_SET_OPTION([LT_INIT], [pic-only])
-AC_DIAGNOSE([obsolete],
-[$0: Remove this warning and the call to _LT_SET_OPTION when you
-put the `pic-only' option into LT_INIT's first parameter.])
-])
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
-
-## ----------------- ##
-## LTDL_INIT Options ##
-## ----------------- ##
-
-m4_define([_LTDL_MODE], [])
-LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
- [m4_define([_LTDL_MODE], [nonrecursive])])
-LT_OPTION_DEFINE([LTDL_INIT], [recursive],
- [m4_define([_LTDL_MODE], [recursive])])
-LT_OPTION_DEFINE([LTDL_INIT], [subproject],
- [m4_define([_LTDL_MODE], [subproject])])
-
-m4_define([_LTDL_TYPE], [])
-LT_OPTION_DEFINE([LTDL_INIT], [installable],
- [m4_define([_LTDL_TYPE], [installable])])
-LT_OPTION_DEFINE([LTDL_INIT], [convenience],
- [m4_define([_LTDL_TYPE], [convenience])])
View
123 thrift/ext/thrift_protocol/build/ltsugar.m4
@@ -1,123 +0,0 @@
-# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
-#
-# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
-# Written by Gary V. Vaughan, 2004
-#
-# This file is free software; the Free Software Foundation gives
-# unlimited permission to copy and/or distribute it, with or without
-# modifications, as long as this notice is preserved.
-
-# serial 6 ltsugar.m4
-
-# This is to help aclocal find these macros, as it can't see m4_define.
-AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
-
-
-# lt_join(SEP, ARG1, [ARG2...])
-# -----------------------------
-# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
-# associated separator.
-# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
-# versions in m4sugar had bugs.
-m4_define([lt_join],
-[m4_if([$#], [1], [],
- [$#], [2], [[$2]],
- [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
-m4_define([_lt_join],
-[m4_if([$#$2], [2], [],
- [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
-
-
-# lt_car(LIST)
-# lt_cdr(LIST)
-# ------------
-# Manipulate m4 lists.
-# These macros are necessary as long as will still need to support
-# Autoconf-2.59 which quotes differently.
-m4_define([lt_car], [[$1]])
-m4_define([lt_cdr],
-[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
- [$#], 1, [],
- [m4_dquote(m4_shift($@))])])
-m4_define([lt_unquote], $1)
-
-
-# lt_append(MACRO-NAME, STRING, [SEPARATOR])
-# ------------------------------------------
-# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
-# Note that neither SEPARATOR nor STRING are expanded; they are appended
-# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
-# No SEPARATOR is output if MACRO-NAME was previously undefined (different
-# than defined and empty).
-#
-# This macro is needed until we can rely on Autoconf 2.62, since earlier
-# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
-m4_define([lt_append],
-[m4_define([$1],
- m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
-
-
-
-# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
-# ----------------------------------------------------------
-# Produce a SEP delimited list of all paired combinations of elements of
-# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
-# has the form PREFIXmINFIXSUFFIXn.
-# Needed until we can rely on m4_combine added in Autoconf 2.62.
-m4_define([lt_combine],
-[m4_if(m4_eval([$# > 3]), [1],
- [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
-[[m4_foreach([_Lt_prefix], [$2],
- [m4_foreach([_Lt_suffix],
- ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
- [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
-
-
-# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
-# -----------------------------------------------------------------------
-# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
-# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
-m4_define([lt_if_append_uniq],
-[m4_ifdef([$1],
- [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
- [lt_append([$1], [$2], [$3])$4],
- [$5])],
- [lt_append([$1], [$2], [$3])$4])])
-
-
-# lt_dict_add(DICT, KEY, VALUE)
-# -----------------------------
-m4_define([lt_dict_add],
-[m4_define([$1($2)], [$3])])
-
-
-# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
-# --------------------------------------------
-m4_define([lt_dict_add_subkey],
-[m4_define([$1($2:$3)], [$4])])
-
-
-# lt_dict_fetch(DICT, KEY, [SUBKEY])
-# ----------------------------------
-m4_