aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac14
1 files changed, 5 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac
index 08b8e94..6bed77a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,7 +19,7 @@
#
# Process this file with autoconf to produce a configure script.
#
-AC_PREREQ(2.61)
+AC_PREREQ([2.69])
AC_INIT([Anastasis GTK],[0.2.0],[bug-anastasis@gnu.org],[anastasis-gtk])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([silent-rules])
@@ -27,22 +27,19 @@ AC_CONFIG_HEADERS([anastasis_gtk_config.h])
AH_TOP([#define _GNU_SOURCE 1])
-AC_ISC_POSIX
AC_PROG_AWK
AM_PROG_CC_C_O
AC_PROG_MKDIR_P
AC_PROG_CPP
-AC_PROG_CC_C99
+AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
-AC_LIBTOOL_WIN32_DLL
-AC_HEADER_STDC
AC_CANONICAL_HOST
# dynamic libraries/plugins
AC_DISABLE_STATIC
-AC_PROG_LIBTOOL
+LT_INIT
AC_SYS_LARGEFILE
AC_FUNC_FSEEKO
@@ -352,8 +349,6 @@ AC_MSG_CHECKING(for gtk)
without_gtk=true
PKG_CHECK_MODULES([GTK], [gtk+-3.0])
-AM_PATH_GTK_3_0([3.22.0],,AC_MSG_ERROR([anastasis-gtk requires GTK 3.22]))
-
CFLAGS="$CFLAGS $GTK_CFLAGS"
CPPFLAGS="$CPPFLAGS $GTK_CFLAGS"
LIBS="$LIBS $GTK_LIBS"
@@ -492,7 +487,7 @@ AS_IF([test -n "$SOURCE_DATE_EPOCH"],
[thisyear=$(date +%Y)])
AC_SUBST(ANASTASIS_GTK_YEARTO, ${thisyear}, [year of the most current release])
-AC_OUTPUT([
+AC_CONFIG_FILES([
Makefile
contrib/Makefile
doc/Makefile
@@ -505,3 +500,4 @@ po/Makefile.in
po/Makefile
anastasis-gtk.desktop
])
+AC_OUTPUT