]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't use -lpthread on HP-UX.
authorJan Djärv <jan.h.d@swipnet.se>
Sun, 16 Sep 2007 09:13:28 +0000 (09:13 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Sun, 16 Sep 2007 09:13:28 +0000 (09:13 +0000)
ChangeLog
configure
configure.in

index 0a31582cf4fe7361b944f56aedb8b3914f038f5a..f7234ae1ef93dbdeb5062f8ab93fe54c3f624151 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-09-16  Peter O'Gorman <bug-gnu-emacs@mlists.thewrittenword.com> (tiny change)
+
+       * configure.in: Don't use -lpthread on HP-UX.
+
 2007-09-02  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
 
        * configure.in: Require Gtk/Glib 2.6.
index 303d64c9a9f08cee3cad22c011482d6d28a57746..5df7d18faaa3fb8ed4c21bba30ad21cddce41f59 100755 (executable)
--- a/configure
+++ b/configure
 
     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
index 3a3c56d196def36b5224222d045ab988e4ab2b6f..315c033aeaa62fb293805e3cacb5f320e10c0fb2 100644 (file)
@@ -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