Merge commit '1f821e5ad3f8ebacbbb362668561ad976c392c9e'
authorJames Almer <jamrial@gmail.com>
Thu, 23 Mar 2017 21:41:46 +0000 (18:41 -0300)
committerJames Almer <jamrial@gmail.com>
Thu, 23 Mar 2017 21:43:39 +0000 (18:43 -0300)
* commit '1f821e5ad3f8ebacbbb362668561ad976c392c9e':
  configure: Print warnings after all other output

Merged-by: James Almer <jamrial@gmail.com>
1  2 
configure

diff --cc configure
+++ b/configure
@@@ -6865,6 -5404,8 +6860,11 @@@ print_enabled_components()
  print_enabled_components libavcodec/bsf_list.c AVBitStreamFilter bitstream_filters $BSF_LIST
  print_enabled_components libavformat/protocol_list.c URLProtocol url_protocols $PROTOCOL_LIST
  
 -test -n "$WARNINGS" && printf "\n$WARNINGS"
++if test -n "$WARNINGS"; then
++    printf "\n%s%s$WARNINGS%s" "$warn_color" "$bold_color" "$reset_color"
++    enabled fatal_warnings && exit 1
++fi
  # build pkg-config files
  
  lib_version(){