Commit 163f66974505461852fea3d95cc033e02518db99

Ozkan Sezer 2022-06-15T17:00:02

minor tidy-up to configury.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/test/autogen.sh b/test/autogen.sh
index 988d417..f1716a5 100755
--- a/test/autogen.sh
+++ b/test/autogen.sh
@@ -1,11 +1,9 @@
 #!/bin/sh
 
-cp acinclude.m4 aclocal.m4
+set -e
 
-if test "$AUTOCONF"x = x; then
-  AUTOCONF=autoconf
-fi
+cp acinclude.m4 aclocal.m4
 
-$AUTOCONF || exit 1
+"${AUTOCONF:-autoconf}"
 rm aclocal.m4
 rm -rf autom4te.cache