--- configure.ac.orig 2005-11-22 15:48:56.000000000 +0100 +++ configure.ac 2005-11-22 15:49:50.000000000 +0100 @@ -942,7 +942,7 @@ rm -f Imakefile Makefile fi -## Step 2. GNU compilers. +## Step 2. GNU and Intel compilers. if test "${GCC}" = yes; then cpicflags="-fPIC" shlib_ldflags="-shared" @@ -954,6 +954,11 @@ cxxpicflags="-fPIC" shlib_cxxldflags="-shared" fi +case "${F77}" in + ifc|ifort) + fpicflags="-fPIC" + ;; +esac ## Step 3. Individual platform overrides. case "${host_os}" in