Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261464AbUCJDjy (ORCPT ); Tue, 9 Mar 2004 22:39:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261466AbUCJDjy (ORCPT ); Tue, 9 Mar 2004 22:39:54 -0500 Received: from scrub.xs4all.nl ([194.109.195.176]:11790 "EHLO scrub.xs4all.nl") by vger.kernel.org with ESMTP id S261464AbUCJDjx (ORCPT ); Tue, 9 Mar 2004 22:39:53 -0500 Date: Wed, 10 Mar 2004 04:38:23 +0100 (CET) From: Roman Zippel X-X-Sender: roman@serv To: Sridhar Samudrala cc: kaos@ocs.com.au, linux-kernel@vger.kernel.org, netdev@oss.sgi.com Subject: Re: Cleaner way to conditionally disallow a CONFIG option as static In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 621 Lines: 27 Hi, On Mon, 8 Mar 2004, Sridhar Samudrala wrote: > In 2.6, net/sctp/Kconfig > > config IPV6_SCTP__ > tristate > default y if IPV6=n > default IPV6 if IPV6 > > config IP_SCTP > tristate "The SCTP Protocol (EXPERIMENTAL)" > depends on IPV6_SCTP__ This can be written as: config IP_SCTP tristate "The SCTP Protocol (EXPERIMENTAL)" depends on IPV6 || IPV6=n bye, Roman - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/