summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-06-09 12:32:02 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-06-09 12:32:02 -0700
commit4f33b169dc547b7f9af6f2f1c173d36fc4d62fe8 (patch)
tree7ab49fc363dc55006fc27f0b1e3a91dc1ed56121 /configure
parent000753a29f423053bec9d4fabfa52bd40390d2df (diff)
downloadtxr-4f33b169dc547b7f9af6f2f1c173d36fc4d62fe8.tar.gz
txr-4f33b169dc547b7f9af6f2f1c173d36fc4d62fe8.tar.bz2
txr-4f33b169dc547b7f9af6f2f1c173d36fc4d62fe8.zip
Adding fcntl interface.
* configure: changing HAVE_FCNTL_H to HAVE_FCNTL. * sysif.c (flock_s, type_s, whence_s, start_s, len_s, pid_s): New symbol variables. (flock_pack, flock_unpack, fcntl_wrap): New static functions. (sysif_init): Initialize new symbol variables. Create flock struct type. Register new intrinsic variables: o-accmode, o-rdonly, o-wronly, o-rdwr, o-creat, o-noctty, o-trunc, o-append, o-nonblock, o-sync, o-async, o-directory, o-nofollow, o-cloexec, o-direct, o-noatime, o-path, f-dupfd, f-dupfd-cloexec, f-getfd, f-setfd, fd-cloexec, f-getfl, f-setfl, f-getlk, f-setlk, f-setlkw, f-rdlck, f-wrlck, f-unlck, seek-set, seek-cur and seek-end. Register fcntl intrinsic function. * txr.1: Documented.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 064ea3ee..18a24207 100755
--- a/configure
+++ b/configure
@@ -1736,7 +1736,7 @@ int main(int argc, char **argv)
if conftest ; then
printf "yes\n"
- printf "#define HAVE_FCNTL_H 1\n" >> config.h
+ printf "#define HAVE_FCNTL 1\n" >> config.h
else
printf "no\n"
fi