blob: 77c859aaee48fcf95024c2ebe4483cdbd3dcb139 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/sh
#
# $FreeBSD$
#
# This file is in the public domain
set -e
T=/tmp/_$$
cd /usr/src
make showconfig __MAKE_CONF=/dev/null SRCCONF=/dev/null |
sort |
sed '
s/^MK_//
s/=//
' | awk '
$2 == "yes" { printf "WITHOUT_%s\n", $1 }
$2 == "no" { printf "WITH_%s\n", $1 }
'
|