From cadaadac73982b33dfade32e130f0e362b1e5b2b Mon Sep 17 00:00:00 2001 From: Nick Doiron Date: Tue, 18 Oct 2016 13:12:33 -0400 Subject: [PATCH] run glibtoolize on OSX --- autogen.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index d8c4966..5640583 100755 --- a/autogen.sh +++ b/autogen.sh @@ -30,5 +30,8 @@ echo "${NAME}_CXXFLAGS = ${COMMON_CXXFLAGS}" >>$OUT echo "${NAME}_LDFLAGS = ${COMMON_LDFLAGS} \$(CRYPTOPP_CFLAGS) " >>$OUT echo "${NAME}_LDADD = -lgmp -lfftw3 -lm \$(CRYPTOPP_LIBS) ${COMMON_LDADD} " >>$OUT -libtoolize --force && aclocal && autoconf && automake --add-missing - +if [[ "$OSTYPE" == "darwin"* ]]; then + glibtoolize --force && aclocal && autoconf && automake --add-missing +else + libtoolize --force && aclocal && autoconf && automake --add-missing +fi