Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 507 lines (435 sloc) 23.414 kb
e958375 @zmoratto Run relicense
zmoratto authored
1 dnl __BEGIN_LICENSE__
815e548 @zmoratto all: Relicense ASP as Apache 2
zmoratto 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 @zmoratto Bringing ASP's build system up to VW standards
zmoratto 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 @zmoratto Bringing ASP's build system up to VW standards
zmoratto 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 @zmoratto Bringing ASP's build system up to VW standards
zmoratto 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 @zmoratto This is post ASP 2.0.0
zmoratto 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 @zmoratto Bringing ASP's build system up to VW standards
zmoratto authored
44 AM_INIT_AUTOMAKE([nostdinc 1.8.5])
9c0d10b @zmoratto Massive reorganization. Works this time! A good handful of code has b…
zmoratto authored
45 AX_CONFIG_HEADER_PREFIX([src/asp/asp_config.h], [ASP_])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
46
d76428c @zmoratto Port some fixes from VW
zmoratto 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 @zmoratto Fix variable assignment in configure
zmoratto 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 @zmoratto Bringing ASP's build system up to VW standards
zmoratto 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 @zmoratto Bringing ASP's build system up to VW standards
zmoratto 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 @zmoratto Bringing ASP's build system up to VW standards
zmoratto 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 @zmoratto Bringing ASP's build system up to VW standards
zmoratto authored
81 . ./config.options
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
82 fi
bf8e60a @zmoratto Bringing ASP's build system up to VW standards
zmoratto 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 @zmoratto Bringing ASP's build system up to VW standards
zmoratto 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 @zmoratto Bringing ASP's build system up to VW standards
zmoratto 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 @zmoratto Added skeleton for MPI in ASP
zmoratto 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 @zmoratto Bringing ASP's build system up to VW standards
zmoratto 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 @zmoratto core: Make ASP compliant with Boost 1.50
zmoratto authored
155 [AX_PKG_BOOST_LIB(DATETIME, [-lboost_date_time], [boost/date_time/gregorian/gregorian_types.hpp], [], [$PKG_BOOST_SYSTEM_LIBS])],
bf8e60a @zmoratto Bringing ASP's build system up to VW standards
zmoratto 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 @zmoratto Bug fix for detecting VW_PLATE
zmoratto authored
204 AX_PKG(RABBITMQ_C, [], [-lrabbitmq], [stdlib.h stdint.h amqp.h])
9a734a5 @zmoratto Added zeromq as optional dependency of VW_PLATE
zmoratto authored
205 AX_PKG(ZEROMQ, [], [-lzmq], [zmq.hpp])
ebca167 @zmoratto Bug fix for detecting VW_PLATE
zmoratto authored
206 AX_PKG(PROTOBUF, [PTHREADS], [-lprotobuf], [google/protobuf/stubs/common.h])
66c8ad2 @zmoratto Have ASP pull protoc like we do in VW
zmoratto 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 @zmoratto Added FLANN as an optional dependency of VW_MATH
zmoratto authored
211 AX_PKG(FLANN, [], [-lflann_cpp],[flann/flann.hpp])
ebca167 @zmoratto Bug fix for detecting VW_PLATE
zmoratto authored
212
d5b5c94 @zmoratto Reorder of configure.ac
zmoratto authored
213 # Vision Workbench Core
35cb094 build system fix
DW Wheeler authored
214 AX_PKG(VW_CORE, [BOOST_THREAD BOOST BOOST_PROGRAM_OPTIONS LAPACK], [-lvwCore], [vw/Core/Log.h] )
c98d6ee @zmoratto Added FLANN as an optional dependency of VW_MATH
zmoratto authored
215 AX_PKG(VW_MATH, [VW_CORE], [-lvwMath], [vw/Math/LinearAlgebra.h], [], [], [], [FLANN])
d5b5c94 @zmoratto Reorder of configure.ac
zmoratto authored
216 AX_PKG(VW_IMAGE, [VW_CORE], [-lvwImage], [vw/Image/ImageView.h])
35cb094 build system fix
DW Wheeler authored
217 AX_PKG(VW_FILEIO,[VW_IMAGE BOOST_SYSTEM BOOST_FILESYSTEM], [-lvwFileIO], [vw/FileIO/DiskImageResourceOpenEXR.h vw/FileIO/DiskImageResourceGDAL.h])
7c1d3a8 @zmoratto Improve disparity debug to work with non-float disparity images
zmoratto authored
218 AX_PKG(VW_TOOLS, [VW_IMAGE VW_MATH VW_CORE BOOST_FILESYSTEM BOOST_PROGRAM_OPTIONS THREADS], [-lvwTools], [vw/tools/Common.h])
219 AX_GROUP_PKG(VW, [VW_TOOLS VW_FILEIO VW_IMAGE VW_MATH VW_CORE])
d5b5c94 @zmoratto Reorder of configure.ac
zmoratto authored
220
66bb2c9 @zmoratto Added check that VW_FILEIO has EXR and GDAL support
zmoratto authored
221 # Double Check again that VW_FILEIO really was built with the correct 3rdParty.
222 AX_EXTRACT_CPP_SYMBOL([VW_HAVE_PKG_OPENEXR], [#include <vw/config.h>],
223 [VW_HAS_OPENEXR=$output], [VW_HAS_OPENEXR=0], ["$PKG_VW_CORE_CPPFLAGS"])
224 AX_EXTRACT_CPP_SYMBOL([VW_HAVE_PKG_GDAL], [#include <vw/config.h>],
225 [VW_HAS_GDAL=$output], [VW_HAS_GDAL=0], ["$PKG_VW_CORE_CPPFLAGS"])
226 if test x"$HAVE_PKG_VW_CORE" = "xyes"; then
227 if test x"$VW_HAS_OPENEXR" = "x0"; then
228 AC_MSG_ERROR([VW doesn't have OpenEXR support! Rebuild VW with OpenEXR support.])
229 fi
230 if test x"$VW_HAS_GDAL" = "x0"; then
231 AC_MSG_ERROR([VW doesn't have GDAL support! Rebuild VW with GDAL support.])
232 fi
233 fi
234
d5b5c94 @zmoratto Reorder of configure.ac
zmoratto authored
235 # Vision Workbench Secondaries
9a734a5 @zmoratto Added zeromq as optional dependency of VW_PLATE
zmoratto authored
236 AX_PKG(VW_PLATE, [VW_FILEIO PROTOBUF], [-lvwPlate], [vw/Plate/PlateFile.h], [], [], [], [ZEROMQ RABBITMQ_C])
237 if test x"$HAVE_PKG_ZEROMQ" = "xno" && test x"$HAVE_PKG_RABBITMQ_C" = "xno" && test x"$HAVE_PKG_VW_PLATE" = "xyes"; then
238 AC_MSG_ERROR([VW_PLATE requires either ZEROMQ or RABBITMQ_C or BOTH.])
239 fi
d5b5c94 @zmoratto Reorder of configure.ac
zmoratto authored
240 AX_PKG(VW_CAMERA, [VW BOOST_IOSTREAMS], [-lvwCamera], [vw/Camera/CAHVModel.h])
264f3f8 @zmoratto configure: Optimized Correlator no longer exists in vw/Stereo
zmoratto authored
241 AX_PKG(VW_STEREO, [VW_CAMERA], [-lvwStereo], [vw/Stereo/CostFunctions.h])
2e9a880 @zmoratto Add optional dependency of PROTOBUF to VW_CARTOGRAPHY
zmoratto authored
242 AX_PKG(VW_CARTOGRAPHY, [VW_CAMERA], [-lvwCartography], [vw/Cartography/GeoReference.h], [], [], [], [PROTOBUF])
2025139 @zmoratto Added CURL dependency for ASP
zmoratto authored
243 AX_PKG(VW_MOSAIC, [VW_CARTOGRAPHY], [-lvwMosaic], [vw/Mosaic/ImageComposite.h])
d5b5c94 @zmoratto Reorder of configure.ac
zmoratto authored
244 AX_PKG(VW_INTEREST_POINT, [VW], [-lvwInterestPoint],[vw/InterestPoint/InterestData.h])
65ddedc @zmoratto Bring ASP in line with the switch to BA Module
zmoratto authored
245 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
246
35a56b1 @zmoratto ASPCore build fix
zmoratto authored
247 AM_CONDITIONAL(HAVE_PKG_VW_BUNDLEADJUSTMENT, [test "$HAVE_PKG_VW_BUNDLEADJUSTMENT" = "yes"])
248
661b985 @novas0x2a make gl an explicit dep of qt-opengl
novas0x2a authored
249 AX_PKG_ONE_OF(GL,
250 APPLE_GL,
251 [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])],
252 LINUX_GL,
253 [AX_PKG(X11, [], [-lXext -lX11 -lXmu -lXi -lXt], [])
a0b7e81 @zmoratto glShaders are not a requirement of ASP
zmoratto authored
254 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
255
7a3bc16 @novas0x2a make GL an explicit dep of openscenegraph, too.
novas0x2a authored
256 AX_PKG(OPENSCENEGRAPH, [GL], [-losg -losgDB -lOpenThreads -losgViewer -losgText -losgGA -losgFX -losgTerrain -losgUtil], [osg/ref_ptr])
257
fd5a841 @novas0x2a add a spice subdir detection for naif dir
novas0x2a authored
258 AX_PKG_ONE_OF(SPICE,
259 SPICE_SUBDIR, [AX_PKG(SPICE_SUBDIR, [], [-lcspice], [SpiceUsr.h SpiceZfc.h], [naif])],
260 SPICE_TOP, [AX_PKG(SPICE_TOP, [], [-lcspice], [SpiceUsr.h SpiceZfc.h])])
7a3bc16 @novas0x2a make GL an explicit dep of openscenegraph, too.
novas0x2a authored
261
c69254d @novas0x2a new qt detection method
novas0x2a authored
262 if test "$HAVE_PKG_QT" = no; then
263 ENABLE_QT_QMAKE=no
df8146e @broxtronix Brought over some of Mike Lundy\'s new build system tweaks from VW to…
broxtronix authored
264 fi
265
c69254d @novas0x2a new qt detection method
novas0x2a authored
266 if test "$ENABLE_QT_QMAKE" = no; then
267 AX_GROUP_PKG([QT_QMAKE])
268 else
269 # Qt with AutoTroll.
bf8e60a @zmoratto Bringing ASP's build system up to VW standards
zmoratto authored
270 AT_WITH_QT([+gui +sql +opengl +network], [], [], [HAVE_PKG_QT_QMAKE="no:missing QT"], [])
c69254d @novas0x2a new qt detection method
novas0x2a authored
271
272 if test x"$HAVE_PKG_QT_QMAKE" != x"no:missing QT"; then
273 AT_REQUIRE_QT_VERSION([4.0], [HAVE_PKG_QT_QMAKE="no:wrong QT version"], [])
274 fi
275
276 # We seed QT_QMAKE's cppflags and libs with the ones qmake figured out
277 PKG_QT_QMAKE_CPPFLAGS="$PKG_QT_QMAKE_CPPFLAGS $QT_CPPFLAGS"
278 AX_PKG(QT_QMAKE, [], [$QT_LIBS], [QVector])
279 fi
df8146e @broxtronix Brought over some of Mike Lundy\'s new build system tweaks from VW to…
broxtronix authored
280
281 AX_PKG_ONE_OF(QT,
d6387f3 @novas0x2a Add an "arbitrary QT" mode
novas0x2a authored
282 ARBITRARY_QT,
283 [if test -z "$QT_ARBITRARY_MODULES" -a -z "$HAVE_PKG_ARBITRARY_MODULES"; then
284 HAVE_PKG_ARBITRARY_QT="no:Set \$QT_ARBITRARY_MODULES"
285 else
286 for module in $QT_ARBITRARY_MODULES; do
0d57a7a @novas0x2a make kakadu optional, and change arbitrary_qt handling
novas0x2a authored
287 PKG_ARBITRARY_QT_NEEDED_HEADERS="$PKG_ARBITRARY_QT_NEEDED_HEADERS ${module}"
d6387f3 @novas0x2a Add an "arbitrary QT" mode
novas0x2a authored
288 done
0d57a7a @novas0x2a make kakadu optional, and change arbitrary_qt handling
novas0x2a authored
289 PKG_ARBITRARY_QT_CPPFLAGS="$PKG_ARBITRARY_QT_CPPFLAGS -DQT_SHARED"
290 AX_PKG(ARBITRARY_QT, [], [], [$PKG_ARBITRARY_QT_NEEDED_HEADERS])
291 fi],
c69254d @novas0x2a new qt detection method
novas0x2a authored
292 APPLE_QMAKE_QT, [AX_PKG_APPLE(QMAKE_QT, [GL QT_QMAKE], [])],
293 LINUX_QMAKE_QT,
bf8e60a @zmoratto Bringing ASP's build system up to VW standards
zmoratto authored
294 [AX_PKG(QT_QMAKE_OPENGL, [QT_QMAKE], [], [QtOpenGL])
295 AX_PKG(QT_QMAKE_GUI, [QT_QMAKE], [], [QLabel])
296 AX_PKG(QT_QMAKE_SQL, [QT_QMAKE], [], [QtSql])
297 AX_PKG(QT_QMAKE_NETWORK, [QT_QMAKE], [], [QtNetwork])
298 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
299 GUESS_QT,
300 [PKG_QT_GUESS_BASE_CPPFLAGS="$PKG_QT_GUESS_BASE_CPPFLAGS -DQT_SHARED"
301 AX_PKG(QT_GUESS_BASE, [], [], [QtCore/qstring.h])
302 AX_PKG(QT_GUESS_CORE, [QT_GUESS_BASE], [-lQtCore], [QtCore], [QtCore])
303 AX_PKG(QT_GUESS_GUI, [QT_GUESS_CORE], [-lQtGui], [QtGui], [QtGui])
304 AX_PKG(QT_GUESS_SQL, [QT_GUESS_CORE], [-lQtSql], [QtSql], [QtSql])
bf8e60a @zmoratto Bringing ASP's build system up to VW standards
zmoratto authored
305 AX_PKG(QT_GUESS_NETWORK,[QT_GUESS_CORE], [-lQtNetwork],[QtNetwork],[QtNetwork])
c69254d @novas0x2a new qt detection method
novas0x2a authored
306 AX_PKG(QT_GUESS_OPENGL, [QT_GUESS_CORE QT_GUESS_GUI], [-lQtOpenGL], [QtOpenGL], [QtOpenGL])
bf8e60a @zmoratto Bringing ASP's build system up to VW standards
zmoratto authored
307 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
308
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
309 AX_PKG_ONE_OF(QWT,
072c7d8 @zmoratto build: Move qwt detection over toward using framework.
zmoratto authored
310 APPLE_QWT, [AX_PKG_APPLE(QWT, [QT], [-framework qwt])],
311 PLAIN_QWT, [AX_PKG(PLAIN_QWT, [QT], [-lqwt], [qwt.h])],
312 SUFFX_QWT, [AX_PKG(SUFFX_QWT, [QT], [-lqwt-qt4], [qwt.h])])
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
313
314 AX_PKG_ONE_OF(GSL,
860c4ef @novas0x2a detect gsl better
novas0x2a authored
315 GSL_HASBLAS, [AX_PKG(GSL_HASBLAS, [LAPACK], [-lgsl])],
316 GSL_NEEDBLAS, [AX_PKG(GSL_NEEDBLAS, [LAPACK], [-lgsl -lgslcblas])])
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored
317
072c7d8 @zmoratto build: Move qwt detection over toward using framework.
zmoratto authored
318 AX_PKG(CURL, [], [-lcurl], [curl/curl.h])
47c3bb8 @oleg-alexandrov Fix a bug
oleg-alexandrov authored
319 AX_PKG(LASZIP, [], [-llaszip], [laszip/laszip.hpp])
a12cff0 @oleg-alexandrov Support for laslib, liblas, and point2las
oleg-alexandrov authored
320 AX_PKG(LIBLAS, [BOOST_THREAD BOOST BOOST_PROGRAM_OPTIONS LASZIP], [-llas], [liblas/liblas.hpp])
072c7d8 @zmoratto build: Move qwt detection over toward using framework.
zmoratto authored
321 AX_PKG(GEOS, [], [-lgeos], [geos.h])
8940ddf @zmoratto build: Check for xercesc headers
zmoratto authored
322 AX_PKG(XERCESC, [CURL], [-lxerces-c], [xercesc/dom/DOM.hpp xercesc/util/XMLString.hpp xercesc/parsers/XercesDOMParser.hpp])
3d7a28e @zmoratto Added cholmod as a dependency for ASP (linux only)
zmoratto authored
323 AX_PKG(UFCONFIG, [], [-lufconfig])
e62ca19 @zmoratto build: Change dependencies of ISIS3RDPARTY
zmoratto authored
324 AX_PKG(AMD, [], [-lamd], [], [], [], [], [UFCONFIG])
325 AX_PKG(COLAMD, [], [-lcolamd], [], [], [], [], [UFCONFIG])
326 AX_PKG(CHOLMOD, [AMD COLAMD LAPACK], [-lcholmod])
327 AX_PKG(Z, [], [-lz])
bb7b67d @oleg-alexandrov configure.ac: libtiff deoends on libjpeg
oleg-alexandrov authored
328 AX_PKG_ONE_OF(TIFF,
329 STANDALONE_TIFF, [AX_PKG(STANDALONE_TIFF, [Z], [-ltiff])],
330 TIFF_NEEDS_JPEG, [AX_PKG(TIFF_NEEDS_JPEG, [Z], [-ljpeg -ltiff])])
155d056 @novas0x2a refresh asp thirdparty deps (needs more testing)
novas0x2a authored
331
332 AX_PKG_ONE_OF(SUPERLU,
333 SUPERLU_STATIC, [AX_PKG(SUPERLU_STATIC, [LAPACK], [-lyou_should_override_me])],
08394b5 @khusmann fixed build problem with new isis
khusmann authored
334 SUPERLU_PLAIN, [AX_PKG(SUPERLU_PLAIN, [LAPACK], [-lsuperlu], [])],
335 SUPERLU_VER_30, [AX_PKG(SUPERLU_VER_30, [LAPACK], [-lsuperlu_3.0])])
155d056 @novas0x2a refresh asp thirdparty deps (needs more testing)
novas0x2a authored
336
337 AX_PKG_ONE_OF(KAKADU,
338 KAKADU_SPLIT, [AX_PKG(KAKADU_SPLIT, [], [-lkdu -lkdu_apps])],
339 KAKADU_63_JOIN, [AX_PKG(KAKADU_63_JOIN, [], [-lkdu_a63R])])
340
0d57a7a @novas0x2a make kakadu optional, and change arbitrary_qt handling
novas0x2a authored
341 if test x"$host_vendor" = "xapple"; then
e62ca19 @zmoratto build: Change dependencies of ISIS3RDPARTY
zmoratto authored
342 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
343 else
e62ca19 @zmoratto build: Change dependencies of ISIS3RDPARTY
zmoratto authored
344 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
345 fi
9c887d7 @zmoratto Added a visualization program called Bundlevis. Also modified rmax_ad…
zmoratto authored
346
d5b5c94 @zmoratto Reorder of configure.ac
zmoratto authored
347 AX_PKG(ISIS, [ISIS3RDPARTY QT], [-lisis3], [SpecialPixel.h])
afb8bd9 Added retrieval of ISIS version in Autotools
Moratto authored
348 if test x"$HAVE_PKG_ISIS" = "xyes"; then
349 AX_PKG_ISIS_CHECK_VERSION()
350 fi
f9707bd @zmoratto Added ability to use TCMALLOC and PROFILER
zmoratto authored
351
2b27f87 @zmoratto Added ptk_server plus support
zmoratto authored
352 dnl check for recent rabbitmq; this can go away soon, it's just to prevent a
353 dnl flag-day upgrade
87ec6f4 @trey0 Bug fix for detecting RabbitMQ_C
trey0 authored
354 old_CXXFLAGS="$CXXFLAGS"
355 old_LDFLAGS="$LDFLAGS"
356 CXXFLAGS="$CXXFLAGS $PKG_RABBITMQ_C_CPPFLAGS"
357 LDFLAGS="$LDFLAGS $PKG_RABBITMQ_C_LIBS"
2b27f87 @zmoratto Added ptk_server plus support
zmoratto authored
358 if test x"$HAVE_PKG_RABBITMQ_C" = "xyes"; then
730fe2d @zmoratto Fix warning with autoconf 2.68
zmoratto authored
359 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
2b27f87 @zmoratto Added ptk_server plus support
zmoratto authored
360 #include <stdlib.h>
361 #include <stdint.h>
362 #include <amqp.h>
363 ]], [[
87ec6f4 @trey0 Bug fix for detecting RabbitMQ_C
trey0 authored
364 amqp_rpc_reply_t x;
730fe2d @zmoratto Fix warning with autoconf 2.68
zmoratto authored
365 x.library_error;
366 ]])], [], [
367 HAVE_PKG_RABBITMQ_C="no:current version is too old"
368 AX_PKG(RABBITMQ_C, [], [-lrabbitmq], [stdlib.h stdint.h amqp.h])])
2b27f87 @zmoratto Added ptk_server plus support
zmoratto authored
369 fi
87ec6f4 @trey0 Bug fix for detecting RabbitMQ_C
trey0 authored
370 CXXFLAGS="$old_CXXFLAGS"
371 LDFLAGS="$old_LDFLAGS"
2b27f87 @zmoratto Added ptk_server plus support
zmoratto authored
372
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility wi…
broxtronix authored
373 # These are here (instead of inside the PKG macro where they belong)
374 # for backwards compatability with older versions of automake.
c3e0cad @novas0x2a clean up configure deps a bit
novas0x2a authored
375 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
376 AM_CONDITIONAL(HAVE_PKG_ISIS, [test "$HAVE_PKG_ISIS" = "yes"])
9c0d10b @zmoratto Massive reorganization. Works this time! A good handful of code has b…
zmoratto authored
377 AM_CONDITIONAL(HAVE_PKG_OPENSCENEGRAPH, [test "$HAVE_PKG_OPENSCENEGRAPH" = "yes"])
2b27f87 @zmoratto Added ptk_server plus support
zmoratto authored
378 AM_CONDITIONAL(HAVE_PKG_RABBITMQ_C, [test "$HAVE_PKG_RABBITMQ_C" = "yes"])
379 AM_CONDITIONAL(HAVE_PKG_PROTOBUF, [test "$HAVE_PKG_PROTOBUF" = "yes"])
c98d6ee @zmoratto Added FLANN as an optional dependency of VW_MATH
zmoratto authored
380 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
381
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
382 ##################################################
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
383 # module definitions
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
384 ##################################################
385
d5b5c94 @zmoratto Reorder of configure.ac
zmoratto authored
386 AX_GROUP_PKG(BOOST_MOST, [BOOST_DATETIME BOOST_IOSTREAMS BOOST])
387 AX_GROUP_PKG(VW_ALL, [VW_CARTOGRAPHY VW_STEREO VW_CAMERA VW_INTEREST_POINT VW])
388
c989ac2 @zmoratto Protobuf support for ASP
zmoratto authored
389 # Module
d5b5c94 @zmoratto Reorder of configure.ac
zmoratto authored
390 AX_MODULE(CORE, [src/asp/Core], [libaspCore.la], yes, [], [VW_ALL BOOST_MOST], [LAPACK])
391 AX_MODULE(SPICEIO, [src/asp/SpiceIO], [libaspSpiceIO.la], yes, [], [VW BOOST_MOST SPICE])
392 AX_MODULE(ISISIO, [src/asp/IsisIO], [libaspIsisIO.la], yes, [], [ISIS VW_CARTOGRAPHY BOOST])
48f8950 @zmoratto build: Make Xerces-C a requirement of libSessions
zmoratto authored
393 AX_MODULE(SESSIONS, [src/asp/Sessions], [libaspSessions.la], yes, [CORE], [XERCESC], [ISISIO SPICEIO ])
d43a5bd @zmoratto Clean up includes and namespaces
zmoratto authored
394 AX_MODULE(MPI, [src/asp/MPI], [], no, [VW_BUNDLEADJUSTMENT ISISIO CORE], [BOOST_SERIALIZATION BOOST_MPI OPEN_MPI VW_ALL])
d5b5c94 @zmoratto Reorder of configure.ac
zmoratto authored
395
c989ac2 @zmoratto Protobuf support for ASP
zmoratto authored
396 # Tools
bd1138f @zmoratto tools: Finish working rpc_mapproject
zmoratto authored
397 AX_APP(ALIGNDEM, [src/asp/Tools], no, [VW_MOSAIC VW_CARTOGRAPHY VW_INTEREST_POINT CORE])
8b63830 @zmoratto Making bundle_adjust compile
zmoratto authored
398 AX_APP(BUNDLEADJUST, [src/asp/Tools], no, [VW_BUNDLEADJUSTMENT SESSIONS])
618caf1 @zmoratto Move ASP Common implementations into a source file
zmoratto authored
399 AX_APP(BUNDLEVIS, [src/asp/Tools], no, [OPENSCENEGRAPH VW_BUNDLEADJUSTMENT CORE])
400 AX_APP(DEMPROFILE, [src/asp/Tools], no, [VW VW_CARTOGRAPHY CORE])
bd1138f @zmoratto tools: Finish working rpc_mapproject
zmoratto authored
401 AX_APP(DISPARITYDEBUG, [src/asp/Tools], yes, [VW_STEREO CORE])
402 AX_APP(GEODIFF, [src/asp/Tools], no, [BOOST VW VW_CARTOGRAPHY CORE])
618caf1 @zmoratto Move ASP Common implementations into a source file
zmoratto authored
403 AX_APP(HSVMERGE, [src/asp/Tools], yes, [VW VW_CARTOGRAPHY CORE])
bd1138f @zmoratto tools: Finish working rpc_mapproject
zmoratto authored
404 AX_APP(ISISADJUST, [src/asp/Tools], yes, [VW_BUNDLEADJUSTMENT ISISIO CORE])
618caf1 @zmoratto Move ASP Common implementations into a source file
zmoratto authored
405 AX_APP(ISISADJUSTCAMERAERR, [src/asp/Tools], no, [VW_BUNDLEADJUSTMENT CORE ISISIO])
406 AX_APP(ISISADJUSTCNETCLIP, [src/asp/Tools], no,[VW_BUNDLEADJUSTMENT CORE ISISIO])
407 AX_APP(MER2CAMERA, [src/asp/Tools], yes, [VW VW_CAMERA CORE])
bd1138f @zmoratto tools: Finish working rpc_mapproject
zmoratto authored
408 AX_APP(ORBITVIZ, [src/asp/Tools], yes, [SESSIONS])
409 AX_APP(ORTHOPROJECT, [src/asp/Tools], yes, [SESSIONS])
410 AX_APP(PLATEORTHOPROJECT,[src/asp/Tools], no, [VW_PLATE CORE SESSIONS ISISIO])
411 AX_APP(POINT2DEM, [src/asp/Tools], yes, [CORE])
412 AX_APP(POINT2MESH, [src/asp/Tools], yes, [OPENSCENEGRAPH VW CORE])
a12cff0 @oleg-alexandrov Support for laslib, liblas, and point2las
oleg-alexandrov authored
413 AX_APP(POINT2LAS, [src/asp/Tools], no, [BOOST LASZIP LIBLAS VW VW_CARTOGRAPHY CORE])
bd1138f @zmoratto tools: Finish working rpc_mapproject
zmoratto authored
414 AX_APP(RESULTS, [src/asp/Tools], no, [CORE ISISIO])
415 AX_APP(RMAX2CAHVOR, [src/asp/Tools], no, [SESSIONS])
416 AX_APP(RMAXADJUST, [src/asp/Tools], no, [VW_BUNDLEADJUSTMENT SESSIONS])
417 AX_APP(RPCMAPPROJECT, [src/asp/Tools], yes, [VW VW_CAMERA VW_CARTOGRAPHY CORE SESSIONS])
418 AX_APP(STEREO, [src/asp/Tools], yes, [SESSIONS])
9c0d10b @zmoratto Massive reorganization. Works this time! A good handful of code has b…
zmoratto authored
419
c989ac2 @zmoratto Protobuf support for ASP
zmoratto authored
420 # Toolkits (like module, but doesn't build a library)
f5e9e71 @zmoratto Have ControlNetTK link against ASP Core
zmoratto authored
421 AX_MODULE(CONTROLNETTK, [src/asp/ControlNetTK], [], no, [VW_BUNDLEADJUSTMENT CORE ISISIO], [BOOST])
c989ac2 @zmoratto Protobuf support for ASP
zmoratto authored
422
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility wi…
broxtronix authored
423 # These are here (instead of inside the APP macro where they belong)
424 # for backwards compatability with older versions of automake.
9c0d10b @zmoratto Massive reorganization. Works this time! A good handful of code has b…
zmoratto authored
425 AM_CONDITIONAL(MAKE_MODULE_CORE, [test "$MAKE_MODULE_CORE" = "yes"])
426 AM_CONDITIONAL(MAKE_MODULE_ISISIO, [test "$MAKE_MODULE_ISISIO" = "yes"])
427 AM_CONDITIONAL(MAKE_MODULE_SPICEIO, [test "$MAKE_MODULE_SPICEIO" = "yes"])
428 AM_CONDITIONAL(MAKE_MODULE_SESSIONS, [test "$MAKE_MODULE_SESSIONS" = "yes"])
384d7c3 @zmoratto Added skeleton for MPI in ASP
zmoratto authored
429 AM_CONDITIONAL(MAKE_MODULE_MPI, [test "$MAKE_MODULE_MPI" = "yes"])
97a01a6 @zmoratto Added Control Network Toolkit
zmoratto authored
430 AM_CONDITIONAL(MAKE_MODULE_CONTROLNETTK, [test "$MAKE_MODULE_CONTROLNETTK" = "yes"])
9c0d10b @zmoratto Massive reorganization. Works this time! A good handful of code has b…
zmoratto authored
431
bd1138f @zmoratto tools: Finish working rpc_mapproject
zmoratto authored
432 AM_CONDITIONAL(MAKE_APP_ALIGNDEM, [test "$MAKE_APP_ALIGNDEM" = "yes"])
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility wi…
broxtronix authored
433 AM_CONDITIONAL(MAKE_APP_BUNDLEADJUST, [test "$MAKE_APP_BUNDLEADJUST" = "yes"])
434 AM_CONDITIONAL(MAKE_APP_BUNDLEVIS, [test "$MAKE_APP_BUNDLEVIS" = "yes"])
6eaf219 @zmoratto Rough draft upload of a DEM profile utility. Currently it can only ma…
zmoratto authored
435 AM_CONDITIONAL(MAKE_APP_DEMPROFILE, [test "$MAKE_APP_DEMPROFILE" = "yes"])
bd1138f @zmoratto tools: Finish working rpc_mapproject
zmoratto authored
436 AM_CONDITIONAL(MAKE_APP_DISPARITYDEBUG, [test "$MAKE_APP_DISPARITYDEBUG" = "yes"])
437 AM_CONDITIONAL(MAKE_APP_GEODIFF, [test "$MAKE_APP_GEODIFF" = "yes"])
0fd16f0 @zmoratto Added HSV_merge utility
zmoratto authored
438 AM_CONDITIONAL(MAKE_APP_HSVMERGE, [test "$MAKE_APP_HSVMERGE" = "yes"])
bd1138f @zmoratto tools: Finish working rpc_mapproject
zmoratto authored
439 AM_CONDITIONAL(MAKE_APP_ISISADJUST, [test "$MAKE_APP_ISISADJUST" = "yes"])
df1bec3 @zmoratto Add isis_adjust_camera_err
zmoratto authored
440 AM_CONDITIONAL(MAKE_APP_ISISADJUSTCAMERAERR, [test "$MAKE_APP_ISISADJUSTCAMERAERR" = "yes"])
dc218f3 @zmoratto Added isis_adjust_cnet_clip
zmoratto authored
441 AM_CONDITIONAL(MAKE_APP_ISISADJUSTCNETCLIP, [test "$MAKE_APP_ISISADJUSTCNETCLIP" = "yes"])
8f0157f @zmoratto Added MER example
zmoratto authored
442 AM_CONDITIONAL(MAKE_APP_MER2CAMERA, [test "$MAKE_APP_MER2CAMERA" = "yes"])
bd1138f @zmoratto tools: Finish working rpc_mapproject
zmoratto authored
443 AM_CONDITIONAL(MAKE_APP_ORBITVIZ, [test "$MAKE_APP_ORBITVIZ" = "yes"])
444 AM_CONDITIONAL(MAKE_APP_ORTHOPROJECT, [test "$MAKE_APP_ORTHOPROJECT" = "yes"])
445 AM_CONDITIONAL(MAKE_APP_PLATEORTHOPROJECT, [test "$MAKE_APP_PLATEORTHOPROJECT" = "yes"])
446 AM_CONDITIONAL(MAKE_APP_POINT2DEM, [test "$MAKE_APP_POINT2DEM" = "yes"])
447 AM_CONDITIONAL(MAKE_APP_POINT2MESH, [test "$MAKE_APP_POINT2MESH" = "yes"])
7722c84 @oleg-alexandrov Make point2las compile
oleg-alexandrov authored
448 AM_CONDITIONAL(MAKE_APP_POINT2LAS, [test "$MAKE_APP_POINT2LAS" = "yes"])
bd1138f @zmoratto tools: Finish working rpc_mapproject
zmoratto authored
449 AM_CONDITIONAL(MAKE_APP_RESULTS, [test "$MAKE_APP_RESULTS" = "yes"])
450 AM_CONDITIONAL(MAKE_APP_RMAX2CAHVOR, [test "$MAKE_APP_RMAX2CAHVOR" = "yes"])
451 AM_CONDITIONAL(MAKE_APP_RMAXADJUST, [test "$MAKE_APP_RMAXADJUST" = "yes"])
452 AM_CONDITIONAL(MAKE_APP_RPCMAPPROJECT, [test "$MAKE_APP_RPCMAPPROJECT" = "yes"])
453 AM_CONDITIONAL(MAKE_APP_STEREO, [test "$MAKE_APP_STEREO" = "yes"])
454 AM_CONDITIONAL(MAKE_APP_STEREOGUI, [test "$MAKE_APP_STEREOGUI" = "yes"])
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
455
456 ##################################################
457 # final processing
458 ##################################################
459
fcb2612 @zmoratto core: Make ASP compliant with Boost 1.50
zmoratto authored
460 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
461 ASP_LDFLAGS="$OTHER_LDFLAGS"
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
462
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored
463 # Do this last, to make sure it's not overridden
464 if test x"$ENABLE_STRICT_ALIASING" = x"no"; then
465 CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
466 fi
467
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored
468 AX_LOG([using CPPFLAGS=$CPPFLAGS])
469 AX_LOG([using ASP_CPPFLAGS=$ASP_CPPFLAGS])
470 AX_LOG([using CFLAGS=$CFLAGS])
471 AX_LOG([using CXXFLAGS=$CXXFLAGS])
472 AX_LOG([using LDFLAGS=$LDFLAGS])
473 AX_LOG([using ASP_LDFLAGS=$ASP_LDFLAGS])
474 AX_LOG([using ASP_ENABLE_EXCEPTIONS=$ENABLE_EXCEPTIONS])
475
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
broxtronix authored
476 AC_SUBST(ASP_CPPFLAGS)
477 AC_SUBST(ASP_LDFLAGS)
478
479
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
480 ##################################################
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
481 # makefiles to process
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
482 ##################################################
483
484 AC_CONFIG_FILES([ \
485 Makefile \
59f997f @novas0x2a Make the binary builder dist-add stuff part of the build
novas0x2a authored
486 data/Makefile \
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
487 src/Makefile \
9c0d10b @zmoratto Massive reorganization. Works this time! A good handful of code has b…
zmoratto authored
488 src/asp/Makefile \
489 src/asp/Core/Makefile \
e37d6d0 @zmoratto Added a ErodeView.
zmoratto authored
490 src/asp/Core/tests/Makefile \
9c0d10b @zmoratto Massive reorganization. Works this time! A good handful of code has b…
zmoratto authored
491 src/asp/SpiceIO/Makefile \
492 src/asp/IsisIO/Makefile \
4515a04 @zmoratto Added linescan proof of accuracy to groundmap
zmoratto authored
493 src/asp/IsisIO/tests/Makefile \
9c0d10b @zmoratto Massive reorganization. Works this time! A good handful of code has b…
zmoratto authored
494 src/asp/Sessions/Makefile \
495 src/asp/Sessions/ISIS/Makefile \
496 src/asp/Sessions/Pinhole/Makefile \
497 src/asp/Sessions/RMAX/Makefile \
e71c8f5 @zmoratto stereo: session: Added support for Digital Globe XML
zmoratto authored
498 src/asp/Sessions/DG/Makefile \
693fce6 @zmoratto build: Fix build system so that it handles 'dist' correctly
zmoratto authored
499 src/asp/Sessions/RPC/Makefile \
e71c8f5 @zmoratto stereo: session: Added support for Digital Globe XML
zmoratto authored
500 src/asp/Sessions/tests/Makefile \
384d7c3 @zmoratto Added skeleton for MPI in ASP
zmoratto authored
501 src/asp/MPI/Makefile \
bf8e60a @zmoratto Bringing ASP's build system up to VW standards
zmoratto authored
502 src/asp/Tools/Makefile \
97a01a6 @zmoratto Added Control Network Toolkit
zmoratto authored
503 src/asp/ControlNetTK/Makefile \
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
504 ])
505
506 AC_OUTPUT
Something went wrong with that request. Please try again.