author | melunko |
Thu Feb 21 17:44:16 2008 +0000 (2008-02-21) | |
branch | trunk |
changeset 917 | be87d28e8371 |
permissions | -rwxr-xr-x |
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 |