X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.ac;h=6eb4b4b9aa4b8af98abe7a53875855e7ef36ce2a;hb=564bf1c1751ffca23848510a8a9559a14b9559ee;hp=57d8531dba1120e25b02107066c695715f98a782;hpb=f6ba51c9a1a8717b33740ae46b3afc722e78d976;p=liboping.git diff --git a/configure.ac b/configure.ac index 57d8531..6eb4b4b 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ # Process this file with autoconf to produce a configure script. -AC_PREREQ([2.67]) +AC_PREREQ([2.65]) AC_INIT([liboping],[1.6.2]) AC_CONFIG_SRCDIR([src/liboping.c]) AC_CONFIG_HEADERS([src/config.h]) @@ -20,7 +20,7 @@ AC_SUBST(LIBOPING_PATCH) # ABI version LIBOPING_CURRENT=2 -LIBOPING_REVISION=8 +LIBOPING_REVISION=9 LIBOPING_AGE=2 AC_SUBST(LIBOPING_CURRENT) AC_SUBST(LIBOPING_REVISION) @@ -48,7 +48,7 @@ LT_INIT([dlopen]) # Checks for header files. AC_HEADER_STDC AC_HEADER_TIME -AC_CHECK_HEADERS([math.h signal.h fcntl.h inttypes.h netdb.h stdint.h stdlib.h string.h sys/socket.h sys/time.h unistd.h]) +AC_CHECK_HEADERS([math.h signal.h fcntl.h inttypes.h netdb.h stdint.h stdlib.h string.h sys/socket.h sys/time.h unistd.h locale.h langinfo.h]) # This sucks, but what can I do..? AC_CHECK_HEADERS(netinet/in_systm.h, [], [], @@ -186,10 +186,10 @@ AC_CHECK_FUNCS(nanosleep, [], 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 - 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")