diff --git a/config/balance-defs.make b/config/balance-defs.make index 4466016a30e20afc08d580a1da9d5d422a905b65..03057439c59ffe54996bfd63565c5e7632d9f575 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 b6eea31e29bdb1bb7caee25d00eadc56cfe93f18..d0cb789c18a8240e71b1430e88275bd7832016df 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.