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