summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkim Demaille <akim@epita.fr>2005-01-27 09:25:45 +0000
committerAkim Demaille <akim@epita.fr>2005-01-27 09:25:45 +0000
commit157d3252f42461e0ec5678020b27c8ae341b0eff (patch)
treec44e9e3fc6a095e685347994f25d820a3d41238b
parent4ef522eeb12c63f4174e4f13eb9be924eab7dd6c (diff)
downloadautomake-157d3252f42461e0ec5678020b27c8ae341b0eff.tar.gz
automake-157d3252f42461e0ec5678020b27c8ae341b0eff.tar.bz2
automake-157d3252f42461e0ec5678020b27c8ae341b0eff.zip
* lib/Automake/Configure_ac.pm: s/filename/file_name/g.
From Paul Eggert.
-rw-r--r--ChangeLog5
-rw-r--r--Makefile.in20
-rw-r--r--aclocal.m49
-rwxr-xr-xconfigure7
-rw-r--r--doc/stamp-vti2
-rw-r--r--doc/version.texi2
-rw-r--r--lib/Automake/Configure_ac.pm10
-rw-r--r--lib/Automake/Makefile.in20
-rw-r--r--lib/Makefile.in20
9 files changed, 72 insertions, 23 deletions
diff --git a/ChangeLog b/ChangeLog
index 8b4d50725..f9e6074c4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-27 Akim Demaille <akim@epita.fr>
+
+ * lib/Automake/Configure_ac.pm: s/filename/file_name/g.
+ From Paul Eggert.
+
2005-01-24 Akim Demaille <akim@epita.fr>
* lib/Automake/FileUtils.pm: Rename filename as file_name to be
diff --git a/Makefile.in b/Makefile.in
index 76682eba1..3d56ac220 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -247,7 +247,13 @@ uninstall-binSCRIPTS:
# (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
- @set fnord $$MAKEFLAGS; amf=$$2; \
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
@@ -259,14 +265,20 @@ $(RECURSIVE_TARGETS):
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+ || eval $$failcom; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
$(RECURSIVE_CLEAN_TARGETS):
- @set fnord $$MAKEFLAGS; amf=$$2; \
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
dot_seen=no; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
@@ -287,7 +299,7 @@ $(RECURSIVE_CLEAN_TARGETS):
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+ || eval $$failcom; \
done && test -z "$$fail"
tags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
diff --git a/aclocal.m4 b/aclocal.m4
index f24ed7950..7a1aa926b 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -21,7 +21,14 @@
# ----------------------------
# Automake X.Y traces this macro to ensure aclocal.m4 has been
# generated from the m4 files accompanying Automake X.Y.
-AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9a"])
+# (This private macro should not be called outside this file.)
+AC_DEFUN([AM_AUTOMAKE_VERSION],
+[am__api_version='1.9a'
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
+dnl require some minimum version. Point them to the right macro.
+m4_if([$1], [1.9a], [],
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+])
# AM_SET_CURRENT_AUTOMAKE_VERSION
# -------------------------------
diff --git a/configure b/configure
index e0aac2181..8fb2df319 100755
--- a/configure
+++ b/configure
@@ -1602,7 +1602,8 @@ build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
am_AUTOCONF="${AUTOCONF-autoconf}"
-am__api_version="1.9a"
+am__api_version='1.9a'
+
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
# incompatible versions:
@@ -1835,11 +1836,11 @@ else
cat >conftest.make <<\_ACEOF
SHELL = /bin/sh
all:
- @echo 'ac_maketemp="$(MAKE)"'
+ @echo 'ac_maketemp=X"$(MAKE)"'
_ACEOF
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
-if test -n "$ac_maketemp"; then
+if test "$ac_maketemp" != X ; then
eval ac_cv_prog_make_${ac_make}_set=yes
else
eval ac_cv_prog_make_${ac_make}_set=no
diff --git a/doc/stamp-vti b/doc/stamp-vti
index 0e5329811..d6907457c 100644
--- a/doc/stamp-vti
+++ b/doc/stamp-vti
@@ -1,4 +1,4 @@
-@set UPDATED 23 January 2005
+@set UPDATED 24 January 2005
@set UPDATED-MONTH January 2005
@set EDITION 1.9a
@set VERSION 1.9a
diff --git a/doc/version.texi b/doc/version.texi
index 0e5329811..d6907457c 100644
--- a/doc/version.texi
+++ b/doc/version.texi
@@ -1,4 +1,4 @@
-@set UPDATED 23 January 2005
+@set UPDATED 24 January 2005
@set UPDATED-MONTH January 2005
@set EDITION 1.9a
@set VERSION 1.9a
diff --git a/lib/Automake/Configure_ac.pm b/lib/Automake/Configure_ac.pm
index 99acf39ab..cb0418876 100644
--- a/lib/Automake/Configure_ac.pm
+++ b/lib/Automake/Configure_ac.pm
@@ -1,4 +1,4 @@
-# Copyright (C) 2003 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2005 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
@@ -37,14 +37,14 @@ Automake::Configure_ac - Locate configure.ac or configure.in.
# Try to locate configure.in or configure.ac in the current
# directory. It may be absent. Complain if both files exist.
- my $filename = find_configure_ac;
+ my $file_name = find_configure_ac;
# Likewise, but bomb out if the file does not exist.
- my $filename = require_configure_ac;
+ my $file_name = require_configure_ac;
# Likewise, but in $dir.
- my $filename = find_configure_ac ($dir);
- my $filename = require_configure_ac ($dir);
+ my $file_name = find_configure_ac ($dir);
+ my $file_name = require_configure_ac ($dir);
=cut
diff --git a/lib/Automake/Makefile.in b/lib/Automake/Makefile.in
index 4d224f1b7..249493bc3 100644
--- a/lib/Automake/Makefile.in
+++ b/lib/Automake/Makefile.in
@@ -255,7 +255,13 @@ uninstall-nodist_perllibDATA:
# (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
- @set fnord $$MAKEFLAGS; amf=$$2; \
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
@@ -267,14 +273,20 @@ $(RECURSIVE_TARGETS):
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+ || eval $$failcom; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
$(RECURSIVE_CLEAN_TARGETS):
- @set fnord $$MAKEFLAGS; amf=$$2; \
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
dot_seen=no; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
@@ -295,7 +307,7 @@ $(RECURSIVE_CLEAN_TARGETS):
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+ || eval $$failcom; \
done && test -z "$$fail"
tags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
diff --git a/lib/Makefile.in b/lib/Makefile.in
index 77d49ec85..78254145d 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -231,7 +231,13 @@ uninstall-dist_scriptDATA:
# (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
- @set fnord $$MAKEFLAGS; amf=$$2; \
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
@@ -243,14 +249,20 @@ $(RECURSIVE_TARGETS):
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+ || eval $$failcom; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
$(RECURSIVE_CLEAN_TARGETS):
- @set fnord $$MAKEFLAGS; amf=$$2; \
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
dot_seen=no; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
@@ -271,7 +283,7 @@ $(RECURSIVE_CLEAN_TARGETS):
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+ || eval $$failcom; \
done && test -z "$$fail"
tags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \