[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inline related build failures on MacOS X 10.5
From: |
Ralf Wildenhues |
Subject: |
Re: inline related build failures on MacOS X 10.5 |
Date: |
Fri, 11 Apr 2008 18:27:59 +0200 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
Hello,
I haven't followed the discussion at all, but:
* Bruno Haible wrote on Fri, Apr 11, 2008 at 03:14:07PM CEST:
>
> This should ideally be solved through autoconf (let autoconf try
> "-std=gnu99 -D__GNUC_STDC_INLINE__" instead of "-std=gnu99"), but since I
> don't know when the next autoconf release will be, I'm adding this to gnulib.
Well, that isn't a reason not to put it in Autoconf now, right?
FWIW, I don't know either, but I guess we both have a certain amount of
influence we are able to exert. ;-)
> Eric or Ralf: I tried to add this piece of #defines to config.h only if
> AC_PROG_CC_STDC is defined. Something like
>
> AC_DEFUN([gl_COMMON_BODY], [
> m4_define([AC_PROG_CC_STDC], m4_defn([AC_PROG_CC_STDC])[
> AH_VERBATIM([...])
> ])
> ])
>
> but since I'm not sure whether augmenting predefined macros like this works,
> I left it out.
In need of Gary's Trick[tm]?
<http://lists.gnu.org/archive/html/bug-gnulib/2006-09/msg00036.html>.
It's a bit ugly in that the resulting code become pretty unobvious, and
if more code does this, then ordering relations can easily become a
problem. Automake and Libtool do use it though, and it does its job.
Cheers,
Ralf
Re: inline related build failures on MacOS X 10.5,
Ralf Wildenhues <=