X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=configure.ac;h=b7fd02b1d2347aac819a7f48841c5af1c27618c8;hb=ae3fd061b8f3a0787d44f4418cc4e0bfc09001ca;hp=35ceec5824c4e2afcd01a85556643f1c9cbb383b;hpb=9dec172acb29d4aa16120784b1587edd7f46648c;p=openssl-gost%2Fengine.git diff --git a/configure.ac b/configure.ac index 35ceec5..b7fd02b 100644 --- a/configure.ac +++ b/configure.ac @@ -10,6 +10,7 @@ AC_ARG_WITH([enginedir], [AS_HELP_STRING([--with-enginedir],[specify location of OpenSSL engines])], [ENGINEDIR="$withval"]) AC_SUBST(ENGINEDIR) +AC_C_BIGENDIAN([],[AM_CPPFLAGS="-DL_ENDIAN"],[],[]) # Checks for programs. AC_PROG_CC @@ -18,5 +19,6 @@ AC_PROG_LIBTOOL AC_CHECK_PROG([PERL],[perl],[perl],[AC_MSG_ERROR([*** perl not found])]) # Checks for libraries. AC_CHECK_LIB([crypto], [ENGINE_new], [], [AC_MSG_ERROR([*** libcrypto not found])]) -AC_CONFIG_FILES([Makefile]) +AC_SUBST(AM_CPPFLAGS) +AC_CONFIG_FILES([Makefile test/Makefile]) AC_OUTPUT