autoconf
[Top][All Lists]
Advanced

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

Re: AC_OPENMP, default off


From: Ralf Wildenhues
Subject: Re: AC_OPENMP, default off
Date: Thu, 29 May 2008 21:37:23 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]