- Timestamp:
- 09/12/11 15:05:50 (6 months ago)
- File:
-
- 1 edited
-
trunk/configure.ac (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r1777 r1789 358 358 # enable compiler warnings if gcc 359 359 if test "$CC" = "gcc"; then 360 CFLAGS="$CFLAGS -Wall -Wno-unused-variable -Wno-sign-compare -Wno-comment" 360 # CFLAGS="$CFLAGS -Wall -Wno-unused-variable -Wno-sign-compare -Wno-comment" 361 CFLAGS="$CFLAGS -Wall" 361 362 fi 362 363 363 364 if test "$CXX" = "g++"; then 364 CXXFLAGS="$CXXFLAGS -Wall -Wno-unused-variable -Wno-sign-compare -Wno-comment" 365 # CXXFLAGS="$CXXFLAGS -Wall -Wno-unused-variable -Wno-sign-compare -Wno-comment" 366 CXXFLAGS="$CXXFLAGS -Wall" 365 367 fi 366 368 … … 607 609 H5VERSION=`grep H5_VERS_INFO ${H5ROOT}/include/H5public.h | cut -d '"' -f 2 | cut -d ' ' -f 4` 608 610 case $H5VERSION in 609 1.[[ 689]]*)611 1.[[89]]*) 610 612 HDF5_LDFLAGS="" 611 613 for j in lib lib64; do … … 619 621 HDF5_CPPFLAGS="-I$H5ROOT/include -DHDF5 -DH5_NO_DEPRECATED_SYMBOLS ${HDF5_API_DEFS}" 620 622 ;; 621 *) AC_MSG_WARN([The HDF 5 installation has not the right version ($H5VERSION). You need at least 1.6]) 622 H5ROOT="";; 623 *) 624 AC_MSG_WARN([The HDF 5 installation at $H5ROOT is not the right version ($H5VERSION). You need at least 1.8]) 625 H5ROOT="" 626 ;; 623 627 esac 624 628 fi
Note: See TracChangeset
for help on using the changeset viewer.
