From f6bcb3d5469a691548066e5204193fac33d4b266 Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 28 Jun 2002 10:34:35 +0000 Subject: Some versions of the HP C compiler can handle inlines, but not if they return a structure pointer. Check whether the C compiler can handle inline functions that return a structure pointer, not whether they can handle inline functions that return an int, as at least some versions of autoconf's AC_C_INLINE do. --- config.h.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config.h.in') diff --git a/config.h.in b/config.h.in index dfa7b36..7025060 100644 --- a/config.h.in +++ b/config.h.in @@ -3,9 +3,6 @@ /* Define to empty if the keyword does not work. */ #undef const -/* Define as __inline if that's what the C compiler calls it. */ -#undef inline - /* Long story short: aclocal.m4 depends on autoconf 2.13 * implementation details wrt "const"; newer versions * have different implementation details so for now we @@ -47,6 +44,9 @@ /* needed on HP-UX */ #undef _HPUX_SOURCE +/* Define as token for inline if inlining supported */ +#undef inline + /* define if your compiler has __attribute__ */ #undef HAVE___ATTRIBUTE__ -- cgit v1.2.3