aboutsummaryrefslogtreecommitdiff
path: root/utils/vlc_codec/configure.ac
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2017-12-16 20:36:41 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2017-12-16 20:36:41 +0300
commitcfb96e9ef563e4cf39350b5b8721f4b5b70585d2 (patch)
treefd92556eb497c14ad9f7eed01e853a7d1ecca049 /utils/vlc_codec/configure.ac
parent93b8726a3db33023f2c5a0cc5efba58583b87fb4 (diff)
downloadlibADLMIDI-cfb96e9ef563e4cf39350b5b8721f4b5b70585d2.tar.gz
libADLMIDI-cfb96e9ef563e4cf39350b5b8721f4b5b70585d2.tar.bz2
libADLMIDI-cfb96e9ef563e4cf39350b5b8721f4b5b70585d2.zip
Added experimental VLC plugin
Plugin is made for VLC 2.2.2 Weatherwax (pre-installed in Linux Mint 18.3) Existing issues: - No ability to change codec properties yet, this thing is WIP - By unknown reason, resulted sound has different (RANDOM) sample rate which is different from 44100 Hz
Diffstat (limited to 'utils/vlc_codec/configure.ac')
-rw-r--r--utils/vlc_codec/configure.ac32
1 files changed, 32 insertions, 0 deletions
diff --git a/utils/vlc_codec/configure.ac b/utils/vlc_codec/configure.ac
new file mode 100644
index 0000000..3afee7a
--- /dev/null
+++ b/utils/vlc_codec/configure.ac
@@ -0,0 +1,32 @@
+# Process this file with autoconf to produce a configure script.
+AC_PREREQ([2.68])
+AC_INIT([vlc-libadlmidi], [1.0.0], [admin@wohlnet.ru])
+AC_CONFIG_SRCDIR([libadlmidi.c])
+AC_CONFIG_MACRO_DIR([m4])
+AC_USE_SYSTEM_EXTENSIONS
+LT_INIT
+
+# Checks for programs.
+AC_PROG_CXX
+AC_PROG_CC
+AC_PROG_CC_C99
+AC_PROG_INSTALL
+AC_PROG_LN_S
+PKG_PROG_PKG_CONFIG
+
+# Initialize automake stuff
+AM_INIT_AUTOMAKE([foreign])
+
+AC_C_INLINE
+AC_FUNC_MALLOC
+AC_FUNC_REALLOC
+AC_FUNC_STRNLEN
+AC_SEARCH_LIBS([sqrt], [m])
+AC_CHECK_FUNCS([memset sqrt strcasecmp strcspn strdup strndup strstr strtol])
+
+PKG_CHECK_MODULES([vlc], [vlc-plugin >= 2.0])
+PKG_CHECK_MODULES([vlc212], [vlc-plugin >= 2.1])
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
+