mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
build: Identify the Linux hosts
This gives us a nice conditional, like the one we have on Windows and OSX.
This commit is contained in:
parent
910b09d70a
commit
92f6b520cb
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user