Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
63e9d90b
Commit
63e9d90b
authored
Apr 30, 2013
by
Mukund Sivaraman
Browse files
[1909] Check for presence of sqlite3 program before using it
parent
7ff403a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
63e9d90b
...
...
@@ -1050,6 +1050,10 @@ if test "x$HAVE_PKG_CONFIG" = "xno" ; then
fi
PKG_CHECK_MODULES(SQLITE, sqlite3 >= 3.3.9, enable_features="$enable_features SQLite3")
# Check for sqlite3 program
AC_PATH_PROG(SQLITE3_PROGRAM, sqlite3, no)
AM_CONDITIONAL(HAVE_SQLITE3_PROGRAM, test "x$SQLITE3_PROGRAM" != "xno")
#
# ASIO: we extensively use it as the C++ event management module.
#
...
...
src/bin/dbutil/tests/Makefile.am
View file @
63e9d90b
...
...
@@ -5,5 +5,11 @@ SUBDIRS = . testdata
noinst_SCRIPTS
=
dbutil_test.sh
check-local
:
if
HAVE_SQLITE3_PROGRAM
B10_LOCKFILE_DIR_FROM_BUILD
=
$(abs_top_builddir)
\
$(SHELL)
$(abs_builddir)
/dbutil_test.sh
else
@echo
""
@echo
" **** The sqlite3 program is required to run dbutil tests **** "
@echo
""
endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment