--- a/configure
+++ b/configure
@@ -16070,7 +16070,7 @@
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 if test x$GCC = xyes -a x$intel_compiler != xyes; then
-  CFLAGS="${CFLAGS} -fexceptions -Wall -Wsign-compare"
+  CFLAGS="${CFLAGS} -fexceptions -fPIC -Wall -Wsign-compare"
   LIBCRTS="-lgcc"
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $intel_compiler" >&5
--- a/configure.in
+++ b/configure.in
@@ -255,7 +255,7 @@
 #endif], [intel_compiler=yes], [intel_compiler=no])
 
 if test x$GCC = xyes -a x$intel_compiler != xyes; then
-  CFLAGS="${CFLAGS} -fexceptions -Wall -Wsign-compare"
+  CFLAGS="${CFLAGS} -fexceptions -fPIC -Wall -Wsign-compare"
   LIBCRTS="-lgcc"
 fi
 AC_MSG_RESULT([$intel_compiler])
