summaryrefslogtreecommitdiffstats
path: root/autogen.sh
blob: 73c7fef8df64fb5fc792d05ff43fa4008f6b327e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#/bin/bash

#!/bin/sh

PROJECT=helloworld

topsrcdir=`dirname $0`
if test x$topsrcdir = x ; then
	topsrcdir=.
fi

(test -f $topsrcdir/configure.ac \
  && test -f $topsrcdir/README \
  && test -d $topsrcdir/src) || {
    echo -n "**Error**: Directory "\`$topsrcdir\'" does not look like the"
    echo " top-level $PROJECT directory"
    exit 1
}

which gnome-autogen.sh || {
    echo "You need to install gnome-common from the GNOME CVS"
    exit 1
}
REQUIRED_AUTOMAKE_VERSION=1.7  REQUIRED_INTLTOOL_VERSION=0.35 . gnome-autogen.sh