Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 410 lines (341 sloc) 16.458 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…
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…
novas0x2a authored
6 #
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
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…
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…
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…
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 a…
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 a…
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…
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…
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…
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…
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…
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…
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 a…
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 a…
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 a…
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"
7f46f21 @novas0x2a Turn on -no-undefined to detect boost properly and -as-needed to redu…
novas0x2a authored
128 LDFLAGS="$LDFLAGS -Wl,-no-undefined -Wl,-as-needed"
9ae12ae @novas0x2a make stereo's build much like vw's
novas0x2a authored
129
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
130
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
broxtronix authored
131 AC_ARG_ENABLE(exceptions,
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored
132 AC_HELP_STRING([--enable-exceptions@<:@=yes@:>@], [enable the C++ exception mechanism]),
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
broxtronix authored
133 [ ENABLE_EXCEPTIONS=$enableval ],
134 [ if test -z "$ENABLE_EXCEPTIONS"; then ENABLE_EXCEPTIONS=yes; fi ]
135 )
136
137 if test "$ENABLE_EXCEPTIONS" = "yes"; then
138 no_exceptions=0
139 else
140 no_exceptions=1
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
141 fi
142
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
broxtronix authored
143 AM_CONDITIONAL(ENABLE_EXCEPTIONS, [test "$ENABLE_EXCEPTIONS" = "yes"])
144
145 AC_DEFINE_UNQUOTED(NO_EXCEPTIONS,
146 [$no_exceptions],
147 [Define to 1 to disable C++ exceptions.])
148
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored
149 # We set up the include paths ourselves, so
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
150 # we ask autoconf to get out of the way.
151 DEFAULT_INCLUDES=
152 AC_SUBST(DEFAULT_INCLUDES)
153
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
broxtronix authored
154
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
155 ##################################################
156 # installation options
157 ##################################################
158
159 if test ${prefix} = NONE; then
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
broxtronix authored
160 if test ! -z ${PREFIX} ; then
161 prefix=${PREFIX}
162 AC_MSG_NOTICE([using installation prefix ${prefix}])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
163 fi
164 fi
165
166
167 ##################################################
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored
168 # distribution options
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
169 ##################################################
170
171 AC_ARG_WITH(dist-license,
172 AC_HELP_STRING([--with-dist-license=LICENSE], [special distribution license file to be included as the COPYING file in the distribution]),
173 [DIST_LICENSE=$withval]
174 )
175 AC_SUBST(DIST_LICENSE)
176 AM_CONDITIONAL(DIST_LICENSE, [test ! -z "$DIST_LICENSE"])
177
178 if test ! -z "$DIST_LICENSE" ; then
179 AC_MSG_NOTICE([using distribution license file $DIST_LICENSE])
180 fi
181
182 AC_ARG_WITH(dist-license-summary,
183 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]),
184 [DIST_LICENSE_SUMMARY=$withval]
185 )
186 AC_SUBST(DIST_LICENSE_SUMMARY)
187 AM_CONDITIONAL(DIST_LICENSE_SUMMARY, [test ! -z "$DIST_LICENSE_SUMMARY"])
188
189 if test ! -z "$DIST_LICENSE_SUMMARY" ; then
190 AC_MSG_NOTICE([using distribution license summary file $DIST_LICENSE_SUMMARY])
191 fi
192
193 AC_ARG_WITH(dist-config-options-default,
194 AC_HELP_STRING([--with-dist-config-options-default@<:@=FILE@:>@], [special distribution config.options.default file]),
195 [DIST_CONFIG_OPTIONS_DEFAULT=$withval]
196 )
197 AC_SUBST(DIST_CONFIG_OPTIONS_DEFAULT)
198 AM_CONDITIONAL(DIST_CONFIG_OPTIONS_DEFAULT, [test ! -z "$DIST_CONFIG_OPTIONS_DEFAULT"])
199
200 if test ! -z "$DIST_CONFIG_OPTIONS_DEFAULT" ; then
201 if test "yes" = "$DIST_CONFIG_OPTIONS_DEFAULT" ; then
202 DIST_CONFIG_OPTIONS_DEFAULT="config/config.options.default"
203 fi
204 AC_MSG_NOTICE([using distribution config.options.default file: $DIST_CONFIG_OPTIONS_DEFAULT])
205 fi
206
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
broxtronix authored
207 AC_ARG_WITH(dist-remove-modules,
208 AC_HELP_STRING([--with-dist-remove-modules="MODULE @<:@MODULE...@:>@"], [remove certain modules from the distribution]),
209 [DIST_REMOVE_MODULES=$withval], [DIST_REMOVE_MODULES="Geometry InterestPoint Python"]
210 )
211 AC_SUBST(DIST_REMOVE_MODULES)
212 AM_CONDITIONAL(DIST_REMOVE_MODULES, [test ! -z "$DIST_REMOVE_MODULES"])
213
214
215 ##################################################
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored
216 # library options
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
broxtronix authored
217 ##################################################
218
219 if test -z $NUM_THREADS ; then NUM_THREADS=4 ; fi
220 AH_TEMPLATE([NUM_THREADS],
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored
221 [Define to the default number of threads that the Vision
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
broxtronix authored
222 Workbench should spawn for multi-threaded operations.])
223 AC_ARG_WITH(num-threads,
224 AC_HELP_STRING([--with-num-threads[=4]], [set the default number of processing threads for multi-threaded operations]),
225 [NUM_THREADS=$withval])
226 AC_DEFINE_UNQUOTED([NUM_THREADS],[$NUM_THREADS])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
227
228 ##################################################
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored
229 # package checks
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
230 ##################################################
231
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
broxtronix authored
232 # Make sure these are set so AC_PROG_CC doesn't initialize them with
233 # its defaults, since we take care of setting debug and optimization
234 # levels ourselves.
235 CFLAGS="$CFLAGS"
236 CXXFLAGS="$CXXFLAGS"
237
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
238 AC_PROG_CC
239 AC_PROG_CXX
240 AC_PROG_INSTALL
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
broxtronix authored
241 AX_PROG_AR
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
242 AC_PROG_LIBTOOL
243 AC_PROG_MAKE_SET
244
c40e35d @novas0x2a set AC_LANG only once
novas0x2a authored
245 AC_LANG(C++)
246
e89f1e9 @broxtronix Re-enabled the ISIS stereo code and integrated it with the normal ste…
broxtronix authored
247 # Qt with AutoTroll.
46eeae8 @novas0x2a Change a bit about how qt is detected. Shouldn't be confused by qt3 vs
novas0x2a authored
248 AT_WITH_QT([+gui +sql +opengl])
e89f1e9 @broxtronix Re-enabled the ISIS stereo code and integrated it with the normal ste…
broxtronix authored
249
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
250 if test "yes" = "$ENABLE_VERBOSE"; then
251 AC_MSG_NOTICE([using PKG_PATHS=$PKG_PATHS])
252 fi
253
254 AX_PKG_PTHREADS
255
256 AX_PKG_BOOST
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored
257 AX_PKG_BOOST_CHECK_VERSION([ASP_])
258
259 AC_MSG_NOTICE([Stereo will be built using Boost version $BOOST_VERSION])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
260 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
261 AX_PKG_BOOST_LIB(FILESYSTEM_PRE_1_35, [-lboost_filesystem], [boost/filesystem/path.hpp])
262 if test "$HAVE_PKG_BOOST_FILESYSTEM_PRE_1_35" = "no"; then
263 echo "Checking for BOOST_FILESYSTEM 1.35 or later..."
264 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
265 else
8de059f @broxtronix Checking in an identical fix to the one just commited for the VW buil…
broxtronix authored
266 AX_PKG(BOOST_FILESYSTEM, [BOOST_FILESYSTEM_PRE_1_35], [], [])
267 fi
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
268 AX_PKG_BOOST_LIB(THREAD, [-lboost_thread], [boost/thread/thread.hpp])
269
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored
270 # This provides an easy way for users to override the threads options
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
broxtronix authored
271 # if they are replacing Boost threads with something else for their platform.
272 AX_PKG(THREADS, [BOOST_THREAD], [], [])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
273
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored
274 AX_PKG_LAPACK
275
276 AX_PKG(VW, [BOOST], [-lvw], [vw/Image/ImageView.h vw/Math/LinearAlgebra.h])
277 AX_PKG(VW_STEREO, [BOOST], [-lvwStereo], [vw/Stereo/OptimizedCorrelator.h])
278 AX_PKG(VW_CAMERA, [BOOST], [-lvwCamera], [vw/Camera/CAHVModel.h])
279 AX_PKG(VW_CARTOGRAPHY, [BOOST], [-lvwCartography], [vw/Cartography/GeoReference.h])
280 AX_PKG(VW_INTEREST_POINT, [BOOST], [-lvwInterestPoint])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
281
2dc3d83 @broxtronix The configuration file parser (and stereo.default files in general)
broxtronix authored
282 AX_PKG(OPENSCENEGRAPH, [], [-losg -losgDB -lOpenThreads -losgViewer -losgText -losgGA -losgFX -losgTerrain -losgUtil], [osg/ref_ptr])
46eeae8 @novas0x2a Change a bit about how qt is detected. Shouldn't be confused by qt3 vs
novas0x2a authored
283 AX_PKG(MBA10, [], [-lMBA_1.0_gpl_nopt], [MBA.h])
284
285 if test "$HAVE_PKG_MBA10" = "no"; then
286 echo "Checking for MBA 1.1"
287 AX_PKG(MBA, [], [-lMBA-1.1], [MBA.h])
288 else
289 AX_PKG(MBA, [MBA10], [], [])
290 fi
291
0ab9a40 @broxtronix Added ORBITVIZ as a build target
broxtronix authored
292 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
293
38b2702 @broxtronix Some adjustments to support building against the lastest version of I…
broxtronix authored
294 dnl ISIS includes QT headers without the proper qt module prefix, so
295 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
296 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
297 dnl We also seed QT_INCLUDE's cppflags with the ones qmake figured out
298 ADD_QT_INCLUDE_CPPFLAGS="$ADD_QT_INCLUDE_CPPFLAGS $QT_CPPFLAGS"
299 AX_PKG(QT_INCLUDE, [], [], [QVector])
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored
300
301 if test x"$host_vendor" = "xapple"; then
302 AX_PKG(QWT, [QT_INCLUDE], [-lqwt.5])
303 AX_PKG(GEOS, [], [-lgeos-3.0.0], [])
7f46f21 @novas0x2a Turn on -no-undefined to detect boost properly and -as-needed to redu…
novas0x2a authored
304 AX_PKG(GSL, [LAPACK], [-Wl,-no-as-needed,-lgsl,-lgsl.0,-lgslcblas.0,-as-needed])
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored
305 AX_PKG(SUPERLU, [], [-lsuperlu_3.0], [])
306 AX_PKG(XERCESC, [], [-lxerces-c.28], [])
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored
307 AX_PKG(QT, [QT_INCLUDE], [], [])
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored
308 else
7f46f21 @novas0x2a Turn on -no-undefined to detect boost properly and -as-needed to redu…
novas0x2a authored
309
310 AX_PKG(QWT_PLAIN, [QT_INCLUDE], [-lqwt])
311 if test "$HAVE_PKG_QWT_PLAIN" = "no"; then
312 AX_PKG(QWT, [QT_INCLUDE], [-lqwt-qt4])
313 else
314 AX_PKG(QWT, [QWT_PLAIN], [])
315 fi
316
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored
317 AX_PKG(GEOS, [], [-lgeos])
7f46f21 @novas0x2a Turn on -no-undefined to detect boost properly and -as-needed to redu…
novas0x2a authored
318 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
319 AX_PKG(SUPERLU, [], [-lsuperlu])
320 AX_PKG(XERCESC, [], [-lxerces-c])
321
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored
322 AX_PKG(QT_CORE, [QT_INCLUDE], [-lQtCore], [QVector])
323 AX_PKG(QT_GUI, [QT_INCLUDE], [-lQtGui], [QLabel])
324 AX_PKG(QT_SQL, [QT_INCLUDE], [-lQtSql], [QtSql])
325 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
326 fi
9c887d7 @zmoratto Added a visualization program called Bundlevis. Also modified rmax_ad…
zmoratto authored
327
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored
328 dnl We need to link ISIS3RDPARTY against LAPACK because, on some systems,
329 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
330 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
331 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
332 dnl BLAS symbols in the event that we need them.
6d7b1a9 Moved SuperLU check before LAPack.
Vinh To authored
333 AX_PKG(ISIS3RDPARTY, [SUPERLU LAPACK GSL QWT GEOS SPICE XERCESC], [])
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored
334 AX_PKG(ISIS, [QT ISIS3RDPARTY], [-lisis3])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
335
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility wi…
broxtronix authored
336 # These are here (instead of inside the PKG macro where they belong)
337 # 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
338 AM_CONDITIONAL(HAVE_PKG_ISIS, [test "$HAVE_PKG_ISIS" = "yes"])
339
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
340 ##################################################
341 # module definitions
342 ##################################################
343
2dc3d83 @broxtronix The configuration file parser (and stereo.default files in general)
broxtronix authored
344 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 b…
broxtronix authored
345 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
346 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])
347 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
348 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
349 AX_APP(DISPARITYDEBUG, [src], yes, [BOOST BOOST_PROGRAM_OPTIONS VW VW_STEREO])
350 AX_APP(POINT2MESH, [src], yes, [BOOST BOOST_PROGRAM_OPTIONS VW OPENSCENEGRAPH])
351 AX_APP(POINT2MESH2, [src], yes, [BOOST BOOST_PROGRAM_OPTIONS OPENSCENEGRAPH VW])
352 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
353 AX_APP(NURBS, [src], no, [BOOST BOOST_PROGRAM_OPTIONS VW MBA])
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
broxtronix authored
354 AX_APP(CTXIMAGE, [src], no, [BOOST BOOST_PROGRAM_OPTIONS VW VW_CARTOGRAPHY])
b9d9242 @broxtronix Continuing work on the RMAX bundle adjustment code. There are numero…
broxtronix authored
355 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 …
broxtronix authored
356 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
357 AX_APP(BUNDLEVIS, [src], no, [BOOST BOOST_PROGRAM_OPTIONS OPENSCENEGRAPH VW VW_CAMERA])
bee2018 @zmoratto Fixed a dependency of Isis_Adjust.
zmoratto authored
358 AX_APP(ISISADJUST, [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 a…
broxtronix authored
359
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility wi…
broxtronix authored
360 # These are here (instead of inside the APP macro where they belong)
361 # for backwards compatability with older versions of automake.
362 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 b…
broxtronix authored
363 AM_CONDITIONAL(MAKE_APP_STEREOGUI, [test "$MAKE_APP_STEREOGUI" = "yes"])
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility wi…
broxtronix authored
364 AM_CONDITIONAL(MAKE_APP_ORTHOPROJECT, [test "$MAKE_APP_ORTHOPROJECT" = "yes"])
365 AM_CONDITIONAL(MAKE_APP_BUNDLEADJUST, [test "$MAKE_APP_BUNDLEADJUST" = "yes"])
366 AM_CONDITIONAL(MAKE_APP_ORBITVIZ, [test "$MAKE_APP_ORBITVIZ" = "yes"])
367 AM_CONDITIONAL(MAKE_APP_DISPARITYDEBUG, [test "$MAKE_APP_DISPARITYDEBUG" = "yes"])
368 AM_CONDITIONAL(MAKE_APP_POINT2MESH, [test "$MAKE_APP_POINT2MESH" = "yes"])
369 AM_CONDITIONAL(MAKE_APP_POINT2MESH2, [test "$MAKE_APP_POINT2MESH2" = "yes"])
370 AM_CONDITIONAL(MAKE_APP_POINT2DEM, [test "$MAKE_APP_POINT2DEM" = "yes"])
371 AM_CONDITIONAL(MAKE_APP_NURBS, [test "$MAKE_APP_NURBS" = "yes"])
372 AM_CONDITIONAL(MAKE_APP_CTXIMAGE, [test "$MAKE_APP_CTXIMAGE" = "yes"])
373 AM_CONDITIONAL(MAKE_APP_RMAX2CAHVOR, [test "$MAKE_APP_RMAX2CAHVOR" = "yes"])
374 AM_CONDITIONAL(MAKE_APP_RMAXADJUST, [test "$MAKE_APP_RMAXADJUST" = "yes"])
375 AM_CONDITIONAL(MAKE_APP_BUNDLEVIS, [test "$MAKE_APP_BUNDLEVIS" = "yes"])
376
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
broxtronix authored
377 ##################################################
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored
378 # final processing
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
broxtronix authored
379 ##################################################
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored
380 ASP_CPPFLAGS="$OTHER_CPPFLAGS"
381 ASP_LDFLAGS="$OTHER_LDFLAGS"
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
382
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
broxtronix authored
383 if test "yes" = "$ENABLE_VERBOSE" ; then
384 AC_MSG_NOTICE([using CPPFLAGS=$CPPFLAGS $ASP_CPPFLAGS])
385 AC_MSG_NOTICE([using CFLAGS=$CFLAGS])
386 AC_MSG_NOTICE([using CXXFLAGS=$CXXFLAGS])
387 AC_MSG_NOTICE([using LDFLAGS=$LDFLAGS $ASP_LDFLAGS])
388 AC_MSG_NOTICE([using ASP_NO_EXCEPTIONS=$no_exceptions])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
389 fi
390
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
broxtronix authored
391 AC_SUBST(ASP_CPPFLAGS)
392 AC_SUBST(ASP_LDFLAGS)
393
394
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
395 ##################################################
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored
396 # makefiles to process
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
397 ##################################################
398
399 AC_CONFIG_FILES([ \
400 Makefile \
401 src/Makefile \
9ae12ae @novas0x2a make stereo's build much like vw's
novas0x2a authored
402 src/tests/Makefile \
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
403 ])
404
405 # This hideous hack makes it possible to use GNU make's conditionals.
406 ENDIF=endif
407 AC_SUBST(ENDIF)
408
409 AC_OUTPUT
Something went wrong with that request. Please try again.