mc/m4.include
Sergei Trofimovich 4b3d88f07c m4.include/mc-cflags.m4: report real compiler in MC_CHECK_ONE_CFLAG instead of 'gcc'
Example use: CC=clang ./configure

Before the patch configure reported 'gcc' is being used:

    checking whether gcc accepts -Wcomment... yes
    checking whether gcc accepts -Wdeclaration-after-statement... yes
    checking whether gcc accepts -Wfloat-equal... yes
    checking whether gcc accepts -Wformat... yes

(config.log used proper ${CC})

After the patch it lies a bit less:

    checking whether clang accepts -Wcomment... yes
    checking whether clang accepts -Wdeclaration-after-statement... yes
    checking whether clang accepts -Wfloat-equal... yes
    checking whether clang accepts -Wformat... yes

Reported-by: Agostino Sarubbo <ago@gentoo.org>
Gentoo-bug: http://bugs.gentoo.org/449752
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2013-01-02 16:22:21 +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 Remove autogenerated stuff from git-tracking. 2009-05-07 15:38:06 +03:00
ac-glib.m4 Portability: use g_ascii_strtoll instead of strtoll, atoll and atof. 2012-12-20 15:35:35 +04:00
ax_path_lib_pcre.m4 PCRE_CFLAGS are CPPFLAGS, actually. 2012-12-18 16:27:49 +04:00
dx_doxygen.m4 Fixed test conditions in m4 files for more compability 2009-07-27 13:49:49 +03:00
fstypename.m4 src/filemanager/mountlist.c and related m4 macros: sync with gnulib. 2011-10-28 11:26:54 +04:00
fsusage.m4 Sync with gnulib 0a6dafee2bb8f69a931345a1f67d835ee5062967 2012-10-12 11:52:52 +04:00
ls-mntd-fs.m4 src/filemanager/mountlist.c and related m4 macros: sync with gnulib. 2011-10-28 11:26:54 +04:00
mc-background.m4 ./configure: cleanup '--enable-background' option description 2012-06-22 12:51:22 +03:00
mc-cflags.m4 m4.include/mc-cflags.m4: report real compiler in MC_CHECK_ONE_CFLAG instead of 'gcc' 2013-01-02 16:22:21 +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 Ticket #2825: obtain FS name from stat info: sync with coreutils. 2012-07-02 20:50:19 +04:00
mc-subshell.m4 Refactoring of subshell support. 2012-10-21 18:19:47 +04:00
mc-tests.m4 Increase version of Check utility to 0.9.8 2012-12-20 13:13:40 +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 Ticket #1905: fix of version calculation. 2010-01-11 09:36:36 +00:00
mc-vfs.m4 Ticket #1535: SFTP support 2012-06-21 14:29:32 +03:00
mc-with-edit.m4 Ticket #2788 (aspell support) 2012-07-12 16:00:45 +04: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