summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2008-08-26 20:10:57 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2008-08-26 20:10:57 (GMT)
commit6b9b12d64394512c1d43635b66c1c142ff2cdd96 (patch)
treefbf43f92f694914a5bcf1e0a085ecb996da1e9c1 /configure
parent9559bd91306799c8353818f39939006de043c936 (diff)
downloadhdf5-6b9b12d64394512c1d43635b66c1c142ff2cdd96.zip
hdf5-6b9b12d64394512c1d43635b66c1c142ff2cdd96.tar.gz
hdf5-6b9b12d64394512c1d43635b66c1c142ff2cdd96.tar.bz2
[svn-r15540] Description:
Enable building shared library for fortran by adding the flag -fPIC to the compile flags for versions of Intel Fortran compiler >=9
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure63
1 files changed, 33 insertions, 30 deletions
diff --git a/configure b/configure
index a699494..a8ee1a4 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Id: configure.in 15476 2008-08-17 13:40:56Z hdftest .
+# From configure.in Id: configure.in 15534 2008-08-26 16:05:06Z brtnfld .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for HDF5 1.9.15.
#
@@ -7236,10 +7236,13 @@ if test "X${HDF_FORTRAN}" = "Xyes"; then
H5_FORTRAN_SHARED="no"
fi
- if (${FC} -V 2>&1 | grep '^Intel(R) Fortran Compiler') > /dev/null; then
- H5_FORTRAN_SHARED="no"
+ if (${FC} -V 2>&1 | grep '^Intel(R) Fortran') > /dev/null; then
+ if (${FC} -v 2>&1 | grep '^Version 8.') > /dev/null; then
+ H5_FORTRAN_SHARED="no"
+ else
+ FCFLAGS="${FCFLAGS} -fPIC"
+ fi
fi
-
if (${FC} +version 2>&1 | grep '^HP F90') > /dev/null; then
H5_FORTRAN_SHARED="no"
fi
@@ -7999,13 +8002,13 @@ if test "${lt_cv_nm_interface+set}" = set; then
else
lt_cv_nm_interface="BSD nm"
echo "int some_variable = 0;" > conftest.$ac_ext
- (eval echo "\"\$as_me:8002: $ac_compile\"" >&5)
+ (eval echo "\"\$as_me:8005: $ac_compile\"" >&5)
(eval "$ac_compile" 2>conftest.err)
cat conftest.err >&5
- (eval echo "\"\$as_me:8005: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+ (eval echo "\"\$as_me:8008: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
cat conftest.err >&5
- (eval echo "\"\$as_me:8008: output\"" >&5)
+ (eval echo "\"\$as_me:8011: output\"" >&5)
cat conftest.out >&5
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
lt_cv_nm_interface="MS dumpbin"
@@ -9113,7 +9116,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 9116 "configure"' > conftest.$ac_ext
+ echo '#line 9119 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -11681,11 +11684,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:11684: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:11687: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:11688: \$? = $ac_status" >&5
+ echo "$as_me:11691: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -12005,11 +12008,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:12008: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:12011: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:12012: \$? = $ac_status" >&5
+ echo "$as_me:12015: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -12110,11 +12113,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:12113: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:12116: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:12117: \$? = $ac_status" >&5
+ echo "$as_me:12120: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -12165,11 +12168,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:12168: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:12171: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:12172: \$? = $ac_status" >&5
+ echo "$as_me:12175: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -14993,7 +14996,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 14996 "configure"
+#line 14999 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -15093,7 +15096,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 15096 "configure"
+#line 15099 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -17112,11 +17115,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:17115: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:17118: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:17119: \$? = $ac_status" >&5
+ echo "$as_me:17122: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -17211,11 +17214,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:17214: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:17217: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:17218: \$? = $ac_status" >&5
+ echo "$as_me:17221: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -17263,11 +17266,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:17266: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:17269: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:17270: \$? = $ac_status" >&5
+ echo "$as_me:17273: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -18793,11 +18796,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:18796: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:18799: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:18800: \$? = $ac_status" >&5
+ echo "$as_me:18803: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -18892,11 +18895,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:18895: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:18898: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:18899: \$? = $ac_status" >&5
+ echo "$as_me:18902: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -18944,11 +18947,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:18947: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:18950: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:18951: \$? = $ac_status" >&5
+ echo "$as_me:18954: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized