From bab430316c0c5b88a59c1145a92c55bb55c7da11 Mon Sep 17 00:00:00 2001 From: mszulecki Date: Wed, 21 Feb 2007 17:18:01 +0000 Subject: First attempt at an autotools D helloworld. git-svn-id: http://svn.sukimashita.com/repos/dskel/trunk@2 4281df72-ff29-0410-8fee-2d9ac0c5f5a7 --- autogen.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 autogen.sh (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..0128748 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,25 @@ +#/bin/bash + +#!/bin/sh + +PROJECT=gnome-observer-daemon + +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 . gnome-autogen.sh + -- cgit v1.1-32-gdbae