]> granicus.if.org Git - sudo/commitdiff
add *-*-svr4 rule
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 24 Jan 1998 05:50:08 +0000 (05:50 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 24 Jan 1998 05:50:08 +0000 (05:50 +0000)
configure.in

index 3fc77e80af456cf5b7ef5f06e7e44409d2c2808d..7128ed7b75bf16fbc5c59c33cc54941ca603f41f 100644 (file)
@@ -585,6 +585,20 @@ case "$host" in
                    AC_DEFINE_UNQUOTED(SHADOW_TYPE, $SHADOW_TYPE)
                fi
                ;;
+    *-*-svr4)
+               LIBS="${LIBS} -lsocket -lnsl"
+               SUDO_LIBS="${LIBS} -lsocket -lnsl"
+               LIB_SOCKET=1
+               LIB_NSL=1                                    
+
+               if test -z "$with_C2"; then
+                   SUDO_CHECK_SHADOW_SVR4(with_C2="yes")
+               fi
+               if test "$with_C2" = "yes"; then
+                   SHADOW_TYPE="SPW_SVR4"
+                   AC_DEFINE_UNQUOTED(SHADOW_TYPE, $SHADOW_TYPE)
+               fi
+               ;;
     *-*-sysv*)
                if test -z "$with_C2"; then
                    SUDO_CHECK_SHADOW_SVR4(with_C2="yes")