Ticket #3029 (closed enhancement: fixed)

Opened 11 years ago

Last modified 11 years ago

configure.ac: warn about unknown '--with-' / '--enable-' options

Reported by: slyfox Owned by: andrew_b
Priority: major Milestone: 4.8.11
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset: committed-master

Description

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

Attachments

mc-4.8.9-unknown-opts.patch (1.4 KB) - added by slyfox 11 years ago.
mc-4.8.9-unknown-opts.patch

Change History

Changed 11 years ago by slyfox

mc-4.8.9-unknown-opts.patch

comment:1 Changed 11 years ago by slyfox

  • Branch state changed from no branch to on review

branch: 3029_warn_about_unknown_switches
changeset:1599510170c1abca5ed3a18f8f5ecc9c9b8aab20

comment:2 Changed 11 years ago by slavazanko

  • Votes for changeset set to slavazanko

comment:3 Changed 11 years ago by andrew_b

  • Owner set to andrew_b
  • Status changed from new to accepted
  • Milestone changed from Future Releases to 4.8.11

comment:4 Changed 11 years ago by andrew_b

  • Votes for changeset changed from slavazanko to slavazanko andrew_b
  • Branch state changed from on review to approved

comment:5 Changed 11 years ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from slavazanko andrew_b to committed-master
  • Resolution set to fixed
  • Branch state changed from approved to merged

comment:6 Changed 11 years ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.