> You can grab a tarball at 
> http://opendx.npaci.edu/source/dx-4-3-0.tar.gz and test away. This is 
> from the very latest cvs of libtool (this morning).


I'm testing on FreeBSD 4.8, with gcc 2.95.4 and open-motif 2.2.2.
I also have ImageMagick-5.5.6

The problems below do NOT occur in my HEAD branch of CVS!!

I'm using autoconf 2.53 and automake-1.5.
During the "configure --x-includes=/usr/local/include 
--x-libraries=/usr/local/lib",
I get:

[...]
configure: checking for ImageMagick support ......
checking for Magick-config... yes
checking magick/magick.h usability... no
checking magick/magick.h presence... yes
configure: WARNING: magick/magick.h: present but cannot be compiled
configure: WARNING: magick/magick.h: check for missing prerequisite headers?
configure: WARNING: magick/magick.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to [EMAIL PROTECTED] ##
configure: WARNING:     ## ------------------------------------ ##
checking for magick/magick.h... yes
checking for GetImageInfo in -lMagick... yes
checking if ImageMagick package is complete... yes
[...]
checking net/if.h usability... no
checking net/if.h presence... yes
configure: WARNING: net/if.h: present but cannot be compiled
configure: WARNING: net/if.h: check for missing prerequisite headers?
configure: WARNING: net/if.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to [EMAIL PROTECTED] ##
configure: WARNING:     ## ------------------------------------ ##
checking for net/if.h... yes
[...]

The following gmake then hangs (!) on the file src/exec/libdx/zclipQ.c.
With "hangs" I mean that this file compiles for ever.

The following lines in src/exec/libdx/zclipQ.c are the culprit:
At line 91:
        TRYCLIP(z1,z2,z3, p1,p2,p3, v1,v2,v3) else
        TRYCLIP(z2,z3,z1, p2,p3,p1, v2,v3,v1) else
        TRYCLIP(z3,z1,z2, p3,p1,p2, v3,v1,v2)

And at line104:
        TRYCLIP(z1,z2,z3, p1,p2,p3, v1,v2,v3) else
        TRYCLIP(z2,z3,z1, p2,p3,p1, v2,v3,v1) else
        TRYCLIP(z3,z1,z2, p3,p1,p2, v3,v1,v2)

Apart from this being an uggly programming style, there might be some
recursive preprocessor work going on here?

Why not using functions instead of such complex macros?

Regards,
Rob.

Reply via email to