Browse Source

Don't check for readline, if shared lib or Windows GUI is selected

pre-master-46
Holger Vogt 2 years ago
parent
commit
6b3c085037
  1. 7
      configure.ac

7
configure.ac

@ -1252,9 +1252,13 @@ if test "x$enable_expdevices" = xyes; then
fi
# ---- Option to include GNU readline support in ngspice CLI ----
# ---- Default: disabled. ----
# ---- Default: enabled. ----
# ---- Hope to see in the future readline replacement. ----
if test "x$with_wingui" = xyes || test "x$with_ngshared" = xyes; then
AC_MSG_RESULT([GNU readline disabled.])
AC_MSG_RESULT([BSD editline disabled.])
else
if test "x$with_readline" = xno ; then
AC_MSG_RESULT([GNU readline disabled.])
else
@ -1310,6 +1314,7 @@ else
[AC_MSG_ERROR([Couldn't find editline libraries.])],
[-lncurses])
fi
fi
# Use AC_CHECK_HEADERS so the HAVE_*_H symbol gets defined
AC_CHECK_HEADERS([ncurses/termcap.h termcap.h])

Loading…
Cancel
Save