[clutter] build: Identify the Linux hosts
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] build: Identify the Linux hosts
- Date: Thu, 9 Feb 2012 18:44:11 +0000 (UTC)
commit 92f6b520cb27e45f6682b0b06d76fed36ad43cfa
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Thu Feb 9 18:41:19 2012 +0000
build: Identify the Linux hosts
This gives us a nice conditional, like the one we have on Windows and
OSX.
configure.ac | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6d96a7a..9578d62 100644
--- a/configure.ac
+++ b/configure.ac
@@ -99,6 +99,11 @@ AS_CASE([$host],
platform_win32=yes
],
+ [*-*-linux],
+ [
+ platform_linux=yes
+ ],
+
[]
)
AC_MSG_RESULT([$platform_win32])
@@ -111,6 +116,7 @@ AM_CONDITIONAL(OS_QUARTZ, [test "$platform_quartz" = "yes"])
AC_CHECK_HEADER([GL/glx.h], [platform_glx=yes], [platform_glx=no])
AC_CHECK_LIB([GL], [glXCreateContext], [platform_glx=yes], [platform_glx=no])
AM_CONDITIONAL(OS_GLX, [test "$platform_glx" = "yes"])
+AM_CONDITIONAL(OS_LINUX, [test "$platform_linux" = "yes"])
AC_SUBST(CLUTTER_LT_LDFLAGS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]