LIBOBJS. Autoconf 2.53 labels this as an error. Move to
Makefile.in.
* Makefile.in (OBJS): Add getent.o and setenv.o explicity.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14267
dc483132-0cff-0310-8789-
dd5450dbe970
+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,
DEFINES = $(AUTH_DEF)
LIBOBJS=@LIBOBJS@
+SETENVSRC=@SETENVSRC@
+SETENVOBJ=@SETENVOBJ@
+
LIB= libtelnet.a
SRCS= $(srcdir)/auth.c \
$(srcdir)/encrypt.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
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