From 22b6db625aeae9574b5840539da10e89979c6c75 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 28 Jun 1996 20:18:10 +0000 Subject: added plock --- config.h.in | 6 ++++++ configure | 6 +++--- configure.in | 4 ++-- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/config.h.in b/config.h.in index 76bbf5d..33b0044 100644 --- a/config.h.in +++ b/config.h.in @@ -184,6 +184,9 @@ /* Define if you have the nice function. */ #undef HAVE_NICE +/* Define if you have the plock function. */ +#undef HAVE_PLOCK + /* Define if you have the readlink function. */ #undef HAVE_READLINK @@ -277,6 +280,9 @@ /* Define if you have the header file. */ #undef HAVE_SYS_DIR_H +/* Define if you have the header file. */ +#undef HAVE_SYS_LOCK_H + /* Define if you have the header file. */ #undef HAVE_SYS_NDIR_H diff --git a/configure b/configure index 1b3fad0..1f4ad8d 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh -# From configure.in Revision: 1.26 +# From configure.in Revision: 1.27 # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.10 @@ -1019,7 +1019,7 @@ fi for ac_hdr in dlfcn.h fcntl.h limits.h ncurses.h \ signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h \ -sys/audioio.h sys/param.h sys/select.h sys/time.h sys/times.h \ +sys/audioio.h sys/lock.h sys/param.h sys/select.h sys/time.h sys/times.h \ sys/un.h sys/utsname.h sys/wait.h do ac_safe=`echo "$ac_hdr" | tr './\055' '___'` @@ -2133,7 +2133,7 @@ fi # checks for library functions for ac_func in chown clock dlopen flock ftime ftruncate \ gethostname_r getpeername getpgrp getpid gettimeofday getwd \ - link lstat mkfifo nice readlink \ + link lstat mkfifo nice plock readlink \ select setgid setuid setsid setpgid setpgrp setvbuf \ sigaction siginterrupt sigrelse strftime symlink \ tcgetpgrp tcsetpgrp times truncate uname waitpid diff --git a/configure.in b/configure.in index f8ef394..8417fe0 100644 --- a/configure.in +++ b/configure.in @@ -60,7 +60,7 @@ AC_MINIX AC_HEADER_STDC AC_CHECK_HEADERS(dlfcn.h fcntl.h limits.h ncurses.h \ signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h \ -sys/audioio.h sys/param.h sys/select.h sys/time.h sys/times.h \ +sys/audioio.h sys/lock.h sys/param.h sys/select.h sys/time.h sys/times.h \ sys/un.h sys/utsname.h sys/wait.h) AC_HEADER_DIRENT @@ -255,7 +255,7 @@ LIBS="$LIBS -ldl -ldld"], AC_MSG_RESULT(no)) # checks for library functions AC_CHECK_FUNCS(chown clock dlopen flock ftime ftruncate \ gethostname_r getpeername getpgrp getpid gettimeofday getwd \ - link lstat mkfifo nice readlink \ + link lstat mkfifo nice plock readlink \ select setgid setuid setsid setpgid setpgrp setvbuf \ sigaction siginterrupt sigrelse strftime symlink \ tcgetpgrp tcsetpgrp times truncate uname waitpid) \ -- cgit v0.12