diff options
author | H. Peter Anvin <hpa@zytor.com> | 2003-09-01 04:19:37 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2003-09-01 04:19:37 +0000 |
commit | 2ef2f06125e19f57d5366c8fe4210deaa3e5bfd4 (patch) | |
tree | b53727bd8f43931c7a0e798b0f6b2198da282d44 | |
parent | bdf061f6e72e6d2fadc5890c1d86d5b8efd6768a (diff) | |
download | nasm-2ef2f06125e19f57d5366c8fe4210deaa3e5bfd4.tar.gz |
Enable the use of a config.h file and autoheader. At this point we don't
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.
-rw-r--r-- | INSTALL | 1 | ||||
-rw-r--r-- | Makefile.in | 1 | ||||
-rw-r--r-- | configure.in | 1 | ||||
-rwxr-xr-x | misc/release | 4 |
4 files changed, 6 insertions, 1 deletions
@@ -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. diff --git a/Makefile.in b/Makefile.in index ae63cb93..c07b6fb0 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 diff --git a/configure.in b/configure.in index 36ca7fac..5ab86962 100644 --- a/configure.in +++ b/configure.in @@ -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, diff --git a/misc/release b/misc/release index 5624a196..fb16996f 100755 --- a/misc/release +++ b/misc/release @@ -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 |