forked from old/legacy-imlib2
parent
5bb40fcccc
commit
5b000f2a5e
20
configure.in
20
configure.in
|
@ -99,47 +99,41 @@ case $host_cpu in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
AC_ARG_ENABLE(mmx,[ --enable-mmx attempt compiling using mmx assembly [default=auto]],
|
AC_ARG_ENABLE(mmx,[ --enable-mmx attempt compiling using mmx assembly [default=auto]],
|
||||||
[
|
[
|
||||||
if test x$enableval = xyes; then
|
if test x$enableval = xyes; then
|
||||||
mmx=yes
|
mmx=yes
|
||||||
# Cannot compile with both options enabled
|
# Cannot compile with both options enabled
|
||||||
amd64=no
|
amd64=no
|
||||||
AC_MSG_RESULT(enabling mmx support)
|
|
||||||
else
|
else
|
||||||
mmx=no
|
mmx=no
|
||||||
AC_MSG_RESULT(disabling mmx support)
|
|
||||||
fi
|
fi
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
AC_ARG_ENABLE(amd64,[ --enable-amd64 attempt compiling using amd64 assembly [default=auto]],
|
AC_ARG_ENABLE(amd64,[ --enable-amd64 attempt compiling using amd64 assembly [default=auto]],
|
||||||
[
|
[
|
||||||
if test x$enableval = xyes; then
|
if test x$enableval = xyes; then
|
||||||
amd64=yes
|
amd64=yes
|
||||||
# Cannot compile with both options enabled
|
|
||||||
mmx=no
|
mmx=no
|
||||||
AC_MSG_RESULT(enabling amd64 support)
|
|
||||||
else
|
else
|
||||||
amd64=no
|
amd64=no
|
||||||
AC_MSG_RESULT(disabling amd64 support)
|
|
||||||
fi
|
fi
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(whether to enable x86 mmx support)
|
||||||
if test x$mmx = xyes; then
|
if test x$mmx = xyes; then
|
||||||
AC_DEFINE(DO_MMX_ASM, 1, [enabling MMX Assembly])
|
AC_DEFINE(DO_MMX_ASM, 1, [enabling MMX Assembly])
|
||||||
AC_MSG_RESULT(enabled mmx support)
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(disabled mmx support)
|
|
||||||
fi
|
fi
|
||||||
|
AC_MSG_RESULT($mmx)
|
||||||
AM_CONDITIONAL(BUILD_MMX, test x$mmx = xyes)
|
AM_CONDITIONAL(BUILD_MMX, test x$mmx = xyes)
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(whether to enable amd64 asm support)
|
||||||
if test x$amd64 = xyes; then
|
if test x$amd64 = xyes; then
|
||||||
AC_DEFINE(DO_AMD64_ASM, 1, [enabling AMD64 Assembly])
|
AC_DEFINE(DO_AMD64_ASM, 1, [enabling AMD64 Assembly])
|
||||||
AC_MSG_RESULT(enabled amd64 support)
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(disabled amd64 support)
|
|
||||||
fi
|
fi
|
||||||
|
AC_MSG_RESULT($amd64)
|
||||||
AM_CONDITIONAL(BUILD_AMD64, test x$amd64 = xyes)
|
AM_CONDITIONAL(BUILD_AMD64, test x$amd64 = xyes)
|
||||||
|
|
||||||
# check for freetype
|
# check for freetype
|
||||||
|
|
Loading…
Reference in New Issue