blob: 9a622c590dc4e569637ad5fb55cc5e2738ffe3d3 (
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
|
AC_PREREQ([2.64])
AC_INIT([pjctl],
[1],
[benjaminfranzke@googlemail.com],
[pjctl],
[https://gitorious.org/pjctl/])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([foreign dist-bzip2])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
# Check for programs
AC_PROG_CC
PKG_PROG_PKG_CONFIG()
PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.28])
PKG_CHECK_MODULES(GIO, [gio-2.0])
if test "x$GCC" = "xyes"; then
GCC_CFLAGS="-Wall -g -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden"
fi
AC_SUBST([GCC_CFLAGS])
AC_CONFIG_FILES([Makefile
src/Makefile])
AC_OUTPUT
|