On 05/28/2010 05:38 PM, Peter Johansson wrote:
> It make sense as long as HAVE_GSL_INLINE is defined/undefined
> accurately. If the header file is only used within your package there
> should be no problem. If you install the header file it is a bit
> trickier.

Exactly my situation ... :-)

> Then you need to provide a file that defined/undefined
> HAVE_GSL_INLINE. In that case I would do as follows

I was wondering whether it was possible to cut out the middle-man, so to
speak (i.e. HAVE_GSL_INLINE) and simply rewrite the

    AC_CHECK_HEADER([gsl/gsl_inline.h],[AC_DEFINE([HAVE_GSL_INLINE],
     [1],[Define if gsl/gsl_inline.h header exists])])

to do something other than AC_DEFINE([HAVE_GSL_INLINE]) -- i.e. to
create a header that either has

    #include <gsl/gsl_inline.h>

or

    #define INLINE_FUN extern inline

... but in any case, the proposed solution seems to work, thank you very
much for the kind assistance! :-)

Best wishes,

    -- Joe

_______________________________________________
Help-gsl mailing list
Help-gsl@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to