Bootstrap Build Fails with autoconf error "possibly undefined macro: _AC_PROG_CC_C99"
Summary
Bootstrap Build Fails with autoconf error possibly undefined macro: _AC_PROG_CC_C99
.
This exact build code was working on 2/11/2021: https://github.com/macports/macports-ports/blob/bf9eff9b84cfb3d06f9ae8fcce39be7b0525b5a0/lang/ghc/Portfile
Steps to reproduce
Follow the quick-start instructions https://github.com/ghc/ghc#building--installing:
./boot
Expected behavior
A successful build.
Environment
- GHC version used: 8.10.4
Optional:
- Operating System: macOS
Related:
- Issue on Windows: #16780 (comment 331309)
- Issue on Linux: #16780 (comment 331357)
Edited by Steve Smith