]> git.rm.cloudns.org Git - xonotic/d0_blind_id.git/commitdiff
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 acd3bcb2e421e7fe468929a7021a19b782749d4e..9af96b16c8061095d050de50fa82e55316acd4fb 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 63d299262b64983bed03017632f43f235ad48117..b84bd7df85bc79bb72843412158cdcd482121bf5 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],