blob: 231f8854df0fa9e8f906f1836649e5f8f2037ecc [file] [log] [blame]
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
AC_INIT([json], [1.3])
AC_CONFIG_SRCDIR([src/test.c])
AM_INIT_AUTOMAKE
AC_CONFIG_HEADER([config.h])
CXX=no
F77=no
# Checks for programs.
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_LIBTOOL
# Checks for libraries.
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([locale.h memory.h stdlib.h string.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_HEADER_STDBOOL
AC_TYPE_SIZE_T
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([memset setlocale])
# The pkgconfig file
MILESTONE=1.3
AC_SUBST([MILESTONE])
AC_CONFIG_FILES([mjson.pc])
AC_CONFIG_FILES([Makefile
src/Makefile
tests/Makefile])
AC_OUTPUT