forked from sipcapture/homer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
39 lines (34 loc) · 1.13 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
# Initial Version Copyright (C) 2010 eZuce, Inc., All Rights Reserved.
# Licensed to the User under the LGPL license.
#
#
# Copyright (C) Homer Project 2012-2015 (http://www.sipcapture.org).
# Licensed to the User under the GPL license.
#
#
AC_PREREQ(2.61)
AC_INIT(homer,5.0.5,[email protected],,http://www.sipcapture.org)
# Pass standard and project common params to ./configure switches on all sub-projects.
# Doesn't have to handle ./configure vars because those can be passed handled
OPTIONS=
for a in $@; do
case $a in
--prefix*)OPTIONS+=" $a" ;;
--disable-dep-check*)OPTIONS+=" $a" ;;
--enable-debug*)OPTIONS+=" $a" ;;
PACKAGE_REVISION*)OPTIONS+=" $a" ;;
esac
done
AC_SUBST(OPTIONS)
m4_include([config/projectlib2.m4])
m4_include([mak/rpm.m4])
m4_include([mak/deb.m4])
m4_sinclude([custom/custom.m4])
m4_include([mak/iso.m4])
m4_include([mak/deps.m4])
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([mak/05-build.mk:mak/build.mk.in])
AC_CONFIG_FILES([mak/40-modules.mk:mak/modules.mk.in])
AC_CONFIG_FILES([mak/20-list-dependencies.mk:mak/list-dependencies.mk.in])
AC_CONFIG_FILES([mak/30-setup.mk:mak/setup.mk.in])
AC_OUTPUT