From df54d741cdd40f9d1cb4b577a2acb9a00611409b Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 2 Sep 2010 08:56:30 +0200 Subject: [PATCH] fix some autostuff --- Makefile.am | 7 ++++--- configure.ac | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index acd3bcb..9af96b1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,11 +11,12 @@ lib_LTLIBRARIES = libd0_blind_id.la # - internal change: c:r:a -> c:r+1:a libd0_blind_id_la_SOURCES = d0_blind_id.c d0.c d0_iobuf.c sha2.c \ - d0_blind_id.h d0.h d0_iobuf.h sha2.h + d0_blind_id.h d0.h d0_iobuf.h sha2.h \ + d0_bignum.h if WITH_OPENSSL -libd0_blind_id_la_SOURCES += d0_bignum-openssl.c d0_bignum-openssl.h +libd0_blind_id_la_SOURCES += d0_bignum-openssl.c else -libd0_blind_id_la_SOURCES += d0_bignum-gmp.c d0_bignum-gmp.h +libd0_blind_id_la_SOURCES += d0_bignum-gmp.c endif libd0_blind_id_la_LDFLAGS = -versioninfo 3:0:3 libd0_blind_id_la_CFLAGS = -fvisibility=hidden -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement diff --git a/configure.ac b/configure.ac index 63d2992..b84bd7d 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,7 @@ AM_INIT_AUTOMAKE([-Wall foreign]) AC_PROG_CC AC_PROG_LIBTOOL -AC_ARG_WITH(openssl, AS_HELP_STRING([--with-openssl], [Use OpenSSL instead of GMP (beware of the OpenSSL license)]), [with_openssl=$enableval], [with_openssl=no]) +AC_ARG_WITH(openssl, AS_HELP_STRING([--with-openssl], [Use OpenSSL instead of GMP (beware of the OpenSSL license)]), [with_openssl=$withval], [with_openssl=no]) AM_CONDITIONAL(WITH_OPENSSL, [test x"$with_openssl" != xno]) AS_IF([test x"$with_openssl" != xno], -- 2.39.2