Changeset 2310
- Timestamp:
- Jul 10, 2011, 6:47:35 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r2298 r2310 607 607 subdirs 608 608 VTKDIR 609 TK_VERSION 609 610 TK_XLIBSW 610 611 TK_LIB_SPEC 611 TK_ VERSION612 TK_INC_SPEC 612 613 TCL_VERSION 613 614 TCL_LIB_SPEC … … 2715 2716 2716 2717 2717 with_tclsh=yes2718 rp_with_tclsh="yes"2719 rp_with_mkoctfile2="no"2720 rp_with_mkoctfile3="no"2721 rp_with_octave="yes"2722 rp_with_vtk="yes"2723 rp_with_matlab="yes"2724 rp_with_perl="yes"2725 rp_with_python="yes"2726 rp_with_ruby="yes"2727 rp_with_java="yes"2728 with_install="yes"2729 2730 2718 #------------------------------------------------------------------------ 2731 2719 # Handle the --prefix=... option … … 2746 2734 with_install=yes 2747 2735 fi 2736 2748 2737 2749 2738 if test "$with_install" != "yes"; then … … 7237 7226 # Check whether --with-tclsh was given. 7238 7227 if test "${with_tclsh+set}" = set; then : 7239 withval=$with_tclsh; rp_with_tclsh=$withval7240 else 7241 rp_with_tclsh=yes7228 withval=$with_tclsh; 7229 else 7230 with_tclsh=yes 7242 7231 fi 7243 7232 7244 7233 7245 7234 TCLSH="" 7246 if test "${ rp_with_tclsh}" != "no" ; then7235 if test "${with_tclsh}" != "no" ; then 7247 7236 tclsh="tclsh${TCL_VERSION}" 7248 if test "${ rp_with_tclsh}" = "yes" ; then7237 if test "${with_tclsh}" = "yes" ; then 7249 7238 # Extract the first word of "${tclsh}", so it can be a program name with args. 7250 7239 set dummy ${tclsh}; ac_word=$2 … … 7302 7291 *) 7303 7292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7304 as_dummy="${ rp_with_tclsh}/bin:${rp_with_tclsh}"7293 as_dummy="${with_tclsh}/bin:${with_tclsh}" 7305 7294 for as_dir in $as_dummy 7306 7295 do … … 7343 7332 # Check whether --with-vtk was given. 7344 7333 if test "${with_vtk+set}" = set; then : 7345 withval=$with_vtk; rp_with_vtk=$withval7346 else 7347 rp_with_vtk=yes7334 withval=$with_vtk; 7335 else 7336 with_vtk=yes 7348 7337 fi 7349 7338 … … 7353 7342 VTKDIR="" 7354 7343 7355 if test "$ rp_with_vtk" != "no" ; then7356 if test "$ rp_with_vtk" = "yes" ; then7344 if test "$with_vtk" != "no" ; then 7345 if test "$with_vtk" = "yes" ; then 7357 7346 for path in \ 7358 7347 $libdir \ … … 8464 8453 8465 8454 8466 rp_with_ruby="yes"8467 8468 8455 RUBY="" 8469 8456 RUBY_DEV_PKG="no" … … 8472 8459 # Check whether --with-ruby was given. 8473 8460 if test "${with_ruby+set}" = set; then : 8474 withval=$with_ruby; rp_with_ruby=$withval 8475 fi 8476 8477 8478 if test "${rp_with_ruby}" != "no" ; then 8479 if test "${rp_with_ruby}" = "yes" ; then 8461 withval=$with_ruby; 8462 else 8463 with_ruby="yes" 8464 fi 8465 8466 8467 if test "${with_ruby}" != "no" ; then 8468 if test "${with_ruby}" = "yes" ; then 8480 8469 # Extract the first word of "ruby", so it can be a program name with args. 8481 8470 set dummy ruby; ac_word=$2 … … 8532 8521 *) 8533 8522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8534 as_dummy="${ rp_with_ruby}/bin:${rp_with_ruby}"8523 as_dummy="${with_ruby}/bin:${with_ruby}" 8535 8524 for as_dir in $as_dummy 8536 8525 do … … 9614 9603 9615 9604 9605 9616 9606 ac_configure_args="--disable-threads --enable-shared" 9617 9607 … … 9620 9610 9621 9611 9622 ac_config_files="$ac_config_files Makefile packages/Makefile src/Makefile src/core/Makefile src/core2/Makefile src/objects/Makefile src/objects/RpHash.h gui/Makefile gui/apps/Makefile gui/apps/about gui/apps/encodedata gui/apps/rappture gui/apps/rappture-csh.env gui/apps/rappture.env gui/apps/rappture.use gui/apps/rerun gui/apps/simsim gui/apps/xmldiff gui/pkgIndex.tcl gui/scripts/Makefile gui/src/Makefile builder/Makefile builder/pkgIndex.tcl builder/scripts/Makefile tester/Makefile tester/pkgIndex.tcl tester/scripts/Makefile lang/Makefile lang/java/Makefile lang/java/rappture/Makefile lang/perl/Makefile lang/perl/Makefile.PL lang/python/Makefile lang/python/setup.py lang/matlab/Makefile lang/octave/Makefile lang/octave/octave2/Makefile lang/octave/octave3/Makefile lang/ruby/Makefile lang/ruby/build.rb lang/tcl/Makefile lang/tcl/pkgIndex.tcl lang/tcl/src/Makefile lang/tcl/scripts/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/java/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/ 2/Makefile examples/app-fermi/octave/3/Makefile examples/app-fermi/octave/Makefile examples/app-fermi/perl/Makefile examples/app-fermi/python/Makefile examples/app-fermi/ruby/Makefile examples/app-fermi/tcl/Makefile examples/app-fermi/wrapper/Makefile examples/app-fermi/wrapper/cee/Makefile examples/app-fermi/wrapper/perl/Makefile examples/app-fermi/wrapper/python/Makefile examples/app-fermi/wrapper/tcl/Makefile examples/c-example/Makefile examples/canvas/Makefile examples/demo.bash examples/flow/Makefile examples/flow/demo1/Makefile examples/flow/demo2/Makefile examples/flow/demo3/Makefile examples/graph/Makefile examples/objects/Makefile examples/objects/axis/Makefile examples/objects/contour/Makefile examples/objects/curve/Makefile examples/objects/dxWriter/Makefile examples/objects/floatBuffer/Makefile examples/objects/histogram/Makefile examples/objects/library/Makefile examples/objects/number/Makefile examples/objects/path/Makefile examples/objects/plot/Makefile examples/objects/scatter/Makefile examples/objects/string/Makefile examples/objects/tree/Makefile examples/objects/xmlparser/Makefile examples/zoo/Makefile examples/zoo/binary/Makefile examples/zoo/boolean/Makefile examples/zoo/choice/Makefile examples/zoo/cloud/Makefile examples/zoo/cloud/matlab/Makefile examples/zoo/curve/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/group/Makefile examples/zoo/image/Makefileexamples/zoo/image/docs/Makefile examples/zoo/image/examples/Makefile examples/zoo/integer/Makefile examples/zoo/integer2/Makefile examples/zoo/loader/Makefile examples/zoo/loader/examples/Makefile examples/zoo/loadrun/Makefile examples/zoo/log/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/Makefile examples/zoo/parallelepiped/Makefile examples/zoo/periodicelement/Makefile examples/zoo/phase/Makefile examples/zoo/sequence/Makefile examples/zoo/sequence/examples/Makefile examples/zoo/string/Makefile examples/zoo/structure/Makefile examples/zoo/structure/examples/Makefile examples/zoo/table/Makefile examples/zoo/unirect2d/Makefile oldtest/Makefile oldtest/src/Makefile"9612 ac_config_files="$ac_config_files Makefile packages/Makefile src/Makefile src/core/Makefile src/core2/Makefile src/objects/Makefile src/objects/RpHash.h gui/Makefile gui/apps/Makefile gui/apps/about gui/apps/encodedata gui/apps/rappture gui/apps/rappture-csh.env gui/apps/rappture.env gui/apps/rappture.use gui/apps/rerun gui/apps/simsim gui/apps/xmldiff gui/pkgIndex.tcl gui/scripts/Makefile gui/src/Makefile builder/Makefile builder/pkgIndex.tcl builder/scripts/Makefile tester/Makefile tester/pkgIndex.tcl tester/scripts/Makefile lang/Makefile lang/java/Makefile lang/java/rappture/Makefile lang/perl/Makefile lang/perl/Makefile.PL lang/python/Makefile lang/python/setup.py lang/matlab/Makefile lang/octave/Makefile lang/octave/octave2/Makefile lang/octave/octave3/Makefile lang/ruby/Makefile lang/ruby/build.rb lang/tcl/Makefile lang/tcl/pkgIndex.tcl lang/tcl/src/Makefile lang/tcl/scripts/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/java/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/octave2/Makefile examples/app-fermi/octave/octave3/Makefile examples/app-fermi/octave/Makefile examples/app-fermi/perl/Makefile examples/app-fermi/python/Makefile examples/app-fermi/ruby/Makefile examples/app-fermi/tcl/Makefile examples/app-fermi/wrapper/Makefile examples/app-fermi/wrapper/cee/Makefile examples/app-fermi/wrapper/perl/Makefile examples/app-fermi/wrapper/python/Makefile examples/app-fermi/wrapper/tcl/Makefile examples/c-example/Makefile examples/canvas/Makefile examples/demo.bash examples/flow/Makefile examples/flow/demo1/Makefile examples/flow/demo2/Makefile examples/flow/demo3/Makefile examples/graph/Makefile examples/objects/Makefile examples/objects/axis/Makefile examples/objects/contour/Makefile examples/objects/curve/Makefile examples/objects/dxWriter/Makefile examples/objects/floatBuffer/Makefile examples/objects/histogram/Makefile examples/objects/library/Makefile examples/objects/number/Makefile examples/objects/path/Makefile examples/objects/plot/Makefile examples/objects/scatter/Makefile examples/objects/string/Makefile examples/objects/tree/Makefile examples/objects/xmlparser/Makefile examples/zoo/Makefile examples/zoo/binary/Makefile examples/zoo/boolean/Makefile examples/zoo/choice/Makefile examples/zoo/cloud/Makefile examples/zoo/cloud/matlab/Makefile examples/zoo/curve/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/group/Makefile examples/zoo/image/Makefilexs examples/zoo/image/docs/Makefile examples/zoo/image/examples/Makefile examples/zoo/integer/Makefile examples/zoo/integer2/Makefile examples/zoo/loader/Makefile examples/zoo/loader/examples/Makefile examples/zoo/loadrun/Makefile examples/zoo/log/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/Makefile examples/zoo/parallelepiped/Makefile examples/zoo/periodicelement/Makefile examples/zoo/phase/Makefile examples/zoo/sequence/Makefile examples/zoo/sequence/examples/Makefile examples/zoo/string/Makefile examples/zoo/structure/Makefile examples/zoo/structure/examples/Makefile examples/zoo/table/Makefile examples/zoo/unirect2d/Makefile oldtest/Makefile oldtest/src/Makefile" 9623 9613 9624 9614 cat >confcache <<\_ACEOF … … 10384 10374 "examples/app-fermi/matlab/compiled/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/matlab/compiled/Makefile" ;; 10385 10375 "examples/app-fermi/matlab/uncompiled/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/matlab/uncompiled/Makefile" ;; 10386 "examples/app-fermi/octave/ 2/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/octave/2/Makefile" ;;10387 "examples/app-fermi/octave/ 3/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/octave/3/Makefile" ;;10376 "examples/app-fermi/octave/octave2/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/octave/octave2/Makefile" ;; 10377 "examples/app-fermi/octave/octave3/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/octave/octave3/Makefile" ;; 10388 10378 "examples/app-fermi/octave/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/octave/Makefile" ;; 10389 10379 "examples/app-fermi/perl/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/perl/Makefile" ;; … … 10429 10419 "examples/zoo/field/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/field/Makefile" ;; 10430 10420 "examples/zoo/group/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/group/Makefile" ;; 10431 "examples/zoo/image/Makefile ") CONFIG_FILES="$CONFIG_FILES examples/zoo/image/Makefile" ;;10421 "examples/zoo/image/Makefilexs") CONFIG_FILES="$CONFIG_FILES examples/zoo/image/Makefilexs" ;; 10432 10422 "examples/zoo/image/docs/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/image/docs/Makefile" ;; 10433 10423 "examples/zoo/image/examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/image/examples/Makefile" ;; -
trunk/configure.in
r2298 r2310 4 4 AC_CONFIG_AUX_DIR(cf) 5 5 AC_CONFIG_HEADER(src/core/config.h) 6 7 with_tclsh=yes8 rp_with_tclsh="yes"9 rp_with_mkoctfile2="no"10 rp_with_mkoctfile3="no"11 rp_with_octave="yes"12 rp_with_vtk="yes"13 rp_with_matlab="yes"14 rp_with_perl="yes"15 rp_with_python="yes"16 rp_with_ruby="yes"17 rp_with_java="yes"18 with_install="yes"19 6 20 7 #------------------------------------------------------------------------ … … 35 22 [], 36 23 [with_install=yes]) 24 37 25 if test "$with_install" != "yes"; then 38 26 INSTALL_PREFIX=$with_install … … 153 141 [AS_HELP_STRING([--with-tclsh[=DIR]], 154 142 [location of tclsh @<:@default=yes@:>@])], 155 [ rp_with_tclsh=$withval],156 [ rp_with_tclsh=yes])143 [], 144 [with_tclsh=yes]) 157 145 158 146 TCLSH="" 159 if test "${ rp_with_tclsh}" != "no" ; then147 if test "${with_tclsh}" != "no" ; then 160 148 tclsh="tclsh${TCL_VERSION}" 161 if test "${ rp_with_tclsh}" = "yes" ; then149 if test "${with_tclsh}" = "yes" ; then 162 150 AC_PATH_PROG(TCLSH, ${tclsh}, [], [${exec_prefix}/bin:${PATH}]) 163 151 else 164 AC_PATH_PROG(TCLSH, ${tclsh}, [], [${ rp_with_tclsh}/bin:${rp_with_tclsh}])152 AC_PATH_PROG(TCLSH, ${tclsh}, [], [${with_tclsh}/bin:${with_tclsh}]) 165 153 fi 166 154 if test "x${TCLSH}" = "x" ; then … … 177 165 [AS_HELP_STRING([--with-vtk[=DIR]], 178 166 [location of vtk library @<:@default=yes@:>@])], 179 [rp_with_vtk=$withval], [rp_with_vtk=yes]) 167 [], 168 [with_vtk=yes]) 180 169 181 170 AC_MSG_CHECKING([for vtk]) 182 171 VTKDIR="" 183 172 184 if test "$ rp_with_vtk" != "no" ; then185 if test "$ rp_with_vtk" = "yes" ; then173 if test "$with_vtk" != "no" ; then 174 if test "$with_vtk" = "yes" ; then 186 175 for path in \ 187 176 $libdir \ … … 209 198 RP_LANG_JAVA 210 199 211 rp_with_ruby="yes"212 213 200 RUBY="" 214 201 RUBY_DEV_PKG="no" … … 217 204 [ruby], 218 205 [AS_HELP_STRING([--with-ruby=DIR], [location of ruby @<:@default=yes@:>@])], 219 [rp_with_ruby=$withval]) 220 221 if test "${rp_with_ruby}" != "no" ; then 222 if test "${rp_with_ruby}" = "yes" ; then 206 [], 207 [with_ruby="yes"]) 208 209 if test "${with_ruby}" != "no" ; then 210 if test "${with_ruby}" = "yes" ; then 223 211 AC_PATH_PROG(RUBY, ruby) 224 212 else 225 AC_PATH_PROG(RUBY, ruby, [], [${ rp_with_ruby}/bin:${rp_with_ruby}])213 AC_PATH_PROG(RUBY, ruby, [], [${with_ruby}/bin:${with_ruby}]) 226 214 fi 227 215 fi … … 261 249 # ----------------------------------------------------------------------- 262 250 # 263 # Compiler characteristics: 251 # Compiler characteristics: 264 252 # Check for existence of types of size_t and pid_t 265 253 # … … 429 417 AC_SUBST(TCL_VERSION) 430 418 AC_SUBST(TCL_VERSION) 431 AC_SUBST(TK_ VERSION)419 AC_SUBST(TK_INC_SPEC) 432 420 AC_SUBST(TK_LIB_SPEC) 433 421 AC_SUBST(TK_XLIBSW) 422 AC_SUBST(TK_VERSION) 434 423 AC_SUBST(VTKDIR) 435 424 … … 495 484 examples/app-fermi/matlab/compiled/Makefile 496 485 examples/app-fermi/matlab/uncompiled/Makefile 497 examples/app-fermi/octave/ 2/Makefile498 examples/app-fermi/octave/ 3/Makefile486 examples/app-fermi/octave/octave2/Makefile 487 examples/app-fermi/octave/octave3/Makefile 499 488 examples/app-fermi/octave/Makefile 500 489 examples/app-fermi/perl/Makefile … … 540 529 examples/zoo/field/Makefile 541 530 examples/zoo/group/Makefile 542 examples/zoo/image/Makefile 531 examples/zoo/image/Makefilexs 543 532 examples/zoo/image/docs/Makefile 544 533 examples/zoo/image/examples/Makefile -
trunk/gui/src/RpDiffview.c
r2135 r2310 2396 2396 Tcl_HashEntry *entryPtr; 2397 2397 Tcl_DString buffer; 2398 DiffviewSubseq *K, *newK, newCandidate; int Kmax; int Klen; 2398 DiffviewSubseq *K, *newK, newCandidate; 2399 int Kmax; int Klen; 2399 2400 Tcl_Obj *listPtr, **objv; 2400 2401 int i, j, candidateIdx, subseqLen, longestMatch; … … 2402 2403 int len, created, o, objc, index1, *lcsIndex1, index2, *lcsIndex2; 2403 2404 char *key; 2405 2406 newCandidate.index1 = -1; /* Suppress compiler warning. */ 2407 newCandidate.index2 = -1; 2408 newCandidate.next = -1; 2404 2409 2405 2410 /* -
trunk/lang/tcl/src/RpRusage.c
r2195 r2310 380 380 */ 381 381 static void 382 RpDestroyMarkNames( cdata, interp)383 ClientData cdata ;/* data being destroyed */384 Tcl_Interp *interp ; /* interpreter that owned the data */382 RpDestroyMarkNames( 383 ClientData cdata, /* data being destroyed */ 384 Tcl_Interp *interp) /* Interpreter that owned the data */ 385 385 { 386 386 Tcl_HashTable *markNamesPtr = cdata; … … 388 388 Tcl_HashSearch search; 389 389 390 for (entryPtr=Tcl_FirstHashEntry(markNamesPtr, &search); 391 entryPtr != NULL; 390 for (entryPtr = Tcl_FirstHashEntry(markNamesPtr, &search); entryPtr != NULL; 392 391 entryPtr = Tcl_NextHashEntry(&search)) { 393 392 ckfree( (char*)Tcl_GetHashValue(entryPtr) );
Note: See TracChangeset
for help on using the changeset viewer.