chiark / gitweb /
if user specifies OCT_INSTALL_DIR, make M_INSTALL_DIR (if unspecified) default to...
authorstevenj <stevenj@alum.mit.edu>
Fri, 9 Jul 2010 16:34:03 +0000 (12:34 -0400)
committerstevenj <stevenj@alum.mit.edu>
Fri, 9 Jul 2010 16:34:03 +0000 (12:34 -0400)
darcs-hash:20100709163403-c8de0-5a5f3e0c9f02e3f9995138880a3d74883f96896d.gz

configure.ac

index 3effe1a292c9282ff796dd0472938500f50e7f81..00f2a297e9085a1e817c7e2a32d30ff0cff8f3cf 100644 (file)
@@ -245,6 +245,8 @@ elif test x"$OCT_INSTALL_DIR" = "x"; then
                AC_MSG_WARN([can't find where to install octave scripts: won't be able to install octave plugin])
                OCT_INSTALL_DIR=""
        fi
+elif test x"$M_INSTALL_DIR" = "x"; then # user-specified OCT_INSTALL_DIR
+     M_INSTALL_DIR=$OCT_INSTALL_DIR
 fi
 
 if test x"$OCT_INSTALL_DIR" != "x"; then