configure.ac 641 B

1234567891011121314151617181920212223242526
  1. # -*- Autoconf -*-
  2. # Process this file with autoconf to produce a configure script.
  3. AC_PREREQ([2.59])
  4. AC_INIT(codec2, 0.2, david@rowetel.com)
  5. AM_INIT_AUTOMAKE
  6. # Checks for programs.
  7. AC_PROG_CC
  8. AC_PROG_LIBTOOL
  9. # Checks for libraries.
  10. # FIXME: Replace `main' with a function in `-lm':
  11. AC_CHECK_LIB([m], [main])
  12. # Checks for header files.
  13. AC_CHECK_HEADERS([stdlib.h string.h])
  14. # Checks for typedefs, structures, and compiler characteristics.
  15. # Checks for library functions.
  16. AC_FUNC_MALLOC
  17. AC_CHECK_FUNCS([floor pow sqrt])
  18. AC_CONFIG_FILES([Makefile src/Makefile unittest/Makefile])
  19. AC_OUTPUT