-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathconfigure.ac
44 lines (29 loc) · 840 Bytes
/
configure.ac
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
dnl Copyright (c) 2014-2016 Oleg Efimov <[email protected]>
dnl
dnl protobuf2json-c is free software; you can redistribute it
dnl and/or modify it under the terms of the MIT license.
dnl See LICENSE for details.
AC_PREREQ([2.59])
AC_INIT([libprotobuf2json-c], [0.4.0], [[email protected]])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([foreign -Wall])
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
AC_ENABLE_SHARED
AC_ENABLE_STATIC
AC_PROG_CC
AC_PROG_MAKE_SET
AM_SILENT_RULES([yes])
LT_INIT
AC_CHECK_LIB([pthread], [pthread_create])
AC_CHECK_LIB([pthread], [pthread_join])
AM_CONDITIONAL([WINNT], [AS_CASE([$host_os], [mingw*], [true], [false])])
AC_MSG_RESULT([])
AX_PROTOBUF_C
AX_LIBJANSSON
AC_MSG_RESULT([])
MY_SANITIZE
MY_VALGRIND
MY_COVERAGE
AC_MSG_RESULT([])
AC_CONFIG_FILES([Makefile src/Makefile test/Makefile])
AC_OUTPUT