diff options
author | Max Kellermann <max@duempel.org> | 2011-01-07 17:20:48 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-01-07 17:25:52 +0100 |
commit | b75d53413d8ffe421324a68fac8daf106d3c0807 (patch) | |
tree | 0d4cba5772ac96a69ad4b109be0f4a0d9ab3e224 /m4/mpd_check_cflag.m4 | |
parent | c44a744c0b84c7af07b7581738cbb3c8ba986fbe (diff) | |
download | mpd-b75d53413d8ffe421324a68fac8daf106d3c0807.tar.gz mpd-b75d53413d8ffe421324a68fac8daf106d3c0807.tar.xz mpd-b75d53413d8ffe421324a68fac8daf106d3c0807.zip |
configure.ac: use AC_LANG_SOURCE
Fixes autotools warnings.
Diffstat (limited to '')
-rw-r--r-- | m4/mpd_check_cflag.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/mpd_check_cflag.m4 b/m4/mpd_check_cflag.m4 index 9b5788f7b..8e7144936 100644 --- a/m4/mpd_check_cflag.m4 +++ b/m4/mpd_check_cflag.m4 @@ -4,9 +4,9 @@ AC_DEFUN([MPD_CHECK_FLAG],[ [mpd_check_cflag_$var],[ save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $1" - AC_COMPILE_IFELSE([ + AC_COMPILE_IFELSE([AC_LANG_SOURCE([ int main(void) { return 0; } - ], [ eval "mpd_check_cflag_$var=yes" + ])], [ eval "mpd_check_cflag_$var=yes" ], [ eval "mpd_check_cflag_$var=no" ]) CFLAGS="$save_CFLAGS" ]) |