fix some autostuff
authorRudolf Polzer <divverent@alientrap.org>
Thu, 2 Sep 2010 06:56:30 +0000 (08:56 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Thu, 2 Sep 2010 06:56:30 +0000 (08:56 +0200)
Makefile.am
configure.ac

index acd3bcb..9af96b1 100644 (file)
@@ -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
index 63d2992..b84bd7d 100644 (file)
@@ -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],