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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
diff --git a/ChangeLog b/ChangeLog
index 2d02fdb..d51ad62 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
* src/base/ftdbgmem.c (_debug_mem_dummy): Make it static.
diff --git a/builds/unix/configure.raw b/builds/unix/configure.raw
index d5b053a..13f65e3 100644
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -25,9 +25,7 @@ AC_SUBST([ft_version])
# checks for system type
-AC_CANONICAL_BUILD
AC_CANONICAL_HOST
-AC_CANONICAL_TARGET
# checks for programs
@@ -363,9 +361,9 @@ if test x$with_old_mac_fonts = xyes; then
LDFLAGS="${orig_LDFLAGS}"
CFLAGS="$CFLAGS -DDARWIN_NO_CARBON"])
else
- case x$target_os in
+ case x$host_os in
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"
;;
*) ;;