]> granicus.if.org Git - sudo/commitdiff
DUNIX doesn't need -lnsl
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 8 Sep 1996 19:15:31 +0000 (19:15 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 8 Sep 1996 19:15:31 +0000 (19:15 +0000)
configure.in

index 3fa89af21bb4bef11199bbb0e69f2e20f52a506c..9b07814240109ac8ee8c350df91ffe1bb1ab4274 100644 (file)
@@ -275,7 +275,7 @@ fi
 
 case "$host" in
     *-*-sunos4*)
-               dnl Don't really need -lnsl
+               # Don't really need -lnsl
                LIB_NSL=1
 
                if test -z "$with_C2"; then
@@ -399,13 +399,16 @@ case "$host" in
                fi
                ;;
     *-dec-osf*)
+               # Don't really need -lnsl (DUNIX 4.x has it, < 4.x does not)
+               LIB_NSL=1
+
                # ignore envariables wrt dynamic lib path
                SUDO_LDFLAGS="${SUDO_LDFLAGS} -Wl,-no_library_replacement"
 
+               # C2 security stuff
                if test -z "$with_C2"; then
                    SUDO_CHECK_SHADOW_DUNIX(with_C2="yes")
                fi
-               # C2 security stuff
                if test "$with_C2" = "yes"; then
                    SUDO_LIBS="${SUDO_LIBS} -lsecurity -laud"
                    LIBS="${LIBS} -lsecurity -laud"