diff --git a/configure.ac b/configure.ac
index 34204ed8e0b3bbadaa2e0760b79017d23db4610d..a06483b4471c68f77e7fd76306fe85bdddd60a0c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@ AC_CONFIG_MACRO_DIR([m4])
 AC_CANONICAL_BUILD
 AC_CANONICAL_HOST
 
-AM_INIT_AUTOMAKE([-Wno-portability subdir-objects])
+AM_INIT_AUTOMAKE([-Wno-portability subdir-objects foreign])
 m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) # required by automake 1.12
 AC_CONFIG_HEADERS([config.h])