From e2fbbfdfc25e1ba233c9400a80ed62b180b97f2b Mon Sep 17 00:00:00 2001 From: Per Cederqvist <ceder@lysator.liu.se> Date: Sun, 5 Jan 1992 18:22:26 +0000 Subject: [PATCH] Stronger warning about mixing SunOS 4.1.1 with -lresolv. LIBRESOLV added. --- config/balance-defs.make | 7 +++++-- config/sun4os4-defs.make | 14 ++++++++++++-- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/config/balance-defs.make b/config/balance-defs.make index 4466016a3..03057439c 100644 --- a/config/balance-defs.make +++ b/config/balance-defs.make @@ -1,5 +1,5 @@ # -# $Id: balance-defs.make,v 1.8 1991/10/31 00:14:44 ceder Exp $ +# $Id: balance-defs.make,v 1.9 1992/01/05 18:22:26 ceder Exp $ # Copyright (C) 1991 Lysator Academic Computer Association. # # This file is part of the LysKOM server. @@ -22,7 +22,7 @@ # # Please mail bug reports to bug-lyskom@lysator.liu.se. # -# $Id: balance-defs.make,v 1.8 1991/10/31 00:14:44 ceder Exp $ +# $Id: balance-defs.make,v 1.9 1992/01/05 18:22:26 ceder Exp $ # This file is included by all Makefiles in the LysKOM hierarchy. # It gives default values for all variables that is normally used. # TOPDIR and SCRIPTDIR must be set before this file is included. @@ -52,6 +52,9 @@ PIPE = -pipe # -h flag makes NULL pointer references generate runtime errors LDFLAGS = -h -L$(LIBDIR) +# Library for hostname lookup. +LIBRESOLV = -lresolv + CFLAGS = $(INCLUDES) $(OPTIMIZE-FLAGS) $(MISC-CFLAGS) $(PIPE) $(TARGET) # LysKOM executables that the typical user don't use go here. diff --git a/config/sun4os4-defs.make b/config/sun4os4-defs.make index b6eea31e2..d0cb789c1 100644 --- a/config/sun4os4-defs.make +++ b/config/sun4os4-defs.make @@ -1,5 +1,5 @@ # -# $Id: sun4os4-defs.make,v 1.9 1991/10/31 00:14:40 ceder Exp $ +# $Id: sun4os4-defs.make,v 1.10 1992/01/05 18:22:24 ceder Exp $ # Copyright (C) 1991 Lysator Academic Computer Association. # # This file is part of the LysKOM server. @@ -22,7 +22,7 @@ # # Please mail bug reports to bug-lyskom@lysator.liu.se. # -# $Id: sun4os4-defs.make,v 1.9 1991/10/31 00:14:40 ceder Exp $ +# $Id: sun4os4-defs.make,v 1.10 1992/01/05 18:22:24 ceder Exp $ # This file is included by all Makefiles in the LysKOM hierarchy. # It gives default values for all variables that is normally used. # TOPDIR and SCRIPTDIR must be set before this file is included. @@ -53,6 +53,16 @@ PIPE = -pipe # -h flag makes NULL pointer references generate runtime errors LDFLAGS = -h -L$(LIBDIR) +# Library for hostname lookup. +# There is a bug in SunOS 4.1.1 that makes it impossible to use -lresolv. +# It can be fixed by either installing the 4.0.3 version of +# /usr/lib/libreslov.a or by omitting -lresolv. +# +# Note that -lresolv is not necessary if YP/NIS is set up so that the NIS +# server asks the nameserver. + +LIBRESOLV = -lresolv + CFLAGS = $(INCLUDES) $(OPTIMIZE-FLAGS) $(MISC-CFLAGS) $(PIPE) $(TARGET) # LysKOM executables that the typical user doesn't use go here. -- GitLab