Enable autotools warnings as errors
[babeltrace.git] / bootstrap
index f6926cac5e8b2bd374f35f6554d7fd91877861b9..8702a76e1321786bcd738be3f5d5b42893d370f7 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -1,12 +1,11 @@
-#! /bin/sh
+#!/bin/sh
+# SPDX-License-Identifier: MIT
 
 set -x
-if [ ! -e config ]; then
+if [ ! -d "config" ]; then
        mkdir config
 fi
-aclocal -I m4
-libtoolize --force --copy
-autoheader
-automake --add-missing --copy
-autoconf
 
+# Run autoreconf with all warning types as errors except
+# for 'obsolete' because of AM_PATH_GLIB_2_0
+autoreconf -vif -W all,error,no-obsolete
This page took 0.024484 seconds and 4 git commands to generate.