mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-10 23:20:57 +00:00
configure build for tomb-gtk
This commit is contained in:
parent
1d0b8b8433
commit
dc9af2ccaf
@ -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([
|
||||||
|
@ -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@
|
Loading…
Reference in New Issue
Block a user