Skip to content
This repository
Newer
Older
100644 418 lines (348 sloc) 16.867 kb
bf17a24b »
2006-12-05 Re-arranged the repository...
1 # __BEGIN_LICENSE__
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
2 #
bf17a24b »
2006-12-05 Re-arranged the repository...
3 # Copyright (C) 2006 United States Government as represented by the
4 # Administrator of the National Aeronautics and Space Administration
5 # (NASA). All Rights Reserved.
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
6 #
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
7 # Copyright 2006 Carnegie Mellon University. All rights reserved.
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
8 #
bf17a24b »
2006-12-05 Re-arranged the repository...
9 # This software is distributed under the NASA Open Source Agreement
10 # (NOSA), version 1.3. The NOSA has been approved by the Open Source
11 # Initiative. See the file COPYING at the top of the distribution
12 # directory tree for the complete NOSA document.
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
13 #
bf17a24b »
2006-12-05 Re-arranged the repository...
14 # THE SUBJECT SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY OF ANY
15 # KIND, EITHER EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT
16 # LIMITED TO, ANY WARRANTY THAT THE SUBJECT SOFTWARE WILL CONFORM TO
17 # SPECIFICATIONS, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR
18 # A PARTICULAR PURPOSE, OR FREEDOM FROM INFRINGEMENT, ANY WARRANTY THAT
19 # THE SUBJECT SOFTWARE WILL BE ERROR FREE, OR ANY WARRANTY THAT
20 # DOCUMENTATION, IF PROVIDED, WILL CONFORM TO THE SUBJECT SOFTWARE.
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
21 #
bf17a24b »
2006-12-05 Re-arranged the repository...
22 # __END_LICENSE__
23
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
24 AC_INIT([NASA Ames Stereo Pipeline], [2.1], [asp@nx.arc.nasa.gov], [StereoPipeline])
bf17a24b »
2006-12-05 Re-arranged the repository...
25 AC_CONFIG_AUX_DIR(config)
9ae12aeb »
2008-11-24 make stereo's build much like vw's
26 AC_CONFIG_MACRO_DIR([m4])
bf17a24b »
2006-12-05 Re-arranged the repository...
27 AC_CANONICAL_HOST
28 AM_INIT_AUTOMAKE
29 AX_CONFIG_HEADER_PREFIX([src/asp_config.h], [ASP_])
30
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
31 LIBTOOL_CURRENT=1
32 LIBTOOL_REVISION=0
33 LIBTOOL_AGE=0
34 LIBTOOL_VERSION=$LIBTOOL_CURRENT:$LIBTOOL_REVISION:$LIBTOOL_AGE
35 AC_SUBST(LIBTOOL_VERSION)
36
37
bf17a24b »
2006-12-05 Re-arranged the repository...
38 ##################################################
39 # configuration options
40 ##################################################
41
42 # This should be first, so everything else can use it
43 AC_ARG_ENABLE(verbose,
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
44 AC_HELP_STRING([--enable-verbose], [verbose configuration output @<:@no@:>@]),
bf17a24b »
2006-12-05 Re-arranged the repository...
45 [ ENABLE_VERBOSE=$enableval ],
46 [ if test -z $"ENABLE_VERBOSE"; then ENABLE_VERBOSE=no; fi ]
47 )
48
49 if test -f config.options; then
50 if test "yes" = "$ENABLE_VERBOSE" ; then
51 AC_MSG_NOTICE([sourcing config.options])
52 cat config.options
53 fi
54 source config.options
55 fi
56
57 AC_ARG_WITH(paths,
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
58 AC_HELP_STRING([--with-paths=PATHS], [additional search path(s) for packages]),
bf17a24b »
2006-12-05 Re-arranged the repository...
59 [ PKG_PATHS="$withval $PKG_PATHS" ]
60 )
61 PKG_PATHS="${PKG_PATHS} ${HOME} ${HOME}/local /sw /opt /opt/local /usr/local /usr/X11R6 /usr"
62
63
64 ##################################################
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
65 # compilation options
bf17a24b »
2006-12-05 Re-arranged the repository...
66 ##################################################
67
68 AC_ARG_ENABLE(debug,
69 AC_HELP_STRING([--enable-debug], [generate debugging symbols @<:@no@:>@]),
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
70 [ ENABLE_DEBUG=$enableval ],
bf17a24b »
2006-12-05 Re-arranged the repository...
71 [ if test -z "$ENABLE_DEBUG"; then ENABLE_DEBUG=no; fi ]
72 )
73
74 if test "yes" = "$ENABLE_DEBUG"; then
75 AX_CFLAGS="$AX_CFLAGS -g -DDEBUG"
76 else
77 AX_CFLAGS="$AX_CFLAGS -DNDEBUG"
78 fi
79
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
80 # For 64-bit machines, we'll generally want to autodetect if lib64 exists,
81 # and use it. Sometimes the user will want to force use of lib64 or lib
82 # instead of the autodetection. Thus we have this command line option.
83 AC_ARG_ENABLE(lib64,
84 AC_HELP_STRING([--enable-lib64], [force configure to use the lib64 directory (yes) or the lib directory (no) to find libraries @<:@autodetect@:>@]),
85 [ USE_LIB64=$enableval ],
86 [ if test -z "$USE_LIB64"; then USE_LIB64="autodetect"; fi ]
87 )
88 if test x"$USE_LIB64" = "xautodetect"; then
89 if test -d "/lib64" -o -d "/usr/lib64"; then
90 USE_LIB64="yes"
91 else
92 USE_LIB64="no"
93 fi
94 fi
95 # Sometimes we have /foo/lib64 and /foo/lib confusion on 64-bit machines,
96 # so we'll use possibly both if one doesn't appear for a certain
97 # library path.
98 if test x"$USE_LIB64" = "xyes"; then
99 AX_LIBDIR="lib64"
100 AX_OTHER_LIBDIR="lib"
101 else
102 AX_LIBDIR="lib"
103 AX_OTHER_LIBDIR="lib64"
104 fi
bf17a24b »
2006-12-05 Re-arranged the repository...
105 AC_ARG_ENABLE(optimize,
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
106 AC_HELP_STRING([--enable-optimize@<:@=LEVEL@:>@], [compiler optimization level @<:@yes@:>@]),
bf17a24b »
2006-12-05 Re-arranged the repository...
107 [ ENABLE_OPTIMIZE=$enableval ],
108 [ if test -z "$ENABLE_OPTIMIZE"; then ENABLE_OPTIMIZE=yes; fi ]
109 )
110
111 if test "yes" = "$ENABLE_OPTIMIZE" || test "3" = "$ENABLE_OPTIMIZE"; then
112 AX_CFLAGS="$AX_CFLAGS -O3"
113 elif test "2" = "$ENABLE_OPTIMIZE"; then
114 AX_CFLAGS="$AX_CFLAGS -O2"
115 elif test "1" = "$ENABLE_OPTIMIZE"; then
116 AX_CFLAGS="$AX_CFLAGS -O1"
117 elif test "coreduo" = "$ENABLE_OPTIMIZE"; then
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
118 AX_CFLAGS="$AX_CFLAGS -O4 -march=prescott -mtune=prescott -funroll-loops -msse -msse2 -msse3 -mfpmath=sse"
bf17a24b »
2006-12-05 Re-arranged the repository...
119 elif test "sse3" = "$ENABLE_OPTIMIZE"; then
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
120 AX_CFLAGS="$AX_CFLAGS -O4 -funroll-loops -msse -msse2 -msse3 -mfpmath=sse"
bf17a24b »
2006-12-05 Re-arranged the repository...
121 else
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
122 echo 'WARNING: *** The Vision Workbench may not work properly with optimization disabled! ***'
bf17a24b »
2006-12-05 Re-arranged the repository...
123 AX_CFLAGS="$AX_CFLAGS -O0"
124 fi
125
9ae12aeb »
2008-11-24 make stereo's build much like vw's
126 CFLAGS="$CFLAGS -I\${top_srcdir}/src $AX_CFLAGS"
127 CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/src $AX_CFLAGS"
e10cb465 »
2008-12-02 disable unknown linker flags on osx
128
129 if test "x$host_vendor" != "xapple"; then
130 LDFLAGS="$LDFLAGS -Wl,-no-undefined -Wl,-as-needed"
131 fi
9ae12aeb »
2008-11-24 make stereo's build much like vw's
132
bf17a24b »
2006-12-05 Re-arranged the repository...
133
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
134 AC_ARG_ENABLE(exceptions,
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
135 AC_HELP_STRING([--enable-exceptions@<:@=yes@:>@], [enable the C++ exception mechanism]),
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
136 [ ENABLE_EXCEPTIONS=$enableval ],
137 [ if test -z "$ENABLE_EXCEPTIONS"; then ENABLE_EXCEPTIONS=yes; fi ]
138 )
139
140 if test "$ENABLE_EXCEPTIONS" = "yes"; then
141 no_exceptions=0
142 else
143 no_exceptions=1
bf17a24b »
2006-12-05 Re-arranged the repository...
144 fi
145
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
146 AM_CONDITIONAL(ENABLE_EXCEPTIONS, [test "$ENABLE_EXCEPTIONS" = "yes"])
147
148 AC_DEFINE_UNQUOTED(NO_EXCEPTIONS,
149 [$no_exceptions],
150 [Define to 1 to disable C++ exceptions.])
151
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
152 # We set up the include paths ourselves, so
bf17a24b »
2006-12-05 Re-arranged the repository...
153 # we ask autoconf to get out of the way.
154 DEFAULT_INCLUDES=
155 AC_SUBST(DEFAULT_INCLUDES)
156
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
157
bf17a24b »
2006-12-05 Re-arranged the repository...
158 ##################################################
159 # installation options
160 ##################################################
161
162 if test ${prefix} = NONE; then
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
163 if test ! -z ${PREFIX} ; then
164 prefix=${PREFIX}
165 AC_MSG_NOTICE([using installation prefix ${prefix}])
bf17a24b »
2006-12-05 Re-arranged the repository...
166 fi
167 fi
168
169
170 ##################################################
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
171 # distribution options
bf17a24b »
2006-12-05 Re-arranged the repository...
172 ##################################################
173
174 AC_ARG_WITH(dist-license,
175 AC_HELP_STRING([--with-dist-license=LICENSE], [special distribution license file to be included as the COPYING file in the distribution]),
176 [DIST_LICENSE=$withval]
177 )
178 AC_SUBST(DIST_LICENSE)
179 AM_CONDITIONAL(DIST_LICENSE, [test ! -z "$DIST_LICENSE"])
180
181 if test ! -z "$DIST_LICENSE" ; then
182 AC_MSG_NOTICE([using distribution license file $DIST_LICENSE])
183 fi
184
185 AC_ARG_WITH(dist-license-summary,
186 AC_HELP_STRING([--with-dist-license-summary=SUMMARY], [special distribution license summary file to be included in the headers of source files in the distribution]),
187 [DIST_LICENSE_SUMMARY=$withval]
188 )
189 AC_SUBST(DIST_LICENSE_SUMMARY)
190 AM_CONDITIONAL(DIST_LICENSE_SUMMARY, [test ! -z "$DIST_LICENSE_SUMMARY"])
191
192 if test ! -z "$DIST_LICENSE_SUMMARY" ; then
193 AC_MSG_NOTICE([using distribution license summary file $DIST_LICENSE_SUMMARY])
194 fi
195
196 AC_ARG_WITH(dist-config-options-default,
197 AC_HELP_STRING([--with-dist-config-options-default@<:@=FILE@:>@], [special distribution config.options.default file]),
198 [DIST_CONFIG_OPTIONS_DEFAULT=$withval]
199 )
200 AC_SUBST(DIST_CONFIG_OPTIONS_DEFAULT)
201 AM_CONDITIONAL(DIST_CONFIG_OPTIONS_DEFAULT, [test ! -z "$DIST_CONFIG_OPTIONS_DEFAULT"])
202
203 if test ! -z "$DIST_CONFIG_OPTIONS_DEFAULT" ; then
204 if test "yes" = "$DIST_CONFIG_OPTIONS_DEFAULT" ; then
205 DIST_CONFIG_OPTIONS_DEFAULT="config/config.options.default"
206 fi
207 AC_MSG_NOTICE([using distribution config.options.default file: $DIST_CONFIG_OPTIONS_DEFAULT])
208 fi
209
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
210 AC_ARG_WITH(dist-remove-modules,
211 AC_HELP_STRING([--with-dist-remove-modules="MODULE @<:@MODULE...@:>@"], [remove certain modules from the distribution]),
212 [DIST_REMOVE_MODULES=$withval], [DIST_REMOVE_MODULES="Geometry InterestPoint Python"]
213 )
214 AC_SUBST(DIST_REMOVE_MODULES)
215 AM_CONDITIONAL(DIST_REMOVE_MODULES, [test ! -z "$DIST_REMOVE_MODULES"])
216
217
218 ##################################################
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
219 # library options
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
220 ##################################################
221
222 if test -z $NUM_THREADS ; then NUM_THREADS=4 ; fi
223 AH_TEMPLATE([NUM_THREADS],
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
224 [Define to the default number of threads that the Vision
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
225 Workbench should spawn for multi-threaded operations.])
226 AC_ARG_WITH(num-threads,
227 AC_HELP_STRING([--with-num-threads[=4]], [set the default number of processing threads for multi-threaded operations]),
228 [NUM_THREADS=$withval])
229 AC_DEFINE_UNQUOTED([NUM_THREADS],[$NUM_THREADS])
bf17a24b »
2006-12-05 Re-arranged the repository...
230
231 ##################################################
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
232 # package checks
bf17a24b »
2006-12-05 Re-arranged the repository...
233 ##################################################
234
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
235 # Make sure these are set so AC_PROG_CC doesn't initialize them with
236 # its defaults, since we take care of setting debug and optimization
237 # levels ourselves.
238 CFLAGS="$CFLAGS"
239 CXXFLAGS="$CXXFLAGS"
240
bf17a24b »
2006-12-05 Re-arranged the repository...
241 AC_PROG_CC
242 AC_PROG_CXX
243 AC_PROG_INSTALL
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
244 AX_PROG_AR
bf17a24b »
2006-12-05 Re-arranged the repository...
245 AC_PROG_LIBTOOL
246 AC_PROG_MAKE_SET
247
c40e35d9 »
2008-10-16 set AC_LANG only once
248 AC_LANG(C++)
249
e89f1e9a »
2008-02-01 Re-enabled the ISIS stereo code and integrated it with the normal ste…
250 # Qt with AutoTroll.
46eeae88 »
2008-10-09 Change a bit about how qt is detected. Shouldn't be confused by qt3 vs
251 AT_WITH_QT([+gui +sql +opengl])
e89f1e9a »
2008-02-01 Re-enabled the ISIS stereo code and integrated it with the normal ste…
252
bf17a24b »
2006-12-05 Re-arranged the repository...
253 if test "yes" = "$ENABLE_VERBOSE"; then
254 AC_MSG_NOTICE([using PKG_PATHS=$PKG_PATHS])
255 fi
256
257 AX_PKG_PTHREADS
258
259 AX_PKG_BOOST
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
260 AX_PKG_BOOST_CHECK_VERSION([ASP_])
261
262 AC_MSG_NOTICE([Stereo will be built using Boost version $BOOST_VERSION])
bf17a24b »
2006-12-05 Re-arranged the repository...
263 AX_PKG_BOOST_LIB(PROGRAM_OPTIONS, [-lboost_program_options], [boost/program_options.hpp])
8de059fe »
2008-06-20 Checking in an identical fix to the one just commited for the VW buil…
264 AX_PKG_BOOST_LIB(FILESYSTEM_PRE_1_35, [-lboost_filesystem], [boost/filesystem/path.hpp])
265 if test "$HAVE_PKG_BOOST_FILESYSTEM_PRE_1_35" = "no"; then
266 echo "Checking for BOOST_FILESYSTEM 1.35 or later..."
267 AX_PKG_BOOST_LIB(FILESYSTEM, [-lboost_filesystem -lboost_system], [boost/filesystem/path.hpp])
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
268 else
8de059fe »
2008-06-20 Checking in an identical fix to the one just commited for the VW buil…
269 AX_PKG(BOOST_FILESYSTEM, [BOOST_FILESYSTEM_PRE_1_35], [], [])
270 fi
bf17a24b »
2006-12-05 Re-arranged the repository...
271 AX_PKG_BOOST_LIB(THREAD, [-lboost_thread], [boost/thread/thread.hpp])
272
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
273 # This provides an easy way for users to override the threads options
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
274 # if they are replacing Boost threads with something else for their platform.
275 AX_PKG(THREADS, [BOOST_THREAD], [], [])
bf17a24b »
2006-12-05 Re-arranged the repository...
276
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
277 AX_PKG_LAPACK
278
279 AX_PKG(VW, [BOOST], [-lvw], [vw/Image/ImageView.h vw/Math/LinearAlgebra.h])
280 AX_PKG(VW_STEREO, [BOOST], [-lvwStereo], [vw/Stereo/OptimizedCorrelator.h])
281 AX_PKG(VW_CAMERA, [BOOST], [-lvwCamera], [vw/Camera/CAHVModel.h])
282 AX_PKG(VW_CARTOGRAPHY, [BOOST], [-lvwCartography], [vw/Cartography/GeoReference.h])
283 AX_PKG(VW_INTEREST_POINT, [BOOST], [-lvwInterestPoint])
bf17a24b »
2006-12-05 Re-arranged the repository...
284
f73af282 »
2009-01-14 integrate cuda a little better
285 AX_PKG(CUDA, [], [-lcuda -lcudart], [cuda.h])
b7e4f18d »
2009-01-13 First cut at adding a CUDA application
286
2dc3d831 »
2008-07-08 The configuration file parser (and stereo.default files in general)
287 AX_PKG(OPENSCENEGRAPH, [], [-losg -losgDB -lOpenThreads -losgViewer -losgText -losgGA -losgFX -losgTerrain -losgUtil], [osg/ref_ptr])
d06a679c »
2008-12-05 Added boost as a dependency for MBA, and made a few fixes for detecti…
288 AX_PKG(MBA10, [BOOST], [-lMBA_1.0_gpl_opt], [MBA.h])
46eeae88 »
2008-10-09 Change a bit about how qt is detected. Shouldn't be confused by qt3 vs
289
290 if test "$HAVE_PKG_MBA10" = "no"; then
291 echo "Checking for MBA 1.1"
d06a679c »
2008-12-05 Added boost as a dependency for MBA, and made a few fixes for detecti…
292 AX_PKG(MBA, [BOOST], [-lMBA-1.1], [MBA.h])
46eeae88 »
2008-10-09 Change a bit about how qt is detected. Shouldn't be confused by qt3 vs
293 else
294 AX_PKG(MBA, [MBA10], [], [])
295 fi
296
0ab9a40b »
2008-04-25 Added ORBITVIZ as a build target
297 AX_PKG(SPICE, [], [-lcspice], [SpiceUsr.h SpiceZfc.h])
e89f1e9a »
2008-02-01 Re-enabled the ISIS stereo code and integrated it with the normal ste…
298
38b27027 »
2008-10-15 Some adjustments to support building against the lastest version of I…
299 dnl ISIS includes QT headers without the proper qt module prefix, so
300 dnl we need to add this check here to force the build system to add an
3a92ea1a »
2008-10-16 this patch adds --with-modulename-cppflags and --with-modulename-libs.
301 dnl extra include path at the top level of the QTCore tree.
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
302 dnl We also seed QT_INCLUDE's cppflags with the ones qmake figured out
303 ADD_QT_INCLUDE_CPPFLAGS="$ADD_QT_INCLUDE_CPPFLAGS $QT_CPPFLAGS"
304 AX_PKG(QT_INCLUDE, [], [], [QVector])
3a92ea1a »
2008-10-16 this patch adds --with-modulename-cppflags and --with-modulename-libs.
305
306 if test x"$host_vendor" = "xapple"; then
307 AX_PKG(QWT, [QT_INCLUDE], [-lqwt.5])
308 AX_PKG(GEOS, [], [-lgeos-3.0.0], [])
d06a679c »
2008-12-05 Added boost as a dependency for MBA, and made a few fixes for detecti…
309 AX_PKG(GSL, [LAPACK], [-Wl,-lgsl,-lgslcblas])
3a92ea1a »
2008-10-16 this patch adds --with-modulename-cppflags and --with-modulename-libs.
310 AX_PKG(SUPERLU, [], [-lsuperlu_3.0], [])
311 AX_PKG(XERCESC, [], [-lxerces-c.28], [])
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
312 AX_PKG(QT, [QT_INCLUDE], [], [])
3a92ea1a »
2008-10-16 this patch adds --with-modulename-cppflags and --with-modulename-libs.
313 else
7f46f218 »
2008-11-26 Turn on -no-undefined to detect boost properly and -as-needed to redu…
314
315 AX_PKG(QWT_PLAIN, [QT_INCLUDE], [-lqwt])
316 if test "$HAVE_PKG_QWT_PLAIN" = "no"; then
317 AX_PKG(QWT, [QT_INCLUDE], [-lqwt-qt4])
318 else
319 AX_PKG(QWT, [QWT_PLAIN], [])
320 fi
321
3a92ea1a »
2008-10-16 this patch adds --with-modulename-cppflags and --with-modulename-libs.
322 AX_PKG(GEOS, [], [-lgeos])
7f46f218 »
2008-11-26 Turn on -no-undefined to detect boost properly and -as-needed to redu…
323 AX_PKG(GSL, [LAPACK], [-Wl,-no-as-needed,-lgsl,-lgslcblas,-as-needed])
3a92ea1a »
2008-10-16 this patch adds --with-modulename-cppflags and --with-modulename-libs.
324 AX_PKG(SUPERLU, [], [-lsuperlu])
325 AX_PKG(XERCESC, [], [-lxerces-c])
326
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
327 AX_PKG(QT_CORE, [QT_INCLUDE], [-lQtCore], [QVector])
328 AX_PKG(QT_GUI, [QT_INCLUDE], [-lQtGui], [QLabel])
329 AX_PKG(QT_SQL, [QT_INCLUDE], [-lQtSql], [QtSql])
330 AX_PKG(QT, [QT_INCLUDE QT_CORE QT_GUI QT_SQL], [], [])
3a92ea1a »
2008-10-16 this patch adds --with-modulename-cppflags and --with-modulename-libs.
331 fi
9c887d79 »
2008-06-17 Added a visualization program called Bundlevis. Also modified rmax_ad…
332
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
333 dnl We need to link ISIS3RDPARTY against LAPACK because, on some systems,
334 dnl the ISIS compilation does not resolve certain BLAS symbols that its
61855a0f »
2008-07-04 Merged the buildfixes branch onto trunk (r249:r257). This should (hop…
335 dnl dependent 3rd party libraries depend on (for whatever retarded reason).
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
336 dnl Thus, we link against LAPACK here because it defines these missing
61855a0f »
2008-07-04 Merged the buildfixes branch onto trunk (r249:r257). This should (hop…
337 dnl BLAS symbols in the event that we need them.
6d7b1a96 »
2008-10-27 Moved SuperLU check before LAPack.
338 AX_PKG(ISIS3RDPARTY, [SUPERLU LAPACK GSL QWT GEOS SPICE XERCESC], [])
3a92ea1a »
2008-10-16 this patch adds --with-modulename-cppflags and --with-modulename-libs.
339 AX_PKG(ISIS, [QT ISIS3RDPARTY], [-lisis3])
bf17a24b »
2006-12-05 Re-arranged the repository...
340
8634e659 »
2008-07-29 Added AM_CONDITIONAL directives for better backwards compatibility wi…
341 # These are here (instead of inside the PKG macro where they belong)
342 # for backwards compatability with older versions of automake.
200be143 »
2008-02-01 A few tweaks to the stereo build system to get it to work on os 10.5
343 AM_CONDITIONAL(HAVE_PKG_ISIS, [test "$HAVE_PKG_ISIS" = "yes"])
344
bf17a24b »
2006-12-05 Re-arranged the repository...
345 ##################################################
346 # module definitions
347 ##################################################
348
2dc3d831 »
2008-07-08 The configuration file parser (and stereo.default files in general)
349 AX_APP(STEREO, [src], yes, [BOOST BOOST_PROGRAM_OPTIONS BOOST_FILESYSTEM VW VW_CAMERA VW_CARTOGRAPHY VW_STEREO VW_INTEREST_POINT LAPACK MBA SPICE], [ISIS ISIS3RDPARTY QT_CORE QT_GUI])
0a8a6bda »
2008-09-17 Moved the stereo gui into the main build system. It does not build by…
350 AX_APP(STEREOGUI, [src], no, [BOOST BOOST_PROGRAM_OPTIONS BOOST_FILESYSTEM VW VW_CAMERA VW_CARTOGRAPHY VW_STEREO VW_INTEREST_POINT LAPACK MBA SPICE], [ISIS ISIS3RDPARTY])
2dc3d831 »
2008-07-08 The configuration file parser (and stereo.default files in general)
351 AX_APP(ORTHOPROJECT, [src], yes, [BOOST BOOST_PROGRAM_OPTIONS BOOST_FILESYSTEM VW VW_CAMERA VW_CARTOGRAPHY VW_STEREO VW_INTEREST_POINT LAPACK MBA SPICE], [ISIS ISIS3RDPARTY QT_CORE QT_GUI])
352 AX_APP(BUNDLEADJUST, [src], no, [BOOST BOOST_PROGRAM_OPTIONS BOOST_FILESYSTEM VW VW_CAMERA VW_CARTOGRAPHY VW_STEREO VW_INTEREST_POINT LAPACK MBA SPICE], [ISIS ISIS3RDPARTY QT_CORE QT_GUI])
0ab9a40b »
2008-04-25 Added ORBITVIZ as a build target
353 AX_APP(ORBITVIZ, [src], no, [BOOST BOOST_PROGRAM_OPTIONS BOOST_FILESYSTEM VW VW_CAMERA VW_CARTOGRAPHY VW_STEREO VW_INTEREST_POINT LAPACK MBA SPICE], [ISIS ISIS3RDPARTY QT_CORE QT_GUI])
2dc3d831 »
2008-07-08 The configuration file parser (and stereo.default files in general)
354 AX_APP(DISPARITYDEBUG, [src], yes, [BOOST BOOST_PROGRAM_OPTIONS VW VW_STEREO])
355 AX_APP(POINT2MESH, [src], yes, [BOOST BOOST_PROGRAM_OPTIONS VW OPENSCENEGRAPH])
356 AX_APP(POINT2MESH2, [src], yes, [BOOST BOOST_PROGRAM_OPTIONS OPENSCENEGRAPH VW])
357 AX_APP(POINT2DEM, [src], yes, [BOOST BOOST_PROGRAM_OPTIONS VW VW_CARTOGRAPHY])
e89f1e9a »
2008-02-01 Re-enabled the ISIS stereo code and integrated it with the normal ste…
358 AX_APP(NURBS, [src], no, [BOOST BOOST_PROGRAM_OPTIONS VW MBA])
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
359 AX_APP(CTXIMAGE, [src], no, [BOOST BOOST_PROGRAM_OPTIONS VW VW_CARTOGRAPHY])
b9d92423 »
2008-03-11 Continuing work on the RMAX bundle adjustment code. There are numerou…
360 AX_APP(RMAX2CAHVOR, [src], no, [BOOST VW VW_CAMERA BOOST_PROGRAM_OPTIONS BOOST_FILESYSTEM])
71fd712a »
2008-05-29 Fixed a few bugs in the rmax_adjust code. It's now read to serve as a…
361 AX_APP(RMAXADJUST, [src], no, [BOOST BOOST_PROGRAM_OPTIONS BOOST_FILESYSTEM VW VW_CAMERA VW_STEREO VW_INTEREST_POINT LAPACK])
e48885db »
2008-06-19 Bundlevis now accepts control networks, it will also tell you what
362 AX_APP(BUNDLEVIS, [src], no, [BOOST BOOST_PROGRAM_OPTIONS OPENSCENEGRAPH VW VW_CAMERA])
bee2018f »
2008-11-03 Fixed a dependency of Isis_Adjust.
363 AX_APP(ISISADJUST, [src], yes, [BOOST BOOST_PROGRAM_OPTIONS BOOST_FILESYSTEM VW VW_CAMERA VW_STEREO VW_CARTOGRAPHY VW_INTEREST_POINT LAPACK ISIS])
9686523f »
2008-12-17 added support for results
364 AX_APP(RESULTS, [src], yes, [BOOST BOOST_PROGRAM_OPTIONS BOOST_FILESYSTEM VW VW_CAMERA VW_STEREO VW_CARTOGRAPHY VW_INTEREST_POINT LAPACK ISIS])
b7e4f18d »
2009-01-13 First cut at adding a CUDA application
365 AX_APP(CUDATEST, [src], no, [VW CUDA])
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
366
8634e659 »
2008-07-29 Added AM_CONDITIONAL directives for better backwards compatibility wi…
367 # These are here (instead of inside the APP macro where they belong)
368 # for backwards compatability with older versions of automake.
369 AM_CONDITIONAL(MAKE_APP_STEREO, [test "$MAKE_APP_STEREO" = "yes"])
0a8a6bda »
2008-09-17 Moved the stereo gui into the main build system. It does not build by…
370 AM_CONDITIONAL(MAKE_APP_STEREOGUI, [test "$MAKE_APP_STEREOGUI" = "yes"])
8634e659 »
2008-07-29 Added AM_CONDITIONAL directives for better backwards compatibility wi…
371 AM_CONDITIONAL(MAKE_APP_ORTHOPROJECT, [test "$MAKE_APP_ORTHOPROJECT" = "yes"])
372 AM_CONDITIONAL(MAKE_APP_BUNDLEADJUST, [test "$MAKE_APP_BUNDLEADJUST" = "yes"])
373 AM_CONDITIONAL(MAKE_APP_ORBITVIZ, [test "$MAKE_APP_ORBITVIZ" = "yes"])
374 AM_CONDITIONAL(MAKE_APP_DISPARITYDEBUG, [test "$MAKE_APP_DISPARITYDEBUG" = "yes"])
375 AM_CONDITIONAL(MAKE_APP_POINT2MESH, [test "$MAKE_APP_POINT2MESH" = "yes"])
376 AM_CONDITIONAL(MAKE_APP_POINT2MESH2, [test "$MAKE_APP_POINT2MESH2" = "yes"])
377 AM_CONDITIONAL(MAKE_APP_POINT2DEM, [test "$MAKE_APP_POINT2DEM" = "yes"])
378 AM_CONDITIONAL(MAKE_APP_NURBS, [test "$MAKE_APP_NURBS" = "yes"])
379 AM_CONDITIONAL(MAKE_APP_CTXIMAGE, [test "$MAKE_APP_CTXIMAGE" = "yes"])
380 AM_CONDITIONAL(MAKE_APP_RMAX2CAHVOR, [test "$MAKE_APP_RMAX2CAHVOR" = "yes"])
381 AM_CONDITIONAL(MAKE_APP_RMAXADJUST, [test "$MAKE_APP_RMAXADJUST" = "yes"])
382 AM_CONDITIONAL(MAKE_APP_BUNDLEVIS, [test "$MAKE_APP_BUNDLEVIS" = "yes"])
9686523f »
2008-12-17 added support for results
383 AM_CONDITIONAL(MAKE_APP_RESULTS, [test "$MAKE_APP_RESULTS" = "yes"])
b7e4f18d »
2009-01-13 First cut at adding a CUDA application
384 AM_CONDITIONAL(MAKE_APP_CUDATEST, [test "$MAKE_APP_CUDATEST" = "yes"])
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
385 ##################################################
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
386 # final processing
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
387 ##################################################
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
388 ASP_CPPFLAGS="$OTHER_CPPFLAGS"
389 ASP_LDFLAGS="$OTHER_LDFLAGS"
bf17a24b »
2006-12-05 Re-arranged the repository...
390
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
391 if test "yes" = "$ENABLE_VERBOSE" ; then
392 AC_MSG_NOTICE([using CPPFLAGS=$CPPFLAGS $ASP_CPPFLAGS])
393 AC_MSG_NOTICE([using CFLAGS=$CFLAGS])
394 AC_MSG_NOTICE([using CXXFLAGS=$CXXFLAGS])
395 AC_MSG_NOTICE([using LDFLAGS=$LDFLAGS $ASP_LDFLAGS])
396 AC_MSG_NOTICE([using ASP_NO_EXCEPTIONS=$no_exceptions])
bf17a24b »
2006-12-05 Re-arranged the repository...
397 fi
398
a74972c5 »
2008-01-01 Merged in changes from the isis_devel branch. Improvements include an…
399 AC_SUBST(ASP_CPPFLAGS)
400 AC_SUBST(ASP_LDFLAGS)
401
402
bf17a24b »
2006-12-05 Re-arranged the repository...
403 ##################################################
22eabd4d »
2008-11-24 Mostly sync the macros between vw & stereo. This is good either if we…
404 # makefiles to process
bf17a24b »
2006-12-05 Re-arranged the repository...
405 ##################################################
406
407 AC_CONFIG_FILES([ \
408 Makefile \
409 src/Makefile \
9ae12aeb »
2008-11-24 make stereo's build much like vw's
410 src/tests/Makefile \
bf17a24b »
2006-12-05 Re-arranged the repository...
411 ])
412
413 # This hideous hack makes it possible to use GNU make's conditionals.
414 ENDIF=endif
415 AC_SUBST(ENDIF)
416
417 AC_OUTPUT
Something went wrong with that request. Please try again.