THRIFT-2039 config.h --> thrift-config.h
authorKonrad Grochowski <hcorg@minions.org.pl>
Sat, 22 Jun 2013 20:03:31 +0000 (22:03 +0200)
committerRoger Meier <roger@apache.org>
Sat, 22 Jun 2013 20:03:31 +0000 (22:03 +0200)
Signed-off-by: Roger Meier <roger@apache.org>
25 files changed:
lib/cpp/src/thrift/TLogging.h
lib/cpp/src/thrift/Thrift.h
lib/cpp/src/thrift/concurrency/BoostMonitor.cpp
lib/cpp/src/thrift/concurrency/BoostMutex.cpp
lib/cpp/src/thrift/concurrency/BoostThreadFactory.cpp
lib/cpp/src/thrift/concurrency/Mutex.cpp
lib/cpp/src/thrift/concurrency/PlatformThreadFactory.h
lib/cpp/src/thrift/concurrency/PosixThreadFactory.cpp
lib/cpp/src/thrift/concurrency/StdMonitor.cpp
lib/cpp/src/thrift/concurrency/StdMutex.cpp
lib/cpp/src/thrift/concurrency/StdThreadFactory.cpp
lib/cpp/src/thrift/concurrency/Thread.h
lib/cpp/src/thrift/concurrency/ThreadManager.cpp
lib/cpp/src/thrift/concurrency/Util.cpp
lib/cpp/src/thrift/server/TNonblockingServer.cpp
lib/cpp/src/thrift/server/TServer.cpp
lib/cpp/src/thrift/server/TThreadPoolServer.cpp
lib/cpp/src/thrift/transport/TFileTransport.cpp
lib/cpp/src/thrift/transport/TPipeServer.cpp
lib/cpp/src/thrift/transport/TSSLSocket.cpp
lib/cpp/src/thrift/transport/TServerSocket.cpp
lib/cpp/src/thrift/transport/TSimpleFileTransport.cpp
lib/cpp/src/thrift/transport/TSocket.cpp
lib/cpp/src/thrift/transport/TSocketPool.cpp
lib/cpp/src/thrift/transport/TTransportException.cpp

index ff57180..4c8bddc 100644 (file)
@@ -20,9 +20,7 @@
 #ifndef _THRIFT_TLOGGING_H_
 #define _THRIFT_TLOGGING_H_ 1
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+#include <thrift/thrift-config.h>
 
 /**
  * Contains utility macros for debugging and logging.
index 361ff6a..03caa9e 100644 (file)
 #ifndef _THRIFT_THRIFT_H_
 #define _THRIFT_THRIFT_H_ 1
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
 #include <thrift/transport/PlatformSocket.h>
+
+#include <thrift/thrift-config.h>
+
 #include <stdio.h>
 #include <assert.h>
 
index ad33ce5..1027157 100644 (file)
@@ -17,9 +17,8 @@
  * under the License.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
+
 #include <thrift/concurrency/Monitor.h>
 #include <thrift/concurrency/Exception.h>
 #include <thrift/concurrency/Util.h>
index debe1b0..eb0c3c1 100644 (file)
@@ -17,9 +17,8 @@
  * under the License.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
+
 #include <thrift/concurrency/Mutex.h>
 #include <thrift/concurrency/Util.h>
 
index 784ff8e..577329b 100644 (file)
@@ -17,9 +17,8 @@
  * under the License.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
+
 #include <thrift/concurrency/BoostThreadFactory.h>
 #include <thrift/concurrency/Exception.h>
 
index 5a4bb54..3f7bb5b 100644 (file)
@@ -17,9 +17,8 @@
  * under the License.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
+
 #include <thrift/Thrift.h>
 #include <thrift/concurrency/Mutex.h>
 #include <thrift/concurrency/Util.h>
index a370c49..6e46dfc 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef _THRIFT_CONCURRENCY_PLATFORMTHREADFACTORY_H_
 #define _THRIFT_CONCURRENCY_PLATFORMTHREADFACTORY_H_ 1
 
-#include <config.h>
+#include <thrift/thrift-config.h>
 #if USE_BOOST_THREAD
 #  include <thrift/concurrency/BoostThreadFactory.h>
 #elif USE_STD_THREAD
index 39dd886..52ceead 100644 (file)
@@ -17,9 +17,8 @@
  * under the License.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
+
 #include <thrift/concurrency/PosixThreadFactory.h>
 #include <thrift/concurrency/Exception.h>
 
index 84cad66..cf257e6 100644 (file)
@@ -17,9 +17,8 @@
  * under the License.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
+
 #include <thrift/concurrency/Monitor.h>
 #include <thrift/concurrency/Exception.h>
 #include <thrift/concurrency/Util.h>
index 82a495f..28f889a 100644 (file)
@@ -17,9 +17,8 @@
  * under the License.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
+
 #include <thrift/concurrency/Mutex.h>
 #include <thrift/concurrency/Util.h>
 
index 443771d..3239bd9 100644 (file)
@@ -17,9 +17,8 @@
  * under the License.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
+
 #include <thrift/concurrency/StdThreadFactory.h>
 #include <thrift/concurrency/Exception.h>
 
index 894f035..7012933 100755 (executable)
@@ -24,9 +24,7 @@
 #include <boost/shared_ptr.hpp>
 #include <boost/weak_ptr.hpp>
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+#include <thrift/thrift-config.h>
 
 #if USE_BOOST_THREAD
 #  include <boost/thread.hpp>
index eb3bc64..d5373de 100644 (file)
@@ -17,9 +17,7 @@
  * under the License.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
 
 #include <thrift/concurrency/ThreadManager.h>
 #include <thrift/concurrency/Exception.h>
index 868f52f..7d9085e 100644 (file)
@@ -17,9 +17,8 @@
  * under the License.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
+
 #include <thrift/Thrift.h>
 #include <thrift/concurrency/Util.h>
 
index 331198b..12b4b8f 100644 (file)
@@ -19,9 +19,7 @@
 
 #define __STDC_FORMAT_MACROS
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
 
 #include <thrift/server/TNonblockingServer.h>
 #include <thrift/concurrency/Exception.h>
index a3edd6d..f4ce744 100755 (executable)
@@ -17,9 +17,7 @@
  * under the License.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
 
 #ifdef HAVE_SYS_TIME_H
 #include <sys/time.h>
index ef1f522..6ff946b 100644 (file)
@@ -17,9 +17,7 @@
  * under the License.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
 
 #include <thrift/server/TThreadPoolServer.h>
 #include <thrift/transport/TTransportException.h>
index 258a18c..c94ecd2 100644 (file)
@@ -17,9 +17,7 @@
  * under the License.
  */
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+#include <thrift/thrift-config.h>
 
 #include <thrift/transport/TFileTransport.h>
 #include <thrift/transport/TTransportUtils.h>
index 9c3b51b..10fc69b 100644 (file)
@@ -17,9 +17,7 @@
  * under the License.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
 #include <cstring>
 
 #include <thrift/transport/TPipe.h>
index 1af8aa7..029c541 100644 (file)
@@ -17,9 +17,8 @@
  * under the License.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
+
 #include <errno.h>
 #include <string>
 #ifdef HAVE_ARPA_INET_H
index 4cb0fd1..dc3cb58 100644 (file)
@@ -17,9 +17,8 @@
  * under the License.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
+
 #include <cstring>
 #include <sys/types.h>
 #ifdef HAVE_SYS_SOCKET_H
index 5bf571d..9af1445 100644 (file)
@@ -17,9 +17,8 @@
  * under the License.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
+
 #include <thrift/transport/TSimpleFileTransport.h>
 
 #include <sys/types.h>
index 1cffa70..a9a752c 100644 (file)
@@ -17,9 +17,8 @@
  * under the License.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
+
 #include <cstring>
 #include <sstream>
 #ifdef HAVE_SYS_SOCKET_H
index fdc5493..c468fb3 100644 (file)
@@ -17,9 +17,7 @@
  * under the License.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
 
 #include <algorithm>
 #include <iostream>
index bd4f44b..2c1f303 100644 (file)
@@ -21,9 +21,7 @@
 #include <boost/lexical_cast.hpp>
 #include <cstring>
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <thrift/thrift-config.h>
 
 using std::string;
 using boost::lexical_cast;
@@ -31,4 +29,3 @@ using boost::lexical_cast;
 namespace apache { namespace thrift { namespace transport {
 
 }}} // apache::thrift::transport
-