Re: AC_OPENMP, default off

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

 



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
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

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

  Powered by Linux