Displaying 4 results from an estimated 4 matches for "ac_func_fseeko".
2007 Apr 15
2
Patch : Fix pointer cast warning
...ow fixes this warning by detecting the sizeof (void*)
at configure time and then using that for a little pointer arithmetic.
Cheers,
Erik
diff -u -r1.141 configure.in
--- configure.in 14 Feb 2007 06:12:24 -0000 1.141
+++ configure.in 15 Apr 2007 07:06:43 -0000
@@ -41,6 +41,8 @@
AC_SYS_LARGEFILE
AC_FUNC_FSEEKO
+AC_CHECK_SIZEOF(void*,0)
+
#@@@ new name is AC_CONFIG_HEADERS
AM_CONFIG_HEADER(config.h)
diff -u -r1.19 memory.c
--- src/libFLAC/memory.c 2 Feb 2007 06:58:22 -0000 1.19
+++ src/libFLAC/memory.c 15 Apr 2007 07:06:44 -0000
@@ -38,25 +38,26 @@
void *FLAC__memory_alloc_aligned(size_t bytes, v...
2001 May 21
1
2.9p1 patches
...its in a file offset, on hosts where this is settable.],
+ AC_SYS_LARGEFILE_TEST_INCLUDES)
+ AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1,
+ ac_cv_sys_large_files,
+ [Define for large files, on AIX-style hosts.],
+ AC_SYS_LARGEFILE_TEST_INCLUDES)
+ fi
+ ])
+
+AC_DEFUN(AC_FUNC_FSEEKO,
+ [AC_SYS_LARGEFILE_MACRO_VALUE(_LARGEFILE_SOURCE, 1,
+ ac_cv_sys_largefile_source,
+ [Define to make fseeko visible on some hosts (e.g. glibc 2.2).],
+ [#include <stdio.h>], [return !fseeko;])
+ # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
+ # in gl...
2012 Apr 07
1
[PATCH 2/2] Update and improve autotools build
...=yes/build_old_libs=no/' libtool > libtool-disable-static
-chmod +x libtool-disable-static
-
-AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
-AC_CONFIG_MACRO_DIR([m4])
-
+LT_INIT([win32-dll disable-static pic-only])
AM_PROG_AS
AC_PROG_CXX
AC_PROG_MAKE_SET
@@ -47,7 +38,7 @@ AC_SYS_LARGEFILE
AC_FUNC_FSEEKO
AC_CHECK_SIZEOF(void*,0)
-
+AC_SEARCH_LIBS([lround],[m], [AC_DEFINE(HAVE_LROUND,1,lround support)])
#@@@ new name is AC_CONFIG_HEADERS
AM_CONFIG_HEADER(config.h)
@@ -348,18 +339,13 @@ AC_DEFINE(FLAC__HAS_GAS)
AH_TEMPLATE(FLAC__HAS_GAS, [define if you are compiling for PowerPC and have the &...
2012 Dec 12
8
[PATCH 0/5] update build system
This patch series modernizes various aspects of the autotools
based build system. There is a lot more that could and should be
done, but I tried to stay conservative for now and just resolve
some of the most obvious issues.
Max Horn (5):
configure: replace XIPH_C_FIND_ENDIAN by AC_C_BIGENDIAN
autogen.sh: replace this by a simple call to autoreconf
configure: always print