summaryrefslogtreecommitdiff
path: root/gl/m4/lseek.m4
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2011-07-14 13:10:45 +0200
committerSimon Josefsson <simon@josefsson.org>2011-07-14 13:10:45 +0200
commit22467f04196c52ebfdf14255748de1b977bff865 (patch)
treedcc3bbeadbe38e3c930a9dcf3246d62f10171b86 /gl/m4/lseek.m4
parentc5f7aa11f5fb3095320cfd39903d933e9c27a67b (diff)
downloadlibtasn1-22467f04196c52ebfdf14255748de1b977bff865.tar.gz
Update gnulib files.
Diffstat (limited to 'gl/m4/lseek.m4')
-rw-r--r--gl/m4/lseek.m415
1 files changed, 4 insertions, 11 deletions
diff --git a/gl/m4/lseek.m4 b/gl/m4/lseek.m4
index f6452f6..b454884 100644
--- a/gl/m4/lseek.m4
+++ b/gl/m4/lseek.m4
@@ -1,4 +1,4 @@
-# lseek.m4 serial 6
+# lseek.m4 serial 7
dnl Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -35,15 +35,8 @@ AC_DEFUN([gl_FUNC_LSEEK],
[gl_cv_func_lseek_pipe=yes], [gl_cv_func_lseek_pipe=no])
fi])
if test $gl_cv_func_lseek_pipe = no; then
- gl_REPLACE_LSEEK
+ REPLACE_LSEEK=1
+ AC_DEFINE([LSEEK_PIPE_BROKEN], [1],
+ [Define to 1 if lseek does not detect pipes.])
fi
])
-
-AC_DEFUN([gl_REPLACE_LSEEK],
-[
- AC_LIBOBJ([lseek])
- AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
- REPLACE_LSEEK=1
- AC_DEFINE([LSEEK_PIPE_BROKEN], [1],
- [Define to 1 if lseek does not detect pipes.])
-])