summaryrefslogtreecommitdiff
path: root/mpbsd
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-06-07 22:54:37 +0200
committerKevin Ryde <user42@zip.com.au>2001-06-07 22:54:37 +0200
commit6a9dd2ccaa63837676d58d31206d2a3b89ec44ec (patch)
tree18bf64c4bbd60573f6d2db97fe267595d5a87b8b /mpbsd
parent7afad6be99294457e428fbe7e76beeb8987eb7ea (diff)
downloadgmp-6a9dd2ccaa63837676d58d31206d2a3b89ec44ec.tar.gz
* Makefile.am, mpz/Makefile.am, mpq/Makefile.am, mpf/Makefile.am,
mpbsd/Makefile.am (AM_CPPFLAGS): Set -D__GMP_WITHIN_GMP.
Diffstat (limited to 'mpbsd')
-rw-r--r--mpbsd/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/mpbsd/Makefile.am b/mpbsd/Makefile.am
index be4a001a5..50c704523 100644
--- a/mpbsd/Makefile.am
+++ b/mpbsd/Makefile.am
@@ -25,6 +25,9 @@ AUTOMAKE_OPTIONS = gnu no-dependencies $(top_builddir)/ansi2knr
INCLUDES = -DBERKELEY_MP -D__gmpz_realloc=_mp_realloc \
-I$(top_srcdir) -DOPERATION_`echo $* | sed 's/_$$//'`
+# Tell mp.h it's building gmp, not an application, used by windows DLL stuff.
+AM_CPPFLAGS=-D__GMP_WITHIN_GMP
+
nodist_libmpbsd_la_SOURCES = \
add.c cmp.c gcd.c mul.c powm.c realloc.c \
set.c sqrtrem.c sub.c tdiv_qr.c