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.

35 lines
947 B

  1. --- a/configure.in
  2. +++ b/configure.in
  3. @@ -31,7 +31,6 @@ fi
  4. dnl Checks for programs.
  5. AC_LANG_CPLUSPLUS
  6. -AC_PROG_CC
  7. AC_PROG_CXX
  8. AC_PROG_CXXCPP
  9. AC_PROG_INSTALL
  10. @@ -60,13 +59,13 @@ if [[ -n "$snprintf" ]]; then
  11. snprintf="#define NO_SNPRINTF"
  12. fi
  13. -AC_CHECK_HEADERS(algorithm algo.h algo)
  14. +AC_CHECK_HEADERS(algorithm)
  15. AC_SUBST(linux_pthread)
  16. AC_TRY_COMPILE([#define _GNU_SOURCE
  17. #include <pthread.h>
  18. ] , [pthread_mutexattr_t attr;
  19. - pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP);]
  20. + pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);]
  21. , linux_pthread="yes")
  22. if [[ -n "$linux_pthread" ]]; then
  23. linux_pthread="#define LINUX_PTHREAD"
  24. @@ -83,7 +82,7 @@ void * thread_func(void * param) { return NULL; }
  25. , thread_ldflags="-pthread")
  26. AC_SUBST(large_file)
  27. -AC_TRY_RUN([#ifndef _LARGEFILE64_SOURCE
  28. +AC_TRY_COMPILE([#ifndef _LARGEFILE64_SOURCE
  29. #define _LARGEFILE64_SOURCE
  30. #endif
  31. #include <stdio.h>