From: stevenj Date: Thu, 13 Nov 2008 19:56:30 +0000 (-0500) Subject: fix overriding of MEX_INSTALL_DIR X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=bd71c221e8ee28c499516f26af18a464f9e07274;p=nlopt.git fix overriding of MEX_INSTALL_DIR darcs-hash:20081113195630-c8de0-b2f6dee660bd644a90671e1b84a44c296669c392.gz --- diff --git a/configure.ac b/configure.ac index 014ada0..7e7e078 100644 --- a/configure.ac +++ b/configure.ac @@ -127,7 +127,7 @@ AC_ARG_VAR(MEX, [name of mex program to compile Matlab plug-ins]) AC_CHECK_PROGS(MEX, mex, echo) if test "$MEX" = "echo"; then AC_MSG_WARN([can't find mex: won't be able to compile Matlab plugin]) -elif test x"$MEX_INSTALL_DIR" = "x"; then +else AC_MSG_CHECKING([for extension of compiled mex files]) rm -f conftest* cat > conftest.c <