Add boost check to configure

This commit is contained in:
Thomas Goyne 2012-09-24 14:48:06 -07:00
parent 59eae9ab85
commit dfa4f33f25
4 changed files with 1192 additions and 0 deletions

View File

@ -75,6 +75,8 @@ CXXFLAGS_WX = @WX_CXXFLAGS@
CPPFLAGS_WX = @WX_CPPFLAGS@
LIBS_WX = @WX_LIBS@ -lz
CPPFLAGS_BOOST = @BOOST_CPPFLAGS@
CFLAGS_FFMS2 = @FFMS2_CFLAGS@
CFLAGS_FFTW3 = @FFTW3_CFLAGS@
CFLAGS_FONTCONFIG = @FONTCONFIG_CFLAGS@

View File

@ -5,5 +5,6 @@ m4_include([m4macros/ac_flag.m4])
m4_include([m4macros/ax_pthread.m4])
m4_include([m4macros/ax_check_gl.m4])
m4_include([m4macros/ax_lang_compiler_ms.m4])
m4_include([m4macros/boost.m4])
m4_include([m4macros/check_gnu_make.m4])
m4_include([m4macros/wxwin.m4])

View File

@ -3,6 +3,7 @@ AC_PREREQ(2.57)
###################
# Required packages
###################
m4_define([boost_required_version], [1.50.0])
m4_define([curl_required_version], [7.18.2])
m4_define([ffms2_required_version], [2.16])
m4_define([fftw3_required_version], [3.3])
@ -223,6 +224,8 @@ PKG_CHECK_MODULES(FONTCONFIG, fontconfig >= fontconfig_required_version,
[AC_DEFINE(WITH_FONTCONFIG, 1, [Enable FontConfig support.])],
[AC_MSG_FAILURE([Aegisub requires fontconfig >= fontconfig_required_version])])
BOOST_REQUIRE([boost_required_version])
########
## iconv
########

1186
aegisub/m4macros/boost.m4 Normal file

File diff suppressed because it is too large Load Diff