Jim Meyering wrote: > 2006-11-10 Jim Meyering <[EMAIL PROTECTED]> > > * m4/inline.m4 (gl_INLINE): Check with the compiler, not cpp, > so that relevant options in CFLAGS (like -O, -fno-inline) are > taken into account.
Thanks again! I applied this patch, with added comments, and without the quadrigraphs for '#'. (It works with '#' therefore why write '@%:@'?) > The gl_INLINE macro was failing to define HAVE_INLINE, > and that led to link errors when building coreutils with CFLAGS=-O. Hmm. I understand such link errors if, after updating from gnulib, you did "make" without "make clean". If you got the link errors also after doing a "make clean; make", there must still be an error somewhere. The HAVE_INLINE is only a hint. Do you still get a link error when configuring and compiling with no optimization (CFLAGS empty)? Bruno