forked from videolan/libvlcpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
30 lines (22 loc) · 826 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
m4_define([VLCPP_MAJOR], [0])
m4_define([VLCPP_MINOR], [1])
m4_define([VLCPP_MICRO], [0])
AC_COPYRIGHT([Copyright 2014-2016 VideoLAN - VideoLabs])
AC_INIT([libvlcpp], [VLCPP_MAJOR.VLCPP_MINOR.VLCPP_MICRO])
AM_INIT_AUTOMAKE([foreign subdir-objects])
m4_ifdef([AM_SILENT_RULES], [
AM_SILENT_RULES([yes])
])
AC_CONFIG_MACRO_DIR([m4])
AC_PROG_CXX
AX_CXX_COMPILE_STDCXX_11([noext])
AC_ARG_ENABLE(examples, AC_HELP_STRING([--enable-examples], [build examples programs]))
AM_CONDITIONAL([HAVE_EXAMPLES], [test "${enable_examples}" = "yes"])
AS_IF([test "${enable_examples}" = "yes"], [PKG_CHECK_MODULES(vlc, libvlc)])
AC_ARG_ENABLE(werror, AC_HELP_STRING([--enable-werror], [build examples with -Werror]))
AM_CONDITIONAL([HAVE_WERROR], [test "${enable_werror}" = "yes"])
AC_CONFIG_FILES([
Makefile
libvlcpp.pc
])
AC_OUTPUT