Fix AC_CANONICAL_XXX issue.

* builds/unix/configure.raw: Don't call AC_CANONICAL_BUILD and
AC_CANONICAL_TARGET and use $host_os only.  A nice explanation for
this change can be found at
http://blog.flameeyes.eu/s/canonical-target.

From Savannah patch #6712.
This commit is contained in:
Werner Lemberg 2009-01-06 07:07:39 +00:00
parent f2e33c1111
commit c679115f0d
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,12 @@
2009-01-06 Diego Pettenò <flameeyes@gmail.com>
* builds/unix/configure.raw: Don't call AC_CANONICAL_BUILD and
AC_CANONICAL_TARGET and use $host_os only. A nice explanation for
this change can be found at
http://blog.flameeyes.eu/s/canonical-target.
From Savannah patch #6712.
2009-01-06 Sean McBride <sean@rogue-research.com> 2009-01-06 Sean McBride <sean@rogue-research.com>
* src/base/ftdbgmem.c (_debug_mem_dummy): Make it static. * src/base/ftdbgmem.c (_debug_mem_dummy): Make it static.

View File

@ -25,9 +25,7 @@ AC_SUBST([ft_version])
# checks for system type # checks for system type
AC_CANONICAL_BUILD
AC_CANONICAL_HOST AC_CANONICAL_HOST
AC_CANONICAL_TARGET
# checks for programs # checks for programs
@ -363,9 +361,9 @@ if test x$with_old_mac_fonts = xyes; then
LDFLAGS="${orig_LDFLAGS}" LDFLAGS="${orig_LDFLAGS}"
CFLAGS="$CFLAGS -DDARWIN_NO_CARBON"]) CFLAGS="$CFLAGS -DDARWIN_NO_CARBON"])
else else
case x$target_os in case x$host_os in
xdarwin*) xdarwin*)
dnl AC_MSG_WARN([target system is MacOS but configured to build without Carbon]) dnl AC_MSG_WARN([host system is MacOS but configured to build without Carbon])
CFLAGS="$CFLAGS -DDARWIN_NO_CARBON" CFLAGS="$CFLAGS -DDARWIN_NO_CARBON"
;; ;;
*) ;; *) ;;