Re: fixing AC_OPENMP for Apple clang

Michael Orlitzky <[email protected]> Sun, 5 Apr 2026 07:27:58 -0400
Newsgroups gmane.comp.sysutils.autoconf.general
Message-ID <adJHPtN972O4suXK@mertle>
On 2026-04-04 19:17:10, Jacob Bachmeyer wrote:
>
> Would it be possible to test if _OPENMP is defined by using the C 
> preprocessor on the template?

In this case since it affects the CLI of the program, it's better to
have the option behind a flag (--enable-openmp) so that the user is
never unpleasantly surprised to find that the CLI has changed and his
scripts are broken. (We're not talking about a very important program
here, but the principle is the same.)