From b166248a765dd5cdd6ee40258ec9512b30343be4 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 19 Aug 2005 13:07:45 +0000 Subject: [PATCH] Fix autoreconf Fixed the package to be autoreconf-able. --- configure.in | 2 +- cvscompile | 6 ++++-- m4/Makefile.am | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 m4/Makefile.am diff --git a/configure.in b/configure.in index 04b1c94..4c4b26b 100644 --- a/configure.in +++ b/configure.in @@ -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. diff --git a/cvscompile b/cvscompile index 6844b28..64ade4f 100644 --- a/cvscompile +++ b/cvscompile @@ -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 index 0000000..0498b21 --- /dev/null +++ b/m4/Makefile.am @@ -0,0 +1 @@ +EXTRA_DIST = gettext.m4