-
Notifications
You must be signed in to change notification settings - Fork 1
/
configure.ac
47 lines (34 loc) · 932 Bytes
/
configure.ac
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
AC_INIT([Deblock], [6], [https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Deblock/issues], [Deblock], [https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Deblock/])
: ${CXXFLAGS=""}
AM_INIT_AUTOMAKE([foreign no-dist-gzip dist-xz subdir-objects no-define])
AM_SILENT_RULES([yes])
LT_INIT([disable-static win32-dll])
AC_CANONICAL_HOST
AC_PROG_CXX
X86="false"
AS_CASE(
[$host_cpu],
[i?86], [BITS="32" X86="true"],
[x86_64], [BITS="64" X86="true"]
)
AS_CASE(
[$host_os],
[cygwin*|mingw*],
[
AS_IF(
[test "x$BITS" = "x32"],
[
AC_SUBST([PLUGINLDFLAGS], ["-Wl,--kill-at"])
]
)
]
)
AS_IF(
[test "x$X86" = "xtrue"],
[
AC_SUBST([MFLAGS], ["-mfpmath=sse -msse2"])
]
)
PKG_CHECK_MODULES([VapourSynth], [vapoursynth])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT