shithub: libsamplerate

Download patch

ref: f186f777b20c6eb1153a5b78ace1d53bb98ad5cb
parent: 29b71dfb1f79038c5934ea466b1e67f202487a46
author: Erik de Castro Lopo <erikd@mega-nerd.com>
date: Sat Feb 14 17:49:58 EST 2009

Reinstate Win32/MSVC compile instructions.

--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,9 @@
     See : http://www.mega-nerd.com/erikd/Blog/2009/Feb/14/index.html
     Thanks to David Cournapeau for the bug report.
 
+    * doc/win32.html Makefile.am configure.ac
+    Reinstate Win32/MSVC compile instructions.
+
 2009-02-13  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
     * src/common.h src/samplerate.c
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,9 +3,9 @@
 DISTCHECK_CONFIGURE_FLAGS = --enable-gcc-werror
 
 SUBDIRS = src doc examples tests
-DIST_SUBDIRS = $(SUBDIRS)
+DIST_SUBDIRS = Win32 $(SUBDIRS)
 
-EXTRA_DIST = autogen.sh libsamplerate.spec.in samplerate.pc.in
+EXTRA_DIST = autogen.sh libsamplerate.spec.in samplerate.pc.in Make.bat
  
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = samplerate.pc
--- a/Win32/config.h
+++ b/Win32/config.h
@@ -146,6 +146,13 @@
 /* Define to 1 if you have the <unistd.h> header file. */
 #define HAVE_UNISTD_H 1
 
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+   */
+#define LT_OBJDIR ".libs/"
+
+/* Define to 1 if your C compiler doesn't accept -c and -o together. */
+/* #undef NO_MINUS_C_MINUS_O */
+
 /* Set to 1 if compiling for Win32 */
 #define OS_IS_WIN32 1
 
@@ -153,30 +160,30 @@
 #define PACKAGE "libsamplerate"
 
 /* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT ""
+#define PACKAGE_BUGREPORT "erikd@mega-nerd.com"
 
 /* Define to the full name of this package. */
-#define PACKAGE_NAME ""
+#define PACKAGE_NAME "libsamplerate"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING ""
+#define PACKAGE_STRING "libsamplerate 0.1.7"
 
 /* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME ""
+#define PACKAGE_TARNAME "libsamplerate"
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION ""
+#define PACKAGE_VERSION "0.1.7"
 
-/* The size of a `double', as computed by sizeof. */
+/* The size of `double', as computed by sizeof. */
 #define SIZEOF_DOUBLE 8
 
-/* The size of a `float', as computed by sizeof. */
+/* The size of `float', as computed by sizeof. */
 #define SIZEOF_FLOAT 4
 
-/* The size of a `int', as computed by sizeof. */
+/* The size of `int', as computed by sizeof. */
 #define SIZEOF_INT 4
 
-/* The size of a `long', as computed by sizeof. */
+/* The size of `long', as computed by sizeof. */
 #define SIZEOF_LONG 4
 
 /* Define to 1 if you have the ANSI C header files. */
@@ -183,7 +190,7 @@
 #define STDC_HEADERS 1
 
 /* Version number of package */
-#define VERSION "0.1.4"
+#define VERSION "0.1.7"
 
 
 
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@
 dnl Require autoconf version >= 2.57)
 AC_PREREQ(2.57)
 
-AC_INIT([libsamplerate],[0.1.7pre1],[erikd@mega-nerd.com])
+AC_INIT([libsamplerate],[0.1.7],[erikd@mega-nerd.com])
 
 # Put config stuff in Cfg.
 AC_CONFIG_AUX_DIR(Cfg)
@@ -273,7 +273,7 @@
 AC_SUBST(SNDFILE_CFLAGS)
 AC_SUBST(SNDFILE_LIBS)
 
-AC_CONFIG_FILES([Makefile src/Version_script \
+AC_CONFIG_FILES([Makefile src/Version_script Win32/Makefile Win32/Makefile.mingw \
 			src/Makefile examples/Makefile tests/Makefile doc/Makefile \
 			libsamplerate.spec samplerate.pc])
 AC_OUTPUT