+Mon Dec 16 22:12:01 2002 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Don't use AC_CHECK_LIB() when
+ checking for FreeType, Pango, Atk since that get
+ the ordering wrong. Instead, set LIBS ourself
+ and call AC_TRY_LINK_FUNC(). (#98406)
+
Mon Dec 16 21:39:28 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_enter_text): Call
+Mon Dec 16 22:12:01 2002 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Don't use AC_CHECK_LIB() when
+ checking for FreeType, Pango, Atk since that get
+ the ordering wrong. Instead, set LIBS ourself
+ and call AC_TRY_LINK_FUNC(). (#98406)
+
Mon Dec 16 21:39:28 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_enter_text): Call
+Mon Dec 16 22:12:01 2002 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Don't use AC_CHECK_LIB() when
+ checking for FreeType, Pango, Atk since that get
+ the ordering wrong. Instead, set LIBS ourself
+ and call AC_TRY_LINK_FUNC(). (#98406)
+
Mon Dec 16 21:39:28 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_enter_text): Call
+Mon Dec 16 22:12:01 2002 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Don't use AC_CHECK_LIB() when
+ checking for FreeType, Pango, Atk since that get
+ the ordering wrong. Instead, set LIBS ourself
+ and call AC_TRY_LINK_FUNC(). (#98406)
+
Mon Dec 16 21:39:28 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_enter_text): Call
+Mon Dec 16 22:12:01 2002 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Don't use AC_CHECK_LIB() when
+ checking for FreeType, Pango, Atk since that get
+ the ordering wrong. Instead, set LIBS ourself
+ and call AC_TRY_LINK_FUNC(). (#98406)
+
Mon Dec 16 21:39:28 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_enter_text): Call
+Mon Dec 16 22:12:01 2002 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Don't use AC_CHECK_LIB() when
+ checking for FreeType, Pango, Atk since that get
+ the ordering wrong. Instead, set LIBS ourself
+ and call AC_TRY_LINK_FUNC(). (#98406)
+
Mon Dec 16 21:39:28 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_enter_text): Call
FREETYPE_CFLAGS=`$FREETYPE_CONFIG --cflags`
FREETYPE_LIBS=`$FREETYPE_CONFIG --libs`
- AC_CHECK_LIB(freetype, FT_New_Face, have_freetype=true
- ,:,$FREETYPE_LIBS)
+ gtk_save_LIBS="$LIBS"
+ LIBS="$FREETYPE_LIBS $LIBS"
+ AC_TRY_LINK_FUNC(FT_New_Face, have_freetype=true,:)
+ LIBS="$gtk_save_LIBS"
if $have_freetype ; then
gtk_save_cppflags="$CPPFLAGS"
if $PKG_CONFIG --uninstalled $PANGO_PACKAGES; then
:
else
- AC_CHECK_LIB(pango-1.0, pango_context_new, :, AC_MSG_ERROR([
+ gtk_save_LIBS="$LIBS"
+ LIBS="$PANGO_LIBS $LIBS"
+ AC_TRY_LINK_FUNC(pango_context_new, :, AC_MSG_ERROR([
*** Can't link to Pango. Pango is required to build
-*** GTK+. For more information see http://www.pango.org]), $PANGO_LIBS)
+*** GTK+. For more information see http://www.pango.org]))
+ LIBS="$gtk_save_LIBS"
fi
CFLAGS="$saved_cflags"
if $PKG_CONFIG --uninstalled $ATK_PACKAGES; then
:
else
- AC_CHECK_LIB(atk-1.0, atk_object_get_type, : , AC_MSG_ERROR([
+ gtk_save_LIBS="$LIBS"
+ LIBS="$ATK_LIBS $LIBS"
+ AC_TRY_LINK_FUNC(atk_object_get_type, : , AC_MSG_ERROR([
*** Cannot link to Accessibility Toolkit. Accessibility Toolkit is required
- *** to build GTK+]), $ATK_LIBS $GLIB_LIBS)
+ *** to build GTK+]))
+ LIBS="$gtk_save_LIBS"
fi
GTK_PACKAGES=atk