From 5f8117526e078cdcf985be2985a572713a9e0c9a Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Sat, 9 Jun 2001 19:20:04 +0000 Subject: [PATCH] Only include gthread-2.0 in CFLAGS, not in LIBS. (Always linking with Sat Jun 9 15:17:00 2001 Owen Taylor * configure.in (DEP_CFLAGS): Only include gthread-2.0 in CFLAGS, not in LIBS. (Always linking with -lpthread is a noticeable speed hit.) --- ChangeLog | 6 ++++++ configure.in | 5 ++++- docs/tmpl/atk-unused.sgml | 11 ----------- 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 + + * 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 * 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: - - - - - -@text: -@offset: -@start_offset: -@end_offset: -@Returns: - -- 2.7.4