summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@free.fr>2013-03-16 18:46:45 +0900
committerCedric Bail <cedric.bail@free.fr>2013-03-16 22:49:32 +0900
commit06ce7c2ede9b38f34d3abb41cd484da87a9988c5 (patch)
tree536a42839a9b70be27b213bdc3ee8e4d89ae75e0 /configure.ac
parent116b775c3062d5160e2219dc8facc064e1ae86c7 (diff)
eina: add support for Systemd journal in Eina_Log.
NOTE: if you start your process with Systemd it will automatically use Journald API. You will need to overide the default logging function to change that behavior.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index fd087cc09b..b4c07cf09c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -290,7 +290,7 @@ AM_CONDITIONAL([HAVE_CRYPTO_OPENSSL], [test "${build_crypto}" = "openssl"])
290 290
291# check for systemd library if requested 291# check for systemd library if requested
292if test "x{want_systemd}" = "xyes"; then 292if test "x{want_systemd}" = "xyes"; then
293 PKG_CHECK_MODULES([SYSTEMD], [libsystemd-daemon], 293 PKG_CHECK_MODULES([SYSTEMD], [libsystemd-daemon libsystemd-journal],
294 [want_systemd="yes"], 294 [want_systemd="yes"],
295 [want_systemd="no"]) 295 [want_systemd="no"])
296fi 296fi
@@ -695,6 +695,8 @@ AC_DEFINE_IF([EINA_DEBUG_MALLOC],
695 [test "x${ac_cv_func_malloc_usable_size}" = "xyes" && test "x${want_debug_malloc}" = "xyes"], 695 [test "x${ac_cv_func_malloc_usable_size}" = "xyes" && test "x${want_debug_malloc}" = "xyes"],
696 [1], [Turn on debugging overhead in mempool]) 696 [1], [Turn on debugging overhead in mempool])
697 697
698EFL_OPTIONAL_DEPEND_PKG([EINA], [${want_systemd}], [SYSTEMD], [libsystemd-journal])
699
698EFL_EVAL_PKGS([EINA]) 700EFL_EVAL_PKGS([EINA])
699 701
700## Examples 702## Examples
@@ -761,6 +763,8 @@ EINA_CHECK_MODULE([chained-pool], [static], [chained pool])
761EINA_CHECK_MODULE([pass-through], [static], [pass through]) 763EINA_CHECK_MODULE([pass-through], [static], [pass through])
762EINA_CHECK_MODULE([one-big], [static], [one big]) 764EINA_CHECK_MODULE([one-big], [static], [one big])
763 765
766EFL_ADD_FEATURE([EINA], [systemd-journal], [${have_systemd}])
767
764EFL_LIB_END([Eina]) 768EFL_LIB_END([Eina])
765#### End of Eina 769#### End of Eina
766 770
@@ -3740,6 +3744,7 @@ echo " Image Loaders.: ${features_evas_loader}"
3740if test "x${have_pixman}" = "xyes" ; then 3744if test "x${have_pixman}" = "xyes" ; then
3741echo " Pixman........: ${features_evas_pixman}" 3745echo " Pixman........: ${features_evas_pixman}"
3742fi 3746fi
3747echo "Eina............: yes (${features_eina})"
3743echo "Ecore...........: yes (${features_ecore})" 3748echo "Ecore...........: yes (${features_ecore})"
3744echo "Ecore_Con.......: yes (${features_ecore_con})" 3749echo "Ecore_Con.......: yes (${features_ecore_con})"
3745echo "Ecore_File......: yes" 3750echo "Ecore_File......: yes"