~ubuntu-branches/debian/stretch/sensors-applet/stretch

« back to all changes in this revision

Viewing changes to autogen.sh

  • Committer: Package Import Robot
  • Author(s): Sam Morris
  • Date: 2013-10-13 22:27:47 UTC
  • mfrom: (1.2.8)
  • Revision ID: package-import@ubuntu.com-20131013222747-onim72lofoqew23j
Tags: 3.0.0+git4-2
Re-enable -Wl,--as-needed; the dh-autoreconf optino enables support for
it, but doesn't actually cause it to be used.

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
srcdir=`dirname $0`
 
5
test -z "$srcdir" && srcdir=.
 
6
 
 
7
PKG_NAME="sensors-applet"
 
8
 
 
9
(test -f $srcdir/configure.ac) || {
 
10
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
 
11
    echo " top-level $PKG_NAME directory"
 
12
    exit 1
 
13
}
 
14
 
 
15
which gnome-autogen.sh || {
 
16
        echo -n "ERROR: gnome-autogen.sh not found in path: "
 
17
        echo "Please install gnome-common before running this script"
 
18
        exit 1
 
19
}
 
20
 
 
21
REQUIRED_AUTOMAKE_VERSION=1.7 USE_GNOME2_MACROS=1 . gnome-autogen.sh