Allow RUNDIR to be specified on command line
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3190 e3e1d417-86f3-4887-817a-d78f3d33393fpull/27/merge
parent
46d777398e
commit
3f1158c2a4
|
@ -9235,8 +9235,10 @@ _ACEOF
|
|||
test "$prefix_NONE" && prefix=NONE
|
||||
test "$exec_prefix_NONE" && exec_prefix=NONE
|
||||
|
||||
if test "$RUNDIR" == ""; then
|
||||
RUNDIR="/var/run"
|
||||
|
||||
fi
|
||||
ZM_RUNDIR="$RUNDIR/zm"
|
||||
|
||||
ZM_PID="$ZM_RUNDIR/zm.pid"
|
||||
|
|
|
@ -325,7 +325,9 @@ AC_PROG_PERL_MODULES(X10::ActiveHome,,AC_MSG_WARN(X10::ActiveHome is required fo
|
|||
|
||||
AC_DEFINE_DIR([BINDIR],[bindir],[Expanded binary directory])
|
||||
AC_DEFINE_DIR([LIBDIR],[libdir],[Expanded library directory])
|
||||
if test "$RUNDIR" == ""; then
|
||||
AC_SUBST(RUNDIR,"/var/run")
|
||||
fi
|
||||
AC_SUBST(ZM_RUNDIR,"$RUNDIR/zm")
|
||||
AC_SUBST(ZM_PID,"$ZM_RUNDIR/zm.pid")
|
||||
AC_DEFINE_DIR([SYSCONFDIR],[sysconfdir],[Expanded configuration directory])
|
||||
|
|
Loading…
Reference in New Issue