]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Updates to automate generation of GNU upload artifacts.
authorPaul Smith <psmith@gnu.org>
Thu, 4 Mar 2004 13:42:51 +0000 (13:42 +0000)
committerPaul Smith <psmith@gnu.org>
Thu, 4 Mar 2004 13:42:51 +0000 (13:42 +0000)
Fix a problem compiling on old, pre-ANSI systems.  getloadavg test is still
broken, but make builds.
Document a breakage on SunOS 4.x systems.

ChangeLog
NEWS
README.cvs
README.template
configure.in
maintMakefile
make.h
misc.c

index c166053081e986926927665fa32bef85615942b3..56bdec3f27f0ab7451e6b236f5d4e0fb5b0c72e0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2004-03-04  Paul D. Smith  <psmith@gnu.org>
+
+       * README.template: Add a note about broken /bin/sh on SunOS
+       4.1.3_U1 & 4.1.4.  Fix up Savannah links.
+
+       * misc.c (message, error, fatal): Don't use "..." if we're using
+       varargs.  ansi2knr should handle this but it doesn't work: it
+       translates "..." to va_dcl etc. but _AFTER_ the preprocessor is
+       done.  On many systems (SunOS for example) va_dcl is a #define.
+       So, force the use of the non-"..." version on pre-ANSI compilers.
+
+       * maintMakefile (sign-dist): Create some rules to help automate
+       the new GNU ftp upload method.
+
 2004-02-24  Paul D. Smith  <psmith@gnu.org>
 
        * config.h.W32.template: Add HAVE_STDARG_H
diff --git a/NEWS b/NEWS
index eb6ebdb5d8350061e2e0c477a28bcb2dadbd89f8..4034048fd6e0497259e3b6ad7eed9e94c26f2c36 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,6 @@
 GNU make NEWS                                               -*-indented-text-*-
   History of user-visible changes.
-  21 January 2004
+  04 March 2004
 
 Copyright (C) 2002,2003,2004  Free Software Foundation, Inc.
 See the end for copying conditions.
@@ -11,7 +11,7 @@ manual, which is contained in this distribution as the file doc/make.texi.
 Please send GNU make bug reports to <bug-make@gnu.org>.
 See the README file and the GNU make manual for details on reporting bugs.
 \f
-Version 3.81rc1
+Version 3.81beta1
 
 * GNU make is ported to OS/2.
   Port provided by Andreas Buening <andreas.buening@nexgo.de>.
@@ -34,7 +34,7 @@ Version 3.81rc1
 * Enhancements for POSIX compatibility:
    - Only touch targets (under -t) if they have at least one command.
 
-* Updated to autoconf 2.58, automake 1.8, and gettext 0.13.1.  Users
+* Updated to autoconf 2.59, automake 1.8.2, and gettext 0.14.1.  Users
   should not be impacted.
 
 \f
index fc9cdd68ba378e63d298bab2db7c0266e6e921ba..fd109348d88c24f61fa8c5f26604d4896c530e86 100644 (file)
@@ -23,10 +23,10 @@ There is no password; just hit the ENTER key if you are asked for one.
 Building From CVS
 -----------------
 
-To build GNU make from CVS, you will need Autoconf 2.57 (or better),
-Automake 1.7.3 (or better), and Gettext 0.11.5 (or better), and any
-tools that those utilities require (GNU m4, Perl, etc.).  You will also
-need a copy of wget.
+To build GNU make from CVS, you will need Autoconf, Automake, and
+Gettext, and any tools that those utilities require (GNU m4, Perl,
+etc.).  See the configure.in file to find the minimum versions of each
+of these tools.  You will also need a copy of wget.
 
 After checking out the code, you will need to perform these steps to get
 to the point where you can run "make".
index 969f20842d463a7e9353cfc817598c01f0b7e3de..dcf59435093495dc9689b88dad7dabc942f470b8 100644 (file)
@@ -70,7 +70,7 @@ information on submitting useful and complete bug reports.
 You can also use the online bug tracking system in the Savannah GNU Make
 project to submit new problem reports or search for existing ones:
 
-  http://savannah.gnu.org/bugs/?group_id=71
+  http://savannah.gnu.org/bugs/?group=make
 
 If you need help using GNU make, try these forums:
 
@@ -79,11 +79,11 @@ If you need help using GNU make, try these forums:
   news:gnu.utils.help
   news:gnu.utils.bug
 
-  http://savannah.gnu.org/support/?group_id=71
+  http://savannah.gnu.org/support/?group=make
 
 You may also find interesting patches to GNU Make available here:
 
-  http://savannah.gnu.org/patch/?group_id=71
+  http://savannah.gnu.org/patch/?group=make
 
 Note these patches are provided by our users as a service and we make no
 statements regarding their correctness.  Please contact the authors
@@ -97,7 +97,7 @@ CVS Access
 The GNU make source repository is available via anonymous CVS from the
 GNU Subversions CVS server; look here for details:
 
-  http://savannah.gnu.org/cvs/?group_id=71
+  http://savannah.gnu.org/cvs/?group=make
 
 Please note: you won't be able to build GNU make from CVS without
 installing appropriate maintainer's tools, such as GNU m4, automake,
@@ -112,8 +112,14 @@ System-specific Notes
 ---------------------
 
 It has been reported that the XLC 1.2 compiler on AIX 3.2 is buggy such
-that if you compile make with `cc -O' on AIX 3.2, it will not work correctly.
-It is said that using `cc' without `-O' does work.
+that if you compile make with `cc -O' on AIX 3.2, it will not work
+correctly.  It is said that using `cc' without `-O' does work.
+
+The standard /bin/sh on SunOS 4.1.3_U1 and 4.1.4 is broken and cannot be
+used to configure GNU make.  Please install a different shell such as
+bash or pdksh in order to run "configure".  See this message for more
+information:
+  http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00190.html
 
 One area that is often a problem in configuration and porting is the code
 to check the system's current load average.  To make it easier to test and
index ebf65dc39d159712fe358ada038421b1c7568136..3828be75031d75a824e9660518e855a472dc7dfa 100644 (file)
@@ -1,8 +1,8 @@
 # Process this file with autoconf to produce a configure script.
 
-AC_INIT([GNU make],[3.81rc1],[bug-make@gnu.org])
+AC_INIT([GNU make],[3.81beta1],[bug-make@gnu.org])
 
-AC_PREREQ(2.58)
+AC_PREREQ(2.59)
 AC_REVISION([[$Id$]])
 
 # Autoconf setup
@@ -11,7 +11,7 @@ AC_CONFIG_SRCDIR(vpath.c)
 AC_CONFIG_HEADERS(config.h)
 
 # Automake setup
-AM_INIT_AUTOMAKE([1.7.6])
+AM_INIT_AUTOMAKE([1.8.2])
 
 # Checks for programs.
 AC_PROG_CC
@@ -33,7 +33,7 @@ AM_C_PROTOTYPES
 
 # Enable gettext, in "external" mode.
 
-AM_GNU_GETTEXT_VERSION(0.12.1)
+AM_GNU_GETTEXT_VERSION(0.14.1)
 AM_GNU_GETTEXT([external])
 
 # This test must come as early as possible after the compiler configuration
index 31e24ae8f8b9ca24e438ab16fdc0f0b86cceae54..24dd90ccabb2e2902edceb6c6ff8581942961f10 100644 (file)
@@ -240,3 +240,29 @@ po-check:
          diff -u $@-1 $@-2 || exit 1; \
          rm -f $@-1 $@-2; \
        fi
+
+## ------------------------- ##
+## GNU FTP upload artifacts. ##
+## ------------------------- ##
+
+# This target creates the upload artifacts.
+
+GPG = gpg
+
+DIST_ARCHIVES_SIG = $(addsuffix .sig,$(DIST_ARCHIVES))
+DIST_ARCHIVES_DIRECTIVE = $(addsuffix .directive.asc,$(DIST_ARCHIVES))
+
+sign-dist: $(DIST_ARCHIVES_SIG) $(DIST_ARCHIVES_DIRECTIVE)
+
+$(DIST_ARCHIVES_DIRECTIVE): directive.asc
+       cp $< $@
+
+%.sig : %
+       @echo "Signing file '$<':"
+       $(GPG) -o $@ -b $<
+
+directive.asc:
+       @echo "Creating directive file '$@':"
+       @echo 'directory: make' > .directive
+       $(GPG) -o $@ --clearsign .directive
+       @rm -f .directive
diff --git a/make.h b/make.h
index 786fc6cc47811893977542a361be8fec69b65b79..453e9f5566b659552a1f893c5d47b5c8c4549a4d 100644 (file)
--- a/make.h
+++ b/make.h
@@ -387,7 +387,7 @@ struct floc
 #define STRING_SIZE_TUPLE(_s) (_s), (sizeof (_s)-1)
 
 \f
-/* We have to have both stdarg.h or varargs.h AND v*printf or doprnt to use
+/* We have to have stdarg.h or varargs.h AND v*printf or doprnt to use
    variadic versions of these functions.  */
 
 #if HAVE_STDARG_H || HAVE_VARARGS_H
@@ -396,7 +396,7 @@ struct floc
 # endif
 #endif
 
-#if __STDC__ && USE_VARIADIC
+#if __STDC__ && USE_VARIADIC && HAVE_STDARG_H
 extern void message (int prefix, const char *fmt, ...)
                      __attribute__ ((__format__ (__printf__, 2, 3)));
 extern void error (const struct floc *flocp, const char *fmt, ...)
diff --git a/misc.c b/misc.c
index 0832042bf4c436c602723cb1b81e8d9059931f30..07a9c470e09ed280d5bbb79c33b28b94dbd39821 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -205,7 +205,7 @@ concat (const char *s1, const char *s2, const char *s3)
 /* Print a message on stdout.  */
 
 void
-#if USE_VARIADIC
+#if __STDC__ && USE_VARIADIC && HAVE_STDARG_H
 message (int prefix, const char *fmt, ...)
 #else
 message (prefix, fmt, va_alist)
@@ -241,7 +241,7 @@ message (prefix, fmt, va_alist)
 /* Print an error message.  */
 
 void
-#if USE_VARIADIC
+#if __STDC__ && USE_VARIADIC && HAVE_STDARG_H
 error (const struct floc *flocp, const char *fmt, ...)
 #else
 error (flocp, fmt, va_alist)
@@ -274,7 +274,7 @@ error (flocp, fmt, va_alist)
 /* Print an error message and exit.  */
 
 void
-#if USE_VARIADIC
+#if __STDC__ && USE_VARIADIC && HAVE_STDARG_H
 fatal (const struct floc *flocp, const char *fmt, ...)
 #else
 fatal (flocp, fmt, va_alist)