efl_debugd: only compile this on Linux.
authorAl Poole <netstar@gmail.com>
Thu, 8 Jun 2017 17:51:37 +0000 (10:51 -0700)
committerCedric BAIL <cedric@osg.samsung.com>
Thu, 8 Jun 2017 17:51:39 +0000 (10:51 -0700)
Summary:
Well, the build is broken again on BSD and Windows.
efl_debugd is full of lots lovely Linuxisms. Just
don't compile.

This unbreaks the build for FreeBSD and others.

Reviewers: cedric, raster, jpeg

Reviewed By: jpeg

Subscribers: JackDanielZ, jpeg

Differential Revision: https://phab.enlightenment.org/D4946

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
configure.ac
src/Makefile_Efl.am

index de1ffef..a6ed99b 100644 (file)
@@ -267,6 +267,7 @@ AM_CONDITIONAL([HAVE_WIN32], [test "x${have_win32}" = "xyes"])
 AM_CONDITIONAL([HAVE_WINDOWS], [test "x${have_windows}" = "xyes"])
 AM_CONDITIONAL([HAVE_PS3], [test "x${have_ps3}" = "xyes"])
 
+AM_CONDITIONAL([HAVE_LINUX], [test "x${have_linux}" = "xyes"])
 AM_CONDITIONAL([HAVE_FREEBSD], [test "x${have_freebsd}" = "xyes"])
 AM_CONDITIONAL([HAVE_OSX], [test "x${have_darwin}" = "xyes"])
 AM_CONDITIONAL([HAVE_X86_64], [test "x${host_cpu}" = "xx86_64"])
index f501c82..921024c 100644 (file)
@@ -168,7 +168,7 @@ bin_PROGRAMS += bin/efl/efl_debug
 # macOS/windows without commenting out most of the code. So, instead of
 # having an efl_debugd that won't do anything on macOS, we just wont't
 # compile it, until we've made it cross-platform.
-if !HAVE_OSX
+if HAVE_LINUX
 bin_PROGRAMS += bin/efl/efl_debugd
 endif