[Assorted-commits] SF.net SVN: assorted: [449] cpp-commons/trunk
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-02-15 06:35:38
|
Revision: 449 http://assorted.svn.sourceforge.net/assorted/?rev=449&view=rev Author: yangzhang Date: 2008-02-14 22:35:42 -0800 (Thu, 14 Feb 2008) Log Message: ----------- moved some key autotools files to tools, in case want this in future Added Paths: ----------- cpp-commons/trunk/tools/ cpp-commons/trunk/tools/Makefile.am cpp-commons/trunk/tools/README cpp-commons/trunk/tools/configure.ac Added: cpp-commons/trunk/tools/Makefile.am =================================================================== --- cpp-commons/trunk/tools/Makefile.am (rev 0) +++ cpp-commons/trunk/tools/Makefile.am 2008-02-15 06:35:42 UTC (rev 449) @@ -0,0 +1,14 @@ +bin_PROGRAMS = cppcommons + +# set the include path found by configure +INCLUDES = /opt/boost-1.34.0/include $(all_includes) + +# the library search path. +cppcommons_LDFLAGS = $(all_libraries) +lib_LIBRARIES = libcppcommons.a +cppcommons_SOURCES = test/files.cpp +libcppcommons_a_SOURCES = commons/cppcommons.cpp commons/files.h +include_HEADERS = commons/files.h \ + commons/ +AM_CXXFLAGS = -I/opt/boost-1.34.0/include/ +cppcommons_LDADD = -lboost_filesystem-gcc41 Added: cpp-commons/trunk/tools/README =================================================================== --- cpp-commons/trunk/tools/README (rev 0) +++ cpp-commons/trunk/tools/README 2008-02-15 06:35:42 UTC (rev 449) @@ -0,0 +1 @@ +Someday. Added: cpp-commons/trunk/tools/configure.ac =================================================================== --- cpp-commons/trunk/tools/configure.ac (rev 0) +++ cpp-commons/trunk/tools/configure.ac 2008-02-15 06:35:42 UTC (rev 449) @@ -0,0 +1,35 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.61) +AC_INIT([cppcommons], [0.1], [gmail:yaang]) +AM_INIT_AUTOMAKE(cppcommons, 0.1) +AM_PROG_LIBTOOL +AC_CONFIG_SRCDIR([commons/check.h]) +AC_CONFIG_HEADER([config.h]) + +# Checks for programs. +AC_PROG_CXX +AC_PROG_CC + +# Checks for libraries. + +# Checks for header files. +AC_CHECK_HEADERS([fcntl.h strings.h sys/time.h unistd.h]) + +# Checks for typedefs, structures, and compiler characteristics. +AC_HEADER_STDBOOL +AC_C_CONST +AC_C_INLINE +AC_TYPE_PID_T +AC_TYPE_SIZE_T +AC_TYPE_SSIZE_T +AC_HEADER_TIME +AC_CHECK_TYPES([ptrdiff_t]) + +# Checks for library functions. +AC_HEADER_STDC +AC_CHECK_FUNCS([gettimeofday strchr]) + +AC_CONFIG_FILES([src/Makefile]) +AC_OUTPUT This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |