diff --git a/mex/build/matlab/configure.ac b/mex/build/matlab/configure.ac
index 5200c5e84..0b854aa09 100644
--- a/mex/build/matlab/configure.ac
+++ b/mex/build/matlab/configure.ac
@@ -18,7 +18,7 @@ dnl You should have received a copy of the GNU General Public License
dnl along with Dynare. If not, see .
AC_PREREQ([2.61])
-AC_INIT([dynare], [4.1-unstable])
+AC_INIT([dynare], [4.2-unstable])
AC_CONFIG_SRCDIR([configure.ac])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
diff --git a/mex/build/octave/configure.ac b/mex/build/octave/configure.ac
index 49ce6134a..59d043cf2 100644
--- a/mex/build/octave/configure.ac
+++ b/mex/build/octave/configure.ac
@@ -18,7 +18,7 @@ dnl You should have received a copy of the GNU General Public License
dnl along with Dynare. If not, see .
AC_PREREQ([2.61])
-AC_INIT([dynare], [4.1-unstable])
+AC_INIT([dynare], [4.2-unstable])
AC_CONFIG_SRCDIR([configure.ac])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])