automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 3/4] tests: fetch the 'compile' script for subdir objects


From: Peter Rosin
Subject: [PATCH 3/4] tests: fetch the 'compile' script for subdir objects
Date: Mon, 30 Jan 2012 12:42:04 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1

>From 0ca86d111629522e069ad0818f8e76f3f99d1d2a Mon Sep 17 00:00:00 2001
From: Peter Rosin <address@hidden>
Date: Mon, 30 Jan 2012 11:13:16 +0100
Subject: [PATCH 3/4] tests: fetch the 'compile' script for subdir objects

tests/libobj19.test: Subdir objects are used, so the 'compile'
script needs to be present for inferior hosts.  Fetch it.
---
 tests/libobj19.test |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/libobj19.test b/tests/libobj19.test
index 79334d9..ac8f5f7 100755
--- a/tests/libobj19.test
+++ b/tests/libobj19.test
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2010, 2011 Free Software Foundation, Inc.
+# Copyright (C) 2010, 2011, 2012 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -22,6 +22,7 @@ required=cc
 cat >> configure.in << 'END'
 AC_CONFIG_LIBOBJ_DIR([libobj-dir])
 AC_PROG_CC
+AM_PROG_CC_C_O
 AM_PROG_AR
 AC_PROG_RANLIB
 AC_LIBOBJ([foobar])
@@ -53,7 +54,8 @@ cat > libobj-dir/foobar.c << 'END'
 extern int dummy;
 END
 
-cp "$am_scriptdir/ar-lib" . || fatal_ "fetching auxiliary script \`ar-lib'"
+cp "$am_scriptdir/ar-lib" . || fatal_ "fetching auxiliary script 'ar-lib'"
+cp "$am_scriptdir/compile" . || fatal_ "fetching auxiliary script 'compile'"
 
 $ACLOCAL
 $AUTOCONF
-- 
1.7.5.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]