gst-gpac/autogen.sh
author renatofilho
Mon Feb 25 17:45:36 2008 +0000 (2008-02-25)
branchtrunk
changeset 924 c39c60fcfec8
permissions -rwxr-xr-x
[svn r933] fixed autotools script. patch by Andre Moreira <andrunko@gmail.com>
melunko@917
     1
#!/bin/sh
melunko@917
     2
# Run this to generate all the initial makefiles, etc.
melunko@917
     3
melunko@917
     4
srcdir=`dirname $0`
melunko@917
     5
test -z "$srcdir" && srcdir=.
melunko@917
     6
melunko@917
     7
PKG_NAME="gstreamer elements"
melunko@917
     8
melunko@917
     9
(test -f $srcdir/configure.ac) || {
melunko@917
    10
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
melunko@917
    11
    echo " top-level $PKG_NAME directory"
melunko@917
    12
    exit 1
melunko@917
    13
}
melunko@917
    14
melunko@917
    15
which gnome-autogen.sh || {
melunko@917
    16
    echo "You need to install gnome-common from the GNOME CVS"
melunko@917
    17
    exit 1
melunko@917
    18
}
melunko@917
    19
ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4"
melunko@917
    20
REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 . gnome-autogen.sh