forked from minhngoc25a/freetype2
* Fix a bug in configure.raw overlooking native C compiler if named "platform-gcc"
This commit is contained in:
parent
3f1905b191
commit
4fc0ccea68
|
@ -1,3 +1,9 @@
|
|||
2007-08-11 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
* builds/unix/configure.raw: Fix a bug which sets CC_BUILD by
|
||||
${build-gcc} (unchecked) instead of by ${build}-gcc (checked).
|
||||
Found by Ryan Hill.
|
||||
|
||||
2007-08-11 George Williams <gww@silcom.com>
|
||||
|
||||
* src/otvalid/otvcommn.c, src/otvalid/otvcommn.h
|
||||
|
|
|
@ -40,7 +40,7 @@ AC_SUBST(EXEEXT)
|
|||
# checks for native programs to generate building tool
|
||||
|
||||
if test ${cross_compiling} = yes; then
|
||||
AC_CHECK_PROG(CC_BUILD, ${build}-gcc, ${build-gcc})
|
||||
AC_CHECK_PROG(CC_BUILD, ${build}-gcc, ${build}-gcc)
|
||||
test -z "${CC_BUILD}" && AC_CHECK_PROG(CC_BUILD, gcc, gcc)
|
||||
test -z "${CC_BUILD}" && AC_CHECK_PROG(CC_BUILD, cc, cc, , , /usr/ucb/cc)
|
||||
test -z "${CC_BUILD}" && AC_MSG_ERROR([cannot find native C compiler])
|
||||
|
|
Loading…
Reference in New Issue