From 6bf4569e50d1df275281b790adcae934b8a53ce7 Mon Sep 17 00:00:00 2001 From: Travis Reitter Date: Tue, 22 Jun 2010 08:43:53 -0700 Subject: Avoid potential segfaults if there are no contacts on the first pass. --- configure.ac | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index dc849ebcd..17e0f5759 100644 --- a/configure.ac +++ b/configure.ac @@ -140,31 +140,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 # ----------------------------------------------------------- -- cgit v1.2.3