summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordevzero2000 <devzero2000>2013-07-03 16:50:20 +0000
committerdevzero2000 <devzero2000>2013-07-03 16:50:20 +0000
commit70656498743092d19519228646cb91aac92f4db3 (patch)
tree5b268d075ac6ec628335ad32ae2ccbfed0c68c01
parent3410665d0bec58c7a6a43b4d8b69552beb26f3fd (diff)
downloadlibpopt-70656498743092d19519228646cb91aac92f4db3.tar.gz
fail autogen.sh if autoreconf fail
-rw-r--r--CHANGES1
-rwxr-xr-xautogen.sh4
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 05e2ee2..7f72fc1 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,5 @@
1.17 -> 2.0:
+ - devzero2000: fail autogen.sh if autoreconf fail
- devzero2000: refine the --enable-valgrind autoconf check
we are now analyzing with valgrind only the test suite
and not the shell that invokes them, so drop the suppression.
diff --git a/autogen.sh b/autogen.sh
index 886899e..996a74c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,7 +1,7 @@
#!/bin/sh
#
-# $Id: autogen.sh,v 1.28 2013/07/02 14:05:26 devzero2000 Exp $
+# $Id: autogen.sh,v 1.29 2013/07/03 16:50:20 devzero2000 Exp $
# autogen.sh: autogen.sh script for popt projects
#
# Copyright (c) 2010-2011 Elia Pinto <devzero2000@rpm5.org>
@@ -185,7 +185,7 @@ fi
find . -name "autom4te.cache" | xargs rm -rf
[ ! -d m4 ] && mkdir m4
[ ! -d build-aux ] && mkdir build-aux
-autoreconf -vfi
+autoreconf -vfi || Die "bootstrap failed"
po_dir=./po
LANG=C
ls "$po_dir"/*.po 2>/dev/null |