/ Check-in [d4a6425f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a problem in autoconf/configure.ac causing --enable-readline to fail if libedit was not present.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | branch-3.10
Files: files | file ages | folders
SHA1: d4a6425ff72b9314d3c0b873fb1594a41d82f5e0
User & Date: dan 2016-01-20 15:20:58
Context
2016-01-20
15:27
Version 3.10.2 Leaf check-in: 17efb420 user: drh tags: release, version-3.10.2, branch-3.10
15:20
Fix a problem in autoconf/configure.ac causing --enable-readline to fail if libedit was not present. check-in: d4a6425f user: dan tags: branch-3.10
15:19
Fix a problem in autoconf/configure.ac causing --enable-readline to fail if libedit was not present. check-in: e8adeb64 user: dan tags: trunk
15:08
Fix the build so that it works for SQLITE_OMIT_WAL again. check-in: d1c15de5 user: drh tags: branch-3.10
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to autoconf/configure.ac.

45
46
47
48
49
50
51


52
53
54
55
56
57
58
if test x"$enable_editline" != xno ; then
  sLIBS=$LIBS
  LIBS=""
  AC_SEARCH_LIBS([readline],[edit],[enable_readline=no],[enable_editline=no])
  READLINE_LIBS=$LIBS
  if test x"$LIBS" != "x"; then
     AC_DEFINE([HAVE_EDITLINE],1,Define to use BSD editline)


  fi
  LIBS=$sLIBS
fi
if test x"$enable_readline" != xno ; then
  sLIBS=$LIBS
  LIBS=""
  AC_SEARCH_LIBS(tgetent, curses ncurses ncursesw, [], [])







>
>







45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
if test x"$enable_editline" != xno ; then
  sLIBS=$LIBS
  LIBS=""
  AC_SEARCH_LIBS([readline],[edit],[enable_readline=no],[enable_editline=no])
  READLINE_LIBS=$LIBS
  if test x"$LIBS" != "x"; then
     AC_DEFINE([HAVE_EDITLINE],1,Define to use BSD editline)
  else
    unset ac_cv_search_readline
  fi
  LIBS=$sLIBS
fi
if test x"$enable_readline" != xno ; then
  sLIBS=$LIBS
  LIBS=""
  AC_SEARCH_LIBS(tgetent, curses ncurses ncursesw, [], [])