[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gettext-0.11.5, make check
From: |
Sven Utcke |
Subject: |
Re: gettext-0.11.5, make check |
Date: |
Thu, 13 Mar 2003 19:05:26 +0100 |
User-agent: |
Mutt/1.4i |
> > + /* On Solaris >= 2.8, we need to use /usr/xpg4/bin/grep instead of
> > + /usr/bin/grep, because /usr/bin/grep doesn't understand the options
> > + -q and -e. */
>
> That problem has been in SunOS/Solaris for ages; it's not just Solaris
> 8 / SunOS 5.8 or later. I just checked Solaris 7, and I'm sure it was
> also true all the way back to SunOS 4.1.4 (at least), and probably to
> SunOS 1.0.
This is from 5.6 (man grep):
SYNOPSIS
/usr/bin/grep [ -bchilnsvw ] limited-regular-expression
[ filename... ]
/usr/xpg4/bin/grep [ -E | -F ] [ -c | -l | -q ]
[ -bhinsvwx ] -e pattern_list
[ -f pattern_file ] ... [ file... ]
/usr/xpg4/bin/grep [ -E | -F ] [ -c | -l | -q ]
[ -bhinsvwx ] [ -e pattern_list
-f pattern_file [ file... ]
/usr/xpg4/bin/grep [ -E | -F ] [ -c | -l | -q ]
[ -bhinsvwx ] pattern [ file... ]
> One workaround would be to have a configure-time option that specifies
> the name of a working grep. That way, the installer can specify GNU
> grep, as needed. Admittedly this is a hassle.
So why not have configure find out all by itself? But then again, as
long as it's _well_ documented...
Maybe at least try to catch the error and provide a meaningful
error-message?
Sven
--
_ __ The Cognitive Systems Group
| |/ /___ __ _ ___ University of Hamburg
| ' </ _ \/ _` (_-< phone: +49 (0)40 42883-2576 Vogt-Koelln-Strasse 30
|_|\_\___/\__, /__/ fax : +49 (0)40 42883-2572 D-22527 Hamburg
|___/ http://kogs-www.informatik.uni-hamburg.de/~utcke/home.html
- gettext-0.11.5, make check, Sven Utcke, 2003/03/11
- Re: gettext-0.11.5, make check, Sven Utcke, 2003/03/11
- Re: gettext-0.11.5, make check, Bruno Haible, 2003/03/13
- Re: gettext-0.11.5, make check, Bruno Haible, 2003/03/13
- Re: gettext-0.11.5, make check, Stepan Kasal, 2003/03/14