Commit 159cf523 authored by Bastien Nocera's avatar Bastien Nocera

build: Make some panels requirements on Linux

The Network, Bluetooth, Printers and Wacom panels are not optional on
Linux systems (except S390 which doesn't have USB support).
parent a43d59dc
......@@ -426,6 +426,21 @@ else
AC_MSG_RESULT(no)
fi
case $host_os in
linux*)
if test "$host_cpu" = s390 -o "$host_cpu" = s390x; then
# Nothing
echo "USB-related panels disabled on S390"
else
if test "x$have_networkmanager" != "xyes" -o
"x$have_bluetooth" != "xyes" -o
"x$enable_cups" != "xyes" -o
"x$have_wacom" != "xyes"; then
AC_MSG_ERROR([The Network, Bluetooth, Printers and Wacom panels are not optional on Linux systems])
fi
fi
;;
esac
AC_CONFIG_FILES([
Makefile
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment