diff options
author | Rodrigo Mesquita <rodrigo.m.mesquita@gmail.com> | 2023-05-12 12:10:08 +0100 |
---|---|---|
committer | Rodrigo Mesquita <rodrigo.m.mesquita@gmail.com> | 2023-05-12 15:46:31 +0100 |
commit | 38bbeb7cbaad6980f377b58081d03e98e957bdf8 (patch) | |
tree | 1ad48016227eb992c40fad12a16982f6006b71ab | |
parent | eb60ec18eff7943fb9f22b2d2ad29709b56ce02d (diff) | |
download | haskell-wip/romes/target-has-rts-linker.tar.gz |
configure: Drop unused AC_PROG_CPPwip/romes/target-has-rts-linker
In configure, we were calling `AC_PROG_CPP` but never making use of the
$CPP variable it sets or reads.
The issue is $CPP will show up in the --help output of configure,
falsely advertising a configuration option that does nothing.
The reason we don't use the $CPP variable is because HS_CPP_CMD is
expected to be a single command (without flags), but AC_PROG_CPP, when
CPP is unset, will set said variable to something like `/usr/bin/gcc -E`.
Instead, we configure HS_CPP_CMD through $CC.
-rw-r--r-- | configure.ac | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 899a6e65a8..0005d56657 100644 --- a/configure.ac +++ b/configure.ac @@ -465,9 +465,6 @@ MAYBE_OVERRIDE_STAGE0([ar],[AR_STAGE0]) dnl make extensions visible to allow feature-tests to detect them lateron AC_USE_SYSTEM_EXTENSIONS -dnl ** figure out how to invoke the C preprocessor (i.e. `gcc -E`) -AC_PROG_CPP - # --with-hs-cpp/--with-hs-cpp-flags FP_CPP_CMD_WITH_ARGS(HaskellCPPCmd, HaskellCPPArgs) AC_SUBST([HaskellCPPCmd]) |