2010-05-19 10:58:23 +02:00
|
|
|
xserver_source="/tmp/x11-build/xorg-server-1.7.5"
|
2009-08-26 17:00:38 +02:00
|
|
|
|
2010-05-19 10:58:23 +02:00
|
|
|
# Let these just fail to build. In any case, an "exit 1"
|
|
|
|
# here is just plain wrong.
|
|
|
|
#if [ ! -d "$xserver_source" ]; then
|
|
|
|
# echo "$xserver_source does not exist, and you need it."
|
|
|
|
# exit 1
|
|
|
|
#fi
|
2009-08-26 17:00:38 +02:00
|
|
|
|
|
|
|
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
|