openbsd-ports/x11/kde/libs3/patches/patch-kdesu_configure_in_in
espie c53930a780 Update to kde 3.0.1.
Mostly remove integrated patches, and adapt a few plists.
There may be minor pieces yet to do...
2002-05-23 14:37:21 +00:00

18 lines
588 B
Plaintext

$OpenBSD: patch-kdesu_configure_in_in,v 1.3 2002/05/23 14:37:22 espie Exp $
--- kdesu/configure.in.in.orig Wed May 8 20:27:35 2002
+++ kdesu/configure.in.in Thu May 16 18:36:21 2002
@@ -5,6 +5,13 @@ if test "$path_su" = "no"; then
else
AC_DEFINE_UNQUOTED(__PATH_SU, "$path_su", [path to su])
fi
+dnl Check for sudo
+AC_PATH_PROG(path_sudo, "sudo", "no")
+if test "$path_sudo" = "no"; then
+ AC_MSG_WARN(sudo was not found)
+else
+ AC_DEFINE_UNQUOTED(__PATH_SUDO, "$path_sudo", [path to sudo])
+fi
dnl Check for POSIX.1b scheduling
AC_MSG_CHECKING([POSIX.1b scheduling])