Merge pull request #152 from sureshsundriyal/wip

Fix some brokenness.
pull/156/head
Suresh Sundriyal 9 years ago
commit b8d7841342

@ -77,8 +77,8 @@ AC_DEFUN([AX_PATH_LIB_READLINE],
dnl i.e. We haven't picked up editline. dnl i.e. We haven't picked up editline.
AC_SEARCH_LIBS([history_set_history_state], [readline], AC_SEARCH_LIBS([history_set_history_state], [readline],
[], [],
AC_MSG_ERROR([libreadline does not have the required symbols. editline possibly masquerading as readline.]) AC_MSG_ERROR([libreadline does not have the required symbols. editline possibly masquerading as readline.]),
[$CURSES] [$CURSES_LIB]
) )
AC_SUBST([READLINE_LIBS]) AC_SUBST([READLINE_LIBS])

@ -32,10 +32,13 @@ AC_DEFUN([LNAV_WITH_SQLITE3],
] ]
) )
AS_VAR_SET([saved_LDFLAGS], [$LDFLAGS])
LNAV_ADDTO([LDFLAGS], [-pthread])
AC_SEARCH_LIBS([sqlite3_open], [sqlite3], AC_SEARCH_LIBS([sqlite3_open], [sqlite3],
AS_VAR_SET([SQLITE3_LIBS], ["-lsqlite3"]), AS_VAR_SET([SQLITE3_LIBS], ["-lsqlite3"]),
AC_MSG_ERROR([sqlite3 library not found]) AC_MSG_ERROR([sqlite3 library not found])
) )
AS_VAR_SET([LDFLAGS], [$saved_LDFLAGS])
AC_CHECK_HEADERS([sqlite3.h], [], AC_CHECK_HEADERS([sqlite3.h], [],
AC_MSG_ERROR([sqlite3 headers not found]) AC_MSG_ERROR([sqlite3 headers not found])

Loading…
Cancel
Save