Changeset 833 for trunk/configure.in
- Timestamp:
- Dec 26, 2007, 5:19:28 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.in
r719 r833 1 AC_INIT( rappture, 1.1, rappture@nanohub.org)1 AC_INIT(Rappture Core and Bindings, 1.1, rappture@nanohub.org) 2 2 3 3 VERSION=0.0.1 … … 90 90 MEXEXT= 91 91 dnl if test "$enable_matlab" != "no" ; then 92 AC_MSG_CHECKING([for mex]) 92 if test "$with_matlab" != "no" ; then 93 AC_MSG_CHECKING([for matlab's mex]) 93 94 if test "$with_matlab" != "no" ; then 94 95 dnl WITH_MATLAB = "yes" 95 96 if test -x "$with_matlab/bin/mex" 96 97 then 97 echo Found mex in $with_matlab/bin/mex98 dnl # echo Found mex in $with_matlab/bin/mex 98 99 MEX="$with_matlab/bin/mex" 99 100 else 100 101 if test -x "$with_matlab" 101 102 then 102 echo Found mex in $with_matlab103 dnl # echo Found mex in $with_matlab 103 104 MEX="$with_matlab" 104 105 else 105 106 AC_PATH_PROG(MEX, mex) 106 107 fi 108 fi 109 matlab_path=`dirname $MEX`/matlab 110 if test -x "$matlab_path" 111 then 112 MEX=${MEX} 113 else 114 MEX= 107 115 fi 108 116 AC_MSG_RESULT([${MEX}]) … … 137 145 AC_MSG_RESULT([${MEXEXT}]) 138 146 else 147 dnl we shouldn't bother the user if we dont find matlab 148 dnl just put out the message and don't compile matlab bindings 139 149 echo "can't find the matlab compiler \"mex\"" 140 150 echo "use --with-matlab=DIR to specify the location of a matlab installation" 141 exit 1142 fi 143 fi 144 dnlfi151 dnl # exit 1 152 fi 153 fi 154 fi 145 155 AC_SUBST(MEX) 146 156 AC_SUBST(MEX_ARCH) … … 166 176 MKOCTFILE= 167 177 dnl if test "$enable_octave" != "no" ; then 178 if test "$with_octave" != "no" ; then 168 179 AC_MSG_CHECKING([for mkoctfile]) 169 180 if test "$with_octave" != "no" ; then 170 181 if test -x "$with_octave/bin/mkoctfile" 171 182 then 172 echo Found octave in $with_octave/bin/mkoctfile183 dnl echo Found octave in $with_octave/bin/mkoctfile 173 184 MKOCTFILE="$with_octave/bin/mkoctfile" 174 185 else … … 179 190 else 180 191 AC_PATH_PROG(MKOCTFILE, mkoctfile) 192 if test "x$MKOCTFILE" == "x" ; then 193 dnl we shouldn't bother the user if we dont find mkoctfile 194 dnl just put out the message and don't compile octave bindings 195 echo "can't find the matlab compiler \"mkoctfile\"" 196 echo "use --with-octave=DIR to specify the location of a mkoctfile installation" 197 dnl # exit 1 198 fi 181 199 fi 182 200 fi 183 201 fi 184 202 AC_MSG_RESULT([${MKOCTFILE}]) 185 dnlfi203 fi 186 204 AC_SUBST(MKOCTFILE) 187 205 188 206 189 dnl perl and python check borrowed from 207 dnl perl and python check borrowed from 190 208 dnl http://www.opensource.apple.com/darwinsource/Current/libxslt-8.1/libxslt/configure.in 191 209 dnl … … 211 229 PERL_INCLUDES= 212 230 PERL_SITE_PACKAGES= 213 AC_MSG_CHECKING([for mkoctfile])214 231 if test "$with_perl" != "no" ; then 232 AC_MSG_CHECKING([for perl]) 215 233 if test -x "$with_perl/bin/perl" 216 234 then … … 258 276 259 277 if test "$with_python" != "no" ; then 278 AC_MSG_CHECKING([for python]) 260 279 if test -x "$with_python/bin/python" 261 280 then
Note: See TracChangeset
for help on using the changeset viewer.