- Timestamp:
- Dec 17, 2006, 8:11:46 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.in
r558 r563 70 70 # matlab bindings 71 71 build_matlab: 72 cd src/matlab; make clean; make RpMatlab; cd - 72 if test "x@MEX@" != "x" ; then \ 73 cd src/matlab; make clean; make RpMatlab; cd -; \ 74 fi 73 75 74 76 install_matlab: build_matlab 75 cd src/matlab; make install; cd - 77 if test "x@MEX@" != "x" ; then \ 78 cd src/matlab; make install; cd -; \ 79 fi 76 80 77 81 # octave bindings 78 82 build_octave: 79 cd src/octave; make clean; make RpOctave; cd - 83 if test "x@MKOCTFILE@" != "x" ; then \ 84 cd src/octave; make clean; make RpOctave; cd -; \ 85 fi 80 86 81 87 install_octave: build_octave 82 cd src/octave; make install; cd - 88 if test "x@MKOCTFILE@" != "x" ; then \ 89 cd src/octave; make install; cd -; \ 90 fi 83 91 84 92 build_python: 85 set -x; 86 cd python; \ 87 @PYTHON@ setup.py \ 88 build_ext \ 89 --library-dirs=@prefix@/lib \ 90 --include-dirs=@prefix@/include \ 91 build 93 if test "x@PYTHON@" != "x" ; then \ 94 set -x; \ 95 cd python; \ 96 @PYTHON@ setup.py \ 97 build_ext \ 98 --library-dirs=@prefix@/lib \ 99 --include-dirs=@prefix@/include \ 100 build; \ 101 fi 92 102 93 103 install_python: build_python 94 set -x; 95 cd python; \ 96 @PYTHON@ setup.py install --prefix=@prefix@ 104 if test "x@PYTHON@" != "x" ; then \ 105 set -x; \ 106 cd python; \ 107 @PYTHON@ setup.py install --prefix=@prefix@; \ 108 fi 97 109 98 110 build_perl: 99 set -x; 100 cd perl; \ 101 @PERL@ Makefile.PL INSTALLSITELIB=@prefix@/lib/perl5 INSTALLSITEMAN3DIR=@prefix@/man/man3; \ 102 make; make test; 111 if test "x@PERL@" != "x" ; then \ 112 set -x; \ 113 cd perl; \ 114 @PERL@ Makefile.PL INSTALLSITELIB=@prefix@/lib/perl5 INSTALLSITEMAN3DIR=@prefix@/man/man3; \ 115 make; make test; \ 116 fi 103 117 104 118 install_perl: build_perl 105 set -x; 106 cd perl; make install; 119 if test "x@PERL@" != "x" ; then \ 120 set -x; \ 121 cd perl; make install; \ 122 fi 107 123 108 124 build_pkgs: -
trunk/configure
r558 r563 675 675 PYTHON 676 676 pythondir 677 MEX_ARCH 677 678 PERL_INCLUDES 678 679 PYTHON_VERSION … … 1272 1273 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1273 1274 --with-matlab=DIR Build Matlab bindings if MEX compiler is found 1275 --with-matlab-arch=ARCH Build Matlab bindings for ARCH architecture 1274 1276 --with-octave=DIR Build Octave bindings if MKOCTFILE compiler is found 1275 1277 --with-perl=DIR Build Perl bindings if found … … 4949 4951 fi 4950 4952 4953 4954 # Check whether --with-matlab_arch was given. 4955 if test "${with_matlab_arch+set}" = set; then 4956 withval=$with_matlab_arch; 4957 fi 4958 4951 4959 MEX= 4960 MEX_ARCH= 4952 4961 if test "$with_matlab" != "no" ; then 4953 4962 if test -x "$with_matlab/bin/mex" … … 5003 5012 fi 5004 5013 fi 5014 fi 5015 if test "x$with_matlab_arch" != "x" ; then 5016 MEX_ARCH="-arch=$with_matlab_arch" 5005 5017 fi 5006 5018 … … 5992 6004 PYTHON!$PYTHON$ac_delim 5993 6005 pythondir!$pythondir$ac_delim 6006 MEX_ARCH!$MEX_ARCH$ac_delim 5994 6007 PERL_INCLUDES!$PERL_INCLUDES$ac_delim 5995 6008 PYTHON_VERSION!$PYTHON_VERSION$ac_delim … … 6003 6016 _ACEOF 6004 6017 6005 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 69; then6018 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 70; then 6006 6019 break 6007 6020 elif $ac_last_try; then -
trunk/configure.in
r558 r563 36 36 37 37 AC_ARG_WITH(matlab, [ --with-matlab[=DIR] Build Matlab bindings if MEX compiler is found]) 38 AC_ARG_WITH(matlab_arch, [ --with-matlab-arch[=ARCH] Build Matlab bindings for ARCH architecture]) 38 39 dnl AC_CHECK_PROG(MEX, mex, mex, false) 39 40 MEX= 41 MEX_ARCH= 40 42 if test "$with_matlab" != "no" ; then 41 43 dnl WITH_MATLAB = "yes" … … 54 56 fi 55 57 fi 58 if test "x$with_matlab_arch" != "x" ; then 59 MEX_ARCH="-arch=$with_matlab_arch" 60 fi 61 dnl AC_CHECK_PROG(MEX, mex, mex, false) 56 62 dnl AM_CONDITIONAL(WITH_MATLAB, test x$MEX != x) 57 63 … … 170 176 dnl AM_CONDITIONAL(WITH_PYTHON, test x$PYTHON != x) 171 177 172 dnl AM_CONDITIONAL(WITH_PYTHON, test "$PYTHON_INCLUDES" != "")173 dnl if test "$PYTHON_INCLUDES" != ""174 dnl then175 dnl PYTHON_SUBDIR=python176 dnl else177 dnl PYTHON_SUBDIR=178 dnl fi179 180 178 AC_SUBST(pythondir) 181 179 dnl AC_SUBST(PYTHON_SUBDIR) 182 180 183 181 AC_SUBST(MEX) 182 AC_SUBST(MEX_ARCH) 184 183 AC_SUBST(MKOCTFILE) 185 184 AC_SUBST(PERL) -
trunk/gui/scripts/gauge.tcl
r562 r563 218 218 set newval [set nv [lindex $args 0]] 219 219 set units $itk_option(-units) 220 if {$units != ""} { 221 set nvUnits [Rappture::Units::Search::for $nv] 220 if {"" != $units} { 221 set newval [Rappture::Units::convert $newval \ 222 -context $units] 223 set nvUnits [Rappture::Units::Search::for $newval] 222 224 if { "" == $nvUnits} { 223 225 set msg [Rappture::Units::description $units] 224 error "Unrecognized units: $nv\n$mesg" 225 } 226 set newval [Rappture::Units::convert $newval \ 227 -context $units] 226 error "Unrecognized units: $newval\nEnter value with units $msg" 227 } 228 228 set nv [Rappture::Units::convert $nv \ 229 229 -context $units -to $units -units off] -
trunk/src/matlab/Makefile.in
r520 r563 14 14 # define our compiling environment 15 15 # 16 MEX = @MEX@ 16 MEX = @MEX@ @MEX_ARCH@ 17 17 18 18 # define our directories
Note: See TracChangeset
for help on using the changeset viewer.