Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 489 lines (417 sloc) 22.265 kb
e958375 Zack Moratto Run relicense
zmoratto authored
1 dnl __BEGIN_LICENSE__
2 dnl Copyright (C) 2006-2011 United States Government as represented by
545de6e Mike Lundy Synchronize VW and Stereo build systems
novas0x2a authored
3 dnl the Administrator of the National Aeronautics and Space Administration.
4 dnl All Rights Reserved.
5 dnl __END_LICENSE__
bf17a24 Michael Broxton Re-arranged the repository...
broxtronix authored
6
bf8e60a Zack Moratto Bringing ASP's build system up to VW standards
zmoratto authored
7
4ce2bd3 Mike Lundy commit changes from VW
novas0x2a authored
8 m4_pattern_forbid([^AX_])
85c5e33 Mike Lundy merge in VW build system
novas0x2a authored
9 m4_pattern_allow([^AX_CFLAGS$])
10 m4_pattern_allow([^AX_INCLUDE_DIR$])
11 m4_pattern_allow([^AX_LIBDIR$])
12 m4_pattern_allow([^AX_OTHER_LIBDIR$])
13 m4_pattern_allow([^PKG_[A-Z_]+_CPPFLAGS$])
14 m4_pattern_allow([^PKG_[A-Z_]+_LDFLAGS$])
15 m4_pattern_allow([^PKG_[A-Z_]+_LIBS$])
16 m4_pattern_allow([^PKG_PATHS$])
17 m4_pattern_allow([^PKG_PATHS_[A-Z_]+$])
18 m4_pattern_allow([^PKG_BOOST_INCDIR$])
19 m4_pattern_allow([^PKG_BOOST_LIBDIR$])
20 m4_pattern_allow([^PKG_VW_LIBS_TEMP$])
bf8e60a Zack Moratto Bringing ASP's build system up to VW standards
zmoratto authored
21 m4_pattern_allow([^PKG_ARBITRARY_QT_NEEDED_HEADERS$])
4ce2bd3 Mike Lundy commit changes from VW
novas0x2a authored
22
40a3704 Mike Lundy merge in more changes from vw
novas0x2a authored
23 ##################################################
24 # A few starting bits
25 ##################################################
26
bf8e60a Zack Moratto Bringing ASP's build system up to VW standards
zmoratto authored
27 AC_PREREQ([2.59])
40a3704 Mike Lundy merge in more changes from vw
novas0x2a authored
28 dnl TODO BEFORE RELEASE: update package version
eb63621 Zack Moratto config: Change version to "2.0.0_pre"
zmoratto authored
29 AC_INIT([NASA Ames Stereo Pipeline], [2.0.0_pre], [asp@nx.arc.nasa.gov], [StereoPipeline])
bf17a24 Michael Broxton Re-arranged the repository...
broxtronix authored
30 AC_CONFIG_AUX_DIR(config)
9ae12ae Mike Lundy make stereo's build much like vw's
novas0x2a authored
31 AC_CONFIG_MACRO_DIR([m4])
bf17a24 Michael Broxton Re-arranged the repository...
broxtronix authored
32 AC_CANONICAL_HOST
bf8e60a Zack Moratto Bringing ASP's build system up to VW standards
zmoratto authored
33 AM_INIT_AUTOMAKE([nostdinc 1.8.5])
9c0d10b Zack Moratto Massive reorganization. Works this time! A good handful of code has been...
zmoratto authored
34 AX_CONFIG_HEADER_PREFIX([src/asp/asp_config.h], [ASP_])
bf17a24 Michael Broxton Re-arranged the repository...
broxtronix authored
35
d76428c Zack Moratto Port some fixes from VW
zmoratto authored
36 dnl Fix for early autoconf that doesn't export these
37 AC_SUBST([abs_top_srcdir])
38 AC_SUBST([abs_top_builddir])
39
7747ebc Mike Lundy move docdir fix to configure.ac to avoid unconditional override
novas0x2a authored
40 # This var isn't defined in autoconf < 2.60
41 if test -z "$docdir" ; then
74a6180 Zack Moratto Fix variable assignment in configure
zmoratto authored
42 docdir='${datadir}/doc/${PACKAGE_TARNAME}'
7747ebc Mike Lundy move docdir fix to configure.ac to avoid unconditional override
novas0x2a authored
43 AC_SUBST(docdir)
44 fi
45
bf8e60a Zack Moratto Bringing ASP's build system up to VW standards
zmoratto authored
46 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
47
545de6e Mike Lundy Synchronize VW and Stereo build systems
novas0x2a authored
48 dnl TODO RIGHT BEFORE RELEASE: update libtool version
40a3704 Mike Lundy merge in more changes from vw
novas0x2a authored
49 dnl if abi changes in any way:
50 dnl current++
51 dnl revision=0
52 dnl if new abi is backward-compatible:
53 dnl age += 1
54 dnl else:
55 dnl age = 0
56 dnl else:
57 dnl revision++
58 dnl (see http://sources.redhat.com/autobook/autobook/autobook_91.html)
59 dnl
60 dnl LIBTOOL_VERSION=current:revision:age
bf8e60a Zack Moratto Bringing ASP's build system up to VW standards
zmoratto authored
61 LIBTOOL_VERSION=4:0:0
a74972c Michael Broxton Merged in changes from the isis_devel branch. Improvements include an u...
broxtronix authored
62 AC_SUBST(LIBTOOL_VERSION)
63
bf8e60a Zack Moratto Bringing ASP's build system up to VW standards
zmoratto authored
64 m4_divert_text([INIT_PREPARE], [dnl
40a3704 Mike Lundy merge in more changes from vw
novas0x2a authored
65 # load the config.options
ea6a6c6 Mike Lundy resync with vw macros
novas0x2a authored
66 if test -f ./config.options; then
545de6e Mike Lundy Synchronize VW and Stereo build systems
novas0x2a authored
67 AX_LOG([using config.options << EOF])
68 AX_LOG([`cat ./config.options`])
69 AX_LOG([EOF])
bf8e60a Zack Moratto Bringing ASP's build system up to VW standards
zmoratto authored
70 . ./config.options
bf17a24 Michael Broxton Re-arranged the repository...
broxtronix authored
71 fi
bf8e60a Zack Moratto Bringing ASP's build system up to VW standards
zmoratto authored
72 ])
7102287 Mike Lundy I moved PKG_PATHS to ax_common_options.m4
novas0x2a authored
73
bf17a24 Michael Broxton Re-arranged the repository...
broxtronix authored
74 ##################################################
40a3704 Mike Lundy merge in more changes from vw
novas0x2a authored
75 # Find the necessary programs
bf17a24 Michael Broxton Re-arranged the repository...
broxtronix authored
76 ##################################################
77
40a3704 Mike Lundy merge in more changes from vw
novas0x2a authored
78 # Make sure these are set so AC_PROG_CC doesn't initialize them with
79 # its defaults, since we take care of setting debug and optimization
80 # levels ourselves.
81 CFLAGS="$CFLAGS"
82 CXXFLAGS="$CXXFLAGS"
83
bf8e60a Zack Moratto Bringing ASP's build system up to VW standards
zmoratto authored
84 # Disable static libraries by default
85 AM_DISABLE_STATIC
86
40a3704 Mike Lundy merge in more changes from vw
novas0x2a authored
87 # Find the tools
88 AC_PROG_CC
89 AC_PROG_CXX
90 AC_PROG_INSTALL
91 AX_PROG_AR
92 AC_PROG_LIBTOOL
93 AC_PROG_MAKE_SET
94 AC_LANG(C++)
6aab8d2 Mike Lundy move a bunch of common options to their own macro
novas0x2a authored
95 AX_COMMON_OPTIONS
a74972c Michael Broxton Merged in changes from the isis_devel branch. Improvements include an u...
broxtronix authored
96
bf8e60a Zack Moratto Bringing ASP's build system up to VW standards
zmoratto authored
97 # Does the compiler support noreturn?
98 AX_CHECK_FUNCTION_ATTRIBUTE([noreturn])
99 AX_CHECK_FUNCTION_ATTRIBUTE([deprecated])
100
101 # Looking for posix headers
102 AC_CHECK_HEADERS([unistd.h pwd.h])
103 AC_CHECK_FUNCS([getpwuid getpid])
a74972c Michael Broxton Merged in changes from the isis_devel branch. Improvements include an u...
broxtronix authored
104
bf17a24 Michael Broxton Re-arranged the repository...
broxtronix authored
105 ##################################################
545de6e Mike Lundy Synchronize VW and Stereo build systems
novas0x2a authored
106 # Compilation options
107 ##################################################
108
109 AX_ARG_ENABLE(strict-aliasing, no, [none], [allow strict aliasing (dangerous)])
c69254d Mike Lundy new qt detection method
novas0x2a authored
110 AX_ARG_ENABLE(qt-qmake, yes, [none], [Allow qmake detection of QT])
111
545de6e Mike Lundy Synchronize VW and Stereo build systems
novas0x2a authored
112
113 ##################################################
114 # Handle options
bf17a24 Michael Broxton Re-arranged the repository...
broxtronix authored
115 ##################################################
116
117
22eabd4 Mike Lundy Mostly sync the macros between vw & stereo. This is good either if we st...
novas0x2a authored
118
545de6e Mike Lundy Synchronize VW and Stereo build systems
novas0x2a authored
119 ##################################################
120 # distribution options
121 ##################################################
122
40a3704 Mike Lundy merge in more changes from vw
novas0x2a authored
123
545de6e Mike Lundy Synchronize VW and Stereo build systems
novas0x2a authored
124
125
126 ##################################################
127 # package checks
128 ##################################################
129
130 AX_PKG_PTHREADS
131
384d7c3 Zack Moratto Added skeleton for MPI in ASP
zmoratto authored
132 AX_PKG(OPEN_MPI, [], [-D_REENTRANT -Wl,-u,_munmap -Wl,-multiply_defined,suppress -lmpi_cxx -lmpi -lopen-rte -lopen-pal -lutil], [mpi.h])
133
bf8e60a Zack Moratto Bringing ASP's build system up to VW standards
zmoratto authored
134 AX_PKG_BOOST([BOOST_PROGRAM_OPTIONS BOOST_SYSTEM BOOST_FILESYSTEM BOOST_THREAD BOOST_GRAPH],
135 BOOST_PROGRAM_OPTIONS,
136 [AX_PKG_BOOST_LIB(PROGRAM_OPTIONS, [-lboost_program_options], [boost/program_options.hpp], [boost::program_options::options_description("Rawr");])],
137 BOOST_SYSTEM,
138 [AX_PKG_BOOST_LIB(SYSTEM, [-lboost_system], [boost/system/error_code.hpp], [boost::system::error_code();])],
139 BOOST_FILESYSTEM,
140 [AX_PKG_BOOST_LIB(FILESYSTEM, [-lboost_filesystem], [boost/filesystem/path.hpp], [boost::filesystem::path();], [$PKG_BOOST_SYSTEM_LIBS])],
141 BOOST_REGEX,
142 [AX_PKG_BOOST_LIB(REGEX, [-lboost_regex], [boost/regex.hpp], [boost::regex(".*");])],
143 BOOST_DATETIME,
144 [AX_PKG_BOOST_LIB(DATETIME, [-lboost_date_time], [boost/date_time/gregorian/gregorian_types.hpp])],
145 BOOST_THREAD,
146 [AX_PKG_BOOST_LIB(THREAD, [-lboost_thread], [boost/thread/thread.hpp], [boost::mutex();], [$PKG_BOOST_DATETIME_LIBS], [boost/thread/condition.hpp])],
147 BOOST_IOSTREAMS,
148 [AX_PKG_BOOST_LIB(IOSTREAMS, [-lboost_iostreams], [boost/iostreams/device/mapped_file.hpp], [boost::iostreams::mapped_file_source();])],
149 BOOST_GRAPH,
150 [AX_PKG_BOOST_LIB(GRAPH, [], [boost/graph/adjacency_list.hpp])],
151 BOOST_MPI,
152 [AX_PKG_BOOST_LIB(MPI, [-lboost_mpi], [boost/mpi.hpp], [], [$PKG_OPEN_MPI_LIBS])],
153 BOOST_SERIALIZATION,
154 [AX_PKG_BOOST_LIB(SERIALIZATION, [-lboost_serialization], [boost/serialization/string.hpp], [], [$PKG_OPEN_MPI_LIBS $PKG_BOOST_MPI_LIBS])]
155 )
156
157 if test x"$HAVE_PKG_BOOST" = "xyes"; then
158 AX_PKG_BOOST_CHECK_VERSION([VW_])
159 AC_MSG_NOTICE([Using Boost header version $BOOST_VERSION, library suffix $PKG_BOOST_SAME_SUFFIX])
545de6e Mike Lundy Synchronize VW and Stereo build systems
novas0x2a authored
160 fi
bf17a24 Michael Broxton Re-arranged the repository...
broxtronix authored
161
22eabd4 Mike Lundy Mostly sync the macros between vw & stereo. This is good either if we st...
novas0x2a authored
162 # This provides an easy way for users to override the threads options
a74972c Michael Broxton Merged in changes from the isis_devel branch. Improvements include an u...
broxtronix authored
163 # if they are replacing Boost threads with something else for their platform.
164 AX_PKG(THREADS, [BOOST_THREAD], [], [])
bf17a24 Michael Broxton Re-arranged the repository...
broxtronix authored
165
85c5e33 Mike Lundy merge in VW build system
novas0x2a authored
166 AX_PKG(M, [], [-lm], [math.h])
167
40a3704 Mike Lundy merge in more changes from vw
novas0x2a authored
168 AX_PKG_ONE_OF(LAPACK,
169 APPLE_LAPACK,
170 [AX_PKG_APPLE(LAPACK, [], [-framework vecLib])],
85c5e33 Mike Lundy merge in VW build system
novas0x2a authored
171 INTEL_LAPACK,
172 [case $host_cpu in
173 ia64) AX_PKG(INTEL_LAPACK, [PTHREADS M], [-lmkl_lapack -lmkl -lmkl_i2p -lguide], [mkl_lapack.h], [], [64], [dgelss_]);;
174 x86_64) AX_PKG(INTEL_LAPACK, [PTHREADS M], [-lmkl_lapack -lmkl -lmkl_def -lguide], [mkl_lapack.h], [], [em64t], [dgelss_]);;
175 *) AX_PKG(INTEL_LAPACK, [PTHREADS M], [-lmkl_lapack -lmkl -lguide], [mkl_lapack.h], [], [32], [dgelss_]);;
176 esac],
40a3704 Mike Lundy merge in more changes from vw
novas0x2a authored
177 CLAPACK,
85c5e33 Mike Lundy merge in VW build system
novas0x2a authored
178 [AX_PKG(CLAPACK, [], [-lclapack -lblas -lf2c], [], [], [], [dgelss_])],
40a3704 Mike Lundy merge in more changes from vw
novas0x2a authored
179 SLAPACK,
85c5e33 Mike Lundy merge in VW build system
novas0x2a authored
180 [AX_PKG(SLAPACK, [], [-llapack -lblas], [], [], [], [dgelss_])],
40a3704 Mike Lundy merge in more changes from vw
novas0x2a authored
181 FLAPACK,
85c5e33 Mike Lundy merge in VW build system
novas0x2a authored
182 [AX_PKG(FLAPACK, [], [-llapack -lblas -lgfortran], [], [], [], [dgelss_])],
40a3704 Mike Lundy merge in more changes from vw
novas0x2a authored
183 STANDALONE_LAPACK_BLAS,
184 [AX_PKG(STANDALONE_BLAS, [], [-lblas], [])
85c5e33 Mike Lundy merge in VW build system
novas0x2a authored
185 AX_PKG(STANDALONE_LAPACK, [STANDALONE_BLAS], [-llapack], [], [], [], [dgelss_])
40a3704 Mike Lundy merge in more changes from vw
novas0x2a authored
186 AX_GROUP_PKG(STANDALONE_LAPACK_AND_BLAS, [STANDALONE_LAPACK STANDALONE_BLAS])],
187 STANDALONE_FLAPACK_FBLAS,
188 [AX_PKG(STANDALONE_F2C, [], [-lf2c], [])
189 AX_PKG(STANDALONE_FBLAS, [STANDALONE_F2C], [-lblas], [])
85c5e33 Mike Lundy merge in VW build system
novas0x2a authored
190 AX_PKG(STANDALONE_FLAPACK, [STANDALONE_FBLAS STANDALONE_F2C], [-llapack], [], [], [], [dgelss_])
40a3704 Mike Lundy merge in more changes from vw
novas0x2a authored
191 AX_GROUP_PKG(STANDALONE_FLAPACK_FBLAS, [STANDALONE_FLAPACK STANDALONE_FBLAS STANDALONE_F2C])])
22eabd4 Mike Lundy Mostly sync the macros between vw & stereo. This is good either if we st...
novas0x2a authored
192
ebca167 Zack Moratto Bug fix for detecting VW_PLATE
zmoratto authored
193 AX_PKG(RABBITMQ_C, [], [-lrabbitmq], [stdlib.h stdint.h amqp.h])
9a734a5 Zack Moratto Added zeromq as optional dependency of VW_PLATE
zmoratto authored
194 AX_PKG(ZEROMQ, [], [-lzmq], [zmq.hpp])
ebca167 Zack Moratto Bug fix for detecting VW_PLATE
zmoratto authored
195 AX_PKG(PROTOBUF, [PTHREADS], [-lprotobuf], [google/protobuf/stubs/common.h])
66c8ad2 Zack Moratto Have ASP pull protoc like we do in VW
zmoratto authored
196 AC_PATH_TOOL( PROTOC, [protoc], [no], [$PKG_PATHS_PROTOBUF/bin$PATH_SEPARATOR$PATH])
197 if test x"$PROTOC" = "xno" && test x"$HAVE_PKG_PROTOBUF" = "xyes"; then
198 AC_MSG_ERROR([cannot find protoc used by protobuf])
199 fi
c98d6ee Zack Moratto Added FLANN as an optional dependency of VW_MATH
zmoratto authored
200 AX_PKG(FLANN, [], [-lflann_cpp],[flann/flann.hpp])
ebca167 Zack Moratto Bug fix for detecting VW_PLATE
zmoratto authored
201
d5b5c94 Zack Moratto Reorder of configure.ac
zmoratto authored
202 # Vision Workbench Core
35cb094 build system fix
DW Wheeler authored
203 AX_PKG(VW_CORE, [BOOST_THREAD BOOST BOOST_PROGRAM_OPTIONS LAPACK], [-lvwCore], [vw/Core/Log.h] )
c98d6ee Zack Moratto Added FLANN as an optional dependency of VW_MATH
zmoratto authored
204 AX_PKG(VW_MATH, [VW_CORE], [-lvwMath], [vw/Math/LinearAlgebra.h], [], [], [], [FLANN])
d5b5c94 Zack Moratto Reorder of configure.ac
zmoratto authored
205 AX_PKG(VW_IMAGE, [VW_CORE], [-lvwImage], [vw/Image/ImageView.h])
35cb094 build system fix
DW Wheeler authored
206 AX_PKG(VW_FILEIO,[VW_IMAGE BOOST_SYSTEM BOOST_FILESYSTEM], [-lvwFileIO], [vw/FileIO/DiskImageResourceOpenEXR.h vw/FileIO/DiskImageResourceGDAL.h])
7c1d3a8 Zack Moratto Improve disparity debug to work with non-float disparity images
zmoratto authored
207 AX_PKG(VW_TOOLS, [VW_IMAGE VW_MATH VW_CORE BOOST_FILESYSTEM BOOST_PROGRAM_OPTIONS THREADS], [-lvwTools], [vw/tools/Common.h])
208 AX_GROUP_PKG(VW, [VW_TOOLS VW_FILEIO VW_IMAGE VW_MATH VW_CORE])
d5b5c94 Zack Moratto Reorder of configure.ac
zmoratto authored
209
66bb2c9 Zack Moratto Added check that VW_FILEIO has EXR and GDAL support
zmoratto authored
210 # Double Check again that VW_FILEIO really was built with the correct 3rdParty.
211 AX_EXTRACT_CPP_SYMBOL([VW_HAVE_PKG_OPENEXR], [#include <vw/config.h>],
212 [VW_HAS_OPENEXR=$output], [VW_HAS_OPENEXR=0], ["$PKG_VW_CORE_CPPFLAGS"])
213 AX_EXTRACT_CPP_SYMBOL([VW_HAVE_PKG_GDAL], [#include <vw/config.h>],
214 [VW_HAS_GDAL=$output], [VW_HAS_GDAL=0], ["$PKG_VW_CORE_CPPFLAGS"])
215 if test x"$HAVE_PKG_VW_CORE" = "xyes"; then
216 if test x"$VW_HAS_OPENEXR" = "x0"; then
217 AC_MSG_ERROR([VW doesn't have OpenEXR support! Rebuild VW with OpenEXR support.])
218 fi
219 if test x"$VW_HAS_GDAL" = "x0"; then
220 AC_MSG_ERROR([VW doesn't have GDAL support! Rebuild VW with GDAL support.])
221 fi
222 fi
223
d5b5c94 Zack Moratto Reorder of configure.ac
zmoratto authored
224 # Vision Workbench Secondaries
9a734a5 Zack Moratto Added zeromq as optional dependency of VW_PLATE
zmoratto authored
225 AX_PKG(VW_PLATE, [VW_FILEIO PROTOBUF], [-lvwPlate], [vw/Plate/PlateFile.h], [], [], [], [ZEROMQ RABBITMQ_C])
226 if test x"$HAVE_PKG_ZEROMQ" = "xno" && test x"$HAVE_PKG_RABBITMQ_C" = "xno" && test x"$HAVE_PKG_VW_PLATE" = "xyes"; then
227 AC_MSG_ERROR([VW_PLATE requires either ZEROMQ or RABBITMQ_C or BOTH.])
228 fi
d5b5c94 Zack Moratto Reorder of configure.ac
zmoratto authored
229 AX_PKG(VW_CAMERA, [VW BOOST_IOSTREAMS], [-lvwCamera], [vw/Camera/CAHVModel.h])
264f3f8 Zack Moratto configure: Optimized Correlator no longer exists in vw/Stereo
zmoratto authored
230 AX_PKG(VW_STEREO, [VW_CAMERA], [-lvwStereo], [vw/Stereo/CostFunctions.h])
2e9a880 Zack Moratto Add optional dependency of PROTOBUF to VW_CARTOGRAPHY
zmoratto authored
231 AX_PKG(VW_CARTOGRAPHY, [VW_CAMERA], [-lvwCartography], [vw/Cartography/GeoReference.h], [], [], [], [PROTOBUF])
2025139 Zack Moratto Added CURL dependency for ASP
zmoratto authored
232 AX_PKG(VW_MOSAIC, [VW_CARTOGRAPHY], [-lvwMosaic], [vw/Mosaic/ImageComposite.h])
d5b5c94 Zack Moratto Reorder of configure.ac
zmoratto authored
233 AX_PKG(VW_INTEREST_POINT, [VW], [-lvwInterestPoint],[vw/InterestPoint/InterestData.h])
2a8255d Zack Moratto Added vwCartography as a dependency of Photometry
zmoratto authored
234 AX_PKG(VW_PHOTOMETRY, [VW VW_CARTOGRAPHY], [-lvwPhotometry])
65ddedc Zack Moratto Bring ASP in line with the switch to BA Module
zmoratto authored
235 AX_PKG(VW_BUNDLEADJUSTMENT, [VW_INTEREST_POINT VW_CARTOGRAPHY VW_STEREO], [-lvwBundleAdjustment], [vw/BundleAdjustment/AdjustBase.h])
b7e4f18 Michael Broxton First cut at adding a CUDA application
broxtronix authored
236
35a56b1 Zack Moratto ASPCore build fix
zmoratto authored
237 AM_CONDITIONAL(HAVE_PKG_VW_BUNDLEADJUSTMENT, [test "$HAVE_PKG_VW_BUNDLEADJUSTMENT" = "yes"])
238
661b985 Mike Lundy make gl an explicit dep of qt-opengl
novas0x2a authored
239 AX_PKG_ONE_OF(GL,
240 APPLE_GL,
241 [AX_PKG_APPLE([GL], [], [-framework OpenGL -framework GLUT -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib])],
242 LINUX_GL,
243 [AX_PKG(X11, [], [-lXext -lX11 -lXmu -lXi -lXt], [])
a0b7e81 Zack Moratto glShaders are not a requirement of ASP
zmoratto authored
244 AX_PKG(LINUX_GL, [X11], [-lglut -lGLU -lGL], [GL/gl.h GL/glu.h GL/glut.h])])
661b985 Mike Lundy make gl an explicit dep of qt-opengl
novas0x2a authored
245
7a3bc16 Mike Lundy make GL an explicit dep of openscenegraph, too.
novas0x2a authored
246 AX_PKG(OPENSCENEGRAPH, [GL], [-losg -losgDB -lOpenThreads -losgViewer -losgText -losgGA -losgFX -losgTerrain -losgUtil], [osg/ref_ptr])
247
fd5a841 Mike Lundy add a spice subdir detection for naif dir
novas0x2a authored
248 AX_PKG_ONE_OF(SPICE,
249 SPICE_SUBDIR, [AX_PKG(SPICE_SUBDIR, [], [-lcspice], [SpiceUsr.h SpiceZfc.h], [naif])],
250 SPICE_TOP, [AX_PKG(SPICE_TOP, [], [-lcspice], [SpiceUsr.h SpiceZfc.h])])
7a3bc16 Mike Lundy make GL an explicit dep of openscenegraph, too.
novas0x2a authored
251
c69254d Mike Lundy new qt detection method
novas0x2a authored
252 if test "$HAVE_PKG_QT" = no; then
253 ENABLE_QT_QMAKE=no
df8146e Michael Broxton Brought over some of Mike Lundy\'s new build system tweaks from VW to AS...
broxtronix authored
254 fi
255
c69254d Mike Lundy new qt detection method
novas0x2a authored
256 if test "$ENABLE_QT_QMAKE" = no; then
257 AX_GROUP_PKG([QT_QMAKE])
258 else
259 # Qt with AutoTroll.
bf8e60a Zack Moratto Bringing ASP's build system up to VW standards
zmoratto authored
260 AT_WITH_QT([+gui +sql +opengl +network], [], [], [HAVE_PKG_QT_QMAKE="no:missing QT"], [])
c69254d Mike Lundy new qt detection method
novas0x2a authored
261
262 if test x"$HAVE_PKG_QT_QMAKE" != x"no:missing QT"; then
263 AT_REQUIRE_QT_VERSION([4.0], [HAVE_PKG_QT_QMAKE="no:wrong QT version"], [])
264 fi
265
266 # We seed QT_QMAKE's cppflags and libs with the ones qmake figured out
267 PKG_QT_QMAKE_CPPFLAGS="$PKG_QT_QMAKE_CPPFLAGS $QT_CPPFLAGS"
268 AX_PKG(QT_QMAKE, [], [$QT_LIBS], [QVector])
269 fi
df8146e Michael Broxton Brought over some of Mike Lundy\'s new build system tweaks from VW to AS...
broxtronix authored
270
271 AX_PKG_ONE_OF(QT,
d6387f3 Mike Lundy Add an "arbitrary QT" mode
novas0x2a authored
272 ARBITRARY_QT,
273 [if test -z "$QT_ARBITRARY_MODULES" -a -z "$HAVE_PKG_ARBITRARY_MODULES"; then
274 HAVE_PKG_ARBITRARY_QT="no:Set \$QT_ARBITRARY_MODULES"
275 else
276 for module in $QT_ARBITRARY_MODULES; do
0d57a7a Mike Lundy make kakadu optional, and change arbitrary_qt handling
novas0x2a authored
277 PKG_ARBITRARY_QT_NEEDED_HEADERS="$PKG_ARBITRARY_QT_NEEDED_HEADERS ${module}"
d6387f3 Mike Lundy Add an "arbitrary QT" mode
novas0x2a authored
278 done
0d57a7a Mike Lundy make kakadu optional, and change arbitrary_qt handling
novas0x2a authored
279 PKG_ARBITRARY_QT_CPPFLAGS="$PKG_ARBITRARY_QT_CPPFLAGS -DQT_SHARED"
280 AX_PKG(ARBITRARY_QT, [], [], [$PKG_ARBITRARY_QT_NEEDED_HEADERS])
281 fi],
c69254d Mike Lundy new qt detection method
novas0x2a authored
282 APPLE_QMAKE_QT, [AX_PKG_APPLE(QMAKE_QT, [GL QT_QMAKE], [])],
283 LINUX_QMAKE_QT,
bf8e60a Zack Moratto Bringing ASP's build system up to VW standards
zmoratto authored
284 [AX_PKG(QT_QMAKE_OPENGL, [QT_QMAKE], [], [QtOpenGL])
285 AX_PKG(QT_QMAKE_GUI, [QT_QMAKE], [], [QLabel])
286 AX_PKG(QT_QMAKE_SQL, [QT_QMAKE], [], [QtSql])
287 AX_PKG(QT_QMAKE_NETWORK, [QT_QMAKE], [], [QtNetwork])
288 AX_GROUP_PKG(LINUX_QMAKE_QT, [QT_QMAKE QT_QMAKE_GUI QT_QMAKE_OPENGL QT_QMAKE_SQL QT_QMAKE_NETWORK])],
c69254d Mike Lundy new qt detection method
novas0x2a authored
289 GUESS_QT,
290 [PKG_QT_GUESS_BASE_CPPFLAGS="$PKG_QT_GUESS_BASE_CPPFLAGS -DQT_SHARED"
291 AX_PKG(QT_GUESS_BASE, [], [], [QtCore/qstring.h])
292 AX_PKG(QT_GUESS_CORE, [QT_GUESS_BASE], [-lQtCore], [QtCore], [QtCore])
293 AX_PKG(QT_GUESS_GUI, [QT_GUESS_CORE], [-lQtGui], [QtGui], [QtGui])
294 AX_PKG(QT_GUESS_SQL, [QT_GUESS_CORE], [-lQtSql], [QtSql], [QtSql])
bf8e60a Zack Moratto Bringing ASP's build system up to VW standards
zmoratto authored
295 AX_PKG(QT_GUESS_NETWORK,[QT_GUESS_CORE], [-lQtNetwork],[QtNetwork],[QtNetwork])
c69254d Mike Lundy new qt detection method
novas0x2a authored
296 AX_PKG(QT_GUESS_OPENGL, [QT_GUESS_CORE QT_GUESS_GUI], [-lQtOpenGL], [QtOpenGL], [QtOpenGL])
bf8e60a Zack Moratto Bringing ASP's build system up to VW standards
zmoratto authored
297 AX_GROUP_PKG(GUESS_QT, [QT_GUESS_BASE QT_GUESS_CORE QT_GUESS_GUI QT_GUESS_SQL QT_GUESS_NETWORK QT_GUESS_OPENGL])])
df8146e Michael Broxton Brought over some of Mike Lundy\'s new build system tweaks from VW to AS...
broxtronix authored
298
40a3704 Mike Lundy merge in more changes from vw
novas0x2a authored
299 AX_PKG_ONE_OF(QWT,
6a9ea0d Mike Lundy missed a QT_BASE ref
novas0x2a authored
300 APPLE_QWT, [AX_PKG_APPLE(QWT, [QT], [-lqwt.5])],
301 PLAIN_QWT, [AX_PKG(PLAIN_QWT, [QT], [-lqwt])],
302 SUFFX_QWT, [AX_PKG(SUFFX_QWT, [QT], [-lqwt-qt4])])
40a3704 Mike Lundy merge in more changes from vw
novas0x2a authored
303
304 AX_PKG_ONE_OF(GSL,
860c4ef Mike Lundy detect gsl better
novas0x2a authored
305 GSL_HASBLAS, [AX_PKG(GSL_HASBLAS, [LAPACK], [-lgsl])],
306 GSL_NEEDBLAS, [AX_PKG(GSL_NEEDBLAS, [LAPACK], [-lgsl -lgslcblas])])
3a92ea1 Mike Lundy this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored
307
2025139 Zack Moratto Added CURL dependency for ASP
zmoratto authored
308 AX_PKG(CURL, [], [-lcurl])
155d056 Mike Lundy refresh asp thirdparty deps (needs more testing)
novas0x2a authored
309 AX_PKG(GEOS, [], [-lgeos])
8940ddf Zack Moratto build: Check for xercesc headers
zmoratto authored
310 AX_PKG(XERCESC, [CURL], [-lxerces-c], [xercesc/dom/DOM.hpp xercesc/util/XMLString.hpp xercesc/parsers/XercesDOMParser.hpp])
3d7a28e Zack Moratto Added cholmod as a dependency for ASP (linux only)
zmoratto authored
311 AX_PKG(UFCONFIG, [], [-lufconfig])
312 AX_PKG(AMD, [UFCONFIG], [-lamd])
313 AX_PKG(COLAMD, [UFCONFIG], [-lcolamd])
314 AX_PKG(CHOLMOD, [AMD COLAMD], [-lcholmod])
155d056 Mike Lundy refresh asp thirdparty deps (needs more testing)
novas0x2a authored
315
316 AX_PKG_ONE_OF(SUPERLU,
317 SUPERLU_STATIC, [AX_PKG(SUPERLU_STATIC, [LAPACK], [-lyou_should_override_me])],
08394b5 Kyle Husmann fixed build problem with new isis
khusmann authored
318 SUPERLU_PLAIN, [AX_PKG(SUPERLU_PLAIN, [LAPACK], [-lsuperlu], [])],
319 SUPERLU_VER_30, [AX_PKG(SUPERLU_VER_30, [LAPACK], [-lsuperlu_3.0])])
155d056 Mike Lundy refresh asp thirdparty deps (needs more testing)
novas0x2a authored
320
321 AX_PKG_ONE_OF(KAKADU,
322 KAKADU_SPLIT, [AX_PKG(KAKADU_SPLIT, [], [-lkdu -lkdu_apps])],
323 KAKADU_63_JOIN, [AX_PKG(KAKADU_63_JOIN, [], [-lkdu_a63R])])
324
0d57a7a Mike Lundy make kakadu optional, and change arbitrary_qt handling
novas0x2a authored
325 if test x"$host_vendor" = "xapple"; then
08394b5 Kyle Husmann fixed build problem with new isis
khusmann authored
326 AX_PKG(ISIS3RDPARTY, [LAPACK GSL QWT GEOS SPICE XERCESC PROTOBUF], [],[],[],[],[],[KAKADU])
0d57a7a Mike Lundy make kakadu optional, and change arbitrary_qt handling
novas0x2a authored
327 else
3d7a28e Zack Moratto Added cholmod as a dependency for ASP (linux only)
zmoratto authored
328 AX_PKG(ISIS3RDPARTY, [LAPACK GSL QWT GEOS SPICE XERCESC SUPERLU PROTOBUF CHOLMOD],[],[],[],[],[],[KAKADU])
0d57a7a Mike Lundy make kakadu optional, and change arbitrary_qt handling
novas0x2a authored
329 fi
9c887d7 Zack Moratto Added a visualization program called Bundlevis. Also modified rmax_adjus...
zmoratto authored
330
d5b5c94 Zack Moratto Reorder of configure.ac
zmoratto authored
331 AX_PKG(ISIS, [ISIS3RDPARTY QT], [-lisis3], [SpecialPixel.h])
afb8bd9 Added retrieval of ISIS version in Autotools
Moratto authored
332 if test x"$HAVE_PKG_ISIS" = "xyes"; then
333 AX_PKG_ISIS_CHECK_VERSION()
334 fi
f9707bd Zack Moratto Added ability to use TCMALLOC and PROFILER
zmoratto authored
335
2b27f87 Zack Moratto Added ptk_server plus support
zmoratto authored
336 dnl check for recent rabbitmq; this can go away soon, it's just to prevent a
337 dnl flag-day upgrade
87ec6f4 Trey Smith Bug fix for detecting RabbitMQ_C
trey0 authored
338 old_CXXFLAGS="$CXXFLAGS"
339 old_LDFLAGS="$LDFLAGS"
340 CXXFLAGS="$CXXFLAGS $PKG_RABBITMQ_C_CPPFLAGS"
341 LDFLAGS="$LDFLAGS $PKG_RABBITMQ_C_LIBS"
2b27f87 Zack Moratto Added ptk_server plus support
zmoratto authored
342 if test x"$HAVE_PKG_RABBITMQ_C" = "xyes"; then
730fe2d Zack Moratto Fix warning with autoconf 2.68
zmoratto authored
343 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
2b27f87 Zack Moratto Added ptk_server plus support
zmoratto authored
344 #include <stdlib.h>
345 #include <stdint.h>
346 #include <amqp.h>
347 ]], [[
87ec6f4 Trey Smith Bug fix for detecting RabbitMQ_C
trey0 authored
348 amqp_rpc_reply_t x;
730fe2d Zack Moratto Fix warning with autoconf 2.68
zmoratto authored
349 x.library_error;
350 ]])], [], [
351 HAVE_PKG_RABBITMQ_C="no:current version is too old"
352 AX_PKG(RABBITMQ_C, [], [-lrabbitmq], [stdlib.h stdint.h amqp.h])])
2b27f87 Zack Moratto Added ptk_server plus support
zmoratto authored
353 fi
87ec6f4 Trey Smith Bug fix for detecting RabbitMQ_C
trey0 authored
354 CXXFLAGS="$old_CXXFLAGS"
355 LDFLAGS="$old_LDFLAGS"
2b27f87 Zack Moratto Added ptk_server plus support
zmoratto authored
356
8634e65 Michael Broxton Added AM_CONDITIONAL directives for better backwards compatibility with ...
broxtronix authored
357 # These are here (instead of inside the PKG macro where they belong)
358 # for backwards compatability with older versions of automake.
c3e0cad Mike Lundy clean up configure deps a bit
novas0x2a authored
359 AM_CONDITIONAL(HAVE_PKG_SPICE, [test "$HAVE_PKG_SPICE" = "yes"])
200be14 Michael Broxton A few tweaks to the stereo build system to get it to work on os 10.5
broxtronix authored
360 AM_CONDITIONAL(HAVE_PKG_ISIS, [test "$HAVE_PKG_ISIS" = "yes"])
9c0d10b Zack Moratto Massive reorganization. Works this time! A good handful of code has been...
zmoratto authored
361 AM_CONDITIONAL(HAVE_PKG_OPENSCENEGRAPH, [test "$HAVE_PKG_OPENSCENEGRAPH" = "yes"])
2b27f87 Zack Moratto Added ptk_server plus support
zmoratto authored
362 AM_CONDITIONAL(HAVE_PKG_RABBITMQ_C, [test "$HAVE_PKG_RABBITMQ_C" = "yes"])
363 AM_CONDITIONAL(HAVE_PKG_PROTOBUF, [test "$HAVE_PKG_PROTOBUF" = "yes"])
c98d6ee Zack Moratto Added FLANN as an optional dependency of VW_MATH
zmoratto authored
364 AM_CONDITIONAL(HAVE_PKG_FLANN, [test "$HAVE_PKG_FLANN" = "yes"])
200be14 Michael Broxton A few tweaks to the stereo build system to get it to work on os 10.5
broxtronix authored
365
bf17a24 Michael Broxton Re-arranged the repository...
broxtronix authored
366 ##################################################
40a3704 Mike Lundy merge in more changes from vw
novas0x2a authored
367 # module definitions
bf17a24 Michael Broxton Re-arranged the repository...
broxtronix authored
368 ##################################################
369
d5b5c94 Zack Moratto Reorder of configure.ac
zmoratto authored
370 AX_GROUP_PKG(BOOST_MOST, [BOOST_DATETIME BOOST_IOSTREAMS BOOST])
371 AX_GROUP_PKG(VW_ALL, [VW_CARTOGRAPHY VW_STEREO VW_CAMERA VW_INTEREST_POINT VW])
372
c989ac2 Zack Moratto Protobuf support for ASP
zmoratto authored
373 # Module
d5b5c94 Zack Moratto Reorder of configure.ac
zmoratto authored
374 AX_MODULE(CORE, [src/asp/Core], [libaspCore.la], yes, [], [VW_ALL BOOST_MOST], [LAPACK])
375 AX_MODULE(SPICEIO, [src/asp/SpiceIO], [libaspSpiceIO.la], yes, [], [VW BOOST_MOST SPICE])
376 AX_MODULE(ISISIO, [src/asp/IsisIO], [libaspIsisIO.la], yes, [], [ISIS VW_CARTOGRAPHY BOOST])
48f8950 Zack Moratto build: Make Xerces-C a requirement of libSessions
zmoratto authored
377 AX_MODULE(SESSIONS, [src/asp/Sessions], [libaspSessions.la], yes, [CORE], [XERCESC], [ISISIO SPICEIO ])
d43a5bd Zack Moratto Clean up includes and namespaces
zmoratto authored
378 AX_MODULE(MPI, [src/asp/MPI], [], no, [VW_BUNDLEADJUSTMENT ISISIO CORE], [BOOST_SERIALIZATION BOOST_MPI OPEN_MPI VW_ALL])
d5b5c94 Zack Moratto Reorder of configure.ac
zmoratto authored
379
c989ac2 Zack Moratto Protobuf support for ASP
zmoratto authored
380 # Tools
d5b5c94 Zack Moratto Reorder of configure.ac
zmoratto authored
381 AX_APP(STEREO, [src/asp/Tools], yes, [SESSIONS])
382 AX_APP(ORTHOPROJECT, [src/asp/Tools], yes, [SESSIONS])
8b63830 Zack Moratto Making bundle_adjust compile
zmoratto authored
383 AX_APP(BUNDLEADJUST, [src/asp/Tools], no, [VW_BUNDLEADJUSTMENT SESSIONS])
d5b5c94 Zack Moratto Reorder of configure.ac
zmoratto authored
384 AX_APP(ORBITVIZ, [src/asp/Tools], yes, [SESSIONS])
618caf1 Zack Moratto Move ASP Common implementations into a source file
zmoratto authored
385 AX_APP(DISPARITYDEBUG, [src/asp/Tools], yes, [VW_STEREO CORE])
386 AX_APP(POINT2MESH, [src/asp/Tools], yes, [OPENSCENEGRAPH VW CORE])
d5b5c94 Zack Moratto Reorder of configure.ac
zmoratto authored
387 AX_APP(POINT2DEM, [src/asp/Tools], yes, [CORE])
388 AX_APP(RMAX2CAHVOR, [src/asp/Tools], no, [SESSIONS])
65ddedc Zack Moratto Bring ASP in line with the switch to BA Module
zmoratto authored
389 AX_APP(RMAXADJUST, [src/asp/Tools], no, [VW_BUNDLEADJUSTMENT SESSIONS])
618caf1 Zack Moratto Move ASP Common implementations into a source file
zmoratto authored
390 AX_APP(BUNDLEVIS, [src/asp/Tools], no, [OPENSCENEGRAPH VW_BUNDLEADJUSTMENT CORE])
65ddedc Zack Moratto Bring ASP in line with the switch to BA Module
zmoratto authored
391 AX_APP(ISISADJUST, [src/asp/Tools], yes, [VW_BUNDLEADJUSTMENT ISISIO CORE])
618caf1 Zack Moratto Move ASP Common implementations into a source file
zmoratto authored
392 AX_APP(RESULTS, [src/asp/Tools], no, [CORE ISISIO])
393 AX_APP(RECONSTRUCT, [src/asp/Tools], no, [VW VW_PHOTOMETRY VW_CARTOGRAPHY ])
394 AX_APP(ALIGNDEM, [src/asp/Tools], no, [VW_MOSAIC VW_CARTOGRAPHY VW_INTEREST_POINT CORE])
395 AX_APP(GEODIFF, [src/asp/Tools], no, [BOOST VW VW_CARTOGRAPHY CORE])
396 AX_APP(DEMPROFILE, [src/asp/Tools], no, [VW VW_CARTOGRAPHY CORE])
397 AX_APP(PLATEORTHOPROJECT,[src/asp/Tools], no, [VW_PLATE CORE SESSIONS ISISIO])
398 AX_APP(HSVMERGE, [src/asp/Tools], yes, [VW VW_CARTOGRAPHY CORE])
399 AX_APP(ISISADJUSTCAMERAERR, [src/asp/Tools], no, [VW_BUNDLEADJUSTMENT CORE ISISIO])
400 AX_APP(ISISADJUSTCNETCLIP, [src/asp/Tools], no,[VW_BUNDLEADJUSTMENT CORE ISISIO])
401 AX_APP(MER2CAMERA, [src/asp/Tools], yes, [VW VW_CAMERA CORE])
9c0d10b Zack Moratto Massive reorganization. Works this time! A good handful of code has been...
zmoratto authored
402
c989ac2 Zack Moratto Protobuf support for ASP
zmoratto authored
403 # Toolkits (like module, but doesn't build a library)
f5e9e71 Zack Moratto Have ControlNetTK link against ASP Core
zmoratto authored
404 AX_MODULE(CONTROLNETTK, [src/asp/ControlNetTK], [], no, [VW_BUNDLEADJUSTMENT CORE ISISIO], [BOOST])
c989ac2 Zack Moratto Protobuf support for ASP
zmoratto authored
405
8634e65 Michael Broxton Added AM_CONDITIONAL directives for better backwards compatibility with ...
broxtronix authored
406 # These are here (instead of inside the APP macro where they belong)
407 # for backwards compatability with older versions of automake.
9c0d10b Zack Moratto Massive reorganization. Works this time! A good handful of code has been...
zmoratto authored
408 AM_CONDITIONAL(MAKE_MODULE_CORE, [test "$MAKE_MODULE_CORE" = "yes"])
409 AM_CONDITIONAL(MAKE_MODULE_ISISIO, [test "$MAKE_MODULE_ISISIO" = "yes"])
410 AM_CONDITIONAL(MAKE_MODULE_SPICEIO, [test "$MAKE_MODULE_SPICEIO" = "yes"])
411 AM_CONDITIONAL(MAKE_MODULE_SESSIONS, [test "$MAKE_MODULE_SESSIONS" = "yes"])
384d7c3 Zack Moratto Added skeleton for MPI in ASP
zmoratto authored
412 AM_CONDITIONAL(MAKE_MODULE_MPI, [test "$MAKE_MODULE_MPI" = "yes"])
97a01a6 Zack Moratto Added Control Network Toolkit
zmoratto authored
413 AM_CONDITIONAL(MAKE_MODULE_CONTROLNETTK, [test "$MAKE_MODULE_CONTROLNETTK" = "yes"])
9c0d10b Zack Moratto Massive reorganization. Works this time! A good handful of code has been...
zmoratto authored
414
8634e65 Michael Broxton Added AM_CONDITIONAL directives for better backwards compatibility with ...
broxtronix authored
415 AM_CONDITIONAL(MAKE_APP_STEREO, [test "$MAKE_APP_STEREO" = "yes"])
0a8a6bd Michael Broxton Moved the stereo gui into the main build system. It does not build by d...
broxtronix authored
416 AM_CONDITIONAL(MAKE_APP_STEREOGUI, [test "$MAKE_APP_STEREOGUI" = "yes"])
8634e65 Michael Broxton Added AM_CONDITIONAL directives for better backwards compatibility with ...
broxtronix authored
417 AM_CONDITIONAL(MAKE_APP_ORTHOPROJECT, [test "$MAKE_APP_ORTHOPROJECT" = "yes"])
418 AM_CONDITIONAL(MAKE_APP_BUNDLEADJUST, [test "$MAKE_APP_BUNDLEADJUST" = "yes"])
419 AM_CONDITIONAL(MAKE_APP_ORBITVIZ, [test "$MAKE_APP_ORBITVIZ" = "yes"])
420 AM_CONDITIONAL(MAKE_APP_DISPARITYDEBUG, [test "$MAKE_APP_DISPARITYDEBUG" = "yes"])
421 AM_CONDITIONAL(MAKE_APP_POINT2MESH, [test "$MAKE_APP_POINT2MESH" = "yes"])
422 AM_CONDITIONAL(MAKE_APP_POINT2DEM, [test "$MAKE_APP_POINT2DEM" = "yes"])
423 AM_CONDITIONAL(MAKE_APP_RMAX2CAHVOR, [test "$MAKE_APP_RMAX2CAHVOR" = "yes"])
424 AM_CONDITIONAL(MAKE_APP_RMAXADJUST, [test "$MAKE_APP_RMAXADJUST" = "yes"])
425 AM_CONDITIONAL(MAKE_APP_BUNDLEVIS, [test "$MAKE_APP_BUNDLEVIS" = "yes"])
545de6e Mike Lundy Synchronize VW and Stereo build systems
novas0x2a authored
426 AM_CONDITIONAL(MAKE_APP_ISISADJUST, [test "$MAKE_APP_ISISADJUST" = "yes"])
9686523 Ara Nefian added support for results
anefian authored
427 AM_CONDITIONAL(MAKE_APP_RESULTS, [test "$MAKE_APP_RESULTS" = "yes"])
fd21b10 Zack Moratto Adding Ara's new program, reconstruct.
zmoratto authored
428 AM_CONDITIONAL(MAKE_APP_RECONSTRUCT, [test "$MAKE_APP_RECONSTRUCT" = "yes"])
0a19f99 Kyle Husmann begun work on an experimental utility for comparing dems
khusmann authored
429 AM_CONDITIONAL(MAKE_APP_ALIGNDEM, [test "$MAKE_APP_ALIGNDEM" = "yes"])
a11702a Kyle Husmann added geodiff tool
khusmann authored
430 AM_CONDITIONAL(MAKE_APP_GEODIFF, [test "$MAKE_APP_GEODIFF" = "yes"])
6eaf219 Zack Moratto Rough draft upload of a DEM profile utility. Currently it can only make ...
zmoratto authored
431 AM_CONDITIONAL(MAKE_APP_DEMPROFILE, [test "$MAKE_APP_DEMPROFILE" = "yes"])
a834a21 Zack Moratto Added orthoproject util that uses platefiles
zmoratto authored
432 AM_CONDITIONAL(MAKE_APP_PLATEORTHOPROJECT, [test "$MAKE_APP_PLATEORTHOPROJECT" = "yes"])
0fd16f0 Zack Moratto Added HSV_merge utility
zmoratto authored
433 AM_CONDITIONAL(MAKE_APP_HSVMERGE, [test "$MAKE_APP_HSVMERGE" = "yes"])
df1bec3 Zack Moratto Add isis_adjust_camera_err
zmoratto authored
434 AM_CONDITIONAL(MAKE_APP_ISISADJUSTCAMERAERR, [test "$MAKE_APP_ISISADJUSTCAMERAERR" = "yes"])
dc218f3 Zack Moratto Added isis_adjust_cnet_clip
zmoratto authored
435 AM_CONDITIONAL(MAKE_APP_ISISADJUSTCNETCLIP, [test "$MAKE_APP_ISISADJUSTCNETCLIP" = "yes"])
8f0157f Zack Moratto Added MER example
zmoratto authored
436 AM_CONDITIONAL(MAKE_APP_MER2CAMERA, [test "$MAKE_APP_MER2CAMERA" = "yes"])
40a3704 Mike Lundy merge in more changes from vw
novas0x2a authored
437
438 ##################################################
439 # final processing
440 ##################################################
441
c476631 Zack Moratto Force ASP to build with Boost Filesystem Ver. 2
zmoratto authored
442 ASP_CPPFLAGS="-I\${top_srcdir}/src $OTHER_CPPFLAGS -DBOOST_FILESYSTEM_VERSION=2"
22eabd4 Mike Lundy Mostly sync the macros between vw & stereo. This is good either if we st...
novas0x2a authored
443 ASP_LDFLAGS="$OTHER_LDFLAGS"
bf17a24 Michael Broxton Re-arranged the repository...
broxtronix authored
444
545de6e Mike Lundy Synchronize VW and Stereo build systems
novas0x2a authored
445 # Do this last, to make sure it's not overridden
446 if test x"$ENABLE_STRICT_ALIASING" = x"no"; then
447 CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
bf17a24 Michael Broxton Re-arranged the repository...
broxtronix authored
448 fi
449
545de6e Mike Lundy Synchronize VW and Stereo build systems
novas0x2a authored
450 AX_LOG([using CPPFLAGS=$CPPFLAGS])
451 AX_LOG([using ASP_CPPFLAGS=$ASP_CPPFLAGS])
452 AX_LOG([using CFLAGS=$CFLAGS])
453 AX_LOG([using CXXFLAGS=$CXXFLAGS])
454 AX_LOG([using LDFLAGS=$LDFLAGS])
455 AX_LOG([using ASP_LDFLAGS=$ASP_LDFLAGS])
456 AX_LOG([using ASP_ENABLE_EXCEPTIONS=$ENABLE_EXCEPTIONS])
457
a74972c Michael Broxton Merged in changes from the isis_devel branch. Improvements include an u...
broxtronix authored
458 AC_SUBST(ASP_CPPFLAGS)
459 AC_SUBST(ASP_LDFLAGS)
460
461
bf17a24 Michael Broxton Re-arranged the repository...
broxtronix authored
462 ##################################################
40a3704 Mike Lundy merge in more changes from vw
novas0x2a authored
463 # makefiles to process
bf17a24 Michael Broxton Re-arranged the repository...
broxtronix authored
464 ##################################################
465
466 AC_CONFIG_FILES([ \
467 Makefile \
59f997f Mike Lundy Make the binary builder dist-add stuff part of the build
novas0x2a authored
468 data/Makefile \
bf17a24 Michael Broxton Re-arranged the repository...
broxtronix authored
469 src/Makefile \
9c0d10b Zack Moratto Massive reorganization. Works this time! A good handful of code has been...
zmoratto authored
470 src/asp/Makefile \
471 src/asp/Core/Makefile \
e37d6d0 Zack Moratto Added a ErodeView.
zmoratto authored
472 src/asp/Core/tests/Makefile \
9c0d10b Zack Moratto Massive reorganization. Works this time! A good handful of code has been...
zmoratto authored
473 src/asp/SpiceIO/Makefile \
474 src/asp/IsisIO/Makefile \
4515a04 Zack Moratto Added linescan proof of accuracy to groundmap
zmoratto authored
475 src/asp/IsisIO/tests/Makefile \
9c0d10b Zack Moratto Massive reorganization. Works this time! A good handful of code has been...
zmoratto authored
476 src/asp/Sessions/Makefile \
477 src/asp/Sessions/ISIS/Makefile \
478 src/asp/Sessions/Pinhole/Makefile \
479 src/asp/Sessions/RMAX/Makefile \
e71c8f5 Zack Moratto stereo: session: Added support for Digital Globe XML
zmoratto authored
480 src/asp/Sessions/DG/Makefile \
693fce6 Zack Moratto build: Fix build system so that it handles 'dist' correctly
zmoratto authored
481 src/asp/Sessions/RPC/Makefile \
e71c8f5 Zack Moratto stereo: session: Added support for Digital Globe XML
zmoratto authored
482 src/asp/Sessions/tests/Makefile \
384d7c3 Zack Moratto Added skeleton for MPI in ASP
zmoratto authored
483 src/asp/MPI/Makefile \
bf8e60a Zack Moratto Bringing ASP's build system up to VW standards
zmoratto authored
484 src/asp/Tools/Makefile \
97a01a6 Zack Moratto Added Control Network Toolkit
zmoratto authored
485 src/asp/ControlNetTK/Makefile \
bf17a24 Michael Broxton Re-arranged the repository...
broxtronix authored
486 ])
487
488 AC_OUTPUT
Something went wrong with that request. Please try again.