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.
This commit is contained in:
H. Peter Anvin 2003-09-01 04:19:37 +00:00
parent bdf061f6e7
commit 2ef2f06125
4 changed files with 6 additions and 1 deletions

View file

@ -7,6 +7,7 @@ and GNU tools installed.
If you checked out source from CVS you will need to run autoconf to If you checked out source from CVS you will need to run autoconf to
generate configure, otherwise you don't have to. generate configure, otherwise you don't have to.
$ autoheader
$ autoconf $ autoconf
Then run configure to detect your platform settings and generate makefiles. Then run configure to detect your platform settings and generate makefiles.

View file

@ -160,6 +160,7 @@ everything: all doc rdf
install_everything: everything install install_doc install_rdf install_everything: everything install install_doc install_rdf
dist: spotless perlreq spec dist: spotless perlreq spec
autoheader
autoconf autoconf
rm -rf ./autom4te*.cache rm -rf ./autom4te*.cache

View file

@ -3,6 +3,7 @@ dnl a configure script.
AC_PREREQ(2.53) AC_PREREQ(2.53)
AC_REVISION([$Id$]) AC_REVISION([$Id$])
AC_INIT(nasm.c) AC_INIT(nasm.c)
AC_CONFIG_HEADERS(config.h)
dnl Check for broken VPATH handling on older NetBSD makes. dnl Check for broken VPATH handling on older NetBSD makes.
AC_DEFUN(AC_PROG_MAKE_VPATHOK, AC_DEFUN(AC_PROG_MAKE_VPATHOK,

View file

@ -29,7 +29,9 @@ work=`pwd`/nasm-release.$$
mkdir "$work" mkdir "$work"
cd "$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 # Need to tag the tree, use real account
CVS="cvs -z3 -d ${sfuser}@cvs.nasm.sourceforge.net:/cvsroot/nasm" CVS="cvs -z3 -d ${sfuser}@cvs.nasm.sourceforge.net:/cvsroot/nasm"
else else