From 28b643e531628e02149dc1f6085a220eda9ebfc5 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 11 Feb 2016 23:05:16 +0900 Subject: [PATCH] Fix configure script for non-gcc, clang build --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index a1ed90c3..d7f6505f 100644 --- a/configure.ac +++ b/configure.ac @@ -185,8 +185,8 @@ if test "x$GCC" = "xyes" -o "x$CC" = "xclang" ; then AC_DEFINE([_U_], [__attribute__((unused))], [Hint to the compiler that a function parameters is not used]) AC_DEFINE([NGHTTP2_NORETURN], [__attribute__((noreturn))], [Hint to the compiler that a function never return]) else - AC_DEFINE([_U_], , [Hint to the compiler that a function parameters is not use AC_DEFINE([NGHTTP2_NORETURN], , [Hint to the compiler that a function never return]) -d]) + AC_DEFINE([_U_], , [Hint to the compiler that a function parameter is not used]) + AC_DEFINE([NGHTTP2_NORETURN], , [Hint to the compiler that a function never return]) fi save_CXXFLAGS="$CXXFLAGS"