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