summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-07 08:12:04 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-07 08:12:04 +0000
commit2a25034b033d207b5ce50946f3d9c9fad2c3a153 (patch)
treec66f242a07181ff46e8bc4d6f3b3fe950952f23a
parentab49ffe37f11b28144a7815ada1d891b14ffbc2d (diff)
downloadsamba-2a25034b033d207b5ce50946f3d9c9fad2c3a153.tar.gz
samba-2a25034b033d207b5ce50946f3d9c9fad2c3a153.tar.xz
samba-2a25034b033d207b5ce50946f3d9c9fad2c3a153.zip
detect __sys_llseek()
-rwxr-xr-xsource/configure4
-rw-r--r--source/configure.in2
-rw-r--r--source/include/config.h.in7
3 files changed, 8 insertions, 5 deletions
diff --git a/source/configure b/source/configure
index a64e327245e..7bd14618fbb 100755
--- a/source/configure
+++ b/source/configure
@@ -1900,7 +1900,7 @@ else
fi
done
-for ac_hdr in readline/history.h sys/capability.h sysacll.h sys/syscall.h
+for ac_hdr in readline/history.h sys/capability.h syscall.h sys/syscall.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -4553,7 +4553,7 @@ else
fi
done
-for ac_func in llseek _llseek __llseek readdir64 _readdir64 __readdir64
+for ac_func in __sys_llseek llseek _llseek __llseek readdir64 _readdir64 __readdir64
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:4560: checking for $ac_func" >&5
diff --git a/source/configure.in b/source/configure.in
index f29051ebcf0..44dc9d6af69 100644
--- a/source/configure.in
+++ b/source/configure.in
@@ -198,7 +198,7 @@ AC_CHECK_FUNCS(_close __close _fchdir __fchdir _fcntl __fcntl)
AC_CHECK_FUNCS(getdents _getdents __getdents _lseek __lseek _read __read)
AC_CHECK_FUNCS(_write __write _fork __fork)
AC_CHECK_FUNCS(_stat64 __stat64 _fstat64 __fstat64 _lstat64 __lstat64)
-AC_CHECK_FUNCS(llseek _llseek __llseek readdir64 _readdir64 __readdir64)
+AC_CHECK_FUNCS(__sys_llseek llseek _llseek __llseek readdir64 _readdir64 __readdir64)
AC_CHECK_FUNCS(pread _pread __pread pread64 _pread64 __pread64)
AC_CHECK_FUNCS(pwrite _pwrite __pwrite pwrite64 _pwrite64 __pwrite64)
AC_CHECK_FUNCS(open64 _open64 __open64 creat64)
diff --git a/source/include/config.h.in b/source/include/config.h.in
index 020fe0a7c74..0402e0bc678 100644
--- a/source/include/config.h.in
+++ b/source/include/config.h.in
@@ -239,6 +239,9 @@
/* Define if you have the __stat64 function. */
#undef HAVE___STAT64
+/* Define if you have the __sys_llseek function. */
+#undef HAVE___SYS_LLSEEK
+
/* Define if you have the __telldir function. */
#undef HAVE___TELLDIR
@@ -734,8 +737,8 @@
/* Define if you have the <sys/wait.h> header file. */
#undef HAVE_SYS_WAIT_H
-/* Define if you have the <sysacll.h> header file. */
-#undef HAVE_SYSACLL_H
+/* Define if you have the <syscall.h> header file. */
+#undef HAVE_SYSCALL_H
/* Define if you have the <termios.h> header file. */
#undef HAVE_TERMIOS_H