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