Mercurial > emacs
diff configure.in @ 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 | bb28292f5158 |
children | e85d1ebec114 5039706521c9 |
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