~ubuntu-branches/debian/sid/geany-plugins/sid

« back to all changes in this revision

Viewing changes to build/geanyvc.m4

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2009-07-10 22:56:41 UTC
  • Revision ID: james.westby@ubuntu.com-20090710225641-xc1126t7pq0jmpos
Tags: upstream-0.17.1
ImportĀ upstreamĀ versionĀ 0.17.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
AC_DEFUN([GP_CHECK_GEANYVC],
 
2
[
 
3
    AC_ARG_ENABLE(gtkspell,
 
4
        AC_HELP_STRING([--enable-gtkspell=ARG],
 
5
            [Enable GtkSpell support in GeanyVC. [[default=auto]]]),,
 
6
        enable_gtkspell=auto)
 
7
 
 
8
    if [[ x"$enable_gtkspell" = "xauto" ]]; then
 
9
        PKG_CHECK_MODULES(GTKSPELL, gtkspell-2.0,
 
10
            enable_gtkspell=yes, enable_gtkspell=no)
 
11
    elif [[ x"$enable_gtkspell" = "xyes" ]]; then
 
12
        PKG_CHECK_MODULES(GTKSPELL, [gtkspell-2.0])
 
13
    fi
 
14
 
 
15
    AM_CONDITIONAL(USE_GTKSPELL, test $enable_gtkspell = yes)
 
16
 
 
17
    AC_CONFIG_FILES([
 
18
        geanyvc/Makefile
 
19
        geanyvc/src/Makefile
 
20
    ])
 
21
])