aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorJan Djärv <[email protected]>2007-09-16 09:13:28 +0000
committerJan Djärv <[email protected]>2007-09-16 09:13:28 +0000
commit846d1b3e948004ade6fc49aad33442b0de450c54 (patch)
tree39ea5ba5c53d1d27a8ce4efb5ce2bbb73c6be4a1 /configure.in
parent4e0a4fdc0097f50049e3d3245fe063d5f3b9d327 (diff)
Don't use -lpthread on HP-UX.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 3a3c56d196..315c033aea 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