| 1 | diff -u -r ../vifm-0.9.1/configure.ac ./configure.ac |
| 2 | --- ../vifm-0.9.1/configure.ac 2018-02-05 10:40:02.000000000 +0000 |
| 3 | +++ ./configure.ac 2018-02-06 13:53:38.873777524 +0000 |
| 4 | @@ -154,18 +154,11 @@ |
| 5 | AC_CHECK_FUNC([getcwd], [], [AC_MSG_ERROR([getcwd() function not found.])]) |
| 6 | AC_CHECK_FUNC([getenv], [], [AC_MSG_ERROR([getenv() function not found.])]) |
| 7 | AC_CHECK_FUNC([geteuid], [], [AC_MSG_ERROR([geteuid() function not found.])]) |
| 8 | -AC_CHECK_FUNC([getgrent], [], [AC_MSG_ERROR([getgrent() function not found.])]) |
| 9 | -AC_CHECK_FUNC([getgrgid], [], [AC_MSG_ERROR([getgrgid() function not found.])]) |
| 10 | -AC_CHECK_FUNC([getgrgid_r], [], [AC_MSG_ERROR([getgrgid_r() function not found.])]) |
| 11 | -AC_CHECK_FUNC([getgrnam], [], [AC_MSG_ERROR([getgrnam() function not found.])]) |
| 12 | if test -n "$HAVE_MNTENT_H" ; then |
| 13 | AC_CHECK_FUNC([getmntent], [], [AC_MSG_ERROR([getmntent() function not found.])]) |
| 14 | fi |
| 15 | AC_CHECK_FUNC([getpid], [], [AC_MSG_ERROR([getpid() function not found.])]) |
| 16 | AC_CHECK_FUNC([getppid], [], [AC_MSG_ERROR([getppid() function not found.])]) |
| 17 | -AC_CHECK_FUNC([getpwent], [], [AC_MSG_ERROR([getpwent() function not found.])]) |
| 18 | -AC_CHECK_FUNC([getpwnam], [], [AC_MSG_ERROR([getpwnam() function not found.])]) |
| 19 | -AC_CHECK_FUNC([getpwuid], [], [AC_MSG_ERROR([getpwuid() function not found.])]) |
| 20 | AC_CHECK_FUNC([getpwuid_r], [], [AC_MSG_ERROR([getpwuid_r() function not found.])]) |
| 21 | AC_CHECK_FUNC([ioctl], [], [AC_MSG_ERROR([ioctl() function not found.])]) |
| 22 | AC_CHECK_FUNC([iswalnum], [], [AC_MSG_ERROR([iswalnum() function not found.])]) |
| 23 | @@ -201,13 +194,11 @@ |
| 24 | AC_CHECK_FUNC([rmdir], [], [AC_MSG_ERROR([rmdir() function not found.])]) |
| 25 | AC_CHECK_FUNC([select], [], [AC_MSG_ERROR([select() function not found.])]) |
| 26 | AC_CHECK_FUNC([setenv], [], [AC_MSG_ERROR([setenv() function not found.])]) |
| 27 | -AC_CHECK_FUNC([setgrent], [], [AC_MSG_ERROR([setgrent() function not found.])]) |
| 28 | AC_CHECK_FUNC([setlocale], [], [AC_MSG_ERROR([setlocale() function not found.])]) |
| 29 | if test -n "$HAVE_MNTENT_H" ; then |
| 30 | AC_CHECK_FUNC([setmntent], [], [AC_MSG_ERROR([setmntent() function not found.])]) |
| 31 | fi |
| 32 | AC_CHECK_FUNC([setpgid], [], [AC_MSG_ERROR([setpgid() function not found.])]) |
| 33 | -AC_CHECK_FUNC([setpwent], [], [AC_MSG_ERROR([setpwent() function not found.])]) |
| 34 | AC_CHECK_FUNC([setsid], [], [AC_MSG_ERROR([setsid() function not found.])]) |
| 35 | AC_CHECK_FUNC([setvbuf], [], [AC_MSG_ERROR([setvbuf() function not found.])]) |
| 36 | AC_CHECK_FUNC([sigaction], [], [AC_MSG_ERROR([sigaction() function not found.])]) |
| 37 | @@ -384,18 +375,6 @@ |
| 38 | dnl from libc) |
| 39 | AC_CHECK_LIB(m, pow, [LIBS="$LIBS -lm"]) |
| 40 | |
| 41 | -dnl Use pthread library |
| 42 | -AX_CHECK_COMPILE_FLAG([-pthread], [ |
| 43 | - TESTS_CFLAGS="$CFLAGS -pthread" |
| 44 | - CFLAGS="$CFLAGS -pthread" |
| 45 | - ], [ |
| 46 | - AC_CHECK_LIB(pthread, pthread_create, |
| 47 | - [LIBS="$LIBS -lpthread" |
| 48 | - AC_CHECK_HEADER([pthread.h], [], [AC_MSG_ERROR([pthread.h header not found.])]) |
| 49 | - ], |
| 50 | - [AC_MSG_ERROR([libpthread not found])]) |
| 51 | - ]) |
| 52 | - |
| 53 | dnl Check for all required elements in pthread.h. |
| 54 | AC_CHECK_FUNC([pthread_create], [], [AC_MSG_ERROR([pthread_create() function not found.])]) |
| 55 | AC_CHECK_FUNC([pthread_getspecific], [], [AC_MSG_ERROR([pthread_getspecific() function not found.])]) |