11
11
AC_CACHE_CHECK([whether lseek detects pipes], [gl_cv_func_lseek_pipe],
12
12
[if test $cross_compiling = no; then
14
14
#include <sys/types.h> /* for off_t */
15
15
#include <stdio.h> /* for SEEK_CUR */
19
17
/* Exit with success only if stdin is seekable. */
20
18
return lseek (0, (off_t)0, SEEK_CUR) < 0;
22
20
[if test -s conftest$ac_exeext \
23
21
&& ./conftest$ac_exeext < conftest.$ac_ext \