projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'origin/gallium-0.1' into gallium-0.2
[mesa.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 463821be6cbf61ea5f970c4bd01f304b9106700c..e48137f2abc4c43d3255f175600850f627207343 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-83,7
+83,7
@@
dnl Compiler macros
DEFINES=""
AC_SUBST([DEFINES])
case "$host_os" in
DEFINES=""
AC_SUBST([DEFINES])
case "$host_os" in
-
linux*
)
+
*-gnu
)
if test "x$GCC" = xyes; then
DEFINES="$DEFINES -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE"
fi
if test "x$GCC" = xyes; then
DEFINES="$DEFINES -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE"
fi
@@
-271,14
+271,14
@@
if test "x$enable_asm" = xyes; then
case "$host_cpu" in
i?86)
case "$host_os" in
case "$host_cpu" in
i?86)
case "$host_os" in
- linux* | freebsd* | dragonfly*)
+ linux* |
*
freebsd* | dragonfly*)
test "x$enable_64bit" = xyes && asm_arch=x86_64 || asm_arch=x86
;;
esac
;;
x86_64)
case "$host_os" in
test "x$enable_64bit" = xyes && asm_arch=x86_64 || asm_arch=x86
;;
esac
;;
x86_64)
case "$host_os" in
- linux* | freebsd* | dragonfly*)
+ linux* |
*
freebsd* | dragonfly*)
test "x$enable_32bit" = xyes && asm_arch=x86 || asm_arch=x86_64
;;
esac
test "x$enable_32bit" = xyes && asm_arch=x86 || asm_arch=x86_64
;;
esac
@@
-368,7
+368,7
@@
linux*)
i*86|x86_64|powerpc*) default_driver="dri";;
esac
;;
i*86|x86_64|powerpc*) default_driver="dri";;
esac
;;
-freebsd* | dragonfly*)
+
*
freebsd* | dragonfly*)
case "$host_cpu" in
i*86|x86_64) default_driver="dri";;
esac
case "$host_cpu" in
i*86|x86_64) default_driver="dri";;
esac