mc/m4.include
Andreas Mohr 495b4d662f Ticket #3134: fix cflags check when using clang compiler.
With clang invalid cflags usage result in exit 0, we expect exit 1.

$ clang -c -Wmaybe-uninitialized conftest.c ; echo $?
warning: unknown warning option '-Wmaybe-uninitialized'; did you mean '-Wuninitialized'? [-Wunknown-warning-option]
1 warning generated.
0

solution with -Werror on cflags check

$ clang -c -Werror -Wmaybe-uninitialized conftest.c ; echo $?
error: unknown warning option '-Wmaybe-uninitialized'; did you mean '-Wuninitialized'? [-Werror,-Wunknown-warning-option]
1

(Tested with clang 3.6.)

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-03 19:43:49 +03:00
..
vfs Ticket #1535: configure: don't fail if 'sftp' support was not requested explicitly 2012-07-05 10:34:30 +03:00
ac_onceonly.m4
ac-glib.m4 Minimal version of GLib is 2.14.0 2015-02-26 09:20:54 +03:00
ax_path_lib_pcre.m4 PCRE_CFLAGS are CPPFLAGS, actually. 2012-12-18 16:27:49 +04:00
dx_doxygen.m4 Misspellings fixes by https://github.com/vlajos/misspell_fixer 2013-06-15 11:10:41 +04:00
fstypename.m4 src/filemanager/mountlist.c and related m4 macros: sync with gnulib. 2011-10-28 11:26:54 +04:00
fsusage.m4 Use "'" instead of "`" for messages and comments quoting. 2013-06-03 14:21:03 +03:00
ls-mntd-fs.m4 Ticket #3441: fix Linux kernel-specific segfault on startup. 2015-05-03 18:45:02 +03:00
mc-background.m4 ./configure: cleanup '--enable-background' option description 2012-06-22 12:51:22 +03:00
mc-cflags.m4 Ticket #3134: fix cflags check when using clang compiler. 2015-05-03 19:43:49 +03:00
mc-check-search-type.m4 Ticket #2560: get rid of autoconf obsolete macros. 2011-07-07 13:03:21 +04:00
mc-get-fs-info.m4 Use #ifdef for autoconf provided marcos (continue). 2015-05-03 19:43:49 +03:00
mc-i18n.m4 Add the hint-files synchronization with Transifex. 2013-04-02 11:24:16 +03:00
mc-subshell.m4 Refactoring of subshell support. 2012-10-21 18:19:47 +04:00
mc-tests.m4 Ticket #2309: "Shell patterns" broken beyond repair. 2015-02-23 16:31:37 +03:00
mc-use-termcap.m4 m4.include/mc-use-termcap.m4: fixed const char* issue which triggers break on -Wall 2009-11-09 13:49:56 +01:00
mc-version.m4 Reorder files in maint/ subdirectory. 2013-06-03 10:58:14 +03:00
mc-vfs.m4 Use "'" instead of "`" for messages and comments quoting. 2013-06-03 14:21:03 +03:00
mc-with-internal-edit.m4 --with-edit: rename to --with-internal-edit. 2013-07-02 15:29:35 +03:00
mc-with-screen-ncurses.m4 Ticket #2926: fail to check ncurses library 2012-12-18 16:27:49 +04:00
mc-with-screen-slang.m4 m4.include/mc-with-screen-slang.m4: clarify usage of CPPFLAGS, CFLAGS and LDFLAGS 2012-12-18 16:27:49 +04:00
mc-with-screen.m4 Cleanup of screen library detection m4 code. 2012-09-06 13:19:19 +04:00
mc-with-x.m4 Tweak sources for --with-x/--without-x option. 2012-11-09 10:05:13 +04:00
mountlist.m4 src/filemanager/mountlist.c and related m4 macros: sync with gnulib. 2011-10-28 11:26:54 +04:00