Hi Joseph,
Joseph Wakeling wrote:
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
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.
Cheers,
Peter
--
Peter Johansson
svndigest maintainer, http://dev.thep.lu.se/svndigest
yat maintainer, http://dev.thep.lu.se/yat
_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl