X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=configure.in;h=5fdc4acb38ed2f9b2bb3ee72d3fd810c9e0e7991;hb=8eb592e2cd67b8fa606c0dc071d175fbf4e08276;hp=d6b4eaf1ac3ed1943db02d77b9b971b4ab9465c3;hpb=6a9e980b8799891e0a5467a0126a60b169c8f4eb;p=ap-utils.git diff --git a/configure.in b/configure.in index d6b4eaf..5fdc4ac 100644 --- a/configure.in +++ b/configure.in @@ -18,7 +18,7 @@ # AC_INIT([lib/snmp.c]) AC_CONFIG_AUX_DIR(config) -AM_INIT_AUTOMAKE(ap-utils, 1.4.2-pre1a) +AM_INIT_AUTOMAKE(ap-utils, 1.5.1pre2a) AM_CONFIG_HEADER(config.h) ac_aux_dir=config @@ -51,14 +51,16 @@ AC_FUNC_MEMCMP AC_TYPE_SIGNAL AC_CHECK_FUNCS([alarm inet_ntoa socket strtol sysinfo fork malloc free]) -ALL_LINGUAS="uk fr pl ro nl tr" +ALL_LINGUAS="uk fr pl ro nl tr rw vi ms fi" AM_GNU_GETTEXT -AC_CHECK_LIB(ncurses, initscr, , NOCURSES=yes) +aputils_save_LIBS="$LIBS" +AC_CHECK_LIB(ncurses, initscr, CURSESLIBS="-lncurses", NOCURSES=yes) if test "$NOCURSES" = yes; then - AC_CHECK_LIB(curses, initscr, , AC_MSG_ERROR([ap-utils requires installed ncurses or Sys V curses to build])) + AC_CHECK_LIB(curses, initscr, CURSESLIBS="-lcurses", AC_MSG_ERROR([ap-utils requires installed ncurses or Sys V curses to build])) fi +LIBS="$aputils_save_LIBS" # Check for OS and make OS define OS specific variables case "$host_os" in @@ -106,10 +108,15 @@ no) esac ]) +AC_SUBST(CURSESLIBS) + AC_OUTPUT([Makefile src/Makefile ap-gl/Makefile lib/Makefile po/Makefile.in intl/Makefile Documentation/Makefile]) echo " - Thank you for using ap-utils. + Thanks for support to Polesye Trade networking equipment + internet shop http://trade.polesye.net + + Thank you for using ap-utils! "