summaryrefslogtreecommitdiff
path: root/libguile.h
diff options
context:
space:
mode:
authorMichael Gran <spk121@yahoo.com>2021-03-01 22:57:30 -0800
committerMichael Gran <spk121@yahoo.com>2021-03-02 06:18:32 -0800
commit54adbd6f0f173c5c2633c316670793322f08d44d (patch)
treefaec6a86f62f781b962d797160783e6a8875d621 /libguile.h
parenteb1bd8050ef7fe3ef2a0bd07a42f39ad2f278936 (diff)
downloadguile-54adbd6f0f173c5c2633c316670793322f08d44d.tar.gz
improve autoconfigury for minigmp
* configure.ac: add SCM_I_GSC_ENABLE_MINI_GMP var and rename GUILE_MINI_GMP to ENABLE_MINI_GMP * libguile/bytevectors (GUILE_MINI_GMP): rename to ENABLE_MINI_GMP * libguile/gen-scmconfig.c: renamed GUILE_MINI_GMP to ENABLE_MINI_GMP. rename GUILE_MINI_GMP to SCM_ENABLE_MINI_GMP * libguile/gen-scmconfig.h: add SCM_I_GSC_ENABLE_MINI_GMP * libguile/init.c [GUILE_MINI_GMP]: prefer ENABLE_MINI_GMP * libguile/numbers.c [GUILE_MINI_GMP]: prefer ENABLE_MINI_GMP * libguile/numbers.h: include scmconfig.h rename GUILE_MINI_GMP to SCM_ENABLE_MINI_GMP * libguile/random.c [GUILE_MINI_GMP]: prefer ENABLE_MINI_GMP * libguile/socket.c [GUILE_MINI_GMP]: prefer ENABLE_MINI_GMP * libguile.h [GUILE_MINI_GMP]: prefer SCM_ENABLE_MINI_GMP
Diffstat (limited to 'libguile.h')
-rw-r--r--libguile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile.h b/libguile.h
index 70c4bed88..14ea1d110 100644
--- a/libguile.h
+++ b/libguile.h
@@ -29,7 +29,7 @@ extern "C" {
#ifdef __cplusplus
}
#endif
-#if GUILE_MINI_GMP
+#if SCM_ENABLE_MINI_GMP
#include "libguile/mini-gmp.h"
#else
#include <gmp.h>