configure build for tomb-gtk

This commit is contained in:
Jaromil 2011-01-11 19:10:05 +01:00
parent 1d0b8b8433
commit dc9af2ccaf
2 changed files with 10 additions and 1 deletions

View File

@ -64,12 +64,16 @@ AC_CONFIG_SRCDIR([src/tomb])
dnl Checks for reguired programs. dnl Checks for reguired programs.
AC_PROG_CC AC_PROG_CC
AC_PROG_CXX
AC_PROG_INSTALL AC_PROG_INSTALL
AC_CHECK_PROG(have_zsh,zsh,yes,no) AC_CHECK_PROG(have_zsh,zsh,yes,no)
AC_CHECK_PROG(have_cryptsetup,cryptsetup,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 dnl alphabetic order on dir/subdir, but Makefile sorts before everything
AC_CONFIG_FILES([ AC_CONFIG_FILES([

View File

@ -1,2 +1,7 @@
bin_SCRIPTS = tomb bin_SCRIPTS = tomb
bin_PROGRAMS = tomb-gtk
tomb_gtk_SOURCES = tomb-gtk.cpp
tomb_gtk_LDADD = @GTK2_LIBS@
tomb_gtk_CXXFLAGS = @GTK2_CFLAGS@