[empathy] Fix call-event.h detection



commit 129f902925f603c163dc66757faf4d22632efe9e
Author: Laurent Bigonville <bigon bigon be>
Date:   Fri Aug 19 14:55:25 2011 +0200

    Fix call-event.h detection
    
    Correctly set the LDFLAGS from EMPATHY_LDFLAGS so AC_CHECK_HEADER can
    find call-event.h
    
    https://bugzilla.gnome.org/show_bug.cgi?id=656908

 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0d48af6..f152246 100644
--- a/configure.ac
+++ b/configure.ac
@@ -232,14 +232,17 @@ AC_ARG_ENABLE(call-logs,
 if test "x$enable_call_logs" != "xno" ; then
    SAVE_CFLAGS=$CFLAGS
    SAVE_CPPFLAGS=$CPPFLAGS
+   SAVE_LDFLAGS=$LDFLAGS
    CFLAGS="$CFLAGS $EMPATHY_CFLAGS"
    CPPFLAGS="$CPPFLAGS $EMPATHY_CFLAGS"
+   LDFLAGS="$LDFLAGS $EMPATHY_LDFLAGS"
 
    AC_CHECK_HEADER(telepathy-logger/call-event.h,
       have_call_logs="yes", have_call_logs="no")
 
    CFLAGS=$SAVE_CFLAGS
    CPPFLAGS=$SAVE_CPPFLAGS
+   LDFLAGS=$SAVE_LDFLAGS
 
    if test "x$have_call_logs" = "xyes"; then
       AC_DEFINE(HAVE_CALL_LOGS, 1, [Define if you have call log support])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]