From owner-freebsd-current Sat Aug 23 14:02:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA13811 for current-outgoing; Sat, 23 Aug 1997 14:02:55 -0700 (PDT) Received: from sumatra.americantv.com (sumatra.americantv.com [207.170.17.37]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA13806 for ; Sat, 23 Aug 1997 14:02:52 -0700 (PDT) Received: from right.PCS (right.PCS [148.105.10.31]) by sumatra.americantv.com (8.8.5/8.8.5) with ESMTP id QAA00614; Sat, 23 Aug 1997 16:23:20 -0500 (CDT) Received: (jlemon@localhost) by right.PCS (8.6.13/8.6.4) id QAA13331; Sat, 23 Aug 1997 16:04:11 -0500 Message-ID: <19970823160411.14726@right.PCS> Date: Sat, 23 Aug 1997 16:04:11 -0500 From: Jonathan Lemon To: A Joseph Koshy Cc: freebsd-current@FreeBSD.ORG Subject: Re: Build failure: DOSCMD uses -Bstatic -lX11 References: <199708230948.CAA06849@palrel1.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61.1 In-Reply-To: <199708230948.CAA06849@palrel1.hp.com>; from A Joseph Koshy on Aug 08, 1997 at 03:16:16PM +0530 Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Aug 08, 1997 at 03:16:16PM +0530, A Joseph Koshy wrote: > > Running -current as of a day back: > > DOSCMD used -Bstatic for its compiles, and tries to link with -lX11 > if ${X11BASE} is present. > > By default the XFree86 lib/ directory contains only shared libraries > (the static versions of the libraries are packaged in the programmers > bundle X33prog.tgz). > > This is an added dependency to the build process. Why do we need -lX11 > to build the doscmd kernel? It doesn't require X11 to be built, per se. However, X11 support is a compile-time option, so I tried to get smart, and automatically compile in X11 support if ${X11BASE} was present. The other option would be to always compile it without X, which I dislike. Perhaps I should make the X11 compile option dependent on the existence of both ${X11BASE}/lib/libX11.a, and ${X11BASE}/include? -- Jonathan