[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Compatibility with old and new inline functions in GSL
From: |
Joseph Wakeling |
Subject: |
Re: [Help-gsl] Compatibility with old and new inline functions in GSL |
Date: |
Fri, 04 Jun 2010 20:47:52 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 |
On 05/28/2010 08:16 PM, Peter Johansson wrote:
> You could do
>
> AC_CHECK_HEADER([gsl/gsl_version.h],
> [foo="#include <gsl/gsl_inline.h>"],
> [foo="#define INLINE_FUN extern inline"])
> AC_SUBST(foo)
> AC_CONFIG_FILES([config_public.h])
>
> in configure.ac
>
> and have a config_public.h.in
>
> @foo@
>
> The downside with this approach is that 'config_public.h' will be
> touched every time you run configure and potentially cause some
> significant re-compiling for you.
Late response -- thank you very much, I think that's exactly what I was
looking for. There is not so much compiling to be done, so I'm not too
bothered about the extra cost ... :-)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Help-gsl] Compatibility with old and new inline functions in GSL,
Joseph Wakeling <=