diff --git a/configure.ac b/configure.ac index 61136d5125d9e71da04621c4720a652f938292af..ad8734d970520cfd8f25a5ef41df766d5f88b386 100755 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,7 @@ dnl along with Dynare. If not, see <http://www.gnu.org/licenses/>. AC_PREREQ([2.62]) AC_INIT([dynare], [4.4-unstable]) AC_CONFIG_SRCDIR([preprocessor/DynareMain.cc]) -AM_INIT_AUTOMAKE([1.11 -Wall -Wno-portability -Werror foreign no-dist-gzip dist-xz tar-pax]) +AM_INIT_AUTOMAKE([1.11 -Wall -Wno-portability -Werror foreign no-dist-gzip dist-xz tar-pax subdir-objects]) AC_PROG_CC AC_PROG_CXX diff --git a/mex/build/matlab/configure.ac b/mex/build/matlab/configure.ac index 25d810da0608f8be3e55c5b76076247b72b67b64..9686b58d4ecd1009722a9af745af63c7540a2717 100644 --- a/mex/build/matlab/configure.ac +++ b/mex/build/matlab/configure.ac @@ -20,7 +20,7 @@ dnl along with Dynare. If not, see <http://www.gnu.org/licenses/>. AC_PREREQ([2.62]) AC_INIT([dynare], [4.4-unstable]) AC_CONFIG_SRCDIR([configure.ac]) -AM_INIT_AUTOMAKE([-Wall -Wno-portability -Werror foreign]) +AM_INIT_AUTOMAKE([-Wall -Wno-portability -Werror foreign subdir-objects]) dnl The following must occur before we modify CFLAGS/CXXFLAGS AC_CANONICAL_HOST diff --git a/mex/build/octave/configure.ac b/mex/build/octave/configure.ac index 98914a30d8f451d8ca4b1ea07ca7626c605a6ade..09d719a2a9a855b0a4016ad5b22fa9eb71f29834 100755 --- a/mex/build/octave/configure.ac +++ b/mex/build/octave/configure.ac @@ -20,7 +20,7 @@ dnl along with Dynare. If not, see <http://www.gnu.org/licenses/>. AC_PREREQ([2.62]) AC_INIT([dynare], [4.4-unstable]) AC_CONFIG_SRCDIR([configure.ac]) -AM_INIT_AUTOMAKE([-Wall -Wno-portability -Werror foreign]) +AM_INIT_AUTOMAKE([-Wall -Wno-portability -Werror foreign subdir-objects]) AC_CHECK_PROG([MKOCTFILE], [mkoctfile], [mkoctfile])