2000-01-06 Tom Tromey <tromey@cygnus.com>
+ * automake.in (handle_configure): Don't check for
+ AC_PROG_MAKE_SET.
+ (scan_configure): Check for AC_PROG_MAKE_SET.
+
* header-vars.am (@SET_MAKE@): Added.
* subdirs.am (@SET_MAKE@): Removed. Report from Motoyuki
Kasahara.
if 0;
# automake - create Makefile.in from Makefile.am
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+# Copyright (C) 1994-99, 2000 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
{
local ($local, $input, @secondary_inputs) = @_;
- # If SUBDIRS defined, require AC_PROG_MAKE_SET.
- &am_line_error ('SUBDIRS', "AC_PROG_MAKE_SET must be used in configure.in")
- if &variable_defined ('SUBDIRS') && ! $seen_make_set;
-
local ($top_reldir);
local ($input_base) = &basename ($input);
&am_conf_error ("\`VERSION' not defined in configure.in")
if ! $seen_version;
+ # Always require AC_PROG_MAKE_SET. We might randomly use $(MAKE)
+ # for our own reasons.
+ &am_conf_error ("\`AC_PROG_MAKE_SET' must be used in configure.in")
+ if ! $seen_make_set;
+
# Look for some files we need. Always check for these. This
# check must be done for every run, even those where we are only
# looking at a subdir Makefile. We must set relative_dir so that