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 ... :-) _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
