diff --git a/configure.ac b/configure.ac
index 4f26fbc4b6a02ab71a7db13d8dc2e15449aa5123..4cdd5028b14528c561a93676ea3c593969e9fc67 100644 (file)
--- a/configure.ac
+++ b/configure.ac
# Process this file with autoconf to produce a configure script.
# Process this file with autoconf to produce a configure script.
-AC_PREREQ([2.67])
-AC_INIT([liboping],[1.6.1])
+AC_PREREQ([2.65])
+AC_INIT([liboping],[1.6.2])
AC_CONFIG_SRCDIR([src/liboping.c])
AC_CONFIG_HEADERS([src/config.h])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([src/liboping.c])
AC_CONFIG_HEADERS([src/config.h])
AC_CONFIG_MACRO_DIR([m4])
# ABI version
LIBOPING_CURRENT=2
# ABI version
LIBOPING_CURRENT=2
-LIBOPING_REVISION=7
+LIBOPING_REVISION=9
LIBOPING_AGE=2
AC_SUBST(LIBOPING_CURRENT)
AC_SUBST(LIBOPING_REVISION)
LIBOPING_AGE=2
AC_SUBST(LIBOPING_CURRENT)
AC_SUBST(LIBOPING_REVISION)
AM_CONDITIONAL(BUILD_WITH_LIBRT, test "x$nanosleep_needs_rt" = "xyes")
with_ncurses="yes"
AM_CONDITIONAL(BUILD_WITH_LIBRT, test "x$nanosleep_needs_rt" = "xyes")
with_ncurses="yes"
-AC_CHECK_HEADERS(ncurses.h, [with_ncurses="yes"], [with_ncurses="no"])
+AC_CHECK_HEADERS(ncursesw/ncurses.h, [with_ncurses="yes"], [with_ncurses="no"])
if test "x$with_ncurses" = "xyes"
then
if test "x$with_ncurses" = "xyes"
then
- AC_CHECK_LIB(ncurses, mvwprintw, [with_ncurses="yes"], [with_ncurses="no"])
+ AC_CHECK_LIB(ncursesw, mvwprintw, [with_ncurses="yes"], [with_ncurses="no"])
fi
AM_CONDITIONAL(BUILD_WITH_LIBNCURSES, test "x$with_ncurses" = "xyes")
fi
AM_CONDITIONAL(BUILD_WITH_LIBNCURSES, test "x$with_ncurses" = "xyes")