In case you're ok with not version-controlling files imported
via autogen, ...
From 72c829395bb6a4800516d4f535e18af48195585b Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering(a)redhat.com>
Date: Mon, 3 Aug 2009 11:00:22 -0400
Subject: [PATCH] Remove files imported via autogen.sh.
* m4/.gitignore: Ignore these files.
* m4/codeset.m4: Remove file.
* m4/gettext.m4: Likewise.
* m4/glibc2.m4: Likewise.
* m4/glibc21.m4: Likewise.
* m4/iconv.m4: Likewise.
* m4/intdiv0.m4: Likewise.
* m4/intl.m4: Likewise.
* m4/intldir.m4: Likewise.
* m4/intlmacosx.m4: Likewise.
* m4/intltool.m4: Likewise.
* m4/inttypes-pri.m4: Likewise.
* m4/inttypes.m4: Likewise.
* m4/inttypes_h.m4: Likewise.
* m4/isc-posix.m4: Likewise.
* m4/lcmessage.m4: Likewise.
* m4/lib-ld.m4: Likewise.
* m4/lib-link.m4: Likewise.
* m4/lib-prefix.m4: Likewise.
* m4/lock.m4: Likewise.
* m4/longdouble.m4: Likewise.
* m4/longlong.m4: Likewise.
* m4/nls.m4: Likewise.
* m4/po.m4: Likewise.
* m4/printf-posix.m4: Likewise.
* m4/progtest.m4: Likewise.
* m4/signed.m4: Likewise.
* m4/size_max.m4: Likewise.
* m4/stdint_h.m4: Likewise.
* m4/uintmax_t.m4: Likewise.
* m4/ulonglong.m4: Likewise.
* m4/visibility.m4: Likewise.
* m4/wchar_t.m4: Likewise.
* m4/wint_t.m4: Likewise.
* m4/xsize.m4: Likewise.
---
m4/.gitignore | 27 +++
m4/codeset.m4 | 23 ---
m4/gettext.m4 | 487 ----------------------------------------------
m4/glibc2.m4 | 30 ---
m4/glibc21.m4 | 32 ---
m4/iconv.m4 | 103 ----------
m4/intdiv0.m4 | 72 -------
m4/intl.m4 | 285 ---------------------------
m4/intldir.m4 | 19 --
m4/intlmacosx.m4 | 51 -----
m4/intltool.m4 | 216 --------------------
m4/inttypes-pri.m4 | 32 ---
m4/inttypes.m4 | 27 ---
m4/inttypes_h.m4 | 28 ---
m4/isc-posix.m4 | 26 ---
m4/lcmessage.m4 | 32 ---
m4/lib-ld.m4 | 112 -----------
m4/lib-link.m4 | 551 ----------------------------------------------------
m4/lib-prefix.m4 | 155 ---------------
m4/lock.m4 | 316 ------------------------------
m4/longdouble.m4 | 30 ---
m4/longlong.m4 | 25 ---
m4/nls.m4 | 49 -----
m4/po.m4 | 426 ----------------------------------------
m4/printf-posix.m4 | 46 -----
m4/progtest.m4 | 91 ---------
m4/signed.m4 | 19 --
m4/size_max.m4 | 61 ------
m4/stdint_h.m4 | 28 ---
m4/uintmax_t.m4 | 32 ---
m4/ulonglong.m4 | 25 ---
m4/visibility.m4 | 52 -----
m4/wchar_t.m4 | 22 --
m4/wint_t.m4 | 22 --
m4/xsize.m4 | 14 --
35 files changed, 27 insertions(+), 3539 deletions(-)
diff --git a/m4/.gitignore b/m4/.gitignore
new file mode 100644
index 0000000..a2d2160
--- /dev/null
+++ b/m4/.gitignore
@@ -0,0 +1,27 @@
+codeset.m4
+gettext.m4
+glibc21.m4
+iconv.m4
+intdiv0.m4
+inttypes-pri.m4
+inttypes.m4
+inttypes_h.m4
+isc-posix.m4
+lcmessage.m4
+lib-ld.m4
+lib-link.m4
+lib-prefix.m4
+longdouble.m4
+longlong.m4
+nls.m4
+po.m4
+printf-posix.m4
+progtest.m4
+signed.m4
+size_max.m4
+stdint_h.m4
+uintmax_t.m4
+ulonglong.m4
+wchar_t.m4
+wint_t.m4
+xsize.m4