From c12b7ca46a7d96adda02df046eabd992b04b5c8a Mon Sep 17 00:00:00 2001 From: Claus-Justus Heine <Claus-Justus.Heine@IANS.Uni-Stuttgart.DE> Date: Mon, 7 Jul 2003 22:40:36 +0000 Subject: [PATCH] Use a really dirty hack to make libtool work with icc. libtool is _really_ brain-damaged w.r.t. to fortran. --- configure.ac | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/configure.ac b/configure.ac index 00a94e6..dcc1249 100644 --- a/configure.ac +++ b/configure.ac @@ -37,13 +37,6 @@ AM_CONFIG_HEADER([config.h]) AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_CC -dnl -dnl quick hack for icc -dnl -if test "`basename $CC`" = "icc"; then - lt_cv_prog_cc_wl='-Wl,' -fi - AC_PROG_F77 dnl dnl Mmmh. Quite elaborated nowadays @@ -52,10 +45,16 @@ AC_F77_WRAPPERS AC_F77_MAIN AC_F77_LIBRARY_LDFLAGS +dnl +dnl quick and very dirty hack for icc +dnl +if test `basename $CC` = icc; then + GCC=yes +fi AC_PROG_LIBTOOL - - - +if test `basename $CC` = icc; then + GCC=no +fi # change the installation directory. This could surely be done more elegantly... AC_PREFIX_DEFAULT([`pwd`]) -- GitLab