Skip to content
Snippets Groups Projects
Commit c12b7ca4 authored by Claus-Justus Heine's avatar Claus-Justus Heine
Browse files

Use a really dirty hack to make libtool work with icc. libtool is _really_

brain-damaged w.r.t. to fortran.
parent 311a5039
No related branches found
No related tags found
No related merge requests found
......@@ -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`])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment