summaryrefslogtreecommitdiff
path: root/tests/distcom2.test
diff options
context:
space:
mode:
authorAlexandre Duret-Lutz <adl@gnu.org>2004-08-03 23:02:56 +0000
committerAlexandre Duret-Lutz <adl@gnu.org>2004-08-03 23:02:56 +0000
commit1e840d7c6a02b99f02368a36d1ca38d569905019 (patch)
treee55e37c8404bca374472c0f2166bf68aa142e058 /tests/distcom2.test
parent6965500c585ebf0feb3d987fec12cf3e6c2504fe (diff)
downloadautomake-1e840d7c6a02b99f02368a36d1ca38d569905019.tar.gz
Support AC_REQUIRE_AUX_FILE, and fix requirement of AM_PROG_CC_C_O.
* automake.in (%required_aux_file): New hash. (handle_single_transform, lang_c_rewrite): Do note explicitly require 'compile', this is now an internal detail of AM_PROG_CC_C_O. (scan_autoconf_traces): Trace AC_REQUIRE_AUX_FILE and fill %required_aux_file. (scan_autoconf_files): Require all %required_aux_file instead of explicitly requiring install-sh and missing. (generate_makefile): Do not require config.sub and config.guess. (handle_single_transform): Pass $have_per_exec_flags to &lang_c_rewrite. * configure.ac, m4/init.m4: Require Autoconf 2.59a. * doc/automake.texi (Optional): Document AC_REQUIRE_AUX_FILE. (Program and Library Variables, Options, Public macros): AC_PROG_CC_C_O is required when per-target flags or subdir-objects are used with C sources. * m4/minuso.m4: Require `compile' using AC_REQUIRE_AUX_FILE. * m4/missing.m4: Require `missing' similarly. * tests/acsubst2.test, tests/distcom2.test, tests/distcom6.test, tests/specflg.test, tests/specflg2.test, tests/specflg3.test, tests/specflg6.test, tests/specflg7.test, tests/specflg8.test, tests/specflg9.test, tests/subobj7.test, tests/target-cflags.test, tests/yacc6.test: Fix to use AM_PROG_CC_C_O.
Diffstat (limited to 'tests/distcom2.test')
-rwxr-xr-xtests/distcom2.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/distcom2.test b/tests/distcom2.test
index 88b8e7fd9..3284c05a7 100755
--- a/tests/distcom2.test
+++ b/tests/distcom2.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
@@ -25,6 +25,7 @@
cat >> configure.in << 'END'
AC_PROG_CC
+AM_PROG_CC_C_O
AC_CONFIG_FILES([subdir/Makefile])
AC_OUTPUT
END