diff options
author | Jonas Suhr Christensen <jsc@umbraculum.org> | 2016-03-22 23:18:18 +0100 |
---|---|---|
committer | Jonas Suhr Christensen <jsc@umbraculum.org> | 2016-03-22 23:18:18 +0100 |
commit | 346821c54a99a709622523cf79f34f204dea2f93 (patch) | |
tree | 4c55b3ac37e3e37977dffcfd05fd3db1f77c1f40 /configure.ac | |
parent | 8e2124ad955b51efb2f539998a369d7ca07cbc73 (diff) |
Enabled no gui selection to configure.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 1745714..52ddc17 100644 --- a/configure.ac +++ b/configure.ac @@ -119,6 +119,10 @@ AS_IF( GUI_CPPFLAGS="-DPUGL -I../../pugl" GUI_LIBS="-lGLU -lGL -lglut"], + [test "x$enable_gui" = "xnone"], + [AC_MSG_RESULT([Setting gui backend to NONE - No GUI will be build]) + ], + AC_MSG_ERROR([*** No GUI backend has been selected ***]) ) @@ -128,6 +132,7 @@ AC_SUBST(GUI_LIBS) AM_CONDITIONAL([ENABLE_PUGL], [test "x$enable_gui" = "xpugl"]) AM_CONDITIONAL([ENABLE_WIN32], [test "x$enable_gui" = "xwin32"]) AM_CONDITIONAL([ENABLE_X11], [test "x$enable_gui" = "xx11"]) +AM_CONDITIONAL([DISABLE_GUI], [test "x$enable_gui" = "xnone"]) dnl ====================== dnl Compile unit tests |