~desrt/menu-factory/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
AC_INIT([menu-factory], [0.0])

AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([aux])
AC_CONFIG_HEADERS([config.h])

AM_INIT_AUTOMAKE([1.11 -Wno-portability no-dist-gzip dist-xz])
AM_SILENT_RULES([yes])

# Check for programs
AC_PROG_CC

# Dependencies
PKG_CHECK_MODULES(glib, glib-2.0 >= 2.31.18)
PKG_CHECK_MODULES(gio, gio-2.0 >= 2.32.0)
PKG_CHECK_MODULES(gtk, gtk+-3.0 >= 3.4.0)

# Install directories
AC_SUBST(menu_factory_gtkdir, ${includedir}/menu-factory/gtk)
AC_SUBST(pkgconfigdir, ${libdir}/pkgconfig)

AC_CONFIG_FILES([
  gtk/menu-factory-gtk.pc
  gtk/Makefile
  Makefile
])
AC_OUTPUT