Enable the use of a config.h file and autoheader. At this point we don't
authorH. Peter Anvin <hpa@zytor.com>
Mon, 1 Sep 2003 04:19:37 +0000 (04:19 +0000)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 1 Sep 2003 04:19:37 +0000 (04:19 +0000)
actually *use* the resulting configuration file, but it keeps autoconf
from creating an insanely long compiler command line, which can cause
problems all by itself.  Eventually we can do:

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

... to get the same information.

INSTALL
Makefile.in
configure.in
misc/release

diff --git a/INSTALL b/INSTALL
index 992b470..db9fcad 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -7,6 +7,7 @@ and GNU tools installed.
 If you checked out source from CVS you will need to run autoconf to
 generate configure, otherwise you don't have to.
 
+$ autoheader
 $ autoconf
 
 Then run configure to detect your platform settings and generate makefiles.
index ae63cb9..c07b6fb 100644 (file)
@@ -160,6 +160,7 @@ everything: all doc rdf
 install_everything: everything install install_doc install_rdf
 
 dist: spotless perlreq spec
+       autoheader
        autoconf
        rm -rf ./autom4te*.cache
 
index 36ca7fa..5ab8696 100644 (file)
@@ -3,6 +3,7 @@ dnl a configure script.
 AC_PREREQ(2.53)
 AC_REVISION([$Id$])
 AC_INIT(nasm.c)
+AC_CONFIG_HEADERS(config.h)
 
 dnl Check for broken VPATH handling on older NetBSD makes.
 AC_DEFUN(AC_PROG_MAKE_VPATHOK,
index 5624a19..fb16996 100755 (executable)
@@ -29,7 +29,9 @@ work=`pwd`/nasm-release.$$
 mkdir "$work"
 cd "$work"
 
-if $real; then
+# SF uses a mirror server for anonymous CVS now.  Therefore, use a real
+# identity if we have one; otherwise, change the "true" below to "$real".
+if true; then
   # Need to tag the tree, use real account
   CVS="cvs -z3 -d ${sfuser}@cvs.nasm.sourceforge.net:/cvsroot/nasm"
 else