]> Pileus Git - ~andy/gtk/commitdiff
Don't use AC_CANONICAL_TARGET
authorErik van Pienbroek <epienbro@fedoraproject.org>
Sun, 27 Jan 2013 14:19:34 +0000 (15:19 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 2 Feb 2013 03:59:49 +0000 (22:59 -0500)
This autoconf macro should only be used for building compilers
(or compiler tools) for a specific target. The current effect of
it in GTK3 is that it causes various executables like gtk3-demo
to be prefixed with $target- when the --target configure flag
is set or when cross-compiling. When cross-compiling GTK3 on
Linux for the Win32 target this causes the gtk3-demo binary
to be named i686-w64-mingw32-gtk3-demo.exe instead of just
gtk3-demo.exe (like it was before commit 53083ea7b423482b)

https://bugzilla.gnome.org/show_bug.cgi?id=692638

configure.ac

index d8052f3b8aa9b0e8c41db4f02edc8f0c88f75906..121a490257449b04eaba68ab8b6eb794bf21d3da 100644 (file)
@@ -30,7 +30,6 @@ AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_AUX_DIR([build-aux])
 
 AC_CANONICAL_HOST
-AC_CANONICAL_TARGET
 
 # Define a string for the earliest version that this release has
 # backwards binary compatibility with for all interfaces a module