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