projects
/
libradsec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d40144a
)
Honour configure option --sysconfdir.
author
Linus Nordberg
<linus@nordu.net>
Wed, 11 Apr 2012 14:50:08 +0000
(16:50 +0200)
committer
Linus Nordberg
<linus@nordu.net>
Wed, 11 Apr 2012 14:50:08 +0000
(16:50 +0200)
This closes RADSECPROXY-31.
Makefile.am
patch
|
blob
|
history
radsecproxy.h
patch
|
blob
|
history
diff --git
a/Makefile.am
b/Makefile.am
index
174d37f
..
3636c3d
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-43,6
+43,7
@@
radsecproxy_conf_SOURCES = \
util.c util.h
####################
+AM_CPPFLAGS = -DSYSCONFDIR=\"$(sysconfdir)\"
AM_CFLAGS = \
-g -Wall -Werror -fno-strict-aliasing @SSL_CFLAGS@ @TARGET_CFLAGS@
diff --git
a/radsecproxy.h
b/radsecproxy.h
index
184231b
..
c1e7744
100644
(file)
--- a/
radsecproxy.h
+++ b/
radsecproxy.h
@@
-18,7
+18,7
@@
#define DEBUG_LEVEL 2
-#define CONFIG_MAIN
"/etc
/radsecproxy.conf"
+#define CONFIG_MAIN
SYSCONFDIR"
/radsecproxy.conf"
/* MAX_REQUESTS must be 256 due to Radius' 8 bit ID field */
#define MAX_REQUESTS 256