btrfs-progs: build: fix bashism in target_cpu comparison
The "=" operator should be used as configure may be run by a POSIX shell at /bin/sh (like dash). Bash recognises "=" too so this retains compatibility with it. Pull-request: #721 Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
92e18dbce5
commit
a79560163c
|
@ -45,7 +45,7 @@ AC_C_CONST
|
||||||
AC_C_VOLATILE
|
AC_C_VOLATILE
|
||||||
AC_C_BIGENDIAN
|
AC_C_BIGENDIAN
|
||||||
|
|
||||||
if test "x$target_cpu" == 'xx86_64'; then
|
if test "x$target_cpu" = 'xx86_64'; then
|
||||||
|
|
||||||
AX_CHECK_COMPILE_FLAG([-msse2], [HAVE_CFLAG_msse2=1], [HAVE_CFLAG_msse2=0])
|
AX_CHECK_COMPILE_FLAG([-msse2], [HAVE_CFLAG_msse2=1], [HAVE_CFLAG_msse2=0])
|
||||||
AC_SUBST([HAVE_CFLAG_msse2])
|
AC_SUBST([HAVE_CFLAG_msse2])
|
||||||
|
|
Loading…
Reference in New Issue