Skip to content
Snippets Groups Projects
Commit e2fbbfdf authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Stronger warning about mixing SunOS 4.1.1 with -lresolv.

LIBRESOLV added.
parent 55b1a65b
No related branches found
No related tags found
No related merge requests found
# #
# $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. # Copyright (C) 1991 Lysator Academic Computer Association.
# #
# This file is part of the LysKOM server. # This file is part of the LysKOM server.
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
# #
# Please mail bug reports to bug-lyskom@lysator.liu.se. # 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. # This file is included by all Makefiles in the LysKOM hierarchy.
# It gives default values for all variables that is normally used. # It gives default values for all variables that is normally used.
# TOPDIR and SCRIPTDIR must be set before this file is included. # TOPDIR and SCRIPTDIR must be set before this file is included.
...@@ -52,6 +52,9 @@ PIPE = -pipe ...@@ -52,6 +52,9 @@ PIPE = -pipe
# -h flag makes NULL pointer references generate runtime errors # -h flag makes NULL pointer references generate runtime errors
LDFLAGS = -h -L$(LIBDIR) LDFLAGS = -h -L$(LIBDIR)
# Library for hostname lookup.
LIBRESOLV = -lresolv
CFLAGS = $(INCLUDES) $(OPTIMIZE-FLAGS) $(MISC-CFLAGS) $(PIPE) $(TARGET) CFLAGS = $(INCLUDES) $(OPTIMIZE-FLAGS) $(MISC-CFLAGS) $(PIPE) $(TARGET)
# LysKOM executables that the typical user don't use go here. # LysKOM executables that the typical user don't use go here.
......
# #
# $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. # Copyright (C) 1991 Lysator Academic Computer Association.
# #
# This file is part of the LysKOM server. # This file is part of the LysKOM server.
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
# #
# Please mail bug reports to bug-lyskom@lysator.liu.se. # 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. # This file is included by all Makefiles in the LysKOM hierarchy.
# It gives default values for all variables that is normally used. # It gives default values for all variables that is normally used.
# TOPDIR and SCRIPTDIR must be set before this file is included. # TOPDIR and SCRIPTDIR must be set before this file is included.
...@@ -53,6 +53,16 @@ PIPE = -pipe ...@@ -53,6 +53,16 @@ PIPE = -pipe
# -h flag makes NULL pointer references generate runtime errors # -h flag makes NULL pointer references generate runtime errors
LDFLAGS = -h -L$(LIBDIR) 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) CFLAGS = $(INCLUDES) $(OPTIMIZE-FLAGS) $(MISC-CFLAGS) $(PIPE) $(TARGET)
# LysKOM executables that the typical user doesn't use go here. # LysKOM executables that the typical user doesn't use go here.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment