Skip to content

Commit

Permalink
Modernize auto* files so it builds with recent versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
kumpera committed May 29, 2013
1 parent 3ddf7ff commit 2a091ef
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion autogen.sh
Expand Up @@ -114,7 +114,7 @@ aclocal $ACLOCAL_FLAGS || {
exit 1
}

if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then
if grep "^AC_CONFIG_HEADERS" configure.in >/dev/null; then
echo "Running autoheader..."
autoheader || { echo "**Error**: autoheader failed."; exit 1; }
fi
Expand Down
10 changes: 7 additions & 3 deletions configure.in
@@ -1,8 +1,12 @@
AC_INIT(README)
AC_INIT(libgdiplus, [2.11],
[https://bugzilla.xamarin.com/enter_bug.cgi?product=Class%20Libraries&component=libgdiplus])
AC_CONFIG_SRCDIR([README])

AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(libgdiplus,2.11)
AC_CANONICAL_HOST

AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS([config.h])
AM_MAINTAINER_MODE
AM_PROG_LIBTOOL

Expand Down
2 changes: 1 addition & 1 deletion pixman/configure.ac
Expand Up @@ -64,7 +64,7 @@ m4_define([pixman_version],[pixman_major.pixman_minor.pixman_micro])
AC_INIT(pixman, pixman_version, "sandmann@daimi.au.dk", pixman)
AM_INIT_AUTOMAKE([dist-bzip2])

AM_CONFIG_HEADER(config.h)
AC_CONFIG_HEADERS(config.h)

AC_PROG_CC
AC_PROG_LIBTOOL
Expand Down

0 comments on commit 2a091ef

Please sign in to comment.