Fix autoreconf

Fixed the package to be autoreconf-able.
This commit is contained in:
Takashi Iwai 2005-08-19 13:07:45 +00:00
parent 28e748c694
commit b166248a76
3 changed files with 6 additions and 3 deletions

View file

@ -5,7 +5,7 @@ AC_PREFIX_DEFAULT(/usr)
AM_INIT_AUTOMAKE(alsa-utils, 1.0.10rc1) AM_INIT_AUTOMAKE(alsa-utils, 1.0.10rc1)
AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.14.0]) AM_GNU_GETTEXT_VERSION([0.14])
dnl Checks for programs. dnl Checks for programs.

View 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" alsa_m4_flags="-I ../alsa-lib/utils"
fi fi
aclocal $alsa_m4_flags $ACLOCAL_FLAGS aclocal $alsa_m4_flags $ACLOCAL_FLAGS
mkdir -p m4 # save original files to avoid stupid modifications by gettextize
echo "EXTRA_DIST = gettext.m4" > m4/Makefile.am cp Makefile.am Makefile.am.ok
cp configure.in configure.in.ok cp configure.in configure.in.ok
gettextize -c -f --no-changelog 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 cp configure.in.ok configure.in
autoheader autoheader
automake --foreign --copy --add-missing automake --foreign --copy --add-missing

1
m4/Makefile.am Normal file
View file

@ -0,0 +1 @@
EXTRA_DIST = gettext.m4