mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-21 15:26:32 +01:00
Fix autoreconf
Fixed the package to be autoreconf-able.
This commit is contained in:
parent
28e748c694
commit
b166248a76
3 changed files with 6 additions and 3 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
1
m4/Makefile.am
Normal file
1
m4/Makefile.am
Normal file
|
@ -0,0 +1 @@
|
|||
EXTRA_DIST = gettext.m4
|
Loading…
Reference in a new issue