Re: [Fwd: isatty function?]

2002-09-09 Thread mst
Thanks, Paul! Hmm ... I see. How about a way to call "system" without catching stdout, let stdout be copied as is to the child process? The return value could be the status of the command, so let's call it status $(status command) Evaluates the command in sub-shell and returns the exit status.

Re: [Fwd: isatty function?]

2002-09-09 Thread Paul D. Smith
%% mst <[EMAIL PROTECTED]> writes: m> It turns out that there's no easy way, now, to determine inside the m> makefile whether the output is to tty or now. m> the simple $(shell perl -e 'print 1 if (-t STDOUT)') m> does not work, since anything inside a shell is sending output m> to she

Re: CVS psmith make: Whoops; configure wasn't looking for memmove.

2002-09-09 Thread Paul D. Smith
%% Soren A <[EMAIL PROTECTED]> writes: >> I don't understand this. If bcopy() isn't there and memmove() is >> (which wasn't being checked but now will be) then the code in make.h >> as-is works. >> >> Doesn't it? sa> It really doesn't. [...] Please note my parenthetical statement

Re: CVS psmith make: Whoops; configure wasn't looking for memmove.

2002-09-09 Thread Soren A
"Paul D. Smith" <[EMAIL PROTECTED]> wrote in [EMAIL PROTECTED]:">news:[EMAIL PROTECTED]: > %% Soren A writes: > > sa> Yes, and because of that, build on Win32-ish was failing; but > also sa> you need to have configure check for bcopy(), because > bcopy() sa> isn't there on Win32- Gnu-ish

Re: CVS psmith make: Whoops; configure wasn't looking for memmove.

2002-09-09 Thread Paul D. Smith
%% Soren A <[EMAIL PROTECTED]> writes: sa> Yes, and because of that, build on Win32-ish was failing; but also sa> you need to have configure check for bcopy(), because bcopy() sa> isn't there on Win32- Gnu-ish platforms (I have been told it is sa> part of GlibC, but Cygwin, etc are based

Re: CVS psmith make: Whoops; configure wasn't looking for memmove.

2002-09-09 Thread Soren A
*I* Soren A <[EMAIL PROTECTED]> wrote in [EMAIL PROTECTED]:">news:[EMAIL PROTECTED]: > A part of needs to be rewritten because it appears that at > some point an ad-hoc (?) addition was made to try to deal with lack of > bcopy(), but was done not properly, by getting into configure and > making

Re: CVS psmith make: Whoops; configure wasn't looking for memmove.

2002-09-09 Thread Soren A
"Paul D. Smith <[EMAIL PROTECTED]>" <[EMAIL PROTECTED]> wrote in news:E17oVxZ- [EMAIL PROTECTED]: > From: "Paul D. Smith <[EMAIL PROTECTED]>" <[EMAIL PROTECTED]> > Newsgroups: gmane.comp.gnu.make.devel > Subject: CVS psmith make: Whoops; configure wasn't looking for memmove. > > CVSROOT: /cv

Re: GNU Make version 3.79.1 bug

2002-09-09 Thread Paul D. Smith
This bug has been fixed in CVS. The fix will be available in the next release of GNU make. -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://m

Make assertion

2002-09-09 Thread mst
got the following internal assertion in make: /tmp>cat make.bug var = 1 export var %: $(MAKE) -f test.bug x: var += a /tmp>cat test.bug all: echo $(var) /tmp>make -f make.bug x make -f test.bug make: expand.c:489: allocated_variable_append: Assertion `current_variable_set_lis

[Fwd: isatty function?]

2002-09-09 Thread mst
--- Begin Message --- Hello! It turns out that there's no easy way, now, to determine inside the makefile whether the output is to tty or now. the simple $(shell perl -e 'print 1 if (-t STDOUT)') does not work, since anything inside a shell is sending output to shell and not to tty! I ended up

GNU Make version 3.79.1 bug

2002-09-09 Thread Michael S. Tsirkin
Hello! The following test demonstates a problem in Gnu make 3.79.1 It is a combination of recursive make, overriding variables for targets and += operator. does someone have fix/work-around for this? thanks, MST /tmp>cat make.bug var = 1 export var %: $(MAKE) -f test.bug x: var += a /tm

Re: "dependency `' doesn't exist"

2002-09-09 Thread Paul D. Smith
%% Koen Claessen <[EMAIL PROTECTED]> writes: kc> I get the not very informative error "dependency `' doesn't kc> exist" when I am using gmake on the attached makefile. I kc> could not find anything about it in the manual on gnu.org. kc> Maybe it is a bug? Sorry, but you have not provide

"dependency `' doesn't exist"

2002-09-09 Thread Koen Claessen
Dear gmake developers, I get the not very informative error "dependency `' doesn't exist" when I am using gmake on the attached makefile. I could not find anything about it in the manual on gnu.org. Maybe it is a bug? Thanks, /Koen. -- Koen Claessen http://www.cs.chalmers.se/~koen Chalmers Uni