summaryrefslogtreecommitdiffstats
path: root/test/compilation/002-scanbuild
blob: ff7e2aaf06ccfd9a634fc8f3b6e3d3a07ba4dc3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

cd ../..

for opts in \
	"--enable-debug" \
	"--host-system=Linux" \
	"--host-system=NetBSD" \
	"--host-system=FreeBSD" \
	"--without-nettle" \
	"--without-nettle --without-gnutls" \
	"--without-nettle --without-gnutls --without-nss" \
	"--without-nettle --without-gnutls --without-nss --without-tomcrypt"
do
	./configure $opts
	scan-build make "$@" || exit 1
done