From: Rudolf Polzer Date: Thu, 2 Sep 2010 06:56:30 +0000 (+0200) Subject: fix some autostuff X-Git-Tag: xonotic-v0.1.0preview~19 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=df54d741cdd40f9d1cb4b577a2acb9a00611409b;p=xonotic%2Fd0_blind_id.git fix some autostuff --- 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],