[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cycle-check: needs inline
From: |
Bruno Haible |
Subject: |
cycle-check: needs inline |
Date: |
Mon, 12 Mar 2007 00:03:44 +0100 |
User-agent: |
KMail/1.5.4 |
Hi Jim,
The cycle-check module uses 'inline', therefore should make sure it's supported
or defined away. Currently it leads to a failure like this, on Solaris 2.5.1
with SunPRO C 5.0:
cc -O -DHAVE_CONFIG_H -I. -I.. -g -c cycle-check.c
"cycle-check.c", line 38: undefined or not a type: inline
Here's a proposed patch.
2007-03-11 Bruno Haible <address@hidden>
* m4/cycle-check.m4 (gl_CYCLE_CHECK): Require AC_C_INLINE.
*** m4/cycle-check.m4 21 Aug 2006 06:11:26 -0000 1.3
--- m4/cycle-check.m4 11 Mar 2007 22:58:56 -0000
***************
*** 1,10 ****
! #serial 4
! dnl Copyright (C) 2005, 2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_CYCLE_CHECK],
[
AC_LIBOBJ([cycle-check])
])
--- 1,11 ----
! #serial 5
! dnl Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_CYCLE_CHECK],
[
+ AC_REQUIRE([AC_C_INLINE])
AC_LIBOBJ([cycle-check])
])
- cycle-check: needs inline,
Bruno Haible <=