+2002-01-12 Bruno Haible <bruno@clisp.org>
+
+ * INSTALL: Add instructions for using Intel icc.
+
2002-01-11 Bruno Haible <bruno@clisp.org>
* configure.in: Change version number to 0.11-pre5.
env CC="xlc -D_ALL_SOURCE" ./configure
+ On GNU/Linux with Intel icc as C/C++ compiler, config.guess guesses
+wrong and, as a consequence, libtool disables the use of shared libraries.
+To correct this, it is recommended to use the following options:
+
+ env CC="icc -D__ELF__" CXX="icc -D__ELF__" ./configure
+
On BeOS, user installed software goes in /boot/home/config, not
/usr/local. It is recommended to use the following options:
+2002-01-12 Bruno Haible <bruno@clisp.org>
+
+ * libtool.m4: Add support for Intel icc.
+
2002-01-12 Bruno Haible <bruno@clisp.org>
* lib-prefix.m4 (AC_LIB_PREPARE_PREFIX): Fix shell programming mistake.
# PIC (with -KPIC) is the default.
;;
+ linux*)
+ echo '__INTEL_COMPILER' > conftest.$ac_ext
+ if $CC -E conftest.$ac_ext >/dev/null | grep __INTEL_COMPILER >/dev/null
+ then
+ lt_cv_prog_cc_can_build_shared=no
+ else
+ # Intel icc
+ lt_cv_prog_cc_pic='-KPIC'
+ lt_cv_prog_cc_static='-static'
+ lt_cv_prog_cc_wl='-Qoption,ld,'
+ fi
+ ;;
+
cygwin* | mingw* | pw32* | os2*)
# This hack is so that the source file can tell whether it is being
# built for inclusion in a dll (and should export symbols for example).