# - 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
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],