Changeset 803
- Timestamp:
- Jan 19, 2017, 3:02:21 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/configure.ac
r800 r803 831 831 LDFLAGS_SAVE="$LDFLAGS" 832 832 LIBS="$LIBS_SAVE $OTB_LDFLAGS" 833 echo $OTB_CPPFLAGS834 #AC_CHECK_HEADERS([otbWrapperApplication.h otbWrapperInputImageListParameter.h otbWrapperApplicationRegistry.h],835 #[], [AC_MSG_ERROR([could not find header file $i related to OTB])])833 #echo $OTB_CPPFLAGS 834 AC_CHECK_HEADERS([otbWrapperApplication.h otbWrapperInputImageListParameter.h otbWrapperApplicationRegistry.h], 835 [], [AC_MSG_ERROR([could not find header file $i related to OTB])]) 836 836 LDFLAGS_SAVE="$LDFLAGS" 837 837 LDFLAGS="$OTB_LDFLAGS" 838 echo $OTB_LDFLAGS 839 AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include "otbWrapperApplication.h"],[std::vector<std::string> list = otb::Wrapwper::ApplicationRegistry::GetAvailableApplication();]])], 840 [AC_MSG_RESULT([checking for GetAvailableApplication... yes])],[AC_MSG_ERROR([checking for GetAvailableApplication... failed])]) 838 #echo $OTB_LDFLAGS 839 UVERS="$(echo -e '5.8\n$OTBVERS' | sort -r | head -n1)" 840 if test "$OTBVERS" == "$UVERS" ; then 841 AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include "otbWrapperApplicationRegistry.h"]],[[std::vector<std::string> list = otb::Wrapper::ApplicationRegistry::GetAvailableApplications();]])], 842 [AC_MSG_RESULT([checking for GetAvailableApplications... yes])],[AC_MSG_ERROR([checking for GetAvailableApplications... failed])]) 843 else 844 AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include "otbWrapperApplication.h"]],[[std::vector<std::string> list = otb::Wrapper::ApplicationRegistry::GetAvailableApplication();]])], 845 [AC_MSG_RESULT([checking for GetAvailableApplication... yes])],[AC_MSG_ERROR([checking for GetAvailableApplication... failed])]) 846 fi 847 841 848 LDFLAGS="$LDFLAGS_SAVE" 842 849 AC_LANG_POP([C++])
Note: See TracChangeset
for help on using the changeset viewer.