diff options
author | Travis Reitter <treitter@gmail.com> | 2010-06-22 23:43:53 +0800 |
---|---|---|
committer | Travis Reitter <treitter@gmail.com> | 2010-07-21 07:12:35 +0800 |
commit | 6bf4569e50d1df275281b790adcae934b8a53ce7 (patch) | |
tree | 63c3da38226fff7c8822a1a58b07da59fd25e796 /configure.ac | |
parent | 10ee532d6097cac699ad317d296d4126079b772f (diff) | |
download | gsoc2013-empathy-6bf4569e50d1df275281b790adcae934b8a53ce7.tar.gz gsoc2013-empathy-6bf4569e50d1df275281b790adcae934b8a53ce7.tar.zst gsoc2013-empathy-6bf4569e50d1df275281b790adcae934b8a53ce7.zip |
Avoid potential segfaults if there are no contacts on the first pass.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/configure.ac b/configure.ac index dc849ebcd..17e0f5759 100644 --- a/configure.ac +++ b/configure.ac @@ -141,31 +141,6 @@ AS_COMPILER_FLAG(-Wmissing-declarations, ERROR_CFLAGS="$ERROR_CFLAGS -Wmissing-d AC_SUBST(ERROR_CFLAGS) # ----------------------------------------------------------- -# Enable TPL -# ----------------------------------------------------------- - -# It needs to be defined before PKG_CHECK_MODULES calls -AC_ARG_ENABLE(tpl, - AC_HELP_STRING([--enable-tpl],[enable telepathy-logger code and disable the - empathy logger]), enable_tpl=$enableval, enable_tpl=no ) -AM_CONDITIONAL(ENABLE_TPL, test "x$enable_tpl" = "xyes") - -if test x${enable_tpl} = xyes; then - AC_DEFINE(ENABLE_TPL, [], [Enable TPL code]) -fi - -if test "x$enable_tpl" = "xyes"; then - PKG_CHECK_MODULES(TPL, - [ - telepathy-logger = $TELEPATHY_LOGGER - ]) - AC_SUBST(TPL_CFLAGS) - AC_SUBST(TPL_LIBS) -fi - - - -# ----------------------------------------------------------- # Pkg-Config dependency checks # ----------------------------------------------------------- |