Commit 9d5d87bb authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(CMOD_C_ATTRIBUTE_UNUSED): Use all three arguments of AC_DEFINE.

parent 6c13fa9b
dnl $Id: acinclude.m4,v 1.5 2001/09/30 16:52:08 ceder Exp $
dnl $Id: acinclude.m4,v 1.6 2002/06/13 22:48:03 ceder Exp $
dnl Copyright (C) 1994-1995, 1998-1999, 2001 Lysator Academic Computer Association.
dnl
dnl This file is part of the LysKOM server.
......@@ -52,5 +52,6 @@ AC_CACHE_VAL([cmod_cv_c_attribute_unused_understood],
[cmod_cv_c_attribute_unused_understood=no]))
AC_MSG_RESULT($cmod_cv_c_attribute_unused_understood)
[if test $cmod_cv_c_attribute_unused_understood = yes ; then]
AC_DEFINE(HAVE_ATTRIBUTE_UNUSED)
AC_DEFINE([HAVE_ATTRIBUTE_UNUSED], 1,
[Define if your compiler supports __attribute__ ((unused)).])
[fi]])dnl
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