ref: c679115f0d6d2a071339888ee889f73e81cc0a86
parent: f2e33c1111c2f7f0021c556df85401f63e4f1f15
author: Werner Lemberg <wl@gnu.org>
date: Tue Jan 6 02:07:39 EST 2009
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.
--- 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.
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -25,9 +25,7 @@
# checks for system type
-AC_CANONICAL_BUILD
AC_CANONICAL_HOST
-AC_CANONICAL_TARGET
# checks for programs
@@ -363,9 +361,9 @@
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"
;;
*) ;;
--
⑨