configure.ac 625 B

12345678910111213141516171819202122232425262728293031
  1. # -*- Autoconf -*-
  2. # Process this file with autoconf to produce a configure script.
  3. AC_PREREQ(2.59)
  4. AC_INIT(gcctree2gml, 0.6, mingjie.xing@gmail.com)
  5. AC_CONFIG_HEADERS(config.h)
  6. # automake
  7. AM_INIT_AUTOMAKE
  8. # Checks for programs.
  9. AC_PROG_YACC
  10. AC_PROG_CC
  11. AC_PROG_LEX
  12. #LIBS="$saved_LIBS"
  13. # Checks for header files.
  14. AC_HEADER_STDC
  15. AC_CHECK_HEADERS([stdlib.h string.h unistd.h])
  16. # Checks for typedefs, structures, and compiler characteristics.
  17. AC_C_CONST
  18. AC_FUNC_OBSTACK
  19. # Checks for library functions.
  20. AC_FUNC_ERROR_AT_LINE
  21. AC_CONFIG_FILES([Makefile src/Makefile])
  22. AC_OUTPUT