1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

lib/replace: Add getconf LFS_CFLAGS support to autoconf build

This commit is contained in:
Andrew Bartlett 2012-04-05 08:25:32 +10:00
parent 704ea4729b
commit 813d31183d

View File

@ -50,6 +50,14 @@ AC_PROG_INSTALL
AC_ISC_POSIX
AC_N_DEFINE(_XOPEN_SOURCE_EXTENDED)
AC_MSG_CHECKING(checking getconf LFS_CFLAGS for large file support flags)
LFS_CFLAGS=`(getconf LFS_CFLAGS) 2>/dev/null` || LFS_CFLAGS=""
AC_MSG_RESULT(${LFS_CFLAGS})
if test "x$LFS_CFLAGS" != 'x-1' || test "x$LFS_CFLAGS" != "xundefined"; then
CFLAGS="$CFLAGS $LFS_CFLAGS"
fi
AC_SYS_LARGEFILE
dnl Add #include for broken IRIX header files