mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +00:00
Elminate the $OS variable, we can just use $host_os instead.
This commit is contained in:
parent
cb56fd2edb
commit
d409ba67c6
4
configure
vendored
4
configure
vendored
@ -17454,11 +17454,9 @@ fi
|
||||
sudo_cv_prev_host="$host"
|
||||
|
||||
if test -n "$host_os"; then
|
||||
OS=`echo $host_os | sed 's/[0-9].*//'`
|
||||
OSREV=`echo $host_os | sed 's/^[^0-9\.]*\([0-9\.]*\).*$/\1/'`
|
||||
OSMAJOR=`echo $OSREV | sed 's/\..*$//'`
|
||||
else
|
||||
OS="unknown"
|
||||
OSREV=0
|
||||
OSMAJOR=0
|
||||
fi
|
||||
@ -31543,7 +31541,7 @@ fi
|
||||
|
||||
fi
|
||||
|
||||
case "$OS" in
|
||||
case "$host_os" in
|
||||
netbsd*)
|
||||
;;
|
||||
*)
|
||||
|
@ -1796,11 +1796,9 @@ dnl
|
||||
dnl We want to be able to differentiate between different rev's
|
||||
dnl
|
||||
if test -n "$host_os"; then
|
||||
OS=`echo $host_os | sed 's/[[0-9]].*//'`
|
||||
OSREV=`echo $host_os | sed 's/^[[^0-9\.]]*\([[0-9\.]]*\).*$/\1/'`
|
||||
OSMAJOR=`echo $OSREV | sed 's/\..*$//'`
|
||||
else
|
||||
OS="unknown"
|
||||
OSREV=0
|
||||
OSMAJOR=0
|
||||
fi
|
||||
@ -4059,7 +4057,7 @@ dnl We want to use DT_RUNPATH in preference to DT_RPATH in ELF binaries.
|
||||
dnl Otherwise, LD_LIBRARY_PATH does not work when running the tests.
|
||||
dnl We don't do this on NetBSD where RPATH already supports LD_LIBRARY_PATH.
|
||||
dnl
|
||||
case "$OS" in
|
||||
case "$host_os" in
|
||||
netbsd*)
|
||||
;;
|
||||
*)
|
||||
|
Loading…
x
Reference in New Issue
Block a user