tconfigure build for tomb-gtk - tomb - the crypto undertaker HTML git clone git://parazyd.org/tomb.git DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit dc9af2ccafb6a62c0265f4e51fff741b4c276590 DIR parent 1d0b8b8433617d5be69ea50bc5abb0c69031d173 HTML Author: Jaromil <jaromil@dyne.org> Date: Tue, 11 Jan 2011 19:10:05 +0100 configure build for tomb-gtk Diffstat: M configure.ac | 6 +++++- M src/Makefile.am | 6 ++++++ 2 files changed, 11 insertions(+), 1 deletion(-) --- DIR diff --git a/configure.ac b/configure.ac t@@ -64,12 +64,16 @@ AC_CONFIG_SRCDIR([src/tomb]) dnl Checks for reguired programs. AC_PROG_CC +AC_PROG_CXX AC_PROG_INSTALL AC_CHECK_PROG(have_zsh,zsh,yes,no) AC_CHECK_PROG(have_cryptsetup,cryptsetup,yes,no) - +PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.16, :, + AC_MSG_ERROR([*** Gtk+2 >=2.16 development files not found!])) +AC_SUBST([GTK2_CFLAGS]) +AC_SUBST([GTK2_LIBS]) dnl alphabetic order on dir/subdir, but Makefile sorts before everything AC_CONFIG_FILES([ DIR diff --git a/src/Makefile.am b/src/Makefile.am t@@ -1,2 +1,7 @@ bin_SCRIPTS = tomb + +bin_PROGRAMS = tomb-gtk +tomb_gtk_SOURCES = tomb-gtk.cpp +tomb_gtk_LDADD = @GTK2_LIBS@ +tomb_gtk_CXXFLAGS = @GTK2_CFLAGS@ +\ No newline at end of file