1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-12 04:23:49 +03:00

r18280: more portability tidyups, ensuring we use libreplace everywhere

This commit is contained in:
Andrew Tridgell
2006-09-09 02:12:09 +00:00
committed by Gerald (Jerry) Carter
parent 6eefd44a87
commit 4860d02565
4 changed files with 14 additions and 18 deletions

View File

@@ -1,11 +1,3 @@
dnl needed before AC_TRY_COMPILE
AC_ISC_POSIX
AC_USE_SYSTEM_EXTENSIONS
AC_C_INLINE
LIBREPLACE_C99_STRUCT_INIT([],[])
dnl find the libreplace sources. This is meant to work both for
dnl libreplace standalone builds, and builds of packages using libreplace
libreplacedir=""
@@ -19,6 +11,14 @@ done
LIBREPLACEOBJ="dlfcn.o getpass.o replace.o snprintf.o timegm.o"
AC_SUBST(LIBREPLACEOBJ)
dnl needed before AC_TRY_COMPILE
AC_ISC_POSIX
AC_USE_SYSTEM_EXTENSIONS
AC_C_INLINE
AC_PROG_CC
LIBREPLACE_C99_STRUCT_INIT([],[])
AC_SYS_LARGEFILE
dnl Add #include for broken IRIX header files
@@ -30,6 +30,10 @@ esac
AC_C_BIGENDIAN
AC_HEADER_STDC
AC_CHECK_SIZEOF(off_t,cross)
AC_CHECK_SIZEOF(size_t,cross)
AC_CHECK_SIZEOF(ssize_t,cross)
AC_FUNC_MMAP
AC_CHECK_HEADERS([stdint.h inttypes.h])
AC_CHECK_TYPE(uint_t, unsigned int)