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



commit f40a36ae82469e8bf1c131dfbda0a1fe0519e351
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 ae16e0a..dbeefec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -766,10 +766,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]