mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
configure: accept 'none' as mangling mode
Since we advertise 'none' as mangling name, accept it. Keep it backward compatible and leave disabled option still working (though I guess there is likely no user of this option...)
This commit is contained in:
parent
93c2614e56
commit
b3ace4f9af
@ -244,7 +244,7 @@ AC_ARG_WITH(default-name-mangling,
|
|||||||
MANGLING=$withval, MANGLING=auto)
|
MANGLING=$withval, MANGLING=auto)
|
||||||
case "$MANGLING" in
|
case "$MANGLING" in
|
||||||
auto) mangling=DM_STRING_MANGLING_AUTO;;
|
auto) mangling=DM_STRING_MANGLING_AUTO;;
|
||||||
disabled) mangling=DM_STRING_MANGLING_NONE;;
|
none|disabled) mangling=DM_STRING_MANGLING_NONE;;
|
||||||
hex) mangling=DM_STRING_MANGLING_HEX;;
|
hex) mangling=DM_STRING_MANGLING_HEX;;
|
||||||
*) AC_MSG_ERROR([--with-default-name-mangling parameter invalid]);;
|
*) AC_MSG_ERROR([--with-default-name-mangling parameter invalid]);;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user