autogen.sh 465 Bytes
Newer Older
1
#!/bin/sh
2
# Run this to generate all the initial makefiles, etc.
3

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

7
PKG_NAME="snappy"
8

9 10 11 12
(test -f $srcdir/configure.ac \
  && test -d $srcdir/src \
  && test -f $srcdir/src/snappy.c) || {
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
13
    echo " top-level snappy directory"
14 15 16
    exit 1
}

17 18
which gnome-autogen.sh || {
    echo "You need to install gnome-common"
19 20 21
    exit 1
}

22
. gnome-autogen.sh