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

(-)a/configure.ac.ORIG (-3 / +3 lines)
Lines 4-17 Link Here
4
AC_CONFIG_HEADERS([config.h])
4
AC_CONFIG_HEADERS([config.h])
5
AC_PROG_CC
5
AC_PROG_CC
6
AM_PROG_CC_C_O
6
AM_PROG_CC_C_O
7
AC_CHECK_FUNCS([pledge reallocarray strtonum])
7
AC_SEARCH_LIBS([setupterm], [tinfo],
8
AC_SEARCH_LIBS([setupterm], [curses], [],
9
  [
8
  [
10
    AC_SEARCH_LIBS([setupterm], [ncursesw],
9
    AC_SEARCH_LIBS([setupterm], [tinfo],
11
      [AC_DEFINE([HAVE_NCURSESW_H], [1], [Define if ncursesw is available])],
10
      [AC_DEFINE([HAVE_NCURSESW_H], [1], [Define if ncursesw is available])],
12
      [AC_MSG_ERROR([unable to find setupterm function])]
11
      [AC_MSG_ERROR([unable to find setupterm function])]
13
    )
12
    )
14
  ]
13
  ]
15
)
14
)
15
AC_CHECK_FUNCS([pledge reallocarray strtonum])
16
AC_CONFIG_FILES([Makefile])
16
AC_CONFIG_FILES([Makefile])
17
AC_OUTPUT
17
AC_OUTPUT

Return to bug 630864