Nife version Beta
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

configure.ac 1.0 KiB

10 years ago
123456789101112131415161718192021222324252627282930313233343536373839
  1. # -*- Autoconf -*-
  2. # Process this file with autoconf to produce a configure script.
  3. AC_PREREQ([2.67])
  4. AC_INIT([nife], [0.44], [nife@seriane.fr])
  5. AM_INIT_AUTOMAKE
  6. AC_CONFIG_SRCDIR([src/tasks.c])
  7. AC_CONFIG_HEADERS([config.h])
  8. # Checks for programs.
  9. AC_PROG_CC
  10. AC_PROG_MAKE_SET
  11. # Checks for libraries.
  12. # Checks for header files.
  13. AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h netdb.h stdlib.h string.h strings.h sys/socket.h sys/time.h termios.h unistd.h])
  14. AC_CHECK_HEADERS([pthread.h])
  15. AC_CHECK_HEADERS([comedilib.h])
  16. # Checks for typedefs, structures, and compiler characteristics.
  17. AC_HEADER_STDBOOL
  18. AC_TYPE_PID_T
  19. # Checks for library functions.
  20. AC_FUNC_FORK
  21. AC_FUNC_MALLOC
  22. AC_FUNC_STRTOD
  23. AC_CHECK_FUNCS([bzero dup2 floor gethostbyname gettimeofday inet_ntoa pow rint socket strchr])
  24. AC_SEARCH_LIBS(pow,m)
  25. AC_SEARCH_LIBS(comedi_get_cmd_src_mask,comedi)
  26. AC_SEARCH_LIBS(socket,socket)
  27. AC_SEARCH_LIBS(pthread_create,pthread)
  28. AC_SEARCH_LIBS(inet_ntoa,nsl)
  29. AC_CONFIG_FILES([Makefile src/Makefile])
  30. AC_OUTPUT