File libsamplerate-ac.diff of Package libsamplerate
--- acinclude.m4.orig
+++ acinclude.m4
@@ -135,7 +135,6 @@ if test $ac_cv_c_byte_order = unknown ;
fi
)
-]
if test $ac_cv_c_byte_order = big ; then
ac_cv_c_big_endian=1
@@ -154,6 +153,7 @@ else
AC_MSG_WARN([[*****************************************************************]])
fi
+]
)# AC_C_FIND_ENDIAN
--- configure.ac.orig
+++ configure.ac
@@ -4,7 +4,8 @@ dnl Require autoconf version >= 2.57)
AC_PREREQ(2.57)
AC_INIT([libsamplerate],[0.1.7],[erikd@mega-nerd.com])
-
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
# Put config stuff in Cfg.
AC_CONFIG_AUX_DIR(Cfg)
@@ -16,10 +17,6 @@ AC_CONFIG_MACRO_DIR([M4])
AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION)
AC_CONFIG_HEADER(src/config.h)
-
-dnl Add parameters for aclocal
-AC_SUBST(ACLOCAL_AMFLAGS, "-I M4")
-
AC_LANG([C])
#------------------------------------------------------------------------------------
@@ -40,7 +37,7 @@ AC_LANG([C])
SHARED_VERSION_INFO="1:7:1"
-AC_PROG_CC
+AC_PROG_CC_STDC
AM_PROG_CC_C_O
# Do not check for F77.
@@ -122,7 +119,7 @@ AC_CHECK_SIGNAL(SIGALRM)
AC_C99_FUNC_LRINT
AC_C99_FUNC_LRINTF
-# AC_C99_FUNC_LLRINT Don't need this (yet?).
+AC_C99_FUNC_LLRINT
case "x$ac_cv_c99_lrint$ac_cv_c99_lrintf" in
xyesyes)
--- Makefile.am.orig
+++ Makefile.am
@@ -1,5 +1,6 @@
## Process this file with automake to produce Makefile.in
+ACLOCAL_AMFLAGS = -I M4
DISTCHECK_CONFIGURE_FLAGS = --enable-gcc-werror
SUBDIRS = src doc examples tests