~jconti/recent-notifications/gnome3

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Jason Conti
  • Date: 2011-09-19 15:31:05 UTC
  • Revision ID: jason.conti@gmail.com-20110919153105-adi71fbt9fsniwgo
* Small changes to autogen.sh
* Add --enable-localinstall to avoid asking pkg-config for the applet
  directory (and allowing distcheck to work as an ordinary user)
* Fix a bug with the substitution in data/Makefile.am
* Add icons and service files to EXTRA_DIST
* Add generated c files to POTFILES.skip

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
# Library directories from pkg-config
25
25
 
26
 
LIBPANELAPPLET_DIR=`$PKG_CONFIG --variable=libpanel_applet_dir $LIBPANELAPPLET_NAME`
 
26
with_localinstall="no"
 
27
AC_ARG_ENABLE([localinstall],
 
28
              [AS_HELP_STRING([--enable-localinstall],
 
29
                  [set default library directories instead of asking pkg-config (default is no)])],
 
30
              [with_localinstall="yes"],
 
31
              [with_localinstall="no"])
 
32
 
 
33
if test "x$with_localinstall" = "xyes"; then
 
34
  LIBPANELAPPLET_DIR="$datadir/gnome-panel/applets"
 
35
else
 
36
  LIBPANELAPPLET_DIR=`$PKG_CONFIG --variable=libpanel_applet_dir $LIBPANELAPPLET_NAME`
 
37
fi
 
38
 
27
39
AC_SUBST(LIBPANELAPPLET_DIR)
28
40
 
29
41
# Pattern for building .panel-applet files (adapted from gnome-panel/configure.ac)
38
50
  data/icons/Makefile
39
51
  src/Makefile
40
52
  po/Makefile.in
 
53
  tests/Makefile
41
54
])
42
55
 
43
56
AC_OUTPUT
 
57
 
 
58
echo "
 
59
Recent Notifications $VERSION:
 
60
 
 
61
  prefix:            $prefix
 
62
  libexecdir:        $libexecdir
 
63
  libpanelappletdir: $LIBPANELAPPLET_DIR
 
64
"