[evolution/gnome-2-30] Bug #589393 - Configure fails to detect pilot-link utf8 capabilities



commit ad1de0aa0889edaa0ad9bc41c170fa84ec5536f2
Author: Dominique Leuenberger <dominique-gnomezilla leuenberger net>
Date:   Fri Apr 9 10:13:18 2010 +0200

    Bug #589393 - Configure fails to detect pilot-link utf8 capabilities

 configure.ac |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 882dd1d..bb82419 100644
--- a/configure.ac
+++ b/configure.ac
@@ -656,8 +656,8 @@ if test "x$enable_pilot_conduits" = "xyes"; then
 
 	CFLAGS_save="$CFLAGS"
 	CFLAGS="$CFLAGS $GNOME_PILOT_CFLAGS"
-	LDFLAGS_save="$LDFLAGS"
-	LDFLAGS="$GNOME_PILOT_LIBS $LDFLAGS"
+	LIBS_save="$LIBS"
+	LIBS="$LIBS $GNOME_PILOT_LIBS $LDFLAGS"
 
 	AC_CACHE_CHECK([if pilot-link handles UTF-8 conversions],[ac_cv_pilot_link_utf8],
 	AC_RUN_IFELSE([AC_LANG_SOURCE(
@@ -677,7 +677,7 @@ if test "x$enable_pilot_conduits" = "xyes"; then
 	)],[ac_cv_pilot_link_utf8=yes],[ac_cv_pilot_link_utf8=no],[ac_cv_pilot_link_utf8=no]))
 
 	CFLAGS="$CFLAGS_save"
-	LDFLAGS="$LDFLAGS_save"
+	LIBS="$LIBS_save"
 
 	if test "$ac_cv_pilot_link_utf8" = no; then
 		AC_MSG_ERROR([evolution requires pilot-link to have working UTF-8 conversion routines])



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