diff --git a/acinclude.m4 b/acinclude.m4 index 28772e8e..825305ca 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -159,3 +159,31 @@ int main (int argc, char *argv[]) AC_SUBST(SDL_LIBS) rm -f conf.sdltest ]) + +AH_TOP([ +/* + * Copyright (C) 2002 The DOSBox Team + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Library General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ +]) +AH_BOTTOM([#define INLINE inline]) +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