Blame SOURCES/0001-Fixing-archiver-requires-AM_PROG_AR-in-configure.ac-.patch
|
|
6fea25 |
From 7e606ee3d10a98e65e42acb5b37cc70e00ac6472 Mon Sep 17 00:00:00 2001
|
|
|
6fea25 |
From: Marek Goldmann <goldmann@fedoraproject.org>
|
|
|
6fea25 |
Date: Tue, 24 Jul 2012 11:39:56 +0200
|
|
|
6fea25 |
Subject: [PATCH] Fixing "archiver requires 'AM_PROG_AR' in 'configure.ac'"
|
|
|
6fea25 |
error
|
|
|
6fea25 |
|
|
|
6fea25 |
---
|
|
|
6fea25 |
src/main/native-package/m4/custom.m4 | 10 +++++++++-
|
|
|
6fea25 |
1 file changed, 9 insertions(+), 1 deletion(-)
|
|
|
6fea25 |
|
|
|
6fea25 |
diff --git a/src/main/native-package/m4/custom.m4 b/src/main/native-package/m4/custom.m4
|
|
|
6fea25 |
index 3b5e92e..55fdbec 100644
|
|
|
6fea25 |
--- a/src/main/native-package/m4/custom.m4
|
|
|
6fea25 |
+++ b/src/main/native-package/m4/custom.m4
|
|
|
6fea25 |
@@ -15,7 +15,15 @@ dnl See the License for the specific language governing permissions and
|
|
|
6fea25 |
dnl limitations under the License.
|
|
|
6fea25 |
dnl ---------------------------------------------------------------------------
|
|
|
6fea25 |
|
|
|
6fea25 |
+AC_DEFUN([AM_PROG_AR],
|
|
|
6fea25 |
+[AC_BEFORE([$0], [LT_INIT])dnl
|
|
|
6fea25 |
+AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl
|
|
|
6fea25 |
+: ${AR=ar}
|
|
|
6fea25 |
+AC_SUBST([AR])dnl
|
|
|
6fea25 |
+])
|
|
|
6fea25 |
+
|
|
|
6fea25 |
AC_DEFUN([CUSTOM_M4_SETUP],
|
|
|
6fea25 |
[
|
|
|
6fea25 |
AC_CHECK_LIB([c], [isatty],[AC_DEFINE([HAVE_ISATTY], [1], [Define to 1 if you have the isatty function.])])
|
|
|
6fea25 |
-])
|
|
|
6fea25 |
\ No newline at end of file
|
|
|
6fea25 |
+ AM_PROG_AR
|
|
|
6fea25 |
+])
|
|
|
6fea25 |
--
|
|
|
6fea25 |
1.8.4.2
|
|
|
6fea25 |
|