X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-test.git;a=blobdiff_plain;f=autogen.sh;h=67807fd5e07c19cf9eff0028dacbd28efa13e2c4;hp=194375d7747116653f48d46eeb17ca73768fc6ba;hb=129d9d4ce31cc42106cc86fde06858749544e44e;hpb=dd37a782a8637bdee703a13c949b222b9ba8b95d diff --git a/autogen.sh b/autogen.sh index 194375d..67807fd 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. ## @@ -15,12 +15,10 @@ ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +## along with this program; if not, see . ## -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"