Commit 9690fa21 authored by Marek Vavrusa's avatar Marek Vavrusa

Fixed AC_LANG_PROGRAM call missing braces.

parent f8573cea
...@@ -20,7 +20,7 @@ AC_DEFUN([AX_MSG_WAITFORONE], ...@@ -20,7 +20,7 @@ AC_DEFUN([AX_MSG_WAITFORONE],
AC_RUN_IFELSE( AC_RUN_IFELSE(
[ [
AC_LANG_PROGRAM( AC_LANG_PROGRAM(
[ [[
#ifndef _GNU_SOURCE #ifndef _GNU_SOURCE
#define _GNU_SOURCE #define _GNU_SOURCE
#endif #endif
...@@ -39,7 +39,7 @@ volatile int _intr = 0; ...@@ -39,7 +39,7 @@ volatile int _intr = 0;
void sighandle(int s) { void sighandle(int s) {
_intr = 1; _intr = 1;
} }
],[ ]],[[
#ifndef MSG_WAITFORONE #ifndef MSG_WAITFORONE
return 3; /* Not supported. */ return 3; /* Not supported. */
#else #else
...@@ -87,7 +87,7 @@ void sighandle(int s) { ...@@ -87,7 +87,7 @@ void sighandle(int s) {
return _intr; /* OK if not interrupted. */ return _intr; /* OK if not interrupted. */
#endif #endif
])], ]])],
[ax_cv_have_msg_waitforone=yes], [ax_cv_have_msg_waitforone=yes],
[ax_cv_have_msg_waitforone=no], [ax_cv_have_msg_waitforone=no],
[ax_cv_have_msg_waitforone=no])]) [ax_cv_have_msg_waitforone=no])])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment