[Bug-apl] Why /* #undef ....*/ in config.h?

2017-08-18 Thread Peter Teeson
Hi Jürgen:
I have been wandering in the GNU APL autotools byzantine(1) labyrinth(2) 
and am wondering why the #undefs in config.h are commented out?
See for example lines 244, 247, 250 for WANT_ANDROID, WANT_ERLANG, 
WANT_LIBAPL.

config.h.in shows them not commented out so I’m curious...

respect…..

Peter

(1) byzantine (of a system or situation) excessively complicated, typically 
involving a great deal of administrative detail:
(2) labyrinth a complicated irregular network of passages or paths in which it 
is difficult to find one's way; a maze

Re: [Bug-apl] Why /* #undef ....*/ in config.h?

2017-08-18 Thread Kacper Gutowski
On Fri, Aug 18, 2017 at 04:18:16PM -0400, Peter Teeson wrote:
> I have been wandering in the GNU APL autotools byzantine(1) labyrinth(2) 
> and am wondering why the #undefs in config.h are commented out?
> See for example lines 244, 247, 250 for WANT_ANDROID, WANT_ERLANG, 
> WANT_LIBAPL.
> 
> config.h.in shows them not commented out so I’m curious...

Note that config.h.in contains only #undef directives, there is no #define
at all.  And after deciding which parts to define for given configuration,
others are commented out rather than being explicitly undefined.

Why? Inside the configure script there's an awk script that is written
to config.status which contains the following comment:

> # Replace #undef with comments.  This is necessary, for example,
> # in the case of _POSIX_SOURCE, which is predefined and required
> # on some systems where configure will not decide to define it.

-k



[Bug-apl] Dave Lamkins' workspace name listing utility

2017-08-18 Thread Frederick Pitts
Hello all,

Has anyone tried using the subject utility (https://github.com/
TieDyedDevil/apl-nlf) recently?  As of svn  996, I observe the
following with only the utility loaded:

  ]nlf e a 2
DOMAIN ERROR
nlf_ne[6]  z←⊃λ1 λ2¨⊂[(1+⎕IO)]⎕NL ⍙⍙⍙class
  ^   ^
  ]nlf e a 3 4
DOMAIN ERROR
nlf_ne[6]  z←⊃λ1 λ2¨⊂[(1+⎕IO)]⎕NL ⍙⍙⍙class
  ^   ^

Inserting ⊃ between ⎕NL and ⍙⍙⍙class in both lines eliminates the
DOMAIN ERROR's.  But should that be necessary?  I believe this code
worked in the past.

Regards,

Fred