*BSD News Article 16077


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!usc!cs.utexas.edu!uunet!pipex!uknet!zaphod.axion.bt.co.uk!rtf.bt.co.uk!duplain
From: duplain@rtf.bt.co.uk (Andy Duplain)
Subject: Strange config(8) behaviour
Message-ID: <1993May14.153143.24819@rtf.bt.co.uk>
Keywords: config ddb
Organization: BT Customer Systems, Brighton, UK
Date: Fri, 14 May 1993 15:31:43 GMT
Lines: 16


	Does anyone know why certain kernel source files include the file
	"ddb.h" and use the define "NDDB", when in fact there is no way
	of automatically creating that file with "#define NDDB 1" in it ?
	If start with a clean build directory (rm -rf /sys/compile/SYSNAME)
	and add the line "options DDB" to your kernel config file, it will
	create a Makefile the "-DDDB" in the CFLAGS but it wont create "ddb.h".
	If you remove the "options DDB" it will create a "ddb.h" file with
	"#define NDDB 0" in it!

	I think the kernel files should ignore the "ddb.h" file and simply
	use the "DDB" define rather than the "NDDB" define.

-- 
Andy Duplain, BT Customer Systems, Brighton, UK.           duplain@rtf.bt.co.uk
#define	DISCLAIMER      My views and opinions are my own, and not my company's