build: remove and ignore autogenerated files
[lcr.git] / configure.ac
index 1911187..3cb6cb5 100644 (file)
@@ -27,13 +27,14 @@ dnl Change the 2nd argument if the version increases
 dnl 1st + 2nd argument is used for distribution package name
 AC_INIT(lcr, 1.14, andreas@eversberg.eu)
 AC_PREREQ(2.59)
+AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_SRCDIR([main.c])
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADER([config.h])
 
 # fix warnings from autoconf + automake
 AC_GNU_SOURCE
-# AC_USE_SYSTEM_EXTENSIONS
-AM_INIT_AUTOMAKE(lcr,1.14)
+dnl AC_USE_SYSTEM_EXTENSIONS
+AM_INIT_AUTOMAKE([foreign subdir-objects])