mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-14 18:10:30 +01:00
lang/c/msgpack: ./configure requires erb
git-svn-id: file:///Users/frsyuki/project/msgpack-git/svn/x@77 5a5092ae-2292-43ba-b2d5-dcab9c1a2731
This commit is contained in:
parent
ccdb39ac60
commit
40ca91e101
@ -3,7 +3,6 @@ AM_INIT_AUTOMAKE(msgpack, 0.1.0)
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
|
||||
AC_PROG_LIBTOOL
|
||||
#AC_CHECK_PROG(RUBY, ruby, ruby, [$PATH])
|
||||
|
||||
AC_CONFIG_SUBDIRS([c cpp])
|
||||
AC_OUTPUT([Makefile])
|
||||
|
@ -30,7 +30,7 @@ unpack.lo: msgpack/type/tuple.hpp
|
||||
zone.lo: msgpack/type/tuple.hpp
|
||||
|
||||
msgpack/type/tuple.hpp: msgpack/type/tuple.hpp.erb
|
||||
erb $< > $@
|
||||
$(ERB) $< > $@
|
||||
|
||||
MOSTLYCLEANFILES = msgpack/type/tuple.hpp
|
||||
|
||||
|
@ -9,7 +9,11 @@ fi
|
||||
|
||||
AC_PROG_CXX
|
||||
AC_PROG_LIBTOOL
|
||||
AC_CHECK_PROG(ERB, erb, erb, [$PATH])
|
||||
|
||||
AC_CHECK_PROG(ERB, erb, erb)
|
||||
if test "x$ERB" = x; then
|
||||
AC_MSG_ERROR([cannot find erb. Ruby is needed to build.])
|
||||
fi
|
||||
|
||||
AC_CHECK_LIB(stdc++, main)
|
||||
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "msgpack/object.hpp"
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
|
||||
namespace msgpack {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user