Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 22b6db6

Browse files
committed
added plock
1 parent 0068267 commit 22b6db6

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

config.h.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@
184184
/* Define if you have the nice function. */
185185
#undef HAVE_NICE
186186

187+
/* Define if you have the plock function. */
188+
#undef HAVE_PLOCK
189+
187190
/* Define if you have the readlink function. */
188191
#undef HAVE_READLINK
189192

@@ -277,6 +280,9 @@
277280
/* Define if you have the <sys/dir.h> header file. */
278281
#undef HAVE_SYS_DIR_H
279282

283+
/* Define if you have the <sys/lock.h> header file. */
284+
#undef HAVE_SYS_LOCK_H
285+
280286
/* Define if you have the <sys/ndir.h> header file. */
281287
#undef HAVE_SYS_NDIR_H
282288

configure

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22

3-
# From configure.in Revision: 1.26
3+
# From configure.in Revision: 1.27
44

55
# Guess values for system-dependent variables and create Makefiles.
66
# Generated automatically using autoconf version 2.10
@@ -1019,7 +1019,7 @@ fi
10191019

10201020
for ac_hdr in dlfcn.h fcntl.h limits.h ncurses.h \
10211021
signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h \
1022-
sys/audioio.h sys/param.h sys/select.h sys/time.h sys/times.h \
1022+
sys/audioio.h sys/lock.h sys/param.h sys/select.h sys/time.h sys/times.h \
10231023
sys/un.h sys/utsname.h sys/wait.h
10241024
do
10251025
ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
@@ -2133,7 +2133,7 @@ fi
21332133
# checks for library functions
21342134
for ac_func in chown clock dlopen flock ftime ftruncate \
21352135
gethostname_r getpeername getpgrp getpid gettimeofday getwd \
2136-
link lstat mkfifo nice readlink \
2136+
link lstat mkfifo nice plock readlink \
21372137
select setgid setuid setsid setpgid setpgrp setvbuf \
21382138
sigaction siginterrupt sigrelse strftime symlink \
21392139
tcgetpgrp tcsetpgrp times truncate uname waitpid

configure.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ AC_MINIX
6060
AC_HEADER_STDC
6161
AC_CHECK_HEADERS(dlfcn.h fcntl.h limits.h ncurses.h \
6262
signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h \
63-
sys/audioio.h sys/param.h sys/select.h sys/time.h sys/times.h \
63+
sys/audioio.h sys/lock.h sys/param.h sys/select.h sys/time.h sys/times.h \
6464
sys/un.h sys/utsname.h sys/wait.h)
6565
AC_HEADER_DIRENT
6666

@@ -255,7 +255,7 @@ LIBS="$LIBS -ldl -ldld"], AC_MSG_RESULT(no))
255255
# checks for library functions
256256
AC_CHECK_FUNCS(chown clock dlopen flock ftime ftruncate \
257257
gethostname_r getpeername getpgrp getpid gettimeofday getwd \
258-
link lstat mkfifo nice readlink \
258+
link lstat mkfifo nice plock readlink \
259259
select setgid setuid setsid setpgid setpgrp setvbuf \
260260
sigaction siginterrupt sigrelse strftime symlink \
261261
tcgetpgrp tcsetpgrp times truncate uname waitpid) \

0 commit comments

Comments
 (0)