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