X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=configure.in;h=551861ed8baf85e29f479ae364aa643ec681603e;hb=dfbb336f793df897e24bd34d6cae780d5bdef3cf;hp=a106b7dd4e48ee95ed54a01dfc2d96c5c37eab12;hpb=db905ff22705494136f504425cf0c75bb94cb81c;p=ap-utils.git diff --git a/configure.in b/configure.in index a106b7d..551861e 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.5pre1_FreedomOfUkraine) +AM_INIT_AUTOMAKE(ap-utils, 1.5.1pre1) 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" 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! "