diff options
author | Mike McGreevy <mamcgree@hdfgroup.org> | 2009-10-16 20:16:00 (GMT) |
---|---|---|
committer | Mike McGreevy <mamcgree@hdfgroup.org> | 2009-10-16 20:16:00 (GMT) |
commit | dfb22d02b04f70beb06e1280e2080ae32d4c20c1 (patch) | |
tree | a7a9b428669d9ffe972e5a07279f80f4a3c895dd /configure | |
parent | 091fb5951ca8845a1679b8dc474a63ade63260a9 (diff) | |
download | hdf5-dfb22d02b04f70beb06e1280e2080ae32d4c20c1.zip hdf5-dfb22d02b04f70beb06e1280e2080ae32d4c20c1.tar.gz hdf5-dfb22d02b04f70beb06e1280e2080ae32d4c20c1.tar.bz2 |
[svn-r17663] Purpose:
configure cleanup
Description
1. Removed check that disables shared libraries when pgcc is used. Apparently
they previously did not work with libtool 1.5.14 and on mir, neither of
which is in use anymore. Testing on jam and amani appear fine, so this
check is unnecessary.
2. Removed check that disables shared C++ libraries when -xarch is used to
enable 64 bit mode. We now use m64 flag to build 64 bit binaries, so
we shouldn't explicitly disable shared C++ libraries if -xarch is
discovered.
3. Removed old configure output summary section from configure.in, since
we now use the libhdf5.settings file.
4. Updated powerpc-ibm-aix5.x config file to once again put c99 flag into
H5_CFLAGS (and thus NOT get into h5cc), as decided in our dev meeting.
Tested:
h5committest
full build with pgcc on jam / amani
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 265 |
1 files changed, 27 insertions, 238 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Id: configure.in 17647 2009-10-15 18:11:56Z epourmal . +# From configure.in Id: configure.in 17654 2009-10-15 21:14:27Z mamcgree . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.64 for HDF5 1.9.49. # @@ -7514,13 +7514,6 @@ elif test "X${enable_shared}" = "Xyes" -a "X${PARALLEL}" != "X"; then echo ' shared libraries explicitly enabled by user' fi -if test "X${enable_shared}" != "Xno" && \ - (${CC-cc} -V 2>&1 | grep '^pgcc') > /dev/null; then - echo ' warning: shared libraries are not supported for pgcc!' - echo ' disabling shared libraries' - enable_shared="no" -fi - if test "X${HDF_FORTRAN}" = "Xyes"; then H5_FORTRAN_SHARED="yes" @@ -7566,12 +7559,6 @@ H5_CXX_SHARED="no" if test "X${HDF_CXX}" = "Xyes" && test "X${enable_shared}" != "Xno"; then H5_CXX_SHARED="yes" - if (echo dummy ${CXX} ${CXXLD} ${CFLAGS} ${CXXFLAGS} ${LDFLAGS} | grep 'xarch') > /dev/null; then - echo " warning: -xarch flag detected" - echo " disabling shared C++ libraries" - H5_CXX_SHARED="no" - fi - if (echo dummy ${CXX} ${CXXLD} ${CFLAGS} ${CXXFLAGS} ${LDFLAGS} | grep 'DD64') > /dev/null; then echo " warning: +DD64 flag detected" @@ -8221,13 +8208,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:8224: $ac_compile\"" >&5) + (eval echo "\"\$as_me:8211: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:8227: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval echo "\"\$as_me:8214: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 - (eval echo "\"\$as_me:8230: output\"" >&5) + (eval echo "\"\$as_me:8217: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" @@ -9432,7 +9419,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 9435 "configure"' > conftest.$ac_ext + echo '#line 9422 "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -11751,11 +11738,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:11754: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11741: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:11758: \$? = $ac_status" >&5 + echo "$as_me:11745: \$? = $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. @@ -12090,11 +12077,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:12093: $lt_compile\"" >&5) + (eval echo "\"\$as_me:12080: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:12097: \$? = $ac_status" >&5 + echo "$as_me:12084: \$? = $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. @@ -12195,11 +12182,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:12198: $lt_compile\"" >&5) + (eval echo "\"\$as_me:12185: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:12202: \$? = $ac_status" >&5 + echo "$as_me:12189: \$? = $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 @@ -12250,11 +12237,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:12253: $lt_compile\"" >&5) + (eval echo "\"\$as_me:12240: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:12257: \$? = $ac_status" >&5 + echo "$as_me:12244: \$? = $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 @@ -14681,7 +14668,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 14684 "configure" +#line 14671 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -14777,7 +14764,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 14780 "configure" +#line 14767 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -16749,11 +16736,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:16752: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16739: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:16756: \$? = $ac_status" >&5 + echo "$as_me:16743: \$? = $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. @@ -16848,11 +16835,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:16851: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16838: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16855: \$? = $ac_status" >&5 + echo "$as_me:16842: \$? = $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 @@ -16900,11 +16887,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:16903: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16890: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16907: \$? = $ac_status" >&5 + echo "$as_me:16894: \$? = $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 @@ -18417,11 +18404,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:18420: $lt_compile\"" >&5) + (eval echo "\"\$as_me:18407: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:18424: \$? = $ac_status" >&5 + echo "$as_me:18411: \$? = $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. @@ -18516,11 +18503,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:18519: $lt_compile\"" >&5) + (eval echo "\"\$as_me:18506: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:18523: \$? = $ac_status" >&5 + echo "$as_me:18510: \$? = $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 @@ -18568,11 +18555,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:18571: $lt_compile\"" >&5) + (eval echo "\"\$as_me:18558: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:18575: \$? = $ac_status" >&5 + echo "$as_me:18562: \$? = $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 @@ -31265,201 +31252,3 @@ cat >> src/H5config.h <<EOF EOF cat src/libhdf5.settings - -if false; then -if test -z "$ECHO_N" -o -z "$ECHO_C"; then - if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then - if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then - ECHO_N='' - ECHO_C=' -' - else - ECHO_N=-n - ECHO_C='' - fi - else - ECHO_N='' - ECHO_C='\c' - fi -fi - -PRINT_PLAIN() { - echo $ECHO_N "$1$ECHO_C" - echo $ECHO_N "$1$ECHO_C" 1>>src/libhdf5.settings -} - -PRINT_N() { - echo $ECHO_N "$1: $ECHO_C" - echo $ECHO_N "$1: $ECHO_C" 1>>src/libhdf5.settings -} - -PRINT() { - echo "$1" - echo "$1" 1>>src/libhdf5.settings -} - -IF_YES_NO() { - if test $# -lt 1; then - PRINT "No" - return - else - while test $# -gt 0; do - if test "$1" != "yes"; then - PRINT "No" - return - fi - shift - done - fi - PRINT "Yes" -} - -IF_ENABLED_DISABLED() { - if test "$1" = "yes"; then - PRINT "Enabled" - else - PRINT "Disabled" - fi -} - -PRINT "" -PRINT " Configure Summary" -PRINT " =================" -PRINT "" -PRINT "Compiling Options:" -PRINT "------------------" - -PRINT_N " Compilation Mode" -case "X-$enable_production" in - X-yes) PRINT "Production" ;; - X-no) PRINT "Development" ;; - X-profile) PRINT "Profile" ;; - *) PRINT "$enable_production" ;; -esac - -PRINT_N " C Compiler" -PRINT "$CC" - -PRINT_N " CFLAGS / H5_CFLAGS" -PRINT "$CFLAGS" -PRINT " $H5_CFLAGS" - -PRINT_N " CPPFLAGS / H5_CPPFLAGS" -PRINT "$CPPFLAGS" -PRINT " $H5_CPPFLAGS" - -PRINT_N " LDFLAGS" -PRINT "$LDFLAGS" - -PRINT_N " Debug Mode" - -if test "X$DEBUG_PKG" = "X$all_packages"; then - PRINT "All" -elif test "X$DEBUG_PKG" = "X"; then - PRINT "None" -else - PRINT $DEBUG_PKG -fi - -PRINT_N " Shared Libraries" -IF_YES_NO "$enable_shared" - -PRINT_N " Static Libraries" -IF_YES_NO "$enable_static" - -PRINT_N " Statically Linked Executables" -IF_YES_NO "$STATIC_EXEC" - -PRINT_N "Default Version of Public Symbols" -PRINT $DEFAULT_API_VERSION - -PRINT_N " With Deprecated Public Symbols" -IF_YES_NO "$DEPRECATED_SYMBOLS" - -PRINT_N " Tracing" -IF_YES_NO "$TRACE_API" - -PRINT_N "Clear file buffers before write" -IF_YES_NO "$CLEARFILEBUF" - -PRINT_N " Using memory checker" -IF_YES_NO "$USINGMEMCHECKER" - -PRINT_N " Optimization Instrumentation" -IF_YES_NO "$INSTRUMENT" - -PRINT "" -PRINT "Languages:" -PRINT "----------" - -PRINT_N " C++" -IF_YES_NO "$HDF_CXX" -if test X$HDF_CXX = Xyes; then - PRINT_N " C++ Compiler" - PRINT "$CXX" - - PRINT_N " CXXFLAGS / H5_CXXFLAGS" - PRINT "$CXXFLAGS" - PRINT " $H5_CXXFLAGS" -fi - -PRINT_N " Fortran" -IF_YES_NO "$HDF_FORTRAN" -if test X$HDF_FORTRAN = Xyes; then - PRINT_N " Fortran Compiler" - PRINT "$FC" - - PRINT_N " FCFLAGS / H5_FCFLAGS" - PRINT "$FCFLAGS" - PRINT " $H5_FCFLAGS" -fi - -PRINT "" -PRINT "Features:" -PRINT "---------" - -PRINT_N " dmalloc" -IF_YES_NO "$HAVE_DMALLOC" - -PRINT_N " Function Stack Tracing" -IF_ENABLED_DISABLED "$CODESTACK" - -PRINT_N " GPFS" -IF_YES_NO "$GPFS" - -PRINT_N " Strict File Format Checks" -IF_ENABLED_DISABLED "$STRICT_FORMAT_CHECKS" - -PRINT_N " Default API Mapping" -PRINT "$DEFAULT_API_VERSION" - -PRINT_N " I/O filters (external)" -PRINT "$EXTERNAL_FILTERS" - -PRINT_N " I/O filters (internal)" -PRINT "$FILTERS" - -PRINT_N " Linux Large File Support (LFS)" -IF_ENABLED_DISABLED "$LINUX_LFS" - -PRINT_N " MPE" -IF_YES_NO "$MPE" - - -PRINT_N " Parallel HDF5" -if test "$PARALLEL" != "no"; then - PRINT "Yes" -else - PRINT "No" -fi - - -PRINT_N " Direct VFD" -IF_ENABLED_DISABLED "$DIRECT_VFD" - -PRINT_N " Threadsafety" -IF_ENABLED_DISABLED "$THREADSAFE" - -PRINT_N " High Level library" -IF_ENABLED_DISABLED "$HDF5_HL" -fi |