Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
cantabile
committed
Dec 16, 2014
1 parent
46f6ab3
commit f0d2abc
Showing
4 changed files
with
113 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
orig/ | ||
*.zip | ||
releases/ | ||
test stuff/ | ||
*.o | ||
*.la | ||
*.lo | ||
*.so | ||
*.dll | ||
.libs | ||
Makefile | ||
Makefile.in | ||
aclocal.m4 | ||
autom4te.cache | ||
compile | ||
config.guess | ||
config.log | ||
config.status | ||
config.sub | ||
configure | ||
depcomp | ||
install-sh | ||
libtool | ||
ltmain.sh | ||
missing | ||
.deps/ | ||
.dirstamp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
AM_CXXFLAGS = -O2 -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wshadow | ||
|
||
AM_CPPFLAGS = $(VapourSynth_CFLAGS) $(SNDFILE_CFLAGS) | ||
|
||
lib_LTLIBRARIES = libdamb.la | ||
|
||
libdamb_la_SOURCES = src/damb.cpp | ||
|
||
libdamb_la_LDFLAGS = -no-undefined -avoid-version $(PLUGINLDFLAGS) | ||
|
||
libdamb_la_LIBADD = $(SNDFILE_LIBS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
autoreconf --verbose --install --force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
AC_INIT([MVTools], [1], [https://github.com/dubhater/vapoursynth-mvtools/issues], [MVTools], [https://github.com/dubhater/vapoursynth-mvtools/]) | ||
|
||
: ${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 | ||
|
||
|
||
dnl Workaround for a bug in libtool | ||
dnl The windows libtool uses a file magic checking method that only accepts | ||
dnl dynamic libraries. Change it for libtool's alternative checking method. | ||
|
||
dnl Workaround found in configure.ac from ffms2. | ||
|
||
dnl Reproducing the error message below, for search engines and people | ||
dnl looking for a solution... | ||
|
||
dnl *** Warning: linker path does not have real file for library -lfftw3f. | ||
dnl *** I have the capability to make that library automatically link in when | ||
dnl *** you link to this library. But I can only do this if you have a | ||
dnl *** shared version of the library, which you do not appear to have | ||
dnl *** because I did check the linker path looking for a file starting | ||
dnl *** with libfftw3f and none of the candidates passed a file format test | ||
dnl *** using a file magic. Last file checked: /home/asdf/mingw-w64/i686/mingw/lib/libfftw3f.a | ||
dnl *** The inter-library dependencies that have been dropped here will be | ||
dnl *** automatically added whenever a program is linked with this library | ||
dnl *** or is declared to -dlopen it. | ||
dnl * | ||
dnl *** Since this library must not contain undefined symbols, | ||
dnl *** because either the platform does not support them or | ||
dnl *** it was explicitly requested with -no-undefined, | ||
dnl *** libtool will only create a static version of it. | ||
|
||
if test "$lt_cv_file_magic_cmd" = "func_win32_libid" ; then | ||
deplibs_check_method='file_magic file format pei*-(i386|x86-64)|(.*architecture: i386)?' | ||
file_magic_cmd='$OBJDUMP -f' | ||
fi | ||
|
||
|
||
AS_CASE( | ||
[$host_cpu], | ||
[i?86], [BITS="32"], | ||
[x86_64], [BITS="64"], | ||
[] | ||
) | ||
|
||
AS_CASE( | ||
[$host_os], | ||
[cygwin*|mingw*], | ||
[ | ||
AS_IF( | ||
[test "x$BITS" = "x32"], | ||
[ | ||
AC_SUBST([PLUGINLDFLAGS], ["-Wl,--kill-at"]) | ||
] | ||
) | ||
] | ||
) | ||
|
||
|
||
PKG_CHECK_MODULES([VapourSynth], [vapoursynth]) | ||
|
||
PKG_CHECK_MODULES([SNDFILE], [sndfile]) | ||
|
||
AC_CONFIG_FILES([Makefile]) | ||
AC_OUTPUT |