mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-02 07:15:27 +00:00
fix for C2 on hpux 10
now uses -linet if it exists
This commit is contained in:
@@ -165,8 +165,9 @@ case "$OS" in
|
|||||||
CPPFLAGS="${CPPFLAGS} -D_REENTRANT -I/usr/include/reentrant"
|
CPPFLAGS="${CPPFLAGS} -D_REENTRANT -I/usr/include/reentrant"
|
||||||
# shadow pw support
|
# shadow pw support
|
||||||
elif test -n "$C2"; then
|
elif test -n "$C2"; then
|
||||||
SHADOW_TYPE="SPW_SVR4"
|
SHADOW_TYPE="SPW_HPUX9"
|
||||||
AC_DEFINE_UNQUOTED(SHADOW_TYPE, $SHADOW_TYPE)
|
AC_DEFINE_UNQUOTED(SHADOW_TYPE, $SHADOW_TYPE)
|
||||||
|
LIBS="${LIBS} /usr/lib/libsec.1"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -378,6 +379,7 @@ if test "$OS" != "irix" ; then
|
|||||||
elif test "$OSREV" -lt 5 ; then
|
elif test "$OSREV" -lt 5 ; then
|
||||||
AC_CHECK_LIB(sun, getpwnam)
|
AC_CHECK_LIB(sun, getpwnam)
|
||||||
fi
|
fi
|
||||||
|
AC_CHECK_LIB(inet, main)
|
||||||
dnl
|
dnl
|
||||||
dnl Find kerberos includes and libs or complain
|
dnl Find kerberos includes and libs or complain
|
||||||
dnl
|
dnl
|
||||||
|
Reference in New Issue
Block a user