author | renatofilho |
Wed May 02 22:17:03 2007 +0100 (2007-05-02) | |
branch | trunk |
changeset 621 | 1bf45de64bd5 |
parent 38 | d5f5855e7800 |
child 642 | 8105bca5313f |
permissions | -rwxr-xr-x |
melunko@38 | 1 |
#!/bin/sh |
melunko@38 | 2 |
# Run this to generate all the initial makefiles, etc. |
melunko@38 | 3 |
|
renatofilho@621 | 4 |
srcdir=`dirname $0` |
renatofilho@621 | 5 |
test -z "$srcdir" && srcdir=. |
melunko@38 | 6 |
|
renatofilho@621 | 7 |
PKG_NAME="gmemcoder" |
melunko@38 | 8 |
|
renatofilho@621 | 9 |
(test -f $srcdir/configure.ac) || { |
renatofilho@621 | 10 |
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" |
renatofilho@621 | 11 |
echo " top-level $PKG_NAME directory" |
renatofilho@621 | 12 |
exit 1 |
melunko@38 | 13 |
} |
melunko@38 | 14 |
|
renatofilho@621 | 15 |
which gnome-autogen.sh || { |
renatofilho@621 | 16 |
echo "You need to install gnome-common from the GNOME CVS" |
renatofilho@621 | 17 |
exit 1 |
melunko@38 | 18 |
} |
renatofilho@621 | 19 |
ACLOCAL_FLAGS=$ACLOCAL_FLAGS -I ./m4 |
renatofilho@621 | 20 |
REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 . gnome-autogen.sh |