configure.ac (711B)
1 # -*- Autoconf -*- 2 # Process this file with autoconf to produce a configure script. 3 4 AC_PREREQ([2.72]) 5 AC_INIT([librlp], [0.0.1], [dev@holbrook.no]) 6 AC_CONFIG_SRCDIR([src/rlp.c]) 7 AC_CONFIG_HEADERS([config.h]) 8 AC_CONFIG_AUX_DIR([build-aux]) 9 AM_INIT_AUTOMAKE([-Wall -Werror]) 10 AC_CONFIG_FILES([Makefile src/Makefile]) 11 12 # Checks for programs. 13 AC_PROG_CC 14 AC_PROG_RANLIB 15 AM_PROG_AR 16 AC_PROG_LIBTOOL(libtool) 17 18 # Checks for libraries. 19 AC_ENABLE_SHARED 20 21 # Checks for header files. 22 AC_CHECK_HEADERS([stdint.h]) 23 24 # Checks for typedefs, structures, and compiler characteristics. 25 AC_TYPE_SIZE_T 26 27 # Checks for library functions. 28 AC_FUNC_MALLOC 29 AC_CHECK_FUNCS([memset]) 30 31 AC_OUTPUT