mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-07 17:58:42 +02:00
[build] Use ${CC} as the default value for CC_FOR_BUILD
This commit is contained in:
parent
809f77a5cb
commit
ed7853d499
1 changed files with 7 additions and 0 deletions
|
|
@ -8,6 +8,13 @@ AC_PROG_CXX dnl required for BeOS (and cannot be a conditional dependency)
|
|||
AM_PROG_CC_C_O
|
||||
AC_C_INLINE
|
||||
|
||||
# Set reasonable defaults for the tools in case we are cross-compiling
|
||||
if test "${build}" != "${host}" ; then
|
||||
CC_FOR_BUILD=${CC_FOR_BUILD-cc}
|
||||
else
|
||||
CC_FOR_BUILD=${CC}
|
||||
fi
|
||||
|
||||
dnl ===========================================================================
|
||||
|
||||
PKG_PROG_PKG_CONFIG()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue