From 3a90edbd194140eef51c245edfcf9afc0ecb2d13 Mon Sep 17 00:00:00 2001 From: Byron Ellacott Date: Mon, 6 Feb 2012 19:57:00 +0100 Subject: [PATCH] autoconf fixes for building on OSX [DS: a few whitespace fixes was added as well during the merge] Signed-off-by: Byron Ellacott Acked-by: Gilles Espinasse Signed-off-by: David Sommerseth --- acinclude.m4 | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index acfc01d93..58e2a353a 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -17,16 +17,16 @@ dnl @author James Yonan AC_DEFUN([AX_EMPTY_ARRAY], [ AC_MSG_RESULT([checking for C compiler empty array support]) - AC_COMPILE_IFELSE( + AC_COMPILE_IFELSE([AC_LANG_SOURCE( [ struct { int foo; int bar[[0]]; } mystruct; - ], [ + ])], [ AC_DEFINE_UNQUOTED(EMPTY_ARRAY_SIZE, 0, [Dimension to use for empty array declaration]) ], [ - AC_COMPILE_IFELSE( + AC_COMPILE_IFELSE([AC_LANG_SOURCE( [ struct { int foo; int bar[[]]; } mystruct; - ], [ + ])], [ AC_DEFINE_UNQUOTED(EMPTY_ARRAY_SIZE,, [Dimension to use for empty array declaration]) ], [ AC_MSG_ERROR([C compiler is unable to creaty empty arrays]) @@ -45,13 +45,13 @@ dnl @author James Yonan , Matthias Andree , Matthias Andree