mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-06 18:35:19 +00:00
autoconf/automake line noise for linux/osx builds
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664730 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fe5ba12e4a
commit
9f0ba255a9
1
lib/cpp/Makefile.am
Normal file
1
lib/cpp/Makefile.am
Normal file
@ -0,0 +1 @@
|
||||
SUBDIRS = src
|
8
lib/cpp/bootstrap.sh
Executable file
8
lib/cpp/bootstrap.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
autoscan
|
||||
autoheader
|
||||
aclocal
|
||||
libtoolize --force
|
||||
touch NEWS README AUTHORS ChangeLog
|
||||
autoconf
|
||||
automake -ac
|
57
lib/cpp/configure.ac
Normal file
57
lib/cpp/configure.ac
Normal file
@ -0,0 +1,57 @@
|
||||
AC_PREREQ(2.59)
|
||||
|
||||
AC_INIT(thrift, 1.0)
|
||||
|
||||
AC_CONFIG_SRCDIR(src/Thrift.h)
|
||||
|
||||
AM_INIT_AUTOMAKE
|
||||
|
||||
AC_CHECK_FUNCS([gethostbyname])
|
||||
|
||||
AC_CHECK_FUNCS([gettimeofday])
|
||||
|
||||
AC_CHECK_FUNCS([memset])
|
||||
|
||||
AC_CHECK_FUNCS([socket])
|
||||
|
||||
AC_CHECK_HEADERS([arpa/inet.h])
|
||||
|
||||
AC_CHECK_HEADERS([inttypes.h])
|
||||
|
||||
AC_CHECK_HEADERS([netdb.h])
|
||||
|
||||
AC_CHECK_HEADERS([netinet/in.h])
|
||||
|
||||
AC_CHECK_HEADERS([pthread.h])
|
||||
|
||||
AC_CHECK_HEADERS([stddef.h])
|
||||
|
||||
AC_CHECK_HEADERS([sys/socket.h])
|
||||
|
||||
AC_CHECK_HEADERS([sys/time.h])
|
||||
|
||||
AC_CHECK_HEADERS([unistd.h])
|
||||
|
||||
AC_C_CONST
|
||||
|
||||
AC_C_VOLATILE
|
||||
|
||||
AC_HEADER_STDBOOL
|
||||
|
||||
AC_HEADER_STDC
|
||||
|
||||
AC_HEADER_TIME
|
||||
|
||||
AC_TYPE_SIZE_T
|
||||
|
||||
AC_CONFIG_HEADERS(config.h:config.hin)
|
||||
|
||||
AC_PROG_CC
|
||||
|
||||
AC_PROG_CXX
|
||||
|
||||
AC_PROG_INSTALL
|
||||
|
||||
AC_PROG_LIBTOOL
|
||||
|
||||
AC_OUTPUT([Makefile src/Makefile src/concurrency/Makefile])
|
1
lib/cpp/src/Makefile.am
Normal file
1
lib/cpp/src/Makefile.am
Normal file
@ -0,0 +1 @@
|
||||
SUBDIRS = concurrency
|
10
lib/cpp/src/concurrency/Makefile.am
Normal file
10
lib/cpp/src/concurrency/Makefile.am
Normal file
@ -0,0 +1,10 @@
|
||||
lib_LTLIBRARIES = libconcurrency.la
|
||||
|
||||
# Define the source file for the module
|
||||
|
||||
libconcurrency_la_SOURCES = Monitor.cc \
|
||||
PosixThreadFactory.cc \
|
||||
ThreadManager.cc \
|
||||
TimerManager.cc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user