[gtk+/gtk-2-24] Use AC_PATH_TOOL to find build tools.
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] Use AC_PATH_TOOL to find build tools.
- Date: Fri, 25 Jul 2014 19:08:51 +0000 (UTC)
commit f566f8811eac0eafcddf4d5a233f6a15053f2619
Author: Michał Górny <mgorny gentoo org>
Date: Thu Jun 12 17:29:53 2014 +0200
Use AC_PATH_TOOL to find build tools.
This improves support for cross-compilation & multilib on Gentoo, where
tools proper for target arch/ABI are prefixed with CHOST.
https://bugzilla.gnome.org/show_bug.cgi?id=731582
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index be3cf4c..0107d9d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -190,7 +190,7 @@ m4_ifdef([LT_OUTPUT], [LT_OUTPUT])
AC_SYS_LARGEFILE
AM_PROG_AS
-AC_PATH_PROG(NM, nm, nm)
+AC_PATH_TOOL(NM, nm, nm)
dnl Initialize maintainer mode
AM_MAINTAINER_MODE([enable])
@@ -1453,7 +1453,7 @@ AC_ARG_ENABLE(cups,
if test "x$enable_cups" = "xno"; then
AM_CONDITIONAL(HAVE_CUPS, false)
else
- AC_PATH_PROG(CUPS_CONFIG, cups-config, no)
+ AC_PATH_TOOL(CUPS_CONFIG, cups-config, no)
if test "x$CUPS_CONFIG" = "xno"; then
if test "x$enable_cups" = "xauto"; then
AM_CONDITIONAL(HAVE_CUPS, false)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]