configure.ac 757 B

1234567891011121314151617181920212223242526272829
  1. # -*- Autoconf -*-
  2. # Process this file with autoconf to produce a configure script.
  3. AC_PREREQ([2.65])
  4. AC_INIT([question_authority], [0.1], [maker@tumbolandia.n])
  5. AM_INIT_AUTOMAKE
  6. AC_CONFIG_SRCDIR([src/qa.c])
  7. AC_CONFIG_HEADERS([config.h])
  8. # Checks for programs.
  9. AC_PROG_CC
  10. AC_PROG_RANLIB
  11. # Checks for libraries.
  12. # Checks for header files.
  13. AC_CHECK_HEADERS([limits.h stdint.h stdlib.h string.h unistd.h])
  14. AC_CHECK_HEADERS([openssl/ssl.h])
  15. # Checks for typedefs, structures, and compiler characteristics.
  16. AC_TYPE_SIZE_T
  17. # Checks for library functions.
  18. AC_FUNC_ERROR_AT_LINE
  19. AC_FUNC_MALLOC
  20. #AC_CHECK_FUNCS([dup2 setlocale strdup])
  21. AC_OUTPUT([Makefile src/Makefile src/questions/Makefile src/apps/Makefile ])