[tracker/as-needed: 3/4] build: Avoid getting -lunistring added in LIBS



commit c65597f757812b0b63b37f427235587c74b7d655
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Tue Feb 15 20:48:39 2011 +0100

    build: Avoid getting -lunistring added in LIBS

 configure.ac |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 54fb8fb..7282529 100644
--- a/configure.ac
+++ b/configure.ac
@@ -768,10 +768,10 @@ AM_CONDITIONAL(HAVE_HAL, test "x$have_hal" = "xyes")
 
 # Check for libunistring...
 AC_CHECK_HEADER(uniwbrk.h,
-                AC_SEARCH_LIBS(u8_wordbreaks,
-                               unistring,
-                               [have_libunistring=yes],
-                               [have_libunistring=no]))
+                AC_CHECK_LIB([unistring],
+                             [u8_wordbreaks],
+                             [have_libunistring=yes],
+                             [have_libunistring=no]))
 LIBUNISTRING_CFLAGS=""
 LIBUNISTRING_LIBS="-lunistring"
 



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