Ticket #3029: configure.ac: warning about unknown '--with-' / '--enable-' options.
commitd362fc964ed7c2ffea185ce0138ba3fe141129e9
authorSergei Trofimovich <slyfox@gentoo.org>
Wed, 3 Jul 2013 07:21:36 +0000 (3 10:21 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Thu, 5 Sep 2013 10:44:51 +0000 (5 14:44 +0400)
tree0402c3a64641f3f6536be4304b082b51a51f28da
parentcbb44f4d75903db9be784ec6644fe18871a58608
Ticket #3029: configure.ac: warning about unknown '--with-' / '--enable-' options.

As we use 'AC_CONFIG_SUBDIRS' macro for samba sources option checking is
disabled for us.

Before the patch:

    $ ./configure --with-i-have-misspelled-editor-for-edit
    ...
    # no warnings

The patch enables warnings back only for top-level ./configure:

    $ ./configure --with-i-have-misspelled-editor-for-edit
    ...
    configure: WARNING: unrecognized options: --with-i-have-misspelled-editor-for-edit

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
configure.ac