chiark / gitweb /
Drop ndk-patches/sysexits.h (see #1907)
[termux-packages] / packages / vifm / configure.ac.patch
1 --- ../cache/vifm-0.9/configure.ac      2017-06-18 14:31:25.000000000 +0000
2 +++ ./configure.ac      2017-10-03 23:29:41.348507964 +0000
3 @@ -145,18 +145,11 @@
4  AC_CHECK_FUNC([getcwd], [], [AC_MSG_ERROR([getcwd() function not found.])])
5  AC_CHECK_FUNC([getenv], [], [AC_MSG_ERROR([getenv() function not found.])])
6  AC_CHECK_FUNC([geteuid], [], [AC_MSG_ERROR([geteuid() function not found.])])
7 -AC_CHECK_FUNC([getgrent], [], [AC_MSG_ERROR([getgrent() function not found.])])
8 -AC_CHECK_FUNC([getgrgid], [], [AC_MSG_ERROR([getgrgid() function not found.])])
9 -AC_CHECK_FUNC([getgrgid_r], [], [AC_MSG_ERROR([getgrgid_r() function not found.])])
10 -AC_CHECK_FUNC([getgrnam], [], [AC_MSG_ERROR([getgrnam() function not found.])])
11  if test -n "$HAVE_MNTENT_H" ; then
12         AC_CHECK_FUNC([getmntent], [], [AC_MSG_ERROR([getmntent() function not found.])])
13  fi
14  AC_CHECK_FUNC([getpid], [], [AC_MSG_ERROR([getpid() function not found.])])
15  AC_CHECK_FUNC([getppid], [], [AC_MSG_ERROR([getppid() function not found.])])
16 -AC_CHECK_FUNC([getpwent], [], [AC_MSG_ERROR([getpwent() function not found.])])
17 -AC_CHECK_FUNC([getpwnam], [], [AC_MSG_ERROR([getpwnam() function not found.])])
18 -AC_CHECK_FUNC([getpwuid], [], [AC_MSG_ERROR([getpwuid() function not found.])])
19  AC_CHECK_FUNC([getpwuid_r], [], [AC_MSG_ERROR([getpwuid_r() function not found.])])
20  AC_CHECK_FUNC([ioctl], [], [AC_MSG_ERROR([ioctl() function not found.])])
21  AC_CHECK_FUNC([iswalnum], [], [AC_MSG_ERROR([iswalnum() function not found.])])
22 @@ -192,13 +185,11 @@
23  AC_CHECK_FUNC([rmdir], [], [AC_MSG_ERROR([rmdir() function not found.])])
24  AC_CHECK_FUNC([select], [], [AC_MSG_ERROR([select() function not found.])])
25  AC_CHECK_FUNC([setenv], [], [AC_MSG_ERROR([setenv() function not found.])])
26 -AC_CHECK_FUNC([setgrent], [], [AC_MSG_ERROR([setgrent() function not found.])])
27  AC_CHECK_FUNC([setlocale], [], [AC_MSG_ERROR([setlocale() function not found.])])
28  if test -n "$HAVE_MNTENT_H" ; then
29         AC_CHECK_FUNC([setmntent], [], [AC_MSG_ERROR([setmntent() function not found.])])
30  fi
31  AC_CHECK_FUNC([setpgid], [], [AC_MSG_ERROR([setpgid() function not found.])])
32 -AC_CHECK_FUNC([setpwent], [], [AC_MSG_ERROR([setpwent() function not found.])])
33  AC_CHECK_FUNC([setsid], [], [AC_MSG_ERROR([setsid() function not found.])])
34  AC_CHECK_FUNC([setvbuf], [], [AC_MSG_ERROR([setvbuf() function not found.])])
35  AC_CHECK_FUNC([sigaction], [], [AC_MSG_ERROR([sigaction() function not found.])])
36 @@ -371,11 +362,6 @@
37  AC_CHECK_LIB(m, pow, [LIBS="$LIBS -lm"])
38  
39  dnl Use pthread library
40 -AC_CHECK_LIB(pthread, pthread_create,
41 -       [LIBS="$LIBS -lpthread"
42 -       AC_CHECK_HEADER([pthread.h], [], [AC_MSG_ERROR([pthread.h header not found.])])
43 -       ],
44 -       [AC_MSG_ERROR([libpthread not found])])
45  
46  dnl Check for all required elements in pthread.h.
47  AC_CHECK_FUNC([pthread_create], [], [AC_MSG_ERROR([pthread_create() function not found.])])