From ecd07f76d8d971cc8d700fb96782ac9c629ce1a0 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 20 May 2016 17:24:24 +0200 Subject: Added carbon backedn detection. --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index b28830e..d35887a 100644 --- a/configure.ac +++ b/configure.ac @@ -91,7 +91,7 @@ AS_IF([test "x$enable_gui" = "xyes"], [enable_gui="auto"]) AS_IF([test "x$enable_gui" = "xauto"], [AC_MSG_RESULT([Auto setting gui based on host: $host_os]) AS_CASE([$host_os], - [darwin*], [enable_gui=""], + [darwin*], [enable_gui="carbon"], [linux*|*bsd*], [enable_gui="x11"], [mingw*|windows*|winnt|cygwin], [enable_gui="win32"], @@ -120,6 +120,11 @@ AS_IF( GUI_CPPFLAGS="-DPUGL -I../../pugl" GUI_LIBS="-lGLU -lGL -lglut"], + [test "x$enable_gui" = "xcarbon"], + [AC_MSG_RESULT([Setting gui backend to Carbon]) + GUI_CPPFLAGS="" + GUI_LIBS=""], + AC_MSG_ERROR([*** No GUI backend has been selected ***]) ) -- cgit v1.2.3