summaryrefslogtreecommitdiff
path: root/libraries/integer-gmp
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2019-01-26 18:07:48 -0800
committerBen Gamari <ben@smart-cactus.org>2019-01-27 23:26:56 -0500
commitb89b6e71c798996724ba99f273f88d8a3637fb8d (patch)
tree7e8fd83be33c270c460b4ac6706140fca6a02ddb /libraries/integer-gmp
parent10faf44d97095b2f8516b6d449d266f6889dcd70 (diff)
downloadhaskell-b89b6e71c798996724ba99f273f88d8a3637fb8d.tar.gz
Fix incorrectly named configure options
Although we should use 'AC_ARG_ENABLE' for boolean flags, it also means options get named '--enable-*', not '--with-*'. This should unbreak the --with-intree-gmp option.
Diffstat (limited to 'libraries/integer-gmp')
-rw-r--r--libraries/integer-gmp/configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/integer-gmp/configure.ac b/libraries/integer-gmp/configure.ac
index d189375616..1ccd48e698 100644
--- a/libraries/integer-gmp/configure.ac
+++ b/libraries/integer-gmp/configure.ac
@@ -27,13 +27,13 @@ AC_ARG_WITH([gmp-libraries],
[GMP_LIB_DIRS=$withval; LDFLAGS="-L$withval"],
[GMP_LIB_DIRS=])
-AC_ARG_ENABLE([gmp-framework-preferred],
+AC_ARG_WITH([gmp-framework-preferred],
[AC_HELP_STRING([--with-gmp-framework-preferred],
[on OSX, prefer the GMP framework to the gmp lib])],
[GMP_PREFER_FRAMEWORK=YES],
[GMP_PREFER_FRAMEWORK=NO])
-AC_ARG_ENABLE([intree-gmp],
+AC_ARG_WITH([intree-gmp],
[AC_HELP_STRING([--with-intree-gmp],
[force using the in-tree GMP])],
[GMP_FORCE_INTREE=YES],