summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-06-09 19:20:04 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-06-09 19:20:04 +0000
commit5f8117526e078cdcf985be2985a572713a9e0c9a (patch)
tree6e126798dea358325c1c10edfec5b923f7dcd547
parent6731a5a3e5daf84b2983924cec0c8a3102268522 (diff)
downloadatk-5f8117526e078cdcf985be2985a572713a9e0c9a.tar.gz
Only include gthread-2.0 in CFLAGS, not in LIBS. (Always linking with
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.)
-rw-r--r--ChangeLog6
-rw-r--r--configure.in5
-rw-r--r--docs/tmpl/atk-unused.sgml11
3 files changed, 10 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index 0b5997b..f5508e2 100644
--- 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.
diff --git a/configure.in b/configure.in
index c1de6e1..9fa0cd6 100644
--- a/configure.in
+++ b/configure.in
@@ -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
diff --git a/docs/tmpl/atk-unused.sgml b/docs/tmpl/atk-unused.sgml
index 642b4ac..8c21a6d 100644
--- a/docs/tmpl/atk-unused.sgml
+++ b/docs/tmpl/atk-unused.sgml
@@ -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>