random: Fix behavior of kernel option "-rs".
[pintos-anon] / src / misc / bochs-2.6.11-link-tinfo.patch
1 diff -ru bochs-2.6.11.dist/configure bochs-2.6.11/configure
2 --- bochs-2.6.11.dist/configure 2020-01-04 23:37:34.155348000 -0800
3 +++ bochs-2.6.11/configure      2021-01-17 17:30:01.878741469 -0800
4 @@ -25331,7 +25331,7 @@
5    $as_echo_n "(cached) " >&6
6  else
7    ac_check_lib_save_LIBS=$LIBS
8 -LIBS="-lncurses  $LIBS"
9 +LIBS="-lncurses -ltinfo $LIBS"
10  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11  /* end confdefs.h.  */
12  
13 @@ -25523,7 +25523,7 @@
14  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_mvaddch" >&5
15  $as_echo "$ac_cv_lib_ncurses_mvaddch" >&6; }
16  if test "x$ac_cv_lib_ncurses_mvaddch" = xyes; then :
17 -  GUI_LINK_OPTS_TERM='-lncurses'
18 +  GUI_LINK_OPTS_TERM='-lncurses -ltinfo'
19  fi
20  
21      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mvaddch in -ltermlib" >&5
22 Only in bochs-2.6.11: configure.orig