ref: 4fc0ccea68810cc0e488f92edf7f538bd30fbbb3
parent: 3f1905b191b692e94c3e600ab68f5213aea7caa9
author: Suzuki, Toshiya (鈴木俊哉) <[email protected]>
date: Sat Aug 11 12:35:06 EDT 2007
* Fix a bug in configure.raw overlooking native C compiler if named "platform-gcc"
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-08-11 suzuki toshiya <[email protected]>
+
+ * 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 <[email protected]>
* src/otvalid/otvcommn.c, src/otvalid/otvcommn.h
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -40,7 +40,7 @@
# 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])