forked from Hinterwaeldlers/vapoursynth-hqdn3d
-
Notifications
You must be signed in to change notification settings - Fork 1
/
configure.ac
50 lines (37 loc) · 939 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
48
49
50
AC_INIT([Hqdn3d], [1], [https://github.com/Hinterwaeldlers/vapoursynth-hqdn3d/issues], [Hqdn3d], [https://github.com/Hinterwaeldlers/vapoursynth-hqdn3d/])
: ${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_PROG_CXX
AC_CANONICAL_HOST
X86="false"
ARM="false"
AS_CASE(
[$host_cpu],
[i?86], [BITS="32" X86="true"],
[x86_64], [BITS="64" X86="true"],
[arm*], [ARM="true"]
)
AS_CASE(
[$host_os],
[cygwin*|mingw*],
[
AS_IF(
[test "x$BITS" = "x32"],
[
AC_SUBST([PLUGINLDFLAGS], ["-Wl,--kill-at"])
AC_SUBST([STACKREALIGN], ["-mstackrealign"])
]
)
]
)
AS_IF(
[test "x$X86" = "xtrue"],
[
AC_SUBST([MFLAGS], ["-mfpmath=sse -msse2"])
]
)
PKG_CHECK_MODULES([VapourSynth], [vapoursynth])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT