blob: 9eb7f6bf5c73e71d55219c26013cd031f0d21041 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001Upstream-Status: Inappropriate [embedded specific]
2
3Updated to apply to gtk+-2.24.15
4
5Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Brad Bishop316dfdd2018-06-25 12:45:53 -04006Index: gtk+-2.24.31/configure.ac
7===================================================================
8--- gtk+-2.24.31.orig/configure.ac
9+++ gtk+-2.24.31/configure.ac
10@@ -415,7 +415,7 @@ AC_MSG_CHECKING([Whether to write depend
Patrick Williamsc124f4f2015-09-15 14:41:29 -050011 case $enable_explicit_deps in
12 auto)
13 export SED
14- deplibs_check_method=`(./libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh`
15+ deplibs_check_method=`(./$host_alias-libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh`
16 if test "x$deplibs_check_method" '!=' xpass_all || test "x$enable_static" = xyes ; then
Brad Bishop316dfdd2018-06-25 12:45:53 -040017 enable_explicit_deps=yes
Patrick Williamsc124f4f2015-09-15 14:41:29 -050018 else
Brad Bishop316dfdd2018-06-25 12:45:53 -040019@@ -772,7 +772,7 @@ else
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020 dnl Now we check to see if our libtool supports shared lib deps
21 dnl (in a rather ugly way even)
22 if $dynworks; then
23- module_libtool_config="${CONFIG_SHELL-/bin/sh} ./libtool --config"
24+ module_libtool_config="${CONFIG_SHELL-/bin/sh} $host_alias-libtool --config"
25 module_deplibs_check=`$module_libtool_config | \
26 grep '^[[a-z_]]*check[[a-z_]]*_method=[['\''"]]' | \
27 sed 's/.*[['\''"]]\(.*\)[['\''"]]$/\1/'`
Brad Bishop316dfdd2018-06-25 12:45:53 -040028@@ -1579,7 +1579,7 @@ fi
Patrick Williamsc124f4f2015-09-15 14:41:29 -050029 # We are using gmodule-no-export now, but I'm leaving the stripping
30 # code in place for now, since pango and atk still require gmodule.
31 export SED
32-export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
33+export_dynamic=`($host_alias-libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
34 if test -n "$export_dynamic"; then
35 GDK_DEP_LIBS=`echo $GDK_DEP_LIBS | sed -e "s/$export_dynamic//"`
36 GTK_DEP_LIBS=`echo $GTK_DEP_LIBS | sed -e "s/$export_dynamic//"`