gmyth-stream/gmemcoder/autogen.sh
author rosfran
Thu May 31 16:02:53 2007 +0100 (2007-05-31)
branchtrunk
changeset 725 a102805611e7
permissions -rwxr-xr-x
[svn r731] Fixed bug with the program chain changing.
renatofilho@584
     1
#!/bin/sh
renatofilho@584
     2
# Run this to generate all the initial makefiles, etc.
renatofilho@584
     3
renatofilho@584
     4
srcdir=`dirname $0`
renatofilho@584
     5
test -z "$srcdir" && srcdir=.
renatofilho@584
     6
renatofilho@584
     7
PKG_NAME="gmemcoder"
renatofilho@584
     8
renatofilho@584
     9
(test -f $srcdir/configure.ac) || {
renatofilho@584
    10
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
renatofilho@584
    11
    echo " top-level $PKG_NAME directory"
renatofilho@584
    12
    exit 1
renatofilho@584
    13
}
renatofilho@584
    14
renatofilho@584
    15
which gnome-autogen.sh || {
renatofilho@584
    16
    echo "You need to install gnome-common from the GNOME CVS"
renatofilho@584
    17
    exit 1
renatofilho@584
    18
}
renatofilho@584
    19
REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 . gnome-autogen.sh