]> cygwin.com Git - cygwin-apps/cygutils.git/blobdiff - configure.ac
Update version number
[cygwin-apps/cygutils.git] / configure.ac
index 88c71cda69b3bcc16fd4df061809931c06f4ae70..f3668784f59cfad9626eea2c825742874744870f 100644 (file)
@@ -1,9 +1,10 @@
 # Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT(cygutils, 1.3.2, cygwin@cygwin.com)
+AC_PREREQ(2.63)
+AC_INIT(cygutils, 1.4.0, cygwin@cygwin.com)
 AC_CONFIG_SRCDIR([config.h.in])
 AC_CONFIG_AUX_DIR([build-aux])
-AM_INIT_AUTOMAKE([-Wall -Werror dist-bzip2 no-dist-gzip])
+AC_CONFIG_MACRO_DIR([m4])
+AM_INIT_AUTOMAKE([-Wall -Werror dist-lzma no-dist-gzip])
 AM_CONFIG_HEADER([config.h])
 AM_MAINTAINER_MODE
 
@@ -15,18 +16,17 @@ AC_SUBST(VERSION_MAJOR)
 AC_SUBST(VERSION_MINOR)
 AC_SUBST(VERSION_PATCH)
 
+AC_CANONICAL_HOST
 
 # Checks for programs.
 AC_PROG_CC
 AC_PROG_CXX
 AM_PROG_CC_C_O
 AC_PROG_INSTALL
+AC_PROG_LN_S
 
-AC_LIBTOOL_WIN32_DLL
-AC_DISABLE_STATIC
-AC_LIBTOOL_RC
-AC_LIBTOOL_DLOPEN
-AC_PROG_LIBTOOL
+LT_INIT([win32-dll dlopen disable-static])
+LT_LANG([Windows Resource])
 
 # Checks for libraries.
 AC_CHECK_LIB(popt, poptPrintHelp,[
@@ -39,7 +39,7 @@ AC_CHECK_FUNC(shmget,[
 
 # AC_CHECK_LIB(intl, gettext)
 AM_GNU_GETTEXT(external,[],[])
-AM_GNU_GETTEXT_VERSION([0.15])
+AM_GNU_GETTEXT_VERSION([0.17])
 BUILD_INCLUDED_LIBINTL=no
 USE_INCLUDED_LIBINTL=no
 AC_SUBST(BUILD_INCLUDED_LIBINTL)
@@ -75,7 +75,10 @@ AC_FUNC_LSTAT
 AC_FUNC_STAT
 AC_FUNC_VPRINTF
 dnl should only exist on windows, I hope
-AC_CHECK_STDCALL_FUNC([OpenClipboard],[void *]) 
+AC_CHECK_STDCALL_FUNC([OpenClipboard],[void *])
+AC_CHECK_DECLS([cygwin_conv_path], [],dnl
+  [AC_MSG_ERROR([At least cygwin-1.7 is required])],dnl
+  [[#include <sys/cygwin.h>]])
 
 dnl Set Conditionals for Makefile.am
 AM_CONDITIONAL(WITH_WINDOWS_PROGRAMS, test "$ac_cv_func_OpenClipboard" = yes)
This page took 0.023557 seconds and 5 git commands to generate.