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.
 
 
 
 

41 lines
1.1 KiB

  1. # -*- Autoconf -*-
  2. # Process this file with autoconf to produce a configure script.
  3. AC_PREREQ([2.67])
  4. AC_INIT([nife], [0.61], [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. AC_CHECK_HEADERS([linux/i2c-dev.h])
  17. # Checks for typedefs, structures, and compiler characteristics.
  18. AC_HEADER_STDBOOL
  19. AC_TYPE_PID_T
  20. # Checks for library functions.
  21. AC_FUNC_FORK
  22. AC_FUNC_MALLOC
  23. AC_FUNC_STRTOD
  24. AC_CHECK_FUNCS([bzero dup2 floor gethostbyname gettimeofday inet_ntoa pow rint socket strchr])
  25. AC_SEARCH_LIBS(pow,m)
  26. AC_SEARCH_LIBS(comedi_get_cmd_src_mask,comedi)
  27. AC_SEARCH_LIBS(socket,socket)
  28. AC_SEARCH_LIBS(pthread_create,pthread)
  29. AC_SEARCH_LIBS(inet_ntoa,nsl)
  30. AC_CONFIG_FILES([Makefile src/Makefile])
  31. AC_OUTPUT