Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 414 lines (345 sloc) 16.692 kb
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
1 # __BEGIN_LICENSE__
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we st...
novas0x2a authored
2 #
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
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 st...
novas0x2a authored
6 #
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an u...
broxtronix authored
7 # Copyright 2006 Carnegie Mellon University. All rights reserved.
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we st...
novas0x2a authored
8 #
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
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 st...
novas0x2a authored
13 #
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
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 st...
novas0x2a authored
21 #
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
22 # __END_LICENSE__
23
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an u...
broxtronix authored
24 AC_INIT([NASA Ames Stereo Pipeline], [2.1], [asp@nx.arc.nasa.gov], [StereoPipeline])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
25 AC_CONFIG_AUX_DIR(config)
9ae12ae @novas0x2a make stereo's build much like vw's
novas0x2a authored
26 AC_CONFIG_MACRO_DIR([m4])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
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 u...
broxtronix authored
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
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 st...
novas0x2a authored
44 AC_HELP_STRING([--enable-verbose], [verbose configuration output @<:@no@:>@]),
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
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 st...
novas0x2a authored
58 AC_HELP_STRING([--with-paths=PATHS], [additional search path(s) for packages]),
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
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 st...
novas0x2a authored
65 # compilation options
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
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 st...
novas0x2a authored
70 [ ENABLE_DEBUG=$enableval ],
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
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 st...
novas0x2a authored
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
105 AC_ARG_ENABLE(optimize,
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we st...
novas0x2a authored
106 AC_HELP_STRING([--enable-optimize@<:@=LEVEL@:>@], [compiler optimization level @<:@yes@:>@]),
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
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 u...
broxtronix authored
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
119 elif test "sse3" = "$ENABLE_OPTIMIZE"; then
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an u...
broxtronix authored
120 AX_CFLAGS="$AX_CFLAGS -O4 -funroll-loops -msse -msse2 -msse3 -mfpmath=sse"
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
121 else
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an u...
broxtronix authored
122 echo 'WARNING: *** The Vision Workbench may not work properly with optimization disabled! ***'
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
123 AX_CFLAGS="$AX_CFLAGS -O0"
124 fi
125
9ae12ae @novas0x2a make stereo's build much like vw's
novas0x2a authored
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
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
132
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
133
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an u...
broxtronix authored
134 AC_ARG_ENABLE(exceptions,
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we st...
novas0x2a authored
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 u...
broxtronix authored
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
144 fi
145
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an u...
broxtronix authored
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 st...
novas0x2a authored
152 # We set up the include paths ourselves, so
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
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 u...
broxtronix authored
157
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
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 u...
broxtronix authored
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
166 fi
167 fi
168
169
170 ##################################################
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we st...
novas0x2a authored
171 # distribution options
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
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 u...
broxtronix authored
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 st...
novas0x2a authored
219 # library options
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an u...
broxtronix authored
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 st...
novas0x2a authored
224 [Define to the default number of threads that the Vision
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an u...
broxtronix authored
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
230
231 ##################################################
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we st...
novas0x2a authored
232 # package checks
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
233 ##################################################
234
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an u...
broxtronix authored
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
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 u...
broxtronix authored
244 AX_PROG_AR
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
245 AC_PROG_LIBTOOL
246 AC_PROG_MAKE_SET
247
c40e35d @novas0x2a set AC_LANG only once
novas0x2a authored
248 AC_LANG(C++)
249
e89f1e9 @broxtronix Re-enabled the ISIS stereo code and integrated it with the normal stereo...
broxtronix authored
250 # Qt with AutoTroll.
46eeae8 @novas0x2a Change a bit about how qt is detected. Shouldn't be confused by qt3 vs
novas0x2a authored
251 AT_WITH_QT([+gui +sql +opengl])
e89f1e9 @broxtronix Re-enabled the ISIS stereo code and integrated it with the normal stereo...
broxtronix authored
252
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
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 st...
novas0x2a authored
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
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 build s...
broxtronix authored
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 st...
novas0x2a authored
268 else
8de059f @broxtronix Checking in an identical fix to the one just commited for the VW build s...
broxtronix authored
269 AX_PKG(BOOST_FILESYSTEM, [BOOST_FILESYSTEM_PRE_1_35], [], [])
270 fi
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
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 st...
novas0x2a authored
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 u...
broxtronix authored
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
276
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we st...
novas0x2a authored
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
284
2dc3d83 @broxtronix The configuration file parser (and stereo.default files in general)
broxtronix authored
285 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 detecting ...
broxtronix authored
286 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
287
288 if test "$HAVE_PKG_MBA10" = "no"; then
289 echo "Checking for MBA 1.1"
d06a679 @broxtronix Added boost as a dependency for MBA, and made a few fixes for detecting ...
broxtronix authored
290 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
291 else
292 AX_PKG(MBA, [MBA10], [], [])
293 fi
294
0ab9a40 @broxtronix Added ORBITVIZ as a build target
broxtronix authored
295 AX_PKG(SPICE, [], [-lcspice], [SpiceUsr.h SpiceZfc.h])
e89f1e9 @broxtronix Re-enabled the ISIS stereo code and integrated it with the normal stereo...
broxtronix authored
296
38b2702 @broxtronix Some adjustments to support building against the lastest version of ISIS...
broxtronix authored
297 dnl ISIS includes QT headers without the proper qt module prefix, so
298 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
299 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 st...
novas0x2a authored
300 dnl We also seed QT_INCLUDE's cppflags with the ones qmake figured out
301 ADD_QT_INCLUDE_CPPFLAGS="$ADD_QT_INCLUDE_CPPFLAGS $QT_CPPFLAGS"
302 AX_PKG(QT_INCLUDE, [], [], [QVector])
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored
303
304 if test x"$host_vendor" = "xapple"; then
305 AX_PKG(QWT, [QT_INCLUDE], [-lqwt.5])
306 AX_PKG(GEOS, [], [-lgeos-3.0.0], [])
d06a679 @broxtronix Added boost as a dependency for MBA, and made a few fixes for detecting ...
broxtronix authored
307 AX_PKG(GSL, [LAPACK], [-Wl,-lgsl,-lgslcblas])
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored
308 AX_PKG(SUPERLU, [], [-lsuperlu_3.0], [])
309 AX_PKG(XERCESC, [], [-lxerces-c.28], [])
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we st...
novas0x2a authored
310 AX_PKG(QT, [QT_INCLUDE], [], [])
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored
311 else
7f46f21 @novas0x2a Turn on -no-undefined to detect boost properly and -as-needed to reduce ...
novas0x2a authored
312
313 AX_PKG(QWT_PLAIN, [QT_INCLUDE], [-lqwt])
314 if test "$HAVE_PKG_QWT_PLAIN" = "no"; then
315 AX_PKG(QWT, [QT_INCLUDE], [-lqwt-qt4])
316 else
317 AX_PKG(QWT, [QWT_PLAIN], [])
318 fi
319
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored
320 AX_PKG(GEOS, [], [-lgeos])
7f46f21 @novas0x2a Turn on -no-undefined to detect boost properly and -as-needed to reduce ...
novas0x2a authored
321 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
322 AX_PKG(SUPERLU, [], [-lsuperlu])
323 AX_PKG(XERCESC, [], [-lxerces-c])
324
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we st...
novas0x2a authored
325 AX_PKG(QT_CORE, [QT_INCLUDE], [-lQtCore], [QVector])
326 AX_PKG(QT_GUI, [QT_INCLUDE], [-lQtGui], [QLabel])
327 AX_PKG(QT_SQL, [QT_INCLUDE], [-lQtSql], [QtSql])
328 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
329 fi
9c887d7 @zmoratto Added a visualization program called Bundlevis. Also modified rmax_adjus...
zmoratto authored
330
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we st...
novas0x2a authored
331 dnl We need to link ISIS3RDPARTY against LAPACK because, on some systems,
332 dnl the ISIS compilation does not resolve certain BLAS symbols that its
61855a0 Merged the buildfixes branch onto trunk (r249:r257). This should (hopefu...
Morgon Kanter authored
333 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 st...
novas0x2a authored
334 dnl Thus, we link against LAPACK here because it defines these missing
61855a0 Merged the buildfixes branch onto trunk (r249:r257). This should (hopefu...
Morgon Kanter authored
335 dnl BLAS symbols in the event that we need them.
6d7b1a9 Moved SuperLU check before LAPack.
Vinh To authored
336 AX_PKG(ISIS3RDPARTY, [SUPERLU LAPACK GSL QWT GEOS SPICE XERCESC], [])
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored
337 AX_PKG(ISIS, [QT ISIS3RDPARTY], [-lisis3])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
338
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility with ...
broxtronix authored
339 # These are here (instead of inside the PKG macro where they belong)
340 # 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
341 AM_CONDITIONAL(HAVE_PKG_ISIS, [test "$HAVE_PKG_ISIS" = "yes"])
342
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
343 ##################################################
344 # module definitions
345 ##################################################
346
2dc3d83 @broxtronix The configuration file parser (and stereo.default files in general)
broxtronix authored
347 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 d...
broxtronix authored
348 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
349 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])
350 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
351 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
352 AX_APP(DISPARITYDEBUG, [src], yes, [BOOST BOOST_PROGRAM_OPTIONS VW VW_STEREO])
353 AX_APP(POINT2MESH, [src], yes, [BOOST BOOST_PROGRAM_OPTIONS VW OPENSCENEGRAPH])
354 AX_APP(POINT2MESH2, [src], yes, [BOOST BOOST_PROGRAM_OPTIONS OPENSCENEGRAPH VW])
355 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 stereo...
broxtronix authored
356 AX_APP(NURBS, [src], no, [BOOST BOOST_PROGRAM_OPTIONS VW MBA])
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an u...
broxtronix authored
357 AX_APP(CTXIMAGE, [src], no, [BOOST BOOST_PROGRAM_OPTIONS VW VW_CARTOGRAPHY])
b9d9242 @broxtronix Continuing work on the RMAX bundle adjustment code. There are numerous ...
broxtronix authored
358 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 b...
broxtronix authored
359 AX_APP(RMAXADJUST, [src], no, [BOOST BOOST_PROGRAM_OPTIONS BOOST_FILESYSTEM VW VW_CAMERA VW_STEREO VW_INTEREST_POINT LAPACK])
e48885d @zmoratto Bundlevis now accepts control networks, it will also tell you what
zmoratto authored
360 AX_APP(BUNDLEVIS, [src], no, [BOOST BOOST_PROGRAM_OPTIONS OPENSCENEGRAPH VW VW_CAMERA])
bee2018 @zmoratto Fixed a dependency of Isis_Adjust.
zmoratto authored
361 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
362 AX_APP(RESULTS, [src], yes, [BOOST BOOST_PROGRAM_OPTIONS BOOST_FILESYSTEM VW VW_CAMERA VW_STEREO VW_CARTOGRAPHY VW_INTEREST_POINT LAPACK ISIS])
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an u...
broxtronix authored
363
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility with ...
broxtronix authored
364 # These are here (instead of inside the APP macro where they belong)
365 # for backwards compatability with older versions of automake.
366 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 d...
broxtronix authored
367 AM_CONDITIONAL(MAKE_APP_STEREOGUI, [test "$MAKE_APP_STEREOGUI" = "yes"])
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility with ...
broxtronix authored
368 AM_CONDITIONAL(MAKE_APP_ORTHOPROJECT, [test "$MAKE_APP_ORTHOPROJECT" = "yes"])
369 AM_CONDITIONAL(MAKE_APP_BUNDLEADJUST, [test "$MAKE_APP_BUNDLEADJUST" = "yes"])
370 AM_CONDITIONAL(MAKE_APP_ORBITVIZ, [test "$MAKE_APP_ORBITVIZ" = "yes"])
371 AM_CONDITIONAL(MAKE_APP_DISPARITYDEBUG, [test "$MAKE_APP_DISPARITYDEBUG" = "yes"])
372 AM_CONDITIONAL(MAKE_APP_POINT2MESH, [test "$MAKE_APP_POINT2MESH" = "yes"])
373 AM_CONDITIONAL(MAKE_APP_POINT2MESH2, [test "$MAKE_APP_POINT2MESH2" = "yes"])
374 AM_CONDITIONAL(MAKE_APP_POINT2DEM, [test "$MAKE_APP_POINT2DEM" = "yes"])
375 AM_CONDITIONAL(MAKE_APP_NURBS, [test "$MAKE_APP_NURBS" = "yes"])
376 AM_CONDITIONAL(MAKE_APP_CTXIMAGE, [test "$MAKE_APP_CTXIMAGE" = "yes"])
377 AM_CONDITIONAL(MAKE_APP_RMAX2CAHVOR, [test "$MAKE_APP_RMAX2CAHVOR" = "yes"])
378 AM_CONDITIONAL(MAKE_APP_RMAXADJUST, [test "$MAKE_APP_RMAXADJUST" = "yes"])
379 AM_CONDITIONAL(MAKE_APP_BUNDLEVIS, [test "$MAKE_APP_BUNDLEVIS" = "yes"])
9686523 @anefian added support for results
anefian authored
380 AM_CONDITIONAL(MAKE_APP_RESULTS, [test "$MAKE_APP_RESULTS" = "yes"])
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an u...
broxtronix authored
381 ##################################################
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we st...
novas0x2a authored
382 # final processing
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an u...
broxtronix authored
383 ##################################################
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we st...
novas0x2a authored
384 ASP_CPPFLAGS="$OTHER_CPPFLAGS"
385 ASP_LDFLAGS="$OTHER_LDFLAGS"
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
386
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an u...
broxtronix authored
387 if test "yes" = "$ENABLE_VERBOSE" ; then
388 AC_MSG_NOTICE([using CPPFLAGS=$CPPFLAGS $ASP_CPPFLAGS])
389 AC_MSG_NOTICE([using CFLAGS=$CFLAGS])
390 AC_MSG_NOTICE([using CXXFLAGS=$CXXFLAGS])
391 AC_MSG_NOTICE([using LDFLAGS=$LDFLAGS $ASP_LDFLAGS])
392 AC_MSG_NOTICE([using ASP_NO_EXCEPTIONS=$no_exceptions])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
393 fi
394
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an u...
broxtronix authored
395 AC_SUBST(ASP_CPPFLAGS)
396 AC_SUBST(ASP_LDFLAGS)
397
398
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
399 ##################################################
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we st...
novas0x2a authored
400 # makefiles to process
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
401 ##################################################
402
403 AC_CONFIG_FILES([ \
404 Makefile \
405 src/Makefile \
9ae12ae @novas0x2a make stereo's build much like vw's
novas0x2a authored
406 src/tests/Makefile \
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
407 ])
408
409 # This hideous hack makes it possible to use GNU make's conditionals.
410 ENDIF=endif
411 AC_SUBST(ENDIF)
412
413 AC_OUTPUT
Something went wrong with that request. Please try again.