summaryrefslogtreecommitdiffstats
path: root/source/x/x11/configure/pixman
blob: 52cb86c34610dbbf660a9dcaf058617fbfca8f35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Don't use icecream:
PATH=$(echo $PATH | sed "s|/usr/libexec/icecc/bin||g" | tr -s : | sed "s/^://g" | sed "s/:$//g")

if [ "$ARCH" = "x86_64" ]; then
  do_sse2="--enable-sse2"
else
  do_sse2="--disable-sse2"
fi

CFLAGS=$SLKCFLAGS \
CXXFLAGS=$SLKCFLAGS \
./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --infodir=/usr/info \
  --mandir=/usr/man \
  --disable-static \
  --disable-vmx \
  --build=$ARCH-slackware-linux \
  ${do_sse2}