Permalink
Browse files

configure.ac: more deps

  • Loading branch information...
1 parent a090c9c commit ae7af347d7cafe95cb11a69af0c3bc746a497653 @oleg-alexandrov oleg-alexandrov committed Dec 13, 2013
Showing with 7 additions and 2 deletions.
  1. +7 −2 configure.ac
View
9 configure.ac
@@ -213,11 +213,17 @@ fi
AX_PKG(FLANN, [], [-lflann_cpp],[flann/flann.hpp])
AX_PKG(GDAL, [], [-lgdal], [gdal.h])
+AX_PKG(Z, [], [-lz])
+
+AX_PKG(ILMBASE, [M Z PTHREADS], [-lImath -lHalf -lIex -lIlmThread], [Iex.h], [OpenEXR])
+AX_PKG(OPENEXR, [ILMBASE], [-lIlmImf], [ImfOutputFile.h], [OpenEXR])
+AX_PKG(JPEG, [], [-ljpeg], [stdio.h jpeglib.h]) # jpeglib.h requires stdio.h to have been included
+
# Vision Workbench Core
AX_PKG(VW_CORE, [BOOST_THREAD BOOST BOOST_PROGRAM_OPTIONS LAPACK], [-lvwCore], [vw/Core/Log.h] )
AX_PKG(VW_MATH, [VW_CORE], [-lvwMath], [vw/Math/LinearAlgebra.h], [], [], [], [FLANN])
AX_PKG(VW_IMAGE, [VW_CORE], [-lvwImage], [vw/Image/ImageView.h])
-AX_PKG(VW_FILEIO,[VW_IMAGE GDAL BOOST_SYSTEM BOOST_FILESYSTEM], [-lvwFileIO], [vw/FileIO/DiskImageResourceOpenEXR.h vw/FileIO/DiskImageResourceGDAL.h])
+AX_PKG(VW_FILEIO,[VW_IMAGE Z OPENEXR GDAL BOOST_SYSTEM BOOST_FILESYSTEM], [-lvwFileIO], [vw/FileIO/DiskImageResourceOpenEXR.h vw/FileIO/DiskImageResourceGDAL.h])
AX_PKG(VW_TOOLS, [VW_FILEIO VW_IMAGE VW_MATH VW_CORE BOOST_FILESYSTEM BOOST_PROGRAM_OPTIONS THREADS], [-lvwTools], [vw/tools/Common.h])
AX_GROUP_PKG(VW, [VW_TOOLS VW_FILEIO VW_IMAGE VW_MATH VW_CORE])
@@ -333,7 +339,6 @@ AX_PKG(UFCONFIG, [], [-lufconfig])
AX_PKG(AMD, [], [-lamd], [], [], [], [], [UFCONFIG])
AX_PKG(COLAMD, [], [-lcolamd], [], [], [], [], [UFCONFIG])
AX_PKG(CHOLMOD, [AMD COLAMD LAPACK], [-lcholmod])
-AX_PKG(Z, [], [-lz])
AX_PKG_ONE_OF(TIFF,
STANDALONE_TIFF, [AX_PKG(STANDALONE_TIFF, [Z], [-ltiff])],
TIFF_NEEDS_JPEG, [AX_PKG(TIFF_NEEDS_JPEG, [Z], [-ljpeg -ltiff])])

0 comments on commit ae7af34

Please sign in to comment.