summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorwcohen <wcohen>2007-06-29 20:23:34 +0000
committerwcohen <wcohen>2007-06-29 20:23:34 +0000
commit42feb3c0aa0e3c40e7f384f24458ad07cff250a4 (patch)
treefd5a65d57f3814055510babda9ee09e135217c28 /configure.ac
parent6b1a02746ee21861ddbd7bb7ccd46d0674904417 (diff)
downloadsystemtap-steved-42feb3c0aa0e3c40e7f384f24458ad07cff250a4.tar.gz
systemtap-steved-42feb3c0aa0e3c40e7f384f24458ad07cff250a4.tar.xz
systemtap-steved-42feb3c0aa0e3c40e7f384f24458ad07cff250a4.zip
PR 4529
* configure.ac: * Makefile.am: Limit where sqlite3 linked in. * configure: * Makefile.in: Regenerate.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 6 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index ae1207dc..2fd7f311 100644
--- a/configure.ac
+++ b/configure.ac
@@ -75,6 +75,12 @@ if test "$enable_prologues" = yes; then
fi])
+SAVE_LIBS="$LIBS"
+AC_CHECK_LIB(sqlite3, sqlite3_open,,[
+ AC_MSG_ERROR([missing sqlite development headers/libraries])])
+sqlite3_LIBS="$LIBS"
+AC_SUBST(sqlite3_LIBS)
+LIBS="$SAVE_LIBS"
build_elfutils=no
AC_ARG_WITH([elfutils],
@@ -138,13 +144,6 @@ else
stap_LIBS="-ldw -lebl"
fi
-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])