From: Abramo Bagnara Date: Mon, 30 Oct 2000 10:31:43 +0000 (+0000) Subject: CVS fixes X-Git-Tag: v1.0.3~182 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=9518a4581f1f1561d6ddf5c566da914d45a2e270;p=alsa-tools.git CVS fixes --- diff --git a/envy24control/cvscompile b/envy24control/cvscompile index e54e9cd..01e8151 100644 --- a/envy24control/cvscompile +++ b/envy24control/cvscompile @@ -1,18 +1,20 @@ #!/bin/bash -share=/usr/share/automake/missing +if test "x$AUTOMAKE_DIR" = "x"; then + if test -d /usr/local/share/automake; then + AUTOMAKE_DIR=/usr/local/share/automake + fi + if test -d /usr/share/automake; then + AUTOMAKE_DIR="/usr/share/automake" + fi +fi + +for f in install-sh mkinstalldirs missing; do + cp -av $AUTOMAKE_DIR/$f . +done aclocal $ACLOCAL_FLAGS -automake --foreign -if [ ! -r install-sh ]; then - cp $share/install-sh . -fi -if [ ! -r mkinstalldirs ]; then - cp $share/mkinstalldirs . -fi -if [ ! -r missing ]; then - cp $share/missing . -fi +automake --foreign --add-missing autoconf export CFLAGS='-O2 -Wall -pipe -g' echo "CFLAGS=$CFLAGS"