From 846d1b3e948004ade6fc49aad33442b0de450c54 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Sun, 16 Sep 2007 09:13:28 +0000 Subject: [PATCH] Don't use -lpthread on HP-UX. --- ChangeLog | 4 ++++ configure | 5 ++++- configure.in | 5 ++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0a31582cf4f..f7234ae1ef9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-09-16 Peter O'Gorman (tiny change) + + * configure.in: Don't use -lpthread on HP-UX. + 2007-09-02 Jan Dj,Ad(Brv * configure.in: Require Gtk/Glib 2.6. diff --git a/configure b/configure index 303d64c9a9f..5df7d18faaa 100755 --- a/configure +++ b/configure @@ -11683,7 +11683,10 @@ fi fi if test "$HAVE_GTK_AND_PTHREAD" = yes; then - GTK_LIBS="$GTK_LIBS -lpthread" + case "${canonical}" in + *-hpux*) ;; + *) GTK_LIBS="$GTK_LIBS -lpthread" ;; + esac cat >>confdefs.h <<\_ACEOF #define HAVE_GTK_AND_PTHREAD 1 diff --git a/configure.in b/configure.in index 3a3c56d196d..315c033aeaa 100644 --- a/configure.in +++ b/configure.in @@ -2165,7 +2165,10 @@ if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "gtk"; then AC_CHECK_LIB(pthread, pthread_self, HAVE_GTK_AND_PTHREAD=yes) fi if test "$HAVE_GTK_AND_PTHREAD" = yes; then - GTK_LIBS="$GTK_LIBS -lpthread" + case "${canonical}" in + *-hpux*) ;; + *) GTK_LIBS="$GTK_LIBS -lpthread" ;; + esac AC_DEFINE(HAVE_GTK_AND_PTHREAD, 1, [Define to 1 if you have GTK and pthread (-lpthread).]) fi -- 2.39.2