From 8189d8127e5ea2227a7e0ab9c0aa94675ca3d03d Mon Sep 17 00:00:00 2001 From: Daniel Elstner Date: Sun, 6 Sep 2015 12:06:27 +0200 Subject: Build: Modernize Autotools configuration --- autogen.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index 194375d..692d630 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh -e ## ## This file is part of the sigrok-test project. ## @@ -19,8 +19,7 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## -echo "Generating build system..." -aclocal || exit 1 -automake --add-missing --copy || exit 1 -autoconf || exit 1 +test -n "$srcdir" || srcdir=`dirname "$0"` +test -n "$srcdir" || srcdir=. +autoreconf --force --install --verbose "$srcdir" -- cgit v1.2.3-54-g00ecf