Skip to content
Newer
Older
100644 406 lines (342 sloc) 18 KB
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
1 dnl __BEGIN_LICENSE__
bf8e60a Bringing ASP's build system up to VW standards
Zack Moratto authored Mar 13, 2010
2 dnl Copyright (C) 2009-2010 United States Government as represented by
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
3 dnl the Administrator of the National Aeronautics and Space Administration.
4 dnl All Rights Reserved.
5 dnl __END_LICENSE__
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
6
bf8e60a Bringing ASP's build system up to VW standards
Zack Moratto authored Mar 13, 2010
7
4ce2bd3 @novas0x2a commit changes from VW
novas0x2a authored Mar 12, 2009
8 m4_pattern_forbid([^AX_])
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored Sep 16, 2009
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 Bringing ASP's build system up to VW standards
Zack Moratto authored Mar 13, 2010
21 m4_pattern_allow([^PKG_ARBITRARY_QT_NEEDED_HEADERS$])
4ce2bd3 @novas0x2a commit changes from VW
novas0x2a authored Mar 12, 2009
22
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
23 ##################################################
24 # A few starting bits
25 ##################################################
26
bf8e60a Bringing ASP's build system up to VW standards
Zack Moratto authored Mar 13, 2010
27 AC_PREREQ([2.59])
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
28 dnl TODO BEFORE RELEASE: update package version
d1d6229 @novas0x2a increment version to pre
novas0x2a authored Oct 27, 2009
29 AC_INIT([NASA Ames Stereo Pipeline], [1.0.1_pre], [asp@nx.arc.nasa.gov], [StereoPipeline])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
30 AC_CONFIG_AUX_DIR(config)
9ae12ae @novas0x2a make stereo's build much like vw's
novas0x2a authored Nov 24, 2008
31 AC_CONFIG_MACRO_DIR([m4])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
32 AC_CANONICAL_HOST
bf8e60a Bringing ASP's build system up to VW standards
Zack Moratto authored Mar 13, 2010
33 AM_INIT_AUTOMAKE([nostdinc 1.8.5])
9c0d10b Massive reorganization. Works this time! A good handful of code has b…
Zack Moratto authored Sep 18, 2009
34 AX_CONFIG_HEADER_PREFIX([src/asp/asp_config.h], [ASP_])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
35
d76428c Port some fixes from VW
Zack Moratto authored Apr 1, 2010
36 dnl Fix for early autoconf that doesn't export these
37 AC_SUBST([abs_top_srcdir])
38 AC_SUBST([abs_top_builddir])
39
bf8e60a Bringing ASP's build system up to VW standards
Zack Moratto authored Mar 13, 2010
40 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
41
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
42 dnl TODO RIGHT BEFORE RELEASE: update libtool version
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
43 dnl if abi changes in any way:
44 dnl current++
45 dnl revision=0
46 dnl if new abi is backward-compatible:
47 dnl age += 1
48 dnl else:
49 dnl age = 0
50 dnl else:
51 dnl revision++
52 dnl (see http://sources.redhat.com/autobook/autobook/autobook_91.html)
53 dnl
54 dnl LIBTOOL_VERSION=current:revision:age
bf8e60a Bringing ASP's build system up to VW standards
Zack Moratto authored Mar 13, 2010
55 LIBTOOL_VERSION=4:0:0
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
56 AC_SUBST(LIBTOOL_VERSION)
57
bf8e60a Bringing ASP's build system up to VW standards
Zack Moratto authored Mar 13, 2010
58 m4_divert_text([INIT_PREPARE], [dnl
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
59 # load the config.options
ea6a6c6 @novas0x2a resync with vw macros
novas0x2a authored Apr 17, 2009
60 if test -f ./config.options; then
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
61 AX_LOG([using config.options << EOF])
62 AX_LOG([`cat ./config.options`])
63 AX_LOG([EOF])
bf8e60a Bringing ASP's build system up to VW standards
Zack Moratto authored Mar 13, 2010
64 . ./config.options
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
65 fi
bf8e60a Bringing ASP's build system up to VW standards
Zack Moratto authored Mar 13, 2010
66 ])
7102287 @novas0x2a I moved PKG_PATHS to ax_common_options.m4
novas0x2a authored Feb 5, 2009
67
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
68 ##################################################
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
69 # Find the necessary programs
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
70 ##################################################
71
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
72 # Make sure these are set so AC_PROG_CC doesn't initialize them with
73 # its defaults, since we take care of setting debug and optimization
74 # levels ourselves.
75 CFLAGS="$CFLAGS"
76 CXXFLAGS="$CXXFLAGS"
77
bf8e60a Bringing ASP's build system up to VW standards
Zack Moratto authored Mar 13, 2010
78 # Disable static libraries by default
79 AM_DISABLE_STATIC
80
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
81 # Find the tools
82 AC_PROG_CC
83 AC_PROG_CXX
84 AC_PROG_INSTALL
85 AX_PROG_AR
86 AC_PROG_LIBTOOL
87 AC_PROG_MAKE_SET
88 AC_LANG(C++)
6aab8d2 @novas0x2a move a bunch of common options to their own macro
novas0x2a authored Jan 16, 2009
89 AX_COMMON_OPTIONS
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
90
bf8e60a Bringing ASP's build system up to VW standards
Zack Moratto authored Mar 13, 2010
91 # Does the compiler support noreturn?
92 AX_CHECK_FUNCTION_ATTRIBUTE([noreturn])
93 AX_CHECK_FUNCTION_ATTRIBUTE([deprecated])
94
95 # Looking for posix headers
96 AC_CHECK_HEADERS([unistd.h pwd.h])
97 AC_CHECK_FUNCS([getpwuid getpid])
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
98
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
99 ##################################################
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
100 # Compilation options
101 ##################################################
102
103 AX_ARG_ENABLE(strict-aliasing, no, [none], [allow strict aliasing (dangerous)])
c69254d @novas0x2a new qt detection method
novas0x2a authored Oct 9, 2009
104 AX_ARG_ENABLE(qt-qmake, yes, [none], [Allow qmake detection of QT])
105
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
106
107 ##################################################
108 # Handle options
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
109 ##################################################
110
111
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
112
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
113 ##################################################
114 # distribution options
115 ##################################################
116
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
117
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
118
119
120 ##################################################
121 # package checks
122 ##################################################
123
124 AX_PKG_PTHREADS
125
384d7c3 Added skeleton for MPI in ASP
Zack Moratto authored Mar 9, 2010
126 AX_PKG(OPEN_MPI, [], [-D_REENTRANT -Wl,-u,_munmap -Wl,-multiply_defined,suppress -lmpi_cxx -lmpi -lopen-rte -lopen-pal -lutil], [mpi.h])
127
bf8e60a Bringing ASP's build system up to VW standards
Zack Moratto authored Mar 13, 2010
128 AX_PKG_BOOST([BOOST_PROGRAM_OPTIONS BOOST_SYSTEM BOOST_FILESYSTEM BOOST_THREAD BOOST_GRAPH],
129 BOOST_PROGRAM_OPTIONS,
130 [AX_PKG_BOOST_LIB(PROGRAM_OPTIONS, [-lboost_program_options], [boost/program_options.hpp], [boost::program_options::options_description("Rawr");])],
131 BOOST_SYSTEM,
132 [AX_PKG_BOOST_LIB(SYSTEM, [-lboost_system], [boost/system/error_code.hpp], [boost::system::error_code();])],
133 BOOST_FILESYSTEM,
134 [AX_PKG_BOOST_LIB(FILESYSTEM, [-lboost_filesystem], [boost/filesystem/path.hpp], [boost::filesystem::path();], [$PKG_BOOST_SYSTEM_LIBS])],
135 BOOST_REGEX,
136 [AX_PKG_BOOST_LIB(REGEX, [-lboost_regex], [boost/regex.hpp], [boost::regex(".*");])],
137 BOOST_DATETIME,
138 [AX_PKG_BOOST_LIB(DATETIME, [-lboost_date_time], [boost/date_time/gregorian/gregorian_types.hpp])],
139 BOOST_THREAD,
140 [AX_PKG_BOOST_LIB(THREAD, [-lboost_thread], [boost/thread/thread.hpp], [boost::mutex();], [$PKG_BOOST_DATETIME_LIBS], [boost/thread/condition.hpp])],
141 BOOST_IOSTREAMS,
142 [AX_PKG_BOOST_LIB(IOSTREAMS, [-lboost_iostreams], [boost/iostreams/device/mapped_file.hpp], [boost::iostreams::mapped_file_source();])],
143 BOOST_GRAPH,
144 [AX_PKG_BOOST_LIB(GRAPH, [], [boost/graph/adjacency_list.hpp])],
145 BOOST_MPI,
146 [AX_PKG_BOOST_LIB(MPI, [-lboost_mpi], [boost/mpi.hpp], [], [$PKG_OPEN_MPI_LIBS])],
147 BOOST_SERIALIZATION,
148 [AX_PKG_BOOST_LIB(SERIALIZATION, [-lboost_serialization], [boost/serialization/string.hpp], [], [$PKG_OPEN_MPI_LIBS $PKG_BOOST_MPI_LIBS])]
149 )
150
151 if test x"$HAVE_PKG_BOOST" = "xyes"; then
152 AX_PKG_BOOST_CHECK_VERSION([VW_])
153 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 Aug 20, 2009
154 fi
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
155
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
156 # This provides an easy way for users to override the threads options
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
157 # if they are replacing Boost threads with something else for their platform.
158 AX_PKG(THREADS, [BOOST_THREAD], [], [])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
159
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored Sep 16, 2009
160 AX_PKG(M, [], [-lm], [math.h])
161
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
162 AX_PKG_ONE_OF(LAPACK,
163 APPLE_LAPACK,
164 [AX_PKG_APPLE(LAPACK, [], [-framework vecLib])],
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored Sep 16, 2009
165 INTEL_LAPACK,
166 [case $host_cpu in
167 ia64) AX_PKG(INTEL_LAPACK, [PTHREADS M], [-lmkl_lapack -lmkl -lmkl_i2p -lguide], [mkl_lapack.h], [], [64], [dgelss_]);;
168 x86_64) AX_PKG(INTEL_LAPACK, [PTHREADS M], [-lmkl_lapack -lmkl -lmkl_def -lguide], [mkl_lapack.h], [], [em64t], [dgelss_]);;
169 *) AX_PKG(INTEL_LAPACK, [PTHREADS M], [-lmkl_lapack -lmkl -lguide], [mkl_lapack.h], [], [32], [dgelss_]);;
170 esac],
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
171 CLAPACK,
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored Sep 16, 2009
172 [AX_PKG(CLAPACK, [], [-lclapack -lblas -lf2c], [], [], [], [dgelss_])],
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
173 SLAPACK,
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored Sep 16, 2009
174 [AX_PKG(SLAPACK, [], [-llapack -lblas], [], [], [], [dgelss_])],
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
175 FLAPACK,
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored Sep 16, 2009
176 [AX_PKG(FLAPACK, [], [-llapack -lblas -lgfortran], [], [], [], [dgelss_])],
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
177 STANDALONE_LAPACK_BLAS,
178 [AX_PKG(STANDALONE_BLAS, [], [-lblas], [])
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored Sep 16, 2009
179 AX_PKG(STANDALONE_LAPACK, [STANDALONE_BLAS], [-llapack], [], [], [], [dgelss_])
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
180 AX_GROUP_PKG(STANDALONE_LAPACK_AND_BLAS, [STANDALONE_LAPACK STANDALONE_BLAS])],
181 STANDALONE_FLAPACK_FBLAS,
182 [AX_PKG(STANDALONE_F2C, [], [-lf2c], [])
183 AX_PKG(STANDALONE_FBLAS, [STANDALONE_F2C], [-lblas], [])
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored Sep 16, 2009
184 AX_PKG(STANDALONE_FLAPACK, [STANDALONE_FBLAS STANDALONE_F2C], [-llapack], [], [], [], [dgelss_])
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
185 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 Nov 24, 2008
186
d5b5c94 Reorder of configure.ac
Zack Moratto authored Mar 14, 2010
187 # Vision Workbench Core
35cb094 build system fix
DW Wheeler authored Mar 15, 2010
188 AX_PKG(VW_CORE, [BOOST_THREAD BOOST BOOST_PROGRAM_OPTIONS LAPACK], [-lvwCore], [vw/Core/Log.h] )
d5b5c94 Reorder of configure.ac
Zack Moratto authored Mar 14, 2010
189 AX_PKG(VW_MATH, [VW_CORE], [-lvwMath], [vw/Math/LinearAlgebra.h])
190 AX_PKG(VW_IMAGE, [VW_CORE], [-lvwImage], [vw/Image/ImageView.h])
35cb094 build system fix
DW Wheeler authored Mar 15, 2010
191 AX_PKG(VW_FILEIO,[VW_IMAGE BOOST_SYSTEM BOOST_FILESYSTEM], [-lvwFileIO], [vw/FileIO/DiskImageResourceOpenEXR.h vw/FileIO/DiskImageResourceGDAL.h])
d5b5c94 Reorder of configure.ac
Zack Moratto authored Mar 14, 2010
192 AX_GROUP_PKG(VW, [VW_FILEIO VW_IMAGE VW_MATH VW_CORE])
193
194 # Vision Workbench Secondaries
195 AX_PKG(VW_PLATE, [VW_FILEIO], [-lvwPlate], [vw/Plate/PlateFile.h])
196 AX_PKG(VW_CAMERA, [VW BOOST_IOSTREAMS], [-lvwCamera], [vw/Camera/CAHVModel.h])
65ddedc Bring ASP in line with the switch to BA Module
Zack Moratto authored Mar 30, 2010
197 AX_PKG(VW_STEREO, [VW_CAMERA], [-lvwStereo], [vw/Stereo/OptimizedCorrelator.h])
198 AX_PKG(VW_CARTOGRAPHY, [VW_CAMERA], [-lvwCartography], [vw/Cartography/GeoReference.h])
d5b5c94 Reorder of configure.ac
Zack Moratto authored Mar 14, 2010
199 AX_PKG(VW_INTEREST_POINT, [VW], [-lvwInterestPoint],[vw/InterestPoint/InterestData.h])
0932d7a @anefian updates to the reconstruct.cc file using VW
anefian authored Mar 23, 2010
200 AX_PKG(VW_PHOTOMETRY, [VW], [-lvwPhotometry])
65ddedc Bring ASP in line with the switch to BA Module
Zack Moratto authored Mar 30, 2010
201 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 Jan 13, 2009
202
35a56b1 ASPCore build fix
Zack Moratto authored Apr 1, 2010
203 AM_CONDITIONAL(HAVE_PKG_VW_BUNDLEADJUSTMENT, [test "$HAVE_PKG_VW_BUNDLEADJUSTMENT" = "yes"])
204
661b985 @novas0x2a make gl an explicit dep of qt-opengl
novas0x2a authored Jan 19, 2009
205 AX_PKG_ONE_OF(GL,
206 APPLE_GL,
207 [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])],
208 LINUX_GL,
209 [AX_PKG(X11, [], [-lXext -lX11 -lXmu -lXi -lXt], [])
a0b7e81 glShaders are not a requirement of ASP
Zack Moratto authored Mar 14, 2010
210 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 Jan 19, 2009
211
7a3bc16 @novas0x2a make GL an explicit dep of openscenegraph, too.
novas0x2a authored Jan 20, 2009
212 AX_PKG(OPENSCENEGRAPH, [GL], [-losg -losgDB -lOpenThreads -losgViewer -losgText -losgGA -losgFX -losgTerrain -losgUtil], [osg/ref_ptr])
213
214 AX_PKG(SPICE, [], [-lcspice], [SpiceUsr.h SpiceZfc.h])
215
c69254d @novas0x2a new qt detection method
novas0x2a authored Oct 9, 2009
216 if test "$HAVE_PKG_QT" = no; then
217 ENABLE_QT_QMAKE=no
df8146e @broxtronix Brought over some of Mike Lundy\'s new build system tweaks from VW to…
broxtronix authored Jan 15, 2009
218 fi
219
c69254d @novas0x2a new qt detection method
novas0x2a authored Oct 9, 2009
220 if test "$ENABLE_QT_QMAKE" = no; then
221 AX_GROUP_PKG([QT_QMAKE])
222 else
223 # Qt with AutoTroll.
bf8e60a Bringing ASP's build system up to VW standards
Zack Moratto authored Mar 13, 2010
224 AT_WITH_QT([+gui +sql +opengl +network], [], [], [HAVE_PKG_QT_QMAKE="no:missing QT"], [])
c69254d @novas0x2a new qt detection method
novas0x2a authored Oct 9, 2009
225
226 if test x"$HAVE_PKG_QT_QMAKE" != x"no:missing QT"; then
227 AT_REQUIRE_QT_VERSION([4.0], [HAVE_PKG_QT_QMAKE="no:wrong QT version"], [])
228 fi
229
230 # We seed QT_QMAKE's cppflags and libs with the ones qmake figured out
231 PKG_QT_QMAKE_CPPFLAGS="$PKG_QT_QMAKE_CPPFLAGS $QT_CPPFLAGS"
232 AX_PKG(QT_QMAKE, [], [$QT_LIBS], [QVector])
233 fi
df8146e @broxtronix Brought over some of Mike Lundy\'s new build system tweaks from VW to…
broxtronix authored Jan 15, 2009
234
235 AX_PKG_ONE_OF(QT,
d6387f3 @novas0x2a Add an "arbitrary QT" mode
novas0x2a authored Oct 10, 2009
236 ARBITRARY_QT,
237 [if test -z "$QT_ARBITRARY_MODULES" -a -z "$HAVE_PKG_ARBITRARY_MODULES"; then
238 HAVE_PKG_ARBITRARY_QT="no:Set \$QT_ARBITRARY_MODULES"
239 else
240 for module in $QT_ARBITRARY_MODULES; do
241 PKG_ARBITRARY_QT_NEEDED_HEADERS="$PKG_ARBITRARY_QT_NEEDED_HEADERS Qt${module}"
242 PKG_ARBITRARY_QT_LIBS="-lQt${module} $PKG_ARBITRARY_QT_LIBS"
243 done
244 fi
245 PKG_ARBITRARY_QT_CPPFLAGS="$PKG_ARBITRARY_QT_CPPFLAGS -DQT_SHARED"
246 AX_PKG(ARBITRARY_QT, [], [-lQtCore], [$PKG_ARBITRARY_QT_NEEDED_HEADERS])],
c69254d @novas0x2a new qt detection method
novas0x2a authored Oct 9, 2009
247 APPLE_QMAKE_QT, [AX_PKG_APPLE(QMAKE_QT, [GL QT_QMAKE], [])],
248 LINUX_QMAKE_QT,
bf8e60a Bringing ASP's build system up to VW standards
Zack Moratto authored Mar 13, 2010
249 [AX_PKG(QT_QMAKE_OPENGL, [QT_QMAKE], [], [QtOpenGL])
250 AX_PKG(QT_QMAKE_GUI, [QT_QMAKE], [], [QLabel])
251 AX_PKG(QT_QMAKE_SQL, [QT_QMAKE], [], [QtSql])
252 AX_PKG(QT_QMAKE_NETWORK, [QT_QMAKE], [], [QtNetwork])
253 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 Oct 9, 2009
254 GUESS_QT,
255 [PKG_QT_GUESS_BASE_CPPFLAGS="$PKG_QT_GUESS_BASE_CPPFLAGS -DQT_SHARED"
256 AX_PKG(QT_GUESS_BASE, [], [], [QtCore/qstring.h])
257 AX_PKG(QT_GUESS_CORE, [QT_GUESS_BASE], [-lQtCore], [QtCore], [QtCore])
258 AX_PKG(QT_GUESS_GUI, [QT_GUESS_CORE], [-lQtGui], [QtGui], [QtGui])
259 AX_PKG(QT_GUESS_SQL, [QT_GUESS_CORE], [-lQtSql], [QtSql], [QtSql])
bf8e60a Bringing ASP's build system up to VW standards
Zack Moratto authored Mar 13, 2010
260 AX_PKG(QT_GUESS_NETWORK,[QT_GUESS_CORE], [-lQtNetwork],[QtNetwork],[QtNetwork])
c69254d @novas0x2a new qt detection method
novas0x2a authored Oct 9, 2009
261 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 Mar 13, 2010
262 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 Jan 15, 2009
263
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
264 AX_PKG_ONE_OF(QWT,
6a9ea0d @novas0x2a missed a QT_BASE ref
novas0x2a authored Oct 9, 2009
265 APPLE_QWT, [AX_PKG_APPLE(QWT, [QT], [-lqwt.5])],
266 PLAIN_QWT, [AX_PKG(PLAIN_QWT, [QT], [-lqwt])],
267 SUFFX_QWT, [AX_PKG(SUFFX_QWT, [QT], [-lqwt-qt4])])
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
268
269 AX_PKG_ONE_OF(GSL,
860c4ef @novas0x2a detect gsl better
novas0x2a authored Jan 30, 2009
270 GSL_HASBLAS, [AX_PKG(GSL_HASBLAS, [LAPACK], [-lgsl])],
271 GSL_NEEDBLAS, [AX_PKG(GSL_NEEDBLAS, [LAPACK], [-lgsl -lgslcblas])])
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored Oct 16, 2008
272
273 if test x"$host_vendor" = "xapple"; then
274 AX_PKG(GEOS, [], [-lgeos-3.0.0], [])
275 AX_PKG(SUPERLU, [], [-lsuperlu_3.0], [])
276 AX_PKG(XERCESC, [], [-lxerces-c.28], [])
277 else
278 AX_PKG(GEOS, [], [-lgeos])
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
279 AX_PKG(SUPERLU, [LAPACK], [-lsuperlu])
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored Oct 16, 2008
280 AX_PKG(XERCESC, [], [-lxerces-c])
281 fi
9c887d7 Added a visualization program called Bundlevis. Also modified rmax_ad…
Zack Moratto authored Jun 17, 2008
282
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
283 dnl We need to link ISIS3RDPARTY against LAPACK because, on some systems,
284 dnl the ISIS compilation does not resolve certain BLAS symbols that its
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
285 dnl dependent 3rd party libraries depend on (for whatever reason).
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
286 dnl Thus, we link against LAPACK here because it defines these missing
61855a0 Merged the buildfixes branch onto trunk (r249:r257). This should (hop…
Morgon Kanter authored Jul 4, 2008
287 dnl BLAS symbols in the event that we need them.
e016b05 Previous proposed changes won't do.
Zack Moratto authored Sep 17, 2009
288 AX_PKG(ISIS3RDPARTY, [SUPERLU LAPACK GSL QWT GEOS SPICE XERCESC], [])
d5b5c94 Reorder of configure.ac
Zack Moratto authored Mar 14, 2010
289 AX_PKG(ISIS, [ISIS3RDPARTY QT], [-lisis3], [SpecialPixel.h])
f9707bd Added ability to use TCMALLOC and PROFILER
Zack Moratto authored Feb 4, 2010
290
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility wi…
broxtronix authored Jul 29, 2008
291 # These are here (instead of inside the PKG macro where they belong)
292 # for backwards compatability with older versions of automake.
c3e0cad @novas0x2a clean up configure deps a bit
novas0x2a authored Jan 17, 2009
293 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 Feb 1, 2008
294 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 Sep 18, 2009
295 AM_CONDITIONAL(HAVE_PKG_OPENSCENEGRAPH, [test "$HAVE_PKG_OPENSCENEGRAPH" = "yes"])
200be14 @broxtronix A few tweaks to the stereo build system to get it to work on os 10.5
broxtronix authored Feb 1, 2008
296
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
297 ##################################################
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
298 # module definitions
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
299 ##################################################
300
d5b5c94 Reorder of configure.ac
Zack Moratto authored Mar 14, 2010
301 AX_GROUP_PKG(BOOST_MOST, [BOOST_DATETIME BOOST_IOSTREAMS BOOST])
302 AX_GROUP_PKG(VW_ALL, [VW_CARTOGRAPHY VW_STEREO VW_CAMERA VW_INTEREST_POINT VW])
303
304 AX_MODULE(CORE, [src/asp/Core], [libaspCore.la], yes, [], [VW_ALL BOOST_MOST], [LAPACK])
305 AX_MODULE(SPICEIO, [src/asp/SpiceIO], [libaspSpiceIO.la], yes, [], [VW BOOST_MOST SPICE])
306 AX_MODULE(ISISIO, [src/asp/IsisIO], [libaspIsisIO.la], yes, [], [ISIS VW_CARTOGRAPHY BOOST])
307 AX_MODULE(SESSIONS, [src/asp/Sessions], [libaspSessions.la], yes, [CORE], [], [ISISIO SPICEIO])
d43a5bd Clean up includes and namespaces
Zack Moratto authored Apr 1, 2010
308 AX_MODULE(MPI, [src/asp/MPI], [], no, [VW_BUNDLEADJUSTMENT ISISIO CORE], [BOOST_SERIALIZATION BOOST_MPI OPEN_MPI VW_ALL])
49fc2e9 Added skeleton of executables for Photometry Toolkit
Zack Moratto authored Apr 20, 2010
309 AX_MODULE(PHOTOMETRYTK, [src/asp/PhotometryTK], [], no, [VW_PLATE], [BOOST])
d5b5c94 Reorder of configure.ac
Zack Moratto authored Mar 14, 2010
310
311 AX_APP(STEREO, [src/asp/Tools], yes, [SESSIONS])
312 AX_APP(ORTHOPROJECT, [src/asp/Tools], yes, [SESSIONS])
8b63830 Making bundle_adjust compile
Zack Moratto authored Apr 1, 2010
313 AX_APP(BUNDLEADJUST, [src/asp/Tools], no, [VW_BUNDLEADJUSTMENT SESSIONS])
d5b5c94 Reorder of configure.ac
Zack Moratto authored Mar 14, 2010
314 AX_APP(ORBITVIZ, [src/asp/Tools], yes, [SESSIONS])
315 AX_APP(DISPARITYDEBUG, [src/asp/Tools], yes, [VW_STEREO])
316 AX_APP(POINT2MESH, [src/asp/Tools], yes, [OPENSCENEGRAPH VW])
317 AX_APP(POINT2DEM, [src/asp/Tools], yes, [CORE])
318 AX_APP(RMAX2CAHVOR, [src/asp/Tools], no, [SESSIONS])
65ddedc Bring ASP in line with the switch to BA Module
Zack Moratto authored Mar 30, 2010
319 AX_APP(RMAXADJUST, [src/asp/Tools], no, [VW_BUNDLEADJUSTMENT SESSIONS])
e7ed5b7 Make bundlevis work with new bundleadjustment mod
Zack Moratto authored Apr 4, 2010
320 AX_APP(BUNDLEVIS, [src/asp/Tools], no, [OPENSCENEGRAPH VW_BUNDLEADJUSTMENT])
65ddedc Bring ASP in line with the switch to BA Module
Zack Moratto authored Mar 30, 2010
321 AX_APP(ISISADJUST, [src/asp/Tools], yes, [VW_BUNDLEADJUSTMENT ISISIO CORE])
d5b5c94 Reorder of configure.ac
Zack Moratto authored Mar 14, 2010
322 AX_APP(RESULTS, [src/asp/Tools], yes, [ISISIO])
0932d7a @anefian updates to the reconstruct.cc file using VW
anefian authored Mar 23, 2010
323 AX_APP(RECONSTRUCT, [src/asp/Tools], no, [VW_PHOTOMETRY VW_CARTOGRAPHY VW])
d5b5c94 Reorder of configure.ac
Zack Moratto authored Mar 14, 2010
324 AX_APP(ALIGNDEM, [src/asp/Tools], yes, [VW_CARTOGRAPHY VW_INTEREST_POINT])
325 AX_APP(GEODIFF, [src/asp/Tools], yes, [ISISIO VW BOOST])
326 AX_APP(DEMPROFILE, [src/asp/Tools], yes, [VW_CARTOGRAPHY VW])
327 AX_APP(PLATEORTHOPROJECT,[src/asp/Tools], no, [SESSIONS ISISIO VW_PLATE])
0fd16f0 Added HSV_merge utility
Zack Moratto authored Apr 15, 2010
328 AX_APP(HSVMERGE, [src/asp/Tools], yes, [VW_CARTOGRAPHY VW])
9c0d10b Massive reorganization. Works this time! A good handful of code has b…
Zack Moratto authored Sep 18, 2009
329
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility wi…
broxtronix authored Jul 29, 2008
330 # These are here (instead of inside the APP macro where they belong)
331 # for backwards compatability with older versions of automake.
9c0d10b Massive reorganization. Works this time! A good handful of code has b…
Zack Moratto authored Sep 18, 2009
332 AM_CONDITIONAL(MAKE_MODULE_CORE, [test "$MAKE_MODULE_CORE" = "yes"])
333 AM_CONDITIONAL(MAKE_MODULE_ISISIO, [test "$MAKE_MODULE_ISISIO" = "yes"])
334 AM_CONDITIONAL(MAKE_MODULE_SPICEIO, [test "$MAKE_MODULE_SPICEIO" = "yes"])
335 AM_CONDITIONAL(MAKE_MODULE_SESSIONS, [test "$MAKE_MODULE_SESSIONS" = "yes"])
384d7c3 Added skeleton for MPI in ASP
Zack Moratto authored Mar 9, 2010
336 AM_CONDITIONAL(MAKE_MODULE_MPI, [test "$MAKE_MODULE_MPI" = "yes"])
49fc2e9 Added skeleton of executables for Photometry Toolkit
Zack Moratto authored Apr 20, 2010
337 AM_CONDITIONAL(MAKE_MODULE_PHOTOMETRYTK, [test "$MAKE_MODULE_PHOTOMETRYTK" = "yes"])
9c0d10b Massive reorganization. Works this time! A good handful of code has b…
Zack Moratto authored Sep 18, 2009
338
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility wi…
broxtronix authored Jul 29, 2008
339 AM_CONDITIONAL(MAKE_APP_STEREO, [test "$MAKE_APP_STEREO" = "yes"])
0a8a6bd @broxtronix Moved the stereo gui into the main build system. It does not build by…
broxtronix authored Sep 17, 2008
340 AM_CONDITIONAL(MAKE_APP_STEREOGUI, [test "$MAKE_APP_STEREOGUI" = "yes"])
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility wi…
broxtronix authored Jul 29, 2008
341 AM_CONDITIONAL(MAKE_APP_ORTHOPROJECT, [test "$MAKE_APP_ORTHOPROJECT" = "yes"])
342 AM_CONDITIONAL(MAKE_APP_BUNDLEADJUST, [test "$MAKE_APP_BUNDLEADJUST" = "yes"])
343 AM_CONDITIONAL(MAKE_APP_ORBITVIZ, [test "$MAKE_APP_ORBITVIZ" = "yes"])
344 AM_CONDITIONAL(MAKE_APP_DISPARITYDEBUG, [test "$MAKE_APP_DISPARITYDEBUG" = "yes"])
345 AM_CONDITIONAL(MAKE_APP_POINT2MESH, [test "$MAKE_APP_POINT2MESH" = "yes"])
346 AM_CONDITIONAL(MAKE_APP_POINT2DEM, [test "$MAKE_APP_POINT2DEM" = "yes"])
347 AM_CONDITIONAL(MAKE_APP_RMAX2CAHVOR, [test "$MAKE_APP_RMAX2CAHVOR" = "yes"])
348 AM_CONDITIONAL(MAKE_APP_RMAXADJUST, [test "$MAKE_APP_RMAXADJUST" = "yes"])
349 AM_CONDITIONAL(MAKE_APP_BUNDLEVIS, [test "$MAKE_APP_BUNDLEVIS" = "yes"])
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
350 AM_CONDITIONAL(MAKE_APP_ISISADJUST, [test "$MAKE_APP_ISISADJUST" = "yes"])
9686523 @anefian added support for results
anefian authored Dec 17, 2008
351 AM_CONDITIONAL(MAKE_APP_RESULTS, [test "$MAKE_APP_RESULTS" = "yes"])
fd21b10 Adding Ara's new program, reconstruct.
Zack Moratto authored Jul 1, 2009
352 AM_CONDITIONAL(MAKE_APP_RECONSTRUCT, [test "$MAKE_APP_RECONSTRUCT" = "yes"])
0a19f99 @khusmann begun work on an experimental utility for comparing dems
khusmann authored Nov 24, 2009
353 AM_CONDITIONAL(MAKE_APP_ALIGNDEM, [test "$MAKE_APP_ALIGNDEM" = "yes"])
a11702a @khusmann added geodiff tool
khusmann authored Dec 2, 2009
354 AM_CONDITIONAL(MAKE_APP_GEODIFF, [test "$MAKE_APP_GEODIFF" = "yes"])
6eaf219 Rough draft upload of a DEM profile utility. Currently it can only ma…
Zack Moratto authored Dec 1, 2009
355 AM_CONDITIONAL(MAKE_APP_DEMPROFILE, [test "$MAKE_APP_DEMPROFILE" = "yes"])
a834a21 Added orthoproject util that uses platefiles
Zack Moratto authored Mar 13, 2010
356 AM_CONDITIONAL(MAKE_APP_PLATEORTHOPROJECT, [test "$MAKE_APP_PLATEORTHOPROJECT" = "yes"])
0fd16f0 Added HSV_merge utility
Zack Moratto authored Apr 15, 2010
357 AM_CONDITIONAL(MAKE_APP_HSVMERGE, [test "$MAKE_APP_HSVMERGE" = "yes"])
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
358
359 ##################################################
360 # final processing
361 ##################################################
362
363 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 Nov 24, 2008
364 ASP_LDFLAGS="$OTHER_LDFLAGS"
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
365
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
366 # Do this last, to make sure it's not overridden
367 if test x"$ENABLE_STRICT_ALIASING" = x"no"; then
368 CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
369 fi
370
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
371 AX_LOG([using CPPFLAGS=$CPPFLAGS])
372 AX_LOG([using ASP_CPPFLAGS=$ASP_CPPFLAGS])
373 AX_LOG([using CFLAGS=$CFLAGS])
374 AX_LOG([using CXXFLAGS=$CXXFLAGS])
375 AX_LOG([using LDFLAGS=$LDFLAGS])
376 AX_LOG([using ASP_LDFLAGS=$ASP_LDFLAGS])
377 AX_LOG([using ASP_ENABLE_EXCEPTIONS=$ENABLE_EXCEPTIONS])
378
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
379 AC_SUBST(ASP_CPPFLAGS)
380 AC_SUBST(ASP_LDFLAGS)
381
382
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
383 ##################################################
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
384 # makefiles to process
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
385 ##################################################
386
387 AC_CONFIG_FILES([ \
388 Makefile \
389 src/Makefile \
9c0d10b Massive reorganization. Works this time! A good handful of code has b…
Zack Moratto authored Sep 18, 2009
390 src/asp/Makefile \
391 src/asp/Core/Makefile \
392 src/asp/SpiceIO/Makefile \
393 src/asp/IsisIO/Makefile \
4515a04 Added linescan proof of accuracy to groundmap
Zack Moratto authored Jan 28, 2010
394 src/asp/IsisIO/tests/Makefile \
9c0d10b Massive reorganization. Works this time! A good handful of code has b…
Zack Moratto authored Sep 18, 2009
395 src/asp/Sessions/Makefile \
396 src/asp/Sessions/ISIS/Makefile \
397 src/asp/Sessions/Keypoint/Makefile \
398 src/asp/Sessions/Pinhole/Makefile \
399 src/asp/Sessions/RMAX/Makefile \
384d7c3 Added skeleton for MPI in ASP
Zack Moratto authored Mar 9, 2010
400 src/asp/MPI/Makefile \
bf8e60a Bringing ASP's build system up to VW standards
Zack Moratto authored Mar 13, 2010
401 src/asp/Tools/Makefile \
49fc2e9 Added skeleton of executables for Photometry Toolkit
Zack Moratto authored Apr 20, 2010
402 src/asp/PhotometryTK/Makefile \
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
403 ])
404
405 AC_OUTPUT
Something went wrong with that request. Please try again.