Skip to content
Snippets Groups Projects
configure.ac 880 B
Newer Older
  • Learn to ignore specific revisions
  • Jonathan Schöbel's avatar
    Jonathan Schöbel committed
    #                                               -*- Autoconf -*-
    # Process this file with autoconf to produce a configure script.
    
    AC_PREREQ([2.69])
    AC_INIT([SeFHT], [0.9], [jonathan@xn--schbel-yxa.info])
    AC_CONFIG_SRCDIR([src/main.c])
    AC_CONFIG_HEADERS([src/config.h])
    AC_CONFIG_AUX_DIR([build-aux])
    AC_CONFIG_MACRO_DIR([build-macro])
    
    AM_INIT_AUTOMAKE([foreign -Wall -Werror subdir-objects])
    
    # Checks for programs.
    AC_PROG_CC
    
    PKG_CHECK_MODULES([CHECK], [check >= 0.9.4])
    
    # Checks for libraries.
    
    # Checks for header files.
    
    Jonathan Schöbel's avatar
    Jonathan Schöbel committed
    AC_CHECK_HEADER([errno.h])
    
    Jonathan Schöbel's avatar
    Jonathan Schöbel committed
    AC_CHECK_HEADER([limits.h])
    
    Jonathan Schöbel's avatar
    Jonathan Schöbel committed
    AC_CHECK_HEADER([stdbool.h])
    
    Jonathan Schöbel's avatar
    Jonathan Schöbel committed
    AC_CHECK_HEADER([stdio.h])
    AC_CHECK_HEADER([stdlib.h])
    
    Jonathan Schöbel's avatar
    Jonathan Schöbel committed
    AC_CHECK_HEADER([string.h])
    
    Jonathan Schöbel's avatar
    Jonathan Schöbel committed
    
    # Checks for typedefs, structures, and compiler characteristics.
    
    # Checks for library functions.
    
    # Makefiles
    AC_CONFIG_FILES([Makefile
    
    Jonathan Schöbel's avatar
    Jonathan Schöbel committed
    		 src/Makefile
    		 tests/Makefile])
    
    Jonathan Schöbel's avatar
    Jonathan Schöbel committed
    
    AC_OUTPUT