2008-02-21 02:05:31 +00:00
|
|
|
diff -up mesa-20080218/configure.ac.jx mesa-20080218/configure.ac
|
|
|
|
--- mesa-20080218/configure.ac.jx 2008-02-18 12:01:51.000000000 -0500
|
2008-02-21 18:10:11 +00:00
|
|
|
+++ mesa-20080218/configure.ac 2008-02-21 13:09:44.000000000 -0500
|
|
|
|
@@ -448,6 +448,8 @@ dnl Just default to no EGL for now
|
|
|
|
USING_EGL=0
|
|
|
|
AC_SUBST(USING_EGL)
|
|
|
|
|
|
|
|
+echo ajax hates ppc
|
|
|
|
+
|
|
|
|
dnl Set DRI_DIRS, DEFINES and LIB_DEPS
|
|
|
|
if test "$mesa_driver" = dri; then
|
|
|
|
# Use TLS in GLX?
|
|
|
|
@@ -459,15 +461,12 @@ if test "$mesa_driver" = dri; then
|
2008-02-21 04:09:55 +00:00
|
|
|
PROGRAM_DIRS="egl"
|
|
|
|
fi
|
|
|
|
|
|
|
|
- # default drivers
|
|
|
|
- if test "x$DRI_DIRS" = x; then
|
|
|
|
- DRI_DIRS="i810 i915 i965 mach64 mga r128 r200 r300 radeon s3v \
|
|
|
|
- savage sis tdfx trident unichrome ffb"
|
|
|
|
- fi
|
2008-02-21 18:10:11 +00:00
|
|
|
+ echo host_os $host_os host_cpu $host_cpu
|
|
|
|
|
2008-02-21 04:09:55 +00:00
|
|
|
# Platform specific settings and drivers to build
|
|
|
|
case "$host_os" in
|
|
|
|
linux*)
|
2008-02-21 17:46:00 +00:00
|
|
|
+ echo OMG LINUX
|
|
|
|
DEFINES="$DEFINES -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER"
|
|
|
|
DEFINES="$DEFINES -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS"
|
|
|
|
if test "x$driglx_direct" = xyes; then
|
2008-02-21 18:10:11 +00:00
|
|
|
@@ -475,7 +474,7 @@ if test "$mesa_driver" = dri; then
|
2008-02-21 02:31:49 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
case "$host_cpu" in
|
|
|
|
- x86_64)
|
|
|
|
+ x86_64*)
|
|
|
|
# ffb, gamma, and sis are missing because they have not be
|
|
|
|
# converted to use the new interface. i810 are missing
|
|
|
|
# because there is no x86-64 system where they could *ever*
|
2008-02-21 18:10:11 +00:00
|
|
|
@@ -484,13 +483,16 @@ if test "$mesa_driver" = dri; then
|
2008-02-21 02:05:31 +00:00
|
|
|
DRI_DIRS="i915 i965 mach64 mga r128 r200 r300 radeon \
|
|
|
|
savage tdfx unichrome"
|
|
|
|
fi
|
|
|
|
+ DRI_DIRS="`echo $DRI_DIRS | sed 's/i810//g'`"
|
|
|
|
;;
|
|
|
|
powerpc*)
|
2008-02-21 17:46:00 +00:00
|
|
|
+ echo OMG PPC
|
2008-02-21 02:05:31 +00:00
|
|
|
# Build only the drivers for cards that exist on PowerPC.
|
2008-02-21 04:09:55 +00:00
|
|
|
# At some point MGA will be added, but not yet.
|
2008-02-21 02:05:31 +00:00
|
|
|
if test "x$DRI_DIRS" = x; then
|
2008-02-21 04:09:55 +00:00
|
|
|
- DRI_DIRS="mach64 r128 r200 r300 radeon tdfx"
|
|
|
|
+ DRI_DIRS="mach64 mga r128 r200 r300 radeon savage tdfx"
|
2008-02-21 02:05:31 +00:00
|
|
|
fi
|
2008-02-21 02:57:43 +00:00
|
|
|
+ DRI_DIRS="`echo $DRI_DIRS | sed s/i810//g | sed s/i9.5//`"
|
2008-02-21 02:05:31 +00:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
;;
|
2008-02-21 18:10:11 +00:00
|
|
|
@@ -513,6 +515,12 @@ if test "$mesa_driver" = dri; then
|
2008-02-21 04:09:55 +00:00
|
|
|
fi
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
+ # default drivers
|
|
|
|
+ if test "x$DRI_DIRS" = x; then
|
|
|
|
+ DRI_DIRS="i810 i915 i965 mach64 mga r128 r200 r300 radeon s3v \
|
|
|
|
+ savage sis tdfx trident unichrome ffb"
|
|
|
|
+ fi
|
|
|
|
+
|
|
|
|
DRI_DIRS=`echo "$DRI_DIRS" | $SED 's/ */ /g'`
|
|
|
|
|
|
|
|
# Check for expat
|