Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 618124
Collapse All | Expand All

(-)tiptop-2.3.1-orig/configure (-2 / +2 lines)
Lines 3440-3446 Link Here
3440
  $as_echo_n "(cached) " >&6
3440
  $as_echo_n "(cached) " >&6
3441
else
3441
else
3442
  ac_check_lib_save_LIBS=$LIBS
3442
  ac_check_lib_save_LIBS=$LIBS
3443
LIBS="-lcurses  $LIBS"
3443
LIBS="$(pkg-config --libs ncurses) $LIBS"
3444
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3444
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445
/* end confdefs.h.  */
3445
/* end confdefs.h.  */
3446
3446
Lines 3475-3481 Link Here
3475
3475
3476
$as_echo "#define HAVE_LIBCURSES 1" >>confdefs.h
3476
$as_echo "#define HAVE_LIBCURSES 1" >>confdefs.h
3477
3477
3478
                  LIBS="-lcurses $LIBS"
3478
                  LIBS="$(pkg-config --libs ncurses) $LIBS"
3479
else
3479
else
3480
  have_curses=no
3480
  have_curses=no
3481
fi
3481
fi
(-)tiptop-2.3.1-orig/configure.ac (-1 / +1 lines)
Lines 22-28 Link Here
22
AC_CHECK_LIB([curses], [initscr],
22
AC_CHECK_LIB([curses], [initscr],
23
                  [have_curses=yes;
23
                  [have_curses=yes;
24
                  AC_DEFINE([HAVE_LIBCURSES], [1], [Define to 1 if you have the `curses' library (-lcurses).])
24
                  AC_DEFINE([HAVE_LIBCURSES], [1], [Define to 1 if you have the `curses' library (-lcurses).])
25
                  LIBS="-lcurses $LIBS"],
25
                  LIBS="$(pkg-config --libs ncurses) $LIBS"],
26
             [have_curses=no])
26
             [have_curses=no])
27
fi
27
fi
28
28

Return to bug 618124