Skip to content

Commit

Permalink
Update default DB paths
Browse files Browse the repository at this point in the history
  • Loading branch information
flowerysong committed Aug 11, 2015
1 parent eaf3762 commit 385aca8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ AC_CONFIG_HEADER([config.h])
AC_CONFIG_MACRO_DIR([m4])

# Set up variables
AC_ARG_WITH(vacationdb, AC_HELP_STRING([--with-vacationdb=DB], [default: /var/vacationdb]), [], with_vacationdb="/var/vacationdb")
AC_ARG_WITH(vacationdb, AC_HELP_STRING([--with-vacationdb=DB], [default: /var/lib/simvacation]), [], with_vacationdb="/var/lib/simvacation")
AC_DEFINE_UNQUOTED(VDBDIR, ["$with_vacationdb"], [vacation db location])

AC_ARG_WITH(syslog, AC_HELP_STRING([--with-syslog=FACILITY], [default: LOG_MAIL]), [], with_syslog="LOG_MAIL")
Expand Down
2 changes: 1 addition & 1 deletion vdb_berkeley.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#define VIT "__VACATION__INTERVAL__TIMER__"

#ifndef VDBDIR
#define VDBDIR "/var/vacationdb" /* dir for vacation databases */
#define VDBDIR "/var/lib/simvacation" /* dir for vacation databases */
#endif

struct vdb {
Expand Down
2 changes: 1 addition & 1 deletion vdb_lmdb.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <lmdb.h>

#ifndef VDBDIR
#define VDBDIR "/var/lib/vacation" /* dir for vacation database */
#define VDBDIR "/var/lib/simvacation" /* dir for vacation database */
#endif

struct vdb {
Expand Down

0 comments on commit 385aca8

Please sign in to comment.