Commit | Line | Data |
---|---|---|
8355329b | 1 | #!/bin/sh |
0235b0db | 2 | # SPDX-License-Identifier: MIT |
ac65e355 MD |
3 | |
4 | set -x | |
8355329b | 5 | if [ ! -d "config" ]; then |
ac65e355 MD |
6 | mkdir config |
7 | fi | |
ac65e355 | 8 | |
e97fe75e | 9 | # Run autoreconf with all warning types as errors except |
c429f86d MJ |
10 | # for 'obsolete' because of AM_PATH_GLIB_2_0, we have to |
11 | # list all categories because when 'all' is used, autoreconf | |
12 | # will drop all the other specified categories except 'error' | |
13 | # even if they start with 'no-'. | |
14 | autoreconf -vif -W cross,gnu,no-obsolete,override,portability,portability-recursive,extra-portability,syntax,unsupported,error |