Skip to content

HTTPS clone URL

Subversion checkout URL

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