Hello!
This report is actually about Autoconf. Note that the line in question is
still present in the CVS Autoconf, acgeneral.m4, macro AC_TRY_CPP. Maybe
it's not portable?
Regards,
Pavel Roskin
---------- Forwarded message ----------
Date: Mon, 28 Aug 2000 13:31:00 -0400
From: Mathieu Chouquet-Stringer <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Compilation problem solved
Resent-Date: Mon, 28 Aug 2000 13:32:18 -0400
Resent-From: [EMAIL PROTECTED]
Ok, I have found the guilty program. My problem was to be able to
compile grub with gcc 2.96 and the glibc 2.9. As suggested, I have checked
my version of ncurses: it is 5.1. So not the oldest one.
After that, I have tried to identify what was wrong. I found that in the
configure script:
--- configure.orig Sat Aug 26 18:20:16 2000
+++ configure Sat Aug 26 18:20:39 2000
@@ -1349,7 +1349,7 @@
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1352: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ac_err=`grep -vE '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
else
The line seems to be a regexp, right! Without the -E or egrep, it won't
work on my system (my version of grep is: 2.4.2). Without this patch, the
configure script found the ncurses lib but not the include files (from
memory curses.h ncurses.h and curses/ncurses.h or something like that).
That's it, regards, Mathieu.
--
Mathieu CHOUQUET-STRINGER E-Mail : [EMAIL PROTECTED]
"Entities must not be multiplied beyond necessity"
-- William of Occam --