Do not delete "old" requests until they are free.
[freeradius.git] / src / include / build-radpaths-h.in
1 #! /bin/sh
2 #
3 # build-radpaths-h
4 #               Script to generate radpaths.h file. This is needed to
5 #               work around the weird way "autoconf" substitutes things
6 #               that are generated in anyway from a command line
7 #               argument having to do with a path (--prefix etc)
8 #
9 # Version:      $Id$
10 #
11
12 # Location of files.
13 prefix=@prefix@
14 exec_prefix=@exec_prefix@
15 sysconfdir=@sysconfdir@
16 localstatedir=@localstatedir@
17 libdir=@libdir@
18 bindir=@bindir@
19 sbindir=@sbindir@
20 mandir=@mandir@
21 logdir=@logdir@
22 raddbdir=@raddbdir@
23 radacctdir=@radacctdir@
24 datarootdir=@datarootdir@
25
26 cat <<EOF > radpaths.h
27 /* Automatically generated by "build-radpaths-h" */
28 #define LOGDIR          "@logdir@"
29 #define LIBDIR          "@libdir@"
30 #define RADDBDIR        "@raddbdir@"
31 #define RUNDIR          "@localstatedir@/run"
32 #define SBINDIR         "@sbindir@"
33 #define RADIR           "@radacctdir@"
34 EOF
35