Add all extra GTK libraries to GUI_TK_LIBRARY in configure.
Some libraries (e.g. Pango) were added to GUI_TK_LIBRARY already while others (e.g. Hildon) had their own EXTRALIBS_HILDON variables that were then added to EXTRALIBS_GUI separately. Finally, some others were simply broken because neither EXTRALIBS_GNOMEVFS nor EXTRALIBS_GTKPRINT were set anywhere. Standardize on using GUI_TK_LIBRARY for everything. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f5406730ff
commit
b9b55ad516
@ -385,7 +385,6 @@ to run the tests, include CppUnit library here.
|
||||
<option name="EXTRALIBS_GUI"/>
|
||||
<option name="EXTRALIBS_OPENGL"/>
|
||||
<option name="EXTRALIBS_SDL"/>
|
||||
<option name="EXTRALIBS_GNOMEPRINT"/>
|
||||
<option name="CXXWARNINGS"/>
|
||||
<option name="HOST_SUFFIX"/>
|
||||
<option name="DYLIB_RPATH_INSTALL"/>
|
||||
|
17
configure
vendored
17
configure
vendored
@ -941,10 +941,6 @@ TOOLKIT_LOWERCASE
|
||||
DEBUG_FLAG
|
||||
DEBUG_INFO
|
||||
UNICODE
|
||||
EXTRALIBS_HILDON
|
||||
EXTRALIBS_GNOMEVFS
|
||||
EXTRALIBS_GNOMEPRINT
|
||||
EXTRALIBS_GTKPRINT
|
||||
WITH_PLUGIN_SDL
|
||||
EXTRALIBS_STC
|
||||
EXTRALIBS_SDL
|
||||
@ -33776,6 +33772,7 @@ else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
|
||||
GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
|
||||
CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
|
||||
CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
|
||||
$as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
|
||||
@ -33878,6 +33875,7 @@ else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
|
||||
GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
|
||||
CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
|
||||
CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
|
||||
$as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
|
||||
@ -33968,6 +33966,7 @@ else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
|
||||
GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
|
||||
CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
|
||||
CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
|
||||
$as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
|
||||
@ -34058,7 +34057,7 @@ else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
|
||||
EXTRALIBS_HILDON="$HILDON_LIBS"
|
||||
GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON_LIBS"
|
||||
CFLAGS="$CFLAGS $HILDON_CFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
|
||||
$as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
|
||||
@ -34146,7 +34145,7 @@ else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
|
||||
EXTRALIBS_HILDON="$HILDON2_LIBS"
|
||||
GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON2_LIBS"
|
||||
CFLAGS="$CFLAGS $HILDON2_CFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
|
||||
$as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
|
||||
@ -37217,7 +37216,7 @@ EXTRALIBS_HTML="$MSPACK_LINK"
|
||||
EXTRALIBS_MEDIA="$GST_LIBS"
|
||||
EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
|
||||
if test "$wxUSE_GUI" = "yes"; then
|
||||
EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
|
||||
EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
|
||||
fi
|
||||
if test "$wxUSE_OPENGL" = "yes"; then
|
||||
EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
|
||||
@ -37320,10 +37319,6 @@ fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
13
configure.in
13
configure.in
@ -5608,6 +5608,7 @@ if test "$WXGTK2" = 1; then
|
||||
PKG_CHECK_MODULES(GTKPRINT,
|
||||
[$gtk_unix_print],
|
||||
[
|
||||
GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
|
||||
CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
|
||||
CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
|
||||
AC_DEFINE(wxUSE_GTKPRINT)
|
||||
@ -5628,6 +5629,7 @@ if test "$WXGTK2" = 1; then
|
||||
PKG_CHECK_MODULES(LIBGNOMEPRINTUI,
|
||||
[libgnomeprintui-2.2 >= 2.8],
|
||||
[
|
||||
GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
|
||||
CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
|
||||
CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
|
||||
AC_DEFINE(wxUSE_LIBGNOMEPRINT)
|
||||
@ -5650,6 +5652,7 @@ if test "$WXGTK2" = 1; then
|
||||
PKG_CHECK_MODULES(GNOMEVFS,
|
||||
[gnome-vfs-2.0 >= 2.0],
|
||||
[
|
||||
GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
|
||||
CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
|
||||
CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
|
||||
AC_DEFINE(wxUSE_LIBGNOMEVFS)
|
||||
@ -5666,7 +5669,7 @@ if test "$WXGTK2" = 1; then
|
||||
PKG_CHECK_MODULES(HILDON,
|
||||
[hildon-lgpl >= 0.9],
|
||||
[
|
||||
EXTRALIBS_HILDON="$HILDON_LIBS"
|
||||
GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON_LIBS"
|
||||
CFLAGS="$CFLAGS $HILDON_CFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
|
||||
AC_DEFINE(wxUSE_LIBHILDON)
|
||||
@ -5683,7 +5686,7 @@ if test "$WXGTK2" = 1; then
|
||||
PKG_CHECK_MODULES(HILDON2,
|
||||
[hildon-1 >= 1.99],
|
||||
[
|
||||
EXTRALIBS_HILDON="$HILDON2_LIBS"
|
||||
GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON2_LIBS"
|
||||
CFLAGS="$CFLAGS $HILDON2_CFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
|
||||
AC_DEFINE(wxUSE_LIBHILDON2)
|
||||
@ -7844,7 +7847,7 @@ EXTRALIBS_HTML="$MSPACK_LINK"
|
||||
EXTRALIBS_MEDIA="$GST_LIBS"
|
||||
EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
|
||||
if test "$wxUSE_GUI" = "yes"; then
|
||||
EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
|
||||
EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
|
||||
fi
|
||||
if test "$wxUSE_OPENGL" = "yes"; then
|
||||
EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
|
||||
@ -7946,10 +7949,6 @@ AC_SUBST(EXTRALIBS_OPENGL)
|
||||
AC_SUBST(EXTRALIBS_SDL)
|
||||
AC_SUBST(EXTRALIBS_STC)
|
||||
AC_SUBST(WITH_PLUGIN_SDL)
|
||||
AC_SUBST(EXTRALIBS_GTKPRINT)
|
||||
AC_SUBST(EXTRALIBS_GNOMEPRINT)
|
||||
AC_SUBST(EXTRALIBS_GNOMEVFS)
|
||||
AC_SUBST(EXTRALIBS_HILDON)
|
||||
AC_SUBST(UNICODE)
|
||||
AC_SUBST(DEBUG_INFO)
|
||||
AC_SUBST(DEBUG_FLAG)
|
||||
|
Loading…
Reference in New Issue
Block a user