Re: TEST_NT hack and OpenBSD

Bruno Haible <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <59613403.YmbU964X21@omega>
Hi Sam,

> > 2) I don't see anything that uses it.
> 
> without it module recompile requires `rm -rf` of the module dir, see
> makemake.in:
> 
> --8<---------------cut here---------------start------------->8---
>   if [ "@TEST_NT@" = no ]; then # re-making a module requires rm -rf module
>     newer(){ echo 'test -f $$m/'$1' -a '"'!'"' -f $@/'$2; }
>   else # re-making a module just works
>     newer(){ echo 'test -f $$m/'$1' -a $$m/'$1' -nt $@/'$2; }
>   fi
> --8<---------------cut here---------------end--------------->8---

Ah, thanks for explaining. I had overlooked this use.

I've now replaced this use of an unportable shell primitive with a small
auxiliary program. It may also need some porting effort (for native Windows,
maybe), but at least these portability problems will not propagate upward
into portability problems regarding the 'make' program.

Bruno


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.