From: Peter Rosin Date: Mon, 30 Jan 2012 19:33:17 +0000 (+0100) Subject: tests: fetch the 'compile' script for subdir objects X-Git-Tag: ng-0.5a~19^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=925c6bdd0a3f3672edf88e5bad83d099424f4230;p=thirdparty%2Fautomake.git 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. --- diff --git a/tests/libobj19.test b/tests/libobj19.test index 79334d946..ac8f5f799 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