Hi Bob,

* Bob Friesenhahn wrote on Sun, May 11, 2008 at 02:22:24AM CEST:
> It seems that AC_OPENMP always defaults to enabled by default.  This  
> causes problems for packages that would prefer that this feature be  
> disabled by default.  OpenMP is pretty invasive since it adds additional 
> library dependencies.
>
> Is there a way to use AC_OPENMP in a default disabled state without  
> creating a modified version of the macro and without adding another  
> option to the configure script?

  : ${enable_openmp=no}
  AC_OPENMP

would appear to do what you want (untested).

Cheers,
Ralf


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to