Mercurial > hg > mxe-octave-anirudha
changeset 3038:b39961d2ce59
readline: use termcap for mingw native or cross builds
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 10 Jun 2013 09:17:31 -0400 |
parents | db56fbc06742 |
children | 17d6d363b54d |
files | src/readline.mk |
diffstat | 1 files changed, 4 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/readline.mk +++ b/src/readline.mk @@ -8,17 +8,13 @@ $(PKG)_FILE := readline-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://ftp.gnu.org/gnu/readline/$($(PKG)_FILE) -ifeq ($(MXE_NATIVE_BUILD),yes) - $(PKG)_TERMCAP_LIB := ncurses +ifeq ($(MXE_SYSTEM),mingw) + $(PKG)_TERMCAP_LIB := termcap else - ifeq ($(MXE_SYSTEM),mingw) - $(PKG)_TERMCAP_LIB := termcap - else - $(PKG)_TERMCAP_LIB := ncurses - endif + $(PKG)_TERMCAP_LIB := ncurses endif -$(PKG)_DEPS := gcc $($(PKG)_TERMCAP_LIB) +$(PKG)_DEPS := gcc $($(PKG)_TERMCAP_LIB) define $(PKG)_UPDATE $(WGET) -q -O- 'http://tiswww.case.edu/php/chet/readline/rltop.html' | \