From 3cbe67a8de1da7bd042474de4d16cb4f7e9822ab Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 10 Mar 2002 15:40:27 +0000 Subject: [PATCH] Small fixes to improve portability. --- Makefile.am | 2 +- autogen.sh | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index bbfa0141..1c152cae 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,7 +17,7 @@ ChangeLog: cvs2cl -U cvsusers --fsf cvs-clean: maintainer-clean - for f in $(CVS_CREATED) `find -name Makefile.in` tinc-$(VERSION).tar.gz; do\ + for f in $(CVS_CREATED) `find . -name Makefile.in` tinc-$(VERSION).tar.gz; do\ rm -Rf "$$f"; \ done diff --git a/autogen.sh b/autogen.sh index 186d1e30..21a0f4c1 100644 --- a/autogen.sh +++ b/autogen.sh @@ -4,7 +4,10 @@ DIE=0 -alias make=${MAKE:-`which gmake || which make`} +if ${MAKE:-gmake} -q -C . autogen.sh 2> /dev/null +then + alias make=${MAKE:-gmake} +fi srcdir="`/bin/pwd`" -- 2.20.1