summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: 11864f5e7409363116425db37f89e2583887242b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh

export PKGCONFIG_PATH=/usr/X11/lib/pkgconfig:$PKGCONFIG_PATH
export ACLOCAL="aclocal -I /usr/X11/share/aclocal"

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

ORIGDIR=`pwd`
cd $srcdir

autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?

$srcdir/configure --prefix=/usr/X11 --enable-maintainer-mode "$@"