~vcs-imports/cellwriter/trunk

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: melevin at google
  • Date: 2011-03-12 06:52:39 UTC
  • Revision ID: svn-v4:d9f380b8-3a52-0410-a0cc-f104a7650585:trunk:24
* Updated email address. 
* Removed GNOME dependency in favor of gtk_show_uri(). Without GNOME or GTK 2.14 you just won't get the "help" button.
* Turkish translation for Desktop file (thanks ozbekanil!).

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
fi
49
49
AM_CONDITIONAL([GTKSTATUSICON], [test x$with_gtkstatusicon != xno])
50
50
 
51
 
# GNOME2
52
 
AC_ARG_WITH(gnome, AC_HELP_STRING([--without-gnome],
53
 
                                  [don't build with GNOME support]))
54
 
if test "x$with_gnome" != "xno"; then
55
 
        AC_CHECK_LIB(gnome-2, gnome_url_show,
56
 
                     [PKG_CHECK_MODULES(GNOME, libgnome-2.0,
57
 
                                        [AC_DEFINE(HAVE_GNOME, [],
58
 
                                                   [GNOME support])])
59
 
                      AC_SUBST(GNOME_CFLAGS)
60
 
                      AC_SUBST(GNOME_LIBS)],
61
 
                     [AC_MSG_NOTICE(GNOME library not found or outdated!
62
 
           Please install the latest libgnome2-dev package.)])
63
 
else
64
 
        AC_MSG_NOTICE([GNOME support disabled with --without-gnome])
65
 
fi
66
 
 
67
51
# Xlib and Xtest extension
68
52
AC_PATH_X
69
53
AC_CHECK_LIB(X11, XChangeKeyboardMapping, [],
71
55
                  Please install the latest libx11-dev package.)])
72
56
AC_CHECK_LIB(Xtst, XTestFakeKeyEvent, [],
73
57
             [AC_ERROR(XTest library not found or outdated!
74
 
                  Please install the latest libxtst6-dev package.)])
 
58
                  Please install the latest libxtst-dev package.)])
75
59
 
76
60
# Checks for header files
77
61
AC_HEADER_STDC