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