From 5346bb271fd8f47617cc83d97e04be453c0d7868 Mon Sep 17 00:00:00 2001
From: Dave Reisner <dreisner@archlinux.org>
Date: Tue, 1 Jan 2013 11:55:10 -0500
Subject: [PATCH] build: fix compatibility with automake 1.13

- Use AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER
- Use AC_CONFIG_MACRO_DIRS instead of AC_CONFIG_MACRO_DIR
---
 configure.ac        | 4 ++--
 m4/curl-override.m4 | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index 5853e57..19428d9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,8 +35,8 @@ This configure script may be copied, distributed and modified under the
 terms of the curl license; see COPYING for more details])
 
 AC_CONFIG_SRCDIR([lib/curl_urldata.h])
-AM_CONFIG_HEADER(lib/curl_config.h include/curl/curlbuild.h)
-AC_CONFIG_MACRO_DIR([m4])
+AC_CONFIG_HEADERS([lib/curl_config.h include/curl/curlbuild.h])
+AC_CONFIG_MACRO_DIRS([m4])
 AM_MAINTAINER_MODE
 
 CURL_CHECK_OPTION_DEBUG
diff --git a/m4/curl-override.m4 b/m4/curl-override.m4
index 0e4d1f9..e2beed1 100644
--- a/m4/curl-override.m4
+++ b/m4/curl-override.m4
@@ -95,6 +95,6 @@ dnl Allow usage of mentioned macro in configure.ac
 dnl even with ancient Autoconf versions, such as 2.57,
 dnl that do not provide a definition for this macro.
 
-m4_ifndef([AC_CONFIG_MACRO_DIR],
-[AC_DEFUN([AC_CONFIG_MACRO_DIR],[:])])
+m4_ifndef([AC_CONFIG_MACRO_DIRS],
+[AC_DEFUN([AC_CONFIG_MACRO_DIRS],[:])])
 
-- 
1.8.0.3


