# tweaking "configure --help" for autoconf changes

- Thread: https://externals.io/message/56668
- Original archive: https://news-web.php.net/php.internals/56668
- Started by Daniel Convissor on 2011-11-29T22:13:11+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #56668 — Daniel Convissor — 2011-11-29T22:13:11+00:00

URL: https://externals.io/message/56668#56668

Hi Folks:

There's a minor difference between the output of "configure --help"
between PHP_5_3 and PHP_5_4.  The change makes it hard to tell what the
default values are for some options.

The options impacted are those defined in configure.in using
PHP_ARG_WITH.  A simple example is --with-layout

Here's the string in configure.in:
	Type can be either PHP or GNU [PHP]

Here's the output in PHP_5_2 and PHP_5_3:
	Type can be either PHP or GNU [PHP]

But here is the output from PHP_5_4:
	Type can be either PHP or GNU PHP

This is an offshoot of the move from autoconf 2.13 to 2.65.  I've
attached a patch for 5.4 and trunk to use autoconf "quadragraph"[1]
representations of brackets instead of the brackets themselves.

Can someone please apply this?

Thanks,

--Dan

[1] http://www.gnu.org/s/hello/manual/autoconf/Quadrigraphs.html

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409

---

## #56703 — Felipe Pena — 2011-12-01T16:40:42+00:00

URL: https://externals.io/message/56668#56703 · In reply to: #56668

Hi,

2011/11/29 Daniel Convissor <danielc@analysisandsolutions.com>:
> Hi Folks:
>
> There's a minor difference between the output of "configure --help"
> between PHP_5_3 and PHP_5_4.  The change makes it hard to tell what the
> default values are for some options.
>
> The options impacted are those defined in configure.in using
> PHP_ARG_WITH.  A simple example is --with-layout
>
> Here's the string in configure.in:
>        Type can be either PHP or GNU [PHP]
>
> Here's the output in PHP_5_2 and PHP_5_3:
>        Type can be either PHP or GNU [PHP]
>
> But here is the output from PHP_5_4:
>        Type can be either PHP or GNU PHP
>
> This is an offshoot of the move from autoconf 2.13 to 2.65.  I've
> attached a patch for 5.4 and trunk to use autoconf "quadragraph"[1]
> representations of brackets instead of the brackets themselves.
>
> Can someone please apply this?
>
> Thanks,
>
>

Applied, thanks!

-- 
Regards,
Felipe Pena
