X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=bootstrap;h=2bec3713512d2c4fab2371a3a66a5367bcb18c4a;hb=HEAD;hp=c71b862a5632b09cc8fd546a9ce9c208e37465c7;hpb=634f2c51d13041a87fd701453e40028f26524135;p=babeltrace.git diff --git a/bootstrap b/bootstrap index c71b862a..452813a4 100755 --- a/bootstrap +++ b/bootstrap @@ -1,8 +1,14 @@ -#! /bin/sh +#!/bin/sh +# SPDX-License-Identifier: MIT set -x -if [ ! -e config ]; then +if [ ! -d "config" ]; then mkdir config fi -autoreconf -i +# Run autoreconf with all warning types as errors except +# for 'obsolete' because of AM_PATH_GLIB_2_0, we have to +# list all categories because when 'all' is used, autoreconf +# will drop all the other specified categories except 'error' +# even if they start with 'no-'. +autoreconf -vif -W cross,gnu,no-obsolete,override,portability,portability-recursive,extra-portability,syntax,unsupported,error