summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-05-20 17:24:24 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2016-05-20 17:24:24 +0200
commitecd07f76d8d971cc8d700fb96782ac9c629ce1a0 (patch)
tree9d69054d3f7d6547196397daa740286d17f2c131
parentaf93104361a0b86fc30978302bdf44d5e3001e52 (diff)
Added carbon backedn detection.
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
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 ***])
)