configure.scan 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # -*- Autoconf -*-
  2. # Process this file with autoconf to produce a configure script.
  3. AC_PREREQ([2.69])
  4. AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
  5. AC_CONFIG_SRCDIR([tdoa_sync.cpp])
  6. AC_CONFIG_HEADERS([config.h])
  7. # Checks for programs.
  8. AC_PROG_CXX
  9. AC_PROG_CC
  10. AC_PROG_CPP
  11. # Checks for libraries.
  12. # FIXME: Replace `main' with a function in `-lboost_chrono':
  13. AC_CHECK_LIB([boost_chrono], [main])
  14. # FIXME: Replace `main' with a function in `-lboost_system':
  15. AC_CHECK_LIB([boost_system], [main])
  16. # FIXME: Replace `main' with a function in `-lboost_thread':
  17. AC_CHECK_LIB([boost_thread], [main])
  18. # FIXME: Replace `main' with a function in `-lmysqlclient':
  19. AC_CHECK_LIB([mysqlclient], [main])
  20. # FIXME: Replace `main' with a function in `-lrt':
  21. AC_CHECK_LIB([rt], [main])
  22. # FIXME: Replace `main' with a function in `-lthree_rates':
  23. AC_CHECK_LIB([three_rates], [main])
  24. # FIXME: Replace `main' with a function in `-lzlog':
  25. AC_CHECK_LIB([zlog], [main])
  26. # Checks for header files.
  27. AC_CHECK_HEADERS([arpa/inet.h fcntl.h float.h limits.h memory.h netinet/in.h stdint.h stdlib.h string.h sys/socket.h sys/time.h sys/timeb.h unistd.h])
  28. # Checks for typedefs, structures, and compiler characteristics.
  29. AC_CHECK_HEADER_STDBOOL
  30. AC_C_INLINE
  31. AC_TYPE_INT16_T
  32. AC_TYPE_INT32_T
  33. AC_TYPE_INT64_T
  34. AC_TYPE_INT8_T
  35. AC_TYPE_SIZE_T
  36. AC_TYPE_UINT16_T
  37. AC_TYPE_UINT32_T
  38. AC_TYPE_UINT64_T
  39. AC_TYPE_UINT8_T
  40. # Checks for library functions.
  41. AC_FUNC_MALLOC
  42. AC_FUNC_MKTIME
  43. AC_FUNC_REALLOC
  44. AC_CHECK_FUNCS([alarm atexit clock_gettime floor ftime gettimeofday inet_ntoa localtime_r memmove memset pow realpath socket sqrt strchr strstr])
  45. AC_CONFIG_FILES([Makefile])
  46. AC_OUTPUT