Vin Shelton <acs(a)xemacs.org> wrote:
I now see that all my icc builds (both 21.4 and 21.5) fail to detect
that I can build modules:
checking for module support
checking for dlfcn.h... yes
checking for dlopen in -lc... Defining HAVE_DLOPEN
checking how to build dynamic libraries for i686-pc-linux
checking checking whether we are using GNU C... no
checking how to produce PIC code... none
No module support.
Hmmm.
That's because of the code in aclocal.m4. In the 21.5 version, it
figures out that you are not using GCC on line 71, so the test on line
87 fails, taking you to the else branch on line 114. Then you don't
match any of the listed OSs, so you take the default case on line 176.
Isn't icc supposed to be gcc-compatible? I wonder if it would hurt to
check for gcc-or-icc?
I also wonder whether the decision to avoid libtool, made so long ago,
still makes sense now.
--
Jerry James
http://www.ittc.ku.edu/~james/