Added exec_prefix to the .pc.in file
[libconfigfile.git] / configure.ac
blob14e41430e36da48a1f6bd09e52ba31b97cebad1f
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
4 AC_INIT([libconfigfile], [1.0], [ahmed.badran@gmail.com])
5 AM_INIT_AUTOMAKE([libconfigfile], [1.0], [ahmed.badran@gmail.com])
6 AC_CONFIG_SRCDIR([src/configfile.cc])
7 AC_CONFIG_HEADER([config.h])
9 # Checks for programs.
10 AC_PROG_CXX
11 AC_PROG_CC
12 AC_PROG_LIBTOOL
14 # Checks for libraries.
16 # Checks for header files.
18 # Checks for typedefs, structures, and compiler characteristics.
19 AC_HEADER_STDBOOL
20 AC_C_CONST
22 # Checks for library functions.
23 AC_HEADER_STDC
24 AC_CHECK_FUNCS([memset regcomp])
26 AC_CONFIG_FILES([libconfigfile.pc
27                  Makefile
28                  src/Makefile])
29 AC_OUTPUT