-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
configure: WARNING: unrecognized options: --with-compiler #20
Comments
Unfortunately, I do not know anything about the
|
Thanks for the links! I found a good comment reading through them: haskell/cabal#2946 (comment). It says that a few packages want to "shut up" this warning by supplying macro definitions similar to what I proposed (except that I skip the help message). This all makes sense so far as the configure script makes no adjustments related to haskell compiler (as in the resolv's configure, and this is why it complains about the option) and only tests and configures C bits. |
Ok, this sounds like you could go ahead with your proposed change. |
…21) Fixes #20. Works around cabal issue haskell/cabal#2947.
Cabal unconditionally passes option
--with-compiler
or--with-hc
inDistribution.Simple.Setup.configureArgs
. This makesconfigure
run fromcabal v1-configure
orcabal v2-build
print the warning.This can be fixed by declaring dummy with-options in configure.ac
The text was updated successfully, but these errors were encountered: