summaryrefslogtreecommitdiff
path: root/source3/lib/replace/libreplace.m4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-09-19 14:57:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:52 -0500
commit68edc3a5c5a3cfeed222a95bbe75dadd41dbb5ea (patch)
tree704b256ceb18ccfb5fdd85d8831af3e039029803 /source3/lib/replace/libreplace.m4
parent10cb1b87ed44540454fd99b817c0a7a9d74afea2 (diff)
downloadsamba-68edc3a5c5a3cfeed222a95bbe75dadd41dbb5ea.tar.gz
samba-68edc3a5c5a3cfeed222a95bbe75dadd41dbb5ea.tar.bz2
samba-68edc3a5c5a3cfeed222a95bbe75dadd41dbb5ea.zip
r25232: sync lib/replace with SAMBA_4_0
metze (This used to be commit 828d2ca0610ab5ee3b96d187b3432b9b4fea72f8)
Diffstat (limited to 'source3/lib/replace/libreplace.m4')
-rw-r--r--source3/lib/replace/libreplace.m412
1 files changed, 1 insertions, 11 deletions
diff --git a/source3/lib/replace/libreplace.m4 b/source3/lib/replace/libreplace.m4
index f06d7f83dc..a6b1c4f5e6 100644
--- a/source3/lib/replace/libreplace.m4
+++ b/source3/lib/replace/libreplace.m4
@@ -152,6 +152,7 @@ AC_CHECK_FUNCS(seteuid setresuid setegid setresgid chroot bzero strerror)
AC_CHECK_FUNCS(vsyslog setlinebuf mktime ftruncate chsize rename)
AC_CHECK_FUNCS(waitpid strlcpy strlcat initgroups memmove strdup)
AC_CHECK_FUNCS(pread pwrite strndup strcasestr strtok_r mkdtemp socketpair)
+AC_CHECK_FUNCS(isatty)
AC_HAVE_DECL(setresuid, [#include <unistd.h>])
AC_HAVE_DECL(setresgid, [#include <unistd.h>])
AC_HAVE_DECL(errno, [#include <errno.h>])
@@ -306,17 +307,6 @@ if test x"$samba_cv_HAVE_OPEN_O_DIRECT" = x"yes"; then
fi
-AC_CACHE_CHECK([that the C compiler can precompile header files],samba_cv_precompiled_headers, [
- dnl Check whether the compiler can generate precompiled headers
- touch conftest.h
- if ${CC-cc} conftest.h 2> /dev/null && test -f conftest.h.gch; then
- precompiled_headers=yes
- else
- precompiled_headers=no
- fi])
-AC_SUBST(precompiled_headers)
-
-
dnl Check if the C compiler understands volatile (it should, being ANSI).
AC_CACHE_CHECK([that the C compiler understands volatile],samba_cv_volatile, [
AC_TRY_COMPILE([#include <sys/types.h>],[volatile int i = 0],