From 7a4312c48bf6a1e05ecd7d3c04075ed3017b37e4 Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Wed, 7 Mar 2018 13:15:17 +0100
Subject: [PATCH] create build-aux dir

---
 .gitignore   | 9 +--------
 configure.ac | 1 +
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/.gitignore b/.gitignore
index ee858849..bf4ea60e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,6 +11,7 @@
 \#*\#
 
 # Build system rules
+build-aux/*
 .deps
 Makefile
 Makefile.in
@@ -19,14 +20,6 @@ config.log
 config.status
 aclocal.m4
 autom4te.cache
-config.guess
-config.sub
-depcomp
-install-sh
-/missing
-/compile
-ylwrap
-ar-lib
 
 # Preprocessor
 /src/dynare_m
diff --git a/configure.ac b/configure.ac
index 60f801f2..72ddf60f 100755
--- a/configure.ac
+++ b/configure.ac
@@ -19,6 +19,7 @@ dnl along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
 
 AC_PREREQ([2.62])
 AC_INIT([dynare-preprocessor], [4.6-unstable])
+AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_SRCDIR([src/DynareMain.cc])
 AM_INIT_AUTOMAKE([1.11 -Wall -Wno-portability foreign no-dist-gzip dist-xz tar-pax])
 
-- 
GitLab