Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63040 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9261 invoked from network); 17 Sep 2012 15:50:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Sep 2012 15:50:30 -0000 Authentication-Results: pb1.pair.com smtp.mail=philip@roshambo.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=philip@roshambo.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain roshambo.org from 209.85.214.170 cause and error) X-PHP-List-Original-Sender: philip@roshambo.org X-Host-Fingerprint: 209.85.214.170 mail-ob0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:53095] helo=mail-ob0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 20/B5-07072-5C647505 for ; Mon, 17 Sep 2012 11:50:29 -0400 Received: by obbwc18 with SMTP id wc18so9942584obb.29 for ; Mon, 17 Sep 2012 08:50:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=lmPNdDDqsm5R4UwcTrwhi2ORNMrT3n9X8zuv00SzK60=; b=I0kz20eQ1PSYz+pshrz+1LbIfkCB1HSa/4JimVAS8iQtjkIXzTJqtM/nPUM/GX7xay DMtHJNzIjnw04fEbHE6Mje/1tdNcCfTB/pz60F+XIC9PC0phEIjNuZF84IqlTO0DXxpz R30MblyH08JOYJbjGF5K304u17vwVFLOqowcjsuTZTkcJk1oprzSgtUxLZ4eOf7EZlgx IjxeSXXyy8wlcpqdeOEt1uWKOkC7vxTwb8UnKsMhncwRNOtnaRrlMxaL3yKwn5qVTF5Y x2eni5lr5gtxDyJeYM5UHDqCwWV9pEf2lWK+VAj633P0UP1nAgFag0aVRnzeDZGRCNqZ VpPw== Received: by 10.60.171.68 with SMTP id as4mr12299352oec.117.1347897026981; Mon, 17 Sep 2012 08:50:26 -0700 (PDT) Received: from [192.168.2.100] (c-71-56-134-232.hsd1.wa.comcast.net. [71.56.134.232]) by mx.google.com with ESMTPS id ec1sm11102471obc.2.2012.09.17.08.50.22 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 17 Sep 2012 08:50:24 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=iso-8859-1 In-Reply-To: Date: Mon, 17 Sep 2012 08:50:21 -0700 Cc: Hannes Magnusson , Michael Felt , internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: References: To: jpauli X-Mailer: Apple Mail (2.1278) X-Gm-Message-State: ALoCoQmM9xKOsgpXoVU+V37wKOpCVhYzZVaMyUMmKvoNFheByuDdCWGPGtKML98+48km2XA/XlWG Subject: Re: [PHP-DEV] an configure option to "enable-all" From: philip@roshambo.org (Philip Olson) On Sep 17, 2012, at 8:30 AM, jpauli wrote: > On Mon, Sep 17, 2012 at 2:48 PM, Hannes Magnusson > wrote: >> On Mon, Sep 17, 2012 at 9:59 AM, jpauli wrote: >>>>=20 >>>> I'm confused.. --enable-all is already supported, just like = --disable-all ? >>>>=20 >>>> -Hannes >>>=20 >>> AFAIR no :) We have a --disable-all , but no --enable-all. >>>=20 >>> I'm +1 to add such an option if possible :) >>=20 >>=20 >> Can you please explain to me how it is not working? >>=20 >> ~/Sources/php/php-5.3 (PHP-5.3) $ ./configure --enable-all >> configure: error: Cannot find enchant >>=20 >> And no, ext/enchant is not enabled by default. >=20 > So the answer is : there is --enable-all switch , but it's not listed > in the --help output Hello all, Interesting, I didn't think it existed but now realize why. It's not documented and it's not very useful. There's an old feature request (I wrote it so am surprised I forgot this exists) about differentiating between --with and --enable,=20 along with checking if those are actually available on the system: https://bugs.php.net/24337 https://bugs.php.net/33186 Awhile ago Rasmus mentioned an idea about creating a shell script that'd check which options do (and do not) pass configure. I'm not sure how to=20= do that but maybe someone else does. Just imagine being able to enable all possible extensions available on a system.. great for 'make test' :) As for the original question, yes you can do that. For example, this will enable all extensions except for enchant: ./configure --enable-all --without-enchant Much like --disable-all allows enabling specific extensions: ./configure --disable-all --with-enchant Regards, Philip