1
0
Fork 0

New Autoheader scripts to create a better config.h

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@206
This commit is contained in:
Sjoerd van der Berg 2002-08-24 07:49:58 +00:00
parent 63589f9e09
commit a320c1d9f6

View file

@ -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
})