<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: Re: Unsupported kernel version error
From: Olaf Titz <olaf,AT,bigred,DOT,inka,DOT,de>
Date: Sun, 20 May 2001 12:19:42 +0200
In-reply-to: <vxk1ypm64am.fsf@cinnamon.vanillaknot.com>

> Actually, it's that they appear to be shipping a version of gcc/cpp that
> inserts an additional space at the start of a line when expanding macros,

So then the correct fix would be this:

--- conf/aclocal.m4     2001/02/12 00:25:17     1.7
+++ conf/aclocal.m4     2001/05/20 09:50:29
@@ -29,7 +29,7 @@
 [$1]
 EOF
 (eval "$ac_cpp conftest.$ac_ext") 2>&AC_FD_CC |\
- sed -n -e 's/^"\(.*\)".*$/\1/p' >conftest
+ sed -n -e 's/^ *"\(.*\)".*$/\1/p' >conftest
 changequote(, )dnl
 set "X" "`cat conftest`"
 changequote([, ])dnl

(don't change the configure script, change the macros it was built
from.) Can someone with RH verify this works?

Olaf

PS. I'd say their cpp is broken, if only for the surprise factor.
A gcc 2.97 CVS snapshot from February I occasionally use for testing
does not show this behaviour.





<< | Thread Index | >> ]    [ << | Date Index | >> ]