From 8827dc93e2bf0b06d28fe333e622267cff19603d Mon Sep 17 00:00:00 2001 From: Kim Woelders Date: Sun, 12 Aug 2018 15:39:15 +0200 Subject: [PATCH] Simplify autogen.sh --- autogen.sh | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/autogen.sh b/autogen.sh index 2fbd426..0d43361 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,13 +1,10 @@ #!/bin/sh # Run this to generate all the initial makefiles, etc. -rm -rf */install-sh */missing +rm -rf autom4te.cache aclocal.m4 -echo " aclocal $ACLOCAL_FLAGS" -aclocal $ACLOCAL_FLAGS -echo " automake --add-missing" -automake --add-missing -echo " autoconf" -autoconf +autoreconf -vif -./configure "$@" +if [ -z "$NOCONFIGURE" ]; then + ./configure "$@" +fi