summaryrefslogtreecommitdiff
path: root/legacy/evas/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/evas/configure.ac')
-rw-r--r--legacy/evas/configure.ac10
1 files changed, 7 insertions, 3 deletions
diff --git a/legacy/evas/configure.ac b/legacy/evas/configure.ac
index 925d1f71ae..54185ec724 100644
--- a/legacy/evas/configure.ac
+++ b/legacy/evas/configure.ac
@@ -1041,9 +1041,7 @@ case $host_cpu in
1041 AC_DEFINE(HAVE_ALTIVEC_H, 1, [Have altivec.h header file]) 1041 AC_DEFINE(HAVE_ALTIVEC_H, 1, [Have altivec.h header file])
1042 build_cpu_altivec="yes" 1042 build_cpu_altivec="yes"
1043 ], 1043 ],
1044 [ 1044 [build_cpu_altivec="no"]
1045 build_cpu_altivec="no"
1046 ]
1047 ) 1045 )
1048 CFLAGS=$save_CFLAGS 1046 CFLAGS=$save_CFLAGS
1049 CPPFLAGS=$save_CPPFLAGS 1047 CPPFLAGS=$save_CPPFLAGS
@@ -1122,11 +1120,17 @@ AC_ARG_ENABLE(cpu-sse3,
1122) 1120)
1123 1121
1124EVAS_SSE3_CFLAGS=" " 1122EVAS_SSE3_CFLAGS=" "
1123EVAS_ALTIVEC_CFLAGS=" "
1124
1125if test "x$build_cpu_sse3" = "xyes" ; then 1125if test "x$build_cpu_sse3" = "xyes" ; then
1126 EVAS_SSE3_CFLAGS="-msse3 " 1126 EVAS_SSE3_CFLAGS="-msse3 "
1127fi 1127fi
1128if test "x$build_cpu_altivec" = "xyes" ; then
1129 EVAS_ALTIVEC_CFLAGS="-maltivec "
1130fi
1128 1131
1129AC_SUBST(CFLAGS) 1132AC_SUBST(CFLAGS)
1133AC_SUBST(EVAS_ALTIVEC_CFLAGS)
1130AC_SUBST(EVAS_SSE3_CFLAGS) 1134AC_SUBST(EVAS_SSE3_CFLAGS)
1131 1135
1132####################################### 1136#######################################