Changeset 550 for trunk/zoo-project/zoo-kernel/configure.ac
- Timestamp:
- Feb 3, 2015, 12:59:21 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/configure.ac
r544 r550 1 AC_INIT([ZOO Kernel], [1.5.0 ], [bugs@zoo-project.org])1 AC_INIT([ZOO Kernel], [1.5.0-dev], [bugs@zoo-project.org]) 2 2 3 3 # Checks for programs. … … 84 84 85 85 # =========================================================================== 86 # Detect if otb is available 87 # =========================================================================== 88 89 AC_ARG_WITH([otb], 90 [AS_HELP_STRING([--with-otb=PATH], [specify an alternative location for the otb library])], 91 [OTBPATH="$withval"], [OTBPATH=""]) 92 93 if test -z "$OTBPATH" 94 then 95 OTB_LDFLAGS="" 96 OTB_CPPFLAGS="" 97 OTB_FILE="" 98 OTB_ENABLED="" 99 else 100 101 OTB_ENABLED="-DUSE_OTB" 102 OTB_LDFLAGS="-L$OTBPATH/lib/otb -lOTBIO -lOTBCommon -lOTBApplicationEngine -lITKBiasCorrection-4.5 -lITKCommon-4.5 -lITKIOImageBase-4.5 -lITKKLMRegionGrowing-4.5 -lITKLabelMap-4.5 -lITKMesh-4.5 -lITKMetaIO-4.5 -lITKOptimizers-4.5 -lITKPath-4.5 -lITKPolynomials-4.5 -lITKQuadEdgeMesh-4.5 -lITKSpatialObjects-4.5 -lITKStatistics-4.5 -lITKVNLInstantiation-4.5 -lITKWatersheds-4.5 -litkNetlibSlatec-4.5 -litksys-4.5 -litkdouble-conversion-4.5 -litkv3p_lsqr-4.5 -litkv3p_netlib-4.5 -litkvcl-4.5 -litkvnl-4.5 -litkvnl_algo-4.5 -litkzlib-4.5" 103 OTB_CPPFLAGS="-I$OTBPATH/include/otb/ApplicationEngine -I$OTBPATH/include/otb/Common -I$OTBPATH/include/otb/Utilities/ITK -I$OTBPATH/include/otb/ -I$OTBPATH/include/otb/IO -I$OTBPATH/include/otb/UtilitiesAdapters/OssimAdapters -I$OTBPATH/include/otb/UtilitiesAdapters/CurlAdapters -I$OTBPATH/include/otb/Utilities/BGL -I$OTBPATH/include/otb/UtilitiesAdapters/ITKPendingPatches -I$OTBPATH/include/otb/Utilities/otbconfigfile" 104 OTB_FILE="service_internal_otb.o" #otbZooWatcher.o otbRunner.o" 105 106 AC_LANG_PUSH([C++]) 107 # Check headers file 108 CPPFLAGS_SAVE="$CPPFLAGS" 109 CPPFLAGS="$OTB_CPPFLAGS" 110 LDFLAGS_SAVE="$LDFLAGS" 111 LDFLAGS="$OTB_LDFLAGS" 112 for i in otbWrapperApplication.h otbWrapperInputImageListParameter.h otbWrapperApplicationRegistry.h; do 113 AC_CHECK_HEADERS([$i], 114 [], [AC_MSG_ERROR([could not find header file $i related to OTB])]) 115 done 116 AC_LANG_POP([C++]) 117 ##,otbWrapperInputImageListParameter,otbFilterWatcherBase.h,itksys/SystemTools.hxx,itkCommand.h,itkProcessObject.h,itkTimeProbe.h 118 fi 119 AC_SUBST([OTB_CPPFLAGS]) 120 AC_SUBST([OTB_LDFLAGS]) 121 AC_SUBST([OTB_FILE]) 122 AC_SUBST([OTB_ENABLED]) 123 124 # =========================================================================== 86 125 # Detect if libyaml is available 87 126 # =========================================================================== 88 127 89 128 AC_ARG_WITH([yaml], 90 [AS_HELP_STRING([--with-yaml=PATH], [specify an alternative location for the fastcgilibrary])],129 [AS_HELP_STRING([--with-yaml=PATH], [specify an alternative location for the yaml library])], 91 130 [YAMLPATH="$withval"], [YAMLPATH=""]) 92 131
Note: See TracChangeset
for help on using the changeset viewer.