summaryrefslogtreecommitdiff
path: root/chat/xchat/patches/patch-ac
blob: 5e74fad256b1fa93e4754ea661193da175f8d8fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$NetBSD: patch-ac,v 1.1 2001/02/05 15:30:24 dmcmahill Exp $

--- configure.in.orig	Sun Dec 10 22:20:09 2000
+++ configure.in	Mon Feb  5 09:43:34 2001
@@ -304,4 +304,5 @@
 				AC_MSG_RESULT(ok)
 				AC_CHECK_LIB(pthread, pthread_create, LIBS="$LIBS -lpthread")
+				AC_CHECK_LIB(util, openpty, LIBS="$LIBS -lutil")
 			else
 				python=no
@@ -505,11 +506,12 @@
 GUI_CFLAGS=`cat cflags`
 
-echo $GUI_LIBS > cflags
-tr " " "\n" < cflags > cflags2
-sort cflags2 > cflags
-uniq cflags > cflags2
-tr "\n" " " < cflags2 > cflags
-GUI_LIBS=`cat cflags`
-rm -f cflags cflags2
+dnl order matters on the link line....
+dnl echo $GUI_LIBS > cflags
+dnl tr " " "\n" < cflags > cflags2
+dnl sort cflags2 > cflags
+dnl uniq cflags > cflags2
+dnl tr "\n" " " < cflags2 > cflags
+dnl GUI_LIBS=`cat cflags`
+dnl rm -f cflags cflags2
 
 fi