summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuergen Keil <jkeil@users.sourceforge.net>2001-10-03 18:33:36 +0000
committerJuergen Keil <jkeil@users.sourceforge.net>2001-10-03 18:33:36 +0000
commitc43c4389f4df5796bf2a2c6deb7be98728b96612 (patch)
treed3cf220fd1f24debadc11d4d3b2bb530ddb58333
parent854c7772a076157a3183a04e74b3e61ff02649da (diff)
downloadxine-lib-c43c4389f4df5796bf2a2c6deb7be98728b96612.tar.gz
xine-lib-c43c4389f4df5796bf2a2c6deb7be98728b96612.tar.bz2
Add support for compiling xine-lib on solaris without gcc
CVS patchset: 731 CVS date: 2001/10/03 18:33:36
-rw-r--r--configure.in20
1 files changed, 13 insertions, 7 deletions
diff --git a/configure.in b/configure.in
index 186a45acc..c05610fa9 100644
--- a/configure.in
+++ b/configure.in
@@ -473,19 +473,24 @@ case "$host_or_hostalias" in
]
fi
+ dnl enable x86 specific parts of the code
+ dnl
+ dnl all of this stuff needs gcc/gas; it uses gnu c compiler extensions
+ dnl like the extended asm() or __attribute(__cdecl__), or other direct
+ dnl mmx/sse/3dnow assembler instructions.
+ dnl
+ AC_DEFINE([ARCH_X86],,[x86 architecture])
+ AC_DEFINE(FPM_INTEL)
+ enable_w32dll="yes"
+ enable_ffmmx="yes"
else
dnl add x86 specific cc CFLAGS
GLOBAL_CFLAGS="$GLOBAL_CFLAGS -O"
DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
+ AC_DEFINE(FPM_64BIT)
fi
- dnl enable x86 specific parts of the code
- enable_w32dll="yes"
- enable_ffmmx="yes"
-
- AC_DEFINE([ARCH_X86],,[x86 architecture])
AC_DEFINE(__i386__)
- AC_DEFINE(FPM_INTEL)
;;
alphaev56-*)
@@ -528,13 +533,14 @@ case "$host_or_hostalias" in
esac
cc_optimize_cflags="-O3 $cpu_cflags -funroll-loops -funroll-all-loops -finline-functions"
cc_debug_cflags="-O $cpu_cflags -funroll-loops -funroll-all-loops -finline-functions"
+ AC_DEFINE(FPM_SPARC) dnl uses gnu c asm extensions
else
cc_optimize_cflags="-O"
cc_debug_cflags="-O"
+ AC_DEFINE(FPM_64BIT) dnl use portable version with non-gcc
fi
GLOBAL_CFLAGS="$GLOBAL_CFLAGS $cc_optimize_cflags"
DEBUG_CFLAGS="$DEBUG_CFLAGS $cc_debug_cflags"
- AC_DEFINE(FPM_SPARC)
;;
mips-*)