[tracker/as-needed: 2/4] build: Avoid getting -lsqlite3 added in LIBS
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/as-needed: 2/4] build: Avoid getting -lsqlite3 added in LIBS
- Date: Tue, 15 Feb 2011 20:24:30 +0000 (UTC)
commit a20efe6bcdcffbe868e823d00a4c2fb8c5afdcb5
Author: Aleksander Morgado <aleksander lanedo com>
Date: Tue Feb 15 20:41:22 2011 +0100
build: Avoid getting -lsqlite3 added in LIBS
m4/sqlite-threadsafe.m4 | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/m4/sqlite-threadsafe.m4 b/m4/sqlite-threadsafe.m4
index bfa20a8..75bdfbf 100644
--- a/m4/sqlite-threadsafe.m4
+++ b/m4/sqlite-threadsafe.m4
@@ -1,4 +1,4 @@
-# sqlite-threadsafe.m4 serial 1
+# sqlite-threadsafe.m4 serial 2
dnl Copyright (C) 2010 Aleksander Morgado <aleksander gnu org>
dnl This file is free software; unlimited permission to copy and/or distribute
@@ -23,6 +23,8 @@ AC_DEFUN([AX_SQLITE_THREADSAFE],
[
AC_REQUIRE([AC_PROG_CC])
+ save_LIBS="$LIBS"
+
AC_CHECK_HEADERS([sqlite3.h])
AC_CHECK_LIB([sqlite3],[sqlite3_threadsafe])
@@ -44,5 +46,7 @@ int main ()
[ax_cv_sqlite_threadsafe=yes],
[ax_cv_sqlite_threadsafe=no],
[ax_cv_sqlite_threadsafe=no])])
+
+ LIBS="$save_LIBS"
])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]