File indexing completed on 2024-04-28 05:50:05

0001 #!/bin/sh
0002 #
0003 # SPDX-License-Identifier: BSD-2-Clause
0004 # SPDX-FileCopyrightText: 2020 Johan Ouwerkerk <jm.ouwerkerk@gmail.com>
0005 #
0006 
0007 set -ex
0008 
0009 #
0010 # Autotools builds are in-source which is messy. In particular, it can
0011 # cause conflicts if builds have to be run with different ./configure
0012 # settings one after another
0013 #
0014 # Impose some sanity by ensuring builds/configure always start from scratch
0015 #
0016 git clean -fdx
0017 
0018 ./autogen.sh
0019 ./configure "$@"