diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
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]) |