1 | |
---|
2 | AC_INIT([Rappture],[1.3],[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 | |
---|
111 | make_command="" |
---|
112 | for m in "$MAKE" make gmake gnumake ; do |
---|
113 | if test "x${m}" != "x" ; then |
---|
114 | if ( sh -c "$m --version" 2>/dev/null | grep GNU >/dev/null ) ; then |
---|
115 | make_command=$m; break; |
---|
116 | fi |
---|
117 | fi |
---|
118 | done |
---|
119 | if test "x${make_command}" = "x" ; then |
---|
120 | AC_MSG_ERROR([Requires GNU make. You can specify a version with \$MAKE]) |
---|
121 | fi |
---|
122 | |
---|
123 | AC_ARG_ENABLE( |
---|
124 | [lang], |
---|
125 | [AS_HELP_STRING([--enable-lang], [build language bindings @<:@default=yes@:>@])], |
---|
126 | [], |
---|
127 | [enable_lang=yes]) |
---|
128 | |
---|
129 | ENABLE_LANG= |
---|
130 | if test "$enable_lang" != "no" ; then |
---|
131 | ENABLE_LANG="yes" |
---|
132 | fi |
---|
133 | |
---|
134 | AC_ARG_ENABLE( |
---|
135 | [gui], |
---|
136 | [AS_HELP_STRING([--enable-gui], [build code related to the graphical user interface @<:@default=yes@:>@])], |
---|
137 | [], |
---|
138 | [enable_gui=yes]) |
---|
139 | |
---|
140 | ENABLE_GUI= |
---|
141 | if test "$enable_gui" != "no" ; then |
---|
142 | ENABLE_GUI="yes" |
---|
143 | fi |
---|
144 | |
---|
145 | TCL_VERSION="8.4" |
---|
146 | for dir in \ |
---|
147 | ${exec_prefix} \ |
---|
148 | ${exec_prefix}/lib ; do |
---|
149 | tclconfig="${dir}/tclConfig.sh" |
---|
150 | if test -f "$tclconfig" ; then |
---|
151 | . $tclconfig |
---|
152 | break |
---|
153 | fi |
---|
154 | done |
---|
155 | |
---|
156 | AC_ARG_WITH( |
---|
157 | [ffmpeg], |
---|
158 | [AS_HELP_STRING([--with-ffmpeg[=DIR]], |
---|
159 | [location of ffmpeg @<:@default=yes@:>@])], |
---|
160 | [], |
---|
161 | [with_ffmpeg=yes]) |
---|
162 | |
---|
163 | AC_ARG_WITH( |
---|
164 | [tclsh], |
---|
165 | [AS_HELP_STRING([--with-tclsh[=DIR]], |
---|
166 | [location of tclsh @<:@default=yes@:>@])], |
---|
167 | [], |
---|
168 | [with_tclsh=yes]) |
---|
169 | |
---|
170 | TCLSH="" |
---|
171 | if test "${with_tclsh}" != "no" ; then |
---|
172 | tclsh="tclsh${TCL_VERSION}" |
---|
173 | if test "${with_tclsh}" = "yes" ; then |
---|
174 | AC_PATH_PROG(TCLSH, ${tclsh}, [], [${exec_prefix}/bin:${PATH}]) |
---|
175 | else |
---|
176 | AC_PATH_PROG(TCLSH, ${tclsh}, [], [${with_tclsh}/bin:${with_tclsh}]) |
---|
177 | fi |
---|
178 | if test "x${TCLSH}" = "x" ; then |
---|
179 | AC_ERROR([can't find tclsh]) |
---|
180 | fi |
---|
181 | fi |
---|
182 | |
---|
183 | |
---|
184 | TCL_INC_SPEC="$TCL_INCLUDE_SPEC" |
---|
185 | |
---|
186 | AC_ARG_WITH( |
---|
187 | [vtk], |
---|
188 | [AS_HELP_STRING([--with-vtk[=DIR]], |
---|
189 | [location of vtk library @<:@default=yes@:>@])], |
---|
190 | [], |
---|
191 | [with_vtk=yes]) |
---|
192 | |
---|
193 | AC_MSG_CHECKING([for vtk]) |
---|
194 | VTKDIR="" |
---|
195 | |
---|
196 | if test "$with_vtk" != "no" ; then |
---|
197 | if test "$with_vtk" = "yes" ; then |
---|
198 | for path in \ |
---|
199 | $libdir \ |
---|
200 | $prefix/lib/tcltk \ |
---|
201 | $prefix/lib \ |
---|
202 | $exec_prefix/lib \ |
---|
203 | /usr/lib |
---|
204 | do |
---|
205 | for vtk in $path/vtk-* ; do |
---|
206 | if test -d "${vtk}" ; then |
---|
207 | VTKDIR=${vtk} |
---|
208 | fi |
---|
209 | done |
---|
210 | if test "x${VTKDIR}" != "x" ; then |
---|
211 | break |
---|
212 | fi |
---|
213 | done |
---|
214 | fi |
---|
215 | fi |
---|
216 | AC_MSG_RESULT([$VTKDIR]) |
---|
217 | |
---|
218 | RP_LANG_MATLAB |
---|
219 | RP_LANG_OCTAVE |
---|
220 | RP_LANG_PERL |
---|
221 | RP_LANG_PYTHON |
---|
222 | RP_LANG_JAVA |
---|
223 | RP_LANG_R |
---|
224 | RP_LANG_RUBY |
---|
225 | |
---|
226 | RP_BASE=`pwd` |
---|
227 | |
---|
228 | SC_ENABLE_SHARED |
---|
229 | |
---|
230 | #-------------------------------------------------------------------- |
---|
231 | # This macro figures out what flags to use with the compiler/linker |
---|
232 | # when building shared/static debug/optimized objects. This information |
---|
233 | # is all taken from the tclConfig.sh file. |
---|
234 | #-------------------------------------------------------------------- |
---|
235 | |
---|
236 | if test -f "${exec_prefix}/lib/tclConfig.sh" ; then |
---|
237 | . ${exec_prefix}/lib/tclConfig.sh |
---|
238 | fi |
---|
239 | if test -f "${exec_prefix}/lib/tkConfig.sh" ; then |
---|
240 | . ${exec_prefix}/lib/tkConfig.sh |
---|
241 | fi |
---|
242 | |
---|
243 | # ----------------------------------------------------------------------- |
---|
244 | # |
---|
245 | # Compiler characteristics: |
---|
246 | # Check for existence of types of size_t and pid_t |
---|
247 | # |
---|
248 | # ----------------------------------------------------------------------- |
---|
249 | |
---|
250 | AC_C_BIGENDIAN |
---|
251 | AC_CHECK_SIZEOF(int) |
---|
252 | AC_CHECK_SIZEOF(long) |
---|
253 | AC_CHECK_SIZEOF(long long) |
---|
254 | AC_CHECK_SIZEOF(void *) |
---|
255 | |
---|
256 | SIZEOF_LONG="${ac_cv_sizeof_long}" |
---|
257 | SIZEOF_LONG_LONG="${ac_cv_sizeof_long_long}" |
---|
258 | SIZEOF_VOID_P="${ac_cv_sizeof_void_p}" |
---|
259 | SIZEOF_INT="${ac_cv_sizeof_int}" |
---|
260 | |
---|
261 | |
---|
262 | #-------------------------------------------------------------------- |
---|
263 | # Set the default compiler switches based on the --enable-symbols |
---|
264 | # option. |
---|
265 | #-------------------------------------------------------------------- |
---|
266 | |
---|
267 | SC_ENABLE_SYMBOLS |
---|
268 | |
---|
269 | |
---|
270 | #-------------------------------------------------------------------- |
---|
271 | # search for ffmpeg libraries libavcodec, libavformat, libswscale |
---|
272 | #-------------------------------------------------------------------- |
---|
273 | if test "${with_ffmpeg}" != "no" ; then |
---|
274 | if test "${with_ffmpeg}" = "yes" ; then |
---|
275 | AC_PATH_PROG(FFMPEG, ffmpeg, [], $PATH) |
---|
276 | else |
---|
277 | AC_PATH_PROG(FFMPEG, ffmpeg, [], [${with_ffmpeg}/bin:${with_ffmpeg}]) |
---|
278 | fi |
---|
279 | if test "${FFMPEG}x" != "x" ; then |
---|
280 | AC_DEFINE(HAVE_FFMPEG, 1, [Render servers can use ffmpeg]) |
---|
281 | fi |
---|
282 | fi |
---|
283 | |
---|
284 | 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],,,[ |
---|
285 | #define __STDC_CONSTANT_MACROS 1 |
---|
286 | ]) |
---|
287 | |
---|
288 | HAVE_FFMPEG_LIBS="" |
---|
289 | if test "${with_ffmpeg}" != "no"; then |
---|
290 | if [[ \( "${ac_cv_header_ffmpeg_avcodec_h}" = "yes" -o \ |
---|
291 | "${ac_cv_header_libavcodec_avcodec_h}" = "yes" \) -a \ |
---|
292 | \( "${ac_cv_header_ffmpeg_avformat_h}" = "yes" -o \ |
---|
293 | "${ac_cv_header_libavformat_avformat_h}" = "yes" \) -a \ |
---|
294 | \( "${ac_cv_header_ffmpeg_avutil_h}" = "yes" -o \ |
---|
295 | "${ac_cv_header_libavutil_avutil_h}" = "yes" \) -a \ |
---|
296 | \( "${ac_cv_header_ffmpeg_swscale_h}" = "yes" -o \ |
---|
297 | "${ac_cv_header_libswscale_swscale_h}" = "yes" \) ]] ; then |
---|
298 | HAVE_FFMPEG_LIBS="yes" |
---|
299 | AC_DEFINE(BUILD_with_ffmpeg, 1, [Build rappture with ffmpeg widgets]) |
---|
300 | fi |
---|
301 | AC_CHECK_LIB(avcodec, main,,AC_MSG_ERROR(librappture requires libavcodec)) |
---|
302 | AC_CHECK_LIB(avutil, main,,AC_MSG_ERROR(librappture requires libavutil)) |
---|
303 | AC_CHECK_LIB(avformat, main,,AC_MSG_ERROR(librappture requires libavformat)) |
---|
304 | AC_CHECK_LIB(swscale, main) |
---|
305 | AC_CHECK_FUNCS(av_find_stream_info) |
---|
306 | AC_CHECK_FUNCS(av_open_input_file) |
---|
307 | AC_CHECK_FUNCS(avcodec_decode_video) |
---|
308 | AC_CHECK_FUNCS(avcodec_decode_video2) |
---|
309 | AC_CHECK_FUNCS(avcodec_open) |
---|
310 | AC_CHECK_FUNCS(avcodec_open2) |
---|
311 | AC_CHECK_FUNCS(avformat_find_stream_info) |
---|
312 | AC_CHECK_FUNCS(avformat_open_input) |
---|
313 | AC_CHECK_FUNCS(avio_close) |
---|
314 | AC_CHECK_FUNCS(img_convert) |
---|
315 | AC_CHECK_FUNCS(sws_getCachedContext) |
---|
316 | AC_CHECK_FUNCS(sws_scale) |
---|
317 | AC_CHECK_FUNCS(url_close) |
---|
318 | AC_CHECK_FUNCS(av_close_input_file) |
---|
319 | AC_CHECK_FUNCS(avformat_close_input) |
---|
320 | |
---|
321 | AC_CHECK_FUNC(avcodec_find_decoder,, |
---|
322 | AC_MSG_ERROR(oops! no av_codec_find_decoder ?!?)) |
---|
323 | AC_CHECK_FUNC(avcodec_alloc_frame,, |
---|
324 | AC_MSG_ERROR(oops! no avcode_alloc_frame ?!?)) |
---|
325 | AC_CHECK_FUNC(av_rescale_q,,AC_MSG_ERROR(oops! no av_rescale_q ?!?)) |
---|
326 | AC_CHECK_FUNC(av_read_frame,,AC_MSG_ERROR(oops! av_read_frame ?!?)) |
---|
327 | AC_CHECK_FUNC(av_free,,AC_MSG_ERROR(oops! no av_frame ?!?)) |
---|
328 | AC_CHECK_FUNC(avcodec_default_release_buffer,, |
---|
329 | AC_MSG_ERROR(oops! no avcode_default_release_buffer ?!?)) |
---|
330 | AC_CHECK_FUNC(avpicture_get_size,, |
---|
331 | AC_MSG_ERROR(oops! no avpicture_get_size ?!?)) |
---|
332 | AC_CHECK_FUNC(avpicture_fill,,AC_MSG_ERROR(oops! no avpicture_fill ?!?)) |
---|
333 | AC_CHECK_FUNCS(sws_getCachedContext) |
---|
334 | AC_CHECK_FUNCS(img_convert) |
---|
335 | AC_CHECK_FUNCS(sws_scale) |
---|
336 | AC_TRY_COMPILE([ |
---|
337 | #define __STDC_CONSTANT_MACROS 1 |
---|
338 | #include <stdlib.h> |
---|
339 | #ifdef HAVE_FFMPEG_AVCODEC_H |
---|
340 | # include <ffmpeg/avcodec.h> |
---|
341 | #endif |
---|
342 | #ifdef HAVE_LIBAVCODEC_AVCODEC_H |
---|
343 | # include <libavcodec/avcodec.h> |
---|
344 | #endif |
---|
345 | int x = AVMEDIA_TYPE_VIDEO; |
---|
346 | ],, ac_avmedia_type_video="yes", ac_avmedia_type_video="no") |
---|
347 | if test "$ac_avmedia_type_video" == "yes" ; then |
---|
348 | AC_DEFINE(HAVE_AVMEDIA_TYPE_VIDEO,1,[Define if AVMEDIA_TYPE_VIDEO enum exists. ]) |
---|
349 | fi |
---|
350 | fi |
---|
351 | |
---|
352 | AC_SUBST(CFLAGS_DEBUG) |
---|
353 | AC_SUBST(CFLAGS_OPTIMIZE) |
---|
354 | AC_SUBST(ENABLE_LANG) |
---|
355 | AC_SUBST(ENABLE_GUI) |
---|
356 | AC_SUBST(FFMPEG) |
---|
357 | AC_SUBST(HAVE_FFMPEG_LIBS) |
---|
358 | AC_SUBST(HAVE_INTTYPES_H) |
---|
359 | AC_SUBST(HAVE_RUBY_DEVEL) |
---|
360 | AC_SUBST(INSTALL_PREFIX) |
---|
361 | AC_SUBST(JAVA) |
---|
362 | AC_SUBST(JAVAC) |
---|
363 | AC_SUBST(JAVAH) |
---|
364 | AC_SUBST(JAVA_HOME) |
---|
365 | AC_SUBST(JAVA_INC_DIR) |
---|
366 | AC_SUBST(JAVA_INC_SPEC) |
---|
367 | AC_SUBST(LIB_SEARCH_DIRS) |
---|
368 | AC_SUBST(MAKE, ${make_command}) |
---|
369 | AC_SUBST(MATLAB) |
---|
370 | AC_SUBST(MCC) |
---|
371 | AC_SUBST(MEX) |
---|
372 | AC_SUBST(MEXEXT) |
---|
373 | AC_SUBST(MEX_ARCH) |
---|
374 | AC_SUBST(MKOCTFILE2) |
---|
375 | AC_SUBST(MKOCTFILE3) |
---|
376 | AC_SUBST(SVN_VERSION) |
---|
377 | AC_SUBST(OCTAVE_VERSION) |
---|
378 | AC_SUBST(OCTAVE_VERSION_MAJOR) |
---|
379 | AC_SUBST(PERL) |
---|
380 | AC_SUBST(PERL_ARCHLIB) |
---|
381 | AC_SUBST(PERL_ARCHLIBEXP) |
---|
382 | AC_SUBST(PERL_CCFLAGS) |
---|
383 | AC_SUBST(PERL_CPPFLAGS) |
---|
384 | AC_SUBST(PERL_INCLUDES) |
---|
385 | AC_SUBST(PERL_INSTALLARCHLIB) |
---|
386 | AC_SUBST(PERL_LIBSPEC) |
---|
387 | AC_SUBST(PERL_PRIVLIB) |
---|
388 | AC_SUBST(PERL_VENDORLIB) |
---|
389 | AC_SUBST(PERL_VERSION) |
---|
390 | AC_SUBST(PERL_VERSION_RV) |
---|
391 | AC_SUBST(PYTHON) |
---|
392 | AC_SUBST(PYTHON_CFLAGS) |
---|
393 | AC_SUBST(PYTHON_DISTUTILS) |
---|
394 | AC_SUBST(PYTHON_INCDIR) |
---|
395 | AC_SUBST(PYTHON_INCLUDES) |
---|
396 | AC_SUBST(PYTHON_LDFLAGS) |
---|
397 | AC_SUBST(PYTHON_LIB) |
---|
398 | AC_SUBST(PYTHON_LIBDIR) |
---|
399 | AC_SUBST(PYTHON_SITE_DIR) |
---|
400 | AC_SUBST(PYTHON_SITE_PACKAGES) |
---|
401 | AC_SUBST(PYTHON_VERSION) |
---|
402 | AC_SUBST(R) |
---|
403 | AC_SUBST(RP_BASE) |
---|
404 | AC_SUBST(RUBY) |
---|
405 | AC_SUBST(RUBY_PLATFORM) |
---|
406 | AC_SUBST(RUBY_VERSION_RV) |
---|
407 | AC_SUBST(SHLIB_CFLAGS) |
---|
408 | AC_SUBST(SHLIB_LD) |
---|
409 | AC_SUBST(SHLIB_LDFLAGS) |
---|
410 | AC_SUBST(SHLIB_SUFFIX) |
---|
411 | AC_SUBST(SIZEOF_INT) |
---|
412 | AC_SUBST(SIZEOF_LONG) |
---|
413 | AC_SUBST(SIZEOF_LONG_LONG) |
---|
414 | AC_SUBST(SIZEOF_VOID_P) |
---|
415 | AC_SUBST(STLIB_LD) |
---|
416 | AC_SUBST(TCLSH) |
---|
417 | AC_SUBST(TCL_INC_SPEC) |
---|
418 | AC_SUBST(TCL_LIB_SPEC) |
---|
419 | AC_SUBST(TCL_CFLAGS_DEBUG) |
---|
420 | AC_SUBST(TCL_CFLAGS_OPTIMIZE) |
---|
421 | AC_SUBST(TCL_SHLIB_CFLAGS) |
---|
422 | AC_SUBST(TCL_SHLIB_LD) |
---|
423 | AC_SUBST(TCL_SHLIB_LDFLAGS) |
---|
424 | AC_SUBST(TCL_SHLIB_SUFFIX) |
---|
425 | AC_SUBST(TCL_VERSION) |
---|
426 | AC_SUBST(TCL_VERSION) |
---|
427 | AC_SUBST(TK_INC_SPEC) |
---|
428 | AC_SUBST(TK_LIB_SPEC) |
---|
429 | AC_SUBST(TCL_CFLAGS_DEBUG) |
---|
430 | AC_SUBST(TCL_SHLIB_CFLAGS) |
---|
431 | AC_SUBST(TCL_SHLIB_SUFFIX) |
---|
432 | AC_SUBST(TCL_SHLIB_LD) |
---|
433 | AC_SUBST(TCL_SHLIB_LDFLAGS) |
---|
434 | AC_SUBST(TK_XLIBSW) |
---|
435 | AC_SUBST(TK_VERSION) |
---|
436 | AC_SUBST(VTKDIR) |
---|
437 | AC_SUBST(XSUBPP) |
---|
438 | |
---|
439 | ac_configure_args="--disable-threads --enable-shared" |
---|
440 | AC_CONFIG_SUBDIRS( [packages/optimizer/src] ) |
---|
441 | |
---|
442 | dnl read Makefile.in and write Makefile |
---|
443 | AC_CONFIG_FILES([ |
---|
444 | Makefile |
---|
445 | packages/Makefile |
---|
446 | src/Makefile |
---|
447 | src/core/Makefile |
---|
448 | src/core2/Makefile |
---|
449 | src/objects/Makefile |
---|
450 | src/objects/RpHash.h |
---|
451 | gui/Makefile |
---|
452 | gui/apps/Makefile |
---|
453 | gui/apps/about |
---|
454 | gui/apps/copy_rappture_examples |
---|
455 | gui/apps/encodedata |
---|
456 | gui/apps/rappture |
---|
457 | gui/apps/rappture-csh.env |
---|
458 | gui/apps/rappture.env |
---|
459 | gui/apps/rappture.use |
---|
460 | gui/apps/rerun |
---|
461 | gui/apps/simsim |
---|
462 | gui/apps/xmldiff |
---|
463 | gui/pkgIndex.tcl |
---|
464 | gui/scripts/Makefile |
---|
465 | gui/src/Makefile |
---|
466 | builder/Makefile |
---|
467 | builder/pkgIndex.tcl |
---|
468 | builder/scripts/Makefile |
---|
469 | tester/Makefile |
---|
470 | tester/pkgIndex.tcl |
---|
471 | tester/scripts/Makefile |
---|
472 | lang/Makefile |
---|
473 | lang/java/Makefile |
---|
474 | lang/java/rappture/Makefile |
---|
475 | lang/perl/Makefile |
---|
476 | lang/perl/Makefile.PL |
---|
477 | lang/python/Makefile |
---|
478 | lang/python/setup.py |
---|
479 | lang/matlab/Makefile |
---|
480 | lang/octave/Makefile |
---|
481 | lang/octave/octave2/Makefile |
---|
482 | lang/octave/octave3/Makefile |
---|
483 | lang/R/Makefile |
---|
484 | lang/ruby/Makefile |
---|
485 | lang/ruby/build.rb |
---|
486 | lang/tcl/Makefile |
---|
487 | lang/tcl/pkgIndex.tcl |
---|
488 | lang/tcl/scripts/Makefile |
---|
489 | lang/tcl/src/Makefile |
---|
490 | lang/tcl/tests/Makefile |
---|
491 | lib/Makefile |
---|
492 | examples/3D/Makefile |
---|
493 | examples/Makefile |
---|
494 | examples/app-fermi/2.0/Makefile |
---|
495 | examples/app-fermi/Makefile |
---|
496 | examples/app-fermi/cee/Makefile |
---|
497 | examples/app-fermi/fortran/Makefile |
---|
498 | examples/app-fermi/java/Makefile |
---|
499 | examples/app-fermi/matlab/Makefile |
---|
500 | examples/app-fermi/matlab/compiled/Makefile |
---|
501 | examples/app-fermi/matlab/uncompiled/Makefile |
---|
502 | examples/app-fermi/octave/octave2/Makefile |
---|
503 | examples/app-fermi/octave/octave3/Makefile |
---|
504 | examples/app-fermi/octave/Makefile |
---|
505 | examples/app-fermi/perl/Makefile |
---|
506 | examples/app-fermi/python/Makefile |
---|
507 | examples/app-fermi/ruby/Makefile |
---|
508 | examples/app-fermi/tcl/Makefile |
---|
509 | examples/app-fermi/wrapper/Makefile |
---|
510 | examples/app-fermi/wrapper/cee/Makefile |
---|
511 | examples/app-fermi/wrapper/perl/Makefile |
---|
512 | examples/app-fermi/wrapper/python/Makefile |
---|
513 | examples/app-fermi/wrapper/tcl/Makefile |
---|
514 | examples/app-fermi/R/Makefile |
---|
515 | examples/c-example/Makefile |
---|
516 | examples/canvas/Makefile |
---|
517 | examples/demo.bash |
---|
518 | examples/flow/Makefile |
---|
519 | examples/flow/demo1/Makefile |
---|
520 | examples/flow/demo2/Makefile |
---|
521 | examples/flow/demo3/Makefile |
---|
522 | examples/graph/Makefile |
---|
523 | examples/objects/Makefile |
---|
524 | examples/objects/axis/Makefile |
---|
525 | examples/objects/curve/Makefile |
---|
526 | examples/objects/dxWriter/Makefile |
---|
527 | examples/objects/floatBuffer/Makefile |
---|
528 | examples/objects/histogram/Makefile |
---|
529 | examples/objects/library/Makefile |
---|
530 | examples/objects/number/Makefile |
---|
531 | examples/objects/path/Makefile |
---|
532 | examples/objects/plot/Makefile |
---|
533 | examples/objects/scatter/Makefile |
---|
534 | examples/objects/string/Makefile |
---|
535 | examples/objects/tree/Makefile |
---|
536 | examples/objects/xmlparser/Makefile |
---|
537 | examples/zoo/Makefile |
---|
538 | examples/zoo/binary/Makefile |
---|
539 | examples/zoo/boolean/Makefile |
---|
540 | examples/zoo/choice/Makefile |
---|
541 | examples/zoo/curve/Makefile |
---|
542 | examples/zoo/drawing/Makefile |
---|
543 | examples/zoo/enable/Makefile |
---|
544 | examples/zoo/field/Makefile |
---|
545 | examples/zoo/group/Makefile |
---|
546 | examples/zoo/histogram/Makefile |
---|
547 | examples/zoo/image/Makefile |
---|
548 | examples/zoo/image/docs/Makefile |
---|
549 | examples/zoo/image/examples/Makefile |
---|
550 | examples/zoo/integer/Makefile |
---|
551 | examples/zoo/integer2/Makefile |
---|
552 | examples/zoo/loader/Makefile |
---|
553 | examples/zoo/loader/examples/Makefile |
---|
554 | examples/zoo/log/Makefile |
---|
555 | examples/zoo/mesh/Makefile |
---|
556 | examples/zoo/note/Makefile |
---|
557 | examples/zoo/note/docs/Makefile |
---|
558 | examples/zoo/number/Makefile |
---|
559 | examples/zoo/number2/Makefile |
---|
560 | examples/zoo/parallelepiped/Makefile |
---|
561 | examples/zoo/periodicelement/Makefile |
---|
562 | examples/zoo/phase/Makefile |
---|
563 | examples/zoo/sequence/Makefile |
---|
564 | examples/zoo/sequence/examples/Makefile |
---|
565 | examples/zoo/string/Makefile |
---|
566 | examples/zoo/structure/Makefile |
---|
567 | examples/zoo/structure/examples/Makefile |
---|
568 | examples/zoo/table/Makefile |
---|
569 | video/Makefile |
---|
570 | video/pkgIndex.tcl |
---|
571 | oldtest/Makefile |
---|
572 | oldtest/src/Makefile |
---|
573 | ]) |
---|
574 | AC_OUTPUT |
---|
575 | |
---|