configure.ac: make it possible to turn X11 off
commit99d510fa23e36fdc3dda5c0c9c09f1cba44dc534
authorrofl0r <rofl0r@users.noreply.github.com>
Mon, 28 Mar 2022 18:39:51 +0000 (28 18:39 +0000)
committerrofl0r <rofl0r@users.noreply.github.com>
Mon, 28 Mar 2022 18:39:51 +0000 (28 18:39 +0000)
tree1d089d2d7f06090382da926e020aadb32747335b
parent58dd804fa6e85bb39d35c97b4541f895a740bb73
configure.ac: make it possible to turn X11 off

the X11 macros aren't cross-compile compatible, as they always detect
host X11 headers, which would leak into a cross-compile build, adding
stuff like -I/usr/include. so we need a way to turn it off.
configure.ac