diff options
author | William Wold <[email protected]> | 2018-12-19 13:29:17 -0500 |
---|---|---|
committer | lukefromdc <[email protected]> | 2018-12-21 04:56:22 +0000 |
commit | 77d343bda16bea9608188a249a858a79aa67ac96 (patch) | |
tree | ae82d50bab0659f8cad72b1f2d0c90b027b62ac8 /configure.ac | |
parent | 083180649a2af38454b67cb6bc5e53c067d8362a (diff) | |
download | mate-panel-77d343bda16bea9608188a249a858a79aa67ac96.tar.bz2 mate-panel-77d343bda16bea9608188a249a858a79aa67ac96.tar.xz |
Disallow building without X11 support
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 6b715429..8fc7572e 100644 --- a/configure.ac +++ b/configure.ac @@ -171,16 +171,14 @@ gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE AC_ARG_ENABLE(x11, [AC_HELP_STRING([--enable-x11], [Explicitly enable or disable X11 support - (default is to enable only if X development libraries are detected) - @<:@default=auto:>@])], + (default is to enable only if X development libraries are detected)])], [enable_x11=$enableval], [enable_x11=auto]) AC_ARG_ENABLE(wayland, [AC_HELP_STRING([--enable-wayland], [Explicitly enable or disable Wayland support - (default is to enable only if Wayland client development library is detected) - @<:@default=auto:>@])], + (default is to enable only if Wayland client development library is detected)])], [enable_wayland=$enableval], [enable_wayland=auto]) @@ -214,6 +212,8 @@ AM_CONDITIONAL(ENABLE_X11, [test "x$have_x11" = "xyes"]) if test "x$have_x11" = "xyes"; then AC_DEFINE(HAVE_X11, 1, [Have the X11 development library]) +else + AC_MSG_ERROR([No support yet for non-X11 builds]) fi if test "x$have_x11" != "xyes" -a "x$have_wayland" != "xyes"; then |