Fixed casting and constness issues in src/basedir.c
[libxdg-basedir.git] / configure.ac
blobee8aa41b60852539aba498bf20f8ca5583baa6b3
1 AC_PREREQ(2.60)
2 AC_INIT([libxdg], [0.0.1], mark.nevill@gmail.com)
3 AM_INIT_AUTOMAKE([-Wall foreign])
4 AC_ARG_VAR(HAS_DOXYGEN, "Is doxygen in PATH?")
5 # Checks for programs.
6 AC_PROG_CC
7 AC_PROG_INSTALL
8 AC_PROG_LIBTOOL
9 AC_CHECK_PROG([has_doxygen], [doxygen], [yes])
10 # Checks for header files.
11 AC_HEADER_STDC
12 AC_CHECK_HEADERS([stdlib.h string.h])
13 # Checks for typedefs, structures, and compiler characteristics.
14 AC_HEADER_STDBOOL
15 AC_C_CONST
16 # Checks for library functions.
17 AC_FUNC_MALLOC
18 AC_FUNC_REALLOC
19 AC_CHECK_FUNCS([memset])
21 AM_CONDITIONAL(HAS_DOXYGEN, test x$has_doxygen = xyes)
23 AC_CONFIG_HEADER([config.h])
24 AC_CONFIG_FILES([Makefile
25                                 include/Makefile
26                                 src/Makefile
27                                 test/Makefile])
28 AC_OUTPUT