X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=bootstrap;h=452813a46b4b4d7456f304a20d074b455a9051be;hp=2bec3713512d2c4fab2371a3a66a5367bcb18c4a;hb=HEAD;hpb=eac9d2a1adb595aa9c7ff3b65aa5c0f09c1ef8d6 diff --git a/bootstrap b/bootstrap index 2bec3713..452813a4 100755 --- a/bootstrap +++ b/bootstrap @@ -1,8 +1,14 @@ #!/bin/sh +# SPDX-License-Identifier: MIT set -x if [ ! -d "config" ]; then mkdir config fi -autoreconf -vi +# 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