Bug #55634 [NEW]: ./configure does not fail if invalid option is used

From: Date: Wed, 07 Sep 2011 13:17:56 +0000
Subject: Bug #55634 [NEW]: ./configure does not fail if invalid option is used
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-163366@lists.php.net to get a copy of this message
From:             cweiske
Operating system: 
PHP version:      5.3.8
Package:          *Configuration Issues
Bug Type:         Bug
Bug description:./configure does not fail if invalid option is used

Description:
------------
When using ./configure --with-foo, configure tells me at the end:
> Notice: Following unknown configure options were used:
> --with-foo

There are two problems:
- This problem is echoed to stdout, not stderr where capturing it would be
possible
- The exit code is still 0, although I clearly issued a wrong option.

In the end I cannot figure out if the configure run was *fully* successful.

Expected result:
----------------
1. config option errors echoed to stderr
2. exit code of configure script != 0


-- 
Edit bug report at https://bugs.php.net/bug.php?id=55634&edit=1
-- 
Try a snapshot (PHP 5.4):            https://bugs.php.net/fix.php?id=55634&r=trysnapshot54
Try a snapshot (PHP 5.3):            https://bugs.php.net/fix.php?id=55634&r=trysnapshot53
Try a snapshot (trunk):              https://bugs.php.net/fix.php?id=55634&r=trysnapshottrunk
Fixed in SVN:                        https://bugs.php.net/fix.php?id=55634&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55634&r=needdocs
Fixed in release:                    https://bugs.php.net/fix.php?id=55634&r=alreadyfixed
Need backtrace:                      https://bugs.php.net/fix.php?id=55634&r=needtrace
Need Reproduce Script:               https://bugs.php.net/fix.php?id=55634&r=needscript
Try newer version:                   https://bugs.php.net/fix.php?id=55634&r=oldversion
Not developer issue:                 https://bugs.php.net/fix.php?id=55634&r=support
Expected behavior:                   https://bugs.php.net/fix.php?id=55634&r=notwrong
Not enough info:                     https://bugs.php.net/fix.php?id=55634&r=notenoughinfo
Submitted twice:                     https://bugs.php.net/fix.php?id=55634&r=submittedtwice
register_globals:                    https://bugs.php.net/fix.php?id=55634&r=globals
PHP 4 support discontinued:          https://bugs.php.net/fix.php?id=55634&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=55634&r=dst
IIS Stability:                       https://bugs.php.net/fix.php?id=55634&r=isapi
Install GNU Sed:                     https://bugs.php.net/fix.php?id=55634&r=gnused
Floating point limitations:          https://bugs.php.net/fix.php?id=55634&r=float
No Zend Extensions:                  https://bugs.php.net/fix.php?id=55634&r=nozend
MySQL Configuration Error:           https://bugs.php.net/fix.php?id=55634&r=mysqlcfg



Thread (8 messages)

« previous php.bugs (#163366) next »