From eafe0c74e13f1a379c219e03f754f8d47e237e27 Mon Sep 17 00:00:00 2001 From: Al Poole Date: Thu, 8 Jun 2017 10:51:37 -0700 Subject: [PATCH] efl_debugd: only compile this on Linux. 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 --- configure.ac | 1 + src/Makefile_Efl.am | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index de1ffef1f1..a6ed99b321 100644 --- a/configure.ac +++ b/configure.ac @@ -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"]) diff --git a/src/Makefile_Efl.am b/src/Makefile_Efl.am index f501c8254f..921024c7d7 100644 --- a/src/Makefile_Efl.am +++ b/src/Makefile_Efl.am @@ -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