/[resiprocate]/branches/b-directory-reorg/resip/configure.in
ViewVC logotype

Contents of /branches/b-directory-reorg/resip/configure.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5272 - (show annotations) (download)
Thu Aug 18 23:49:50 2005 UTC (14 years, 5 months ago) by jason
File size: 2702 byte(s)
initial reorg - more to come
1 # this is our autoconf generator. in reality, autoconf does much less
2 # work than in a "traditional" make system. This is a feature, not a bug.
3
4 AC_INIT(build/Makefile.pre)dnl
5
6 AC_PREFIX_DEFAULT(default)
7
8 AC_PATH_PROG(GNU_MAKE, make, '', $PATH:/usr/bin:/usr/local/bin)dnl
9
10 # allow alternate toolchains
11
12 AC_ARG_WITH(toolchain, [
13 Build options:
14 --with-toolchain=gnu use alternate toolchain to compile.],
15 [VOCAL_USE_TOOLCHAIN=$with_toolchain],
16 [VOCAL_USE_TOOLCHAIN=default])
17 AC_MSG_CHECKING([Vocal style toolchain use])
18 AC_MSG_RESULT([$VOCAL_USE_TOOL_CHAIN])
19
20 AC_SUBST(VOCAL_USE_TOOLCHAIN)dnl
21
22 # allow alternate toolchain root
23
24 AC_ARG_WITH(builddir, [
25 Toolchain options:
26 --with-builddir=/path/to/builddir build in a local directory],
27 [echo USE_BUILDDIR=$with_builddir > .make_prefs])
28 AC_MSG_CHECKING([build dir])
29 AC_MSG_RESULT([$with_builddir])
30
31 AC_ARG_WITH(crossroot, [
32 --with-crossroot=/path/to/bin root directory for alternate toolchain
33 (only active for toolchain=armcross)],
34 [VOCAL_CROSS_ROOT=$with_crossroot],
35 [VOCAL_CROSS_ROOT=default])
36 AC_SUBST(VOCAL_CROSS_ROOT)dnl
37 AC_MSG_CHECKING([cross toolchain root])
38 AC_MSG_RESULT([$VOCAL_CROSS_ROOT])
39
40
41 AC_ARG_WITH(ar, [
42 --with-ar=/usr/local/bin/ar path to GNU ar],
43 [VOCAL_AR_PATH=$with_ar])
44
45 AC_SUBST(VOCAL_AR_PATH)dnl
46
47 AC_ARG_WITH(shared-libs, [
48 --with-shared-libs only build shared libraries],
49 [VOCAL_BUILD_SHARED_LIBS=$with_shared_libs],
50 [VOCAL_BUILD_SHARED_LIBS=no])
51 AC_SUBST(VOCAL_BUILD_SHARED_LIBS)dnl
52 AC_MSG_CHECKING([shared libraries])
53 AC_MSG_RESULT([$VOCAL_BUILD_SHARED_LIBS])
54
55 AC_ARG_WITH(openssl, [
56 --with-openssl include TLS support via OpenSSL],
57 [VOCAL_USE_OPENSSL=true],
58 [VOCAL_USE_OPENSSL=false])
59 AC_MSG_CHECKING([openssl])
60 AC_MSG_RESULT([$VOCAL_USE_OPENSSL])
61 AC_SUBST(VOCAL_USE_OPENSSL)dnl
62
63 AC_ARG_WITH(distcc, [
64 --with-distcc use distributed compilation tool distcc],
65 [USE_DISTCC=true],
66 [USE_DISTCC=false])
67 AC_SUBST(USE_DISTCC)dnl
68 AC_MSG_CHECKING([distcc])
69 AC_MSG_RESULT([$USE_DISTCC])
70 AC_ARG_WITH(popt, [
71 --with-popt use the popt library for some test cases],
72 [USE_POPT=true],
73 [USE_POPT=false])
74 AC_SUBST(USE_POPT)dnl
75 AC_MSG_CHECKING([popt])
76 AC_MSG_RESULT([$USE_POPT])
77
78 AC_ARG_WITH(data-local-size, [
79 --with-data-local-size use local stack frame size of arg for Data class],
80 [RESIP_DATA_LOCAL_SIZE=$with_data_local_size],
81 [RESIP_DATA_LOCAL_SIZE=128])
82 AC_SUBST(RESIP_DATA_LOCAL_SIZE)dnl
83
84 AC_MSG_CHECKING([local data size])
85 AC_MSG_RESULT([$RESIP_DATA_LOCAL_SIZE])
86
87 # vocalconfig.h is NOT to be generated via AC_CONFIG_HEADER(S) but by
88 # AC_OUTPUT.
89 AC_OUTPUT(build/Makefile.conf)dnl

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27