summaryrefslogtreecommitdiff
path: root/configure.ac
blob: 0d68e938fe403f5c2ad6b8796007fad9c1ae6102 (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
dnl ***************************************************************************
dnl ** configure.in for PEAS-EXPERIMENT
dnl ***************************************************************************
dnl
dnl This is the project name and version number
AC_INIT(peas-experiment, 0.0.1)

AC_PREREQ(2.59)
AC_CANONICAL_SYSTEM
AC_CONFIG_SRCDIR(src/)
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(1.11 dist-bzip2 no-dist-gzip)

AM_MAINTAINER_MODE

AC_PROG_CC
# AC_PROG_F77
AC_ISC_POSIX
AC_STDC_HEADERS
AM_PROG_LIBTOOL
AC_PROG_LN_S

GNOME_COMPILE_WARNINGS(yes)
GOBJECT_INTROSPECTION_CHECK([0.9.3])

dnl **************************************************************************
dnl ** Use pkg-config to check for registered packages                      **
dnl **************************************************************************
PKG_CHECK_MODULES(TEST,
	[
	 gtk+-3.0
	 libpeas-1.0
	 gobject-introspection-1.0
	])

AC_SUBST(TEST_CFLAGS)
AC_SUBST(TEST_LIBS)

dnl **************************************************************************
dnl ** Honor aclocal flags                                                  **
dnl **************************************************************************
ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
AC_SUBST(ACLOCAL_AMFLAGS)

dnl **************************************************************************
dnl ** Generate Makefiles                                                   **
dnl **************************************************************************
AC_OUTPUT([
Makefile
src/Makefile
])