mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 22:28:02 +01:00
x86_64 mmx fixes
This patch combines two small patches which fix issues with x86_64 and mmx in the configure script. Submitted by: Gilbert Ashley Author: unknown? Origin: ALT/Sisyphus Linux, Alexey Voinov <voins@altlinux.ru>
This commit is contained in:
committed by
Carlos R. Mafra
parent
cf0f7d68d5
commit
f6645ac564
14
configure.ac
14
configure.ac
@@ -189,7 +189,17 @@ dnl -----------------------
|
||||
# until we fix it, leave it disabled
|
||||
asm_support=no
|
||||
mmx_support=no
|
||||
if test "$ac_cv_prog_gcc" = yes; then
|
||||
|
||||
check_for_mmx_support=yes
|
||||
AC_ARG_ENABLE(mmx,
|
||||
[ --disable-mmx disable compilation of MMX inline assembly ],
|
||||
[if test x$enableval != xyes; then
|
||||
check_for_mmx_support=no
|
||||
fi])
|
||||
|
||||
if test "$ac_cv_prog_gcc" = yes -a "$check_for_mmx_support" = yes; then
|
||||
case $host_cpu in
|
||||
*i?86*)
|
||||
|
||||
# gcc-3.3 or newer complains about some of our stuff without this
|
||||
NOSTRICTALIASING="-fno-strict-aliasing"
|
||||
@@ -217,6 +227,8 @@ if test "$ac_cv_prog_gcc" = yes; then
|
||||
mmx_support=yes
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
AC_SUBST(NOSTRICTALIASING)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user