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