X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=bootstrap;h=ace8016f94e96015895e8d57da81486b0e0e9cd5;hp=f6926cac5e8b2bd374f35f6554d7fd91877861b9;hb=HEAD;hpb=71dd417a2b700c2315ef9919104572df1bc83f7a diff --git a/bootstrap b/bootstrap index f6926cac..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 -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, 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