commit: 66fbae202aeffe37707c8a777faec970f39cdf09
parent 003dbc74886944c98f6ed5bd696bee7e7130c348
Author: Michael Forney <mforney@mforney.org>
Date: Tue, 24 Oct 2017 20:35:08 -0700
alsa-lib: Don't use config-posix.h
Diffstat:
3 files changed, 32 insertions(+), 12 deletions(-)
diff --git a/pkg/alsa-lib/README.md b/pkg/alsa-lib/README.md
@@ -0,0 +1,9 @@
+# alsa-lib
+
+## config.h
+Generated with
+
+ ./configure \
+ --prefix= \
+ --disable-hwdep \
+ --disable-rawmidi
diff --git a/pkg/alsa-lib/config.h b/pkg/alsa-lib/config.h
@@ -1,5 +1,3 @@
-#include <config-posix.h>
-
#define ALOAD_DEVICE_DIRECTORY "/dev/"
#define ALSA_CONFIG_DIR "/share/alsa"
/* #undef ALSA_DEBUG_ASSERT */
@@ -9,26 +7,39 @@
/* #undef BUILD_HWDEP */
#define BUILD_MIXER "1"
#define BUILD_PCM "1"
-#define BUILD_PCM_PLUGIN_ADPCM 1
-#define BUILD_PCM_PLUGIN_ALAW 1
-#define BUILD_PCM_PLUGIN_LFLOAT 1
-#define BUILD_PCM_PLUGIN_MMAP_EMUL 1
-#define BUILD_PCM_PLUGIN_MULAW 1
-#define BUILD_PCM_PLUGIN_RATE 1
-#define BUILD_PCM_PLUGIN_ROUTE 1
+#define BUILD_PCM_PLUGIN_ADPCM "1"
+#define BUILD_PCM_PLUGIN_ALAW "1"
+#define BUILD_PCM_PLUGIN_LFLOAT "1"
+#define BUILD_PCM_PLUGIN_MMAP_EMUL "1"
+#define BUILD_PCM_PLUGIN_MULAW "1"
+#define BUILD_PCM_PLUGIN_RATE "1"
+#define BUILD_PCM_PLUGIN_ROUTE "1"
/* #undef BUILD_RAWMIDI */
#define BUILD_SEQ "1"
#define BUILD_TOPOLOGY "1"
#define BUILD_UCM "1"
+#define HAVE_CLOCK_GETTIME 1
+#define HAVE_DLFCN_H 1
#define HAVE_ENDIAN_H 1
-/* #undef HAVE_LIBDL */
+#define HAVE_INTTYPES_H 1
+#define HAVE_LIBDL 1
#define HAVE_LIBPTHREAD 1
/* #undef HAVE_LIBRESMGR */
#define HAVE_LIBRT 1
#define HAVE_MEMORY_H 1
-#define HAVE_PTHREAD_MUTEX_RECURSIVE 1
+#define HAVE_PTHREAD_MUTEX_RECURSIVE /**/
/* #undef HAVE_SOFT_FLOAT */
+#define HAVE_STDINT_H 1
+#define HAVE_STDLIB_H 1
+#define HAVE_STRINGS_H 1
+#define HAVE_STRING_H 1
/* #undef HAVE_SYS_ENDIAN_H */
+#define HAVE_SYS_SHM_H 1
+#define HAVE_SYS_STAT_H 1
+#define HAVE_SYS_TYPES_H 1
+#define HAVE_UNISTD_H 1
+#define HAVE_USELOCALE 1
+#define HAVE_WORDEXP_H 1
#define HAVE___THREAD 1
#define LT_OBJDIR ".libs/"
/* #undef NDEBUG */
@@ -40,6 +51,7 @@
#define PACKAGE_URL ""
#define PACKAGE_VERSION "1.1.4.1"
#define SND_MAX_CARDS 32
+#define STDC_HEADERS 1
#define SUPPORT_ALOAD "1"
/* #undef SUPPORT_RESMGR */
#define THREAD_SAFE_API "1"
diff --git a/pkg/alsa-lib/gen.lua b/pkg/alsa-lib/gen.lua
@@ -1,5 +1,4 @@
cflags{
- '-I include',
'-I $dir',
'-I $dir/alsa',
'-I $srcdir/include',