summaryrefslogtreecommitdiffstats
path: root/source/x/x11/configure/xf86-video-ati
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/x11/configure/xf86-video-ati')
-rw-r--r--source/x/x11/configure/xf86-video-ati19
1 files changed, 19 insertions, 0 deletions
diff --git a/source/x/x11/configure/xf86-video-ati b/source/x/x11/configure/xf86-video-ati
new file mode 100644
index 000000000..6e41b488e
--- /dev/null
+++ b/source/x/x11/configure/xf86-video-ati
@@ -0,0 +1,19 @@
+xserver_source="/tmp/x11-build/xorg-server-1.6.2"
+
+if [ ! -d "$xserver_source" ]; then
+ echo "$xserver_source does not exist, and you need it."
+ exit 1
+fi
+
+CFLAGS="$SLKCFLAGS -I${xserver_source}/hw/xfree86/ramdac" \
+CXXFLAGS="$SLKCFLAGS -I${xserver_source}/hw/xfree86/ramdac" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --disable-static \
+ --with-xserver-source=${xserver_source} \
+ --build=$ARCH-slackware-linux