diff options
author | Sorin Stancu-Mara <smsorin@gmail.com> | 2009-05-15 16:48:13 +0200 |
---|---|---|
committer | www-data <www-data@ubuntu.localdomain> | 2010-06-09 11:26:18 +0200 |
commit | 9b11e8c40eb94efa6e46578a9d8f92f99ac3ce52 (patch) | |
tree | bf6aeda4f9089932ff2a34a188e8767af02ee3eb | |
parent | 8a689417ee61f48424cecc72e0c78c5187a713f0 (diff) | |
download | rasdaman-upstream-9b11e8c40eb94efa6e46578a9d8f92f99ac3ce52.tar.gz rasdaman-upstream-9b11e8c40eb94efa6e46578a9d8f92f99ac3ce52.tar.xz rasdaman-upstream-9b11e8c40eb94efa6e46578a9d8f92f99ac3ce52.zip |
Fixed ax_lib_rasdaman.m4
Now it will also check for libdf (part of hdf).
Added a default error message when rasdaman is not found.
-rw-r--r-- | m4/ax_lib_rasdaman.m4 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/m4/ax_lib_rasdaman.m4 b/m4/ax_lib_rasdaman.m4 index f16be78..87c2f9d 100644 --- a/m4/ax_lib_rasdaman.m4 +++ b/m4/ax_lib_rasdaman.m4 @@ -31,6 +31,15 @@ AC_DEFUN([AX_LIB_RASDAMAN], raslib_requirements_ok="no" raslib_missing="$raslib_missing libtiff" ]) + AC_CHECK_LIB([df], [HEpush], + [ + LIBS="-ldf $LIBS" + AC_DEFINE([HAVE_LIBHDF]) + ], + [ + raslib_requirements_ok="no" + raslib_missing="$raslib_missing libmfhdf" + ]) AC_CHECK_LIB([mfhdf], [SDstart], [ LIBS="-lmfhdf $LIBS" @@ -140,6 +149,12 @@ AC_DEFUN([AX_LIB_RASDAMAN], LIBS="$raslib_save_LIBS" CXXCPPFLAGS="$raslib_save_CXXCPPFLAGS" dnl Run user give commands + AC_MSG_NOTICE([ + + Can't find rasdaman. Try giving me a hint with --with-rasdaman=PATH . + If you already did try looking up in config.log for the actual error message. + ]) + { echo -n ; $2 } else dnl Run user given commands |