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