ready to release 0.2.3
[hirshfeld.git] / configure.in
blob2e9e804d3426a31f13b03c3f339d083fc30ef3de
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
4 AC_PREREQ(2.59)
5 AC_INIT([hirshfeld],[0.2.3],[lidaobing@gmail.com])
6 AM_INIT_AUTOMAKE(hirshfeld, 0.2.3)
7 AM_MAINTAINER_MODE
8 AM_CONFIG_HEADER(config.h)
10 # Checks for programs.
11 AC_PROG_CC
12 gl_EARLY
13 AC_PROG_CXX
15 # Checks for libraries.
16 gl_INIT
17 AC_CHECK_LIB([m], [pow, sqrt], [], [AC_MSG_ERROR(libm not found)])
19 # Checks for header files.
20 AC_CHECK_HEADERS([libgen.h])
21 AC_CHECK_HEADERS([string.h strings.h], break)
23 # Checks for typedefs, structures, and compiler characteristics.
25 # Checks for library functions.
26 AC_CHECK_FUNCS([strstr], [], [AC_MSG_ERROR(strstr not found)])
27 AC_CHECK_FUNCS([strrchr])
29 AC_CONFIG_FILES([Makefile
30                  data/Makefile
31                  src/Makefile
32                  lib/Makefile
33                  ])
34 AC_OUTPUT