From 4e5fe4159fe3b1f0025c17802844bbd6419986a9 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Sun, 25 Aug 2002 15:36:55 +0000 Subject: [PATCH] Rewrote C_HAS_ATTRIBUTE stuff Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@214 --- acinclude.m4 | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 825305ca..b5306b75 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -179,11 +179,16 @@ AH_TOP([ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ ]) + +AH_TEMPLATE([C_HAS_ATTRIBUTE],[Determines if the compilers supports attributes for structures]) + AH_BOTTOM([#define INLINE inline]) -AH_BOTTOM([ -#if C_HAS_ATTRIBUTE + +AH_BOTTOM([#if C_HAS_ATTRIBUTE #define GCC_ATTRIBUTE __attribute__ #else #define GCC_ATTRIBUTE(x) /* attribute not supported */ -#endif -}) \ No newline at end of file +#endif]) + + +