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