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:
parent
63589f9e09
commit
a320c1d9f6
1 changed files with 28 additions and 0 deletions
28
acinclude.m4
28
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
|
||||
})
|
Loading…
Add table
Reference in a new issue