From 9518a4581f1f1561d6ddf5c566da914d45a2e270 Mon Sep 17 00:00:00 2001 From: Abramo Bagnara Date: Mon, 30 Oct 2000 10:31:43 +0000 Subject: [PATCH] CVS fixes --- envy24control/cvscompile | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) 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" -- 2.47.1