~ctf/unity-settings-daemon/bug1389099_mic_volume_icons

« back to all changes in this revision

Viewing changes to autogen.sh

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2014-02-07 11:44:36 UTC
  • Revision ID: package-import@ubuntu.com-20140207114436-7t5u3yvwc4ul7w3e
Tags: upstream-14.04.0
ImportĀ upstreamĀ versionĀ 14.04.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# Run this to generate all the initial makefiles, etc.
 
3
 
 
4
REQUIRED_AUTOMAKE_VERSION=1.5
 
5
USE_GNOME2_MACROS=1
 
6
 
 
7
srcdir=`dirname $0`
 
8
test -z "$srcdir" && srcdir=.
 
9
 
 
10
PKG_NAME="unity-settings-daemon"
 
11
 
 
12
(test -f $srcdir/configure.ac \
 
13
  && test -d $srcdir/gnome-settings-daemon \
 
14
  && test -f $srcdir/gnome-settings-daemon/gnome-settings-manager.h) || {
 
15
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
 
16
    echo " top-level unity-settings-daemon directory"
 
17
    exit 1
 
18
}
 
19
 
 
20
which gnome-autogen.sh || {
 
21
    echo "You need to install gnome-common from the GNOME SVN"
 
22
    exit 1
 
23
}
 
24
 
 
25
. gnome-autogen.sh