mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-03 07:45:47 +00:00
removed BROKEN_GETPASS
added new srcs toreplace missing functions
This commit is contained in:
@@ -13,6 +13,8 @@ INC_FLAGS=""
|
|||||||
AC_SUBST(INC_FLAGS)dnl
|
AC_SUBST(INC_FLAGS)dnl
|
||||||
OPTIONS=""
|
OPTIONS=""
|
||||||
AC_SUBST(OPTIONS)dnl
|
AC_SUBST(OPTIONS)dnl
|
||||||
|
LIBOBJS=""
|
||||||
|
AC_SUBST(LIBOBJS)dnl
|
||||||
dnl
|
dnl
|
||||||
dnl did they say --with-csops?
|
dnl did they say --with-csops?
|
||||||
dnl
|
dnl
|
||||||
@@ -45,13 +47,11 @@ case "$OS" in
|
|||||||
;;
|
;;
|
||||||
"aix") echo "Looks like AIX"
|
"aix") echo "Looks like AIX"
|
||||||
AC_DEFINE(_ALL_SOURCE)
|
AC_DEFINE(_ALL_SOURCE)
|
||||||
OPTIONS="${OPTIONS} -DBROKEN_GETPASS"
|
|
||||||
if test -n "$GCC"; then
|
if test -n "$GCC"; then
|
||||||
STATIC_FLAGS="-bnso -bI:/lib/syscalls.exp -bI:./aixcrypt.exp -liconv -bnodelcsect"
|
STATIC_FLAGS="-bnso -bI:/lib/syscalls.exp -bI:./aixcrypt.exp -liconv -bnodelcsect"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
"hp-ux") echo "Looks like HP-UX"
|
"hp-ux") echo "Looks like HP-UX"
|
||||||
OPTIONS="${OPTIONS} -DBROKEN_GETPASS"
|
|
||||||
if test -n "$GCC"; then
|
if test -n "$GCC"; then
|
||||||
STATIC_FLAGS="-Wl,-a,archive"
|
STATIC_FLAGS="-Wl,-a,archive"
|
||||||
fi
|
fi
|
||||||
@@ -62,7 +62,6 @@ case "$OS" in
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
"irix") echo "Looks like IRIX"
|
"irix") echo "Looks like IRIX"
|
||||||
OPTIONS="${OPTIONS} -DBROKEN_GETPASS"
|
|
||||||
# need bsd signals to get sigmask()
|
# need bsd signals to get sigmask()
|
||||||
AC_DEFINE(_BSD_SIGNALS)
|
AC_DEFINE(_BSD_SIGNALS)
|
||||||
AC_DEFINE(RETSIGTYPE, int)
|
AC_DEFINE(RETSIGTYPE, int)
|
||||||
@@ -141,11 +140,11 @@ esac
|
|||||||
dnl
|
dnl
|
||||||
dnl Function checks
|
dnl Function checks
|
||||||
dnl
|
dnl
|
||||||
AC_HAVE_FUNCS(getcwd getwd strchr strrchr sysconf)
|
AC_HAVE_FUNCS(getwd strchr strrchr sysconf sigaction)
|
||||||
dnl
|
dnl
|
||||||
dnl Function checks w/ replacements
|
dnl Function checks w/ replacements
|
||||||
dnl
|
dnl
|
||||||
AC_REPLACES_FUNCS(strdup realpath getcwd)
|
AC_REPLACE_FUNCS(strdup realpath getcwd)
|
||||||
dnl
|
dnl
|
||||||
dnl library checks
|
dnl library checks
|
||||||
dnl
|
dnl
|
||||||
|
Reference in New Issue
Block a user