diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..5ab514b442e3837be390dd082b2c0948d380d133
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+*.cache
+ABOUT-NLS
+aclocal.m4
+autotools
+config.*
+configure
+Makefile.in
diff --git a/m4/.gitignore b/m4/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..38a93afcced4ede433addb0f016c9e7057ec0ace
--- /dev/null
+++ b/m4/.gitignore
@@ -0,0 +1,12 @@
+glibc2.m4
+intmax.m4
+longdouble.m4
+longlong.m4
+nls.m4
+po.m4
+printf-posix.m4
+private.m4
+size_max.m4
+wchar_t.m4
+wint_t.m4
+xsize.m4
diff --git a/modules/.gitignore b/modules/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..08a6d725b51930d1162342705fb6b5444f68a980
--- /dev/null
+++ b/modules/.gitignore
@@ -0,0 +1 @@
+Makefile.am
diff --git a/po/.gitignore b/po/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..3284492b856e0eda43fe0cebe192703e31d69158
--- /dev/null
+++ b/po/.gitignore
@@ -0,0 +1,4 @@
+*.header
+*.sed
+*.sin
+Rules-quot