Mercurial > emacs
changeset 78806:5fef63f45725
Don't use -lpthread on HP-UX.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Sun, 16 Sep 2007 09:13:06 +0000 |
parents | 476fa743801f |
children | 2db6f736aed1 |
files | configure.in |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in Sun Sep 16 04:00:26 2007 +0000 +++ b/configure.in Sun Sep 16 09:13:06 2007 +0000 @@ -2165,7 +2165,10 @@ 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