[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: kdebase/kappfinder
From: Stephan Kulow <coolo () itm ! mu-luebeck ! de>
Date: 1998-01-09 10:02:12
[Download RAW message or body]
Matthias Hoelzer wrote:
>
> On Thu, 8 Jan 1998, Stephan Kulow wrote:
>
> > > Matthias H.: Made the script more "Linux compatible". (Funny: I wrote the
> > > script to be more portable, and it failed on Linux :(
> >
> > It worked well under Solaris.
>
> Hi,
>
> I wrote it under HP-UX, and it worked well. But since yesterday, I found
> at least 3 different versions of "echo"! And "test" also behaves
> differently on Linux and HP-UX. I made another fix and hope it is now
> portable.
>
The following code is out of configure:
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null;
then
ac_n= ac_c='
' ac_t=' '
else
ac_n=-n ac_c= ac_t=
fi
else
ac_n= ac_c='\c' ac_t=
fi
It seems, you're not the only one with 3 versions ;)
Greets, Stephan
--
Stephan Kulow (coolo@kde.org)
Du musst weiterkaempfen bis zum Umfallen, auch wenn die ganze
Welt 'nen Arsch offen hat, oder gerade deswegen! * Konstantin Wecker
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic