mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-28 09:14:12 +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_CONFIG_HEADER(config.h)
|
||||||
|
|
||||||
AC_PROG_LIBTOOL
|
AC_PROG_LIBTOOL
|
||||||
#AC_CHECK_PROG(RUBY, ruby, ruby, [$PATH])
|
|
||||||
|
|
||||||
AC_CONFIG_SUBDIRS([c cpp])
|
AC_CONFIG_SUBDIRS([c cpp])
|
||||||
AC_OUTPUT([Makefile])
|
AC_OUTPUT([Makefile])
|
||||||
|
@ -30,7 +30,7 @@ unpack.lo: msgpack/type/tuple.hpp
|
|||||||
zone.lo: msgpack/type/tuple.hpp
|
zone.lo: msgpack/type/tuple.hpp
|
||||||
|
|
||||||
msgpack/type/tuple.hpp: msgpack/type/tuple.hpp.erb
|
msgpack/type/tuple.hpp: msgpack/type/tuple.hpp.erb
|
||||||
erb $< > $@
|
$(ERB) $< > $@
|
||||||
|
|
||||||
MOSTLYCLEANFILES = msgpack/type/tuple.hpp
|
MOSTLYCLEANFILES = msgpack/type/tuple.hpp
|
||||||
|
|
||||||
|
@ -9,7 +9,11 @@ fi
|
|||||||
|
|
||||||
AC_PROG_CXX
|
AC_PROG_CXX
|
||||||
AC_PROG_LIBTOOL
|
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)
|
AC_CHECK_LIB(stdc++, main)
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#include "msgpack/object.hpp"
|
#include "msgpack/object.hpp"
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
namespace msgpack {
|
namespace msgpack {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user