Ticket #52257: patch-autogen.sh

File patch-autogen.sh, 553 bytes (added by RJVB (René Bertin), 8 years ago)
Line 
1--- orig.autogen.sh     2015-09-30 16:48:40.000000000 +0200
2+++ autogen.sh  2016-09-20 20:33:50.000000000 +0200
3@@ -81,7 +81,10 @@
4 (autoheader --version)  < /dev/null > /dev/null 2>&1 && autoheader
5 
6 $AUTOMAKE -a $am_opt
7-autoconf || echo "autoconf failed - version 2.5x is probably required"
8+if ! autoconf; then
9echo "autoconf failed - version 2.5x is probably required" >&2
10exit 1
11+fi
12 
13 cd $ORIGDIR
14 
15@@ -101,5 +104,5 @@
16 fi
17 
18 if $run_configure; then
19-    $srcdir/configure --enable-developer --config-cache "$@"
20+    $srcdir/configure "$@"
21 fi