mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-29 13:28:10 +00:00
only search for -lsun in irix <= 4.x
This commit is contained in:
parent
89bdafdc36
commit
6bf7f60c2d
11
configure.in
11
configure.in
@ -1160,6 +1160,10 @@ case "$host" in
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
# IRIX <= 4 needs -lsun
|
||||
if test "$OSREV" -le 4; then
|
||||
AC_CHECK_LIB(sun, getpwnam, [SUDO_LIBS="${SUDO_LIBS} -lsun"; VISUDO_LIBS="${VISUDO_LIBS} -lsun"; LIBS="${LIBS} -lsun"])
|
||||
fi
|
||||
;;
|
||||
*-*-linux*)
|
||||
# Some Linux versions need to link with -lshadow
|
||||
@ -1343,13 +1347,6 @@ if test "$with_DCE" = "yes" -o "$ac_cv_prog_YACC" = "bison -y"; then
|
||||
AC_FUNC_ALLOCA
|
||||
fi
|
||||
|
||||
dnl
|
||||
dnl library checks
|
||||
dnl
|
||||
dnl IRIX 4 needs -lsun)
|
||||
if test "$OS" = "irix"; then
|
||||
AC_CHECK_LIB(sun, getpwnam, [SUDO_LIBS="${SUDO_LIBS} -lsun"; VISUDO_LIBS="${VISUDO_LIBS} -lsun"; LIBS="${LIBS} -lsun"])
|
||||
fi
|
||||
dnl
|
||||
dnl Find kerberos 4 includes and libs or complain
|
||||
dnl
|
||||
|
Loading…
x
Reference in New Issue
Block a user