From 05e959ead5632e11e3240493e3f8a1fb60c49797 Mon Sep 17 00:00:00 2001 From: Unknown User d91-jda Date: Sun, 11 Feb 1996 14:58:45 +0000 Subject: [PATCH] Fix for AIX getmsg. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@256 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/telnet/configure.in | 9 +++++++-- appl/telnet/telnetd/Makefile.in | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/appl/telnet/configure.in b/appl/telnet/configure.in index 594b012a6..1896f3cc6 100644 --- a/appl/telnet/configure.in +++ b/appl/telnet/configure.in @@ -225,9 +225,14 @@ AC_DEFINE(OLD_ENVIRON) AC_SUBST(OLD_ENVIRON) # -# AIX needs /lib/pse.exp for getmsg +# AIX needs /lib/pse.exp for getmsg, but alas that file is broken in +# AIX414 # -if test -f /lib/pse.exp ; then LIBS="$LIBS -bI:/lib/pse.exp"; fi + +if test -f /lib/pse.exp ;then + GETMSG_LIB="getmsg.exp"; + AC_SUBST(GETMSG_LIB) +fi AC_CHECK_LIB(termcap, tgetent) AC_CHECK_LIB(curses, setupterm) diff --git a/appl/telnet/telnetd/Makefile.in b/appl/telnet/telnetd/Makefile.in index ae3008c40..653fa7679 100644 --- a/appl/telnet/telnetd/Makefile.in +++ b/appl/telnet/telnetd/Makefile.in @@ -10,7 +10,7 @@ AR = ar RANLIB = @RANLIB@ DEFS = @DEFS@ CFLAGS = @CFLAGS@ -LIBS = @LIBS@ +LIBS = @LIBS@ @GETMSG_LIBS@ INSTALL = @INSTALL@ MKDIRHIER = @top_srcdir@/../../mkdirhier-sh