diff options
author | Michael Gran <spk121@yahoo.com> | 2021-03-01 22:57:30 -0800 |
---|---|---|
committer | Michael Gran <spk121@yahoo.com> | 2021-03-02 06:18:32 -0800 |
commit | 54adbd6f0f173c5c2633c316670793322f08d44d (patch) | |
tree | faec6a86f62f781b962d797160783e6a8875d621 /libguile/init.c | |
parent | eb1bd8050ef7fe3ef2a0bd07a42f39ad2f278936 (diff) | |
download | guile-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/init.c')
-rw-r--r-- | libguile/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/init.c b/libguile/init.c index 708c0e736..68077d1d5 100644 --- a/libguile/init.c +++ b/libguile/init.c @@ -31,7 +31,7 @@ #include <sys/stat.h> #include <unistd.h> -#if GUILE_MINI_GMP +#if ENABLE_MINI_GMP #include "mini-gmp.h" #else #include <gmp.h> |