configure.ac 714 B

12345678910111213141516171819202122232425262728293031323334
  1. # -*- Autoconf -*-
  2. # Process this file with autoconf to produce a configure script.
  3. AC_PREREQ([2.69])
  4. AC_INIT([isibasic], [1.0], [mooigraph@gmail.com])
  5. AC_CONFIG_SRCDIR([src/parse.c])
  6. AC_CONFIG_HEADERS([config.h])
  7. AM_INIT_AUTOMAKE
  8. # Checks for programs.
  9. AC_PROG_CXX
  10. AC_PROG_AWK
  11. AC_PROG_CC
  12. AC_PROG_MAKE_SET
  13. # Checks for libraries.
  14. # Checks for header files.
  15. AC_CHECK_HEADERS([stddef.h stdlib.h])
  16. # Checks for typedefs, structures, and compiler characteristics.
  17. # Checks for library functions.
  18. AC_FUNC_MALLOC
  19. AC_CHECK_FUNCS([memset])
  20. # final compiler settings
  21. AC_SUBST(PACKAGE_CFLAGS)
  22. AC_SUBST(WARNING_CFLAGS)
  23. AC_CONFIG_FILES([Makefile src/Makefile])
  24. AC_OUTPUT