]> sourceware.org Git - automake.git/commitdiff
Check for AC_PROG_MAKE_SET when required
authorTom Tromey <tromey@redhat.com>
Sat, 9 Dec 1995 04:18:33 +0000 (04:18 +0000)
committerTom Tromey <tromey@redhat.com>
Sat, 9 Dec 1995 04:18:33 +0000 (04:18 +0000)
ChangeLog
Makefile.am
Makefile.in
automake.in
lib/am/Makefile.am

index 9381ab023842b20dd700dc07a4cbc5a80c67c08e..aa7cb35fbf013aa36ee286a9a8fd4d07bae6ffbd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,11 @@
 Fri Dec  8 16:30:48 1995  Tom Tromey  <tromey@cambric.colorado.edu>
 
+       * automake.in (handle_texinfo): Use "$? >> 8", not "$?".
+       (handle_configure): Check for AC_PROG_MAKE_SET.
+
        * depend.am (DEP_FILES): Handle deANSIfication case.  From Jim
        Meyering.
 
-
        * automake.in (am_install_var): Changed how 'clean' handled for
        uniform name targets.
        * Makefile.am (pkgdata_DATA): Added new files.
index a76be772960d52d92ab7bf20035e8fa8ad51339a..bb92699ca013b83b6f14283e9c27674589630a9d 100644 (file)
@@ -16,6 +16,9 @@ libraries-clean.am scripts-clean.am programs-clean.am data-clean.am
 
 DIST_OTHER = automake.in
 
+# Gross.
+DIST_SUBDIRS = samples/cpio/*Makefile.am
+
 # The following requires a fixed version of the Emacs 19.30 etags.
 ETAGS_ARGS = automake.in --lang=none \
  --regex='/^@node[ \t]+\([^,]+\)/\1/' automake.texi
index 563624d5f29e9834b78af65a1f0f5865e1561927..d1ef43dae65179076d08ffb7e7acae9eaa49a48e 100644 (file)
@@ -63,6 +63,8 @@ libraries-clean.am scripts-clean.am programs-clean.am data-clean.am
 
 DIST_OTHER = automake.in
 
+DIST_SUBDIRS = samples/cpio/*Makefile.am
+
 ETAGS_ARGS = automake.in --lang=none \
  --regex='/^@node[ \t]+\([^,]+\)/\1/' automake.texi
 
@@ -92,6 +94,15 @@ DISTFILES = $(SOURCES) $(HEADERS) $(TEXINFOS) $(INFOS) $(MANS) \
 
 default: all
 
+mostlyclean-binSCRIPTS:
+
+clean-binSCRIPTS:
+       rm -f $(bin_SCRIPTS)
+
+distclean-binSCRIPTS:
+
+maintainer-clean-binSCRIPTS:
+
 install-binSCRIPTS: $(bin_SCRIPTS)
        $(top_srcdir)/mkinstalldirs $(bindir)
        for p in $(bin_SCRIPTS); do             \
@@ -103,15 +114,6 @@ uninstall-binSCRIPTS:
          rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
        done
 
-mostlyclean-binSCRIPTS:
-
-clean-binSCRIPTS:
-       rm -f $(bin_SCRIPTS)
-
-distclean-binSCRIPTS:
-
-maintainer-clean-binSCRIPTS:
-
 version.texi: stamp-vti
 
 stamp-vti: automake.texi $(top_srcdir)/configure.in
@@ -287,6 +289,7 @@ maintainer-clean: distclean maintainer-clean-binSCRIPTS maintainer-clean-vti mai
 
 # SUBDIRS = intl po
 # CONFIG_HEADER = config.h
+# Gross.
 # The following requires a fixed version of the Emacs 19.30 etags.
 # The simplest form of checking.
 check-local: automake
index acba27e63574134de8cb8b85551c3325f5967b2d..90d8eb77f1ee15d6987823890d060f5f1f295297 100755 (executable)
@@ -479,7 +479,7 @@ sub handle_texinfo
     # automatic versioning capability.
     system ("grep version.texi " . $relative_dir . "/" . $texis[0]
            . " > /dev/null 2>&1");
-    if (!$?)
+    if (! ($? >> 8))
     {
        # Got a hit.
        push (@texis, 'version.texi');
@@ -731,6 +731,17 @@ sub handle_configure
        # FIXME require 'configure'?  What if autoconf hasn't been run
        # yet?
 
+       if (defined $contents{'SUBDIRS'})
+       {
+           # We required AC_PROG_MAKE_SET.
+           system ("grep AC_PROG_MAKE_SET configure.in > /dev/null 2>&1");
+           if ($? >> 8)
+           {
+               # Nope.
+               &am_error ("AC_PROG_MAKE_SET must be used in configure.in");
+           }
+       }
+
        if (-f 'aclocal.m4')
        {
            $output_vars .= "ACLOCAL = aclocal.m4\n";
index a76be772960d52d92ab7bf20035e8fa8ad51339a..bb92699ca013b83b6f14283e9c27674589630a9d 100644 (file)
@@ -16,6 +16,9 @@ libraries-clean.am scripts-clean.am programs-clean.am data-clean.am
 
 DIST_OTHER = automake.in
 
+# Gross.
+DIST_SUBDIRS = samples/cpio/*Makefile.am
+
 # The following requires a fixed version of the Emacs 19.30 etags.
 ETAGS_ARGS = automake.in --lang=none \
  --regex='/^@node[ \t]+\([^,]+\)/\1/' automake.texi
This page took 0.040417 seconds and 5 git commands to generate.