Skip to content

Instantly share code, notes, and snippets.

@ndfred
Created April 27, 2017 21:59
Show Gist options
  • Save ndfred/1df7f5315ad2a5aa01d1319c03024387 to your computer and use it in GitHub Desktop.
Save ndfred/1df7f5315ad2a5aa01d1319c03024387 to your computer and use it in GitHub Desktop.
Run configure scripts for node-lame
diff --git a/deps/lame/config/linux/x87/config.h b/deps/lame/config/linux/x87/config.h
index efc3d93..d9405c0 100644
--- a/deps/lame/config/linux/x87/config.h
+++ b/deps/lame/config/linux/x87/config.h
@@ -22,7 +22,7 @@
/* #undef DEBUG */
/* allow to compute a more accurate replaygain value */
-/* #undef DECODE_ON_THE_FLY */
+#define DECODE_ON_THE_FLY 1
/* double is faster than float on Alpha */
/* #undef FLOAT */
@@ -120,7 +120,7 @@
#define HAVE_MEMORY_H 1
/* build with mpglib support */
-/* #undef HAVE_MPGLIB */
+#define HAVE_MPGLIB 1
/* have nasm */
/* #undef HAVE_NASM */
@@ -194,7 +194,7 @@
#define HAVE_UNISTD_H 1
/* Define to 1 if you have the <xmmintrin.h> header file. */
-/* #undef HAVE_XMMINTRIN_H */
+#define HAVE_XMMINTRIN_H 1
/* Define as const if the declaration of iconv() needs const. */
#define ICONV_CONST
diff --git a/deps/mpg123/config/linux/x87/config.h b/deps/mpg123/config/linux/x87/config.h
index 7732b08..e67beba 100644
--- a/deps/mpg123/config/linux/x87/config.h
+++ b/deps/mpg123/config/linux/x87/config.h
@@ -21,10 +21,10 @@
/* #undef DEBUG */
/* The default audio output module(s) to use */
-#define DEFAULT_OUTPUT_MODULE "oss"
+#define DEFAULT_OUTPUT_MODULE "alsa,oss"
/* Define if building with dynamcally linked libmpg123 */
-/* #undef DYNAMIC_BUILD */
+#define DYNAMIC_BUILD 1
/* Define if FIFO support is enabled. */
#define FIFO 1
@@ -77,6 +77,9 @@
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1
+/* Define if getaddrinfo accepts the AI_ADDRCONFIG flag */
+#define HAVE_GAI_ADDRCONFIG 1
+
/* Define to 1 if you have the `getaddrinfo' function. */
#define HAVE_GETADDRINFO 1
@@ -108,7 +111,7 @@
#define HAVE_LOCALE_H 1
/* Define if libltdl is available */
-/* #undef HAVE_LTDL */
+#define HAVE_LTDL 1
/* Define to 1 if you have the <machine/soundcard.h> header file. */
/* #undef HAVE_MACHINE_SOUNDCARD_H */
@@ -255,8 +258,7 @@
alias functions. */
#define LFS_ALIAS_BITS 32
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
- */
+/* Define to the sub-directory where libtool stores uninstalled libraries. */
#define LT_OBJDIR ".libs/"
/* The suffix for module files. */
@@ -357,7 +359,7 @@
#define STDC_HEADERS 1
/* Define if modules are enabled */
-/* #undef USE_MODULES */
+#define USE_MODULES 1
/* Version number of package */
#define VERSION "1.14.4"
@@ -386,6 +388,11 @@
# endif
#endif
+/* Enable large inode numbers on Mac OS X 10.5. */
+#ifndef _DARWIN_USE_64_BIT_INODE
+# define _DARWIN_USE_64_BIT_INODE 1
+#endif
+
/* Number of bits in a file offset, on hosts where this is settable. */
#define _FILE_OFFSET_BITS 64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment