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.
15 lines
696 B
15 lines
696 B
# fix tinfo handling (bug 529776)
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 0c4398a..097d1bd 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -18,7 +18,7 @@ dnl Checks for libraries.
|
|
AC_SUBST(AX25_LIB)
|
|
AC_SUBST(NCURSES_LIB)
|
|
AC_CHECK_LIB(ax25, ax25_config_load_ports, AX25_LIB="-lax25", AC_MSG_ERROR(Could not find the libax25 libraries; aborting))
|
|
-AC_CHECK_LIB(ncursesw, initscr,NCURSES_LIB="-lncursesw", AC_MSG_ERROR(Could not find the ncursesw library; aborting))
|
|
+PKG_CHECK_MODULES(ncursesw, ncursesw, [NCURSES_LIB="$ncursesw_LIBS"], AC_MSG_ERROR(Could not find the ncursesw library; aborting))
|
|
|
|
dnl Checks for working glibc 2.1 headers
|
|
AC_CHECK_TYPES([struct ax25_fwd_struct], [],
|