-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigure.ac
More file actions
48 lines (36 loc) · 1.16 KB
/
Copy pathconfigure.ac
File metadata and controls
48 lines (36 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
AC_PREREQ([2.72])
AC_INIT([audacious-plugins-fc],[0.9.6])
AC_CONFIG_SRCDIR([src/audfc.h])
AM_INIT_AUTOMAKE([foreign])
AC_CONFIG_HEADERS([src/config.h])
AC_CONFIG_MACRO_DIR([m4])
dnl AC_CANONICAL_HOST
AC_PROG_CXX
AC_PROG_AR
AC_PROG_AWK
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PATH_PROG(RM,rm,rm)
AC_LANG([C++])
CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
EXPORT="__attribute__((visibility(\"default\")))"
AC_DEFINE_UNQUOTED([EXPORT], [$EXPORT], [Define to compiler syntax for public symbols])
AC_TYPE_SIZE_T
AC_FUNC_MALLOC
PKG_CHECK_MODULES([DECODER], [libtfmxaudiodecoder >= 1.0.0], [], [])
PKG_CHECK_MODULES([AUDACIOUS], [audacious >= 3.8], [],
AC_MSG_ERROR([Could not find Audacious >= 3.8 API pkgconfig file.]))
AC_MSG_CHECKING([for Audacious plug-in directory])
audfc_plugin_dir=`$PKG_CONFIG --variable=plugin_dir audacious`
test -n "$audfc_plugin_dir" && AC_MSG_RESULT([$audfc_plugin_dir])
test "x$audfc_plugin_dir" == "x" && AC_MSG_ERROR([check failed])
AUDACIOUS_IPLUGIN_DIR="$audfc_plugin_dir/Input"
AC_SUBST([AUDACIOUS_IPLUGIN_DIR])
PLUGINNAME=fcdecoder
AC_SUBST(PLUGINNAME)
LT_INIT()
AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT