aboutsummaryrefslogtreecommitdiffstats
path: root/m4/mpd_check_cflag.m4
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-01-07 23:50:23 +0100
committerMax Kellermann <max@duempel.org>2011-01-07 23:50:23 +0100
commit8c0afd8557b1823e2df94c9f4de90c29eafbf035 (patch)
treeec4d9131c4e1cb5e1a832e4b70712884f2406a81 /m4/mpd_check_cflag.m4
parent2a56300f7bad00860f5ff44dfea061386173a852 (diff)
parent0022fb100b7d22b9612474ebee944e66c2a7b33b (diff)
downloadmpd-8c0afd8557b1823e2df94c9f4de90c29eafbf035.tar.gz
mpd-8c0afd8557b1823e2df94c9f4de90c29eafbf035.tar.xz
mpd-8c0afd8557b1823e2df94c9f4de90c29eafbf035.zip
Merge branch 'v0.15.x' into v0.16.x
Conflicts: NEWS configure.ac src/directory.h
Diffstat (limited to 'm4/mpd_check_cflag.m4')
-rw-r--r--m4/mpd_check_cflag.m44
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"
])