Skip to content
Newer
Older
100644 418 lines (348 sloc) 16.5 KB
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
1 # __BEGIN_LICENSE__
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
2 #
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
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.
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
6 #
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
7 # Copyright 2006 Carnegie Mellon University. All rights reserved.
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
8 #
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
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.
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
13 #
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
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.
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
21 #
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
22 # __END_LICENSE__
23
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
24 AC_INIT([NASA Ames Stereo Pipeline], [2.1], [asp@nx.arc.nasa.gov], [StereoPipeline])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
25 AC_CONFIG_AUX_DIR(config)
9ae12ae @novas0x2a make stereo's build much like vw's
novas0x2a authored Nov 24, 2008
26 AC_CONFIG_MACRO_DIR([m4])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
27 AC_CANONICAL_HOST
28 AM_INIT_AUTOMAKE
29 AX_CONFIG_HEADER_PREFIX([src/asp_config.h], [ASP_])
30
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
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
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
38 ##################################################
39 # configuration options
40 ##################################################
41
42 # This should be first, so everything else can use it
43 AC_ARG_ENABLE(verbose,
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
44 AC_HELP_STRING([--enable-verbose], [verbose configuration output @<:@no@:>@]),
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
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,
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
58 AC_HELP_STRING([--with-paths=PATHS], [additional search path(s) for packages]),
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
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 ##################################################
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
65 # compilation options
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
66 ##################################################
67
68 AC_ARG_ENABLE(debug,
69 AC_HELP_STRING([--enable-debug], [generate debugging symbols @<:@no@:>@]),
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
70 [ ENABLE_DEBUG=$enableval ],
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
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
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
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
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
105 AC_ARG_ENABLE(optimize,
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
106 AC_HELP_STRING([--enable-optimize@<:@=LEVEL@:>@], [compiler optimization level @<:@yes@:>@]),
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
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
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
118 AX_CFLAGS="$AX_CFLAGS -O4 -march=prescott -mtune=prescott -funroll-loops -msse -msse2 -msse3 -mfpmath=sse"
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
119 elif test "sse3" = "$ENABLE_OPTIMIZE"; then
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
120 AX_CFLAGS="$AX_CFLAGS -O4 -funroll-loops -msse -msse2 -msse3 -mfpmath=sse"
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
121 else
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
122 echo 'WARNING: *** The Vision Workbench may not work properly with optimization disabled! ***'
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
123 AX_CFLAGS="$AX_CFLAGS -O0"
124 fi
125
9ae12ae @novas0x2a make stereo's build much like vw's
novas0x2a authored Nov 24, 2008
126 CFLAGS="$CFLAGS -I\${top_srcdir}/src $AX_CFLAGS"
127 CXXFLAGS="$CXXFLAGS -I\${top_srcdir}/src $AX_CFLAGS"
e10cb46 @novas0x2a disable unknown linker flags on osx
novas0x2a authored Dec 2, 2008
128
129 if test "x$host_vendor" != "xapple"; then
130 LDFLAGS="$LDFLAGS -Wl,-no-undefined -Wl,-as-needed"
131 fi
9ae12ae @novas0x2a make stereo's build much like vw's
novas0x2a authored Nov 24, 2008
132
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
133
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
134 AC_ARG_ENABLE(exceptions,
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
135 AC_HELP_STRING([--enable-exceptions@<:@=yes@:>@], [enable the C++ exception mechanism]),
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
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
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
144 fi
145
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
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
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
152 # We set up the include paths ourselves, so
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
153 # we ask autoconf to get out of the way.
154 DEFAULT_INCLUDES=
155 AC_SUBST(DEFAULT_INCLUDES)
156
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
157
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
158 ##################################################
159 # installation options
160 ##################################################
161
162 if test ${prefix} = NONE; then
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
163 if test ! -z ${PREFIX} ; then
164 prefix=${PREFIX}
165 AC_MSG_NOTICE([using installation prefix ${prefix}])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
166 fi
167 fi
168
169
170 ##################################################
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
171 # distribution options
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
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
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
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 ##################################################
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
219 # library options
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
220 ##################################################
221
222 if test -z $NUM_THREADS ; then NUM_THREADS=4 ; fi
223 AH_TEMPLATE([NUM_THREADS],
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
224 [Define to the default number of threads that the Vision
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
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])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
230
231 ##################################################
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
232 # package checks
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
233 ##################################################
234
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
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
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
241 AC_PROG_CC
242 AC_PROG_CXX
243 AC_PROG_INSTALL
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
244 AX_PROG_AR
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
245 AC_PROG_LIBTOOL
246 AC_PROG_MAKE_SET
247
c40e35d @novas0x2a set AC_LANG only once
novas0x2a authored Oct 16, 2008
248 AC_LANG(C++)
249
e89f1e9 @broxtronix Re-enabled the ISIS stereo code and integrated it with the normal ste…
broxtronix authored Feb 1, 2008
250 # Qt with AutoTroll.
46eeae8 @novas0x2a Change a bit about how qt is detected. Shouldn't be confused by qt3 vs
novas0x2a authored Oct 9, 2008
251 AT_WITH_QT([+gui +sql +opengl])
e89f1e9 @broxtronix Re-enabled the ISIS stereo code and integrated it with the normal ste…
broxtronix authored Feb 1, 2008
252
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
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
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
260 AX_PKG_BOOST_CHECK_VERSION([ASP_])
261
262 AC_MSG_NOTICE([Stereo will be built using Boost version $BOOST_VERSION])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
263 AX_PKG_BOOST_LIB(PROGRAM_OPTIONS, [-lboost_program_options], [boost/program_options.hpp])
8de059f @broxtronix Checking in an identical fix to the one just commited for the VW buil…
broxtronix authored Jun 20, 2008
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])
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
268 else
8de059f @broxtronix Checking in an identical fix to the one just commited for the VW buil…
broxtronix authored Jun 20, 2008
269 AX_PKG(BOOST_FILESYSTEM, [BOOST_FILESYSTEM_PRE_1_35], [], [])
270 fi
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
271 AX_PKG_BOOST_LIB(THREAD, [-lboost_thread], [boost/thread/thread.hpp])
272
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
273 # 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
274 # if they are replacing Boost threads with something else for their platform.
275 AX_PKG(THREADS, [BOOST_THREAD], [], [])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
276
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
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])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
284
b7e4f18 @broxtronix First cut at adding a CUDA application
broxtronix authored Jan 13, 2009
285 AX_PKG(CUDA, [], [-lcuda], [cuda.h])
286
2dc3d83 @broxtronix The configuration file parser (and stereo.default files in general)
broxtronix authored Jul 8, 2008
287 AX_PKG(OPENSCENEGRAPH, [], [-losg -losgDB -lOpenThreads -losgViewer -losgText -losgGA -losgFX -losgTerrain -losgUtil], [osg/ref_ptr])
d06a679 @broxtronix Added boost as a dependency for MBA, and made a few fixes for detecti…
broxtronix authored Dec 5, 2008
288 AX_PKG(MBA10, [BOOST], [-lMBA_1.0_gpl_opt], [MBA.h])
46eeae8 @novas0x2a Change a bit about how qt is detected. Shouldn't be confused by qt3 vs
novas0x2a authored Oct 9, 2008
289
290 if test "$HAVE_PKG_MBA10" = "no"; then
291 echo "Checking for MBA 1.1"
d06a679 @broxtronix Added boost as a dependency for MBA, and made a few fixes for detecti…
broxtronix authored Dec 5, 2008
292 AX_PKG(MBA, [BOOST], [-lMBA-1.1], [MBA.h])
46eeae8 @novas0x2a Change a bit about how qt is detected. Shouldn't be confused by qt3 vs
novas0x2a authored Oct 9, 2008
293 else
294 AX_PKG(MBA, [MBA10], [], [])
295 fi
296
0ab9a40 @broxtronix Added ORBITVIZ as a build target
broxtronix authored Apr 25, 2008
297 AX_PKG(SPICE, [], [-lcspice], [SpiceUsr.h SpiceZfc.h])
e89f1e9 @broxtronix Re-enabled the ISIS stereo code and integrated it with the normal ste…
broxtronix authored Feb 1, 2008
298
38b2702 @broxtronix Some adjustments to support building against the lastest version of I…
broxtronix authored Oct 15, 2008
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
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored Oct 16, 2008
301 dnl extra include path at the top level of the QTCore tree.
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
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])
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored Oct 16, 2008
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], [])
d06a679 @broxtronix Added boost as a dependency for MBA, and made a few fixes for detecti…
broxtronix authored Dec 5, 2008
309 AX_PKG(GSL, [LAPACK], [-Wl,-lgsl,-lgslcblas])
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored Oct 16, 2008
310 AX_PKG(SUPERLU, [], [-lsuperlu_3.0], [])
311 AX_PKG(XERCESC, [], [-lxerces-c.28], [])
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
312 AX_PKG(QT, [QT_INCLUDE], [], [])
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored Oct 16, 2008
313 else
7f46f21 @novas0x2a Turn on -no-undefined to detect boost properly and -as-needed to redu…
novas0x2a authored Nov 26, 2008
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
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored Oct 16, 2008
322 AX_PKG(GEOS, [], [-lgeos])
7f46f21 @novas0x2a Turn on -no-undefined to detect boost properly and -as-needed to redu…
novas0x2a authored Nov 26, 2008
323 AX_PKG(GSL, [LAPACK], [-Wl,-no-as-needed,-lgsl,-lgslcblas,-as-needed])
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored Oct 16, 2008
324 AX_PKG(SUPERLU, [], [-lsuperlu])
325 AX_PKG(XERCESC, [], [-lxerces-c])
326
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
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], [], [])
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored Oct 16, 2008
331 fi
9c887d7 Added a visualization program called Bundlevis. Also modified rmax_ad…
Zack Moratto authored Jun 17, 2008
332
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
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
61855a0 Merged the buildfixes branch onto trunk (r249:r257). This should (hop…
Morgon Kanter authored Jul 4, 2008
335 dnl dependent 3rd party libraries depend on (for whatever retarded reason).
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
336 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
337 dnl BLAS symbols in the event that we need them.
6d7b1a9 Moved SuperLU check before LAPack.
Vinh To authored Oct 27, 2008
338 AX_PKG(ISIS3RDPARTY, [SUPERLU LAPACK GSL QWT GEOS SPICE XERCESC], [])
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored Oct 16, 2008
339 AX_PKG(ISIS, [QT ISIS3RDPARTY], [-lisis3])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
340
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility wi…
broxtronix authored Jul 29, 2008
341 # These are here (instead of inside the PKG macro where they belong)
342 # for backwards compatability with older versions of automake.
200be14 @broxtronix A few tweaks to the stereo build system to get it to work on os 10.5
broxtronix authored Feb 1, 2008
343 AM_CONDITIONAL(HAVE_PKG_ISIS, [test "$HAVE_PKG_ISIS" = "yes"])
344
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
345 ##################################################
346 # module definitions
347 ##################################################
348
2dc3d83 @broxtronix The configuration file parser (and stereo.default files in general)
broxtronix authored Jul 8, 2008
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])
0a8a6bd @broxtronix Moved the stereo gui into the main build system. It does not build by…
broxtronix authored Sep 17, 2008
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])
2dc3d83 @broxtronix The configuration file parser (and stereo.default files in general)
broxtronix authored Jul 8, 2008
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])
0ab9a40 @broxtronix Added ORBITVIZ as a build target
broxtronix authored Apr 25, 2008
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])
2dc3d83 @broxtronix The configuration file parser (and stereo.default files in general)
broxtronix authored Jul 8, 2008
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])
e89f1e9 @broxtronix Re-enabled the ISIS stereo code and integrated it with the normal ste…
broxtronix authored Feb 1, 2008
358 AX_APP(NURBS, [src], no, [BOOST BOOST_PROGRAM_OPTIONS VW MBA])
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
359 AX_APP(CTXIMAGE, [src], no, [BOOST BOOST_PROGRAM_OPTIONS VW VW_CARTOGRAPHY])
b9d9242 @broxtronix Continuing work on the RMAX bundle adjustment code. There are numerou…
broxtronix authored Mar 11, 2008
360 AX_APP(RMAX2CAHVOR, [src], no, [BOOST VW VW_CAMERA BOOST_PROGRAM_OPTIONS BOOST_FILESYSTEM])
71fd712 @broxtronix Fixed a few bugs in the rmax_adjust code. It's now read to serve as a…
broxtronix authored May 29, 2008
361 AX_APP(RMAXADJUST, [src], no, [BOOST BOOST_PROGRAM_OPTIONS BOOST_FILESYSTEM VW VW_CAMERA VW_STEREO VW_INTEREST_POINT LAPACK])
e48885d Bundlevis now accepts control networks, it will also tell you what
Zack Moratto authored Jun 19, 2008
362 AX_APP(BUNDLEVIS, [src], no, [BOOST BOOST_PROGRAM_OPTIONS OPENSCENEGRAPH VW VW_CAMERA])
bee2018 Fixed a dependency of Isis_Adjust.
Zack Moratto authored Nov 3, 2008
363 AX_APP(ISISADJUST, [src], yes, [BOOST BOOST_PROGRAM_OPTIONS BOOST_FILESYSTEM VW VW_CAMERA VW_STEREO VW_CARTOGRAPHY VW_INTEREST_POINT LAPACK ISIS])
9686523 @anefian added support for results
anefian authored Dec 17, 2008
364 AX_APP(RESULTS, [src], yes, [BOOST BOOST_PROGRAM_OPTIONS BOOST_FILESYSTEM VW VW_CAMERA VW_STEREO VW_CARTOGRAPHY VW_INTEREST_POINT LAPACK ISIS])
b7e4f18 @broxtronix First cut at adding a CUDA application
broxtronix authored Jan 13, 2009
365 AX_APP(CUDATEST, [src], no, [VW CUDA])
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
366
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility wi…
broxtronix authored Jul 29, 2008
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"])
0a8a6bd @broxtronix Moved the stereo gui into the main build system. It does not build by…
broxtronix authored Sep 17, 2008
370 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
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"])
9686523 @anefian added support for results
anefian authored Dec 17, 2008
383 AM_CONDITIONAL(MAKE_APP_RESULTS, [test "$MAKE_APP_RESULTS" = "yes"])
b7e4f18 @broxtronix First cut at adding a CUDA application
broxtronix authored Jan 13, 2009
384 AM_CONDITIONAL(MAKE_APP_CUDATEST, [test "$MAKE_APP_CUDATEST" = "yes"])
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
385 ##################################################
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
386 # final processing
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
387 ##################################################
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
388 ASP_CPPFLAGS="$OTHER_CPPFLAGS"
389 ASP_LDFLAGS="$OTHER_LDFLAGS"
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
390
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
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])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
397 fi
398
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
399 AC_SUBST(ASP_CPPFLAGS)
400 AC_SUBST(ASP_LDFLAGS)
401
402
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
403 ##################################################
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
404 # makefiles to process
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
405 ##################################################
406
407 AC_CONFIG_FILES([ \
408 Makefile \
409 src/Makefile \
9ae12ae @novas0x2a make stereo's build much like vw's
novas0x2a authored Nov 24, 2008
410 src/tests/Makefile \
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
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.