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)
14 exec_prefix=@exec_prefix@
15 sysconfdir=@sysconfdir@
16 localstatedir=@localstatedir@
23 radacctdir=@radacctdir@
24 datarootdir=@datarootdir@
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@"