-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
52 lines (36 loc) · 1.02 KB
/
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
48
49
50
51
52
AC_INIT([DeblockPP7], [4], [https://github.com/HomeOfVapourSynthEvolution/VapourSynth-DeblockPP7/issues], [DeblockPP7], [https://github.com/HomeOfVapourSynthEvolution/VapourSynth-DeblockPP7/])
: ${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_DEFINE([VS_TARGET_CPU_X86])
AC_SUBST([MFLAGS], ["-mfpmath=sse -msse2"])
]
)
AM_CONDITIONAL([VS_TARGET_CPU_X86], [test "x$X86" = "xtrue"])
PKG_CHECK_MODULES([VapourSynth], [vapoursynth])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT