| 1 | #!/bin/sh |
| 2 | # SPDX-License-Identifier: MIT |
| 3 | |
| 4 | set -x |
| 5 | if [ ! -d "config" ]; then |
| 6 | mkdir config |
| 7 | fi |
| 8 | |
| 9 | # Run autoreconf with all warning types as errors except |
| 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 |