summaryrefslogtreecommitdiff
path: root/source3
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
commit853f923c318fb8f199a0c951492c6c0ba6b4ae3f (patch)
treee798828849d23b05a64905e6bd826c458bd1635d /source3
parent7914f66ef07e186af5e9c3339caf5cabf7aadb6f (diff)
downloadsamba-853f923c318fb8f199a0c951492c6c0ba6b4ae3f.tar.gz
samba-853f923c318fb8f199a0c951492c6c0ba6b4ae3f.tar.bz2
samba-853f923c318fb8f199a0c951492c6c0ba6b4ae3f.zip
detect __sys_llseek()
(This used to be commit 2a25034b033d207b5ce50946f3d9c9fad2c3a153)
Diffstat (limited to 'source3')
-rwxr-xr-xsource3/configure4
-rw-r--r--source3/configure.in2
-rw-r--r--source3/include/config.h.in7
3 files changed, 8 insertions, 5 deletions
diff --git a/source3/configure b/source3/configure
index a64e327245..7bd14618fb 100755
--- a/source3/configure
+++ b/source3/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/source3/configure.in b/source3/configure.in
index f29051ebcf..44dc9d6af6 100644
--- a/source3/configure.in
+++ b/source3/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/source3/include/config.h.in b/source3/include/config.h.in
index 020fe0a7c7..0402e0bc67 100644
--- a/source3/include/config.h.in
+++ b/source3/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