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.

25 lines
743 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. --- a/configure
  10. +++ b/configure
  11. @@ -434,11 +434,8 @@ int main(void)
  12. EOF
  13. $CC $CFLAGS $LDFLAGS \
  14. - $($PKG_CONFIG --cflags ncurses 2>> config.log) \
  15. -o $TMPDIR/ncursestest $TMPDIR/ncursestest.c \
  16. - $($PKG_CONFIG --libs ncurses 2>> config.log \
  17. - || echo '-lncurses' ) \
  18. - >> config.log 2>&1
  19. + -lncurses 2>> config.log
  20. if [ ! -x $TMPDIR/ncursestest ] ; then
  21. echo "[NO]"
  22. MISSING_DEFS=1