Enabled use of libedit as alternative to libreadline
This commit is contained in:
16
configure.ac
16
configure.ac
@ -144,8 +144,24 @@ dnl The X= in the yes case prevents that -lreadline gets linked twice
|
||||
else
|
||||
READLINE_DEF=
|
||||
fi
|
||||
if test x$READLINE_DEF = x; then
|
||||
AC_ARG_ENABLE(libedit,
|
||||
[ --enable-libedit Enable use of libedit by xorriso if not libreadline, default=yes],
|
||||
, enable_libedit=yes)
|
||||
if test x$enable_libedit = xyes; then
|
||||
dnl Check whether there is development and runtime support.
|
||||
dnl If not, erase this macro which would enable use of el_*(), history*()
|
||||
READLINE_DEF="-DXorriso_with_editlinE"
|
||||
|
||||
LIBBURNIA_ASSERT_EDITLINE
|
||||
|
||||
else
|
||||
READLINE_DEF=
|
||||
fi
|
||||
fi
|
||||
AC_SUBST(READLINE_DEF)
|
||||
|
||||
|
||||
dnl ts A90329
|
||||
dnl ACL and xattr do not need to be enabled in libisoburn or xorriso source
|
||||
dnl but without AC_CHECK_LIB() xorriso will not be linked with -lacl .
|
||||
|
Reference in New Issue
Block a user