diff options
| author | Jaromil <[email protected]> | 2011-01-12 16:02:19 (GMT) |
|---|---|---|
| committer | Jaromil <[email protected]> | 2011-01-12 16:02:19 (GMT) |
| commit | c00a1721c881860626b51fd1b11357395f3fa7e4 (patch) | |
| tree | c595a61af3b5c54dfebe60ce1850d65762f56749 /configure.ac | |
| parent | 626f6ea78142f233038784d91a3a8b2337c12714 (diff) | |
desktop installation and mimetypes
and more updates
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 30b9886..9e029d4 100644 --- a/configure.ac +++ b/configure.ac @@ -4,14 +4,14 @@ dnl ============================================================== AC_PREREQ([2.60]) -AC_INIT([Tomb],[0.8.0],[[email protected]],[tomb]) +AC_INIT([Tomb],[0.9.0],[[email protected]],[Tomb]) AC_CONFIG_MACRO_DIR([m4]) AC_CANONICAL_HOST dnl backwards compatibility for autoconf >= 2.64 dnl PACKAGE_URL should be the fifth argument of AC_INIT -m4_define([AC_PACKAGE_URL], [http://crypto.dyne.org]) +m4_define([AC_PACKAGE_URL], [http://tomb.dyne.org]) AC_DEFINE(PACKAGE_URL, "AC_PACKAGE_URL", [Package URL]) AC_SUBST(PACKAGE_URL, AC_PACKAGE_URL) @@ -69,6 +69,10 @@ AC_PROG_INSTALL AC_CHECK_PROG(have_zsh,zsh,yes,no) AC_CHECK_PROG(have_cryptsetup,cryptsetup,yes,no) +AC_CHECK_PROG(have_wipe,wipe,yes,no) +AC_CHECK_PROG(have_dcfldd,dcfldd,yes,no) +AC_CHECK_PROG(have_gksu,gksu,yes,no) +AC_CHECK_PROG(have_sudo,gksu,yes,no) PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.16, :, AC_MSG_ERROR([*** Gtk+2 >=2.16 development files not found!])) @@ -80,6 +84,12 @@ PKG_CHECK_MODULES(NOTIFY, libnotify, :, AC_SUBST([NOTIFY_CFLAGS]) AC_SUBST([NOTIFY_LIBS]) +PACKAGE_DATA_DIR='${prefix}/share/tomb' +AC_SUBST(PACKAGE_DATA_DIR) +# mime TODO see http://www.freedesktop.org/wiki/Specifications/AddingMIMETutor +XDG_DATA_DIR='${prefix}/share/mime/packages' +AC_SUBST(XDG_DATA_DIR) + dnl alphabetic order on dir/subdir, but Makefile sorts before everything AC_CONFIG_FILES([ Makefile |

