blob: f81cc9f92d61022b93045bdc6c4729828a9f61f4 (
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
|
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(crypto, [libcrypto])
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
|