Re: Conventions on build variables

2019-08-30 Thread Sébastien Hinderer
Dear Bob and Nick, Many thanks for your replies which I found really helpful. In particular I went over chapter 7 of the GNU coding standards which I didn't see before and kind of helped. Thanks again to both of you, Sébastien. ___ Autoconf mailing l

Check if a macro has already been defined with AC_DEFINE

2019-08-30 Thread Quaquaraqua
Hi there, how can we check if a macro has been previously defined with AC_DEFINE ? For instance, something like the following piece of code: AX_OPENMP dnl it sets AC_DEFINE(HAVE_OPENMP,1) in case of success ... m4_ifdef([[HAVE_OPENMP]], dnl how to check if HAVE_OPENMP has been defined? [ ...