1 | |
---|
2 | AC_INIT([Rappture],[1.7],[rappture@nanohub.org]) |
---|
3 | AC_CONFIG_AUX_DIR(cf) |
---|
4 | AC_CONFIG_HEADER(src/core/config.h) |
---|
5 | |
---|
6 | #------------------------------------------------------------------------ |
---|
7 | # Handle the --prefix=... option |
---|
8 | #------------------------------------------------------------------------ |
---|
9 | |
---|
10 | if test "${prefix}" = "NONE"; then |
---|
11 | prefix=/usr/local |
---|
12 | fi |
---|
13 | if test "${exec_prefix}" = "NONE"; then |
---|
14 | exec_prefix=$prefix |
---|
15 | fi |
---|
16 | |
---|
17 | AC_ARG_WITH( |
---|
18 | [install], |
---|
19 | [AS_HELP_STRING([--with-install[=DIR]], |
---|
20 | [location of installation @<:@default=yes@:>@])], |
---|
21 | [], |
---|
22 | [with_install=yes]) |
---|
23 | |
---|
24 | if test "$with_install" != "yes"; then |
---|
25 | INSTALL_PREFIX=$with_install |
---|
26 | else |
---|
27 | INSTALL_PREFIX=$prefix |
---|
28 | fi |
---|
29 | |
---|
30 | |
---|
31 | if test "${libdir}" != "${prefix}/lib"; then |
---|
32 | LIB_SEARCH_DIRS="-L${prefix}/lib -L${libdir}" |
---|
33 | else |
---|
34 | LIB_SEARCH_DIRS="-L${libdir}" |
---|
35 | fi |
---|
36 | |
---|
37 | |
---|
38 | AC_PROG_INSTALL |
---|
39 | AC_PROG_INSTALL |
---|
40 | AC_PROG_RANLIB |
---|
41 | AC_PROG_LN_S |
---|
42 | AC_PROG_MKDIR_P |
---|
43 | AC_PROG_MAKE_SET |
---|
44 | |
---|
45 | # Check for C, C++, and FORTRAN |
---|
46 | AC_PROG_CC |
---|
47 | AC_PROG_CXX |
---|
48 | # Avoid g95 |
---|
49 | AC_PROG_F77([g77 gfortran f77 fort77 f90 xlf xlf90 fl32]) |
---|
50 | |
---|
51 | AC_LANG([C]) |
---|
52 | |
---|
53 | AC_HEADER_STDC |
---|
54 | AC_CHECK_FUNC(atol,,AC_MSG_ERROR(oops! no atol ?!?)) |
---|
55 | |
---|
56 | AC_LANG([C++]) |
---|
57 | |
---|
58 | AC_CHECK_FUNCS(sysinfo) |
---|
59 | AC_CHECK_FUNCS(gettimeofday) |
---|
60 | AC_CHECK_FUNC(localtime,,AC_MSG_ERROR(oops! no localtime ?!?)) |
---|
61 | AC_CHECK_FUNC(getenv,,AC_MSG_ERROR(oops! no getenv ?!?)) |
---|
62 | |
---|
63 | AC_CHECK_HEADERS(sys/sysinfo.h) |
---|
64 | |
---|
65 | AC_CHECK_LIB(ncurses, clrtoeol,,AC_MSG_ERROR([ncurses library missing?])) |
---|
66 | AC_CHECK_HEADERS(ncurses.h,,AC_MSG_WARN(ncurses headers missing ?)) |
---|
67 | |
---|
68 | AC_CHECK_LIB(stdc++, main,,AC_MSG_ERROR(librappture requires libstdc++)) |
---|
69 | AC_CHECK_HEADERS(algorithm,,AC_MSG_WARN(STL classes missing ?)) |
---|
70 | AC_CHECK_HEADERS(cctype,,AC_MSG_WARN(STL classes missing ?)) |
---|
71 | AC_CHECK_HEADERS(cfloat,,AC_MSG_WARN(STL classes missing ?)) |
---|
72 | AC_CHECK_HEADERS(cmath,,AC_MSG_WARN(STL classes missing ?)) |
---|
73 | AC_CHECK_HEADERS(cstdio,,AC_MSG_WARN(STL classes missing ?)) |
---|
74 | AC_CHECK_HEADERS(cstdlib,,AC_MSG_WARN(STL classes missing ?)) |
---|
75 | AC_CHECK_HEADERS(cstring,,AC_MSG_WARN(STL classes missing ?)) |
---|
76 | AC_CHECK_HEADERS(fstream,,AC_MSG_WARN(STL classes missing ?)) |
---|
77 | AC_CHECK_HEADERS(list,,AC_MSG_WARN(STL classes missing ?)) |
---|
78 | AC_CHECK_HEADERS(iostream,,AC_MSG_WARN(STL classes missing ?)) |
---|
79 | AC_CHECK_HEADERS(iterator,,AC_MSG_WARN(STL classes missing ?)) |
---|
80 | AC_CHECK_HEADERS(sstream,,AC_MSG_WARN(STL classes missing ?)) |
---|
81 | AC_CHECK_HEADERS(stack,,AC_MSG_WARN(STL classes missing ?)) |
---|
82 | AC_CHECK_HEADERS(string,,AC_MSG_WARN(STL classes missing ?)) |
---|
83 | AC_CHECK_HEADERS(vector,,AC_MSG_WARN(STL classes missing ?)) |
---|
84 | |
---|
85 | AC_CHECK_HEADERS(assert.h,,AC_MSG_WARN(C headers missing ?)) |
---|
86 | AC_CHECK_HEADERS(ctype.h,,AC_MSG_WARN(C headers missing ?)) |
---|
87 | AC_CHECK_HEADERS(errno.h,,AC_MSG_WARN(C headers missing ?)) |
---|
88 | AC_CHECK_HEADERS(limits.h,,AC_MSG_WARN(C headers missing ?)) |
---|
89 | AC_CHECK_HEADERS(string.h,,AC_MSG_WARN(C headers missing ?)) |
---|
90 | AC_CHECK_HEADERS(stdlib.h,,AC_MSG_WARN(C headers missing ?)) |
---|
91 | AC_CHECK_HEADERS(stddef.h,,AC_MSG_WARN(C headers missing ?)) |
---|
92 | AC_CHECK_HEADERS(float.h,,AC_MSG_WARN(C headers missing ?)) |
---|
93 | AC_CHECK_HEADERS(math.h,,AC_MSG_WARN(C headers missing ?)) |
---|
94 | dnl AC_CHECK_HEADERS(ieeefp.h,,AC_MSG_WARN(C headers missing ?)) |
---|
95 | AC_CHECK_HEADERS(malloc.h,,AC_MSG_WARN(C headers missing ?)) |
---|
96 | AC_CHECK_HEADERS(memory.h,,AC_MSG_WARN(C headers missing ?)) |
---|
97 | AC_CHECK_HEADERS(unistd.h,,AC_MSG_WARN(C headers missing ?)) |
---|
98 | |
---|
99 | AC_CHECK_HEADERS(inttypes.h,,AC_MSG_WARN(C headers missing ?)) |
---|
100 | if test "${ac_cv_header_inttypes_h}" = "yes" ; then |
---|
101 | HAVE_INTTYPES_H=1 |
---|
102 | else |
---|
103 | HAVE_INTTYPES_H=0 |
---|
104 | fi |
---|
105 | |
---|
106 | |
---|
107 | SC_CONFIG_CFLAGS |
---|
108 | |
---|
109 | SVN_VERSION=`svnversion $srcdir | sed 's/Unversioned directory/unknown/'` |
---|
110 | SVN_URL=`readlink -e $srcdir | xargs svn info | sed -ne 's/^URL: //p'` |
---|
111 | |
---|
112 | make_command="" |
---|
113 | for m in "$MAKE" make gmake gnumake ; do |
---|
114 | if test "x${m}" != "x" ; then |
---|
115 | if ( sh -c "$m --version" 2>/dev/null | grep GNU >/dev/null ) ; then |
---|
116 | make_command=$m; break; |
---|
117 | fi |
---|
118 | fi |
---|
119 | done |
---|
120 | if test "x${make_command}" = "x" ; then |
---|
121 | AC_MSG_ERROR([Requires GNU make. You can specify a version with \$MAKE]) |
---|
122 | fi |
---|
123 | |
---|
124 | AC_ARG_ENABLE( |
---|
125 | [lang], |
---|
126 | [AS_HELP_STRING([--enable-lang], [build language bindings @<:@default=yes@:>@])], |
---|
127 | [], |
---|
128 | [enable_lang=yes]) |
---|
129 | |
---|
130 | ENABLE_LANG= |
---|
131 | if test "$enable_lang" != "no" ; then |
---|
132 | ENABLE_LANG="yes" |
---|
133 | fi |
---|
134 | |
---|
135 | AC_ARG_ENABLE( |
---|
136 | [gui], |
---|
137 | [AS_HELP_STRING([--enable-gui], [build code related to the graphical user interface @<:@default=yes@:>@])], |
---|
138 | [], |
---|
139 | [enable_gui=yes]) |
---|
140 | |
---|
141 | ENABLE_GUI= |
---|
142 | if test "$enable_gui" != "no" ; then |
---|
143 | ENABLE_GUI="yes" |
---|
144 | fi |
---|
145 | |
---|
146 | TCL_VERSION="8.4" |
---|
147 | for dir in \ |
---|
148 | ${exec_prefix} \ |
---|
149 | ${exec_prefix}/lib ; do |
---|
150 | tclconfig="${dir}/tclConfig.sh" |
---|
151 | if test -f "$tclconfig" ; then |
---|
152 | . $tclconfig |
---|
153 | break |
---|
154 | fi |
---|
155 | done |
---|
156 | |
---|
157 | TK_VERSION="8.4" |
---|
158 | for dir in \ |
---|
159 | ${exec_prefix} \ |
---|
160 | ${exec_prefix}/lib ; do |
---|
161 | tkconfig="${dir}/tkConfig.sh" |
---|
162 | if test -f "$tkconfig" ; then |
---|
163 | . $tkconfig |
---|
164 | break |
---|
165 | fi |
---|
166 | done |
---|
167 | |
---|
168 | AC_ARG_WITH( |
---|
169 | [ffmpeg], |
---|
170 | [AS_HELP_STRING([--with-ffmpeg[=DIR]], |
---|
171 | [location of ffmpeg @<:@default=yes@:>@])], |
---|
172 | [], |
---|
173 | [with_ffmpeg=yes]) |
---|
174 | |
---|
175 | AC_ARG_WITH( |
---|
176 | [tclsh], |
---|
177 | [AS_HELP_STRING([--with-tclsh[=DIR]], |
---|
178 | [location of tclsh @<:@default=yes@:>@])], |
---|
179 | [], |
---|
180 | [with_tclsh=yes]) |
---|
181 | |
---|
182 | TCLSH="" |
---|
183 | if test "${with_tclsh}" != "no" ; then |
---|
184 | tclsh="tclsh${TCL_VERSION}" |
---|
185 | if test "${with_tclsh}" = "yes" ; then |
---|
186 | AC_PATH_PROG(TCLSH, ${tclsh}, [], [${exec_prefix}/bin:${PATH}]) |
---|
187 | else |
---|
188 | AC_PATH_PROG(TCLSH, ${tclsh}, [], [${with_tclsh}/bin:${with_tclsh}]) |
---|
189 | fi |
---|
190 | if test "x${TCLSH}" = "x" ; then |
---|
191 | AC_ERROR([can't find tclsh]) |
---|
192 | fi |
---|
193 | fi |
---|
194 | |
---|
195 | |
---|
196 | TCL_INC_SPEC="$TCL_INCLUDE_SPEC" |
---|
197 | |
---|
198 | AC_ARG_WITH( |
---|
199 | [vtk], |
---|
200 | [AS_HELP_STRING([--with-vtk[=version]], |
---|
201 | [VTK library version @<:@default=6.2@:>@])], |
---|
202 | [], |
---|
203 | [with_vtk=yes]) |
---|
204 | |
---|
205 | AC_MSG_CHECKING([for vtk]) |
---|
206 | VTK_VERSION=6.2 |
---|
207 | VTK_TCL_DIR="" |
---|
208 | |
---|
209 | ENABLE_VTK= |
---|
210 | if test "$with_vtk" != "no" ; then |
---|
211 | if test "$with_vtk" != "yes" ; then |
---|
212 | VTK_VERSION=$with_vtk |
---|
213 | fi |
---|
214 | if test "x$with_vtk" != "x" ; then |
---|
215 | ENABLE_VTK=yes |
---|
216 | for path in \ |
---|
217 | $libdir/tcltk \ |
---|
218 | $exec_prefix/lib/tcltk \ |
---|
219 | $prefix/lib/tcltk \ |
---|
220 | $libdir \ |
---|
221 | $prefix/lib \ |
---|
222 | $exec_prefix/lib \ |
---|
223 | /usr/lib |
---|
224 | do |
---|
225 | if test -d "$path/vtk-$VTK_VERSION" ; then |
---|
226 | VTK_TCL_DIR="$path/vtk-$VTK_VERSION" |
---|
227 | fi |
---|
228 | if test "x${VTK_TCL_DIR}" != "x" ; then |
---|
229 | break |
---|
230 | fi |
---|
231 | done |
---|
232 | fi |
---|
233 | else |
---|
234 | if test "${ENABLE_GUI}" = "yes" ; then |
---|
235 | AC_MSG_WARN([VTK missing: Rappture GUI requires VTK for some features]) |
---|
236 | fi |
---|
237 | fi |
---|
238 | AC_MSG_RESULT([$VTK_TCL_DIR]) |
---|
239 | |
---|
240 | AC_ARG_ENABLE( |
---|
241 | [vtkdicom], |
---|
242 | [AS_HELP_STRING([--enable-vtkdicom], |
---|
243 | [Use vtkDICOM package @<:@default=no@:>@])], |
---|
244 | [], |
---|
245 | [enable_vtkdicom=no]) |
---|
246 | |
---|
247 | AC_MSG_CHECKING([for vtkDICOM]) |
---|
248 | ENABLE_VTK_DICOM= |
---|
249 | if test "$enable_vtkdicom" != "no" ; then |
---|
250 | ENABLE_VTK_DICOM="yes" |
---|
251 | fi |
---|
252 | AC_MSG_RESULT([$enable_vtkdicom]) |
---|
253 | |
---|
254 | RP_LANG_MATLAB |
---|
255 | RP_LANG_OCTAVE |
---|
256 | RP_LANG_PERL |
---|
257 | RP_LANG_PYTHON |
---|
258 | RP_LANG_JAVA |
---|
259 | RP_LANG_R |
---|
260 | RP_LANG_RUBY |
---|
261 | |
---|
262 | RP_BASE=`pwd` |
---|
263 | |
---|
264 | SC_ENABLE_SHARED |
---|
265 | |
---|
266 | #-------------------------------------------------------------------- |
---|
267 | # This macro figures out what flags to use with the compiler/linker |
---|
268 | # when building shared/static debug/optimized objects. This information |
---|
269 | # is all taken from the tclConfig.sh file. |
---|
270 | #-------------------------------------------------------------------- |
---|
271 | |
---|
272 | if test -f "${exec_prefix}/lib/tclConfig.sh" ; then |
---|
273 | . ${exec_prefix}/lib/tclConfig.sh |
---|
274 | fi |
---|
275 | if test -f "${exec_prefix}/lib/tkConfig.sh" ; then |
---|
276 | . ${exec_prefix}/lib/tkConfig.sh |
---|
277 | fi |
---|
278 | |
---|
279 | # ----------------------------------------------------------------------- |
---|
280 | # |
---|
281 | # Compiler characteristics: |
---|
282 | # Check for existence of types of size_t and pid_t |
---|
283 | # |
---|
284 | # ----------------------------------------------------------------------- |
---|
285 | |
---|
286 | AC_C_BIGENDIAN |
---|
287 | AC_CHECK_SIZEOF(int) |
---|
288 | AC_CHECK_SIZEOF(long) |
---|
289 | AC_CHECK_SIZEOF(long long) |
---|
290 | AC_CHECK_SIZEOF(void *) |
---|
291 | |
---|
292 | SIZEOF_LONG="${ac_cv_sizeof_long}" |
---|
293 | SIZEOF_LONG_LONG="${ac_cv_sizeof_long_long}" |
---|
294 | SIZEOF_VOID_P="${ac_cv_sizeof_void_p}" |
---|
295 | SIZEOF_INT="${ac_cv_sizeof_int}" |
---|
296 | |
---|
297 | |
---|
298 | #-------------------------------------------------------------------- |
---|
299 | # Set the default compiler switches based on the --enable-symbols |
---|
300 | # option. |
---|
301 | #-------------------------------------------------------------------- |
---|
302 | |
---|
303 | SC_ENABLE_SYMBOLS |
---|
304 | |
---|
305 | |
---|
306 | #-------------------------------------------------------------------- |
---|
307 | # search for ffmpeg libraries libavcodec, libavformat, libswscale |
---|
308 | #-------------------------------------------------------------------- |
---|
309 | if test "${with_ffmpeg}" != "no" ; then |
---|
310 | if test "${with_ffmpeg}" = "yes" ; then |
---|
311 | AC_PATH_PROG(FFMPEG, ffmpeg, [], $PATH) |
---|
312 | else |
---|
313 | AC_PATH_PROG(FFMPEG, ffmpeg, [], [${with_ffmpeg}/bin:${with_ffmpeg}]) |
---|
314 | fi |
---|
315 | if test "${FFMPEG}x" != "x" ; then |
---|
316 | AC_DEFINE(HAVE_FFMPEG, 1, [Render servers can use ffmpeg]) |
---|
317 | fi |
---|
318 | fi |
---|
319 | |
---|
320 | AC_CHECK_HEADERS([ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h libavutil/mathematics.h ffmpeg/swscale.h libswscale/swscale.h],,,[ |
---|
321 | #define __STDC_CONSTANT_MACROS 1 |
---|
322 | ]) |
---|
323 | |
---|
324 | HAVE_FFMPEG_LIBS="" |
---|
325 | if test "${with_ffmpeg}" != "no"; then |
---|
326 | if [[ \( "${ac_cv_header_ffmpeg_avcodec_h}" = "yes" -o \ |
---|
327 | "${ac_cv_header_libavcodec_avcodec_h}" = "yes" \) -a \ |
---|
328 | \( "${ac_cv_header_ffmpeg_avformat_h}" = "yes" -o \ |
---|
329 | "${ac_cv_header_libavformat_avformat_h}" = "yes" \) -a \ |
---|
330 | \( "${ac_cv_header_ffmpeg_avutil_h}" = "yes" -o \ |
---|
331 | "${ac_cv_header_libavutil_avutil_h}" = "yes" \) -a \ |
---|
332 | \( "${ac_cv_header_ffmpeg_swscale_h}" = "yes" -o \ |
---|
333 | "${ac_cv_header_libswscale_swscale_h}" = "yes" \) ]] ; then |
---|
334 | HAVE_FFMPEG_LIBS="yes" |
---|
335 | AC_DEFINE(BUILD_with_ffmpeg, 1, [Build rappture with ffmpeg widgets]) |
---|
336 | fi |
---|
337 | AC_CHECK_LIB(avcodec, main,,AC_MSG_ERROR(librappture requires libavcodec)) |
---|
338 | AC_CHECK_LIB(avutil, main,,AC_MSG_ERROR(librappture requires libavutil)) |
---|
339 | AC_CHECK_LIB(avformat, main,,AC_MSG_ERROR(librappture requires libavformat)) |
---|
340 | AC_CHECK_LIB(swscale, main) |
---|
341 | AC_CHECK_FUNCS(av_find_stream_info) |
---|
342 | AC_CHECK_FUNCS(av_open_input_file) |
---|
343 | AC_CHECK_FUNCS(avcodec_decode_video) |
---|
344 | AC_CHECK_FUNCS(avcodec_decode_video2) |
---|
345 | AC_CHECK_FUNCS(avcodec_open) |
---|
346 | AC_CHECK_FUNCS(avcodec_open2) |
---|
347 | AC_CHECK_FUNCS(avformat_find_stream_info) |
---|
348 | AC_CHECK_FUNCS(avformat_open_input) |
---|
349 | AC_CHECK_FUNCS(avio_close) |
---|
350 | AC_CHECK_FUNCS(img_convert) |
---|
351 | AC_CHECK_FUNCS(sws_getCachedContext) |
---|
352 | AC_CHECK_FUNCS(sws_scale) |
---|
353 | AC_CHECK_FUNCS(url_close) |
---|
354 | AC_CHECK_FUNCS(av_close_input_file) |
---|
355 | AC_CHECK_FUNCS(avformat_close_input) |
---|
356 | |
---|
357 | AC_CHECK_FUNC(avcodec_find_decoder,, |
---|
358 | AC_MSG_ERROR(oops! no av_codec_find_decoder ?!?)) |
---|
359 | AC_CHECK_FUNC(avcodec_alloc_frame,, |
---|
360 | AC_MSG_ERROR(oops! no avcode_alloc_frame ?!?)) |
---|
361 | AC_CHECK_FUNC(av_rescale_q,,AC_MSG_ERROR(oops! no av_rescale_q ?!?)) |
---|
362 | AC_CHECK_FUNC(av_read_frame,,AC_MSG_ERROR(oops! av_read_frame ?!?)) |
---|
363 | AC_CHECK_FUNC(av_free,,AC_MSG_ERROR(oops! no av_frame ?!?)) |
---|
364 | AC_CHECK_FUNC(avcodec_default_release_buffer,, |
---|
365 | AC_MSG_ERROR(oops! no avcode_default_release_buffer ?!?)) |
---|
366 | AC_CHECK_FUNC(avpicture_get_size,, |
---|
367 | AC_MSG_ERROR(oops! no avpicture_get_size ?!?)) |
---|
368 | AC_CHECK_FUNC(avpicture_fill,,AC_MSG_ERROR(oops! no avpicture_fill ?!?)) |
---|
369 | AC_CHECK_FUNCS(sws_getCachedContext) |
---|
370 | AC_CHECK_FUNCS(img_convert) |
---|
371 | AC_CHECK_FUNCS(sws_scale) |
---|
372 | AC_TRY_COMPILE([ |
---|
373 | #define __STDC_CONSTANT_MACROS 1 |
---|
374 | #include <stdlib.h> |
---|
375 | #ifdef HAVE_FFMPEG_AVCODEC_H |
---|
376 | # include <ffmpeg/avcodec.h> |
---|
377 | #endif |
---|
378 | #ifdef HAVE_LIBAVCODEC_AVCODEC_H |
---|
379 | # include <libavcodec/avcodec.h> |
---|
380 | #endif |
---|
381 | int x = AVMEDIA_TYPE_VIDEO; |
---|
382 | ],, ac_avmedia_type_video="yes", ac_avmedia_type_video="no") |
---|
383 | if test "$ac_avmedia_type_video" == "yes" ; then |
---|
384 | AC_DEFINE(HAVE_AVMEDIA_TYPE_VIDEO,1,[Define if AVMEDIA_TYPE_VIDEO enum exists. ]) |
---|
385 | fi |
---|
386 | fi |
---|
387 | |
---|
388 | AC_SUBST(CFLAGS_DEBUG) |
---|
389 | AC_SUBST(CFLAGS_OPTIMIZE) |
---|
390 | AC_SUBST(ENABLE_LANG) |
---|
391 | AC_SUBST(ENABLE_GUI) |
---|
392 | AC_SUBST(ENABLE_VTK) |
---|
393 | AC_SUBST(ENABLE_VTK_DICOM) |
---|
394 | AC_SUBST(FFMPEG) |
---|
395 | AC_SUBST(HAVE_FFMPEG_LIBS) |
---|
396 | AC_SUBST(HAVE_INTTYPES_H) |
---|
397 | AC_SUBST(HAVE_RUBY_DEVEL) |
---|
398 | AC_SUBST(INSTALL_PREFIX) |
---|
399 | AC_SUBST(JAVA) |
---|
400 | AC_SUBST(JAVAC) |
---|
401 | AC_SUBST(JAVAH) |
---|
402 | AC_SUBST(JAVA_HOME) |
---|
403 | AC_SUBST(JAVA_INC_DIR) |
---|
404 | AC_SUBST(JAVA_INC_SPEC) |
---|
405 | AC_SUBST(LIB_SEARCH_DIRS) |
---|
406 | AC_SUBST(MAKE, ${make_command}) |
---|
407 | AC_SUBST(MATLAB) |
---|
408 | AC_SUBST(MCC) |
---|
409 | AC_SUBST(MEX) |
---|
410 | AC_SUBST(MEXEXT) |
---|
411 | AC_SUBST(MEX_ARCH) |
---|
412 | AC_SUBST(MKOCTFILE2) |
---|
413 | AC_SUBST(MKOCTFILE3) |
---|
414 | AC_SUBST(OCTAVE_VERSION) |
---|
415 | AC_SUBST(OCTAVE_VERSION_MAJOR) |
---|
416 | AC_SUBST(PERL) |
---|
417 | AC_SUBST(PERL_ARCHLIB) |
---|
418 | AC_SUBST(PERL_ARCHLIBEXP) |
---|
419 | AC_SUBST(PERL_CCFLAGS) |
---|
420 | AC_SUBST(PERL_CPPFLAGS) |
---|
421 | AC_SUBST(PERL_INCLUDES) |
---|
422 | AC_SUBST(PERL_INSTALLARCHLIB) |
---|
423 | AC_SUBST(PERL_LIBSPEC) |
---|
424 | AC_SUBST(PERL_PRIVLIB) |
---|
425 | AC_SUBST(PERL_VENDORLIB) |
---|
426 | AC_SUBST(PERL_VERSION) |
---|
427 | AC_SUBST(PERL_VERSION_RV) |
---|
428 | AC_SUBST(PYTHON) |
---|
429 | AC_SUBST(PYTHON_CFLAGS) |
---|
430 | AC_SUBST(PYTHON_DISTUTILS) |
---|
431 | AC_SUBST(PYTHON_INCDIR) |
---|
432 | AC_SUBST(PYTHON_INCLUDES) |
---|
433 | AC_SUBST(PYTHON_LDFLAGS) |
---|
434 | AC_SUBST(PYTHON_LIB) |
---|
435 | AC_SUBST(PYTHON_LIBDIR) |
---|
436 | AC_SUBST(PYTHON_SITE_DIR) |
---|
437 | AC_SUBST(PYTHON_SITE_PACKAGES) |
---|
438 | AC_SUBST(PYTHON_VERSION) |
---|
439 | AC_SUBST(R) |
---|
440 | AC_SUBST(RP_BASE) |
---|
441 | AC_SUBST(RUBY) |
---|
442 | AC_SUBST(RUBY_PLATFORM) |
---|
443 | AC_SUBST(RUBY_VERSION_RV) |
---|
444 | AC_SUBST(SHLIB_CFLAGS) |
---|
445 | AC_SUBST(SHLIB_LD) |
---|
446 | AC_SUBST(SHLIB_LDFLAGS) |
---|
447 | AC_SUBST(SHLIB_SUFFIX) |
---|
448 | AC_SUBST(SIZEOF_INT) |
---|
449 | AC_SUBST(SIZEOF_LONG) |
---|
450 | AC_SUBST(SIZEOF_LONG_LONG) |
---|
451 | AC_SUBST(SIZEOF_VOID_P) |
---|
452 | AC_SUBST(STLIB_LD) |
---|
453 | AC_SUBST(SVN_URL) |
---|
454 | AC_SUBST(SVN_VERSION) |
---|
455 | AC_SUBST(TCLSH) |
---|
456 | AC_SUBST(TCL_CFLAGS_DEBUG) |
---|
457 | AC_SUBST(TCL_CFLAGS_OPTIMIZE) |
---|
458 | AC_SUBST(TCL_INC_SPEC) |
---|
459 | AC_SUBST(TCL_LIB_SPEC) |
---|
460 | AC_SUBST(TCL_SHLIB_CFLAGS) |
---|
461 | AC_SUBST(TCL_SHLIB_LD) |
---|
462 | AC_SUBST(TCL_SHLIB_LDFLAGS) |
---|
463 | AC_SUBST(TCL_SHLIB_SUFFIX) |
---|
464 | AC_SUBST(TCL_SRC_DIR) |
---|
465 | AC_SUBST(TCL_VERSION) |
---|
466 | AC_SUBST(TK_INC_SPEC) |
---|
467 | AC_SUBST(TK_LIB_SPEC) |
---|
468 | AC_SUBST(TK_SRC_DIR) |
---|
469 | AC_SUBST(TK_VERSION) |
---|
470 | AC_SUBST(TK_XLIBSW) |
---|
471 | AC_SUBST(VTK_TCL_DIR) |
---|
472 | AC_SUBST(VTK_VERSION) |
---|
473 | AC_SUBST(XSUBPP) |
---|
474 | |
---|
475 | ac_configure_args="--disable-threads --enable-shared" |
---|
476 | AC_CONFIG_SUBDIRS( [packages/optimizer/src] ) |
---|
477 | |
---|
478 | dnl read Makefile.in and write Makefile |
---|
479 | AC_CONFIG_FILES([ |
---|
480 | Makefile |
---|
481 | packages/Makefile |
---|
482 | src/Makefile |
---|
483 | src/core/Makefile |
---|
484 | src/core2/Makefile |
---|
485 | src/objects/Makefile |
---|
486 | src/objects/RpHash.h |
---|
487 | gui/Makefile |
---|
488 | gui/apps/Makefile |
---|
489 | gui/apps/about |
---|
490 | gui/apps/copy_rappture_examples |
---|
491 | gui/apps/encodedata |
---|
492 | gui/apps/rappture |
---|
493 | gui/apps/rappture-csh.env |
---|
494 | gui/apps/rappture.env |
---|
495 | gui/apps/rappture.use |
---|
496 | gui/apps/rerun |
---|
497 | gui/apps/simsim |
---|
498 | gui/apps/xmldiff |
---|
499 | gui/pkgIndex.tcl |
---|
500 | gui/scripts/Makefile |
---|
501 | gui/src/Makefile |
---|
502 | builder/Makefile |
---|
503 | builder/pkgIndex.tcl |
---|
504 | builder/scripts/Makefile |
---|
505 | tester/Makefile |
---|
506 | tester/pkgIndex.tcl |
---|
507 | tester/scripts/Makefile |
---|
508 | lang/Makefile |
---|
509 | lang/java/Makefile |
---|
510 | lang/java/rappture/Makefile |
---|
511 | lang/perl/Makefile |
---|
512 | lang/perl/Makefile.PL |
---|
513 | lang/python/Makefile |
---|
514 | lang/python/setup.py |
---|
515 | lang/matlab/Makefile |
---|
516 | lang/octave/Makefile |
---|
517 | lang/octave/octave2/Makefile |
---|
518 | lang/octave/octave3/Makefile |
---|
519 | lang/R/Makefile |
---|
520 | lang/ruby/Makefile |
---|
521 | lang/ruby/build.rb |
---|
522 | lang/tcl/Makefile |
---|
523 | lang/tcl/pkgIndex.tcl |
---|
524 | lang/tcl/scripts/Makefile |
---|
525 | lang/tcl/src/Makefile |
---|
526 | lang/tcl/tests/Makefile |
---|
527 | lib/Makefile |
---|
528 | examples/3D/Makefile |
---|
529 | examples/Makefile |
---|
530 | examples/app-fermi/2.0/Makefile |
---|
531 | examples/app-fermi/Makefile |
---|
532 | examples/app-fermi/cee/Makefile |
---|
533 | examples/app-fermi/fortran/Makefile |
---|
534 | examples/app-fermi/java/Makefile |
---|
535 | examples/app-fermi/matlab/Makefile |
---|
536 | examples/app-fermi/matlab/compiled/Makefile |
---|
537 | examples/app-fermi/matlab/uncompiled/Makefile |
---|
538 | examples/app-fermi/octave/octave2/Makefile |
---|
539 | examples/app-fermi/octave/octave3/Makefile |
---|
540 | examples/app-fermi/octave/Makefile |
---|
541 | examples/app-fermi/perl/Makefile |
---|
542 | examples/app-fermi/python/Makefile |
---|
543 | examples/app-fermi/ruby/Makefile |
---|
544 | examples/app-fermi/tcl/Makefile |
---|
545 | examples/app-fermi/wrapper/Makefile |
---|
546 | examples/app-fermi/wrapper/cee/Makefile |
---|
547 | examples/app-fermi/wrapper/perl/Makefile |
---|
548 | examples/app-fermi/wrapper/python/Makefile |
---|
549 | examples/app-fermi/wrapper/tcl/Makefile |
---|
550 | examples/app-fermi/R/Makefile |
---|
551 | examples/c-example/Makefile |
---|
552 | examples/canvas/Makefile |
---|
553 | examples/demo.bash |
---|
554 | examples/flow/Makefile |
---|
555 | examples/flow/demo1/Makefile |
---|
556 | examples/flow/demo2/Makefile |
---|
557 | examples/flow/demo3/Makefile |
---|
558 | examples/graph/Makefile |
---|
559 | examples/objects/Makefile |
---|
560 | examples/objects/axis/Makefile |
---|
561 | examples/objects/curve/Makefile |
---|
562 | examples/objects/dxWriter/Makefile |
---|
563 | examples/objects/floatBuffer/Makefile |
---|
564 | examples/objects/histogram/Makefile |
---|
565 | examples/objects/library/Makefile |
---|
566 | examples/objects/number/Makefile |
---|
567 | examples/objects/path/Makefile |
---|
568 | examples/objects/plot/Makefile |
---|
569 | examples/objects/scatter/Makefile |
---|
570 | examples/objects/string/Makefile |
---|
571 | examples/objects/tree/Makefile |
---|
572 | examples/objects/xmlparser/Makefile |
---|
573 | examples/zoo/Makefile |
---|
574 | examples/zoo/binary/Makefile |
---|
575 | examples/zoo/boolean/Makefile |
---|
576 | examples/zoo/choice/Makefile |
---|
577 | examples/zoo/curve/Makefile |
---|
578 | examples/zoo/drawing/Makefile |
---|
579 | examples/zoo/enable/Makefile |
---|
580 | examples/zoo/field/Makefile |
---|
581 | examples/zoo/group/Makefile |
---|
582 | examples/zoo/histogram/Makefile |
---|
583 | examples/zoo/image/Makefile |
---|
584 | examples/zoo/image/docs/Makefile |
---|
585 | examples/zoo/image/examples/Makefile |
---|
586 | examples/zoo/integer/Makefile |
---|
587 | examples/zoo/integer2/Makefile |
---|
588 | examples/zoo/loader/Makefile |
---|
589 | examples/zoo/loader/examples/Makefile |
---|
590 | examples/zoo/log/Makefile |
---|
591 | examples/zoo/mesh/Makefile |
---|
592 | examples/zoo/note/Makefile |
---|
593 | examples/zoo/note/docs/Makefile |
---|
594 | examples/zoo/number/Makefile |
---|
595 | examples/zoo/number2/Makefile |
---|
596 | examples/zoo/parallelepiped/Makefile |
---|
597 | examples/zoo/periodicelement/Makefile |
---|
598 | examples/zoo/phase/Makefile |
---|
599 | examples/zoo/sequence/Makefile |
---|
600 | examples/zoo/sequence/examples/Makefile |
---|
601 | examples/zoo/string/Makefile |
---|
602 | examples/zoo/structure/Makefile |
---|
603 | examples/zoo/structure/examples/Makefile |
---|
604 | examples/zoo/table/Makefile |
---|
605 | video/Makefile |
---|
606 | video/pkgIndex.tcl |
---|
607 | oldtest/Makefile |
---|
608 | oldtest/src/Makefile |
---|
609 | puq/Makefile |
---|
610 | puq/puq.sh |
---|
611 | ]) |
---|
612 | AC_OUTPUT |
---|
613 | |
---|