PageRenderTime 243ms CodeModel.GetById 120ms app.highlight 1ms RepoModel.GetById 120ms app.codeStats 0ms

/jansson/configure.ac

http://github.com/nicolasff/webdis
m4 | 49 lines | 34 code | 10 blank | 5 comment | 0 complexity | c3b57970293f88bd14c7a8f1777c38fa MD5 | raw file
 1AC_PREREQ([2.60])
 2AC_INIT([jansson], [2.0pre], [petri@digip.org])
 3
 4AM_INIT_AUTOMAKE([1.10 foreign])
 5
 6AC_CONFIG_SRCDIR([src/value.c])
 7AC_CONFIG_HEADERS([config.h])
 8
 9# Checks for programs.
10AC_PROG_CC
11AC_PROG_LIBTOOL
12AM_CONDITIONAL([GCC], [test x$GCC = xyes])
13
14# Checks for libraries.
15
16# Checks for header files.
17
18# Checks for typedefs, structures, and compiler characteristics.
19AC_TYPE_INT32_T
20
21AC_TYPE_LONG_LONG_INT
22case $ac_cv_type_long_long_int in
23     yes) json_have_long_long=1;;
24     *) json_have_long_long=0;;
25esac
26AC_SUBST([json_have_long_long])
27
28AC_C_INLINE
29case $ac_cv_c_inline in
30    yes) json_inline=inline;;
31    no) json_inline=;;
32    *) json_inline=$ac_cv_c_inline;;
33esac
34AC_SUBST([json_inline])
35
36# Checks for library functions.
37
38AC_CONFIG_FILES([
39        jansson.pc
40        Makefile
41        doc/Makefile
42        src/Makefile
43        src/jansson_config.h
44        test/Makefile
45        test/bin/Makefile
46        test/suites/Makefile
47        test/suites/api/Makefile
48])
49AC_OUTPUT