autogen.sh (new file): add script for running the GNU autotools in the
[mmh] / test / setup-test
index 46b83b0..00ad57a 100755 (executable)
@@ -1,11 +1,13 @@
 #!/bin/sh
 
+set -e
+
 TEMPDIR=`mktemp -d /tmp/nmh-test-XXXXXXXX`
 echo $TEMPDIR > test-temp-dir
 
 cd ..
-autoheader && autoconf && date > stamp-h.in
-./configure --prefix=$TEMPDIR --with-locking=fcntl
+./autogen.sh
+./configure --prefix=$TEMPDIR --with-locking=fcntl --enable-debug
 make clean
 make install