$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