How to make "configure: WARNING: unrecognized options: --enable-…" an error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.






[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux