From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Whitehouse Date: Mon, 18 Dec 2006 11:10:40 +0000 Subject: [Cluster-devel] Re: [GFS2] Fix Kconfig [2/2] In-Reply-To: References: <1166435650.3752.1263.camel@quoit.chygwyn.com> <1166435849.3752.1266.camel@quoit.chygwyn.com> Message-ID: <1166440240.3752.1276.camel@quoit.chygwyn.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, On Mon, 2006-12-18 at 11:50 +0100, Jan Engelhardt wrote: > On Dec 18 2006 09:57, Steven Whitehouse wrote: > > config GFS2_FS_LOCKING_DLM > > tristate "GFS2 DLM locking module" > >- depends on GFS2_FS > >+ depends on GFS2_FS && NET && INET && (IPV6 || IPV6=n) > > What is this supposed to do? IPV6 || IPV6=n is a tautology AFAICS. > > > -`J' It looks odd, I'll grant you, but see the thread entitled "Re: [PATCH] Remove logically superfluous comparisons from Kconfig files." and the answer that Russell King has just given on the same subject where he says: >config FOO > tristate 'foo' > depends on BAR || BAR=n > >is not superfluous. The allowed states for FOO with the above >construct are (assuming modules are enabled): > > BAR FOO > Y Y,M,N > M M,N > N Y,M,N which hopefully explains it a bit better, Steve.