summaryrefslogtreecommitdiff
path: root/cpp/configure.in
blob: a60a489a5ca1bd4f8764460e85b80ed09f56b4de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
AC_INIT(object.cpp)
AM_INIT_AUTOMAKE(msgpack, 0.1.0)
AC_CONFIG_HEADER(config.h)

AC_SUBST(CXXFLAGS)
if test "" = "$CXXFLAGS"; then
	CXXFLAGS="-g -O4"
fi

AC_PROG_CXX
AC_PROG_LIBTOOL
AC_CHECK_PROG(ERB, erb, erb, [$PATH])

AC_CHECK_LIB(stdc++, main)

CXXFLAGS="-O4 -Wall $CXXFLAGS -I.."

AC_OUTPUT([Makefile])