configure: check for read access on system.map
This lets us fallback gracefully to /System.map, which is more open by default and binary identical on rhel systems
This commit is contained in:
committed by
Balazs Gerofi
parent
2a46fd0b2d
commit
b3613e2535
6
configure
vendored
6
configure
vendored
@ -4836,11 +4836,11 @@ esac
|
||||
|
||||
{ $as_echo "$as_me:$LINENO: checking for System.map" >&5
|
||||
$as_echo_n "checking for System.map... " >&6; }
|
||||
if test -f "$MCCTRL_LINUX_SYMTAB"; then
|
||||
if test -r "$MCCTRL_LINUX_SYMTAB"; then
|
||||
MCCTRL_LINUX_SYMTAB="$MCCTRL_LINUX_SYMTAB"
|
||||
elif test -f "/boot/System.map-`uname -r`"; then
|
||||
elif test -r "/boot/System.map-`uname -r`"; then
|
||||
MCCTRL_LINUX_SYMTAB="/boot/System.map-`uname -r`"
|
||||
elif test -f "$KDIR/System.map"; then
|
||||
elif test -r "$KDIR/System.map"; then
|
||||
MCCTRL_LINUX_SYMTAB="$KDIR/System.map"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user