Date: Wed, 22 Oct 1997 08:23:17 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: chuckr@glue.umd.edu (Chuck Robey) Cc: ports@FreeBSD.ORG Subject: Re: XFree86 use of libgnumalloc Message-ID: <19971022082317.TI54259@uriah.heep.sax.de> In-Reply-To: <Pine.BSF.3.96.971021204106.7146H-100000@picnic.mat.net>; from Chuck Robey on Oct 21, 1997 20:51:13 -0400 References: <Pine.BSF.3.96.971021204106.7146H-100000@picnic.mat.net>
next in thread | previous in thread | raw e-mail | index | archive | help
As Chuck Robey wrote: > I found it in Imake.tmpl, line 226, where it defined the value: > > #ifndef GnuMallocLibrary > #define GnuMallocLibrary -lgmalloc This is not supposed to get into effect on FreeBSD >= 2.2: #ifndef UseGnuMalloc /* 2.2 doesn't really have GnuMalloc */ #if OSMajorVersion < 2 || (OSMajorVersion == 2 && OSMinorVersion < 2) #define UseGnuMalloc YES #else #define UseGnuMalloc NO #endif #endif Maybe you've got an old copy of FreeBSD.cf around that does statical versionizing? The current file uses: #ifndef OSName #define OSName DefaultOSName #endif #ifndef OSVendor #define OSVendor /**/ #endif #ifndef OSMajorVersion #define OSMajorVersion DefaultOSMajorVersion #endif #ifndef OSMinorVersion #define OSMinorVersion DefaultOSMinorVersion #endif #ifndef OSTeenyVersion #define OSTeenyVersion DefaultOSTeenyVersion #endif -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971022082317.TI54259>