Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this organization
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mariux64
/
radsecproxy
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
0
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Files
8d3d567
packaging
tests
tools
.gitignore
AUTHORS
ChangeLog
INSTALL
LICENSE
Makefile.am
NEWS
README
THANKS
acinclude.m4
aclocal.m4
autogen.sh
catgconf.c
compile
config.guess
config.sub
configure.ac
debug.c
debug.h
depcomp
develdoc.txt
dtls.c
dtls.h
dynsrv.sh
fticks.c
fticks.h
fticks_hashmac.c
fticks_hashmac.h
gconfig.c
gconfig.h
gconfig.txt
hash.c
hash.h
hostport.c
hostport.h
install-sh
list.c
list.h
main.c
missing
radmsg.c
radmsg.h
radsecproxy-hash.1
radsecproxy-hash.c
radsecproxy.1
radsecproxy.c
radsecproxy.conf-example
radsecproxy.conf.5.xml
radsecproxy.h
tcp.c
tcp.h
tls.c
tls.h
tlscommon.c
tlscommon.h
tlv11.c
tlv11.h
udp.c
udp.h
util.c
util.h
Breadcrumbs
radsecproxy
/
configure.ac
Blame
Blame
Latest commit
History
History
134 lines (122 loc) · 3.68 KB
Breadcrumbs
radsecproxy
/
configure.ac
Top
File metadata and controls
Code
Blame
134 lines (122 loc) · 3.68 KB
Raw
dnl Copyright (c) 2006-2010, UNINETT AS. dnl Copyright (c) 2010, UNINETT AS, NORDUnet A/S. dnl Copyright (c) 2010-2012, NORDUnet A/S. dnl See LICENSE for licensing information. AC_INIT(radsecproxy, 1.6.1-dev, radsecproxy@uninett.no) AC_CANONICAL_TARGET AM_INIT_AUTOMAKE AC_PROG_CC AC_PROG_RANLIB udp=yes AC_ARG_ENABLE(udp, [ --enable-udp whether to enable UDP transport: yes/no; default yes ], [ if test "x$enableval" = "xyes" -o "x$enableval" = "xno" ; then udp=$enableval else echo "--enable-udp argument must be yes or no" exit -1 fi ]) tcp=yes AC_ARG_ENABLE(tcp, [ --enable-tcp whether to enable TCP transport: yes/no; default yes ], [ if test "x$enableval" = "xyes" -o "x$enableval" = "xno" ; then tcp=$enableval else echo "--enable-tcp argument must be yes or no" exit -1 fi ]) tls=yes AC_ARG_ENABLE(tls, [ --enable-tls whether to enable TLS (RadSec) transport: yes/no; default yes ], [ if test "x$enableval" = "xyes" -o "x$enableval" = "xno" ; then tls=$enableval else echo "--enable-tls argument must be yes or no" exit -1 fi ]) dtls=yes AC_ARG_ENABLE(dtls, [ --enable-dtls whether to enable DTLS transport: yes/no; default yes ], [ if test "x$enableval" = "xyes" -o "x$enableval" = "xno" ; then dtls=$enableval else echo "--enable-dtls argument must be yes or no" exit -1 fi ]) AC_ARG_ENABLE(fticks, AC_HELP_STRING([--enable-fticks],[build with F-Ticks support [default=no]]), [case $enableval in yes|no) ;; *) AC_MSG_ERROR([bad value $enableval for --enable-fticks, need yes or no]) ;; esac], [enable_fticks=no]) if test "$enable_fticks" = "yes"; then AC_CHECK_LIB([nettle], [nettle_sha256_init],, [AC_MSG_WARN([required library nettle not found, fticks support disabled]) enable_fticks=no]) fi if test "$enable_fticks" = "yes"; then AC_DEFINE([WANT_FTICKS], [1]) fi AM_CONDITIONAL(WANT_FTICKS, test "$enable_fticks" = "yes") dnl Check if we're on Solaris and set CFLAGS accordingly AC_CANONICAL_SYSTEM case "${target_os}" in solaris*) TARGET_CFLAGS="-DSYS_SOLARIS9 -D_POSIX_PTHREAD_SEMANTICS" if test "$GCC" != yes ; then TARGET_CFLAGS="$TARGET_CFLAGS -mt" else TARGET_CFLAGS="$TARGET_CFLAGS -pthreads" fi TARGET_LDFLAGS="-lpthread -lsocket -lnsl" ;; *) TARGET_CFLAGS="-Wall -pedantic -Wno-long-long -pthread" TARGET_LDFLAGS="" esac dnl Adding enabled options if test "x$udp" = "xyes" ; then echo "UDP transport enabled" TARGET_CFLAGS="$TARGET_CFLAGS -DRADPROT_UDP" fi if test "x$tcp" = "xyes" ; then echo "TCP transport enabled" TARGET_CFLAGS="$TARGET_CFLAGS -DRADPROT_TCP" fi if test "x$tls" = "xyes" ; then echo "TLS (RadSec) transport enabled" TARGET_CFLAGS="$TARGET_CFLAGS -DRADPROT_TLS" fi if test "x$dtls" = "xyes" ; then echo "DTLS transport enabled" TARGET_CFLAGS="$TARGET_CFLAGS -DRADPROT_DTLS" fi AC_ARG_ENABLE( experimental_dyndisc, AC_HELP_STRING([--enable-experimental-dyndisc], [enable experimental code for dynamic discovery [default=no]]), [case $enableval in yes|no) ;; *) AC_MSG_ERROR([bad value $enableval for --enable-experimental-dyndisc, need yes or no]) ;; esac], [enable_experimental_dyndisc=no]) if test "$enable_experimental_dyndisc" = "yes"; then AC_DEFINE([ENABLE_EXPERIMENTAL_DYNDISC], [1]) fi AM_CONDITIONAL(ENABLE_EXPERIMENTAL_DYNDISC, test "$enable_experimental_dyndisc" = "yes") AC_ARG_VAR([DOCBOOK2X_MAN], [docbook2x-man]) AC_CHECK_PROG([DOCBOOK2X_MAN], [docbook2x-man], [yes]) AM_CONDITIONAL(HAVE_DOCBOOK2X_MAN, test "$DOCBOOK2X_MAN" = "yes") AC_SUBST(TARGET_CFLAGS) AC_SUBST(TARGET_LDFLAGS) AX_CHECK_SSL AC_OUTPUT([ Makefile tests/Makefile ])
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
You can’t perform that action at this time.