summaryrefslogtreecommitdiff
path: root/source/x/x11/configure/xf86-video-nv
blob: 6e41b488ea2aa41627ddc4a36f1d25bcbebbfab2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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