mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-18 21:10:05 +00:00
495349f97d
the next version released). Updated files in mk/autoconf and mk/jam with copies from CS; fixes a GLU detection issue on MinGW. Set msvc/bullet_ico.ico as the default application icon. Disabled exceptions for gcc builds.
49 lines
2.3 KiB
Plaintext
49 lines
2.3 KiB
Plaintext
# headercache.m4 -*- Autoconf -*-
|
|
#==============================================================================
|
|
# Copyright (C)2003 by Eric Sunshine <sunshine@sunshineco.com>
|
|
#
|
|
# This library is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU Library General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or (at your
|
|
# option) any later version.
|
|
#
|
|
# This library 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 Library General Public License
|
|
# along with this library; if not, write to the Free Software Foundation,
|
|
# Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
#
|
|
#==============================================================================
|
|
AC_PREREQ([2.56])
|
|
|
|
#------------------------------------------------------------------------------
|
|
# Text cache facility for C-style #define properties. The cache is stored in
|
|
# the shell variable cs_header_text.
|
|
#
|
|
# CS_HEADER_APPEND(TEXT)
|
|
# Append text to the C header text cache. This is a cover for
|
|
# CS_TEXT_CACHE_APPEND().
|
|
#
|
|
# CS_HEADER_PREPEND(TEXT)
|
|
# Prepend text to the C header text cache. This is a cover for
|
|
# CS_TEXT_CACHE_PREPEND().
|
|
#
|
|
# CS_HEADER_PROPERTY(KEY, [VALUE])
|
|
# Append a line of the form "#define KEY VALUE" to the C header text
|
|
# cache. If the VALUE argument is omitted, then the appended line has
|
|
# the simplified form "#define KEY".
|
|
#
|
|
# CS_HEADER_OUTPUT(FILENAME)
|
|
# Instruct config.status to write the C header text cache to the given
|
|
# filename. This is a cover for CS_TEXT_CACHE_OUTPUT().
|
|
#------------------------------------------------------------------------------
|
|
AC_DEFUN([CS_HEADER_APPEND], [CS_TEXT_CACHE_APPEND([cs_header_text], [$1])])
|
|
AC_DEFUN([CS_HEADER_PREPEND], [CS_TEXT_CACHE_PREPEND([cs_header_text], [$1])])
|
|
AC_DEFUN([CS_HEADER_PROPERTY],
|
|
[CS_HEADER_APPEND([@%:@define $1[]m4_ifval([$2], [ $2], [])
|
|
])])
|
|
AC_DEFUN([CS_HEADER_OUTPUT], [CS_TEXT_CACHE_OUTPUT([cs_header_text], [$1])])
|