Fixed a regression introduced in rev.
434548349838 that prevented
auto/types/sizeof and auto/types/typedef properly reporting autotest
source code to autoconf.err in case of test failure.
fi
-rm -rf $NGX_AUTOTEST*
-
-
case $ngx_size in
4)
ngx_max_value=2147483647
echo $ngx_test >> $NGX_AUTOCONF_ERR
echo "----------" >> $NGX_AUTOCONF_ERR
+ rm -rf $NGX_AUTOTEST*
+
exit 1
esac
+
+rm -rf $NGX_AUTOTEST*
+
fi
fi
- rm -rf $NGX_AUTOTEST*
-
if [ $ngx_found = no ]; then
echo $ngx_n " $ngx_try not found$ngx_c"
echo "----------" >> $NGX_AUTOCONF_ERR
echo $ngx_test >> $NGX_AUTOCONF_ERR
echo "----------" >> $NGX_AUTOCONF_ERR
+ fi
+
+ rm -rf $NGX_AUTOTEST*
- else
+ if [ $ngx_found != no ]; then
break
fi
done