You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
820 B

  1. From 505dde6ac50689ec2ba50a1f0087eb8a9ff1f419 Mon Sep 17 00:00:00 2001
  2. From: Toni Uhlig <matzeton@googlemail.com>
  3. Date: Mon, 18 May 2020 20:12:17 +0200
  4. Subject: [PATCH] fix ncurses check during configure
  5. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
  6. ---
  7. configure | 5 +----
  8. 1 file changed, 1 insertion(+), 4 deletions(-)
  9. diff --git a/configure b/configure
  10. index ceda000..f843d64 100755
  11. --- a/configure
  12. +++ b/configure
  13. @@ -434,11 +434,8 @@ int main(void)
  14. EOF
  15. $CC $CFLAGS $LDFLAGS \
  16. - $($PKG_CONFIG --cflags ncurses 2>> config.log) \
  17. -o $TMPDIR/ncursestest $TMPDIR/ncursestest.c \
  18. - $($PKG_CONFIG --libs ncurses 2>> config.log \
  19. - || echo '-lncurses' ) \
  20. - >> config.log 2>&1
  21. + -lncurses 2>> config.log
  22. if [ ! -x $TMPDIR/ncursestest ] ; then
  23. echo "[NO]"
  24. MISSING_DEFS=1
  25. --
  26. 2.20.1