melunko@917: #!/bin/sh melunko@917: # Run this to generate all the initial makefiles, etc. melunko@917: melunko@917: srcdir=`dirname $0` melunko@917: test -z "$srcdir" && srcdir=. melunko@917: melunko@917: PKG_NAME="gstreamer elements" melunko@917: melunko@917: (test -f $srcdir/configure.ac) || { melunko@917: echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" melunko@917: echo " top-level $PKG_NAME directory" melunko@917: exit 1 melunko@917: } melunko@917: melunko@917: which gnome-autogen.sh || { melunko@917: echo "You need to install gnome-common from the GNOME CVS" melunko@917: exit 1 melunko@917: } melunko@917: ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4" melunko@917: REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 . gnome-autogen.sh