Update remaining base query api functions to allow NULL handles.
[libxdg-basedir.git] / configure.ac
blobd48be416214cc8b160451130497e419c40302017
1 AC_PREREQ(2.60)
2 AC_INIT([libxdg-basedir], [1.0.2], mark.nevill@gmail.com)
3 AM_INIT_AUTOMAKE([-Wall foreign])
4 # Checks for programs.
5 AC_PROG_CC
6 AC_PROG_INSTALL
7 AC_PROG_LIBTOOL
8 # Configure Doxygen
9 DX_HTML_FEATURE(ON)
10 DX_CHM_FEATURE(OFF)
11 DX_CHI_FEATURE(OFF)
12 DX_MAN_FEATURE(OFF)
13 DX_RTF_FEATURE(OFF)
14 DX_XML_FEATURE(OFF)
15 DX_PDF_FEATURE(OFF)
16 DX_PS_FEATURE(OFF)
17 DX_INIT_DOXYGEN([libxdg-basedir], [doxygen.cfg], doc)
18 # Checks for header files.
19 AC_HEADER_STDC
20 AC_CHECK_HEADERS([stdlib.h string.h errno.h sys/types.h])
21 # Checks for typedefs, structures, and compiler characteristics.
22 AC_HEADER_STDBOOL
23 AC_C_CONST
24 # Checks for library functions.
25 AC_FUNC_MALLOC
26 AC_FUNC_REALLOC
27 AC_CHECK_FUNCS([memset strcpy strncpy bcopy bzero getenv])
29 CC_NOUNDEFINED
31 # Generated files.
32 AC_CONFIG_HEADER([config.h])
33 AC_CONFIG_MACRO_DIR([m4])
34 AC_CONFIG_FILES([Makefile
35                                 include/Makefile
36                                 src/Makefile
37                                 tests/Makefile
38                                 pkgconfig/libxdg-basedir.pc
39                                 pkgconfig/libxdg-basedir-uninstalled.pc])
40 AC_OUTPUT