Made true and false macros uppercase.
[libxdg-basedir.git] / configure.ac
blob1a619afab324c70117707160b77552f170d72c76
1 AC_PREREQ(2.60)
2 AC_INIT([libxdg-basedir], [0.1.3], 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])
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])
28 # Generated files.
29 AC_CONFIG_HEADER([config.h])
30 AC_CONFIG_FILES([Makefile
31                                 include/Makefile
32                                 src/Makefile
33                                 tests/Makefile
34                                 libxdg-basedir.pc])
35 AC_OUTPUT