]> git.alsa-project.org Git - alsa-utils.git/commitdiff
Fix autoreconf
authorTakashi Iwai <tiwai@suse.de>
Fri, 19 Aug 2005 13:07:45 +0000 (13:07 +0000)
committerTakashi Iwai <tiwai@suse.de>
Fri, 19 Aug 2005 13:07:45 +0000 (13:07 +0000)
Fixed the package to be autoreconf-able.

configure.in
cvscompile
m4/Makefile.am [new file with mode: 0644]

index 04b1c9446fabd5c746b14f4d7d3bce720871febf..4c4b26bd5f71eb6484758eb5e164bf18a00ed34b 100644 (file)
@@ -5,7 +5,7 @@ AC_PREFIX_DEFAULT(/usr)
 AM_INIT_AUTOMAKE(alsa-utils, 1.0.10rc1)
 
 AM_GNU_GETTEXT([external])
-AM_GNU_GETTEXT_VERSION([0.14.0])
+AM_GNU_GETTEXT_VERSION([0.14])
 
 dnl Checks for programs.
 
index 6844b280a201d04ea87e8190e1ebf2718fe115e4..64ade4f78514442598e9e716c6e66c9d0eec99d1 100644 (file)
@@ -4,10 +4,12 @@ if test -d ../alsa-lib/utils && ! test -r `aclocal --print-ac-dir`/alsa.m4; then
   alsa_m4_flags="-I ../alsa-lib/utils"
 fi
 aclocal $alsa_m4_flags $ACLOCAL_FLAGS
-mkdir -p m4
-echo "EXTRA_DIST = gettext.m4" > m4/Makefile.am
+# save original files to avoid stupid modifications by gettextize
+cp Makefile.am Makefile.am.ok
 cp configure.in configure.in.ok
 gettextize -c -f --no-changelog
+echo "EXTRA_DIST = gettext.m4" > m4/Makefile.am
+cp Makefile.am.ok Makefile.am
 cp configure.in.ok configure.in
 autoheader
 automake --foreign --copy --add-missing
diff --git a/m4/Makefile.am b/m4/Makefile.am
new file mode 100644 (file)
index 0000000..0498b21
--- /dev/null
@@ -0,0 +1 @@
+EXTRA_DIST = gettext.m4