summaryrefslogtreecommitdiffstats
path: root/make/configure.py
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2020-02-10 16:40:03 -0500
committerBradley Sepos <[email protected]>2020-02-10 16:40:03 -0500
commitfc861815e6ec583b32b68e269df7358195e82a18 (patch)
treef41c30d23689c0738722040a8a618301191cdd65 /make/configure.py
parent24914e5a85d61f8a184d37a7b6c1c1413eb37a84 (diff)
build: libhb: cli: Improve support for NetBSD.
Diffstat (limited to 'make/configure.py')
-rw-r--r--make/configure.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/make/configure.py b/make/configure.py
index e8c721f71..4daaac9a8 100644
--- a/make/configure.py
+++ b/make/configure.py
@@ -1378,10 +1378,10 @@ def createCLI( cross = None ):
h = IfHost( 'enable assembly code in non-contrib modules', 'NOMATCH*-*-darwin*', 'NOMATCH*-*-linux*', none=argparse.SUPPRESS ).value
grp.add_argument( '--enable-asm', default=False, action='store_true', help=h )
- h = IfHost( 'disable GTK GUI', '*-*-linux*', '*-*-freebsd*', none=argparse.SUPPRESS ).value
+ h = IfHost( 'disable GTK GUI', '*-*-linux*', '*-*-freebsd*', '*-*-netbsd*', none=argparse.SUPPRESS ).value
grp.add_argument( '--disable-gtk', default=False, action='store_true', help=h )
- h = IfHost( 'disable GTK GUI update checks', '*-*-linux*', '*-*-freebsd*', none=argparse.SUPPRESS ).value
+ h = IfHost( 'disable GTK GUI update checks', '*-*-linux*', '*-*-freebsd*', '*-*-netbsd*', none=argparse.SUPPRESS ).value
grp.add_argument( '--disable-gtk-update-checks', default=False, action='store_true', help=h )
h = 'enable GTK GUI for Windows' if (cross is not None and 'mingw' in cross) else argparse.SUPPRESS
@@ -1390,7 +1390,7 @@ def createCLI( cross = None ):
h = IfHost( 'Build GUI with GTK4', '*-*-linux*', '*-*-freebsd*', none=argparse.SUPPRESS ).value
grp.add_argument( '--enable-gtk4', default=False, action='store_true', help=h )
- h = IfHost( 'disable GStreamer (live preview)', '*-*-linux*', '*-*-freebsd*', none=argparse.SUPPRESS ).value
+ h = IfHost( 'disable GStreamer (live preview)', '*-*-linux*', '*-*-freebsd*', '*-*-netbsd*', none=argparse.SUPPRESS ).value
grp.add_argument( '--disable-gst', default=False, action='store_true', help=h )
h = IfHost( 'x265 video encoder', '*-*-*', none=argparse.SUPPRESS ).value
@@ -2042,7 +2042,7 @@ int main()
else:
doc.addBlank()
- if host_tuple.system == 'freebsd':
+ if host_tuple.system in ('freebsd', 'netbsd'):
doc.add( 'HAS.pthread', 1 )
if not strerror_r.fail:
doc.add( 'HAS.strerror_r', 1 )