Changeset 1058
- Timestamp:
- Jun 23, 2008, 2:13:23 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r1057 r1058 722 722 INSTALL_LIB 723 723 INSTALL_STUB_LIB 724 MAKE 724 725 ENABLE_GUI 725 726 TCLSH … … 756 757 with_tclsh 757 758 with_matlab 758 with_matlab_arch759 with_mexext760 759 with_octave 761 760 with_perl … … 1415 1414 --with-tclsh=DIR location of tclsh [default=check] 1416 1415 --with-matlab=DIR location of matlab and mex compiler [default=check] 1417 --with-matlab-arch=ARCH build Matlab bindings for ARCH architecture1418 [default=check]1419 --with-mexext=ARCH fallback extension for building mex files1420 [default=check]1421 1416 --with-octave=DIR location of octave compiler MKOCTFILE 1422 1417 [default=check] … … 8458 8453 8459 8454 8455 make_command="" 8456 for m in "$MAKE" make gmake gnumake ; do 8457 if test "x${m}" != "x" ; then 8458 if ( sh -c "$m --version" 2>/dev/null | grep GNU >/dev/null ) ; then 8459 make_command=$m; break; 8460 fi 8461 fi 8462 done 8463 if test "x${make_command}" = "x" ; then 8464 { { $as_echo "$as_me:$LINENO: error: Requires GNU make. You can specify a version with \$MAKE" >&5 8465 $as_echo "$as_me: error: Requires GNU make. You can specify a version with \$MAKE" >&2;} 8466 { (exit 1); exit 1; }; } 8467 fi 8468 MAKE=${make_command} 8469 8470 8460 8471 # Check whether --enable-gui was given. 8461 8472 if test "${enable_gui+set}" = set; then … … 8546 8557 8547 8558 8548 8549 8559 # Check whether --with-matlab was given. 8550 8560 if test "${with_matlab+set}" = set; then 8551 withval=$with_matlab; 8552 else 8553 with_matlab=check 8554 fi 8555 8556 8557 8558 # Check whether --with-matlab_arch was given. 8559 if test "${with_matlab_arch+set}" = set; then 8560 withval=$with_matlab_arch; 8561 else 8562 with_matlab_arch=check 8563 fi 8564 8565 8566 8567 # Check whether --with-mexext was given. 8568 if test "${with_mexext+set}" = set; then 8569 withval=$with_mexext; 8570 else 8571 with_mexext=check 8561 withval=$with_matlab; with_matlab=$withval 8562 else 8563 with_matlab=yes 8572 8564 fi 8573 8565 … … 8643 8635 # Check whether --with-octave was given. 8644 8636 if test "${with_octave+set}" = set; then 8645 withval=$with_octave; 8646 else 8647 with_octave= check8637 withval=$with_octave; with_octave=$withval 8638 else 8639 with_octave=yes 8648 8640 fi 8649 8641 -
trunk/configure.in
r1057 r1058 49 49 50 50 SC_CONFIG_CFLAGS 51 52 make_command="" 53 for m in "$MAKE" make gmake gnumake ; do 54 if test "x${m}" != "x" ; then 55 if ( sh -c "$m --version" 2>/dev/null | grep GNU >/dev/null ) ; then 56 make_command=$m; break; 57 fi 58 fi 59 done 60 if test "x${make_command}" = "x" ; then 61 AC_ERROR([Requires GNU make. You can specify a version with \$MAKE]) 62 fi 63 AC_SUBST(MAKE, ${make_command}) 51 64 52 65 AC_ARG_ENABLE( … … 100 113 101 114 102 dnl AC_ARG_ENABLE (103 dnl [matlab],104 dnl [AS_HELP_STRING([--enable-matlab], [build matlab bindings @<:@default=check@:>@])],105 dnl [],106 dnl [enable_matlab=check])107 dnl BUILD_MATLAB=yes108 dnl AC_SUBST(BUILD_MATLAB)109 110 115 AC_ARG_WITH( 111 116 [matlab], 112 117 [AS_HELP_STRING([--with-matlab[=DIR]], 113 118 [location of matlab and mex compiler @<:@default=check@:>@])], 114 [], 115 [with_matlab=check]) 116 117 AC_ARG_WITH( 118 [matlab_arch], 119 [AS_HELP_STRING([--with-matlab-arch[=ARCH]], 120 [build Matlab bindings for ARCH architecture @<:@default=check@:>@])], 121 [], 122 [with_matlab_arch=check]) 123 124 AC_ARG_WITH( 125 [mexext], 126 [AS_HELP_STRING([--with-mexext[=ARCH]], 127 [fallback extension for building mex files @<:@default=check@:>@])], 128 [], 129 [with_mexext=check]) 119 [with_matlab=$withval], 120 [with_matlab=yes]) 130 121 131 122 MEX="" … … 157 148 [AS_HELP_STRING([--with-octave[=DIR]], 158 149 [location of octave compiler MKOCTFILE @<:@default=check@:>@])], 159 [ ],160 [with_octave= check])150 [with_octave=$withval], 151 [with_octave=yes]) 161 152 162 153 MKOCTFILE=
Note: See TracChangeset
for help on using the changeset viewer.