summaryrefslogtreecommitdiff
path: root/source/x/x11/configure/xf86-video-nv
blob: ae2458849049df42d4ad3ec0401080736983e3b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
xserver_source="/tmp/x11-build/xorg-server-1.7.5"

# 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

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