Remove hard-coded ar from build system in xedit
Ted Tanberry
ted.tanberry at gmail.com
Sun Aug 10 13:25:08 PDT 2014
Dear Xorg developers,
I'm sending in a patch to address ar hardcoded in xedit's build
system, refer to https://bugs.gentoo.org/show_bug.cgi?id=486470 for
more information.
>From 3b15bfd742295f8bc33269511472676d359b3eac Mon Sep 17 00:00:00 2001
From: Ted Tanberry <ted.tanberry at gmail.com>
Date: Mon, 31 Mar 2014 09:37:09 +0200
Subject: [PATCH] Include AM_PROG_AR to detect 'ar' instead of hard-coding it,
see Gentoo bug https://bugs.gentoo.org/show_bug.cgi?id=486470
---
.gitignore | 1 +
configure.ac | 1 +
2 files changed, 2 insertions(+)
diff --git a/.gitignore b/.gitignore
index 7a6ea66..ff8d021 100644
--- a/.gitignore
+++ b/.gitignore
@@ -43,6 +43,7 @@ stamp-h?
symlink-tree
texinfo.tex
ylwrap
+ar-lib
# Do not edit the following section
# Edit Compile Debug Document Distribute
diff --git a/configure.ac b/configure.ac
index 1d34a70..2d7fa08 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,6 +36,7 @@ XORG_DEFAULT_OPTIONS
AC_CONFIG_HEADERS([config.h])
AM_PROG_CC_C_O
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
AC_PROG_RANLIB
PKG_PROG_PKG_CONFIG
--
1.9.1
More information about the xorg-devel
mailing list