File: configure.ac

package info (click to toggle)
libjsonparser 1.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,012 kB
  • sloc: ansic: 1,139; python: 68; makefile: 62; sh: 15
file content (30 lines) | stat: -rw-r--r-- 521 bytes parent folder | download | duplicates (2)
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.49])

AC_INIT([libjsonparser], [1.1.0], [])
VERSION_MAJOR="1.1"

AC_CONFIG_MACRO_DIR([m4])

AC_PROG_CC
AC_CHECK_TOOL(AR, ar, :)

AC_ARG_ENABLE([debug],
	[AS_HELP_STRING([--enable-debug],
		 [Build a debug version of json-parser @<:@default=disabled@:>@])],
	[enable_debug="$enableval"],
	[enable_debug=no]
)

if test "x$enable_debug" = xyes; then
	CFLAGS="$CFLAGS -g -O0"
fi

AC_SUBST(VERSION_MAJOR, $VERSION_MAJOR)

AC_CONFIG_FILES([
                 Makefile
                 json-parser.pc])

AC_OUTPUT