From cd98eb15cb1532bd80ea0aec13d1adb5aa8aabe7 Mon Sep 17 00:00:00 2001 From: Erik van Pienbroek Date: Sun, 27 Jan 2013 15:19:34 +0100 Subject: [PATCH] Don't use AC_CANONICAL_TARGET 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 | 1 - 1 file changed, 1 deletion(-) diff --git a/configure.ac b/configure.ac index d8052f3b8a..121a490257 100644 --- a/configure.ac +++ b/configure.ac @@ -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