tomb

the crypto undertaker
git clone git://parazyd.org/tomb.git
Log | Files | Refs | README | LICENSE

commit dc9af2ccafb6a62c0265f4e51fff741b4c276590
parent 1d0b8b8433617d5be69ea50bc5abb0c69031d173
Author: Jaromil <jaromil@dyne.org>
Date:   Tue, 11 Jan 2011 19:10:05 +0100

configure build for tomb-gtk

Diffstat:
Mconfigure.ac | 6+++++-
Msrc/Makefile.am | 6++++++
2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac @@ -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([ diff --git a/src/Makefile.am b/src/Makefile.am @@ -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