-
Notifications
You must be signed in to change notification settings - Fork 47
/
configure.ac
56 lines (43 loc) · 1.07 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
53
54
55
#
# configure.ac
#
# libsrt Autoconf template
#
# Copyright (c) 2015-2019 F. Aragon. All rights reserved.
# Released under the BSD 3-Clause License (see the doc/LICENSE)
#
AC_INIT([libsrt], [0.1-master], [https://github.com/faragon/libsrt/issues])
PACKAGE_URL="https://github.com/faragon/libsrt"
AC_SUBST([PACKAGE_URL])
PACKAGE_FULLNAME="libsrt"
AC_SUBST([PACKAGE_FULLNAME])
AC_CONFIG_AUX_DIR([utl/tmp/config-aux])
AC_CONFIG_MACRO_DIR([utl/tmp/config-m4])
CONFIG_ARGS="`echo $ac_configure_args | sed -e \"s% '[[A-Z]]*FLAGS=[[^']]\+'%%g\"`"
AC_SUBST([CONFIG_ARGS])
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
CFLAGS="${CFLAGS:-}"
CXXFLAGS="${CXXFLAGS:-}"
ori_cf="$CFLAGS"
ori_cxxf="$CXXFLAGS"
AC_LANG([C])
AC_PROG_INSTALL
AC_PROG_CC
AC_PROG_CXX
AC_PROG_LD
AM_PROG_CC_C_O
CFLAGS="$ori_cf"
CXXFLAGS="$ori_cxxf"
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
PKG_PROG_PKG_CONFIG
AUTOCONF_ENV="SHELL=/bin/sh"
LT_INIT
AC_ENABLE_STATIC
m4_include([utl/m4/mode.m4])
AC_CONFIG_FILES([
Makefile
src/Makefile
test/Makefile
])
AC_OUTPUT