mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-14 08:56:35 -05:00
Add hgcompile script and fix INSTALL document
Added hgcompile script (just a copy of cvscompile), and fixed INSTALL document about HG.
This commit is contained in:
parent
ffebf01d61
commit
8a347e4267
3 changed files with 22 additions and 5 deletions
8
INSTALL
8
INSTALL
|
|
@ -11,11 +11,11 @@ For installation you can use these commands:
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
|
||||||
Compilation from CVS sources
|
Compilation from HG sources
|
||||||
----------------------------
|
---------------------------
|
||||||
|
|
||||||
You need also GNU packages automake and libtool installed in your system
|
You need also GNU packages automake and libtool installed in your system
|
||||||
to compile CVS sources of alsa-lib package.
|
to compile HG (Mercurial) sources of alsa-lib package.
|
||||||
|
|
||||||
For compilation you can use these commands:
|
For compilation you can use these commands:
|
||||||
|
|
||||||
|
|
@ -27,7 +27,7 @@ For compilation you can use these commands:
|
||||||
./configure
|
./configure
|
||||||
make
|
make
|
||||||
|
|
||||||
The included cvscompile script does this job for you.
|
The included hgcompile script does this job for you.
|
||||||
|
|
||||||
Note: Some automake packages have missing aclocal program. Use newer version
|
Note: Some automake packages have missing aclocal program. Use newer version
|
||||||
in the case.
|
in the case.
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ if BUILD_MIXER
|
||||||
SUBDIRS += alsalisp
|
SUBDIRS += alsalisp
|
||||||
endif
|
endif
|
||||||
SUBDIRS += test utils
|
SUBDIRS += test utils
|
||||||
EXTRA_DIST=ChangeLog INSTALL TODO NOTES configure cvscompile libtool depcomp version MEMORY-LEAK
|
EXTRA_DIST=ChangeLog INSTALL TODO NOTES configure hgcompile libtool depcomp version MEMORY-LEAK
|
||||||
AUTOMAKE_OPTIONS=foreign
|
AUTOMAKE_OPTIONS=foreign
|
||||||
|
|
||||||
INCLUDES=-I$(top_srcdir)/include
|
INCLUDES=-I$(top_srcdir)/include
|
||||||
|
|
|
||||||
17
hgcompile
Executable file
17
hgcompile
Executable file
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
touch ltconfig
|
||||||
|
libtoolize --force --copy --automake
|
||||||
|
aclocal $ACLOCAL_FLAGS
|
||||||
|
autoheader
|
||||||
|
automake --foreign --copy --add-missing
|
||||||
|
touch depcomp # seems to be missing for old automake
|
||||||
|
autoconf
|
||||||
|
export CFLAGS='-O2 -Wall -W -pipe -g'
|
||||||
|
echo "CFLAGS=$CFLAGS"
|
||||||
|
echo "./configure $@"
|
||||||
|
./configure $@ || exit 1
|
||||||
|
unset CFLAGS
|
||||||
|
if [ -z "$HGCOMPILE_NO_MAKE" ]; then
|
||||||
|
make
|
||||||
|
fi
|
||||||
Loading…
Add table
Add a link
Reference in a new issue