How to make "configure: WARNING: unrecognized options: - -enable-…" an error
"Murrell, Brian" <[email protected]> Mon, 16 Sep 2024 13:44:10 +0000
| Newsgroups | gmane.comp.sysutils.autoconf.general |
|---|---|
| Message-ID | <[email protected]> |
When an AC_ARG_ENABLE() for a given arg is missing, one only seems to get a WARNING from configure such as: configure: WARNING: unrecognized options: --enable-foo Is there any way to make this an error so that configure [ideally, exits immediately] and returns !0? It's too easy to miss such a warning for a critical arg and continue down a path of ultimate failure. Cheers, b.