forked from Imagelibrary/binutils-gdb
* configure.in: Call AC_GNU_SOURCE. Check for pread64 using
AC_CHECK_FUNCS and remove the old check for pread64. * acinclude.m4 (AC_GNU_SOURCE): New macro. * acconfig.h (_GNU_SOURCE): Add. (HAVE_PREAD64): Remove. * configure, aclocal.m4, config.in: Regenerated.
This commit is contained in:
@@ -918,3 +918,12 @@ size_t iconv();
|
||||
fi
|
||||
AC_SUBST(LIBICONV)
|
||||
])
|
||||
|
||||
# AC_GNU_SOURCE
|
||||
# -------------
|
||||
# FIXME: Remove thise once we start using Autoconf 2.5x (x>=4).
|
||||
AC_DEFUN([AC_GNU_SOURCE],
|
||||
[AC_BEFORE([$0], [AC_TRY_COMPILE])dnl
|
||||
AC_BEFORE([$0], [AC_TRY_RUN])dnl
|
||||
AC_DEFINE([_GNU_SOURCE])
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user