mirror of https://github.com/odrling/Aegisub
use the AC_C_BIGENDIAN macro to set HAVE_BIG_ENDIAN, HAVE_LITTLE_ENDIAN,
HAVE_DYNAMIC_ENDIAN and HAVE_UNIVERSAL_ENDIAN (universal binaries for the mac).$ The default is to use HAVE_DYNAMIC_ENDIAN in the code if it is not BIG or LITTLE, HAVE_UNIVERSAL_ENDIAN is added only for clarity in config.h. Originally committed to SVN as r2229.
This commit is contained in:
parent
075bc5ec75
commit
d14d6b4b36
|
@ -67,6 +67,13 @@ AM_CONDITIONAL([BUILD_DEFAULT], [test "$build_default" = "yes"])
|
|||
AM_CONDITIONAL([FONTLISTER_FONTCONFIG], [test "$build_darwin" != "yes"])
|
||||
AM_CONDITIONAL([FONTLISTER_FREETYPE], [test "$build_darwin" = "yes"])
|
||||
|
||||
AC_C_BIGENDIAN(
|
||||
AC_DEFINE([HAVE_BIG_ENDIAN], [1], [Big Endian]),
|
||||
AC_DEFINE([HAVE_LITTLE_ENDIAN], [1], [Little Endian]),
|
||||
AC_DEFINE([HAVE_DYNAMIC_ENDIAN], [1], [Unknown endian]),
|
||||
AC_DEFINE([HAVE_UNIVERSAL_ENDIAN], [1], [Universal Endian (MAC Universal PPC/Intel Binaries, uses HAVE_DYNAMIC_ENDIAN)])
|
||||
)
|
||||
|
||||
|
||||
########################
|
||||
# Configurable variables
|
||||
|
|
Loading…
Reference in New Issue