summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorwcohen <wcohen>2007-06-29 18:13:49 +0000
committerwcohen <wcohen>2007-06-29 18:13:49 +0000
commit6b1a02746ee21861ddbd7bb7ccd46d0674904417 (patch)
tree65b81cc9164aa57073a8d340e0cbe149a3e74e59 /configure.ac
parent65eebc45d24f5272cc261b815fd1e0e523e3b504 (diff)
downloadsystemtap-steved-6b1a02746ee21861ddbd7bb7ccd46d0674904417.tar.gz
systemtap-steved-6b1a02746ee21861ddbd7bb7ccd46d0674904417.tar.xz
systemtap-steved-6b1a02746ee21861ddbd7bb7ccd46d0674904417.zip
PR 4529
* configure.ac: * Makefile.am: Limit where sqlite3 linked in. * configure: * Makefile.in: Regenerate. * coveragedb.cxx (update_coverage_db): Remove unneeded print. * coveragedb.cxx (increment_element): Correct formatting.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 8 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index ec619094..ae1207dc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -137,11 +137,16 @@ else
# We built our own and stap_LDFLAGS points at the install.
stap_LIBS="-ldw -lebl"
fi
-AC_SUBST(stap_LIBS)
-AC_MSG_NOTICE([stap will link $stap_LIBS])
-AC_CHECK_HEADER(sqlite3.h, AC_CHECK_LIB(sqlite3, sqlite3_open,
+save_LIBS="$LIBS"
+LIBS="$stap_LIBS"
+AC_CHECK_LIB(sqlite3, sqlite3_open,,[
AC_MSG_ERROR([missing sqlite development headers/libraries])])
+stap_LIBS="$LIBS"
+LIBS="$SAVE_LIBS"
+
+AC_SUBST(stap_LIBS)
+AC_MSG_NOTICE([stap will link $stap_LIBS])
dnl Plop in the build (configure) date
date=`date +%Y-%m-%d`