gmyth-stream/client/autogen.sh
author rosfran
Wed Apr 18 23:13:26 2007 +0100 (2007-04-18)
branchtrunk
changeset 568 f5ef83bbe8b5
parent 487 ab3aa66009de
permissions -rwxr-xr-x
[svn r573] New function to get the information about the program info path directiory.
renatofilho@487
     1
#!/bin/sh
renatofilho@487
     2
# Run this to generate all the initial makefiles, etc.
renatofilho@487
     3
renatofilho@487
     4
srcdir=`dirname $0`
renatofilho@487
     5
test -z "$srcdir" && srcdir=.
renatofilho@487
     6
renatofilho@487
     7
PKG_NAME="myth-stream"
renatofilho@487
     8
renatofilho@487
     9
(test -f $srcdir/configure.ac) || {
renatofilho@487
    10
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
renatofilho@487
    11
    echo " top-level $PKG_NAME directory"
renatofilho@487
    12
    exit 1
renatofilho@487
    13
}
renatofilho@487
    14
renatofilho@487
    15
which gnome-autogen.sh || {
renatofilho@487
    16
    echo "You need to install gnome-common from the GNOME CVS"
renatofilho@487
    17
    exit 1
renatofilho@487
    18
}
renatofilho@555
    19
ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4"
renatofilho@487
    20
REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 . gnome-autogen.sh