Only include gthread-2.0 in CFLAGS, not in LIBS. (Always linking with
authorOwen Taylor <otaylor@redhat.com>
Sat, 9 Jun 2001 19:20:04 +0000 (19:20 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Sat, 9 Jun 2001 19:20:04 +0000 (19:20 +0000)
Sat Jun  9 15:17:00 2001  Owen Taylor  <otaylor@redhat.com>

* configure.in (DEP_CFLAGS): Only include gthread-2.0 in
CFLAGS, not in LIBS. (Always linking with -lpthread
is a noticeable speed hit.)

ChangeLog
configure.in
docs/tmpl/atk-unused.sgml

index 0b5997b..f5508e2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sat Jun  9 15:17:00 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in (DEP_CFLAGS): Only include gthread-2.0 in
+       CFLAGS, not in LIBS. (Always linking with -lpthread
+       is a noticeable speed hit.)
+
 Thu Jun  7 17:03:37 2001  Owen Taylor  <otaylor@redhat.com>
 
        * atk/Makefile.am: Really fix marshal generation.
index c1de6e1..9fa0cd6 100644 (file)
@@ -24,7 +24,7 @@ if test "x$GCC" = "xyes"; then
 fi
 changequote([,])dnl
 
-GLIB_PACKAGES="gobject-2.0 gmodule-2.0 gthread-2.0"
+GLIB_PACKAGES="gobject-2.0 gmodule-2.0"
 AC_SUBST(GLIB_PACKAGES)
 GLIB_REQUIRED_VERSION=1.3.2
 
@@ -41,6 +41,9 @@ PKG_CHECK_MODULES(DEP, glib-2.0 >= $GLIB_REQUIRED_VERSION $GLIB_PACKAGES $PANGO_
         *** Errors follow:
             $DEP_PKG_ERRORS]))
 
+# Rerun PKG_CONFIG to add gthread-2.0 cflags, but not libs
+DEP_CFLAGS=`$PKG_CONFIG --cflags $GLIB_PACKAGES $PANGO_PACKAGES gthread-2.0`
+
 if $PKG_CONFIG --uninstalled $GLIB_PACKAGES $PANGO_PACKAGES; then
         :
 else
index 642b4ac..8c21a6d 100644 (file)
@@ -74,17 +74,6 @@ atk
 @start_offset: 
 @end_offset: 
 
-<!-- ##### FUNCTION atk_text_ref_run_attributes ##### -->
-<para>
-
-</para>
-
-@text: 
-@offset: 
-@start_offset: 
-@end_offset: 
-@Returns: 
-
 <!-- ##### FUNCTION atk_text_set_selection_bounds ##### -->
 <para>