mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
Merge branch '3029_warn_about_unknown_switches'
* 3029_warn_about_unknown_switches: Ticket #3029: configure.ac: warning about unknown '--with-' / '--enable-' options.
This commit is contained in:
commit
b233f45796
@ -655,3 +655,12 @@ Configuration:
|
||||
Support for charset: ${charset_msg}
|
||||
Search type: ${SEARCH_TYPE}
|
||||
])
|
||||
|
||||
dnl option checking is disable by default due to AC_CONFIG_SUBDIRS
|
||||
dnl we enable it back for top-level ./configure
|
||||
if test -n "$ac_unrecognized_opts"; then
|
||||
case $enable_option_checking in
|
||||
fatal) AC_MSG_ERROR([unrecognized options: $ac_unrecognized_opts]) ;;
|
||||
*) AC_MSG_WARN( [unrecognized options: $ac_unrecognized_opts]) ;;
|
||||
esac
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user