From ebb3d7650ef7013fb63d411ada1a48a2b7036755 Mon Sep 17 00:00:00 2001 From: Joseph Wayne Norton Date: Sun, 29 Jul 2012 01:32:48 +0900 Subject: [PATCH] Fix snappy for autoconf 2.69 on Mac OS X 10.8 --- c_src/build_deps.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/c_src/build_deps.sh b/c_src/build_deps.sh index abf11d3..33ece09 100755 --- a/c_src/build_deps.sh +++ b/c_src/build_deps.sh @@ -68,7 +68,8 @@ case "$1" in (cd $REBAR_DEPS_DIR/snappy && git archive --format=tar --prefix=snappy-$SNAPPY_VSN/ $SNAPPY_VSN) \ | tar xf - (cd snappy-$SNAPPY_VSN && \ - sed -ibak '/^AC_ARG_WITH.*$/, /^fi$/d' configure.ac + sed -ibak1 '/^AC_ARG_WITH.*$/, /^fi$/d' configure.ac && \ + perl -ibak2 -pe 's/LT_INIT/AM_PROG_AR\nLT_INIT/' configure.ac ) (cd snappy-$SNAPPY_VSN && \ rm -rf autom4te.cache && \