summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/appl/telnet/libtelnet/ChangeLog8
-rw-r--r--src/appl/telnet/libtelnet/Makefile.in5
-rw-r--r--src/appl/telnet/libtelnet/configure.in6
3 files changed, 16 insertions, 3 deletions
diff --git a/src/appl/telnet/libtelnet/ChangeLog b/src/appl/telnet/libtelnet/ChangeLog
index 37af30fe7..7b79c5ac2 100644
--- a/src/appl/telnet/libtelnet/ChangeLog
+++ b/src/appl/telnet/libtelnet/ChangeLog
@@ -1,3 +1,11 @@
+2002-03-13 Ezra Peisach <epeisach@mit.edu>
+
+ * configure.in: Do not explicitly add getent.o and setenv.o to
+ LIBOBJS. Autoconf 2.53 labels this as an error. Move to
+ Makefile.in.
+
+ * Makefile.in (OBJS): Add getent.o and setenv.o explicity.
+
2001-10-09 Ken Raeburn <raeburn@mit.edu>
* auth-proto.h, auth.h, enc-proto.h, enc_des.c, encrypt.c,
diff --git a/src/appl/telnet/libtelnet/Makefile.in b/src/appl/telnet/libtelnet/Makefile.in
index 0e8efb157..f6c4a7f66 100644
--- a/src/appl/telnet/libtelnet/Makefile.in
+++ b/src/appl/telnet/libtelnet/Makefile.in
@@ -29,6 +29,9 @@ LOCALINCLUDES=-I.. -I$(srcdir)/.. @KRB4_INCLUDES@
DEFINES = $(AUTH_DEF)
LIBOBJS=@LIBOBJS@
+SETENVSRC=@SETENVSRC@
+SETENVOBJ=@SETENVOBJ@
+
LIB= libtelnet.a
SRCS= $(srcdir)/auth.c \
$(srcdir)/encrypt.c \
@@ -51,7 +54,7 @@ SRCS= $(srcdir)/auth.c \
OBJS= auth.o encrypt.o genget.o \
misc.o kerberos.o kerberos5.o forward.o spx.o enc_des.o \
- $(LIBOBJS)
+ $(LIBOBJS) getent.o $(SETENVOBJ)
TELNET_H= $(srcdir)/../arpa/telnet.h
diff --git a/src/appl/telnet/libtelnet/configure.in b/src/appl/telnet/libtelnet/configure.in
index 81703e159..207aa72f4 100644
--- a/src/appl/telnet/libtelnet/configure.in
+++ b/src/appl/telnet/libtelnet/configure.in
@@ -6,10 +6,12 @@ AC_PROG_RANLIB
AC_REPLACE_FUNCS([strcasecmp strdup setsid strerror strftime getopt herror parsetos])
AC_CHECK_FUNCS(setenv unsetenv getenv gettosbyname cgetent)
AC_CHECK_HEADERS(stdlib.h string.h)
-LIBOBJS="$LIBOBJS getent.o"
if test $ac_cv_func_setenv = no || test $ac_cv_func_unsetenv = no \
|| test $ac_cv_func_getenv = no; then
- LIBOBJS="$LIBOBJS setenv.o"
+ SETENVSRC=setenv.c
+ SETENVOBJ=setenv.o
+ AC_SUBST([SETENVSRC])
+ AC_SUBST([SETENVOBJ])
AC_DEFINE([NEED_SETENV])
fi
dnl