From 08f26bdd093c7f289638ab506b0e842bd93f3d0d Mon Sep 17 00:00:00 2001
From: Dmytro Bagrii <dimich@softerra.com>
Date: Thu, 14 Mar 2013 15:44:40 +0100
Subject: [PATCH 1/2] Fix 'AM_PROG_AR' autogen.sh error There is an error while
 running autogen.sh in some distributions (e.g. Archlinux, automake 1.13.1).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 6a4a7c5..eb03a50 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,6 @@
 AC_INIT([neardal], 0.8.0, Neardal for Neard v0.8)
 AM_INIT_AUTOMAKE([foreign -Wall -Werror])
 
-AC_PROG_LIBTOOL
 AC_CONFIG_HEADERS([config.h])
 
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
@@ -15,6 +14,8 @@ traces=no
 
 AC_PROG_CC
 AM_PROG_CC_C_O
+AM_PROG_AR
+AC_PROG_LIBTOOL
 
 ## Compiler option
 ## Debug ?
-- 
1.8.1.5

